1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for snappy 1.0. 4# 5# Report bugs to <NULL>. 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 201test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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 NULL about your 278$0: system, including any error possibly output before this 279$0: message. Then install a modern shell, or manually run 280$0: the script under such a shell if you do have one." 281 fi 282 exit 1 283fi 284fi 285fi 286SHELL=${CONFIG_SHELL-/bin/sh} 287export SHELL 288# Unset more variables known to interfere with behavior of common tools. 289CLICOLOR_FORCE= GREP_OPTIONS= 290unset CLICOLOR_FORCE GREP_OPTIONS 291 292## --------------------- ## 293## M4sh Shell Functions. ## 294## --------------------- ## 295# as_fn_unset VAR 296# --------------- 297# Portably unset VAR. 298as_fn_unset () 299{ 300 { eval $1=; unset $1;} 301} 302as_unset=as_fn_unset 303 304# as_fn_set_status STATUS 305# ----------------------- 306# Set $? to STATUS, without forking. 307as_fn_set_status () 308{ 309 return $1 310} # as_fn_set_status 311 312# as_fn_exit STATUS 313# ----------------- 314# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 315as_fn_exit () 316{ 317 set +e 318 as_fn_set_status $1 319 exit $1 320} # as_fn_exit 321 322# as_fn_mkdir_p 323# ------------- 324# Create "$as_dir" as a directory, including parents if necessary. 325as_fn_mkdir_p () 326{ 327 328 case $as_dir in #( 329 -*) as_dir=./$as_dir;; 330 esac 331 test -d "$as_dir" || eval $as_mkdir_p || { 332 as_dirs= 333 while :; do 334 case $as_dir in #( 335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 336 *) as_qdir=$as_dir;; 337 esac 338 as_dirs="'$as_qdir' $as_dirs" 339 as_dir=`$as_dirname -- "$as_dir" || 340$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 341 X"$as_dir" : 'X\(//\)[^/]' \| \ 342 X"$as_dir" : 'X\(//\)$' \| \ 343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 344$as_echo X"$as_dir" | 345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 346 s//\1/ 347 q 348 } 349 /^X\(\/\/\)[^/].*/{ 350 s//\1/ 351 q 352 } 353 /^X\(\/\/\)$/{ 354 s//\1/ 355 q 356 } 357 /^X\(\/\).*/{ 358 s//\1/ 359 q 360 } 361 s/.*/./; q'` 362 test -d "$as_dir" && break 363 done 364 test -z "$as_dirs" || eval "mkdir $as_dirs" 365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 366 367 368} # as_fn_mkdir_p 369 370# as_fn_executable_p FILE 371# ----------------------- 372# Test if FILE is an executable regular file. 373as_fn_executable_p () 374{ 375 test -f "$1" && test -x "$1" 376} # as_fn_executable_p 377# as_fn_append VAR VALUE 378# ---------------------- 379# Append the text in VALUE to the end of the definition contained in VAR. Take 380# advantage of any shell optimizations that allow amortized linear growth over 381# repeated appends, instead of the typical quadratic growth present in naive 382# implementations. 383if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 384 eval 'as_fn_append () 385 { 386 eval $1+=\$2 387 }' 388else 389 as_fn_append () 390 { 391 eval $1=\$$1\$2 392 } 393fi # as_fn_append 394 395# as_fn_arith ARG... 396# ------------------ 397# Perform arithmetic evaluation on the ARGs, and store the result in the 398# global $as_val. Take advantage of shells that can avoid forks. The arguments 399# must be portable across $(()) and expr. 400if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 401 eval 'as_fn_arith () 402 { 403 as_val=$(( $* )) 404 }' 405else 406 as_fn_arith () 407 { 408 as_val=`expr "$@" || test $? -eq 1` 409 } 410fi # as_fn_arith 411 412 413# as_fn_error STATUS ERROR [LINENO LOG_FD] 414# ---------------------------------------- 415# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 416# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 417# script with STATUS, using 1 if that was 0. 418as_fn_error () 419{ 420 as_status=$1; test $as_status -eq 0 && as_status=1 421 if test "$4"; then 422 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 424 fi 425 $as_echo "$as_me: error: $2" >&2 426 as_fn_exit $as_status 427} # as_fn_error 428 429if expr a : '\(a\)' >/dev/null 2>&1 && 430 test "X`expr 00001 : '.*\(...\)'`" = X001; then 431 as_expr=expr 432else 433 as_expr=false 434fi 435 436if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 437 as_basename=basename 438else 439 as_basename=false 440fi 441 442if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 443 as_dirname=dirname 444else 445 as_dirname=false 446fi 447 448as_me=`$as_basename -- "$0" || 449$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 450 X"$0" : 'X\(//\)$' \| \ 451 X"$0" : 'X\(/\)' \| . 2>/dev/null || 452$as_echo X/"$0" | 453 sed '/^.*\/\([^/][^/]*\)\/*$/{ 454 s//\1/ 455 q 456 } 457 /^X\/\(\/\/\)$/{ 458 s//\1/ 459 q 460 } 461 /^X\/\(\/\).*/{ 462 s//\1/ 463 q 464 } 465 s/.*/./; q'` 466 467# Avoid depending upon Character Ranges. 468as_cr_letters='abcdefghijklmnopqrstuvwxyz' 469as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 470as_cr_Letters=$as_cr_letters$as_cr_LETTERS 471as_cr_digits='0123456789' 472as_cr_alnum=$as_cr_Letters$as_cr_digits 473 474 475 as_lineno_1=$LINENO as_lineno_1a=$LINENO 476 as_lineno_2=$LINENO as_lineno_2a=$LINENO 477 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 478 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 479 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 480 sed -n ' 481 p 482 /[$]LINENO/= 483 ' <$as_myself | 484 sed ' 485 s/[$]LINENO.*/&-/ 486 t lineno 487 b 488 :lineno 489 N 490 :loop 491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 492 t loop 493 s/-\n.*// 494 ' >$as_me.lineno && 495 chmod +x "$as_me.lineno" || 496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 497 498 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 499 # already done that, so ensure we don't try to do so again and fall 500 # in an infinite loop. This has already happened in practice. 501 _as_can_reexec=no; export _as_can_reexec 502 # Don't try to exec as it changes $[0], causing all sort of problems 503 # (the dirname of $[0] is not the place where we might find the 504 # original and so on. Autoconf is especially sensitive to this). 505 . "./$as_me.lineno" 506 # Exit status is that of the last command. 507 exit 508} 509 510ECHO_C= ECHO_N= ECHO_T= 511case `echo -n x` in #((((( 512-n*) 513 case `echo 'xy\c'` in 514 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 515 xy) ECHO_C='\c';; 516 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 517 ECHO_T=' ';; 518 esac;; 519*) 520 ECHO_N='-n';; 521esac 522 523rm -f conf$$ conf$$.exe conf$$.file 524if test -d conf$$.dir; then 525 rm -f conf$$.dir/conf$$.file 526else 527 rm -f conf$$.dir 528 mkdir conf$$.dir 2>/dev/null 529fi 530if (echo >conf$$.file) 2>/dev/null; then 531 if ln -s conf$$.file conf$$ 2>/dev/null; then 532 as_ln_s='ln -s' 533 # ... but there are two gotchas: 534 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 535 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 536 # In both cases, we have to default to `cp -pR'. 537 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 538 as_ln_s='cp -pR' 539 elif ln conf$$.file conf$$ 2>/dev/null; then 540 as_ln_s=ln 541 else 542 as_ln_s='cp -pR' 543 fi 544else 545 as_ln_s='cp -pR' 546fi 547rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 548rmdir conf$$.dir 2>/dev/null 549 550if mkdir -p . 2>/dev/null; then 551 as_mkdir_p='mkdir -p "$as_dir"' 552else 553 test -d ./-p && rmdir ./-p 554 as_mkdir_p=false 555fi 556 557as_test_x='test -x' 558as_executable_p=as_fn_executable_p 559 560# Sed expression to map a string onto a valid CPP name. 561as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 562 563# Sed expression to map a string onto a valid variable name. 564as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 565 566SHELL=${CONFIG_SHELL-/bin/sh} 567 568 569test -n "$DJDIR" || exec 7<&0 </dev/null 570exec 6>&1 571 572# Name of the host. 573# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 574# so uname gets run too. 575ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 576 577# 578# Initializations. 579# 580ac_default_prefix=/usr/local 581ac_clean_files= 582ac_config_libobj_dir=. 583LIBOBJS= 584cross_compiling=no 585subdirs= 586MFLAGS= 587MAKEFLAGS= 588 589# Identity of this package. 590PACKAGE_NAME='snappy' 591PACKAGE_TARNAME='snappy' 592PACKAGE_VERSION='1.0' 593PACKAGE_STRING='snappy 1.0' 594PACKAGE_BUGREPORT='NULL' 595PACKAGE_URL='' 596 597ac_unique_file="src/snappy.c" 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> 603#endif 604#ifdef HAVE_SYS_STAT_H 605# include <sys/stat.h> 606#endif 607#ifdef STDC_HEADERS 608# include <stdlib.h> 609# include <stddef.h> 610#else 611# ifdef HAVE_STDLIB_H 612# include <stdlib.h> 613# endif 614#endif 615#ifdef HAVE_STRING_H 616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 617# include <memory.h> 618# endif 619# include <string.h> 620#endif 621#ifdef HAVE_STRINGS_H 622# include <strings.h> 623#endif 624#ifdef HAVE_INTTYPES_H 625# include <inttypes.h> 626#endif 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_subst_vars='am__EXEEXT_FALSE 635am__EXEEXT_TRUE 636LTLIBOBJS 637LIBOBJS 638GST_LICENSE 639ROOT_UNINSTALLED_DIR 640ACLOCAL_AMFLAGS 641GST_MAJORMINOR 642GIO_2_26_LIBS 643GIO_2_26_CFLAGS 644XTEST_LIBS 645XTEST_CFLAGS 646CLUTTER_X11_LIBS 647CLUTTER_X11_CFLAGS 648CLUTTER_OSX_LIBS 649CLUTTER_OSX_CFLAGS 650CLUTTER_WIN32_LIBS 651CLUTTER_WIN32_CFLAGS 652GIO_LIBS 653GIO_CFLAGS 654GTK_LIBS 655GTK_CFLAGS 656CLUTTER_GTK_LIBS 657CLUTTER_GTK_CFLAGS 658CLUTTER_GST_LIBS 659CLUTTER_GST_CFLAGS 660CLUTTER_LIBS 661CLUTTER_CFLAGS 662GST_LIBS 663GST_CFLAGS 664PKG_CONFIG_LIBDIR 665PKG_CONFIG_PATH 666PKG_CONFIG 667AS 668OTOOL64 669OTOOL 670LIPO 671NMEDIT 672DSYMUTIL 673MANIFEST_TOOL 674RANLIB 675ac_ct_AR 676AR 677DLLTOOL 678OBJDUMP 679LN_S 680NM 681ac_ct_DUMPBIN 682DUMPBIN 683LD 684FGREP 685SED 686host_os 687host_vendor 688host_cpu 689host 690build_os 691build_vendor 692build_cpu 693build 694LIBTOOL 695EGREP 696GREP 697CPP 698am__fastdepCC_FALSE 699am__fastdepCC_TRUE 700CCDEPMODE 701am__nodep 702AMDEPBACKSLASH 703AMDEP_FALSE 704AMDEP_TRUE 705am__quote 706am__include 707DEPDIR 708OBJEXT 709EXEEXT 710ac_ct_CC 711CPPFLAGS 712LDFLAGS 713CFLAGS 714CC 715AM_BACKSLASH 716AM_DEFAULT_VERBOSITY 717AM_DEFAULT_V 718AM_V 719am__untar 720am__tar 721AMTAR 722am__leading_dot 723SET_MAKE 724AWK 725mkdir_p 726MKDIR_P 727INSTALL_STRIP_PROGRAM 728STRIP 729install_sh 730MAKEINFO 731AUTOHEADER 732AUTOMAKE 733AUTOCONF 734ACLOCAL 735VERSION 736PACKAGE 737CYGPATH_W 738am__isrc 739INSTALL_DATA 740INSTALL_SCRIPT 741INSTALL_PROGRAM 742MAINT 743MAINTAINER_MODE_FALSE 744MAINTAINER_MODE_TRUE 745target_alias 746host_alias 747build_alias 748LIBS 749ECHO_T 750ECHO_N 751ECHO_C 752DEFS 753mandir 754localedir 755libdir 756psdir 757pdfdir 758dvidir 759htmldir 760infodir 761docdir 762oldincludedir 763includedir 764localstatedir 765sharedstatedir 766sysconfdir 767datadir 768datarootdir 769libexecdir 770sbindir 771bindir 772program_transform_name 773prefix 774exec_prefix 775PACKAGE_URL 776PACKAGE_BUGREPORT 777PACKAGE_STRING 778PACKAGE_VERSION 779PACKAGE_TARNAME 780PACKAGE_NAME 781PATH_SEPARATOR 782SHELL' 783ac_subst_files='' 784ac_user_opts=' 785enable_option_checking 786enable_maintainer_mode 787enable_silent_rules 788enable_dependency_tracking 789enable_shared 790enable_static 791with_pic 792enable_fast_install 793with_gnu_ld 794with_sysroot 795enable_libtool_lock 796enable_dbus 797' 798 ac_precious_vars='build_alias 799host_alias 800target_alias 801CC 802CFLAGS 803LDFLAGS 804LIBS 805CPPFLAGS 806CPP 807PKG_CONFIG 808PKG_CONFIG_PATH 809PKG_CONFIG_LIBDIR 810GST_CFLAGS 811GST_LIBS 812CLUTTER_CFLAGS 813CLUTTER_LIBS 814CLUTTER_GST_CFLAGS 815CLUTTER_GST_LIBS 816CLUTTER_GTK_CFLAGS 817CLUTTER_GTK_LIBS 818GTK_CFLAGS 819GTK_LIBS 820GIO_CFLAGS 821GIO_LIBS 822CLUTTER_WIN32_CFLAGS 823CLUTTER_WIN32_LIBS 824CLUTTER_OSX_CFLAGS 825CLUTTER_OSX_LIBS 826CLUTTER_X11_CFLAGS 827CLUTTER_X11_LIBS 828XTEST_CFLAGS 829XTEST_LIBS 830GIO_2_26_CFLAGS 831GIO_2_26_LIBS' 832 833 834# Initialize some variables set by options. 835ac_init_help= 836ac_init_version=false 837ac_unrecognized_opts= 838ac_unrecognized_sep= 839# The variables have the same names as the options, with 840# dashes changed to underlines. 841cache_file=/dev/null 842exec_prefix=NONE 843no_create= 844no_recursion= 845prefix=NONE 846program_prefix=NONE 847program_suffix=NONE 848program_transform_name=s,x,x, 849silent= 850site= 851srcdir= 852verbose= 853x_includes=NONE 854x_libraries=NONE 855 856# Installation directory options. 857# These are left unexpanded so users can "make install exec_prefix=/foo" 858# and all the variables that are supposed to be based on exec_prefix 859# by default will actually change. 860# Use braces instead of parens because sh, perl, etc. also accept them. 861# (The list follows the same order as the GNU Coding Standards.) 862bindir='${exec_prefix}/bin' 863sbindir='${exec_prefix}/sbin' 864libexecdir='${exec_prefix}/libexec' 865datarootdir='${prefix}/share' 866datadir='${datarootdir}' 867sysconfdir='${prefix}/etc' 868sharedstatedir='${prefix}/com' 869localstatedir='${prefix}/var' 870includedir='${prefix}/include' 871oldincludedir='/usr/include' 872docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 873infodir='${datarootdir}/info' 874htmldir='${docdir}' 875dvidir='${docdir}' 876pdfdir='${docdir}' 877psdir='${docdir}' 878libdir='${exec_prefix}/lib' 879localedir='${datarootdir}/locale' 880mandir='${datarootdir}/man' 881 882ac_prev= 883ac_dashdash= 884for ac_option 885do 886 # If the previous option needs an argument, assign it. 887 if test -n "$ac_prev"; then 888 eval $ac_prev=\$ac_option 889 ac_prev= 890 continue 891 fi 892 893 case $ac_option in 894 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 895 *=) ac_optarg= ;; 896 *) ac_optarg=yes ;; 897 esac 898 899 # Accept the important Cygnus configure options, so we can diagnose typos. 900 901 case $ac_dashdash$ac_option in 902 --) 903 ac_dashdash=yes ;; 904 905 -bindir | --bindir | --bindi | --bind | --bin | --bi) 906 ac_prev=bindir ;; 907 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 908 bindir=$ac_optarg ;; 909 910 -build | --build | --buil | --bui | --bu) 911 ac_prev=build_alias ;; 912 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 913 build_alias=$ac_optarg ;; 914 915 -cache-file | --cache-file | --cache-fil | --cache-fi \ 916 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 917 ac_prev=cache_file ;; 918 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 919 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 920 cache_file=$ac_optarg ;; 921 922 --config-cache | -C) 923 cache_file=config.cache ;; 924 925 -datadir | --datadir | --datadi | --datad) 926 ac_prev=datadir ;; 927 -datadir=* | --datadir=* | --datadi=* | --datad=*) 928 datadir=$ac_optarg ;; 929 930 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 931 | --dataroo | --dataro | --datar) 932 ac_prev=datarootdir ;; 933 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 934 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 935 datarootdir=$ac_optarg ;; 936 937 -disable-* | --disable-*) 938 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 939 # Reject names that are not valid shell variable names. 940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 941 as_fn_error $? "invalid feature name: $ac_useropt" 942 ac_useropt_orig=$ac_useropt 943 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 944 case $ac_user_opts in 945 *" 946"enable_$ac_useropt" 947"*) ;; 948 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 949 ac_unrecognized_sep=', ';; 950 esac 951 eval enable_$ac_useropt=no ;; 952 953 -docdir | --docdir | --docdi | --doc | --do) 954 ac_prev=docdir ;; 955 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 956 docdir=$ac_optarg ;; 957 958 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 959 ac_prev=dvidir ;; 960 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 961 dvidir=$ac_optarg ;; 962 963 -enable-* | --enable-*) 964 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 965 # Reject names that are not valid shell variable names. 966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 967 as_fn_error $? "invalid feature name: $ac_useropt" 968 ac_useropt_orig=$ac_useropt 969 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 970 case $ac_user_opts in 971 *" 972"enable_$ac_useropt" 973"*) ;; 974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 975 ac_unrecognized_sep=', ';; 976 esac 977 eval enable_$ac_useropt=\$ac_optarg ;; 978 979 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 980 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 981 | --exec | --exe | --ex) 982 ac_prev=exec_prefix ;; 983 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 984 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 985 | --exec=* | --exe=* | --ex=*) 986 exec_prefix=$ac_optarg ;; 987 988 -gas | --gas | --ga | --g) 989 # Obsolete; use --with-gas. 990 with_gas=yes ;; 991 992 -help | --help | --hel | --he | -h) 993 ac_init_help=long ;; 994 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 995 ac_init_help=recursive ;; 996 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 997 ac_init_help=short ;; 998 999 -host | --host | --hos | --ho) 1000 ac_prev=host_alias ;; 1001 -host=* | --host=* | --hos=* | --ho=*) 1002 host_alias=$ac_optarg ;; 1003 1004 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1005 ac_prev=htmldir ;; 1006 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1007 | --ht=*) 1008 htmldir=$ac_optarg ;; 1009 1010 -includedir | --includedir | --includedi | --included | --include \ 1011 | --includ | --inclu | --incl | --inc) 1012 ac_prev=includedir ;; 1013 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1014 | --includ=* | --inclu=* | --incl=* | --inc=*) 1015 includedir=$ac_optarg ;; 1016 1017 -infodir | --infodir | --infodi | --infod | --info | --inf) 1018 ac_prev=infodir ;; 1019 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1020 infodir=$ac_optarg ;; 1021 1022 -libdir | --libdir | --libdi | --libd) 1023 ac_prev=libdir ;; 1024 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1025 libdir=$ac_optarg ;; 1026 1027 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1028 | --libexe | --libex | --libe) 1029 ac_prev=libexecdir ;; 1030 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1031 | --libexe=* | --libex=* | --libe=*) 1032 libexecdir=$ac_optarg ;; 1033 1034 -localedir | --localedir | --localedi | --localed | --locale) 1035 ac_prev=localedir ;; 1036 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1037 localedir=$ac_optarg ;; 1038 1039 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1040 | --localstate | --localstat | --localsta | --localst | --locals) 1041 ac_prev=localstatedir ;; 1042 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1043 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1044 localstatedir=$ac_optarg ;; 1045 1046 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1047 ac_prev=mandir ;; 1048 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1049 mandir=$ac_optarg ;; 1050 1051 -nfp | --nfp | --nf) 1052 # Obsolete; use --without-fp. 1053 with_fp=no ;; 1054 1055 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1056 | --no-cr | --no-c | -n) 1057 no_create=yes ;; 1058 1059 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1060 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1061 no_recursion=yes ;; 1062 1063 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1064 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1065 | --oldin | --oldi | --old | --ol | --o) 1066 ac_prev=oldincludedir ;; 1067 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1068 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1069 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1070 oldincludedir=$ac_optarg ;; 1071 1072 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1073 ac_prev=prefix ;; 1074 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1075 prefix=$ac_optarg ;; 1076 1077 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1078 | --program-pre | --program-pr | --program-p) 1079 ac_prev=program_prefix ;; 1080 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1081 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1082 program_prefix=$ac_optarg ;; 1083 1084 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1085 | --program-suf | --program-su | --program-s) 1086 ac_prev=program_suffix ;; 1087 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1088 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1089 program_suffix=$ac_optarg ;; 1090 1091 -program-transform-name | --program-transform-name \ 1092 | --program-transform-nam | --program-transform-na \ 1093 | --program-transform-n | --program-transform- \ 1094 | --program-transform | --program-transfor \ 1095 | --program-transfo | --program-transf \ 1096 | --program-trans | --program-tran \ 1097 | --progr-tra | --program-tr | --program-t) 1098 ac_prev=program_transform_name ;; 1099 -program-transform-name=* | --program-transform-name=* \ 1100 | --program-transform-nam=* | --program-transform-na=* \ 1101 | --program-transform-n=* | --program-transform-=* \ 1102 | --program-transform=* | --program-transfor=* \ 1103 | --program-transfo=* | --program-transf=* \ 1104 | --program-trans=* | --program-tran=* \ 1105 | --progr-tra=* | --program-tr=* | --program-t=*) 1106 program_transform_name=$ac_optarg ;; 1107 1108 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1109 ac_prev=pdfdir ;; 1110 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1111 pdfdir=$ac_optarg ;; 1112 1113 -psdir | --psdir | --psdi | --psd | --ps) 1114 ac_prev=psdir ;; 1115 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1116 psdir=$ac_optarg ;; 1117 1118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1119 | -silent | --silent | --silen | --sile | --sil) 1120 silent=yes ;; 1121 1122 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1123 ac_prev=sbindir ;; 1124 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1125 | --sbi=* | --sb=*) 1126 sbindir=$ac_optarg ;; 1127 1128 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1129 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1130 | --sharedst | --shareds | --shared | --share | --shar \ 1131 | --sha | --sh) 1132 ac_prev=sharedstatedir ;; 1133 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1134 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1135 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1136 | --sha=* | --sh=*) 1137 sharedstatedir=$ac_optarg ;; 1138 1139 -site | --site | --sit) 1140 ac_prev=site ;; 1141 -site=* | --site=* | --sit=*) 1142 site=$ac_optarg ;; 1143 1144 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1145 ac_prev=srcdir ;; 1146 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1147 srcdir=$ac_optarg ;; 1148 1149 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1150 | --syscon | --sysco | --sysc | --sys | --sy) 1151 ac_prev=sysconfdir ;; 1152 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1153 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1154 sysconfdir=$ac_optarg ;; 1155 1156 -target | --target | --targe | --targ | --tar | --ta | --t) 1157 ac_prev=target_alias ;; 1158 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1159 target_alias=$ac_optarg ;; 1160 1161 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1162 verbose=yes ;; 1163 1164 -version | --version | --versio | --versi | --vers | -V) 1165 ac_init_version=: ;; 1166 1167 -with-* | --with-*) 1168 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1169 # Reject names that are not valid shell variable names. 1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1171 as_fn_error $? "invalid package name: $ac_useropt" 1172 ac_useropt_orig=$ac_useropt 1173 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1174 case $ac_user_opts in 1175 *" 1176"with_$ac_useropt" 1177"*) ;; 1178 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1179 ac_unrecognized_sep=', ';; 1180 esac 1181 eval with_$ac_useropt=\$ac_optarg ;; 1182 1183 -without-* | --without-*) 1184 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1185 # Reject names that are not valid shell variable names. 1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1187 as_fn_error $? "invalid package name: $ac_useropt" 1188 ac_useropt_orig=$ac_useropt 1189 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1190 case $ac_user_opts in 1191 *" 1192"with_$ac_useropt" 1193"*) ;; 1194 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1195 ac_unrecognized_sep=', ';; 1196 esac 1197 eval with_$ac_useropt=no ;; 1198 1199 --x) 1200 # Obsolete; use --with-x. 1201 with_x=yes ;; 1202 1203 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1204 | --x-incl | --x-inc | --x-in | --x-i) 1205 ac_prev=x_includes ;; 1206 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1207 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1208 x_includes=$ac_optarg ;; 1209 1210 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1211 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1212 ac_prev=x_libraries ;; 1213 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1214 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1215 x_libraries=$ac_optarg ;; 1216 1217 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1218Try \`$0 --help' for more information" 1219 ;; 1220 1221 *=*) 1222 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1223 # Reject names that are not valid shell variable names. 1224 case $ac_envvar in #( 1225 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1226 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1227 esac 1228 eval $ac_envvar=\$ac_optarg 1229 export $ac_envvar ;; 1230 1231 *) 1232 # FIXME: should be removed in autoconf 3.0. 1233 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1234 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1235 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1236 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1237 ;; 1238 1239 esac 1240done 1241 1242if test -n "$ac_prev"; then 1243 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1244 as_fn_error $? "missing argument to $ac_option" 1245fi 1246 1247if test -n "$ac_unrecognized_opts"; then 1248 case $enable_option_checking in 1249 no) ;; 1250 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1251 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1252 esac 1253fi 1254 1255# Check all directory arguments for consistency. 1256for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1257 datadir sysconfdir sharedstatedir localstatedir includedir \ 1258 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1259 libdir localedir mandir 1260do 1261 eval ac_val=\$$ac_var 1262 # Remove trailing slashes. 1263 case $ac_val in 1264 */ ) 1265 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1266 eval $ac_var=\$ac_val;; 1267 esac 1268 # Be sure to have absolute directory names. 1269 case $ac_val in 1270 [\\/$]* | ?:[\\/]* ) continue;; 1271 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1272 esac 1273 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1274done 1275 1276# There might be people who depend on the old broken behavior: `$host' 1277# used to hold the argument of --host etc. 1278# FIXME: To remove some day. 1279build=$build_alias 1280host=$host_alias 1281target=$target_alias 1282 1283# FIXME: To remove some day. 1284if test "x$host_alias" != x; then 1285 if test "x$build_alias" = x; then 1286 cross_compiling=maybe 1287 elif test "x$build_alias" != "x$host_alias"; then 1288 cross_compiling=yes 1289 fi 1290fi 1291 1292ac_tool_prefix= 1293test -n "$host_alias" && ac_tool_prefix=$host_alias- 1294 1295test "$silent" = yes && exec 6>/dev/null 1296 1297 1298ac_pwd=`pwd` && test -n "$ac_pwd" && 1299ac_ls_di=`ls -di .` && 1300ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1301 as_fn_error $? "working directory cannot be determined" 1302test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1303 as_fn_error $? "pwd does not report name of working directory" 1304 1305 1306# Find the source files, if location was not specified. 1307if test -z "$srcdir"; then 1308 ac_srcdir_defaulted=yes 1309 # Try the directory containing this script, then the parent directory. 1310 ac_confdir=`$as_dirname -- "$as_myself" || 1311$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1312 X"$as_myself" : 'X\(//\)[^/]' \| \ 1313 X"$as_myself" : 'X\(//\)$' \| \ 1314 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1315$as_echo X"$as_myself" | 1316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1317 s//\1/ 1318 q 1319 } 1320 /^X\(\/\/\)[^/].*/{ 1321 s//\1/ 1322 q 1323 } 1324 /^X\(\/\/\)$/{ 1325 s//\1/ 1326 q 1327 } 1328 /^X\(\/\).*/{ 1329 s//\1/ 1330 q 1331 } 1332 s/.*/./; q'` 1333 srcdir=$ac_confdir 1334 if test ! -r "$srcdir/$ac_unique_file"; then 1335 srcdir=.. 1336 fi 1337else 1338 ac_srcdir_defaulted=no 1339fi 1340if test ! -r "$srcdir/$ac_unique_file"; then 1341 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1342 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1343fi 1344ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1345ac_abs_confdir=`( 1346 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1347 pwd)` 1348# When building in place, set srcdir=. 1349if test "$ac_abs_confdir" = "$ac_pwd"; then 1350 srcdir=. 1351fi 1352# Remove unnecessary trailing slashes from srcdir. 1353# Double slashes in file names in object file debugging info 1354# mess up M-x gdb in Emacs. 1355case $srcdir in 1356*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1357esac 1358for ac_var in $ac_precious_vars; do 1359 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1360 eval ac_env_${ac_var}_value=\$${ac_var} 1361 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1362 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1363done 1364 1365# 1366# Report the --help message. 1367# 1368if test "$ac_init_help" = "long"; then 1369 # Omit some internal or obsolete options to make the list less imposing. 1370 # This message is too long to be a string in the A/UX 3.1 sh. 1371 cat <<_ACEOF 1372\`configure' configures snappy 1.0 to adapt to many kinds of systems. 1373 1374Usage: $0 [OPTION]... [VAR=VALUE]... 1375 1376To assign environment variables (e.g., CC, CFLAGS...), specify them as 1377VAR=VALUE. See below for descriptions of some of the useful variables. 1378 1379Defaults for the options are specified in brackets. 1380 1381Configuration: 1382 -h, --help display this help and exit 1383 --help=short display options specific to this package 1384 --help=recursive display the short help of all the included packages 1385 -V, --version display version information and exit 1386 -q, --quiet, --silent do not print \`checking ...' messages 1387 --cache-file=FILE cache test results in FILE [disabled] 1388 -C, --config-cache alias for \`--cache-file=config.cache' 1389 -n, --no-create do not create output files 1390 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1391 1392Installation directories: 1393 --prefix=PREFIX install architecture-independent files in PREFIX 1394 [$ac_default_prefix] 1395 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1396 [PREFIX] 1397 1398By default, \`make install' will install all the files in 1399\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1400an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1401for instance \`--prefix=\$HOME'. 1402 1403For better control, use the options below. 1404 1405Fine tuning of the installation directories: 1406 --bindir=DIR user executables [EPREFIX/bin] 1407 --sbindir=DIR system admin executables [EPREFIX/sbin] 1408 --libexecdir=DIR program executables [EPREFIX/libexec] 1409 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1410 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1411 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1412 --libdir=DIR object code libraries [EPREFIX/lib] 1413 --includedir=DIR C header files [PREFIX/include] 1414 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1415 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1416 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1417 --infodir=DIR info documentation [DATAROOTDIR/info] 1418 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1419 --mandir=DIR man documentation [DATAROOTDIR/man] 1420 --docdir=DIR documentation root [DATAROOTDIR/doc/snappy] 1421 --htmldir=DIR html documentation [DOCDIR] 1422 --dvidir=DIR dvi documentation [DOCDIR] 1423 --pdfdir=DIR pdf documentation [DOCDIR] 1424 --psdir=DIR ps documentation [DOCDIR] 1425_ACEOF 1426 1427 cat <<\_ACEOF 1428 1429Program names: 1430 --program-prefix=PREFIX prepend PREFIX to installed program names 1431 --program-suffix=SUFFIX append SUFFIX to installed program names 1432 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1433 1434System types: 1435 --build=BUILD configure for building on BUILD [guessed] 1436 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1437_ACEOF 1438fi 1439 1440if test -n "$ac_init_help"; then 1441 case $ac_init_help in 1442 short | recursive ) echo "Configuration of snappy 1.0:";; 1443 esac 1444 cat <<\_ACEOF 1445 1446Optional Features: 1447 --disable-option-checking ignore unrecognized --enable/--with options 1448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1450 --enable-maintainer-mode 1451 enable make rules and dependencies not useful (and 1452 sometimes confusing) to the casual installer 1453 --enable-silent-rules less verbose build output (undo: "make V=1") 1454 --disable-silent-rules verbose build output (undo: "make V=0") 1455 --enable-dependency-tracking 1456 do not reject slow dependency extractors 1457 --disable-dependency-tracking 1458 speeds up one-time build 1459 --enable-shared[=PKGS] build shared libraries [default=yes] 1460 --enable-static[=PKGS] build static libraries [default=yes] 1461 --enable-fast-install[=PKGS] 1462 optimize for fast installation [default=yes] 1463 --disable-libtool-lock avoid locking (might break parallel builds) 1464 --enable-dbus enable DBus support to disable the screensaver 1465 (default=yes) 1466 1467Optional Packages: 1468 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1469 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1470 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1471 both] 1472 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1473 --with-sysroot=DIR Search for dependent libraries within DIR 1474 (or the compiler's sysroot if not specified). 1475 1476Some influential environment variables: 1477 CC C compiler command 1478 CFLAGS C compiler flags 1479 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1480 nonstandard directory <lib dir> 1481 LIBS libraries to pass to the linker, e.g. -l<library> 1482 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1483 you have headers in a nonstandard directory <include dir> 1484 CPP C preprocessor 1485 PKG_CONFIG path to pkg-config utility 1486 PKG_CONFIG_PATH 1487 directories to add to pkg-config's search path 1488 PKG_CONFIG_LIBDIR 1489 path overriding pkg-config's built-in search path 1490 GST_CFLAGS C compiler flags for GST, overriding pkg-config 1491 GST_LIBS linker flags for GST, overriding pkg-config 1492 CLUTTER_CFLAGS 1493 C compiler flags for CLUTTER, overriding pkg-config 1494 CLUTTER_LIBS 1495 linker flags for CLUTTER, overriding pkg-config 1496 CLUTTER_GST_CFLAGS 1497 C compiler flags for CLUTTER_GST, overriding pkg-config 1498 CLUTTER_GST_LIBS 1499 linker flags for CLUTTER_GST, overriding pkg-config 1500 CLUTTER_GTK_CFLAGS 1501 C compiler flags for CLUTTER_GTK, overriding pkg-config 1502 CLUTTER_GTK_LIBS 1503 linker flags for CLUTTER_GTK, overriding pkg-config 1504 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1505 GTK_LIBS linker flags for GTK, overriding pkg-config 1506 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config 1507 GIO_LIBS linker flags for GIO, overriding pkg-config 1508 CLUTTER_WIN32_CFLAGS 1509 C compiler flags for CLUTTER_WIN32, overriding pkg-config 1510 CLUTTER_WIN32_LIBS 1511 linker flags for CLUTTER_WIN32, overriding pkg-config 1512 CLUTTER_OSX_CFLAGS 1513 C compiler flags for CLUTTER_OSX, overriding pkg-config 1514 CLUTTER_OSX_LIBS 1515 linker flags for CLUTTER_OSX, overriding pkg-config 1516 CLUTTER_X11_CFLAGS 1517 C compiler flags for CLUTTER_X11, overriding pkg-config 1518 CLUTTER_X11_LIBS 1519 linker flags for CLUTTER_X11, overriding pkg-config 1520 XTEST_CFLAGS 1521 C compiler flags for XTEST, overriding pkg-config 1522 XTEST_LIBS linker flags for XTEST, overriding pkg-config 1523 GIO_2_26_CFLAGS 1524 C compiler flags for GIO_2_26, overriding pkg-config 1525 GIO_2_26_LIBS 1526 linker flags for GIO_2_26, overriding pkg-config 1527 1528Use these variables to override the choices made by `configure' or to help 1529it to find libraries and programs with nonstandard names/locations. 1530 1531Report bugs to <NULL>. 1532_ACEOF 1533ac_status=$? 1534fi 1535 1536if test "$ac_init_help" = "recursive"; then 1537 # If there are subdirs, report their specific --help. 1538 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1539 test -d "$ac_dir" || 1540 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1541 continue 1542 ac_builddir=. 1543 1544case "$ac_dir" in 1545.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1546*) 1547 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1548 # A ".." for each directory in $ac_dir_suffix. 1549 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1550 case $ac_top_builddir_sub in 1551 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1552 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1553 esac ;; 1554esac 1555ac_abs_top_builddir=$ac_pwd 1556ac_abs_builddir=$ac_pwd$ac_dir_suffix 1557# for backward compatibility: 1558ac_top_builddir=$ac_top_build_prefix 1559 1560case $srcdir in 1561 .) # We are building in place. 1562 ac_srcdir=. 1563 ac_top_srcdir=$ac_top_builddir_sub 1564 ac_abs_top_srcdir=$ac_pwd ;; 1565 [\\/]* | ?:[\\/]* ) # Absolute name. 1566 ac_srcdir=$srcdir$ac_dir_suffix; 1567 ac_top_srcdir=$srcdir 1568 ac_abs_top_srcdir=$srcdir ;; 1569 *) # Relative name. 1570 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1571 ac_top_srcdir=$ac_top_build_prefix$srcdir 1572 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1573esac 1574ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1575 1576 cd "$ac_dir" || { ac_status=$?; continue; } 1577 # Check for guested configure. 1578 if test -f "$ac_srcdir/configure.gnu"; then 1579 echo && 1580 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1581 elif test -f "$ac_srcdir/configure"; then 1582 echo && 1583 $SHELL "$ac_srcdir/configure" --help=recursive 1584 else 1585 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1586 fi || ac_status=$? 1587 cd "$ac_pwd" || { ac_status=$?; break; } 1588 done 1589fi 1590 1591test -n "$ac_init_help" && exit $ac_status 1592if $ac_init_version; then 1593 cat <<\_ACEOF 1594snappy configure 1.0 1595generated by GNU Autoconf 2.69 1596 1597Copyright (C) 2012 Free Software Foundation, Inc. 1598This configure script is free software; the Free Software Foundation 1599gives unlimited permission to copy, distribute and modify it. 1600_ACEOF 1601 exit 1602fi 1603 1604## ------------------------ ## 1605## Autoconf initialization. ## 1606## ------------------------ ## 1607 1608# ac_fn_c_try_compile LINENO 1609# -------------------------- 1610# Try to compile conftest.$ac_ext, and return whether this succeeded. 1611ac_fn_c_try_compile () 1612{ 1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1614 rm -f conftest.$ac_objext 1615 if { { ac_try="$ac_compile" 1616case "(($ac_try" in 1617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1618 *) ac_try_echo=$ac_try;; 1619esac 1620eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1621$as_echo "$ac_try_echo"; } >&5 1622 (eval "$ac_compile") 2>conftest.err 1623 ac_status=$? 1624 if test -s conftest.err; then 1625 grep -v '^ *+' conftest.err >conftest.er1 1626 cat conftest.er1 >&5 1627 mv -f conftest.er1 conftest.err 1628 fi 1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1630 test $ac_status = 0; } && { 1631 test -z "$ac_c_werror_flag" || 1632 test ! -s conftest.err 1633 } && test -s conftest.$ac_objext; then : 1634 ac_retval=0 1635else 1636 $as_echo "$as_me: failed program was:" >&5 1637sed 's/^/| /' conftest.$ac_ext >&5 1638 1639 ac_retval=1 1640fi 1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1642 as_fn_set_status $ac_retval 1643 1644} # ac_fn_c_try_compile 1645 1646# ac_fn_c_try_cpp LINENO 1647# ---------------------- 1648# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1649ac_fn_c_try_cpp () 1650{ 1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1652 if { { ac_try="$ac_cpp conftest.$ac_ext" 1653case "(($ac_try" in 1654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1655 *) ac_try_echo=$ac_try;; 1656esac 1657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1658$as_echo "$ac_try_echo"; } >&5 1659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1660 ac_status=$? 1661 if test -s conftest.err; then 1662 grep -v '^ *+' conftest.err >conftest.er1 1663 cat conftest.er1 >&5 1664 mv -f conftest.er1 conftest.err 1665 fi 1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1667 test $ac_status = 0; } > conftest.i && { 1668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1669 test ! -s conftest.err 1670 }; then : 1671 ac_retval=0 1672else 1673 $as_echo "$as_me: failed program was:" >&5 1674sed 's/^/| /' conftest.$ac_ext >&5 1675 1676 ac_retval=1 1677fi 1678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1679 as_fn_set_status $ac_retval 1680 1681} # ac_fn_c_try_cpp 1682 1683# ac_fn_c_try_run LINENO 1684# ---------------------- 1685# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1686# that executables *can* be run. 1687ac_fn_c_try_run () 1688{ 1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1690 if { { ac_try="$ac_link" 1691case "(($ac_try" in 1692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1693 *) ac_try_echo=$ac_try;; 1694esac 1695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1696$as_echo "$ac_try_echo"; } >&5 1697 (eval "$ac_link") 2>&5 1698 ac_status=$? 1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1700 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1701 { { case "(($ac_try" in 1702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1703 *) ac_try_echo=$ac_try;; 1704esac 1705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1706$as_echo "$ac_try_echo"; } >&5 1707 (eval "$ac_try") 2>&5 1708 ac_status=$? 1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1710 test $ac_status = 0; }; }; then : 1711 ac_retval=0 1712else 1713 $as_echo "$as_me: program exited with status $ac_status" >&5 1714 $as_echo "$as_me: failed program was:" >&5 1715sed 's/^/| /' conftest.$ac_ext >&5 1716 1717 ac_retval=$ac_status 1718fi 1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1721 as_fn_set_status $ac_retval 1722 1723} # ac_fn_c_try_run 1724 1725# ac_fn_c_try_link LINENO 1726# ----------------------- 1727# Try to link conftest.$ac_ext, and return whether this succeeded. 1728ac_fn_c_try_link () 1729{ 1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1731 rm -f conftest.$ac_objext conftest$ac_exeext 1732 if { { ac_try="$ac_link" 1733case "(($ac_try" in 1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1735 *) ac_try_echo=$ac_try;; 1736esac 1737eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1738$as_echo "$ac_try_echo"; } >&5 1739 (eval "$ac_link") 2>conftest.err 1740 ac_status=$? 1741 if test -s conftest.err; then 1742 grep -v '^ *+' conftest.err >conftest.er1 1743 cat conftest.er1 >&5 1744 mv -f conftest.er1 conftest.err 1745 fi 1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1747 test $ac_status = 0; } && { 1748 test -z "$ac_c_werror_flag" || 1749 test ! -s conftest.err 1750 } && test -s conftest$ac_exeext && { 1751 test "$cross_compiling" = yes || 1752 test -x conftest$ac_exeext 1753 }; then : 1754 ac_retval=0 1755else 1756 $as_echo "$as_me: failed program was:" >&5 1757sed 's/^/| /' conftest.$ac_ext >&5 1758 1759 ac_retval=1 1760fi 1761 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1762 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1763 # interfere with the next link command; also delete a directory that is 1764 # left behind by Apple's compiler. We do this before executing the actions. 1765 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1767 as_fn_set_status $ac_retval 1768 1769} # ac_fn_c_try_link 1770 1771# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1772# ------------------------------------------------------- 1773# Tests whether HEADER exists and can be compiled using the include files in 1774# INCLUDES, setting the cache variable VAR accordingly. 1775ac_fn_c_check_header_compile () 1776{ 1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1779$as_echo_n "checking for $2... " >&6; } 1780if eval \${$3+:} false; then : 1781 $as_echo_n "(cached) " >&6 1782else 1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1784/* end confdefs.h. */ 1785$4 1786#include <$2> 1787_ACEOF 1788if ac_fn_c_try_compile "$LINENO"; then : 1789 eval "$3=yes" 1790else 1791 eval "$3=no" 1792fi 1793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1794fi 1795eval ac_res=\$$3 1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1797$as_echo "$ac_res" >&6; } 1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1799 1800} # ac_fn_c_check_header_compile 1801 1802# ac_fn_c_check_func LINENO FUNC VAR 1803# ---------------------------------- 1804# Tests whether FUNC exists, setting the cache variable VAR accordingly 1805ac_fn_c_check_func () 1806{ 1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1809$as_echo_n "checking for $2... " >&6; } 1810if eval \${$3+:} false; then : 1811 $as_echo_n "(cached) " >&6 1812else 1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1814/* end confdefs.h. */ 1815/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1816 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1817#define $2 innocuous_$2 1818 1819/* System header to define __stub macros and hopefully few prototypes, 1820 which can conflict with char $2 (); below. 1821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1822 <limits.h> exists even on freestanding compilers. */ 1823 1824#ifdef __STDC__ 1825# include <limits.h> 1826#else 1827# include <assert.h> 1828#endif 1829 1830#undef $2 1831 1832/* Override any GCC internal prototype to avoid an error. 1833 Use char because int might match the return type of a GCC 1834 builtin and then its argument prototype would still apply. */ 1835#ifdef __cplusplus 1836extern "C" 1837#endif 1838char $2 (); 1839/* The GNU C library defines this for functions which it implements 1840 to always fail with ENOSYS. Some functions are actually named 1841 something starting with __ and the normal name is an alias. */ 1842#if defined __stub_$2 || defined __stub___$2 1843choke me 1844#endif 1845 1846int 1847main () 1848{ 1849return $2 (); 1850 ; 1851 return 0; 1852} 1853_ACEOF 1854if ac_fn_c_try_link "$LINENO"; then : 1855 eval "$3=yes" 1856else 1857 eval "$3=no" 1858fi 1859rm -f core conftest.err conftest.$ac_objext \ 1860 conftest$ac_exeext conftest.$ac_ext 1861fi 1862eval ac_res=\$$3 1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1864$as_echo "$ac_res" >&6; } 1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1866 1867} # ac_fn_c_check_func 1868cat >config.log <<_ACEOF 1869This file contains any messages produced by compilers while 1870running configure, to aid debugging if configure makes a mistake. 1871 1872It was created by snappy $as_me 1.0, which was 1873generated by GNU Autoconf 2.69. Invocation command line was 1874 1875 $ $0 $@ 1876 1877_ACEOF 1878exec 5>>config.log 1879{ 1880cat <<_ASUNAME 1881## --------- ## 1882## Platform. ## 1883## --------- ## 1884 1885hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1886uname -m = `(uname -m) 2>/dev/null || echo unknown` 1887uname -r = `(uname -r) 2>/dev/null || echo unknown` 1888uname -s = `(uname -s) 2>/dev/null || echo unknown` 1889uname -v = `(uname -v) 2>/dev/null || echo unknown` 1890 1891/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1892/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1893 1894/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1895/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1896/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1897/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1898/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1899/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1900/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1901 1902_ASUNAME 1903 1904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1905for as_dir in $PATH 1906do 1907 IFS=$as_save_IFS 1908 test -z "$as_dir" && as_dir=. 1909 $as_echo "PATH: $as_dir" 1910 done 1911IFS=$as_save_IFS 1912 1913} >&5 1914 1915cat >&5 <<_ACEOF 1916 1917 1918## ----------- ## 1919## Core tests. ## 1920## ----------- ## 1921 1922_ACEOF 1923 1924 1925# Keep a trace of the command line. 1926# Strip out --no-create and --no-recursion so they do not pile up. 1927# Strip out --silent because we don't want to record it for future runs. 1928# Also quote any args containing shell meta-characters. 1929# Make two passes to allow for proper duplicate-argument suppression. 1930ac_configure_args= 1931ac_configure_args0= 1932ac_configure_args1= 1933ac_must_keep_next=false 1934for ac_pass in 1 2 1935do 1936 for ac_arg 1937 do 1938 case $ac_arg in 1939 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1940 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1941 | -silent | --silent | --silen | --sile | --sil) 1942 continue ;; 1943 *\'*) 1944 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1945 esac 1946 case $ac_pass in 1947 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1948 2) 1949 as_fn_append ac_configure_args1 " '$ac_arg'" 1950 if test $ac_must_keep_next = true; then 1951 ac_must_keep_next=false # Got value, back to normal. 1952 else 1953 case $ac_arg in 1954 *=* | --config-cache | -C | -disable-* | --disable-* \ 1955 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1956 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1957 | -with-* | --with-* | -without-* | --without-* | --x) 1958 case "$ac_configure_args0 " in 1959 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1960 esac 1961 ;; 1962 -* ) ac_must_keep_next=true ;; 1963 esac 1964 fi 1965 as_fn_append ac_configure_args " '$ac_arg'" 1966 ;; 1967 esac 1968 done 1969done 1970{ ac_configure_args0=; unset ac_configure_args0;} 1971{ ac_configure_args1=; unset ac_configure_args1;} 1972 1973# When interrupted or exit'd, cleanup temporary files, and complete 1974# config.log. We remove comments because anyway the quotes in there 1975# would cause problems or look ugly. 1976# WARNING: Use '\'' to represent an apostrophe within the trap. 1977# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1978trap 'exit_status=$? 1979 # Save into config.log some information that might help in debugging. 1980 { 1981 echo 1982 1983 $as_echo "## ---------------- ## 1984## Cache variables. ## 1985## ---------------- ##" 1986 echo 1987 # The following way of writing the cache mishandles newlines in values, 1988( 1989 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1990 eval ac_val=\$$ac_var 1991 case $ac_val in #( 1992 *${as_nl}*) 1993 case $ac_var in #( 1994 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1995$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1996 esac 1997 case $ac_var in #( 1998 _ | IFS | as_nl) ;; #( 1999 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2000 *) { eval $ac_var=; unset $ac_var;} ;; 2001 esac ;; 2002 esac 2003 done 2004 (set) 2>&1 | 2005 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2006 *${as_nl}ac_space=\ *) 2007 sed -n \ 2008 "s/'\''/'\''\\\\'\'''\''/g; 2009 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2010 ;; #( 2011 *) 2012 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2013 ;; 2014 esac | 2015 sort 2016) 2017 echo 2018 2019 $as_echo "## ----------------- ## 2020## Output variables. ## 2021## ----------------- ##" 2022 echo 2023 for ac_var in $ac_subst_vars 2024 do 2025 eval ac_val=\$$ac_var 2026 case $ac_val in 2027 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2028 esac 2029 $as_echo "$ac_var='\''$ac_val'\''" 2030 done | sort 2031 echo 2032 2033 if test -n "$ac_subst_files"; then 2034 $as_echo "## ------------------- ## 2035## File substitutions. ## 2036## ------------------- ##" 2037 echo 2038 for ac_var in $ac_subst_files 2039 do 2040 eval ac_val=\$$ac_var 2041 case $ac_val in 2042 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2043 esac 2044 $as_echo "$ac_var='\''$ac_val'\''" 2045 done | sort 2046 echo 2047 fi 2048 2049 if test -s confdefs.h; then 2050 $as_echo "## ----------- ## 2051## confdefs.h. ## 2052## ----------- ##" 2053 echo 2054 cat confdefs.h 2055 echo 2056 fi 2057 test "$ac_signal" != 0 && 2058 $as_echo "$as_me: caught signal $ac_signal" 2059 $as_echo "$as_me: exit $exit_status" 2060 } >&5 2061 rm -f core *.core core.conftest.* && 2062 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2063 exit $exit_status 2064' 0 2065for ac_signal in 1 2 13 15; do 2066 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2067done 2068ac_signal=0 2069 2070# confdefs.h avoids OS command line length limits that DEFS can exceed. 2071rm -f -r conftest* confdefs.h 2072 2073$as_echo "/* confdefs.h */" > confdefs.h 2074 2075# Predefined preprocessor variables. 2076 2077cat >>confdefs.h <<_ACEOF 2078#define PACKAGE_NAME "$PACKAGE_NAME" 2079_ACEOF 2080 2081cat >>confdefs.h <<_ACEOF 2082#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2083_ACEOF 2084 2085cat >>confdefs.h <<_ACEOF 2086#define PACKAGE_VERSION "$PACKAGE_VERSION" 2087_ACEOF 2088 2089cat >>confdefs.h <<_ACEOF 2090#define PACKAGE_STRING "$PACKAGE_STRING" 2091_ACEOF 2092 2093cat >>confdefs.h <<_ACEOF 2094#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2095_ACEOF 2096 2097cat >>confdefs.h <<_ACEOF 2098#define PACKAGE_URL "$PACKAGE_URL" 2099_ACEOF 2100 2101 2102# Let the site file select an alternate cache file if it wants to. 2103# Prefer an explicitly selected file to automatically selected ones. 2104ac_site_file1=NONE 2105ac_site_file2=NONE 2106if test -n "$CONFIG_SITE"; then 2107 # We do not want a PATH search for config.site. 2108 case $CONFIG_SITE in #(( 2109 -*) ac_site_file1=./$CONFIG_SITE;; 2110 */*) ac_site_file1=$CONFIG_SITE;; 2111 *) ac_site_file1=./$CONFIG_SITE;; 2112 esac 2113elif test "x$prefix" != xNONE; then 2114 ac_site_file1=$prefix/share/config.site 2115 ac_site_file2=$prefix/etc/config.site 2116else 2117 ac_site_file1=$ac_default_prefix/share/config.site 2118 ac_site_file2=$ac_default_prefix/etc/config.site 2119fi 2120for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2121do 2122 test "x$ac_site_file" = xNONE && continue 2123 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2124 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2125$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2126 sed 's/^/| /' "$ac_site_file" >&5 2127 . "$ac_site_file" \ 2128 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2129$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2130as_fn_error $? "failed to load site script $ac_site_file 2131See \`config.log' for more details" "$LINENO" 5; } 2132 fi 2133done 2134 2135if test -r "$cache_file"; then 2136 # Some versions of bash will fail to source /dev/null (special files 2137 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2138 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2139 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2140$as_echo "$as_me: loading cache $cache_file" >&6;} 2141 case $cache_file in 2142 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2143 *) . "./$cache_file";; 2144 esac 2145 fi 2146else 2147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2148$as_echo "$as_me: creating cache $cache_file" >&6;} 2149 >$cache_file 2150fi 2151 2152# Check that the precious variables saved in the cache have kept the same 2153# value. 2154ac_cache_corrupted=false 2155for ac_var in $ac_precious_vars; do 2156 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2157 eval ac_new_set=\$ac_env_${ac_var}_set 2158 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2159 eval ac_new_val=\$ac_env_${ac_var}_value 2160 case $ac_old_set,$ac_new_set in 2161 set,) 2162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2163$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2164 ac_cache_corrupted=: ;; 2165 ,set) 2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2167$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2168 ac_cache_corrupted=: ;; 2169 ,);; 2170 *) 2171 if test "x$ac_old_val" != "x$ac_new_val"; then 2172 # differences in whitespace do not lead to failure. 2173 ac_old_val_w=`echo x $ac_old_val` 2174 ac_new_val_w=`echo x $ac_new_val` 2175 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2177$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2178 ac_cache_corrupted=: 2179 else 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2181$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2182 eval $ac_var=\$ac_old_val 2183 fi 2184 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2185$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2187$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2188 fi;; 2189 esac 2190 # Pass precious variables to config.status. 2191 if test "$ac_new_set" = set; then 2192 case $ac_new_val in 2193 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2194 *) ac_arg=$ac_var=$ac_new_val ;; 2195 esac 2196 case " $ac_configure_args " in 2197 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2198 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2199 esac 2200 fi 2201done 2202if $ac_cache_corrupted; then 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2206$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2207 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2208fi 2209## -------------------- ## 2210## Main body of script. ## 2211## -------------------- ## 2212 2213ac_ext=c 2214ac_cpp='$CPP $CPPFLAGS' 2215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2217ac_compiler_gnu=$ac_cv_c_compiler_gnu 2218 2219 2220 2221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2222$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2223 # Check whether --enable-maintainer-mode was given. 2224if test "${enable_maintainer_mode+set}" = set; then : 2225 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2226else 2227 USE_MAINTAINER_MODE=no 2228fi 2229 2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2231$as_echo "$USE_MAINTAINER_MODE" >&6; } 2232 if test $USE_MAINTAINER_MODE = yes; then 2233 MAINTAINER_MODE_TRUE= 2234 MAINTAINER_MODE_FALSE='#' 2235else 2236 MAINTAINER_MODE_TRUE='#' 2237 MAINTAINER_MODE_FALSE= 2238fi 2239 2240 MAINT=$MAINTAINER_MODE_TRUE 2241 2242 2243 2244 2245ac_config_headers="$ac_config_headers config.h" 2246 2247ac_aux_dir= 2248for ac_dir in build-aux "$srcdir"/build-aux; do 2249 if test -f "$ac_dir/install-sh"; then 2250 ac_aux_dir=$ac_dir 2251 ac_install_sh="$ac_aux_dir/install-sh -c" 2252 break 2253 elif test -f "$ac_dir/install.sh"; then 2254 ac_aux_dir=$ac_dir 2255 ac_install_sh="$ac_aux_dir/install.sh -c" 2256 break 2257 elif test -f "$ac_dir/shtool"; then 2258 ac_aux_dir=$ac_dir 2259 ac_install_sh="$ac_aux_dir/shtool install -c" 2260 break 2261 fi 2262done 2263if test -z "$ac_aux_dir"; then 2264 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2265fi 2266 2267# These three variables are undocumented and unsupported, 2268# and are intended to be withdrawn in a future Autoconf release. 2269# They can cause serious problems if a builder's source tree is in a directory 2270# whose full name contains unusual characters. 2271ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2272ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2273ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2274 2275 2276 2277am__api_version='1.13' 2278 2279# Find a good install program. We prefer a C program (faster), 2280# so one script is as good as another. But avoid the broken or 2281# incompatible versions: 2282# SysV /etc/install, /usr/sbin/install 2283# SunOS /usr/etc/install 2284# IRIX /sbin/install 2285# AIX /bin/install 2286# AmigaOS /C/install, which installs bootblocks on floppy discs 2287# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2288# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2289# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2290# OS/2's system install, which has a completely different semantic 2291# ./install, which can be erroneously created by make from ./install.sh. 2292# Reject install programs that cannot install multiple files. 2293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2294$as_echo_n "checking for a BSD-compatible install... " >&6; } 2295if test -z "$INSTALL"; then 2296if ${ac_cv_path_install+:} false; then : 2297 $as_echo_n "(cached) " >&6 2298else 2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2300for as_dir in $PATH 2301do 2302 IFS=$as_save_IFS 2303 test -z "$as_dir" && as_dir=. 2304 # Account for people who put trailing slashes in PATH elements. 2305case $as_dir/ in #(( 2306 ./ | .// | /[cC]/* | \ 2307 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2308 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2309 /usr/ucb/* ) ;; 2310 *) 2311 # OSF1 and SCO ODT 3.0 have their own names for install. 2312 # Don't use installbsd from OSF since it installs stuff as root 2313 # by default. 2314 for ac_prog in ginstall scoinst install; do 2315 for ac_exec_ext in '' $ac_executable_extensions; do 2316 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2317 if test $ac_prog = install && 2318 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2319 # AIX install. It has an incompatible calling convention. 2320 : 2321 elif test $ac_prog = install && 2322 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2323 # program-specific install script used by HP pwplus--don't use. 2324 : 2325 else 2326 rm -rf conftest.one conftest.two conftest.dir 2327 echo one > conftest.one 2328 echo two > conftest.two 2329 mkdir conftest.dir 2330 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2331 test -s conftest.one && test -s conftest.two && 2332 test -s conftest.dir/conftest.one && 2333 test -s conftest.dir/conftest.two 2334 then 2335 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2336 break 3 2337 fi 2338 fi 2339 fi 2340 done 2341 done 2342 ;; 2343esac 2344 2345 done 2346IFS=$as_save_IFS 2347 2348rm -rf conftest.one conftest.two conftest.dir 2349 2350fi 2351 if test "${ac_cv_path_install+set}" = set; then 2352 INSTALL=$ac_cv_path_install 2353 else 2354 # As a last resort, use the slow shell script. Don't cache a 2355 # value for INSTALL within a source directory, because that will 2356 # break other packages using the cache if that directory is 2357 # removed, or if the value is a relative name. 2358 INSTALL=$ac_install_sh 2359 fi 2360fi 2361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2362$as_echo "$INSTALL" >&6; } 2363 2364# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2365# It thinks the first close brace ends the variable substitution. 2366test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2367 2368test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2369 2370test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2371 2372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2373$as_echo_n "checking whether build environment is sane... " >&6; } 2374# Reject unsafe characters in $srcdir or the absolute working directory 2375# name. Accept space and tab only in the latter. 2376am_lf=' 2377' 2378case `pwd` in 2379 *[\\\"\#\$\&\'\`$am_lf]*) 2380 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2381esac 2382case $srcdir in 2383 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2384 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2385esac 2386 2387# Do 'set' in a subshell so we don't clobber the current shell's 2388# arguments. Must try -L first in case configure is actually a 2389# symlink; some systems play weird games with the mod time of symlinks 2390# (eg FreeBSD returns the mod time of the symlink's containing 2391# directory). 2392if ( 2393 am_has_slept=no 2394 for am_try in 1 2; do 2395 echo "timestamp, slept: $am_has_slept" > conftest.file 2396 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2397 if test "$*" = "X"; then 2398 # -L didn't work. 2399 set X `ls -t "$srcdir/configure" conftest.file` 2400 fi 2401 if test "$*" != "X $srcdir/configure conftest.file" \ 2402 && test "$*" != "X conftest.file $srcdir/configure"; then 2403 2404 # If neither matched, then we have a broken ls. This can happen 2405 # if, for instance, CONFIG_SHELL is bash and it inherits a 2406 # broken ls alias from the environment. This has actually 2407 # happened. Such a system could not be considered "sane". 2408 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2409 alias in your environment" "$LINENO" 5 2410 fi 2411 if test "$2" = conftest.file || test $am_try -eq 2; then 2412 break 2413 fi 2414 # Just in case. 2415 sleep 1 2416 am_has_slept=yes 2417 done 2418 test "$2" = conftest.file 2419 ) 2420then 2421 # Ok. 2422 : 2423else 2424 as_fn_error $? "newly created file is older than distributed files! 2425Check your system clock" "$LINENO" 5 2426fi 2427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2428$as_echo "yes" >&6; } 2429# If we didn't sleep, we still need to ensure time stamps of config.status and 2430# generated files are strictly newer. 2431am_sleep_pid= 2432if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2433 ( sleep 1 ) & 2434 am_sleep_pid=$! 2435fi 2436 2437rm -f conftest.file 2438 2439test "$program_prefix" != NONE && 2440 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2441# Use a double $ so make ignores it. 2442test "$program_suffix" != NONE && 2443 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2444# Double any \ or $. 2445# By default was `s,x,x', remove it if useless. 2446ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2447program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2448 2449# expand $ac_aux_dir to an absolute path 2450am_aux_dir=`cd $ac_aux_dir && pwd` 2451 2452if test x"${MISSING+set}" != xset; then 2453 case $am_aux_dir in 2454 *\ * | *\ *) 2455 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2456 *) 2457 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2458 esac 2459fi 2460# Use eval to expand $SHELL 2461if eval "$MISSING --is-lightweight"; then 2462 am_missing_run="$MISSING " 2463else 2464 am_missing_run= 2465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2466$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2467fi 2468 2469if test x"${install_sh}" != xset; then 2470 case $am_aux_dir in 2471 *\ * | *\ *) 2472 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2473 *) 2474 install_sh="\${SHELL} $am_aux_dir/install-sh" 2475 esac 2476fi 2477 2478# Installed binaries are usually stripped using 'strip' when the user 2479# run "make install-strip". However 'strip' might not be the right 2480# tool to use in cross-compilation environments, therefore Automake 2481# will honor the 'STRIP' environment variable to overrule this program. 2482if test "$cross_compiling" != no; then 2483 if test -n "$ac_tool_prefix"; then 2484 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2485set dummy ${ac_tool_prefix}strip; ac_word=$2 2486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2487$as_echo_n "checking for $ac_word... " >&6; } 2488if ${ac_cv_prog_STRIP+:} false; then : 2489 $as_echo_n "(cached) " >&6 2490else 2491 if test -n "$STRIP"; then 2492 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2493else 2494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2495for as_dir in $PATH 2496do 2497 IFS=$as_save_IFS 2498 test -z "$as_dir" && as_dir=. 2499 for ac_exec_ext in '' $ac_executable_extensions; do 2500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2501 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2503 break 2 2504 fi 2505done 2506 done 2507IFS=$as_save_IFS 2508 2509fi 2510fi 2511STRIP=$ac_cv_prog_STRIP 2512if test -n "$STRIP"; then 2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2514$as_echo "$STRIP" >&6; } 2515else 2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2517$as_echo "no" >&6; } 2518fi 2519 2520 2521fi 2522if test -z "$ac_cv_prog_STRIP"; then 2523 ac_ct_STRIP=$STRIP 2524 # Extract the first word of "strip", so it can be a program name with args. 2525set dummy strip; ac_word=$2 2526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2527$as_echo_n "checking for $ac_word... " >&6; } 2528if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2529 $as_echo_n "(cached) " >&6 2530else 2531 if test -n "$ac_ct_STRIP"; then 2532 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2533else 2534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2535for as_dir in $PATH 2536do 2537 IFS=$as_save_IFS 2538 test -z "$as_dir" && as_dir=. 2539 for ac_exec_ext in '' $ac_executable_extensions; do 2540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2541 ac_cv_prog_ac_ct_STRIP="strip" 2542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2543 break 2 2544 fi 2545done 2546 done 2547IFS=$as_save_IFS 2548 2549fi 2550fi 2551ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2552if test -n "$ac_ct_STRIP"; then 2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2554$as_echo "$ac_ct_STRIP" >&6; } 2555else 2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2557$as_echo "no" >&6; } 2558fi 2559 2560 if test "x$ac_ct_STRIP" = x; then 2561 STRIP=":" 2562 else 2563 case $cross_compiling:$ac_tool_warned in 2564yes:) 2565{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2566$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2567ac_tool_warned=yes ;; 2568esac 2569 STRIP=$ac_ct_STRIP 2570 fi 2571else 2572 STRIP="$ac_cv_prog_STRIP" 2573fi 2574 2575fi 2576INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2577 2578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2579$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2580if test -z "$MKDIR_P"; then 2581 if ${ac_cv_path_mkdir+:} false; then : 2582 $as_echo_n "(cached) " >&6 2583else 2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2585for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2586do 2587 IFS=$as_save_IFS 2588 test -z "$as_dir" && as_dir=. 2589 for ac_prog in mkdir gmkdir; do 2590 for ac_exec_ext in '' $ac_executable_extensions; do 2591 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2592 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2593 'mkdir (GNU coreutils) '* | \ 2594 'mkdir (coreutils) '* | \ 2595 'mkdir (fileutils) '4.1*) 2596 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2597 break 3;; 2598 esac 2599 done 2600 done 2601 done 2602IFS=$as_save_IFS 2603 2604fi 2605 2606 test -d ./--version && rmdir ./--version 2607 if test "${ac_cv_path_mkdir+set}" = set; then 2608 MKDIR_P="$ac_cv_path_mkdir -p" 2609 else 2610 # As a last resort, use the slow shell script. Don't cache a 2611 # value for MKDIR_P within a source directory, because that will 2612 # break other packages using the cache if that directory is 2613 # removed, or if the value is a relative name. 2614 MKDIR_P="$ac_install_sh -d" 2615 fi 2616fi 2617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2618$as_echo "$MKDIR_P" >&6; } 2619 2620for ac_prog in gawk mawk nawk awk 2621do 2622 # Extract the first word of "$ac_prog", so it can be a program name with args. 2623set dummy $ac_prog; ac_word=$2 2624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2625$as_echo_n "checking for $ac_word... " >&6; } 2626if ${ac_cv_prog_AWK+:} false; then : 2627 $as_echo_n "(cached) " >&6 2628else 2629 if test -n "$AWK"; then 2630 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2631else 2632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2633for as_dir in $PATH 2634do 2635 IFS=$as_save_IFS 2636 test -z "$as_dir" && as_dir=. 2637 for ac_exec_ext in '' $ac_executable_extensions; do 2638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2639 ac_cv_prog_AWK="$ac_prog" 2640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2641 break 2 2642 fi 2643done 2644 done 2645IFS=$as_save_IFS 2646 2647fi 2648fi 2649AWK=$ac_cv_prog_AWK 2650if test -n "$AWK"; then 2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2652$as_echo "$AWK" >&6; } 2653else 2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2655$as_echo "no" >&6; } 2656fi 2657 2658 2659 test -n "$AWK" && break 2660done 2661 2662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2663$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2664set x ${MAKE-make} 2665ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2666if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2667 $as_echo_n "(cached) " >&6 2668else 2669 cat >conftest.make <<\_ACEOF 2670SHELL = /bin/sh 2671all: 2672 @echo '@@@%%%=$(MAKE)=@@@%%%' 2673_ACEOF 2674# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2675case `${MAKE-make} -f conftest.make 2>/dev/null` in 2676 *@@@%%%=?*=@@@%%%*) 2677 eval ac_cv_prog_make_${ac_make}_set=yes;; 2678 *) 2679 eval ac_cv_prog_make_${ac_make}_set=no;; 2680esac 2681rm -f conftest.make 2682fi 2683if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2685$as_echo "yes" >&6; } 2686 SET_MAKE= 2687else 2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2689$as_echo "no" >&6; } 2690 SET_MAKE="MAKE=${MAKE-make}" 2691fi 2692 2693rm -rf .tst 2>/dev/null 2694mkdir .tst 2>/dev/null 2695if test -d .tst; then 2696 am__leading_dot=. 2697else 2698 am__leading_dot=_ 2699fi 2700rmdir .tst 2>/dev/null 2701 2702# Check whether --enable-silent-rules was given. 2703if test "${enable_silent_rules+set}" = set; then : 2704 enableval=$enable_silent_rules; 2705fi 2706 2707case $enable_silent_rules in # ((( 2708 yes) AM_DEFAULT_VERBOSITY=0;; 2709 no) AM_DEFAULT_VERBOSITY=1;; 2710 *) AM_DEFAULT_VERBOSITY=1;; 2711esac 2712am_make=${MAKE-make} 2713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2714$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2715if ${am_cv_make_support_nested_variables+:} false; then : 2716 $as_echo_n "(cached) " >&6 2717else 2718 if $as_echo 'TRUE=$(BAR$(V)) 2719BAR0=false 2720BAR1=true 2721V=1 2722am__doit: 2723 @$(TRUE) 2724.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2725 am_cv_make_support_nested_variables=yes 2726else 2727 am_cv_make_support_nested_variables=no 2728fi 2729fi 2730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2731$as_echo "$am_cv_make_support_nested_variables" >&6; } 2732if test $am_cv_make_support_nested_variables = yes; then 2733 AM_V='$(V)' 2734 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2735else 2736 AM_V=$AM_DEFAULT_VERBOSITY 2737 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2738fi 2739AM_BACKSLASH='\' 2740 2741if test "`cd $srcdir && pwd`" != "`pwd`"; then 2742 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2743 # is not polluted with repeated "-I." 2744 am__isrc=' -I$(srcdir)' 2745 # test to see if srcdir already configured 2746 if test -f $srcdir/config.status; then 2747 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2748 fi 2749fi 2750 2751# test whether we have cygpath 2752if test -z "$CYGPATH_W"; then 2753 if (cygpath --version) >/dev/null 2>/dev/null; then 2754 CYGPATH_W='cygpath -w' 2755 else 2756 CYGPATH_W=echo 2757 fi 2758fi 2759 2760 2761# Define the identity of the package. 2762 PACKAGE='snappy' 2763 VERSION='1.0' 2764 2765 2766cat >>confdefs.h <<_ACEOF 2767#define PACKAGE "$PACKAGE" 2768_ACEOF 2769 2770 2771cat >>confdefs.h <<_ACEOF 2772#define VERSION "$VERSION" 2773_ACEOF 2774 2775# Some tools Automake needs. 2776 2777ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2778 2779 2780AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2781 2782 2783AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2784 2785 2786AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2787 2788 2789MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2790 2791# For better backward compatibility. To be removed once Automake 1.9.x 2792# dies out for good. For more background, see: 2793# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2794# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2795mkdir_p='$(MKDIR_P)' 2796 2797# We need awk for the "check" target. The system "awk" is bad on 2798# some platforms. 2799# Always define AMTAR for backward compatibility. Yes, it's still used 2800# in the wild :-( We should find a proper way to deprecate it ... 2801AMTAR='$${TAR-tar}' 2802 2803 2804# We'll loop over all known methods to create a tar archive until one works. 2805_am_tools='gnutar plaintar pax cpio none' 2806 2807# The POSIX 1988 'ustar' format is defined with fixed-size fields. 2808 # There is notably a 21 bits limit for the UID and the GID. In fact, 2809 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 2810 # and bug#13588). 2811 am_max_uid=2097151 # 2^21 - 1 2812 am_max_gid=$am_max_uid 2813 # The $UID and $GID variables are not portable, so we need to resort 2814 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 2815 # below are definitely unexpected, so allow the users to see them 2816 # (that is, avoid stderr redirection). 2817 am_uid=`id -u || echo unknown` 2818 am_gid=`id -g || echo unknown` 2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 2820$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 2821 if test $am_uid -le $am_max_uid; then 2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2823$as_echo "yes" >&6; } 2824 else 2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2826$as_echo "no" >&6; } 2827 _am_tools=none 2828 fi 2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 2830$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 2831 if test $am_gid -le $am_max_gid; then 2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2833$as_echo "yes" >&6; } 2834 else 2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2836$as_echo "no" >&6; } 2837 _am_tools=none 2838 fi 2839 2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 2841$as_echo_n "checking how to create a ustar tar archive... " >&6; } 2842 2843 # Go ahead even if we have the value already cached. We do so because we 2844 # need to set the values for the 'am__tar' and 'am__untar' variables. 2845 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 2846 2847 for _am_tool in $_am_tools; do 2848 case $_am_tool in 2849 gnutar) 2850 for _am_tar in tar gnutar gtar; do 2851 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2852 ($_am_tar --version) >&5 2>&5 2853 ac_status=$? 2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2855 (exit $ac_status); } && break 2856 done 2857 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 2858 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 2859 am__untar="$_am_tar -xf -" 2860 ;; 2861 plaintar) 2862 # Must skip GNU tar: if it does not support --format= it doesn't create 2863 # ustar tarball either. 2864 (tar --version) >/dev/null 2>&1 && continue 2865 am__tar='tar chf - "$$tardir"' 2866 am__tar_='tar chf - "$tardir"' 2867 am__untar='tar xf -' 2868 ;; 2869 pax) 2870 am__tar='pax -L -x ustar -w "$$tardir"' 2871 am__tar_='pax -L -x ustar -w "$tardir"' 2872 am__untar='pax -r' 2873 ;; 2874 cpio) 2875 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 2876 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 2877 am__untar='cpio -i -H ustar -d' 2878 ;; 2879 none) 2880 am__tar=false 2881 am__tar_=false 2882 am__untar=false 2883 ;; 2884 esac 2885 2886 # If the value was cached, stop now. We just wanted to have am__tar 2887 # and am__untar set. 2888 test -n "${am_cv_prog_tar_ustar}" && break 2889 2890 # tar/untar a dummy directory, and stop if the command works. 2891 rm -rf conftest.dir 2892 mkdir conftest.dir 2893 echo GrepMe > conftest.dir/file 2894 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2895 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2896 ac_status=$? 2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2898 (exit $ac_status); } 2899 rm -rf conftest.dir 2900 if test -s conftest.tar; then 2901 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2902 ($am__untar <conftest.tar) >&5 2>&5 2903 ac_status=$? 2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2905 (exit $ac_status); } 2906 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 2907 (cat conftest.dir/file) >&5 2>&5 2908 ac_status=$? 2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2910 (exit $ac_status); } 2911 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2912 fi 2913 done 2914 rm -rf conftest.dir 2915 2916 if ${am_cv_prog_tar_ustar+:} false; then : 2917 $as_echo_n "(cached) " >&6 2918else 2919 am_cv_prog_tar_ustar=$_am_tool 2920fi 2921 2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 2923$as_echo "$am_cv_prog_tar_ustar" >&6; } 2924 2925 2926 2927 2928 2929 2930 2931# Check whether --enable-silent-rules was given. 2932if test "${enable_silent_rules+set}" = set; then : 2933 enableval=$enable_silent_rules; 2934fi 2935 2936case $enable_silent_rules in # ((( 2937 yes) AM_DEFAULT_VERBOSITY=0;; 2938 no) AM_DEFAULT_VERBOSITY=1;; 2939 *) AM_DEFAULT_VERBOSITY=0;; 2940esac 2941am_make=${MAKE-make} 2942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2943$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2944if ${am_cv_make_support_nested_variables+:} false; then : 2945 $as_echo_n "(cached) " >&6 2946else 2947 if $as_echo 'TRUE=$(BAR$(V)) 2948BAR0=false 2949BAR1=true 2950V=1 2951am__doit: 2952 @$(TRUE) 2953.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2954 am_cv_make_support_nested_variables=yes 2955else 2956 am_cv_make_support_nested_variables=no 2957fi 2958fi 2959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2960$as_echo "$am_cv_make_support_nested_variables" >&6; } 2961if test $am_cv_make_support_nested_variables = yes; then 2962 AM_V='$(V)' 2963 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2964else 2965 AM_V=$AM_DEFAULT_VERBOSITY 2966 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2967fi 2968AM_BACKSLASH='\' 2969 2970 2971 2972ac_ext=c 2973ac_cpp='$CPP $CPPFLAGS' 2974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2976ac_compiler_gnu=$ac_cv_c_compiler_gnu 2977if test -n "$ac_tool_prefix"; then 2978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2979set dummy ${ac_tool_prefix}gcc; ac_word=$2 2980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2981$as_echo_n "checking for $ac_word... " >&6; } 2982if ${ac_cv_prog_CC+:} false; then : 2983 $as_echo_n "(cached) " >&6 2984else 2985 if test -n "$CC"; then 2986 ac_cv_prog_CC="$CC" # Let the user override the test. 2987else 2988as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2989for as_dir in $PATH 2990do 2991 IFS=$as_save_IFS 2992 test -z "$as_dir" && as_dir=. 2993 for ac_exec_ext in '' $ac_executable_extensions; do 2994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2995 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2997 break 2 2998 fi 2999done 3000 done 3001IFS=$as_save_IFS 3002 3003fi 3004fi 3005CC=$ac_cv_prog_CC 3006if test -n "$CC"; then 3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3008$as_echo "$CC" >&6; } 3009else 3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3011$as_echo "no" >&6; } 3012fi 3013 3014 3015fi 3016if test -z "$ac_cv_prog_CC"; then 3017 ac_ct_CC=$CC 3018 # Extract the first word of "gcc", so it can be a program name with args. 3019set dummy gcc; ac_word=$2 3020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3021$as_echo_n "checking for $ac_word... " >&6; } 3022if ${ac_cv_prog_ac_ct_CC+:} false; then : 3023 $as_echo_n "(cached) " >&6 3024else 3025 if test -n "$ac_ct_CC"; then 3026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3027else 3028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3029for as_dir in $PATH 3030do 3031 IFS=$as_save_IFS 3032 test -z "$as_dir" && as_dir=. 3033 for ac_exec_ext in '' $ac_executable_extensions; do 3034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3035 ac_cv_prog_ac_ct_CC="gcc" 3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3037 break 2 3038 fi 3039done 3040 done 3041IFS=$as_save_IFS 3042 3043fi 3044fi 3045ac_ct_CC=$ac_cv_prog_ac_ct_CC 3046if test -n "$ac_ct_CC"; then 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3048$as_echo "$ac_ct_CC" >&6; } 3049else 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3051$as_echo "no" >&6; } 3052fi 3053 3054 if test "x$ac_ct_CC" = x; then 3055 CC="" 3056 else 3057 case $cross_compiling:$ac_tool_warned in 3058yes:) 3059{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3060$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3061ac_tool_warned=yes ;; 3062esac 3063 CC=$ac_ct_CC 3064 fi 3065else 3066 CC="$ac_cv_prog_CC" 3067fi 3068 3069if test -z "$CC"; then 3070 if test -n "$ac_tool_prefix"; then 3071 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3072set dummy ${ac_tool_prefix}cc; ac_word=$2 3073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3074$as_echo_n "checking for $ac_word... " >&6; } 3075if ${ac_cv_prog_CC+:} false; then : 3076 $as_echo_n "(cached) " >&6 3077else 3078 if test -n "$CC"; then 3079 ac_cv_prog_CC="$CC" # Let the user override the test. 3080else 3081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3082for as_dir in $PATH 3083do 3084 IFS=$as_save_IFS 3085 test -z "$as_dir" && as_dir=. 3086 for ac_exec_ext in '' $ac_executable_extensions; do 3087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3088 ac_cv_prog_CC="${ac_tool_prefix}cc" 3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3090 break 2 3091 fi 3092done 3093 done 3094IFS=$as_save_IFS 3095 3096fi 3097fi 3098CC=$ac_cv_prog_CC 3099if test -n "$CC"; then 3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3101$as_echo "$CC" >&6; } 3102else 3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3104$as_echo "no" >&6; } 3105fi 3106 3107 3108 fi 3109fi 3110if test -z "$CC"; then 3111 # Extract the first word of "cc", so it can be a program name with args. 3112set dummy cc; ac_word=$2 3113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3114$as_echo_n "checking for $ac_word... " >&6; } 3115if ${ac_cv_prog_CC+:} false; then : 3116 $as_echo_n "(cached) " >&6 3117else 3118 if test -n "$CC"; then 3119 ac_cv_prog_CC="$CC" # Let the user override the test. 3120else 3121 ac_prog_rejected=no 3122as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3123for as_dir in $PATH 3124do 3125 IFS=$as_save_IFS 3126 test -z "$as_dir" && as_dir=. 3127 for ac_exec_ext in '' $ac_executable_extensions; do 3128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3129 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3130 ac_prog_rejected=yes 3131 continue 3132 fi 3133 ac_cv_prog_CC="cc" 3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3135 break 2 3136 fi 3137done 3138 done 3139IFS=$as_save_IFS 3140 3141if test $ac_prog_rejected = yes; then 3142 # We found a bogon in the path, so make sure we never use it. 3143 set dummy $ac_cv_prog_CC 3144 shift 3145 if test $# != 0; then 3146 # We chose a different compiler from the bogus one. 3147 # However, it has the same basename, so the bogon will be chosen 3148 # first if we set CC to just the basename; use the full file name. 3149 shift 3150 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3151 fi 3152fi 3153fi 3154fi 3155CC=$ac_cv_prog_CC 3156if test -n "$CC"; then 3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3158$as_echo "$CC" >&6; } 3159else 3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3161$as_echo "no" >&6; } 3162fi 3163 3164 3165fi 3166if test -z "$CC"; then 3167 if test -n "$ac_tool_prefix"; then 3168 for ac_prog in cl.exe 3169 do 3170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3171set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3173$as_echo_n "checking for $ac_word... " >&6; } 3174if ${ac_cv_prog_CC+:} false; then : 3175 $as_echo_n "(cached) " >&6 3176else 3177 if test -n "$CC"; then 3178 ac_cv_prog_CC="$CC" # Let the user override the test. 3179else 3180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3181for as_dir in $PATH 3182do 3183 IFS=$as_save_IFS 3184 test -z "$as_dir" && as_dir=. 3185 for ac_exec_ext in '' $ac_executable_extensions; do 3186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3187 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3189 break 2 3190 fi 3191done 3192 done 3193IFS=$as_save_IFS 3194 3195fi 3196fi 3197CC=$ac_cv_prog_CC 3198if test -n "$CC"; then 3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3200$as_echo "$CC" >&6; } 3201else 3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3203$as_echo "no" >&6; } 3204fi 3205 3206 3207 test -n "$CC" && break 3208 done 3209fi 3210if test -z "$CC"; then 3211 ac_ct_CC=$CC 3212 for ac_prog in cl.exe 3213do 3214 # Extract the first word of "$ac_prog", so it can be a program name with args. 3215set dummy $ac_prog; ac_word=$2 3216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3217$as_echo_n "checking for $ac_word... " >&6; } 3218if ${ac_cv_prog_ac_ct_CC+:} false; then : 3219 $as_echo_n "(cached) " >&6 3220else 3221 if test -n "$ac_ct_CC"; then 3222 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3223else 3224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3225for as_dir in $PATH 3226do 3227 IFS=$as_save_IFS 3228 test -z "$as_dir" && as_dir=. 3229 for ac_exec_ext in '' $ac_executable_extensions; do 3230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3231 ac_cv_prog_ac_ct_CC="$ac_prog" 3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3233 break 2 3234 fi 3235done 3236 done 3237IFS=$as_save_IFS 3238 3239fi 3240fi 3241ac_ct_CC=$ac_cv_prog_ac_ct_CC 3242if test -n "$ac_ct_CC"; then 3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3244$as_echo "$ac_ct_CC" >&6; } 3245else 3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3247$as_echo "no" >&6; } 3248fi 3249 3250 3251 test -n "$ac_ct_CC" && break 3252done 3253 3254 if test "x$ac_ct_CC" = x; then 3255 CC="" 3256 else 3257 case $cross_compiling:$ac_tool_warned in 3258yes:) 3259{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3260$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3261ac_tool_warned=yes ;; 3262esac 3263 CC=$ac_ct_CC 3264 fi 3265fi 3266 3267fi 3268 3269 3270test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3272as_fn_error $? "no acceptable C compiler found in \$PATH 3273See \`config.log' for more details" "$LINENO" 5; } 3274 3275# Provide some information about the compiler. 3276$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3277set X $ac_compile 3278ac_compiler=$2 3279for ac_option in --version -v -V -qversion; do 3280 { { ac_try="$ac_compiler $ac_option >&5" 3281case "(($ac_try" in 3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3283 *) ac_try_echo=$ac_try;; 3284esac 3285eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3286$as_echo "$ac_try_echo"; } >&5 3287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3288 ac_status=$? 3289 if test -s conftest.err; then 3290 sed '10a\ 3291... rest of stderr output deleted ... 3292 10q' conftest.err >conftest.er1 3293 cat conftest.er1 >&5 3294 fi 3295 rm -f conftest.er1 conftest.err 3296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3297 test $ac_status = 0; } 3298done 3299 3300cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3301/* end confdefs.h. */ 3302 3303int 3304main () 3305{ 3306 3307 ; 3308 return 0; 3309} 3310_ACEOF 3311ac_clean_files_save=$ac_clean_files 3312ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3313# Try to create an executable without -o first, disregard a.out. 3314# It will help us diagnose broken compilers, and finding out an intuition 3315# of exeext. 3316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3317$as_echo_n "checking whether the C compiler works... " >&6; } 3318ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3319 3320# The possible output files: 3321ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3322 3323ac_rmfiles= 3324for ac_file in $ac_files 3325do 3326 case $ac_file in 3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3328 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3329 esac 3330done 3331rm -f $ac_rmfiles 3332 3333if { { ac_try="$ac_link_default" 3334case "(($ac_try" in 3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3336 *) ac_try_echo=$ac_try;; 3337esac 3338eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3339$as_echo "$ac_try_echo"; } >&5 3340 (eval "$ac_link_default") 2>&5 3341 ac_status=$? 3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3343 test $ac_status = 0; }; then : 3344 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3345# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3346# in a Makefile. We should not override ac_cv_exeext if it was cached, 3347# so that the user can short-circuit this test for compilers unknown to 3348# Autoconf. 3349for ac_file in $ac_files '' 3350do 3351 test -f "$ac_file" || continue 3352 case $ac_file in 3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3354 ;; 3355 [ab].out ) 3356 # We found the default executable, but exeext='' is most 3357 # certainly right. 3358 break;; 3359 *.* ) 3360 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3361 then :; else 3362 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3363 fi 3364 # We set ac_cv_exeext here because the later test for it is not 3365 # safe: cross compilers may not add the suffix if given an `-o' 3366 # argument, so we may need to know it at that point already. 3367 # Even if this section looks crufty: it has the advantage of 3368 # actually working. 3369 break;; 3370 * ) 3371 break;; 3372 esac 3373done 3374test "$ac_cv_exeext" = no && ac_cv_exeext= 3375 3376else 3377 ac_file='' 3378fi 3379if test -z "$ac_file"; then : 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3381$as_echo "no" >&6; } 3382$as_echo "$as_me: failed program was:" >&5 3383sed 's/^/| /' conftest.$ac_ext >&5 3384 3385{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3386$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3387as_fn_error 77 "C compiler cannot create executables 3388See \`config.log' for more details" "$LINENO" 5; } 3389else 3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3391$as_echo "yes" >&6; } 3392fi 3393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3394$as_echo_n "checking for C compiler default output file name... " >&6; } 3395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3396$as_echo "$ac_file" >&6; } 3397ac_exeext=$ac_cv_exeext 3398 3399rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3400ac_clean_files=$ac_clean_files_save 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3402$as_echo_n "checking for suffix of executables... " >&6; } 3403if { { ac_try="$ac_link" 3404case "(($ac_try" in 3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3406 *) ac_try_echo=$ac_try;; 3407esac 3408eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3409$as_echo "$ac_try_echo"; } >&5 3410 (eval "$ac_link") 2>&5 3411 ac_status=$? 3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3413 test $ac_status = 0; }; then : 3414 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3415# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3416# work properly (i.e., refer to `conftest.exe'), while it won't with 3417# `rm'. 3418for ac_file in conftest.exe conftest conftest.*; do 3419 test -f "$ac_file" || continue 3420 case $ac_file in 3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3422 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3423 break;; 3424 * ) break;; 3425 esac 3426done 3427else 3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3429$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3430as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3431See \`config.log' for more details" "$LINENO" 5; } 3432fi 3433rm -f conftest conftest$ac_cv_exeext 3434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3435$as_echo "$ac_cv_exeext" >&6; } 3436 3437rm -f conftest.$ac_ext 3438EXEEXT=$ac_cv_exeext 3439ac_exeext=$EXEEXT 3440cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3441/* end confdefs.h. */ 3442#include <stdio.h> 3443int 3444main () 3445{ 3446FILE *f = fopen ("conftest.out", "w"); 3447 return ferror (f) || fclose (f) != 0; 3448 3449 ; 3450 return 0; 3451} 3452_ACEOF 3453ac_clean_files="$ac_clean_files conftest.out" 3454# Check that the compiler produces executables we can run. If not, either 3455# the compiler is broken, or we cross compile. 3456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3457$as_echo_n "checking whether we are cross compiling... " >&6; } 3458if test "$cross_compiling" != yes; then 3459 { { ac_try="$ac_link" 3460case "(($ac_try" in 3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3462 *) ac_try_echo=$ac_try;; 3463esac 3464eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3465$as_echo "$ac_try_echo"; } >&5 3466 (eval "$ac_link") 2>&5 3467 ac_status=$? 3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3469 test $ac_status = 0; } 3470 if { ac_try='./conftest$ac_cv_exeext' 3471 { { case "(($ac_try" in 3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3473 *) ac_try_echo=$ac_try;; 3474esac 3475eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3476$as_echo "$ac_try_echo"; } >&5 3477 (eval "$ac_try") 2>&5 3478 ac_status=$? 3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3480 test $ac_status = 0; }; }; then 3481 cross_compiling=no 3482 else 3483 if test "$cross_compiling" = maybe; then 3484 cross_compiling=yes 3485 else 3486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3487$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3488as_fn_error $? "cannot run C compiled programs. 3489If you meant to cross compile, use \`--host'. 3490See \`config.log' for more details" "$LINENO" 5; } 3491 fi 3492 fi 3493fi 3494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3495$as_echo "$cross_compiling" >&6; } 3496 3497rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3498ac_clean_files=$ac_clean_files_save 3499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3500$as_echo_n "checking for suffix of object files... " >&6; } 3501if ${ac_cv_objext+:} false; then : 3502 $as_echo_n "(cached) " >&6 3503else 3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3505/* end confdefs.h. */ 3506 3507int 3508main () 3509{ 3510 3511 ; 3512 return 0; 3513} 3514_ACEOF 3515rm -f conftest.o conftest.obj 3516if { { ac_try="$ac_compile" 3517case "(($ac_try" in 3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3519 *) ac_try_echo=$ac_try;; 3520esac 3521eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3522$as_echo "$ac_try_echo"; } >&5 3523 (eval "$ac_compile") 2>&5 3524 ac_status=$? 3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3526 test $ac_status = 0; }; then : 3527 for ac_file in conftest.o conftest.obj conftest.*; do 3528 test -f "$ac_file" || continue; 3529 case $ac_file in 3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3531 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3532 break;; 3533 esac 3534done 3535else 3536 $as_echo "$as_me: failed program was:" >&5 3537sed 's/^/| /' conftest.$ac_ext >&5 3538 3539{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3540$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3541as_fn_error $? "cannot compute suffix of object files: cannot compile 3542See \`config.log' for more details" "$LINENO" 5; } 3543fi 3544rm -f conftest.$ac_cv_objext conftest.$ac_ext 3545fi 3546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3547$as_echo "$ac_cv_objext" >&6; } 3548OBJEXT=$ac_cv_objext 3549ac_objext=$OBJEXT 3550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3551$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3552if ${ac_cv_c_compiler_gnu+:} false; then : 3553 $as_echo_n "(cached) " >&6 3554else 3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3556/* end confdefs.h. */ 3557 3558int 3559main () 3560{ 3561#ifndef __GNUC__ 3562 choke me 3563#endif 3564 3565 ; 3566 return 0; 3567} 3568_ACEOF 3569if ac_fn_c_try_compile "$LINENO"; then : 3570 ac_compiler_gnu=yes 3571else 3572 ac_compiler_gnu=no 3573fi 3574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3575ac_cv_c_compiler_gnu=$ac_compiler_gnu 3576 3577fi 3578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3579$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3580if test $ac_compiler_gnu = yes; then 3581 GCC=yes 3582else 3583 GCC= 3584fi 3585ac_test_CFLAGS=${CFLAGS+set} 3586ac_save_CFLAGS=$CFLAGS 3587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3588$as_echo_n "checking whether $CC accepts -g... " >&6; } 3589if ${ac_cv_prog_cc_g+:} false; then : 3590 $as_echo_n "(cached) " >&6 3591else 3592 ac_save_c_werror_flag=$ac_c_werror_flag 3593 ac_c_werror_flag=yes 3594 ac_cv_prog_cc_g=no 3595 CFLAGS="-g" 3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3597/* end confdefs.h. */ 3598 3599int 3600main () 3601{ 3602 3603 ; 3604 return 0; 3605} 3606_ACEOF 3607if ac_fn_c_try_compile "$LINENO"; then : 3608 ac_cv_prog_cc_g=yes 3609else 3610 CFLAGS="" 3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3612/* end confdefs.h. */ 3613 3614int 3615main () 3616{ 3617 3618 ; 3619 return 0; 3620} 3621_ACEOF 3622if ac_fn_c_try_compile "$LINENO"; then : 3623 3624else 3625 ac_c_werror_flag=$ac_save_c_werror_flag 3626 CFLAGS="-g" 3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3628/* end confdefs.h. */ 3629 3630int 3631main () 3632{ 3633 3634 ; 3635 return 0; 3636} 3637_ACEOF 3638if ac_fn_c_try_compile "$LINENO"; then : 3639 ac_cv_prog_cc_g=yes 3640fi 3641rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3642fi 3643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3644fi 3645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3646 ac_c_werror_flag=$ac_save_c_werror_flag 3647fi 3648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3649$as_echo "$ac_cv_prog_cc_g" >&6; } 3650if test "$ac_test_CFLAGS" = set; then 3651 CFLAGS=$ac_save_CFLAGS 3652elif test $ac_cv_prog_cc_g = yes; then 3653 if test "$GCC" = yes; then 3654 CFLAGS="-g -O2" 3655 else 3656 CFLAGS="-g" 3657 fi 3658else 3659 if test "$GCC" = yes; then 3660 CFLAGS="-O2" 3661 else 3662 CFLAGS= 3663 fi 3664fi 3665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3666$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3667if ${ac_cv_prog_cc_c89+:} false; then : 3668 $as_echo_n "(cached) " >&6 3669else 3670 ac_cv_prog_cc_c89=no 3671ac_save_CC=$CC 3672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3673/* end confdefs.h. */ 3674#include <stdarg.h> 3675#include <stdio.h> 3676struct stat; 3677/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3678struct buf { int x; }; 3679FILE * (*rcsopen) (struct buf *, struct stat *, int); 3680static char *e (p, i) 3681 char **p; 3682 int i; 3683{ 3684 return p[i]; 3685} 3686static char *f (char * (*g) (char **, int), char **p, ...) 3687{ 3688 char *s; 3689 va_list v; 3690 va_start (v,p); 3691 s = g (p, va_arg (v,int)); 3692 va_end (v); 3693 return s; 3694} 3695 3696/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3697 function prototypes and stuff, but not '\xHH' hex character constants. 3698 These don't provoke an error unfortunately, instead are silently treated 3699 as 'x'. The following induces an error, until -std is added to get 3700 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3701 array size at least. It's necessary to write '\x00'==0 to get something 3702 that's true only with -std. */ 3703int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3704 3705/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3706 inside strings and character constants. */ 3707#define FOO(x) 'x' 3708int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3709 3710int test (int i, double x); 3711struct s1 {int (*f) (int a);}; 3712struct s2 {int (*f) (double a);}; 3713int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3714int argc; 3715char **argv; 3716int 3717main () 3718{ 3719return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3720 ; 3721 return 0; 3722} 3723_ACEOF 3724for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3725 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3726do 3727 CC="$ac_save_CC $ac_arg" 3728 if ac_fn_c_try_compile "$LINENO"; then : 3729 ac_cv_prog_cc_c89=$ac_arg 3730fi 3731rm -f core conftest.err conftest.$ac_objext 3732 test "x$ac_cv_prog_cc_c89" != "xno" && break 3733done 3734rm -f conftest.$ac_ext 3735CC=$ac_save_CC 3736 3737fi 3738# AC_CACHE_VAL 3739case "x$ac_cv_prog_cc_c89" in 3740 x) 3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3742$as_echo "none needed" >&6; } ;; 3743 xno) 3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3745$as_echo "unsupported" >&6; } ;; 3746 *) 3747 CC="$CC $ac_cv_prog_cc_c89" 3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3749$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3750esac 3751if test "x$ac_cv_prog_cc_c89" != xno; then : 3752 3753fi 3754 3755ac_ext=c 3756ac_cpp='$CPP $CPPFLAGS' 3757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3759ac_compiler_gnu=$ac_cv_c_compiler_gnu 3760DEPDIR="${am__leading_dot}deps" 3761 3762ac_config_commands="$ac_config_commands depfiles" 3763 3764 3765am_make=${MAKE-make} 3766cat > confinc << 'END' 3767am__doit: 3768 @echo this is the am__doit target 3769.PHONY: am__doit 3770END 3771# If we don't find an include directive, just comment out the code. 3772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3773$as_echo_n "checking for style of include used by $am_make... " >&6; } 3774am__include="#" 3775am__quote= 3776_am_result=none 3777# First try GNU make style include. 3778echo "include confinc" > confmf 3779# Ignore all kinds of additional output from 'make'. 3780case `$am_make -s -f confmf 2> /dev/null` in #( 3781*the\ am__doit\ target*) 3782 am__include=include 3783 am__quote= 3784 _am_result=GNU 3785 ;; 3786esac 3787# Now try BSD make style include. 3788if test "$am__include" = "#"; then 3789 echo '.include "confinc"' > confmf 3790 case `$am_make -s -f confmf 2> /dev/null` in #( 3791 *the\ am__doit\ target*) 3792 am__include=.include 3793 am__quote="\"" 3794 _am_result=BSD 3795 ;; 3796 esac 3797fi 3798 3799 3800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3801$as_echo "$_am_result" >&6; } 3802rm -f confinc confmf 3803 3804# Check whether --enable-dependency-tracking was given. 3805if test "${enable_dependency_tracking+set}" = set; then : 3806 enableval=$enable_dependency_tracking; 3807fi 3808 3809if test "x$enable_dependency_tracking" != xno; then 3810 am_depcomp="$ac_aux_dir/depcomp" 3811 AMDEPBACKSLASH='\' 3812 am__nodep='_no' 3813fi 3814 if test "x$enable_dependency_tracking" != xno; then 3815 AMDEP_TRUE= 3816 AMDEP_FALSE='#' 3817else 3818 AMDEP_TRUE='#' 3819 AMDEP_FALSE= 3820fi 3821 3822 3823 3824depcc="$CC" am_compiler_list= 3825 3826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3827$as_echo_n "checking dependency style of $depcc... " >&6; } 3828if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3829 $as_echo_n "(cached) " >&6 3830else 3831 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3832 # We make a subdir and do the tests there. Otherwise we can end up 3833 # making bogus files that we don't know about and never remove. For 3834 # instance it was reported that on HP-UX the gcc test will end up 3835 # making a dummy file named 'D' -- because '-MD' means "put the output 3836 # in D". 3837 rm -rf conftest.dir 3838 mkdir conftest.dir 3839 # Copy depcomp to subdir because otherwise we won't find it if we're 3840 # using a relative directory. 3841 cp "$am_depcomp" conftest.dir 3842 cd conftest.dir 3843 # We will build objects and dependencies in a subdirectory because 3844 # it helps to detect inapplicable dependency modes. For instance 3845 # both Tru64's cc and ICC support -MD to output dependencies as a 3846 # side effect of compilation, but ICC will put the dependencies in 3847 # the current directory while Tru64 will put them in the object 3848 # directory. 3849 mkdir sub 3850 3851 am_cv_CC_dependencies_compiler_type=none 3852 if test "$am_compiler_list" = ""; then 3853 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3854 fi 3855 am__universal=false 3856 case " $depcc " in #( 3857 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3858 esac 3859 3860 for depmode in $am_compiler_list; do 3861 # Setup a source with many dependencies, because some compilers 3862 # like to wrap large dependency lists on column 80 (with \), and 3863 # we should not choose a depcomp mode which is confused by this. 3864 # 3865 # We need to recreate these files for each test, as the compiler may 3866 # overwrite some of them when testing with obscure command lines. 3867 # This happens at least with the AIX C compiler. 3868 : > sub/conftest.c 3869 for i in 1 2 3 4 5 6; do 3870 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3871 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3872 # Solaris 10 /bin/sh. 3873 echo '/* dummy */' > sub/conftst$i.h 3874 done 3875 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3876 3877 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3878 # mode. It turns out that the SunPro C++ compiler does not properly 3879 # handle '-M -o', and we need to detect this. Also, some Intel 3880 # versions had trouble with output in subdirs. 3881 am__obj=sub/conftest.${OBJEXT-o} 3882 am__minus_obj="-o $am__obj" 3883 case $depmode in 3884 gcc) 3885 # This depmode causes a compiler race in universal mode. 3886 test "$am__universal" = false || continue 3887 ;; 3888 nosideeffect) 3889 # After this tag, mechanisms are not by side-effect, so they'll 3890 # only be used when explicitly requested. 3891 if test "x$enable_dependency_tracking" = xyes; then 3892 continue 3893 else 3894 break 3895 fi 3896 ;; 3897 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3898 # This compiler won't grok '-c -o', but also, the minuso test has 3899 # not run yet. These depmodes are late enough in the game, and 3900 # so weak that their functioning should not be impacted. 3901 am__obj=conftest.${OBJEXT-o} 3902 am__minus_obj= 3903 ;; 3904 none) break ;; 3905 esac 3906 if depmode=$depmode \ 3907 source=sub/conftest.c object=$am__obj \ 3908 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3909 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3910 >/dev/null 2>conftest.err && 3911 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3912 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3913 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3914 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3915 # icc doesn't choke on unknown options, it will just issue warnings 3916 # or remarks (even with -Werror). So we grep stderr for any message 3917 # that says an option was ignored or not supported. 3918 # When given -MP, icc 7.0 and 7.1 complain thusly: 3919 # icc: Command line warning: ignoring option '-M'; no argument required 3920 # The diagnosis changed in icc 8.0: 3921 # icc: Command line remark: option '-MP' not supported 3922 if (grep 'ignoring option' conftest.err || 3923 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3924 am_cv_CC_dependencies_compiler_type=$depmode 3925 break 3926 fi 3927 fi 3928 done 3929 3930 cd .. 3931 rm -rf conftest.dir 3932else 3933 am_cv_CC_dependencies_compiler_type=none 3934fi 3935 3936fi 3937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3938$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3939CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3940 3941 if 3942 test "x$enable_dependency_tracking" != xno \ 3943 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3944 am__fastdepCC_TRUE= 3945 am__fastdepCC_FALSE='#' 3946else 3947 am__fastdepCC_TRUE='#' 3948 am__fastdepCC_FALSE= 3949fi 3950 3951 3952if test "x$CC" != xcc; then 3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 3954$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 3955else 3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 3957$as_echo_n "checking whether cc understands -c and -o together... " >&6; } 3958fi 3959set dummy $CC; ac_cc=`$as_echo "$2" | 3960 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 3961if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : 3962 $as_echo_n "(cached) " >&6 3963else 3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3965/* end confdefs.h. */ 3966 3967int 3968main () 3969{ 3970 3971 ; 3972 return 0; 3973} 3974_ACEOF 3975# Make sure it works both with $CC and with simple cc. 3976# We do the test twice because some compilers refuse to overwrite an 3977# existing .o file with -o, though they will create one. 3978ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 3979rm -f conftest2.* 3980if { { case "(($ac_try" in 3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3982 *) ac_try_echo=$ac_try;; 3983esac 3984eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3985$as_echo "$ac_try_echo"; } >&5 3986 (eval "$ac_try") 2>&5 3987 ac_status=$? 3988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3989 test $ac_status = 0; } && 3990 test -f conftest2.$ac_objext && { { case "(($ac_try" in 3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3992 *) ac_try_echo=$ac_try;; 3993esac 3994eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3995$as_echo "$ac_try_echo"; } >&5 3996 (eval "$ac_try") 2>&5 3997 ac_status=$? 3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3999 test $ac_status = 0; }; 4000then 4001 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 4002 if test "x$CC" != xcc; then 4003 # Test first that cc exists at all. 4004 if { ac_try='cc -c conftest.$ac_ext >&5' 4005 { { case "(($ac_try" in 4006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4007 *) ac_try_echo=$ac_try;; 4008esac 4009eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4010$as_echo "$ac_try_echo"; } >&5 4011 (eval "$ac_try") 2>&5 4012 ac_status=$? 4013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4014 test $ac_status = 0; }; }; then 4015 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4016 rm -f conftest2.* 4017 if { { case "(($ac_try" in 4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4019 *) ac_try_echo=$ac_try;; 4020esac 4021eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4022$as_echo "$ac_try_echo"; } >&5 4023 (eval "$ac_try") 2>&5 4024 ac_status=$? 4025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4026 test $ac_status = 0; } && 4027 test -f conftest2.$ac_objext && { { case "(($ac_try" in 4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4029 *) ac_try_echo=$ac_try;; 4030esac 4031eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4032$as_echo "$ac_try_echo"; } >&5 4033 (eval "$ac_try") 2>&5 4034 ac_status=$? 4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4036 test $ac_status = 0; }; 4037 then 4038 # cc works too. 4039 : 4040 else 4041 # cc exists but doesn't like -o. 4042 eval ac_cv_prog_cc_${ac_cc}_c_o=no 4043 fi 4044 fi 4045 fi 4046else 4047 eval ac_cv_prog_cc_${ac_cc}_c_o=no 4048fi 4049rm -f core conftest* 4050 4051fi 4052if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4054$as_echo "yes" >&6; } 4055else 4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4057$as_echo "no" >&6; } 4058 4059$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 4060 4061fi 4062 4063# FIXME: we rely on the cache variable name because 4064# there is no other way. 4065set dummy $CC 4066am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4067eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 4068if test "$am_t" != yes; then 4069 # Losing compiler, so override with the script. 4070 # FIXME: It is wrong to rewrite CC. 4071 # But if we don't then we get into trouble of one sort or another. 4072 # A longer-term fix would be to have automake use am__CC in this case, 4073 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4074 CC="$am_aux_dir/compile $CC" 4075fi 4076 4077 4078 4079ac_ext=c 4080ac_cpp='$CPP $CPPFLAGS' 4081ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4082ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4083ac_compiler_gnu=$ac_cv_c_compiler_gnu 4084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4085$as_echo_n "checking how to run the C preprocessor... " >&6; } 4086# On Suns, sometimes $CPP names a directory. 4087if test -n "$CPP" && test -d "$CPP"; then 4088 CPP= 4089fi 4090if test -z "$CPP"; then 4091 if ${ac_cv_prog_CPP+:} false; then : 4092 $as_echo_n "(cached) " >&6 4093else 4094 # Double quotes because CPP needs to be expanded 4095 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4096 do 4097 ac_preproc_ok=false 4098for ac_c_preproc_warn_flag in '' yes 4099do 4100 # Use a header file that comes with gcc, so configuring glibc 4101 # with a fresh cross-compiler works. 4102 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4103 # <limits.h> exists even on freestanding compilers. 4104 # On the NeXT, cc -E runs the code through the compiler's parser, 4105 # not just through cpp. "Syntax error" is here to catch this case. 4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4107/* end confdefs.h. */ 4108#ifdef __STDC__ 4109# include <limits.h> 4110#else 4111# include <assert.h> 4112#endif 4113 Syntax error 4114_ACEOF 4115if ac_fn_c_try_cpp "$LINENO"; then : 4116 4117else 4118 # Broken: fails on valid input. 4119continue 4120fi 4121rm -f conftest.err conftest.i conftest.$ac_ext 4122 4123 # OK, works on sane cases. Now check whether nonexistent headers 4124 # can be detected and how. 4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4126/* end confdefs.h. */ 4127#include <ac_nonexistent.h> 4128_ACEOF 4129if ac_fn_c_try_cpp "$LINENO"; then : 4130 # Broken: success on invalid input. 4131continue 4132else 4133 # Passes both tests. 4134ac_preproc_ok=: 4135break 4136fi 4137rm -f conftest.err conftest.i conftest.$ac_ext 4138 4139done 4140# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4141rm -f conftest.i conftest.err conftest.$ac_ext 4142if $ac_preproc_ok; then : 4143 break 4144fi 4145 4146 done 4147 ac_cv_prog_CPP=$CPP 4148 4149fi 4150 CPP=$ac_cv_prog_CPP 4151else 4152 ac_cv_prog_CPP=$CPP 4153fi 4154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4155$as_echo "$CPP" >&6; } 4156ac_preproc_ok=false 4157for ac_c_preproc_warn_flag in '' yes 4158do 4159 # Use a header file that comes with gcc, so configuring glibc 4160 # with a fresh cross-compiler works. 4161 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4162 # <limits.h> exists even on freestanding compilers. 4163 # On the NeXT, cc -E runs the code through the compiler's parser, 4164 # not just through cpp. "Syntax error" is here to catch this case. 4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4166/* end confdefs.h. */ 4167#ifdef __STDC__ 4168# include <limits.h> 4169#else 4170# include <assert.h> 4171#endif 4172 Syntax error 4173_ACEOF 4174if ac_fn_c_try_cpp "$LINENO"; then : 4175 4176else 4177 # Broken: fails on valid input. 4178continue 4179fi 4180rm -f conftest.err conftest.i conftest.$ac_ext 4181 4182 # OK, works on sane cases. Now check whether nonexistent headers 4183 # can be detected and how. 4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4185/* end confdefs.h. */ 4186#include <ac_nonexistent.h> 4187_ACEOF 4188if ac_fn_c_try_cpp "$LINENO"; then : 4189 # Broken: success on invalid input. 4190continue 4191else 4192 # Passes both tests. 4193ac_preproc_ok=: 4194break 4195fi 4196rm -f conftest.err conftest.i conftest.$ac_ext 4197 4198done 4199# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4200rm -f conftest.i conftest.err conftest.$ac_ext 4201if $ac_preproc_ok; then : 4202 4203else 4204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4206as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4207See \`config.log' for more details" "$LINENO" 5; } 4208fi 4209 4210ac_ext=c 4211ac_cpp='$CPP $CPPFLAGS' 4212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4214ac_compiler_gnu=$ac_cv_c_compiler_gnu 4215 4216 4217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4218$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4219if ${ac_cv_path_GREP+:} false; then : 4220 $as_echo_n "(cached) " >&6 4221else 4222 if test -z "$GREP"; then 4223 ac_path_GREP_found=false 4224 # Loop through the user's path and test for each of PROGNAME-LIST 4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4226for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4227do 4228 IFS=$as_save_IFS 4229 test -z "$as_dir" && as_dir=. 4230 for ac_prog in grep ggrep; do 4231 for ac_exec_ext in '' $ac_executable_extensions; do 4232 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4233 as_fn_executable_p "$ac_path_GREP" || continue 4234# Check for GNU ac_path_GREP and select it if it is found. 4235 # Check for GNU $ac_path_GREP 4236case `"$ac_path_GREP" --version 2>&1` in 4237*GNU*) 4238 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4239*) 4240 ac_count=0 4241 $as_echo_n 0123456789 >"conftest.in" 4242 while : 4243 do 4244 cat "conftest.in" "conftest.in" >"conftest.tmp" 4245 mv "conftest.tmp" "conftest.in" 4246 cp "conftest.in" "conftest.nl" 4247 $as_echo 'GREP' >> "conftest.nl" 4248 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4249 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4250 as_fn_arith $ac_count + 1 && ac_count=$as_val 4251 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4252 # Best one so far, save it but keep looking for a better one 4253 ac_cv_path_GREP="$ac_path_GREP" 4254 ac_path_GREP_max=$ac_count 4255 fi 4256 # 10*(2^10) chars as input seems more than enough 4257 test $ac_count -gt 10 && break 4258 done 4259 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4260esac 4261 4262 $ac_path_GREP_found && break 3 4263 done 4264 done 4265 done 4266IFS=$as_save_IFS 4267 if test -z "$ac_cv_path_GREP"; then 4268 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4269 fi 4270else 4271 ac_cv_path_GREP=$GREP 4272fi 4273 4274fi 4275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4276$as_echo "$ac_cv_path_GREP" >&6; } 4277 GREP="$ac_cv_path_GREP" 4278 4279 4280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4281$as_echo_n "checking for egrep... " >&6; } 4282if ${ac_cv_path_EGREP+:} false; then : 4283 $as_echo_n "(cached) " >&6 4284else 4285 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4286 then ac_cv_path_EGREP="$GREP -E" 4287 else 4288 if test -z "$EGREP"; then 4289 ac_path_EGREP_found=false 4290 # Loop through the user's path and test for each of PROGNAME-LIST 4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4292for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4293do 4294 IFS=$as_save_IFS 4295 test -z "$as_dir" && as_dir=. 4296 for ac_prog in egrep; do 4297 for ac_exec_ext in '' $ac_executable_extensions; do 4298 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4299 as_fn_executable_p "$ac_path_EGREP" || continue 4300# Check for GNU ac_path_EGREP and select it if it is found. 4301 # Check for GNU $ac_path_EGREP 4302case `"$ac_path_EGREP" --version 2>&1` in 4303*GNU*) 4304 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4305*) 4306 ac_count=0 4307 $as_echo_n 0123456789 >"conftest.in" 4308 while : 4309 do 4310 cat "conftest.in" "conftest.in" >"conftest.tmp" 4311 mv "conftest.tmp" "conftest.in" 4312 cp "conftest.in" "conftest.nl" 4313 $as_echo 'EGREP' >> "conftest.nl" 4314 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4315 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4316 as_fn_arith $ac_count + 1 && ac_count=$as_val 4317 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4318 # Best one so far, save it but keep looking for a better one 4319 ac_cv_path_EGREP="$ac_path_EGREP" 4320 ac_path_EGREP_max=$ac_count 4321 fi 4322 # 10*(2^10) chars as input seems more than enough 4323 test $ac_count -gt 10 && break 4324 done 4325 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4326esac 4327 4328 $ac_path_EGREP_found && break 3 4329 done 4330 done 4331 done 4332IFS=$as_save_IFS 4333 if test -z "$ac_cv_path_EGREP"; then 4334 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4335 fi 4336else 4337 ac_cv_path_EGREP=$EGREP 4338fi 4339 4340 fi 4341fi 4342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4343$as_echo "$ac_cv_path_EGREP" >&6; } 4344 EGREP="$ac_cv_path_EGREP" 4345 4346 4347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4348$as_echo_n "checking for ANSI C header files... " >&6; } 4349if ${ac_cv_header_stdc+:} false; then : 4350 $as_echo_n "(cached) " >&6 4351else 4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4353/* end confdefs.h. */ 4354#include <stdlib.h> 4355#include <stdarg.h> 4356#include <string.h> 4357#include <float.h> 4358 4359int 4360main () 4361{ 4362 4363 ; 4364 return 0; 4365} 4366_ACEOF 4367if ac_fn_c_try_compile "$LINENO"; then : 4368 ac_cv_header_stdc=yes 4369else 4370 ac_cv_header_stdc=no 4371fi 4372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4373 4374if test $ac_cv_header_stdc = yes; then 4375 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4377/* end confdefs.h. */ 4378#include <string.h> 4379 4380_ACEOF 4381if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4382 $EGREP "memchr" >/dev/null 2>&1; then : 4383 4384else 4385 ac_cv_header_stdc=no 4386fi 4387rm -f conftest* 4388 4389fi 4390 4391if test $ac_cv_header_stdc = yes; then 4392 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4394/* end confdefs.h. */ 4395#include <stdlib.h> 4396 4397_ACEOF 4398if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4399 $EGREP "free" >/dev/null 2>&1; then : 4400 4401else 4402 ac_cv_header_stdc=no 4403fi 4404rm -f conftest* 4405 4406fi 4407 4408if test $ac_cv_header_stdc = yes; then 4409 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4410 if test "$cross_compiling" = yes; then : 4411 : 4412else 4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4414/* end confdefs.h. */ 4415#include <ctype.h> 4416#include <stdlib.h> 4417#if ((' ' & 0x0FF) == 0x020) 4418# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4419# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4420#else 4421# define ISLOWER(c) \ 4422 (('a' <= (c) && (c) <= 'i') \ 4423 || ('j' <= (c) && (c) <= 'r') \ 4424 || ('s' <= (c) && (c) <= 'z')) 4425# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4426#endif 4427 4428#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4429int 4430main () 4431{ 4432 int i; 4433 for (i = 0; i < 256; i++) 4434 if (XOR (islower (i), ISLOWER (i)) 4435 || toupper (i) != TOUPPER (i)) 4436 return 2; 4437 return 0; 4438} 4439_ACEOF 4440if ac_fn_c_try_run "$LINENO"; then : 4441 4442else 4443 ac_cv_header_stdc=no 4444fi 4445rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4446 conftest.$ac_objext conftest.beam conftest.$ac_ext 4447fi 4448 4449fi 4450fi 4451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4452$as_echo "$ac_cv_header_stdc" >&6; } 4453if test $ac_cv_header_stdc = yes; then 4454 4455$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4456 4457fi 4458 4459case `pwd` in 4460 *\ * | *\ *) 4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4462$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4463esac 4464 4465 4466 4467macro_version='2.4.2' 4468macro_revision='1.3337' 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482ltmain="$ac_aux_dir/ltmain.sh" 4483 4484# Make sure we can run config.sub. 4485$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4486 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4487 4488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4489$as_echo_n "checking build system type... " >&6; } 4490if ${ac_cv_build+:} false; then : 4491 $as_echo_n "(cached) " >&6 4492else 4493 ac_build_alias=$build_alias 4494test "x$ac_build_alias" = x && 4495 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4496test "x$ac_build_alias" = x && 4497 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4498ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4499 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4500 4501fi 4502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4503$as_echo "$ac_cv_build" >&6; } 4504case $ac_cv_build in 4505*-*-*) ;; 4506*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4507esac 4508build=$ac_cv_build 4509ac_save_IFS=$IFS; IFS='-' 4510set x $ac_cv_build 4511shift 4512build_cpu=$1 4513build_vendor=$2 4514shift; shift 4515# Remember, the first character of IFS is used to create $*, 4516# except with old shells: 4517build_os=$* 4518IFS=$ac_save_IFS 4519case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4520 4521 4522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4523$as_echo_n "checking host system type... " >&6; } 4524if ${ac_cv_host+:} false; then : 4525 $as_echo_n "(cached) " >&6 4526else 4527 if test "x$host_alias" = x; then 4528 ac_cv_host=$ac_cv_build 4529else 4530 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4531 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4532fi 4533 4534fi 4535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4536$as_echo "$ac_cv_host" >&6; } 4537case $ac_cv_host in 4538*-*-*) ;; 4539*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4540esac 4541host=$ac_cv_host 4542ac_save_IFS=$IFS; IFS='-' 4543set x $ac_cv_host 4544shift 4545host_cpu=$1 4546host_vendor=$2 4547shift; shift 4548# Remember, the first character of IFS is used to create $*, 4549# except with old shells: 4550host_os=$* 4551IFS=$ac_save_IFS 4552case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4553 4554 4555# Backslashify metacharacters that are still active within 4556# double-quoted strings. 4557sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4558 4559# Same as above, but do not quote variable references. 4560double_quote_subst='s/\(["`\\]\)/\\\1/g' 4561 4562# Sed substitution to delay expansion of an escaped shell variable in a 4563# double_quote_subst'ed string. 4564delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4565 4566# Sed substitution to delay expansion of an escaped single quote. 4567delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4568 4569# Sed substitution to avoid accidental globbing in evaled expressions 4570no_glob_subst='s/\*/\\\*/g' 4571 4572ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4573ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4574ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4575 4576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4577$as_echo_n "checking how to print strings... " >&6; } 4578# Test print first, because it will be a builtin if present. 4579if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4580 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4581 ECHO='print -r --' 4582elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4583 ECHO='printf %s\n' 4584else 4585 # Use this function as a fallback that always works. 4586 func_fallback_echo () 4587 { 4588 eval 'cat <<_LTECHO_EOF 4589$1 4590_LTECHO_EOF' 4591 } 4592 ECHO='func_fallback_echo' 4593fi 4594 4595# func_echo_all arg... 4596# Invoke $ECHO with all args, space-separated. 4597func_echo_all () 4598{ 4599 $ECHO "" 4600} 4601 4602case "$ECHO" in 4603 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4604$as_echo "printf" >&6; } ;; 4605 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4606$as_echo "print -r" >&6; } ;; 4607 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4608$as_echo "cat" >&6; } ;; 4609esac 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4625$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4626if ${ac_cv_path_SED+:} false; then : 4627 $as_echo_n "(cached) " >&6 4628else 4629 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4630 for ac_i in 1 2 3 4 5 6 7; do 4631 ac_script="$ac_script$as_nl$ac_script" 4632 done 4633 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4634 { ac_script=; unset ac_script;} 4635 if test -z "$SED"; then 4636 ac_path_SED_found=false 4637 # Loop through the user's path and test for each of PROGNAME-LIST 4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4639for as_dir in $PATH 4640do 4641 IFS=$as_save_IFS 4642 test -z "$as_dir" && as_dir=. 4643 for ac_prog in sed gsed; do 4644 for ac_exec_ext in '' $ac_executable_extensions; do 4645 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4646 as_fn_executable_p "$ac_path_SED" || continue 4647# Check for GNU ac_path_SED and select it if it is found. 4648 # Check for GNU $ac_path_SED 4649case `"$ac_path_SED" --version 2>&1` in 4650*GNU*) 4651 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4652*) 4653 ac_count=0 4654 $as_echo_n 0123456789 >"conftest.in" 4655 while : 4656 do 4657 cat "conftest.in" "conftest.in" >"conftest.tmp" 4658 mv "conftest.tmp" "conftest.in" 4659 cp "conftest.in" "conftest.nl" 4660 $as_echo '' >> "conftest.nl" 4661 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4662 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4663 as_fn_arith $ac_count + 1 && ac_count=$as_val 4664 if test $ac_count -gt ${ac_path_SED_max-0}; then 4665 # Best one so far, save it but keep looking for a better one 4666 ac_cv_path_SED="$ac_path_SED" 4667 ac_path_SED_max=$ac_count 4668 fi 4669 # 10*(2^10) chars as input seems more than enough 4670 test $ac_count -gt 10 && break 4671 done 4672 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4673esac 4674 4675 $ac_path_SED_found && break 3 4676 done 4677 done 4678 done 4679IFS=$as_save_IFS 4680 if test -z "$ac_cv_path_SED"; then 4681 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4682 fi 4683else 4684 ac_cv_path_SED=$SED 4685fi 4686 4687fi 4688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4689$as_echo "$ac_cv_path_SED" >&6; } 4690 SED="$ac_cv_path_SED" 4691 rm -f conftest.sed 4692 4693test -z "$SED" && SED=sed 4694Xsed="$SED -e 1s/^X//" 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4707$as_echo_n "checking for fgrep... " >&6; } 4708if ${ac_cv_path_FGREP+:} false; then : 4709 $as_echo_n "(cached) " >&6 4710else 4711 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4712 then ac_cv_path_FGREP="$GREP -F" 4713 else 4714 if test -z "$FGREP"; then 4715 ac_path_FGREP_found=false 4716 # Loop through the user's path and test for each of PROGNAME-LIST 4717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4718for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4719do 4720 IFS=$as_save_IFS 4721 test -z "$as_dir" && as_dir=. 4722 for ac_prog in fgrep; do 4723 for ac_exec_ext in '' $ac_executable_extensions; do 4724 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4725 as_fn_executable_p "$ac_path_FGREP" || continue 4726# Check for GNU ac_path_FGREP and select it if it is found. 4727 # Check for GNU $ac_path_FGREP 4728case `"$ac_path_FGREP" --version 2>&1` in 4729*GNU*) 4730 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4731*) 4732 ac_count=0 4733 $as_echo_n 0123456789 >"conftest.in" 4734 while : 4735 do 4736 cat "conftest.in" "conftest.in" >"conftest.tmp" 4737 mv "conftest.tmp" "conftest.in" 4738 cp "conftest.in" "conftest.nl" 4739 $as_echo 'FGREP' >> "conftest.nl" 4740 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4741 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4742 as_fn_arith $ac_count + 1 && ac_count=$as_val 4743 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4744 # Best one so far, save it but keep looking for a better one 4745 ac_cv_path_FGREP="$ac_path_FGREP" 4746 ac_path_FGREP_max=$ac_count 4747 fi 4748 # 10*(2^10) chars as input seems more than enough 4749 test $ac_count -gt 10 && break 4750 done 4751 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4752esac 4753 4754 $ac_path_FGREP_found && break 3 4755 done 4756 done 4757 done 4758IFS=$as_save_IFS 4759 if test -z "$ac_cv_path_FGREP"; then 4760 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4761 fi 4762else 4763 ac_cv_path_FGREP=$FGREP 4764fi 4765 4766 fi 4767fi 4768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4769$as_echo "$ac_cv_path_FGREP" >&6; } 4770 FGREP="$ac_cv_path_FGREP" 4771 4772 4773test -z "$GREP" && GREP=grep 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793# Check whether --with-gnu-ld was given. 4794if test "${with_gnu_ld+set}" = set; then : 4795 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4796else 4797 with_gnu_ld=no 4798fi 4799 4800ac_prog=ld 4801if test "$GCC" = yes; then 4802 # Check if gcc -print-prog-name=ld gives a path. 4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4804$as_echo_n "checking for ld used by $CC... " >&6; } 4805 case $host in 4806 *-*-mingw*) 4807 # gcc leaves a trailing carriage return which upsets mingw 4808 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4809 *) 4810 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4811 esac 4812 case $ac_prog in 4813 # Accept absolute paths. 4814 [\\/]* | ?:[\\/]*) 4815 re_direlt='/[^/][^/]*/\.\./' 4816 # Canonicalize the pathname of ld 4817 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4818 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4819 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4820 done 4821 test -z "$LD" && LD="$ac_prog" 4822 ;; 4823 "") 4824 # If it fails, then pretend we aren't using GCC. 4825 ac_prog=ld 4826 ;; 4827 *) 4828 # If it is relative, then search for the first ld in PATH. 4829 with_gnu_ld=unknown 4830 ;; 4831 esac 4832elif test "$with_gnu_ld" = yes; then 4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4834$as_echo_n "checking for GNU ld... " >&6; } 4835else 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4837$as_echo_n "checking for non-GNU ld... " >&6; } 4838fi 4839if ${lt_cv_path_LD+:} false; then : 4840 $as_echo_n "(cached) " >&6 4841else 4842 if test -z "$LD"; then 4843 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4844 for ac_dir in $PATH; do 4845 IFS="$lt_save_ifs" 4846 test -z "$ac_dir" && ac_dir=. 4847 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4848 lt_cv_path_LD="$ac_dir/$ac_prog" 4849 # Check to see if the program is GNU ld. I'd rather use --version, 4850 # but apparently some variants of GNU ld only accept -v. 4851 # Break only if it was the GNU/non-GNU ld that we prefer. 4852 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4853 *GNU* | *'with BFD'*) 4854 test "$with_gnu_ld" != no && break 4855 ;; 4856 *) 4857 test "$with_gnu_ld" != yes && break 4858 ;; 4859 esac 4860 fi 4861 done 4862 IFS="$lt_save_ifs" 4863else 4864 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4865fi 4866fi 4867 4868LD="$lt_cv_path_LD" 4869if test -n "$LD"; then 4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4871$as_echo "$LD" >&6; } 4872else 4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4874$as_echo "no" >&6; } 4875fi 4876test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4878$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4879if ${lt_cv_prog_gnu_ld+:} false; then : 4880 $as_echo_n "(cached) " >&6 4881else 4882 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4883case `$LD -v 2>&1 </dev/null` in 4884*GNU* | *'with BFD'*) 4885 lt_cv_prog_gnu_ld=yes 4886 ;; 4887*) 4888 lt_cv_prog_gnu_ld=no 4889 ;; 4890esac 4891fi 4892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4893$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4894with_gnu_ld=$lt_cv_prog_gnu_ld 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4905$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4906if ${lt_cv_path_NM+:} false; then : 4907 $as_echo_n "(cached) " >&6 4908else 4909 if test -n "$NM"; then 4910 # Let the user override the test. 4911 lt_cv_path_NM="$NM" 4912else 4913 lt_nm_to_check="${ac_tool_prefix}nm" 4914 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4915 lt_nm_to_check="$lt_nm_to_check nm" 4916 fi 4917 for lt_tmp_nm in $lt_nm_to_check; do 4918 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4919 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4920 IFS="$lt_save_ifs" 4921 test -z "$ac_dir" && ac_dir=. 4922 tmp_nm="$ac_dir/$lt_tmp_nm" 4923 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4924 # Check to see if the nm accepts a BSD-compat flag. 4925 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4926 # nm: unknown option "B" ignored 4927 # Tru64's nm complains that /dev/null is an invalid object file 4928 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4929 */dev/null* | *'Invalid file or object type'*) 4930 lt_cv_path_NM="$tmp_nm -B" 4931 break 4932 ;; 4933 *) 4934 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4935 */dev/null*) 4936 lt_cv_path_NM="$tmp_nm -p" 4937 break 4938 ;; 4939 *) 4940 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4941 continue # so that we can try to find one that supports BSD flags 4942 ;; 4943 esac 4944 ;; 4945 esac 4946 fi 4947 done 4948 IFS="$lt_save_ifs" 4949 done 4950 : ${lt_cv_path_NM=no} 4951fi 4952fi 4953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4954$as_echo "$lt_cv_path_NM" >&6; } 4955if test "$lt_cv_path_NM" != "no"; then 4956 NM="$lt_cv_path_NM" 4957else 4958 # Didn't find any BSD compatible name lister, look for dumpbin. 4959 if test -n "$DUMPBIN"; then : 4960 # Let the user override the test. 4961 else 4962 if test -n "$ac_tool_prefix"; then 4963 for ac_prog in dumpbin "link -dump" 4964 do 4965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4966set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4968$as_echo_n "checking for $ac_word... " >&6; } 4969if ${ac_cv_prog_DUMPBIN+:} false; then : 4970 $as_echo_n "(cached) " >&6 4971else 4972 if test -n "$DUMPBIN"; then 4973 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4974else 4975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4976for as_dir in $PATH 4977do 4978 IFS=$as_save_IFS 4979 test -z "$as_dir" && as_dir=. 4980 for ac_exec_ext in '' $ac_executable_extensions; do 4981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4982 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4984 break 2 4985 fi 4986done 4987 done 4988IFS=$as_save_IFS 4989 4990fi 4991fi 4992DUMPBIN=$ac_cv_prog_DUMPBIN 4993if test -n "$DUMPBIN"; then 4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4995$as_echo "$DUMPBIN" >&6; } 4996else 4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4998$as_echo "no" >&6; } 4999fi 5000 5001 5002 test -n "$DUMPBIN" && break 5003 done 5004fi 5005if test -z "$DUMPBIN"; then 5006 ac_ct_DUMPBIN=$DUMPBIN 5007 for ac_prog in dumpbin "link -dump" 5008do 5009 # Extract the first word of "$ac_prog", so it can be a program name with args. 5010set dummy $ac_prog; ac_word=$2 5011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5012$as_echo_n "checking for $ac_word... " >&6; } 5013if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5014 $as_echo_n "(cached) " >&6 5015else 5016 if test -n "$ac_ct_DUMPBIN"; then 5017 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5018else 5019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5020for as_dir in $PATH 5021do 5022 IFS=$as_save_IFS 5023 test -z "$as_dir" && as_dir=. 5024 for ac_exec_ext in '' $ac_executable_extensions; do 5025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5026 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5028 break 2 5029 fi 5030done 5031 done 5032IFS=$as_save_IFS 5033 5034fi 5035fi 5036ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5037if test -n "$ac_ct_DUMPBIN"; then 5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5039$as_echo "$ac_ct_DUMPBIN" >&6; } 5040else 5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5042$as_echo "no" >&6; } 5043fi 5044 5045 5046 test -n "$ac_ct_DUMPBIN" && break 5047done 5048 5049 if test "x$ac_ct_DUMPBIN" = x; then 5050 DUMPBIN=":" 5051 else 5052 case $cross_compiling:$ac_tool_warned in 5053yes:) 5054{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5055$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5056ac_tool_warned=yes ;; 5057esac 5058 DUMPBIN=$ac_ct_DUMPBIN 5059 fi 5060fi 5061 5062 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5063 *COFF*) 5064 DUMPBIN="$DUMPBIN -symbols" 5065 ;; 5066 *) 5067 DUMPBIN=: 5068 ;; 5069 esac 5070 fi 5071 5072 if test "$DUMPBIN" != ":"; then 5073 NM="$DUMPBIN" 5074 fi 5075fi 5076test -z "$NM" && NM=nm 5077 5078 5079 5080 5081 5082 5083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5084$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5085if ${lt_cv_nm_interface+:} false; then : 5086 $as_echo_n "(cached) " >&6 5087else 5088 lt_cv_nm_interface="BSD nm" 5089 echo "int some_variable = 0;" > conftest.$ac_ext 5090 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5091 (eval "$ac_compile" 2>conftest.err) 5092 cat conftest.err >&5 5093 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5094 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5095 cat conftest.err >&5 5096 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5097 cat conftest.out >&5 5098 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5099 lt_cv_nm_interface="MS dumpbin" 5100 fi 5101 rm -f conftest* 5102fi 5103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5104$as_echo "$lt_cv_nm_interface" >&6; } 5105 5106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5107$as_echo_n "checking whether ln -s works... " >&6; } 5108LN_S=$as_ln_s 5109if test "$LN_S" = "ln -s"; then 5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5111$as_echo "yes" >&6; } 5112else 5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5114$as_echo "no, using $LN_S" >&6; } 5115fi 5116 5117# find the maximum length of command line arguments 5118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5119$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5120if ${lt_cv_sys_max_cmd_len+:} false; then : 5121 $as_echo_n "(cached) " >&6 5122else 5123 i=0 5124 teststring="ABCD" 5125 5126 case $build_os in 5127 msdosdjgpp*) 5128 # On DJGPP, this test can blow up pretty badly due to problems in libc 5129 # (any single argument exceeding 2000 bytes causes a buffer overrun 5130 # during glob expansion). Even if it were fixed, the result of this 5131 # check would be larger than it should be. 5132 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5133 ;; 5134 5135 gnu*) 5136 # Under GNU Hurd, this test is not required because there is 5137 # no limit to the length of command line arguments. 5138 # Libtool will interpret -1 as no limit whatsoever 5139 lt_cv_sys_max_cmd_len=-1; 5140 ;; 5141 5142 cygwin* | mingw* | cegcc*) 5143 # On Win9x/ME, this test blows up -- it succeeds, but takes 5144 # about 5 minutes as the teststring grows exponentially. 5145 # Worse, since 9x/ME are not pre-emptively multitasking, 5146 # you end up with a "frozen" computer, even though with patience 5147 # the test eventually succeeds (with a max line length of 256k). 5148 # Instead, let's just punt: use the minimum linelength reported by 5149 # all of the supported platforms: 8192 (on NT/2K/XP). 5150 lt_cv_sys_max_cmd_len=8192; 5151 ;; 5152 5153 mint*) 5154 # On MiNT this can take a long time and run out of memory. 5155 lt_cv_sys_max_cmd_len=8192; 5156 ;; 5157 5158 amigaos*) 5159 # On AmigaOS with pdksh, this test takes hours, literally. 5160 # So we just punt and use a minimum line length of 8192. 5161 lt_cv_sys_max_cmd_len=8192; 5162 ;; 5163 5164 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5165 # This has been around since 386BSD, at least. Likely further. 5166 if test -x /sbin/sysctl; then 5167 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5168 elif test -x /usr/sbin/sysctl; then 5169 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5170 else 5171 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5172 fi 5173 # And add a safety zone 5174 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5175 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5176 ;; 5177 5178 interix*) 5179 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5180 lt_cv_sys_max_cmd_len=196608 5181 ;; 5182 5183 os2*) 5184 # The test takes a long time on OS/2. 5185 lt_cv_sys_max_cmd_len=8192 5186 ;; 5187 5188 osf*) 5189 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5190 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5191 # nice to cause kernel panics so lets avoid the loop below. 5192 # First set a reasonable default. 5193 lt_cv_sys_max_cmd_len=16384 5194 # 5195 if test -x /sbin/sysconfig; then 5196 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5197 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5198 esac 5199 fi 5200 ;; 5201 sco3.2v5*) 5202 lt_cv_sys_max_cmd_len=102400 5203 ;; 5204 sysv5* | sco5v6* | sysv4.2uw2*) 5205 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5206 if test -n "$kargmax"; then 5207 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5208 else 5209 lt_cv_sys_max_cmd_len=32768 5210 fi 5211 ;; 5212 *) 5213 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5214 if test -n "$lt_cv_sys_max_cmd_len"; then 5215 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5216 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5217 else 5218 # Make teststring a little bigger before we do anything with it. 5219 # a 1K string should be a reasonable start. 5220 for i in 1 2 3 4 5 6 7 8 ; do 5221 teststring=$teststring$teststring 5222 done 5223 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5224 # If test is not a shell built-in, we'll probably end up computing a 5225 # maximum length that is only half of the actual maximum length, but 5226 # we can't tell. 5227 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5228 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5229 test $i != 17 # 1/2 MB should be enough 5230 do 5231 i=`expr $i + 1` 5232 teststring=$teststring$teststring 5233 done 5234 # Only check the string length outside the loop. 5235 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5236 teststring= 5237 # Add a significant safety factor because C++ compilers can tack on 5238 # massive amounts of additional arguments before passing them to the 5239 # linker. It appears as though 1/2 is a usable value. 5240 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5241 fi 5242 ;; 5243 esac 5244 5245fi 5246 5247if test -n $lt_cv_sys_max_cmd_len ; then 5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5249$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5250else 5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5252$as_echo "none" >&6; } 5253fi 5254max_cmd_len=$lt_cv_sys_max_cmd_len 5255 5256 5257 5258 5259 5260 5261: ${CP="cp -f"} 5262: ${MV="mv -f"} 5263: ${RM="rm -f"} 5264 5265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5266$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5267# Try some XSI features 5268xsi_shell=no 5269( _lt_dummy="a/b/c" 5270 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5271 = c,a/b,b/c, \ 5272 && eval 'test $(( 1 + 1 )) -eq 2 \ 5273 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5274 && xsi_shell=yes 5275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5276$as_echo "$xsi_shell" >&6; } 5277 5278 5279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5280$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5281lt_shell_append=no 5282( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5283 >/dev/null 2>&1 \ 5284 && lt_shell_append=yes 5285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5286$as_echo "$lt_shell_append" >&6; } 5287 5288 5289if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5290 lt_unset=unset 5291else 5292 lt_unset=false 5293fi 5294 5295 5296 5297 5298 5299# test EBCDIC or ASCII 5300case `echo X|tr X '\101'` in 5301 A) # ASCII based system 5302 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5303 lt_SP2NL='tr \040 \012' 5304 lt_NL2SP='tr \015\012 \040\040' 5305 ;; 5306 *) # EBCDIC based system 5307 lt_SP2NL='tr \100 \n' 5308 lt_NL2SP='tr \r\n \100\100' 5309 ;; 5310esac 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5321$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5322if ${lt_cv_to_host_file_cmd+:} false; then : 5323 $as_echo_n "(cached) " >&6 5324else 5325 case $host in 5326 *-*-mingw* ) 5327 case $build in 5328 *-*-mingw* ) # actually msys 5329 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5330 ;; 5331 *-*-cygwin* ) 5332 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5333 ;; 5334 * ) # otherwise, assume *nix 5335 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5336 ;; 5337 esac 5338 ;; 5339 *-*-cygwin* ) 5340 case $build in 5341 *-*-mingw* ) # actually msys 5342 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5343 ;; 5344 *-*-cygwin* ) 5345 lt_cv_to_host_file_cmd=func_convert_file_noop 5346 ;; 5347 * ) # otherwise, assume *nix 5348 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5349 ;; 5350 esac 5351 ;; 5352 * ) # unhandled hosts (and "normal" native builds) 5353 lt_cv_to_host_file_cmd=func_convert_file_noop 5354 ;; 5355esac 5356 5357fi 5358 5359to_host_file_cmd=$lt_cv_to_host_file_cmd 5360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5361$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5362 5363 5364 5365 5366 5367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5368$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5369if ${lt_cv_to_tool_file_cmd+:} false; then : 5370 $as_echo_n "(cached) " >&6 5371else 5372 #assume ordinary cross tools, or native build. 5373lt_cv_to_tool_file_cmd=func_convert_file_noop 5374case $host in 5375 *-*-mingw* ) 5376 case $build in 5377 *-*-mingw* ) # actually msys 5378 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5379 ;; 5380 esac 5381 ;; 5382esac 5383 5384fi 5385 5386to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5388$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5389 5390 5391 5392 5393 5394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5395$as_echo_n "checking for $LD option to reload object files... " >&6; } 5396if ${lt_cv_ld_reload_flag+:} false; then : 5397 $as_echo_n "(cached) " >&6 5398else 5399 lt_cv_ld_reload_flag='-r' 5400fi 5401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5402$as_echo "$lt_cv_ld_reload_flag" >&6; } 5403reload_flag=$lt_cv_ld_reload_flag 5404case $reload_flag in 5405"" | " "*) ;; 5406*) reload_flag=" $reload_flag" ;; 5407esac 5408reload_cmds='$LD$reload_flag -o $output$reload_objs' 5409case $host_os in 5410 cygwin* | mingw* | pw32* | cegcc*) 5411 if test "$GCC" != yes; then 5412 reload_cmds=false 5413 fi 5414 ;; 5415 darwin*) 5416 if test "$GCC" = yes; then 5417 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5418 else 5419 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5420 fi 5421 ;; 5422esac 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432if test -n "$ac_tool_prefix"; then 5433 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5434set dummy ${ac_tool_prefix}objdump; ac_word=$2 5435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5436$as_echo_n "checking for $ac_word... " >&6; } 5437if ${ac_cv_prog_OBJDUMP+:} false; then : 5438 $as_echo_n "(cached) " >&6 5439else 5440 if test -n "$OBJDUMP"; then 5441 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5442else 5443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5444for as_dir in $PATH 5445do 5446 IFS=$as_save_IFS 5447 test -z "$as_dir" && as_dir=. 5448 for ac_exec_ext in '' $ac_executable_extensions; do 5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5450 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5452 break 2 5453 fi 5454done 5455 done 5456IFS=$as_save_IFS 5457 5458fi 5459fi 5460OBJDUMP=$ac_cv_prog_OBJDUMP 5461if test -n "$OBJDUMP"; then 5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5463$as_echo "$OBJDUMP" >&6; } 5464else 5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5466$as_echo "no" >&6; } 5467fi 5468 5469 5470fi 5471if test -z "$ac_cv_prog_OBJDUMP"; then 5472 ac_ct_OBJDUMP=$OBJDUMP 5473 # Extract the first word of "objdump", so it can be a program name with args. 5474set dummy objdump; ac_word=$2 5475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5476$as_echo_n "checking for $ac_word... " >&6; } 5477if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5478 $as_echo_n "(cached) " >&6 5479else 5480 if test -n "$ac_ct_OBJDUMP"; then 5481 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5482else 5483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5484for as_dir in $PATH 5485do 5486 IFS=$as_save_IFS 5487 test -z "$as_dir" && as_dir=. 5488 for ac_exec_ext in '' $ac_executable_extensions; do 5489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5490 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5492 break 2 5493 fi 5494done 5495 done 5496IFS=$as_save_IFS 5497 5498fi 5499fi 5500ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5501if test -n "$ac_ct_OBJDUMP"; then 5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5503$as_echo "$ac_ct_OBJDUMP" >&6; } 5504else 5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5506$as_echo "no" >&6; } 5507fi 5508 5509 if test "x$ac_ct_OBJDUMP" = x; then 5510 OBJDUMP="false" 5511 else 5512 case $cross_compiling:$ac_tool_warned in 5513yes:) 5514{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5515$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5516ac_tool_warned=yes ;; 5517esac 5518 OBJDUMP=$ac_ct_OBJDUMP 5519 fi 5520else 5521 OBJDUMP="$ac_cv_prog_OBJDUMP" 5522fi 5523 5524test -z "$OBJDUMP" && OBJDUMP=objdump 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5535$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5536if ${lt_cv_deplibs_check_method+:} false; then : 5537 $as_echo_n "(cached) " >&6 5538else 5539 lt_cv_file_magic_cmd='$MAGIC_CMD' 5540lt_cv_file_magic_test_file= 5541lt_cv_deplibs_check_method='unknown' 5542# Need to set the preceding variable on all platforms that support 5543# interlibrary dependencies. 5544# 'none' -- dependencies not supported. 5545# `unknown' -- same as none, but documents that we really don't know. 5546# 'pass_all' -- all dependencies passed with no checks. 5547# 'test_compile' -- check by making test program. 5548# 'file_magic [[regex]]' -- check by looking for files in library path 5549# which responds to the $file_magic_cmd with a given extended regex. 5550# If you have `file' or equivalent on your system and you're not sure 5551# whether `pass_all' will *always* work, you probably want this one. 5552 5553case $host_os in 5554aix[4-9]*) 5555 lt_cv_deplibs_check_method=pass_all 5556 ;; 5557 5558beos*) 5559 lt_cv_deplibs_check_method=pass_all 5560 ;; 5561 5562bsdi[45]*) 5563 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5564 lt_cv_file_magic_cmd='/usr/bin/file -L' 5565 lt_cv_file_magic_test_file=/shlib/libc.so 5566 ;; 5567 5568cygwin*) 5569 # func_win32_libid is a shell function defined in ltmain.sh 5570 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5571 lt_cv_file_magic_cmd='func_win32_libid' 5572 ;; 5573 5574mingw* | pw32*) 5575 # Base MSYS/MinGW do not provide the 'file' command needed by 5576 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5577 # unless we find 'file', for example because we are cross-compiling. 5578 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5579 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5580 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5581 lt_cv_file_magic_cmd='func_win32_libid' 5582 else 5583 # Keep this pattern in sync with the one in func_win32_libid. 5584 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5585 lt_cv_file_magic_cmd='$OBJDUMP -f' 5586 fi 5587 ;; 5588 5589cegcc*) 5590 # use the weaker test based on 'objdump'. See mingw*. 5591 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5592 lt_cv_file_magic_cmd='$OBJDUMP -f' 5593 ;; 5594 5595darwin* | rhapsody*) 5596 lt_cv_deplibs_check_method=pass_all 5597 ;; 5598 5599freebsd* | dragonfly*) 5600 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5601 case $host_cpu in 5602 i*86 ) 5603 # Not sure whether the presence of OpenBSD here was a mistake. 5604 # Let's accept both of them until this is cleared up. 5605 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5606 lt_cv_file_magic_cmd=/usr/bin/file 5607 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5608 ;; 5609 esac 5610 else 5611 lt_cv_deplibs_check_method=pass_all 5612 fi 5613 ;; 5614 5615gnu*) 5616 lt_cv_deplibs_check_method=pass_all 5617 ;; 5618 5619haiku*) 5620 lt_cv_deplibs_check_method=pass_all 5621 ;; 5622 5623hpux10.20* | hpux11*) 5624 lt_cv_file_magic_cmd=/usr/bin/file 5625 case $host_cpu in 5626 ia64*) 5627 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5628 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5629 ;; 5630 hppa*64*) 5631 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]' 5632 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5633 ;; 5634 *) 5635 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5636 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5637 ;; 5638 esac 5639 ;; 5640 5641interix[3-9]*) 5642 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5643 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5644 ;; 5645 5646irix5* | irix6* | nonstopux*) 5647 case $LD in 5648 *-32|*"-32 ") libmagic=32-bit;; 5649 *-n32|*"-n32 ") libmagic=N32;; 5650 *-64|*"-64 ") libmagic=64-bit;; 5651 *) libmagic=never-match;; 5652 esac 5653 lt_cv_deplibs_check_method=pass_all 5654 ;; 5655 5656# This must be glibc/ELF. 5657linux* | k*bsd*-gnu | kopensolaris*-gnu) 5658 lt_cv_deplibs_check_method=pass_all 5659 ;; 5660 5661netbsd*) 5662 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5663 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5664 else 5665 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5666 fi 5667 ;; 5668 5669newos6*) 5670 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5671 lt_cv_file_magic_cmd=/usr/bin/file 5672 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5673 ;; 5674 5675*nto* | *qnx*) 5676 lt_cv_deplibs_check_method=pass_all 5677 ;; 5678 5679openbsd*) 5680 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5681 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5682 else 5683 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5684 fi 5685 ;; 5686 5687osf3* | osf4* | osf5*) 5688 lt_cv_deplibs_check_method=pass_all 5689 ;; 5690 5691rdos*) 5692 lt_cv_deplibs_check_method=pass_all 5693 ;; 5694 5695solaris*) 5696 lt_cv_deplibs_check_method=pass_all 5697 ;; 5698 5699sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5700 lt_cv_deplibs_check_method=pass_all 5701 ;; 5702 5703sysv4 | sysv4.3*) 5704 case $host_vendor in 5705 motorola) 5706 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]' 5707 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5708 ;; 5709 ncr) 5710 lt_cv_deplibs_check_method=pass_all 5711 ;; 5712 sequent) 5713 lt_cv_file_magic_cmd='/bin/file' 5714 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5715 ;; 5716 sni) 5717 lt_cv_file_magic_cmd='/bin/file' 5718 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5719 lt_cv_file_magic_test_file=/lib/libc.so 5720 ;; 5721 siemens) 5722 lt_cv_deplibs_check_method=pass_all 5723 ;; 5724 pc) 5725 lt_cv_deplibs_check_method=pass_all 5726 ;; 5727 esac 5728 ;; 5729 5730tpf*) 5731 lt_cv_deplibs_check_method=pass_all 5732 ;; 5733esac 5734 5735fi 5736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5737$as_echo "$lt_cv_deplibs_check_method" >&6; } 5738 5739file_magic_glob= 5740want_nocaseglob=no 5741if test "$build" = "$host"; then 5742 case $host_os in 5743 mingw* | pw32*) 5744 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5745 want_nocaseglob=yes 5746 else 5747 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5748 fi 5749 ;; 5750 esac 5751fi 5752 5753file_magic_cmd=$lt_cv_file_magic_cmd 5754deplibs_check_method=$lt_cv_deplibs_check_method 5755test -z "$deplibs_check_method" && deplibs_check_method=unknown 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778if test -n "$ac_tool_prefix"; then 5779 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5780set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5782$as_echo_n "checking for $ac_word... " >&6; } 5783if ${ac_cv_prog_DLLTOOL+:} false; then : 5784 $as_echo_n "(cached) " >&6 5785else 5786 if test -n "$DLLTOOL"; then 5787 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5788else 5789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5790for as_dir in $PATH 5791do 5792 IFS=$as_save_IFS 5793 test -z "$as_dir" && as_dir=. 5794 for ac_exec_ext in '' $ac_executable_extensions; do 5795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5796 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5798 break 2 5799 fi 5800done 5801 done 5802IFS=$as_save_IFS 5803 5804fi 5805fi 5806DLLTOOL=$ac_cv_prog_DLLTOOL 5807if test -n "$DLLTOOL"; then 5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5809$as_echo "$DLLTOOL" >&6; } 5810else 5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5812$as_echo "no" >&6; } 5813fi 5814 5815 5816fi 5817if test -z "$ac_cv_prog_DLLTOOL"; then 5818 ac_ct_DLLTOOL=$DLLTOOL 5819 # Extract the first word of "dlltool", so it can be a program name with args. 5820set dummy dlltool; ac_word=$2 5821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5822$as_echo_n "checking for $ac_word... " >&6; } 5823if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5824 $as_echo_n "(cached) " >&6 5825else 5826 if test -n "$ac_ct_DLLTOOL"; then 5827 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5828else 5829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5830for as_dir in $PATH 5831do 5832 IFS=$as_save_IFS 5833 test -z "$as_dir" && as_dir=. 5834 for ac_exec_ext in '' $ac_executable_extensions; do 5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5836 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5838 break 2 5839 fi 5840done 5841 done 5842IFS=$as_save_IFS 5843 5844fi 5845fi 5846ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5847if test -n "$ac_ct_DLLTOOL"; then 5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5849$as_echo "$ac_ct_DLLTOOL" >&6; } 5850else 5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5852$as_echo "no" >&6; } 5853fi 5854 5855 if test "x$ac_ct_DLLTOOL" = x; then 5856 DLLTOOL="false" 5857 else 5858 case $cross_compiling:$ac_tool_warned in 5859yes:) 5860{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5861$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5862ac_tool_warned=yes ;; 5863esac 5864 DLLTOOL=$ac_ct_DLLTOOL 5865 fi 5866else 5867 DLLTOOL="$ac_cv_prog_DLLTOOL" 5868fi 5869 5870test -z "$DLLTOOL" && DLLTOOL=dlltool 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5882$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5883if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5884 $as_echo_n "(cached) " >&6 5885else 5886 lt_cv_sharedlib_from_linklib_cmd='unknown' 5887 5888case $host_os in 5889cygwin* | mingw* | pw32* | cegcc*) 5890 # two different shell functions defined in ltmain.sh 5891 # decide which to use based on capabilities of $DLLTOOL 5892 case `$DLLTOOL --help 2>&1` in 5893 *--identify-strict*) 5894 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5895 ;; 5896 *) 5897 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5898 ;; 5899 esac 5900 ;; 5901*) 5902 # fallback: assume linklib IS sharedlib 5903 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5904 ;; 5905esac 5906 5907fi 5908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5909$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5910sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5911test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5912 5913 5914 5915 5916 5917 5918 5919if test -n "$ac_tool_prefix"; then 5920 for ac_prog in ar 5921 do 5922 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5923set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5925$as_echo_n "checking for $ac_word... " >&6; } 5926if ${ac_cv_prog_AR+:} false; then : 5927 $as_echo_n "(cached) " >&6 5928else 5929 if test -n "$AR"; then 5930 ac_cv_prog_AR="$AR" # Let the user override the test. 5931else 5932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5933for as_dir in $PATH 5934do 5935 IFS=$as_save_IFS 5936 test -z "$as_dir" && as_dir=. 5937 for ac_exec_ext in '' $ac_executable_extensions; do 5938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5939 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5941 break 2 5942 fi 5943done 5944 done 5945IFS=$as_save_IFS 5946 5947fi 5948fi 5949AR=$ac_cv_prog_AR 5950if test -n "$AR"; then 5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5952$as_echo "$AR" >&6; } 5953else 5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5955$as_echo "no" >&6; } 5956fi 5957 5958 5959 test -n "$AR" && break 5960 done 5961fi 5962if test -z "$AR"; then 5963 ac_ct_AR=$AR 5964 for ac_prog in ar 5965do 5966 # Extract the first word of "$ac_prog", so it can be a program name with args. 5967set dummy $ac_prog; ac_word=$2 5968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5969$as_echo_n "checking for $ac_word... " >&6; } 5970if ${ac_cv_prog_ac_ct_AR+:} false; then : 5971 $as_echo_n "(cached) " >&6 5972else 5973 if test -n "$ac_ct_AR"; then 5974 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5975else 5976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5977for as_dir in $PATH 5978do 5979 IFS=$as_save_IFS 5980 test -z "$as_dir" && as_dir=. 5981 for ac_exec_ext in '' $ac_executable_extensions; do 5982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5983 ac_cv_prog_ac_ct_AR="$ac_prog" 5984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5985 break 2 5986 fi 5987done 5988 done 5989IFS=$as_save_IFS 5990 5991fi 5992fi 5993ac_ct_AR=$ac_cv_prog_ac_ct_AR 5994if test -n "$ac_ct_AR"; then 5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5996$as_echo "$ac_ct_AR" >&6; } 5997else 5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5999$as_echo "no" >&6; } 6000fi 6001 6002 6003 test -n "$ac_ct_AR" && break 6004done 6005 6006 if test "x$ac_ct_AR" = x; then 6007 AR="false" 6008 else 6009 case $cross_compiling:$ac_tool_warned in 6010yes:) 6011{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6012$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6013ac_tool_warned=yes ;; 6014esac 6015 AR=$ac_ct_AR 6016 fi 6017fi 6018 6019: ${AR=ar} 6020: ${AR_FLAGS=cru} 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6033$as_echo_n "checking for archiver @FILE support... " >&6; } 6034if ${lt_cv_ar_at_file+:} false; then : 6035 $as_echo_n "(cached) " >&6 6036else 6037 lt_cv_ar_at_file=no 6038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6039/* end confdefs.h. */ 6040 6041int 6042main () 6043{ 6044 6045 ; 6046 return 0; 6047} 6048_ACEOF 6049if ac_fn_c_try_compile "$LINENO"; then : 6050 echo conftest.$ac_objext > conftest.lst 6051 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6052 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6053 (eval $lt_ar_try) 2>&5 6054 ac_status=$? 6055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6056 test $ac_status = 0; } 6057 if test "$ac_status" -eq 0; then 6058 # Ensure the archiver fails upon bogus file names. 6059 rm -f conftest.$ac_objext libconftest.a 6060 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6061 (eval $lt_ar_try) 2>&5 6062 ac_status=$? 6063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6064 test $ac_status = 0; } 6065 if test "$ac_status" -ne 0; then 6066 lt_cv_ar_at_file=@ 6067 fi 6068 fi 6069 rm -f conftest.* libconftest.a 6070 6071fi 6072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6073 6074fi 6075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6076$as_echo "$lt_cv_ar_at_file" >&6; } 6077 6078if test "x$lt_cv_ar_at_file" = xno; then 6079 archiver_list_spec= 6080else 6081 archiver_list_spec=$lt_cv_ar_at_file 6082fi 6083 6084 6085 6086 6087 6088 6089 6090if test -n "$ac_tool_prefix"; then 6091 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6092set dummy ${ac_tool_prefix}strip; ac_word=$2 6093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6094$as_echo_n "checking for $ac_word... " >&6; } 6095if ${ac_cv_prog_STRIP+:} false; then : 6096 $as_echo_n "(cached) " >&6 6097else 6098 if test -n "$STRIP"; then 6099 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6100else 6101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6102for as_dir in $PATH 6103do 6104 IFS=$as_save_IFS 6105 test -z "$as_dir" && as_dir=. 6106 for ac_exec_ext in '' $ac_executable_extensions; do 6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6108 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6110 break 2 6111 fi 6112done 6113 done 6114IFS=$as_save_IFS 6115 6116fi 6117fi 6118STRIP=$ac_cv_prog_STRIP 6119if test -n "$STRIP"; then 6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6121$as_echo "$STRIP" >&6; } 6122else 6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6124$as_echo "no" >&6; } 6125fi 6126 6127 6128fi 6129if test -z "$ac_cv_prog_STRIP"; then 6130 ac_ct_STRIP=$STRIP 6131 # Extract the first word of "strip", so it can be a program name with args. 6132set dummy strip; ac_word=$2 6133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6134$as_echo_n "checking for $ac_word... " >&6; } 6135if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6136 $as_echo_n "(cached) " >&6 6137else 6138 if test -n "$ac_ct_STRIP"; then 6139 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6140else 6141as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6142for as_dir in $PATH 6143do 6144 IFS=$as_save_IFS 6145 test -z "$as_dir" && as_dir=. 6146 for ac_exec_ext in '' $ac_executable_extensions; do 6147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6148 ac_cv_prog_ac_ct_STRIP="strip" 6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6150 break 2 6151 fi 6152done 6153 done 6154IFS=$as_save_IFS 6155 6156fi 6157fi 6158ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6159if test -n "$ac_ct_STRIP"; then 6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6161$as_echo "$ac_ct_STRIP" >&6; } 6162else 6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6164$as_echo "no" >&6; } 6165fi 6166 6167 if test "x$ac_ct_STRIP" = x; then 6168 STRIP=":" 6169 else 6170 case $cross_compiling:$ac_tool_warned in 6171yes:) 6172{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6173$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6174ac_tool_warned=yes ;; 6175esac 6176 STRIP=$ac_ct_STRIP 6177 fi 6178else 6179 STRIP="$ac_cv_prog_STRIP" 6180fi 6181 6182test -z "$STRIP" && STRIP=: 6183 6184 6185 6186 6187 6188 6189if test -n "$ac_tool_prefix"; then 6190 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6191set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6193$as_echo_n "checking for $ac_word... " >&6; } 6194if ${ac_cv_prog_RANLIB+:} false; then : 6195 $as_echo_n "(cached) " >&6 6196else 6197 if test -n "$RANLIB"; then 6198 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6199else 6200as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6201for as_dir in $PATH 6202do 6203 IFS=$as_save_IFS 6204 test -z "$as_dir" && as_dir=. 6205 for ac_exec_ext in '' $ac_executable_extensions; do 6206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6207 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6209 break 2 6210 fi 6211done 6212 done 6213IFS=$as_save_IFS 6214 6215fi 6216fi 6217RANLIB=$ac_cv_prog_RANLIB 6218if test -n "$RANLIB"; then 6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6220$as_echo "$RANLIB" >&6; } 6221else 6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6223$as_echo "no" >&6; } 6224fi 6225 6226 6227fi 6228if test -z "$ac_cv_prog_RANLIB"; then 6229 ac_ct_RANLIB=$RANLIB 6230 # Extract the first word of "ranlib", so it can be a program name with args. 6231set dummy ranlib; ac_word=$2 6232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6233$as_echo_n "checking for $ac_word... " >&6; } 6234if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6235 $as_echo_n "(cached) " >&6 6236else 6237 if test -n "$ac_ct_RANLIB"; then 6238 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6239else 6240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6241for as_dir in $PATH 6242do 6243 IFS=$as_save_IFS 6244 test -z "$as_dir" && as_dir=. 6245 for ac_exec_ext in '' $ac_executable_extensions; do 6246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6247 ac_cv_prog_ac_ct_RANLIB="ranlib" 6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6249 break 2 6250 fi 6251done 6252 done 6253IFS=$as_save_IFS 6254 6255fi 6256fi 6257ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6258if test -n "$ac_ct_RANLIB"; then 6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6260$as_echo "$ac_ct_RANLIB" >&6; } 6261else 6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6263$as_echo "no" >&6; } 6264fi 6265 6266 if test "x$ac_ct_RANLIB" = x; then 6267 RANLIB=":" 6268 else 6269 case $cross_compiling:$ac_tool_warned in 6270yes:) 6271{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6272$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6273ac_tool_warned=yes ;; 6274esac 6275 RANLIB=$ac_ct_RANLIB 6276 fi 6277else 6278 RANLIB="$ac_cv_prog_RANLIB" 6279fi 6280 6281test -z "$RANLIB" && RANLIB=: 6282 6283 6284 6285 6286 6287 6288# Determine commands to create old-style static archives. 6289old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6290old_postinstall_cmds='chmod 644 $oldlib' 6291old_postuninstall_cmds= 6292 6293if test -n "$RANLIB"; then 6294 case $host_os in 6295 openbsd*) 6296 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6297 ;; 6298 *) 6299 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6300 ;; 6301 esac 6302 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6303fi 6304 6305case $host_os in 6306 darwin*) 6307 lock_old_archive_extraction=yes ;; 6308 *) 6309 lock_old_archive_extraction=no ;; 6310esac 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350# If no C compiler was specified, use CC. 6351LTCC=${LTCC-"$CC"} 6352 6353# If no C compiler flags were specified, use CFLAGS. 6354LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6355 6356# Allow CC to be a program name with arguments. 6357compiler=$CC 6358 6359 6360# Check for command to grab the raw symbol name followed by C symbol from nm. 6361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6362$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6363if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6364 $as_echo_n "(cached) " >&6 6365else 6366 6367# These are sane defaults that work on at least a few old systems. 6368# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6369 6370# Character class describing NM global symbol codes. 6371symcode='[BCDEGRST]' 6372 6373# Regexp to match symbols that can be accessed directly from C. 6374sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6375 6376# Define system-specific variables. 6377case $host_os in 6378aix*) 6379 symcode='[BCDT]' 6380 ;; 6381cygwin* | mingw* | pw32* | cegcc*) 6382 symcode='[ABCDGISTW]' 6383 ;; 6384hpux*) 6385 if test "$host_cpu" = ia64; then 6386 symcode='[ABCDEGRST]' 6387 fi 6388 ;; 6389irix* | nonstopux*) 6390 symcode='[BCDEGRST]' 6391 ;; 6392osf*) 6393 symcode='[BCDEGQRST]' 6394 ;; 6395solaris*) 6396 symcode='[BDRT]' 6397 ;; 6398sco3.2v5*) 6399 symcode='[DT]' 6400 ;; 6401sysv4.2uw2*) 6402 symcode='[DT]' 6403 ;; 6404sysv5* | sco5v6* | unixware* | OpenUNIX*) 6405 symcode='[ABDT]' 6406 ;; 6407sysv4) 6408 symcode='[DFNSTU]' 6409 ;; 6410esac 6411 6412# If we're using GNU nm, then use its standard symbol codes. 6413case `$NM -V 2>&1` in 6414*GNU* | *'with BFD'*) 6415 symcode='[ABCDGIRSTW]' ;; 6416esac 6417 6418# Transform an extracted symbol line into a proper C declaration. 6419# Some systems (esp. on ia64) link data and code symbols differently, 6420# so use this general approach. 6421lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6422 6423# Transform an extracted symbol line into symbol name and symbol address 6424lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6425lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 6426 6427# Handle CRLF in mingw tool chain 6428opt_cr= 6429case $build_os in 6430mingw*) 6431 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6432 ;; 6433esac 6434 6435# Try without a prefix underscore, then with it. 6436for ac_symprfx in "" "_"; do 6437 6438 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6439 symxfrm="\\1 $ac_symprfx\\2 \\2" 6440 6441 # Write the raw and C identifiers. 6442 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6443 # Fake it for dumpbin and say T for any non-static function 6444 # and D for any global variable. 6445 # Also find C++ and __fastcall symbols from MSVC++, 6446 # which start with @ or ?. 6447 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6448" {last_section=section; section=\$ 3};"\ 6449" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6450" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6451" \$ 0!~/External *\|/{next};"\ 6452" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6453" {if(hide[section]) next};"\ 6454" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6455" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6456" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6457" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6458" ' prfx=^$ac_symprfx" 6459 else 6460 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6461 fi 6462 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6463 6464 # Check to see that the pipe works correctly. 6465 pipe_works=no 6466 6467 rm -f conftest* 6468 cat > conftest.$ac_ext <<_LT_EOF 6469#ifdef __cplusplus 6470extern "C" { 6471#endif 6472char nm_test_var; 6473void nm_test_func(void); 6474void nm_test_func(void){} 6475#ifdef __cplusplus 6476} 6477#endif 6478int main(){nm_test_var='a';nm_test_func();return(0);} 6479_LT_EOF 6480 6481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6482 (eval $ac_compile) 2>&5 6483 ac_status=$? 6484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6485 test $ac_status = 0; }; then 6486 # Now try to grab the symbols. 6487 nlist=conftest.nm 6488 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6489 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6490 ac_status=$? 6491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6492 test $ac_status = 0; } && test -s "$nlist"; then 6493 # Try sorting and uniquifying the output. 6494 if sort "$nlist" | uniq > "$nlist"T; then 6495 mv -f "$nlist"T "$nlist" 6496 else 6497 rm -f "$nlist"T 6498 fi 6499 6500 # Make sure that we snagged all the symbols we need. 6501 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6502 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6503 cat <<_LT_EOF > conftest.$ac_ext 6504/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6505#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6506/* DATA imports from DLLs on WIN32 con't be const, because runtime 6507 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6508# define LT_DLSYM_CONST 6509#elif defined(__osf__) 6510/* This system does not cope well with relocations in const data. */ 6511# define LT_DLSYM_CONST 6512#else 6513# define LT_DLSYM_CONST const 6514#endif 6515 6516#ifdef __cplusplus 6517extern "C" { 6518#endif 6519 6520_LT_EOF 6521 # Now generate the symbol file. 6522 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6523 6524 cat <<_LT_EOF >> conftest.$ac_ext 6525 6526/* The mapping between symbol names and symbols. */ 6527LT_DLSYM_CONST struct { 6528 const char *name; 6529 void *address; 6530} 6531lt__PROGRAM__LTX_preloaded_symbols[] = 6532{ 6533 { "@PROGRAM@", (void *) 0 }, 6534_LT_EOF 6535 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6536 cat <<\_LT_EOF >> conftest.$ac_ext 6537 {0, (void *) 0} 6538}; 6539 6540/* This works around a problem in FreeBSD linker */ 6541#ifdef FREEBSD_WORKAROUND 6542static const void *lt_preloaded_setup() { 6543 return lt__PROGRAM__LTX_preloaded_symbols; 6544} 6545#endif 6546 6547#ifdef __cplusplus 6548} 6549#endif 6550_LT_EOF 6551 # Now try linking the two files. 6552 mv conftest.$ac_objext conftstm.$ac_objext 6553 lt_globsym_save_LIBS=$LIBS 6554 lt_globsym_save_CFLAGS=$CFLAGS 6555 LIBS="conftstm.$ac_objext" 6556 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6558 (eval $ac_link) 2>&5 6559 ac_status=$? 6560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6561 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6562 pipe_works=yes 6563 fi 6564 LIBS=$lt_globsym_save_LIBS 6565 CFLAGS=$lt_globsym_save_CFLAGS 6566 else 6567 echo "cannot find nm_test_func in $nlist" >&5 6568 fi 6569 else 6570 echo "cannot find nm_test_var in $nlist" >&5 6571 fi 6572 else 6573 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6574 fi 6575 else 6576 echo "$progname: failed program was:" >&5 6577 cat conftest.$ac_ext >&5 6578 fi 6579 rm -rf conftest* conftst* 6580 6581 # Do not use the global_symbol_pipe unless it works. 6582 if test "$pipe_works" = yes; then 6583 break 6584 else 6585 lt_cv_sys_global_symbol_pipe= 6586 fi 6587done 6588 6589fi 6590 6591if test -z "$lt_cv_sys_global_symbol_pipe"; then 6592 lt_cv_sys_global_symbol_to_cdecl= 6593fi 6594if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6596$as_echo "failed" >&6; } 6597else 6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6599$as_echo "ok" >&6; } 6600fi 6601 6602# Response file support. 6603if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6604 nm_file_list_spec='@' 6605elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6606 nm_file_list_spec='@' 6607fi 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6636$as_echo_n "checking for sysroot... " >&6; } 6637 6638# Check whether --with-sysroot was given. 6639if test "${with_sysroot+set}" = set; then : 6640 withval=$with_sysroot; 6641else 6642 with_sysroot=no 6643fi 6644 6645 6646lt_sysroot= 6647case ${with_sysroot} in #( 6648 yes) 6649 if test "$GCC" = yes; then 6650 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6651 fi 6652 ;; #( 6653 /*) 6654 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6655 ;; #( 6656 no|'') 6657 ;; #( 6658 *) 6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6660$as_echo "${with_sysroot}" >&6; } 6661 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6662 ;; 6663esac 6664 6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6666$as_echo "${lt_sysroot:-no}" >&6; } 6667 6668 6669 6670 6671 6672# Check whether --enable-libtool-lock was given. 6673if test "${enable_libtool_lock+set}" = set; then : 6674 enableval=$enable_libtool_lock; 6675fi 6676 6677test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6678 6679# Some flags need to be propagated to the compiler or linker for good 6680# libtool support. 6681case $host in 6682ia64-*-hpux*) 6683 # Find out which ABI we are using. 6684 echo 'int i;' > conftest.$ac_ext 6685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6686 (eval $ac_compile) 2>&5 6687 ac_status=$? 6688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6689 test $ac_status = 0; }; then 6690 case `/usr/bin/file conftest.$ac_objext` in 6691 *ELF-32*) 6692 HPUX_IA64_MODE="32" 6693 ;; 6694 *ELF-64*) 6695 HPUX_IA64_MODE="64" 6696 ;; 6697 esac 6698 fi 6699 rm -rf conftest* 6700 ;; 6701*-*-irix6*) 6702 # Find out which ABI we are using. 6703 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6705 (eval $ac_compile) 2>&5 6706 ac_status=$? 6707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6708 test $ac_status = 0; }; then 6709 if test "$lt_cv_prog_gnu_ld" = yes; then 6710 case `/usr/bin/file conftest.$ac_objext` in 6711 *32-bit*) 6712 LD="${LD-ld} -melf32bsmip" 6713 ;; 6714 *N32*) 6715 LD="${LD-ld} -melf32bmipn32" 6716 ;; 6717 *64-bit*) 6718 LD="${LD-ld} -melf64bmip" 6719 ;; 6720 esac 6721 else 6722 case `/usr/bin/file conftest.$ac_objext` in 6723 *32-bit*) 6724 LD="${LD-ld} -32" 6725 ;; 6726 *N32*) 6727 LD="${LD-ld} -n32" 6728 ;; 6729 *64-bit*) 6730 LD="${LD-ld} -64" 6731 ;; 6732 esac 6733 fi 6734 fi 6735 rm -rf conftest* 6736 ;; 6737 6738x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6739s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6740 # Find out which ABI we are using. 6741 echo 'int i;' > conftest.$ac_ext 6742 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6743 (eval $ac_compile) 2>&5 6744 ac_status=$? 6745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6746 test $ac_status = 0; }; then 6747 case `/usr/bin/file conftest.o` in 6748 *32-bit*) 6749 case $host in 6750 x86_64-*kfreebsd*-gnu) 6751 LD="${LD-ld} -m elf_i386_fbsd" 6752 ;; 6753 x86_64-*linux*) 6754 LD="${LD-ld} -m elf_i386" 6755 ;; 6756 powerpc64le-*linux*) 6757 LD="${LD-ld} -m elf32lppclinux" 6758 ;; 6759 powerpc64-*linux*) 6760 LD="${LD-ld} -m elf32ppclinux" 6761 ;; 6762 s390x-*linux*) 6763 LD="${LD-ld} -m elf_s390" 6764 ;; 6765 sparc64-*linux*) 6766 LD="${LD-ld} -m elf32_sparc" 6767 ;; 6768 esac 6769 ;; 6770 *64-bit*) 6771 case $host in 6772 x86_64-*kfreebsd*-gnu) 6773 LD="${LD-ld} -m elf_x86_64_fbsd" 6774 ;; 6775 x86_64-*linux*) 6776 LD="${LD-ld} -m elf_x86_64" 6777 ;; 6778 powerpcle-*linux*) 6779 LD="${LD-ld} -m elf64lppc" 6780 ;; 6781 powerpc-*linux*) 6782 LD="${LD-ld} -m elf64ppc" 6783 ;; 6784 s390*-*linux*|s390*-*tpf*) 6785 LD="${LD-ld} -m elf64_s390" 6786 ;; 6787 sparc*-*linux*) 6788 LD="${LD-ld} -m elf64_sparc" 6789 ;; 6790 esac 6791 ;; 6792 esac 6793 fi 6794 rm -rf conftest* 6795 ;; 6796 6797*-*-sco3.2v5*) 6798 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6799 SAVE_CFLAGS="$CFLAGS" 6800 CFLAGS="$CFLAGS -belf" 6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6802$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6803if ${lt_cv_cc_needs_belf+:} false; then : 6804 $as_echo_n "(cached) " >&6 6805else 6806 ac_ext=c 6807ac_cpp='$CPP $CPPFLAGS' 6808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6810ac_compiler_gnu=$ac_cv_c_compiler_gnu 6811 6812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6813/* end confdefs.h. */ 6814 6815int 6816main () 6817{ 6818 6819 ; 6820 return 0; 6821} 6822_ACEOF 6823if ac_fn_c_try_link "$LINENO"; then : 6824 lt_cv_cc_needs_belf=yes 6825else 6826 lt_cv_cc_needs_belf=no 6827fi 6828rm -f core conftest.err conftest.$ac_objext \ 6829 conftest$ac_exeext conftest.$ac_ext 6830 ac_ext=c 6831ac_cpp='$CPP $CPPFLAGS' 6832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6834ac_compiler_gnu=$ac_cv_c_compiler_gnu 6835 6836fi 6837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6838$as_echo "$lt_cv_cc_needs_belf" >&6; } 6839 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6840 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6841 CFLAGS="$SAVE_CFLAGS" 6842 fi 6843 ;; 6844*-*solaris*) 6845 # Find out which ABI we are using. 6846 echo 'int i;' > conftest.$ac_ext 6847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6848 (eval $ac_compile) 2>&5 6849 ac_status=$? 6850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6851 test $ac_status = 0; }; then 6852 case `/usr/bin/file conftest.o` in 6853 *64-bit*) 6854 case $lt_cv_prog_gnu_ld in 6855 yes*) 6856 case $host in 6857 i?86-*-solaris*) 6858 LD="${LD-ld} -m elf_x86_64" 6859 ;; 6860 sparc*-*-solaris*) 6861 LD="${LD-ld} -m elf64_sparc" 6862 ;; 6863 esac 6864 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6865 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6866 LD="${LD-ld}_sol2" 6867 fi 6868 ;; 6869 *) 6870 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6871 LD="${LD-ld} -64" 6872 fi 6873 ;; 6874 esac 6875 ;; 6876 esac 6877 fi 6878 rm -rf conftest* 6879 ;; 6880esac 6881 6882need_locks="$enable_libtool_lock" 6883 6884if test -n "$ac_tool_prefix"; then 6885 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6886set dummy ${ac_tool_prefix}mt; ac_word=$2 6887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6888$as_echo_n "checking for $ac_word... " >&6; } 6889if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6890 $as_echo_n "(cached) " >&6 6891else 6892 if test -n "$MANIFEST_TOOL"; then 6893 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6894else 6895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6896for as_dir in $PATH 6897do 6898 IFS=$as_save_IFS 6899 test -z "$as_dir" && as_dir=. 6900 for ac_exec_ext in '' $ac_executable_extensions; do 6901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6902 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6904 break 2 6905 fi 6906done 6907 done 6908IFS=$as_save_IFS 6909 6910fi 6911fi 6912MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6913if test -n "$MANIFEST_TOOL"; then 6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6915$as_echo "$MANIFEST_TOOL" >&6; } 6916else 6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6918$as_echo "no" >&6; } 6919fi 6920 6921 6922fi 6923if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6924 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6925 # Extract the first word of "mt", so it can be a program name with args. 6926set dummy mt; ac_word=$2 6927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6928$as_echo_n "checking for $ac_word... " >&6; } 6929if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6930 $as_echo_n "(cached) " >&6 6931else 6932 if test -n "$ac_ct_MANIFEST_TOOL"; then 6933 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6934else 6935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6936for as_dir in $PATH 6937do 6938 IFS=$as_save_IFS 6939 test -z "$as_dir" && as_dir=. 6940 for ac_exec_ext in '' $ac_executable_extensions; do 6941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6942 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6944 break 2 6945 fi 6946done 6947 done 6948IFS=$as_save_IFS 6949 6950fi 6951fi 6952ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6953if test -n "$ac_ct_MANIFEST_TOOL"; then 6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6955$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6956else 6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6958$as_echo "no" >&6; } 6959fi 6960 6961 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6962 MANIFEST_TOOL=":" 6963 else 6964 case $cross_compiling:$ac_tool_warned in 6965yes:) 6966{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6967$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6968ac_tool_warned=yes ;; 6969esac 6970 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6971 fi 6972else 6973 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6974fi 6975 6976test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6978$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6979if ${lt_cv_path_mainfest_tool+:} false; then : 6980 $as_echo_n "(cached) " >&6 6981else 6982 lt_cv_path_mainfest_tool=no 6983 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6984 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6985 cat conftest.err >&5 6986 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6987 lt_cv_path_mainfest_tool=yes 6988 fi 6989 rm -f conftest* 6990fi 6991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6992$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6993if test "x$lt_cv_path_mainfest_tool" != xyes; then 6994 MANIFEST_TOOL=: 6995fi 6996 6997 6998 6999 7000 7001 7002 case $host_os in 7003 rhapsody* | darwin*) 7004 if test -n "$ac_tool_prefix"; then 7005 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7006set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7008$as_echo_n "checking for $ac_word... " >&6; } 7009if ${ac_cv_prog_DSYMUTIL+:} false; then : 7010 $as_echo_n "(cached) " >&6 7011else 7012 if test -n "$DSYMUTIL"; then 7013 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7014else 7015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7016for as_dir in $PATH 7017do 7018 IFS=$as_save_IFS 7019 test -z "$as_dir" && as_dir=. 7020 for ac_exec_ext in '' $ac_executable_extensions; do 7021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7022 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7024 break 2 7025 fi 7026done 7027 done 7028IFS=$as_save_IFS 7029 7030fi 7031fi 7032DSYMUTIL=$ac_cv_prog_DSYMUTIL 7033if test -n "$DSYMUTIL"; then 7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7035$as_echo "$DSYMUTIL" >&6; } 7036else 7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7038$as_echo "no" >&6; } 7039fi 7040 7041 7042fi 7043if test -z "$ac_cv_prog_DSYMUTIL"; then 7044 ac_ct_DSYMUTIL=$DSYMUTIL 7045 # Extract the first word of "dsymutil", so it can be a program name with args. 7046set dummy dsymutil; ac_word=$2 7047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7048$as_echo_n "checking for $ac_word... " >&6; } 7049if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7050 $as_echo_n "(cached) " >&6 7051else 7052 if test -n "$ac_ct_DSYMUTIL"; then 7053 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7054else 7055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7056for as_dir in $PATH 7057do 7058 IFS=$as_save_IFS 7059 test -z "$as_dir" && as_dir=. 7060 for ac_exec_ext in '' $ac_executable_extensions; do 7061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7062 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7064 break 2 7065 fi 7066done 7067 done 7068IFS=$as_save_IFS 7069 7070fi 7071fi 7072ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7073if test -n "$ac_ct_DSYMUTIL"; then 7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7075$as_echo "$ac_ct_DSYMUTIL" >&6; } 7076else 7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7078$as_echo "no" >&6; } 7079fi 7080 7081 if test "x$ac_ct_DSYMUTIL" = x; then 7082 DSYMUTIL=":" 7083 else 7084 case $cross_compiling:$ac_tool_warned in 7085yes:) 7086{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7087$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7088ac_tool_warned=yes ;; 7089esac 7090 DSYMUTIL=$ac_ct_DSYMUTIL 7091 fi 7092else 7093 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7094fi 7095 7096 if test -n "$ac_tool_prefix"; then 7097 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7098set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7100$as_echo_n "checking for $ac_word... " >&6; } 7101if ${ac_cv_prog_NMEDIT+:} false; then : 7102 $as_echo_n "(cached) " >&6 7103else 7104 if test -n "$NMEDIT"; then 7105 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7106else 7107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7108for as_dir in $PATH 7109do 7110 IFS=$as_save_IFS 7111 test -z "$as_dir" && as_dir=. 7112 for ac_exec_ext in '' $ac_executable_extensions; do 7113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7114 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7116 break 2 7117 fi 7118done 7119 done 7120IFS=$as_save_IFS 7121 7122fi 7123fi 7124NMEDIT=$ac_cv_prog_NMEDIT 7125if test -n "$NMEDIT"; then 7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7127$as_echo "$NMEDIT" >&6; } 7128else 7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7130$as_echo "no" >&6; } 7131fi 7132 7133 7134fi 7135if test -z "$ac_cv_prog_NMEDIT"; then 7136 ac_ct_NMEDIT=$NMEDIT 7137 # Extract the first word of "nmedit", so it can be a program name with args. 7138set dummy nmedit; ac_word=$2 7139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7140$as_echo_n "checking for $ac_word... " >&6; } 7141if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7142 $as_echo_n "(cached) " >&6 7143else 7144 if test -n "$ac_ct_NMEDIT"; then 7145 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7146else 7147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7148for as_dir in $PATH 7149do 7150 IFS=$as_save_IFS 7151 test -z "$as_dir" && as_dir=. 7152 for ac_exec_ext in '' $ac_executable_extensions; do 7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7154 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7156 break 2 7157 fi 7158done 7159 done 7160IFS=$as_save_IFS 7161 7162fi 7163fi 7164ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7165if test -n "$ac_ct_NMEDIT"; then 7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7167$as_echo "$ac_ct_NMEDIT" >&6; } 7168else 7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7170$as_echo "no" >&6; } 7171fi 7172 7173 if test "x$ac_ct_NMEDIT" = x; then 7174 NMEDIT=":" 7175 else 7176 case $cross_compiling:$ac_tool_warned in 7177yes:) 7178{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7179$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7180ac_tool_warned=yes ;; 7181esac 7182 NMEDIT=$ac_ct_NMEDIT 7183 fi 7184else 7185 NMEDIT="$ac_cv_prog_NMEDIT" 7186fi 7187 7188 if test -n "$ac_tool_prefix"; then 7189 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7190set dummy ${ac_tool_prefix}lipo; ac_word=$2 7191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7192$as_echo_n "checking for $ac_word... " >&6; } 7193if ${ac_cv_prog_LIPO+:} false; then : 7194 $as_echo_n "(cached) " >&6 7195else 7196 if test -n "$LIPO"; then 7197 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7198else 7199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7200for as_dir in $PATH 7201do 7202 IFS=$as_save_IFS 7203 test -z "$as_dir" && as_dir=. 7204 for ac_exec_ext in '' $ac_executable_extensions; do 7205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7206 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7208 break 2 7209 fi 7210done 7211 done 7212IFS=$as_save_IFS 7213 7214fi 7215fi 7216LIPO=$ac_cv_prog_LIPO 7217if test -n "$LIPO"; then 7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7219$as_echo "$LIPO" >&6; } 7220else 7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7222$as_echo "no" >&6; } 7223fi 7224 7225 7226fi 7227if test -z "$ac_cv_prog_LIPO"; then 7228 ac_ct_LIPO=$LIPO 7229 # Extract the first word of "lipo", so it can be a program name with args. 7230set dummy lipo; ac_word=$2 7231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7232$as_echo_n "checking for $ac_word... " >&6; } 7233if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7234 $as_echo_n "(cached) " >&6 7235else 7236 if test -n "$ac_ct_LIPO"; then 7237 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7238else 7239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7240for as_dir in $PATH 7241do 7242 IFS=$as_save_IFS 7243 test -z "$as_dir" && as_dir=. 7244 for ac_exec_ext in '' $ac_executable_extensions; do 7245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7246 ac_cv_prog_ac_ct_LIPO="lipo" 7247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7248 break 2 7249 fi 7250done 7251 done 7252IFS=$as_save_IFS 7253 7254fi 7255fi 7256ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7257if test -n "$ac_ct_LIPO"; then 7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7259$as_echo "$ac_ct_LIPO" >&6; } 7260else 7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7262$as_echo "no" >&6; } 7263fi 7264 7265 if test "x$ac_ct_LIPO" = x; then 7266 LIPO=":" 7267 else 7268 case $cross_compiling:$ac_tool_warned in 7269yes:) 7270{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7271$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7272ac_tool_warned=yes ;; 7273esac 7274 LIPO=$ac_ct_LIPO 7275 fi 7276else 7277 LIPO="$ac_cv_prog_LIPO" 7278fi 7279 7280 if test -n "$ac_tool_prefix"; then 7281 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7282set dummy ${ac_tool_prefix}otool; ac_word=$2 7283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7284$as_echo_n "checking for $ac_word... " >&6; } 7285if ${ac_cv_prog_OTOOL+:} false; then : 7286 $as_echo_n "(cached) " >&6 7287else 7288 if test -n "$OTOOL"; then 7289 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7290else 7291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7292for as_dir in $PATH 7293do 7294 IFS=$as_save_IFS 7295 test -z "$as_dir" && as_dir=. 7296 for ac_exec_ext in '' $ac_executable_extensions; do 7297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7298 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7300 break 2 7301 fi 7302done 7303 done 7304IFS=$as_save_IFS 7305 7306fi 7307fi 7308OTOOL=$ac_cv_prog_OTOOL 7309if test -n "$OTOOL"; then 7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7311$as_echo "$OTOOL" >&6; } 7312else 7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7314$as_echo "no" >&6; } 7315fi 7316 7317 7318fi 7319if test -z "$ac_cv_prog_OTOOL"; then 7320 ac_ct_OTOOL=$OTOOL 7321 # Extract the first word of "otool", so it can be a program name with args. 7322set dummy otool; ac_word=$2 7323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7324$as_echo_n "checking for $ac_word... " >&6; } 7325if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7326 $as_echo_n "(cached) " >&6 7327else 7328 if test -n "$ac_ct_OTOOL"; then 7329 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7330else 7331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7332for as_dir in $PATH 7333do 7334 IFS=$as_save_IFS 7335 test -z "$as_dir" && as_dir=. 7336 for ac_exec_ext in '' $ac_executable_extensions; do 7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7338 ac_cv_prog_ac_ct_OTOOL="otool" 7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7340 break 2 7341 fi 7342done 7343 done 7344IFS=$as_save_IFS 7345 7346fi 7347fi 7348ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7349if test -n "$ac_ct_OTOOL"; then 7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7351$as_echo "$ac_ct_OTOOL" >&6; } 7352else 7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7354$as_echo "no" >&6; } 7355fi 7356 7357 if test "x$ac_ct_OTOOL" = x; then 7358 OTOOL=":" 7359 else 7360 case $cross_compiling:$ac_tool_warned in 7361yes:) 7362{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7363$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7364ac_tool_warned=yes ;; 7365esac 7366 OTOOL=$ac_ct_OTOOL 7367 fi 7368else 7369 OTOOL="$ac_cv_prog_OTOOL" 7370fi 7371 7372 if test -n "$ac_tool_prefix"; then 7373 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7374set dummy ${ac_tool_prefix}otool64; ac_word=$2 7375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7376$as_echo_n "checking for $ac_word... " >&6; } 7377if ${ac_cv_prog_OTOOL64+:} false; then : 7378 $as_echo_n "(cached) " >&6 7379else 7380 if test -n "$OTOOL64"; then 7381 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7382else 7383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7384for as_dir in $PATH 7385do 7386 IFS=$as_save_IFS 7387 test -z "$as_dir" && as_dir=. 7388 for ac_exec_ext in '' $ac_executable_extensions; do 7389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7390 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7392 break 2 7393 fi 7394done 7395 done 7396IFS=$as_save_IFS 7397 7398fi 7399fi 7400OTOOL64=$ac_cv_prog_OTOOL64 7401if test -n "$OTOOL64"; then 7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7403$as_echo "$OTOOL64" >&6; } 7404else 7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7406$as_echo "no" >&6; } 7407fi 7408 7409 7410fi 7411if test -z "$ac_cv_prog_OTOOL64"; then 7412 ac_ct_OTOOL64=$OTOOL64 7413 # Extract the first word of "otool64", so it can be a program name with args. 7414set dummy otool64; ac_word=$2 7415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7416$as_echo_n "checking for $ac_word... " >&6; } 7417if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7418 $as_echo_n "(cached) " >&6 7419else 7420 if test -n "$ac_ct_OTOOL64"; then 7421 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7422else 7423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7424for as_dir in $PATH 7425do 7426 IFS=$as_save_IFS 7427 test -z "$as_dir" && as_dir=. 7428 for ac_exec_ext in '' $ac_executable_extensions; do 7429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7430 ac_cv_prog_ac_ct_OTOOL64="otool64" 7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7432 break 2 7433 fi 7434done 7435 done 7436IFS=$as_save_IFS 7437 7438fi 7439fi 7440ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7441if test -n "$ac_ct_OTOOL64"; then 7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7443$as_echo "$ac_ct_OTOOL64" >&6; } 7444else 7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7446$as_echo "no" >&6; } 7447fi 7448 7449 if test "x$ac_ct_OTOOL64" = x; then 7450 OTOOL64=":" 7451 else 7452 case $cross_compiling:$ac_tool_warned in 7453yes:) 7454{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7455$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7456ac_tool_warned=yes ;; 7457esac 7458 OTOOL64=$ac_ct_OTOOL64 7459 fi 7460else 7461 OTOOL64="$ac_cv_prog_OTOOL64" 7462fi 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 7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7491$as_echo_n "checking for -single_module linker flag... " >&6; } 7492if ${lt_cv_apple_cc_single_mod+:} false; then : 7493 $as_echo_n "(cached) " >&6 7494else 7495 lt_cv_apple_cc_single_mod=no 7496 if test -z "${LT_MULTI_MODULE}"; then 7497 # By default we will add the -single_module flag. You can override 7498 # by either setting the environment variable LT_MULTI_MODULE 7499 # non-empty at configure time, or by adding -multi_module to the 7500 # link flags. 7501 rm -rf libconftest.dylib* 7502 echo "int foo(void){return 1;}" > conftest.c 7503 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7504-dynamiclib -Wl,-single_module conftest.c" >&5 7505 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7506 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7507 _lt_result=$? 7508 # If there is a non-empty error log, and "single_module" 7509 # appears in it, assume the flag caused a linker warning 7510 if test -s conftest.err && $GREP single_module conftest.err; then 7511 cat conftest.err >&5 7512 # Otherwise, if the output was created with a 0 exit code from 7513 # the compiler, it worked. 7514 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7515 lt_cv_apple_cc_single_mod=yes 7516 else 7517 cat conftest.err >&5 7518 fi 7519 rm -rf libconftest.dylib* 7520 rm -f conftest.* 7521 fi 7522fi 7523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7524$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7525 7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7527$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7528if ${lt_cv_ld_exported_symbols_list+:} false; then : 7529 $as_echo_n "(cached) " >&6 7530else 7531 lt_cv_ld_exported_symbols_list=no 7532 save_LDFLAGS=$LDFLAGS 7533 echo "_main" > conftest.sym 7534 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7536/* end confdefs.h. */ 7537 7538int 7539main () 7540{ 7541 7542 ; 7543 return 0; 7544} 7545_ACEOF 7546if ac_fn_c_try_link "$LINENO"; then : 7547 lt_cv_ld_exported_symbols_list=yes 7548else 7549 lt_cv_ld_exported_symbols_list=no 7550fi 7551rm -f core conftest.err conftest.$ac_objext \ 7552 conftest$ac_exeext conftest.$ac_ext 7553 LDFLAGS="$save_LDFLAGS" 7554 7555fi 7556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7557$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7558 7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7560$as_echo_n "checking for -force_load linker flag... " >&6; } 7561if ${lt_cv_ld_force_load+:} false; then : 7562 $as_echo_n "(cached) " >&6 7563else 7564 lt_cv_ld_force_load=no 7565 cat > conftest.c << _LT_EOF 7566int forced_loaded() { return 2;} 7567_LT_EOF 7568 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7569 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7570 echo "$AR cru libconftest.a conftest.o" >&5 7571 $AR cru libconftest.a conftest.o 2>&5 7572 echo "$RANLIB libconftest.a" >&5 7573 $RANLIB libconftest.a 2>&5 7574 cat > conftest.c << _LT_EOF 7575int main() { return 0;} 7576_LT_EOF 7577 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7578 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7579 _lt_result=$? 7580 if test -s conftest.err && $GREP force_load conftest.err; then 7581 cat conftest.err >&5 7582 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7583 lt_cv_ld_force_load=yes 7584 else 7585 cat conftest.err >&5 7586 fi 7587 rm -f conftest.err libconftest.a conftest conftest.c 7588 rm -rf conftest.dSYM 7589 7590fi 7591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7592$as_echo "$lt_cv_ld_force_load" >&6; } 7593 case $host_os in 7594 rhapsody* | darwin1.[012]) 7595 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7596 darwin1.*) 7597 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7598 darwin*) # darwin 5.x on 7599 # if running on 10.5 or later, the deployment target defaults 7600 # to the OS version, if on x86, and 10.4, the deployment 7601 # target defaults to 10.4. Don't you love it? 7602 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7603 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7604 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7605 10.[012]*) 7606 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7607 10.*) 7608 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7609 esac 7610 ;; 7611 esac 7612 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7613 _lt_dar_single_mod='$single_module' 7614 fi 7615 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7616 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7617 else 7618 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7619 fi 7620 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7621 _lt_dsymutil='~$DSYMUTIL $lib || :' 7622 else 7623 _lt_dsymutil= 7624 fi 7625 ;; 7626 esac 7627 7628# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7629for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7630 inttypes.h stdint.h unistd.h 7631do : 7632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7633ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7634" 7635if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7636 cat >>confdefs.h <<_ACEOF 7637#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7638_ACEOF 7639 7640fi 7641 7642done 7643 7644 7645for ac_header in dlfcn.h 7646do : 7647 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7648" 7649if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7650 cat >>confdefs.h <<_ACEOF 7651#define HAVE_DLFCN_H 1 7652_ACEOF 7653 7654fi 7655 7656done 7657 7658 7659 7660 7661 7662# Set options 7663 7664 7665 7666 enable_dlopen=no 7667 7668 7669 enable_win32_dll=no 7670 7671 7672 # Check whether --enable-shared was given. 7673if test "${enable_shared+set}" = set; then : 7674 enableval=$enable_shared; p=${PACKAGE-default} 7675 case $enableval in 7676 yes) enable_shared=yes ;; 7677 no) enable_shared=no ;; 7678 *) 7679 enable_shared=no 7680 # Look at the argument we got. We use all the common list separators. 7681 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7682 for pkg in $enableval; do 7683 IFS="$lt_save_ifs" 7684 if test "X$pkg" = "X$p"; then 7685 enable_shared=yes 7686 fi 7687 done 7688 IFS="$lt_save_ifs" 7689 ;; 7690 esac 7691else 7692 enable_shared=yes 7693fi 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 # Check whether --enable-static was given. 7704if test "${enable_static+set}" = set; then : 7705 enableval=$enable_static; p=${PACKAGE-default} 7706 case $enableval in 7707 yes) enable_static=yes ;; 7708 no) enable_static=no ;; 7709 *) 7710 enable_static=no 7711 # Look at the argument we got. We use all the common list separators. 7712 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7713 for pkg in $enableval; do 7714 IFS="$lt_save_ifs" 7715 if test "X$pkg" = "X$p"; then 7716 enable_static=yes 7717 fi 7718 done 7719 IFS="$lt_save_ifs" 7720 ;; 7721 esac 7722else 7723 enable_static=yes 7724fi 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735# Check whether --with-pic was given. 7736if test "${with_pic+set}" = set; then : 7737 withval=$with_pic; lt_p=${PACKAGE-default} 7738 case $withval in 7739 yes|no) pic_mode=$withval ;; 7740 *) 7741 pic_mode=default 7742 # Look at the argument we got. We use all the common list separators. 7743 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7744 for lt_pkg in $withval; do 7745 IFS="$lt_save_ifs" 7746 if test "X$lt_pkg" = "X$lt_p"; then 7747 pic_mode=yes 7748 fi 7749 done 7750 IFS="$lt_save_ifs" 7751 ;; 7752 esac 7753else 7754 pic_mode=default 7755fi 7756 7757 7758test -z "$pic_mode" && pic_mode=default 7759 7760 7761 7762 7763 7764 7765 7766 # Check whether --enable-fast-install was given. 7767if test "${enable_fast_install+set}" = set; then : 7768 enableval=$enable_fast_install; p=${PACKAGE-default} 7769 case $enableval in 7770 yes) enable_fast_install=yes ;; 7771 no) enable_fast_install=no ;; 7772 *) 7773 enable_fast_install=no 7774 # Look at the argument we got. We use all the common list separators. 7775 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7776 for pkg in $enableval; do 7777 IFS="$lt_save_ifs" 7778 if test "X$pkg" = "X$p"; then 7779 enable_fast_install=yes 7780 fi 7781 done 7782 IFS="$lt_save_ifs" 7783 ;; 7784 esac 7785else 7786 enable_fast_install=yes 7787fi 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799# This can be used to rebuild libtool when needed 7800LIBTOOL_DEPS="$ltmain" 7801 7802# Always use our own libtool. 7803LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834test -z "$LN_S" && LN_S="ln -s" 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849if test -n "${ZSH_VERSION+set}" ; then 7850 setopt NO_GLOB_SUBST 7851fi 7852 7853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7854$as_echo_n "checking for objdir... " >&6; } 7855if ${lt_cv_objdir+:} false; then : 7856 $as_echo_n "(cached) " >&6 7857else 7858 rm -f .libs 2>/dev/null 7859mkdir .libs 2>/dev/null 7860if test -d .libs; then 7861 lt_cv_objdir=.libs 7862else 7863 # MS-DOS does not allow filenames that begin with a dot. 7864 lt_cv_objdir=_libs 7865fi 7866rmdir .libs 2>/dev/null 7867fi 7868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7869$as_echo "$lt_cv_objdir" >&6; } 7870objdir=$lt_cv_objdir 7871 7872 7873 7874 7875 7876cat >>confdefs.h <<_ACEOF 7877#define LT_OBJDIR "$lt_cv_objdir/" 7878_ACEOF 7879 7880 7881 7882 7883case $host_os in 7884aix3*) 7885 # AIX sometimes has problems with the GCC collect2 program. For some 7886 # reason, if we set the COLLECT_NAMES environment variable, the problems 7887 # vanish in a puff of smoke. 7888 if test "X${COLLECT_NAMES+set}" != Xset; then 7889 COLLECT_NAMES= 7890 export COLLECT_NAMES 7891 fi 7892 ;; 7893esac 7894 7895# Global variables: 7896ofile=libtool 7897can_build_shared=yes 7898 7899# All known linkers require a `.a' archive for static linking (except MSVC, 7900# which needs '.lib'). 7901libext=a 7902 7903with_gnu_ld="$lt_cv_prog_gnu_ld" 7904 7905old_CC="$CC" 7906old_CFLAGS="$CFLAGS" 7907 7908# Set sane defaults for various variables 7909test -z "$CC" && CC=cc 7910test -z "$LTCC" && LTCC=$CC 7911test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7912test -z "$LD" && LD=ld 7913test -z "$ac_objext" && ac_objext=o 7914 7915for cc_temp in $compiler""; do 7916 case $cc_temp in 7917 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7918 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7919 \-*) ;; 7920 *) break;; 7921 esac 7922done 7923cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7924 7925 7926# Only perform the check for file, if the check method requires it 7927test -z "$MAGIC_CMD" && MAGIC_CMD=file 7928case $deplibs_check_method in 7929file_magic*) 7930 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7932$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7933if ${lt_cv_path_MAGIC_CMD+:} false; then : 7934 $as_echo_n "(cached) " >&6 7935else 7936 case $MAGIC_CMD in 7937[\\/*] | ?:[\\/]*) 7938 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7939 ;; 7940*) 7941 lt_save_MAGIC_CMD="$MAGIC_CMD" 7942 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7943 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7944 for ac_dir in $ac_dummy; do 7945 IFS="$lt_save_ifs" 7946 test -z "$ac_dir" && ac_dir=. 7947 if test -f $ac_dir/${ac_tool_prefix}file; then 7948 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7949 if test -n "$file_magic_test_file"; then 7950 case $deplibs_check_method in 7951 "file_magic "*) 7952 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7953 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7954 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7955 $EGREP "$file_magic_regex" > /dev/null; then 7956 : 7957 else 7958 cat <<_LT_EOF 1>&2 7959 7960*** Warning: the command libtool uses to detect shared libraries, 7961*** $file_magic_cmd, produces output that libtool cannot recognize. 7962*** The result is that libtool may fail to recognize shared libraries 7963*** as such. This will affect the creation of libtool libraries that 7964*** depend on shared libraries, but programs linked with such libtool 7965*** libraries will work regardless of this problem. Nevertheless, you 7966*** may want to report the problem to your system manager and/or to 7967*** bug-libtool@gnu.org 7968 7969_LT_EOF 7970 fi ;; 7971 esac 7972 fi 7973 break 7974 fi 7975 done 7976 IFS="$lt_save_ifs" 7977 MAGIC_CMD="$lt_save_MAGIC_CMD" 7978 ;; 7979esac 7980fi 7981 7982MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7983if test -n "$MAGIC_CMD"; then 7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7985$as_echo "$MAGIC_CMD" >&6; } 7986else 7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7988$as_echo "no" >&6; } 7989fi 7990 7991 7992 7993 7994 7995if test -z "$lt_cv_path_MAGIC_CMD"; then 7996 if test -n "$ac_tool_prefix"; then 7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7998$as_echo_n "checking for file... " >&6; } 7999if ${lt_cv_path_MAGIC_CMD+:} false; then : 8000 $as_echo_n "(cached) " >&6 8001else 8002 case $MAGIC_CMD in 8003[\\/*] | ?:[\\/]*) 8004 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8005 ;; 8006*) 8007 lt_save_MAGIC_CMD="$MAGIC_CMD" 8008 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8009 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8010 for ac_dir in $ac_dummy; do 8011 IFS="$lt_save_ifs" 8012 test -z "$ac_dir" && ac_dir=. 8013 if test -f $ac_dir/file; then 8014 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8015 if test -n "$file_magic_test_file"; then 8016 case $deplibs_check_method in 8017 "file_magic "*) 8018 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8019 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8020 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8021 $EGREP "$file_magic_regex" > /dev/null; then 8022 : 8023 else 8024 cat <<_LT_EOF 1>&2 8025 8026*** Warning: the command libtool uses to detect shared libraries, 8027*** $file_magic_cmd, produces output that libtool cannot recognize. 8028*** The result is that libtool may fail to recognize shared libraries 8029*** as such. This will affect the creation of libtool libraries that 8030*** depend on shared libraries, but programs linked with such libtool 8031*** libraries will work regardless of this problem. Nevertheless, you 8032*** may want to report the problem to your system manager and/or to 8033*** bug-libtool@gnu.org 8034 8035_LT_EOF 8036 fi ;; 8037 esac 8038 fi 8039 break 8040 fi 8041 done 8042 IFS="$lt_save_ifs" 8043 MAGIC_CMD="$lt_save_MAGIC_CMD" 8044 ;; 8045esac 8046fi 8047 8048MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8049if test -n "$MAGIC_CMD"; then 8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8051$as_echo "$MAGIC_CMD" >&6; } 8052else 8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8054$as_echo "no" >&6; } 8055fi 8056 8057 8058 else 8059 MAGIC_CMD=: 8060 fi 8061fi 8062 8063 fi 8064 ;; 8065esac 8066 8067# Use C for the default configuration in the libtool script 8068 8069lt_save_CC="$CC" 8070ac_ext=c 8071ac_cpp='$CPP $CPPFLAGS' 8072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8074ac_compiler_gnu=$ac_cv_c_compiler_gnu 8075 8076 8077# Source file extension for C test sources. 8078ac_ext=c 8079 8080# Object file extension for compiled C test sources. 8081objext=o 8082objext=$objext 8083 8084# Code to be used in simple compile tests 8085lt_simple_compile_test_code="int some_variable = 0;" 8086 8087# Code to be used in simple link tests 8088lt_simple_link_test_code='int main(){return(0);}' 8089 8090 8091 8092 8093 8094 8095 8096# If no C compiler was specified, use CC. 8097LTCC=${LTCC-"$CC"} 8098 8099# If no C compiler flags were specified, use CFLAGS. 8100LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8101 8102# Allow CC to be a program name with arguments. 8103compiler=$CC 8104 8105# Save the default compiler, since it gets overwritten when the other 8106# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8107compiler_DEFAULT=$CC 8108 8109# save warnings/boilerplate of simple test code 8110ac_outfile=conftest.$ac_objext 8111echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8112eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8113_lt_compiler_boilerplate=`cat conftest.err` 8114$RM conftest* 8115 8116ac_outfile=conftest.$ac_objext 8117echo "$lt_simple_link_test_code" >conftest.$ac_ext 8118eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8119_lt_linker_boilerplate=`cat conftest.err` 8120$RM -r conftest* 8121 8122 8123## CAVEAT EMPTOR: 8124## There is no encapsulation within the following macros, do not change 8125## the running order or otherwise move them around unless you know exactly 8126## what you are doing... 8127if test -n "$compiler"; then 8128 8129lt_prog_compiler_no_builtin_flag= 8130 8131if test "$GCC" = yes; then 8132 case $cc_basename in 8133 nvcc*) 8134 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8135 *) 8136 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8137 esac 8138 8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8140$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8141if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8142 $as_echo_n "(cached) " >&6 8143else 8144 lt_cv_prog_compiler_rtti_exceptions=no 8145 ac_outfile=conftest.$ac_objext 8146 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8147 lt_compiler_flag="-fno-rtti -fno-exceptions" 8148 # Insert the option either (1) after the last *FLAGS variable, or 8149 # (2) before a word containing "conftest.", or (3) at the end. 8150 # Note that $ac_compile itself does not contain backslashes and begins 8151 # with a dollar sign (not a hyphen), so the echo should work correctly. 8152 # The option is referenced via a variable to avoid confusing sed. 8153 lt_compile=`echo "$ac_compile" | $SED \ 8154 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8155 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8156 -e 's:$: $lt_compiler_flag:'` 8157 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8158 (eval "$lt_compile" 2>conftest.err) 8159 ac_status=$? 8160 cat conftest.err >&5 8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8162 if (exit $ac_status) && test -s "$ac_outfile"; then 8163 # The compiler can only warn and ignore the option if not recognized 8164 # So say no if there are warnings other than the usual output. 8165 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8166 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8167 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8168 lt_cv_prog_compiler_rtti_exceptions=yes 8169 fi 8170 fi 8171 $RM conftest* 8172 8173fi 8174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8175$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8176 8177if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8178 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8179else 8180 : 8181fi 8182 8183fi 8184 8185 8186 8187 8188 8189 8190 lt_prog_compiler_wl= 8191lt_prog_compiler_pic= 8192lt_prog_compiler_static= 8193 8194 8195 if test "$GCC" = yes; then 8196 lt_prog_compiler_wl='-Wl,' 8197 lt_prog_compiler_static='-static' 8198 8199 case $host_os in 8200 aix*) 8201 # All AIX code is PIC. 8202 if test "$host_cpu" = ia64; then 8203 # AIX 5 now supports IA64 processor 8204 lt_prog_compiler_static='-Bstatic' 8205 fi 8206 ;; 8207 8208 amigaos*) 8209 case $host_cpu in 8210 powerpc) 8211 # see comment about AmigaOS4 .so support 8212 lt_prog_compiler_pic='-fPIC' 8213 ;; 8214 m68k) 8215 # FIXME: we need at least 68020 code to build shared libraries, but 8216 # adding the `-m68020' flag to GCC prevents building anything better, 8217 # like `-m68040'. 8218 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8219 ;; 8220 esac 8221 ;; 8222 8223 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8224 # PIC is the default for these OSes. 8225 ;; 8226 8227 mingw* | cygwin* | pw32* | os2* | cegcc*) 8228 # This hack is so that the source file can tell whether it is being 8229 # built for inclusion in a dll (and should export symbols for example). 8230 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8231 # (--disable-auto-import) libraries 8232 lt_prog_compiler_pic='-DDLL_EXPORT' 8233 ;; 8234 8235 darwin* | rhapsody*) 8236 # PIC is the default on this platform 8237 # Common symbols not allowed in MH_DYLIB files 8238 lt_prog_compiler_pic='-fno-common' 8239 ;; 8240 8241 haiku*) 8242 # PIC is the default for Haiku. 8243 # The "-static" flag exists, but is broken. 8244 lt_prog_compiler_static= 8245 ;; 8246 8247 hpux*) 8248 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8249 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8250 # sets the default TLS model and affects inlining. 8251 case $host_cpu in 8252 hppa*64*) 8253 # +Z the default 8254 ;; 8255 *) 8256 lt_prog_compiler_pic='-fPIC' 8257 ;; 8258 esac 8259 ;; 8260 8261 interix[3-9]*) 8262 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8263 # Instead, we relocate shared libraries at runtime. 8264 ;; 8265 8266 msdosdjgpp*) 8267 # Just because we use GCC doesn't mean we suddenly get shared libraries 8268 # on systems that don't support them. 8269 lt_prog_compiler_can_build_shared=no 8270 enable_shared=no 8271 ;; 8272 8273 *nto* | *qnx*) 8274 # QNX uses GNU C++, but need to define -shared option too, otherwise 8275 # it will coredump. 8276 lt_prog_compiler_pic='-fPIC -shared' 8277 ;; 8278 8279 sysv4*MP*) 8280 if test -d /usr/nec; then 8281 lt_prog_compiler_pic=-Kconform_pic 8282 fi 8283 ;; 8284 8285 *) 8286 lt_prog_compiler_pic='-fPIC' 8287 ;; 8288 esac 8289 8290 case $cc_basename in 8291 nvcc*) # Cuda Compiler Driver 2.2 8292 lt_prog_compiler_wl='-Xlinker ' 8293 if test -n "$lt_prog_compiler_pic"; then 8294 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8295 fi 8296 ;; 8297 esac 8298 else 8299 # PORTME Check for flag to pass linker flags through the system compiler. 8300 case $host_os in 8301 aix*) 8302 lt_prog_compiler_wl='-Wl,' 8303 if test "$host_cpu" = ia64; then 8304 # AIX 5 now supports IA64 processor 8305 lt_prog_compiler_static='-Bstatic' 8306 else 8307 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8308 fi 8309 ;; 8310 8311 mingw* | cygwin* | pw32* | os2* | cegcc*) 8312 # This hack is so that the source file can tell whether it is being 8313 # built for inclusion in a dll (and should export symbols for example). 8314 lt_prog_compiler_pic='-DDLL_EXPORT' 8315 ;; 8316 8317 hpux9* | hpux10* | hpux11*) 8318 lt_prog_compiler_wl='-Wl,' 8319 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8320 # not for PA HP-UX. 8321 case $host_cpu in 8322 hppa*64*|ia64*) 8323 # +Z the default 8324 ;; 8325 *) 8326 lt_prog_compiler_pic='+Z' 8327 ;; 8328 esac 8329 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8330 lt_prog_compiler_static='${wl}-a ${wl}archive' 8331 ;; 8332 8333 irix5* | irix6* | nonstopux*) 8334 lt_prog_compiler_wl='-Wl,' 8335 # PIC (with -KPIC) is the default. 8336 lt_prog_compiler_static='-non_shared' 8337 ;; 8338 8339 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8340 case $cc_basename in 8341 # old Intel for x86_64 which still supported -KPIC. 8342 ecc*) 8343 lt_prog_compiler_wl='-Wl,' 8344 lt_prog_compiler_pic='-KPIC' 8345 lt_prog_compiler_static='-static' 8346 ;; 8347 # icc used to be incompatible with GCC. 8348 # ICC 10 doesn't accept -KPIC any more. 8349 icc* | ifort*) 8350 lt_prog_compiler_wl='-Wl,' 8351 lt_prog_compiler_pic='-fPIC' 8352 lt_prog_compiler_static='-static' 8353 ;; 8354 # Lahey Fortran 8.1. 8355 lf95*) 8356 lt_prog_compiler_wl='-Wl,' 8357 lt_prog_compiler_pic='--shared' 8358 lt_prog_compiler_static='--static' 8359 ;; 8360 nagfor*) 8361 # NAG Fortran compiler 8362 lt_prog_compiler_wl='-Wl,-Wl,,' 8363 lt_prog_compiler_pic='-PIC' 8364 lt_prog_compiler_static='-Bstatic' 8365 ;; 8366 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8367 # Portland Group compilers (*not* the Pentium gcc compiler, 8368 # which looks to be a dead project) 8369 lt_prog_compiler_wl='-Wl,' 8370 lt_prog_compiler_pic='-fpic' 8371 lt_prog_compiler_static='-Bstatic' 8372 ;; 8373 ccc*) 8374 lt_prog_compiler_wl='-Wl,' 8375 # All Alpha code is PIC. 8376 lt_prog_compiler_static='-non_shared' 8377 ;; 8378 xl* | bgxl* | bgf* | mpixl*) 8379 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8380 lt_prog_compiler_wl='-Wl,' 8381 lt_prog_compiler_pic='-qpic' 8382 lt_prog_compiler_static='-qstaticlink' 8383 ;; 8384 *) 8385 case `$CC -V 2>&1 | sed 5q` in 8386 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8387 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8388 lt_prog_compiler_pic='-KPIC' 8389 lt_prog_compiler_static='-Bstatic' 8390 lt_prog_compiler_wl='' 8391 ;; 8392 *Sun\ F* | *Sun*Fortran*) 8393 lt_prog_compiler_pic='-KPIC' 8394 lt_prog_compiler_static='-Bstatic' 8395 lt_prog_compiler_wl='-Qoption ld ' 8396 ;; 8397 *Sun\ C*) 8398 # Sun C 5.9 8399 lt_prog_compiler_pic='-KPIC' 8400 lt_prog_compiler_static='-Bstatic' 8401 lt_prog_compiler_wl='-Wl,' 8402 ;; 8403 *Intel*\ [CF]*Compiler*) 8404 lt_prog_compiler_wl='-Wl,' 8405 lt_prog_compiler_pic='-fPIC' 8406 lt_prog_compiler_static='-static' 8407 ;; 8408 *Portland\ Group*) 8409 lt_prog_compiler_wl='-Wl,' 8410 lt_prog_compiler_pic='-fpic' 8411 lt_prog_compiler_static='-Bstatic' 8412 ;; 8413 esac 8414 ;; 8415 esac 8416 ;; 8417 8418 newsos6) 8419 lt_prog_compiler_pic='-KPIC' 8420 lt_prog_compiler_static='-Bstatic' 8421 ;; 8422 8423 *nto* | *qnx*) 8424 # QNX uses GNU C++, but need to define -shared option too, otherwise 8425 # it will coredump. 8426 lt_prog_compiler_pic='-fPIC -shared' 8427 ;; 8428 8429 osf3* | osf4* | osf5*) 8430 lt_prog_compiler_wl='-Wl,' 8431 # All OSF/1 code is PIC. 8432 lt_prog_compiler_static='-non_shared' 8433 ;; 8434 8435 rdos*) 8436 lt_prog_compiler_static='-non_shared' 8437 ;; 8438 8439 solaris*) 8440 lt_prog_compiler_pic='-KPIC' 8441 lt_prog_compiler_static='-Bstatic' 8442 case $cc_basename in 8443 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8444 lt_prog_compiler_wl='-Qoption ld ';; 8445 *) 8446 lt_prog_compiler_wl='-Wl,';; 8447 esac 8448 ;; 8449 8450 sunos4*) 8451 lt_prog_compiler_wl='-Qoption ld ' 8452 lt_prog_compiler_pic='-PIC' 8453 lt_prog_compiler_static='-Bstatic' 8454 ;; 8455 8456 sysv4 | sysv4.2uw2* | sysv4.3*) 8457 lt_prog_compiler_wl='-Wl,' 8458 lt_prog_compiler_pic='-KPIC' 8459 lt_prog_compiler_static='-Bstatic' 8460 ;; 8461 8462 sysv4*MP*) 8463 if test -d /usr/nec ;then 8464 lt_prog_compiler_pic='-Kconform_pic' 8465 lt_prog_compiler_static='-Bstatic' 8466 fi 8467 ;; 8468 8469 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8470 lt_prog_compiler_wl='-Wl,' 8471 lt_prog_compiler_pic='-KPIC' 8472 lt_prog_compiler_static='-Bstatic' 8473 ;; 8474 8475 unicos*) 8476 lt_prog_compiler_wl='-Wl,' 8477 lt_prog_compiler_can_build_shared=no 8478 ;; 8479 8480 uts4*) 8481 lt_prog_compiler_pic='-pic' 8482 lt_prog_compiler_static='-Bstatic' 8483 ;; 8484 8485 *) 8486 lt_prog_compiler_can_build_shared=no 8487 ;; 8488 esac 8489 fi 8490 8491case $host_os in 8492 # For platforms which do not support PIC, -DPIC is meaningless: 8493 *djgpp*) 8494 lt_prog_compiler_pic= 8495 ;; 8496 *) 8497 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8498 ;; 8499esac 8500 8501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8502$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8503if ${lt_cv_prog_compiler_pic+:} false; then : 8504 $as_echo_n "(cached) " >&6 8505else 8506 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8507fi 8508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8509$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8510lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8511 8512# 8513# Check to make sure the PIC flag actually works. 8514# 8515if test -n "$lt_prog_compiler_pic"; then 8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8517$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8518if ${lt_cv_prog_compiler_pic_works+:} false; then : 8519 $as_echo_n "(cached) " >&6 8520else 8521 lt_cv_prog_compiler_pic_works=no 8522 ac_outfile=conftest.$ac_objext 8523 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8524 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8525 # Insert the option either (1) after the last *FLAGS variable, or 8526 # (2) before a word containing "conftest.", or (3) at the end. 8527 # Note that $ac_compile itself does not contain backslashes and begins 8528 # with a dollar sign (not a hyphen), so the echo should work correctly. 8529 # The option is referenced via a variable to avoid confusing sed. 8530 lt_compile=`echo "$ac_compile" | $SED \ 8531 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8532 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8533 -e 's:$: $lt_compiler_flag:'` 8534 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8535 (eval "$lt_compile" 2>conftest.err) 8536 ac_status=$? 8537 cat conftest.err >&5 8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8539 if (exit $ac_status) && test -s "$ac_outfile"; then 8540 # The compiler can only warn and ignore the option if not recognized 8541 # So say no if there are warnings other than the usual output. 8542 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8543 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8544 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8545 lt_cv_prog_compiler_pic_works=yes 8546 fi 8547 fi 8548 $RM conftest* 8549 8550fi 8551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8552$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8553 8554if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8555 case $lt_prog_compiler_pic in 8556 "" | " "*) ;; 8557 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8558 esac 8559else 8560 lt_prog_compiler_pic= 8561 lt_prog_compiler_can_build_shared=no 8562fi 8563 8564fi 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576# 8577# Check to make sure the static flag actually works. 8578# 8579wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8581$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8582if ${lt_cv_prog_compiler_static_works+:} false; then : 8583 $as_echo_n "(cached) " >&6 8584else 8585 lt_cv_prog_compiler_static_works=no 8586 save_LDFLAGS="$LDFLAGS" 8587 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8588 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8589 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8590 # The linker can only warn and ignore the option if not recognized 8591 # So say no if there are warnings 8592 if test -s conftest.err; then 8593 # Append any errors to the config.log. 8594 cat conftest.err 1>&5 8595 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8596 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8597 if diff conftest.exp conftest.er2 >/dev/null; then 8598 lt_cv_prog_compiler_static_works=yes 8599 fi 8600 else 8601 lt_cv_prog_compiler_static_works=yes 8602 fi 8603 fi 8604 $RM -r conftest* 8605 LDFLAGS="$save_LDFLAGS" 8606 8607fi 8608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8609$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8610 8611if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8612 : 8613else 8614 lt_prog_compiler_static= 8615fi 8616 8617 8618 8619 8620 8621 8622 8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8624$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8625if ${lt_cv_prog_compiler_c_o+:} false; then : 8626 $as_echo_n "(cached) " >&6 8627else 8628 lt_cv_prog_compiler_c_o=no 8629 $RM -r conftest 2>/dev/null 8630 mkdir conftest 8631 cd conftest 8632 mkdir out 8633 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8634 8635 lt_compiler_flag="-o out/conftest2.$ac_objext" 8636 # Insert the option either (1) after the last *FLAGS variable, or 8637 # (2) before a word containing "conftest.", or (3) at the end. 8638 # Note that $ac_compile itself does not contain backslashes and begins 8639 # with a dollar sign (not a hyphen), so the echo should work correctly. 8640 lt_compile=`echo "$ac_compile" | $SED \ 8641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8643 -e 's:$: $lt_compiler_flag:'` 8644 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8645 (eval "$lt_compile" 2>out/conftest.err) 8646 ac_status=$? 8647 cat out/conftest.err >&5 8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8649 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8650 then 8651 # The compiler can only warn and ignore the option if not recognized 8652 # So say no if there are warnings 8653 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8654 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8655 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8656 lt_cv_prog_compiler_c_o=yes 8657 fi 8658 fi 8659 chmod u+w . 2>&5 8660 $RM conftest* 8661 # SGI C++ compiler will create directory out/ii_files/ for 8662 # template instantiation 8663 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8664 $RM out/* && rmdir out 8665 cd .. 8666 $RM -r conftest 8667 $RM conftest* 8668 8669fi 8670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8671$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8672 8673 8674 8675 8676 8677 8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8679$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8680if ${lt_cv_prog_compiler_c_o+:} false; then : 8681 $as_echo_n "(cached) " >&6 8682else 8683 lt_cv_prog_compiler_c_o=no 8684 $RM -r conftest 2>/dev/null 8685 mkdir conftest 8686 cd conftest 8687 mkdir out 8688 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8689 8690 lt_compiler_flag="-o out/conftest2.$ac_objext" 8691 # Insert the option either (1) after the last *FLAGS variable, or 8692 # (2) before a word containing "conftest.", or (3) at the end. 8693 # Note that $ac_compile itself does not contain backslashes and begins 8694 # with a dollar sign (not a hyphen), so the echo should work correctly. 8695 lt_compile=`echo "$ac_compile" | $SED \ 8696 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8697 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8698 -e 's:$: $lt_compiler_flag:'` 8699 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8700 (eval "$lt_compile" 2>out/conftest.err) 8701 ac_status=$? 8702 cat out/conftest.err >&5 8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8704 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8705 then 8706 # The compiler can only warn and ignore the option if not recognized 8707 # So say no if there are warnings 8708 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8709 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8710 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8711 lt_cv_prog_compiler_c_o=yes 8712 fi 8713 fi 8714 chmod u+w . 2>&5 8715 $RM conftest* 8716 # SGI C++ compiler will create directory out/ii_files/ for 8717 # template instantiation 8718 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8719 $RM out/* && rmdir out 8720 cd .. 8721 $RM -r conftest 8722 $RM conftest* 8723 8724fi 8725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8726$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8727 8728 8729 8730 8731hard_links="nottested" 8732if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8733 # do not overwrite the value of need_locks provided by the user 8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8735$as_echo_n "checking if we can lock with hard links... " >&6; } 8736 hard_links=yes 8737 $RM conftest* 8738 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8739 touch conftest.a 8740 ln conftest.a conftest.b 2>&5 || hard_links=no 8741 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8743$as_echo "$hard_links" >&6; } 8744 if test "$hard_links" = no; then 8745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8746$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8747 need_locks=warn 8748 fi 8749else 8750 need_locks=no 8751fi 8752 8753 8754 8755 8756 8757 8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8759$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8760 8761 runpath_var= 8762 allow_undefined_flag= 8763 always_export_symbols=no 8764 archive_cmds= 8765 archive_expsym_cmds= 8766 compiler_needs_object=no 8767 enable_shared_with_static_runtimes=no 8768 export_dynamic_flag_spec= 8769 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8770 hardcode_automatic=no 8771 hardcode_direct=no 8772 hardcode_direct_absolute=no 8773 hardcode_libdir_flag_spec= 8774 hardcode_libdir_separator= 8775 hardcode_minus_L=no 8776 hardcode_shlibpath_var=unsupported 8777 inherit_rpath=no 8778 link_all_deplibs=unknown 8779 module_cmds= 8780 module_expsym_cmds= 8781 old_archive_from_new_cmds= 8782 old_archive_from_expsyms_cmds= 8783 thread_safe_flag_spec= 8784 whole_archive_flag_spec= 8785 # include_expsyms should be a list of space-separated symbols to be *always* 8786 # included in the symbol list 8787 include_expsyms= 8788 # exclude_expsyms can be an extended regexp of symbols to exclude 8789 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8790 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8791 # as well as any symbol that contains `d'. 8792 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8793 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8794 # platforms (ab)use it in PIC code, but their linkers get confused if 8795 # the symbol is explicitly referenced. Since portable code cannot 8796 # rely on this symbol name, it's probably fine to never include it in 8797 # preloaded symbol tables. 8798 # Exclude shared library initialization/finalization symbols. 8799 extract_expsyms_cmds= 8800 8801 case $host_os in 8802 cygwin* | mingw* | pw32* | cegcc*) 8803 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8804 # When not using gcc, we currently assume that we are using 8805 # Microsoft Visual C++. 8806 if test "$GCC" != yes; then 8807 with_gnu_ld=no 8808 fi 8809 ;; 8810 interix*) 8811 # we just hope/assume this is gcc and not c89 (= MSVC++) 8812 with_gnu_ld=yes 8813 ;; 8814 openbsd*) 8815 with_gnu_ld=no 8816 ;; 8817 esac 8818 8819 ld_shlibs=yes 8820 8821 # On some targets, GNU ld is compatible enough with the native linker 8822 # that we're better off using the native interface for both. 8823 lt_use_gnu_ld_interface=no 8824 if test "$with_gnu_ld" = yes; then 8825 case $host_os in 8826 aix*) 8827 # The AIX port of GNU ld has always aspired to compatibility 8828 # with the native linker. However, as the warning in the GNU ld 8829 # block says, versions before 2.19.5* couldn't really create working 8830 # shared libraries, regardless of the interface used. 8831 case `$LD -v 2>&1` in 8832 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8833 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8834 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8835 *) 8836 lt_use_gnu_ld_interface=yes 8837 ;; 8838 esac 8839 ;; 8840 *) 8841 lt_use_gnu_ld_interface=yes 8842 ;; 8843 esac 8844 fi 8845 8846 if test "$lt_use_gnu_ld_interface" = yes; then 8847 # If archive_cmds runs LD, not CC, wlarc should be empty 8848 wlarc='${wl}' 8849 8850 # Set some defaults for GNU ld with shared library support. These 8851 # are reset later if shared libraries are not supported. Putting them 8852 # here allows them to be overridden if necessary. 8853 runpath_var=LD_RUN_PATH 8854 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8855 export_dynamic_flag_spec='${wl}--export-dynamic' 8856 # ancient GNU ld didn't support --whole-archive et. al. 8857 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8858 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8859 else 8860 whole_archive_flag_spec= 8861 fi 8862 supports_anon_versioning=no 8863 case `$LD -v 2>&1` in 8864 *GNU\ gold*) supports_anon_versioning=yes ;; 8865 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8866 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8867 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8868 *\ 2.11.*) ;; # other 2.11 versions 8869 *) supports_anon_versioning=yes ;; 8870 esac 8871 8872 # See if GNU ld supports shared libraries. 8873 case $host_os in 8874 aix[3-9]*) 8875 # On AIX/PPC, the GNU linker is very broken 8876 if test "$host_cpu" != ia64; then 8877 ld_shlibs=no 8878 cat <<_LT_EOF 1>&2 8879 8880*** Warning: the GNU linker, at least up to release 2.19, is reported 8881*** to be unable to reliably create shared libraries on AIX. 8882*** Therefore, libtool is disabling shared libraries support. If you 8883*** really care for shared libraries, you may want to install binutils 8884*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8885*** You will then need to restart the configuration process. 8886 8887_LT_EOF 8888 fi 8889 ;; 8890 8891 amigaos*) 8892 case $host_cpu in 8893 powerpc) 8894 # see comment about AmigaOS4 .so support 8895 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8896 archive_expsym_cmds='' 8897 ;; 8898 m68k) 8899 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)' 8900 hardcode_libdir_flag_spec='-L$libdir' 8901 hardcode_minus_L=yes 8902 ;; 8903 esac 8904 ;; 8905 8906 beos*) 8907 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8908 allow_undefined_flag=unsupported 8909 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8910 # support --undefined. This deserves some investigation. FIXME 8911 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8912 else 8913 ld_shlibs=no 8914 fi 8915 ;; 8916 8917 cygwin* | mingw* | pw32* | cegcc*) 8918 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8919 # as there is no search path for DLLs. 8920 hardcode_libdir_flag_spec='-L$libdir' 8921 export_dynamic_flag_spec='${wl}--export-all-symbols' 8922 allow_undefined_flag=unsupported 8923 always_export_symbols=no 8924 enable_shared_with_static_runtimes=yes 8925 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' 8926 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8927 8928 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8929 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8930 # If the export-symbols file already is a .def file (1st line 8931 # is EXPORTS), use it as is; otherwise, prepend... 8932 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8933 cp $export_symbols $output_objdir/$soname.def; 8934 else 8935 echo EXPORTS > $output_objdir/$soname.def; 8936 cat $export_symbols >> $output_objdir/$soname.def; 8937 fi~ 8938 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8939 else 8940 ld_shlibs=no 8941 fi 8942 ;; 8943 8944 haiku*) 8945 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8946 link_all_deplibs=yes 8947 ;; 8948 8949 interix[3-9]*) 8950 hardcode_direct=no 8951 hardcode_shlibpath_var=no 8952 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8953 export_dynamic_flag_spec='${wl}-E' 8954 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8955 # Instead, shared libraries are loaded at an image base (0x10000000 by 8956 # default) and relocated if they conflict, which is a slow very memory 8957 # consuming and fragmenting process. To avoid this, we pick a random, 8958 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8959 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8960 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8961 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' 8962 ;; 8963 8964 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8965 tmp_diet=no 8966 if test "$host_os" = linux-dietlibc; then 8967 case $cc_basename in 8968 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8969 esac 8970 fi 8971 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8972 && test "$tmp_diet" = no 8973 then 8974 tmp_addflag=' $pic_flag' 8975 tmp_sharedflag='-shared' 8976 case $cc_basename,$host_cpu in 8977 pgcc*) # Portland Group C compiler 8978 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' 8979 tmp_addflag=' $pic_flag' 8980 ;; 8981 pgf77* | pgf90* | pgf95* | pgfortran*) 8982 # Portland Group f77 and f90 compilers 8983 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' 8984 tmp_addflag=' $pic_flag -Mnomain' ;; 8985 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8986 tmp_addflag=' -i_dynamic' ;; 8987 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8988 tmp_addflag=' -i_dynamic -nofor_main' ;; 8989 ifc* | ifort*) # Intel Fortran compiler 8990 tmp_addflag=' -nofor_main' ;; 8991 lf95*) # Lahey Fortran 8.1 8992 whole_archive_flag_spec= 8993 tmp_sharedflag='--shared' ;; 8994 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8995 tmp_sharedflag='-qmkshrobj' 8996 tmp_addflag= ;; 8997 nvcc*) # Cuda Compiler Driver 2.2 8998 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' 8999 compiler_needs_object=yes 9000 ;; 9001 esac 9002 case `$CC -V 2>&1 | sed 5q` in 9003 *Sun\ C*) # Sun C 5.9 9004 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' 9005 compiler_needs_object=yes 9006 tmp_sharedflag='-G' ;; 9007 *Sun\ F*) # Sun Fortran 8.3 9008 tmp_sharedflag='-G' ;; 9009 esac 9010 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9011 9012 if test "x$supports_anon_versioning" = xyes; then 9013 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9014 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9015 echo "local: *; };" >> $output_objdir/$libname.ver~ 9016 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9017 fi 9018 9019 case $cc_basename in 9020 xlf* | bgf* | bgxlf* | mpixlf*) 9021 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9022 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9023 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9024 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9025 if test "x$supports_anon_versioning" = xyes; then 9026 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9027 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9028 echo "local: *; };" >> $output_objdir/$libname.ver~ 9029 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9030 fi 9031 ;; 9032 esac 9033 else 9034 ld_shlibs=no 9035 fi 9036 ;; 9037 9038 netbsd*) 9039 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9040 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9041 wlarc= 9042 else 9043 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9044 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9045 fi 9046 ;; 9047 9048 solaris*) 9049 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9050 ld_shlibs=no 9051 cat <<_LT_EOF 1>&2 9052 9053*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9054*** create shared libraries on Solaris systems. Therefore, libtool 9055*** is disabling shared libraries support. We urge you to upgrade GNU 9056*** binutils to release 2.9.1 or newer. Another option is to modify 9057*** your PATH or compiler configuration so that the native linker is 9058*** used, and then restart. 9059 9060_LT_EOF 9061 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9062 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9063 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9064 else 9065 ld_shlibs=no 9066 fi 9067 ;; 9068 9069 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9070 case `$LD -v 2>&1` in 9071 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9072 ld_shlibs=no 9073 cat <<_LT_EOF 1>&2 9074 9075*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9076*** reliably create shared libraries on SCO systems. Therefore, libtool 9077*** is disabling shared libraries support. We urge you to upgrade GNU 9078*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9079*** your PATH or compiler configuration so that the native linker is 9080*** used, and then restart. 9081 9082_LT_EOF 9083 ;; 9084 *) 9085 # For security reasons, it is highly recommended that you always 9086 # use absolute paths for naming shared libraries, and exclude the 9087 # DT_RUNPATH tag from executables and libraries. But doing so 9088 # requires that you compile everything twice, which is a pain. 9089 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9090 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9091 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9092 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9093 else 9094 ld_shlibs=no 9095 fi 9096 ;; 9097 esac 9098 ;; 9099 9100 sunos4*) 9101 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9102 wlarc= 9103 hardcode_direct=yes 9104 hardcode_shlibpath_var=no 9105 ;; 9106 9107 *) 9108 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9109 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9110 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9111 else 9112 ld_shlibs=no 9113 fi 9114 ;; 9115 esac 9116 9117 if test "$ld_shlibs" = no; then 9118 runpath_var= 9119 hardcode_libdir_flag_spec= 9120 export_dynamic_flag_spec= 9121 whole_archive_flag_spec= 9122 fi 9123 else 9124 # PORTME fill in a description of your system's linker (not GNU ld) 9125 case $host_os in 9126 aix3*) 9127 allow_undefined_flag=unsupported 9128 always_export_symbols=yes 9129 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' 9130 # Note: this linker hardcodes the directories in LIBPATH if there 9131 # are no directories specified by -L. 9132 hardcode_minus_L=yes 9133 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9134 # Neither direct hardcoding nor static linking is supported with a 9135 # broken collect2. 9136 hardcode_direct=unsupported 9137 fi 9138 ;; 9139 9140 aix[4-9]*) 9141 if test "$host_cpu" = ia64; then 9142 # On IA64, the linker does run time linking by default, so we don't 9143 # have to do anything special. 9144 aix_use_runtimelinking=no 9145 exp_sym_flag='-Bexport' 9146 no_entry_flag="" 9147 else 9148 # If we're using GNU nm, then we don't want the "-C" option. 9149 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9150 # Also, AIX nm treats weak defined symbols like other global 9151 # defined symbols, whereas GNU nm marks them as "W". 9152 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9153 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9154 else 9155 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9156 fi 9157 aix_use_runtimelinking=no 9158 9159 # Test if we are trying to use run time linking or normal 9160 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9161 # need to do runtime linking. 9162 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9163 for ld_flag in $LDFLAGS; do 9164 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9165 aix_use_runtimelinking=yes 9166 break 9167 fi 9168 done 9169 ;; 9170 esac 9171 9172 exp_sym_flag='-bexport' 9173 no_entry_flag='-bnoentry' 9174 fi 9175 9176 # When large executables or shared objects are built, AIX ld can 9177 # have problems creating the table of contents. If linking a library 9178 # or program results in "error TOC overflow" add -mminimal-toc to 9179 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9180 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9181 9182 archive_cmds='' 9183 hardcode_direct=yes 9184 hardcode_direct_absolute=yes 9185 hardcode_libdir_separator=':' 9186 link_all_deplibs=yes 9187 file_list_spec='${wl}-f,' 9188 9189 if test "$GCC" = yes; then 9190 case $host_os in aix4.[012]|aix4.[012].*) 9191 # We only want to do this on AIX 4.2 and lower, the check 9192 # below for broken collect2 doesn't work under 4.3+ 9193 collect2name=`${CC} -print-prog-name=collect2` 9194 if test -f "$collect2name" && 9195 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9196 then 9197 # We have reworked collect2 9198 : 9199 else 9200 # We have old collect2 9201 hardcode_direct=unsupported 9202 # It fails to find uninstalled libraries when the uninstalled 9203 # path is not listed in the libpath. Setting hardcode_minus_L 9204 # to unsupported forces relinking 9205 hardcode_minus_L=yes 9206 hardcode_libdir_flag_spec='-L$libdir' 9207 hardcode_libdir_separator= 9208 fi 9209 ;; 9210 esac 9211 shared_flag='-shared' 9212 if test "$aix_use_runtimelinking" = yes; then 9213 shared_flag="$shared_flag "'${wl}-G' 9214 fi 9215 else 9216 # not using gcc 9217 if test "$host_cpu" = ia64; then 9218 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9219 # chokes on -Wl,-G. The following line is correct: 9220 shared_flag='-G' 9221 else 9222 if test "$aix_use_runtimelinking" = yes; then 9223 shared_flag='${wl}-G' 9224 else 9225 shared_flag='${wl}-bM:SRE' 9226 fi 9227 fi 9228 fi 9229 9230 export_dynamic_flag_spec='${wl}-bexpall' 9231 # It seems that -bexpall does not export symbols beginning with 9232 # underscore (_), so it is better to generate a list of symbols to export. 9233 always_export_symbols=yes 9234 if test "$aix_use_runtimelinking" = yes; then 9235 # Warning - without using the other runtime loading flags (-brtl), 9236 # -berok will link without error, but may produce a broken library. 9237 allow_undefined_flag='-berok' 9238 # Determine the default libpath from the value encoded in an 9239 # empty executable. 9240 if test "${lt_cv_aix_libpath+set}" = set; then 9241 aix_libpath=$lt_cv_aix_libpath 9242else 9243 if ${lt_cv_aix_libpath_+:} false; then : 9244 $as_echo_n "(cached) " >&6 9245else 9246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9247/* end confdefs.h. */ 9248 9249int 9250main () 9251{ 9252 9253 ; 9254 return 0; 9255} 9256_ACEOF 9257if ac_fn_c_try_link "$LINENO"; then : 9258 9259 lt_aix_libpath_sed=' 9260 /Import File Strings/,/^$/ { 9261 /^0/ { 9262 s/^0 *\([^ ]*\) *$/\1/ 9263 p 9264 } 9265 }' 9266 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9267 # Check for a 64-bit object if we didn't find anything. 9268 if test -z "$lt_cv_aix_libpath_"; then 9269 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9270 fi 9271fi 9272rm -f core conftest.err conftest.$ac_objext \ 9273 conftest$ac_exeext conftest.$ac_ext 9274 if test -z "$lt_cv_aix_libpath_"; then 9275 lt_cv_aix_libpath_="/usr/lib:/lib" 9276 fi 9277 9278fi 9279 9280 aix_libpath=$lt_cv_aix_libpath_ 9281fi 9282 9283 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9284 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9285 else 9286 if test "$host_cpu" = ia64; then 9287 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9288 allow_undefined_flag="-z nodefs" 9289 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" 9290 else 9291 # Determine the default libpath from the value encoded in an 9292 # empty executable. 9293 if test "${lt_cv_aix_libpath+set}" = set; then 9294 aix_libpath=$lt_cv_aix_libpath 9295else 9296 if ${lt_cv_aix_libpath_+:} false; then : 9297 $as_echo_n "(cached) " >&6 9298else 9299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9300/* end confdefs.h. */ 9301 9302int 9303main () 9304{ 9305 9306 ; 9307 return 0; 9308} 9309_ACEOF 9310if ac_fn_c_try_link "$LINENO"; then : 9311 9312 lt_aix_libpath_sed=' 9313 /Import File Strings/,/^$/ { 9314 /^0/ { 9315 s/^0 *\([^ ]*\) *$/\1/ 9316 p 9317 } 9318 }' 9319 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9320 # Check for a 64-bit object if we didn't find anything. 9321 if test -z "$lt_cv_aix_libpath_"; then 9322 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9323 fi 9324fi 9325rm -f core conftest.err conftest.$ac_objext \ 9326 conftest$ac_exeext conftest.$ac_ext 9327 if test -z "$lt_cv_aix_libpath_"; then 9328 lt_cv_aix_libpath_="/usr/lib:/lib" 9329 fi 9330 9331fi 9332 9333 aix_libpath=$lt_cv_aix_libpath_ 9334fi 9335 9336 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9337 # Warning - without using the other run time loading flags, 9338 # -berok will link without error, but may produce a broken library. 9339 no_undefined_flag=' ${wl}-bernotok' 9340 allow_undefined_flag=' ${wl}-berok' 9341 if test "$with_gnu_ld" = yes; then 9342 # We only use this code for GNU lds that support --whole-archive. 9343 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9344 else 9345 # Exported symbols can be pulled into shared objects from archives 9346 whole_archive_flag_spec='$convenience' 9347 fi 9348 archive_cmds_need_lc=yes 9349 # This is similar to how AIX traditionally builds its shared libraries. 9350 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 9351 fi 9352 fi 9353 ;; 9354 9355 amigaos*) 9356 case $host_cpu in 9357 powerpc) 9358 # see comment about AmigaOS4 .so support 9359 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9360 archive_expsym_cmds='' 9361 ;; 9362 m68k) 9363 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)' 9364 hardcode_libdir_flag_spec='-L$libdir' 9365 hardcode_minus_L=yes 9366 ;; 9367 esac 9368 ;; 9369 9370 bsdi[45]*) 9371 export_dynamic_flag_spec=-rdynamic 9372 ;; 9373 9374 cygwin* | mingw* | pw32* | cegcc*) 9375 # When not using gcc, we currently assume that we are using 9376 # Microsoft Visual C++. 9377 # hardcode_libdir_flag_spec is actually meaningless, as there is 9378 # no search path for DLLs. 9379 case $cc_basename in 9380 cl*) 9381 # Native MSVC 9382 hardcode_libdir_flag_spec=' ' 9383 allow_undefined_flag=unsupported 9384 always_export_symbols=yes 9385 file_list_spec='@' 9386 # Tell ltmain to make .lib files, not .a files. 9387 libext=lib 9388 # Tell ltmain to make .dll files, not .so files. 9389 shrext_cmds=".dll" 9390 # FIXME: Setting linknames here is a bad hack. 9391 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9392 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9393 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9394 else 9395 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9396 fi~ 9397 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9398 linknames=' 9399 # The linker will not automatically build a static lib if we build a DLL. 9400 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9401 enable_shared_with_static_runtimes=yes 9402 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9403 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9404 # Don't use ranlib 9405 old_postinstall_cmds='chmod 644 $oldlib' 9406 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9407 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9408 case $lt_outputfile in 9409 *.exe|*.EXE) ;; 9410 *) 9411 lt_outputfile="$lt_outputfile.exe" 9412 lt_tool_outputfile="$lt_tool_outputfile.exe" 9413 ;; 9414 esac~ 9415 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9416 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9417 $RM "$lt_outputfile.manifest"; 9418 fi' 9419 ;; 9420 *) 9421 # Assume MSVC wrapper 9422 hardcode_libdir_flag_spec=' ' 9423 allow_undefined_flag=unsupported 9424 # Tell ltmain to make .lib files, not .a files. 9425 libext=lib 9426 # Tell ltmain to make .dll files, not .so files. 9427 shrext_cmds=".dll" 9428 # FIXME: Setting linknames here is a bad hack. 9429 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9430 # The linker will automatically build a .lib file if we build a DLL. 9431 old_archive_from_new_cmds='true' 9432 # FIXME: Should let the user specify the lib program. 9433 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9434 enable_shared_with_static_runtimes=yes 9435 ;; 9436 esac 9437 ;; 9438 9439 darwin* | rhapsody*) 9440 9441 9442 archive_cmds_need_lc=no 9443 hardcode_direct=no 9444 hardcode_automatic=yes 9445 hardcode_shlibpath_var=unsupported 9446 if test "$lt_cv_ld_force_load" = "yes"; then 9447 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\"`' 9448 9449 else 9450 whole_archive_flag_spec='' 9451 fi 9452 link_all_deplibs=yes 9453 allow_undefined_flag="$_lt_dar_allow_undefined" 9454 case $cc_basename in 9455 ifort*) _lt_dar_can_shared=yes ;; 9456 *) _lt_dar_can_shared=$GCC ;; 9457 esac 9458 if test "$_lt_dar_can_shared" = "yes"; then 9459 output_verbose_link_cmd=func_echo_all 9460 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9461 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9462 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}" 9463 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}" 9464 9465 else 9466 ld_shlibs=no 9467 fi 9468 9469 ;; 9470 9471 dgux*) 9472 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9473 hardcode_libdir_flag_spec='-L$libdir' 9474 hardcode_shlibpath_var=no 9475 ;; 9476 9477 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9478 # support. Future versions do this automatically, but an explicit c++rt0.o 9479 # does not break anything, and helps significantly (at the cost of a little 9480 # extra space). 9481 freebsd2.2*) 9482 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9483 hardcode_libdir_flag_spec='-R$libdir' 9484 hardcode_direct=yes 9485 hardcode_shlibpath_var=no 9486 ;; 9487 9488 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9489 freebsd2.*) 9490 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9491 hardcode_direct=yes 9492 hardcode_minus_L=yes 9493 hardcode_shlibpath_var=no 9494 ;; 9495 9496 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9497 freebsd* | dragonfly*) 9498 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9499 hardcode_libdir_flag_spec='-R$libdir' 9500 hardcode_direct=yes 9501 hardcode_shlibpath_var=no 9502 ;; 9503 9504 hpux9*) 9505 if test "$GCC" = yes; then 9506 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9507 else 9508 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9509 fi 9510 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9511 hardcode_libdir_separator=: 9512 hardcode_direct=yes 9513 9514 # hardcode_minus_L: Not really in the search PATH, 9515 # but as the default location of the library. 9516 hardcode_minus_L=yes 9517 export_dynamic_flag_spec='${wl}-E' 9518 ;; 9519 9520 hpux10*) 9521 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9522 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9523 else 9524 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9525 fi 9526 if test "$with_gnu_ld" = no; then 9527 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9528 hardcode_libdir_separator=: 9529 hardcode_direct=yes 9530 hardcode_direct_absolute=yes 9531 export_dynamic_flag_spec='${wl}-E' 9532 # hardcode_minus_L: Not really in the search PATH, 9533 # but as the default location of the library. 9534 hardcode_minus_L=yes 9535 fi 9536 ;; 9537 9538 hpux11*) 9539 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9540 case $host_cpu in 9541 hppa*64*) 9542 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9543 ;; 9544 ia64*) 9545 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9546 ;; 9547 *) 9548 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9549 ;; 9550 esac 9551 else 9552 case $host_cpu in 9553 hppa*64*) 9554 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9555 ;; 9556 ia64*) 9557 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9558 ;; 9559 *) 9560 9561 # Older versions of the 11.00 compiler do not understand -b yet 9562 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9564$as_echo_n "checking if $CC understands -b... " >&6; } 9565if ${lt_cv_prog_compiler__b+:} false; then : 9566 $as_echo_n "(cached) " >&6 9567else 9568 lt_cv_prog_compiler__b=no 9569 save_LDFLAGS="$LDFLAGS" 9570 LDFLAGS="$LDFLAGS -b" 9571 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9572 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9573 # The linker can only warn and ignore the option if not recognized 9574 # So say no if there are warnings 9575 if test -s conftest.err; then 9576 # Append any errors to the config.log. 9577 cat conftest.err 1>&5 9578 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9579 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9580 if diff conftest.exp conftest.er2 >/dev/null; then 9581 lt_cv_prog_compiler__b=yes 9582 fi 9583 else 9584 lt_cv_prog_compiler__b=yes 9585 fi 9586 fi 9587 $RM -r conftest* 9588 LDFLAGS="$save_LDFLAGS" 9589 9590fi 9591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9592$as_echo "$lt_cv_prog_compiler__b" >&6; } 9593 9594if test x"$lt_cv_prog_compiler__b" = xyes; then 9595 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9596else 9597 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9598fi 9599 9600 ;; 9601 esac 9602 fi 9603 if test "$with_gnu_ld" = no; then 9604 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9605 hardcode_libdir_separator=: 9606 9607 case $host_cpu in 9608 hppa*64*|ia64*) 9609 hardcode_direct=no 9610 hardcode_shlibpath_var=no 9611 ;; 9612 *) 9613 hardcode_direct=yes 9614 hardcode_direct_absolute=yes 9615 export_dynamic_flag_spec='${wl}-E' 9616 9617 # hardcode_minus_L: Not really in the search PATH, 9618 # but as the default location of the library. 9619 hardcode_minus_L=yes 9620 ;; 9621 esac 9622 fi 9623 ;; 9624 9625 irix5* | irix6* | nonstopux*) 9626 if test "$GCC" = yes; then 9627 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' 9628 # Try to use the -exported_symbol ld option, if it does not 9629 # work, assume that -exports_file does not work either and 9630 # implicitly export all symbols. 9631 # This should be the same for all languages, so no per-tag cache variable. 9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9633$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9634if ${lt_cv_irix_exported_symbol+:} false; then : 9635 $as_echo_n "(cached) " >&6 9636else 9637 save_LDFLAGS="$LDFLAGS" 9638 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9640/* end confdefs.h. */ 9641int foo (void) { return 0; } 9642_ACEOF 9643if ac_fn_c_try_link "$LINENO"; then : 9644 lt_cv_irix_exported_symbol=yes 9645else 9646 lt_cv_irix_exported_symbol=no 9647fi 9648rm -f core conftest.err conftest.$ac_objext \ 9649 conftest$ac_exeext conftest.$ac_ext 9650 LDFLAGS="$save_LDFLAGS" 9651fi 9652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9653$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9654 if test "$lt_cv_irix_exported_symbol" = yes; then 9655 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' 9656 fi 9657 else 9658 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' 9659 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' 9660 fi 9661 archive_cmds_need_lc='no' 9662 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9663 hardcode_libdir_separator=: 9664 inherit_rpath=yes 9665 link_all_deplibs=yes 9666 ;; 9667 9668 netbsd*) 9669 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9670 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9671 else 9672 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9673 fi 9674 hardcode_libdir_flag_spec='-R$libdir' 9675 hardcode_direct=yes 9676 hardcode_shlibpath_var=no 9677 ;; 9678 9679 newsos6) 9680 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9681 hardcode_direct=yes 9682 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9683 hardcode_libdir_separator=: 9684 hardcode_shlibpath_var=no 9685 ;; 9686 9687 *nto* | *qnx*) 9688 ;; 9689 9690 openbsd*) 9691 if test -f /usr/libexec/ld.so; then 9692 hardcode_direct=yes 9693 hardcode_shlibpath_var=no 9694 hardcode_direct_absolute=yes 9695 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9696 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9697 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9698 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9699 export_dynamic_flag_spec='${wl}-E' 9700 else 9701 case $host_os in 9702 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9703 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9704 hardcode_libdir_flag_spec='-R$libdir' 9705 ;; 9706 *) 9707 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9708 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9709 ;; 9710 esac 9711 fi 9712 else 9713 ld_shlibs=no 9714 fi 9715 ;; 9716 9717 os2*) 9718 hardcode_libdir_flag_spec='-L$libdir' 9719 hardcode_minus_L=yes 9720 allow_undefined_flag=unsupported 9721 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 9722 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9723 ;; 9724 9725 osf3*) 9726 if test "$GCC" = yes; then 9727 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9728 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' 9729 else 9730 allow_undefined_flag=' -expect_unresolved \*' 9731 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' 9732 fi 9733 archive_cmds_need_lc='no' 9734 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9735 hardcode_libdir_separator=: 9736 ;; 9737 9738 osf4* | osf5*) # as osf3* with the addition of -msym flag 9739 if test "$GCC" = yes; then 9740 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9741 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' 9742 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9743 else 9744 allow_undefined_flag=' -expect_unresolved \*' 9745 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' 9746 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~ 9747 $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' 9748 9749 # Both c and cxx compiler support -rpath directly 9750 hardcode_libdir_flag_spec='-rpath $libdir' 9751 fi 9752 archive_cmds_need_lc='no' 9753 hardcode_libdir_separator=: 9754 ;; 9755 9756 solaris*) 9757 no_undefined_flag=' -z defs' 9758 if test "$GCC" = yes; then 9759 wlarc='${wl}' 9760 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9761 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9762 $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' 9763 else 9764 case `$CC -V 2>&1` in 9765 *"Compilers 5.0"*) 9766 wlarc='' 9767 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9768 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9769 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9770 ;; 9771 *) 9772 wlarc='${wl}' 9773 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9774 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9775 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9776 ;; 9777 esac 9778 fi 9779 hardcode_libdir_flag_spec='-R$libdir' 9780 hardcode_shlibpath_var=no 9781 case $host_os in 9782 solaris2.[0-5] | solaris2.[0-5].*) ;; 9783 *) 9784 # The compiler driver will combine and reorder linker options, 9785 # but understands `-z linker_flag'. GCC discards it without `$wl', 9786 # but is careful enough not to reorder. 9787 # Supported since Solaris 2.6 (maybe 2.5.1?) 9788 if test "$GCC" = yes; then 9789 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9790 else 9791 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9792 fi 9793 ;; 9794 esac 9795 link_all_deplibs=yes 9796 ;; 9797 9798 sunos4*) 9799 if test "x$host_vendor" = xsequent; then 9800 # Use $CC to link under sequent, because it throws in some extra .o 9801 # files that make .init and .fini sections work. 9802 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9803 else 9804 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9805 fi 9806 hardcode_libdir_flag_spec='-L$libdir' 9807 hardcode_direct=yes 9808 hardcode_minus_L=yes 9809 hardcode_shlibpath_var=no 9810 ;; 9811 9812 sysv4) 9813 case $host_vendor in 9814 sni) 9815 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9816 hardcode_direct=yes # is this really true??? 9817 ;; 9818 siemens) 9819 ## LD is ld it makes a PLAMLIB 9820 ## CC just makes a GrossModule. 9821 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9822 reload_cmds='$CC -r -o $output$reload_objs' 9823 hardcode_direct=no 9824 ;; 9825 motorola) 9826 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9827 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9828 ;; 9829 esac 9830 runpath_var='LD_RUN_PATH' 9831 hardcode_shlibpath_var=no 9832 ;; 9833 9834 sysv4.3*) 9835 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9836 hardcode_shlibpath_var=no 9837 export_dynamic_flag_spec='-Bexport' 9838 ;; 9839 9840 sysv4*MP*) 9841 if test -d /usr/nec; then 9842 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9843 hardcode_shlibpath_var=no 9844 runpath_var=LD_RUN_PATH 9845 hardcode_runpath_var=yes 9846 ld_shlibs=yes 9847 fi 9848 ;; 9849 9850 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9851 no_undefined_flag='${wl}-z,text' 9852 archive_cmds_need_lc=no 9853 hardcode_shlibpath_var=no 9854 runpath_var='LD_RUN_PATH' 9855 9856 if test "$GCC" = yes; then 9857 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9858 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9859 else 9860 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9861 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9862 fi 9863 ;; 9864 9865 sysv5* | sco3.2v5* | sco5v6*) 9866 # Note: We can NOT use -z defs as we might desire, because we do not 9867 # link with -lc, and that would cause any symbols used from libc to 9868 # always be unresolved, which means just about no library would 9869 # ever link correctly. If we're not using GNU ld we use -z text 9870 # though, which does catch some bad symbols but isn't as heavy-handed 9871 # as -z defs. 9872 no_undefined_flag='${wl}-z,text' 9873 allow_undefined_flag='${wl}-z,nodefs' 9874 archive_cmds_need_lc=no 9875 hardcode_shlibpath_var=no 9876 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9877 hardcode_libdir_separator=':' 9878 link_all_deplibs=yes 9879 export_dynamic_flag_spec='${wl}-Bexport' 9880 runpath_var='LD_RUN_PATH' 9881 9882 if test "$GCC" = yes; then 9883 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9884 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9885 else 9886 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9887 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9888 fi 9889 ;; 9890 9891 uts4*) 9892 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9893 hardcode_libdir_flag_spec='-L$libdir' 9894 hardcode_shlibpath_var=no 9895 ;; 9896 9897 *) 9898 ld_shlibs=no 9899 ;; 9900 esac 9901 9902 if test x$host_vendor = xsni; then 9903 case $host in 9904 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9905 export_dynamic_flag_spec='${wl}-Blargedynsym' 9906 ;; 9907 esac 9908 fi 9909 fi 9910 9911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9912$as_echo "$ld_shlibs" >&6; } 9913test "$ld_shlibs" = no && can_build_shared=no 9914 9915with_gnu_ld=$with_gnu_ld 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931# 9932# Do we need to explicitly link libc? 9933# 9934case "x$archive_cmds_need_lc" in 9935x|xyes) 9936 # Assume -lc should be added 9937 archive_cmds_need_lc=yes 9938 9939 if test "$enable_shared" = yes && test "$GCC" = yes; then 9940 case $archive_cmds in 9941 *'~'*) 9942 # FIXME: we may have to deal with multi-command sequences. 9943 ;; 9944 '$CC '*) 9945 # Test whether the compiler implicitly links with -lc since on some 9946 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9947 # to ld, don't add -lc before -lgcc. 9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9949$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9950if ${lt_cv_archive_cmds_need_lc+:} false; then : 9951 $as_echo_n "(cached) " >&6 9952else 9953 $RM conftest* 9954 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9955 9956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9957 (eval $ac_compile) 2>&5 9958 ac_status=$? 9959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9960 test $ac_status = 0; } 2>conftest.err; then 9961 soname=conftest 9962 lib=conftest 9963 libobjs=conftest.$ac_objext 9964 deplibs= 9965 wl=$lt_prog_compiler_wl 9966 pic_flag=$lt_prog_compiler_pic 9967 compiler_flags=-v 9968 linker_flags=-v 9969 verstring= 9970 output_objdir=. 9971 libname=conftest 9972 lt_save_allow_undefined_flag=$allow_undefined_flag 9973 allow_undefined_flag= 9974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9975 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9976 ac_status=$? 9977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9978 test $ac_status = 0; } 9979 then 9980 lt_cv_archive_cmds_need_lc=no 9981 else 9982 lt_cv_archive_cmds_need_lc=yes 9983 fi 9984 allow_undefined_flag=$lt_save_allow_undefined_flag 9985 else 9986 cat conftest.err 1>&5 9987 fi 9988 $RM conftest* 9989 9990fi 9991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9992$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9993 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9994 ;; 9995 esac 9996 fi 9997 ;; 9998esac 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10152$as_echo_n "checking dynamic linker characteristics... " >&6; } 10153 10154if test "$GCC" = yes; then 10155 case $host_os in 10156 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10157 *) lt_awk_arg="/^libraries:/" ;; 10158 esac 10159 case $host_os in 10160 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10161 *) lt_sed_strip_eq="s,=/,/,g" ;; 10162 esac 10163 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10164 case $lt_search_path_spec in 10165 *\;*) 10166 # if the path contains ";" then we assume it to be the separator 10167 # otherwise default to the standard path separator (i.e. ":") - it is 10168 # assumed that no part of a normal pathname contains ";" but that should 10169 # okay in the real world where ";" in dirpaths is itself problematic. 10170 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10171 ;; 10172 *) 10173 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10174 ;; 10175 esac 10176 # Ok, now we have the path, separated by spaces, we can step through it 10177 # and add multilib dir if necessary. 10178 lt_tmp_lt_search_path_spec= 10179 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10180 for lt_sys_path in $lt_search_path_spec; do 10181 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10182 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10183 else 10184 test -d "$lt_sys_path" && \ 10185 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10186 fi 10187 done 10188 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10189BEGIN {RS=" "; FS="/|\n";} { 10190 lt_foo=""; 10191 lt_count=0; 10192 for (lt_i = NF; lt_i > 0; lt_i--) { 10193 if ($lt_i != "" && $lt_i != ".") { 10194 if ($lt_i == "..") { 10195 lt_count++; 10196 } else { 10197 if (lt_count == 0) { 10198 lt_foo="/" $lt_i lt_foo; 10199 } else { 10200 lt_count--; 10201 } 10202 } 10203 } 10204 } 10205 if (lt_foo != "") { lt_freq[lt_foo]++; } 10206 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10207}'` 10208 # AWK program above erroneously prepends '/' to C:/dos/paths 10209 # for these hosts. 10210 case $host_os in 10211 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10212 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10213 esac 10214 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10215else 10216 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10217fi 10218library_names_spec= 10219libname_spec='lib$name' 10220soname_spec= 10221shrext_cmds=".so" 10222postinstall_cmds= 10223postuninstall_cmds= 10224finish_cmds= 10225finish_eval= 10226shlibpath_var= 10227shlibpath_overrides_runpath=unknown 10228version_type=none 10229dynamic_linker="$host_os ld.so" 10230sys_lib_dlsearch_path_spec="/lib /usr/lib" 10231need_lib_prefix=unknown 10232hardcode_into_libs=no 10233 10234# when you set need_version to no, make sure it does not cause -set_version 10235# flags to be left without arguments 10236need_version=unknown 10237 10238case $host_os in 10239aix3*) 10240 version_type=linux # correct to gnu/linux during the next big refactor 10241 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10242 shlibpath_var=LIBPATH 10243 10244 # AIX 3 has no versioning support, so we append a major version to the name. 10245 soname_spec='${libname}${release}${shared_ext}$major' 10246 ;; 10247 10248aix[4-9]*) 10249 version_type=linux # correct to gnu/linux during the next big refactor 10250 need_lib_prefix=no 10251 need_version=no 10252 hardcode_into_libs=yes 10253 if test "$host_cpu" = ia64; then 10254 # AIX 5 supports IA64 10255 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10256 shlibpath_var=LD_LIBRARY_PATH 10257 else 10258 # With GCC up to 2.95.x, collect2 would create an import file 10259 # for dependence libraries. The import file would start with 10260 # the line `#! .'. This would cause the generated library to 10261 # depend on `.', always an invalid library. This was fixed in 10262 # development snapshots of GCC prior to 3.0. 10263 case $host_os in 10264 aix4 | aix4.[01] | aix4.[01].*) 10265 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10266 echo ' yes ' 10267 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10268 : 10269 else 10270 can_build_shared=no 10271 fi 10272 ;; 10273 esac 10274 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10275 # soname into executable. Probably we can add versioning support to 10276 # collect2, so additional links can be useful in future. 10277 if test "$aix_use_runtimelinking" = yes; then 10278 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10279 # instead of lib<name>.a to let people know that these are not 10280 # typical AIX shared libraries. 10281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10282 else 10283 # We preserve .a as extension for shared libraries through AIX4.2 10284 # and later when we are not doing run time linking. 10285 library_names_spec='${libname}${release}.a $libname.a' 10286 soname_spec='${libname}${release}${shared_ext}$major' 10287 fi 10288 shlibpath_var=LIBPATH 10289 fi 10290 ;; 10291 10292amigaos*) 10293 case $host_cpu in 10294 powerpc) 10295 # Since July 2007 AmigaOS4 officially supports .so libraries. 10296 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10298 ;; 10299 m68k) 10300 library_names_spec='$libname.ixlibrary $libname.a' 10301 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10302 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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' 10303 ;; 10304 esac 10305 ;; 10306 10307beos*) 10308 library_names_spec='${libname}${shared_ext}' 10309 dynamic_linker="$host_os ld.so" 10310 shlibpath_var=LIBRARY_PATH 10311 ;; 10312 10313bsdi[45]*) 10314 version_type=linux # correct to gnu/linux during the next big refactor 10315 need_version=no 10316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10317 soname_spec='${libname}${release}${shared_ext}$major' 10318 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10319 shlibpath_var=LD_LIBRARY_PATH 10320 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10321 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10322 # the default ld.so.conf also contains /usr/contrib/lib and 10323 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10324 # libtool to hard-code these into programs 10325 ;; 10326 10327cygwin* | mingw* | pw32* | cegcc*) 10328 version_type=windows 10329 shrext_cmds=".dll" 10330 need_version=no 10331 need_lib_prefix=no 10332 10333 case $GCC,$cc_basename in 10334 yes,*) 10335 # gcc 10336 library_names_spec='$libname.dll.a' 10337 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10338 postinstall_cmds='base_file=`basename \${file}`~ 10339 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10340 dldir=$destdir/`dirname \$dlpath`~ 10341 test -d \$dldir || mkdir -p \$dldir~ 10342 $install_prog $dir/$dlname \$dldir/$dlname~ 10343 chmod a+x \$dldir/$dlname~ 10344 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10345 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10346 fi' 10347 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10348 dlpath=$dir/\$dldll~ 10349 $RM \$dlpath' 10350 shlibpath_overrides_runpath=yes 10351 10352 case $host_os in 10353 cygwin*) 10354 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10355 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10356 10357 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10358 ;; 10359 mingw* | cegcc*) 10360 # MinGW DLLs use traditional 'lib' prefix 10361 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10362 ;; 10363 pw32*) 10364 # pw32 DLLs use 'pw' prefix rather than 'lib' 10365 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10366 ;; 10367 esac 10368 dynamic_linker='Win32 ld.exe' 10369 ;; 10370 10371 *,cl*) 10372 # Native MSVC 10373 libname_spec='$name' 10374 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10375 library_names_spec='${libname}.dll.lib' 10376 10377 case $build_os in 10378 mingw*) 10379 sys_lib_search_path_spec= 10380 lt_save_ifs=$IFS 10381 IFS=';' 10382 for lt_path in $LIB 10383 do 10384 IFS=$lt_save_ifs 10385 # Let DOS variable expansion print the short 8.3 style file name. 10386 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10387 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10388 done 10389 IFS=$lt_save_ifs 10390 # Convert to MSYS style. 10391 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10392 ;; 10393 cygwin*) 10394 # Convert to unix form, then to dos form, then back to unix form 10395 # but this time dos style (no spaces!) so that the unix form looks 10396 # like /cygdrive/c/PROGRA~1:/cygdr... 10397 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10398 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10399 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10400 ;; 10401 *) 10402 sys_lib_search_path_spec="$LIB" 10403 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10404 # It is most probably a Windows format PATH. 10405 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10406 else 10407 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10408 fi 10409 # FIXME: find the short name or the path components, as spaces are 10410 # common. (e.g. "Program Files" -> "PROGRA~1") 10411 ;; 10412 esac 10413 10414 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10415 postinstall_cmds='base_file=`basename \${file}`~ 10416 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10417 dldir=$destdir/`dirname \$dlpath`~ 10418 test -d \$dldir || mkdir -p \$dldir~ 10419 $install_prog $dir/$dlname \$dldir/$dlname' 10420 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10421 dlpath=$dir/\$dldll~ 10422 $RM \$dlpath' 10423 shlibpath_overrides_runpath=yes 10424 dynamic_linker='Win32 link.exe' 10425 ;; 10426 10427 *) 10428 # Assume MSVC wrapper 10429 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10430 dynamic_linker='Win32 ld.exe' 10431 ;; 10432 esac 10433 # FIXME: first we should search . and the directory the executable is in 10434 shlibpath_var=PATH 10435 ;; 10436 10437darwin* | rhapsody*) 10438 dynamic_linker="$host_os dyld" 10439 version_type=darwin 10440 need_lib_prefix=no 10441 need_version=no 10442 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10443 soname_spec='${libname}${release}${major}$shared_ext' 10444 shlibpath_overrides_runpath=yes 10445 shlibpath_var=DYLD_LIBRARY_PATH 10446 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10447 10448 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10449 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10450 ;; 10451 10452dgux*) 10453 version_type=linux # correct to gnu/linux during the next big refactor 10454 need_lib_prefix=no 10455 need_version=no 10456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10457 soname_spec='${libname}${release}${shared_ext}$major' 10458 shlibpath_var=LD_LIBRARY_PATH 10459 ;; 10460 10461freebsd* | dragonfly*) 10462 # DragonFly does not have aout. When/if they implement a new 10463 # versioning mechanism, adjust this. 10464 if test -x /usr/bin/objformat; then 10465 objformat=`/usr/bin/objformat` 10466 else 10467 case $host_os in 10468 freebsd[23].*) objformat=aout ;; 10469 *) objformat=elf ;; 10470 esac 10471 fi 10472 version_type=freebsd-$objformat 10473 case $version_type in 10474 freebsd-elf*) 10475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10476 need_version=no 10477 need_lib_prefix=no 10478 ;; 10479 freebsd-*) 10480 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10481 need_version=yes 10482 ;; 10483 esac 10484 shlibpath_var=LD_LIBRARY_PATH 10485 case $host_os in 10486 freebsd2.*) 10487 shlibpath_overrides_runpath=yes 10488 ;; 10489 freebsd3.[01]* | freebsdelf3.[01]*) 10490 shlibpath_overrides_runpath=yes 10491 hardcode_into_libs=yes 10492 ;; 10493 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10494 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10495 shlibpath_overrides_runpath=no 10496 hardcode_into_libs=yes 10497 ;; 10498 *) # from 4.6 on, and DragonFly 10499 shlibpath_overrides_runpath=yes 10500 hardcode_into_libs=yes 10501 ;; 10502 esac 10503 ;; 10504 10505gnu*) 10506 version_type=linux # correct to gnu/linux during the next big refactor 10507 need_lib_prefix=no 10508 need_version=no 10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10510 soname_spec='${libname}${release}${shared_ext}$major' 10511 shlibpath_var=LD_LIBRARY_PATH 10512 shlibpath_overrides_runpath=no 10513 hardcode_into_libs=yes 10514 ;; 10515 10516haiku*) 10517 version_type=linux # correct to gnu/linux during the next big refactor 10518 need_lib_prefix=no 10519 need_version=no 10520 dynamic_linker="$host_os runtime_loader" 10521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10522 soname_spec='${libname}${release}${shared_ext}$major' 10523 shlibpath_var=LIBRARY_PATH 10524 shlibpath_overrides_runpath=yes 10525 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10526 hardcode_into_libs=yes 10527 ;; 10528 10529hpux9* | hpux10* | hpux11*) 10530 # Give a soname corresponding to the major version so that dld.sl refuses to 10531 # link against other versions. 10532 version_type=sunos 10533 need_lib_prefix=no 10534 need_version=no 10535 case $host_cpu in 10536 ia64*) 10537 shrext_cmds='.so' 10538 hardcode_into_libs=yes 10539 dynamic_linker="$host_os dld.so" 10540 shlibpath_var=LD_LIBRARY_PATH 10541 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10543 soname_spec='${libname}${release}${shared_ext}$major' 10544 if test "X$HPUX_IA64_MODE" = X32; then 10545 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10546 else 10547 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10548 fi 10549 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10550 ;; 10551 hppa*64*) 10552 shrext_cmds='.sl' 10553 hardcode_into_libs=yes 10554 dynamic_linker="$host_os dld.sl" 10555 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10556 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10558 soname_spec='${libname}${release}${shared_ext}$major' 10559 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10560 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10561 ;; 10562 *) 10563 shrext_cmds='.sl' 10564 dynamic_linker="$host_os dld.sl" 10565 shlibpath_var=SHLIB_PATH 10566 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10568 soname_spec='${libname}${release}${shared_ext}$major' 10569 ;; 10570 esac 10571 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10572 postinstall_cmds='chmod 555 $lib' 10573 # or fails outright, so override atomically: 10574 install_override_mode=555 10575 ;; 10576 10577interix[3-9]*) 10578 version_type=linux # correct to gnu/linux during the next big refactor 10579 need_lib_prefix=no 10580 need_version=no 10581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10582 soname_spec='${libname}${release}${shared_ext}$major' 10583 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10584 shlibpath_var=LD_LIBRARY_PATH 10585 shlibpath_overrides_runpath=no 10586 hardcode_into_libs=yes 10587 ;; 10588 10589irix5* | irix6* | nonstopux*) 10590 case $host_os in 10591 nonstopux*) version_type=nonstopux ;; 10592 *) 10593 if test "$lt_cv_prog_gnu_ld" = yes; then 10594 version_type=linux # correct to gnu/linux during the next big refactor 10595 else 10596 version_type=irix 10597 fi ;; 10598 esac 10599 need_lib_prefix=no 10600 need_version=no 10601 soname_spec='${libname}${release}${shared_ext}$major' 10602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10603 case $host_os in 10604 irix5* | nonstopux*) 10605 libsuff= shlibsuff= 10606 ;; 10607 *) 10608 case $LD in # libtool.m4 will add one of these switches to LD 10609 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10610 libsuff= shlibsuff= libmagic=32-bit;; 10611 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10612 libsuff=32 shlibsuff=N32 libmagic=N32;; 10613 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10614 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10615 *) libsuff= shlibsuff= libmagic=never-match;; 10616 esac 10617 ;; 10618 esac 10619 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10620 shlibpath_overrides_runpath=no 10621 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10622 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10623 hardcode_into_libs=yes 10624 ;; 10625 10626# No shared lib support for Linux oldld, aout, or coff. 10627linux*oldld* | linux*aout* | linux*coff*) 10628 dynamic_linker=no 10629 ;; 10630 10631# This must be glibc/ELF. 10632linux* | k*bsd*-gnu | kopensolaris*-gnu) 10633 version_type=linux # correct to gnu/linux during the next big refactor 10634 need_lib_prefix=no 10635 need_version=no 10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10637 soname_spec='${libname}${release}${shared_ext}$major' 10638 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10639 shlibpath_var=LD_LIBRARY_PATH 10640 shlibpath_overrides_runpath=no 10641 10642 # Some binutils ld are patched to set DT_RUNPATH 10643 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10644 $as_echo_n "(cached) " >&6 10645else 10646 lt_cv_shlibpath_overrides_runpath=no 10647 save_LDFLAGS=$LDFLAGS 10648 save_libdir=$libdir 10649 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10650 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10652/* end confdefs.h. */ 10653 10654int 10655main () 10656{ 10657 10658 ; 10659 return 0; 10660} 10661_ACEOF 10662if ac_fn_c_try_link "$LINENO"; then : 10663 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10664 lt_cv_shlibpath_overrides_runpath=yes 10665fi 10666fi 10667rm -f core conftest.err conftest.$ac_objext \ 10668 conftest$ac_exeext conftest.$ac_ext 10669 LDFLAGS=$save_LDFLAGS 10670 libdir=$save_libdir 10671 10672fi 10673 10674 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10675 10676 # This implies no fast_install, which is unacceptable. 10677 # Some rework will be needed to allow for fast_install 10678 # before this can be enabled. 10679 hardcode_into_libs=yes 10680 10681 # Add ABI-specific directories to the system library path. 10682 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 10683 10684 # Append ld.so.conf contents to the search path 10685 if test -f /etc/ld.so.conf; then 10686 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' ' '` 10687 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 10688 10689 fi 10690 10691 # We used to test for /lib/ld.so.1 and disable shared libraries on 10692 # powerpc, because MkLinux only supported shared libraries with the 10693 # GNU dynamic linker. Since this was broken with cross compilers, 10694 # most powerpc-linux boxes support dynamic linking these days and 10695 # people can always --disable-shared, the test was removed, and we 10696 # assume the GNU/Linux dynamic linker is in use. 10697 dynamic_linker='GNU/Linux ld.so' 10698 ;; 10699 10700netbsd*) 10701 version_type=sunos 10702 need_lib_prefix=no 10703 need_version=no 10704 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10706 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10707 dynamic_linker='NetBSD (a.out) ld.so' 10708 else 10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10710 soname_spec='${libname}${release}${shared_ext}$major' 10711 dynamic_linker='NetBSD ld.elf_so' 10712 fi 10713 shlibpath_var=LD_LIBRARY_PATH 10714 shlibpath_overrides_runpath=yes 10715 hardcode_into_libs=yes 10716 ;; 10717 10718newsos6) 10719 version_type=linux # correct to gnu/linux during the next big refactor 10720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10721 shlibpath_var=LD_LIBRARY_PATH 10722 shlibpath_overrides_runpath=yes 10723 ;; 10724 10725*nto* | *qnx*) 10726 version_type=qnx 10727 need_lib_prefix=no 10728 need_version=no 10729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10730 soname_spec='${libname}${release}${shared_ext}$major' 10731 shlibpath_var=LD_LIBRARY_PATH 10732 shlibpath_overrides_runpath=no 10733 hardcode_into_libs=yes 10734 dynamic_linker='ldqnx.so' 10735 ;; 10736 10737openbsd*) 10738 version_type=sunos 10739 sys_lib_dlsearch_path_spec="/usr/lib" 10740 need_lib_prefix=no 10741 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10742 case $host_os in 10743 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10744 *) need_version=no ;; 10745 esac 10746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10747 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10748 shlibpath_var=LD_LIBRARY_PATH 10749 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10750 case $host_os in 10751 openbsd2.[89] | openbsd2.[89].*) 10752 shlibpath_overrides_runpath=no 10753 ;; 10754 *) 10755 shlibpath_overrides_runpath=yes 10756 ;; 10757 esac 10758 else 10759 shlibpath_overrides_runpath=yes 10760 fi 10761 ;; 10762 10763os2*) 10764 libname_spec='$name' 10765 shrext_cmds=".dll" 10766 need_lib_prefix=no 10767 library_names_spec='$libname${shared_ext} $libname.a' 10768 dynamic_linker='OS/2 ld.exe' 10769 shlibpath_var=LIBPATH 10770 ;; 10771 10772osf3* | osf4* | osf5*) 10773 version_type=osf 10774 need_lib_prefix=no 10775 need_version=no 10776 soname_spec='${libname}${release}${shared_ext}$major' 10777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10778 shlibpath_var=LD_LIBRARY_PATH 10779 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10780 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10781 ;; 10782 10783rdos*) 10784 dynamic_linker=no 10785 ;; 10786 10787solaris*) 10788 version_type=linux # correct to gnu/linux during the next big refactor 10789 need_lib_prefix=no 10790 need_version=no 10791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10792 soname_spec='${libname}${release}${shared_ext}$major' 10793 shlibpath_var=LD_LIBRARY_PATH 10794 shlibpath_overrides_runpath=yes 10795 hardcode_into_libs=yes 10796 # ldd complains unless libraries are executable 10797 postinstall_cmds='chmod +x $lib' 10798 ;; 10799 10800sunos4*) 10801 version_type=sunos 10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10803 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10804 shlibpath_var=LD_LIBRARY_PATH 10805 shlibpath_overrides_runpath=yes 10806 if test "$with_gnu_ld" = yes; then 10807 need_lib_prefix=no 10808 fi 10809 need_version=yes 10810 ;; 10811 10812sysv4 | sysv4.3*) 10813 version_type=linux # correct to gnu/linux during the next big refactor 10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10815 soname_spec='${libname}${release}${shared_ext}$major' 10816 shlibpath_var=LD_LIBRARY_PATH 10817 case $host_vendor in 10818 sni) 10819 shlibpath_overrides_runpath=no 10820 need_lib_prefix=no 10821 runpath_var=LD_RUN_PATH 10822 ;; 10823 siemens) 10824 need_lib_prefix=no 10825 ;; 10826 motorola) 10827 need_lib_prefix=no 10828 need_version=no 10829 shlibpath_overrides_runpath=no 10830 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10831 ;; 10832 esac 10833 ;; 10834 10835sysv4*MP*) 10836 if test -d /usr/nec ;then 10837 version_type=linux # correct to gnu/linux during the next big refactor 10838 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10839 soname_spec='$libname${shared_ext}.$major' 10840 shlibpath_var=LD_LIBRARY_PATH 10841 fi 10842 ;; 10843 10844sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10845 version_type=freebsd-elf 10846 need_lib_prefix=no 10847 need_version=no 10848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10849 soname_spec='${libname}${release}${shared_ext}$major' 10850 shlibpath_var=LD_LIBRARY_PATH 10851 shlibpath_overrides_runpath=yes 10852 hardcode_into_libs=yes 10853 if test "$with_gnu_ld" = yes; then 10854 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10855 else 10856 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10857 case $host_os in 10858 sco3.2v5*) 10859 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10860 ;; 10861 esac 10862 fi 10863 sys_lib_dlsearch_path_spec='/usr/lib' 10864 ;; 10865 10866tpf*) 10867 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10868 version_type=linux # correct to gnu/linux during the next big refactor 10869 need_lib_prefix=no 10870 need_version=no 10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10872 shlibpath_var=LD_LIBRARY_PATH 10873 shlibpath_overrides_runpath=no 10874 hardcode_into_libs=yes 10875 ;; 10876 10877uts4*) 10878 version_type=linux # correct to gnu/linux during the next big refactor 10879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10880 soname_spec='${libname}${release}${shared_ext}$major' 10881 shlibpath_var=LD_LIBRARY_PATH 10882 ;; 10883 10884*) 10885 dynamic_linker=no 10886 ;; 10887esac 10888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10889$as_echo "$dynamic_linker" >&6; } 10890test "$dynamic_linker" = no && can_build_shared=no 10891 10892variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10893if test "$GCC" = yes; then 10894 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10895fi 10896 10897if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10898 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10899fi 10900if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10901 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10902fi 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10996$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10997hardcode_action= 10998if test -n "$hardcode_libdir_flag_spec" || 10999 test -n "$runpath_var" || 11000 test "X$hardcode_automatic" = "Xyes" ; then 11001 11002 # We can hardcode non-existent directories. 11003 if test "$hardcode_direct" != no && 11004 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11005 # have to relink, otherwise we might link with an installed library 11006 # when we should be linking with a yet-to-be-installed one 11007 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11008 test "$hardcode_minus_L" != no; then 11009 # Linking always hardcodes the temporary library directory. 11010 hardcode_action=relink 11011 else 11012 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11013 hardcode_action=immediate 11014 fi 11015else 11016 # We cannot hardcode anything, or else we can only hardcode existing 11017 # directories. 11018 hardcode_action=unsupported 11019fi 11020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11021$as_echo "$hardcode_action" >&6; } 11022 11023if test "$hardcode_action" = relink || 11024 test "$inherit_rpath" = yes; then 11025 # Fast installation is not supported 11026 enable_fast_install=no 11027elif test "$shlibpath_overrides_runpath" = yes || 11028 test "$enable_shared" = no; then 11029 # Fast installation is not necessary 11030 enable_fast_install=needless 11031fi 11032 11033 11034 11035 11036 11037 11038 if test "x$enable_dlopen" != xyes; then 11039 enable_dlopen=unknown 11040 enable_dlopen_self=unknown 11041 enable_dlopen_self_static=unknown 11042else 11043 lt_cv_dlopen=no 11044 lt_cv_dlopen_libs= 11045 11046 case $host_os in 11047 beos*) 11048 lt_cv_dlopen="load_add_on" 11049 lt_cv_dlopen_libs= 11050 lt_cv_dlopen_self=yes 11051 ;; 11052 11053 mingw* | pw32* | cegcc*) 11054 lt_cv_dlopen="LoadLibrary" 11055 lt_cv_dlopen_libs= 11056 ;; 11057 11058 cygwin*) 11059 lt_cv_dlopen="dlopen" 11060 lt_cv_dlopen_libs= 11061 ;; 11062 11063 darwin*) 11064 # if libdl is installed we need to link against it 11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11066$as_echo_n "checking for dlopen in -ldl... " >&6; } 11067if ${ac_cv_lib_dl_dlopen+:} false; then : 11068 $as_echo_n "(cached) " >&6 11069else 11070 ac_check_lib_save_LIBS=$LIBS 11071LIBS="-ldl $LIBS" 11072cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11073/* end confdefs.h. */ 11074 11075/* Override any GCC internal prototype to avoid an error. 11076 Use char because int might match the return type of a GCC 11077 builtin and then its argument prototype would still apply. */ 11078#ifdef __cplusplus 11079extern "C" 11080#endif 11081char dlopen (); 11082int 11083main () 11084{ 11085return dlopen (); 11086 ; 11087 return 0; 11088} 11089_ACEOF 11090if ac_fn_c_try_link "$LINENO"; then : 11091 ac_cv_lib_dl_dlopen=yes 11092else 11093 ac_cv_lib_dl_dlopen=no 11094fi 11095rm -f core conftest.err conftest.$ac_objext \ 11096 conftest$ac_exeext conftest.$ac_ext 11097LIBS=$ac_check_lib_save_LIBS 11098fi 11099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11100$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11101if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11102 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11103else 11104 11105 lt_cv_dlopen="dyld" 11106 lt_cv_dlopen_libs= 11107 lt_cv_dlopen_self=yes 11108 11109fi 11110 11111 ;; 11112 11113 *) 11114 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11115if test "x$ac_cv_func_shl_load" = xyes; then : 11116 lt_cv_dlopen="shl_load" 11117else 11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11119$as_echo_n "checking for shl_load in -ldld... " >&6; } 11120if ${ac_cv_lib_dld_shl_load+:} false; then : 11121 $as_echo_n "(cached) " >&6 11122else 11123 ac_check_lib_save_LIBS=$LIBS 11124LIBS="-ldld $LIBS" 11125cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11126/* end confdefs.h. */ 11127 11128/* Override any GCC internal prototype to avoid an error. 11129 Use char because int might match the return type of a GCC 11130 builtin and then its argument prototype would still apply. */ 11131#ifdef __cplusplus 11132extern "C" 11133#endif 11134char shl_load (); 11135int 11136main () 11137{ 11138return shl_load (); 11139 ; 11140 return 0; 11141} 11142_ACEOF 11143if ac_fn_c_try_link "$LINENO"; then : 11144 ac_cv_lib_dld_shl_load=yes 11145else 11146 ac_cv_lib_dld_shl_load=no 11147fi 11148rm -f core conftest.err conftest.$ac_objext \ 11149 conftest$ac_exeext conftest.$ac_ext 11150LIBS=$ac_check_lib_save_LIBS 11151fi 11152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11153$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11154if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11155 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11156else 11157 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11158if test "x$ac_cv_func_dlopen" = xyes; then : 11159 lt_cv_dlopen="dlopen" 11160else 11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11162$as_echo_n "checking for dlopen in -ldl... " >&6; } 11163if ${ac_cv_lib_dl_dlopen+:} false; then : 11164 $as_echo_n "(cached) " >&6 11165else 11166 ac_check_lib_save_LIBS=$LIBS 11167LIBS="-ldl $LIBS" 11168cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11169/* end confdefs.h. */ 11170 11171/* Override any GCC internal prototype to avoid an error. 11172 Use char because int might match the return type of a GCC 11173 builtin and then its argument prototype would still apply. */ 11174#ifdef __cplusplus 11175extern "C" 11176#endif 11177char dlopen (); 11178int 11179main () 11180{ 11181return dlopen (); 11182 ; 11183 return 0; 11184} 11185_ACEOF 11186if ac_fn_c_try_link "$LINENO"; then : 11187 ac_cv_lib_dl_dlopen=yes 11188else 11189 ac_cv_lib_dl_dlopen=no 11190fi 11191rm -f core conftest.err conftest.$ac_objext \ 11192 conftest$ac_exeext conftest.$ac_ext 11193LIBS=$ac_check_lib_save_LIBS 11194fi 11195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11196$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11197if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11198 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11199else 11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11201$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11202if ${ac_cv_lib_svld_dlopen+:} false; then : 11203 $as_echo_n "(cached) " >&6 11204else 11205 ac_check_lib_save_LIBS=$LIBS 11206LIBS="-lsvld $LIBS" 11207cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11208/* end confdefs.h. */ 11209 11210/* Override any GCC internal prototype to avoid an error. 11211 Use char because int might match the return type of a GCC 11212 builtin and then its argument prototype would still apply. */ 11213#ifdef __cplusplus 11214extern "C" 11215#endif 11216char dlopen (); 11217int 11218main () 11219{ 11220return dlopen (); 11221 ; 11222 return 0; 11223} 11224_ACEOF 11225if ac_fn_c_try_link "$LINENO"; then : 11226 ac_cv_lib_svld_dlopen=yes 11227else 11228 ac_cv_lib_svld_dlopen=no 11229fi 11230rm -f core conftest.err conftest.$ac_objext \ 11231 conftest$ac_exeext conftest.$ac_ext 11232LIBS=$ac_check_lib_save_LIBS 11233fi 11234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11235$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11236if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11237 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11238else 11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11240$as_echo_n "checking for dld_link in -ldld... " >&6; } 11241if ${ac_cv_lib_dld_dld_link+:} false; then : 11242 $as_echo_n "(cached) " >&6 11243else 11244 ac_check_lib_save_LIBS=$LIBS 11245LIBS="-ldld $LIBS" 11246cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11247/* end confdefs.h. */ 11248 11249/* Override any GCC internal prototype to avoid an error. 11250 Use char because int might match the return type of a GCC 11251 builtin and then its argument prototype would still apply. */ 11252#ifdef __cplusplus 11253extern "C" 11254#endif 11255char dld_link (); 11256int 11257main () 11258{ 11259return dld_link (); 11260 ; 11261 return 0; 11262} 11263_ACEOF 11264if ac_fn_c_try_link "$LINENO"; then : 11265 ac_cv_lib_dld_dld_link=yes 11266else 11267 ac_cv_lib_dld_dld_link=no 11268fi 11269rm -f core conftest.err conftest.$ac_objext \ 11270 conftest$ac_exeext conftest.$ac_ext 11271LIBS=$ac_check_lib_save_LIBS 11272fi 11273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11274$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11275if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11276 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11277fi 11278 11279 11280fi 11281 11282 11283fi 11284 11285 11286fi 11287 11288 11289fi 11290 11291 11292fi 11293 11294 ;; 11295 esac 11296 11297 if test "x$lt_cv_dlopen" != xno; then 11298 enable_dlopen=yes 11299 else 11300 enable_dlopen=no 11301 fi 11302 11303 case $lt_cv_dlopen in 11304 dlopen) 11305 save_CPPFLAGS="$CPPFLAGS" 11306 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11307 11308 save_LDFLAGS="$LDFLAGS" 11309 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11310 11311 save_LIBS="$LIBS" 11312 LIBS="$lt_cv_dlopen_libs $LIBS" 11313 11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11315$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11316if ${lt_cv_dlopen_self+:} false; then : 11317 $as_echo_n "(cached) " >&6 11318else 11319 if test "$cross_compiling" = yes; then : 11320 lt_cv_dlopen_self=cross 11321else 11322 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11323 lt_status=$lt_dlunknown 11324 cat > conftest.$ac_ext <<_LT_EOF 11325#line $LINENO "configure" 11326#include "confdefs.h" 11327 11328#if HAVE_DLFCN_H 11329#include <dlfcn.h> 11330#endif 11331 11332#include <stdio.h> 11333 11334#ifdef RTLD_GLOBAL 11335# define LT_DLGLOBAL RTLD_GLOBAL 11336#else 11337# ifdef DL_GLOBAL 11338# define LT_DLGLOBAL DL_GLOBAL 11339# else 11340# define LT_DLGLOBAL 0 11341# endif 11342#endif 11343 11344/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11345 find out it does not work in some platform. */ 11346#ifndef LT_DLLAZY_OR_NOW 11347# ifdef RTLD_LAZY 11348# define LT_DLLAZY_OR_NOW RTLD_LAZY 11349# else 11350# ifdef DL_LAZY 11351# define LT_DLLAZY_OR_NOW DL_LAZY 11352# else 11353# ifdef RTLD_NOW 11354# define LT_DLLAZY_OR_NOW RTLD_NOW 11355# else 11356# ifdef DL_NOW 11357# define LT_DLLAZY_OR_NOW DL_NOW 11358# else 11359# define LT_DLLAZY_OR_NOW 0 11360# endif 11361# endif 11362# endif 11363# endif 11364#endif 11365 11366/* When -fvisbility=hidden is used, assume the code has been annotated 11367 correspondingly for the symbols needed. */ 11368#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11369int fnord () __attribute__((visibility("default"))); 11370#endif 11371 11372int fnord () { return 42; } 11373int main () 11374{ 11375 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11376 int status = $lt_dlunknown; 11377 11378 if (self) 11379 { 11380 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11381 else 11382 { 11383 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11384 else puts (dlerror ()); 11385 } 11386 /* dlclose (self); */ 11387 } 11388 else 11389 puts (dlerror ()); 11390 11391 return status; 11392} 11393_LT_EOF 11394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11395 (eval $ac_link) 2>&5 11396 ac_status=$? 11397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11398 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11399 (./conftest; exit; ) >&5 2>/dev/null 11400 lt_status=$? 11401 case x$lt_status in 11402 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11403 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11404 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11405 esac 11406 else : 11407 # compilation failed 11408 lt_cv_dlopen_self=no 11409 fi 11410fi 11411rm -fr conftest* 11412 11413 11414fi 11415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11416$as_echo "$lt_cv_dlopen_self" >&6; } 11417 11418 if test "x$lt_cv_dlopen_self" = xyes; then 11419 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11421$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11422if ${lt_cv_dlopen_self_static+:} false; then : 11423 $as_echo_n "(cached) " >&6 11424else 11425 if test "$cross_compiling" = yes; then : 11426 lt_cv_dlopen_self_static=cross 11427else 11428 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11429 lt_status=$lt_dlunknown 11430 cat > conftest.$ac_ext <<_LT_EOF 11431#line $LINENO "configure" 11432#include "confdefs.h" 11433 11434#if HAVE_DLFCN_H 11435#include <dlfcn.h> 11436#endif 11437 11438#include <stdio.h> 11439 11440#ifdef RTLD_GLOBAL 11441# define LT_DLGLOBAL RTLD_GLOBAL 11442#else 11443# ifdef DL_GLOBAL 11444# define LT_DLGLOBAL DL_GLOBAL 11445# else 11446# define LT_DLGLOBAL 0 11447# endif 11448#endif 11449 11450/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11451 find out it does not work in some platform. */ 11452#ifndef LT_DLLAZY_OR_NOW 11453# ifdef RTLD_LAZY 11454# define LT_DLLAZY_OR_NOW RTLD_LAZY 11455# else 11456# ifdef DL_LAZY 11457# define LT_DLLAZY_OR_NOW DL_LAZY 11458# else 11459# ifdef RTLD_NOW 11460# define LT_DLLAZY_OR_NOW RTLD_NOW 11461# else 11462# ifdef DL_NOW 11463# define LT_DLLAZY_OR_NOW DL_NOW 11464# else 11465# define LT_DLLAZY_OR_NOW 0 11466# endif 11467# endif 11468# endif 11469# endif 11470#endif 11471 11472/* When -fvisbility=hidden is used, assume the code has been annotated 11473 correspondingly for the symbols needed. */ 11474#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11475int fnord () __attribute__((visibility("default"))); 11476#endif 11477 11478int fnord () { return 42; } 11479int main () 11480{ 11481 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11482 int status = $lt_dlunknown; 11483 11484 if (self) 11485 { 11486 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11487 else 11488 { 11489 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11490 else puts (dlerror ()); 11491 } 11492 /* dlclose (self); */ 11493 } 11494 else 11495 puts (dlerror ()); 11496 11497 return status; 11498} 11499_LT_EOF 11500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11501 (eval $ac_link) 2>&5 11502 ac_status=$? 11503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11504 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11505 (./conftest; exit; ) >&5 2>/dev/null 11506 lt_status=$? 11507 case x$lt_status in 11508 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11509 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11510 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11511 esac 11512 else : 11513 # compilation failed 11514 lt_cv_dlopen_self_static=no 11515 fi 11516fi 11517rm -fr conftest* 11518 11519 11520fi 11521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11522$as_echo "$lt_cv_dlopen_self_static" >&6; } 11523 fi 11524 11525 CPPFLAGS="$save_CPPFLAGS" 11526 LDFLAGS="$save_LDFLAGS" 11527 LIBS="$save_LIBS" 11528 ;; 11529 esac 11530 11531 case $lt_cv_dlopen_self in 11532 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11533 *) enable_dlopen_self=unknown ;; 11534 esac 11535 11536 case $lt_cv_dlopen_self_static in 11537 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11538 *) enable_dlopen_self_static=unknown ;; 11539 esac 11540fi 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558striplib= 11559old_striplib= 11560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11561$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11562if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11563 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11564 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11566$as_echo "yes" >&6; } 11567else 11568# FIXME - insert some real tests, host_os isn't really good enough 11569 case $host_os in 11570 darwin*) 11571 if test -n "$STRIP" ; then 11572 striplib="$STRIP -x" 11573 old_striplib="$STRIP -S" 11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11575$as_echo "yes" >&6; } 11576 else 11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11578$as_echo "no" >&6; } 11579 fi 11580 ;; 11581 *) 11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11583$as_echo "no" >&6; } 11584 ;; 11585 esac 11586fi 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 # Report which library types will actually be built 11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11601$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11603$as_echo "$can_build_shared" >&6; } 11604 11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11606$as_echo_n "checking whether to build shared libraries... " >&6; } 11607 test "$can_build_shared" = "no" && enable_shared=no 11608 11609 # On AIX, shared libraries and static libraries use the same namespace, and 11610 # are all built from PIC. 11611 case $host_os in 11612 aix3*) 11613 test "$enable_shared" = yes && enable_static=no 11614 if test -n "$RANLIB"; then 11615 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11616 postinstall_cmds='$RANLIB $lib' 11617 fi 11618 ;; 11619 11620 aix[4-9]*) 11621 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11622 test "$enable_shared" = yes && enable_static=no 11623 fi 11624 ;; 11625 esac 11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11627$as_echo "$enable_shared" >&6; } 11628 11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11630$as_echo_n "checking whether to build static libraries... " >&6; } 11631 # Make sure either enable_shared or enable_static is yes. 11632 test "$enable_shared" = yes || enable_static=yes 11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11634$as_echo "$enable_static" >&6; } 11635 11636 11637 11638 11639fi 11640ac_ext=c 11641ac_cpp='$CPP $CPPFLAGS' 11642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11644ac_compiler_gnu=$ac_cv_c_compiler_gnu 11645 11646CC="$lt_save_CC" 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 ac_config_commands="$ac_config_commands libtool" 11663 11664 11665 11666 11667# Only expand once: 11668 11669 11670 11671enable_win32_dll=yes 11672 11673case $host in 11674*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 11675 if test -n "$ac_tool_prefix"; then 11676 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 11677set dummy ${ac_tool_prefix}as; ac_word=$2 11678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11679$as_echo_n "checking for $ac_word... " >&6; } 11680if ${ac_cv_prog_AS+:} false; then : 11681 $as_echo_n "(cached) " >&6 11682else 11683 if test -n "$AS"; then 11684 ac_cv_prog_AS="$AS" # Let the user override the test. 11685else 11686as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11687for as_dir in $PATH 11688do 11689 IFS=$as_save_IFS 11690 test -z "$as_dir" && as_dir=. 11691 for ac_exec_ext in '' $ac_executable_extensions; do 11692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11693 ac_cv_prog_AS="${ac_tool_prefix}as" 11694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11695 break 2 11696 fi 11697done 11698 done 11699IFS=$as_save_IFS 11700 11701fi 11702fi 11703AS=$ac_cv_prog_AS 11704if test -n "$AS"; then 11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 11706$as_echo "$AS" >&6; } 11707else 11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11709$as_echo "no" >&6; } 11710fi 11711 11712 11713fi 11714if test -z "$ac_cv_prog_AS"; then 11715 ac_ct_AS=$AS 11716 # Extract the first word of "as", so it can be a program name with args. 11717set dummy as; ac_word=$2 11718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11719$as_echo_n "checking for $ac_word... " >&6; } 11720if ${ac_cv_prog_ac_ct_AS+:} false; then : 11721 $as_echo_n "(cached) " >&6 11722else 11723 if test -n "$ac_ct_AS"; then 11724 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 11725else 11726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11727for as_dir in $PATH 11728do 11729 IFS=$as_save_IFS 11730 test -z "$as_dir" && as_dir=. 11731 for ac_exec_ext in '' $ac_executable_extensions; do 11732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11733 ac_cv_prog_ac_ct_AS="as" 11734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11735 break 2 11736 fi 11737done 11738 done 11739IFS=$as_save_IFS 11740 11741fi 11742fi 11743ac_ct_AS=$ac_cv_prog_ac_ct_AS 11744if test -n "$ac_ct_AS"; then 11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 11746$as_echo "$ac_ct_AS" >&6; } 11747else 11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11749$as_echo "no" >&6; } 11750fi 11751 11752 if test "x$ac_ct_AS" = x; then 11753 AS="false" 11754 else 11755 case $cross_compiling:$ac_tool_warned in 11756yes:) 11757{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11758$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11759ac_tool_warned=yes ;; 11760esac 11761 AS=$ac_ct_AS 11762 fi 11763else 11764 AS="$ac_cv_prog_AS" 11765fi 11766 11767 if test -n "$ac_tool_prefix"; then 11768 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 11769set dummy ${ac_tool_prefix}dlltool; ac_word=$2 11770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11771$as_echo_n "checking for $ac_word... " >&6; } 11772if ${ac_cv_prog_DLLTOOL+:} false; then : 11773 $as_echo_n "(cached) " >&6 11774else 11775 if test -n "$DLLTOOL"; then 11776 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 11777else 11778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11779for as_dir in $PATH 11780do 11781 IFS=$as_save_IFS 11782 test -z "$as_dir" && as_dir=. 11783 for ac_exec_ext in '' $ac_executable_extensions; do 11784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11785 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 11786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11787 break 2 11788 fi 11789done 11790 done 11791IFS=$as_save_IFS 11792 11793fi 11794fi 11795DLLTOOL=$ac_cv_prog_DLLTOOL 11796if test -n "$DLLTOOL"; then 11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 11798$as_echo "$DLLTOOL" >&6; } 11799else 11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11801$as_echo "no" >&6; } 11802fi 11803 11804 11805fi 11806if test -z "$ac_cv_prog_DLLTOOL"; then 11807 ac_ct_DLLTOOL=$DLLTOOL 11808 # Extract the first word of "dlltool", so it can be a program name with args. 11809set dummy dlltool; ac_word=$2 11810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11811$as_echo_n "checking for $ac_word... " >&6; } 11812if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 11813 $as_echo_n "(cached) " >&6 11814else 11815 if test -n "$ac_ct_DLLTOOL"; then 11816 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 11817else 11818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11819for as_dir in $PATH 11820do 11821 IFS=$as_save_IFS 11822 test -z "$as_dir" && as_dir=. 11823 for ac_exec_ext in '' $ac_executable_extensions; do 11824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11825 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 11826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11827 break 2 11828 fi 11829done 11830 done 11831IFS=$as_save_IFS 11832 11833fi 11834fi 11835ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 11836if test -n "$ac_ct_DLLTOOL"; then 11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 11838$as_echo "$ac_ct_DLLTOOL" >&6; } 11839else 11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11841$as_echo "no" >&6; } 11842fi 11843 11844 if test "x$ac_ct_DLLTOOL" = x; then 11845 DLLTOOL="false" 11846 else 11847 case $cross_compiling:$ac_tool_warned in 11848yes:) 11849{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11850$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11851ac_tool_warned=yes ;; 11852esac 11853 DLLTOOL=$ac_ct_DLLTOOL 11854 fi 11855else 11856 DLLTOOL="$ac_cv_prog_DLLTOOL" 11857fi 11858 11859 if test -n "$ac_tool_prefix"; then 11860 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 11861set dummy ${ac_tool_prefix}objdump; ac_word=$2 11862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11863$as_echo_n "checking for $ac_word... " >&6; } 11864if ${ac_cv_prog_OBJDUMP+:} false; then : 11865 $as_echo_n "(cached) " >&6 11866else 11867 if test -n "$OBJDUMP"; then 11868 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 11869else 11870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11871for as_dir in $PATH 11872do 11873 IFS=$as_save_IFS 11874 test -z "$as_dir" && as_dir=. 11875 for ac_exec_ext in '' $ac_executable_extensions; do 11876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11877 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 11878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11879 break 2 11880 fi 11881done 11882 done 11883IFS=$as_save_IFS 11884 11885fi 11886fi 11887OBJDUMP=$ac_cv_prog_OBJDUMP 11888if test -n "$OBJDUMP"; then 11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 11890$as_echo "$OBJDUMP" >&6; } 11891else 11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11893$as_echo "no" >&6; } 11894fi 11895 11896 11897fi 11898if test -z "$ac_cv_prog_OBJDUMP"; then 11899 ac_ct_OBJDUMP=$OBJDUMP 11900 # Extract the first word of "objdump", so it can be a program name with args. 11901set dummy objdump; ac_word=$2 11902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11903$as_echo_n "checking for $ac_word... " >&6; } 11904if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 11905 $as_echo_n "(cached) " >&6 11906else 11907 if test -n "$ac_ct_OBJDUMP"; then 11908 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 11909else 11910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11911for as_dir in $PATH 11912do 11913 IFS=$as_save_IFS 11914 test -z "$as_dir" && as_dir=. 11915 for ac_exec_ext in '' $ac_executable_extensions; do 11916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11917 ac_cv_prog_ac_ct_OBJDUMP="objdump" 11918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11919 break 2 11920 fi 11921done 11922 done 11923IFS=$as_save_IFS 11924 11925fi 11926fi 11927ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 11928if test -n "$ac_ct_OBJDUMP"; then 11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 11930$as_echo "$ac_ct_OBJDUMP" >&6; } 11931else 11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11933$as_echo "no" >&6; } 11934fi 11935 11936 if test "x$ac_ct_OBJDUMP" = x; then 11937 OBJDUMP="false" 11938 else 11939 case $cross_compiling:$ac_tool_warned in 11940yes:) 11941{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11942$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11943ac_tool_warned=yes ;; 11944esac 11945 OBJDUMP=$ac_ct_OBJDUMP 11946 fi 11947else 11948 OBJDUMP="$ac_cv_prog_OBJDUMP" 11949fi 11950 11951 ;; 11952esac 11953 11954test -z "$AS" && AS=as 11955 11956 11957 11958 11959 11960test -z "$DLLTOOL" && DLLTOOL=dlltool 11961 11962 11963test -z "$OBJDUMP" && OBJDUMP=objdump 11964 11965 11966 11967 11968 11969 11970 11971# keep one single GST_REQ, core/base should be same versions anyway 11972GST_REQ=1.0.0 11973CLUTTER_REQS=1.12.0 11974CLUTTER_GST_REQS=2.0.0 11975CLUTTER_GTK_REQS=1.0.2 11976GTK_REQS=3.5.0 11977GIO_REQ=2.32 11978 11979 11980 11981 11982 11983 11984 11985 11986if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 11987 if test -n "$ac_tool_prefix"; then 11988 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11989set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 11990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11991$as_echo_n "checking for $ac_word... " >&6; } 11992if ${ac_cv_path_PKG_CONFIG+:} false; then : 11993 $as_echo_n "(cached) " >&6 11994else 11995 case $PKG_CONFIG in 11996 [\\/]* | ?:[\\/]*) 11997 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11998 ;; 11999 *) 12000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12001for as_dir in $PATH 12002do 12003 IFS=$as_save_IFS 12004 test -z "$as_dir" && as_dir=. 12005 for ac_exec_ext in '' $ac_executable_extensions; do 12006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12007 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12009 break 2 12010 fi 12011done 12012 done 12013IFS=$as_save_IFS 12014 12015 ;; 12016esac 12017fi 12018PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12019if test -n "$PKG_CONFIG"; then 12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12021$as_echo "$PKG_CONFIG" >&6; } 12022else 12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12024$as_echo "no" >&6; } 12025fi 12026 12027 12028fi 12029if test -z "$ac_cv_path_PKG_CONFIG"; then 12030 ac_pt_PKG_CONFIG=$PKG_CONFIG 12031 # Extract the first word of "pkg-config", so it can be a program name with args. 12032set dummy pkg-config; ac_word=$2 12033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12034$as_echo_n "checking for $ac_word... " >&6; } 12035if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 12036 $as_echo_n "(cached) " >&6 12037else 12038 case $ac_pt_PKG_CONFIG in 12039 [\\/]* | ?:[\\/]*) 12040 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12041 ;; 12042 *) 12043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12044for as_dir in $PATH 12045do 12046 IFS=$as_save_IFS 12047 test -z "$as_dir" && as_dir=. 12048 for ac_exec_ext in '' $ac_executable_extensions; do 12049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12050 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12052 break 2 12053 fi 12054done 12055 done 12056IFS=$as_save_IFS 12057 12058 ;; 12059esac 12060fi 12061ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12062if test -n "$ac_pt_PKG_CONFIG"; then 12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12064$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12065else 12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12067$as_echo "no" >&6; } 12068fi 12069 12070 if test "x$ac_pt_PKG_CONFIG" = x; then 12071 PKG_CONFIG="" 12072 else 12073 case $cross_compiling:$ac_tool_warned in 12074yes:) 12075{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12076$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12077ac_tool_warned=yes ;; 12078esac 12079 PKG_CONFIG=$ac_pt_PKG_CONFIG 12080 fi 12081else 12082 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12083fi 12084 12085fi 12086if test -n "$PKG_CONFIG"; then 12087 _pkg_min_version=0.9.0 12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12089$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12090 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12092$as_echo "yes" >&6; } 12093 else 12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12095$as_echo "no" >&6; } 12096 PKG_CONFIG="" 12097 fi 12098fi 12099 12100pkg_failed=no 12101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 12102$as_echo_n "checking for GST... " >&6; } 12103 12104if test -n "$GST_CFLAGS"; then 12105 pkg_cv_GST_CFLAGS="$GST_CFLAGS" 12106 elif test -n "$PKG_CONFIG"; then 12107 if test -n "$PKG_CONFIG" && \ 12108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 12109 gstreamer-1.0 >= \$GST_REQ 12110 gstreamer-base-1.0 >= \$GST_REQ 12111 gstreamer-plugins-base-1.0 >= \$GST_REQ 12112 gstreamer-pbutils-1.0 >= \$GST_REQ 12113 gstreamer-video-1.0 >= \$GST_REQ\""; } >&5 12114 ($PKG_CONFIG --exists --print-errors "\ 12115 gstreamer-1.0 >= $GST_REQ 12116 gstreamer-base-1.0 >= $GST_REQ 12117 gstreamer-plugins-base-1.0 >= $GST_REQ 12118 gstreamer-pbutils-1.0 >= $GST_REQ 12119 gstreamer-video-1.0 >= $GST_REQ") 2>&5 12120 ac_status=$? 12121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12122 test $ac_status = 0; }; then 12123 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "\ 12124 gstreamer-1.0 >= $GST_REQ 12125 gstreamer-base-1.0 >= $GST_REQ 12126 gstreamer-plugins-base-1.0 >= $GST_REQ 12127 gstreamer-pbutils-1.0 >= $GST_REQ 12128 gstreamer-video-1.0 >= $GST_REQ" 2>/dev/null` 12129 test "x$?" != "x0" && pkg_failed=yes 12130else 12131 pkg_failed=yes 12132fi 12133 else 12134 pkg_failed=untried 12135fi 12136if test -n "$GST_LIBS"; then 12137 pkg_cv_GST_LIBS="$GST_LIBS" 12138 elif test -n "$PKG_CONFIG"; then 12139 if test -n "$PKG_CONFIG" && \ 12140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 12141 gstreamer-1.0 >= \$GST_REQ 12142 gstreamer-base-1.0 >= \$GST_REQ 12143 gstreamer-plugins-base-1.0 >= \$GST_REQ 12144 gstreamer-pbutils-1.0 >= \$GST_REQ 12145 gstreamer-video-1.0 >= \$GST_REQ\""; } >&5 12146 ($PKG_CONFIG --exists --print-errors "\ 12147 gstreamer-1.0 >= $GST_REQ 12148 gstreamer-base-1.0 >= $GST_REQ 12149 gstreamer-plugins-base-1.0 >= $GST_REQ 12150 gstreamer-pbutils-1.0 >= $GST_REQ 12151 gstreamer-video-1.0 >= $GST_REQ") 2>&5 12152 ac_status=$? 12153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12154 test $ac_status = 0; }; then 12155 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "\ 12156 gstreamer-1.0 >= $GST_REQ 12157 gstreamer-base-1.0 >= $GST_REQ 12158 gstreamer-plugins-base-1.0 >= $GST_REQ 12159 gstreamer-pbutils-1.0 >= $GST_REQ 12160 gstreamer-video-1.0 >= $GST_REQ" 2>/dev/null` 12161 test "x$?" != "x0" && pkg_failed=yes 12162else 12163 pkg_failed=yes 12164fi 12165 else 12166 pkg_failed=untried 12167fi 12168 12169 12170 12171if test $pkg_failed = yes; then 12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12173$as_echo "no" >&6; } 12174 12175if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12176 _pkg_short_errors_supported=yes 12177else 12178 _pkg_short_errors_supported=no 12179fi 12180 if test $_pkg_short_errors_supported = yes; then 12181 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\ 12182 gstreamer-1.0 >= $GST_REQ 12183 gstreamer-base-1.0 >= $GST_REQ 12184 gstreamer-plugins-base-1.0 >= $GST_REQ 12185 gstreamer-pbutils-1.0 >= $GST_REQ 12186 gstreamer-video-1.0 >= $GST_REQ" 2>&1` 12187 else 12188 GST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\ 12189 gstreamer-1.0 >= $GST_REQ 12190 gstreamer-base-1.0 >= $GST_REQ 12191 gstreamer-plugins-base-1.0 >= $GST_REQ 12192 gstreamer-pbutils-1.0 >= $GST_REQ 12193 gstreamer-video-1.0 >= $GST_REQ" 2>&1` 12194 fi 12195 # Put the nasty error message in config.log where it belongs 12196 echo "$GST_PKG_ERRORS" >&5 12197 12198 as_fn_error $? "Package requirements (\ 12199 gstreamer-1.0 >= $GST_REQ 12200 gstreamer-base-1.0 >= $GST_REQ 12201 gstreamer-plugins-base-1.0 >= $GST_REQ 12202 gstreamer-pbutils-1.0 >= $GST_REQ 12203 gstreamer-video-1.0 >= $GST_REQ) were not met: 12204 12205$GST_PKG_ERRORS 12206 12207Consider adjusting the PKG_CONFIG_PATH environment variable if you 12208installed software in a non-standard prefix. 12209 12210Alternatively, you may set the environment variables GST_CFLAGS 12211and GST_LIBS to avoid the need to call pkg-config. 12212See the pkg-config man page for more details." "$LINENO" 5 12213elif test $pkg_failed = untried; then 12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12215$as_echo "no" >&6; } 12216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12217$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12218as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12219is in your PATH or set the PKG_CONFIG environment variable to the full 12220path to pkg-config. 12221 12222Alternatively, you may set the environment variables GST_CFLAGS 12223and GST_LIBS to avoid the need to call pkg-config. 12224See the pkg-config man page for more details. 12225 12226To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12227See \`config.log' for more details" "$LINENO" 5; } 12228else 12229 GST_CFLAGS=$pkg_cv_GST_CFLAGS 12230 GST_LIBS=$pkg_cv_GST_LIBS 12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12232$as_echo "yes" >&6; } 12233 12234fi 12235 12236 12237 12238 12239 12240pkg_failed=no 12241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER" >&5 12242$as_echo_n "checking for CLUTTER... " >&6; } 12243 12244if test -n "$CLUTTER_CFLAGS"; then 12245 pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS" 12246 elif test -n "$PKG_CONFIG"; then 12247 if test -n "$PKG_CONFIG" && \ 12248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= \$CLUTTER_REQS\""; } >&5 12249 ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= $CLUTTER_REQS") 2>&5 12250 ac_status=$? 12251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12252 test $ac_status = 0; }; then 12253 pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0 >= $CLUTTER_REQS" 2>/dev/null` 12254 test "x$?" != "x0" && pkg_failed=yes 12255else 12256 pkg_failed=yes 12257fi 12258 else 12259 pkg_failed=untried 12260fi 12261if test -n "$CLUTTER_LIBS"; then 12262 pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS" 12263 elif test -n "$PKG_CONFIG"; then 12264 if test -n "$PKG_CONFIG" && \ 12265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= \$CLUTTER_REQS\""; } >&5 12266 ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= $CLUTTER_REQS") 2>&5 12267 ac_status=$? 12268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12269 test $ac_status = 0; }; then 12270 pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0 >= $CLUTTER_REQS" 2>/dev/null` 12271 test "x$?" != "x0" && pkg_failed=yes 12272else 12273 pkg_failed=yes 12274fi 12275 else 12276 pkg_failed=untried 12277fi 12278 12279 12280 12281if test $pkg_failed = yes; then 12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12283$as_echo "no" >&6; } 12284 12285if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12286 _pkg_short_errors_supported=yes 12287else 12288 _pkg_short_errors_supported=no 12289fi 12290 if test $_pkg_short_errors_supported = yes; then 12291 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-1.0 >= $CLUTTER_REQS" 2>&1` 12292 else 12293 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-1.0 >= $CLUTTER_REQS" 2>&1` 12294 fi 12295 # Put the nasty error message in config.log where it belongs 12296 echo "$CLUTTER_PKG_ERRORS" >&5 12297 12298 as_fn_error $? "Package requirements (clutter-1.0 >= $CLUTTER_REQS) were not met: 12299 12300$CLUTTER_PKG_ERRORS 12301 12302Consider adjusting the PKG_CONFIG_PATH environment variable if you 12303installed software in a non-standard prefix. 12304 12305Alternatively, you may set the environment variables CLUTTER_CFLAGS 12306and CLUTTER_LIBS to avoid the need to call pkg-config. 12307See the pkg-config man page for more details." "$LINENO" 5 12308elif test $pkg_failed = untried; then 12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12310$as_echo "no" >&6; } 12311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12312$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12313as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12314is in your PATH or set the PKG_CONFIG environment variable to the full 12315path to pkg-config. 12316 12317Alternatively, you may set the environment variables CLUTTER_CFLAGS 12318and CLUTTER_LIBS to avoid the need to call pkg-config. 12319See the pkg-config man page for more details. 12320 12321To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12322See \`config.log' for more details" "$LINENO" 5; } 12323else 12324 CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS 12325 CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS 12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12327$as_echo "yes" >&6; } 12328 12329fi 12330 12331 12332 12333 12334pkg_failed=no 12335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_GST" >&5 12336$as_echo_n "checking for CLUTTER_GST... " >&6; } 12337 12338if test -n "$CLUTTER_GST_CFLAGS"; then 12339 pkg_cv_CLUTTER_GST_CFLAGS="$CLUTTER_GST_CFLAGS" 12340 elif test -n "$PKG_CONFIG"; then 12341 if test -n "$PKG_CONFIG" && \ 12342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-2.0 >= \$CLUTTER_GST_REQS\""; } >&5 12343 ($PKG_CONFIG --exists --print-errors "clutter-gst-2.0 >= $CLUTTER_GST_REQS") 2>&5 12344 ac_status=$? 12345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12346 test $ac_status = 0; }; then 12347 pkg_cv_CLUTTER_GST_CFLAGS=`$PKG_CONFIG --cflags "clutter-gst-2.0 >= $CLUTTER_GST_REQS" 2>/dev/null` 12348 test "x$?" != "x0" && pkg_failed=yes 12349else 12350 pkg_failed=yes 12351fi 12352 else 12353 pkg_failed=untried 12354fi 12355if test -n "$CLUTTER_GST_LIBS"; then 12356 pkg_cv_CLUTTER_GST_LIBS="$CLUTTER_GST_LIBS" 12357 elif test -n "$PKG_CONFIG"; then 12358 if test -n "$PKG_CONFIG" && \ 12359 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-2.0 >= \$CLUTTER_GST_REQS\""; } >&5 12360 ($PKG_CONFIG --exists --print-errors "clutter-gst-2.0 >= $CLUTTER_GST_REQS") 2>&5 12361 ac_status=$? 12362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12363 test $ac_status = 0; }; then 12364 pkg_cv_CLUTTER_GST_LIBS=`$PKG_CONFIG --libs "clutter-gst-2.0 >= $CLUTTER_GST_REQS" 2>/dev/null` 12365 test "x$?" != "x0" && pkg_failed=yes 12366else 12367 pkg_failed=yes 12368fi 12369 else 12370 pkg_failed=untried 12371fi 12372 12373 12374 12375if test $pkg_failed = yes; then 12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12377$as_echo "no" >&6; } 12378 12379if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12380 _pkg_short_errors_supported=yes 12381else 12382 _pkg_short_errors_supported=no 12383fi 12384 if test $_pkg_short_errors_supported = yes; then 12385 CLUTTER_GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gst-2.0 >= $CLUTTER_GST_REQS" 2>&1` 12386 else 12387 CLUTTER_GST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gst-2.0 >= $CLUTTER_GST_REQS" 2>&1` 12388 fi 12389 # Put the nasty error message in config.log where it belongs 12390 echo "$CLUTTER_GST_PKG_ERRORS" >&5 12391 12392 as_fn_error $? "Package requirements (clutter-gst-2.0 >= $CLUTTER_GST_REQS) were not met: 12393 12394$CLUTTER_GST_PKG_ERRORS 12395 12396Consider adjusting the PKG_CONFIG_PATH environment variable if you 12397installed software in a non-standard prefix. 12398 12399Alternatively, you may set the environment variables CLUTTER_GST_CFLAGS 12400and CLUTTER_GST_LIBS to avoid the need to call pkg-config. 12401See the pkg-config man page for more details." "$LINENO" 5 12402elif test $pkg_failed = untried; then 12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12404$as_echo "no" >&6; } 12405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12406$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12407as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12408is in your PATH or set the PKG_CONFIG environment variable to the full 12409path to pkg-config. 12410 12411Alternatively, you may set the environment variables CLUTTER_GST_CFLAGS 12412and CLUTTER_GST_LIBS to avoid the need to call pkg-config. 12413See the pkg-config man page for more details. 12414 12415To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12416See \`config.log' for more details" "$LINENO" 5; } 12417else 12418 CLUTTER_GST_CFLAGS=$pkg_cv_CLUTTER_GST_CFLAGS 12419 CLUTTER_GST_LIBS=$pkg_cv_CLUTTER_GST_LIBS 12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12421$as_echo "yes" >&6; } 12422 12423fi 12424 12425 12426 12427 12428pkg_failed=no 12429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_GTK" >&5 12430$as_echo_n "checking for CLUTTER_GTK... " >&6; } 12431 12432if test -n "$CLUTTER_GTK_CFLAGS"; then 12433 pkg_cv_CLUTTER_GTK_CFLAGS="$CLUTTER_GTK_CFLAGS" 12434 elif test -n "$PKG_CONFIG"; then 12435 if test -n "$PKG_CONFIG" && \ 12436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= \$CLUTTER_GTK_REQS\""; } >&5 12437 ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= $CLUTTER_GTK_REQS") 2>&5 12438 ac_status=$? 12439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12440 test $ac_status = 0; }; then 12441 pkg_cv_CLUTTER_GTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-1.0 >= $CLUTTER_GTK_REQS" 2>/dev/null` 12442 test "x$?" != "x0" && pkg_failed=yes 12443else 12444 pkg_failed=yes 12445fi 12446 else 12447 pkg_failed=untried 12448fi 12449if test -n "$CLUTTER_GTK_LIBS"; then 12450 pkg_cv_CLUTTER_GTK_LIBS="$CLUTTER_GTK_LIBS" 12451 elif test -n "$PKG_CONFIG"; then 12452 if test -n "$PKG_CONFIG" && \ 12453 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= \$CLUTTER_GTK_REQS\""; } >&5 12454 ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= $CLUTTER_GTK_REQS") 2>&5 12455 ac_status=$? 12456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12457 test $ac_status = 0; }; then 12458 pkg_cv_CLUTTER_GTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-1.0 >= $CLUTTER_GTK_REQS" 2>/dev/null` 12459 test "x$?" != "x0" && pkg_failed=yes 12460else 12461 pkg_failed=yes 12462fi 12463 else 12464 pkg_failed=untried 12465fi 12466 12467 12468 12469if test $pkg_failed = yes; then 12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12471$as_echo "no" >&6; } 12472 12473if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12474 _pkg_short_errors_supported=yes 12475else 12476 _pkg_short_errors_supported=no 12477fi 12478 if test $_pkg_short_errors_supported = yes; then 12479 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-1.0 >= $CLUTTER_GTK_REQS" 2>&1` 12480 else 12481 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-1.0 >= $CLUTTER_GTK_REQS" 2>&1` 12482 fi 12483 # Put the nasty error message in config.log where it belongs 12484 echo "$CLUTTER_GTK_PKG_ERRORS" >&5 12485 12486 as_fn_error $? "Package requirements (clutter-gtk-1.0 >= $CLUTTER_GTK_REQS) were not met: 12487 12488$CLUTTER_GTK_PKG_ERRORS 12489 12490Consider adjusting the PKG_CONFIG_PATH environment variable if you 12491installed software in a non-standard prefix. 12492 12493Alternatively, you may set the environment variables CLUTTER_GTK_CFLAGS 12494and CLUTTER_GTK_LIBS to avoid the need to call pkg-config. 12495See the pkg-config man page for more details." "$LINENO" 5 12496elif test $pkg_failed = untried; then 12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12498$as_echo "no" >&6; } 12499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12500$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12501as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12502is in your PATH or set the PKG_CONFIG environment variable to the full 12503path to pkg-config. 12504 12505Alternatively, you may set the environment variables CLUTTER_GTK_CFLAGS 12506and CLUTTER_GTK_LIBS to avoid the need to call pkg-config. 12507See the pkg-config man page for more details. 12508 12509To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12510See \`config.log' for more details" "$LINENO" 5; } 12511else 12512 CLUTTER_GTK_CFLAGS=$pkg_cv_CLUTTER_GTK_CFLAGS 12513 CLUTTER_GTK_LIBS=$pkg_cv_CLUTTER_GTK_LIBS 12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12515$as_echo "yes" >&6; } 12516 12517fi 12518 12519 12520 12521 12522pkg_failed=no 12523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 12524$as_echo_n "checking for GTK... " >&6; } 12525 12526if test -n "$GTK_CFLAGS"; then 12527 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 12528 elif test -n "$PKG_CONFIG"; then 12529 if test -n "$PKG_CONFIG" && \ 12530 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQS\""; } >&5 12531 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQS") 2>&5 12532 ac_status=$? 12533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12534 test $ac_status = 0; }; then 12535 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQS" 2>/dev/null` 12536 test "x$?" != "x0" && pkg_failed=yes 12537else 12538 pkg_failed=yes 12539fi 12540 else 12541 pkg_failed=untried 12542fi 12543if test -n "$GTK_LIBS"; then 12544 pkg_cv_GTK_LIBS="$GTK_LIBS" 12545 elif test -n "$PKG_CONFIG"; then 12546 if test -n "$PKG_CONFIG" && \ 12547 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQS\""; } >&5 12548 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQS") 2>&5 12549 ac_status=$? 12550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12551 test $ac_status = 0; }; then 12552 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQS" 2>/dev/null` 12553 test "x$?" != "x0" && pkg_failed=yes 12554else 12555 pkg_failed=yes 12556fi 12557 else 12558 pkg_failed=untried 12559fi 12560 12561 12562 12563if test $pkg_failed = yes; then 12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12565$as_echo "no" >&6; } 12566 12567if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12568 _pkg_short_errors_supported=yes 12569else 12570 _pkg_short_errors_supported=no 12571fi 12572 if test $_pkg_short_errors_supported = yes; then 12573 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQS" 2>&1` 12574 else 12575 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQS" 2>&1` 12576 fi 12577 # Put the nasty error message in config.log where it belongs 12578 echo "$GTK_PKG_ERRORS" >&5 12579 12580 as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQS) were not met: 12581 12582$GTK_PKG_ERRORS 12583 12584Consider adjusting the PKG_CONFIG_PATH environment variable if you 12585installed software in a non-standard prefix. 12586 12587Alternatively, you may set the environment variables GTK_CFLAGS 12588and GTK_LIBS to avoid the need to call pkg-config. 12589See the pkg-config man page for more details." "$LINENO" 5 12590elif test $pkg_failed = untried; then 12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12592$as_echo "no" >&6; } 12593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12594$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12595as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12596is in your PATH or set the PKG_CONFIG environment variable to the full 12597path to pkg-config. 12598 12599Alternatively, you may set the environment variables GTK_CFLAGS 12600and GTK_LIBS to avoid the need to call pkg-config. 12601See the pkg-config man page for more details. 12602 12603To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12604See \`config.log' for more details" "$LINENO" 5; } 12605else 12606 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 12607 GTK_LIBS=$pkg_cv_GTK_LIBS 12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12609$as_echo "yes" >&6; } 12610 12611fi 12612 12613 12614 12615 12616pkg_failed=no 12617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 12618$as_echo_n "checking for GIO... " >&6; } 12619 12620if test -n "$GIO_CFLAGS"; then 12621 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" 12622 elif test -n "$PKG_CONFIG"; then 12623 if test -n "$PKG_CONFIG" && \ 12624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GIO_REQ\""; } >&5 12625 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GIO_REQ") 2>&5 12626 ac_status=$? 12627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12628 test $ac_status = 0; }; then 12629 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GIO_REQ" 2>/dev/null` 12630 test "x$?" != "x0" && pkg_failed=yes 12631else 12632 pkg_failed=yes 12633fi 12634 else 12635 pkg_failed=untried 12636fi 12637if test -n "$GIO_LIBS"; then 12638 pkg_cv_GIO_LIBS="$GIO_LIBS" 12639 elif test -n "$PKG_CONFIG"; then 12640 if test -n "$PKG_CONFIG" && \ 12641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GIO_REQ\""; } >&5 12642 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GIO_REQ") 2>&5 12643 ac_status=$? 12644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12645 test $ac_status = 0; }; then 12646 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GIO_REQ" 2>/dev/null` 12647 test "x$?" != "x0" && pkg_failed=yes 12648else 12649 pkg_failed=yes 12650fi 12651 else 12652 pkg_failed=untried 12653fi 12654 12655 12656 12657if test $pkg_failed = yes; then 12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12659$as_echo "no" >&6; } 12660 12661if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12662 _pkg_short_errors_supported=yes 12663else 12664 _pkg_short_errors_supported=no 12665fi 12666 if test $_pkg_short_errors_supported = yes; then 12667 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= $GIO_REQ" 2>&1` 12668 else 12669 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= $GIO_REQ" 2>&1` 12670 fi 12671 # Put the nasty error message in config.log where it belongs 12672 echo "$GIO_PKG_ERRORS" >&5 12673 12674 as_fn_error $? "Package requirements (gio-2.0 >= $GIO_REQ) were not met: 12675 12676$GIO_PKG_ERRORS 12677 12678Consider adjusting the PKG_CONFIG_PATH environment variable if you 12679installed software in a non-standard prefix. 12680 12681Alternatively, you may set the environment variables GIO_CFLAGS 12682and GIO_LIBS to avoid the need to call pkg-config. 12683See the pkg-config man page for more details." "$LINENO" 5 12684elif test $pkg_failed = untried; then 12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12686$as_echo "no" >&6; } 12687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12688$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12689as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12690is in your PATH or set the PKG_CONFIG environment variable to the full 12691path to pkg-config. 12692 12693Alternatively, you may set the environment variables GIO_CFLAGS 12694and GIO_LIBS to avoid the need to call pkg-config. 12695See the pkg-config man page for more details. 12696 12697To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12698See \`config.log' for more details" "$LINENO" 5; } 12699else 12700 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS 12701 GIO_LIBS=$pkg_cv_GIO_LIBS 12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12703$as_echo "yes" >&6; } 12704 12705fi 12706 12707 12708 12709case "$host" in 12710 *-*-mingw*|*-*-cygwin*) 12711 12712pkg_failed=no 12713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_WIN32" >&5 12714$as_echo_n "checking for CLUTTER_WIN32... " >&6; } 12715 12716if test -n "$CLUTTER_WIN32_CFLAGS"; then 12717 pkg_cv_CLUTTER_WIN32_CFLAGS="$CLUTTER_WIN32_CFLAGS" 12718 elif test -n "$PKG_CONFIG"; then 12719 if test -n "$PKG_CONFIG" && \ 12720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-win32-1.0\""; } >&5 12721 ($PKG_CONFIG --exists --print-errors "clutter-win32-1.0") 2>&5 12722 ac_status=$? 12723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12724 test $ac_status = 0; }; then 12725 pkg_cv_CLUTTER_WIN32_CFLAGS=`$PKG_CONFIG --cflags "clutter-win32-1.0" 2>/dev/null` 12726 test "x$?" != "x0" && pkg_failed=yes 12727else 12728 pkg_failed=yes 12729fi 12730 else 12731 pkg_failed=untried 12732fi 12733if test -n "$CLUTTER_WIN32_LIBS"; then 12734 pkg_cv_CLUTTER_WIN32_LIBS="$CLUTTER_WIN32_LIBS" 12735 elif test -n "$PKG_CONFIG"; then 12736 if test -n "$PKG_CONFIG" && \ 12737 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-win32-1.0\""; } >&5 12738 ($PKG_CONFIG --exists --print-errors "clutter-win32-1.0") 2>&5 12739 ac_status=$? 12740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12741 test $ac_status = 0; }; then 12742 pkg_cv_CLUTTER_WIN32_LIBS=`$PKG_CONFIG --libs "clutter-win32-1.0" 2>/dev/null` 12743 test "x$?" != "x0" && pkg_failed=yes 12744else 12745 pkg_failed=yes 12746fi 12747 else 12748 pkg_failed=untried 12749fi 12750 12751 12752 12753if test $pkg_failed = yes; then 12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12755$as_echo "no" >&6; } 12756 12757if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12758 _pkg_short_errors_supported=yes 12759else 12760 _pkg_short_errors_supported=no 12761fi 12762 if test $_pkg_short_errors_supported = yes; then 12763 CLUTTER_WIN32_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-win32-1.0" 2>&1` 12764 else 12765 CLUTTER_WIN32_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-win32-1.0" 2>&1` 12766 fi 12767 # Put the nasty error message in config.log where it belongs 12768 echo "$CLUTTER_WIN32_PKG_ERRORS" >&5 12769 12770 as_fn_error $? "Package requirements (clutter-win32-1.0) were not met: 12771 12772$CLUTTER_WIN32_PKG_ERRORS 12773 12774Consider adjusting the PKG_CONFIG_PATH environment variable if you 12775installed software in a non-standard prefix. 12776 12777Alternatively, you may set the environment variables CLUTTER_WIN32_CFLAGS 12778and CLUTTER_WIN32_LIBS to avoid the need to call pkg-config. 12779See the pkg-config man page for more details." "$LINENO" 5 12780elif test $pkg_failed = untried; then 12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12782$as_echo "no" >&6; } 12783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12784$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12785as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12786is in your PATH or set the PKG_CONFIG environment variable to the full 12787path to pkg-config. 12788 12789Alternatively, you may set the environment variables CLUTTER_WIN32_CFLAGS 12790and CLUTTER_WIN32_LIBS to avoid the need to call pkg-config. 12791See the pkg-config man page for more details. 12792 12793To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12794See \`config.log' for more details" "$LINENO" 5; } 12795else 12796 CLUTTER_WIN32_CFLAGS=$pkg_cv_CLUTTER_WIN32_CFLAGS 12797 CLUTTER_WIN32_LIBS=$pkg_cv_CLUTTER_WIN32_LIBS 12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12799$as_echo "yes" >&6; } 12800 12801$as_echo "#define HAVE_WIN32 1" >>confdefs.h 12802 12803fi 12804 ;; 12805 *-*-darwin*) 12806 12807pkg_failed=no 12808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_OSX" >&5 12809$as_echo_n "checking for CLUTTER_OSX... " >&6; } 12810 12811if test -n "$CLUTTER_OSX_CFLAGS"; then 12812 pkg_cv_CLUTTER_OSX_CFLAGS="$CLUTTER_OSX_CFLAGS" 12813 elif test -n "$PKG_CONFIG"; then 12814 if test -n "$PKG_CONFIG" && \ 12815 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-osx-1.0\""; } >&5 12816 ($PKG_CONFIG --exists --print-errors "clutter-osx-1.0") 2>&5 12817 ac_status=$? 12818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12819 test $ac_status = 0; }; then 12820 pkg_cv_CLUTTER_OSX_CFLAGS=`$PKG_CONFIG --cflags "clutter-osx-1.0" 2>/dev/null` 12821 test "x$?" != "x0" && pkg_failed=yes 12822else 12823 pkg_failed=yes 12824fi 12825 else 12826 pkg_failed=untried 12827fi 12828if test -n "$CLUTTER_OSX_LIBS"; then 12829 pkg_cv_CLUTTER_OSX_LIBS="$CLUTTER_OSX_LIBS" 12830 elif test -n "$PKG_CONFIG"; then 12831 if test -n "$PKG_CONFIG" && \ 12832 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-osx-1.0\""; } >&5 12833 ($PKG_CONFIG --exists --print-errors "clutter-osx-1.0") 2>&5 12834 ac_status=$? 12835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12836 test $ac_status = 0; }; then 12837 pkg_cv_CLUTTER_OSX_LIBS=`$PKG_CONFIG --libs "clutter-osx-1.0" 2>/dev/null` 12838 test "x$?" != "x0" && pkg_failed=yes 12839else 12840 pkg_failed=yes 12841fi 12842 else 12843 pkg_failed=untried 12844fi 12845 12846 12847 12848if test $pkg_failed = yes; then 12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12850$as_echo "no" >&6; } 12851 12852if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12853 _pkg_short_errors_supported=yes 12854else 12855 _pkg_short_errors_supported=no 12856fi 12857 if test $_pkg_short_errors_supported = yes; then 12858 CLUTTER_OSX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-osx-1.0" 2>&1` 12859 else 12860 CLUTTER_OSX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-osx-1.0" 2>&1` 12861 fi 12862 # Put the nasty error message in config.log where it belongs 12863 echo "$CLUTTER_OSX_PKG_ERRORS" >&5 12864 12865 12866 12867pkg_failed=no 12868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_X11" >&5 12869$as_echo_n "checking for CLUTTER_X11... " >&6; } 12870 12871if test -n "$CLUTTER_X11_CFLAGS"; then 12872 pkg_cv_CLUTTER_X11_CFLAGS="$CLUTTER_X11_CFLAGS" 12873 elif test -n "$PKG_CONFIG"; then 12874 if test -n "$PKG_CONFIG" && \ 12875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-x11-1.0\""; } >&5 12876 ($PKG_CONFIG --exists --print-errors "clutter-x11-1.0") 2>&5 12877 ac_status=$? 12878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12879 test $ac_status = 0; }; then 12880 pkg_cv_CLUTTER_X11_CFLAGS=`$PKG_CONFIG --cflags "clutter-x11-1.0" 2>/dev/null` 12881 test "x$?" != "x0" && pkg_failed=yes 12882else 12883 pkg_failed=yes 12884fi 12885 else 12886 pkg_failed=untried 12887fi 12888if test -n "$CLUTTER_X11_LIBS"; then 12889 pkg_cv_CLUTTER_X11_LIBS="$CLUTTER_X11_LIBS" 12890 elif test -n "$PKG_CONFIG"; then 12891 if test -n "$PKG_CONFIG" && \ 12892 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-x11-1.0\""; } >&5 12893 ($PKG_CONFIG --exists --print-errors "clutter-x11-1.0") 2>&5 12894 ac_status=$? 12895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12896 test $ac_status = 0; }; then 12897 pkg_cv_CLUTTER_X11_LIBS=`$PKG_CONFIG --libs "clutter-x11-1.0" 2>/dev/null` 12898 test "x$?" != "x0" && pkg_failed=yes 12899else 12900 pkg_failed=yes 12901fi 12902 else 12903 pkg_failed=untried 12904fi 12905 12906 12907 12908if test $pkg_failed = yes; then 12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12910$as_echo "no" >&6; } 12911 12912if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12913 _pkg_short_errors_supported=yes 12914else 12915 _pkg_short_errors_supported=no 12916fi 12917 if test $_pkg_short_errors_supported = yes; then 12918 CLUTTER_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-x11-1.0" 2>&1` 12919 else 12920 CLUTTER_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-x11-1.0" 2>&1` 12921 fi 12922 # Put the nasty error message in config.log where it belongs 12923 echo "$CLUTTER_X11_PKG_ERRORS" >&5 12924 12925 as_fn_error $? "Package requirements (clutter-x11-1.0) were not met: 12926 12927$CLUTTER_X11_PKG_ERRORS 12928 12929Consider adjusting the PKG_CONFIG_PATH environment variable if you 12930installed software in a non-standard prefix. 12931 12932Alternatively, you may set the environment variables CLUTTER_X11_CFLAGS 12933and CLUTTER_X11_LIBS to avoid the need to call pkg-config. 12934See the pkg-config man page for more details." "$LINENO" 5 12935elif test $pkg_failed = untried; then 12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12937$as_echo "no" >&6; } 12938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12939$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12940as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12941is in your PATH or set the PKG_CONFIG environment variable to the full 12942path to pkg-config. 12943 12944Alternatively, you may set the environment variables CLUTTER_X11_CFLAGS 12945and CLUTTER_X11_LIBS to avoid the need to call pkg-config. 12946See the pkg-config man page for more details. 12947 12948To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12949See \`config.log' for more details" "$LINENO" 5; } 12950else 12951 CLUTTER_X11_CFLAGS=$pkg_cv_CLUTTER_X11_CFLAGS 12952 CLUTTER_X11_LIBS=$pkg_cv_CLUTTER_X11_LIBS 12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12954$as_echo "yes" >&6; } 12955 12956$as_echo "#define HAVE_X11 1" >>confdefs.h 12957 12958fi 12959 12960elif test $pkg_failed = untried; then 12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12962$as_echo "no" >&6; } 12963 12964 12965pkg_failed=no 12966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_X11" >&5 12967$as_echo_n "checking for CLUTTER_X11... " >&6; } 12968 12969if test -n "$CLUTTER_X11_CFLAGS"; then 12970 pkg_cv_CLUTTER_X11_CFLAGS="$CLUTTER_X11_CFLAGS" 12971 elif test -n "$PKG_CONFIG"; then 12972 if test -n "$PKG_CONFIG" && \ 12973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-x11-1.0\""; } >&5 12974 ($PKG_CONFIG --exists --print-errors "clutter-x11-1.0") 2>&5 12975 ac_status=$? 12976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12977 test $ac_status = 0; }; then 12978 pkg_cv_CLUTTER_X11_CFLAGS=`$PKG_CONFIG --cflags "clutter-x11-1.0" 2>/dev/null` 12979 test "x$?" != "x0" && pkg_failed=yes 12980else 12981 pkg_failed=yes 12982fi 12983 else 12984 pkg_failed=untried 12985fi 12986if test -n "$CLUTTER_X11_LIBS"; then 12987 pkg_cv_CLUTTER_X11_LIBS="$CLUTTER_X11_LIBS" 12988 elif test -n "$PKG_CONFIG"; then 12989 if test -n "$PKG_CONFIG" && \ 12990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-x11-1.0\""; } >&5 12991 ($PKG_CONFIG --exists --print-errors "clutter-x11-1.0") 2>&5 12992 ac_status=$? 12993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12994 test $ac_status = 0; }; then 12995 pkg_cv_CLUTTER_X11_LIBS=`$PKG_CONFIG --libs "clutter-x11-1.0" 2>/dev/null` 12996 test "x$?" != "x0" && pkg_failed=yes 12997else 12998 pkg_failed=yes 12999fi 13000 else 13001 pkg_failed=untried 13002fi 13003 13004 13005 13006if test $pkg_failed = yes; then 13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13008$as_echo "no" >&6; } 13009 13010if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13011 _pkg_short_errors_supported=yes 13012else 13013 _pkg_short_errors_supported=no 13014fi 13015 if test $_pkg_short_errors_supported = yes; then 13016 CLUTTER_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-x11-1.0" 2>&1` 13017 else 13018 CLUTTER_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-x11-1.0" 2>&1` 13019 fi 13020 # Put the nasty error message in config.log where it belongs 13021 echo "$CLUTTER_X11_PKG_ERRORS" >&5 13022 13023 as_fn_error $? "Package requirements (clutter-x11-1.0) were not met: 13024 13025$CLUTTER_X11_PKG_ERRORS 13026 13027Consider adjusting the PKG_CONFIG_PATH environment variable if you 13028installed software in a non-standard prefix. 13029 13030Alternatively, you may set the environment variables CLUTTER_X11_CFLAGS 13031and CLUTTER_X11_LIBS to avoid the need to call pkg-config. 13032See the pkg-config man page for more details." "$LINENO" 5 13033elif test $pkg_failed = untried; then 13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13035$as_echo "no" >&6; } 13036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13038as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 13039is in your PATH or set the PKG_CONFIG environment variable to the full 13040path to pkg-config. 13041 13042Alternatively, you may set the environment variables CLUTTER_X11_CFLAGS 13043and CLUTTER_X11_LIBS to avoid the need to call pkg-config. 13044See the pkg-config man page for more details. 13045 13046To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13047See \`config.log' for more details" "$LINENO" 5; } 13048else 13049 CLUTTER_X11_CFLAGS=$pkg_cv_CLUTTER_X11_CFLAGS 13050 CLUTTER_X11_LIBS=$pkg_cv_CLUTTER_X11_LIBS 13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13052$as_echo "yes" >&6; } 13053 13054$as_echo "#define HAVE_X11 1" >>confdefs.h 13055 13056fi 13057 13058else 13059 CLUTTER_OSX_CFLAGS=$pkg_cv_CLUTTER_OSX_CFLAGS 13060 CLUTTER_OSX_LIBS=$pkg_cv_CLUTTER_OSX_LIBS 13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13062$as_echo "yes" >&6; } 13063 13064$as_echo "#define HAVE_OSX 1" >>confdefs.h 13065 13066fi 13067 ;; 13068 *) 13069 13070pkg_failed=no 13071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_X11" >&5 13072$as_echo_n "checking for CLUTTER_X11... " >&6; } 13073 13074if test -n "$CLUTTER_X11_CFLAGS"; then 13075 pkg_cv_CLUTTER_X11_CFLAGS="$CLUTTER_X11_CFLAGS" 13076 elif test -n "$PKG_CONFIG"; then 13077 if test -n "$PKG_CONFIG" && \ 13078 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-x11-1.0\""; } >&5 13079 ($PKG_CONFIG --exists --print-errors "clutter-x11-1.0") 2>&5 13080 ac_status=$? 13081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13082 test $ac_status = 0; }; then 13083 pkg_cv_CLUTTER_X11_CFLAGS=`$PKG_CONFIG --cflags "clutter-x11-1.0" 2>/dev/null` 13084 test "x$?" != "x0" && pkg_failed=yes 13085else 13086 pkg_failed=yes 13087fi 13088 else 13089 pkg_failed=untried 13090fi 13091if test -n "$CLUTTER_X11_LIBS"; then 13092 pkg_cv_CLUTTER_X11_LIBS="$CLUTTER_X11_LIBS" 13093 elif test -n "$PKG_CONFIG"; then 13094 if test -n "$PKG_CONFIG" && \ 13095 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-x11-1.0\""; } >&5 13096 ($PKG_CONFIG --exists --print-errors "clutter-x11-1.0") 2>&5 13097 ac_status=$? 13098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13099 test $ac_status = 0; }; then 13100 pkg_cv_CLUTTER_X11_LIBS=`$PKG_CONFIG --libs "clutter-x11-1.0" 2>/dev/null` 13101 test "x$?" != "x0" && pkg_failed=yes 13102else 13103 pkg_failed=yes 13104fi 13105 else 13106 pkg_failed=untried 13107fi 13108 13109 13110 13111if test $pkg_failed = yes; then 13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13113$as_echo "no" >&6; } 13114 13115if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13116 _pkg_short_errors_supported=yes 13117else 13118 _pkg_short_errors_supported=no 13119fi 13120 if test $_pkg_short_errors_supported = yes; then 13121 CLUTTER_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-x11-1.0" 2>&1` 13122 else 13123 CLUTTER_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-x11-1.0" 2>&1` 13124 fi 13125 # Put the nasty error message in config.log where it belongs 13126 echo "$CLUTTER_X11_PKG_ERRORS" >&5 13127 13128 as_fn_error $? "Package requirements (clutter-x11-1.0) were not met: 13129 13130$CLUTTER_X11_PKG_ERRORS 13131 13132Consider adjusting the PKG_CONFIG_PATH environment variable if you 13133installed software in a non-standard prefix. 13134 13135Alternatively, you may set the environment variables CLUTTER_X11_CFLAGS 13136and CLUTTER_X11_LIBS to avoid the need to call pkg-config. 13137See the pkg-config man page for more details." "$LINENO" 5 13138elif test $pkg_failed = untried; then 13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13140$as_echo "no" >&6; } 13141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13142$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13143as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 13144is in your PATH or set the PKG_CONFIG environment variable to the full 13145path to pkg-config. 13146 13147Alternatively, you may set the environment variables CLUTTER_X11_CFLAGS 13148and CLUTTER_X11_LIBS to avoid the need to call pkg-config. 13149See the pkg-config man page for more details. 13150 13151To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13152See \`config.log' for more details" "$LINENO" 5; } 13153else 13154 CLUTTER_X11_CFLAGS=$pkg_cv_CLUTTER_X11_CFLAGS 13155 CLUTTER_X11_LIBS=$pkg_cv_CLUTTER_X11_LIBS 13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13157$as_echo "yes" >&6; } 13158 13159$as_echo "#define HAVE_X11 1" >>confdefs.h 13160 13161fi 13162 ;; 13163esac 13164 13165 13166pkg_failed=no 13167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTEST" >&5 13168$as_echo_n "checking for XTEST... " >&6; } 13169 13170if test -n "$XTEST_CFLAGS"; then 13171 pkg_cv_XTEST_CFLAGS="$XTEST_CFLAGS" 13172 elif test -n "$PKG_CONFIG"; then 13173 if test -n "$PKG_CONFIG" && \ 13174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 13175 ($PKG_CONFIG --exists --print-errors "xtst") 2>&5 13176 ac_status=$? 13177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13178 test $ac_status = 0; }; then 13179 pkg_cv_XTEST_CFLAGS=`$PKG_CONFIG --cflags "xtst" 2>/dev/null` 13180 test "x$?" != "x0" && pkg_failed=yes 13181else 13182 pkg_failed=yes 13183fi 13184 else 13185 pkg_failed=untried 13186fi 13187if test -n "$XTEST_LIBS"; then 13188 pkg_cv_XTEST_LIBS="$XTEST_LIBS" 13189 elif test -n "$PKG_CONFIG"; then 13190 if test -n "$PKG_CONFIG" && \ 13191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 13192 ($PKG_CONFIG --exists --print-errors "xtst") 2>&5 13193 ac_status=$? 13194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13195 test $ac_status = 0; }; then 13196 pkg_cv_XTEST_LIBS=`$PKG_CONFIG --libs "xtst" 2>/dev/null` 13197 test "x$?" != "x0" && pkg_failed=yes 13198else 13199 pkg_failed=yes 13200fi 13201 else 13202 pkg_failed=untried 13203fi 13204 13205 13206 13207if test $pkg_failed = yes; then 13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13209$as_echo "no" >&6; } 13210 13211if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13212 _pkg_short_errors_supported=yes 13213else 13214 _pkg_short_errors_supported=no 13215fi 13216 if test $_pkg_short_errors_supported = yes; then 13217 XTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xtst" 2>&1` 13218 else 13219 XTEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xtst" 2>&1` 13220 fi 13221 # Put the nasty error message in config.log where it belongs 13222 echo "$XTEST_PKG_ERRORS" >&5 13223 13224 true 13225elif test $pkg_failed = untried; then 13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13227$as_echo "no" >&6; } 13228 true 13229else 13230 XTEST_CFLAGS=$pkg_cv_XTEST_CFLAGS 13231 XTEST_LIBS=$pkg_cv_XTEST_LIBS 13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13233$as_echo "yes" >&6; } 13234 13235$as_echo "#define HAVE_XTEST 1" >>confdefs.h 13236 13237fi 13238 13239 13240 13241# Check whether --enable-dbus was given. 13242if test "${enable_dbus+set}" = set; then : 13243 enableval=$enable_dbus; 13244else 13245 enable_dbus=yes 13246fi 13247 13248 13249if test "x$enable_dbus" = "xyes"; then 13250 13251pkg_failed=no 13252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_2_26" >&5 13253$as_echo_n "checking for GIO_2_26... " >&6; } 13254 13255if test -n "$GIO_2_26_CFLAGS"; then 13256 pkg_cv_GIO_2_26_CFLAGS="$GIO_2_26_CFLAGS" 13257 elif test -n "$PKG_CONFIG"; then 13258 if test -n "$PKG_CONFIG" && \ 13259 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5 13260 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5 13261 ac_status=$? 13262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13263 test $ac_status = 0; }; then 13264 pkg_cv_GIO_2_26_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null` 13265 test "x$?" != "x0" && pkg_failed=yes 13266else 13267 pkg_failed=yes 13268fi 13269 else 13270 pkg_failed=untried 13271fi 13272if test -n "$GIO_2_26_LIBS"; then 13273 pkg_cv_GIO_2_26_LIBS="$GIO_2_26_LIBS" 13274 elif test -n "$PKG_CONFIG"; then 13275 if test -n "$PKG_CONFIG" && \ 13276 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5 13277 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5 13278 ac_status=$? 13279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13280 test $ac_status = 0; }; then 13281 pkg_cv_GIO_2_26_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null` 13282 test "x$?" != "x0" && pkg_failed=yes 13283else 13284 pkg_failed=yes 13285fi 13286 else 13287 pkg_failed=untried 13288fi 13289 13290 13291 13292if test $pkg_failed = yes; then 13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13294$as_echo "no" >&6; } 13295 13296if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13297 _pkg_short_errors_supported=yes 13298else 13299 _pkg_short_errors_supported=no 13300fi 13301 if test $_pkg_short_errors_supported = yes; then 13302 GIO_2_26_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1` 13303 else 13304 GIO_2_26_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1` 13305 fi 13306 # Put the nasty error message in config.log where it belongs 13307 echo "$GIO_2_26_PKG_ERRORS" >&5 13308 13309 as_fn_error $? "GIO >= 2.26 not found, which is required for DBus support" "$LINENO" 5 13310elif test $pkg_failed = untried; then 13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13312$as_echo "no" >&6; } 13313 as_fn_error $? "GIO >= 2.26 not found, which is required for DBus support" "$LINENO" 5 13314else 13315 GIO_2_26_CFLAGS=$pkg_cv_GIO_2_26_CFLAGS 13316 GIO_2_26_LIBS=$pkg_cv_GIO_2_26_LIBS 13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13318$as_echo "yes" >&6; } 13319 13320$as_echo "#define ENABLE_DBUS 1" >>confdefs.h 13321 13322fi 13323fi 13324 13325GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR 13326GST_MAJORMINOR=0.10 13327 13328 13329 13330 13331ACLOCAL_AMFLAGS="-I m4 -I common/m4" 13332 13333 13334 13335ROOT_UNINSTALLED_DIR="`pwd`" 13336 13337cat >>confdefs.h <<_ACEOF 13338#define SHARE_UNINSTALLED_DIR "`pwd`/$srcdir/data" 13339_ACEOF 13340 13341 13342cat >>confdefs.h <<_ACEOF 13343#define SHARE_UNINSTALLED_BUILDDIR "`pwd`/data" 13344_ACEOF 13345 13346 13347 13348GST_LICENSE="LGPL" 13349 13350cat >>confdefs.h <<_ACEOF 13351#define GST_LICENSE "$GST_LICENSE" 13352_ACEOF 13353 13354 13355 13356ac_config_files="$ac_config_files Makefile data/Makefile data/icons/Makefile data/icons/256x256/Makefile data/icons/48x48/Makefile src/Makefile" 13357 13358cat >confcache <<\_ACEOF 13359# This file is a shell script that caches the results of configure 13360# tests run on this system so they can be shared between configure 13361# scripts and configure runs, see configure's option --config-cache. 13362# It is not useful on other systems. If it contains results you don't 13363# want to keep, you may remove or edit it. 13364# 13365# config.status only pays attention to the cache file if you give it 13366# the --recheck option to rerun configure. 13367# 13368# `ac_cv_env_foo' variables (set or unset) will be overridden when 13369# loading this file, other *unset* `ac_cv_foo' will be assigned the 13370# following values. 13371 13372_ACEOF 13373 13374# The following way of writing the cache mishandles newlines in values, 13375# but we know of no workaround that is simple, portable, and efficient. 13376# So, we kill variables containing newlines. 13377# Ultrix sh set writes to stderr and can't be redirected directly, 13378# and sets the high bit in the cache file unless we assign to the vars. 13379( 13380 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13381 eval ac_val=\$$ac_var 13382 case $ac_val in #( 13383 *${as_nl}*) 13384 case $ac_var in #( 13385 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13386$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13387 esac 13388 case $ac_var in #( 13389 _ | IFS | as_nl) ;; #( 13390 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13391 *) { eval $ac_var=; unset $ac_var;} ;; 13392 esac ;; 13393 esac 13394 done 13395 13396 (set) 2>&1 | 13397 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13398 *${as_nl}ac_space=\ *) 13399 # `set' does not quote correctly, so add quotes: double-quote 13400 # substitution turns \\\\ into \\, and sed turns \\ into \. 13401 sed -n \ 13402 "s/'/'\\\\''/g; 13403 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13404 ;; #( 13405 *) 13406 # `set' quotes correctly as required by POSIX, so do not add quotes. 13407 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13408 ;; 13409 esac | 13410 sort 13411) | 13412 sed ' 13413 /^ac_cv_env_/b end 13414 t clear 13415 :clear 13416 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13417 t end 13418 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13419 :end' >>confcache 13420if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13421 if test -w "$cache_file"; then 13422 if test "x$cache_file" != "x/dev/null"; then 13423 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13424$as_echo "$as_me: updating cache $cache_file" >&6;} 13425 if test ! -f "$cache_file" || test -h "$cache_file"; then 13426 cat confcache >"$cache_file" 13427 else 13428 case $cache_file in #( 13429 */* | ?:*) 13430 mv -f confcache "$cache_file"$$ && 13431 mv -f "$cache_file"$$ "$cache_file" ;; #( 13432 *) 13433 mv -f confcache "$cache_file" ;; 13434 esac 13435 fi 13436 fi 13437 else 13438 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13439$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13440 fi 13441fi 13442rm -f confcache 13443 13444test "x$prefix" = xNONE && prefix=$ac_default_prefix 13445# Let make expand exec_prefix. 13446test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13447 13448DEFS=-DHAVE_CONFIG_H 13449 13450ac_libobjs= 13451ac_ltlibobjs= 13452for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13453 # 1. Remove the extension, and $U if already installed. 13454 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13455 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13456 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13457 # will be set to the directory where LIBOBJS objects are built. 13458 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13459 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13460done 13461LIBOBJS=$ac_libobjs 13462 13463LTLIBOBJS=$ac_ltlibobjs 13464 13465 13466if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13467 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 13468Usually this means the macro was only invoked conditionally." "$LINENO" 5 13469fi 13470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 13471$as_echo_n "checking that generated files are newer than configure... " >&6; } 13472 if test -n "$am_sleep_pid"; then 13473 # Hide warnings about reused PIDs. 13474 wait $am_sleep_pid 2>/dev/null 13475 fi 13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 13477$as_echo "done" >&6; } 13478 if test -n "$EXEEXT"; then 13479 am__EXEEXT_TRUE= 13480 am__EXEEXT_FALSE='#' 13481else 13482 am__EXEEXT_TRUE='#' 13483 am__EXEEXT_FALSE= 13484fi 13485 13486if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13487 as_fn_error $? "conditional \"AMDEP\" was never defined. 13488Usually this means the macro was only invoked conditionally." "$LINENO" 5 13489fi 13490if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13491 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13492Usually this means the macro was only invoked conditionally." "$LINENO" 5 13493fi 13494 13495: "${CONFIG_STATUS=./config.status}" 13496ac_write_fail=0 13497ac_clean_files_save=$ac_clean_files 13498ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13499{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13500$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13501as_write_fail=0 13502cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13503#! $SHELL 13504# Generated by $as_me. 13505# Run this file to recreate the current configuration. 13506# Compiler output produced by configure, useful for debugging 13507# configure, is in config.log if it exists. 13508 13509debug=false 13510ac_cs_recheck=false 13511ac_cs_silent=false 13512 13513SHELL=\${CONFIG_SHELL-$SHELL} 13514export SHELL 13515_ASEOF 13516cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13517## -------------------- ## 13518## M4sh Initialization. ## 13519## -------------------- ## 13520 13521# Be more Bourne compatible 13522DUALCASE=1; export DUALCASE # for MKS sh 13523if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13524 emulate sh 13525 NULLCMD=: 13526 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13527 # is contrary to our usage. Disable this feature. 13528 alias -g '${1+"$@"}'='"$@"' 13529 setopt NO_GLOB_SUBST 13530else 13531 case `(set -o) 2>/dev/null` in #( 13532 *posix*) : 13533 set -o posix ;; #( 13534 *) : 13535 ;; 13536esac 13537fi 13538 13539 13540as_nl=' 13541' 13542export as_nl 13543# Printing a long string crashes Solaris 7 /usr/bin/printf. 13544as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13545as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13546as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13547# Prefer a ksh shell builtin over an external printf program on Solaris, 13548# but without wasting forks for bash or zsh. 13549if test -z "$BASH_VERSION$ZSH_VERSION" \ 13550 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13551 as_echo='print -r --' 13552 as_echo_n='print -rn --' 13553elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13554 as_echo='printf %s\n' 13555 as_echo_n='printf %s' 13556else 13557 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13558 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13559 as_echo_n='/usr/ucb/echo -n' 13560 else 13561 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13562 as_echo_n_body='eval 13563 arg=$1; 13564 case $arg in #( 13565 *"$as_nl"*) 13566 expr "X$arg" : "X\\(.*\\)$as_nl"; 13567 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13568 esac; 13569 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13570 ' 13571 export as_echo_n_body 13572 as_echo_n='sh -c $as_echo_n_body as_echo' 13573 fi 13574 export as_echo_body 13575 as_echo='sh -c $as_echo_body as_echo' 13576fi 13577 13578# The user is always right. 13579if test "${PATH_SEPARATOR+set}" != set; then 13580 PATH_SEPARATOR=: 13581 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13582 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13583 PATH_SEPARATOR=';' 13584 } 13585fi 13586 13587 13588# IFS 13589# We need space, tab and new line, in precisely that order. Quoting is 13590# there to prevent editors from complaining about space-tab. 13591# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13592# splitting by setting IFS to empty value.) 13593IFS=" "" $as_nl" 13594 13595# Find who we are. Look in the path if we contain no directory separator. 13596as_myself= 13597case $0 in #(( 13598 *[\\/]* ) as_myself=$0 ;; 13599 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13600for as_dir in $PATH 13601do 13602 IFS=$as_save_IFS 13603 test -z "$as_dir" && as_dir=. 13604 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13605 done 13606IFS=$as_save_IFS 13607 13608 ;; 13609esac 13610# We did not find ourselves, most probably we were run as `sh COMMAND' 13611# in which case we are not to be found in the path. 13612if test "x$as_myself" = x; then 13613 as_myself=$0 13614fi 13615if test ! -f "$as_myself"; then 13616 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13617 exit 1 13618fi 13619 13620# Unset variables that we do not need and which cause bugs (e.g. in 13621# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13622# suppresses any "Segmentation fault" message there. '((' could 13623# trigger a bug in pdksh 5.2.14. 13624for as_var in BASH_ENV ENV MAIL MAILPATH 13625do eval test x\${$as_var+set} = xset \ 13626 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13627done 13628PS1='$ ' 13629PS2='> ' 13630PS4='+ ' 13631 13632# NLS nuisances. 13633LC_ALL=C 13634export LC_ALL 13635LANGUAGE=C 13636export LANGUAGE 13637 13638# CDPATH. 13639(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13640 13641 13642# as_fn_error STATUS ERROR [LINENO LOG_FD] 13643# ---------------------------------------- 13644# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13645# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13646# script with STATUS, using 1 if that was 0. 13647as_fn_error () 13648{ 13649 as_status=$1; test $as_status -eq 0 && as_status=1 13650 if test "$4"; then 13651 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13652 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13653 fi 13654 $as_echo "$as_me: error: $2" >&2 13655 as_fn_exit $as_status 13656} # as_fn_error 13657 13658 13659# as_fn_set_status STATUS 13660# ----------------------- 13661# Set $? to STATUS, without forking. 13662as_fn_set_status () 13663{ 13664 return $1 13665} # as_fn_set_status 13666 13667# as_fn_exit STATUS 13668# ----------------- 13669# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13670as_fn_exit () 13671{ 13672 set +e 13673 as_fn_set_status $1 13674 exit $1 13675} # as_fn_exit 13676 13677# as_fn_unset VAR 13678# --------------- 13679# Portably unset VAR. 13680as_fn_unset () 13681{ 13682 { eval $1=; unset $1;} 13683} 13684as_unset=as_fn_unset 13685# as_fn_append VAR VALUE 13686# ---------------------- 13687# Append the text in VALUE to the end of the definition contained in VAR. Take 13688# advantage of any shell optimizations that allow amortized linear growth over 13689# repeated appends, instead of the typical quadratic growth present in naive 13690# implementations. 13691if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13692 eval 'as_fn_append () 13693 { 13694 eval $1+=\$2 13695 }' 13696else 13697 as_fn_append () 13698 { 13699 eval $1=\$$1\$2 13700 } 13701fi # as_fn_append 13702 13703# as_fn_arith ARG... 13704# ------------------ 13705# Perform arithmetic evaluation on the ARGs, and store the result in the 13706# global $as_val. Take advantage of shells that can avoid forks. The arguments 13707# must be portable across $(()) and expr. 13708if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13709 eval 'as_fn_arith () 13710 { 13711 as_val=$(( $* )) 13712 }' 13713else 13714 as_fn_arith () 13715 { 13716 as_val=`expr "$@" || test $? -eq 1` 13717 } 13718fi # as_fn_arith 13719 13720 13721if expr a : '\(a\)' >/dev/null 2>&1 && 13722 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13723 as_expr=expr 13724else 13725 as_expr=false 13726fi 13727 13728if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13729 as_basename=basename 13730else 13731 as_basename=false 13732fi 13733 13734if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13735 as_dirname=dirname 13736else 13737 as_dirname=false 13738fi 13739 13740as_me=`$as_basename -- "$0" || 13741$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13742 X"$0" : 'X\(//\)$' \| \ 13743 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13744$as_echo X/"$0" | 13745 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13746 s//\1/ 13747 q 13748 } 13749 /^X\/\(\/\/\)$/{ 13750 s//\1/ 13751 q 13752 } 13753 /^X\/\(\/\).*/{ 13754 s//\1/ 13755 q 13756 } 13757 s/.*/./; q'` 13758 13759# Avoid depending upon Character Ranges. 13760as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13761as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13762as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13763as_cr_digits='0123456789' 13764as_cr_alnum=$as_cr_Letters$as_cr_digits 13765 13766ECHO_C= ECHO_N= ECHO_T= 13767case `echo -n x` in #((((( 13768-n*) 13769 case `echo 'xy\c'` in 13770 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13771 xy) ECHO_C='\c';; 13772 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13773 ECHO_T=' ';; 13774 esac;; 13775*) 13776 ECHO_N='-n';; 13777esac 13778 13779rm -f conf$$ conf$$.exe conf$$.file 13780if test -d conf$$.dir; then 13781 rm -f conf$$.dir/conf$$.file 13782else 13783 rm -f conf$$.dir 13784 mkdir conf$$.dir 2>/dev/null 13785fi 13786if (echo >conf$$.file) 2>/dev/null; then 13787 if ln -s conf$$.file conf$$ 2>/dev/null; then 13788 as_ln_s='ln -s' 13789 # ... but there are two gotchas: 13790 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13791 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13792 # In both cases, we have to default to `cp -pR'. 13793 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13794 as_ln_s='cp -pR' 13795 elif ln conf$$.file conf$$ 2>/dev/null; then 13796 as_ln_s=ln 13797 else 13798 as_ln_s='cp -pR' 13799 fi 13800else 13801 as_ln_s='cp -pR' 13802fi 13803rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13804rmdir conf$$.dir 2>/dev/null 13805 13806 13807# as_fn_mkdir_p 13808# ------------- 13809# Create "$as_dir" as a directory, including parents if necessary. 13810as_fn_mkdir_p () 13811{ 13812 13813 case $as_dir in #( 13814 -*) as_dir=./$as_dir;; 13815 esac 13816 test -d "$as_dir" || eval $as_mkdir_p || { 13817 as_dirs= 13818 while :; do 13819 case $as_dir in #( 13820 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13821 *) as_qdir=$as_dir;; 13822 esac 13823 as_dirs="'$as_qdir' $as_dirs" 13824 as_dir=`$as_dirname -- "$as_dir" || 13825$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13826 X"$as_dir" : 'X\(//\)[^/]' \| \ 13827 X"$as_dir" : 'X\(//\)$' \| \ 13828 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13829$as_echo X"$as_dir" | 13830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13831 s//\1/ 13832 q 13833 } 13834 /^X\(\/\/\)[^/].*/{ 13835 s//\1/ 13836 q 13837 } 13838 /^X\(\/\/\)$/{ 13839 s//\1/ 13840 q 13841 } 13842 /^X\(\/\).*/{ 13843 s//\1/ 13844 q 13845 } 13846 s/.*/./; q'` 13847 test -d "$as_dir" && break 13848 done 13849 test -z "$as_dirs" || eval "mkdir $as_dirs" 13850 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13851 13852 13853} # as_fn_mkdir_p 13854if mkdir -p . 2>/dev/null; then 13855 as_mkdir_p='mkdir -p "$as_dir"' 13856else 13857 test -d ./-p && rmdir ./-p 13858 as_mkdir_p=false 13859fi 13860 13861 13862# as_fn_executable_p FILE 13863# ----------------------- 13864# Test if FILE is an executable regular file. 13865as_fn_executable_p () 13866{ 13867 test -f "$1" && test -x "$1" 13868} # as_fn_executable_p 13869as_test_x='test -x' 13870as_executable_p=as_fn_executable_p 13871 13872# Sed expression to map a string onto a valid CPP name. 13873as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13874 13875# Sed expression to map a string onto a valid variable name. 13876as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13877 13878 13879exec 6>&1 13880## ----------------------------------- ## 13881## Main body of $CONFIG_STATUS script. ## 13882## ----------------------------------- ## 13883_ASEOF 13884test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13885 13886cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13887# Save the log message, to keep $0 and so on meaningful, and to 13888# report actual input values of CONFIG_FILES etc. instead of their 13889# values after options handling. 13890ac_log=" 13891This file was extended by snappy $as_me 1.0, which was 13892generated by GNU Autoconf 2.69. Invocation command line was 13893 13894 CONFIG_FILES = $CONFIG_FILES 13895 CONFIG_HEADERS = $CONFIG_HEADERS 13896 CONFIG_LINKS = $CONFIG_LINKS 13897 CONFIG_COMMANDS = $CONFIG_COMMANDS 13898 $ $0 $@ 13899 13900on `(hostname || uname -n) 2>/dev/null | sed 1q` 13901" 13902 13903_ACEOF 13904 13905case $ac_config_files in *" 13906"*) set x $ac_config_files; shift; ac_config_files=$*;; 13907esac 13908 13909case $ac_config_headers in *" 13910"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13911esac 13912 13913 13914cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13915# Files that config.status was made for. 13916config_files="$ac_config_files" 13917config_headers="$ac_config_headers" 13918config_commands="$ac_config_commands" 13919 13920_ACEOF 13921 13922cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13923ac_cs_usage="\ 13924\`$as_me' instantiates files and other configuration actions 13925from templates according to the current configuration. Unless the files 13926and actions are specified as TAGs, all are instantiated by default. 13927 13928Usage: $0 [OPTION]... [TAG]... 13929 13930 -h, --help print this help, then exit 13931 -V, --version print version number and configuration settings, then exit 13932 --config print configuration, then exit 13933 -q, --quiet, --silent 13934 do not print progress messages 13935 -d, --debug don't remove temporary files 13936 --recheck update $as_me by reconfiguring in the same conditions 13937 --file=FILE[:TEMPLATE] 13938 instantiate the configuration file FILE 13939 --header=FILE[:TEMPLATE] 13940 instantiate the configuration header FILE 13941 13942Configuration files: 13943$config_files 13944 13945Configuration headers: 13946$config_headers 13947 13948Configuration commands: 13949$config_commands 13950 13951Report bugs to <NULL>." 13952 13953_ACEOF 13954cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13955ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13956ac_cs_version="\\ 13957snappy config.status 1.0 13958configured by $0, generated by GNU Autoconf 2.69, 13959 with options \\"\$ac_cs_config\\" 13960 13961Copyright (C) 2012 Free Software Foundation, Inc. 13962This config.status script is free software; the Free Software Foundation 13963gives unlimited permission to copy, distribute and modify it." 13964 13965ac_pwd='$ac_pwd' 13966srcdir='$srcdir' 13967INSTALL='$INSTALL' 13968MKDIR_P='$MKDIR_P' 13969AWK='$AWK' 13970test -n "\$AWK" || AWK=awk 13971_ACEOF 13972 13973cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13974# The default lists apply if the user does not specify any file. 13975ac_need_defaults=: 13976while test $# != 0 13977do 13978 case $1 in 13979 --*=?*) 13980 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13981 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13982 ac_shift=: 13983 ;; 13984 --*=) 13985 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13986 ac_optarg= 13987 ac_shift=: 13988 ;; 13989 *) 13990 ac_option=$1 13991 ac_optarg=$2 13992 ac_shift=shift 13993 ;; 13994 esac 13995 13996 case $ac_option in 13997 # Handling of the options. 13998 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13999 ac_cs_recheck=: ;; 14000 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14001 $as_echo "$ac_cs_version"; exit ;; 14002 --config | --confi | --conf | --con | --co | --c ) 14003 $as_echo "$ac_cs_config"; exit ;; 14004 --debug | --debu | --deb | --de | --d | -d ) 14005 debug=: ;; 14006 --file | --fil | --fi | --f ) 14007 $ac_shift 14008 case $ac_optarg in 14009 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14010 '') as_fn_error $? "missing file argument" ;; 14011 esac 14012 as_fn_append CONFIG_FILES " '$ac_optarg'" 14013 ac_need_defaults=false;; 14014 --header | --heade | --head | --hea ) 14015 $ac_shift 14016 case $ac_optarg in 14017 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14018 esac 14019 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14020 ac_need_defaults=false;; 14021 --he | --h) 14022 # Conflict between --help and --header 14023 as_fn_error $? "ambiguous option: \`$1' 14024Try \`$0 --help' for more information.";; 14025 --help | --hel | -h ) 14026 $as_echo "$ac_cs_usage"; exit ;; 14027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14028 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14029 ac_cs_silent=: ;; 14030 14031 # This is an error. 14032 -*) as_fn_error $? "unrecognized option: \`$1' 14033Try \`$0 --help' for more information." ;; 14034 14035 *) as_fn_append ac_config_targets " $1" 14036 ac_need_defaults=false ;; 14037 14038 esac 14039 shift 14040done 14041 14042ac_configure_extra_args= 14043 14044if $ac_cs_silent; then 14045 exec 6>/dev/null 14046 ac_configure_extra_args="$ac_configure_extra_args --silent" 14047fi 14048 14049_ACEOF 14050cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14051if \$ac_cs_recheck; then 14052 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14053 shift 14054 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14055 CONFIG_SHELL='$SHELL' 14056 export CONFIG_SHELL 14057 exec "\$@" 14058fi 14059 14060_ACEOF 14061cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14062exec 5>>config.log 14063{ 14064 echo 14065 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14066## Running $as_me. ## 14067_ASBOX 14068 $as_echo "$ac_log" 14069} >&5 14070 14071_ACEOF 14072cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14073# 14074# INIT-COMMANDS 14075# 14076AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14077 14078 14079# The HP-UX ksh and POSIX shell print the target directory to stdout 14080# if CDPATH is set. 14081(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14082 14083sed_quote_subst='$sed_quote_subst' 14084double_quote_subst='$double_quote_subst' 14085delay_variable_subst='$delay_variable_subst' 14086macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14087macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14088enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14089enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14090pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14091enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14092SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14093ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14094PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14095host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14096host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14097host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14098build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14099build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14100build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14101SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14102Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14103GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14104EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14105FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14106LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14107NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14108LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14109max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14110ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14111exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14112lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14113lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14114lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14115lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14116lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14117reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14118reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14119OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14120deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14121file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14122file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14123want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14124DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14125sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14126AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14127AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14128archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14129STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14130RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14131old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14132old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14133old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14134lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14135CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14136CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14137compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14138GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14139lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14140lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14141lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14142lt_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"`' 14143nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14144lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14145objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14146MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14147lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14148lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14149lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14150lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14151lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14152need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14153MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14154DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14155NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14156LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14157OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14158OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14159libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14160shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14161extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14162archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14163enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14164export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14165whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14166compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14167old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14168old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14169archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14170archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14171module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14172module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14173with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14174allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14175no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14176hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14177hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14178hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14179hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14180hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14181hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14182hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14183inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14184link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14185always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14186export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14187exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14188include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14189prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14190postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14191file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14192variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14193need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14194need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14195version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14196runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14197shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14198shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14199libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14200library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14201soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14202install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14203postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14204postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14205finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14206finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14207hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14208sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14209sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 14210hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14211enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14212enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14213enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14214old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14215striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14216AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 14217 14218LTCC='$LTCC' 14219LTCFLAGS='$LTCFLAGS' 14220compiler='$compiler_DEFAULT' 14221 14222# A function that is used when there is no print builtin or printf. 14223func_fallback_echo () 14224{ 14225 eval 'cat <<_LTECHO_EOF 14226\$1 14227_LTECHO_EOF' 14228} 14229 14230# Quote evaled strings. 14231for var in SHELL \ 14232ECHO \ 14233PATH_SEPARATOR \ 14234SED \ 14235GREP \ 14236EGREP \ 14237FGREP \ 14238LD \ 14239NM \ 14240LN_S \ 14241lt_SP2NL \ 14242lt_NL2SP \ 14243reload_flag \ 14244OBJDUMP \ 14245deplibs_check_method \ 14246file_magic_cmd \ 14247file_magic_glob \ 14248want_nocaseglob \ 14249DLLTOOL \ 14250sharedlib_from_linklib_cmd \ 14251AR \ 14252AR_FLAGS \ 14253archiver_list_spec \ 14254STRIP \ 14255RANLIB \ 14256CC \ 14257CFLAGS \ 14258compiler \ 14259lt_cv_sys_global_symbol_pipe \ 14260lt_cv_sys_global_symbol_to_cdecl \ 14261lt_cv_sys_global_symbol_to_c_name_address \ 14262lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14263nm_file_list_spec \ 14264lt_prog_compiler_no_builtin_flag \ 14265lt_prog_compiler_pic \ 14266lt_prog_compiler_wl \ 14267lt_prog_compiler_static \ 14268lt_cv_prog_compiler_c_o \ 14269need_locks \ 14270MANIFEST_TOOL \ 14271DSYMUTIL \ 14272NMEDIT \ 14273LIPO \ 14274OTOOL \ 14275OTOOL64 \ 14276shrext_cmds \ 14277export_dynamic_flag_spec \ 14278whole_archive_flag_spec \ 14279compiler_needs_object \ 14280with_gnu_ld \ 14281allow_undefined_flag \ 14282no_undefined_flag \ 14283hardcode_libdir_flag_spec \ 14284hardcode_libdir_separator \ 14285exclude_expsyms \ 14286include_expsyms \ 14287file_list_spec \ 14288variables_saved_for_relink \ 14289libname_spec \ 14290library_names_spec \ 14291soname_spec \ 14292install_override_mode \ 14293finish_eval \ 14294old_striplib \ 14295striplib \ 14296AS; do 14297 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14298 *[\\\\\\\`\\"\\\$]*) 14299 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14300 ;; 14301 *) 14302 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14303 ;; 14304 esac 14305done 14306 14307# Double-quote double-evaled strings. 14308for var in reload_cmds \ 14309old_postinstall_cmds \ 14310old_postuninstall_cmds \ 14311old_archive_cmds \ 14312extract_expsyms_cmds \ 14313old_archive_from_new_cmds \ 14314old_archive_from_expsyms_cmds \ 14315archive_cmds \ 14316archive_expsym_cmds \ 14317module_cmds \ 14318module_expsym_cmds \ 14319export_symbols_cmds \ 14320prelink_cmds \ 14321postlink_cmds \ 14322postinstall_cmds \ 14323postuninstall_cmds \ 14324finish_cmds \ 14325sys_lib_search_path_spec \ 14326sys_lib_dlsearch_path_spec; do 14327 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14328 *[\\\\\\\`\\"\\\$]*) 14329 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14330 ;; 14331 *) 14332 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14333 ;; 14334 esac 14335done 14336 14337ac_aux_dir='$ac_aux_dir' 14338xsi_shell='$xsi_shell' 14339lt_shell_append='$lt_shell_append' 14340 14341# See if we are running on zsh, and set the options which allow our 14342# commands through without removal of \ escapes INIT. 14343if test -n "\${ZSH_VERSION+set}" ; then 14344 setopt NO_GLOB_SUBST 14345fi 14346 14347 14348 PACKAGE='$PACKAGE' 14349 VERSION='$VERSION' 14350 TIMESTAMP='$TIMESTAMP' 14351 RM='$RM' 14352 ofile='$ofile' 14353 14354 14355 14356 14357_ACEOF 14358 14359cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14360 14361# Handling of arguments. 14362for ac_config_target in $ac_config_targets 14363do 14364 case $ac_config_target in 14365 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14366 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14367 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14368 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14369 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 14370 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; 14371 "data/icons/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/256x256/Makefile" ;; 14372 "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;; 14373 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 14374 14375 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14376 esac 14377done 14378 14379 14380# If the user did not use the arguments to specify the items to instantiate, 14381# then the envvar interface is used. Set only those that are not. 14382# We use the long form for the default assignment because of an extremely 14383# bizarre bug on SunOS 4.1.3. 14384if $ac_need_defaults; then 14385 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14386 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14387 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14388fi 14389 14390# Have a temporary directory for convenience. Make it in the build tree 14391# simply because there is no reason against having it here, and in addition, 14392# creating and moving files from /tmp can sometimes cause problems. 14393# Hook for its removal unless debugging. 14394# Note that there is a small window in which the directory will not be cleaned: 14395# after its creation but before its name has been assigned to `$tmp'. 14396$debug || 14397{ 14398 tmp= ac_tmp= 14399 trap 'exit_status=$? 14400 : "${ac_tmp:=$tmp}" 14401 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14402' 0 14403 trap 'as_fn_exit 1' 1 2 13 15 14404} 14405# Create a (secure) tmp directory for tmp files. 14406 14407{ 14408 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14409 test -d "$tmp" 14410} || 14411{ 14412 tmp=./conf$$-$RANDOM 14413 (umask 077 && mkdir "$tmp") 14414} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14415ac_tmp=$tmp 14416 14417# Set up the scripts for CONFIG_FILES section. 14418# No need to generate them if there are no CONFIG_FILES. 14419# This happens for instance with `./config.status config.h'. 14420if test -n "$CONFIG_FILES"; then 14421 14422 14423ac_cr=`echo X | tr X '\015'` 14424# On cygwin, bash can eat \r inside `` if the user requested igncr. 14425# But we know of no other shell where ac_cr would be empty at this 14426# point, so we can use a bashism as a fallback. 14427if test "x$ac_cr" = x; then 14428 eval ac_cr=\$\'\\r\' 14429fi 14430ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14431if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14432 ac_cs_awk_cr='\\r' 14433else 14434 ac_cs_awk_cr=$ac_cr 14435fi 14436 14437echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14438_ACEOF 14439 14440 14441{ 14442 echo "cat >conf$$subs.awk <<_ACEOF" && 14443 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14444 echo "_ACEOF" 14445} >conf$$subs.sh || 14446 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14447ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14448ac_delim='%!_!# ' 14449for ac_last_try in false false false false false :; do 14450 . ./conf$$subs.sh || 14451 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14452 14453 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14454 if test $ac_delim_n = $ac_delim_num; then 14455 break 14456 elif $ac_last_try; then 14457 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14458 else 14459 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14460 fi 14461done 14462rm -f conf$$subs.sh 14463 14464cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14465cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14466_ACEOF 14467sed -n ' 14468h 14469s/^/S["/; s/!.*/"]=/ 14470p 14471g 14472s/^[^!]*!// 14473:repl 14474t repl 14475s/'"$ac_delim"'$// 14476t delim 14477:nl 14478h 14479s/\(.\{148\}\)..*/\1/ 14480t more1 14481s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14482p 14483n 14484b repl 14485:more1 14486s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14487p 14488g 14489s/.\{148\}// 14490t nl 14491:delim 14492h 14493s/\(.\{148\}\)..*/\1/ 14494t more2 14495s/["\\]/\\&/g; s/^/"/; s/$/"/ 14496p 14497b 14498:more2 14499s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14500p 14501g 14502s/.\{148\}// 14503t delim 14504' <conf$$subs.awk | sed ' 14505/^[^""]/{ 14506 N 14507 s/\n// 14508} 14509' >>$CONFIG_STATUS || ac_write_fail=1 14510rm -f conf$$subs.awk 14511cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14512_ACAWK 14513cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14514 for (key in S) S_is_set[key] = 1 14515 FS = "" 14516 14517} 14518{ 14519 line = $ 0 14520 nfields = split(line, field, "@") 14521 substed = 0 14522 len = length(field[1]) 14523 for (i = 2; i < nfields; i++) { 14524 key = field[i] 14525 keylen = length(key) 14526 if (S_is_set[key]) { 14527 value = S[key] 14528 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14529 len += length(value) + length(field[++i]) 14530 substed = 1 14531 } else 14532 len += 1 + keylen 14533 } 14534 14535 print line 14536} 14537 14538_ACAWK 14539_ACEOF 14540cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14541if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14542 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14543else 14544 cat 14545fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14546 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14547_ACEOF 14548 14549# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14550# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14551# trailing colons and then remove the whole line if VPATH becomes empty 14552# (actually we leave an empty line to preserve line numbers). 14553if test "x$srcdir" = x.; then 14554 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14555h 14556s/// 14557s/^/:/ 14558s/[ ]*$/:/ 14559s/:\$(srcdir):/:/g 14560s/:\${srcdir}:/:/g 14561s/:@srcdir@:/:/g 14562s/^:*// 14563s/:*$// 14564x 14565s/\(=[ ]*\).*/\1/ 14566G 14567s/\n// 14568s/^[^=]*=[ ]*$// 14569}' 14570fi 14571 14572cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14573fi # test -n "$CONFIG_FILES" 14574 14575# Set up the scripts for CONFIG_HEADERS section. 14576# No need to generate them if there are no CONFIG_HEADERS. 14577# This happens for instance with `./config.status Makefile'. 14578if test -n "$CONFIG_HEADERS"; then 14579cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14580BEGIN { 14581_ACEOF 14582 14583# Transform confdefs.h into an awk script `defines.awk', embedded as 14584# here-document in config.status, that substitutes the proper values into 14585# config.h.in to produce config.h. 14586 14587# Create a delimiter string that does not exist in confdefs.h, to ease 14588# handling of long lines. 14589ac_delim='%!_!# ' 14590for ac_last_try in false false :; do 14591 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14592 if test -z "$ac_tt"; then 14593 break 14594 elif $ac_last_try; then 14595 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14596 else 14597 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14598 fi 14599done 14600 14601# For the awk script, D is an array of macro values keyed by name, 14602# likewise P contains macro parameters if any. Preserve backslash 14603# newline sequences. 14604 14605ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14606sed -n ' 14607s/.\{148\}/&'"$ac_delim"'/g 14608t rset 14609:rset 14610s/^[ ]*#[ ]*define[ ][ ]*/ / 14611t def 14612d 14613:def 14614s/\\$// 14615t bsnl 14616s/["\\]/\\&/g 14617s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14618D["\1"]=" \3"/p 14619s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14620d 14621:bsnl 14622s/["\\]/\\&/g 14623s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14624D["\1"]=" \3\\\\\\n"\\/p 14625t cont 14626s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14627t cont 14628d 14629:cont 14630n 14631s/.\{148\}/&'"$ac_delim"'/g 14632t clear 14633:clear 14634s/\\$// 14635t bsnlc 14636s/["\\]/\\&/g; s/^/"/; s/$/"/p 14637d 14638:bsnlc 14639s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14640b cont 14641' <confdefs.h | sed ' 14642s/'"$ac_delim"'/"\\\ 14643"/g' >>$CONFIG_STATUS || ac_write_fail=1 14644 14645cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14646 for (key in D) D_is_set[key] = 1 14647 FS = "" 14648} 14649/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14650 line = \$ 0 14651 split(line, arg, " ") 14652 if (arg[1] == "#") { 14653 defundef = arg[2] 14654 mac1 = arg[3] 14655 } else { 14656 defundef = substr(arg[1], 2) 14657 mac1 = arg[2] 14658 } 14659 split(mac1, mac2, "(") #) 14660 macro = mac2[1] 14661 prefix = substr(line, 1, index(line, defundef) - 1) 14662 if (D_is_set[macro]) { 14663 # Preserve the white space surrounding the "#". 14664 print prefix "define", macro P[macro] D[macro] 14665 next 14666 } else { 14667 # Replace #undef with comments. This is necessary, for example, 14668 # in the case of _POSIX_SOURCE, which is predefined and required 14669 # on some systems where configure will not decide to define it. 14670 if (defundef == "undef") { 14671 print "/*", prefix defundef, macro, "*/" 14672 next 14673 } 14674 } 14675} 14676{ print } 14677_ACAWK 14678_ACEOF 14679cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14680 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14681fi # test -n "$CONFIG_HEADERS" 14682 14683 14684eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14685shift 14686for ac_tag 14687do 14688 case $ac_tag in 14689 :[FHLC]) ac_mode=$ac_tag; continue;; 14690 esac 14691 case $ac_mode$ac_tag in 14692 :[FHL]*:*);; 14693 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14694 :[FH]-) ac_tag=-:-;; 14695 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14696 esac 14697 ac_save_IFS=$IFS 14698 IFS=: 14699 set x $ac_tag 14700 IFS=$ac_save_IFS 14701 shift 14702 ac_file=$1 14703 shift 14704 14705 case $ac_mode in 14706 :L) ac_source=$1;; 14707 :[FH]) 14708 ac_file_inputs= 14709 for ac_f 14710 do 14711 case $ac_f in 14712 -) ac_f="$ac_tmp/stdin";; 14713 *) # Look for the file first in the build tree, then in the source tree 14714 # (if the path is not absolute). The absolute path cannot be DOS-style, 14715 # because $ac_f cannot contain `:'. 14716 test -f "$ac_f" || 14717 case $ac_f in 14718 [\\/$]*) false;; 14719 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14720 esac || 14721 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14722 esac 14723 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14724 as_fn_append ac_file_inputs " '$ac_f'" 14725 done 14726 14727 # Let's still pretend it is `configure' which instantiates (i.e., don't 14728 # use $as_me), people would be surprised to read: 14729 # /* config.h. Generated by config.status. */ 14730 configure_input='Generated from '` 14731 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14732 `' by configure.' 14733 if test x"$ac_file" != x-; then 14734 configure_input="$ac_file. $configure_input" 14735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14736$as_echo "$as_me: creating $ac_file" >&6;} 14737 fi 14738 # Neutralize special characters interpreted by sed in replacement strings. 14739 case $configure_input in #( 14740 *\&* | *\|* | *\\* ) 14741 ac_sed_conf_input=`$as_echo "$configure_input" | 14742 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14743 *) ac_sed_conf_input=$configure_input;; 14744 esac 14745 14746 case $ac_tag in 14747 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14748 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14749 esac 14750 ;; 14751 esac 14752 14753 ac_dir=`$as_dirname -- "$ac_file" || 14754$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14755 X"$ac_file" : 'X\(//\)[^/]' \| \ 14756 X"$ac_file" : 'X\(//\)$' \| \ 14757 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14758$as_echo X"$ac_file" | 14759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14760 s//\1/ 14761 q 14762 } 14763 /^X\(\/\/\)[^/].*/{ 14764 s//\1/ 14765 q 14766 } 14767 /^X\(\/\/\)$/{ 14768 s//\1/ 14769 q 14770 } 14771 /^X\(\/\).*/{ 14772 s//\1/ 14773 q 14774 } 14775 s/.*/./; q'` 14776 as_dir="$ac_dir"; as_fn_mkdir_p 14777 ac_builddir=. 14778 14779case "$ac_dir" in 14780.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14781*) 14782 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14783 # A ".." for each directory in $ac_dir_suffix. 14784 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14785 case $ac_top_builddir_sub in 14786 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14787 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14788 esac ;; 14789esac 14790ac_abs_top_builddir=$ac_pwd 14791ac_abs_builddir=$ac_pwd$ac_dir_suffix 14792# for backward compatibility: 14793ac_top_builddir=$ac_top_build_prefix 14794 14795case $srcdir in 14796 .) # We are building in place. 14797 ac_srcdir=. 14798 ac_top_srcdir=$ac_top_builddir_sub 14799 ac_abs_top_srcdir=$ac_pwd ;; 14800 [\\/]* | ?:[\\/]* ) # Absolute name. 14801 ac_srcdir=$srcdir$ac_dir_suffix; 14802 ac_top_srcdir=$srcdir 14803 ac_abs_top_srcdir=$srcdir ;; 14804 *) # Relative name. 14805 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14806 ac_top_srcdir=$ac_top_build_prefix$srcdir 14807 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14808esac 14809ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14810 14811 14812 case $ac_mode in 14813 :F) 14814 # 14815 # CONFIG_FILE 14816 # 14817 14818 case $INSTALL in 14819 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14820 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14821 esac 14822 ac_MKDIR_P=$MKDIR_P 14823 case $MKDIR_P in 14824 [\\/$]* | ?:[\\/]* ) ;; 14825 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14826 esac 14827_ACEOF 14828 14829cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14830# If the template does not know about datarootdir, expand it. 14831# FIXME: This hack should be removed a few years after 2.60. 14832ac_datarootdir_hack=; ac_datarootdir_seen= 14833ac_sed_dataroot=' 14834/datarootdir/ { 14835 p 14836 q 14837} 14838/@datadir@/p 14839/@docdir@/p 14840/@infodir@/p 14841/@localedir@/p 14842/@mandir@/p' 14843case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14844*datarootdir*) ac_datarootdir_seen=yes;; 14845*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14847$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14848_ACEOF 14849cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14850 ac_datarootdir_hack=' 14851 s&@datadir@&$datadir&g 14852 s&@docdir@&$docdir&g 14853 s&@infodir@&$infodir&g 14854 s&@localedir@&$localedir&g 14855 s&@mandir@&$mandir&g 14856 s&\\\${datarootdir}&$datarootdir&g' ;; 14857esac 14858_ACEOF 14859 14860# Neutralize VPATH when `$srcdir' = `.'. 14861# Shell code in configure.ac might set extrasub. 14862# FIXME: do we really want to maintain this feature? 14863cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14864ac_sed_extra="$ac_vpsub 14865$extrasub 14866_ACEOF 14867cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14868:t 14869/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14870s|@configure_input@|$ac_sed_conf_input|;t t 14871s&@top_builddir@&$ac_top_builddir_sub&;t t 14872s&@top_build_prefix@&$ac_top_build_prefix&;t t 14873s&@srcdir@&$ac_srcdir&;t t 14874s&@abs_srcdir@&$ac_abs_srcdir&;t t 14875s&@top_srcdir@&$ac_top_srcdir&;t t 14876s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14877s&@builddir@&$ac_builddir&;t t 14878s&@abs_builddir@&$ac_abs_builddir&;t t 14879s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14880s&@INSTALL@&$ac_INSTALL&;t t 14881s&@MKDIR_P@&$ac_MKDIR_P&;t t 14882$ac_datarootdir_hack 14883" 14884eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14885 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14886 14887test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14888 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14889 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14890 "$ac_tmp/out"`; test -z "$ac_out"; } && 14891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14892which seems to be undefined. Please make sure it is defined" >&5 14893$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14894which seems to be undefined. Please make sure it is defined" >&2;} 14895 14896 rm -f "$ac_tmp/stdin" 14897 case $ac_file in 14898 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14899 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14900 esac \ 14901 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14902 ;; 14903 :H) 14904 # 14905 # CONFIG_HEADER 14906 # 14907 if test x"$ac_file" != x-; then 14908 { 14909 $as_echo "/* $configure_input */" \ 14910 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14911 } >"$ac_tmp/config.h" \ 14912 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14913 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14914 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14915$as_echo "$as_me: $ac_file is unchanged" >&6;} 14916 else 14917 rm -f "$ac_file" 14918 mv "$ac_tmp/config.h" "$ac_file" \ 14919 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14920 fi 14921 else 14922 $as_echo "/* $configure_input */" \ 14923 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14924 || as_fn_error $? "could not create -" "$LINENO" 5 14925 fi 14926# Compute "$ac_file"'s index in $config_headers. 14927_am_arg="$ac_file" 14928_am_stamp_count=1 14929for _am_header in $config_headers :; do 14930 case $_am_header in 14931 $_am_arg | $_am_arg:* ) 14932 break ;; 14933 * ) 14934 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14935 esac 14936done 14937echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14938$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14939 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14940 X"$_am_arg" : 'X\(//\)$' \| \ 14941 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14942$as_echo X"$_am_arg" | 14943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14944 s//\1/ 14945 q 14946 } 14947 /^X\(\/\/\)[^/].*/{ 14948 s//\1/ 14949 q 14950 } 14951 /^X\(\/\/\)$/{ 14952 s//\1/ 14953 q 14954 } 14955 /^X\(\/\).*/{ 14956 s//\1/ 14957 q 14958 } 14959 s/.*/./; q'`/stamp-h$_am_stamp_count 14960 ;; 14961 14962 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14963$as_echo "$as_me: executing $ac_file commands" >&6;} 14964 ;; 14965 esac 14966 14967 14968 case $ac_file$ac_mode in 14969 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14970 # Older Autoconf quotes --file arguments for eval, but not when files 14971 # are listed without --file. Let's play safe and only enable the eval 14972 # if we detect the quoting. 14973 case $CONFIG_FILES in 14974 *\'*) eval set x "$CONFIG_FILES" ;; 14975 *) set x $CONFIG_FILES ;; 14976 esac 14977 shift 14978 for mf 14979 do 14980 # Strip MF so we end up with the name of the file. 14981 mf=`echo "$mf" | sed -e 's/:.*$//'` 14982 # Check whether this is an Automake generated Makefile or not. 14983 # We used to match only the files named 'Makefile.in', but 14984 # some people rename them; so instead we look at the file content. 14985 # Grep'ing the first line is not enough: some people post-process 14986 # each Makefile.in and add a new line on top of each file to say so. 14987 # Grep'ing the whole file is not good either: AIX grep has a line 14988 # limit of 2048, but all sed's we know have understand at least 4000. 14989 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14990 dirpart=`$as_dirname -- "$mf" || 14991$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14992 X"$mf" : 'X\(//\)[^/]' \| \ 14993 X"$mf" : 'X\(//\)$' \| \ 14994 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14995$as_echo X"$mf" | 14996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14997 s//\1/ 14998 q 14999 } 15000 /^X\(\/\/\)[^/].*/{ 15001 s//\1/ 15002 q 15003 } 15004 /^X\(\/\/\)$/{ 15005 s//\1/ 15006 q 15007 } 15008 /^X\(\/\).*/{ 15009 s//\1/ 15010 q 15011 } 15012 s/.*/./; q'` 15013 else 15014 continue 15015 fi 15016 # Extract the definition of DEPDIR, am__include, and am__quote 15017 # from the Makefile without running 'make'. 15018 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15019 test -z "$DEPDIR" && continue 15020 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15021 test -z "$am__include" && continue 15022 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15023 # Find all dependency output files, they are included files with 15024 # $(DEPDIR) in their names. We invoke sed twice because it is the 15025 # simplest approach to changing $(DEPDIR) to its actual value in the 15026 # expansion. 15027 for file in `sed -n " 15028 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15029 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 15030 # Make sure the directory exists. 15031 test -f "$dirpart/$file" && continue 15032 fdir=`$as_dirname -- "$file" || 15033$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15034 X"$file" : 'X\(//\)[^/]' \| \ 15035 X"$file" : 'X\(//\)$' \| \ 15036 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15037$as_echo X"$file" | 15038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15039 s//\1/ 15040 q 15041 } 15042 /^X\(\/\/\)[^/].*/{ 15043 s//\1/ 15044 q 15045 } 15046 /^X\(\/\/\)$/{ 15047 s//\1/ 15048 q 15049 } 15050 /^X\(\/\).*/{ 15051 s//\1/ 15052 q 15053 } 15054 s/.*/./; q'` 15055 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15056 # echo "creating $dirpart/$file" 15057 echo '# dummy' > "$dirpart/$file" 15058 done 15059 done 15060} 15061 ;; 15062 "libtool":C) 15063 15064 # See if we are running on zsh, and set the options which allow our 15065 # commands through without removal of \ escapes. 15066 if test -n "${ZSH_VERSION+set}" ; then 15067 setopt NO_GLOB_SUBST 15068 fi 15069 15070 cfgfile="${ofile}T" 15071 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15072 $RM "$cfgfile" 15073 15074 cat <<_LT_EOF >> "$cfgfile" 15075#! $SHELL 15076 15077# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15078# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15079# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15080# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15081# 15082# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15083# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 15084# Foundation, Inc. 15085# Written by Gordon Matzigkeit, 1996 15086# 15087# This file is part of GNU Libtool. 15088# 15089# GNU Libtool is free software; you can redistribute it and/or 15090# modify it under the terms of the GNU General Public License as 15091# published by the Free Software Foundation; either version 2 of 15092# the License, or (at your option) any later version. 15093# 15094# As a special exception to the GNU General Public License, 15095# if you distribute this file as part of a program or library that 15096# is built using GNU Libtool, you may include this file under the 15097# same distribution terms that you use for the rest of that program. 15098# 15099# GNU Libtool is distributed in the hope that it will be useful, 15100# but WITHOUT ANY WARRANTY; without even the implied warranty of 15101# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15102# GNU General Public License for more details. 15103# 15104# You should have received a copy of the GNU General Public License 15105# along with GNU Libtool; see the file COPYING. If not, a copy 15106# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15107# obtained by writing to the Free Software Foundation, Inc., 15108# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15109 15110 15111# The names of the tagged configurations supported by this script. 15112available_tags="" 15113 15114# ### BEGIN LIBTOOL CONFIG 15115 15116# Which release of libtool.m4 was used? 15117macro_version=$macro_version 15118macro_revision=$macro_revision 15119 15120# Whether or not to build shared libraries. 15121build_libtool_libs=$enable_shared 15122 15123# Whether or not to build static libraries. 15124build_old_libs=$enable_static 15125 15126# What type of objects to build. 15127pic_mode=$pic_mode 15128 15129# Whether or not to optimize for fast installation. 15130fast_install=$enable_fast_install 15131 15132# Shell to use when invoking shell scripts. 15133SHELL=$lt_SHELL 15134 15135# An echo program that protects backslashes. 15136ECHO=$lt_ECHO 15137 15138# The PATH separator for the build system. 15139PATH_SEPARATOR=$lt_PATH_SEPARATOR 15140 15141# The host system. 15142host_alias=$host_alias 15143host=$host 15144host_os=$host_os 15145 15146# The build system. 15147build_alias=$build_alias 15148build=$build 15149build_os=$build_os 15150 15151# A sed program that does not truncate output. 15152SED=$lt_SED 15153 15154# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15155Xsed="\$SED -e 1s/^X//" 15156 15157# A grep program that handles long lines. 15158GREP=$lt_GREP 15159 15160# An ERE matcher. 15161EGREP=$lt_EGREP 15162 15163# A literal string matcher. 15164FGREP=$lt_FGREP 15165 15166# A BSD- or MS-compatible name lister. 15167NM=$lt_NM 15168 15169# Whether we need soft or hard links. 15170LN_S=$lt_LN_S 15171 15172# What is the maximum length of a command? 15173max_cmd_len=$max_cmd_len 15174 15175# Object file suffix (normally "o"). 15176objext=$ac_objext 15177 15178# Executable file suffix (normally ""). 15179exeext=$exeext 15180 15181# whether the shell understands "unset". 15182lt_unset=$lt_unset 15183 15184# turn spaces into newlines. 15185SP2NL=$lt_lt_SP2NL 15186 15187# turn newlines into spaces. 15188NL2SP=$lt_lt_NL2SP 15189 15190# convert \$build file names to \$host format. 15191to_host_file_cmd=$lt_cv_to_host_file_cmd 15192 15193# convert \$build files to toolchain format. 15194to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15195 15196# An object symbol dumper. 15197OBJDUMP=$lt_OBJDUMP 15198 15199# Method to check whether dependent libraries are shared objects. 15200deplibs_check_method=$lt_deplibs_check_method 15201 15202# Command to use when deplibs_check_method = "file_magic". 15203file_magic_cmd=$lt_file_magic_cmd 15204 15205# How to find potential files when deplibs_check_method = "file_magic". 15206file_magic_glob=$lt_file_magic_glob 15207 15208# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15209want_nocaseglob=$lt_want_nocaseglob 15210 15211# DLL creation program. 15212DLLTOOL=$lt_DLLTOOL 15213 15214# Command to associate shared and link libraries. 15215sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15216 15217# The archiver. 15218AR=$lt_AR 15219 15220# Flags to create an archive. 15221AR_FLAGS=$lt_AR_FLAGS 15222 15223# How to feed a file listing to the archiver. 15224archiver_list_spec=$lt_archiver_list_spec 15225 15226# A symbol stripping program. 15227STRIP=$lt_STRIP 15228 15229# Commands used to install an old-style archive. 15230RANLIB=$lt_RANLIB 15231old_postinstall_cmds=$lt_old_postinstall_cmds 15232old_postuninstall_cmds=$lt_old_postuninstall_cmds 15233 15234# Whether to use a lock for old archive extraction. 15235lock_old_archive_extraction=$lock_old_archive_extraction 15236 15237# A C compiler. 15238LTCC=$lt_CC 15239 15240# LTCC compiler flags. 15241LTCFLAGS=$lt_CFLAGS 15242 15243# Take the output of nm and produce a listing of raw symbols and C names. 15244global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15245 15246# Transform the output of nm in a proper C declaration. 15247global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15248 15249# Transform the output of nm in a C name address pair. 15250global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15251 15252# Transform the output of nm in a C name address pair when lib prefix is needed. 15253global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15254 15255# Specify filename containing input files for \$NM. 15256nm_file_list_spec=$lt_nm_file_list_spec 15257 15258# The root where to search for dependent libraries,and in which our libraries should be installed. 15259lt_sysroot=$lt_sysroot 15260 15261# The name of the directory that contains temporary libtool files. 15262objdir=$objdir 15263 15264# Used to examine libraries when file_magic_cmd begins with "file". 15265MAGIC_CMD=$MAGIC_CMD 15266 15267# Must we lock files when doing compilation? 15268need_locks=$lt_need_locks 15269 15270# Manifest tool. 15271MANIFEST_TOOL=$lt_MANIFEST_TOOL 15272 15273# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15274DSYMUTIL=$lt_DSYMUTIL 15275 15276# Tool to change global to local symbols on Mac OS X. 15277NMEDIT=$lt_NMEDIT 15278 15279# Tool to manipulate fat objects and archives on Mac OS X. 15280LIPO=$lt_LIPO 15281 15282# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15283OTOOL=$lt_OTOOL 15284 15285# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15286OTOOL64=$lt_OTOOL64 15287 15288# Old archive suffix (normally "a"). 15289libext=$libext 15290 15291# Shared library suffix (normally ".so"). 15292shrext_cmds=$lt_shrext_cmds 15293 15294# The commands to extract the exported symbol list from a shared archive. 15295extract_expsyms_cmds=$lt_extract_expsyms_cmds 15296 15297# Variables whose values should be saved in libtool wrapper scripts and 15298# restored at link time. 15299variables_saved_for_relink=$lt_variables_saved_for_relink 15300 15301# Do we need the "lib" prefix for modules? 15302need_lib_prefix=$need_lib_prefix 15303 15304# Do we need a version for libraries? 15305need_version=$need_version 15306 15307# Library versioning type. 15308version_type=$version_type 15309 15310# Shared library runtime path variable. 15311runpath_var=$runpath_var 15312 15313# Shared library path variable. 15314shlibpath_var=$shlibpath_var 15315 15316# Is shlibpath searched before the hard-coded library search path? 15317shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15318 15319# Format of library name prefix. 15320libname_spec=$lt_libname_spec 15321 15322# List of archive names. First name is the real one, the rest are links. 15323# The last name is the one that the linker finds with -lNAME 15324library_names_spec=$lt_library_names_spec 15325 15326# The coded name of the library, if different from the real name. 15327soname_spec=$lt_soname_spec 15328 15329# Permission mode override for installation of shared libraries. 15330install_override_mode=$lt_install_override_mode 15331 15332# Command to use after installation of a shared archive. 15333postinstall_cmds=$lt_postinstall_cmds 15334 15335# Command to use after uninstallation of a shared archive. 15336postuninstall_cmds=$lt_postuninstall_cmds 15337 15338# Commands used to finish a libtool library installation in a directory. 15339finish_cmds=$lt_finish_cmds 15340 15341# As "finish_cmds", except a single script fragment to be evaled but 15342# not shown. 15343finish_eval=$lt_finish_eval 15344 15345# Whether we should hardcode library paths into libraries. 15346hardcode_into_libs=$hardcode_into_libs 15347 15348# Compile-time system search path for libraries. 15349sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15350 15351# Run-time system search path for libraries. 15352sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15353 15354# Whether dlopen is supported. 15355dlopen_support=$enable_dlopen 15356 15357# Whether dlopen of programs is supported. 15358dlopen_self=$enable_dlopen_self 15359 15360# Whether dlopen of statically linked programs is supported. 15361dlopen_self_static=$enable_dlopen_self_static 15362 15363# Commands to strip libraries. 15364old_striplib=$lt_old_striplib 15365striplib=$lt_striplib 15366 15367# Assembler program. 15368AS=$lt_AS 15369 15370 15371# The linker used to build libraries. 15372LD=$lt_LD 15373 15374# How to create reloadable object files. 15375reload_flag=$lt_reload_flag 15376reload_cmds=$lt_reload_cmds 15377 15378# Commands used to build an old-style archive. 15379old_archive_cmds=$lt_old_archive_cmds 15380 15381# A language specific compiler. 15382CC=$lt_compiler 15383 15384# Is the compiler the GNU compiler? 15385with_gcc=$GCC 15386 15387# Compiler flag to turn off builtin functions. 15388no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15389 15390# Additional compiler flags for building library objects. 15391pic_flag=$lt_lt_prog_compiler_pic 15392 15393# How to pass a linker flag through the compiler. 15394wl=$lt_lt_prog_compiler_wl 15395 15396# Compiler flag to prevent dynamic linking. 15397link_static_flag=$lt_lt_prog_compiler_static 15398 15399# Does compiler simultaneously support -c and -o options? 15400compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15401 15402# Whether or not to add -lc for building shared libraries. 15403build_libtool_need_lc=$archive_cmds_need_lc 15404 15405# Whether or not to disallow shared libs when runtime libs are static. 15406allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15407 15408# Compiler flag to allow reflexive dlopens. 15409export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15410 15411# Compiler flag to generate shared objects directly from archives. 15412whole_archive_flag_spec=$lt_whole_archive_flag_spec 15413 15414# Whether the compiler copes with passing no objects directly. 15415compiler_needs_object=$lt_compiler_needs_object 15416 15417# Create an old-style archive from a shared archive. 15418old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15419 15420# Create a temporary old-style archive to link instead of a shared archive. 15421old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15422 15423# Commands used to build a shared archive. 15424archive_cmds=$lt_archive_cmds 15425archive_expsym_cmds=$lt_archive_expsym_cmds 15426 15427# Commands used to build a loadable module if different from building 15428# a shared archive. 15429module_cmds=$lt_module_cmds 15430module_expsym_cmds=$lt_module_expsym_cmds 15431 15432# Whether we are building with GNU ld or not. 15433with_gnu_ld=$lt_with_gnu_ld 15434 15435# Flag that allows shared libraries with undefined symbols to be built. 15436allow_undefined_flag=$lt_allow_undefined_flag 15437 15438# Flag that enforces no undefined symbols. 15439no_undefined_flag=$lt_no_undefined_flag 15440 15441# Flag to hardcode \$libdir into a binary during linking. 15442# This must work even if \$libdir does not exist 15443hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15444 15445# Whether we need a single "-rpath" flag with a separated argument. 15446hardcode_libdir_separator=$lt_hardcode_libdir_separator 15447 15448# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15449# DIR into the resulting binary. 15450hardcode_direct=$hardcode_direct 15451 15452# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15453# DIR into the resulting binary and the resulting library dependency is 15454# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15455# library is relocated. 15456hardcode_direct_absolute=$hardcode_direct_absolute 15457 15458# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15459# into the resulting binary. 15460hardcode_minus_L=$hardcode_minus_L 15461 15462# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15463# into the resulting binary. 15464hardcode_shlibpath_var=$hardcode_shlibpath_var 15465 15466# Set to "yes" if building a shared library automatically hardcodes DIR 15467# into the library and all subsequent libraries and executables linked 15468# against it. 15469hardcode_automatic=$hardcode_automatic 15470 15471# Set to yes if linker adds runtime paths of dependent libraries 15472# to runtime path list. 15473inherit_rpath=$inherit_rpath 15474 15475# Whether libtool must link a program against all its dependency libraries. 15476link_all_deplibs=$link_all_deplibs 15477 15478# Set to "yes" if exported symbols are required. 15479always_export_symbols=$always_export_symbols 15480 15481# The commands to list exported symbols. 15482export_symbols_cmds=$lt_export_symbols_cmds 15483 15484# Symbols that should not be listed in the preloaded symbols. 15485exclude_expsyms=$lt_exclude_expsyms 15486 15487# Symbols that must always be exported. 15488include_expsyms=$lt_include_expsyms 15489 15490# Commands necessary for linking programs (against libraries) with templates. 15491prelink_cmds=$lt_prelink_cmds 15492 15493# Commands necessary for finishing linking programs. 15494postlink_cmds=$lt_postlink_cmds 15495 15496# Specify filename containing input files. 15497file_list_spec=$lt_file_list_spec 15498 15499# How to hardcode a shared library path into an executable. 15500hardcode_action=$hardcode_action 15501 15502# ### END LIBTOOL CONFIG 15503 15504_LT_EOF 15505 15506 case $host_os in 15507 aix3*) 15508 cat <<\_LT_EOF >> "$cfgfile" 15509# AIX sometimes has problems with the GCC collect2 program. For some 15510# reason, if we set the COLLECT_NAMES environment variable, the problems 15511# vanish in a puff of smoke. 15512if test "X${COLLECT_NAMES+set}" != Xset; then 15513 COLLECT_NAMES= 15514 export COLLECT_NAMES 15515fi 15516_LT_EOF 15517 ;; 15518 esac 15519 15520 15521ltmain="$ac_aux_dir/ltmain.sh" 15522 15523 15524 # We use sed instead of cat because bash on DJGPP gets confused if 15525 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15526 # text mode, it properly converts lines to CR/LF. This bash problem 15527 # is reportedly fixed, but why not run on old versions too? 15528 sed '$q' "$ltmain" >> "$cfgfile" \ 15529 || (rm -f "$cfgfile"; exit 1) 15530 15531 if test x"$xsi_shell" = xyes; then 15532 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 15533func_dirname ()\ 15534{\ 15535\ case ${1} in\ 15536\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15537\ * ) func_dirname_result="${3}" ;;\ 15538\ esac\ 15539} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 15540 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15541 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15542test 0 -eq $? || _lt_function_replace_fail=: 15543 15544 15545 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 15546func_basename ()\ 15547{\ 15548\ func_basename_result="${1##*/}"\ 15549} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15550 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15551 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15552test 0 -eq $? || _lt_function_replace_fail=: 15553 15554 15555 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 15556func_dirname_and_basename ()\ 15557{\ 15558\ case ${1} in\ 15559\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15560\ * ) func_dirname_result="${3}" ;;\ 15561\ esac\ 15562\ func_basename_result="${1##*/}"\ 15563} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15564 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15565 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15566test 0 -eq $? || _lt_function_replace_fail=: 15567 15568 15569 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 15570func_stripname ()\ 15571{\ 15572\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 15573\ # positional parameters, so assign one to ordinary parameter first.\ 15574\ func_stripname_result=${3}\ 15575\ func_stripname_result=${func_stripname_result#"${1}"}\ 15576\ func_stripname_result=${func_stripname_result%"${2}"}\ 15577} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 15578 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15579 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15580test 0 -eq $? || _lt_function_replace_fail=: 15581 15582 15583 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 15584func_split_long_opt ()\ 15585{\ 15586\ func_split_long_opt_name=${1%%=*}\ 15587\ func_split_long_opt_arg=${1#*=}\ 15588} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15589 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15590 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15591test 0 -eq $? || _lt_function_replace_fail=: 15592 15593 15594 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 15595func_split_short_opt ()\ 15596{\ 15597\ func_split_short_opt_arg=${1#??}\ 15598\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 15599} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15600 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15601 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15602test 0 -eq $? || _lt_function_replace_fail=: 15603 15604 15605 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 15606func_lo2o ()\ 15607{\ 15608\ case ${1} in\ 15609\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 15610\ *) func_lo2o_result=${1} ;;\ 15611\ esac\ 15612} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 15613 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15614 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15615test 0 -eq $? || _lt_function_replace_fail=: 15616 15617 15618 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 15619func_xform ()\ 15620{\ 15621 func_xform_result=${1%.*}.lo\ 15622} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 15623 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15624 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15625test 0 -eq $? || _lt_function_replace_fail=: 15626 15627 15628 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 15629func_arith ()\ 15630{\ 15631 func_arith_result=$(( $* ))\ 15632} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 15633 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15634 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15635test 0 -eq $? || _lt_function_replace_fail=: 15636 15637 15638 sed -e '/^func_len ()$/,/^} # func_len /c\ 15639func_len ()\ 15640{\ 15641 func_len_result=${#1}\ 15642} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 15643 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15644 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15645test 0 -eq $? || _lt_function_replace_fail=: 15646 15647fi 15648 15649if test x"$lt_shell_append" = xyes; then 15650 sed -e '/^func_append ()$/,/^} # func_append /c\ 15651func_append ()\ 15652{\ 15653 eval "${1}+=\\${2}"\ 15654} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 15655 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15656 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15657test 0 -eq $? || _lt_function_replace_fail=: 15658 15659 15660 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 15661func_append_quoted ()\ 15662{\ 15663\ func_quote_for_eval "${2}"\ 15664\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 15665} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 15666 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15667 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15668test 0 -eq $? || _lt_function_replace_fail=: 15669 15670 15671 # Save a `func_append' function call where possible by direct use of '+=' 15672 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 15673 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15674 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15675 test 0 -eq $? || _lt_function_replace_fail=: 15676else 15677 # Save a `func_append' function call even when '+=' is not available 15678 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 15679 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15680 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15681 test 0 -eq $? || _lt_function_replace_fail=: 15682fi 15683 15684if test x"$_lt_function_replace_fail" = x":"; then 15685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 15686$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 15687fi 15688 15689 15690 mv -f "$cfgfile" "$ofile" || 15691 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15692 chmod +x "$ofile" 15693 15694 ;; 15695 15696 esac 15697done # for ac_tag 15698 15699 15700as_fn_exit 0 15701_ACEOF 15702ac_clean_files=$ac_clean_files_save 15703 15704test $ac_write_fail = 0 || 15705 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15706 15707 15708# configure is writing to config.log, and then calls config.status. 15709# config.status does its own redirection, appending to config.log. 15710# Unfortunately, on DOS this fails, as config.log is still kept open 15711# by configure, so config.status won't be able to write to it; its 15712# output is simply discarded. So we exec the FD to /dev/null, 15713# effectively closing config.log, so it can be properly (re)opened and 15714# appended to by config.status. When coming back to configure, we 15715# need to make the FD available again. 15716if test "$no_create" != yes; then 15717 ac_cs_success=: 15718 ac_config_status_args= 15719 test "$silent" = yes && 15720 ac_config_status_args="$ac_config_status_args --quiet" 15721 exec 5>/dev/null 15722 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15723 exec 5>>config.log 15724 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15725 # would make configure fail if this is the last instruction. 15726 $ac_cs_success || as_fn_exit 1 15727fi 15728if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15730$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15731fi 15732 15733 15734echo " 15735 15736Configuration 15737 Version : ${VERSION} 15738 Source code location : ${srcdir} 15739 Prefix : ${prefix} 15740 Compiler : ${CC} 15741 15742snappy configured. Type 'make' to build. 15743" 15744