1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for spread-sheet-widget 0.8. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='spread-sheet-widget' 589PACKAGE_TARNAME='spread-sheet-widget' 590PACKAGE_VERSION='0.8' 591PACKAGE_STRING='spread-sheet-widget 0.8' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595# Factoring default headers for most tests. 596ac_includes_default="\ 597#include <stdio.h> 598#ifdef HAVE_SYS_TYPES_H 599# include <sys/types.h> 600#endif 601#ifdef HAVE_SYS_STAT_H 602# include <sys/stat.h> 603#endif 604#ifdef STDC_HEADERS 605# include <stdlib.h> 606# include <stddef.h> 607#else 608# ifdef HAVE_STDLIB_H 609# include <stdlib.h> 610# endif 611#endif 612#ifdef HAVE_STRING_H 613# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 614# include <memory.h> 615# endif 616# include <string.h> 617#endif 618#ifdef HAVE_STRINGS_H 619# include <strings.h> 620#endif 621#ifdef HAVE_INTTYPES_H 622# include <inttypes.h> 623#endif 624#ifdef HAVE_STDINT_H 625# include <stdint.h> 626#endif 627#ifdef HAVE_UNISTD_H 628# include <unistd.h> 629#endif" 630 631ac_subst_vars='am__EXEEXT_FALSE 632am__EXEEXT_TRUE 633LTLIBOBJS 634LIBOBJS 635glib_dependency 636gtk_dependency 637GLIB2_LIBS 638GLIB2_CFLAGS 639GTK3_LIBS 640GTK3_CFLAGS 641PKG_CONFIG_LIBDIR 642PKG_CONFIG_PATH 643PKG_CONFIG 644CPP 645LT_SYS_LIBRARY_PATH 646OTOOL64 647OTOOL 648LIPO 649NMEDIT 650DSYMUTIL 651MANIFEST_TOOL 652RANLIB 653ac_ct_AR 654AR 655DLLTOOL 656OBJDUMP 657LN_S 658NM 659ac_ct_DUMPBIN 660DUMPBIN 661LD 662FGREP 663EGREP 664GREP 665SED 666host_os 667host_vendor 668host_cpu 669host 670build_os 671build_vendor 672build_cpu 673build 674LIBTOOL 675am__fastdepCC_FALSE 676am__fastdepCC_TRUE 677CCDEPMODE 678am__nodep 679AMDEPBACKSLASH 680AMDEP_FALSE 681AMDEP_TRUE 682am__include 683DEPDIR 684OBJEXT 685EXEEXT 686ac_ct_CC 687CPPFLAGS 688LDFLAGS 689CFLAGS 690CC 691AM_BACKSLASH 692AM_DEFAULT_VERBOSITY 693AM_DEFAULT_V 694AM_V 695am__untar 696am__tar 697AMTAR 698am__leading_dot 699SET_MAKE 700AWK 701mkdir_p 702MKDIR_P 703INSTALL_STRIP_PROGRAM 704STRIP 705install_sh 706MAKEINFO 707AUTOHEADER 708AUTOMAKE 709AUTOCONF 710ACLOCAL 711VERSION 712PACKAGE 713CYGPATH_W 714am__isrc 715INSTALL_DATA 716INSTALL_SCRIPT 717INSTALL_PROGRAM 718target_alias 719host_alias 720build_alias 721LIBS 722ECHO_T 723ECHO_N 724ECHO_C 725DEFS 726mandir 727localedir 728libdir 729psdir 730pdfdir 731dvidir 732htmldir 733infodir 734docdir 735oldincludedir 736includedir 737runstatedir 738localstatedir 739sharedstatedir 740sysconfdir 741datadir 742datarootdir 743libexecdir 744sbindir 745bindir 746program_transform_name 747prefix 748exec_prefix 749PACKAGE_URL 750PACKAGE_BUGREPORT 751PACKAGE_STRING 752PACKAGE_VERSION 753PACKAGE_TARNAME 754PACKAGE_NAME 755PATH_SEPARATOR 756SHELL 757am__quote' 758ac_subst_files='' 759ac_user_opts=' 760enable_option_checking 761enable_silent_rules 762enable_dependency_tracking 763enable_shared 764enable_static 765with_pic 766enable_fast_install 767with_aix_soname 768with_gnu_ld 769with_sysroot 770enable_libtool_lock 771' 772 ac_precious_vars='build_alias 773host_alias 774target_alias 775CC 776CFLAGS 777LDFLAGS 778LIBS 779CPPFLAGS 780LT_SYS_LIBRARY_PATH 781CPP 782PKG_CONFIG 783PKG_CONFIG_PATH 784PKG_CONFIG_LIBDIR 785GTK3_CFLAGS 786GTK3_LIBS 787GLIB2_CFLAGS 788GLIB2_LIBS' 789 790 791# Initialize some variables set by options. 792ac_init_help= 793ac_init_version=false 794ac_unrecognized_opts= 795ac_unrecognized_sep= 796# The variables have the same names as the options, with 797# dashes changed to underlines. 798cache_file=/dev/null 799exec_prefix=NONE 800no_create= 801no_recursion= 802prefix=NONE 803program_prefix=NONE 804program_suffix=NONE 805program_transform_name=s,x,x, 806silent= 807site= 808srcdir= 809verbose= 810x_includes=NONE 811x_libraries=NONE 812 813# Installation directory options. 814# These are left unexpanded so users can "make install exec_prefix=/foo" 815# and all the variables that are supposed to be based on exec_prefix 816# by default will actually change. 817# Use braces instead of parens because sh, perl, etc. also accept them. 818# (The list follows the same order as the GNU Coding Standards.) 819bindir='${exec_prefix}/bin' 820sbindir='${exec_prefix}/sbin' 821libexecdir='${exec_prefix}/libexec' 822datarootdir='${prefix}/share' 823datadir='${datarootdir}' 824sysconfdir='${prefix}/etc' 825sharedstatedir='${prefix}/com' 826localstatedir='${prefix}/var' 827runstatedir='${localstatedir}/run' 828includedir='${prefix}/include' 829oldincludedir='/usr/include' 830docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 831infodir='${datarootdir}/info' 832htmldir='${docdir}' 833dvidir='${docdir}' 834pdfdir='${docdir}' 835psdir='${docdir}' 836libdir='${exec_prefix}/lib' 837localedir='${datarootdir}/locale' 838mandir='${datarootdir}/man' 839 840ac_prev= 841ac_dashdash= 842for ac_option 843do 844 # If the previous option needs an argument, assign it. 845 if test -n "$ac_prev"; then 846 eval $ac_prev=\$ac_option 847 ac_prev= 848 continue 849 fi 850 851 case $ac_option in 852 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 853 *=) ac_optarg= ;; 854 *) ac_optarg=yes ;; 855 esac 856 857 # Accept the important Cygnus configure options, so we can diagnose typos. 858 859 case $ac_dashdash$ac_option in 860 --) 861 ac_dashdash=yes ;; 862 863 -bindir | --bindir | --bindi | --bind | --bin | --bi) 864 ac_prev=bindir ;; 865 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 866 bindir=$ac_optarg ;; 867 868 -build | --build | --buil | --bui | --bu) 869 ac_prev=build_alias ;; 870 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 871 build_alias=$ac_optarg ;; 872 873 -cache-file | --cache-file | --cache-fil | --cache-fi \ 874 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 875 ac_prev=cache_file ;; 876 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 877 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 878 cache_file=$ac_optarg ;; 879 880 --config-cache | -C) 881 cache_file=config.cache ;; 882 883 -datadir | --datadir | --datadi | --datad) 884 ac_prev=datadir ;; 885 -datadir=* | --datadir=* | --datadi=* | --datad=*) 886 datadir=$ac_optarg ;; 887 888 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 889 | --dataroo | --dataro | --datar) 890 ac_prev=datarootdir ;; 891 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 892 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 893 datarootdir=$ac_optarg ;; 894 895 -disable-* | --disable-*) 896 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 897 # Reject names that are not valid shell variable names. 898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 899 as_fn_error $? "invalid feature name: $ac_useropt" 900 ac_useropt_orig=$ac_useropt 901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 902 case $ac_user_opts in 903 *" 904"enable_$ac_useropt" 905"*) ;; 906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 907 ac_unrecognized_sep=', ';; 908 esac 909 eval enable_$ac_useropt=no ;; 910 911 -docdir | --docdir | --docdi | --doc | --do) 912 ac_prev=docdir ;; 913 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 914 docdir=$ac_optarg ;; 915 916 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 917 ac_prev=dvidir ;; 918 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 919 dvidir=$ac_optarg ;; 920 921 -enable-* | --enable-*) 922 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 923 # Reject names that are not valid shell variable names. 924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 925 as_fn_error $? "invalid feature name: $ac_useropt" 926 ac_useropt_orig=$ac_useropt 927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 928 case $ac_user_opts in 929 *" 930"enable_$ac_useropt" 931"*) ;; 932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 933 ac_unrecognized_sep=', ';; 934 esac 935 eval enable_$ac_useropt=\$ac_optarg ;; 936 937 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 938 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 939 | --exec | --exe | --ex) 940 ac_prev=exec_prefix ;; 941 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 942 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 943 | --exec=* | --exe=* | --ex=*) 944 exec_prefix=$ac_optarg ;; 945 946 -gas | --gas | --ga | --g) 947 # Obsolete; use --with-gas. 948 with_gas=yes ;; 949 950 -help | --help | --hel | --he | -h) 951 ac_init_help=long ;; 952 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 953 ac_init_help=recursive ;; 954 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 955 ac_init_help=short ;; 956 957 -host | --host | --hos | --ho) 958 ac_prev=host_alias ;; 959 -host=* | --host=* | --hos=* | --ho=*) 960 host_alias=$ac_optarg ;; 961 962 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 963 ac_prev=htmldir ;; 964 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 965 | --ht=*) 966 htmldir=$ac_optarg ;; 967 968 -includedir | --includedir | --includedi | --included | --include \ 969 | --includ | --inclu | --incl | --inc) 970 ac_prev=includedir ;; 971 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 972 | --includ=* | --inclu=* | --incl=* | --inc=*) 973 includedir=$ac_optarg ;; 974 975 -infodir | --infodir | --infodi | --infod | --info | --inf) 976 ac_prev=infodir ;; 977 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 978 infodir=$ac_optarg ;; 979 980 -libdir | --libdir | --libdi | --libd) 981 ac_prev=libdir ;; 982 -libdir=* | --libdir=* | --libdi=* | --libd=*) 983 libdir=$ac_optarg ;; 984 985 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 986 | --libexe | --libex | --libe) 987 ac_prev=libexecdir ;; 988 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 989 | --libexe=* | --libex=* | --libe=*) 990 libexecdir=$ac_optarg ;; 991 992 -localedir | --localedir | --localedi | --localed | --locale) 993 ac_prev=localedir ;; 994 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 995 localedir=$ac_optarg ;; 996 997 -localstatedir | --localstatedir | --localstatedi | --localstated \ 998 | --localstate | --localstat | --localsta | --localst | --locals) 999 ac_prev=localstatedir ;; 1000 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1001 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1002 localstatedir=$ac_optarg ;; 1003 1004 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1005 ac_prev=mandir ;; 1006 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1007 mandir=$ac_optarg ;; 1008 1009 -nfp | --nfp | --nf) 1010 # Obsolete; use --without-fp. 1011 with_fp=no ;; 1012 1013 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1014 | --no-cr | --no-c | -n) 1015 no_create=yes ;; 1016 1017 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1018 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1019 no_recursion=yes ;; 1020 1021 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1022 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1023 | --oldin | --oldi | --old | --ol | --o) 1024 ac_prev=oldincludedir ;; 1025 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1026 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1027 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1028 oldincludedir=$ac_optarg ;; 1029 1030 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1031 ac_prev=prefix ;; 1032 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1033 prefix=$ac_optarg ;; 1034 1035 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1036 | --program-pre | --program-pr | --program-p) 1037 ac_prev=program_prefix ;; 1038 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1039 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1040 program_prefix=$ac_optarg ;; 1041 1042 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1043 | --program-suf | --program-su | --program-s) 1044 ac_prev=program_suffix ;; 1045 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1046 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1047 program_suffix=$ac_optarg ;; 1048 1049 -program-transform-name | --program-transform-name \ 1050 | --program-transform-nam | --program-transform-na \ 1051 | --program-transform-n | --program-transform- \ 1052 | --program-transform | --program-transfor \ 1053 | --program-transfo | --program-transf \ 1054 | --program-trans | --program-tran \ 1055 | --progr-tra | --program-tr | --program-t) 1056 ac_prev=program_transform_name ;; 1057 -program-transform-name=* | --program-transform-name=* \ 1058 | --program-transform-nam=* | --program-transform-na=* \ 1059 | --program-transform-n=* | --program-transform-=* \ 1060 | --program-transform=* | --program-transfor=* \ 1061 | --program-transfo=* | --program-transf=* \ 1062 | --program-trans=* | --program-tran=* \ 1063 | --progr-tra=* | --program-tr=* | --program-t=*) 1064 program_transform_name=$ac_optarg ;; 1065 1066 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1067 ac_prev=pdfdir ;; 1068 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1069 pdfdir=$ac_optarg ;; 1070 1071 -psdir | --psdir | --psdi | --psd | --ps) 1072 ac_prev=psdir ;; 1073 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1074 psdir=$ac_optarg ;; 1075 1076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1077 | -silent | --silent | --silen | --sile | --sil) 1078 silent=yes ;; 1079 1080 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1081 | --runstate | --runstat | --runsta | --runst | --runs \ 1082 | --run | --ru | --r) 1083 ac_prev=runstatedir ;; 1084 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1085 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1086 | --run=* | --ru=* | --r=*) 1087 runstatedir=$ac_optarg ;; 1088 1089 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1090 ac_prev=sbindir ;; 1091 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1092 | --sbi=* | --sb=*) 1093 sbindir=$ac_optarg ;; 1094 1095 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1096 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1097 | --sharedst | --shareds | --shared | --share | --shar \ 1098 | --sha | --sh) 1099 ac_prev=sharedstatedir ;; 1100 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1101 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1102 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1103 | --sha=* | --sh=*) 1104 sharedstatedir=$ac_optarg ;; 1105 1106 -site | --site | --sit) 1107 ac_prev=site ;; 1108 -site=* | --site=* | --sit=*) 1109 site=$ac_optarg ;; 1110 1111 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1112 ac_prev=srcdir ;; 1113 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1114 srcdir=$ac_optarg ;; 1115 1116 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1117 | --syscon | --sysco | --sysc | --sys | --sy) 1118 ac_prev=sysconfdir ;; 1119 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1120 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1121 sysconfdir=$ac_optarg ;; 1122 1123 -target | --target | --targe | --targ | --tar | --ta | --t) 1124 ac_prev=target_alias ;; 1125 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1126 target_alias=$ac_optarg ;; 1127 1128 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1129 verbose=yes ;; 1130 1131 -version | --version | --versio | --versi | --vers | -V) 1132 ac_init_version=: ;; 1133 1134 -with-* | --with-*) 1135 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1136 # Reject names that are not valid shell variable names. 1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1138 as_fn_error $? "invalid package name: $ac_useropt" 1139 ac_useropt_orig=$ac_useropt 1140 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1141 case $ac_user_opts in 1142 *" 1143"with_$ac_useropt" 1144"*) ;; 1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1146 ac_unrecognized_sep=', ';; 1147 esac 1148 eval with_$ac_useropt=\$ac_optarg ;; 1149 1150 -without-* | --without-*) 1151 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1152 # Reject names that are not valid shell variable names. 1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1154 as_fn_error $? "invalid package name: $ac_useropt" 1155 ac_useropt_orig=$ac_useropt 1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1157 case $ac_user_opts in 1158 *" 1159"with_$ac_useropt" 1160"*) ;; 1161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1162 ac_unrecognized_sep=', ';; 1163 esac 1164 eval with_$ac_useropt=no ;; 1165 1166 --x) 1167 # Obsolete; use --with-x. 1168 with_x=yes ;; 1169 1170 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1171 | --x-incl | --x-inc | --x-in | --x-i) 1172 ac_prev=x_includes ;; 1173 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1174 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1175 x_includes=$ac_optarg ;; 1176 1177 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1178 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1179 ac_prev=x_libraries ;; 1180 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1181 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1182 x_libraries=$ac_optarg ;; 1183 1184 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1185Try \`$0 --help' for more information" 1186 ;; 1187 1188 *=*) 1189 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1190 # Reject names that are not valid shell variable names. 1191 case $ac_envvar in #( 1192 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1193 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1194 esac 1195 eval $ac_envvar=\$ac_optarg 1196 export $ac_envvar ;; 1197 1198 *) 1199 # FIXME: should be removed in autoconf 3.0. 1200 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1202 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1203 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1204 ;; 1205 1206 esac 1207done 1208 1209if test -n "$ac_prev"; then 1210 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1211 as_fn_error $? "missing argument to $ac_option" 1212fi 1213 1214if test -n "$ac_unrecognized_opts"; then 1215 case $enable_option_checking in 1216 no) ;; 1217 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1218 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1219 esac 1220fi 1221 1222# Check all directory arguments for consistency. 1223for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1224 datadir sysconfdir sharedstatedir localstatedir includedir \ 1225 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1226 libdir localedir mandir runstatedir 1227do 1228 eval ac_val=\$$ac_var 1229 # Remove trailing slashes. 1230 case $ac_val in 1231 */ ) 1232 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1233 eval $ac_var=\$ac_val;; 1234 esac 1235 # Be sure to have absolute directory names. 1236 case $ac_val in 1237 [\\/$]* | ?:[\\/]* ) continue;; 1238 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1239 esac 1240 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1241done 1242 1243# There might be people who depend on the old broken behavior: `$host' 1244# used to hold the argument of --host etc. 1245# FIXME: To remove some day. 1246build=$build_alias 1247host=$host_alias 1248target=$target_alias 1249 1250# FIXME: To remove some day. 1251if test "x$host_alias" != x; then 1252 if test "x$build_alias" = x; then 1253 cross_compiling=maybe 1254 elif test "x$build_alias" != "x$host_alias"; then 1255 cross_compiling=yes 1256 fi 1257fi 1258 1259ac_tool_prefix= 1260test -n "$host_alias" && ac_tool_prefix=$host_alias- 1261 1262test "$silent" = yes && exec 6>/dev/null 1263 1264 1265ac_pwd=`pwd` && test -n "$ac_pwd" && 1266ac_ls_di=`ls -di .` && 1267ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1268 as_fn_error $? "working directory cannot be determined" 1269test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1270 as_fn_error $? "pwd does not report name of working directory" 1271 1272 1273# Find the source files, if location was not specified. 1274if test -z "$srcdir"; then 1275 ac_srcdir_defaulted=yes 1276 # Try the directory containing this script, then the parent directory. 1277 ac_confdir=`$as_dirname -- "$as_myself" || 1278$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1279 X"$as_myself" : 'X\(//\)[^/]' \| \ 1280 X"$as_myself" : 'X\(//\)$' \| \ 1281 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1282$as_echo X"$as_myself" | 1283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1284 s//\1/ 1285 q 1286 } 1287 /^X\(\/\/\)[^/].*/{ 1288 s//\1/ 1289 q 1290 } 1291 /^X\(\/\/\)$/{ 1292 s//\1/ 1293 q 1294 } 1295 /^X\(\/\).*/{ 1296 s//\1/ 1297 q 1298 } 1299 s/.*/./; q'` 1300 srcdir=$ac_confdir 1301 if test ! -r "$srcdir/$ac_unique_file"; then 1302 srcdir=.. 1303 fi 1304else 1305 ac_srcdir_defaulted=no 1306fi 1307if test ! -r "$srcdir/$ac_unique_file"; then 1308 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1309 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1310fi 1311ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1312ac_abs_confdir=`( 1313 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1314 pwd)` 1315# When building in place, set srcdir=. 1316if test "$ac_abs_confdir" = "$ac_pwd"; then 1317 srcdir=. 1318fi 1319# Remove unnecessary trailing slashes from srcdir. 1320# Double slashes in file names in object file debugging info 1321# mess up M-x gdb in Emacs. 1322case $srcdir in 1323*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1324esac 1325for ac_var in $ac_precious_vars; do 1326 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1327 eval ac_env_${ac_var}_value=\$${ac_var} 1328 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1329 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1330done 1331 1332# 1333# Report the --help message. 1334# 1335if test "$ac_init_help" = "long"; then 1336 # Omit some internal or obsolete options to make the list less imposing. 1337 # This message is too long to be a string in the A/UX 3.1 sh. 1338 cat <<_ACEOF 1339\`configure' configures spread-sheet-widget 0.8 to adapt to many kinds of systems. 1340 1341Usage: $0 [OPTION]... [VAR=VALUE]... 1342 1343To assign environment variables (e.g., CC, CFLAGS...), specify them as 1344VAR=VALUE. See below for descriptions of some of the useful variables. 1345 1346Defaults for the options are specified in brackets. 1347 1348Configuration: 1349 -h, --help display this help and exit 1350 --help=short display options specific to this package 1351 --help=recursive display the short help of all the included packages 1352 -V, --version display version information and exit 1353 -q, --quiet, --silent do not print \`checking ...' messages 1354 --cache-file=FILE cache test results in FILE [disabled] 1355 -C, --config-cache alias for \`--cache-file=config.cache' 1356 -n, --no-create do not create output files 1357 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1358 1359Installation directories: 1360 --prefix=PREFIX install architecture-independent files in PREFIX 1361 [$ac_default_prefix] 1362 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1363 [PREFIX] 1364 1365By default, \`make install' will install all the files in 1366\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1367an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1368for instance \`--prefix=\$HOME'. 1369 1370For better control, use the options below. 1371 1372Fine tuning of the installation directories: 1373 --bindir=DIR user executables [EPREFIX/bin] 1374 --sbindir=DIR system admin executables [EPREFIX/sbin] 1375 --libexecdir=DIR program executables [EPREFIX/libexec] 1376 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1377 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1378 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1379 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1380 --libdir=DIR object code libraries [EPREFIX/lib] 1381 --includedir=DIR C header files [PREFIX/include] 1382 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1385 --infodir=DIR info documentation [DATAROOTDIR/info] 1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1387 --mandir=DIR man documentation [DATAROOTDIR/man] 1388 --docdir=DIR documentation root 1389 [DATAROOTDIR/doc/spread-sheet-widget] 1390 --htmldir=DIR html documentation [DOCDIR] 1391 --dvidir=DIR dvi documentation [DOCDIR] 1392 --pdfdir=DIR pdf documentation [DOCDIR] 1393 --psdir=DIR ps documentation [DOCDIR] 1394_ACEOF 1395 1396 cat <<\_ACEOF 1397 1398Program names: 1399 --program-prefix=PREFIX prepend PREFIX to installed program names 1400 --program-suffix=SUFFIX append SUFFIX to installed program names 1401 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1402 1403System types: 1404 --build=BUILD configure for building on BUILD [guessed] 1405 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1406_ACEOF 1407fi 1408 1409if test -n "$ac_init_help"; then 1410 case $ac_init_help in 1411 short | recursive ) echo "Configuration of spread-sheet-widget 0.8:";; 1412 esac 1413 cat <<\_ACEOF 1414 1415Optional Features: 1416 --disable-option-checking ignore unrecognized --enable/--with options 1417 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1418 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1419 --enable-silent-rules less verbose build output (undo: "make V=1") 1420 --disable-silent-rules verbose build output (undo: "make V=0") 1421 --enable-dependency-tracking 1422 do not reject slow dependency extractors 1423 --disable-dependency-tracking 1424 speeds up one-time build 1425 --enable-shared[=PKGS] build shared libraries [default=yes] 1426 --enable-static[=PKGS] build static libraries [default=yes] 1427 --enable-fast-install[=PKGS] 1428 optimize for fast installation [default=yes] 1429 --disable-libtool-lock avoid locking (might break parallel builds) 1430 1431Optional Packages: 1432 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1433 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1434 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1435 both] 1436 --with-aix-soname=aix|svr4|both 1437 shared library versioning (aka "SONAME") variant to 1438 provide on AIX, [default=aix]. 1439 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1440 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1441 compiler's sysroot if not specified). 1442 1443Some influential environment variables: 1444 CC C compiler command 1445 CFLAGS C compiler flags 1446 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1447 nonstandard directory <lib dir> 1448 LIBS libraries to pass to the linker, e.g. -l<library> 1449 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1450 you have headers in a nonstandard directory <include dir> 1451 LT_SYS_LIBRARY_PATH 1452 User-defined run-time library search path. 1453 CPP C preprocessor 1454 PKG_CONFIG path to pkg-config utility 1455 PKG_CONFIG_PATH 1456 directories to add to pkg-config's search path 1457 PKG_CONFIG_LIBDIR 1458 path overriding pkg-config's built-in search path 1459 GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config 1460 GTK3_LIBS linker flags for GTK3, overriding pkg-config 1461 GLIB2_CFLAGS 1462 C compiler flags for GLIB2, overriding pkg-config 1463 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config 1464 1465Use these variables to override the choices made by `configure' or to help 1466it to find libraries and programs with nonstandard names/locations. 1467 1468Report bugs to the package provider. 1469_ACEOF 1470ac_status=$? 1471fi 1472 1473if test "$ac_init_help" = "recursive"; then 1474 # If there are subdirs, report their specific --help. 1475 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1476 test -d "$ac_dir" || 1477 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1478 continue 1479 ac_builddir=. 1480 1481case "$ac_dir" in 1482.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1483*) 1484 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1485 # A ".." for each directory in $ac_dir_suffix. 1486 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1487 case $ac_top_builddir_sub in 1488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1490 esac ;; 1491esac 1492ac_abs_top_builddir=$ac_pwd 1493ac_abs_builddir=$ac_pwd$ac_dir_suffix 1494# for backward compatibility: 1495ac_top_builddir=$ac_top_build_prefix 1496 1497case $srcdir in 1498 .) # We are building in place. 1499 ac_srcdir=. 1500 ac_top_srcdir=$ac_top_builddir_sub 1501 ac_abs_top_srcdir=$ac_pwd ;; 1502 [\\/]* | ?:[\\/]* ) # Absolute name. 1503 ac_srcdir=$srcdir$ac_dir_suffix; 1504 ac_top_srcdir=$srcdir 1505 ac_abs_top_srcdir=$srcdir ;; 1506 *) # Relative name. 1507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1508 ac_top_srcdir=$ac_top_build_prefix$srcdir 1509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1510esac 1511ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1512 1513 cd "$ac_dir" || { ac_status=$?; continue; } 1514 # Check for guested configure. 1515 if test -f "$ac_srcdir/configure.gnu"; then 1516 echo && 1517 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1518 elif test -f "$ac_srcdir/configure"; then 1519 echo && 1520 $SHELL "$ac_srcdir/configure" --help=recursive 1521 else 1522 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1523 fi || ac_status=$? 1524 cd "$ac_pwd" || { ac_status=$?; break; } 1525 done 1526fi 1527 1528test -n "$ac_init_help" && exit $ac_status 1529if $ac_init_version; then 1530 cat <<\_ACEOF 1531spread-sheet-widget configure 0.8 1532generated by GNU Autoconf 2.69 1533 1534Copyright (C) 2012 Free Software Foundation, Inc. 1535This configure script is free software; the Free Software Foundation 1536gives unlimited permission to copy, distribute and modify it. 1537_ACEOF 1538 exit 1539fi 1540 1541## ------------------------ ## 1542## Autoconf initialization. ## 1543## ------------------------ ## 1544 1545# ac_fn_c_try_compile LINENO 1546# -------------------------- 1547# Try to compile conftest.$ac_ext, and return whether this succeeded. 1548ac_fn_c_try_compile () 1549{ 1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1551 rm -f conftest.$ac_objext 1552 if { { ac_try="$ac_compile" 1553case "(($ac_try" in 1554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1555 *) ac_try_echo=$ac_try;; 1556esac 1557eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1558$as_echo "$ac_try_echo"; } >&5 1559 (eval "$ac_compile") 2>conftest.err 1560 ac_status=$? 1561 if test -s conftest.err; then 1562 grep -v '^ *+' conftest.err >conftest.er1 1563 cat conftest.er1 >&5 1564 mv -f conftest.er1 conftest.err 1565 fi 1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1567 test $ac_status = 0; } && { 1568 test -z "$ac_c_werror_flag" || 1569 test ! -s conftest.err 1570 } && test -s conftest.$ac_objext; then : 1571 ac_retval=0 1572else 1573 $as_echo "$as_me: failed program was:" >&5 1574sed 's/^/| /' conftest.$ac_ext >&5 1575 1576 ac_retval=1 1577fi 1578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1579 as_fn_set_status $ac_retval 1580 1581} # ac_fn_c_try_compile 1582 1583# ac_fn_c_try_link LINENO 1584# ----------------------- 1585# Try to link conftest.$ac_ext, and return whether this succeeded. 1586ac_fn_c_try_link () 1587{ 1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1589 rm -f conftest.$ac_objext conftest$ac_exeext 1590 if { { ac_try="$ac_link" 1591case "(($ac_try" in 1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1593 *) ac_try_echo=$ac_try;; 1594esac 1595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1596$as_echo "$ac_try_echo"; } >&5 1597 (eval "$ac_link") 2>conftest.err 1598 ac_status=$? 1599 if test -s conftest.err; then 1600 grep -v '^ *+' conftest.err >conftest.er1 1601 cat conftest.er1 >&5 1602 mv -f conftest.er1 conftest.err 1603 fi 1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1605 test $ac_status = 0; } && { 1606 test -z "$ac_c_werror_flag" || 1607 test ! -s conftest.err 1608 } && test -s conftest$ac_exeext && { 1609 test "$cross_compiling" = yes || 1610 test -x conftest$ac_exeext 1611 }; then : 1612 ac_retval=0 1613else 1614 $as_echo "$as_me: failed program was:" >&5 1615sed 's/^/| /' conftest.$ac_ext >&5 1616 1617 ac_retval=1 1618fi 1619 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1620 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1621 # interfere with the next link command; also delete a directory that is 1622 # left behind by Apple's compiler. We do this before executing the actions. 1623 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1625 as_fn_set_status $ac_retval 1626 1627} # ac_fn_c_try_link 1628 1629# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1630# ------------------------------------------------------- 1631# Tests whether HEADER exists and can be compiled using the include files in 1632# INCLUDES, setting the cache variable VAR accordingly. 1633ac_fn_c_check_header_compile () 1634{ 1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1637$as_echo_n "checking for $2... " >&6; } 1638if eval \${$3+:} false; then : 1639 $as_echo_n "(cached) " >&6 1640else 1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1642/* end confdefs.h. */ 1643$4 1644#include <$2> 1645_ACEOF 1646if ac_fn_c_try_compile "$LINENO"; then : 1647 eval "$3=yes" 1648else 1649 eval "$3=no" 1650fi 1651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1652fi 1653eval ac_res=\$$3 1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1655$as_echo "$ac_res" >&6; } 1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1657 1658} # ac_fn_c_check_header_compile 1659 1660# ac_fn_c_try_cpp LINENO 1661# ---------------------- 1662# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1663ac_fn_c_try_cpp () 1664{ 1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1666 if { { ac_try="$ac_cpp conftest.$ac_ext" 1667case "(($ac_try" in 1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1669 *) ac_try_echo=$ac_try;; 1670esac 1671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1672$as_echo "$ac_try_echo"; } >&5 1673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1674 ac_status=$? 1675 if test -s conftest.err; then 1676 grep -v '^ *+' conftest.err >conftest.er1 1677 cat conftest.er1 >&5 1678 mv -f conftest.er1 conftest.err 1679 fi 1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1681 test $ac_status = 0; } > conftest.i && { 1682 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1683 test ! -s conftest.err 1684 }; then : 1685 ac_retval=0 1686else 1687 $as_echo "$as_me: failed program was:" >&5 1688sed 's/^/| /' conftest.$ac_ext >&5 1689 1690 ac_retval=1 1691fi 1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1693 as_fn_set_status $ac_retval 1694 1695} # ac_fn_c_try_cpp 1696 1697# ac_fn_c_try_run LINENO 1698# ---------------------- 1699# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1700# that executables *can* be run. 1701ac_fn_c_try_run () 1702{ 1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1704 if { { ac_try="$ac_link" 1705case "(($ac_try" in 1706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1707 *) ac_try_echo=$ac_try;; 1708esac 1709eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1710$as_echo "$ac_try_echo"; } >&5 1711 (eval "$ac_link") 2>&5 1712 ac_status=$? 1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1714 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1715 { { case "(($ac_try" in 1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1717 *) ac_try_echo=$ac_try;; 1718esac 1719eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1720$as_echo "$ac_try_echo"; } >&5 1721 (eval "$ac_try") 2>&5 1722 ac_status=$? 1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1724 test $ac_status = 0; }; }; then : 1725 ac_retval=0 1726else 1727 $as_echo "$as_me: program exited with status $ac_status" >&5 1728 $as_echo "$as_me: failed program was:" >&5 1729sed 's/^/| /' conftest.$ac_ext >&5 1730 1731 ac_retval=$ac_status 1732fi 1733 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1735 as_fn_set_status $ac_retval 1736 1737} # ac_fn_c_try_run 1738 1739# ac_fn_c_check_func LINENO FUNC VAR 1740# ---------------------------------- 1741# Tests whether FUNC exists, setting the cache variable VAR accordingly 1742ac_fn_c_check_func () 1743{ 1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1746$as_echo_n "checking for $2... " >&6; } 1747if eval \${$3+:} false; then : 1748 $as_echo_n "(cached) " >&6 1749else 1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1751/* end confdefs.h. */ 1752/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1753 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1754#define $2 innocuous_$2 1755 1756/* System header to define __stub macros and hopefully few prototypes, 1757 which can conflict with char $2 (); below. 1758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1759 <limits.h> exists even on freestanding compilers. */ 1760 1761#ifdef __STDC__ 1762# include <limits.h> 1763#else 1764# include <assert.h> 1765#endif 1766 1767#undef $2 1768 1769/* Override any GCC internal prototype to avoid an error. 1770 Use char because int might match the return type of a GCC 1771 builtin and then its argument prototype would still apply. */ 1772#ifdef __cplusplus 1773extern "C" 1774#endif 1775char $2 (); 1776/* The GNU C library defines this for functions which it implements 1777 to always fail with ENOSYS. Some functions are actually named 1778 something starting with __ and the normal name is an alias. */ 1779#if defined __stub_$2 || defined __stub___$2 1780choke me 1781#endif 1782 1783int 1784main () 1785{ 1786return $2 (); 1787 ; 1788 return 0; 1789} 1790_ACEOF 1791if ac_fn_c_try_link "$LINENO"; then : 1792 eval "$3=yes" 1793else 1794 eval "$3=no" 1795fi 1796rm -f core conftest.err conftest.$ac_objext \ 1797 conftest$ac_exeext conftest.$ac_ext 1798fi 1799eval ac_res=\$$3 1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1801$as_echo "$ac_res" >&6; } 1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1803 1804} # ac_fn_c_check_func 1805cat >config.log <<_ACEOF 1806This file contains any messages produced by compilers while 1807running configure, to aid debugging if configure makes a mistake. 1808 1809It was created by spread-sheet-widget $as_me 0.8, which was 1810generated by GNU Autoconf 2.69. Invocation command line was 1811 1812 $ $0 $@ 1813 1814_ACEOF 1815exec 5>>config.log 1816{ 1817cat <<_ASUNAME 1818## --------- ## 1819## Platform. ## 1820## --------- ## 1821 1822hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1823uname -m = `(uname -m) 2>/dev/null || echo unknown` 1824uname -r = `(uname -r) 2>/dev/null || echo unknown` 1825uname -s = `(uname -s) 2>/dev/null || echo unknown` 1826uname -v = `(uname -v) 2>/dev/null || echo unknown` 1827 1828/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1829/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1830 1831/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1832/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1833/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1834/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1835/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1836/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1837/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1838 1839_ASUNAME 1840 1841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1842for as_dir in $PATH 1843do 1844 IFS=$as_save_IFS 1845 test -z "$as_dir" && as_dir=. 1846 $as_echo "PATH: $as_dir" 1847 done 1848IFS=$as_save_IFS 1849 1850} >&5 1851 1852cat >&5 <<_ACEOF 1853 1854 1855## ----------- ## 1856## Core tests. ## 1857## ----------- ## 1858 1859_ACEOF 1860 1861 1862# Keep a trace of the command line. 1863# Strip out --no-create and --no-recursion so they do not pile up. 1864# Strip out --silent because we don't want to record it for future runs. 1865# Also quote any args containing shell meta-characters. 1866# Make two passes to allow for proper duplicate-argument suppression. 1867ac_configure_args= 1868ac_configure_args0= 1869ac_configure_args1= 1870ac_must_keep_next=false 1871for ac_pass in 1 2 1872do 1873 for ac_arg 1874 do 1875 case $ac_arg in 1876 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1877 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1878 | -silent | --silent | --silen | --sile | --sil) 1879 continue ;; 1880 *\'*) 1881 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1882 esac 1883 case $ac_pass in 1884 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1885 2) 1886 as_fn_append ac_configure_args1 " '$ac_arg'" 1887 if test $ac_must_keep_next = true; then 1888 ac_must_keep_next=false # Got value, back to normal. 1889 else 1890 case $ac_arg in 1891 *=* | --config-cache | -C | -disable-* | --disable-* \ 1892 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1893 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1894 | -with-* | --with-* | -without-* | --without-* | --x) 1895 case "$ac_configure_args0 " in 1896 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1897 esac 1898 ;; 1899 -* ) ac_must_keep_next=true ;; 1900 esac 1901 fi 1902 as_fn_append ac_configure_args " '$ac_arg'" 1903 ;; 1904 esac 1905 done 1906done 1907{ ac_configure_args0=; unset ac_configure_args0;} 1908{ ac_configure_args1=; unset ac_configure_args1;} 1909 1910# When interrupted or exit'd, cleanup temporary files, and complete 1911# config.log. We remove comments because anyway the quotes in there 1912# would cause problems or look ugly. 1913# WARNING: Use '\'' to represent an apostrophe within the trap. 1914# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1915trap 'exit_status=$? 1916 # Save into config.log some information that might help in debugging. 1917 { 1918 echo 1919 1920 $as_echo "## ---------------- ## 1921## Cache variables. ## 1922## ---------------- ##" 1923 echo 1924 # The following way of writing the cache mishandles newlines in values, 1925( 1926 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1927 eval ac_val=\$$ac_var 1928 case $ac_val in #( 1929 *${as_nl}*) 1930 case $ac_var in #( 1931 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1932$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1933 esac 1934 case $ac_var in #( 1935 _ | IFS | as_nl) ;; #( 1936 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1937 *) { eval $ac_var=; unset $ac_var;} ;; 1938 esac ;; 1939 esac 1940 done 1941 (set) 2>&1 | 1942 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1943 *${as_nl}ac_space=\ *) 1944 sed -n \ 1945 "s/'\''/'\''\\\\'\'''\''/g; 1946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1947 ;; #( 1948 *) 1949 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1950 ;; 1951 esac | 1952 sort 1953) 1954 echo 1955 1956 $as_echo "## ----------------- ## 1957## Output variables. ## 1958## ----------------- ##" 1959 echo 1960 for ac_var in $ac_subst_vars 1961 do 1962 eval ac_val=\$$ac_var 1963 case $ac_val in 1964 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1965 esac 1966 $as_echo "$ac_var='\''$ac_val'\''" 1967 done | sort 1968 echo 1969 1970 if test -n "$ac_subst_files"; then 1971 $as_echo "## ------------------- ## 1972## File substitutions. ## 1973## ------------------- ##" 1974 echo 1975 for ac_var in $ac_subst_files 1976 do 1977 eval ac_val=\$$ac_var 1978 case $ac_val in 1979 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1980 esac 1981 $as_echo "$ac_var='\''$ac_val'\''" 1982 done | sort 1983 echo 1984 fi 1985 1986 if test -s confdefs.h; then 1987 $as_echo "## ----------- ## 1988## confdefs.h. ## 1989## ----------- ##" 1990 echo 1991 cat confdefs.h 1992 echo 1993 fi 1994 test "$ac_signal" != 0 && 1995 $as_echo "$as_me: caught signal $ac_signal" 1996 $as_echo "$as_me: exit $exit_status" 1997 } >&5 1998 rm -f core *.core core.conftest.* && 1999 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2000 exit $exit_status 2001' 0 2002for ac_signal in 1 2 13 15; do 2003 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2004done 2005ac_signal=0 2006 2007# confdefs.h avoids OS command line length limits that DEFS can exceed. 2008rm -f -r conftest* confdefs.h 2009 2010$as_echo "/* confdefs.h */" > confdefs.h 2011 2012# Predefined preprocessor variables. 2013 2014cat >>confdefs.h <<_ACEOF 2015#define PACKAGE_NAME "$PACKAGE_NAME" 2016_ACEOF 2017 2018cat >>confdefs.h <<_ACEOF 2019#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2020_ACEOF 2021 2022cat >>confdefs.h <<_ACEOF 2023#define PACKAGE_VERSION "$PACKAGE_VERSION" 2024_ACEOF 2025 2026cat >>confdefs.h <<_ACEOF 2027#define PACKAGE_STRING "$PACKAGE_STRING" 2028_ACEOF 2029 2030cat >>confdefs.h <<_ACEOF 2031#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2032_ACEOF 2033 2034cat >>confdefs.h <<_ACEOF 2035#define PACKAGE_URL "$PACKAGE_URL" 2036_ACEOF 2037 2038 2039# Let the site file select an alternate cache file if it wants to. 2040# Prefer an explicitly selected file to automatically selected ones. 2041ac_site_file1=NONE 2042ac_site_file2=NONE 2043if test -n "$CONFIG_SITE"; then 2044 # We do not want a PATH search for config.site. 2045 case $CONFIG_SITE in #(( 2046 -*) ac_site_file1=./$CONFIG_SITE;; 2047 */*) ac_site_file1=$CONFIG_SITE;; 2048 *) ac_site_file1=./$CONFIG_SITE;; 2049 esac 2050elif test "x$prefix" != xNONE; then 2051 ac_site_file1=$prefix/share/config.site 2052 ac_site_file2=$prefix/etc/config.site 2053else 2054 ac_site_file1=$ac_default_prefix/share/config.site 2055 ac_site_file2=$ac_default_prefix/etc/config.site 2056fi 2057for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2058do 2059 test "x$ac_site_file" = xNONE && continue 2060 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2062$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2063 sed 's/^/| /' "$ac_site_file" >&5 2064 . "$ac_site_file" \ 2065 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2066$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2067as_fn_error $? "failed to load site script $ac_site_file 2068See \`config.log' for more details" "$LINENO" 5; } 2069 fi 2070done 2071 2072if test -r "$cache_file"; then 2073 # Some versions of bash will fail to source /dev/null (special files 2074 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2075 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2077$as_echo "$as_me: loading cache $cache_file" >&6;} 2078 case $cache_file in 2079 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2080 *) . "./$cache_file";; 2081 esac 2082 fi 2083else 2084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2085$as_echo "$as_me: creating cache $cache_file" >&6;} 2086 >$cache_file 2087fi 2088 2089# Check that the precious variables saved in the cache have kept the same 2090# value. 2091ac_cache_corrupted=false 2092for ac_var in $ac_precious_vars; do 2093 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2094 eval ac_new_set=\$ac_env_${ac_var}_set 2095 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2096 eval ac_new_val=\$ac_env_${ac_var}_value 2097 case $ac_old_set,$ac_new_set in 2098 set,) 2099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2100$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2101 ac_cache_corrupted=: ;; 2102 ,set) 2103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2104$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2105 ac_cache_corrupted=: ;; 2106 ,);; 2107 *) 2108 if test "x$ac_old_val" != "x$ac_new_val"; then 2109 # differences in whitespace do not lead to failure. 2110 ac_old_val_w=`echo x $ac_old_val` 2111 ac_new_val_w=`echo x $ac_new_val` 2112 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2114$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2115 ac_cache_corrupted=: 2116 else 2117 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2118$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2119 eval $ac_var=\$ac_old_val 2120 fi 2121 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2122$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2123 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2124$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2125 fi;; 2126 esac 2127 # Pass precious variables to config.status. 2128 if test "$ac_new_set" = set; then 2129 case $ac_new_val in 2130 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2131 *) ac_arg=$ac_var=$ac_new_val ;; 2132 esac 2133 case " $ac_configure_args " in 2134 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2135 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2136 esac 2137 fi 2138done 2139if $ac_cache_corrupted; then 2140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2141$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2143$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2144 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2145fi 2146## -------------------- ## 2147## Main body of script. ## 2148## -------------------- ## 2149 2150ac_ext=c 2151ac_cpp='$CPP $CPPFLAGS' 2152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2154ac_compiler_gnu=$ac_cv_c_compiler_gnu 2155 2156 2157 2158am__api_version='1.16' 2159 2160ac_aux_dir= 2161for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2162 if test -f "$ac_dir/install-sh"; then 2163 ac_aux_dir=$ac_dir 2164 ac_install_sh="$ac_aux_dir/install-sh -c" 2165 break 2166 elif test -f "$ac_dir/install.sh"; then 2167 ac_aux_dir=$ac_dir 2168 ac_install_sh="$ac_aux_dir/install.sh -c" 2169 break 2170 elif test -f "$ac_dir/shtool"; then 2171 ac_aux_dir=$ac_dir 2172 ac_install_sh="$ac_aux_dir/shtool install -c" 2173 break 2174 fi 2175done 2176if test -z "$ac_aux_dir"; then 2177 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2178fi 2179 2180# These three variables are undocumented and unsupported, 2181# and are intended to be withdrawn in a future Autoconf release. 2182# They can cause serious problems if a builder's source tree is in a directory 2183# whose full name contains unusual characters. 2184ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2185ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2186ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2187 2188 2189# Find a good install program. We prefer a C program (faster), 2190# so one script is as good as another. But avoid the broken or 2191# incompatible versions: 2192# SysV /etc/install, /usr/sbin/install 2193# SunOS /usr/etc/install 2194# IRIX /sbin/install 2195# AIX /bin/install 2196# AmigaOS /C/install, which installs bootblocks on floppy discs 2197# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2198# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2199# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2200# OS/2's system install, which has a completely different semantic 2201# ./install, which can be erroneously created by make from ./install.sh. 2202# Reject install programs that cannot install multiple files. 2203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2204$as_echo_n "checking for a BSD-compatible install... " >&6; } 2205if test -z "$INSTALL"; then 2206if ${ac_cv_path_install+:} false; then : 2207 $as_echo_n "(cached) " >&6 2208else 2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2210for as_dir in $PATH 2211do 2212 IFS=$as_save_IFS 2213 test -z "$as_dir" && as_dir=. 2214 # Account for people who put trailing slashes in PATH elements. 2215case $as_dir/ in #(( 2216 ./ | .// | /[cC]/* | \ 2217 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2218 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2219 /usr/ucb/* ) ;; 2220 *) 2221 # OSF1 and SCO ODT 3.0 have their own names for install. 2222 # Don't use installbsd from OSF since it installs stuff as root 2223 # by default. 2224 for ac_prog in ginstall scoinst install; do 2225 for ac_exec_ext in '' $ac_executable_extensions; do 2226 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2227 if test $ac_prog = install && 2228 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2229 # AIX install. It has an incompatible calling convention. 2230 : 2231 elif test $ac_prog = install && 2232 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2233 # program-specific install script used by HP pwplus--don't use. 2234 : 2235 else 2236 rm -rf conftest.one conftest.two conftest.dir 2237 echo one > conftest.one 2238 echo two > conftest.two 2239 mkdir conftest.dir 2240 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2241 test -s conftest.one && test -s conftest.two && 2242 test -s conftest.dir/conftest.one && 2243 test -s conftest.dir/conftest.two 2244 then 2245 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2246 break 3 2247 fi 2248 fi 2249 fi 2250 done 2251 done 2252 ;; 2253esac 2254 2255 done 2256IFS=$as_save_IFS 2257 2258rm -rf conftest.one conftest.two conftest.dir 2259 2260fi 2261 if test "${ac_cv_path_install+set}" = set; then 2262 INSTALL=$ac_cv_path_install 2263 else 2264 # As a last resort, use the slow shell script. Don't cache a 2265 # value for INSTALL within a source directory, because that will 2266 # break other packages using the cache if that directory is 2267 # removed, or if the value is a relative name. 2268 INSTALL=$ac_install_sh 2269 fi 2270fi 2271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2272$as_echo "$INSTALL" >&6; } 2273 2274# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2275# It thinks the first close brace ends the variable substitution. 2276test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2277 2278test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2279 2280test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2281 2282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2283$as_echo_n "checking whether build environment is sane... " >&6; } 2284# Reject unsafe characters in $srcdir or the absolute working directory 2285# name. Accept space and tab only in the latter. 2286am_lf=' 2287' 2288case `pwd` in 2289 *[\\\"\#\$\&\'\`$am_lf]*) 2290 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2291esac 2292case $srcdir in 2293 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2294 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2295esac 2296 2297# Do 'set' in a subshell so we don't clobber the current shell's 2298# arguments. Must try -L first in case configure is actually a 2299# symlink; some systems play weird games with the mod time of symlinks 2300# (eg FreeBSD returns the mod time of the symlink's containing 2301# directory). 2302if ( 2303 am_has_slept=no 2304 for am_try in 1 2; do 2305 echo "timestamp, slept: $am_has_slept" > conftest.file 2306 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2307 if test "$*" = "X"; then 2308 # -L didn't work. 2309 set X `ls -t "$srcdir/configure" conftest.file` 2310 fi 2311 if test "$*" != "X $srcdir/configure conftest.file" \ 2312 && test "$*" != "X conftest.file $srcdir/configure"; then 2313 2314 # If neither matched, then we have a broken ls. This can happen 2315 # if, for instance, CONFIG_SHELL is bash and it inherits a 2316 # broken ls alias from the environment. This has actually 2317 # happened. Such a system could not be considered "sane". 2318 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2319 alias in your environment" "$LINENO" 5 2320 fi 2321 if test "$2" = conftest.file || test $am_try -eq 2; then 2322 break 2323 fi 2324 # Just in case. 2325 sleep 1 2326 am_has_slept=yes 2327 done 2328 test "$2" = conftest.file 2329 ) 2330then 2331 # Ok. 2332 : 2333else 2334 as_fn_error $? "newly created file is older than distributed files! 2335Check your system clock" "$LINENO" 5 2336fi 2337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2338$as_echo "yes" >&6; } 2339# If we didn't sleep, we still need to ensure time stamps of config.status and 2340# generated files are strictly newer. 2341am_sleep_pid= 2342if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2343 ( sleep 1 ) & 2344 am_sleep_pid=$! 2345fi 2346 2347rm -f conftest.file 2348 2349test "$program_prefix" != NONE && 2350 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2351# Use a double $ so make ignores it. 2352test "$program_suffix" != NONE && 2353 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2354# Double any \ or $. 2355# By default was `s,x,x', remove it if useless. 2356ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2357program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2358 2359# Expand $ac_aux_dir to an absolute path. 2360am_aux_dir=`cd "$ac_aux_dir" && pwd` 2361 2362if test x"${MISSING+set}" != xset; then 2363 case $am_aux_dir in 2364 *\ * | *\ *) 2365 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2366 *) 2367 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2368 esac 2369fi 2370# Use eval to expand $SHELL 2371if eval "$MISSING --is-lightweight"; then 2372 am_missing_run="$MISSING " 2373else 2374 am_missing_run= 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2376$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2377fi 2378 2379if test x"${install_sh+set}" != xset; then 2380 case $am_aux_dir in 2381 *\ * | *\ *) 2382 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2383 *) 2384 install_sh="\${SHELL} $am_aux_dir/install-sh" 2385 esac 2386fi 2387 2388# Installed binaries are usually stripped using 'strip' when the user 2389# run "make install-strip". However 'strip' might not be the right 2390# tool to use in cross-compilation environments, therefore Automake 2391# will honor the 'STRIP' environment variable to overrule this program. 2392if test "$cross_compiling" != no; then 2393 if test -n "$ac_tool_prefix"; then 2394 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2395set dummy ${ac_tool_prefix}strip; ac_word=$2 2396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2397$as_echo_n "checking for $ac_word... " >&6; } 2398if ${ac_cv_prog_STRIP+:} false; then : 2399 $as_echo_n "(cached) " >&6 2400else 2401 if test -n "$STRIP"; then 2402 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2403else 2404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2405for as_dir in $PATH 2406do 2407 IFS=$as_save_IFS 2408 test -z "$as_dir" && as_dir=. 2409 for ac_exec_ext in '' $ac_executable_extensions; do 2410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2411 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2413 break 2 2414 fi 2415done 2416 done 2417IFS=$as_save_IFS 2418 2419fi 2420fi 2421STRIP=$ac_cv_prog_STRIP 2422if test -n "$STRIP"; then 2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2424$as_echo "$STRIP" >&6; } 2425else 2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2427$as_echo "no" >&6; } 2428fi 2429 2430 2431fi 2432if test -z "$ac_cv_prog_STRIP"; then 2433 ac_ct_STRIP=$STRIP 2434 # Extract the first word of "strip", so it can be a program name with args. 2435set dummy strip; ac_word=$2 2436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2437$as_echo_n "checking for $ac_word... " >&6; } 2438if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2439 $as_echo_n "(cached) " >&6 2440else 2441 if test -n "$ac_ct_STRIP"; then 2442 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2443else 2444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2445for as_dir in $PATH 2446do 2447 IFS=$as_save_IFS 2448 test -z "$as_dir" && as_dir=. 2449 for ac_exec_ext in '' $ac_executable_extensions; do 2450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2451 ac_cv_prog_ac_ct_STRIP="strip" 2452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2453 break 2 2454 fi 2455done 2456 done 2457IFS=$as_save_IFS 2458 2459fi 2460fi 2461ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2462if test -n "$ac_ct_STRIP"; then 2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2464$as_echo "$ac_ct_STRIP" >&6; } 2465else 2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2467$as_echo "no" >&6; } 2468fi 2469 2470 if test "x$ac_ct_STRIP" = x; then 2471 STRIP=":" 2472 else 2473 case $cross_compiling:$ac_tool_warned in 2474yes:) 2475{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2476$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2477ac_tool_warned=yes ;; 2478esac 2479 STRIP=$ac_ct_STRIP 2480 fi 2481else 2482 STRIP="$ac_cv_prog_STRIP" 2483fi 2484 2485fi 2486INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2487 2488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2489$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2490if test -z "$MKDIR_P"; then 2491 if ${ac_cv_path_mkdir+:} false; then : 2492 $as_echo_n "(cached) " >&6 2493else 2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2495for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2496do 2497 IFS=$as_save_IFS 2498 test -z "$as_dir" && as_dir=. 2499 for ac_prog in mkdir gmkdir; do 2500 for ac_exec_ext in '' $ac_executable_extensions; do 2501 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2502 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2503 'mkdir (GNU coreutils) '* | \ 2504 'mkdir (coreutils) '* | \ 2505 'mkdir (fileutils) '4.1*) 2506 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2507 break 3;; 2508 esac 2509 done 2510 done 2511 done 2512IFS=$as_save_IFS 2513 2514fi 2515 2516 test -d ./--version && rmdir ./--version 2517 if test "${ac_cv_path_mkdir+set}" = set; then 2518 MKDIR_P="$ac_cv_path_mkdir -p" 2519 else 2520 # As a last resort, use the slow shell script. Don't cache a 2521 # value for MKDIR_P within a source directory, because that will 2522 # break other packages using the cache if that directory is 2523 # removed, or if the value is a relative name. 2524 MKDIR_P="$ac_install_sh -d" 2525 fi 2526fi 2527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2528$as_echo "$MKDIR_P" >&6; } 2529 2530for ac_prog in gawk mawk nawk awk 2531do 2532 # Extract the first word of "$ac_prog", so it can be a program name with args. 2533set dummy $ac_prog; ac_word=$2 2534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2535$as_echo_n "checking for $ac_word... " >&6; } 2536if ${ac_cv_prog_AWK+:} false; then : 2537 $as_echo_n "(cached) " >&6 2538else 2539 if test -n "$AWK"; then 2540 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2541else 2542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2543for as_dir in $PATH 2544do 2545 IFS=$as_save_IFS 2546 test -z "$as_dir" && as_dir=. 2547 for ac_exec_ext in '' $ac_executable_extensions; do 2548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2549 ac_cv_prog_AWK="$ac_prog" 2550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2551 break 2 2552 fi 2553done 2554 done 2555IFS=$as_save_IFS 2556 2557fi 2558fi 2559AWK=$ac_cv_prog_AWK 2560if test -n "$AWK"; then 2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2562$as_echo "$AWK" >&6; } 2563else 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2565$as_echo "no" >&6; } 2566fi 2567 2568 2569 test -n "$AWK" && break 2570done 2571 2572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2573$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2574set x ${MAKE-make} 2575ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2576if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2577 $as_echo_n "(cached) " >&6 2578else 2579 cat >conftest.make <<\_ACEOF 2580SHELL = /bin/sh 2581all: 2582 @echo '@@@%%%=$(MAKE)=@@@%%%' 2583_ACEOF 2584# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2585case `${MAKE-make} -f conftest.make 2>/dev/null` in 2586 *@@@%%%=?*=@@@%%%*) 2587 eval ac_cv_prog_make_${ac_make}_set=yes;; 2588 *) 2589 eval ac_cv_prog_make_${ac_make}_set=no;; 2590esac 2591rm -f conftest.make 2592fi 2593if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2595$as_echo "yes" >&6; } 2596 SET_MAKE= 2597else 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2599$as_echo "no" >&6; } 2600 SET_MAKE="MAKE=${MAKE-make}" 2601fi 2602 2603rm -rf .tst 2>/dev/null 2604mkdir .tst 2>/dev/null 2605if test -d .tst; then 2606 am__leading_dot=. 2607else 2608 am__leading_dot=_ 2609fi 2610rmdir .tst 2>/dev/null 2611 2612# Check whether --enable-silent-rules was given. 2613if test "${enable_silent_rules+set}" = set; then : 2614 enableval=$enable_silent_rules; 2615fi 2616 2617case $enable_silent_rules in # ((( 2618 yes) AM_DEFAULT_VERBOSITY=0;; 2619 no) AM_DEFAULT_VERBOSITY=1;; 2620 *) AM_DEFAULT_VERBOSITY=1;; 2621esac 2622am_make=${MAKE-make} 2623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2624$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2625if ${am_cv_make_support_nested_variables+:} false; then : 2626 $as_echo_n "(cached) " >&6 2627else 2628 if $as_echo 'TRUE=$(BAR$(V)) 2629BAR0=false 2630BAR1=true 2631V=1 2632am__doit: 2633 @$(TRUE) 2634.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2635 am_cv_make_support_nested_variables=yes 2636else 2637 am_cv_make_support_nested_variables=no 2638fi 2639fi 2640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2641$as_echo "$am_cv_make_support_nested_variables" >&6; } 2642if test $am_cv_make_support_nested_variables = yes; then 2643 AM_V='$(V)' 2644 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2645else 2646 AM_V=$AM_DEFAULT_VERBOSITY 2647 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2648fi 2649AM_BACKSLASH='\' 2650 2651if test "`cd $srcdir && pwd`" != "`pwd`"; then 2652 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2653 # is not polluted with repeated "-I." 2654 am__isrc=' -I$(srcdir)' 2655 # test to see if srcdir already configured 2656 if test -f $srcdir/config.status; then 2657 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2658 fi 2659fi 2660 2661# test whether we have cygpath 2662if test -z "$CYGPATH_W"; then 2663 if (cygpath --version) >/dev/null 2>/dev/null; then 2664 CYGPATH_W='cygpath -w' 2665 else 2666 CYGPATH_W=echo 2667 fi 2668fi 2669 2670 2671# Define the identity of the package. 2672 PACKAGE='spread-sheet-widget' 2673 VERSION='0.8' 2674 2675 2676cat >>confdefs.h <<_ACEOF 2677#define PACKAGE "$PACKAGE" 2678_ACEOF 2679 2680 2681cat >>confdefs.h <<_ACEOF 2682#define VERSION "$VERSION" 2683_ACEOF 2684 2685# Some tools Automake needs. 2686 2687ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2688 2689 2690AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2691 2692 2693AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2694 2695 2696AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2697 2698 2699MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2700 2701# For better backward compatibility. To be removed once Automake 1.9.x 2702# dies out for good. For more background, see: 2703# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2704# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2705mkdir_p='$(MKDIR_P)' 2706 2707# We need awk for the "check" target (and possibly the TAP driver). The 2708# system "awk" is bad on some platforms. 2709# Always define AMTAR for backward compatibility. Yes, it's still used 2710# in the wild :-( We should find a proper way to deprecate it ... 2711AMTAR='$${TAR-tar}' 2712 2713 2714# We'll loop over all known methods to create a tar archive until one works. 2715_am_tools='gnutar pax cpio none' 2716 2717am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2718 2719 2720 2721 2722 2723 2724# POSIX will say in a future version that running "rm -f" with no argument 2725# is OK; and we want to be able to make that assumption in our Makefile 2726# recipes. So use an aggressive probe to check that the usage we want is 2727# actually supported "in the wild" to an acceptable degree. 2728# See automake bug#10828. 2729# To make any issue more visible, cause the running configure to be aborted 2730# by default if the 'rm' program in use doesn't match our expectations; the 2731# user can still override this though. 2732if rm -f && rm -fr && rm -rf; then : OK; else 2733 cat >&2 <<'END' 2734Oops! 2735 2736Your 'rm' program seems unable to run without file operands specified 2737on the command line, even when the '-f' option is present. This is contrary 2738to the behaviour of most rm programs out there, and not conforming with 2739the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2740 2741Please tell bug-automake@gnu.org about your system, including the value 2742of your $PATH and any error possibly output before this message. This 2743can help us improve future automake versions. 2744 2745END 2746 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2747 echo 'Configuration will proceed anyway, since you have set the' >&2 2748 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2749 echo >&2 2750 else 2751 cat >&2 <<'END' 2752Aborting the configuration process, to ensure you take notice of the issue. 2753 2754You can download and install GNU coreutils to get an 'rm' implementation 2755that behaves properly: <https://www.gnu.org/software/coreutils/>. 2756 2757If you want to complete the configuration process using your problematic 2758'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2759to "yes", and re-run configure. 2760 2761END 2762 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2763 fi 2764fi 2765 2766 2767ac_config_headers="$ac_config_headers config.h" 2768 2769 2770DEPDIR="${am__leading_dot}deps" 2771 2772ac_config_commands="$ac_config_commands depfiles" 2773 2774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 2775$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 2776cat > confinc.mk << 'END' 2777am__doit: 2778 @echo this is the am__doit target >confinc.out 2779.PHONY: am__doit 2780END 2781am__include="#" 2782am__quote= 2783# BSD make does it like this. 2784echo '.include "confinc.mk" # ignored' > confmf.BSD 2785# Other make implementations (GNU, Solaris 10, AIX) do it like this. 2786echo 'include confinc.mk # ignored' > confmf.GNU 2787_am_result=no 2788for s in GNU BSD; do 2789 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 2790 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 2791 ac_status=$? 2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2793 (exit $ac_status); } 2794 case $?:`cat confinc.out 2>/dev/null` in #( 2795 '0:this is the am__doit target') : 2796 case $s in #( 2797 BSD) : 2798 am__include='.include' am__quote='"' ;; #( 2799 *) : 2800 am__include='include' am__quote='' ;; 2801esac ;; #( 2802 *) : 2803 ;; 2804esac 2805 if test "$am__include" != "#"; then 2806 _am_result="yes ($s style)" 2807 break 2808 fi 2809done 2810rm -f confinc.* confmf.* 2811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 2812$as_echo "${_am_result}" >&6; } 2813 2814# Check whether --enable-dependency-tracking was given. 2815if test "${enable_dependency_tracking+set}" = set; then : 2816 enableval=$enable_dependency_tracking; 2817fi 2818 2819if test "x$enable_dependency_tracking" != xno; then 2820 am_depcomp="$ac_aux_dir/depcomp" 2821 AMDEPBACKSLASH='\' 2822 am__nodep='_no' 2823fi 2824 if test "x$enable_dependency_tracking" != xno; then 2825 AMDEP_TRUE= 2826 AMDEP_FALSE='#' 2827else 2828 AMDEP_TRUE='#' 2829 AMDEP_FALSE= 2830fi 2831 2832 2833ac_ext=c 2834ac_cpp='$CPP $CPPFLAGS' 2835ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2836ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2837ac_compiler_gnu=$ac_cv_c_compiler_gnu 2838if test -n "$ac_tool_prefix"; then 2839 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2840set dummy ${ac_tool_prefix}gcc; ac_word=$2 2841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2842$as_echo_n "checking for $ac_word... " >&6; } 2843if ${ac_cv_prog_CC+:} false; then : 2844 $as_echo_n "(cached) " >&6 2845else 2846 if test -n "$CC"; then 2847 ac_cv_prog_CC="$CC" # Let the user override the test. 2848else 2849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2850for as_dir in $PATH 2851do 2852 IFS=$as_save_IFS 2853 test -z "$as_dir" && as_dir=. 2854 for ac_exec_ext in '' $ac_executable_extensions; do 2855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2856 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2858 break 2 2859 fi 2860done 2861 done 2862IFS=$as_save_IFS 2863 2864fi 2865fi 2866CC=$ac_cv_prog_CC 2867if test -n "$CC"; then 2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2869$as_echo "$CC" >&6; } 2870else 2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2872$as_echo "no" >&6; } 2873fi 2874 2875 2876fi 2877if test -z "$ac_cv_prog_CC"; then 2878 ac_ct_CC=$CC 2879 # Extract the first word of "gcc", so it can be a program name with args. 2880set dummy gcc; ac_word=$2 2881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2882$as_echo_n "checking for $ac_word... " >&6; } 2883if ${ac_cv_prog_ac_ct_CC+:} false; then : 2884 $as_echo_n "(cached) " >&6 2885else 2886 if test -n "$ac_ct_CC"; then 2887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2888else 2889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2890for as_dir in $PATH 2891do 2892 IFS=$as_save_IFS 2893 test -z "$as_dir" && as_dir=. 2894 for ac_exec_ext in '' $ac_executable_extensions; do 2895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2896 ac_cv_prog_ac_ct_CC="gcc" 2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2898 break 2 2899 fi 2900done 2901 done 2902IFS=$as_save_IFS 2903 2904fi 2905fi 2906ac_ct_CC=$ac_cv_prog_ac_ct_CC 2907if test -n "$ac_ct_CC"; then 2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2909$as_echo "$ac_ct_CC" >&6; } 2910else 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2912$as_echo "no" >&6; } 2913fi 2914 2915 if test "x$ac_ct_CC" = x; then 2916 CC="" 2917 else 2918 case $cross_compiling:$ac_tool_warned in 2919yes:) 2920{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2921$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2922ac_tool_warned=yes ;; 2923esac 2924 CC=$ac_ct_CC 2925 fi 2926else 2927 CC="$ac_cv_prog_CC" 2928fi 2929 2930if test -z "$CC"; then 2931 if test -n "$ac_tool_prefix"; then 2932 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2933set dummy ${ac_tool_prefix}cc; ac_word=$2 2934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2935$as_echo_n "checking for $ac_word... " >&6; } 2936if ${ac_cv_prog_CC+:} false; then : 2937 $as_echo_n "(cached) " >&6 2938else 2939 if test -n "$CC"; then 2940 ac_cv_prog_CC="$CC" # Let the user override the test. 2941else 2942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2943for as_dir in $PATH 2944do 2945 IFS=$as_save_IFS 2946 test -z "$as_dir" && as_dir=. 2947 for ac_exec_ext in '' $ac_executable_extensions; do 2948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2949 ac_cv_prog_CC="${ac_tool_prefix}cc" 2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2951 break 2 2952 fi 2953done 2954 done 2955IFS=$as_save_IFS 2956 2957fi 2958fi 2959CC=$ac_cv_prog_CC 2960if test -n "$CC"; then 2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2962$as_echo "$CC" >&6; } 2963else 2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2965$as_echo "no" >&6; } 2966fi 2967 2968 2969 fi 2970fi 2971if test -z "$CC"; then 2972 # Extract the first word of "cc", so it can be a program name with args. 2973set dummy cc; ac_word=$2 2974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2975$as_echo_n "checking for $ac_word... " >&6; } 2976if ${ac_cv_prog_CC+:} false; then : 2977 $as_echo_n "(cached) " >&6 2978else 2979 if test -n "$CC"; then 2980 ac_cv_prog_CC="$CC" # Let the user override the test. 2981else 2982 ac_prog_rejected=no 2983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2984for as_dir in $PATH 2985do 2986 IFS=$as_save_IFS 2987 test -z "$as_dir" && as_dir=. 2988 for ac_exec_ext in '' $ac_executable_extensions; do 2989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2991 ac_prog_rejected=yes 2992 continue 2993 fi 2994 ac_cv_prog_CC="cc" 2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2996 break 2 2997 fi 2998done 2999 done 3000IFS=$as_save_IFS 3001 3002if test $ac_prog_rejected = yes; then 3003 # We found a bogon in the path, so make sure we never use it. 3004 set dummy $ac_cv_prog_CC 3005 shift 3006 if test $# != 0; then 3007 # We chose a different compiler from the bogus one. 3008 # However, it has the same basename, so the bogon will be chosen 3009 # first if we set CC to just the basename; use the full file name. 3010 shift 3011 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3012 fi 3013fi 3014fi 3015fi 3016CC=$ac_cv_prog_CC 3017if test -n "$CC"; then 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3019$as_echo "$CC" >&6; } 3020else 3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3022$as_echo "no" >&6; } 3023fi 3024 3025 3026fi 3027if test -z "$CC"; then 3028 if test -n "$ac_tool_prefix"; then 3029 for ac_prog in cl.exe 3030 do 3031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3032set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3034$as_echo_n "checking for $ac_word... " >&6; } 3035if ${ac_cv_prog_CC+:} false; then : 3036 $as_echo_n "(cached) " >&6 3037else 3038 if test -n "$CC"; then 3039 ac_cv_prog_CC="$CC" # Let the user override the test. 3040else 3041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3042for as_dir in $PATH 3043do 3044 IFS=$as_save_IFS 3045 test -z "$as_dir" && as_dir=. 3046 for ac_exec_ext in '' $ac_executable_extensions; do 3047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3048 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3050 break 2 3051 fi 3052done 3053 done 3054IFS=$as_save_IFS 3055 3056fi 3057fi 3058CC=$ac_cv_prog_CC 3059if test -n "$CC"; then 3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3061$as_echo "$CC" >&6; } 3062else 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3064$as_echo "no" >&6; } 3065fi 3066 3067 3068 test -n "$CC" && break 3069 done 3070fi 3071if test -z "$CC"; then 3072 ac_ct_CC=$CC 3073 for ac_prog in cl.exe 3074do 3075 # Extract the first word of "$ac_prog", so it can be a program name with args. 3076set dummy $ac_prog; ac_word=$2 3077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3078$as_echo_n "checking for $ac_word... " >&6; } 3079if ${ac_cv_prog_ac_ct_CC+:} false; then : 3080 $as_echo_n "(cached) " >&6 3081else 3082 if test -n "$ac_ct_CC"; then 3083 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3084else 3085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3086for as_dir in $PATH 3087do 3088 IFS=$as_save_IFS 3089 test -z "$as_dir" && as_dir=. 3090 for ac_exec_ext in '' $ac_executable_extensions; do 3091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3092 ac_cv_prog_ac_ct_CC="$ac_prog" 3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3094 break 2 3095 fi 3096done 3097 done 3098IFS=$as_save_IFS 3099 3100fi 3101fi 3102ac_ct_CC=$ac_cv_prog_ac_ct_CC 3103if test -n "$ac_ct_CC"; then 3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3105$as_echo "$ac_ct_CC" >&6; } 3106else 3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3108$as_echo "no" >&6; } 3109fi 3110 3111 3112 test -n "$ac_ct_CC" && break 3113done 3114 3115 if test "x$ac_ct_CC" = x; then 3116 CC="" 3117 else 3118 case $cross_compiling:$ac_tool_warned in 3119yes:) 3120{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3121$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3122ac_tool_warned=yes ;; 3123esac 3124 CC=$ac_ct_CC 3125 fi 3126fi 3127 3128fi 3129 3130 3131test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3132$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3133as_fn_error $? "no acceptable C compiler found in \$PATH 3134See \`config.log' for more details" "$LINENO" 5; } 3135 3136# Provide some information about the compiler. 3137$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3138set X $ac_compile 3139ac_compiler=$2 3140for ac_option in --version -v -V -qversion; do 3141 { { ac_try="$ac_compiler $ac_option >&5" 3142case "(($ac_try" in 3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3144 *) ac_try_echo=$ac_try;; 3145esac 3146eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3147$as_echo "$ac_try_echo"; } >&5 3148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3149 ac_status=$? 3150 if test -s conftest.err; then 3151 sed '10a\ 3152... rest of stderr output deleted ... 3153 10q' conftest.err >conftest.er1 3154 cat conftest.er1 >&5 3155 fi 3156 rm -f conftest.er1 conftest.err 3157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3158 test $ac_status = 0; } 3159done 3160 3161cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3162/* end confdefs.h. */ 3163 3164int 3165main () 3166{ 3167 3168 ; 3169 return 0; 3170} 3171_ACEOF 3172ac_clean_files_save=$ac_clean_files 3173ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3174# Try to create an executable without -o first, disregard a.out. 3175# It will help us diagnose broken compilers, and finding out an intuition 3176# of exeext. 3177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3178$as_echo_n "checking whether the C compiler works... " >&6; } 3179ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3180 3181# The possible output files: 3182ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3183 3184ac_rmfiles= 3185for ac_file in $ac_files 3186do 3187 case $ac_file in 3188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3189 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3190 esac 3191done 3192rm -f $ac_rmfiles 3193 3194if { { ac_try="$ac_link_default" 3195case "(($ac_try" in 3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3197 *) ac_try_echo=$ac_try;; 3198esac 3199eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3200$as_echo "$ac_try_echo"; } >&5 3201 (eval "$ac_link_default") 2>&5 3202 ac_status=$? 3203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3204 test $ac_status = 0; }; then : 3205 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3206# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3207# in a Makefile. We should not override ac_cv_exeext if it was cached, 3208# so that the user can short-circuit this test for compilers unknown to 3209# Autoconf. 3210for ac_file in $ac_files '' 3211do 3212 test -f "$ac_file" || continue 3213 case $ac_file in 3214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3215 ;; 3216 [ab].out ) 3217 # We found the default executable, but exeext='' is most 3218 # certainly right. 3219 break;; 3220 *.* ) 3221 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3222 then :; else 3223 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3224 fi 3225 # We set ac_cv_exeext here because the later test for it is not 3226 # safe: cross compilers may not add the suffix if given an `-o' 3227 # argument, so we may need to know it at that point already. 3228 # Even if this section looks crufty: it has the advantage of 3229 # actually working. 3230 break;; 3231 * ) 3232 break;; 3233 esac 3234done 3235test "$ac_cv_exeext" = no && ac_cv_exeext= 3236 3237else 3238 ac_file='' 3239fi 3240if test -z "$ac_file"; then : 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3242$as_echo "no" >&6; } 3243$as_echo "$as_me: failed program was:" >&5 3244sed 's/^/| /' conftest.$ac_ext >&5 3245 3246{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3247$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3248as_fn_error 77 "C compiler cannot create executables 3249See \`config.log' for more details" "$LINENO" 5; } 3250else 3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3252$as_echo "yes" >&6; } 3253fi 3254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3255$as_echo_n "checking for C compiler default output file name... " >&6; } 3256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3257$as_echo "$ac_file" >&6; } 3258ac_exeext=$ac_cv_exeext 3259 3260rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3261ac_clean_files=$ac_clean_files_save 3262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3263$as_echo_n "checking for suffix of executables... " >&6; } 3264if { { ac_try="$ac_link" 3265case "(($ac_try" in 3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3267 *) ac_try_echo=$ac_try;; 3268esac 3269eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3270$as_echo "$ac_try_echo"; } >&5 3271 (eval "$ac_link") 2>&5 3272 ac_status=$? 3273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3274 test $ac_status = 0; }; then : 3275 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3276# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3277# work properly (i.e., refer to `conftest.exe'), while it won't with 3278# `rm'. 3279for ac_file in conftest.exe conftest conftest.*; do 3280 test -f "$ac_file" || continue 3281 case $ac_file in 3282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3283 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3284 break;; 3285 * ) break;; 3286 esac 3287done 3288else 3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3290$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3291as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3292See \`config.log' for more details" "$LINENO" 5; } 3293fi 3294rm -f conftest conftest$ac_cv_exeext 3295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3296$as_echo "$ac_cv_exeext" >&6; } 3297 3298rm -f conftest.$ac_ext 3299EXEEXT=$ac_cv_exeext 3300ac_exeext=$EXEEXT 3301cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3302/* end confdefs.h. */ 3303#include <stdio.h> 3304int 3305main () 3306{ 3307FILE *f = fopen ("conftest.out", "w"); 3308 return ferror (f) || fclose (f) != 0; 3309 3310 ; 3311 return 0; 3312} 3313_ACEOF 3314ac_clean_files="$ac_clean_files conftest.out" 3315# Check that the compiler produces executables we can run. If not, either 3316# the compiler is broken, or we cross compile. 3317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3318$as_echo_n "checking whether we are cross compiling... " >&6; } 3319if test "$cross_compiling" != yes; then 3320 { { ac_try="$ac_link" 3321case "(($ac_try" in 3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3323 *) ac_try_echo=$ac_try;; 3324esac 3325eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3326$as_echo "$ac_try_echo"; } >&5 3327 (eval "$ac_link") 2>&5 3328 ac_status=$? 3329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3330 test $ac_status = 0; } 3331 if { ac_try='./conftest$ac_cv_exeext' 3332 { { case "(($ac_try" in 3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3334 *) ac_try_echo=$ac_try;; 3335esac 3336eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3337$as_echo "$ac_try_echo"; } >&5 3338 (eval "$ac_try") 2>&5 3339 ac_status=$? 3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3341 test $ac_status = 0; }; }; then 3342 cross_compiling=no 3343 else 3344 if test "$cross_compiling" = maybe; then 3345 cross_compiling=yes 3346 else 3347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3348$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3349as_fn_error $? "cannot run C compiled programs. 3350If you meant to cross compile, use \`--host'. 3351See \`config.log' for more details" "$LINENO" 5; } 3352 fi 3353 fi 3354fi 3355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3356$as_echo "$cross_compiling" >&6; } 3357 3358rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3359ac_clean_files=$ac_clean_files_save 3360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3361$as_echo_n "checking for suffix of object files... " >&6; } 3362if ${ac_cv_objext+:} false; then : 3363 $as_echo_n "(cached) " >&6 3364else 3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3366/* end confdefs.h. */ 3367 3368int 3369main () 3370{ 3371 3372 ; 3373 return 0; 3374} 3375_ACEOF 3376rm -f conftest.o conftest.obj 3377if { { ac_try="$ac_compile" 3378case "(($ac_try" in 3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3380 *) ac_try_echo=$ac_try;; 3381esac 3382eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3383$as_echo "$ac_try_echo"; } >&5 3384 (eval "$ac_compile") 2>&5 3385 ac_status=$? 3386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3387 test $ac_status = 0; }; then : 3388 for ac_file in conftest.o conftest.obj conftest.*; do 3389 test -f "$ac_file" || continue; 3390 case $ac_file in 3391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3392 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3393 break;; 3394 esac 3395done 3396else 3397 $as_echo "$as_me: failed program was:" >&5 3398sed 's/^/| /' conftest.$ac_ext >&5 3399 3400{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3401$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3402as_fn_error $? "cannot compute suffix of object files: cannot compile 3403See \`config.log' for more details" "$LINENO" 5; } 3404fi 3405rm -f conftest.$ac_cv_objext conftest.$ac_ext 3406fi 3407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3408$as_echo "$ac_cv_objext" >&6; } 3409OBJEXT=$ac_cv_objext 3410ac_objext=$OBJEXT 3411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3412$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3413if ${ac_cv_c_compiler_gnu+:} false; then : 3414 $as_echo_n "(cached) " >&6 3415else 3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3417/* end confdefs.h. */ 3418 3419int 3420main () 3421{ 3422#ifndef __GNUC__ 3423 choke me 3424#endif 3425 3426 ; 3427 return 0; 3428} 3429_ACEOF 3430if ac_fn_c_try_compile "$LINENO"; then : 3431 ac_compiler_gnu=yes 3432else 3433 ac_compiler_gnu=no 3434fi 3435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3436ac_cv_c_compiler_gnu=$ac_compiler_gnu 3437 3438fi 3439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3440$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3441if test $ac_compiler_gnu = yes; then 3442 GCC=yes 3443else 3444 GCC= 3445fi 3446ac_test_CFLAGS=${CFLAGS+set} 3447ac_save_CFLAGS=$CFLAGS 3448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3449$as_echo_n "checking whether $CC accepts -g... " >&6; } 3450if ${ac_cv_prog_cc_g+:} false; then : 3451 $as_echo_n "(cached) " >&6 3452else 3453 ac_save_c_werror_flag=$ac_c_werror_flag 3454 ac_c_werror_flag=yes 3455 ac_cv_prog_cc_g=no 3456 CFLAGS="-g" 3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3458/* end confdefs.h. */ 3459 3460int 3461main () 3462{ 3463 3464 ; 3465 return 0; 3466} 3467_ACEOF 3468if ac_fn_c_try_compile "$LINENO"; then : 3469 ac_cv_prog_cc_g=yes 3470else 3471 CFLAGS="" 3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3473/* end confdefs.h. */ 3474 3475int 3476main () 3477{ 3478 3479 ; 3480 return 0; 3481} 3482_ACEOF 3483if ac_fn_c_try_compile "$LINENO"; then : 3484 3485else 3486 ac_c_werror_flag=$ac_save_c_werror_flag 3487 CFLAGS="-g" 3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3489/* end confdefs.h. */ 3490 3491int 3492main () 3493{ 3494 3495 ; 3496 return 0; 3497} 3498_ACEOF 3499if ac_fn_c_try_compile "$LINENO"; then : 3500 ac_cv_prog_cc_g=yes 3501fi 3502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3503fi 3504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3505fi 3506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3507 ac_c_werror_flag=$ac_save_c_werror_flag 3508fi 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3510$as_echo "$ac_cv_prog_cc_g" >&6; } 3511if test "$ac_test_CFLAGS" = set; then 3512 CFLAGS=$ac_save_CFLAGS 3513elif test $ac_cv_prog_cc_g = yes; then 3514 if test "$GCC" = yes; then 3515 CFLAGS="-g -O2" 3516 else 3517 CFLAGS="-g" 3518 fi 3519else 3520 if test "$GCC" = yes; then 3521 CFLAGS="-O2" 3522 else 3523 CFLAGS= 3524 fi 3525fi 3526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3527$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3528if ${ac_cv_prog_cc_c89+:} false; then : 3529 $as_echo_n "(cached) " >&6 3530else 3531 ac_cv_prog_cc_c89=no 3532ac_save_CC=$CC 3533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3534/* end confdefs.h. */ 3535#include <stdarg.h> 3536#include <stdio.h> 3537struct stat; 3538/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3539struct buf { int x; }; 3540FILE * (*rcsopen) (struct buf *, struct stat *, int); 3541static char *e (p, i) 3542 char **p; 3543 int i; 3544{ 3545 return p[i]; 3546} 3547static char *f (char * (*g) (char **, int), char **p, ...) 3548{ 3549 char *s; 3550 va_list v; 3551 va_start (v,p); 3552 s = g (p, va_arg (v,int)); 3553 va_end (v); 3554 return s; 3555} 3556 3557/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3558 function prototypes and stuff, but not '\xHH' hex character constants. 3559 These don't provoke an error unfortunately, instead are silently treated 3560 as 'x'. The following induces an error, until -std is added to get 3561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3562 array size at least. It's necessary to write '\x00'==0 to get something 3563 that's true only with -std. */ 3564int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3565 3566/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3567 inside strings and character constants. */ 3568#define FOO(x) 'x' 3569int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3570 3571int test (int i, double x); 3572struct s1 {int (*f) (int a);}; 3573struct s2 {int (*f) (double a);}; 3574int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3575int argc; 3576char **argv; 3577int 3578main () 3579{ 3580return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3581 ; 3582 return 0; 3583} 3584_ACEOF 3585for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3586 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3587do 3588 CC="$ac_save_CC $ac_arg" 3589 if ac_fn_c_try_compile "$LINENO"; then : 3590 ac_cv_prog_cc_c89=$ac_arg 3591fi 3592rm -f core conftest.err conftest.$ac_objext 3593 test "x$ac_cv_prog_cc_c89" != "xno" && break 3594done 3595rm -f conftest.$ac_ext 3596CC=$ac_save_CC 3597 3598fi 3599# AC_CACHE_VAL 3600case "x$ac_cv_prog_cc_c89" in 3601 x) 3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3603$as_echo "none needed" >&6; } ;; 3604 xno) 3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3606$as_echo "unsupported" >&6; } ;; 3607 *) 3608 CC="$CC $ac_cv_prog_cc_c89" 3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3610$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3611esac 3612if test "x$ac_cv_prog_cc_c89" != xno; then : 3613 3614fi 3615 3616ac_ext=c 3617ac_cpp='$CPP $CPPFLAGS' 3618ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3619ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3620ac_compiler_gnu=$ac_cv_c_compiler_gnu 3621 3622ac_ext=c 3623ac_cpp='$CPP $CPPFLAGS' 3624ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3625ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3626ac_compiler_gnu=$ac_cv_c_compiler_gnu 3627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3628$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3629if ${am_cv_prog_cc_c_o+:} false; then : 3630 $as_echo_n "(cached) " >&6 3631else 3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3633/* end confdefs.h. */ 3634 3635int 3636main () 3637{ 3638 3639 ; 3640 return 0; 3641} 3642_ACEOF 3643 # Make sure it works both with $CC and with simple cc. 3644 # Following AC_PROG_CC_C_O, we do the test twice because some 3645 # compilers refuse to overwrite an existing .o file with -o, 3646 # though they will create one. 3647 am_cv_prog_cc_c_o=yes 3648 for am_i in 1 2; do 3649 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3650 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3651 ac_status=$? 3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3653 (exit $ac_status); } \ 3654 && test -f conftest2.$ac_objext; then 3655 : OK 3656 else 3657 am_cv_prog_cc_c_o=no 3658 break 3659 fi 3660 done 3661 rm -f core conftest* 3662 unset am_i 3663fi 3664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3665$as_echo "$am_cv_prog_cc_c_o" >&6; } 3666if test "$am_cv_prog_cc_c_o" != yes; then 3667 # Losing compiler, so override with the script. 3668 # FIXME: It is wrong to rewrite CC. 3669 # But if we don't then we get into trouble of one sort or another. 3670 # A longer-term fix would be to have automake use am__CC in this case, 3671 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3672 CC="$am_aux_dir/compile $CC" 3673fi 3674ac_ext=c 3675ac_cpp='$CPP $CPPFLAGS' 3676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3678ac_compiler_gnu=$ac_cv_c_compiler_gnu 3679 3680 3681depcc="$CC" am_compiler_list= 3682 3683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3684$as_echo_n "checking dependency style of $depcc... " >&6; } 3685if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3686 $as_echo_n "(cached) " >&6 3687else 3688 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3689 # We make a subdir and do the tests there. Otherwise we can end up 3690 # making bogus files that we don't know about and never remove. For 3691 # instance it was reported that on HP-UX the gcc test will end up 3692 # making a dummy file named 'D' -- because '-MD' means "put the output 3693 # in D". 3694 rm -rf conftest.dir 3695 mkdir conftest.dir 3696 # Copy depcomp to subdir because otherwise we won't find it if we're 3697 # using a relative directory. 3698 cp "$am_depcomp" conftest.dir 3699 cd conftest.dir 3700 # We will build objects and dependencies in a subdirectory because 3701 # it helps to detect inapplicable dependency modes. For instance 3702 # both Tru64's cc and ICC support -MD to output dependencies as a 3703 # side effect of compilation, but ICC will put the dependencies in 3704 # the current directory while Tru64 will put them in the object 3705 # directory. 3706 mkdir sub 3707 3708 am_cv_CC_dependencies_compiler_type=none 3709 if test "$am_compiler_list" = ""; then 3710 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3711 fi 3712 am__universal=false 3713 case " $depcc " in #( 3714 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3715 esac 3716 3717 for depmode in $am_compiler_list; do 3718 # Setup a source with many dependencies, because some compilers 3719 # like to wrap large dependency lists on column 80 (with \), and 3720 # we should not choose a depcomp mode which is confused by this. 3721 # 3722 # We need to recreate these files for each test, as the compiler may 3723 # overwrite some of them when testing with obscure command lines. 3724 # This happens at least with the AIX C compiler. 3725 : > sub/conftest.c 3726 for i in 1 2 3 4 5 6; do 3727 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3728 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3729 # Solaris 10 /bin/sh. 3730 echo '/* dummy */' > sub/conftst$i.h 3731 done 3732 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3733 3734 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3735 # mode. It turns out that the SunPro C++ compiler does not properly 3736 # handle '-M -o', and we need to detect this. Also, some Intel 3737 # versions had trouble with output in subdirs. 3738 am__obj=sub/conftest.${OBJEXT-o} 3739 am__minus_obj="-o $am__obj" 3740 case $depmode in 3741 gcc) 3742 # This depmode causes a compiler race in universal mode. 3743 test "$am__universal" = false || continue 3744 ;; 3745 nosideeffect) 3746 # After this tag, mechanisms are not by side-effect, so they'll 3747 # only be used when explicitly requested. 3748 if test "x$enable_dependency_tracking" = xyes; then 3749 continue 3750 else 3751 break 3752 fi 3753 ;; 3754 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3755 # This compiler won't grok '-c -o', but also, the minuso test has 3756 # not run yet. These depmodes are late enough in the game, and 3757 # so weak that their functioning should not be impacted. 3758 am__obj=conftest.${OBJEXT-o} 3759 am__minus_obj= 3760 ;; 3761 none) break ;; 3762 esac 3763 if depmode=$depmode \ 3764 source=sub/conftest.c object=$am__obj \ 3765 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3766 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3767 >/dev/null 2>conftest.err && 3768 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3769 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3770 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3771 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3772 # icc doesn't choke on unknown options, it will just issue warnings 3773 # or remarks (even with -Werror). So we grep stderr for any message 3774 # that says an option was ignored or not supported. 3775 # When given -MP, icc 7.0 and 7.1 complain thusly: 3776 # icc: Command line warning: ignoring option '-M'; no argument required 3777 # The diagnosis changed in icc 8.0: 3778 # icc: Command line remark: option '-MP' not supported 3779 if (grep 'ignoring option' conftest.err || 3780 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3781 am_cv_CC_dependencies_compiler_type=$depmode 3782 break 3783 fi 3784 fi 3785 done 3786 3787 cd .. 3788 rm -rf conftest.dir 3789else 3790 am_cv_CC_dependencies_compiler_type=none 3791fi 3792 3793fi 3794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3795$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3796CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3797 3798 if 3799 test "x$enable_dependency_tracking" != xno \ 3800 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3801 am__fastdepCC_TRUE= 3802 am__fastdepCC_FALSE='#' 3803else 3804 am__fastdepCC_TRUE='#' 3805 am__fastdepCC_FALSE= 3806fi 3807 3808 3809 case $ac_cv_prog_cc_stdc in #( 3810 no) : 3811 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( 3812 *) : 3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3814$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3815if ${ac_cv_prog_cc_c99+:} false; then : 3816 $as_echo_n "(cached) " >&6 3817else 3818 ac_cv_prog_cc_c99=no 3819ac_save_CC=$CC 3820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3821/* end confdefs.h. */ 3822#include <stdarg.h> 3823#include <stdbool.h> 3824#include <stdlib.h> 3825#include <wchar.h> 3826#include <stdio.h> 3827 3828// Check varargs macros. These examples are taken from C99 6.10.3.5. 3829#define debug(...) fprintf (stderr, __VA_ARGS__) 3830#define showlist(...) puts (#__VA_ARGS__) 3831#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3832static void 3833test_varargs_macros (void) 3834{ 3835 int x = 1234; 3836 int y = 5678; 3837 debug ("Flag"); 3838 debug ("X = %d\n", x); 3839 showlist (The first, second, and third items.); 3840 report (x>y, "x is %d but y is %d", x, y); 3841} 3842 3843// Check long long types. 3844#define BIG64 18446744073709551615ull 3845#define BIG32 4294967295ul 3846#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3847#if !BIG_OK 3848 your preprocessor is broken; 3849#endif 3850#if BIG_OK 3851#else 3852 your preprocessor is broken; 3853#endif 3854static long long int bignum = -9223372036854775807LL; 3855static unsigned long long int ubignum = BIG64; 3856 3857struct incomplete_array 3858{ 3859 int datasize; 3860 double data[]; 3861}; 3862 3863struct named_init { 3864 int number; 3865 const wchar_t *name; 3866 double average; 3867}; 3868 3869typedef const char *ccp; 3870 3871static inline int 3872test_restrict (ccp restrict text) 3873{ 3874 // See if C++-style comments work. 3875 // Iterate through items via the restricted pointer. 3876 // Also check for declarations in for loops. 3877 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3878 continue; 3879 return 0; 3880} 3881 3882// Check varargs and va_copy. 3883static void 3884test_varargs (const char *format, ...) 3885{ 3886 va_list args; 3887 va_start (args, format); 3888 va_list args_copy; 3889 va_copy (args_copy, args); 3890 3891 const char *str; 3892 int number; 3893 float fnumber; 3894 3895 while (*format) 3896 { 3897 switch (*format++) 3898 { 3899 case 's': // string 3900 str = va_arg (args_copy, const char *); 3901 break; 3902 case 'd': // int 3903 number = va_arg (args_copy, int); 3904 break; 3905 case 'f': // float 3906 fnumber = va_arg (args_copy, double); 3907 break; 3908 default: 3909 break; 3910 } 3911 } 3912 va_end (args_copy); 3913 va_end (args); 3914} 3915 3916int 3917main () 3918{ 3919 3920 // Check bool. 3921 _Bool success = false; 3922 3923 // Check restrict. 3924 if (test_restrict ("String literal") == 0) 3925 success = true; 3926 char *restrict newvar = "Another string"; 3927 3928 // Check varargs. 3929 test_varargs ("s, d' f .", "string", 65, 34.234); 3930 test_varargs_macros (); 3931 3932 // Check flexible array members. 3933 struct incomplete_array *ia = 3934 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3935 ia->datasize = 10; 3936 for (int i = 0; i < ia->datasize; ++i) 3937 ia->data[i] = i * 1.234; 3938 3939 // Check named initializers. 3940 struct named_init ni = { 3941 .number = 34, 3942 .name = L"Test wide string", 3943 .average = 543.34343, 3944 }; 3945 3946 ni.number = 58; 3947 3948 int dynamic_array[ni.number]; 3949 dynamic_array[ni.number - 1] = 543; 3950 3951 // work around unused variable warnings 3952 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3953 || dynamic_array[ni.number - 1] != 543); 3954 3955 ; 3956 return 0; 3957} 3958_ACEOF 3959for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 3960do 3961 CC="$ac_save_CC $ac_arg" 3962 if ac_fn_c_try_compile "$LINENO"; then : 3963 ac_cv_prog_cc_c99=$ac_arg 3964fi 3965rm -f core conftest.err conftest.$ac_objext 3966 test "x$ac_cv_prog_cc_c99" != "xno" && break 3967done 3968rm -f conftest.$ac_ext 3969CC=$ac_save_CC 3970 3971fi 3972# AC_CACHE_VAL 3973case "x$ac_cv_prog_cc_c99" in 3974 x) 3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3976$as_echo "none needed" >&6; } ;; 3977 xno) 3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3979$as_echo "unsupported" >&6; } ;; 3980 *) 3981 CC="$CC $ac_cv_prog_cc_c99" 3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3983$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3984esac 3985if test "x$ac_cv_prog_cc_c99" != xno; then : 3986 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 3987else 3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3989$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3990if ${ac_cv_prog_cc_c89+:} false; then : 3991 $as_echo_n "(cached) " >&6 3992else 3993 ac_cv_prog_cc_c89=no 3994ac_save_CC=$CC 3995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3996/* end confdefs.h. */ 3997#include <stdarg.h> 3998#include <stdio.h> 3999struct stat; 4000/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4001struct buf { int x; }; 4002FILE * (*rcsopen) (struct buf *, struct stat *, int); 4003static char *e (p, i) 4004 char **p; 4005 int i; 4006{ 4007 return p[i]; 4008} 4009static char *f (char * (*g) (char **, int), char **p, ...) 4010{ 4011 char *s; 4012 va_list v; 4013 va_start (v,p); 4014 s = g (p, va_arg (v,int)); 4015 va_end (v); 4016 return s; 4017} 4018 4019/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4020 function prototypes and stuff, but not '\xHH' hex character constants. 4021 These don't provoke an error unfortunately, instead are silently treated 4022 as 'x'. The following induces an error, until -std is added to get 4023 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4024 array size at least. It's necessary to write '\x00'==0 to get something 4025 that's true only with -std. */ 4026int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4027 4028/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4029 inside strings and character constants. */ 4030#define FOO(x) 'x' 4031int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4032 4033int test (int i, double x); 4034struct s1 {int (*f) (int a);}; 4035struct s2 {int (*f) (double a);}; 4036int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4037int argc; 4038char **argv; 4039int 4040main () 4041{ 4042return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4043 ; 4044 return 0; 4045} 4046_ACEOF 4047for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4048 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4049do 4050 CC="$ac_save_CC $ac_arg" 4051 if ac_fn_c_try_compile "$LINENO"; then : 4052 ac_cv_prog_cc_c89=$ac_arg 4053fi 4054rm -f core conftest.err conftest.$ac_objext 4055 test "x$ac_cv_prog_cc_c89" != "xno" && break 4056done 4057rm -f conftest.$ac_ext 4058CC=$ac_save_CC 4059 4060fi 4061# AC_CACHE_VAL 4062case "x$ac_cv_prog_cc_c89" in 4063 x) 4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4065$as_echo "none needed" >&6; } ;; 4066 xno) 4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4068$as_echo "unsupported" >&6; } ;; 4069 *) 4070 CC="$CC $ac_cv_prog_cc_c89" 4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4072$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4073esac 4074if test "x$ac_cv_prog_cc_c89" != xno; then : 4075 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4076else 4077 ac_cv_prog_cc_stdc=no 4078fi 4079 4080fi 4081 ;; 4082esac 4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 4084$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } 4085 if ${ac_cv_prog_cc_stdc+:} false; then : 4086 $as_echo_n "(cached) " >&6 4087fi 4088 4089 case $ac_cv_prog_cc_stdc in #( 4090 no) : 4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4092$as_echo "unsupported" >&6; } ;; #( 4093 '') : 4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4095$as_echo "none needed" >&6; } ;; #( 4096 *) : 4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 4098$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; 4099esac 4100 4101case `pwd` in 4102 *\ * | *\ *) 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4104$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4105esac 4106 4107 4108 4109macro_version='2.4.6' 4110macro_revision='2.4.6' 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124ltmain=$ac_aux_dir/ltmain.sh 4125 4126# Make sure we can run config.sub. 4127$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4128 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4129 4130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4131$as_echo_n "checking build system type... " >&6; } 4132if ${ac_cv_build+:} false; then : 4133 $as_echo_n "(cached) " >&6 4134else 4135 ac_build_alias=$build_alias 4136test "x$ac_build_alias" = x && 4137 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4138test "x$ac_build_alias" = x && 4139 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4140ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4141 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4142 4143fi 4144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4145$as_echo "$ac_cv_build" >&6; } 4146case $ac_cv_build in 4147*-*-*) ;; 4148*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4149esac 4150build=$ac_cv_build 4151ac_save_IFS=$IFS; IFS='-' 4152set x $ac_cv_build 4153shift 4154build_cpu=$1 4155build_vendor=$2 4156shift; shift 4157# Remember, the first character of IFS is used to create $*, 4158# except with old shells: 4159build_os=$* 4160IFS=$ac_save_IFS 4161case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4162 4163 4164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4165$as_echo_n "checking host system type... " >&6; } 4166if ${ac_cv_host+:} false; then : 4167 $as_echo_n "(cached) " >&6 4168else 4169 if test "x$host_alias" = x; then 4170 ac_cv_host=$ac_cv_build 4171else 4172 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4173 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4174fi 4175 4176fi 4177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4178$as_echo "$ac_cv_host" >&6; } 4179case $ac_cv_host in 4180*-*-*) ;; 4181*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4182esac 4183host=$ac_cv_host 4184ac_save_IFS=$IFS; IFS='-' 4185set x $ac_cv_host 4186shift 4187host_cpu=$1 4188host_vendor=$2 4189shift; shift 4190# Remember, the first character of IFS is used to create $*, 4191# except with old shells: 4192host_os=$* 4193IFS=$ac_save_IFS 4194case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4195 4196 4197# Backslashify metacharacters that are still active within 4198# double-quoted strings. 4199sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4200 4201# Same as above, but do not quote variable references. 4202double_quote_subst='s/\(["`\\]\)/\\\1/g' 4203 4204# Sed substitution to delay expansion of an escaped shell variable in a 4205# double_quote_subst'ed string. 4206delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4207 4208# Sed substitution to delay expansion of an escaped single quote. 4209delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4210 4211# Sed substitution to avoid accidental globbing in evaled expressions 4212no_glob_subst='s/\*/\\\*/g' 4213 4214ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4215ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4216ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4217 4218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4219$as_echo_n "checking how to print strings... " >&6; } 4220# Test print first, because it will be a builtin if present. 4221if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4222 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4223 ECHO='print -r --' 4224elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4225 ECHO='printf %s\n' 4226else 4227 # Use this function as a fallback that always works. 4228 func_fallback_echo () 4229 { 4230 eval 'cat <<_LTECHO_EOF 4231$1 4232_LTECHO_EOF' 4233 } 4234 ECHO='func_fallback_echo' 4235fi 4236 4237# func_echo_all arg... 4238# Invoke $ECHO with all args, space-separated. 4239func_echo_all () 4240{ 4241 $ECHO "" 4242} 4243 4244case $ECHO in 4245 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4246$as_echo "printf" >&6; } ;; 4247 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4248$as_echo "print -r" >&6; } ;; 4249 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4250$as_echo "cat" >&6; } ;; 4251esac 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4267$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4268if ${ac_cv_path_SED+:} false; then : 4269 $as_echo_n "(cached) " >&6 4270else 4271 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4272 for ac_i in 1 2 3 4 5 6 7; do 4273 ac_script="$ac_script$as_nl$ac_script" 4274 done 4275 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4276 { ac_script=; unset ac_script;} 4277 if test -z "$SED"; then 4278 ac_path_SED_found=false 4279 # Loop through the user's path and test for each of PROGNAME-LIST 4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4281for as_dir in $PATH 4282do 4283 IFS=$as_save_IFS 4284 test -z "$as_dir" && as_dir=. 4285 for ac_prog in sed gsed; do 4286 for ac_exec_ext in '' $ac_executable_extensions; do 4287 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4288 as_fn_executable_p "$ac_path_SED" || continue 4289# Check for GNU ac_path_SED and select it if it is found. 4290 # Check for GNU $ac_path_SED 4291case `"$ac_path_SED" --version 2>&1` in 4292*GNU*) 4293 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4294*) 4295 ac_count=0 4296 $as_echo_n 0123456789 >"conftest.in" 4297 while : 4298 do 4299 cat "conftest.in" "conftest.in" >"conftest.tmp" 4300 mv "conftest.tmp" "conftest.in" 4301 cp "conftest.in" "conftest.nl" 4302 $as_echo '' >> "conftest.nl" 4303 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4304 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4305 as_fn_arith $ac_count + 1 && ac_count=$as_val 4306 if test $ac_count -gt ${ac_path_SED_max-0}; then 4307 # Best one so far, save it but keep looking for a better one 4308 ac_cv_path_SED="$ac_path_SED" 4309 ac_path_SED_max=$ac_count 4310 fi 4311 # 10*(2^10) chars as input seems more than enough 4312 test $ac_count -gt 10 && break 4313 done 4314 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4315esac 4316 4317 $ac_path_SED_found && break 3 4318 done 4319 done 4320 done 4321IFS=$as_save_IFS 4322 if test -z "$ac_cv_path_SED"; then 4323 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4324 fi 4325else 4326 ac_cv_path_SED=$SED 4327fi 4328 4329fi 4330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4331$as_echo "$ac_cv_path_SED" >&6; } 4332 SED="$ac_cv_path_SED" 4333 rm -f conftest.sed 4334 4335test -z "$SED" && SED=sed 4336Xsed="$SED -e 1s/^X//" 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4349$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4350if ${ac_cv_path_GREP+:} false; then : 4351 $as_echo_n "(cached) " >&6 4352else 4353 if test -z "$GREP"; then 4354 ac_path_GREP_found=false 4355 # Loop through the user's path and test for each of PROGNAME-LIST 4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4357for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4358do 4359 IFS=$as_save_IFS 4360 test -z "$as_dir" && as_dir=. 4361 for ac_prog in grep ggrep; do 4362 for ac_exec_ext in '' $ac_executable_extensions; do 4363 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4364 as_fn_executable_p "$ac_path_GREP" || continue 4365# Check for GNU ac_path_GREP and select it if it is found. 4366 # Check for GNU $ac_path_GREP 4367case `"$ac_path_GREP" --version 2>&1` in 4368*GNU*) 4369 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4370*) 4371 ac_count=0 4372 $as_echo_n 0123456789 >"conftest.in" 4373 while : 4374 do 4375 cat "conftest.in" "conftest.in" >"conftest.tmp" 4376 mv "conftest.tmp" "conftest.in" 4377 cp "conftest.in" "conftest.nl" 4378 $as_echo 'GREP' >> "conftest.nl" 4379 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4380 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4381 as_fn_arith $ac_count + 1 && ac_count=$as_val 4382 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4383 # Best one so far, save it but keep looking for a better one 4384 ac_cv_path_GREP="$ac_path_GREP" 4385 ac_path_GREP_max=$ac_count 4386 fi 4387 # 10*(2^10) chars as input seems more than enough 4388 test $ac_count -gt 10 && break 4389 done 4390 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4391esac 4392 4393 $ac_path_GREP_found && break 3 4394 done 4395 done 4396 done 4397IFS=$as_save_IFS 4398 if test -z "$ac_cv_path_GREP"; then 4399 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4400 fi 4401else 4402 ac_cv_path_GREP=$GREP 4403fi 4404 4405fi 4406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4407$as_echo "$ac_cv_path_GREP" >&6; } 4408 GREP="$ac_cv_path_GREP" 4409 4410 4411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4412$as_echo_n "checking for egrep... " >&6; } 4413if ${ac_cv_path_EGREP+:} false; then : 4414 $as_echo_n "(cached) " >&6 4415else 4416 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4417 then ac_cv_path_EGREP="$GREP -E" 4418 else 4419 if test -z "$EGREP"; then 4420 ac_path_EGREP_found=false 4421 # Loop through the user's path and test for each of PROGNAME-LIST 4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4423for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4424do 4425 IFS=$as_save_IFS 4426 test -z "$as_dir" && as_dir=. 4427 for ac_prog in egrep; do 4428 for ac_exec_ext in '' $ac_executable_extensions; do 4429 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4430 as_fn_executable_p "$ac_path_EGREP" || continue 4431# Check for GNU ac_path_EGREP and select it if it is found. 4432 # Check for GNU $ac_path_EGREP 4433case `"$ac_path_EGREP" --version 2>&1` in 4434*GNU*) 4435 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4436*) 4437 ac_count=0 4438 $as_echo_n 0123456789 >"conftest.in" 4439 while : 4440 do 4441 cat "conftest.in" "conftest.in" >"conftest.tmp" 4442 mv "conftest.tmp" "conftest.in" 4443 cp "conftest.in" "conftest.nl" 4444 $as_echo 'EGREP' >> "conftest.nl" 4445 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4446 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4447 as_fn_arith $ac_count + 1 && ac_count=$as_val 4448 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4449 # Best one so far, save it but keep looking for a better one 4450 ac_cv_path_EGREP="$ac_path_EGREP" 4451 ac_path_EGREP_max=$ac_count 4452 fi 4453 # 10*(2^10) chars as input seems more than enough 4454 test $ac_count -gt 10 && break 4455 done 4456 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4457esac 4458 4459 $ac_path_EGREP_found && break 3 4460 done 4461 done 4462 done 4463IFS=$as_save_IFS 4464 if test -z "$ac_cv_path_EGREP"; then 4465 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4466 fi 4467else 4468 ac_cv_path_EGREP=$EGREP 4469fi 4470 4471 fi 4472fi 4473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4474$as_echo "$ac_cv_path_EGREP" >&6; } 4475 EGREP="$ac_cv_path_EGREP" 4476 4477 4478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4479$as_echo_n "checking for fgrep... " >&6; } 4480if ${ac_cv_path_FGREP+:} false; then : 4481 $as_echo_n "(cached) " >&6 4482else 4483 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4484 then ac_cv_path_FGREP="$GREP -F" 4485 else 4486 if test -z "$FGREP"; then 4487 ac_path_FGREP_found=false 4488 # Loop through the user's path and test for each of PROGNAME-LIST 4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4490for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4491do 4492 IFS=$as_save_IFS 4493 test -z "$as_dir" && as_dir=. 4494 for ac_prog in fgrep; do 4495 for ac_exec_ext in '' $ac_executable_extensions; do 4496 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4497 as_fn_executable_p "$ac_path_FGREP" || continue 4498# Check for GNU ac_path_FGREP and select it if it is found. 4499 # Check for GNU $ac_path_FGREP 4500case `"$ac_path_FGREP" --version 2>&1` in 4501*GNU*) 4502 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4503*) 4504 ac_count=0 4505 $as_echo_n 0123456789 >"conftest.in" 4506 while : 4507 do 4508 cat "conftest.in" "conftest.in" >"conftest.tmp" 4509 mv "conftest.tmp" "conftest.in" 4510 cp "conftest.in" "conftest.nl" 4511 $as_echo 'FGREP' >> "conftest.nl" 4512 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4513 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4514 as_fn_arith $ac_count + 1 && ac_count=$as_val 4515 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4516 # Best one so far, save it but keep looking for a better one 4517 ac_cv_path_FGREP="$ac_path_FGREP" 4518 ac_path_FGREP_max=$ac_count 4519 fi 4520 # 10*(2^10) chars as input seems more than enough 4521 test $ac_count -gt 10 && break 4522 done 4523 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4524esac 4525 4526 $ac_path_FGREP_found && break 3 4527 done 4528 done 4529 done 4530IFS=$as_save_IFS 4531 if test -z "$ac_cv_path_FGREP"; then 4532 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4533 fi 4534else 4535 ac_cv_path_FGREP=$FGREP 4536fi 4537 4538 fi 4539fi 4540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4541$as_echo "$ac_cv_path_FGREP" >&6; } 4542 FGREP="$ac_cv_path_FGREP" 4543 4544 4545test -z "$GREP" && GREP=grep 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565# Check whether --with-gnu-ld was given. 4566if test "${with_gnu_ld+set}" = set; then : 4567 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4568else 4569 with_gnu_ld=no 4570fi 4571 4572ac_prog=ld 4573if test yes = "$GCC"; then 4574 # Check if gcc -print-prog-name=ld gives a path. 4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4576$as_echo_n "checking for ld used by $CC... " >&6; } 4577 case $host in 4578 *-*-mingw*) 4579 # gcc leaves a trailing carriage return, which upsets mingw 4580 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4581 *) 4582 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4583 esac 4584 case $ac_prog in 4585 # Accept absolute paths. 4586 [\\/]* | ?:[\\/]*) 4587 re_direlt='/[^/][^/]*/\.\./' 4588 # Canonicalize the pathname of ld 4589 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4590 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4591 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4592 done 4593 test -z "$LD" && LD=$ac_prog 4594 ;; 4595 "") 4596 # If it fails, then pretend we aren't using GCC. 4597 ac_prog=ld 4598 ;; 4599 *) 4600 # If it is relative, then search for the first ld in PATH. 4601 with_gnu_ld=unknown 4602 ;; 4603 esac 4604elif test yes = "$with_gnu_ld"; then 4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4606$as_echo_n "checking for GNU ld... " >&6; } 4607else 4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4609$as_echo_n "checking for non-GNU ld... " >&6; } 4610fi 4611if ${lt_cv_path_LD+:} false; then : 4612 $as_echo_n "(cached) " >&6 4613else 4614 if test -z "$LD"; then 4615 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4616 for ac_dir in $PATH; do 4617 IFS=$lt_save_ifs 4618 test -z "$ac_dir" && ac_dir=. 4619 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4620 lt_cv_path_LD=$ac_dir/$ac_prog 4621 # Check to see if the program is GNU ld. I'd rather use --version, 4622 # but apparently some variants of GNU ld only accept -v. 4623 # Break only if it was the GNU/non-GNU ld that we prefer. 4624 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4625 *GNU* | *'with BFD'*) 4626 test no != "$with_gnu_ld" && break 4627 ;; 4628 *) 4629 test yes != "$with_gnu_ld" && break 4630 ;; 4631 esac 4632 fi 4633 done 4634 IFS=$lt_save_ifs 4635else 4636 lt_cv_path_LD=$LD # Let the user override the test with a path. 4637fi 4638fi 4639 4640LD=$lt_cv_path_LD 4641if test -n "$LD"; then 4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4643$as_echo "$LD" >&6; } 4644else 4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4646$as_echo "no" >&6; } 4647fi 4648test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4650$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4651if ${lt_cv_prog_gnu_ld+:} false; then : 4652 $as_echo_n "(cached) " >&6 4653else 4654 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4655case `$LD -v 2>&1 </dev/null` in 4656*GNU* | *'with BFD'*) 4657 lt_cv_prog_gnu_ld=yes 4658 ;; 4659*) 4660 lt_cv_prog_gnu_ld=no 4661 ;; 4662esac 4663fi 4664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4665$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4666with_gnu_ld=$lt_cv_prog_gnu_ld 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4677$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4678if ${lt_cv_path_NM+:} false; then : 4679 $as_echo_n "(cached) " >&6 4680else 4681 if test -n "$NM"; then 4682 # Let the user override the test. 4683 lt_cv_path_NM=$NM 4684else 4685 lt_nm_to_check=${ac_tool_prefix}nm 4686 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4687 lt_nm_to_check="$lt_nm_to_check nm" 4688 fi 4689 for lt_tmp_nm in $lt_nm_to_check; do 4690 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4691 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4692 IFS=$lt_save_ifs 4693 test -z "$ac_dir" && ac_dir=. 4694 tmp_nm=$ac_dir/$lt_tmp_nm 4695 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4696 # Check to see if the nm accepts a BSD-compat flag. 4697 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4698 # nm: unknown option "B" ignored 4699 # Tru64's nm complains that /dev/null is an invalid object file 4700 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4701 case $build_os in 4702 mingw*) lt_bad_file=conftest.nm/nofile ;; 4703 *) lt_bad_file=/dev/null ;; 4704 esac 4705 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4706 *$lt_bad_file* | *'Invalid file or object type'*) 4707 lt_cv_path_NM="$tmp_nm -B" 4708 break 2 4709 ;; 4710 *) 4711 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4712 */dev/null*) 4713 lt_cv_path_NM="$tmp_nm -p" 4714 break 2 4715 ;; 4716 *) 4717 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4718 continue # so that we can try to find one that supports BSD flags 4719 ;; 4720 esac 4721 ;; 4722 esac 4723 fi 4724 done 4725 IFS=$lt_save_ifs 4726 done 4727 : ${lt_cv_path_NM=no} 4728fi 4729fi 4730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4731$as_echo "$lt_cv_path_NM" >&6; } 4732if test no != "$lt_cv_path_NM"; then 4733 NM=$lt_cv_path_NM 4734else 4735 # Didn't find any BSD compatible name lister, look for dumpbin. 4736 if test -n "$DUMPBIN"; then : 4737 # Let the user override the test. 4738 else 4739 if test -n "$ac_tool_prefix"; then 4740 for ac_prog in dumpbin "link -dump" 4741 do 4742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4743set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4745$as_echo_n "checking for $ac_word... " >&6; } 4746if ${ac_cv_prog_DUMPBIN+:} false; then : 4747 $as_echo_n "(cached) " >&6 4748else 4749 if test -n "$DUMPBIN"; then 4750 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4751else 4752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4753for as_dir in $PATH 4754do 4755 IFS=$as_save_IFS 4756 test -z "$as_dir" && as_dir=. 4757 for ac_exec_ext in '' $ac_executable_extensions; do 4758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4759 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4761 break 2 4762 fi 4763done 4764 done 4765IFS=$as_save_IFS 4766 4767fi 4768fi 4769DUMPBIN=$ac_cv_prog_DUMPBIN 4770if test -n "$DUMPBIN"; then 4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4772$as_echo "$DUMPBIN" >&6; } 4773else 4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4775$as_echo "no" >&6; } 4776fi 4777 4778 4779 test -n "$DUMPBIN" && break 4780 done 4781fi 4782if test -z "$DUMPBIN"; then 4783 ac_ct_DUMPBIN=$DUMPBIN 4784 for ac_prog in dumpbin "link -dump" 4785do 4786 # Extract the first word of "$ac_prog", so it can be a program name with args. 4787set dummy $ac_prog; ac_word=$2 4788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4789$as_echo_n "checking for $ac_word... " >&6; } 4790if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4791 $as_echo_n "(cached) " >&6 4792else 4793 if test -n "$ac_ct_DUMPBIN"; then 4794 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4795else 4796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4797for as_dir in $PATH 4798do 4799 IFS=$as_save_IFS 4800 test -z "$as_dir" && as_dir=. 4801 for ac_exec_ext in '' $ac_executable_extensions; do 4802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4803 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4805 break 2 4806 fi 4807done 4808 done 4809IFS=$as_save_IFS 4810 4811fi 4812fi 4813ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4814if test -n "$ac_ct_DUMPBIN"; then 4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4816$as_echo "$ac_ct_DUMPBIN" >&6; } 4817else 4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4819$as_echo "no" >&6; } 4820fi 4821 4822 4823 test -n "$ac_ct_DUMPBIN" && break 4824done 4825 4826 if test "x$ac_ct_DUMPBIN" = x; then 4827 DUMPBIN=":" 4828 else 4829 case $cross_compiling:$ac_tool_warned in 4830yes:) 4831{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4832$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4833ac_tool_warned=yes ;; 4834esac 4835 DUMPBIN=$ac_ct_DUMPBIN 4836 fi 4837fi 4838 4839 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4840 *COFF*) 4841 DUMPBIN="$DUMPBIN -symbols -headers" 4842 ;; 4843 *) 4844 DUMPBIN=: 4845 ;; 4846 esac 4847 fi 4848 4849 if test : != "$DUMPBIN"; then 4850 NM=$DUMPBIN 4851 fi 4852fi 4853test -z "$NM" && NM=nm 4854 4855 4856 4857 4858 4859 4860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4861$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4862if ${lt_cv_nm_interface+:} false; then : 4863 $as_echo_n "(cached) " >&6 4864else 4865 lt_cv_nm_interface="BSD nm" 4866 echo "int some_variable = 0;" > conftest.$ac_ext 4867 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4868 (eval "$ac_compile" 2>conftest.err) 4869 cat conftest.err >&5 4870 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4871 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4872 cat conftest.err >&5 4873 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4874 cat conftest.out >&5 4875 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4876 lt_cv_nm_interface="MS dumpbin" 4877 fi 4878 rm -f conftest* 4879fi 4880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4881$as_echo "$lt_cv_nm_interface" >&6; } 4882 4883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4884$as_echo_n "checking whether ln -s works... " >&6; } 4885LN_S=$as_ln_s 4886if test "$LN_S" = "ln -s"; then 4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4888$as_echo "yes" >&6; } 4889else 4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4891$as_echo "no, using $LN_S" >&6; } 4892fi 4893 4894# find the maximum length of command line arguments 4895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4896$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4897if ${lt_cv_sys_max_cmd_len+:} false; then : 4898 $as_echo_n "(cached) " >&6 4899else 4900 i=0 4901 teststring=ABCD 4902 4903 case $build_os in 4904 msdosdjgpp*) 4905 # On DJGPP, this test can blow up pretty badly due to problems in libc 4906 # (any single argument exceeding 2000 bytes causes a buffer overrun 4907 # during glob expansion). Even if it were fixed, the result of this 4908 # check would be larger than it should be. 4909 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4910 ;; 4911 4912 gnu*) 4913 # Under GNU Hurd, this test is not required because there is 4914 # no limit to the length of command line arguments. 4915 # Libtool will interpret -1 as no limit whatsoever 4916 lt_cv_sys_max_cmd_len=-1; 4917 ;; 4918 4919 cygwin* | mingw* | cegcc*) 4920 # On Win9x/ME, this test blows up -- it succeeds, but takes 4921 # about 5 minutes as the teststring grows exponentially. 4922 # Worse, since 9x/ME are not pre-emptively multitasking, 4923 # you end up with a "frozen" computer, even though with patience 4924 # the test eventually succeeds (with a max line length of 256k). 4925 # Instead, let's just punt: use the minimum linelength reported by 4926 # all of the supported platforms: 8192 (on NT/2K/XP). 4927 lt_cv_sys_max_cmd_len=8192; 4928 ;; 4929 4930 mint*) 4931 # On MiNT this can take a long time and run out of memory. 4932 lt_cv_sys_max_cmd_len=8192; 4933 ;; 4934 4935 amigaos*) 4936 # On AmigaOS with pdksh, this test takes hours, literally. 4937 # So we just punt and use a minimum line length of 8192. 4938 lt_cv_sys_max_cmd_len=8192; 4939 ;; 4940 4941 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4942 # This has been around since 386BSD, at least. Likely further. 4943 if test -x /sbin/sysctl; then 4944 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4945 elif test -x /usr/sbin/sysctl; then 4946 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4947 else 4948 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4949 fi 4950 # And add a safety zone 4951 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4952 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4953 ;; 4954 4955 interix*) 4956 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4957 lt_cv_sys_max_cmd_len=196608 4958 ;; 4959 4960 os2*) 4961 # The test takes a long time on OS/2. 4962 lt_cv_sys_max_cmd_len=8192 4963 ;; 4964 4965 osf*) 4966 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4967 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4968 # nice to cause kernel panics so lets avoid the loop below. 4969 # First set a reasonable default. 4970 lt_cv_sys_max_cmd_len=16384 4971 # 4972 if test -x /sbin/sysconfig; then 4973 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4974 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4975 esac 4976 fi 4977 ;; 4978 sco3.2v5*) 4979 lt_cv_sys_max_cmd_len=102400 4980 ;; 4981 sysv5* | sco5v6* | sysv4.2uw2*) 4982 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4983 if test -n "$kargmax"; then 4984 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4985 else 4986 lt_cv_sys_max_cmd_len=32768 4987 fi 4988 ;; 4989 *) 4990 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4991 if test -n "$lt_cv_sys_max_cmd_len" && \ 4992 test undefined != "$lt_cv_sys_max_cmd_len"; then 4993 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4994 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4995 else 4996 # Make teststring a little bigger before we do anything with it. 4997 # a 1K string should be a reasonable start. 4998 for i in 1 2 3 4 5 6 7 8; do 4999 teststring=$teststring$teststring 5000 done 5001 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5002 # If test is not a shell built-in, we'll probably end up computing a 5003 # maximum length that is only half of the actual maximum length, but 5004 # we can't tell. 5005 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5006 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5007 test 17 != "$i" # 1/2 MB should be enough 5008 do 5009 i=`expr $i + 1` 5010 teststring=$teststring$teststring 5011 done 5012 # Only check the string length outside the loop. 5013 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5014 teststring= 5015 # Add a significant safety factor because C++ compilers can tack on 5016 # massive amounts of additional arguments before passing them to the 5017 # linker. It appears as though 1/2 is a usable value. 5018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5019 fi 5020 ;; 5021 esac 5022 5023fi 5024 5025if test -n "$lt_cv_sys_max_cmd_len"; then 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5027$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5028else 5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5030$as_echo "none" >&6; } 5031fi 5032max_cmd_len=$lt_cv_sys_max_cmd_len 5033 5034 5035 5036 5037 5038 5039: ${CP="cp -f"} 5040: ${MV="mv -f"} 5041: ${RM="rm -f"} 5042 5043if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5044 lt_unset=unset 5045else 5046 lt_unset=false 5047fi 5048 5049 5050 5051 5052 5053# test EBCDIC or ASCII 5054case `echo X|tr X '\101'` in 5055 A) # ASCII based system 5056 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5057 lt_SP2NL='tr \040 \012' 5058 lt_NL2SP='tr \015\012 \040\040' 5059 ;; 5060 *) # EBCDIC based system 5061 lt_SP2NL='tr \100 \n' 5062 lt_NL2SP='tr \r\n \100\100' 5063 ;; 5064esac 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5075$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5076if ${lt_cv_to_host_file_cmd+:} false; then : 5077 $as_echo_n "(cached) " >&6 5078else 5079 case $host in 5080 *-*-mingw* ) 5081 case $build in 5082 *-*-mingw* ) # actually msys 5083 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5084 ;; 5085 *-*-cygwin* ) 5086 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5087 ;; 5088 * ) # otherwise, assume *nix 5089 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5090 ;; 5091 esac 5092 ;; 5093 *-*-cygwin* ) 5094 case $build in 5095 *-*-mingw* ) # actually msys 5096 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5097 ;; 5098 *-*-cygwin* ) 5099 lt_cv_to_host_file_cmd=func_convert_file_noop 5100 ;; 5101 * ) # otherwise, assume *nix 5102 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5103 ;; 5104 esac 5105 ;; 5106 * ) # unhandled hosts (and "normal" native builds) 5107 lt_cv_to_host_file_cmd=func_convert_file_noop 5108 ;; 5109esac 5110 5111fi 5112 5113to_host_file_cmd=$lt_cv_to_host_file_cmd 5114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5115$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5116 5117 5118 5119 5120 5121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5122$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5123if ${lt_cv_to_tool_file_cmd+:} false; then : 5124 $as_echo_n "(cached) " >&6 5125else 5126 #assume ordinary cross tools, or native build. 5127lt_cv_to_tool_file_cmd=func_convert_file_noop 5128case $host in 5129 *-*-mingw* ) 5130 case $build in 5131 *-*-mingw* ) # actually msys 5132 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5133 ;; 5134 esac 5135 ;; 5136esac 5137 5138fi 5139 5140to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5142$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5143 5144 5145 5146 5147 5148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5149$as_echo_n "checking for $LD option to reload object files... " >&6; } 5150if ${lt_cv_ld_reload_flag+:} false; then : 5151 $as_echo_n "(cached) " >&6 5152else 5153 lt_cv_ld_reload_flag='-r' 5154fi 5155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5156$as_echo "$lt_cv_ld_reload_flag" >&6; } 5157reload_flag=$lt_cv_ld_reload_flag 5158case $reload_flag in 5159"" | " "*) ;; 5160*) reload_flag=" $reload_flag" ;; 5161esac 5162reload_cmds='$LD$reload_flag -o $output$reload_objs' 5163case $host_os in 5164 cygwin* | mingw* | pw32* | cegcc*) 5165 if test yes != "$GCC"; then 5166 reload_cmds=false 5167 fi 5168 ;; 5169 darwin*) 5170 if test yes = "$GCC"; then 5171 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5172 else 5173 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5174 fi 5175 ;; 5176esac 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186if test -n "$ac_tool_prefix"; then 5187 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5188set dummy ${ac_tool_prefix}objdump; ac_word=$2 5189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5190$as_echo_n "checking for $ac_word... " >&6; } 5191if ${ac_cv_prog_OBJDUMP+:} false; then : 5192 $as_echo_n "(cached) " >&6 5193else 5194 if test -n "$OBJDUMP"; then 5195 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5196else 5197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5198for as_dir in $PATH 5199do 5200 IFS=$as_save_IFS 5201 test -z "$as_dir" && as_dir=. 5202 for ac_exec_ext in '' $ac_executable_extensions; do 5203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5204 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5206 break 2 5207 fi 5208done 5209 done 5210IFS=$as_save_IFS 5211 5212fi 5213fi 5214OBJDUMP=$ac_cv_prog_OBJDUMP 5215if test -n "$OBJDUMP"; then 5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5217$as_echo "$OBJDUMP" >&6; } 5218else 5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5220$as_echo "no" >&6; } 5221fi 5222 5223 5224fi 5225if test -z "$ac_cv_prog_OBJDUMP"; then 5226 ac_ct_OBJDUMP=$OBJDUMP 5227 # Extract the first word of "objdump", so it can be a program name with args. 5228set dummy objdump; ac_word=$2 5229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5230$as_echo_n "checking for $ac_word... " >&6; } 5231if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5232 $as_echo_n "(cached) " >&6 5233else 5234 if test -n "$ac_ct_OBJDUMP"; then 5235 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5236else 5237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5238for as_dir in $PATH 5239do 5240 IFS=$as_save_IFS 5241 test -z "$as_dir" && as_dir=. 5242 for ac_exec_ext in '' $ac_executable_extensions; do 5243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5244 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5246 break 2 5247 fi 5248done 5249 done 5250IFS=$as_save_IFS 5251 5252fi 5253fi 5254ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5255if test -n "$ac_ct_OBJDUMP"; then 5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5257$as_echo "$ac_ct_OBJDUMP" >&6; } 5258else 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5260$as_echo "no" >&6; } 5261fi 5262 5263 if test "x$ac_ct_OBJDUMP" = x; then 5264 OBJDUMP="false" 5265 else 5266 case $cross_compiling:$ac_tool_warned in 5267yes:) 5268{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5269$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5270ac_tool_warned=yes ;; 5271esac 5272 OBJDUMP=$ac_ct_OBJDUMP 5273 fi 5274else 5275 OBJDUMP="$ac_cv_prog_OBJDUMP" 5276fi 5277 5278test -z "$OBJDUMP" && OBJDUMP=objdump 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5289$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5290if ${lt_cv_deplibs_check_method+:} false; then : 5291 $as_echo_n "(cached) " >&6 5292else 5293 lt_cv_file_magic_cmd='$MAGIC_CMD' 5294lt_cv_file_magic_test_file= 5295lt_cv_deplibs_check_method='unknown' 5296# Need to set the preceding variable on all platforms that support 5297# interlibrary dependencies. 5298# 'none' -- dependencies not supported. 5299# 'unknown' -- same as none, but documents that we really don't know. 5300# 'pass_all' -- all dependencies passed with no checks. 5301# 'test_compile' -- check by making test program. 5302# 'file_magic [[regex]]' -- check by looking for files in library path 5303# that responds to the $file_magic_cmd with a given extended regex. 5304# If you have 'file' or equivalent on your system and you're not sure 5305# whether 'pass_all' will *always* work, you probably want this one. 5306 5307case $host_os in 5308aix[4-9]*) 5309 lt_cv_deplibs_check_method=pass_all 5310 ;; 5311 5312beos*) 5313 lt_cv_deplibs_check_method=pass_all 5314 ;; 5315 5316bsdi[45]*) 5317 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5318 lt_cv_file_magic_cmd='/usr/bin/file -L' 5319 lt_cv_file_magic_test_file=/shlib/libc.so 5320 ;; 5321 5322cygwin*) 5323 # func_win32_libid is a shell function defined in ltmain.sh 5324 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5325 lt_cv_file_magic_cmd='func_win32_libid' 5326 ;; 5327 5328mingw* | pw32*) 5329 # Base MSYS/MinGW do not provide the 'file' command needed by 5330 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5331 # unless we find 'file', for example because we are cross-compiling. 5332 if ( file / ) >/dev/null 2>&1; then 5333 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5334 lt_cv_file_magic_cmd='func_win32_libid' 5335 else 5336 # Keep this pattern in sync with the one in func_win32_libid. 5337 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5338 lt_cv_file_magic_cmd='$OBJDUMP -f' 5339 fi 5340 ;; 5341 5342cegcc*) 5343 # use the weaker test based on 'objdump'. See mingw*. 5344 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5345 lt_cv_file_magic_cmd='$OBJDUMP -f' 5346 ;; 5347 5348darwin* | rhapsody*) 5349 lt_cv_deplibs_check_method=pass_all 5350 ;; 5351 5352freebsd* | dragonfly*) 5353 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5354 case $host_cpu in 5355 i*86 ) 5356 # Not sure whether the presence of OpenBSD here was a mistake. 5357 # Let's accept both of them until this is cleared up. 5358 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5359 lt_cv_file_magic_cmd=/usr/bin/file 5360 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5361 ;; 5362 esac 5363 else 5364 lt_cv_deplibs_check_method=pass_all 5365 fi 5366 ;; 5367 5368haiku*) 5369 lt_cv_deplibs_check_method=pass_all 5370 ;; 5371 5372hpux10.20* | hpux11*) 5373 lt_cv_file_magic_cmd=/usr/bin/file 5374 case $host_cpu in 5375 ia64*) 5376 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5377 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5378 ;; 5379 hppa*64*) 5380 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]' 5381 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5382 ;; 5383 *) 5384 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5385 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5386 ;; 5387 esac 5388 ;; 5389 5390interix[3-9]*) 5391 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5392 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5393 ;; 5394 5395irix5* | irix6* | nonstopux*) 5396 case $LD in 5397 *-32|*"-32 ") libmagic=32-bit;; 5398 *-n32|*"-n32 ") libmagic=N32;; 5399 *-64|*"-64 ") libmagic=64-bit;; 5400 *) libmagic=never-match;; 5401 esac 5402 lt_cv_deplibs_check_method=pass_all 5403 ;; 5404 5405# This must be glibc/ELF. 5406linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5407 lt_cv_deplibs_check_method=pass_all 5408 ;; 5409 5410netbsd* | netbsdelf*-gnu) 5411 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5412 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5413 else 5414 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5415 fi 5416 ;; 5417 5418newos6*) 5419 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5420 lt_cv_file_magic_cmd=/usr/bin/file 5421 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5422 ;; 5423 5424*nto* | *qnx*) 5425 lt_cv_deplibs_check_method=pass_all 5426 ;; 5427 5428openbsd* | bitrig*) 5429 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5431 else 5432 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5433 fi 5434 ;; 5435 5436osf3* | osf4* | osf5*) 5437 lt_cv_deplibs_check_method=pass_all 5438 ;; 5439 5440rdos*) 5441 lt_cv_deplibs_check_method=pass_all 5442 ;; 5443 5444solaris*) 5445 lt_cv_deplibs_check_method=pass_all 5446 ;; 5447 5448sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5449 lt_cv_deplibs_check_method=pass_all 5450 ;; 5451 5452sysv4 | sysv4.3*) 5453 case $host_vendor in 5454 motorola) 5455 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]' 5456 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5457 ;; 5458 ncr) 5459 lt_cv_deplibs_check_method=pass_all 5460 ;; 5461 sequent) 5462 lt_cv_file_magic_cmd='/bin/file' 5463 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5464 ;; 5465 sni) 5466 lt_cv_file_magic_cmd='/bin/file' 5467 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5468 lt_cv_file_magic_test_file=/lib/libc.so 5469 ;; 5470 siemens) 5471 lt_cv_deplibs_check_method=pass_all 5472 ;; 5473 pc) 5474 lt_cv_deplibs_check_method=pass_all 5475 ;; 5476 esac 5477 ;; 5478 5479tpf*) 5480 lt_cv_deplibs_check_method=pass_all 5481 ;; 5482os2*) 5483 lt_cv_deplibs_check_method=pass_all 5484 ;; 5485esac 5486 5487fi 5488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5489$as_echo "$lt_cv_deplibs_check_method" >&6; } 5490 5491file_magic_glob= 5492want_nocaseglob=no 5493if test "$build" = "$host"; then 5494 case $host_os in 5495 mingw* | pw32*) 5496 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5497 want_nocaseglob=yes 5498 else 5499 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5500 fi 5501 ;; 5502 esac 5503fi 5504 5505file_magic_cmd=$lt_cv_file_magic_cmd 5506deplibs_check_method=$lt_cv_deplibs_check_method 5507test -z "$deplibs_check_method" && deplibs_check_method=unknown 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530if test -n "$ac_tool_prefix"; then 5531 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5532set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5534$as_echo_n "checking for $ac_word... " >&6; } 5535if ${ac_cv_prog_DLLTOOL+:} false; then : 5536 $as_echo_n "(cached) " >&6 5537else 5538 if test -n "$DLLTOOL"; then 5539 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5540else 5541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5542for as_dir in $PATH 5543do 5544 IFS=$as_save_IFS 5545 test -z "$as_dir" && as_dir=. 5546 for ac_exec_ext in '' $ac_executable_extensions; do 5547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5548 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5550 break 2 5551 fi 5552done 5553 done 5554IFS=$as_save_IFS 5555 5556fi 5557fi 5558DLLTOOL=$ac_cv_prog_DLLTOOL 5559if test -n "$DLLTOOL"; then 5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5561$as_echo "$DLLTOOL" >&6; } 5562else 5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5564$as_echo "no" >&6; } 5565fi 5566 5567 5568fi 5569if test -z "$ac_cv_prog_DLLTOOL"; then 5570 ac_ct_DLLTOOL=$DLLTOOL 5571 # Extract the first word of "dlltool", so it can be a program name with args. 5572set dummy dlltool; ac_word=$2 5573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5574$as_echo_n "checking for $ac_word... " >&6; } 5575if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5576 $as_echo_n "(cached) " >&6 5577else 5578 if test -n "$ac_ct_DLLTOOL"; then 5579 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5580else 5581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5582for as_dir in $PATH 5583do 5584 IFS=$as_save_IFS 5585 test -z "$as_dir" && as_dir=. 5586 for ac_exec_ext in '' $ac_executable_extensions; do 5587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5588 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5590 break 2 5591 fi 5592done 5593 done 5594IFS=$as_save_IFS 5595 5596fi 5597fi 5598ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5599if test -n "$ac_ct_DLLTOOL"; then 5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5601$as_echo "$ac_ct_DLLTOOL" >&6; } 5602else 5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5604$as_echo "no" >&6; } 5605fi 5606 5607 if test "x$ac_ct_DLLTOOL" = x; then 5608 DLLTOOL="false" 5609 else 5610 case $cross_compiling:$ac_tool_warned in 5611yes:) 5612{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5613$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5614ac_tool_warned=yes ;; 5615esac 5616 DLLTOOL=$ac_ct_DLLTOOL 5617 fi 5618else 5619 DLLTOOL="$ac_cv_prog_DLLTOOL" 5620fi 5621 5622test -z "$DLLTOOL" && DLLTOOL=dlltool 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5634$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5635if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5636 $as_echo_n "(cached) " >&6 5637else 5638 lt_cv_sharedlib_from_linklib_cmd='unknown' 5639 5640case $host_os in 5641cygwin* | mingw* | pw32* | cegcc*) 5642 # two different shell functions defined in ltmain.sh; 5643 # decide which one to use based on capabilities of $DLLTOOL 5644 case `$DLLTOOL --help 2>&1` in 5645 *--identify-strict*) 5646 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5647 ;; 5648 *) 5649 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5650 ;; 5651 esac 5652 ;; 5653*) 5654 # fallback: assume linklib IS sharedlib 5655 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5656 ;; 5657esac 5658 5659fi 5660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5661$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5662sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5663test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5664 5665 5666 5667 5668 5669 5670 5671 5672if test -n "$ac_tool_prefix"; then 5673 for ac_prog in ar 5674 do 5675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5676set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5678$as_echo_n "checking for $ac_word... " >&6; } 5679if ${ac_cv_prog_AR+:} false; then : 5680 $as_echo_n "(cached) " >&6 5681else 5682 if test -n "$AR"; then 5683 ac_cv_prog_AR="$AR" # Let the user override the test. 5684else 5685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5686for as_dir in $PATH 5687do 5688 IFS=$as_save_IFS 5689 test -z "$as_dir" && as_dir=. 5690 for ac_exec_ext in '' $ac_executable_extensions; do 5691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5692 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5694 break 2 5695 fi 5696done 5697 done 5698IFS=$as_save_IFS 5699 5700fi 5701fi 5702AR=$ac_cv_prog_AR 5703if test -n "$AR"; then 5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5705$as_echo "$AR" >&6; } 5706else 5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5708$as_echo "no" >&6; } 5709fi 5710 5711 5712 test -n "$AR" && break 5713 done 5714fi 5715if test -z "$AR"; then 5716 ac_ct_AR=$AR 5717 for ac_prog in ar 5718do 5719 # Extract the first word of "$ac_prog", so it can be a program name with args. 5720set dummy $ac_prog; ac_word=$2 5721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5722$as_echo_n "checking for $ac_word... " >&6; } 5723if ${ac_cv_prog_ac_ct_AR+:} false; then : 5724 $as_echo_n "(cached) " >&6 5725else 5726 if test -n "$ac_ct_AR"; then 5727 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5728else 5729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5730for as_dir in $PATH 5731do 5732 IFS=$as_save_IFS 5733 test -z "$as_dir" && as_dir=. 5734 for ac_exec_ext in '' $ac_executable_extensions; do 5735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5736 ac_cv_prog_ac_ct_AR="$ac_prog" 5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5738 break 2 5739 fi 5740done 5741 done 5742IFS=$as_save_IFS 5743 5744fi 5745fi 5746ac_ct_AR=$ac_cv_prog_ac_ct_AR 5747if test -n "$ac_ct_AR"; then 5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5749$as_echo "$ac_ct_AR" >&6; } 5750else 5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5752$as_echo "no" >&6; } 5753fi 5754 5755 5756 test -n "$ac_ct_AR" && break 5757done 5758 5759 if test "x$ac_ct_AR" = x; then 5760 AR="false" 5761 else 5762 case $cross_compiling:$ac_tool_warned in 5763yes:) 5764{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5765$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5766ac_tool_warned=yes ;; 5767esac 5768 AR=$ac_ct_AR 5769 fi 5770fi 5771 5772: ${AR=ar} 5773: ${AR_FLAGS=cru} 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5786$as_echo_n "checking for archiver @FILE support... " >&6; } 5787if ${lt_cv_ar_at_file+:} false; then : 5788 $as_echo_n "(cached) " >&6 5789else 5790 lt_cv_ar_at_file=no 5791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5792/* end confdefs.h. */ 5793 5794int 5795main () 5796{ 5797 5798 ; 5799 return 0; 5800} 5801_ACEOF 5802if ac_fn_c_try_compile "$LINENO"; then : 5803 echo conftest.$ac_objext > conftest.lst 5804 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5805 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5806 (eval $lt_ar_try) 2>&5 5807 ac_status=$? 5808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5809 test $ac_status = 0; } 5810 if test 0 -eq "$ac_status"; then 5811 # Ensure the archiver fails upon bogus file names. 5812 rm -f conftest.$ac_objext libconftest.a 5813 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5814 (eval $lt_ar_try) 2>&5 5815 ac_status=$? 5816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5817 test $ac_status = 0; } 5818 if test 0 -ne "$ac_status"; then 5819 lt_cv_ar_at_file=@ 5820 fi 5821 fi 5822 rm -f conftest.* libconftest.a 5823 5824fi 5825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5826 5827fi 5828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5829$as_echo "$lt_cv_ar_at_file" >&6; } 5830 5831if test no = "$lt_cv_ar_at_file"; then 5832 archiver_list_spec= 5833else 5834 archiver_list_spec=$lt_cv_ar_at_file 5835fi 5836 5837 5838 5839 5840 5841 5842 5843if test -n "$ac_tool_prefix"; then 5844 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5845set dummy ${ac_tool_prefix}strip; ac_word=$2 5846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5847$as_echo_n "checking for $ac_word... " >&6; } 5848if ${ac_cv_prog_STRIP+:} false; then : 5849 $as_echo_n "(cached) " >&6 5850else 5851 if test -n "$STRIP"; then 5852 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5853else 5854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5855for as_dir in $PATH 5856do 5857 IFS=$as_save_IFS 5858 test -z "$as_dir" && as_dir=. 5859 for ac_exec_ext in '' $ac_executable_extensions; do 5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5861 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5863 break 2 5864 fi 5865done 5866 done 5867IFS=$as_save_IFS 5868 5869fi 5870fi 5871STRIP=$ac_cv_prog_STRIP 5872if test -n "$STRIP"; then 5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5874$as_echo "$STRIP" >&6; } 5875else 5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5877$as_echo "no" >&6; } 5878fi 5879 5880 5881fi 5882if test -z "$ac_cv_prog_STRIP"; then 5883 ac_ct_STRIP=$STRIP 5884 # Extract the first word of "strip", so it can be a program name with args. 5885set dummy strip; ac_word=$2 5886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5887$as_echo_n "checking for $ac_word... " >&6; } 5888if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5889 $as_echo_n "(cached) " >&6 5890else 5891 if test -n "$ac_ct_STRIP"; then 5892 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5893else 5894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5895for as_dir in $PATH 5896do 5897 IFS=$as_save_IFS 5898 test -z "$as_dir" && as_dir=. 5899 for ac_exec_ext in '' $ac_executable_extensions; do 5900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5901 ac_cv_prog_ac_ct_STRIP="strip" 5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5903 break 2 5904 fi 5905done 5906 done 5907IFS=$as_save_IFS 5908 5909fi 5910fi 5911ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5912if test -n "$ac_ct_STRIP"; then 5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5914$as_echo "$ac_ct_STRIP" >&6; } 5915else 5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5917$as_echo "no" >&6; } 5918fi 5919 5920 if test "x$ac_ct_STRIP" = x; then 5921 STRIP=":" 5922 else 5923 case $cross_compiling:$ac_tool_warned in 5924yes:) 5925{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5926$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5927ac_tool_warned=yes ;; 5928esac 5929 STRIP=$ac_ct_STRIP 5930 fi 5931else 5932 STRIP="$ac_cv_prog_STRIP" 5933fi 5934 5935test -z "$STRIP" && STRIP=: 5936 5937 5938 5939 5940 5941 5942if test -n "$ac_tool_prefix"; then 5943 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5944set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5946$as_echo_n "checking for $ac_word... " >&6; } 5947if ${ac_cv_prog_RANLIB+:} false; then : 5948 $as_echo_n "(cached) " >&6 5949else 5950 if test -n "$RANLIB"; then 5951 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5952else 5953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5954for as_dir in $PATH 5955do 5956 IFS=$as_save_IFS 5957 test -z "$as_dir" && as_dir=. 5958 for ac_exec_ext in '' $ac_executable_extensions; do 5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5960 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5962 break 2 5963 fi 5964done 5965 done 5966IFS=$as_save_IFS 5967 5968fi 5969fi 5970RANLIB=$ac_cv_prog_RANLIB 5971if test -n "$RANLIB"; then 5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5973$as_echo "$RANLIB" >&6; } 5974else 5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5976$as_echo "no" >&6; } 5977fi 5978 5979 5980fi 5981if test -z "$ac_cv_prog_RANLIB"; then 5982 ac_ct_RANLIB=$RANLIB 5983 # Extract the first word of "ranlib", so it can be a program name with args. 5984set dummy ranlib; ac_word=$2 5985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5986$as_echo_n "checking for $ac_word... " >&6; } 5987if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5988 $as_echo_n "(cached) " >&6 5989else 5990 if test -n "$ac_ct_RANLIB"; then 5991 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5992else 5993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5994for as_dir in $PATH 5995do 5996 IFS=$as_save_IFS 5997 test -z "$as_dir" && as_dir=. 5998 for ac_exec_ext in '' $ac_executable_extensions; do 5999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6000 ac_cv_prog_ac_ct_RANLIB="ranlib" 6001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6002 break 2 6003 fi 6004done 6005 done 6006IFS=$as_save_IFS 6007 6008fi 6009fi 6010ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6011if test -n "$ac_ct_RANLIB"; then 6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6013$as_echo "$ac_ct_RANLIB" >&6; } 6014else 6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6016$as_echo "no" >&6; } 6017fi 6018 6019 if test "x$ac_ct_RANLIB" = x; then 6020 RANLIB=":" 6021 else 6022 case $cross_compiling:$ac_tool_warned in 6023yes:) 6024{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6025$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6026ac_tool_warned=yes ;; 6027esac 6028 RANLIB=$ac_ct_RANLIB 6029 fi 6030else 6031 RANLIB="$ac_cv_prog_RANLIB" 6032fi 6033 6034test -z "$RANLIB" && RANLIB=: 6035 6036 6037 6038 6039 6040 6041# Determine commands to create old-style static archives. 6042old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6043old_postinstall_cmds='chmod 644 $oldlib' 6044old_postuninstall_cmds= 6045 6046if test -n "$RANLIB"; then 6047 case $host_os in 6048 bitrig* | openbsd*) 6049 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6050 ;; 6051 *) 6052 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6053 ;; 6054 esac 6055 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6056fi 6057 6058case $host_os in 6059 darwin*) 6060 lock_old_archive_extraction=yes ;; 6061 *) 6062 lock_old_archive_extraction=no ;; 6063esac 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103# If no C compiler was specified, use CC. 6104LTCC=${LTCC-"$CC"} 6105 6106# If no C compiler flags were specified, use CFLAGS. 6107LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6108 6109# Allow CC to be a program name with arguments. 6110compiler=$CC 6111 6112 6113# Check for command to grab the raw symbol name followed by C symbol from nm. 6114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6115$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6116if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6117 $as_echo_n "(cached) " >&6 6118else 6119 6120# These are sane defaults that work on at least a few old systems. 6121# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6122 6123# Character class describing NM global symbol codes. 6124symcode='[BCDEGRST]' 6125 6126# Regexp to match symbols that can be accessed directly from C. 6127sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6128 6129# Define system-specific variables. 6130case $host_os in 6131aix*) 6132 symcode='[BCDT]' 6133 ;; 6134cygwin* | mingw* | pw32* | cegcc*) 6135 symcode='[ABCDGISTW]' 6136 ;; 6137hpux*) 6138 if test ia64 = "$host_cpu"; then 6139 symcode='[ABCDEGRST]' 6140 fi 6141 ;; 6142irix* | nonstopux*) 6143 symcode='[BCDEGRST]' 6144 ;; 6145osf*) 6146 symcode='[BCDEGQRST]' 6147 ;; 6148solaris*) 6149 symcode='[BDRT]' 6150 ;; 6151sco3.2v5*) 6152 symcode='[DT]' 6153 ;; 6154sysv4.2uw2*) 6155 symcode='[DT]' 6156 ;; 6157sysv5* | sco5v6* | unixware* | OpenUNIX*) 6158 symcode='[ABDT]' 6159 ;; 6160sysv4) 6161 symcode='[DFNSTU]' 6162 ;; 6163esac 6164 6165# If we're using GNU nm, then use its standard symbol codes. 6166case `$NM -V 2>&1` in 6167*GNU* | *'with BFD'*) 6168 symcode='[ABCDGIRSTW]' ;; 6169esac 6170 6171if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6172 # Gets list of data symbols to import. 6173 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6174 # Adjust the below global symbol transforms to fixup imported variables. 6175 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6176 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6177 lt_c_name_lib_hook="\ 6178 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6179 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6180else 6181 # Disable hooks by default. 6182 lt_cv_sys_global_symbol_to_import= 6183 lt_cdecl_hook= 6184 lt_c_name_hook= 6185 lt_c_name_lib_hook= 6186fi 6187 6188# Transform an extracted symbol line into a proper C declaration. 6189# Some systems (esp. on ia64) link data and code symbols differently, 6190# so use this general approach. 6191lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6192$lt_cdecl_hook\ 6193" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6194" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6195 6196# Transform an extracted symbol line into symbol name and symbol address 6197lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6198$lt_c_name_hook\ 6199" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6200" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6201 6202# Transform an extracted symbol line into symbol name with lib prefix and 6203# symbol address. 6204lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6205$lt_c_name_lib_hook\ 6206" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6207" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6208" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6209 6210# Handle CRLF in mingw tool chain 6211opt_cr= 6212case $build_os in 6213mingw*) 6214 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6215 ;; 6216esac 6217 6218# Try without a prefix underscore, then with it. 6219for ac_symprfx in "" "_"; do 6220 6221 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6222 symxfrm="\\1 $ac_symprfx\\2 \\2" 6223 6224 # Write the raw and C identifiers. 6225 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6226 # Fake it for dumpbin and say T for any non-static function, 6227 # D for any global variable and I for any imported variable. 6228 # Also find C++ and __fastcall symbols from MSVC++, 6229 # which start with @ or ?. 6230 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6231" {last_section=section; section=\$ 3};"\ 6232" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6233" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6234" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6235" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6236" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6237" \$ 0!~/External *\|/{next};"\ 6238" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6239" {if(hide[section]) next};"\ 6240" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6241" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6242" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6243" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6244" ' prfx=^$ac_symprfx" 6245 else 6246 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6247 fi 6248 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6249 6250 # Check to see that the pipe works correctly. 6251 pipe_works=no 6252 6253 rm -f conftest* 6254 cat > conftest.$ac_ext <<_LT_EOF 6255#ifdef __cplusplus 6256extern "C" { 6257#endif 6258char nm_test_var; 6259void nm_test_func(void); 6260void nm_test_func(void){} 6261#ifdef __cplusplus 6262} 6263#endif 6264int main(){nm_test_var='a';nm_test_func();return(0);} 6265_LT_EOF 6266 6267 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6268 (eval $ac_compile) 2>&5 6269 ac_status=$? 6270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6271 test $ac_status = 0; }; then 6272 # Now try to grab the symbols. 6273 nlist=conftest.nm 6274 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 6275 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 6276 # Try sorting and uniquifying the output. 6277 if sort "$nlist" | uniq > "$nlist"T; then 6278 mv -f "$nlist"T "$nlist" 6279 else 6280 rm -f "$nlist"T 6281 fi 6282 6283 # Make sure that we snagged all the symbols we need. 6284 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6285 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6286 cat <<_LT_EOF > conftest.$ac_ext 6287/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6288#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6289/* DATA imports from DLLs on WIN32 can't be const, because runtime 6290 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6291# define LT_DLSYM_CONST 6292#elif defined __osf__ 6293/* This system does not cope well with relocations in const data. */ 6294# define LT_DLSYM_CONST 6295#else 6296# define LT_DLSYM_CONST const 6297#endif 6298 6299#ifdef __cplusplus 6300extern "C" { 6301#endif 6302 6303_LT_EOF 6304 # Now generate the symbol file. 6305 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6306 6307 cat <<_LT_EOF >> conftest.$ac_ext 6308 6309/* The mapping between symbol names and symbols. */ 6310LT_DLSYM_CONST struct { 6311 const char *name; 6312 void *address; 6313} 6314lt__PROGRAM__LTX_preloaded_symbols[] = 6315{ 6316 { "@PROGRAM@", (void *) 0 }, 6317_LT_EOF 6318 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6319 cat <<\_LT_EOF >> conftest.$ac_ext 6320 {0, (void *) 0} 6321}; 6322 6323/* This works around a problem in FreeBSD linker */ 6324#ifdef FREEBSD_WORKAROUND 6325static const void *lt_preloaded_setup() { 6326 return lt__PROGRAM__LTX_preloaded_symbols; 6327} 6328#endif 6329 6330#ifdef __cplusplus 6331} 6332#endif 6333_LT_EOF 6334 # Now try linking the two files. 6335 mv conftest.$ac_objext conftstm.$ac_objext 6336 lt_globsym_save_LIBS=$LIBS 6337 lt_globsym_save_CFLAGS=$CFLAGS 6338 LIBS=conftstm.$ac_objext 6339 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6340 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6341 (eval $ac_link) 2>&5 6342 ac_status=$? 6343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6344 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6345 pipe_works=yes 6346 fi 6347 LIBS=$lt_globsym_save_LIBS 6348 CFLAGS=$lt_globsym_save_CFLAGS 6349 else 6350 echo "cannot find nm_test_func in $nlist" >&5 6351 fi 6352 else 6353 echo "cannot find nm_test_var in $nlist" >&5 6354 fi 6355 else 6356 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6357 fi 6358 else 6359 echo "$progname: failed program was:" >&5 6360 cat conftest.$ac_ext >&5 6361 fi 6362 rm -rf conftest* conftst* 6363 6364 # Do not use the global_symbol_pipe unless it works. 6365 if test yes = "$pipe_works"; then 6366 break 6367 else 6368 lt_cv_sys_global_symbol_pipe= 6369 fi 6370done 6371 6372fi 6373 6374if test -z "$lt_cv_sys_global_symbol_pipe"; then 6375 lt_cv_sys_global_symbol_to_cdecl= 6376fi 6377if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6379$as_echo "failed" >&6; } 6380else 6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6382$as_echo "ok" >&6; } 6383fi 6384 6385# Response file support. 6386if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6387 nm_file_list_spec='@' 6388elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6389 nm_file_list_spec='@' 6390fi 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6429$as_echo_n "checking for sysroot... " >&6; } 6430 6431# Check whether --with-sysroot was given. 6432if test "${with_sysroot+set}" = set; then : 6433 withval=$with_sysroot; 6434else 6435 with_sysroot=no 6436fi 6437 6438 6439lt_sysroot= 6440case $with_sysroot in #( 6441 yes) 6442 if test yes = "$GCC"; then 6443 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6444 fi 6445 ;; #( 6446 /*) 6447 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6448 ;; #( 6449 no|'') 6450 ;; #( 6451 *) 6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6453$as_echo "$with_sysroot" >&6; } 6454 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6455 ;; 6456esac 6457 6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6459$as_echo "${lt_sysroot:-no}" >&6; } 6460 6461 6462 6463 6464 6465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6466$as_echo_n "checking for a working dd... " >&6; } 6467if ${ac_cv_path_lt_DD+:} false; then : 6468 $as_echo_n "(cached) " >&6 6469else 6470 printf 0123456789abcdef0123456789abcdef >conftest.i 6471cat conftest.i conftest.i >conftest2.i 6472: ${lt_DD:=$DD} 6473if test -z "$lt_DD"; then 6474 ac_path_lt_DD_found=false 6475 # Loop through the user's path and test for each of PROGNAME-LIST 6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6477for as_dir in $PATH 6478do 6479 IFS=$as_save_IFS 6480 test -z "$as_dir" && as_dir=. 6481 for ac_prog in dd; do 6482 for ac_exec_ext in '' $ac_executable_extensions; do 6483 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6484 as_fn_executable_p "$ac_path_lt_DD" || continue 6485if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6486 cmp -s conftest.i conftest.out \ 6487 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6488fi 6489 $ac_path_lt_DD_found && break 3 6490 done 6491 done 6492 done 6493IFS=$as_save_IFS 6494 if test -z "$ac_cv_path_lt_DD"; then 6495 : 6496 fi 6497else 6498 ac_cv_path_lt_DD=$lt_DD 6499fi 6500 6501rm -f conftest.i conftest2.i conftest.out 6502fi 6503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6504$as_echo "$ac_cv_path_lt_DD" >&6; } 6505 6506 6507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6508$as_echo_n "checking how to truncate binary pipes... " >&6; } 6509if ${lt_cv_truncate_bin+:} false; then : 6510 $as_echo_n "(cached) " >&6 6511else 6512 printf 0123456789abcdef0123456789abcdef >conftest.i 6513cat conftest.i conftest.i >conftest2.i 6514lt_cv_truncate_bin= 6515if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6516 cmp -s conftest.i conftest.out \ 6517 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6518fi 6519rm -f conftest.i conftest2.i conftest.out 6520test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6521fi 6522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6523$as_echo "$lt_cv_truncate_bin" >&6; } 6524 6525 6526 6527 6528 6529 6530 6531# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6532func_cc_basename () 6533{ 6534 for cc_temp in $*""; do 6535 case $cc_temp in 6536 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6537 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6538 \-*) ;; 6539 *) break;; 6540 esac 6541 done 6542 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6543} 6544 6545# Check whether --enable-libtool-lock was given. 6546if test "${enable_libtool_lock+set}" = set; then : 6547 enableval=$enable_libtool_lock; 6548fi 6549 6550test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6551 6552# Some flags need to be propagated to the compiler or linker for good 6553# libtool support. 6554case $host in 6555ia64-*-hpux*) 6556 # Find out what ABI is being produced by ac_compile, and set mode 6557 # options accordingly. 6558 echo 'int i;' > conftest.$ac_ext 6559 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6560 (eval $ac_compile) 2>&5 6561 ac_status=$? 6562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6563 test $ac_status = 0; }; then 6564 case `/usr/bin/file conftest.$ac_objext` in 6565 *ELF-32*) 6566 HPUX_IA64_MODE=32 6567 ;; 6568 *ELF-64*) 6569 HPUX_IA64_MODE=64 6570 ;; 6571 esac 6572 fi 6573 rm -rf conftest* 6574 ;; 6575*-*-irix6*) 6576 # Find out what ABI is being produced by ac_compile, and set linker 6577 # options accordingly. 6578 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6580 (eval $ac_compile) 2>&5 6581 ac_status=$? 6582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6583 test $ac_status = 0; }; then 6584 if test yes = "$lt_cv_prog_gnu_ld"; then 6585 case `/usr/bin/file conftest.$ac_objext` in 6586 *32-bit*) 6587 LD="${LD-ld} -melf32bsmip" 6588 ;; 6589 *N32*) 6590 LD="${LD-ld} -melf32bmipn32" 6591 ;; 6592 *64-bit*) 6593 LD="${LD-ld} -melf64bmip" 6594 ;; 6595 esac 6596 else 6597 case `/usr/bin/file conftest.$ac_objext` in 6598 *32-bit*) 6599 LD="${LD-ld} -32" 6600 ;; 6601 *N32*) 6602 LD="${LD-ld} -n32" 6603 ;; 6604 *64-bit*) 6605 LD="${LD-ld} -64" 6606 ;; 6607 esac 6608 fi 6609 fi 6610 rm -rf conftest* 6611 ;; 6612 6613mips64*-*linux*) 6614 # Find out what ABI is being produced by ac_compile, and set linker 6615 # options accordingly. 6616 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6618 (eval $ac_compile) 2>&5 6619 ac_status=$? 6620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6621 test $ac_status = 0; }; then 6622 emul=elf 6623 case `/usr/bin/file conftest.$ac_objext` in 6624 *32-bit*) 6625 emul="${emul}32" 6626 ;; 6627 *64-bit*) 6628 emul="${emul}64" 6629 ;; 6630 esac 6631 case `/usr/bin/file conftest.$ac_objext` in 6632 *MSB*) 6633 emul="${emul}btsmip" 6634 ;; 6635 *LSB*) 6636 emul="${emul}ltsmip" 6637 ;; 6638 esac 6639 case `/usr/bin/file conftest.$ac_objext` in 6640 *N32*) 6641 emul="${emul}n32" 6642 ;; 6643 esac 6644 LD="${LD-ld} -m $emul" 6645 fi 6646 rm -rf conftest* 6647 ;; 6648 6649x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6650s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6651 # Find out what ABI is being produced by ac_compile, and set linker 6652 # options accordingly. Note that the listed cases only cover the 6653 # situations where additional linker options are needed (such as when 6654 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6655 # vice versa); the common cases where no linker options are needed do 6656 # not appear in the list. 6657 echo 'int i;' > conftest.$ac_ext 6658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6659 (eval $ac_compile) 2>&5 6660 ac_status=$? 6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6662 test $ac_status = 0; }; then 6663 case `/usr/bin/file conftest.o` in 6664 *32-bit*) 6665 case $host in 6666 x86_64-*kfreebsd*-gnu) 6667 LD="${LD-ld} -m elf_i386_fbsd" 6668 ;; 6669 x86_64-*linux*) 6670 case `/usr/bin/file conftest.o` in 6671 *x86-64*) 6672 LD="${LD-ld} -m elf32_x86_64" 6673 ;; 6674 *) 6675 LD="${LD-ld} -m elf_i386" 6676 ;; 6677 esac 6678 ;; 6679 powerpc64le-*linux*) 6680 LD="${LD-ld} -m elf32lppclinux" 6681 ;; 6682 powerpc64-*linux*) 6683 LD="${LD-ld} -m elf32ppclinux" 6684 ;; 6685 s390x-*linux*) 6686 LD="${LD-ld} -m elf_s390" 6687 ;; 6688 sparc64-*linux*) 6689 LD="${LD-ld} -m elf32_sparc" 6690 ;; 6691 esac 6692 ;; 6693 *64-bit*) 6694 case $host in 6695 x86_64-*kfreebsd*-gnu) 6696 LD="${LD-ld} -m elf_x86_64_fbsd" 6697 ;; 6698 x86_64-*linux*) 6699 LD="${LD-ld} -m elf_x86_64" 6700 ;; 6701 powerpcle-*linux*) 6702 LD="${LD-ld} -m elf64lppc" 6703 ;; 6704 powerpc-*linux*) 6705 LD="${LD-ld} -m elf64ppc" 6706 ;; 6707 s390*-*linux*|s390*-*tpf*) 6708 LD="${LD-ld} -m elf64_s390" 6709 ;; 6710 sparc*-*linux*) 6711 LD="${LD-ld} -m elf64_sparc" 6712 ;; 6713 esac 6714 ;; 6715 esac 6716 fi 6717 rm -rf conftest* 6718 ;; 6719 6720*-*-sco3.2v5*) 6721 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6722 SAVE_CFLAGS=$CFLAGS 6723 CFLAGS="$CFLAGS -belf" 6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6725$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6726if ${lt_cv_cc_needs_belf+:} false; then : 6727 $as_echo_n "(cached) " >&6 6728else 6729 ac_ext=c 6730ac_cpp='$CPP $CPPFLAGS' 6731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6733ac_compiler_gnu=$ac_cv_c_compiler_gnu 6734 6735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6736/* end confdefs.h. */ 6737 6738int 6739main () 6740{ 6741 6742 ; 6743 return 0; 6744} 6745_ACEOF 6746if ac_fn_c_try_link "$LINENO"; then : 6747 lt_cv_cc_needs_belf=yes 6748else 6749 lt_cv_cc_needs_belf=no 6750fi 6751rm -f core conftest.err conftest.$ac_objext \ 6752 conftest$ac_exeext conftest.$ac_ext 6753 ac_ext=c 6754ac_cpp='$CPP $CPPFLAGS' 6755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6757ac_compiler_gnu=$ac_cv_c_compiler_gnu 6758 6759fi 6760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6761$as_echo "$lt_cv_cc_needs_belf" >&6; } 6762 if test yes != "$lt_cv_cc_needs_belf"; then 6763 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6764 CFLAGS=$SAVE_CFLAGS 6765 fi 6766 ;; 6767*-*solaris*) 6768 # Find out what ABI is being produced by ac_compile, and set linker 6769 # options accordingly. 6770 echo 'int i;' > conftest.$ac_ext 6771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6772 (eval $ac_compile) 2>&5 6773 ac_status=$? 6774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6775 test $ac_status = 0; }; then 6776 case `/usr/bin/file conftest.o` in 6777 *64-bit*) 6778 case $lt_cv_prog_gnu_ld in 6779 yes*) 6780 case $host in 6781 i?86-*-solaris*|x86_64-*-solaris*) 6782 LD="${LD-ld} -m elf_x86_64" 6783 ;; 6784 sparc*-*-solaris*) 6785 LD="${LD-ld} -m elf64_sparc" 6786 ;; 6787 esac 6788 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6789 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6790 LD=${LD-ld}_sol2 6791 fi 6792 ;; 6793 *) 6794 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6795 LD="${LD-ld} -64" 6796 fi 6797 ;; 6798 esac 6799 ;; 6800 esac 6801 fi 6802 rm -rf conftest* 6803 ;; 6804esac 6805 6806need_locks=$enable_libtool_lock 6807 6808if test -n "$ac_tool_prefix"; then 6809 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6810set dummy ${ac_tool_prefix}mt; ac_word=$2 6811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6812$as_echo_n "checking for $ac_word... " >&6; } 6813if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6814 $as_echo_n "(cached) " >&6 6815else 6816 if test -n "$MANIFEST_TOOL"; then 6817 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6818else 6819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6820for as_dir in $PATH 6821do 6822 IFS=$as_save_IFS 6823 test -z "$as_dir" && as_dir=. 6824 for ac_exec_ext in '' $ac_executable_extensions; do 6825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6826 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6828 break 2 6829 fi 6830done 6831 done 6832IFS=$as_save_IFS 6833 6834fi 6835fi 6836MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6837if test -n "$MANIFEST_TOOL"; then 6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6839$as_echo "$MANIFEST_TOOL" >&6; } 6840else 6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6842$as_echo "no" >&6; } 6843fi 6844 6845 6846fi 6847if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6848 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6849 # Extract the first word of "mt", so it can be a program name with args. 6850set dummy mt; ac_word=$2 6851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6852$as_echo_n "checking for $ac_word... " >&6; } 6853if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6854 $as_echo_n "(cached) " >&6 6855else 6856 if test -n "$ac_ct_MANIFEST_TOOL"; then 6857 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6858else 6859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6860for as_dir in $PATH 6861do 6862 IFS=$as_save_IFS 6863 test -z "$as_dir" && as_dir=. 6864 for ac_exec_ext in '' $ac_executable_extensions; do 6865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6866 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6868 break 2 6869 fi 6870done 6871 done 6872IFS=$as_save_IFS 6873 6874fi 6875fi 6876ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6877if test -n "$ac_ct_MANIFEST_TOOL"; then 6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6879$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6880else 6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6882$as_echo "no" >&6; } 6883fi 6884 6885 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6886 MANIFEST_TOOL=":" 6887 else 6888 case $cross_compiling:$ac_tool_warned in 6889yes:) 6890{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6891$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6892ac_tool_warned=yes ;; 6893esac 6894 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6895 fi 6896else 6897 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6898fi 6899 6900test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6902$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6903if ${lt_cv_path_mainfest_tool+:} false; then : 6904 $as_echo_n "(cached) " >&6 6905else 6906 lt_cv_path_mainfest_tool=no 6907 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6908 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6909 cat conftest.err >&5 6910 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6911 lt_cv_path_mainfest_tool=yes 6912 fi 6913 rm -f conftest* 6914fi 6915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6916$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6917if test yes != "$lt_cv_path_mainfest_tool"; then 6918 MANIFEST_TOOL=: 6919fi 6920 6921 6922 6923 6924 6925 6926 case $host_os in 6927 rhapsody* | darwin*) 6928 if test -n "$ac_tool_prefix"; then 6929 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6930set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6932$as_echo_n "checking for $ac_word... " >&6; } 6933if ${ac_cv_prog_DSYMUTIL+:} false; then : 6934 $as_echo_n "(cached) " >&6 6935else 6936 if test -n "$DSYMUTIL"; then 6937 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6938else 6939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6940for as_dir in $PATH 6941do 6942 IFS=$as_save_IFS 6943 test -z "$as_dir" && as_dir=. 6944 for ac_exec_ext in '' $ac_executable_extensions; do 6945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6946 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6948 break 2 6949 fi 6950done 6951 done 6952IFS=$as_save_IFS 6953 6954fi 6955fi 6956DSYMUTIL=$ac_cv_prog_DSYMUTIL 6957if test -n "$DSYMUTIL"; then 6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6959$as_echo "$DSYMUTIL" >&6; } 6960else 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6962$as_echo "no" >&6; } 6963fi 6964 6965 6966fi 6967if test -z "$ac_cv_prog_DSYMUTIL"; then 6968 ac_ct_DSYMUTIL=$DSYMUTIL 6969 # Extract the first word of "dsymutil", so it can be a program name with args. 6970set dummy dsymutil; ac_word=$2 6971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6972$as_echo_n "checking for $ac_word... " >&6; } 6973if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6974 $as_echo_n "(cached) " >&6 6975else 6976 if test -n "$ac_ct_DSYMUTIL"; then 6977 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6978else 6979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6980for as_dir in $PATH 6981do 6982 IFS=$as_save_IFS 6983 test -z "$as_dir" && as_dir=. 6984 for ac_exec_ext in '' $ac_executable_extensions; do 6985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6986 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6988 break 2 6989 fi 6990done 6991 done 6992IFS=$as_save_IFS 6993 6994fi 6995fi 6996ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6997if test -n "$ac_ct_DSYMUTIL"; then 6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6999$as_echo "$ac_ct_DSYMUTIL" >&6; } 7000else 7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7002$as_echo "no" >&6; } 7003fi 7004 7005 if test "x$ac_ct_DSYMUTIL" = x; then 7006 DSYMUTIL=":" 7007 else 7008 case $cross_compiling:$ac_tool_warned in 7009yes:) 7010{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7011$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7012ac_tool_warned=yes ;; 7013esac 7014 DSYMUTIL=$ac_ct_DSYMUTIL 7015 fi 7016else 7017 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7018fi 7019 7020 if test -n "$ac_tool_prefix"; then 7021 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7022set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7024$as_echo_n "checking for $ac_word... " >&6; } 7025if ${ac_cv_prog_NMEDIT+:} false; then : 7026 $as_echo_n "(cached) " >&6 7027else 7028 if test -n "$NMEDIT"; then 7029 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7030else 7031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7032for as_dir in $PATH 7033do 7034 IFS=$as_save_IFS 7035 test -z "$as_dir" && as_dir=. 7036 for ac_exec_ext in '' $ac_executable_extensions; do 7037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7038 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7040 break 2 7041 fi 7042done 7043 done 7044IFS=$as_save_IFS 7045 7046fi 7047fi 7048NMEDIT=$ac_cv_prog_NMEDIT 7049if test -n "$NMEDIT"; then 7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7051$as_echo "$NMEDIT" >&6; } 7052else 7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7054$as_echo "no" >&6; } 7055fi 7056 7057 7058fi 7059if test -z "$ac_cv_prog_NMEDIT"; then 7060 ac_ct_NMEDIT=$NMEDIT 7061 # Extract the first word of "nmedit", so it can be a program name with args. 7062set dummy nmedit; ac_word=$2 7063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7064$as_echo_n "checking for $ac_word... " >&6; } 7065if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7066 $as_echo_n "(cached) " >&6 7067else 7068 if test -n "$ac_ct_NMEDIT"; then 7069 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7070else 7071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7072for as_dir in $PATH 7073do 7074 IFS=$as_save_IFS 7075 test -z "$as_dir" && as_dir=. 7076 for ac_exec_ext in '' $ac_executable_extensions; do 7077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7078 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7080 break 2 7081 fi 7082done 7083 done 7084IFS=$as_save_IFS 7085 7086fi 7087fi 7088ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7089if test -n "$ac_ct_NMEDIT"; then 7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7091$as_echo "$ac_ct_NMEDIT" >&6; } 7092else 7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7094$as_echo "no" >&6; } 7095fi 7096 7097 if test "x$ac_ct_NMEDIT" = x; then 7098 NMEDIT=":" 7099 else 7100 case $cross_compiling:$ac_tool_warned in 7101yes:) 7102{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7103$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7104ac_tool_warned=yes ;; 7105esac 7106 NMEDIT=$ac_ct_NMEDIT 7107 fi 7108else 7109 NMEDIT="$ac_cv_prog_NMEDIT" 7110fi 7111 7112 if test -n "$ac_tool_prefix"; then 7113 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7114set dummy ${ac_tool_prefix}lipo; ac_word=$2 7115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7116$as_echo_n "checking for $ac_word... " >&6; } 7117if ${ac_cv_prog_LIPO+:} false; then : 7118 $as_echo_n "(cached) " >&6 7119else 7120 if test -n "$LIPO"; then 7121 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7122else 7123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7124for as_dir in $PATH 7125do 7126 IFS=$as_save_IFS 7127 test -z "$as_dir" && as_dir=. 7128 for ac_exec_ext in '' $ac_executable_extensions; do 7129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7130 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7132 break 2 7133 fi 7134done 7135 done 7136IFS=$as_save_IFS 7137 7138fi 7139fi 7140LIPO=$ac_cv_prog_LIPO 7141if test -n "$LIPO"; then 7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7143$as_echo "$LIPO" >&6; } 7144else 7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7146$as_echo "no" >&6; } 7147fi 7148 7149 7150fi 7151if test -z "$ac_cv_prog_LIPO"; then 7152 ac_ct_LIPO=$LIPO 7153 # Extract the first word of "lipo", so it can be a program name with args. 7154set dummy lipo; ac_word=$2 7155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7156$as_echo_n "checking for $ac_word... " >&6; } 7157if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7158 $as_echo_n "(cached) " >&6 7159else 7160 if test -n "$ac_ct_LIPO"; then 7161 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7162else 7163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7164for as_dir in $PATH 7165do 7166 IFS=$as_save_IFS 7167 test -z "$as_dir" && as_dir=. 7168 for ac_exec_ext in '' $ac_executable_extensions; do 7169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7170 ac_cv_prog_ac_ct_LIPO="lipo" 7171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7172 break 2 7173 fi 7174done 7175 done 7176IFS=$as_save_IFS 7177 7178fi 7179fi 7180ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7181if test -n "$ac_ct_LIPO"; then 7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7183$as_echo "$ac_ct_LIPO" >&6; } 7184else 7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7186$as_echo "no" >&6; } 7187fi 7188 7189 if test "x$ac_ct_LIPO" = x; then 7190 LIPO=":" 7191 else 7192 case $cross_compiling:$ac_tool_warned in 7193yes:) 7194{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7195$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7196ac_tool_warned=yes ;; 7197esac 7198 LIPO=$ac_ct_LIPO 7199 fi 7200else 7201 LIPO="$ac_cv_prog_LIPO" 7202fi 7203 7204 if test -n "$ac_tool_prefix"; then 7205 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7206set dummy ${ac_tool_prefix}otool; ac_word=$2 7207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7208$as_echo_n "checking for $ac_word... " >&6; } 7209if ${ac_cv_prog_OTOOL+:} false; then : 7210 $as_echo_n "(cached) " >&6 7211else 7212 if test -n "$OTOOL"; then 7213 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7214else 7215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7216for as_dir in $PATH 7217do 7218 IFS=$as_save_IFS 7219 test -z "$as_dir" && as_dir=. 7220 for ac_exec_ext in '' $ac_executable_extensions; do 7221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7222 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7224 break 2 7225 fi 7226done 7227 done 7228IFS=$as_save_IFS 7229 7230fi 7231fi 7232OTOOL=$ac_cv_prog_OTOOL 7233if test -n "$OTOOL"; then 7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7235$as_echo "$OTOOL" >&6; } 7236else 7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7238$as_echo "no" >&6; } 7239fi 7240 7241 7242fi 7243if test -z "$ac_cv_prog_OTOOL"; then 7244 ac_ct_OTOOL=$OTOOL 7245 # Extract the first word of "otool", so it can be a program name with args. 7246set dummy otool; ac_word=$2 7247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7248$as_echo_n "checking for $ac_word... " >&6; } 7249if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7250 $as_echo_n "(cached) " >&6 7251else 7252 if test -n "$ac_ct_OTOOL"; then 7253 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7254else 7255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7256for as_dir in $PATH 7257do 7258 IFS=$as_save_IFS 7259 test -z "$as_dir" && as_dir=. 7260 for ac_exec_ext in '' $ac_executable_extensions; do 7261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7262 ac_cv_prog_ac_ct_OTOOL="otool" 7263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7264 break 2 7265 fi 7266done 7267 done 7268IFS=$as_save_IFS 7269 7270fi 7271fi 7272ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7273if test -n "$ac_ct_OTOOL"; then 7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7275$as_echo "$ac_ct_OTOOL" >&6; } 7276else 7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7278$as_echo "no" >&6; } 7279fi 7280 7281 if test "x$ac_ct_OTOOL" = x; then 7282 OTOOL=":" 7283 else 7284 case $cross_compiling:$ac_tool_warned in 7285yes:) 7286{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7287$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7288ac_tool_warned=yes ;; 7289esac 7290 OTOOL=$ac_ct_OTOOL 7291 fi 7292else 7293 OTOOL="$ac_cv_prog_OTOOL" 7294fi 7295 7296 if test -n "$ac_tool_prefix"; then 7297 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7298set dummy ${ac_tool_prefix}otool64; ac_word=$2 7299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7300$as_echo_n "checking for $ac_word... " >&6; } 7301if ${ac_cv_prog_OTOOL64+:} false; then : 7302 $as_echo_n "(cached) " >&6 7303else 7304 if test -n "$OTOOL64"; then 7305 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7306else 7307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7308for as_dir in $PATH 7309do 7310 IFS=$as_save_IFS 7311 test -z "$as_dir" && as_dir=. 7312 for ac_exec_ext in '' $ac_executable_extensions; do 7313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7314 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7316 break 2 7317 fi 7318done 7319 done 7320IFS=$as_save_IFS 7321 7322fi 7323fi 7324OTOOL64=$ac_cv_prog_OTOOL64 7325if test -n "$OTOOL64"; then 7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7327$as_echo "$OTOOL64" >&6; } 7328else 7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7330$as_echo "no" >&6; } 7331fi 7332 7333 7334fi 7335if test -z "$ac_cv_prog_OTOOL64"; then 7336 ac_ct_OTOOL64=$OTOOL64 7337 # Extract the first word of "otool64", so it can be a program name with args. 7338set dummy otool64; ac_word=$2 7339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7340$as_echo_n "checking for $ac_word... " >&6; } 7341if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7342 $as_echo_n "(cached) " >&6 7343else 7344 if test -n "$ac_ct_OTOOL64"; then 7345 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7346else 7347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7348for as_dir in $PATH 7349do 7350 IFS=$as_save_IFS 7351 test -z "$as_dir" && as_dir=. 7352 for ac_exec_ext in '' $ac_executable_extensions; do 7353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7354 ac_cv_prog_ac_ct_OTOOL64="otool64" 7355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7356 break 2 7357 fi 7358done 7359 done 7360IFS=$as_save_IFS 7361 7362fi 7363fi 7364ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7365if test -n "$ac_ct_OTOOL64"; then 7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7367$as_echo "$ac_ct_OTOOL64" >&6; } 7368else 7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7370$as_echo "no" >&6; } 7371fi 7372 7373 if test "x$ac_ct_OTOOL64" = x; then 7374 OTOOL64=":" 7375 else 7376 case $cross_compiling:$ac_tool_warned in 7377yes:) 7378{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7379$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7380ac_tool_warned=yes ;; 7381esac 7382 OTOOL64=$ac_ct_OTOOL64 7383 fi 7384else 7385 OTOOL64="$ac_cv_prog_OTOOL64" 7386fi 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7415$as_echo_n "checking for -single_module linker flag... " >&6; } 7416if ${lt_cv_apple_cc_single_mod+:} false; then : 7417 $as_echo_n "(cached) " >&6 7418else 7419 lt_cv_apple_cc_single_mod=no 7420 if test -z "$LT_MULTI_MODULE"; then 7421 # By default we will add the -single_module flag. You can override 7422 # by either setting the environment variable LT_MULTI_MODULE 7423 # non-empty at configure time, or by adding -multi_module to the 7424 # link flags. 7425 rm -rf libconftest.dylib* 7426 echo "int foo(void){return 1;}" > conftest.c 7427 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7428-dynamiclib -Wl,-single_module conftest.c" >&5 7429 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7430 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7431 _lt_result=$? 7432 # If there is a non-empty error log, and "single_module" 7433 # appears in it, assume the flag caused a linker warning 7434 if test -s conftest.err && $GREP single_module conftest.err; then 7435 cat conftest.err >&5 7436 # Otherwise, if the output was created with a 0 exit code from 7437 # the compiler, it worked. 7438 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7439 lt_cv_apple_cc_single_mod=yes 7440 else 7441 cat conftest.err >&5 7442 fi 7443 rm -rf libconftest.dylib* 7444 rm -f conftest.* 7445 fi 7446fi 7447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7448$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7449 7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7451$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7452if ${lt_cv_ld_exported_symbols_list+:} false; then : 7453 $as_echo_n "(cached) " >&6 7454else 7455 lt_cv_ld_exported_symbols_list=no 7456 save_LDFLAGS=$LDFLAGS 7457 echo "_main" > conftest.sym 7458 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7460/* end confdefs.h. */ 7461 7462int 7463main () 7464{ 7465 7466 ; 7467 return 0; 7468} 7469_ACEOF 7470if ac_fn_c_try_link "$LINENO"; then : 7471 lt_cv_ld_exported_symbols_list=yes 7472else 7473 lt_cv_ld_exported_symbols_list=no 7474fi 7475rm -f core conftest.err conftest.$ac_objext \ 7476 conftest$ac_exeext conftest.$ac_ext 7477 LDFLAGS=$save_LDFLAGS 7478 7479fi 7480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7481$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7482 7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7484$as_echo_n "checking for -force_load linker flag... " >&6; } 7485if ${lt_cv_ld_force_load+:} false; then : 7486 $as_echo_n "(cached) " >&6 7487else 7488 lt_cv_ld_force_load=no 7489 cat > conftest.c << _LT_EOF 7490int forced_loaded() { return 2;} 7491_LT_EOF 7492 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7493 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7494 echo "$AR cru libconftest.a conftest.o" >&5 7495 $AR cru libconftest.a conftest.o 2>&5 7496 echo "$RANLIB libconftest.a" >&5 7497 $RANLIB libconftest.a 2>&5 7498 cat > conftest.c << _LT_EOF 7499int main() { return 0;} 7500_LT_EOF 7501 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7502 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7503 _lt_result=$? 7504 if test -s conftest.err && $GREP force_load conftest.err; then 7505 cat conftest.err >&5 7506 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7507 lt_cv_ld_force_load=yes 7508 else 7509 cat conftest.err >&5 7510 fi 7511 rm -f conftest.err libconftest.a conftest conftest.c 7512 rm -rf conftest.dSYM 7513 7514fi 7515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7516$as_echo "$lt_cv_ld_force_load" >&6; } 7517 case $host_os in 7518 rhapsody* | darwin1.[012]) 7519 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7520 darwin1.*) 7521 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7522 darwin*) # darwin 5.x on 7523 # if running on 10.5 or later, the deployment target defaults 7524 # to the OS version, if on x86, and 10.4, the deployment 7525 # target defaults to 10.4. Don't you love it? 7526 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7527 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7528 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7529 10.[012][,.]*) 7530 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7531 10.*) 7532 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7533 esac 7534 ;; 7535 esac 7536 if test yes = "$lt_cv_apple_cc_single_mod"; then 7537 _lt_dar_single_mod='$single_module' 7538 fi 7539 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7540 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7541 else 7542 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7543 fi 7544 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7545 _lt_dsymutil='~$DSYMUTIL $lib || :' 7546 else 7547 _lt_dsymutil= 7548 fi 7549 ;; 7550 esac 7551 7552# func_munge_path_list VARIABLE PATH 7553# ----------------------------------- 7554# VARIABLE is name of variable containing _space_ separated list of 7555# directories to be munged by the contents of PATH, which is string 7556# having a format: 7557# "DIR[:DIR]:" 7558# string "DIR[ DIR]" will be prepended to VARIABLE 7559# ":DIR[:DIR]" 7560# string "DIR[ DIR]" will be appended to VARIABLE 7561# "DIRP[:DIRP]::[DIRA:]DIRA" 7562# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7563# "DIRA[ DIRA]" will be appended to VARIABLE 7564# "DIR[:DIR]" 7565# VARIABLE will be replaced by "DIR[ DIR]" 7566func_munge_path_list () 7567{ 7568 case x$2 in 7569 x) 7570 ;; 7571 *:) 7572 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7573 ;; 7574 x:*) 7575 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7576 ;; 7577 *::*) 7578 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7579 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7580 ;; 7581 *) 7582 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7583 ;; 7584 esac 7585} 7586 7587ac_ext=c 7588ac_cpp='$CPP $CPPFLAGS' 7589ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7590ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7591ac_compiler_gnu=$ac_cv_c_compiler_gnu 7592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7593$as_echo_n "checking how to run the C preprocessor... " >&6; } 7594# On Suns, sometimes $CPP names a directory. 7595if test -n "$CPP" && test -d "$CPP"; then 7596 CPP= 7597fi 7598if test -z "$CPP"; then 7599 if ${ac_cv_prog_CPP+:} false; then : 7600 $as_echo_n "(cached) " >&6 7601else 7602 # Double quotes because CPP needs to be expanded 7603 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7604 do 7605 ac_preproc_ok=false 7606for ac_c_preproc_warn_flag in '' yes 7607do 7608 # Use a header file that comes with gcc, so configuring glibc 7609 # with a fresh cross-compiler works. 7610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7611 # <limits.h> exists even on freestanding compilers. 7612 # On the NeXT, cc -E runs the code through the compiler's parser, 7613 # not just through cpp. "Syntax error" is here to catch this case. 7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7615/* end confdefs.h. */ 7616#ifdef __STDC__ 7617# include <limits.h> 7618#else 7619# include <assert.h> 7620#endif 7621 Syntax error 7622_ACEOF 7623if ac_fn_c_try_cpp "$LINENO"; then : 7624 7625else 7626 # Broken: fails on valid input. 7627continue 7628fi 7629rm -f conftest.err conftest.i conftest.$ac_ext 7630 7631 # OK, works on sane cases. Now check whether nonexistent headers 7632 # can be detected and how. 7633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7634/* end confdefs.h. */ 7635#include <ac_nonexistent.h> 7636_ACEOF 7637if ac_fn_c_try_cpp "$LINENO"; then : 7638 # Broken: success on invalid input. 7639continue 7640else 7641 # Passes both tests. 7642ac_preproc_ok=: 7643break 7644fi 7645rm -f conftest.err conftest.i conftest.$ac_ext 7646 7647done 7648# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7649rm -f conftest.i conftest.err conftest.$ac_ext 7650if $ac_preproc_ok; then : 7651 break 7652fi 7653 7654 done 7655 ac_cv_prog_CPP=$CPP 7656 7657fi 7658 CPP=$ac_cv_prog_CPP 7659else 7660 ac_cv_prog_CPP=$CPP 7661fi 7662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7663$as_echo "$CPP" >&6; } 7664ac_preproc_ok=false 7665for ac_c_preproc_warn_flag in '' yes 7666do 7667 # Use a header file that comes with gcc, so configuring glibc 7668 # with a fresh cross-compiler works. 7669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7670 # <limits.h> exists even on freestanding compilers. 7671 # On the NeXT, cc -E runs the code through the compiler's parser, 7672 # not just through cpp. "Syntax error" is here to catch this case. 7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7674/* end confdefs.h. */ 7675#ifdef __STDC__ 7676# include <limits.h> 7677#else 7678# include <assert.h> 7679#endif 7680 Syntax error 7681_ACEOF 7682if ac_fn_c_try_cpp "$LINENO"; then : 7683 7684else 7685 # Broken: fails on valid input. 7686continue 7687fi 7688rm -f conftest.err conftest.i conftest.$ac_ext 7689 7690 # OK, works on sane cases. Now check whether nonexistent headers 7691 # can be detected and how. 7692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7693/* end confdefs.h. */ 7694#include <ac_nonexistent.h> 7695_ACEOF 7696if ac_fn_c_try_cpp "$LINENO"; then : 7697 # Broken: success on invalid input. 7698continue 7699else 7700 # Passes both tests. 7701ac_preproc_ok=: 7702break 7703fi 7704rm -f conftest.err conftest.i conftest.$ac_ext 7705 7706done 7707# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7708rm -f conftest.i conftest.err conftest.$ac_ext 7709if $ac_preproc_ok; then : 7710 7711else 7712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7713$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7714as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7715See \`config.log' for more details" "$LINENO" 5; } 7716fi 7717 7718ac_ext=c 7719ac_cpp='$CPP $CPPFLAGS' 7720ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7721ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7722ac_compiler_gnu=$ac_cv_c_compiler_gnu 7723 7724 7725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7726$as_echo_n "checking for ANSI C header files... " >&6; } 7727if ${ac_cv_header_stdc+:} false; then : 7728 $as_echo_n "(cached) " >&6 7729else 7730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7731/* end confdefs.h. */ 7732#include <stdlib.h> 7733#include <stdarg.h> 7734#include <string.h> 7735#include <float.h> 7736 7737int 7738main () 7739{ 7740 7741 ; 7742 return 0; 7743} 7744_ACEOF 7745if ac_fn_c_try_compile "$LINENO"; then : 7746 ac_cv_header_stdc=yes 7747else 7748 ac_cv_header_stdc=no 7749fi 7750rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7751 7752if test $ac_cv_header_stdc = yes; then 7753 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7755/* end confdefs.h. */ 7756#include <string.h> 7757 7758_ACEOF 7759if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7760 $EGREP "memchr" >/dev/null 2>&1; then : 7761 7762else 7763 ac_cv_header_stdc=no 7764fi 7765rm -f conftest* 7766 7767fi 7768 7769if test $ac_cv_header_stdc = yes; then 7770 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7772/* end confdefs.h. */ 7773#include <stdlib.h> 7774 7775_ACEOF 7776if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7777 $EGREP "free" >/dev/null 2>&1; then : 7778 7779else 7780 ac_cv_header_stdc=no 7781fi 7782rm -f conftest* 7783 7784fi 7785 7786if test $ac_cv_header_stdc = yes; then 7787 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7788 if test "$cross_compiling" = yes; then : 7789 : 7790else 7791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7792/* end confdefs.h. */ 7793#include <ctype.h> 7794#include <stdlib.h> 7795#if ((' ' & 0x0FF) == 0x020) 7796# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7797# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7798#else 7799# define ISLOWER(c) \ 7800 (('a' <= (c) && (c) <= 'i') \ 7801 || ('j' <= (c) && (c) <= 'r') \ 7802 || ('s' <= (c) && (c) <= 'z')) 7803# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7804#endif 7805 7806#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7807int 7808main () 7809{ 7810 int i; 7811 for (i = 0; i < 256; i++) 7812 if (XOR (islower (i), ISLOWER (i)) 7813 || toupper (i) != TOUPPER (i)) 7814 return 2; 7815 return 0; 7816} 7817_ACEOF 7818if ac_fn_c_try_run "$LINENO"; then : 7819 7820else 7821 ac_cv_header_stdc=no 7822fi 7823rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7824 conftest.$ac_objext conftest.beam conftest.$ac_ext 7825fi 7826 7827fi 7828fi 7829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7830$as_echo "$ac_cv_header_stdc" >&6; } 7831if test $ac_cv_header_stdc = yes; then 7832 7833$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7834 7835fi 7836 7837# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7838for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7839 inttypes.h stdint.h unistd.h 7840do : 7841 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7842ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7843" 7844if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7845 cat >>confdefs.h <<_ACEOF 7846#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7847_ACEOF 7848 7849fi 7850 7851done 7852 7853 7854for ac_header in dlfcn.h 7855do : 7856 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7857" 7858if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7859 cat >>confdefs.h <<_ACEOF 7860#define HAVE_DLFCN_H 1 7861_ACEOF 7862 7863fi 7864 7865done 7866 7867 7868 7869 7870 7871# Set options 7872 7873 7874 7875 enable_dlopen=no 7876 7877 7878 enable_win32_dll=no 7879 7880 7881 # Check whether --enable-shared was given. 7882if test "${enable_shared+set}" = set; then : 7883 enableval=$enable_shared; p=${PACKAGE-default} 7884 case $enableval in 7885 yes) enable_shared=yes ;; 7886 no) enable_shared=no ;; 7887 *) 7888 enable_shared=no 7889 # Look at the argument we got. We use all the common list separators. 7890 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7891 for pkg in $enableval; do 7892 IFS=$lt_save_ifs 7893 if test "X$pkg" = "X$p"; then 7894 enable_shared=yes 7895 fi 7896 done 7897 IFS=$lt_save_ifs 7898 ;; 7899 esac 7900else 7901 enable_shared=yes 7902fi 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 # Check whether --enable-static was given. 7913if test "${enable_static+set}" = set; then : 7914 enableval=$enable_static; p=${PACKAGE-default} 7915 case $enableval in 7916 yes) enable_static=yes ;; 7917 no) enable_static=no ;; 7918 *) 7919 enable_static=no 7920 # Look at the argument we got. We use all the common list separators. 7921 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7922 for pkg in $enableval; do 7923 IFS=$lt_save_ifs 7924 if test "X$pkg" = "X$p"; then 7925 enable_static=yes 7926 fi 7927 done 7928 IFS=$lt_save_ifs 7929 ;; 7930 esac 7931else 7932 enable_static=yes 7933fi 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944# Check whether --with-pic was given. 7945if test "${with_pic+set}" = set; then : 7946 withval=$with_pic; lt_p=${PACKAGE-default} 7947 case $withval in 7948 yes|no) pic_mode=$withval ;; 7949 *) 7950 pic_mode=default 7951 # Look at the argument we got. We use all the common list separators. 7952 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7953 for lt_pkg in $withval; do 7954 IFS=$lt_save_ifs 7955 if test "X$lt_pkg" = "X$lt_p"; then 7956 pic_mode=yes 7957 fi 7958 done 7959 IFS=$lt_save_ifs 7960 ;; 7961 esac 7962else 7963 pic_mode=default 7964fi 7965 7966 7967 7968 7969 7970 7971 7972 7973 # Check whether --enable-fast-install was given. 7974if test "${enable_fast_install+set}" = set; then : 7975 enableval=$enable_fast_install; p=${PACKAGE-default} 7976 case $enableval in 7977 yes) enable_fast_install=yes ;; 7978 no) enable_fast_install=no ;; 7979 *) 7980 enable_fast_install=no 7981 # Look at the argument we got. We use all the common list separators. 7982 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7983 for pkg in $enableval; do 7984 IFS=$lt_save_ifs 7985 if test "X$pkg" = "X$p"; then 7986 enable_fast_install=yes 7987 fi 7988 done 7989 IFS=$lt_save_ifs 7990 ;; 7991 esac 7992else 7993 enable_fast_install=yes 7994fi 7995 7996 7997 7998 7999 8000 8001 8002 8003 shared_archive_member_spec= 8004case $host,$enable_shared in 8005power*-*-aix[5-9]*,yes) 8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8007$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8008 8009# Check whether --with-aix-soname was given. 8010if test "${with_aix_soname+set}" = set; then : 8011 withval=$with_aix_soname; case $withval in 8012 aix|svr4|both) 8013 ;; 8014 *) 8015 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8016 ;; 8017 esac 8018 lt_cv_with_aix_soname=$with_aix_soname 8019else 8020 if ${lt_cv_with_aix_soname+:} false; then : 8021 $as_echo_n "(cached) " >&6 8022else 8023 lt_cv_with_aix_soname=aix 8024fi 8025 8026 with_aix_soname=$lt_cv_with_aix_soname 8027fi 8028 8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8030$as_echo "$with_aix_soname" >&6; } 8031 if test aix != "$with_aix_soname"; then 8032 # For the AIX way of multilib, we name the shared archive member 8033 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8034 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8035 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8036 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8037 if test 64 = "${OBJECT_MODE-32}"; then 8038 shared_archive_member_spec=shr_64 8039 else 8040 shared_archive_member_spec=shr 8041 fi 8042 fi 8043 ;; 8044*) 8045 with_aix_soname=aix 8046 ;; 8047esac 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058# This can be used to rebuild libtool when needed 8059LIBTOOL_DEPS=$ltmain 8060 8061# Always use our own libtool. 8062LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093test -z "$LN_S" && LN_S="ln -s" 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108if test -n "${ZSH_VERSION+set}"; then 8109 setopt NO_GLOB_SUBST 8110fi 8111 8112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8113$as_echo_n "checking for objdir... " >&6; } 8114if ${lt_cv_objdir+:} false; then : 8115 $as_echo_n "(cached) " >&6 8116else 8117 rm -f .libs 2>/dev/null 8118mkdir .libs 2>/dev/null 8119if test -d .libs; then 8120 lt_cv_objdir=.libs 8121else 8122 # MS-DOS does not allow filenames that begin with a dot. 8123 lt_cv_objdir=_libs 8124fi 8125rmdir .libs 2>/dev/null 8126fi 8127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8128$as_echo "$lt_cv_objdir" >&6; } 8129objdir=$lt_cv_objdir 8130 8131 8132 8133 8134 8135cat >>confdefs.h <<_ACEOF 8136#define LT_OBJDIR "$lt_cv_objdir/" 8137_ACEOF 8138 8139 8140 8141 8142case $host_os in 8143aix3*) 8144 # AIX sometimes has problems with the GCC collect2 program. For some 8145 # reason, if we set the COLLECT_NAMES environment variable, the problems 8146 # vanish in a puff of smoke. 8147 if test set != "${COLLECT_NAMES+set}"; then 8148 COLLECT_NAMES= 8149 export COLLECT_NAMES 8150 fi 8151 ;; 8152esac 8153 8154# Global variables: 8155ofile=libtool 8156can_build_shared=yes 8157 8158# All known linkers require a '.a' archive for static linking (except MSVC, 8159# which needs '.lib'). 8160libext=a 8161 8162with_gnu_ld=$lt_cv_prog_gnu_ld 8163 8164old_CC=$CC 8165old_CFLAGS=$CFLAGS 8166 8167# Set sane defaults for various variables 8168test -z "$CC" && CC=cc 8169test -z "$LTCC" && LTCC=$CC 8170test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8171test -z "$LD" && LD=ld 8172test -z "$ac_objext" && ac_objext=o 8173 8174func_cc_basename $compiler 8175cc_basename=$func_cc_basename_result 8176 8177 8178# Only perform the check for file, if the check method requires it 8179test -z "$MAGIC_CMD" && MAGIC_CMD=file 8180case $deplibs_check_method in 8181file_magic*) 8182 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8184$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8185if ${lt_cv_path_MAGIC_CMD+:} false; then : 8186 $as_echo_n "(cached) " >&6 8187else 8188 case $MAGIC_CMD in 8189[\\/*] | ?:[\\/]*) 8190 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8191 ;; 8192*) 8193 lt_save_MAGIC_CMD=$MAGIC_CMD 8194 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8195 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8196 for ac_dir in $ac_dummy; do 8197 IFS=$lt_save_ifs 8198 test -z "$ac_dir" && ac_dir=. 8199 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8200 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8201 if test -n "$file_magic_test_file"; then 8202 case $deplibs_check_method in 8203 "file_magic "*) 8204 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8205 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8206 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8207 $EGREP "$file_magic_regex" > /dev/null; then 8208 : 8209 else 8210 cat <<_LT_EOF 1>&2 8211 8212*** Warning: the command libtool uses to detect shared libraries, 8213*** $file_magic_cmd, produces output that libtool cannot recognize. 8214*** The result is that libtool may fail to recognize shared libraries 8215*** as such. This will affect the creation of libtool libraries that 8216*** depend on shared libraries, but programs linked with such libtool 8217*** libraries will work regardless of this problem. Nevertheless, you 8218*** may want to report the problem to your system manager and/or to 8219*** bug-libtool@gnu.org 8220 8221_LT_EOF 8222 fi ;; 8223 esac 8224 fi 8225 break 8226 fi 8227 done 8228 IFS=$lt_save_ifs 8229 MAGIC_CMD=$lt_save_MAGIC_CMD 8230 ;; 8231esac 8232fi 8233 8234MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8235if test -n "$MAGIC_CMD"; then 8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8237$as_echo "$MAGIC_CMD" >&6; } 8238else 8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8240$as_echo "no" >&6; } 8241fi 8242 8243 8244 8245 8246 8247if test -z "$lt_cv_path_MAGIC_CMD"; then 8248 if test -n "$ac_tool_prefix"; then 8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8250$as_echo_n "checking for file... " >&6; } 8251if ${lt_cv_path_MAGIC_CMD+:} false; then : 8252 $as_echo_n "(cached) " >&6 8253else 8254 case $MAGIC_CMD in 8255[\\/*] | ?:[\\/]*) 8256 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8257 ;; 8258*) 8259 lt_save_MAGIC_CMD=$MAGIC_CMD 8260 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8261 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8262 for ac_dir in $ac_dummy; do 8263 IFS=$lt_save_ifs 8264 test -z "$ac_dir" && ac_dir=. 8265 if test -f "$ac_dir/file"; then 8266 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8267 if test -n "$file_magic_test_file"; then 8268 case $deplibs_check_method in 8269 "file_magic "*) 8270 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8271 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8272 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8273 $EGREP "$file_magic_regex" > /dev/null; then 8274 : 8275 else 8276 cat <<_LT_EOF 1>&2 8277 8278*** Warning: the command libtool uses to detect shared libraries, 8279*** $file_magic_cmd, produces output that libtool cannot recognize. 8280*** The result is that libtool may fail to recognize shared libraries 8281*** as such. This will affect the creation of libtool libraries that 8282*** depend on shared libraries, but programs linked with such libtool 8283*** libraries will work regardless of this problem. Nevertheless, you 8284*** may want to report the problem to your system manager and/or to 8285*** bug-libtool@gnu.org 8286 8287_LT_EOF 8288 fi ;; 8289 esac 8290 fi 8291 break 8292 fi 8293 done 8294 IFS=$lt_save_ifs 8295 MAGIC_CMD=$lt_save_MAGIC_CMD 8296 ;; 8297esac 8298fi 8299 8300MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8301if test -n "$MAGIC_CMD"; then 8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8303$as_echo "$MAGIC_CMD" >&6; } 8304else 8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8306$as_echo "no" >&6; } 8307fi 8308 8309 8310 else 8311 MAGIC_CMD=: 8312 fi 8313fi 8314 8315 fi 8316 ;; 8317esac 8318 8319# Use C for the default configuration in the libtool script 8320 8321lt_save_CC=$CC 8322ac_ext=c 8323ac_cpp='$CPP $CPPFLAGS' 8324ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8325ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8326ac_compiler_gnu=$ac_cv_c_compiler_gnu 8327 8328 8329# Source file extension for C test sources. 8330ac_ext=c 8331 8332# Object file extension for compiled C test sources. 8333objext=o 8334objext=$objext 8335 8336# Code to be used in simple compile tests 8337lt_simple_compile_test_code="int some_variable = 0;" 8338 8339# Code to be used in simple link tests 8340lt_simple_link_test_code='int main(){return(0);}' 8341 8342 8343 8344 8345 8346 8347 8348# If no C compiler was specified, use CC. 8349LTCC=${LTCC-"$CC"} 8350 8351# If no C compiler flags were specified, use CFLAGS. 8352LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8353 8354# Allow CC to be a program name with arguments. 8355compiler=$CC 8356 8357# Save the default compiler, since it gets overwritten when the other 8358# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8359compiler_DEFAULT=$CC 8360 8361# save warnings/boilerplate of simple test code 8362ac_outfile=conftest.$ac_objext 8363echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8364eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8365_lt_compiler_boilerplate=`cat conftest.err` 8366$RM conftest* 8367 8368ac_outfile=conftest.$ac_objext 8369echo "$lt_simple_link_test_code" >conftest.$ac_ext 8370eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8371_lt_linker_boilerplate=`cat conftest.err` 8372$RM -r conftest* 8373 8374 8375## CAVEAT EMPTOR: 8376## There is no encapsulation within the following macros, do not change 8377## the running order or otherwise move them around unless you know exactly 8378## what you are doing... 8379if test -n "$compiler"; then 8380 8381lt_prog_compiler_no_builtin_flag= 8382 8383if test yes = "$GCC"; then 8384 case $cc_basename in 8385 nvcc*) 8386 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8387 *) 8388 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8389 esac 8390 8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8392$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8393if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8394 $as_echo_n "(cached) " >&6 8395else 8396 lt_cv_prog_compiler_rtti_exceptions=no 8397 ac_outfile=conftest.$ac_objext 8398 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8399 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8400 # Insert the option either (1) after the last *FLAGS variable, or 8401 # (2) before a word containing "conftest.", or (3) at the end. 8402 # Note that $ac_compile itself does not contain backslashes and begins 8403 # with a dollar sign (not a hyphen), so the echo should work correctly. 8404 # The option is referenced via a variable to avoid confusing sed. 8405 lt_compile=`echo "$ac_compile" | $SED \ 8406 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8408 -e 's:$: $lt_compiler_flag:'` 8409 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8410 (eval "$lt_compile" 2>conftest.err) 8411 ac_status=$? 8412 cat conftest.err >&5 8413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8414 if (exit $ac_status) && test -s "$ac_outfile"; then 8415 # The compiler can only warn and ignore the option if not recognized 8416 # So say no if there are warnings other than the usual output. 8417 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8418 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8419 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8420 lt_cv_prog_compiler_rtti_exceptions=yes 8421 fi 8422 fi 8423 $RM conftest* 8424 8425fi 8426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8427$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8428 8429if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8430 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8431else 8432 : 8433fi 8434 8435fi 8436 8437 8438 8439 8440 8441 8442 lt_prog_compiler_wl= 8443lt_prog_compiler_pic= 8444lt_prog_compiler_static= 8445 8446 8447 if test yes = "$GCC"; then 8448 lt_prog_compiler_wl='-Wl,' 8449 lt_prog_compiler_static='-static' 8450 8451 case $host_os in 8452 aix*) 8453 # All AIX code is PIC. 8454 if test ia64 = "$host_cpu"; then 8455 # AIX 5 now supports IA64 processor 8456 lt_prog_compiler_static='-Bstatic' 8457 fi 8458 lt_prog_compiler_pic='-fPIC' 8459 ;; 8460 8461 amigaos*) 8462 case $host_cpu in 8463 powerpc) 8464 # see comment about AmigaOS4 .so support 8465 lt_prog_compiler_pic='-fPIC' 8466 ;; 8467 m68k) 8468 # FIXME: we need at least 68020 code to build shared libraries, but 8469 # adding the '-m68020' flag to GCC prevents building anything better, 8470 # like '-m68040'. 8471 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8472 ;; 8473 esac 8474 ;; 8475 8476 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8477 # PIC is the default for these OSes. 8478 ;; 8479 8480 mingw* | cygwin* | pw32* | os2* | cegcc*) 8481 # This hack is so that the source file can tell whether it is being 8482 # built for inclusion in a dll (and should export symbols for example). 8483 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8484 # (--disable-auto-import) libraries 8485 lt_prog_compiler_pic='-DDLL_EXPORT' 8486 case $host_os in 8487 os2*) 8488 lt_prog_compiler_static='$wl-static' 8489 ;; 8490 esac 8491 ;; 8492 8493 darwin* | rhapsody*) 8494 # PIC is the default on this platform 8495 # Common symbols not allowed in MH_DYLIB files 8496 lt_prog_compiler_pic='-fno-common' 8497 ;; 8498 8499 haiku*) 8500 # PIC is the default for Haiku. 8501 # The "-static" flag exists, but is broken. 8502 lt_prog_compiler_static= 8503 ;; 8504 8505 hpux*) 8506 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8507 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8508 # sets the default TLS model and affects inlining. 8509 case $host_cpu in 8510 hppa*64*) 8511 # +Z the default 8512 ;; 8513 *) 8514 lt_prog_compiler_pic='-fPIC' 8515 ;; 8516 esac 8517 ;; 8518 8519 interix[3-9]*) 8520 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8521 # Instead, we relocate shared libraries at runtime. 8522 ;; 8523 8524 msdosdjgpp*) 8525 # Just because we use GCC doesn't mean we suddenly get shared libraries 8526 # on systems that don't support them. 8527 lt_prog_compiler_can_build_shared=no 8528 enable_shared=no 8529 ;; 8530 8531 *nto* | *qnx*) 8532 # QNX uses GNU C++, but need to define -shared option too, otherwise 8533 # it will coredump. 8534 lt_prog_compiler_pic='-fPIC -shared' 8535 ;; 8536 8537 sysv4*MP*) 8538 if test -d /usr/nec; then 8539 lt_prog_compiler_pic=-Kconform_pic 8540 fi 8541 ;; 8542 8543 *) 8544 lt_prog_compiler_pic='-fPIC' 8545 ;; 8546 esac 8547 8548 case $cc_basename in 8549 nvcc*) # Cuda Compiler Driver 2.2 8550 lt_prog_compiler_wl='-Xlinker ' 8551 if test -n "$lt_prog_compiler_pic"; then 8552 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8553 fi 8554 ;; 8555 esac 8556 else 8557 # PORTME Check for flag to pass linker flags through the system compiler. 8558 case $host_os in 8559 aix*) 8560 lt_prog_compiler_wl='-Wl,' 8561 if test ia64 = "$host_cpu"; then 8562 # AIX 5 now supports IA64 processor 8563 lt_prog_compiler_static='-Bstatic' 8564 else 8565 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8566 fi 8567 ;; 8568 8569 darwin* | rhapsody*) 8570 # PIC is the default on this platform 8571 # Common symbols not allowed in MH_DYLIB files 8572 lt_prog_compiler_pic='-fno-common' 8573 case $cc_basename in 8574 nagfor*) 8575 # NAG Fortran compiler 8576 lt_prog_compiler_wl='-Wl,-Wl,,' 8577 lt_prog_compiler_pic='-PIC' 8578 lt_prog_compiler_static='-Bstatic' 8579 ;; 8580 esac 8581 ;; 8582 8583 mingw* | cygwin* | pw32* | os2* | cegcc*) 8584 # This hack is so that the source file can tell whether it is being 8585 # built for inclusion in a dll (and should export symbols for example). 8586 lt_prog_compiler_pic='-DDLL_EXPORT' 8587 case $host_os in 8588 os2*) 8589 lt_prog_compiler_static='$wl-static' 8590 ;; 8591 esac 8592 ;; 8593 8594 hpux9* | hpux10* | hpux11*) 8595 lt_prog_compiler_wl='-Wl,' 8596 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8597 # not for PA HP-UX. 8598 case $host_cpu in 8599 hppa*64*|ia64*) 8600 # +Z the default 8601 ;; 8602 *) 8603 lt_prog_compiler_pic='+Z' 8604 ;; 8605 esac 8606 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8607 lt_prog_compiler_static='$wl-a ${wl}archive' 8608 ;; 8609 8610 irix5* | irix6* | nonstopux*) 8611 lt_prog_compiler_wl='-Wl,' 8612 # PIC (with -KPIC) is the default. 8613 lt_prog_compiler_static='-non_shared' 8614 ;; 8615 8616 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8617 case $cc_basename in 8618 # old Intel for x86_64, which still supported -KPIC. 8619 ecc*) 8620 lt_prog_compiler_wl='-Wl,' 8621 lt_prog_compiler_pic='-KPIC' 8622 lt_prog_compiler_static='-static' 8623 ;; 8624 # icc used to be incompatible with GCC. 8625 # ICC 10 doesn't accept -KPIC any more. 8626 icc* | ifort*) 8627 lt_prog_compiler_wl='-Wl,' 8628 lt_prog_compiler_pic='-fPIC' 8629 lt_prog_compiler_static='-static' 8630 ;; 8631 # Lahey Fortran 8.1. 8632 lf95*) 8633 lt_prog_compiler_wl='-Wl,' 8634 lt_prog_compiler_pic='--shared' 8635 lt_prog_compiler_static='--static' 8636 ;; 8637 nagfor*) 8638 # NAG Fortran compiler 8639 lt_prog_compiler_wl='-Wl,-Wl,,' 8640 lt_prog_compiler_pic='-PIC' 8641 lt_prog_compiler_static='-Bstatic' 8642 ;; 8643 tcc*) 8644 # Fabrice Bellard et al's Tiny C Compiler 8645 lt_prog_compiler_wl='-Wl,' 8646 lt_prog_compiler_pic='-fPIC' 8647 lt_prog_compiler_static='-static' 8648 ;; 8649 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8650 # Portland Group compilers (*not* the Pentium gcc compiler, 8651 # which looks to be a dead project) 8652 lt_prog_compiler_wl='-Wl,' 8653 lt_prog_compiler_pic='-fpic' 8654 lt_prog_compiler_static='-Bstatic' 8655 ;; 8656 ccc*) 8657 lt_prog_compiler_wl='-Wl,' 8658 # All Alpha code is PIC. 8659 lt_prog_compiler_static='-non_shared' 8660 ;; 8661 xl* | bgxl* | bgf* | mpixl*) 8662 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8663 lt_prog_compiler_wl='-Wl,' 8664 lt_prog_compiler_pic='-qpic' 8665 lt_prog_compiler_static='-qstaticlink' 8666 ;; 8667 *) 8668 case `$CC -V 2>&1 | sed 5q` in 8669 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8670 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8671 lt_prog_compiler_pic='-KPIC' 8672 lt_prog_compiler_static='-Bstatic' 8673 lt_prog_compiler_wl='' 8674 ;; 8675 *Sun\ F* | *Sun*Fortran*) 8676 lt_prog_compiler_pic='-KPIC' 8677 lt_prog_compiler_static='-Bstatic' 8678 lt_prog_compiler_wl='-Qoption ld ' 8679 ;; 8680 *Sun\ C*) 8681 # Sun C 5.9 8682 lt_prog_compiler_pic='-KPIC' 8683 lt_prog_compiler_static='-Bstatic' 8684 lt_prog_compiler_wl='-Wl,' 8685 ;; 8686 *Intel*\ [CF]*Compiler*) 8687 lt_prog_compiler_wl='-Wl,' 8688 lt_prog_compiler_pic='-fPIC' 8689 lt_prog_compiler_static='-static' 8690 ;; 8691 *Portland\ Group*) 8692 lt_prog_compiler_wl='-Wl,' 8693 lt_prog_compiler_pic='-fpic' 8694 lt_prog_compiler_static='-Bstatic' 8695 ;; 8696 esac 8697 ;; 8698 esac 8699 ;; 8700 8701 newsos6) 8702 lt_prog_compiler_pic='-KPIC' 8703 lt_prog_compiler_static='-Bstatic' 8704 ;; 8705 8706 *nto* | *qnx*) 8707 # QNX uses GNU C++, but need to define -shared option too, otherwise 8708 # it will coredump. 8709 lt_prog_compiler_pic='-fPIC -shared' 8710 ;; 8711 8712 osf3* | osf4* | osf5*) 8713 lt_prog_compiler_wl='-Wl,' 8714 # All OSF/1 code is PIC. 8715 lt_prog_compiler_static='-non_shared' 8716 ;; 8717 8718 rdos*) 8719 lt_prog_compiler_static='-non_shared' 8720 ;; 8721 8722 solaris*) 8723 lt_prog_compiler_pic='-KPIC' 8724 lt_prog_compiler_static='-Bstatic' 8725 case $cc_basename in 8726 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8727 lt_prog_compiler_wl='-Qoption ld ';; 8728 *) 8729 lt_prog_compiler_wl='-Wl,';; 8730 esac 8731 ;; 8732 8733 sunos4*) 8734 lt_prog_compiler_wl='-Qoption ld ' 8735 lt_prog_compiler_pic='-PIC' 8736 lt_prog_compiler_static='-Bstatic' 8737 ;; 8738 8739 sysv4 | sysv4.2uw2* | sysv4.3*) 8740 lt_prog_compiler_wl='-Wl,' 8741 lt_prog_compiler_pic='-KPIC' 8742 lt_prog_compiler_static='-Bstatic' 8743 ;; 8744 8745 sysv4*MP*) 8746 if test -d /usr/nec; then 8747 lt_prog_compiler_pic='-Kconform_pic' 8748 lt_prog_compiler_static='-Bstatic' 8749 fi 8750 ;; 8751 8752 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8753 lt_prog_compiler_wl='-Wl,' 8754 lt_prog_compiler_pic='-KPIC' 8755 lt_prog_compiler_static='-Bstatic' 8756 ;; 8757 8758 unicos*) 8759 lt_prog_compiler_wl='-Wl,' 8760 lt_prog_compiler_can_build_shared=no 8761 ;; 8762 8763 uts4*) 8764 lt_prog_compiler_pic='-pic' 8765 lt_prog_compiler_static='-Bstatic' 8766 ;; 8767 8768 *) 8769 lt_prog_compiler_can_build_shared=no 8770 ;; 8771 esac 8772 fi 8773 8774case $host_os in 8775 # For platforms that do not support PIC, -DPIC is meaningless: 8776 *djgpp*) 8777 lt_prog_compiler_pic= 8778 ;; 8779 *) 8780 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8781 ;; 8782esac 8783 8784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8785$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8786if ${lt_cv_prog_compiler_pic+:} false; then : 8787 $as_echo_n "(cached) " >&6 8788else 8789 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8790fi 8791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8792$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8793lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8794 8795# 8796# Check to make sure the PIC flag actually works. 8797# 8798if test -n "$lt_prog_compiler_pic"; then 8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8800$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8801if ${lt_cv_prog_compiler_pic_works+:} false; then : 8802 $as_echo_n "(cached) " >&6 8803else 8804 lt_cv_prog_compiler_pic_works=no 8805 ac_outfile=conftest.$ac_objext 8806 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8807 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8808 # Insert the option either (1) after the last *FLAGS variable, or 8809 # (2) before a word containing "conftest.", or (3) at the end. 8810 # Note that $ac_compile itself does not contain backslashes and begins 8811 # with a dollar sign (not a hyphen), so the echo should work correctly. 8812 # The option is referenced via a variable to avoid confusing sed. 8813 lt_compile=`echo "$ac_compile" | $SED \ 8814 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8815 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8816 -e 's:$: $lt_compiler_flag:'` 8817 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8818 (eval "$lt_compile" 2>conftest.err) 8819 ac_status=$? 8820 cat conftest.err >&5 8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8822 if (exit $ac_status) && test -s "$ac_outfile"; then 8823 # The compiler can only warn and ignore the option if not recognized 8824 # So say no if there are warnings other than the usual output. 8825 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8826 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8827 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8828 lt_cv_prog_compiler_pic_works=yes 8829 fi 8830 fi 8831 $RM conftest* 8832 8833fi 8834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8835$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8836 8837if test yes = "$lt_cv_prog_compiler_pic_works"; then 8838 case $lt_prog_compiler_pic in 8839 "" | " "*) ;; 8840 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8841 esac 8842else 8843 lt_prog_compiler_pic= 8844 lt_prog_compiler_can_build_shared=no 8845fi 8846 8847fi 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859# 8860# Check to make sure the static flag actually works. 8861# 8862wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8864$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8865if ${lt_cv_prog_compiler_static_works+:} false; then : 8866 $as_echo_n "(cached) " >&6 8867else 8868 lt_cv_prog_compiler_static_works=no 8869 save_LDFLAGS=$LDFLAGS 8870 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8871 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8872 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8873 # The linker can only warn and ignore the option if not recognized 8874 # So say no if there are warnings 8875 if test -s conftest.err; then 8876 # Append any errors to the config.log. 8877 cat conftest.err 1>&5 8878 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8879 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8880 if diff conftest.exp conftest.er2 >/dev/null; then 8881 lt_cv_prog_compiler_static_works=yes 8882 fi 8883 else 8884 lt_cv_prog_compiler_static_works=yes 8885 fi 8886 fi 8887 $RM -r conftest* 8888 LDFLAGS=$save_LDFLAGS 8889 8890fi 8891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8892$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8893 8894if test yes = "$lt_cv_prog_compiler_static_works"; then 8895 : 8896else 8897 lt_prog_compiler_static= 8898fi 8899 8900 8901 8902 8903 8904 8905 8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8907$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8908if ${lt_cv_prog_compiler_c_o+:} false; then : 8909 $as_echo_n "(cached) " >&6 8910else 8911 lt_cv_prog_compiler_c_o=no 8912 $RM -r conftest 2>/dev/null 8913 mkdir conftest 8914 cd conftest 8915 mkdir out 8916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8917 8918 lt_compiler_flag="-o out/conftest2.$ac_objext" 8919 # Insert the option either (1) after the last *FLAGS variable, or 8920 # (2) before a word containing "conftest.", or (3) at the end. 8921 # Note that $ac_compile itself does not contain backslashes and begins 8922 # with a dollar sign (not a hyphen), so the echo should work correctly. 8923 lt_compile=`echo "$ac_compile" | $SED \ 8924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8926 -e 's:$: $lt_compiler_flag:'` 8927 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8928 (eval "$lt_compile" 2>out/conftest.err) 8929 ac_status=$? 8930 cat out/conftest.err >&5 8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8932 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8933 then 8934 # The compiler can only warn and ignore the option if not recognized 8935 # So say no if there are warnings 8936 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8937 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8938 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8939 lt_cv_prog_compiler_c_o=yes 8940 fi 8941 fi 8942 chmod u+w . 2>&5 8943 $RM conftest* 8944 # SGI C++ compiler will create directory out/ii_files/ for 8945 # template instantiation 8946 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8947 $RM out/* && rmdir out 8948 cd .. 8949 $RM -r conftest 8950 $RM conftest* 8951 8952fi 8953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8954$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8955 8956 8957 8958 8959 8960 8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8962$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8963if ${lt_cv_prog_compiler_c_o+:} false; then : 8964 $as_echo_n "(cached) " >&6 8965else 8966 lt_cv_prog_compiler_c_o=no 8967 $RM -r conftest 2>/dev/null 8968 mkdir conftest 8969 cd conftest 8970 mkdir out 8971 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8972 8973 lt_compiler_flag="-o out/conftest2.$ac_objext" 8974 # Insert the option either (1) after the last *FLAGS variable, or 8975 # (2) before a word containing "conftest.", or (3) at the end. 8976 # Note that $ac_compile itself does not contain backslashes and begins 8977 # with a dollar sign (not a hyphen), so the echo should work correctly. 8978 lt_compile=`echo "$ac_compile" | $SED \ 8979 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8980 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8981 -e 's:$: $lt_compiler_flag:'` 8982 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8983 (eval "$lt_compile" 2>out/conftest.err) 8984 ac_status=$? 8985 cat out/conftest.err >&5 8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8987 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8988 then 8989 # The compiler can only warn and ignore the option if not recognized 8990 # So say no if there are warnings 8991 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8992 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8993 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8994 lt_cv_prog_compiler_c_o=yes 8995 fi 8996 fi 8997 chmod u+w . 2>&5 8998 $RM conftest* 8999 # SGI C++ compiler will create directory out/ii_files/ for 9000 # template instantiation 9001 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9002 $RM out/* && rmdir out 9003 cd .. 9004 $RM -r conftest 9005 $RM conftest* 9006 9007fi 9008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9009$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9010 9011 9012 9013 9014hard_links=nottested 9015if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9016 # do not overwrite the value of need_locks provided by the user 9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9018$as_echo_n "checking if we can lock with hard links... " >&6; } 9019 hard_links=yes 9020 $RM conftest* 9021 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9022 touch conftest.a 9023 ln conftest.a conftest.b 2>&5 || hard_links=no 9024 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9026$as_echo "$hard_links" >&6; } 9027 if test no = "$hard_links"; then 9028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9029$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9030 need_locks=warn 9031 fi 9032else 9033 need_locks=no 9034fi 9035 9036 9037 9038 9039 9040 9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9042$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9043 9044 runpath_var= 9045 allow_undefined_flag= 9046 always_export_symbols=no 9047 archive_cmds= 9048 archive_expsym_cmds= 9049 compiler_needs_object=no 9050 enable_shared_with_static_runtimes=no 9051 export_dynamic_flag_spec= 9052 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9053 hardcode_automatic=no 9054 hardcode_direct=no 9055 hardcode_direct_absolute=no 9056 hardcode_libdir_flag_spec= 9057 hardcode_libdir_separator= 9058 hardcode_minus_L=no 9059 hardcode_shlibpath_var=unsupported 9060 inherit_rpath=no 9061 link_all_deplibs=unknown 9062 module_cmds= 9063 module_expsym_cmds= 9064 old_archive_from_new_cmds= 9065 old_archive_from_expsyms_cmds= 9066 thread_safe_flag_spec= 9067 whole_archive_flag_spec= 9068 # include_expsyms should be a list of space-separated symbols to be *always* 9069 # included in the symbol list 9070 include_expsyms= 9071 # exclude_expsyms can be an extended regexp of symbols to exclude 9072 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9073 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9074 # as well as any symbol that contains 'd'. 9075 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9076 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9077 # platforms (ab)use it in PIC code, but their linkers get confused if 9078 # the symbol is explicitly referenced. Since portable code cannot 9079 # rely on this symbol name, it's probably fine to never include it in 9080 # preloaded symbol tables. 9081 # Exclude shared library initialization/finalization symbols. 9082 extract_expsyms_cmds= 9083 9084 case $host_os in 9085 cygwin* | mingw* | pw32* | cegcc*) 9086 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9087 # When not using gcc, we currently assume that we are using 9088 # Microsoft Visual C++. 9089 if test yes != "$GCC"; then 9090 with_gnu_ld=no 9091 fi 9092 ;; 9093 interix*) 9094 # we just hope/assume this is gcc and not c89 (= MSVC++) 9095 with_gnu_ld=yes 9096 ;; 9097 openbsd* | bitrig*) 9098 with_gnu_ld=no 9099 ;; 9100 linux* | k*bsd*-gnu | gnu*) 9101 link_all_deplibs=no 9102 ;; 9103 esac 9104 9105 ld_shlibs=yes 9106 9107 # On some targets, GNU ld is compatible enough with the native linker 9108 # that we're better off using the native interface for both. 9109 lt_use_gnu_ld_interface=no 9110 if test yes = "$with_gnu_ld"; then 9111 case $host_os in 9112 aix*) 9113 # The AIX port of GNU ld has always aspired to compatibility 9114 # with the native linker. However, as the warning in the GNU ld 9115 # block says, versions before 2.19.5* couldn't really create working 9116 # shared libraries, regardless of the interface used. 9117 case `$LD -v 2>&1` in 9118 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9119 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9120 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9121 *) 9122 lt_use_gnu_ld_interface=yes 9123 ;; 9124 esac 9125 ;; 9126 *) 9127 lt_use_gnu_ld_interface=yes 9128 ;; 9129 esac 9130 fi 9131 9132 if test yes = "$lt_use_gnu_ld_interface"; then 9133 # If archive_cmds runs LD, not CC, wlarc should be empty 9134 wlarc='$wl' 9135 9136 # Set some defaults for GNU ld with shared library support. These 9137 # are reset later if shared libraries are not supported. Putting them 9138 # here allows them to be overridden if necessary. 9139 runpath_var=LD_RUN_PATH 9140 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9141 export_dynamic_flag_spec='$wl--export-dynamic' 9142 # ancient GNU ld didn't support --whole-archive et. al. 9143 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9144 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9145 else 9146 whole_archive_flag_spec= 9147 fi 9148 supports_anon_versioning=no 9149 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9150 *GNU\ gold*) supports_anon_versioning=yes ;; 9151 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9152 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9153 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9154 *\ 2.11.*) ;; # other 2.11 versions 9155 *) supports_anon_versioning=yes ;; 9156 esac 9157 9158 # See if GNU ld supports shared libraries. 9159 case $host_os in 9160 aix[3-9]*) 9161 # On AIX/PPC, the GNU linker is very broken 9162 if test ia64 != "$host_cpu"; then 9163 ld_shlibs=no 9164 cat <<_LT_EOF 1>&2 9165 9166*** Warning: the GNU linker, at least up to release 2.19, is reported 9167*** to be unable to reliably create shared libraries on AIX. 9168*** Therefore, libtool is disabling shared libraries support. If you 9169*** really care for shared libraries, you may want to install binutils 9170*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9171*** You will then need to restart the configuration process. 9172 9173_LT_EOF 9174 fi 9175 ;; 9176 9177 amigaos*) 9178 case $host_cpu in 9179 powerpc) 9180 # see comment about AmigaOS4 .so support 9181 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9182 archive_expsym_cmds='' 9183 ;; 9184 m68k) 9185 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)' 9186 hardcode_libdir_flag_spec='-L$libdir' 9187 hardcode_minus_L=yes 9188 ;; 9189 esac 9190 ;; 9191 9192 beos*) 9193 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9194 allow_undefined_flag=unsupported 9195 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9196 # support --undefined. This deserves some investigation. FIXME 9197 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9198 else 9199 ld_shlibs=no 9200 fi 9201 ;; 9202 9203 cygwin* | mingw* | pw32* | cegcc*) 9204 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9205 # as there is no search path for DLLs. 9206 hardcode_libdir_flag_spec='-L$libdir' 9207 export_dynamic_flag_spec='$wl--export-all-symbols' 9208 allow_undefined_flag=unsupported 9209 always_export_symbols=no 9210 enable_shared_with_static_runtimes=yes 9211 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' 9212 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9213 9214 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9215 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9216 # If the export-symbols file already is a .def file, use it as 9217 # is; otherwise, prepend EXPORTS... 9218 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9219 cp $export_symbols $output_objdir/$soname.def; 9220 else 9221 echo EXPORTS > $output_objdir/$soname.def; 9222 cat $export_symbols >> $output_objdir/$soname.def; 9223 fi~ 9224 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9225 else 9226 ld_shlibs=no 9227 fi 9228 ;; 9229 9230 haiku*) 9231 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9232 link_all_deplibs=yes 9233 ;; 9234 9235 os2*) 9236 hardcode_libdir_flag_spec='-L$libdir' 9237 hardcode_minus_L=yes 9238 allow_undefined_flag=unsupported 9239 shrext_cmds=.dll 9240 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9241 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9242 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9243 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9244 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9245 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9246 emximp -o $lib $output_objdir/$libname.def' 9247 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9248 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9249 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9250 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9251 prefix_cmds="$SED"~ 9252 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9253 prefix_cmds="$prefix_cmds -e 1d"; 9254 fi~ 9255 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9256 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9257 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9258 emximp -o $lib $output_objdir/$libname.def' 9259 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9260 enable_shared_with_static_runtimes=yes 9261 ;; 9262 9263 interix[3-9]*) 9264 hardcode_direct=no 9265 hardcode_shlibpath_var=no 9266 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9267 export_dynamic_flag_spec='$wl-E' 9268 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9269 # Instead, shared libraries are loaded at an image base (0x10000000 by 9270 # default) and relocated if they conflict, which is a slow very memory 9271 # consuming and fragmenting process. To avoid this, we pick a random, 9272 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9273 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9274 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9275 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' 9276 ;; 9277 9278 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9279 tmp_diet=no 9280 if test linux-dietlibc = "$host_os"; then 9281 case $cc_basename in 9282 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9283 esac 9284 fi 9285 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9286 && test no = "$tmp_diet" 9287 then 9288 tmp_addflag=' $pic_flag' 9289 tmp_sharedflag='-shared' 9290 case $cc_basename,$host_cpu in 9291 pgcc*) # Portland Group C compiler 9292 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' 9293 tmp_addflag=' $pic_flag' 9294 ;; 9295 pgf77* | pgf90* | pgf95* | pgfortran*) 9296 # Portland Group f77 and f90 compilers 9297 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' 9298 tmp_addflag=' $pic_flag -Mnomain' ;; 9299 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9300 tmp_addflag=' -i_dynamic' ;; 9301 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9302 tmp_addflag=' -i_dynamic -nofor_main' ;; 9303 ifc* | ifort*) # Intel Fortran compiler 9304 tmp_addflag=' -nofor_main' ;; 9305 lf95*) # Lahey Fortran 8.1 9306 whole_archive_flag_spec= 9307 tmp_sharedflag='--shared' ;; 9308 nagfor*) # NAGFOR 5.3 9309 tmp_sharedflag='-Wl,-shared' ;; 9310 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9311 tmp_sharedflag='-qmkshrobj' 9312 tmp_addflag= ;; 9313 nvcc*) # Cuda Compiler Driver 2.2 9314 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' 9315 compiler_needs_object=yes 9316 ;; 9317 esac 9318 case `$CC -V 2>&1 | sed 5q` in 9319 *Sun\ C*) # Sun C 5.9 9320 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' 9321 compiler_needs_object=yes 9322 tmp_sharedflag='-G' ;; 9323 *Sun\ F*) # Sun Fortran 8.3 9324 tmp_sharedflag='-G' ;; 9325 esac 9326 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9327 9328 if test yes = "$supports_anon_versioning"; then 9329 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9330 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9331 echo "local: *; };" >> $output_objdir/$libname.ver~ 9332 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9333 fi 9334 9335 case $cc_basename in 9336 tcc*) 9337 export_dynamic_flag_spec='-rdynamic' 9338 ;; 9339 xlf* | bgf* | bgxlf* | mpixlf*) 9340 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9341 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9342 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9343 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9344 if test yes = "$supports_anon_versioning"; then 9345 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9347 echo "local: *; };" >> $output_objdir/$libname.ver~ 9348 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9349 fi 9350 ;; 9351 esac 9352 else 9353 ld_shlibs=no 9354 fi 9355 ;; 9356 9357 netbsd* | netbsdelf*-gnu) 9358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9359 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9360 wlarc= 9361 else 9362 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9363 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9364 fi 9365 ;; 9366 9367 solaris*) 9368 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9369 ld_shlibs=no 9370 cat <<_LT_EOF 1>&2 9371 9372*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9373*** create shared libraries on Solaris systems. Therefore, libtool 9374*** is disabling shared libraries support. We urge you to upgrade GNU 9375*** binutils to release 2.9.1 or newer. Another option is to modify 9376*** your PATH or compiler configuration so that the native linker is 9377*** used, and then restart. 9378 9379_LT_EOF 9380 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9381 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9382 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9383 else 9384 ld_shlibs=no 9385 fi 9386 ;; 9387 9388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9389 case `$LD -v 2>&1` in 9390 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9391 ld_shlibs=no 9392 cat <<_LT_EOF 1>&2 9393 9394*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9395*** reliably create shared libraries on SCO systems. Therefore, libtool 9396*** is disabling shared libraries support. We urge you to upgrade GNU 9397*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9398*** your PATH or compiler configuration so that the native linker is 9399*** used, and then restart. 9400 9401_LT_EOF 9402 ;; 9403 *) 9404 # For security reasons, it is highly recommended that you always 9405 # use absolute paths for naming shared libraries, and exclude the 9406 # DT_RUNPATH tag from executables and libraries. But doing so 9407 # requires that you compile everything twice, which is a pain. 9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9409 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9411 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9412 else 9413 ld_shlibs=no 9414 fi 9415 ;; 9416 esac 9417 ;; 9418 9419 sunos4*) 9420 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9421 wlarc= 9422 hardcode_direct=yes 9423 hardcode_shlibpath_var=no 9424 ;; 9425 9426 *) 9427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9428 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9429 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9430 else 9431 ld_shlibs=no 9432 fi 9433 ;; 9434 esac 9435 9436 if test no = "$ld_shlibs"; then 9437 runpath_var= 9438 hardcode_libdir_flag_spec= 9439 export_dynamic_flag_spec= 9440 whole_archive_flag_spec= 9441 fi 9442 else 9443 # PORTME fill in a description of your system's linker (not GNU ld) 9444 case $host_os in 9445 aix3*) 9446 allow_undefined_flag=unsupported 9447 always_export_symbols=yes 9448 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' 9449 # Note: this linker hardcodes the directories in LIBPATH if there 9450 # are no directories specified by -L. 9451 hardcode_minus_L=yes 9452 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9453 # Neither direct hardcoding nor static linking is supported with a 9454 # broken collect2. 9455 hardcode_direct=unsupported 9456 fi 9457 ;; 9458 9459 aix[4-9]*) 9460 if test ia64 = "$host_cpu"; then 9461 # On IA64, the linker does run time linking by default, so we don't 9462 # have to do anything special. 9463 aix_use_runtimelinking=no 9464 exp_sym_flag='-Bexport' 9465 no_entry_flag= 9466 else 9467 # If we're using GNU nm, then we don't want the "-C" option. 9468 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9469 # Without the "-l" option, or with the "-B" option, AIX nm treats 9470 # weak defined symbols like other global defined symbols, whereas 9471 # GNU nm marks them as "W". 9472 # While the 'weak' keyword is ignored in the Export File, we need 9473 # it in the Import File for the 'aix-soname' feature, so we have 9474 # to replace the "-B" option with "-P" for AIX nm. 9475 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9476 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 9477 else 9478 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9479 fi 9480 aix_use_runtimelinking=no 9481 9482 # Test if we are trying to use run time linking or normal 9483 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9484 # have runtime linking enabled, and use it for executables. 9485 # For shared libraries, we enable/disable runtime linking 9486 # depending on the kind of the shared library created - 9487 # when "with_aix_soname,aix_use_runtimelinking" is: 9488 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9489 # "aix,yes" lib.so shared, rtl:yes, for executables 9490 # lib.a static archive 9491 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9492 # lib.a(lib.so.V) shared, rtl:no, for executables 9493 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9494 # lib.a(lib.so.V) shared, rtl:no 9495 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9496 # lib.a static archive 9497 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9498 for ld_flag in $LDFLAGS; do 9499 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9500 aix_use_runtimelinking=yes 9501 break 9502 fi 9503 done 9504 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9505 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9506 # so we don't have lib.a shared libs to link our executables. 9507 # We have to force runtime linking in this case. 9508 aix_use_runtimelinking=yes 9509 LDFLAGS="$LDFLAGS -Wl,-brtl" 9510 fi 9511 ;; 9512 esac 9513 9514 exp_sym_flag='-bexport' 9515 no_entry_flag='-bnoentry' 9516 fi 9517 9518 # When large executables or shared objects are built, AIX ld can 9519 # have problems creating the table of contents. If linking a library 9520 # or program results in "error TOC overflow" add -mminimal-toc to 9521 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9522 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9523 9524 archive_cmds='' 9525 hardcode_direct=yes 9526 hardcode_direct_absolute=yes 9527 hardcode_libdir_separator=':' 9528 link_all_deplibs=yes 9529 file_list_spec='$wl-f,' 9530 case $with_aix_soname,$aix_use_runtimelinking in 9531 aix,*) ;; # traditional, no import file 9532 svr4,* | *,yes) # use import file 9533 # The Import File defines what to hardcode. 9534 hardcode_direct=no 9535 hardcode_direct_absolute=no 9536 ;; 9537 esac 9538 9539 if test yes = "$GCC"; then 9540 case $host_os in aix4.[012]|aix4.[012].*) 9541 # We only want to do this on AIX 4.2 and lower, the check 9542 # below for broken collect2 doesn't work under 4.3+ 9543 collect2name=`$CC -print-prog-name=collect2` 9544 if test -f "$collect2name" && 9545 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9546 then 9547 # We have reworked collect2 9548 : 9549 else 9550 # We have old collect2 9551 hardcode_direct=unsupported 9552 # It fails to find uninstalled libraries when the uninstalled 9553 # path is not listed in the libpath. Setting hardcode_minus_L 9554 # to unsupported forces relinking 9555 hardcode_minus_L=yes 9556 hardcode_libdir_flag_spec='-L$libdir' 9557 hardcode_libdir_separator= 9558 fi 9559 ;; 9560 esac 9561 shared_flag='-shared' 9562 if test yes = "$aix_use_runtimelinking"; then 9563 shared_flag="$shared_flag "'$wl-G' 9564 fi 9565 # Need to ensure runtime linking is disabled for the traditional 9566 # shared library, or the linker may eventually find shared libraries 9567 # /with/ Import File - we do not want to mix them. 9568 shared_flag_aix='-shared' 9569 shared_flag_svr4='-shared $wl-G' 9570 else 9571 # not using gcc 9572 if test ia64 = "$host_cpu"; then 9573 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9574 # chokes on -Wl,-G. The following line is correct: 9575 shared_flag='-G' 9576 else 9577 if test yes = "$aix_use_runtimelinking"; then 9578 shared_flag='$wl-G' 9579 else 9580 shared_flag='$wl-bM:SRE' 9581 fi 9582 shared_flag_aix='$wl-bM:SRE' 9583 shared_flag_svr4='$wl-G' 9584 fi 9585 fi 9586 9587 export_dynamic_flag_spec='$wl-bexpall' 9588 # It seems that -bexpall does not export symbols beginning with 9589 # underscore (_), so it is better to generate a list of symbols to export. 9590 always_export_symbols=yes 9591 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9592 # Warning - without using the other runtime loading flags (-brtl), 9593 # -berok will link without error, but may produce a broken library. 9594 allow_undefined_flag='-berok' 9595 # Determine the default libpath from the value encoded in an 9596 # empty executable. 9597 if test set = "${lt_cv_aix_libpath+set}"; then 9598 aix_libpath=$lt_cv_aix_libpath 9599else 9600 if ${lt_cv_aix_libpath_+:} false; then : 9601 $as_echo_n "(cached) " >&6 9602else 9603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9604/* end confdefs.h. */ 9605 9606int 9607main () 9608{ 9609 9610 ; 9611 return 0; 9612} 9613_ACEOF 9614if ac_fn_c_try_link "$LINENO"; then : 9615 9616 lt_aix_libpath_sed=' 9617 /Import File Strings/,/^$/ { 9618 /^0/ { 9619 s/^0 *\([^ ]*\) *$/\1/ 9620 p 9621 } 9622 }' 9623 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9624 # Check for a 64-bit object if we didn't find anything. 9625 if test -z "$lt_cv_aix_libpath_"; then 9626 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9627 fi 9628fi 9629rm -f core conftest.err conftest.$ac_objext \ 9630 conftest$ac_exeext conftest.$ac_ext 9631 if test -z "$lt_cv_aix_libpath_"; then 9632 lt_cv_aix_libpath_=/usr/lib:/lib 9633 fi 9634 9635fi 9636 9637 aix_libpath=$lt_cv_aix_libpath_ 9638fi 9639 9640 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9641 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 9642 else 9643 if test ia64 = "$host_cpu"; then 9644 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9645 allow_undefined_flag="-z nodefs" 9646 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" 9647 else 9648 # Determine the default libpath from the value encoded in an 9649 # empty executable. 9650 if test set = "${lt_cv_aix_libpath+set}"; then 9651 aix_libpath=$lt_cv_aix_libpath 9652else 9653 if ${lt_cv_aix_libpath_+:} false; then : 9654 $as_echo_n "(cached) " >&6 9655else 9656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9657/* end confdefs.h. */ 9658 9659int 9660main () 9661{ 9662 9663 ; 9664 return 0; 9665} 9666_ACEOF 9667if ac_fn_c_try_link "$LINENO"; then : 9668 9669 lt_aix_libpath_sed=' 9670 /Import File Strings/,/^$/ { 9671 /^0/ { 9672 s/^0 *\([^ ]*\) *$/\1/ 9673 p 9674 } 9675 }' 9676 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9677 # Check for a 64-bit object if we didn't find anything. 9678 if test -z "$lt_cv_aix_libpath_"; then 9679 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9680 fi 9681fi 9682rm -f core conftest.err conftest.$ac_objext \ 9683 conftest$ac_exeext conftest.$ac_ext 9684 if test -z "$lt_cv_aix_libpath_"; then 9685 lt_cv_aix_libpath_=/usr/lib:/lib 9686 fi 9687 9688fi 9689 9690 aix_libpath=$lt_cv_aix_libpath_ 9691fi 9692 9693 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9694 # Warning - without using the other run time loading flags, 9695 # -berok will link without error, but may produce a broken library. 9696 no_undefined_flag=' $wl-bernotok' 9697 allow_undefined_flag=' $wl-berok' 9698 if test yes = "$with_gnu_ld"; then 9699 # We only use this code for GNU lds that support --whole-archive. 9700 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9701 else 9702 # Exported symbols can be pulled into shared objects from archives 9703 whole_archive_flag_spec='$convenience' 9704 fi 9705 archive_cmds_need_lc=yes 9706 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9707 # -brtl affects multiple linker settings, -berok does not and is overridden later 9708 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9709 if test svr4 != "$with_aix_soname"; then 9710 # This is similar to how AIX traditionally builds its shared libraries. 9711 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 9712 fi 9713 if test aix != "$with_aix_soname"; then 9714 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 9715 else 9716 # used by -dlpreopen to get the symbols 9717 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9718 fi 9719 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9720 fi 9721 fi 9722 ;; 9723 9724 amigaos*) 9725 case $host_cpu in 9726 powerpc) 9727 # see comment about AmigaOS4 .so support 9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9729 archive_expsym_cmds='' 9730 ;; 9731 m68k) 9732 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)' 9733 hardcode_libdir_flag_spec='-L$libdir' 9734 hardcode_minus_L=yes 9735 ;; 9736 esac 9737 ;; 9738 9739 bsdi[45]*) 9740 export_dynamic_flag_spec=-rdynamic 9741 ;; 9742 9743 cygwin* | mingw* | pw32* | cegcc*) 9744 # When not using gcc, we currently assume that we are using 9745 # Microsoft Visual C++. 9746 # hardcode_libdir_flag_spec is actually meaningless, as there is 9747 # no search path for DLLs. 9748 case $cc_basename in 9749 cl*) 9750 # Native MSVC 9751 hardcode_libdir_flag_spec=' ' 9752 allow_undefined_flag=unsupported 9753 always_export_symbols=yes 9754 file_list_spec='@' 9755 # Tell ltmain to make .lib files, not .a files. 9756 libext=lib 9757 # Tell ltmain to make .dll files, not .so files. 9758 shrext_cmds=.dll 9759 # FIXME: Setting linknames here is a bad hack. 9760 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9761 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9762 cp "$export_symbols" "$output_objdir/$soname.def"; 9763 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9764 else 9765 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9766 fi~ 9767 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9768 linknames=' 9769 # The linker will not automatically build a static lib if we build a DLL. 9770 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9771 enable_shared_with_static_runtimes=yes 9772 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9773 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9774 # Don't use ranlib 9775 old_postinstall_cmds='chmod 644 $oldlib' 9776 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9777 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9778 case $lt_outputfile in 9779 *.exe|*.EXE) ;; 9780 *) 9781 lt_outputfile=$lt_outputfile.exe 9782 lt_tool_outputfile=$lt_tool_outputfile.exe 9783 ;; 9784 esac~ 9785 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9786 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9787 $RM "$lt_outputfile.manifest"; 9788 fi' 9789 ;; 9790 *) 9791 # Assume MSVC wrapper 9792 hardcode_libdir_flag_spec=' ' 9793 allow_undefined_flag=unsupported 9794 # Tell ltmain to make .lib files, not .a files. 9795 libext=lib 9796 # Tell ltmain to make .dll files, not .so files. 9797 shrext_cmds=.dll 9798 # FIXME: Setting linknames here is a bad hack. 9799 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9800 # The linker will automatically build a .lib file if we build a DLL. 9801 old_archive_from_new_cmds='true' 9802 # FIXME: Should let the user specify the lib program. 9803 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9804 enable_shared_with_static_runtimes=yes 9805 ;; 9806 esac 9807 ;; 9808 9809 darwin* | rhapsody*) 9810 9811 9812 archive_cmds_need_lc=no 9813 hardcode_direct=no 9814 hardcode_automatic=yes 9815 hardcode_shlibpath_var=unsupported 9816 if test yes = "$lt_cv_ld_force_load"; then 9817 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\"`' 9818 9819 else 9820 whole_archive_flag_spec='' 9821 fi 9822 link_all_deplibs=yes 9823 allow_undefined_flag=$_lt_dar_allow_undefined 9824 case $cc_basename in 9825 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9826 *) _lt_dar_can_shared=$GCC ;; 9827 esac 9828 if test yes = "$_lt_dar_can_shared"; then 9829 output_verbose_link_cmd=func_echo_all 9830 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9831 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9832 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" 9833 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" 9834 9835 else 9836 ld_shlibs=no 9837 fi 9838 9839 ;; 9840 9841 dgux*) 9842 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9843 hardcode_libdir_flag_spec='-L$libdir' 9844 hardcode_shlibpath_var=no 9845 ;; 9846 9847 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9848 # support. Future versions do this automatically, but an explicit c++rt0.o 9849 # does not break anything, and helps significantly (at the cost of a little 9850 # extra space). 9851 freebsd2.2*) 9852 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9853 hardcode_libdir_flag_spec='-R$libdir' 9854 hardcode_direct=yes 9855 hardcode_shlibpath_var=no 9856 ;; 9857 9858 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9859 freebsd2.*) 9860 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9861 hardcode_direct=yes 9862 hardcode_minus_L=yes 9863 hardcode_shlibpath_var=no 9864 ;; 9865 9866 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9867 freebsd* | dragonfly*) 9868 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9869 hardcode_libdir_flag_spec='-R$libdir' 9870 hardcode_direct=yes 9871 hardcode_shlibpath_var=no 9872 ;; 9873 9874 hpux9*) 9875 if test yes = "$GCC"; then 9876 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 9877 else 9878 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 9879 fi 9880 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9881 hardcode_libdir_separator=: 9882 hardcode_direct=yes 9883 9884 # hardcode_minus_L: Not really in the search PATH, 9885 # but as the default location of the library. 9886 hardcode_minus_L=yes 9887 export_dynamic_flag_spec='$wl-E' 9888 ;; 9889 9890 hpux10*) 9891 if test yes,no = "$GCC,$with_gnu_ld"; then 9892 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9893 else 9894 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9895 fi 9896 if test no = "$with_gnu_ld"; then 9897 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9898 hardcode_libdir_separator=: 9899 hardcode_direct=yes 9900 hardcode_direct_absolute=yes 9901 export_dynamic_flag_spec='$wl-E' 9902 # hardcode_minus_L: Not really in the search PATH, 9903 # but as the default location of the library. 9904 hardcode_minus_L=yes 9905 fi 9906 ;; 9907 9908 hpux11*) 9909 if test yes,no = "$GCC,$with_gnu_ld"; then 9910 case $host_cpu in 9911 hppa*64*) 9912 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9913 ;; 9914 ia64*) 9915 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9916 ;; 9917 *) 9918 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9919 ;; 9920 esac 9921 else 9922 case $host_cpu in 9923 hppa*64*) 9924 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9925 ;; 9926 ia64*) 9927 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9928 ;; 9929 *) 9930 9931 # Older versions of the 11.00 compiler do not understand -b yet 9932 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9934$as_echo_n "checking if $CC understands -b... " >&6; } 9935if ${lt_cv_prog_compiler__b+:} false; then : 9936 $as_echo_n "(cached) " >&6 9937else 9938 lt_cv_prog_compiler__b=no 9939 save_LDFLAGS=$LDFLAGS 9940 LDFLAGS="$LDFLAGS -b" 9941 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9942 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9943 # The linker can only warn and ignore the option if not recognized 9944 # So say no if there are warnings 9945 if test -s conftest.err; then 9946 # Append any errors to the config.log. 9947 cat conftest.err 1>&5 9948 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9949 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9950 if diff conftest.exp conftest.er2 >/dev/null; then 9951 lt_cv_prog_compiler__b=yes 9952 fi 9953 else 9954 lt_cv_prog_compiler__b=yes 9955 fi 9956 fi 9957 $RM -r conftest* 9958 LDFLAGS=$save_LDFLAGS 9959 9960fi 9961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9962$as_echo "$lt_cv_prog_compiler__b" >&6; } 9963 9964if test yes = "$lt_cv_prog_compiler__b"; then 9965 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9966else 9967 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9968fi 9969 9970 ;; 9971 esac 9972 fi 9973 if test no = "$with_gnu_ld"; then 9974 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9975 hardcode_libdir_separator=: 9976 9977 case $host_cpu in 9978 hppa*64*|ia64*) 9979 hardcode_direct=no 9980 hardcode_shlibpath_var=no 9981 ;; 9982 *) 9983 hardcode_direct=yes 9984 hardcode_direct_absolute=yes 9985 export_dynamic_flag_spec='$wl-E' 9986 9987 # hardcode_minus_L: Not really in the search PATH, 9988 # but as the default location of the library. 9989 hardcode_minus_L=yes 9990 ;; 9991 esac 9992 fi 9993 ;; 9994 9995 irix5* | irix6* | nonstopux*) 9996 if test yes = "$GCC"; then 9997 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' 9998 # Try to use the -exported_symbol ld option, if it does not 9999 # work, assume that -exports_file does not work either and 10000 # implicitly export all symbols. 10001 # This should be the same for all languages, so no per-tag cache variable. 10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10003$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10004if ${lt_cv_irix_exported_symbol+:} false; then : 10005 $as_echo_n "(cached) " >&6 10006else 10007 save_LDFLAGS=$LDFLAGS 10008 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10010/* end confdefs.h. */ 10011int foo (void) { return 0; } 10012_ACEOF 10013if ac_fn_c_try_link "$LINENO"; then : 10014 lt_cv_irix_exported_symbol=yes 10015else 10016 lt_cv_irix_exported_symbol=no 10017fi 10018rm -f core conftest.err conftest.$ac_objext \ 10019 conftest$ac_exeext conftest.$ac_ext 10020 LDFLAGS=$save_LDFLAGS 10021fi 10022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10023$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10024 if test yes = "$lt_cv_irix_exported_symbol"; then 10025 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' 10026 fi 10027 link_all_deplibs=no 10028 else 10029 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' 10030 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' 10031 fi 10032 archive_cmds_need_lc='no' 10033 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10034 hardcode_libdir_separator=: 10035 inherit_rpath=yes 10036 link_all_deplibs=yes 10037 ;; 10038 10039 linux*) 10040 case $cc_basename in 10041 tcc*) 10042 # Fabrice Bellard et al's Tiny C Compiler 10043 ld_shlibs=yes 10044 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10045 ;; 10046 esac 10047 ;; 10048 10049 netbsd* | netbsdelf*-gnu) 10050 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10051 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10052 else 10053 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10054 fi 10055 hardcode_libdir_flag_spec='-R$libdir' 10056 hardcode_direct=yes 10057 hardcode_shlibpath_var=no 10058 ;; 10059 10060 newsos6) 10061 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10062 hardcode_direct=yes 10063 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10064 hardcode_libdir_separator=: 10065 hardcode_shlibpath_var=no 10066 ;; 10067 10068 *nto* | *qnx*) 10069 ;; 10070 10071 openbsd* | bitrig*) 10072 if test -f /usr/libexec/ld.so; then 10073 hardcode_direct=yes 10074 hardcode_shlibpath_var=no 10075 hardcode_direct_absolute=yes 10076 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10077 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10078 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10079 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10080 export_dynamic_flag_spec='$wl-E' 10081 else 10082 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10083 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10084 fi 10085 else 10086 ld_shlibs=no 10087 fi 10088 ;; 10089 10090 os2*) 10091 hardcode_libdir_flag_spec='-L$libdir' 10092 hardcode_minus_L=yes 10093 allow_undefined_flag=unsupported 10094 shrext_cmds=.dll 10095 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10096 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10097 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10098 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10099 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10100 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10101 emximp -o $lib $output_objdir/$libname.def' 10102 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10103 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10104 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10105 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10106 prefix_cmds="$SED"~ 10107 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10108 prefix_cmds="$prefix_cmds -e 1d"; 10109 fi~ 10110 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10111 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10112 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10113 emximp -o $lib $output_objdir/$libname.def' 10114 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10115 enable_shared_with_static_runtimes=yes 10116 ;; 10117 10118 osf3*) 10119 if test yes = "$GCC"; then 10120 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10121 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' 10122 else 10123 allow_undefined_flag=' -expect_unresolved \*' 10124 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' 10125 fi 10126 archive_cmds_need_lc='no' 10127 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10128 hardcode_libdir_separator=: 10129 ;; 10130 10131 osf4* | osf5*) # as osf3* with the addition of -msym flag 10132 if test yes = "$GCC"; then 10133 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10134 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' 10135 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10136 else 10137 allow_undefined_flag=' -expect_unresolved \*' 10138 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' 10139 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~ 10140 $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' 10141 10142 # Both c and cxx compiler support -rpath directly 10143 hardcode_libdir_flag_spec='-rpath $libdir' 10144 fi 10145 archive_cmds_need_lc='no' 10146 hardcode_libdir_separator=: 10147 ;; 10148 10149 solaris*) 10150 no_undefined_flag=' -z defs' 10151 if test yes = "$GCC"; then 10152 wlarc='$wl' 10153 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10154 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10155 $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' 10156 else 10157 case `$CC -V 2>&1` in 10158 *"Compilers 5.0"*) 10159 wlarc='' 10160 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10161 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10162 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10163 ;; 10164 *) 10165 wlarc='$wl' 10166 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10167 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10168 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10169 ;; 10170 esac 10171 fi 10172 hardcode_libdir_flag_spec='-R$libdir' 10173 hardcode_shlibpath_var=no 10174 case $host_os in 10175 solaris2.[0-5] | solaris2.[0-5].*) ;; 10176 *) 10177 # The compiler driver will combine and reorder linker options, 10178 # but understands '-z linker_flag'. GCC discards it without '$wl', 10179 # but is careful enough not to reorder. 10180 # Supported since Solaris 2.6 (maybe 2.5.1?) 10181 if test yes = "$GCC"; then 10182 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10183 else 10184 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10185 fi 10186 ;; 10187 esac 10188 link_all_deplibs=yes 10189 ;; 10190 10191 sunos4*) 10192 if test sequent = "$host_vendor"; then 10193 # Use $CC to link under sequent, because it throws in some extra .o 10194 # files that make .init and .fini sections work. 10195 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10196 else 10197 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10198 fi 10199 hardcode_libdir_flag_spec='-L$libdir' 10200 hardcode_direct=yes 10201 hardcode_minus_L=yes 10202 hardcode_shlibpath_var=no 10203 ;; 10204 10205 sysv4) 10206 case $host_vendor in 10207 sni) 10208 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10209 hardcode_direct=yes # is this really true??? 10210 ;; 10211 siemens) 10212 ## LD is ld it makes a PLAMLIB 10213 ## CC just makes a GrossModule. 10214 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10215 reload_cmds='$CC -r -o $output$reload_objs' 10216 hardcode_direct=no 10217 ;; 10218 motorola) 10219 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10220 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10221 ;; 10222 esac 10223 runpath_var='LD_RUN_PATH' 10224 hardcode_shlibpath_var=no 10225 ;; 10226 10227 sysv4.3*) 10228 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10229 hardcode_shlibpath_var=no 10230 export_dynamic_flag_spec='-Bexport' 10231 ;; 10232 10233 sysv4*MP*) 10234 if test -d /usr/nec; then 10235 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10236 hardcode_shlibpath_var=no 10237 runpath_var=LD_RUN_PATH 10238 hardcode_runpath_var=yes 10239 ld_shlibs=yes 10240 fi 10241 ;; 10242 10243 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10244 no_undefined_flag='$wl-z,text' 10245 archive_cmds_need_lc=no 10246 hardcode_shlibpath_var=no 10247 runpath_var='LD_RUN_PATH' 10248 10249 if test yes = "$GCC"; then 10250 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10251 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10252 else 10253 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10254 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10255 fi 10256 ;; 10257 10258 sysv5* | sco3.2v5* | sco5v6*) 10259 # Note: We CANNOT use -z defs as we might desire, because we do not 10260 # link with -lc, and that would cause any symbols used from libc to 10261 # always be unresolved, which means just about no library would 10262 # ever link correctly. If we're not using GNU ld we use -z text 10263 # though, which does catch some bad symbols but isn't as heavy-handed 10264 # as -z defs. 10265 no_undefined_flag='$wl-z,text' 10266 allow_undefined_flag='$wl-z,nodefs' 10267 archive_cmds_need_lc=no 10268 hardcode_shlibpath_var=no 10269 hardcode_libdir_flag_spec='$wl-R,$libdir' 10270 hardcode_libdir_separator=':' 10271 link_all_deplibs=yes 10272 export_dynamic_flag_spec='$wl-Bexport' 10273 runpath_var='LD_RUN_PATH' 10274 10275 if test yes = "$GCC"; then 10276 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10277 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10278 else 10279 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10280 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10281 fi 10282 ;; 10283 10284 uts4*) 10285 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10286 hardcode_libdir_flag_spec='-L$libdir' 10287 hardcode_shlibpath_var=no 10288 ;; 10289 10290 *) 10291 ld_shlibs=no 10292 ;; 10293 esac 10294 10295 if test sni = "$host_vendor"; then 10296 case $host in 10297 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10298 export_dynamic_flag_spec='$wl-Blargedynsym' 10299 ;; 10300 esac 10301 fi 10302 fi 10303 10304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10305$as_echo "$ld_shlibs" >&6; } 10306test no = "$ld_shlibs" && can_build_shared=no 10307 10308with_gnu_ld=$with_gnu_ld 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324# 10325# Do we need to explicitly link libc? 10326# 10327case "x$archive_cmds_need_lc" in 10328x|xyes) 10329 # Assume -lc should be added 10330 archive_cmds_need_lc=yes 10331 10332 if test yes,yes = "$GCC,$enable_shared"; then 10333 case $archive_cmds in 10334 *'~'*) 10335 # FIXME: we may have to deal with multi-command sequences. 10336 ;; 10337 '$CC '*) 10338 # Test whether the compiler implicitly links with -lc since on some 10339 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10340 # to ld, don't add -lc before -lgcc. 10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10342$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10343if ${lt_cv_archive_cmds_need_lc+:} false; then : 10344 $as_echo_n "(cached) " >&6 10345else 10346 $RM conftest* 10347 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10348 10349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10350 (eval $ac_compile) 2>&5 10351 ac_status=$? 10352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10353 test $ac_status = 0; } 2>conftest.err; then 10354 soname=conftest 10355 lib=conftest 10356 libobjs=conftest.$ac_objext 10357 deplibs= 10358 wl=$lt_prog_compiler_wl 10359 pic_flag=$lt_prog_compiler_pic 10360 compiler_flags=-v 10361 linker_flags=-v 10362 verstring= 10363 output_objdir=. 10364 libname=conftest 10365 lt_save_allow_undefined_flag=$allow_undefined_flag 10366 allow_undefined_flag= 10367 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10368 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10369 ac_status=$? 10370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10371 test $ac_status = 0; } 10372 then 10373 lt_cv_archive_cmds_need_lc=no 10374 else 10375 lt_cv_archive_cmds_need_lc=yes 10376 fi 10377 allow_undefined_flag=$lt_save_allow_undefined_flag 10378 else 10379 cat conftest.err 1>&5 10380 fi 10381 $RM conftest* 10382 10383fi 10384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10385$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10386 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10387 ;; 10388 esac 10389 fi 10390 ;; 10391esac 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10545$as_echo_n "checking dynamic linker characteristics... " >&6; } 10546 10547if test yes = "$GCC"; then 10548 case $host_os in 10549 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10550 *) lt_awk_arg='/^libraries:/' ;; 10551 esac 10552 case $host_os in 10553 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10554 *) lt_sed_strip_eq='s|=/|/|g' ;; 10555 esac 10556 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10557 case $lt_search_path_spec in 10558 *\;*) 10559 # if the path contains ";" then we assume it to be the separator 10560 # otherwise default to the standard path separator (i.e. ":") - it is 10561 # assumed that no part of a normal pathname contains ";" but that should 10562 # okay in the real world where ";" in dirpaths is itself problematic. 10563 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10564 ;; 10565 *) 10566 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10567 ;; 10568 esac 10569 # Ok, now we have the path, separated by spaces, we can step through it 10570 # and add multilib dir if necessary... 10571 lt_tmp_lt_search_path_spec= 10572 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10573 # ...but if some path component already ends with the multilib dir we assume 10574 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10575 case "$lt_multi_os_dir; $lt_search_path_spec " in 10576 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10577 lt_multi_os_dir= 10578 ;; 10579 esac 10580 for lt_sys_path in $lt_search_path_spec; do 10581 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10582 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10583 elif test -n "$lt_multi_os_dir"; then 10584 test -d "$lt_sys_path" && \ 10585 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10586 fi 10587 done 10588 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10589BEGIN {RS = " "; FS = "/|\n";} { 10590 lt_foo = ""; 10591 lt_count = 0; 10592 for (lt_i = NF; lt_i > 0; lt_i--) { 10593 if ($lt_i != "" && $lt_i != ".") { 10594 if ($lt_i == "..") { 10595 lt_count++; 10596 } else { 10597 if (lt_count == 0) { 10598 lt_foo = "/" $lt_i lt_foo; 10599 } else { 10600 lt_count--; 10601 } 10602 } 10603 } 10604 } 10605 if (lt_foo != "") { lt_freq[lt_foo]++; } 10606 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10607}'` 10608 # AWK program above erroneously prepends '/' to C:/dos/paths 10609 # for these hosts. 10610 case $host_os in 10611 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10612 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10613 esac 10614 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10615else 10616 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10617fi 10618library_names_spec= 10619libname_spec='lib$name' 10620soname_spec= 10621shrext_cmds=.so 10622postinstall_cmds= 10623postuninstall_cmds= 10624finish_cmds= 10625finish_eval= 10626shlibpath_var= 10627shlibpath_overrides_runpath=unknown 10628version_type=none 10629dynamic_linker="$host_os ld.so" 10630sys_lib_dlsearch_path_spec="/lib /usr/lib" 10631need_lib_prefix=unknown 10632hardcode_into_libs=no 10633 10634# when you set need_version to no, make sure it does not cause -set_version 10635# flags to be left without arguments 10636need_version=unknown 10637 10638 10639 10640case $host_os in 10641aix3*) 10642 version_type=linux # correct to gnu/linux during the next big refactor 10643 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10644 shlibpath_var=LIBPATH 10645 10646 # AIX 3 has no versioning support, so we append a major version to the name. 10647 soname_spec='$libname$release$shared_ext$major' 10648 ;; 10649 10650aix[4-9]*) 10651 version_type=linux # correct to gnu/linux during the next big refactor 10652 need_lib_prefix=no 10653 need_version=no 10654 hardcode_into_libs=yes 10655 if test ia64 = "$host_cpu"; then 10656 # AIX 5 supports IA64 10657 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10658 shlibpath_var=LD_LIBRARY_PATH 10659 else 10660 # With GCC up to 2.95.x, collect2 would create an import file 10661 # for dependence libraries. The import file would start with 10662 # the line '#! .'. This would cause the generated library to 10663 # depend on '.', always an invalid library. This was fixed in 10664 # development snapshots of GCC prior to 3.0. 10665 case $host_os in 10666 aix4 | aix4.[01] | aix4.[01].*) 10667 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10668 echo ' yes ' 10669 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10670 : 10671 else 10672 can_build_shared=no 10673 fi 10674 ;; 10675 esac 10676 # Using Import Files as archive members, it is possible to support 10677 # filename-based versioning of shared library archives on AIX. While 10678 # this would work for both with and without runtime linking, it will 10679 # prevent static linking of such archives. So we do filename-based 10680 # shared library versioning with .so extension only, which is used 10681 # when both runtime linking and shared linking is enabled. 10682 # Unfortunately, runtime linking may impact performance, so we do 10683 # not want this to be the default eventually. Also, we use the 10684 # versioned .so libs for executables only if there is the -brtl 10685 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10686 # To allow for filename-based versioning support, we need to create 10687 # libNAME.so.V as an archive file, containing: 10688 # *) an Import File, referring to the versioned filename of the 10689 # archive as well as the shared archive member, telling the 10690 # bitwidth (32 or 64) of that shared object, and providing the 10691 # list of exported symbols of that shared object, eventually 10692 # decorated with the 'weak' keyword 10693 # *) the shared object with the F_LOADONLY flag set, to really avoid 10694 # it being seen by the linker. 10695 # At run time we better use the real file rather than another symlink, 10696 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10697 10698 case $with_aix_soname,$aix_use_runtimelinking in 10699 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10700 # soname into executable. Probably we can add versioning support to 10701 # collect2, so additional links can be useful in future. 10702 aix,yes) # traditional libtool 10703 dynamic_linker='AIX unversionable lib.so' 10704 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10705 # instead of lib<name>.a to let people know that these are not 10706 # typical AIX shared libraries. 10707 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10708 ;; 10709 aix,no) # traditional AIX only 10710 dynamic_linker='AIX lib.a(lib.so.V)' 10711 # We preserve .a as extension for shared libraries through AIX4.2 10712 # and later when we are not doing run time linking. 10713 library_names_spec='$libname$release.a $libname.a' 10714 soname_spec='$libname$release$shared_ext$major' 10715 ;; 10716 svr4,*) # full svr4 only 10717 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10718 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10719 # We do not specify a path in Import Files, so LIBPATH fires. 10720 shlibpath_overrides_runpath=yes 10721 ;; 10722 *,yes) # both, prefer svr4 10723 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10724 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10725 # unpreferred sharedlib libNAME.a needs extra handling 10726 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 10727 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 10728 # We do not specify a path in Import Files, so LIBPATH fires. 10729 shlibpath_overrides_runpath=yes 10730 ;; 10731 *,no) # both, prefer aix 10732 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10733 library_names_spec='$libname$release.a $libname.a' 10734 soname_spec='$libname$release$shared_ext$major' 10735 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10736 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 10737 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 10738 ;; 10739 esac 10740 shlibpath_var=LIBPATH 10741 fi 10742 ;; 10743 10744amigaos*) 10745 case $host_cpu in 10746 powerpc) 10747 # Since July 2007 AmigaOS4 officially supports .so libraries. 10748 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10749 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10750 ;; 10751 m68k) 10752 library_names_spec='$libname.ixlibrary $libname.a' 10753 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10754 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 10755 ;; 10756 esac 10757 ;; 10758 10759beos*) 10760 library_names_spec='$libname$shared_ext' 10761 dynamic_linker="$host_os ld.so" 10762 shlibpath_var=LIBRARY_PATH 10763 ;; 10764 10765bsdi[45]*) 10766 version_type=linux # correct to gnu/linux during the next big refactor 10767 need_version=no 10768 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10769 soname_spec='$libname$release$shared_ext$major' 10770 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10771 shlibpath_var=LD_LIBRARY_PATH 10772 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10773 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10774 # the default ld.so.conf also contains /usr/contrib/lib and 10775 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10776 # libtool to hard-code these into programs 10777 ;; 10778 10779cygwin* | mingw* | pw32* | cegcc*) 10780 version_type=windows 10781 shrext_cmds=.dll 10782 need_version=no 10783 need_lib_prefix=no 10784 10785 case $GCC,$cc_basename in 10786 yes,*) 10787 # gcc 10788 library_names_spec='$libname.dll.a' 10789 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10790 postinstall_cmds='base_file=`basename \$file`~ 10791 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10792 dldir=$destdir/`dirname \$dlpath`~ 10793 test -d \$dldir || mkdir -p \$dldir~ 10794 $install_prog $dir/$dlname \$dldir/$dlname~ 10795 chmod a+x \$dldir/$dlname~ 10796 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10797 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10798 fi' 10799 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10800 dlpath=$dir/\$dldll~ 10801 $RM \$dlpath' 10802 shlibpath_overrides_runpath=yes 10803 10804 case $host_os in 10805 cygwin*) 10806 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10807 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10808 10809 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10810 ;; 10811 mingw* | cegcc*) 10812 # MinGW DLLs use traditional 'lib' prefix 10813 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10814 ;; 10815 pw32*) 10816 # pw32 DLLs use 'pw' prefix rather than 'lib' 10817 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10818 ;; 10819 esac 10820 dynamic_linker='Win32 ld.exe' 10821 ;; 10822 10823 *,cl*) 10824 # Native MSVC 10825 libname_spec='$name' 10826 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10827 library_names_spec='$libname.dll.lib' 10828 10829 case $build_os in 10830 mingw*) 10831 sys_lib_search_path_spec= 10832 lt_save_ifs=$IFS 10833 IFS=';' 10834 for lt_path in $LIB 10835 do 10836 IFS=$lt_save_ifs 10837 # Let DOS variable expansion print the short 8.3 style file name. 10838 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10839 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10840 done 10841 IFS=$lt_save_ifs 10842 # Convert to MSYS style. 10843 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10844 ;; 10845 cygwin*) 10846 # Convert to unix form, then to dos form, then back to unix form 10847 # but this time dos style (no spaces!) so that the unix form looks 10848 # like /cygdrive/c/PROGRA~1:/cygdr... 10849 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10850 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10851 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10852 ;; 10853 *) 10854 sys_lib_search_path_spec=$LIB 10855 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10856 # It is most probably a Windows format PATH. 10857 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10858 else 10859 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10860 fi 10861 # FIXME: find the short name or the path components, as spaces are 10862 # common. (e.g. "Program Files" -> "PROGRA~1") 10863 ;; 10864 esac 10865 10866 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10867 postinstall_cmds='base_file=`basename \$file`~ 10868 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10869 dldir=$destdir/`dirname \$dlpath`~ 10870 test -d \$dldir || mkdir -p \$dldir~ 10871 $install_prog $dir/$dlname \$dldir/$dlname' 10872 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10873 dlpath=$dir/\$dldll~ 10874 $RM \$dlpath' 10875 shlibpath_overrides_runpath=yes 10876 dynamic_linker='Win32 link.exe' 10877 ;; 10878 10879 *) 10880 # Assume MSVC wrapper 10881 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10882 dynamic_linker='Win32 ld.exe' 10883 ;; 10884 esac 10885 # FIXME: first we should search . and the directory the executable is in 10886 shlibpath_var=PATH 10887 ;; 10888 10889darwin* | rhapsody*) 10890 dynamic_linker="$host_os dyld" 10891 version_type=darwin 10892 need_lib_prefix=no 10893 need_version=no 10894 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10895 soname_spec='$libname$release$major$shared_ext' 10896 shlibpath_overrides_runpath=yes 10897 shlibpath_var=DYLD_LIBRARY_PATH 10898 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10899 10900 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10901 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10902 ;; 10903 10904dgux*) 10905 version_type=linux # correct to gnu/linux during the next big refactor 10906 need_lib_prefix=no 10907 need_version=no 10908 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10909 soname_spec='$libname$release$shared_ext$major' 10910 shlibpath_var=LD_LIBRARY_PATH 10911 ;; 10912 10913freebsd* | dragonfly*) 10914 # DragonFly does not have aout. When/if they implement a new 10915 # versioning mechanism, adjust this. 10916 if test -x /usr/bin/objformat; then 10917 objformat=`/usr/bin/objformat` 10918 else 10919 case $host_os in 10920 freebsd[23].*) objformat=aout ;; 10921 *) objformat=elf ;; 10922 esac 10923 fi 10924 version_type=freebsd-$objformat 10925 case $version_type in 10926 freebsd-elf*) 10927 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10928 soname_spec='$libname$release$shared_ext$major' 10929 need_version=no 10930 need_lib_prefix=no 10931 ;; 10932 freebsd-*) 10933 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10934 need_version=yes 10935 ;; 10936 esac 10937 shlibpath_var=LD_LIBRARY_PATH 10938 case $host_os in 10939 freebsd2.*) 10940 shlibpath_overrides_runpath=yes 10941 ;; 10942 freebsd3.[01]* | freebsdelf3.[01]*) 10943 shlibpath_overrides_runpath=yes 10944 hardcode_into_libs=yes 10945 ;; 10946 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10947 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10948 shlibpath_overrides_runpath=no 10949 hardcode_into_libs=yes 10950 ;; 10951 *) # from 4.6 on, and DragonFly 10952 shlibpath_overrides_runpath=yes 10953 hardcode_into_libs=yes 10954 ;; 10955 esac 10956 ;; 10957 10958haiku*) 10959 version_type=linux # correct to gnu/linux during the next big refactor 10960 need_lib_prefix=no 10961 need_version=no 10962 dynamic_linker="$host_os runtime_loader" 10963 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10964 soname_spec='$libname$release$shared_ext$major' 10965 shlibpath_var=LIBRARY_PATH 10966 shlibpath_overrides_runpath=no 10967 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10968 hardcode_into_libs=yes 10969 ;; 10970 10971hpux9* | hpux10* | hpux11*) 10972 # Give a soname corresponding to the major version so that dld.sl refuses to 10973 # link against other versions. 10974 version_type=sunos 10975 need_lib_prefix=no 10976 need_version=no 10977 case $host_cpu in 10978 ia64*) 10979 shrext_cmds='.so' 10980 hardcode_into_libs=yes 10981 dynamic_linker="$host_os dld.so" 10982 shlibpath_var=LD_LIBRARY_PATH 10983 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10984 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10985 soname_spec='$libname$release$shared_ext$major' 10986 if test 32 = "$HPUX_IA64_MODE"; then 10987 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10988 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 10989 else 10990 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10991 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 10992 fi 10993 ;; 10994 hppa*64*) 10995 shrext_cmds='.sl' 10996 hardcode_into_libs=yes 10997 dynamic_linker="$host_os dld.sl" 10998 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10999 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11000 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11001 soname_spec='$libname$release$shared_ext$major' 11002 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11003 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11004 ;; 11005 *) 11006 shrext_cmds='.sl' 11007 dynamic_linker="$host_os dld.sl" 11008 shlibpath_var=SHLIB_PATH 11009 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11010 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11011 soname_spec='$libname$release$shared_ext$major' 11012 ;; 11013 esac 11014 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11015 postinstall_cmds='chmod 555 $lib' 11016 # or fails outright, so override atomically: 11017 install_override_mode=555 11018 ;; 11019 11020interix[3-9]*) 11021 version_type=linux # correct to gnu/linux during the next big refactor 11022 need_lib_prefix=no 11023 need_version=no 11024 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11025 soname_spec='$libname$release$shared_ext$major' 11026 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11027 shlibpath_var=LD_LIBRARY_PATH 11028 shlibpath_overrides_runpath=no 11029 hardcode_into_libs=yes 11030 ;; 11031 11032irix5* | irix6* | nonstopux*) 11033 case $host_os in 11034 nonstopux*) version_type=nonstopux ;; 11035 *) 11036 if test yes = "$lt_cv_prog_gnu_ld"; then 11037 version_type=linux # correct to gnu/linux during the next big refactor 11038 else 11039 version_type=irix 11040 fi ;; 11041 esac 11042 need_lib_prefix=no 11043 need_version=no 11044 soname_spec='$libname$release$shared_ext$major' 11045 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11046 case $host_os in 11047 irix5* | nonstopux*) 11048 libsuff= shlibsuff= 11049 ;; 11050 *) 11051 case $LD in # libtool.m4 will add one of these switches to LD 11052 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11053 libsuff= shlibsuff= libmagic=32-bit;; 11054 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11055 libsuff=32 shlibsuff=N32 libmagic=N32;; 11056 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11057 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11058 *) libsuff= shlibsuff= libmagic=never-match;; 11059 esac 11060 ;; 11061 esac 11062 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11063 shlibpath_overrides_runpath=no 11064 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11065 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11066 hardcode_into_libs=yes 11067 ;; 11068 11069# No shared lib support for Linux oldld, aout, or coff. 11070linux*oldld* | linux*aout* | linux*coff*) 11071 dynamic_linker=no 11072 ;; 11073 11074linux*android*) 11075 version_type=none # Android doesn't support versioned libraries. 11076 need_lib_prefix=no 11077 need_version=no 11078 library_names_spec='$libname$release$shared_ext' 11079 soname_spec='$libname$release$shared_ext' 11080 finish_cmds= 11081 shlibpath_var=LD_LIBRARY_PATH 11082 shlibpath_overrides_runpath=yes 11083 11084 # This implies no fast_install, which is unacceptable. 11085 # Some rework will be needed to allow for fast_install 11086 # before this can be enabled. 11087 hardcode_into_libs=yes 11088 11089 dynamic_linker='Android linker' 11090 # Don't embed -rpath directories since the linker doesn't support them. 11091 hardcode_libdir_flag_spec='-L$libdir' 11092 ;; 11093 11094# This must be glibc/ELF. 11095linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11096 version_type=linux # correct to gnu/linux during the next big refactor 11097 need_lib_prefix=no 11098 need_version=no 11099 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11100 soname_spec='$libname$release$shared_ext$major' 11101 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11102 shlibpath_var=LD_LIBRARY_PATH 11103 shlibpath_overrides_runpath=no 11104 11105 # Some binutils ld are patched to set DT_RUNPATH 11106 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11107 $as_echo_n "(cached) " >&6 11108else 11109 lt_cv_shlibpath_overrides_runpath=no 11110 save_LDFLAGS=$LDFLAGS 11111 save_libdir=$libdir 11112 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11113 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11115/* end confdefs.h. */ 11116 11117int 11118main () 11119{ 11120 11121 ; 11122 return 0; 11123} 11124_ACEOF 11125if ac_fn_c_try_link "$LINENO"; then : 11126 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11127 lt_cv_shlibpath_overrides_runpath=yes 11128fi 11129fi 11130rm -f core conftest.err conftest.$ac_objext \ 11131 conftest$ac_exeext conftest.$ac_ext 11132 LDFLAGS=$save_LDFLAGS 11133 libdir=$save_libdir 11134 11135fi 11136 11137 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11138 11139 # This implies no fast_install, which is unacceptable. 11140 # Some rework will be needed to allow for fast_install 11141 # before this can be enabled. 11142 hardcode_into_libs=yes 11143 11144 # Ideally, we could use ldconfig to report *all* directores which are 11145 # searched for libraries, however this is still not possible. Aside from not 11146 # being certain /sbin/ldconfig is available, command 11147 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11148 # even though it is searched at run-time. Try to do the best guess by 11149 # appending ld.so.conf contents (and includes) to the search path. 11150 if test -f /etc/ld.so.conf; then 11151 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' ' '` 11152 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11153 fi 11154 11155 # We used to test for /lib/ld.so.1 and disable shared libraries on 11156 # powerpc, because MkLinux only supported shared libraries with the 11157 # GNU dynamic linker. Since this was broken with cross compilers, 11158 # most powerpc-linux boxes support dynamic linking these days and 11159 # people can always --disable-shared, the test was removed, and we 11160 # assume the GNU/Linux dynamic linker is in use. 11161 dynamic_linker='GNU/Linux ld.so' 11162 ;; 11163 11164netbsdelf*-gnu) 11165 version_type=linux 11166 need_lib_prefix=no 11167 need_version=no 11168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11169 soname_spec='${libname}${release}${shared_ext}$major' 11170 shlibpath_var=LD_LIBRARY_PATH 11171 shlibpath_overrides_runpath=no 11172 hardcode_into_libs=yes 11173 dynamic_linker='NetBSD ld.elf_so' 11174 ;; 11175 11176netbsd*) 11177 version_type=sunos 11178 need_lib_prefix=no 11179 need_version=no 11180 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11181 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11182 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11183 dynamic_linker='NetBSD (a.out) ld.so' 11184 else 11185 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11186 soname_spec='$libname$release$shared_ext$major' 11187 dynamic_linker='NetBSD ld.elf_so' 11188 fi 11189 shlibpath_var=LD_LIBRARY_PATH 11190 shlibpath_overrides_runpath=yes 11191 hardcode_into_libs=yes 11192 ;; 11193 11194newsos6) 11195 version_type=linux # correct to gnu/linux during the next big refactor 11196 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11197 shlibpath_var=LD_LIBRARY_PATH 11198 shlibpath_overrides_runpath=yes 11199 ;; 11200 11201*nto* | *qnx*) 11202 version_type=qnx 11203 need_lib_prefix=no 11204 need_version=no 11205 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11206 soname_spec='$libname$release$shared_ext$major' 11207 shlibpath_var=LD_LIBRARY_PATH 11208 shlibpath_overrides_runpath=no 11209 hardcode_into_libs=yes 11210 dynamic_linker='ldqnx.so' 11211 ;; 11212 11213openbsd* | bitrig*) 11214 version_type=sunos 11215 sys_lib_dlsearch_path_spec=/usr/lib 11216 need_lib_prefix=no 11217 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11218 need_version=no 11219 else 11220 need_version=yes 11221 fi 11222 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11223 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11224 shlibpath_var=LD_LIBRARY_PATH 11225 shlibpath_overrides_runpath=yes 11226 ;; 11227 11228os2*) 11229 libname_spec='$name' 11230 version_type=windows 11231 shrext_cmds=.dll 11232 need_version=no 11233 need_lib_prefix=no 11234 # OS/2 can only load a DLL with a base name of 8 characters or less. 11235 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11236 v=$($ECHO $release$versuffix | tr -d .-); 11237 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11238 $ECHO $n$v`$shared_ext' 11239 library_names_spec='${libname}_dll.$libext' 11240 dynamic_linker='OS/2 ld.exe' 11241 shlibpath_var=BEGINLIBPATH 11242 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11243 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11244 postinstall_cmds='base_file=`basename \$file`~ 11245 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11246 dldir=$destdir/`dirname \$dlpath`~ 11247 test -d \$dldir || mkdir -p \$dldir~ 11248 $install_prog $dir/$dlname \$dldir/$dlname~ 11249 chmod a+x \$dldir/$dlname~ 11250 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11251 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11252 fi' 11253 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11254 dlpath=$dir/\$dldll~ 11255 $RM \$dlpath' 11256 ;; 11257 11258osf3* | osf4* | osf5*) 11259 version_type=osf 11260 need_lib_prefix=no 11261 need_version=no 11262 soname_spec='$libname$release$shared_ext$major' 11263 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11264 shlibpath_var=LD_LIBRARY_PATH 11265 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11266 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11267 ;; 11268 11269rdos*) 11270 dynamic_linker=no 11271 ;; 11272 11273solaris*) 11274 version_type=linux # correct to gnu/linux during the next big refactor 11275 need_lib_prefix=no 11276 need_version=no 11277 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11278 soname_spec='$libname$release$shared_ext$major' 11279 shlibpath_var=LD_LIBRARY_PATH 11280 shlibpath_overrides_runpath=yes 11281 hardcode_into_libs=yes 11282 # ldd complains unless libraries are executable 11283 postinstall_cmds='chmod +x $lib' 11284 ;; 11285 11286sunos4*) 11287 version_type=sunos 11288 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11289 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11290 shlibpath_var=LD_LIBRARY_PATH 11291 shlibpath_overrides_runpath=yes 11292 if test yes = "$with_gnu_ld"; then 11293 need_lib_prefix=no 11294 fi 11295 need_version=yes 11296 ;; 11297 11298sysv4 | sysv4.3*) 11299 version_type=linux # correct to gnu/linux during the next big refactor 11300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11301 soname_spec='$libname$release$shared_ext$major' 11302 shlibpath_var=LD_LIBRARY_PATH 11303 case $host_vendor in 11304 sni) 11305 shlibpath_overrides_runpath=no 11306 need_lib_prefix=no 11307 runpath_var=LD_RUN_PATH 11308 ;; 11309 siemens) 11310 need_lib_prefix=no 11311 ;; 11312 motorola) 11313 need_lib_prefix=no 11314 need_version=no 11315 shlibpath_overrides_runpath=no 11316 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11317 ;; 11318 esac 11319 ;; 11320 11321sysv4*MP*) 11322 if test -d /usr/nec; then 11323 version_type=linux # correct to gnu/linux during the next big refactor 11324 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11325 soname_spec='$libname$shared_ext.$major' 11326 shlibpath_var=LD_LIBRARY_PATH 11327 fi 11328 ;; 11329 11330sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11331 version_type=sco 11332 need_lib_prefix=no 11333 need_version=no 11334 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11335 soname_spec='$libname$release$shared_ext$major' 11336 shlibpath_var=LD_LIBRARY_PATH 11337 shlibpath_overrides_runpath=yes 11338 hardcode_into_libs=yes 11339 if test yes = "$with_gnu_ld"; then 11340 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11341 else 11342 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11343 case $host_os in 11344 sco3.2v5*) 11345 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11346 ;; 11347 esac 11348 fi 11349 sys_lib_dlsearch_path_spec='/usr/lib' 11350 ;; 11351 11352tpf*) 11353 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11354 version_type=linux # correct to gnu/linux during the next big refactor 11355 need_lib_prefix=no 11356 need_version=no 11357 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11358 shlibpath_var=LD_LIBRARY_PATH 11359 shlibpath_overrides_runpath=no 11360 hardcode_into_libs=yes 11361 ;; 11362 11363uts4*) 11364 version_type=linux # correct to gnu/linux during the next big refactor 11365 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11366 soname_spec='$libname$release$shared_ext$major' 11367 shlibpath_var=LD_LIBRARY_PATH 11368 ;; 11369 11370*) 11371 dynamic_linker=no 11372 ;; 11373esac 11374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11375$as_echo "$dynamic_linker" >&6; } 11376test no = "$dynamic_linker" && can_build_shared=no 11377 11378variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11379if test yes = "$GCC"; then 11380 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11381fi 11382 11383if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11384 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11385fi 11386 11387if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11388 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11389fi 11390 11391# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11392configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11393 11394# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11395func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11396 11397# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11398configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11497$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11498hardcode_action= 11499if test -n "$hardcode_libdir_flag_spec" || 11500 test -n "$runpath_var" || 11501 test yes = "$hardcode_automatic"; then 11502 11503 # We can hardcode non-existent directories. 11504 if test no != "$hardcode_direct" && 11505 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11506 # have to relink, otherwise we might link with an installed library 11507 # when we should be linking with a yet-to-be-installed one 11508 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11509 test no != "$hardcode_minus_L"; then 11510 # Linking always hardcodes the temporary library directory. 11511 hardcode_action=relink 11512 else 11513 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11514 hardcode_action=immediate 11515 fi 11516else 11517 # We cannot hardcode anything, or else we can only hardcode existing 11518 # directories. 11519 hardcode_action=unsupported 11520fi 11521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11522$as_echo "$hardcode_action" >&6; } 11523 11524if test relink = "$hardcode_action" || 11525 test yes = "$inherit_rpath"; then 11526 # Fast installation is not supported 11527 enable_fast_install=no 11528elif test yes = "$shlibpath_overrides_runpath" || 11529 test no = "$enable_shared"; then 11530 # Fast installation is not necessary 11531 enable_fast_install=needless 11532fi 11533 11534 11535 11536 11537 11538 11539 if test yes != "$enable_dlopen"; then 11540 enable_dlopen=unknown 11541 enable_dlopen_self=unknown 11542 enable_dlopen_self_static=unknown 11543else 11544 lt_cv_dlopen=no 11545 lt_cv_dlopen_libs= 11546 11547 case $host_os in 11548 beos*) 11549 lt_cv_dlopen=load_add_on 11550 lt_cv_dlopen_libs= 11551 lt_cv_dlopen_self=yes 11552 ;; 11553 11554 mingw* | pw32* | cegcc*) 11555 lt_cv_dlopen=LoadLibrary 11556 lt_cv_dlopen_libs= 11557 ;; 11558 11559 cygwin*) 11560 lt_cv_dlopen=dlopen 11561 lt_cv_dlopen_libs= 11562 ;; 11563 11564 darwin*) 11565 # if libdl is installed we need to link against it 11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11567$as_echo_n "checking for dlopen in -ldl... " >&6; } 11568if ${ac_cv_lib_dl_dlopen+:} false; then : 11569 $as_echo_n "(cached) " >&6 11570else 11571 ac_check_lib_save_LIBS=$LIBS 11572LIBS="-ldl $LIBS" 11573cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11574/* end confdefs.h. */ 11575 11576/* Override any GCC internal prototype to avoid an error. 11577 Use char because int might match the return type of a GCC 11578 builtin and then its argument prototype would still apply. */ 11579#ifdef __cplusplus 11580extern "C" 11581#endif 11582char dlopen (); 11583int 11584main () 11585{ 11586return dlopen (); 11587 ; 11588 return 0; 11589} 11590_ACEOF 11591if ac_fn_c_try_link "$LINENO"; then : 11592 ac_cv_lib_dl_dlopen=yes 11593else 11594 ac_cv_lib_dl_dlopen=no 11595fi 11596rm -f core conftest.err conftest.$ac_objext \ 11597 conftest$ac_exeext conftest.$ac_ext 11598LIBS=$ac_check_lib_save_LIBS 11599fi 11600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11601$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11602if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11603 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11604else 11605 11606 lt_cv_dlopen=dyld 11607 lt_cv_dlopen_libs= 11608 lt_cv_dlopen_self=yes 11609 11610fi 11611 11612 ;; 11613 11614 tpf*) 11615 # Don't try to run any link tests for TPF. We know it's impossible 11616 # because TPF is a cross-compiler, and we know how we open DSOs. 11617 lt_cv_dlopen=dlopen 11618 lt_cv_dlopen_libs= 11619 lt_cv_dlopen_self=no 11620 ;; 11621 11622 *) 11623 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11624if test "x$ac_cv_func_shl_load" = xyes; then : 11625 lt_cv_dlopen=shl_load 11626else 11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11628$as_echo_n "checking for shl_load in -ldld... " >&6; } 11629if ${ac_cv_lib_dld_shl_load+:} false; then : 11630 $as_echo_n "(cached) " >&6 11631else 11632 ac_check_lib_save_LIBS=$LIBS 11633LIBS="-ldld $LIBS" 11634cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11635/* end confdefs.h. */ 11636 11637/* Override any GCC internal prototype to avoid an error. 11638 Use char because int might match the return type of a GCC 11639 builtin and then its argument prototype would still apply. */ 11640#ifdef __cplusplus 11641extern "C" 11642#endif 11643char shl_load (); 11644int 11645main () 11646{ 11647return shl_load (); 11648 ; 11649 return 0; 11650} 11651_ACEOF 11652if ac_fn_c_try_link "$LINENO"; then : 11653 ac_cv_lib_dld_shl_load=yes 11654else 11655 ac_cv_lib_dld_shl_load=no 11656fi 11657rm -f core conftest.err conftest.$ac_objext \ 11658 conftest$ac_exeext conftest.$ac_ext 11659LIBS=$ac_check_lib_save_LIBS 11660fi 11661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11662$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11663if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11664 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11665else 11666 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11667if test "x$ac_cv_func_dlopen" = xyes; then : 11668 lt_cv_dlopen=dlopen 11669else 11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11671$as_echo_n "checking for dlopen in -ldl... " >&6; } 11672if ${ac_cv_lib_dl_dlopen+:} false; then : 11673 $as_echo_n "(cached) " >&6 11674else 11675 ac_check_lib_save_LIBS=$LIBS 11676LIBS="-ldl $LIBS" 11677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11678/* end confdefs.h. */ 11679 11680/* Override any GCC internal prototype to avoid an error. 11681 Use char because int might match the return type of a GCC 11682 builtin and then its argument prototype would still apply. */ 11683#ifdef __cplusplus 11684extern "C" 11685#endif 11686char dlopen (); 11687int 11688main () 11689{ 11690return dlopen (); 11691 ; 11692 return 0; 11693} 11694_ACEOF 11695if ac_fn_c_try_link "$LINENO"; then : 11696 ac_cv_lib_dl_dlopen=yes 11697else 11698 ac_cv_lib_dl_dlopen=no 11699fi 11700rm -f core conftest.err conftest.$ac_objext \ 11701 conftest$ac_exeext conftest.$ac_ext 11702LIBS=$ac_check_lib_save_LIBS 11703fi 11704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11705$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11706if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11707 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11708else 11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11710$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11711if ${ac_cv_lib_svld_dlopen+:} false; then : 11712 $as_echo_n "(cached) " >&6 11713else 11714 ac_check_lib_save_LIBS=$LIBS 11715LIBS="-lsvld $LIBS" 11716cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11717/* end confdefs.h. */ 11718 11719/* Override any GCC internal prototype to avoid an error. 11720 Use char because int might match the return type of a GCC 11721 builtin and then its argument prototype would still apply. */ 11722#ifdef __cplusplus 11723extern "C" 11724#endif 11725char dlopen (); 11726int 11727main () 11728{ 11729return dlopen (); 11730 ; 11731 return 0; 11732} 11733_ACEOF 11734if ac_fn_c_try_link "$LINENO"; then : 11735 ac_cv_lib_svld_dlopen=yes 11736else 11737 ac_cv_lib_svld_dlopen=no 11738fi 11739rm -f core conftest.err conftest.$ac_objext \ 11740 conftest$ac_exeext conftest.$ac_ext 11741LIBS=$ac_check_lib_save_LIBS 11742fi 11743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11744$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11745if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11746 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11747else 11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11749$as_echo_n "checking for dld_link in -ldld... " >&6; } 11750if ${ac_cv_lib_dld_dld_link+:} false; then : 11751 $as_echo_n "(cached) " >&6 11752else 11753 ac_check_lib_save_LIBS=$LIBS 11754LIBS="-ldld $LIBS" 11755cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11756/* end confdefs.h. */ 11757 11758/* Override any GCC internal prototype to avoid an error. 11759 Use char because int might match the return type of a GCC 11760 builtin and then its argument prototype would still apply. */ 11761#ifdef __cplusplus 11762extern "C" 11763#endif 11764char dld_link (); 11765int 11766main () 11767{ 11768return dld_link (); 11769 ; 11770 return 0; 11771} 11772_ACEOF 11773if ac_fn_c_try_link "$LINENO"; then : 11774 ac_cv_lib_dld_dld_link=yes 11775else 11776 ac_cv_lib_dld_dld_link=no 11777fi 11778rm -f core conftest.err conftest.$ac_objext \ 11779 conftest$ac_exeext conftest.$ac_ext 11780LIBS=$ac_check_lib_save_LIBS 11781fi 11782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11783$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11784if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11785 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11786fi 11787 11788 11789fi 11790 11791 11792fi 11793 11794 11795fi 11796 11797 11798fi 11799 11800 11801fi 11802 11803 ;; 11804 esac 11805 11806 if test no = "$lt_cv_dlopen"; then 11807 enable_dlopen=no 11808 else 11809 enable_dlopen=yes 11810 fi 11811 11812 case $lt_cv_dlopen in 11813 dlopen) 11814 save_CPPFLAGS=$CPPFLAGS 11815 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11816 11817 save_LDFLAGS=$LDFLAGS 11818 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11819 11820 save_LIBS=$LIBS 11821 LIBS="$lt_cv_dlopen_libs $LIBS" 11822 11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11824$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11825if ${lt_cv_dlopen_self+:} false; then : 11826 $as_echo_n "(cached) " >&6 11827else 11828 if test yes = "$cross_compiling"; then : 11829 lt_cv_dlopen_self=cross 11830else 11831 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11832 lt_status=$lt_dlunknown 11833 cat > conftest.$ac_ext <<_LT_EOF 11834#line $LINENO "configure" 11835#include "confdefs.h" 11836 11837#if HAVE_DLFCN_H 11838#include <dlfcn.h> 11839#endif 11840 11841#include <stdio.h> 11842 11843#ifdef RTLD_GLOBAL 11844# define LT_DLGLOBAL RTLD_GLOBAL 11845#else 11846# ifdef DL_GLOBAL 11847# define LT_DLGLOBAL DL_GLOBAL 11848# else 11849# define LT_DLGLOBAL 0 11850# endif 11851#endif 11852 11853/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11854 find out it does not work in some platform. */ 11855#ifndef LT_DLLAZY_OR_NOW 11856# ifdef RTLD_LAZY 11857# define LT_DLLAZY_OR_NOW RTLD_LAZY 11858# else 11859# ifdef DL_LAZY 11860# define LT_DLLAZY_OR_NOW DL_LAZY 11861# else 11862# ifdef RTLD_NOW 11863# define LT_DLLAZY_OR_NOW RTLD_NOW 11864# else 11865# ifdef DL_NOW 11866# define LT_DLLAZY_OR_NOW DL_NOW 11867# else 11868# define LT_DLLAZY_OR_NOW 0 11869# endif 11870# endif 11871# endif 11872# endif 11873#endif 11874 11875/* When -fvisibility=hidden is used, assume the code has been annotated 11876 correspondingly for the symbols needed. */ 11877#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11878int fnord () __attribute__((visibility("default"))); 11879#endif 11880 11881int fnord () { return 42; } 11882int main () 11883{ 11884 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11885 int status = $lt_dlunknown; 11886 11887 if (self) 11888 { 11889 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11890 else 11891 { 11892 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11893 else puts (dlerror ()); 11894 } 11895 /* dlclose (self); */ 11896 } 11897 else 11898 puts (dlerror ()); 11899 11900 return status; 11901} 11902_LT_EOF 11903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11904 (eval $ac_link) 2>&5 11905 ac_status=$? 11906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11907 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11908 (./conftest; exit; ) >&5 2>/dev/null 11909 lt_status=$? 11910 case x$lt_status in 11911 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11912 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11913 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11914 esac 11915 else : 11916 # compilation failed 11917 lt_cv_dlopen_self=no 11918 fi 11919fi 11920rm -fr conftest* 11921 11922 11923fi 11924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11925$as_echo "$lt_cv_dlopen_self" >&6; } 11926 11927 if test yes = "$lt_cv_dlopen_self"; then 11928 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11930$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11931if ${lt_cv_dlopen_self_static+:} false; then : 11932 $as_echo_n "(cached) " >&6 11933else 11934 if test yes = "$cross_compiling"; then : 11935 lt_cv_dlopen_self_static=cross 11936else 11937 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11938 lt_status=$lt_dlunknown 11939 cat > conftest.$ac_ext <<_LT_EOF 11940#line $LINENO "configure" 11941#include "confdefs.h" 11942 11943#if HAVE_DLFCN_H 11944#include <dlfcn.h> 11945#endif 11946 11947#include <stdio.h> 11948 11949#ifdef RTLD_GLOBAL 11950# define LT_DLGLOBAL RTLD_GLOBAL 11951#else 11952# ifdef DL_GLOBAL 11953# define LT_DLGLOBAL DL_GLOBAL 11954# else 11955# define LT_DLGLOBAL 0 11956# endif 11957#endif 11958 11959/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11960 find out it does not work in some platform. */ 11961#ifndef LT_DLLAZY_OR_NOW 11962# ifdef RTLD_LAZY 11963# define LT_DLLAZY_OR_NOW RTLD_LAZY 11964# else 11965# ifdef DL_LAZY 11966# define LT_DLLAZY_OR_NOW DL_LAZY 11967# else 11968# ifdef RTLD_NOW 11969# define LT_DLLAZY_OR_NOW RTLD_NOW 11970# else 11971# ifdef DL_NOW 11972# define LT_DLLAZY_OR_NOW DL_NOW 11973# else 11974# define LT_DLLAZY_OR_NOW 0 11975# endif 11976# endif 11977# endif 11978# endif 11979#endif 11980 11981/* When -fvisibility=hidden is used, assume the code has been annotated 11982 correspondingly for the symbols needed. */ 11983#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11984int fnord () __attribute__((visibility("default"))); 11985#endif 11986 11987int fnord () { return 42; } 11988int main () 11989{ 11990 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11991 int status = $lt_dlunknown; 11992 11993 if (self) 11994 { 11995 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11996 else 11997 { 11998 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11999 else puts (dlerror ()); 12000 } 12001 /* dlclose (self); */ 12002 } 12003 else 12004 puts (dlerror ()); 12005 12006 return status; 12007} 12008_LT_EOF 12009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12010 (eval $ac_link) 2>&5 12011 ac_status=$? 12012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12013 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12014 (./conftest; exit; ) >&5 2>/dev/null 12015 lt_status=$? 12016 case x$lt_status in 12017 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12018 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12019 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12020 esac 12021 else : 12022 # compilation failed 12023 lt_cv_dlopen_self_static=no 12024 fi 12025fi 12026rm -fr conftest* 12027 12028 12029fi 12030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12031$as_echo "$lt_cv_dlopen_self_static" >&6; } 12032 fi 12033 12034 CPPFLAGS=$save_CPPFLAGS 12035 LDFLAGS=$save_LDFLAGS 12036 LIBS=$save_LIBS 12037 ;; 12038 esac 12039 12040 case $lt_cv_dlopen_self in 12041 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12042 *) enable_dlopen_self=unknown ;; 12043 esac 12044 12045 case $lt_cv_dlopen_self_static in 12046 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12047 *) enable_dlopen_self_static=unknown ;; 12048 esac 12049fi 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067striplib= 12068old_striplib= 12069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12070$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12071if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12072 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12073 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12075$as_echo "yes" >&6; } 12076else 12077# FIXME - insert some real tests, host_os isn't really good enough 12078 case $host_os in 12079 darwin*) 12080 if test -n "$STRIP"; then 12081 striplib="$STRIP -x" 12082 old_striplib="$STRIP -S" 12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12084$as_echo "yes" >&6; } 12085 else 12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12087$as_echo "no" >&6; } 12088 fi 12089 ;; 12090 *) 12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12092$as_echo "no" >&6; } 12093 ;; 12094 esac 12095fi 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 # Report what library types will actually be built 12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12110$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12112$as_echo "$can_build_shared" >&6; } 12113 12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12115$as_echo_n "checking whether to build shared libraries... " >&6; } 12116 test no = "$can_build_shared" && enable_shared=no 12117 12118 # On AIX, shared libraries and static libraries use the same namespace, and 12119 # are all built from PIC. 12120 case $host_os in 12121 aix3*) 12122 test yes = "$enable_shared" && enable_static=no 12123 if test -n "$RANLIB"; then 12124 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12125 postinstall_cmds='$RANLIB $lib' 12126 fi 12127 ;; 12128 12129 aix[4-9]*) 12130 if test ia64 != "$host_cpu"; then 12131 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12132 yes,aix,yes) ;; # shared object as lib.so file only 12133 yes,svr4,*) ;; # shared object as lib.so archive member only 12134 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12135 esac 12136 fi 12137 ;; 12138 esac 12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12140$as_echo "$enable_shared" >&6; } 12141 12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12143$as_echo_n "checking whether to build static libraries... " >&6; } 12144 # Make sure either enable_shared or enable_static is yes. 12145 test yes = "$enable_shared" || enable_static=yes 12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12147$as_echo "$enable_static" >&6; } 12148 12149 12150 12151 12152fi 12153ac_ext=c 12154ac_cpp='$CPP $CPPFLAGS' 12155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12157ac_compiler_gnu=$ac_cv_c_compiler_gnu 12158 12159CC=$lt_save_CC 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 ac_config_commands="$ac_config_commands libtool" 12176 12177 12178 12179 12180# Only expand once: 12181 12182 12183 12184 12185 12186gtk_dependency="gtk+-3.0 >= 3.18.0" 12187glib_dependency="glib-2.0 >= 2.44" 12188 12189 12190 12191 12192 12193 12194 12195 12196if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12197 if test -n "$ac_tool_prefix"; then 12198 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12199set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12201$as_echo_n "checking for $ac_word... " >&6; } 12202if ${ac_cv_path_PKG_CONFIG+:} false; then : 12203 $as_echo_n "(cached) " >&6 12204else 12205 case $PKG_CONFIG in 12206 [\\/]* | ?:[\\/]*) 12207 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12208 ;; 12209 *) 12210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12211for as_dir in $PATH 12212do 12213 IFS=$as_save_IFS 12214 test -z "$as_dir" && as_dir=. 12215 for ac_exec_ext in '' $ac_executable_extensions; do 12216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12217 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12219 break 2 12220 fi 12221done 12222 done 12223IFS=$as_save_IFS 12224 12225 ;; 12226esac 12227fi 12228PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12229if test -n "$PKG_CONFIG"; then 12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12231$as_echo "$PKG_CONFIG" >&6; } 12232else 12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12234$as_echo "no" >&6; } 12235fi 12236 12237 12238fi 12239if test -z "$ac_cv_path_PKG_CONFIG"; then 12240 ac_pt_PKG_CONFIG=$PKG_CONFIG 12241 # Extract the first word of "pkg-config", so it can be a program name with args. 12242set dummy pkg-config; ac_word=$2 12243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12244$as_echo_n "checking for $ac_word... " >&6; } 12245if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 12246 $as_echo_n "(cached) " >&6 12247else 12248 case $ac_pt_PKG_CONFIG in 12249 [\\/]* | ?:[\\/]*) 12250 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12251 ;; 12252 *) 12253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12254for as_dir in $PATH 12255do 12256 IFS=$as_save_IFS 12257 test -z "$as_dir" && as_dir=. 12258 for ac_exec_ext in '' $ac_executable_extensions; do 12259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12260 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12262 break 2 12263 fi 12264done 12265 done 12266IFS=$as_save_IFS 12267 12268 ;; 12269esac 12270fi 12271ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12272if test -n "$ac_pt_PKG_CONFIG"; then 12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12274$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12275else 12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12277$as_echo "no" >&6; } 12278fi 12279 12280 if test "x$ac_pt_PKG_CONFIG" = x; then 12281 PKG_CONFIG="" 12282 else 12283 case $cross_compiling:$ac_tool_warned in 12284yes:) 12285{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12286$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12287ac_tool_warned=yes ;; 12288esac 12289 PKG_CONFIG=$ac_pt_PKG_CONFIG 12290 fi 12291else 12292 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12293fi 12294 12295fi 12296if test -n "$PKG_CONFIG"; then 12297 _pkg_min_version=0.9.0 12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12299$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12300 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12302$as_echo "yes" >&6; } 12303 else 12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12305$as_echo "no" >&6; } 12306 PKG_CONFIG="" 12307 fi 12308fi 12309 12310pkg_failed=no 12311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5 12312$as_echo_n "checking for GTK3... " >&6; } 12313 12314if test -n "$GTK3_CFLAGS"; then 12315 pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS" 12316 elif test -n "$PKG_CONFIG"; then 12317 if test -n "$PKG_CONFIG" && \ 12318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_dependency\""; } >&5 12319 ($PKG_CONFIG --exists --print-errors "$gtk_dependency") 2>&5 12320 ac_status=$? 12321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12322 test $ac_status = 0; }; then 12323 pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "$gtk_dependency" 2>/dev/null` 12324 test "x$?" != "x0" && pkg_failed=yes 12325else 12326 pkg_failed=yes 12327fi 12328 else 12329 pkg_failed=untried 12330fi 12331if test -n "$GTK3_LIBS"; then 12332 pkg_cv_GTK3_LIBS="$GTK3_LIBS" 12333 elif test -n "$PKG_CONFIG"; then 12334 if test -n "$PKG_CONFIG" && \ 12335 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_dependency\""; } >&5 12336 ($PKG_CONFIG --exists --print-errors "$gtk_dependency") 2>&5 12337 ac_status=$? 12338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12339 test $ac_status = 0; }; then 12340 pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "$gtk_dependency" 2>/dev/null` 12341 test "x$?" != "x0" && pkg_failed=yes 12342else 12343 pkg_failed=yes 12344fi 12345 else 12346 pkg_failed=untried 12347fi 12348 12349 12350 12351if test $pkg_failed = yes; then 12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12353$as_echo "no" >&6; } 12354 12355if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12356 _pkg_short_errors_supported=yes 12357else 12358 _pkg_short_errors_supported=no 12359fi 12360 if test $_pkg_short_errors_supported = yes; then 12361 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$gtk_dependency" 2>&1` 12362 else 12363 GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$gtk_dependency" 2>&1` 12364 fi 12365 # Put the nasty error message in config.log where it belongs 12366 echo "$GTK3_PKG_ERRORS" >&5 12367 12368 as_fn_error $? "Package requirements ($gtk_dependency) were not met: 12369 12370$GTK3_PKG_ERRORS 12371 12372Consider adjusting the PKG_CONFIG_PATH environment variable if you 12373installed software in a non-standard prefix. 12374 12375Alternatively, you may set the environment variables GTK3_CFLAGS 12376and GTK3_LIBS to avoid the need to call pkg-config. 12377See the pkg-config man page for more details." "$LINENO" 5 12378elif test $pkg_failed = untried; then 12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12380$as_echo "no" >&6; } 12381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12382$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12383as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12384is in your PATH or set the PKG_CONFIG environment variable to the full 12385path to pkg-config. 12386 12387Alternatively, you may set the environment variables GTK3_CFLAGS 12388and GTK3_LIBS to avoid the need to call pkg-config. 12389See the pkg-config man page for more details. 12390 12391To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12392See \`config.log' for more details" "$LINENO" 5; } 12393else 12394 GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS 12395 GTK3_LIBS=$pkg_cv_GTK3_LIBS 12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12397$as_echo "yes" >&6; } 12398 12399fi 12400 12401pkg_failed=no 12402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5 12403$as_echo_n "checking for GLIB2... " >&6; } 12404 12405if test -n "$GLIB2_CFLAGS"; then 12406 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS" 12407 elif test -n "$PKG_CONFIG"; then 12408 if test -n "$PKG_CONFIG" && \ 12409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$glib_dependency\""; } >&5 12410 ($PKG_CONFIG --exists --print-errors "$glib_dependency") 2>&5 12411 ac_status=$? 12412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12413 test $ac_status = 0; }; then 12414 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "$glib_dependency" 2>/dev/null` 12415 test "x$?" != "x0" && pkg_failed=yes 12416else 12417 pkg_failed=yes 12418fi 12419 else 12420 pkg_failed=untried 12421fi 12422if test -n "$GLIB2_LIBS"; then 12423 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS" 12424 elif test -n "$PKG_CONFIG"; then 12425 if test -n "$PKG_CONFIG" && \ 12426 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$glib_dependency\""; } >&5 12427 ($PKG_CONFIG --exists --print-errors "$glib_dependency") 2>&5 12428 ac_status=$? 12429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12430 test $ac_status = 0; }; then 12431 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "$glib_dependency" 2>/dev/null` 12432 test "x$?" != "x0" && pkg_failed=yes 12433else 12434 pkg_failed=yes 12435fi 12436 else 12437 pkg_failed=untried 12438fi 12439 12440 12441 12442if test $pkg_failed = yes; then 12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12444$as_echo "no" >&6; } 12445 12446if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12447 _pkg_short_errors_supported=yes 12448else 12449 _pkg_short_errors_supported=no 12450fi 12451 if test $_pkg_short_errors_supported = yes; then 12452 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$glib_dependency" 2>&1` 12453 else 12454 GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$glib_dependency" 2>&1` 12455 fi 12456 # Put the nasty error message in config.log where it belongs 12457 echo "$GLIB2_PKG_ERRORS" >&5 12458 12459 as_fn_error $? "Package requirements ($glib_dependency) were not met: 12460 12461$GLIB2_PKG_ERRORS 12462 12463Consider adjusting the PKG_CONFIG_PATH environment variable if you 12464installed software in a non-standard prefix. 12465 12466Alternatively, you may set the environment variables GLIB2_CFLAGS 12467and GLIB2_LIBS to avoid the need to call pkg-config. 12468See the pkg-config man page for more details." "$LINENO" 5 12469elif test $pkg_failed = untried; then 12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12471$as_echo "no" >&6; } 12472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12473$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12474as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12475is in your PATH or set the PKG_CONFIG environment variable to the full 12476path to pkg-config. 12477 12478Alternatively, you may set the environment variables GLIB2_CFLAGS 12479and GLIB2_LIBS to avoid the need to call pkg-config. 12480See the pkg-config man page for more details. 12481 12482To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12483See \`config.log' for more details" "$LINENO" 5; } 12484else 12485 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS 12486 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS 12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12488$as_echo "yes" >&6; } 12489 12490fi 12491 12492ac_config_files="$ac_config_files Makefile spread-sheet-widget.pc" 12493 12494 12495 12496 12497 12498cat >confcache <<\_ACEOF 12499# This file is a shell script that caches the results of configure 12500# tests run on this system so they can be shared between configure 12501# scripts and configure runs, see configure's option --config-cache. 12502# It is not useful on other systems. If it contains results you don't 12503# want to keep, you may remove or edit it. 12504# 12505# config.status only pays attention to the cache file if you give it 12506# the --recheck option to rerun configure. 12507# 12508# `ac_cv_env_foo' variables (set or unset) will be overridden when 12509# loading this file, other *unset* `ac_cv_foo' will be assigned the 12510# following values. 12511 12512_ACEOF 12513 12514# The following way of writing the cache mishandles newlines in values, 12515# but we know of no workaround that is simple, portable, and efficient. 12516# So, we kill variables containing newlines. 12517# Ultrix sh set writes to stderr and can't be redirected directly, 12518# and sets the high bit in the cache file unless we assign to the vars. 12519( 12520 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12521 eval ac_val=\$$ac_var 12522 case $ac_val in #( 12523 *${as_nl}*) 12524 case $ac_var in #( 12525 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12526$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12527 esac 12528 case $ac_var in #( 12529 _ | IFS | as_nl) ;; #( 12530 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12531 *) { eval $ac_var=; unset $ac_var;} ;; 12532 esac ;; 12533 esac 12534 done 12535 12536 (set) 2>&1 | 12537 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12538 *${as_nl}ac_space=\ *) 12539 # `set' does not quote correctly, so add quotes: double-quote 12540 # substitution turns \\\\ into \\, and sed turns \\ into \. 12541 sed -n \ 12542 "s/'/'\\\\''/g; 12543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12544 ;; #( 12545 *) 12546 # `set' quotes correctly as required by POSIX, so do not add quotes. 12547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12548 ;; 12549 esac | 12550 sort 12551) | 12552 sed ' 12553 /^ac_cv_env_/b end 12554 t clear 12555 :clear 12556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12557 t end 12558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12559 :end' >>confcache 12560if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12561 if test -w "$cache_file"; then 12562 if test "x$cache_file" != "x/dev/null"; then 12563 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12564$as_echo "$as_me: updating cache $cache_file" >&6;} 12565 if test ! -f "$cache_file" || test -h "$cache_file"; then 12566 cat confcache >"$cache_file" 12567 else 12568 case $cache_file in #( 12569 */* | ?:*) 12570 mv -f confcache "$cache_file"$$ && 12571 mv -f "$cache_file"$$ "$cache_file" ;; #( 12572 *) 12573 mv -f confcache "$cache_file" ;; 12574 esac 12575 fi 12576 fi 12577 else 12578 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12579$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12580 fi 12581fi 12582rm -f confcache 12583 12584test "x$prefix" = xNONE && prefix=$ac_default_prefix 12585# Let make expand exec_prefix. 12586test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12587 12588DEFS=-DHAVE_CONFIG_H 12589 12590ac_libobjs= 12591ac_ltlibobjs= 12592U= 12593for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12594 # 1. Remove the extension, and $U if already installed. 12595 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12596 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12597 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12598 # will be set to the directory where LIBOBJS objects are built. 12599 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12600 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12601done 12602LIBOBJS=$ac_libobjs 12603 12604LTLIBOBJS=$ac_ltlibobjs 12605 12606 12607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 12608$as_echo_n "checking that generated files are newer than configure... " >&6; } 12609 if test -n "$am_sleep_pid"; then 12610 # Hide warnings about reused PIDs. 12611 wait $am_sleep_pid 2>/dev/null 12612 fi 12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 12614$as_echo "done" >&6; } 12615 if test -n "$EXEEXT"; then 12616 am__EXEEXT_TRUE= 12617 am__EXEEXT_FALSE='#' 12618else 12619 am__EXEEXT_TRUE='#' 12620 am__EXEEXT_FALSE= 12621fi 12622 12623if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12624 as_fn_error $? "conditional \"AMDEP\" was never defined. 12625Usually this means the macro was only invoked conditionally." "$LINENO" 5 12626fi 12627if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12628 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12629Usually this means the macro was only invoked conditionally." "$LINENO" 5 12630fi 12631 12632: "${CONFIG_STATUS=./config.status}" 12633ac_write_fail=0 12634ac_clean_files_save=$ac_clean_files 12635ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12636{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12637$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12638as_write_fail=0 12639cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12640#! $SHELL 12641# Generated by $as_me. 12642# Run this file to recreate the current configuration. 12643# Compiler output produced by configure, useful for debugging 12644# configure, is in config.log if it exists. 12645 12646debug=false 12647ac_cs_recheck=false 12648ac_cs_silent=false 12649 12650SHELL=\${CONFIG_SHELL-$SHELL} 12651export SHELL 12652_ASEOF 12653cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12654## -------------------- ## 12655## M4sh Initialization. ## 12656## -------------------- ## 12657 12658# Be more Bourne compatible 12659DUALCASE=1; export DUALCASE # for MKS sh 12660if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12661 emulate sh 12662 NULLCMD=: 12663 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12664 # is contrary to our usage. Disable this feature. 12665 alias -g '${1+"$@"}'='"$@"' 12666 setopt NO_GLOB_SUBST 12667else 12668 case `(set -o) 2>/dev/null` in #( 12669 *posix*) : 12670 set -o posix ;; #( 12671 *) : 12672 ;; 12673esac 12674fi 12675 12676 12677as_nl=' 12678' 12679export as_nl 12680# Printing a long string crashes Solaris 7 /usr/bin/printf. 12681as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12682as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12683as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12684# Prefer a ksh shell builtin over an external printf program on Solaris, 12685# but without wasting forks for bash or zsh. 12686if test -z "$BASH_VERSION$ZSH_VERSION" \ 12687 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12688 as_echo='print -r --' 12689 as_echo_n='print -rn --' 12690elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12691 as_echo='printf %s\n' 12692 as_echo_n='printf %s' 12693else 12694 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12695 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12696 as_echo_n='/usr/ucb/echo -n' 12697 else 12698 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12699 as_echo_n_body='eval 12700 arg=$1; 12701 case $arg in #( 12702 *"$as_nl"*) 12703 expr "X$arg" : "X\\(.*\\)$as_nl"; 12704 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12705 esac; 12706 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12707 ' 12708 export as_echo_n_body 12709 as_echo_n='sh -c $as_echo_n_body as_echo' 12710 fi 12711 export as_echo_body 12712 as_echo='sh -c $as_echo_body as_echo' 12713fi 12714 12715# The user is always right. 12716if test "${PATH_SEPARATOR+set}" != set; then 12717 PATH_SEPARATOR=: 12718 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12719 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12720 PATH_SEPARATOR=';' 12721 } 12722fi 12723 12724 12725# IFS 12726# We need space, tab and new line, in precisely that order. Quoting is 12727# there to prevent editors from complaining about space-tab. 12728# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12729# splitting by setting IFS to empty value.) 12730IFS=" "" $as_nl" 12731 12732# Find who we are. Look in the path if we contain no directory separator. 12733as_myself= 12734case $0 in #(( 12735 *[\\/]* ) as_myself=$0 ;; 12736 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12737for as_dir in $PATH 12738do 12739 IFS=$as_save_IFS 12740 test -z "$as_dir" && as_dir=. 12741 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12742 done 12743IFS=$as_save_IFS 12744 12745 ;; 12746esac 12747# We did not find ourselves, most probably we were run as `sh COMMAND' 12748# in which case we are not to be found in the path. 12749if test "x$as_myself" = x; then 12750 as_myself=$0 12751fi 12752if test ! -f "$as_myself"; then 12753 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12754 exit 1 12755fi 12756 12757# Unset variables that we do not need and which cause bugs (e.g. in 12758# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12759# suppresses any "Segmentation fault" message there. '((' could 12760# trigger a bug in pdksh 5.2.14. 12761for as_var in BASH_ENV ENV MAIL MAILPATH 12762do eval test x\${$as_var+set} = xset \ 12763 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12764done 12765PS1='$ ' 12766PS2='> ' 12767PS4='+ ' 12768 12769# NLS nuisances. 12770LC_ALL=C 12771export LC_ALL 12772LANGUAGE=C 12773export LANGUAGE 12774 12775# CDPATH. 12776(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12777 12778 12779# as_fn_error STATUS ERROR [LINENO LOG_FD] 12780# ---------------------------------------- 12781# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12782# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12783# script with STATUS, using 1 if that was 0. 12784as_fn_error () 12785{ 12786 as_status=$1; test $as_status -eq 0 && as_status=1 12787 if test "$4"; then 12788 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12789 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12790 fi 12791 $as_echo "$as_me: error: $2" >&2 12792 as_fn_exit $as_status 12793} # as_fn_error 12794 12795 12796# as_fn_set_status STATUS 12797# ----------------------- 12798# Set $? to STATUS, without forking. 12799as_fn_set_status () 12800{ 12801 return $1 12802} # as_fn_set_status 12803 12804# as_fn_exit STATUS 12805# ----------------- 12806# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12807as_fn_exit () 12808{ 12809 set +e 12810 as_fn_set_status $1 12811 exit $1 12812} # as_fn_exit 12813 12814# as_fn_unset VAR 12815# --------------- 12816# Portably unset VAR. 12817as_fn_unset () 12818{ 12819 { eval $1=; unset $1;} 12820} 12821as_unset=as_fn_unset 12822# as_fn_append VAR VALUE 12823# ---------------------- 12824# Append the text in VALUE to the end of the definition contained in VAR. Take 12825# advantage of any shell optimizations that allow amortized linear growth over 12826# repeated appends, instead of the typical quadratic growth present in naive 12827# implementations. 12828if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12829 eval 'as_fn_append () 12830 { 12831 eval $1+=\$2 12832 }' 12833else 12834 as_fn_append () 12835 { 12836 eval $1=\$$1\$2 12837 } 12838fi # as_fn_append 12839 12840# as_fn_arith ARG... 12841# ------------------ 12842# Perform arithmetic evaluation on the ARGs, and store the result in the 12843# global $as_val. Take advantage of shells that can avoid forks. The arguments 12844# must be portable across $(()) and expr. 12845if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12846 eval 'as_fn_arith () 12847 { 12848 as_val=$(( $* )) 12849 }' 12850else 12851 as_fn_arith () 12852 { 12853 as_val=`expr "$@" || test $? -eq 1` 12854 } 12855fi # as_fn_arith 12856 12857 12858if expr a : '\(a\)' >/dev/null 2>&1 && 12859 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12860 as_expr=expr 12861else 12862 as_expr=false 12863fi 12864 12865if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12866 as_basename=basename 12867else 12868 as_basename=false 12869fi 12870 12871if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12872 as_dirname=dirname 12873else 12874 as_dirname=false 12875fi 12876 12877as_me=`$as_basename -- "$0" || 12878$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12879 X"$0" : 'X\(//\)$' \| \ 12880 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12881$as_echo X/"$0" | 12882 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12883 s//\1/ 12884 q 12885 } 12886 /^X\/\(\/\/\)$/{ 12887 s//\1/ 12888 q 12889 } 12890 /^X\/\(\/\).*/{ 12891 s//\1/ 12892 q 12893 } 12894 s/.*/./; q'` 12895 12896# Avoid depending upon Character Ranges. 12897as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12898as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12899as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12900as_cr_digits='0123456789' 12901as_cr_alnum=$as_cr_Letters$as_cr_digits 12902 12903ECHO_C= ECHO_N= ECHO_T= 12904case `echo -n x` in #((((( 12905-n*) 12906 case `echo 'xy\c'` in 12907 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12908 xy) ECHO_C='\c';; 12909 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12910 ECHO_T=' ';; 12911 esac;; 12912*) 12913 ECHO_N='-n';; 12914esac 12915 12916rm -f conf$$ conf$$.exe conf$$.file 12917if test -d conf$$.dir; then 12918 rm -f conf$$.dir/conf$$.file 12919else 12920 rm -f conf$$.dir 12921 mkdir conf$$.dir 2>/dev/null 12922fi 12923if (echo >conf$$.file) 2>/dev/null; then 12924 if ln -s conf$$.file conf$$ 2>/dev/null; then 12925 as_ln_s='ln -s' 12926 # ... but there are two gotchas: 12927 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12928 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12929 # In both cases, we have to default to `cp -pR'. 12930 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12931 as_ln_s='cp -pR' 12932 elif ln conf$$.file conf$$ 2>/dev/null; then 12933 as_ln_s=ln 12934 else 12935 as_ln_s='cp -pR' 12936 fi 12937else 12938 as_ln_s='cp -pR' 12939fi 12940rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12941rmdir conf$$.dir 2>/dev/null 12942 12943 12944# as_fn_mkdir_p 12945# ------------- 12946# Create "$as_dir" as a directory, including parents if necessary. 12947as_fn_mkdir_p () 12948{ 12949 12950 case $as_dir in #( 12951 -*) as_dir=./$as_dir;; 12952 esac 12953 test -d "$as_dir" || eval $as_mkdir_p || { 12954 as_dirs= 12955 while :; do 12956 case $as_dir in #( 12957 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12958 *) as_qdir=$as_dir;; 12959 esac 12960 as_dirs="'$as_qdir' $as_dirs" 12961 as_dir=`$as_dirname -- "$as_dir" || 12962$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12963 X"$as_dir" : 'X\(//\)[^/]' \| \ 12964 X"$as_dir" : 'X\(//\)$' \| \ 12965 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12966$as_echo X"$as_dir" | 12967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12968 s//\1/ 12969 q 12970 } 12971 /^X\(\/\/\)[^/].*/{ 12972 s//\1/ 12973 q 12974 } 12975 /^X\(\/\/\)$/{ 12976 s//\1/ 12977 q 12978 } 12979 /^X\(\/\).*/{ 12980 s//\1/ 12981 q 12982 } 12983 s/.*/./; q'` 12984 test -d "$as_dir" && break 12985 done 12986 test -z "$as_dirs" || eval "mkdir $as_dirs" 12987 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12988 12989 12990} # as_fn_mkdir_p 12991if mkdir -p . 2>/dev/null; then 12992 as_mkdir_p='mkdir -p "$as_dir"' 12993else 12994 test -d ./-p && rmdir ./-p 12995 as_mkdir_p=false 12996fi 12997 12998 12999# as_fn_executable_p FILE 13000# ----------------------- 13001# Test if FILE is an executable regular file. 13002as_fn_executable_p () 13003{ 13004 test -f "$1" && test -x "$1" 13005} # as_fn_executable_p 13006as_test_x='test -x' 13007as_executable_p=as_fn_executable_p 13008 13009# Sed expression to map a string onto a valid CPP name. 13010as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13011 13012# Sed expression to map a string onto a valid variable name. 13013as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13014 13015 13016exec 6>&1 13017## ----------------------------------- ## 13018## Main body of $CONFIG_STATUS script. ## 13019## ----------------------------------- ## 13020_ASEOF 13021test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13022 13023cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13024# Save the log message, to keep $0 and so on meaningful, and to 13025# report actual input values of CONFIG_FILES etc. instead of their 13026# values after options handling. 13027ac_log=" 13028This file was extended by spread-sheet-widget $as_me 0.8, which was 13029generated by GNU Autoconf 2.69. Invocation command line was 13030 13031 CONFIG_FILES = $CONFIG_FILES 13032 CONFIG_HEADERS = $CONFIG_HEADERS 13033 CONFIG_LINKS = $CONFIG_LINKS 13034 CONFIG_COMMANDS = $CONFIG_COMMANDS 13035 $ $0 $@ 13036 13037on `(hostname || uname -n) 2>/dev/null | sed 1q` 13038" 13039 13040_ACEOF 13041 13042case $ac_config_files in *" 13043"*) set x $ac_config_files; shift; ac_config_files=$*;; 13044esac 13045 13046case $ac_config_headers in *" 13047"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13048esac 13049 13050 13051cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13052# Files that config.status was made for. 13053config_files="$ac_config_files" 13054config_headers="$ac_config_headers" 13055config_commands="$ac_config_commands" 13056 13057_ACEOF 13058 13059cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13060ac_cs_usage="\ 13061\`$as_me' instantiates files and other configuration actions 13062from templates according to the current configuration. Unless the files 13063and actions are specified as TAGs, all are instantiated by default. 13064 13065Usage: $0 [OPTION]... [TAG]... 13066 13067 -h, --help print this help, then exit 13068 -V, --version print version number and configuration settings, then exit 13069 --config print configuration, then exit 13070 -q, --quiet, --silent 13071 do not print progress messages 13072 -d, --debug don't remove temporary files 13073 --recheck update $as_me by reconfiguring in the same conditions 13074 --file=FILE[:TEMPLATE] 13075 instantiate the configuration file FILE 13076 --header=FILE[:TEMPLATE] 13077 instantiate the configuration header FILE 13078 13079Configuration files: 13080$config_files 13081 13082Configuration headers: 13083$config_headers 13084 13085Configuration commands: 13086$config_commands 13087 13088Report bugs to the package provider." 13089 13090_ACEOF 13091cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13092ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13093ac_cs_version="\\ 13094spread-sheet-widget config.status 0.8 13095configured by $0, generated by GNU Autoconf 2.69, 13096 with options \\"\$ac_cs_config\\" 13097 13098Copyright (C) 2012 Free Software Foundation, Inc. 13099This config.status script is free software; the Free Software Foundation 13100gives unlimited permission to copy, distribute and modify it." 13101 13102ac_pwd='$ac_pwd' 13103srcdir='$srcdir' 13104INSTALL='$INSTALL' 13105MKDIR_P='$MKDIR_P' 13106AWK='$AWK' 13107test -n "\$AWK" || AWK=awk 13108_ACEOF 13109 13110cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13111# The default lists apply if the user does not specify any file. 13112ac_need_defaults=: 13113while test $# != 0 13114do 13115 case $1 in 13116 --*=?*) 13117 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13118 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13119 ac_shift=: 13120 ;; 13121 --*=) 13122 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13123 ac_optarg= 13124 ac_shift=: 13125 ;; 13126 *) 13127 ac_option=$1 13128 ac_optarg=$2 13129 ac_shift=shift 13130 ;; 13131 esac 13132 13133 case $ac_option in 13134 # Handling of the options. 13135 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13136 ac_cs_recheck=: ;; 13137 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13138 $as_echo "$ac_cs_version"; exit ;; 13139 --config | --confi | --conf | --con | --co | --c ) 13140 $as_echo "$ac_cs_config"; exit ;; 13141 --debug | --debu | --deb | --de | --d | -d ) 13142 debug=: ;; 13143 --file | --fil | --fi | --f ) 13144 $ac_shift 13145 case $ac_optarg in 13146 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13147 '') as_fn_error $? "missing file argument" ;; 13148 esac 13149 as_fn_append CONFIG_FILES " '$ac_optarg'" 13150 ac_need_defaults=false;; 13151 --header | --heade | --head | --hea ) 13152 $ac_shift 13153 case $ac_optarg in 13154 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13155 esac 13156 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13157 ac_need_defaults=false;; 13158 --he | --h) 13159 # Conflict between --help and --header 13160 as_fn_error $? "ambiguous option: \`$1' 13161Try \`$0 --help' for more information.";; 13162 --help | --hel | -h ) 13163 $as_echo "$ac_cs_usage"; exit ;; 13164 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13165 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13166 ac_cs_silent=: ;; 13167 13168 # This is an error. 13169 -*) as_fn_error $? "unrecognized option: \`$1' 13170Try \`$0 --help' for more information." ;; 13171 13172 *) as_fn_append ac_config_targets " $1" 13173 ac_need_defaults=false ;; 13174 13175 esac 13176 shift 13177done 13178 13179ac_configure_extra_args= 13180 13181if $ac_cs_silent; then 13182 exec 6>/dev/null 13183 ac_configure_extra_args="$ac_configure_extra_args --silent" 13184fi 13185 13186_ACEOF 13187cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13188if \$ac_cs_recheck; then 13189 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13190 shift 13191 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13192 CONFIG_SHELL='$SHELL' 13193 export CONFIG_SHELL 13194 exec "\$@" 13195fi 13196 13197_ACEOF 13198cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13199exec 5>>config.log 13200{ 13201 echo 13202 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13203## Running $as_me. ## 13204_ASBOX 13205 $as_echo "$ac_log" 13206} >&5 13207 13208_ACEOF 13209cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13210# 13211# INIT-COMMANDS 13212# 13213AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 13214 13215 13216# The HP-UX ksh and POSIX shell print the target directory to stdout 13217# if CDPATH is set. 13218(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13219 13220sed_quote_subst='$sed_quote_subst' 13221double_quote_subst='$double_quote_subst' 13222delay_variable_subst='$delay_variable_subst' 13223macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13224macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13225enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13226enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13227pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13228enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13229shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 13230SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13231ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13232PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13233host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13234host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13235host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13236build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13237build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13238build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13239SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13240Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13241GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13242EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13243FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13244LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13245NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13246LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13247max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13248ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13249exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13250lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13251lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13252lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13253lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13254lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13255reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13256reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13257OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13258deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13259file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13260file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13261want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13262DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13263sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13264AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13265AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13266archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13267STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13268RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13269old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13270old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13271old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13272lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13273CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13274CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13275compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13276GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13277lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13278lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13279lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 13280lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13281lt_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"`' 13282lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 13283nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13284lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13285lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 13286objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13287MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13288lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13289lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13290lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13291lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13292lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13293need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13294MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13295DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13296NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13297LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13298OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13299OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13300libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13301shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13302extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13303archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13304enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13305export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13306whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13307compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13308old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13309old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13310archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13311archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13312module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13313module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13314with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13315allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13316no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13317hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13318hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13319hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13320hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13321hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13322hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13323hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13324inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13325link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13326always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13327export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13328exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13329include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13330prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13331postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13332file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13333variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13334need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13335need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13336version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13337runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13338shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13339shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13340libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13341library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13342soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13343install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13344postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13345postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13346finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13347finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13348hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13349sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13350configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 13351configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 13352hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13353enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13354enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13355enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13356old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13357striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13358 13359LTCC='$LTCC' 13360LTCFLAGS='$LTCFLAGS' 13361compiler='$compiler_DEFAULT' 13362 13363# A function that is used when there is no print builtin or printf. 13364func_fallback_echo () 13365{ 13366 eval 'cat <<_LTECHO_EOF 13367\$1 13368_LTECHO_EOF' 13369} 13370 13371# Quote evaled strings. 13372for var in SHELL \ 13373ECHO \ 13374PATH_SEPARATOR \ 13375SED \ 13376GREP \ 13377EGREP \ 13378FGREP \ 13379LD \ 13380NM \ 13381LN_S \ 13382lt_SP2NL \ 13383lt_NL2SP \ 13384reload_flag \ 13385OBJDUMP \ 13386deplibs_check_method \ 13387file_magic_cmd \ 13388file_magic_glob \ 13389want_nocaseglob \ 13390DLLTOOL \ 13391sharedlib_from_linklib_cmd \ 13392AR \ 13393AR_FLAGS \ 13394archiver_list_spec \ 13395STRIP \ 13396RANLIB \ 13397CC \ 13398CFLAGS \ 13399compiler \ 13400lt_cv_sys_global_symbol_pipe \ 13401lt_cv_sys_global_symbol_to_cdecl \ 13402lt_cv_sys_global_symbol_to_import \ 13403lt_cv_sys_global_symbol_to_c_name_address \ 13404lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13405lt_cv_nm_interface \ 13406nm_file_list_spec \ 13407lt_cv_truncate_bin \ 13408lt_prog_compiler_no_builtin_flag \ 13409lt_prog_compiler_pic \ 13410lt_prog_compiler_wl \ 13411lt_prog_compiler_static \ 13412lt_cv_prog_compiler_c_o \ 13413need_locks \ 13414MANIFEST_TOOL \ 13415DSYMUTIL \ 13416NMEDIT \ 13417LIPO \ 13418OTOOL \ 13419OTOOL64 \ 13420shrext_cmds \ 13421export_dynamic_flag_spec \ 13422whole_archive_flag_spec \ 13423compiler_needs_object \ 13424with_gnu_ld \ 13425allow_undefined_flag \ 13426no_undefined_flag \ 13427hardcode_libdir_flag_spec \ 13428hardcode_libdir_separator \ 13429exclude_expsyms \ 13430include_expsyms \ 13431file_list_spec \ 13432variables_saved_for_relink \ 13433libname_spec \ 13434library_names_spec \ 13435soname_spec \ 13436install_override_mode \ 13437finish_eval \ 13438old_striplib \ 13439striplib; do 13440 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13441 *[\\\\\\\`\\"\\\$]*) 13442 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13443 ;; 13444 *) 13445 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13446 ;; 13447 esac 13448done 13449 13450# Double-quote double-evaled strings. 13451for var in reload_cmds \ 13452old_postinstall_cmds \ 13453old_postuninstall_cmds \ 13454old_archive_cmds \ 13455extract_expsyms_cmds \ 13456old_archive_from_new_cmds \ 13457old_archive_from_expsyms_cmds \ 13458archive_cmds \ 13459archive_expsym_cmds \ 13460module_cmds \ 13461module_expsym_cmds \ 13462export_symbols_cmds \ 13463prelink_cmds \ 13464postlink_cmds \ 13465postinstall_cmds \ 13466postuninstall_cmds \ 13467finish_cmds \ 13468sys_lib_search_path_spec \ 13469configure_time_dlsearch_path \ 13470configure_time_lt_sys_library_path; do 13471 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13472 *[\\\\\\\`\\"\\\$]*) 13473 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13474 ;; 13475 *) 13476 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13477 ;; 13478 esac 13479done 13480 13481ac_aux_dir='$ac_aux_dir' 13482 13483# See if we are running on zsh, and set the options that allow our 13484# commands through without removal of \ escapes INIT. 13485if test -n "\${ZSH_VERSION+set}"; then 13486 setopt NO_GLOB_SUBST 13487fi 13488 13489 13490 PACKAGE='$PACKAGE' 13491 VERSION='$VERSION' 13492 RM='$RM' 13493 ofile='$ofile' 13494 13495 13496 13497 13498_ACEOF 13499 13500cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13501 13502# Handling of arguments. 13503for ac_config_target in $ac_config_targets 13504do 13505 case $ac_config_target in 13506 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13507 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13508 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13509 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13510 "spread-sheet-widget.pc") CONFIG_FILES="$CONFIG_FILES spread-sheet-widget.pc" ;; 13511 13512 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13513 esac 13514done 13515 13516 13517# If the user did not use the arguments to specify the items to instantiate, 13518# then the envvar interface is used. Set only those that are not. 13519# We use the long form for the default assignment because of an extremely 13520# bizarre bug on SunOS 4.1.3. 13521if $ac_need_defaults; then 13522 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13523 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13524 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13525fi 13526 13527# Have a temporary directory for convenience. Make it in the build tree 13528# simply because there is no reason against having it here, and in addition, 13529# creating and moving files from /tmp can sometimes cause problems. 13530# Hook for its removal unless debugging. 13531# Note that there is a small window in which the directory will not be cleaned: 13532# after its creation but before its name has been assigned to `$tmp'. 13533$debug || 13534{ 13535 tmp= ac_tmp= 13536 trap 'exit_status=$? 13537 : "${ac_tmp:=$tmp}" 13538 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13539' 0 13540 trap 'as_fn_exit 1' 1 2 13 15 13541} 13542# Create a (secure) tmp directory for tmp files. 13543 13544{ 13545 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13546 test -d "$tmp" 13547} || 13548{ 13549 tmp=./conf$$-$RANDOM 13550 (umask 077 && mkdir "$tmp") 13551} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13552ac_tmp=$tmp 13553 13554# Set up the scripts for CONFIG_FILES section. 13555# No need to generate them if there are no CONFIG_FILES. 13556# This happens for instance with `./config.status config.h'. 13557if test -n "$CONFIG_FILES"; then 13558 13559 13560ac_cr=`echo X | tr X '\015'` 13561# On cygwin, bash can eat \r inside `` if the user requested igncr. 13562# But we know of no other shell where ac_cr would be empty at this 13563# point, so we can use a bashism as a fallback. 13564if test "x$ac_cr" = x; then 13565 eval ac_cr=\$\'\\r\' 13566fi 13567ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13568if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13569 ac_cs_awk_cr='\\r' 13570else 13571 ac_cs_awk_cr=$ac_cr 13572fi 13573 13574echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13575_ACEOF 13576 13577 13578{ 13579 echo "cat >conf$$subs.awk <<_ACEOF" && 13580 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13581 echo "_ACEOF" 13582} >conf$$subs.sh || 13583 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13584ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13585ac_delim='%!_!# ' 13586for ac_last_try in false false false false false :; do 13587 . ./conf$$subs.sh || 13588 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13589 13590 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13591 if test $ac_delim_n = $ac_delim_num; then 13592 break 13593 elif $ac_last_try; then 13594 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13595 else 13596 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13597 fi 13598done 13599rm -f conf$$subs.sh 13600 13601cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13602cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13603_ACEOF 13604sed -n ' 13605h 13606s/^/S["/; s/!.*/"]=/ 13607p 13608g 13609s/^[^!]*!// 13610:repl 13611t repl 13612s/'"$ac_delim"'$// 13613t delim 13614:nl 13615h 13616s/\(.\{148\}\)..*/\1/ 13617t more1 13618s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13619p 13620n 13621b repl 13622:more1 13623s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13624p 13625g 13626s/.\{148\}// 13627t nl 13628:delim 13629h 13630s/\(.\{148\}\)..*/\1/ 13631t more2 13632s/["\\]/\\&/g; s/^/"/; s/$/"/ 13633p 13634b 13635:more2 13636s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13637p 13638g 13639s/.\{148\}// 13640t delim 13641' <conf$$subs.awk | sed ' 13642/^[^""]/{ 13643 N 13644 s/\n// 13645} 13646' >>$CONFIG_STATUS || ac_write_fail=1 13647rm -f conf$$subs.awk 13648cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13649_ACAWK 13650cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13651 for (key in S) S_is_set[key] = 1 13652 FS = "" 13653 13654} 13655{ 13656 line = $ 0 13657 nfields = split(line, field, "@") 13658 substed = 0 13659 len = length(field[1]) 13660 for (i = 2; i < nfields; i++) { 13661 key = field[i] 13662 keylen = length(key) 13663 if (S_is_set[key]) { 13664 value = S[key] 13665 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13666 len += length(value) + length(field[++i]) 13667 substed = 1 13668 } else 13669 len += 1 + keylen 13670 } 13671 13672 print line 13673} 13674 13675_ACAWK 13676_ACEOF 13677cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13678if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13679 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13680else 13681 cat 13682fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13683 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13684_ACEOF 13685 13686# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13687# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13688# trailing colons and then remove the whole line if VPATH becomes empty 13689# (actually we leave an empty line to preserve line numbers). 13690if test "x$srcdir" = x.; then 13691 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13692h 13693s/// 13694s/^/:/ 13695s/[ ]*$/:/ 13696s/:\$(srcdir):/:/g 13697s/:\${srcdir}:/:/g 13698s/:@srcdir@:/:/g 13699s/^:*// 13700s/:*$// 13701x 13702s/\(=[ ]*\).*/\1/ 13703G 13704s/\n// 13705s/^[^=]*=[ ]*$// 13706}' 13707fi 13708 13709cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13710fi # test -n "$CONFIG_FILES" 13711 13712# Set up the scripts for CONFIG_HEADERS section. 13713# No need to generate them if there are no CONFIG_HEADERS. 13714# This happens for instance with `./config.status Makefile'. 13715if test -n "$CONFIG_HEADERS"; then 13716cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13717BEGIN { 13718_ACEOF 13719 13720# Transform confdefs.h into an awk script `defines.awk', embedded as 13721# here-document in config.status, that substitutes the proper values into 13722# config.h.in to produce config.h. 13723 13724# Create a delimiter string that does not exist in confdefs.h, to ease 13725# handling of long lines. 13726ac_delim='%!_!# ' 13727for ac_last_try in false false :; do 13728 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13729 if test -z "$ac_tt"; then 13730 break 13731 elif $ac_last_try; then 13732 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13733 else 13734 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13735 fi 13736done 13737 13738# For the awk script, D is an array of macro values keyed by name, 13739# likewise P contains macro parameters if any. Preserve backslash 13740# newline sequences. 13741 13742ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13743sed -n ' 13744s/.\{148\}/&'"$ac_delim"'/g 13745t rset 13746:rset 13747s/^[ ]*#[ ]*define[ ][ ]*/ / 13748t def 13749d 13750:def 13751s/\\$// 13752t bsnl 13753s/["\\]/\\&/g 13754s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13755D["\1"]=" \3"/p 13756s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13757d 13758:bsnl 13759s/["\\]/\\&/g 13760s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13761D["\1"]=" \3\\\\\\n"\\/p 13762t cont 13763s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13764t cont 13765d 13766:cont 13767n 13768s/.\{148\}/&'"$ac_delim"'/g 13769t clear 13770:clear 13771s/\\$// 13772t bsnlc 13773s/["\\]/\\&/g; s/^/"/; s/$/"/p 13774d 13775:bsnlc 13776s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13777b cont 13778' <confdefs.h | sed ' 13779s/'"$ac_delim"'/"\\\ 13780"/g' >>$CONFIG_STATUS || ac_write_fail=1 13781 13782cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13783 for (key in D) D_is_set[key] = 1 13784 FS = "" 13785} 13786/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13787 line = \$ 0 13788 split(line, arg, " ") 13789 if (arg[1] == "#") { 13790 defundef = arg[2] 13791 mac1 = arg[3] 13792 } else { 13793 defundef = substr(arg[1], 2) 13794 mac1 = arg[2] 13795 } 13796 split(mac1, mac2, "(") #) 13797 macro = mac2[1] 13798 prefix = substr(line, 1, index(line, defundef) - 1) 13799 if (D_is_set[macro]) { 13800 # Preserve the white space surrounding the "#". 13801 print prefix "define", macro P[macro] D[macro] 13802 next 13803 } else { 13804 # Replace #undef with comments. This is necessary, for example, 13805 # in the case of _POSIX_SOURCE, which is predefined and required 13806 # on some systems where configure will not decide to define it. 13807 if (defundef == "undef") { 13808 print "/*", prefix defundef, macro, "*/" 13809 next 13810 } 13811 } 13812} 13813{ print } 13814_ACAWK 13815_ACEOF 13816cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13817 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13818fi # test -n "$CONFIG_HEADERS" 13819 13820 13821eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13822shift 13823for ac_tag 13824do 13825 case $ac_tag in 13826 :[FHLC]) ac_mode=$ac_tag; continue;; 13827 esac 13828 case $ac_mode$ac_tag in 13829 :[FHL]*:*);; 13830 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13831 :[FH]-) ac_tag=-:-;; 13832 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13833 esac 13834 ac_save_IFS=$IFS 13835 IFS=: 13836 set x $ac_tag 13837 IFS=$ac_save_IFS 13838 shift 13839 ac_file=$1 13840 shift 13841 13842 case $ac_mode in 13843 :L) ac_source=$1;; 13844 :[FH]) 13845 ac_file_inputs= 13846 for ac_f 13847 do 13848 case $ac_f in 13849 -) ac_f="$ac_tmp/stdin";; 13850 *) # Look for the file first in the build tree, then in the source tree 13851 # (if the path is not absolute). The absolute path cannot be DOS-style, 13852 # because $ac_f cannot contain `:'. 13853 test -f "$ac_f" || 13854 case $ac_f in 13855 [\\/$]*) false;; 13856 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13857 esac || 13858 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13859 esac 13860 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13861 as_fn_append ac_file_inputs " '$ac_f'" 13862 done 13863 13864 # Let's still pretend it is `configure' which instantiates (i.e., don't 13865 # use $as_me), people would be surprised to read: 13866 # /* config.h. Generated by config.status. */ 13867 configure_input='Generated from '` 13868 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13869 `' by configure.' 13870 if test x"$ac_file" != x-; then 13871 configure_input="$ac_file. $configure_input" 13872 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13873$as_echo "$as_me: creating $ac_file" >&6;} 13874 fi 13875 # Neutralize special characters interpreted by sed in replacement strings. 13876 case $configure_input in #( 13877 *\&* | *\|* | *\\* ) 13878 ac_sed_conf_input=`$as_echo "$configure_input" | 13879 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13880 *) ac_sed_conf_input=$configure_input;; 13881 esac 13882 13883 case $ac_tag in 13884 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13886 esac 13887 ;; 13888 esac 13889 13890 ac_dir=`$as_dirname -- "$ac_file" || 13891$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13892 X"$ac_file" : 'X\(//\)[^/]' \| \ 13893 X"$ac_file" : 'X\(//\)$' \| \ 13894 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13895$as_echo X"$ac_file" | 13896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13897 s//\1/ 13898 q 13899 } 13900 /^X\(\/\/\)[^/].*/{ 13901 s//\1/ 13902 q 13903 } 13904 /^X\(\/\/\)$/{ 13905 s//\1/ 13906 q 13907 } 13908 /^X\(\/\).*/{ 13909 s//\1/ 13910 q 13911 } 13912 s/.*/./; q'` 13913 as_dir="$ac_dir"; as_fn_mkdir_p 13914 ac_builddir=. 13915 13916case "$ac_dir" in 13917.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13918*) 13919 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13920 # A ".." for each directory in $ac_dir_suffix. 13921 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13922 case $ac_top_builddir_sub in 13923 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13924 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13925 esac ;; 13926esac 13927ac_abs_top_builddir=$ac_pwd 13928ac_abs_builddir=$ac_pwd$ac_dir_suffix 13929# for backward compatibility: 13930ac_top_builddir=$ac_top_build_prefix 13931 13932case $srcdir in 13933 .) # We are building in place. 13934 ac_srcdir=. 13935 ac_top_srcdir=$ac_top_builddir_sub 13936 ac_abs_top_srcdir=$ac_pwd ;; 13937 [\\/]* | ?:[\\/]* ) # Absolute name. 13938 ac_srcdir=$srcdir$ac_dir_suffix; 13939 ac_top_srcdir=$srcdir 13940 ac_abs_top_srcdir=$srcdir ;; 13941 *) # Relative name. 13942 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13943 ac_top_srcdir=$ac_top_build_prefix$srcdir 13944 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13945esac 13946ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13947 13948 13949 case $ac_mode in 13950 :F) 13951 # 13952 # CONFIG_FILE 13953 # 13954 13955 case $INSTALL in 13956 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13957 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13958 esac 13959 ac_MKDIR_P=$MKDIR_P 13960 case $MKDIR_P in 13961 [\\/$]* | ?:[\\/]* ) ;; 13962 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13963 esac 13964_ACEOF 13965 13966cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13967# If the template does not know about datarootdir, expand it. 13968# FIXME: This hack should be removed a few years after 2.60. 13969ac_datarootdir_hack=; ac_datarootdir_seen= 13970ac_sed_dataroot=' 13971/datarootdir/ { 13972 p 13973 q 13974} 13975/@datadir@/p 13976/@docdir@/p 13977/@infodir@/p 13978/@localedir@/p 13979/@mandir@/p' 13980case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13981*datarootdir*) ac_datarootdir_seen=yes;; 13982*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13984$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13985_ACEOF 13986cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13987 ac_datarootdir_hack=' 13988 s&@datadir@&$datadir&g 13989 s&@docdir@&$docdir&g 13990 s&@infodir@&$infodir&g 13991 s&@localedir@&$localedir&g 13992 s&@mandir@&$mandir&g 13993 s&\\\${datarootdir}&$datarootdir&g' ;; 13994esac 13995_ACEOF 13996 13997# Neutralize VPATH when `$srcdir' = `.'. 13998# Shell code in configure.ac might set extrasub. 13999# FIXME: do we really want to maintain this feature? 14000cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14001ac_sed_extra="$ac_vpsub 14002$extrasub 14003_ACEOF 14004cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14005:t 14006/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14007s|@configure_input@|$ac_sed_conf_input|;t t 14008s&@top_builddir@&$ac_top_builddir_sub&;t t 14009s&@top_build_prefix@&$ac_top_build_prefix&;t t 14010s&@srcdir@&$ac_srcdir&;t t 14011s&@abs_srcdir@&$ac_abs_srcdir&;t t 14012s&@top_srcdir@&$ac_top_srcdir&;t t 14013s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14014s&@builddir@&$ac_builddir&;t t 14015s&@abs_builddir@&$ac_abs_builddir&;t t 14016s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14017s&@INSTALL@&$ac_INSTALL&;t t 14018s&@MKDIR_P@&$ac_MKDIR_P&;t t 14019$ac_datarootdir_hack 14020" 14021eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14022 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14023 14024test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14025 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14026 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14027 "$ac_tmp/out"`; test -z "$ac_out"; } && 14028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14029which seems to be undefined. Please make sure it is defined" >&5 14030$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14031which seems to be undefined. Please make sure it is defined" >&2;} 14032 14033 rm -f "$ac_tmp/stdin" 14034 case $ac_file in 14035 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14036 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14037 esac \ 14038 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14039 ;; 14040 :H) 14041 # 14042 # CONFIG_HEADER 14043 # 14044 if test x"$ac_file" != x-; then 14045 { 14046 $as_echo "/* $configure_input */" \ 14047 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14048 } >"$ac_tmp/config.h" \ 14049 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14050 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14051 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14052$as_echo "$as_me: $ac_file is unchanged" >&6;} 14053 else 14054 rm -f "$ac_file" 14055 mv "$ac_tmp/config.h" "$ac_file" \ 14056 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14057 fi 14058 else 14059 $as_echo "/* $configure_input */" \ 14060 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14061 || as_fn_error $? "could not create -" "$LINENO" 5 14062 fi 14063# Compute "$ac_file"'s index in $config_headers. 14064_am_arg="$ac_file" 14065_am_stamp_count=1 14066for _am_header in $config_headers :; do 14067 case $_am_header in 14068 $_am_arg | $_am_arg:* ) 14069 break ;; 14070 * ) 14071 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14072 esac 14073done 14074echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14075$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14076 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14077 X"$_am_arg" : 'X\(//\)$' \| \ 14078 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14079$as_echo X"$_am_arg" | 14080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14081 s//\1/ 14082 q 14083 } 14084 /^X\(\/\/\)[^/].*/{ 14085 s//\1/ 14086 q 14087 } 14088 /^X\(\/\/\)$/{ 14089 s//\1/ 14090 q 14091 } 14092 /^X\(\/\).*/{ 14093 s//\1/ 14094 q 14095 } 14096 s/.*/./; q'`/stamp-h$_am_stamp_count 14097 ;; 14098 14099 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14100$as_echo "$as_me: executing $ac_file commands" >&6;} 14101 ;; 14102 esac 14103 14104 14105 case $ac_file$ac_mode in 14106 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14107 # Older Autoconf quotes --file arguments for eval, but not when files 14108 # are listed without --file. Let's play safe and only enable the eval 14109 # if we detect the quoting. 14110 # TODO: see whether this extra hack can be removed once we start 14111 # requiring Autoconf 2.70 or later. 14112 case $CONFIG_FILES in #( 14113 *\'*) : 14114 eval set x "$CONFIG_FILES" ;; #( 14115 *) : 14116 set x $CONFIG_FILES ;; #( 14117 *) : 14118 ;; 14119esac 14120 shift 14121 # Used to flag and report bootstrapping failures. 14122 am_rc=0 14123 for am_mf 14124 do 14125 # Strip MF so we end up with the name of the file. 14126 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 14127 # Check whether this is an Automake generated Makefile which includes 14128 # dependency-tracking related rules and includes. 14129 # Grep'ing the whole file directly is not great: AIX grep has a line 14130 # limit of 2048, but all sed's we know have understand at least 4000. 14131 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 14132 || continue 14133 am_dirpart=`$as_dirname -- "$am_mf" || 14134$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14135 X"$am_mf" : 'X\(//\)[^/]' \| \ 14136 X"$am_mf" : 'X\(//\)$' \| \ 14137 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 14138$as_echo X"$am_mf" | 14139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14140 s//\1/ 14141 q 14142 } 14143 /^X\(\/\/\)[^/].*/{ 14144 s//\1/ 14145 q 14146 } 14147 /^X\(\/\/\)$/{ 14148 s//\1/ 14149 q 14150 } 14151 /^X\(\/\).*/{ 14152 s//\1/ 14153 q 14154 } 14155 s/.*/./; q'` 14156 am_filepart=`$as_basename -- "$am_mf" || 14157$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 14158 X"$am_mf" : 'X\(//\)$' \| \ 14159 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 14160$as_echo X/"$am_mf" | 14161 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14162 s//\1/ 14163 q 14164 } 14165 /^X\/\(\/\/\)$/{ 14166 s//\1/ 14167 q 14168 } 14169 /^X\/\(\/\).*/{ 14170 s//\1/ 14171 q 14172 } 14173 s/.*/./; q'` 14174 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 14175 && sed -e '/# am--include-marker/d' "$am_filepart" \ 14176 | $MAKE -f - am--depfiles" >&5 14177 (cd "$am_dirpart" \ 14178 && sed -e '/# am--include-marker/d' "$am_filepart" \ 14179 | $MAKE -f - am--depfiles) >&5 2>&5 14180 ac_status=$? 14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14182 (exit $ac_status); } || am_rc=$? 14183 done 14184 if test $am_rc -ne 0; then 14185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14187as_fn_error $? "Something went wrong bootstrapping makefile fragments 14188 for automatic dependency tracking. Try re-running configure with the 14189 '--disable-dependency-tracking' option to at least be able to build 14190 the package (albeit without support for automatic dependency tracking). 14191See \`config.log' for more details" "$LINENO" 5; } 14192 fi 14193 { am_dirpart=; unset am_dirpart;} 14194 { am_filepart=; unset am_filepart;} 14195 { am_mf=; unset am_mf;} 14196 { am_rc=; unset am_rc;} 14197 rm -f conftest-deps.mk 14198} 14199 ;; 14200 "libtool":C) 14201 14202 # See if we are running on zsh, and set the options that allow our 14203 # commands through without removal of \ escapes. 14204 if test -n "${ZSH_VERSION+set}"; then 14205 setopt NO_GLOB_SUBST 14206 fi 14207 14208 cfgfile=${ofile}T 14209 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14210 $RM "$cfgfile" 14211 14212 cat <<_LT_EOF >> "$cfgfile" 14213#! $SHELL 14214# Generated automatically by $as_me ($PACKAGE) $VERSION 14215# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14216 14217# Provide generalized library-building support services. 14218# Written by Gordon Matzigkeit, 1996 14219 14220# Copyright (C) 2014 Free Software Foundation, Inc. 14221# This is free software; see the source for copying conditions. There is NO 14222# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14223 14224# GNU Libtool is free software; you can redistribute it and/or modify 14225# it under the terms of the GNU General Public License as published by 14226# the Free Software Foundation; either version 2 of of the License, or 14227# (at your option) any later version. 14228# 14229# As a special exception to the GNU General Public License, if you 14230# distribute this file as part of a program or library that is built 14231# using GNU Libtool, you may include this file under the same 14232# distribution terms that you use for the rest of that program. 14233# 14234# GNU Libtool is distributed in the hope that it will be useful, but 14235# WITHOUT ANY WARRANTY; without even the implied warranty of 14236# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14237# GNU General Public License for more details. 14238# 14239# You should have received a copy of the GNU General Public License 14240# along with this program. If not, see <http://www.gnu.org/licenses/>. 14241 14242 14243# The names of the tagged configurations supported by this script. 14244available_tags='' 14245 14246# Configured defaults for sys_lib_dlsearch_path munging. 14247: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 14248 14249# ### BEGIN LIBTOOL CONFIG 14250 14251# Which release of libtool.m4 was used? 14252macro_version=$macro_version 14253macro_revision=$macro_revision 14254 14255# Whether or not to build shared libraries. 14256build_libtool_libs=$enable_shared 14257 14258# Whether or not to build static libraries. 14259build_old_libs=$enable_static 14260 14261# What type of objects to build. 14262pic_mode=$pic_mode 14263 14264# Whether or not to optimize for fast installation. 14265fast_install=$enable_fast_install 14266 14267# Shared archive member basename,for filename based shared library versioning on AIX. 14268shared_archive_member_spec=$shared_archive_member_spec 14269 14270# Shell to use when invoking shell scripts. 14271SHELL=$lt_SHELL 14272 14273# An echo program that protects backslashes. 14274ECHO=$lt_ECHO 14275 14276# The PATH separator for the build system. 14277PATH_SEPARATOR=$lt_PATH_SEPARATOR 14278 14279# The host system. 14280host_alias=$host_alias 14281host=$host 14282host_os=$host_os 14283 14284# The build system. 14285build_alias=$build_alias 14286build=$build 14287build_os=$build_os 14288 14289# A sed program that does not truncate output. 14290SED=$lt_SED 14291 14292# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14293Xsed="\$SED -e 1s/^X//" 14294 14295# A grep program that handles long lines. 14296GREP=$lt_GREP 14297 14298# An ERE matcher. 14299EGREP=$lt_EGREP 14300 14301# A literal string matcher. 14302FGREP=$lt_FGREP 14303 14304# A BSD- or MS-compatible name lister. 14305NM=$lt_NM 14306 14307# Whether we need soft or hard links. 14308LN_S=$lt_LN_S 14309 14310# What is the maximum length of a command? 14311max_cmd_len=$max_cmd_len 14312 14313# Object file suffix (normally "o"). 14314objext=$ac_objext 14315 14316# Executable file suffix (normally ""). 14317exeext=$exeext 14318 14319# whether the shell understands "unset". 14320lt_unset=$lt_unset 14321 14322# turn spaces into newlines. 14323SP2NL=$lt_lt_SP2NL 14324 14325# turn newlines into spaces. 14326NL2SP=$lt_lt_NL2SP 14327 14328# convert \$build file names to \$host format. 14329to_host_file_cmd=$lt_cv_to_host_file_cmd 14330 14331# convert \$build files to toolchain format. 14332to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14333 14334# An object symbol dumper. 14335OBJDUMP=$lt_OBJDUMP 14336 14337# Method to check whether dependent libraries are shared objects. 14338deplibs_check_method=$lt_deplibs_check_method 14339 14340# Command to use when deplibs_check_method = "file_magic". 14341file_magic_cmd=$lt_file_magic_cmd 14342 14343# How to find potential files when deplibs_check_method = "file_magic". 14344file_magic_glob=$lt_file_magic_glob 14345 14346# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14347want_nocaseglob=$lt_want_nocaseglob 14348 14349# DLL creation program. 14350DLLTOOL=$lt_DLLTOOL 14351 14352# Command to associate shared and link libraries. 14353sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14354 14355# The archiver. 14356AR=$lt_AR 14357 14358# Flags to create an archive. 14359AR_FLAGS=$lt_AR_FLAGS 14360 14361# How to feed a file listing to the archiver. 14362archiver_list_spec=$lt_archiver_list_spec 14363 14364# A symbol stripping program. 14365STRIP=$lt_STRIP 14366 14367# Commands used to install an old-style archive. 14368RANLIB=$lt_RANLIB 14369old_postinstall_cmds=$lt_old_postinstall_cmds 14370old_postuninstall_cmds=$lt_old_postuninstall_cmds 14371 14372# Whether to use a lock for old archive extraction. 14373lock_old_archive_extraction=$lock_old_archive_extraction 14374 14375# A C compiler. 14376LTCC=$lt_CC 14377 14378# LTCC compiler flags. 14379LTCFLAGS=$lt_CFLAGS 14380 14381# Take the output of nm and produce a listing of raw symbols and C names. 14382global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14383 14384# Transform the output of nm in a proper C declaration. 14385global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14386 14387# Transform the output of nm into a list of symbols to manually relocate. 14388global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 14389 14390# Transform the output of nm in a C name address pair. 14391global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14392 14393# Transform the output of nm in a C name address pair when lib prefix is needed. 14394global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14395 14396# The name lister interface. 14397nm_interface=$lt_lt_cv_nm_interface 14398 14399# Specify filename containing input files for \$NM. 14400nm_file_list_spec=$lt_nm_file_list_spec 14401 14402# The root where to search for dependent libraries,and where our libraries should be installed. 14403lt_sysroot=$lt_sysroot 14404 14405# Command to truncate a binary pipe. 14406lt_truncate_bin=$lt_lt_cv_truncate_bin 14407 14408# The name of the directory that contains temporary libtool files. 14409objdir=$objdir 14410 14411# Used to examine libraries when file_magic_cmd begins with "file". 14412MAGIC_CMD=$MAGIC_CMD 14413 14414# Must we lock files when doing compilation? 14415need_locks=$lt_need_locks 14416 14417# Manifest tool. 14418MANIFEST_TOOL=$lt_MANIFEST_TOOL 14419 14420# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14421DSYMUTIL=$lt_DSYMUTIL 14422 14423# Tool to change global to local symbols on Mac OS X. 14424NMEDIT=$lt_NMEDIT 14425 14426# Tool to manipulate fat objects and archives on Mac OS X. 14427LIPO=$lt_LIPO 14428 14429# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14430OTOOL=$lt_OTOOL 14431 14432# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14433OTOOL64=$lt_OTOOL64 14434 14435# Old archive suffix (normally "a"). 14436libext=$libext 14437 14438# Shared library suffix (normally ".so"). 14439shrext_cmds=$lt_shrext_cmds 14440 14441# The commands to extract the exported symbol list from a shared archive. 14442extract_expsyms_cmds=$lt_extract_expsyms_cmds 14443 14444# Variables whose values should be saved in libtool wrapper scripts and 14445# restored at link time. 14446variables_saved_for_relink=$lt_variables_saved_for_relink 14447 14448# Do we need the "lib" prefix for modules? 14449need_lib_prefix=$need_lib_prefix 14450 14451# Do we need a version for libraries? 14452need_version=$need_version 14453 14454# Library versioning type. 14455version_type=$version_type 14456 14457# Shared library runtime path variable. 14458runpath_var=$runpath_var 14459 14460# Shared library path variable. 14461shlibpath_var=$shlibpath_var 14462 14463# Is shlibpath searched before the hard-coded library search path? 14464shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14465 14466# Format of library name prefix. 14467libname_spec=$lt_libname_spec 14468 14469# List of archive names. First name is the real one, the rest are links. 14470# The last name is the one that the linker finds with -lNAME 14471library_names_spec=$lt_library_names_spec 14472 14473# The coded name of the library, if different from the real name. 14474soname_spec=$lt_soname_spec 14475 14476# Permission mode override for installation of shared libraries. 14477install_override_mode=$lt_install_override_mode 14478 14479# Command to use after installation of a shared archive. 14480postinstall_cmds=$lt_postinstall_cmds 14481 14482# Command to use after uninstallation of a shared archive. 14483postuninstall_cmds=$lt_postuninstall_cmds 14484 14485# Commands used to finish a libtool library installation in a directory. 14486finish_cmds=$lt_finish_cmds 14487 14488# As "finish_cmds", except a single script fragment to be evaled but 14489# not shown. 14490finish_eval=$lt_finish_eval 14491 14492# Whether we should hardcode library paths into libraries. 14493hardcode_into_libs=$hardcode_into_libs 14494 14495# Compile-time system search path for libraries. 14496sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14497 14498# Detected run-time system search path for libraries. 14499sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 14500 14501# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 14502configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 14503 14504# Whether dlopen is supported. 14505dlopen_support=$enable_dlopen 14506 14507# Whether dlopen of programs is supported. 14508dlopen_self=$enable_dlopen_self 14509 14510# Whether dlopen of statically linked programs is supported. 14511dlopen_self_static=$enable_dlopen_self_static 14512 14513# Commands to strip libraries. 14514old_striplib=$lt_old_striplib 14515striplib=$lt_striplib 14516 14517 14518# The linker used to build libraries. 14519LD=$lt_LD 14520 14521# How to create reloadable object files. 14522reload_flag=$lt_reload_flag 14523reload_cmds=$lt_reload_cmds 14524 14525# Commands used to build an old-style archive. 14526old_archive_cmds=$lt_old_archive_cmds 14527 14528# A language specific compiler. 14529CC=$lt_compiler 14530 14531# Is the compiler the GNU compiler? 14532with_gcc=$GCC 14533 14534# Compiler flag to turn off builtin functions. 14535no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14536 14537# Additional compiler flags for building library objects. 14538pic_flag=$lt_lt_prog_compiler_pic 14539 14540# How to pass a linker flag through the compiler. 14541wl=$lt_lt_prog_compiler_wl 14542 14543# Compiler flag to prevent dynamic linking. 14544link_static_flag=$lt_lt_prog_compiler_static 14545 14546# Does compiler simultaneously support -c and -o options? 14547compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14548 14549# Whether or not to add -lc for building shared libraries. 14550build_libtool_need_lc=$archive_cmds_need_lc 14551 14552# Whether or not to disallow shared libs when runtime libs are static. 14553allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14554 14555# Compiler flag to allow reflexive dlopens. 14556export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14557 14558# Compiler flag to generate shared objects directly from archives. 14559whole_archive_flag_spec=$lt_whole_archive_flag_spec 14560 14561# Whether the compiler copes with passing no objects directly. 14562compiler_needs_object=$lt_compiler_needs_object 14563 14564# Create an old-style archive from a shared archive. 14565old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14566 14567# Create a temporary old-style archive to link instead of a shared archive. 14568old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14569 14570# Commands used to build a shared archive. 14571archive_cmds=$lt_archive_cmds 14572archive_expsym_cmds=$lt_archive_expsym_cmds 14573 14574# Commands used to build a loadable module if different from building 14575# a shared archive. 14576module_cmds=$lt_module_cmds 14577module_expsym_cmds=$lt_module_expsym_cmds 14578 14579# Whether we are building with GNU ld or not. 14580with_gnu_ld=$lt_with_gnu_ld 14581 14582# Flag that allows shared libraries with undefined symbols to be built. 14583allow_undefined_flag=$lt_allow_undefined_flag 14584 14585# Flag that enforces no undefined symbols. 14586no_undefined_flag=$lt_no_undefined_flag 14587 14588# Flag to hardcode \$libdir into a binary during linking. 14589# This must work even if \$libdir does not exist 14590hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14591 14592# Whether we need a single "-rpath" flag with a separated argument. 14593hardcode_libdir_separator=$lt_hardcode_libdir_separator 14594 14595# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14596# DIR into the resulting binary. 14597hardcode_direct=$hardcode_direct 14598 14599# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14600# DIR into the resulting binary and the resulting library dependency is 14601# "absolute",i.e impossible to change by setting \$shlibpath_var if the 14602# library is relocated. 14603hardcode_direct_absolute=$hardcode_direct_absolute 14604 14605# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14606# into the resulting binary. 14607hardcode_minus_L=$hardcode_minus_L 14608 14609# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14610# into the resulting binary. 14611hardcode_shlibpath_var=$hardcode_shlibpath_var 14612 14613# Set to "yes" if building a shared library automatically hardcodes DIR 14614# into the library and all subsequent libraries and executables linked 14615# against it. 14616hardcode_automatic=$hardcode_automatic 14617 14618# Set to yes if linker adds runtime paths of dependent libraries 14619# to runtime path list. 14620inherit_rpath=$inherit_rpath 14621 14622# Whether libtool must link a program against all its dependency libraries. 14623link_all_deplibs=$link_all_deplibs 14624 14625# Set to "yes" if exported symbols are required. 14626always_export_symbols=$always_export_symbols 14627 14628# The commands to list exported symbols. 14629export_symbols_cmds=$lt_export_symbols_cmds 14630 14631# Symbols that should not be listed in the preloaded symbols. 14632exclude_expsyms=$lt_exclude_expsyms 14633 14634# Symbols that must always be exported. 14635include_expsyms=$lt_include_expsyms 14636 14637# Commands necessary for linking programs (against libraries) with templates. 14638prelink_cmds=$lt_prelink_cmds 14639 14640# Commands necessary for finishing linking programs. 14641postlink_cmds=$lt_postlink_cmds 14642 14643# Specify filename containing input files. 14644file_list_spec=$lt_file_list_spec 14645 14646# How to hardcode a shared library path into an executable. 14647hardcode_action=$hardcode_action 14648 14649# ### END LIBTOOL CONFIG 14650 14651_LT_EOF 14652 14653 cat <<'_LT_EOF' >> "$cfgfile" 14654 14655# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 14656 14657# func_munge_path_list VARIABLE PATH 14658# ----------------------------------- 14659# VARIABLE is name of variable containing _space_ separated list of 14660# directories to be munged by the contents of PATH, which is string 14661# having a format: 14662# "DIR[:DIR]:" 14663# string "DIR[ DIR]" will be prepended to VARIABLE 14664# ":DIR[:DIR]" 14665# string "DIR[ DIR]" will be appended to VARIABLE 14666# "DIRP[:DIRP]::[DIRA:]DIRA" 14667# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 14668# "DIRA[ DIRA]" will be appended to VARIABLE 14669# "DIR[:DIR]" 14670# VARIABLE will be replaced by "DIR[ DIR]" 14671func_munge_path_list () 14672{ 14673 case x$2 in 14674 x) 14675 ;; 14676 *:) 14677 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 14678 ;; 14679 x:*) 14680 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 14681 ;; 14682 *::*) 14683 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14684 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 14685 ;; 14686 *) 14687 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 14688 ;; 14689 esac 14690} 14691 14692 14693# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14694func_cc_basename () 14695{ 14696 for cc_temp in $*""; do 14697 case $cc_temp in 14698 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14699 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14700 \-*) ;; 14701 *) break;; 14702 esac 14703 done 14704 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 14705} 14706 14707 14708# ### END FUNCTIONS SHARED WITH CONFIGURE 14709 14710_LT_EOF 14711 14712 case $host_os in 14713 aix3*) 14714 cat <<\_LT_EOF >> "$cfgfile" 14715# AIX sometimes has problems with the GCC collect2 program. For some 14716# reason, if we set the COLLECT_NAMES environment variable, the problems 14717# vanish in a puff of smoke. 14718if test set != "${COLLECT_NAMES+set}"; then 14719 COLLECT_NAMES= 14720 export COLLECT_NAMES 14721fi 14722_LT_EOF 14723 ;; 14724 esac 14725 14726 14727ltmain=$ac_aux_dir/ltmain.sh 14728 14729 14730 # We use sed instead of cat because bash on DJGPP gets confused if 14731 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14732 # text mode, it properly converts lines to CR/LF. This bash problem 14733 # is reportedly fixed, but why not run on old versions too? 14734 sed '$q' "$ltmain" >> "$cfgfile" \ 14735 || (rm -f "$cfgfile"; exit 1) 14736 14737 mv -f "$cfgfile" "$ofile" || 14738 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14739 chmod +x "$ofile" 14740 14741 ;; 14742 14743 esac 14744done # for ac_tag 14745 14746 14747as_fn_exit 0 14748_ACEOF 14749ac_clean_files=$ac_clean_files_save 14750 14751test $ac_write_fail = 0 || 14752 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14753 14754 14755# configure is writing to config.log, and then calls config.status. 14756# config.status does its own redirection, appending to config.log. 14757# Unfortunately, on DOS this fails, as config.log is still kept open 14758# by configure, so config.status won't be able to write to it; its 14759# output is simply discarded. So we exec the FD to /dev/null, 14760# effectively closing config.log, so it can be properly (re)opened and 14761# appended to by config.status. When coming back to configure, we 14762# need to make the FD available again. 14763if test "$no_create" != yes; then 14764 ac_cs_success=: 14765 ac_config_status_args= 14766 test "$silent" = yes && 14767 ac_config_status_args="$ac_config_status_args --quiet" 14768 exec 5>/dev/null 14769 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14770 exec 5>>config.log 14771 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14772 # would make configure fail if this is the last instruction. 14773 $ac_cs_success || as_fn_exit 1 14774fi 14775if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14777$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14778fi 14779 14780