1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for eris 1.3.23. 4# 5# Report bugs to <erik@ogenvik.org>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and erik@ogenvik.org 278$0: about your system, including any error possibly output 279$0: before this message. Then install a modern shell, or 280$0: manually run the script under such a shell if you do 281$0: have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='eris' 592PACKAGE_TARNAME='eris' 593PACKAGE_VERSION='1.3.23' 594PACKAGE_STRING='eris 1.3.23' 595PACKAGE_BUGREPORT='erik@ogenvik.org' 596PACKAGE_URL='' 597 598ac_unique_file="Eris/Entity.cpp" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639ERIS_VERSION_INFO 640ERIS_REQUIRES 641ERIS_LIBS 642ERIS_DEPS 643ERIS_LIB_SUFFIX 644HAVE_GLIB_FALSE 645HAVE_GLIB_TRUE 646GLIB_CONFIG 647GLIB_LIBS 648GLIB_CFLAGS 649PERL_BINDINGS_FALSE 650PERL_BINDINGS_TRUE 651SIGCPERL_LIBS 652SIGCPERL_CFLAGS 653WF_LIBS 654WF_CFLAGS 655SIGC_LIBS 656SIGC_CFLAGS 657PKG_CONFIG_LIBDIR 658PKG_CONFIG_PATH 659PKG_CONFIG 660HAVE_WINSOCK_FALSE 661HAVE_WINSOCK_TRUE 662CXXCPP 663am__fastdepCXX_FALSE 664am__fastdepCXX_TRUE 665CXXDEPMODE 666ac_ct_CXX 667CXXFLAGS 668CXX 669CPP 670OTOOL64 671OTOOL 672LIPO 673NMEDIT 674DSYMUTIL 675MANIFEST_TOOL 676RANLIB 677ac_ct_AR 678AR 679DLLTOOL 680OBJDUMP 681LN_S 682NM 683ac_ct_DUMPBIN 684DUMPBIN 685LD 686FGREP 687EGREP 688GREP 689SED 690am__fastdepCC_FALSE 691am__fastdepCC_TRUE 692CCDEPMODE 693am__nodep 694AMDEPBACKSLASH 695AMDEP_FALSE 696AMDEP_TRUE 697am__quote 698am__include 699DEPDIR 700OBJEXT 701EXEEXT 702ac_ct_CC 703CPPFLAGS 704LDFLAGS 705CFLAGS 706CC 707LIBTOOL 708AM_BACKSLASH 709AM_DEFAULT_VERBOSITY 710AM_DEFAULT_V 711AM_V 712am__untar 713am__tar 714AMTAR 715am__leading_dot 716SET_MAKE 717AWK 718mkdir_p 719MKDIR_P 720INSTALL_STRIP_PROGRAM 721STRIP 722install_sh 723MAKEINFO 724AUTOHEADER 725AUTOMAKE 726AUTOCONF 727ACLOCAL 728VERSION 729PACKAGE 730CYGPATH_W 731am__isrc 732INSTALL_DATA 733INSTALL_SCRIPT 734INSTALL_PROGRAM 735host_os 736host_vendor 737host_cpu 738host 739build_os 740build_vendor 741build_cpu 742build 743target_alias 744host_alias 745build_alias 746LIBS 747ECHO_T 748ECHO_N 749ECHO_C 750DEFS 751mandir 752localedir 753libdir 754psdir 755pdfdir 756dvidir 757htmldir 758infodir 759docdir 760oldincludedir 761includedir 762localstatedir 763sharedstatedir 764sysconfdir 765datadir 766datarootdir 767libexecdir 768sbindir 769bindir 770program_transform_name 771prefix 772exec_prefix 773PACKAGE_URL 774PACKAGE_BUGREPORT 775PACKAGE_STRING 776PACKAGE_VERSION 777PACKAGE_TARNAME 778PACKAGE_NAME 779PATH_SEPARATOR 780SHELL' 781ac_subst_files='' 782ac_user_opts=' 783enable_option_checking 784enable_silent_rules 785enable_static 786enable_shared 787with_pic 788enable_fast_install 789enable_dependency_tracking 790with_gnu_ld 791with_sysroot 792enable_libtool_lock 793enable_debug 794enable_perl 795with_glib_prefix 796with_glib_exec_prefix 797enable_glibtest 798' 799 ac_precious_vars='build_alias 800host_alias 801target_alias 802CC 803CFLAGS 804LDFLAGS 805LIBS 806CPPFLAGS 807CPP 808CXX 809CXXFLAGS 810CCC 811CXXCPP 812PKG_CONFIG 813PKG_CONFIG_PATH 814PKG_CONFIG_LIBDIR 815SIGC_CFLAGS 816SIGC_LIBS 817WF_CFLAGS 818WF_LIBS 819SIGCPERL_CFLAGS 820SIGCPERL_LIBS 821GLIB_CFLAGS 822GLIB_LIBS' 823 824 825# Initialize some variables set by options. 826ac_init_help= 827ac_init_version=false 828ac_unrecognized_opts= 829ac_unrecognized_sep= 830# The variables have the same names as the options, with 831# dashes changed to underlines. 832cache_file=/dev/null 833exec_prefix=NONE 834no_create= 835no_recursion= 836prefix=NONE 837program_prefix=NONE 838program_suffix=NONE 839program_transform_name=s,x,x, 840silent= 841site= 842srcdir= 843verbose= 844x_includes=NONE 845x_libraries=NONE 846 847# Installation directory options. 848# These are left unexpanded so users can "make install exec_prefix=/foo" 849# and all the variables that are supposed to be based on exec_prefix 850# by default will actually change. 851# Use braces instead of parens because sh, perl, etc. also accept them. 852# (The list follows the same order as the GNU Coding Standards.) 853bindir='${exec_prefix}/bin' 854sbindir='${exec_prefix}/sbin' 855libexecdir='${exec_prefix}/libexec' 856datarootdir='${prefix}/share' 857datadir='${datarootdir}' 858sysconfdir='${prefix}/etc' 859sharedstatedir='${prefix}/com' 860localstatedir='${prefix}/var' 861includedir='${prefix}/include' 862oldincludedir='/usr/include' 863docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 864infodir='${datarootdir}/info' 865htmldir='${docdir}' 866dvidir='${docdir}' 867pdfdir='${docdir}' 868psdir='${docdir}' 869libdir='${exec_prefix}/lib' 870localedir='${datarootdir}/locale' 871mandir='${datarootdir}/man' 872 873ac_prev= 874ac_dashdash= 875for ac_option 876do 877 # If the previous option needs an argument, assign it. 878 if test -n "$ac_prev"; then 879 eval $ac_prev=\$ac_option 880 ac_prev= 881 continue 882 fi 883 884 case $ac_option in 885 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 886 *=) ac_optarg= ;; 887 *) ac_optarg=yes ;; 888 esac 889 890 # Accept the important Cygnus configure options, so we can diagnose typos. 891 892 case $ac_dashdash$ac_option in 893 --) 894 ac_dashdash=yes ;; 895 896 -bindir | --bindir | --bindi | --bind | --bin | --bi) 897 ac_prev=bindir ;; 898 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 899 bindir=$ac_optarg ;; 900 901 -build | --build | --buil | --bui | --bu) 902 ac_prev=build_alias ;; 903 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 904 build_alias=$ac_optarg ;; 905 906 -cache-file | --cache-file | --cache-fil | --cache-fi \ 907 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 908 ac_prev=cache_file ;; 909 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 910 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 911 cache_file=$ac_optarg ;; 912 913 --config-cache | -C) 914 cache_file=config.cache ;; 915 916 -datadir | --datadir | --datadi | --datad) 917 ac_prev=datadir ;; 918 -datadir=* | --datadir=* | --datadi=* | --datad=*) 919 datadir=$ac_optarg ;; 920 921 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 922 | --dataroo | --dataro | --datar) 923 ac_prev=datarootdir ;; 924 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 925 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 926 datarootdir=$ac_optarg ;; 927 928 -disable-* | --disable-*) 929 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 930 # Reject names that are not valid shell variable names. 931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 932 as_fn_error $? "invalid feature name: $ac_useropt" 933 ac_useropt_orig=$ac_useropt 934 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 935 case $ac_user_opts in 936 *" 937"enable_$ac_useropt" 938"*) ;; 939 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 940 ac_unrecognized_sep=', ';; 941 esac 942 eval enable_$ac_useropt=no ;; 943 944 -docdir | --docdir | --docdi | --doc | --do) 945 ac_prev=docdir ;; 946 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 947 docdir=$ac_optarg ;; 948 949 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 950 ac_prev=dvidir ;; 951 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 952 dvidir=$ac_optarg ;; 953 954 -enable-* | --enable-*) 955 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 956 # Reject names that are not valid shell variable names. 957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 958 as_fn_error $? "invalid feature name: $ac_useropt" 959 ac_useropt_orig=$ac_useropt 960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 961 case $ac_user_opts in 962 *" 963"enable_$ac_useropt" 964"*) ;; 965 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 966 ac_unrecognized_sep=', ';; 967 esac 968 eval enable_$ac_useropt=\$ac_optarg ;; 969 970 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 971 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 972 | --exec | --exe | --ex) 973 ac_prev=exec_prefix ;; 974 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 975 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 976 | --exec=* | --exe=* | --ex=*) 977 exec_prefix=$ac_optarg ;; 978 979 -gas | --gas | --ga | --g) 980 # Obsolete; use --with-gas. 981 with_gas=yes ;; 982 983 -help | --help | --hel | --he | -h) 984 ac_init_help=long ;; 985 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 986 ac_init_help=recursive ;; 987 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 988 ac_init_help=short ;; 989 990 -host | --host | --hos | --ho) 991 ac_prev=host_alias ;; 992 -host=* | --host=* | --hos=* | --ho=*) 993 host_alias=$ac_optarg ;; 994 995 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 996 ac_prev=htmldir ;; 997 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 998 | --ht=*) 999 htmldir=$ac_optarg ;; 1000 1001 -includedir | --includedir | --includedi | --included | --include \ 1002 | --includ | --inclu | --incl | --inc) 1003 ac_prev=includedir ;; 1004 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1005 | --includ=* | --inclu=* | --incl=* | --inc=*) 1006 includedir=$ac_optarg ;; 1007 1008 -infodir | --infodir | --infodi | --infod | --info | --inf) 1009 ac_prev=infodir ;; 1010 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1011 infodir=$ac_optarg ;; 1012 1013 -libdir | --libdir | --libdi | --libd) 1014 ac_prev=libdir ;; 1015 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1016 libdir=$ac_optarg ;; 1017 1018 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1019 | --libexe | --libex | --libe) 1020 ac_prev=libexecdir ;; 1021 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1022 | --libexe=* | --libex=* | --libe=*) 1023 libexecdir=$ac_optarg ;; 1024 1025 -localedir | --localedir | --localedi | --localed | --locale) 1026 ac_prev=localedir ;; 1027 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1028 localedir=$ac_optarg ;; 1029 1030 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1031 | --localstate | --localstat | --localsta | --localst | --locals) 1032 ac_prev=localstatedir ;; 1033 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1034 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1035 localstatedir=$ac_optarg ;; 1036 1037 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1038 ac_prev=mandir ;; 1039 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1040 mandir=$ac_optarg ;; 1041 1042 -nfp | --nfp | --nf) 1043 # Obsolete; use --without-fp. 1044 with_fp=no ;; 1045 1046 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1047 | --no-cr | --no-c | -n) 1048 no_create=yes ;; 1049 1050 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1051 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1052 no_recursion=yes ;; 1053 1054 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1055 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1056 | --oldin | --oldi | --old | --ol | --o) 1057 ac_prev=oldincludedir ;; 1058 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1059 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1060 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1061 oldincludedir=$ac_optarg ;; 1062 1063 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1064 ac_prev=prefix ;; 1065 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1066 prefix=$ac_optarg ;; 1067 1068 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1069 | --program-pre | --program-pr | --program-p) 1070 ac_prev=program_prefix ;; 1071 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1072 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1073 program_prefix=$ac_optarg ;; 1074 1075 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1076 | --program-suf | --program-su | --program-s) 1077 ac_prev=program_suffix ;; 1078 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1079 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1080 program_suffix=$ac_optarg ;; 1081 1082 -program-transform-name | --program-transform-name \ 1083 | --program-transform-nam | --program-transform-na \ 1084 | --program-transform-n | --program-transform- \ 1085 | --program-transform | --program-transfor \ 1086 | --program-transfo | --program-transf \ 1087 | --program-trans | --program-tran \ 1088 | --progr-tra | --program-tr | --program-t) 1089 ac_prev=program_transform_name ;; 1090 -program-transform-name=* | --program-transform-name=* \ 1091 | --program-transform-nam=* | --program-transform-na=* \ 1092 | --program-transform-n=* | --program-transform-=* \ 1093 | --program-transform=* | --program-transfor=* \ 1094 | --program-transfo=* | --program-transf=* \ 1095 | --program-trans=* | --program-tran=* \ 1096 | --progr-tra=* | --program-tr=* | --program-t=*) 1097 program_transform_name=$ac_optarg ;; 1098 1099 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1100 ac_prev=pdfdir ;; 1101 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1102 pdfdir=$ac_optarg ;; 1103 1104 -psdir | --psdir | --psdi | --psd | --ps) 1105 ac_prev=psdir ;; 1106 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1107 psdir=$ac_optarg ;; 1108 1109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1110 | -silent | --silent | --silen | --sile | --sil) 1111 silent=yes ;; 1112 1113 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1114 ac_prev=sbindir ;; 1115 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1116 | --sbi=* | --sb=*) 1117 sbindir=$ac_optarg ;; 1118 1119 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1120 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1121 | --sharedst | --shareds | --shared | --share | --shar \ 1122 | --sha | --sh) 1123 ac_prev=sharedstatedir ;; 1124 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1125 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1126 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1127 | --sha=* | --sh=*) 1128 sharedstatedir=$ac_optarg ;; 1129 1130 -site | --site | --sit) 1131 ac_prev=site ;; 1132 -site=* | --site=* | --sit=*) 1133 site=$ac_optarg ;; 1134 1135 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1136 ac_prev=srcdir ;; 1137 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1138 srcdir=$ac_optarg ;; 1139 1140 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1141 | --syscon | --sysco | --sysc | --sys | --sy) 1142 ac_prev=sysconfdir ;; 1143 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1144 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1145 sysconfdir=$ac_optarg ;; 1146 1147 -target | --target | --targe | --targ | --tar | --ta | --t) 1148 ac_prev=target_alias ;; 1149 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1150 target_alias=$ac_optarg ;; 1151 1152 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1153 verbose=yes ;; 1154 1155 -version | --version | --versio | --versi | --vers | -V) 1156 ac_init_version=: ;; 1157 1158 -with-* | --with-*) 1159 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1160 # Reject names that are not valid shell variable names. 1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1162 as_fn_error $? "invalid package name: $ac_useropt" 1163 ac_useropt_orig=$ac_useropt 1164 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1165 case $ac_user_opts in 1166 *" 1167"with_$ac_useropt" 1168"*) ;; 1169 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1170 ac_unrecognized_sep=', ';; 1171 esac 1172 eval with_$ac_useropt=\$ac_optarg ;; 1173 1174 -without-* | --without-*) 1175 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1176 # Reject names that are not valid shell variable names. 1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1178 as_fn_error $? "invalid package name: $ac_useropt" 1179 ac_useropt_orig=$ac_useropt 1180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1181 case $ac_user_opts in 1182 *" 1183"with_$ac_useropt" 1184"*) ;; 1185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1186 ac_unrecognized_sep=', ';; 1187 esac 1188 eval with_$ac_useropt=no ;; 1189 1190 --x) 1191 # Obsolete; use --with-x. 1192 with_x=yes ;; 1193 1194 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1195 | --x-incl | --x-inc | --x-in | --x-i) 1196 ac_prev=x_includes ;; 1197 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1198 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1199 x_includes=$ac_optarg ;; 1200 1201 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1202 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1203 ac_prev=x_libraries ;; 1204 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1205 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1206 x_libraries=$ac_optarg ;; 1207 1208 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1209Try \`$0 --help' for more information" 1210 ;; 1211 1212 *=*) 1213 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1214 # Reject names that are not valid shell variable names. 1215 case $ac_envvar in #( 1216 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1217 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1218 esac 1219 eval $ac_envvar=\$ac_optarg 1220 export $ac_envvar ;; 1221 1222 *) 1223 # FIXME: should be removed in autoconf 3.0. 1224 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1225 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1226 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1227 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1228 ;; 1229 1230 esac 1231done 1232 1233if test -n "$ac_prev"; then 1234 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1235 as_fn_error $? "missing argument to $ac_option" 1236fi 1237 1238if test -n "$ac_unrecognized_opts"; then 1239 case $enable_option_checking in 1240 no) ;; 1241 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1242 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1243 esac 1244fi 1245 1246# Check all directory arguments for consistency. 1247for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1248 datadir sysconfdir sharedstatedir localstatedir includedir \ 1249 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1250 libdir localedir mandir 1251do 1252 eval ac_val=\$$ac_var 1253 # Remove trailing slashes. 1254 case $ac_val in 1255 */ ) 1256 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1257 eval $ac_var=\$ac_val;; 1258 esac 1259 # Be sure to have absolute directory names. 1260 case $ac_val in 1261 [\\/$]* | ?:[\\/]* ) continue;; 1262 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1263 esac 1264 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1265done 1266 1267# There might be people who depend on the old broken behavior: `$host' 1268# used to hold the argument of --host etc. 1269# FIXME: To remove some day. 1270build=$build_alias 1271host=$host_alias 1272target=$target_alias 1273 1274# FIXME: To remove some day. 1275if test "x$host_alias" != x; then 1276 if test "x$build_alias" = x; then 1277 cross_compiling=maybe 1278 elif test "x$build_alias" != "x$host_alias"; then 1279 cross_compiling=yes 1280 fi 1281fi 1282 1283ac_tool_prefix= 1284test -n "$host_alias" && ac_tool_prefix=$host_alias- 1285 1286test "$silent" = yes && exec 6>/dev/null 1287 1288 1289ac_pwd=`pwd` && test -n "$ac_pwd" && 1290ac_ls_di=`ls -di .` && 1291ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1292 as_fn_error $? "working directory cannot be determined" 1293test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1294 as_fn_error $? "pwd does not report name of working directory" 1295 1296 1297# Find the source files, if location was not specified. 1298if test -z "$srcdir"; then 1299 ac_srcdir_defaulted=yes 1300 # Try the directory containing this script, then the parent directory. 1301 ac_confdir=`$as_dirname -- "$as_myself" || 1302$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1303 X"$as_myself" : 'X\(//\)[^/]' \| \ 1304 X"$as_myself" : 'X\(//\)$' \| \ 1305 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1306$as_echo X"$as_myself" | 1307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1308 s//\1/ 1309 q 1310 } 1311 /^X\(\/\/\)[^/].*/{ 1312 s//\1/ 1313 q 1314 } 1315 /^X\(\/\/\)$/{ 1316 s//\1/ 1317 q 1318 } 1319 /^X\(\/\).*/{ 1320 s//\1/ 1321 q 1322 } 1323 s/.*/./; q'` 1324 srcdir=$ac_confdir 1325 if test ! -r "$srcdir/$ac_unique_file"; then 1326 srcdir=.. 1327 fi 1328else 1329 ac_srcdir_defaulted=no 1330fi 1331if test ! -r "$srcdir/$ac_unique_file"; then 1332 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1333 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1334fi 1335ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1336ac_abs_confdir=`( 1337 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1338 pwd)` 1339# When building in place, set srcdir=. 1340if test "$ac_abs_confdir" = "$ac_pwd"; then 1341 srcdir=. 1342fi 1343# Remove unnecessary trailing slashes from srcdir. 1344# Double slashes in file names in object file debugging info 1345# mess up M-x gdb in Emacs. 1346case $srcdir in 1347*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1348esac 1349for ac_var in $ac_precious_vars; do 1350 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1351 eval ac_env_${ac_var}_value=\$${ac_var} 1352 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1353 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1354done 1355 1356# 1357# Report the --help message. 1358# 1359if test "$ac_init_help" = "long"; then 1360 # Omit some internal or obsolete options to make the list less imposing. 1361 # This message is too long to be a string in the A/UX 3.1 sh. 1362 cat <<_ACEOF 1363\`configure' configures eris 1.3.23 to adapt to many kinds of systems. 1364 1365Usage: $0 [OPTION]... [VAR=VALUE]... 1366 1367To assign environment variables (e.g., CC, CFLAGS...), specify them as 1368VAR=VALUE. See below for descriptions of some of the useful variables. 1369 1370Defaults for the options are specified in brackets. 1371 1372Configuration: 1373 -h, --help display this help and exit 1374 --help=short display options specific to this package 1375 --help=recursive display the short help of all the included packages 1376 -V, --version display version information and exit 1377 -q, --quiet, --silent do not print \`checking ...' messages 1378 --cache-file=FILE cache test results in FILE [disabled] 1379 -C, --config-cache alias for \`--cache-file=config.cache' 1380 -n, --no-create do not create output files 1381 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1382 1383Installation directories: 1384 --prefix=PREFIX install architecture-independent files in PREFIX 1385 [$ac_default_prefix] 1386 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1387 [PREFIX] 1388 1389By default, \`make install' will install all the files in 1390\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1391an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1392for instance \`--prefix=\$HOME'. 1393 1394For better control, use the options below. 1395 1396Fine tuning of the installation directories: 1397 --bindir=DIR user executables [EPREFIX/bin] 1398 --sbindir=DIR system admin executables [EPREFIX/sbin] 1399 --libexecdir=DIR program executables [EPREFIX/libexec] 1400 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1401 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1402 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1403 --libdir=DIR object code libraries [EPREFIX/lib] 1404 --includedir=DIR C header files [PREFIX/include] 1405 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1406 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1407 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1408 --infodir=DIR info documentation [DATAROOTDIR/info] 1409 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1410 --mandir=DIR man documentation [DATAROOTDIR/man] 1411 --docdir=DIR documentation root [DATAROOTDIR/doc/eris] 1412 --htmldir=DIR html documentation [DOCDIR] 1413 --dvidir=DIR dvi documentation [DOCDIR] 1414 --pdfdir=DIR pdf documentation [DOCDIR] 1415 --psdir=DIR ps documentation [DOCDIR] 1416_ACEOF 1417 1418 cat <<\_ACEOF 1419 1420Program names: 1421 --program-prefix=PREFIX prepend PREFIX to installed program names 1422 --program-suffix=SUFFIX append SUFFIX to installed program names 1423 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1424 1425System types: 1426 --build=BUILD configure for building on BUILD [guessed] 1427 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1428_ACEOF 1429fi 1430 1431if test -n "$ac_init_help"; then 1432 case $ac_init_help in 1433 short | recursive ) echo "Configuration of eris 1.3.23:";; 1434 esac 1435 cat <<\_ACEOF 1436 1437Optional Features: 1438 --disable-option-checking ignore unrecognized --enable/--with options 1439 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1440 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1441 --enable-silent-rules less verbose build output (undo: "make V=1") 1442 --disable-silent-rules verbose build output (undo: "make V=0") 1443 --enable-static[=PKGS] build static libraries [default=no] 1444 --enable-shared[=PKGS] build shared libraries [default=yes] 1445 --enable-fast-install[=PKGS] 1446 optimize for fast installation [default=yes] 1447 --enable-dependency-tracking 1448 do not reject slow dependency extractors 1449 --disable-dependency-tracking 1450 speeds up one-time build 1451 --disable-libtool-lock avoid locking (might break parallel builds) 1452 --enable-debug enable debug information default=no 1453 --enable-perl Enable building of Perl bindings 1454 1455 --disable-glibtest Do not try to compile and run a test GLIB program 1456 1457Optional Packages: 1458 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1459 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1460 --with-pic try to use only PIC/non-PIC objects [default=use 1461 both] 1462 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1463 --with-sysroot=DIR Search for dependent libraries within DIR 1464 (or the compiler's sysroot if not specified). 1465 --with-glib-prefix=PFX Prefix where GLIB is installed (optional) 1466 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) 1467 1468Some influential environment variables: 1469 CC C compiler command 1470 CFLAGS C compiler flags 1471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1472 nonstandard directory <lib dir> 1473 LIBS libraries to pass to the linker, e.g. -l<library> 1474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1475 you have headers in a nonstandard directory <include dir> 1476 CPP C preprocessor 1477 CXX C++ compiler command 1478 CXXFLAGS C++ compiler flags 1479 CXXCPP C++ preprocessor 1480 PKG_CONFIG path to pkg-config utility 1481 PKG_CONFIG_PATH 1482 directories to add to pkg-config's search path 1483 PKG_CONFIG_LIBDIR 1484 path overriding pkg-config's built-in search path 1485 SIGC_CFLAGS C compiler flags for SIGC, overriding pkg-config 1486 SIGC_LIBS linker flags for SIGC, overriding pkg-config 1487 WF_CFLAGS C compiler flags for WF, overriding pkg-config 1488 WF_LIBS linker flags for WF, overriding pkg-config 1489 SIGCPERL_CFLAGS 1490 C compiler flags for SIGCPERL, overriding pkg-config 1491 SIGCPERL_LIBS 1492 linker flags for SIGCPERL, overriding pkg-config 1493 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1494 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1495 1496Use these variables to override the choices made by `configure' or to help 1497it to find libraries and programs with nonstandard names/locations. 1498 1499Report bugs to <erik@ogenvik.org>. 1500_ACEOF 1501ac_status=$? 1502fi 1503 1504if test "$ac_init_help" = "recursive"; then 1505 # If there are subdirs, report their specific --help. 1506 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1507 test -d "$ac_dir" || 1508 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1509 continue 1510 ac_builddir=. 1511 1512case "$ac_dir" in 1513.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1514*) 1515 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1516 # A ".." for each directory in $ac_dir_suffix. 1517 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1518 case $ac_top_builddir_sub in 1519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1521 esac ;; 1522esac 1523ac_abs_top_builddir=$ac_pwd 1524ac_abs_builddir=$ac_pwd$ac_dir_suffix 1525# for backward compatibility: 1526ac_top_builddir=$ac_top_build_prefix 1527 1528case $srcdir in 1529 .) # We are building in place. 1530 ac_srcdir=. 1531 ac_top_srcdir=$ac_top_builddir_sub 1532 ac_abs_top_srcdir=$ac_pwd ;; 1533 [\\/]* | ?:[\\/]* ) # Absolute name. 1534 ac_srcdir=$srcdir$ac_dir_suffix; 1535 ac_top_srcdir=$srcdir 1536 ac_abs_top_srcdir=$srcdir ;; 1537 *) # Relative name. 1538 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1539 ac_top_srcdir=$ac_top_build_prefix$srcdir 1540 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1541esac 1542ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1543 1544 cd "$ac_dir" || { ac_status=$?; continue; } 1545 # Check for guested configure. 1546 if test -f "$ac_srcdir/configure.gnu"; then 1547 echo && 1548 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1549 elif test -f "$ac_srcdir/configure"; then 1550 echo && 1551 $SHELL "$ac_srcdir/configure" --help=recursive 1552 else 1553 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1554 fi || ac_status=$? 1555 cd "$ac_pwd" || { ac_status=$?; break; } 1556 done 1557fi 1558 1559test -n "$ac_init_help" && exit $ac_status 1560if $ac_init_version; then 1561 cat <<\_ACEOF 1562eris configure 1.3.23 1563generated by GNU Autoconf 2.69 1564 1565Copyright (C) 2012 Free Software Foundation, Inc. 1566This configure script is free software; the Free Software Foundation 1567gives unlimited permission to copy, distribute and modify it. 1568_ACEOF 1569 exit 1570fi 1571 1572## ------------------------ ## 1573## Autoconf initialization. ## 1574## ------------------------ ## 1575 1576# ac_fn_c_try_compile LINENO 1577# -------------------------- 1578# Try to compile conftest.$ac_ext, and return whether this succeeded. 1579ac_fn_c_try_compile () 1580{ 1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1582 rm -f conftest.$ac_objext 1583 if { { ac_try="$ac_compile" 1584case "(($ac_try" in 1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1586 *) ac_try_echo=$ac_try;; 1587esac 1588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1589$as_echo "$ac_try_echo"; } >&5 1590 (eval "$ac_compile") 2>conftest.err 1591 ac_status=$? 1592 if test -s conftest.err; then 1593 grep -v '^ *+' conftest.err >conftest.er1 1594 cat conftest.er1 >&5 1595 mv -f conftest.er1 conftest.err 1596 fi 1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1598 test $ac_status = 0; } && { 1599 test -z "$ac_c_werror_flag" || 1600 test ! -s conftest.err 1601 } && test -s conftest.$ac_objext; then : 1602 ac_retval=0 1603else 1604 $as_echo "$as_me: failed program was:" >&5 1605sed 's/^/| /' conftest.$ac_ext >&5 1606 1607 ac_retval=1 1608fi 1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1610 as_fn_set_status $ac_retval 1611 1612} # ac_fn_c_try_compile 1613 1614# ac_fn_c_try_link LINENO 1615# ----------------------- 1616# Try to link conftest.$ac_ext, and return whether this succeeded. 1617ac_fn_c_try_link () 1618{ 1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1620 rm -f conftest.$ac_objext conftest$ac_exeext 1621 if { { ac_try="$ac_link" 1622case "(($ac_try" in 1623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1624 *) ac_try_echo=$ac_try;; 1625esac 1626eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1627$as_echo "$ac_try_echo"; } >&5 1628 (eval "$ac_link") 2>conftest.err 1629 ac_status=$? 1630 if test -s conftest.err; then 1631 grep -v '^ *+' conftest.err >conftest.er1 1632 cat conftest.er1 >&5 1633 mv -f conftest.er1 conftest.err 1634 fi 1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1636 test $ac_status = 0; } && { 1637 test -z "$ac_c_werror_flag" || 1638 test ! -s conftest.err 1639 } && test -s conftest$ac_exeext && { 1640 test "$cross_compiling" = yes || 1641 test -x conftest$ac_exeext 1642 }; then : 1643 ac_retval=0 1644else 1645 $as_echo "$as_me: failed program was:" >&5 1646sed 's/^/| /' conftest.$ac_ext >&5 1647 1648 ac_retval=1 1649fi 1650 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1651 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1652 # interfere with the next link command; also delete a directory that is 1653 # left behind by Apple's compiler. We do this before executing the actions. 1654 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1656 as_fn_set_status $ac_retval 1657 1658} # ac_fn_c_try_link 1659 1660# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1661# ------------------------------------------------------- 1662# Tests whether HEADER exists and can be compiled using the include files in 1663# INCLUDES, setting the cache variable VAR accordingly. 1664ac_fn_c_check_header_compile () 1665{ 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1668$as_echo_n "checking for $2... " >&6; } 1669if eval \${$3+:} false; then : 1670 $as_echo_n "(cached) " >&6 1671else 1672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1673/* end confdefs.h. */ 1674$4 1675#include <$2> 1676_ACEOF 1677if ac_fn_c_try_compile "$LINENO"; then : 1678 eval "$3=yes" 1679else 1680 eval "$3=no" 1681fi 1682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1683fi 1684eval ac_res=\$$3 1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1686$as_echo "$ac_res" >&6; } 1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1688 1689} # ac_fn_c_check_header_compile 1690 1691# ac_fn_c_try_cpp LINENO 1692# ---------------------- 1693# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1694ac_fn_c_try_cpp () 1695{ 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 if { { ac_try="$ac_cpp conftest.$ac_ext" 1698case "(($ac_try" in 1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1700 *) ac_try_echo=$ac_try;; 1701esac 1702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1703$as_echo "$ac_try_echo"; } >&5 1704 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1705 ac_status=$? 1706 if test -s conftest.err; then 1707 grep -v '^ *+' conftest.err >conftest.er1 1708 cat conftest.er1 >&5 1709 mv -f conftest.er1 conftest.err 1710 fi 1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1712 test $ac_status = 0; } > conftest.i && { 1713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1714 test ! -s conftest.err 1715 }; then : 1716 ac_retval=0 1717else 1718 $as_echo "$as_me: failed program was:" >&5 1719sed 's/^/| /' conftest.$ac_ext >&5 1720 1721 ac_retval=1 1722fi 1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1724 as_fn_set_status $ac_retval 1725 1726} # ac_fn_c_try_cpp 1727 1728# ac_fn_c_try_run LINENO 1729# ---------------------- 1730# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1731# that executables *can* be run. 1732ac_fn_c_try_run () 1733{ 1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1735 if { { ac_try="$ac_link" 1736case "(($ac_try" in 1737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1738 *) ac_try_echo=$ac_try;; 1739esac 1740eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1741$as_echo "$ac_try_echo"; } >&5 1742 (eval "$ac_link") 2>&5 1743 ac_status=$? 1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1745 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1746 { { case "(($ac_try" in 1747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1748 *) ac_try_echo=$ac_try;; 1749esac 1750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1751$as_echo "$ac_try_echo"; } >&5 1752 (eval "$ac_try") 2>&5 1753 ac_status=$? 1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1755 test $ac_status = 0; }; }; then : 1756 ac_retval=0 1757else 1758 $as_echo "$as_me: program exited with status $ac_status" >&5 1759 $as_echo "$as_me: failed program was:" >&5 1760sed 's/^/| /' conftest.$ac_ext >&5 1761 1762 ac_retval=$ac_status 1763fi 1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1766 as_fn_set_status $ac_retval 1767 1768} # ac_fn_c_try_run 1769 1770# ac_fn_c_check_func LINENO FUNC VAR 1771# ---------------------------------- 1772# Tests whether FUNC exists, setting the cache variable VAR accordingly 1773ac_fn_c_check_func () 1774{ 1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1777$as_echo_n "checking for $2... " >&6; } 1778if eval \${$3+:} false; then : 1779 $as_echo_n "(cached) " >&6 1780else 1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1782/* end confdefs.h. */ 1783/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1784 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1785#define $2 innocuous_$2 1786 1787/* System header to define __stub macros and hopefully few prototypes, 1788 which can conflict with char $2 (); below. 1789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1790 <limits.h> exists even on freestanding compilers. */ 1791 1792#ifdef __STDC__ 1793# include <limits.h> 1794#else 1795# include <assert.h> 1796#endif 1797 1798#undef $2 1799 1800/* Override any GCC internal prototype to avoid an error. 1801 Use char because int might match the return type of a GCC 1802 builtin and then its argument prototype would still apply. */ 1803#ifdef __cplusplus 1804extern "C" 1805#endif 1806char $2 (); 1807/* The GNU C library defines this for functions which it implements 1808 to always fail with ENOSYS. Some functions are actually named 1809 something starting with __ and the normal name is an alias. */ 1810#if defined __stub_$2 || defined __stub___$2 1811choke me 1812#endif 1813 1814int 1815main () 1816{ 1817return $2 (); 1818 ; 1819 return 0; 1820} 1821_ACEOF 1822if ac_fn_c_try_link "$LINENO"; then : 1823 eval "$3=yes" 1824else 1825 eval "$3=no" 1826fi 1827rm -f core conftest.err conftest.$ac_objext \ 1828 conftest$ac_exeext conftest.$ac_ext 1829fi 1830eval ac_res=\$$3 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1832$as_echo "$ac_res" >&6; } 1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1834 1835} # ac_fn_c_check_func 1836 1837# ac_fn_cxx_try_compile LINENO 1838# ---------------------------- 1839# Try to compile conftest.$ac_ext, and return whether this succeeded. 1840ac_fn_cxx_try_compile () 1841{ 1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1843 rm -f conftest.$ac_objext 1844 if { { ac_try="$ac_compile" 1845case "(($ac_try" in 1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1847 *) ac_try_echo=$ac_try;; 1848esac 1849eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1850$as_echo "$ac_try_echo"; } >&5 1851 (eval "$ac_compile") 2>conftest.err 1852 ac_status=$? 1853 if test -s conftest.err; then 1854 grep -v '^ *+' conftest.err >conftest.er1 1855 cat conftest.er1 >&5 1856 mv -f conftest.er1 conftest.err 1857 fi 1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1859 test $ac_status = 0; } && { 1860 test -z "$ac_cxx_werror_flag" || 1861 test ! -s conftest.err 1862 } && test -s conftest.$ac_objext; then : 1863 ac_retval=0 1864else 1865 $as_echo "$as_me: failed program was:" >&5 1866sed 's/^/| /' conftest.$ac_ext >&5 1867 1868 ac_retval=1 1869fi 1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1871 as_fn_set_status $ac_retval 1872 1873} # ac_fn_cxx_try_compile 1874 1875# ac_fn_cxx_try_cpp LINENO 1876# ------------------------ 1877# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1878ac_fn_cxx_try_cpp () 1879{ 1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1881 if { { ac_try="$ac_cpp conftest.$ac_ext" 1882case "(($ac_try" in 1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1884 *) ac_try_echo=$ac_try;; 1885esac 1886eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1887$as_echo "$ac_try_echo"; } >&5 1888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1889 ac_status=$? 1890 if test -s conftest.err; then 1891 grep -v '^ *+' conftest.err >conftest.er1 1892 cat conftest.er1 >&5 1893 mv -f conftest.er1 conftest.err 1894 fi 1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1896 test $ac_status = 0; } > conftest.i && { 1897 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1898 test ! -s conftest.err 1899 }; then : 1900 ac_retval=0 1901else 1902 $as_echo "$as_me: failed program was:" >&5 1903sed 's/^/| /' conftest.$ac_ext >&5 1904 1905 ac_retval=1 1906fi 1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1908 as_fn_set_status $ac_retval 1909 1910} # ac_fn_cxx_try_cpp 1911 1912# ac_fn_cxx_try_link LINENO 1913# ------------------------- 1914# Try to link conftest.$ac_ext, and return whether this succeeded. 1915ac_fn_cxx_try_link () 1916{ 1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1918 rm -f conftest.$ac_objext conftest$ac_exeext 1919 if { { ac_try="$ac_link" 1920case "(($ac_try" in 1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1922 *) ac_try_echo=$ac_try;; 1923esac 1924eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1925$as_echo "$ac_try_echo"; } >&5 1926 (eval "$ac_link") 2>conftest.err 1927 ac_status=$? 1928 if test -s conftest.err; then 1929 grep -v '^ *+' conftest.err >conftest.er1 1930 cat conftest.er1 >&5 1931 mv -f conftest.er1 conftest.err 1932 fi 1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1934 test $ac_status = 0; } && { 1935 test -z "$ac_cxx_werror_flag" || 1936 test ! -s conftest.err 1937 } && test -s conftest$ac_exeext && { 1938 test "$cross_compiling" = yes || 1939 test -x conftest$ac_exeext 1940 }; then : 1941 ac_retval=0 1942else 1943 $as_echo "$as_me: failed program was:" >&5 1944sed 's/^/| /' conftest.$ac_ext >&5 1945 1946 ac_retval=1 1947fi 1948 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1949 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1950 # interfere with the next link command; also delete a directory that is 1951 # left behind by Apple's compiler. We do this before executing the actions. 1952 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1954 as_fn_set_status $ac_retval 1955 1956} # ac_fn_cxx_try_link 1957 1958# ac_fn_cxx_check_func LINENO FUNC VAR 1959# ------------------------------------ 1960# Tests whether FUNC exists, setting the cache variable VAR accordingly 1961ac_fn_cxx_check_func () 1962{ 1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1965$as_echo_n "checking for $2... " >&6; } 1966if eval \${$3+:} false; then : 1967 $as_echo_n "(cached) " >&6 1968else 1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1970/* end confdefs.h. */ 1971/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1972 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1973#define $2 innocuous_$2 1974 1975/* System header to define __stub macros and hopefully few prototypes, 1976 which can conflict with char $2 (); below. 1977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1978 <limits.h> exists even on freestanding compilers. */ 1979 1980#ifdef __STDC__ 1981# include <limits.h> 1982#else 1983# include <assert.h> 1984#endif 1985 1986#undef $2 1987 1988/* Override any GCC internal prototype to avoid an error. 1989 Use char because int might match the return type of a GCC 1990 builtin and then its argument prototype would still apply. */ 1991#ifdef __cplusplus 1992extern "C" 1993#endif 1994char $2 (); 1995/* The GNU C library defines this for functions which it implements 1996 to always fail with ENOSYS. Some functions are actually named 1997 something starting with __ and the normal name is an alias. */ 1998#if defined __stub_$2 || defined __stub___$2 1999choke me 2000#endif 2001 2002int 2003main () 2004{ 2005return $2 (); 2006 ; 2007 return 0; 2008} 2009_ACEOF 2010if ac_fn_cxx_try_link "$LINENO"; then : 2011 eval "$3=yes" 2012else 2013 eval "$3=no" 2014fi 2015rm -f core conftest.err conftest.$ac_objext \ 2016 conftest$ac_exeext conftest.$ac_ext 2017fi 2018eval ac_res=\$$3 2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2020$as_echo "$ac_res" >&6; } 2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2022 2023} # ac_fn_cxx_check_func 2024cat >config.log <<_ACEOF 2025This file contains any messages produced by compilers while 2026running configure, to aid debugging if configure makes a mistake. 2027 2028It was created by eris $as_me 1.3.23, which was 2029generated by GNU Autoconf 2.69. Invocation command line was 2030 2031 $ $0 $@ 2032 2033_ACEOF 2034exec 5>>config.log 2035{ 2036cat <<_ASUNAME 2037## --------- ## 2038## Platform. ## 2039## --------- ## 2040 2041hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2042uname -m = `(uname -m) 2>/dev/null || echo unknown` 2043uname -r = `(uname -r) 2>/dev/null || echo unknown` 2044uname -s = `(uname -s) 2>/dev/null || echo unknown` 2045uname -v = `(uname -v) 2>/dev/null || echo unknown` 2046 2047/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2048/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2049 2050/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2051/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2052/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2053/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2054/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2055/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2056/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2057 2058_ASUNAME 2059 2060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2061for as_dir in $PATH 2062do 2063 IFS=$as_save_IFS 2064 test -z "$as_dir" && as_dir=. 2065 $as_echo "PATH: $as_dir" 2066 done 2067IFS=$as_save_IFS 2068 2069} >&5 2070 2071cat >&5 <<_ACEOF 2072 2073 2074## ----------- ## 2075## Core tests. ## 2076## ----------- ## 2077 2078_ACEOF 2079 2080 2081# Keep a trace of the command line. 2082# Strip out --no-create and --no-recursion so they do not pile up. 2083# Strip out --silent because we don't want to record it for future runs. 2084# Also quote any args containing shell meta-characters. 2085# Make two passes to allow for proper duplicate-argument suppression. 2086ac_configure_args= 2087ac_configure_args0= 2088ac_configure_args1= 2089ac_must_keep_next=false 2090for ac_pass in 1 2 2091do 2092 for ac_arg 2093 do 2094 case $ac_arg in 2095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2097 | -silent | --silent | --silen | --sile | --sil) 2098 continue ;; 2099 *\'*) 2100 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2101 esac 2102 case $ac_pass in 2103 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2104 2) 2105 as_fn_append ac_configure_args1 " '$ac_arg'" 2106 if test $ac_must_keep_next = true; then 2107 ac_must_keep_next=false # Got value, back to normal. 2108 else 2109 case $ac_arg in 2110 *=* | --config-cache | -C | -disable-* | --disable-* \ 2111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2113 | -with-* | --with-* | -without-* | --without-* | --x) 2114 case "$ac_configure_args0 " in 2115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2116 esac 2117 ;; 2118 -* ) ac_must_keep_next=true ;; 2119 esac 2120 fi 2121 as_fn_append ac_configure_args " '$ac_arg'" 2122 ;; 2123 esac 2124 done 2125done 2126{ ac_configure_args0=; unset ac_configure_args0;} 2127{ ac_configure_args1=; unset ac_configure_args1;} 2128 2129# When interrupted or exit'd, cleanup temporary files, and complete 2130# config.log. We remove comments because anyway the quotes in there 2131# would cause problems or look ugly. 2132# WARNING: Use '\'' to represent an apostrophe within the trap. 2133# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2134trap 'exit_status=$? 2135 # Save into config.log some information that might help in debugging. 2136 { 2137 echo 2138 2139 $as_echo "## ---------------- ## 2140## Cache variables. ## 2141## ---------------- ##" 2142 echo 2143 # The following way of writing the cache mishandles newlines in values, 2144( 2145 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2146 eval ac_val=\$$ac_var 2147 case $ac_val in #( 2148 *${as_nl}*) 2149 case $ac_var in #( 2150 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2151$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2152 esac 2153 case $ac_var in #( 2154 _ | IFS | as_nl) ;; #( 2155 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2156 *) { eval $ac_var=; unset $ac_var;} ;; 2157 esac ;; 2158 esac 2159 done 2160 (set) 2>&1 | 2161 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2162 *${as_nl}ac_space=\ *) 2163 sed -n \ 2164 "s/'\''/'\''\\\\'\'''\''/g; 2165 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2166 ;; #( 2167 *) 2168 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2169 ;; 2170 esac | 2171 sort 2172) 2173 echo 2174 2175 $as_echo "## ----------------- ## 2176## Output variables. ## 2177## ----------------- ##" 2178 echo 2179 for ac_var in $ac_subst_vars 2180 do 2181 eval ac_val=\$$ac_var 2182 case $ac_val in 2183 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2184 esac 2185 $as_echo "$ac_var='\''$ac_val'\''" 2186 done | sort 2187 echo 2188 2189 if test -n "$ac_subst_files"; then 2190 $as_echo "## ------------------- ## 2191## File substitutions. ## 2192## ------------------- ##" 2193 echo 2194 for ac_var in $ac_subst_files 2195 do 2196 eval ac_val=\$$ac_var 2197 case $ac_val in 2198 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2199 esac 2200 $as_echo "$ac_var='\''$ac_val'\''" 2201 done | sort 2202 echo 2203 fi 2204 2205 if test -s confdefs.h; then 2206 $as_echo "## ----------- ## 2207## confdefs.h. ## 2208## ----------- ##" 2209 echo 2210 cat confdefs.h 2211 echo 2212 fi 2213 test "$ac_signal" != 0 && 2214 $as_echo "$as_me: caught signal $ac_signal" 2215 $as_echo "$as_me: exit $exit_status" 2216 } >&5 2217 rm -f core *.core core.conftest.* && 2218 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2219 exit $exit_status 2220' 0 2221for ac_signal in 1 2 13 15; do 2222 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2223done 2224ac_signal=0 2225 2226# confdefs.h avoids OS command line length limits that DEFS can exceed. 2227rm -f -r conftest* confdefs.h 2228 2229$as_echo "/* confdefs.h */" > confdefs.h 2230 2231# Predefined preprocessor variables. 2232 2233cat >>confdefs.h <<_ACEOF 2234#define PACKAGE_NAME "$PACKAGE_NAME" 2235_ACEOF 2236 2237cat >>confdefs.h <<_ACEOF 2238#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2239_ACEOF 2240 2241cat >>confdefs.h <<_ACEOF 2242#define PACKAGE_VERSION "$PACKAGE_VERSION" 2243_ACEOF 2244 2245cat >>confdefs.h <<_ACEOF 2246#define PACKAGE_STRING "$PACKAGE_STRING" 2247_ACEOF 2248 2249cat >>confdefs.h <<_ACEOF 2250#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2251_ACEOF 2252 2253cat >>confdefs.h <<_ACEOF 2254#define PACKAGE_URL "$PACKAGE_URL" 2255_ACEOF 2256 2257 2258# Let the site file select an alternate cache file if it wants to. 2259# Prefer an explicitly selected file to automatically selected ones. 2260ac_site_file1=NONE 2261ac_site_file2=NONE 2262if test -n "$CONFIG_SITE"; then 2263 # We do not want a PATH search for config.site. 2264 case $CONFIG_SITE in #(( 2265 -*) ac_site_file1=./$CONFIG_SITE;; 2266 */*) ac_site_file1=$CONFIG_SITE;; 2267 *) ac_site_file1=./$CONFIG_SITE;; 2268 esac 2269elif test "x$prefix" != xNONE; then 2270 ac_site_file1=$prefix/share/config.site 2271 ac_site_file2=$prefix/etc/config.site 2272else 2273 ac_site_file1=$ac_default_prefix/share/config.site 2274 ac_site_file2=$ac_default_prefix/etc/config.site 2275fi 2276for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2277do 2278 test "x$ac_site_file" = xNONE && continue 2279 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2280 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2281$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2282 sed 's/^/| /' "$ac_site_file" >&5 2283 . "$ac_site_file" \ 2284 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2285$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2286as_fn_error $? "failed to load site script $ac_site_file 2287See \`config.log' for more details" "$LINENO" 5; } 2288 fi 2289done 2290 2291if test -r "$cache_file"; then 2292 # Some versions of bash will fail to source /dev/null (special files 2293 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2294 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2295 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2296$as_echo "$as_me: loading cache $cache_file" >&6;} 2297 case $cache_file in 2298 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2299 *) . "./$cache_file";; 2300 esac 2301 fi 2302else 2303 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2304$as_echo "$as_me: creating cache $cache_file" >&6;} 2305 >$cache_file 2306fi 2307 2308# Check that the precious variables saved in the cache have kept the same 2309# value. 2310ac_cache_corrupted=false 2311for ac_var in $ac_precious_vars; do 2312 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2313 eval ac_new_set=\$ac_env_${ac_var}_set 2314 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2315 eval ac_new_val=\$ac_env_${ac_var}_value 2316 case $ac_old_set,$ac_new_set in 2317 set,) 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2319$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2320 ac_cache_corrupted=: ;; 2321 ,set) 2322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2323$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2324 ac_cache_corrupted=: ;; 2325 ,);; 2326 *) 2327 if test "x$ac_old_val" != "x$ac_new_val"; then 2328 # differences in whitespace do not lead to failure. 2329 ac_old_val_w=`echo x $ac_old_val` 2330 ac_new_val_w=`echo x $ac_new_val` 2331 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2333$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2334 ac_cache_corrupted=: 2335 else 2336 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2337$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2338 eval $ac_var=\$ac_old_val 2339 fi 2340 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2341$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2342 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2343$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2344 fi;; 2345 esac 2346 # Pass precious variables to config.status. 2347 if test "$ac_new_set" = set; then 2348 case $ac_new_val in 2349 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2350 *) ac_arg=$ac_var=$ac_new_val ;; 2351 esac 2352 case " $ac_configure_args " in 2353 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2354 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2355 esac 2356 fi 2357done 2358if $ac_cache_corrupted; then 2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2360$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2361 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2362$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2363 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2364fi 2365## -------------------- ## 2366## Main body of script. ## 2367## -------------------- ## 2368 2369ac_ext=c 2370ac_cpp='$CPP $CPPFLAGS' 2371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2373ac_compiler_gnu=$ac_cv_c_compiler_gnu 2374 2375 2376 2377 2378ac_config_headers="$ac_config_headers config.h" 2379 2380 2381 2382 2383 2384ac_aux_dir= 2385for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2386 if test -f "$ac_dir/install-sh"; then 2387 ac_aux_dir=$ac_dir 2388 ac_install_sh="$ac_aux_dir/install-sh -c" 2389 break 2390 elif test -f "$ac_dir/install.sh"; then 2391 ac_aux_dir=$ac_dir 2392 ac_install_sh="$ac_aux_dir/install.sh -c" 2393 break 2394 elif test -f "$ac_dir/shtool"; then 2395 ac_aux_dir=$ac_dir 2396 ac_install_sh="$ac_aux_dir/shtool install -c" 2397 break 2398 fi 2399done 2400if test -z "$ac_aux_dir"; then 2401 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2402fi 2403 2404# These three variables are undocumented and unsupported, 2405# and are intended to be withdrawn in a future Autoconf release. 2406# They can cause serious problems if a builder's source tree is in a directory 2407# whose full name contains unusual characters. 2408ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2409ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2410ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2411 2412 2413# Make sure we can run config.sub. 2414$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2415 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2416 2417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2418$as_echo_n "checking build system type... " >&6; } 2419if ${ac_cv_build+:} false; then : 2420 $as_echo_n "(cached) " >&6 2421else 2422 ac_build_alias=$build_alias 2423test "x$ac_build_alias" = x && 2424 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2425test "x$ac_build_alias" = x && 2426 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2427ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2428 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2429 2430fi 2431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2432$as_echo "$ac_cv_build" >&6; } 2433case $ac_cv_build in 2434*-*-*) ;; 2435*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2436esac 2437build=$ac_cv_build 2438ac_save_IFS=$IFS; IFS='-' 2439set x $ac_cv_build 2440shift 2441build_cpu=$1 2442build_vendor=$2 2443shift; shift 2444# Remember, the first character of IFS is used to create $*, 2445# except with old shells: 2446build_os=$* 2447IFS=$ac_save_IFS 2448case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2449 2450 2451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2452$as_echo_n "checking host system type... " >&6; } 2453if ${ac_cv_host+:} false; then : 2454 $as_echo_n "(cached) " >&6 2455else 2456 if test "x$host_alias" = x; then 2457 ac_cv_host=$ac_cv_build 2458else 2459 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2460 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2461fi 2462 2463fi 2464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2465$as_echo "$ac_cv_host" >&6; } 2466case $ac_cv_host in 2467*-*-*) ;; 2468*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2469esac 2470host=$ac_cv_host 2471ac_save_IFS=$IFS; IFS='-' 2472set x $ac_cv_host 2473shift 2474host_cpu=$1 2475host_vendor=$2 2476shift; shift 2477# Remember, the first character of IFS is used to create $*, 2478# except with old shells: 2479host_os=$* 2480IFS=$ac_save_IFS 2481case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2482 2483 2484 2485 2486am__api_version='1.13' 2487 2488# Find a good install program. We prefer a C program (faster), 2489# so one script is as good as another. But avoid the broken or 2490# incompatible versions: 2491# SysV /etc/install, /usr/sbin/install 2492# SunOS /usr/etc/install 2493# IRIX /sbin/install 2494# AIX /bin/install 2495# AmigaOS /C/install, which installs bootblocks on floppy discs 2496# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2497# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2498# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2499# OS/2's system install, which has a completely different semantic 2500# ./install, which can be erroneously created by make from ./install.sh. 2501# Reject install programs that cannot install multiple files. 2502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2503$as_echo_n "checking for a BSD-compatible install... " >&6; } 2504if test -z "$INSTALL"; then 2505if ${ac_cv_path_install+:} false; then : 2506 $as_echo_n "(cached) " >&6 2507else 2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2509for as_dir in $PATH 2510do 2511 IFS=$as_save_IFS 2512 test -z "$as_dir" && as_dir=. 2513 # Account for people who put trailing slashes in PATH elements. 2514case $as_dir/ in #(( 2515 ./ | .// | /[cC]/* | \ 2516 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2517 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2518 /usr/ucb/* ) ;; 2519 *) 2520 # OSF1 and SCO ODT 3.0 have their own names for install. 2521 # Don't use installbsd from OSF since it installs stuff as root 2522 # by default. 2523 for ac_prog in ginstall scoinst install; do 2524 for ac_exec_ext in '' $ac_executable_extensions; do 2525 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2526 if test $ac_prog = install && 2527 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2528 # AIX install. It has an incompatible calling convention. 2529 : 2530 elif test $ac_prog = install && 2531 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2532 # program-specific install script used by HP pwplus--don't use. 2533 : 2534 else 2535 rm -rf conftest.one conftest.two conftest.dir 2536 echo one > conftest.one 2537 echo two > conftest.two 2538 mkdir conftest.dir 2539 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2540 test -s conftest.one && test -s conftest.two && 2541 test -s conftest.dir/conftest.one && 2542 test -s conftest.dir/conftest.two 2543 then 2544 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2545 break 3 2546 fi 2547 fi 2548 fi 2549 done 2550 done 2551 ;; 2552esac 2553 2554 done 2555IFS=$as_save_IFS 2556 2557rm -rf conftest.one conftest.two conftest.dir 2558 2559fi 2560 if test "${ac_cv_path_install+set}" = set; then 2561 INSTALL=$ac_cv_path_install 2562 else 2563 # As a last resort, use the slow shell script. Don't cache a 2564 # value for INSTALL within a source directory, because that will 2565 # break other packages using the cache if that directory is 2566 # removed, or if the value is a relative name. 2567 INSTALL=$ac_install_sh 2568 fi 2569fi 2570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2571$as_echo "$INSTALL" >&6; } 2572 2573# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2574# It thinks the first close brace ends the variable substitution. 2575test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2576 2577test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2578 2579test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2580 2581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2582$as_echo_n "checking whether build environment is sane... " >&6; } 2583# Reject unsafe characters in $srcdir or the absolute working directory 2584# name. Accept space and tab only in the latter. 2585am_lf=' 2586' 2587case `pwd` in 2588 *[\\\"\#\$\&\'\`$am_lf]*) 2589 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2590esac 2591case $srcdir in 2592 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2593 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2594esac 2595 2596# Do 'set' in a subshell so we don't clobber the current shell's 2597# arguments. Must try -L first in case configure is actually a 2598# symlink; some systems play weird games with the mod time of symlinks 2599# (eg FreeBSD returns the mod time of the symlink's containing 2600# directory). 2601if ( 2602 am_has_slept=no 2603 for am_try in 1 2; do 2604 echo "timestamp, slept: $am_has_slept" > conftest.file 2605 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2606 if test "$*" = "X"; then 2607 # -L didn't work. 2608 set X `ls -t "$srcdir/configure" conftest.file` 2609 fi 2610 if test "$*" != "X $srcdir/configure conftest.file" \ 2611 && test "$*" != "X conftest.file $srcdir/configure"; then 2612 2613 # If neither matched, then we have a broken ls. This can happen 2614 # if, for instance, CONFIG_SHELL is bash and it inherits a 2615 # broken ls alias from the environment. This has actually 2616 # happened. Such a system could not be considered "sane". 2617 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2618 alias in your environment" "$LINENO" 5 2619 fi 2620 if test "$2" = conftest.file || test $am_try -eq 2; then 2621 break 2622 fi 2623 # Just in case. 2624 sleep 1 2625 am_has_slept=yes 2626 done 2627 test "$2" = conftest.file 2628 ) 2629then 2630 # Ok. 2631 : 2632else 2633 as_fn_error $? "newly created file is older than distributed files! 2634Check your system clock" "$LINENO" 5 2635fi 2636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2637$as_echo "yes" >&6; } 2638# If we didn't sleep, we still need to ensure time stamps of config.status and 2639# generated files are strictly newer. 2640am_sleep_pid= 2641if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2642 ( sleep 1 ) & 2643 am_sleep_pid=$! 2644fi 2645 2646rm -f conftest.file 2647 2648test "$program_prefix" != NONE && 2649 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2650# Use a double $ so make ignores it. 2651test "$program_suffix" != NONE && 2652 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2653# Double any \ or $. 2654# By default was `s,x,x', remove it if useless. 2655ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2656program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2657 2658# expand $ac_aux_dir to an absolute path 2659am_aux_dir=`cd $ac_aux_dir && pwd` 2660 2661if test x"${MISSING+set}" != xset; then 2662 case $am_aux_dir in 2663 *\ * | *\ *) 2664 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2665 *) 2666 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2667 esac 2668fi 2669# Use eval to expand $SHELL 2670if eval "$MISSING --is-lightweight"; then 2671 am_missing_run="$MISSING " 2672else 2673 am_missing_run= 2674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2675$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2676fi 2677 2678if test x"${install_sh}" != xset; then 2679 case $am_aux_dir in 2680 *\ * | *\ *) 2681 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2682 *) 2683 install_sh="\${SHELL} $am_aux_dir/install-sh" 2684 esac 2685fi 2686 2687# Installed binaries are usually stripped using 'strip' when the user 2688# run "make install-strip". However 'strip' might not be the right 2689# tool to use in cross-compilation environments, therefore Automake 2690# will honor the 'STRIP' environment variable to overrule this program. 2691if test "$cross_compiling" != no; then 2692 if test -n "$ac_tool_prefix"; then 2693 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2694set dummy ${ac_tool_prefix}strip; ac_word=$2 2695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2696$as_echo_n "checking for $ac_word... " >&6; } 2697if ${ac_cv_prog_STRIP+:} false; then : 2698 $as_echo_n "(cached) " >&6 2699else 2700 if test -n "$STRIP"; then 2701 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2702else 2703as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2704for as_dir in $PATH 2705do 2706 IFS=$as_save_IFS 2707 test -z "$as_dir" && as_dir=. 2708 for ac_exec_ext in '' $ac_executable_extensions; do 2709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2710 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2712 break 2 2713 fi 2714done 2715 done 2716IFS=$as_save_IFS 2717 2718fi 2719fi 2720STRIP=$ac_cv_prog_STRIP 2721if test -n "$STRIP"; then 2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2723$as_echo "$STRIP" >&6; } 2724else 2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2726$as_echo "no" >&6; } 2727fi 2728 2729 2730fi 2731if test -z "$ac_cv_prog_STRIP"; then 2732 ac_ct_STRIP=$STRIP 2733 # Extract the first word of "strip", so it can be a program name with args. 2734set dummy strip; ac_word=$2 2735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2736$as_echo_n "checking for $ac_word... " >&6; } 2737if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2738 $as_echo_n "(cached) " >&6 2739else 2740 if test -n "$ac_ct_STRIP"; then 2741 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2742else 2743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2744for as_dir in $PATH 2745do 2746 IFS=$as_save_IFS 2747 test -z "$as_dir" && as_dir=. 2748 for ac_exec_ext in '' $ac_executable_extensions; do 2749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2750 ac_cv_prog_ac_ct_STRIP="strip" 2751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2752 break 2 2753 fi 2754done 2755 done 2756IFS=$as_save_IFS 2757 2758fi 2759fi 2760ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2761if test -n "$ac_ct_STRIP"; then 2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2763$as_echo "$ac_ct_STRIP" >&6; } 2764else 2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2766$as_echo "no" >&6; } 2767fi 2768 2769 if test "x$ac_ct_STRIP" = x; then 2770 STRIP=":" 2771 else 2772 case $cross_compiling:$ac_tool_warned in 2773yes:) 2774{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2775$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2776ac_tool_warned=yes ;; 2777esac 2778 STRIP=$ac_ct_STRIP 2779 fi 2780else 2781 STRIP="$ac_cv_prog_STRIP" 2782fi 2783 2784fi 2785INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2786 2787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2788$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2789if test -z "$MKDIR_P"; then 2790 if ${ac_cv_path_mkdir+:} false; then : 2791 $as_echo_n "(cached) " >&6 2792else 2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2794for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2795do 2796 IFS=$as_save_IFS 2797 test -z "$as_dir" && as_dir=. 2798 for ac_prog in mkdir gmkdir; do 2799 for ac_exec_ext in '' $ac_executable_extensions; do 2800 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2801 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2802 'mkdir (GNU coreutils) '* | \ 2803 'mkdir (coreutils) '* | \ 2804 'mkdir (fileutils) '4.1*) 2805 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2806 break 3;; 2807 esac 2808 done 2809 done 2810 done 2811IFS=$as_save_IFS 2812 2813fi 2814 2815 test -d ./--version && rmdir ./--version 2816 if test "${ac_cv_path_mkdir+set}" = set; then 2817 MKDIR_P="$ac_cv_path_mkdir -p" 2818 else 2819 # As a last resort, use the slow shell script. Don't cache a 2820 # value for MKDIR_P within a source directory, because that will 2821 # break other packages using the cache if that directory is 2822 # removed, or if the value is a relative name. 2823 MKDIR_P="$ac_install_sh -d" 2824 fi 2825fi 2826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2827$as_echo "$MKDIR_P" >&6; } 2828 2829for ac_prog in gawk mawk nawk awk 2830do 2831 # Extract the first word of "$ac_prog", so it can be a program name with args. 2832set dummy $ac_prog; ac_word=$2 2833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2834$as_echo_n "checking for $ac_word... " >&6; } 2835if ${ac_cv_prog_AWK+:} false; then : 2836 $as_echo_n "(cached) " >&6 2837else 2838 if test -n "$AWK"; then 2839 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2840else 2841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2842for as_dir in $PATH 2843do 2844 IFS=$as_save_IFS 2845 test -z "$as_dir" && as_dir=. 2846 for ac_exec_ext in '' $ac_executable_extensions; do 2847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2848 ac_cv_prog_AWK="$ac_prog" 2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2850 break 2 2851 fi 2852done 2853 done 2854IFS=$as_save_IFS 2855 2856fi 2857fi 2858AWK=$ac_cv_prog_AWK 2859if test -n "$AWK"; then 2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2861$as_echo "$AWK" >&6; } 2862else 2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2864$as_echo "no" >&6; } 2865fi 2866 2867 2868 test -n "$AWK" && break 2869done 2870 2871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2872$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2873set x ${MAKE-make} 2874ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2875if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2876 $as_echo_n "(cached) " >&6 2877else 2878 cat >conftest.make <<\_ACEOF 2879SHELL = /bin/sh 2880all: 2881 @echo '@@@%%%=$(MAKE)=@@@%%%' 2882_ACEOF 2883# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2884case `${MAKE-make} -f conftest.make 2>/dev/null` in 2885 *@@@%%%=?*=@@@%%%*) 2886 eval ac_cv_prog_make_${ac_make}_set=yes;; 2887 *) 2888 eval ac_cv_prog_make_${ac_make}_set=no;; 2889esac 2890rm -f conftest.make 2891fi 2892if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2894$as_echo "yes" >&6; } 2895 SET_MAKE= 2896else 2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2898$as_echo "no" >&6; } 2899 SET_MAKE="MAKE=${MAKE-make}" 2900fi 2901 2902rm -rf .tst 2>/dev/null 2903mkdir .tst 2>/dev/null 2904if test -d .tst; then 2905 am__leading_dot=. 2906else 2907 am__leading_dot=_ 2908fi 2909rmdir .tst 2>/dev/null 2910 2911# Check whether --enable-silent-rules was given. 2912if test "${enable_silent_rules+set}" = set; then : 2913 enableval=$enable_silent_rules; 2914fi 2915 2916case $enable_silent_rules in # ((( 2917 yes) AM_DEFAULT_VERBOSITY=0;; 2918 no) AM_DEFAULT_VERBOSITY=1;; 2919 *) AM_DEFAULT_VERBOSITY=1;; 2920esac 2921am_make=${MAKE-make} 2922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2923$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2924if ${am_cv_make_support_nested_variables+:} false; then : 2925 $as_echo_n "(cached) " >&6 2926else 2927 if $as_echo 'TRUE=$(BAR$(V)) 2928BAR0=false 2929BAR1=true 2930V=1 2931am__doit: 2932 @$(TRUE) 2933.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2934 am_cv_make_support_nested_variables=yes 2935else 2936 am_cv_make_support_nested_variables=no 2937fi 2938fi 2939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2940$as_echo "$am_cv_make_support_nested_variables" >&6; } 2941if test $am_cv_make_support_nested_variables = yes; then 2942 AM_V='$(V)' 2943 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2944else 2945 AM_V=$AM_DEFAULT_VERBOSITY 2946 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2947fi 2948AM_BACKSLASH='\' 2949 2950if test "`cd $srcdir && pwd`" != "`pwd`"; then 2951 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2952 # is not polluted with repeated "-I." 2953 am__isrc=' -I$(srcdir)' 2954 # test to see if srcdir already configured 2955 if test -f $srcdir/config.status; then 2956 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2957 fi 2958fi 2959 2960# test whether we have cygpath 2961if test -z "$CYGPATH_W"; then 2962 if (cygpath --version) >/dev/null 2>/dev/null; then 2963 CYGPATH_W='cygpath -w' 2964 else 2965 CYGPATH_W=echo 2966 fi 2967fi 2968 2969 2970# Define the identity of the package. 2971 PACKAGE='eris' 2972 VERSION='1.3.23' 2973 2974 2975# Some tools Automake needs. 2976 2977ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2978 2979 2980AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2981 2982 2983AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2984 2985 2986AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2987 2988 2989MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2990 2991# For better backward compatibility. To be removed once Automake 1.9.x 2992# dies out for good. For more background, see: 2993# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2994# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2995mkdir_p='$(MKDIR_P)' 2996 2997# We need awk for the "check" target. The system "awk" is bad on 2998# some platforms. 2999# Always define AMTAR for backward compatibility. Yes, it's still used 3000# in the wild :-( We should find a proper way to deprecate it ... 3001AMTAR='$${TAR-tar}' 3002 3003 3004# We'll loop over all known methods to create a tar archive until one works. 3005_am_tools='gnutar pax cpio none' 3006 3007am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3008 3009 3010 3011 3012 3013 3014# Check whether --enable-silent-rules was given. 3015if test "${enable_silent_rules+set}" = set; then : 3016 enableval=$enable_silent_rules; 3017fi 3018 3019case $enable_silent_rules in # ((( 3020 yes) AM_DEFAULT_VERBOSITY=0;; 3021 no) AM_DEFAULT_VERBOSITY=1;; 3022 *) AM_DEFAULT_VERBOSITY=0;; 3023esac 3024am_make=${MAKE-make} 3025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3026$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3027if ${am_cv_make_support_nested_variables+:} false; then : 3028 $as_echo_n "(cached) " >&6 3029else 3030 if $as_echo 'TRUE=$(BAR$(V)) 3031BAR0=false 3032BAR1=true 3033V=1 3034am__doit: 3035 @$(TRUE) 3036.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3037 am_cv_make_support_nested_variables=yes 3038else 3039 am_cv_make_support_nested_variables=no 3040fi 3041fi 3042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3043$as_echo "$am_cv_make_support_nested_variables" >&6; } 3044if test $am_cv_make_support_nested_variables = yes; then 3045 AM_V='$(V)' 3046 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3047else 3048 AM_V=$AM_DEFAULT_VERBOSITY 3049 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3050fi 3051AM_BACKSLASH='\' 3052 3053 3054ERIS_CURRENT=21 3055ERIS_REVISION=0 3056ERIS_AGE=0 3057 3058ERIS_REQUIRES="" 3059ERIS_DEPS="" 3060 3061case `pwd` in 3062 *\ * | *\ *) 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3064$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3065esac 3066 3067 3068 3069macro_version='2.4.2' 3070macro_revision='1.3337' 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084ltmain="$ac_aux_dir/ltmain.sh" 3085 3086# Backslashify metacharacters that are still active within 3087# double-quoted strings. 3088sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3089 3090# Same as above, but do not quote variable references. 3091double_quote_subst='s/\(["`\\]\)/\\\1/g' 3092 3093# Sed substitution to delay expansion of an escaped shell variable in a 3094# double_quote_subst'ed string. 3095delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3096 3097# Sed substitution to delay expansion of an escaped single quote. 3098delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3099 3100# Sed substitution to avoid accidental globbing in evaled expressions 3101no_glob_subst='s/\*/\\\*/g' 3102 3103ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3104ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3105ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3106 3107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3108$as_echo_n "checking how to print strings... " >&6; } 3109# Test print first, because it will be a builtin if present. 3110if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3111 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3112 ECHO='print -r --' 3113elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3114 ECHO='printf %s\n' 3115else 3116 # Use this function as a fallback that always works. 3117 func_fallback_echo () 3118 { 3119 eval 'cat <<_LTECHO_EOF 3120$1 3121_LTECHO_EOF' 3122 } 3123 ECHO='func_fallback_echo' 3124fi 3125 3126# func_echo_all arg... 3127# Invoke $ECHO with all args, space-separated. 3128func_echo_all () 3129{ 3130 $ECHO "" 3131} 3132 3133case "$ECHO" in 3134 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3135$as_echo "printf" >&6; } ;; 3136 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3137$as_echo "print -r" >&6; } ;; 3138 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3139$as_echo "cat" >&6; } ;; 3140esac 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155DEPDIR="${am__leading_dot}deps" 3156 3157ac_config_commands="$ac_config_commands depfiles" 3158 3159 3160am_make=${MAKE-make} 3161cat > confinc << 'END' 3162am__doit: 3163 @echo this is the am__doit target 3164.PHONY: am__doit 3165END 3166# If we don't find an include directive, just comment out the code. 3167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3168$as_echo_n "checking for style of include used by $am_make... " >&6; } 3169am__include="#" 3170am__quote= 3171_am_result=none 3172# First try GNU make style include. 3173echo "include confinc" > confmf 3174# Ignore all kinds of additional output from 'make'. 3175case `$am_make -s -f confmf 2> /dev/null` in #( 3176*the\ am__doit\ target*) 3177 am__include=include 3178 am__quote= 3179 _am_result=GNU 3180 ;; 3181esac 3182# Now try BSD make style include. 3183if test "$am__include" = "#"; then 3184 echo '.include "confinc"' > confmf 3185 case `$am_make -s -f confmf 2> /dev/null` in #( 3186 *the\ am__doit\ target*) 3187 am__include=.include 3188 am__quote="\"" 3189 _am_result=BSD 3190 ;; 3191 esac 3192fi 3193 3194 3195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3196$as_echo "$_am_result" >&6; } 3197rm -f confinc confmf 3198 3199# Check whether --enable-dependency-tracking was given. 3200if test "${enable_dependency_tracking+set}" = set; then : 3201 enableval=$enable_dependency_tracking; 3202fi 3203 3204if test "x$enable_dependency_tracking" != xno; then 3205 am_depcomp="$ac_aux_dir/depcomp" 3206 AMDEPBACKSLASH='\' 3207 am__nodep='_no' 3208fi 3209 if test "x$enable_dependency_tracking" != xno; then 3210 AMDEP_TRUE= 3211 AMDEP_FALSE='#' 3212else 3213 AMDEP_TRUE='#' 3214 AMDEP_FALSE= 3215fi 3216 3217 3218ac_ext=c 3219ac_cpp='$CPP $CPPFLAGS' 3220ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3221ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3222ac_compiler_gnu=$ac_cv_c_compiler_gnu 3223if test -n "$ac_tool_prefix"; then 3224 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3225set dummy ${ac_tool_prefix}gcc; ac_word=$2 3226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3227$as_echo_n "checking for $ac_word... " >&6; } 3228if ${ac_cv_prog_CC+:} false; then : 3229 $as_echo_n "(cached) " >&6 3230else 3231 if test -n "$CC"; then 3232 ac_cv_prog_CC="$CC" # Let the user override the test. 3233else 3234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3235for as_dir in $PATH 3236do 3237 IFS=$as_save_IFS 3238 test -z "$as_dir" && as_dir=. 3239 for ac_exec_ext in '' $ac_executable_extensions; do 3240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3241 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3243 break 2 3244 fi 3245done 3246 done 3247IFS=$as_save_IFS 3248 3249fi 3250fi 3251CC=$ac_cv_prog_CC 3252if test -n "$CC"; then 3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3254$as_echo "$CC" >&6; } 3255else 3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3257$as_echo "no" >&6; } 3258fi 3259 3260 3261fi 3262if test -z "$ac_cv_prog_CC"; then 3263 ac_ct_CC=$CC 3264 # Extract the first word of "gcc", so it can be a program name with args. 3265set dummy gcc; ac_word=$2 3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3267$as_echo_n "checking for $ac_word... " >&6; } 3268if ${ac_cv_prog_ac_ct_CC+:} false; then : 3269 $as_echo_n "(cached) " >&6 3270else 3271 if test -n "$ac_ct_CC"; then 3272 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3273else 3274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3275for as_dir in $PATH 3276do 3277 IFS=$as_save_IFS 3278 test -z "$as_dir" && as_dir=. 3279 for ac_exec_ext in '' $ac_executable_extensions; do 3280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3281 ac_cv_prog_ac_ct_CC="gcc" 3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3283 break 2 3284 fi 3285done 3286 done 3287IFS=$as_save_IFS 3288 3289fi 3290fi 3291ac_ct_CC=$ac_cv_prog_ac_ct_CC 3292if test -n "$ac_ct_CC"; then 3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3294$as_echo "$ac_ct_CC" >&6; } 3295else 3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3297$as_echo "no" >&6; } 3298fi 3299 3300 if test "x$ac_ct_CC" = x; then 3301 CC="" 3302 else 3303 case $cross_compiling:$ac_tool_warned in 3304yes:) 3305{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3306$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3307ac_tool_warned=yes ;; 3308esac 3309 CC=$ac_ct_CC 3310 fi 3311else 3312 CC="$ac_cv_prog_CC" 3313fi 3314 3315if test -z "$CC"; then 3316 if test -n "$ac_tool_prefix"; then 3317 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3318set dummy ${ac_tool_prefix}cc; ac_word=$2 3319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3320$as_echo_n "checking for $ac_word... " >&6; } 3321if ${ac_cv_prog_CC+:} false; then : 3322 $as_echo_n "(cached) " >&6 3323else 3324 if test -n "$CC"; then 3325 ac_cv_prog_CC="$CC" # Let the user override the test. 3326else 3327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3328for as_dir in $PATH 3329do 3330 IFS=$as_save_IFS 3331 test -z "$as_dir" && as_dir=. 3332 for ac_exec_ext in '' $ac_executable_extensions; do 3333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3334 ac_cv_prog_CC="${ac_tool_prefix}cc" 3335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3336 break 2 3337 fi 3338done 3339 done 3340IFS=$as_save_IFS 3341 3342fi 3343fi 3344CC=$ac_cv_prog_CC 3345if test -n "$CC"; then 3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3347$as_echo "$CC" >&6; } 3348else 3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3350$as_echo "no" >&6; } 3351fi 3352 3353 3354 fi 3355fi 3356if test -z "$CC"; then 3357 # Extract the first word of "cc", so it can be a program name with args. 3358set dummy cc; ac_word=$2 3359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3360$as_echo_n "checking for $ac_word... " >&6; } 3361if ${ac_cv_prog_CC+:} false; then : 3362 $as_echo_n "(cached) " >&6 3363else 3364 if test -n "$CC"; then 3365 ac_cv_prog_CC="$CC" # Let the user override the test. 3366else 3367 ac_prog_rejected=no 3368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3369for as_dir in $PATH 3370do 3371 IFS=$as_save_IFS 3372 test -z "$as_dir" && as_dir=. 3373 for ac_exec_ext in '' $ac_executable_extensions; do 3374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3375 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3376 ac_prog_rejected=yes 3377 continue 3378 fi 3379 ac_cv_prog_CC="cc" 3380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3381 break 2 3382 fi 3383done 3384 done 3385IFS=$as_save_IFS 3386 3387if test $ac_prog_rejected = yes; then 3388 # We found a bogon in the path, so make sure we never use it. 3389 set dummy $ac_cv_prog_CC 3390 shift 3391 if test $# != 0; then 3392 # We chose a different compiler from the bogus one. 3393 # However, it has the same basename, so the bogon will be chosen 3394 # first if we set CC to just the basename; use the full file name. 3395 shift 3396 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3397 fi 3398fi 3399fi 3400fi 3401CC=$ac_cv_prog_CC 3402if test -n "$CC"; then 3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3404$as_echo "$CC" >&6; } 3405else 3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3407$as_echo "no" >&6; } 3408fi 3409 3410 3411fi 3412if test -z "$CC"; then 3413 if test -n "$ac_tool_prefix"; then 3414 for ac_prog in cl.exe 3415 do 3416 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3417set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3419$as_echo_n "checking for $ac_word... " >&6; } 3420if ${ac_cv_prog_CC+:} false; then : 3421 $as_echo_n "(cached) " >&6 3422else 3423 if test -n "$CC"; then 3424 ac_cv_prog_CC="$CC" # Let the user override the test. 3425else 3426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3427for as_dir in $PATH 3428do 3429 IFS=$as_save_IFS 3430 test -z "$as_dir" && as_dir=. 3431 for ac_exec_ext in '' $ac_executable_extensions; do 3432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3433 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3435 break 2 3436 fi 3437done 3438 done 3439IFS=$as_save_IFS 3440 3441fi 3442fi 3443CC=$ac_cv_prog_CC 3444if test -n "$CC"; then 3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3446$as_echo "$CC" >&6; } 3447else 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3449$as_echo "no" >&6; } 3450fi 3451 3452 3453 test -n "$CC" && break 3454 done 3455fi 3456if test -z "$CC"; then 3457 ac_ct_CC=$CC 3458 for ac_prog in cl.exe 3459do 3460 # Extract the first word of "$ac_prog", so it can be a program name with args. 3461set dummy $ac_prog; ac_word=$2 3462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3463$as_echo_n "checking for $ac_word... " >&6; } 3464if ${ac_cv_prog_ac_ct_CC+:} false; then : 3465 $as_echo_n "(cached) " >&6 3466else 3467 if test -n "$ac_ct_CC"; then 3468 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3469else 3470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3471for as_dir in $PATH 3472do 3473 IFS=$as_save_IFS 3474 test -z "$as_dir" && as_dir=. 3475 for ac_exec_ext in '' $ac_executable_extensions; do 3476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3477 ac_cv_prog_ac_ct_CC="$ac_prog" 3478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3479 break 2 3480 fi 3481done 3482 done 3483IFS=$as_save_IFS 3484 3485fi 3486fi 3487ac_ct_CC=$ac_cv_prog_ac_ct_CC 3488if test -n "$ac_ct_CC"; then 3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3490$as_echo "$ac_ct_CC" >&6; } 3491else 3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3493$as_echo "no" >&6; } 3494fi 3495 3496 3497 test -n "$ac_ct_CC" && break 3498done 3499 3500 if test "x$ac_ct_CC" = x; then 3501 CC="" 3502 else 3503 case $cross_compiling:$ac_tool_warned in 3504yes:) 3505{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3506$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3507ac_tool_warned=yes ;; 3508esac 3509 CC=$ac_ct_CC 3510 fi 3511fi 3512 3513fi 3514 3515 3516test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3517$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3518as_fn_error $? "no acceptable C compiler found in \$PATH 3519See \`config.log' for more details" "$LINENO" 5; } 3520 3521# Provide some information about the compiler. 3522$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3523set X $ac_compile 3524ac_compiler=$2 3525for ac_option in --version -v -V -qversion; do 3526 { { ac_try="$ac_compiler $ac_option >&5" 3527case "(($ac_try" in 3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3529 *) ac_try_echo=$ac_try;; 3530esac 3531eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3532$as_echo "$ac_try_echo"; } >&5 3533 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3534 ac_status=$? 3535 if test -s conftest.err; then 3536 sed '10a\ 3537... rest of stderr output deleted ... 3538 10q' conftest.err >conftest.er1 3539 cat conftest.er1 >&5 3540 fi 3541 rm -f conftest.er1 conftest.err 3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3543 test $ac_status = 0; } 3544done 3545 3546cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3547/* end confdefs.h. */ 3548 3549int 3550main () 3551{ 3552 3553 ; 3554 return 0; 3555} 3556_ACEOF 3557ac_clean_files_save=$ac_clean_files 3558ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3559# Try to create an executable without -o first, disregard a.out. 3560# It will help us diagnose broken compilers, and finding out an intuition 3561# of exeext. 3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3563$as_echo_n "checking whether the C compiler works... " >&6; } 3564ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3565 3566# The possible output files: 3567ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3568 3569ac_rmfiles= 3570for ac_file in $ac_files 3571do 3572 case $ac_file in 3573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3574 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3575 esac 3576done 3577rm -f $ac_rmfiles 3578 3579if { { ac_try="$ac_link_default" 3580case "(($ac_try" in 3581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3582 *) ac_try_echo=$ac_try;; 3583esac 3584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3585$as_echo "$ac_try_echo"; } >&5 3586 (eval "$ac_link_default") 2>&5 3587 ac_status=$? 3588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3589 test $ac_status = 0; }; then : 3590 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3591# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3592# in a Makefile. We should not override ac_cv_exeext if it was cached, 3593# so that the user can short-circuit this test for compilers unknown to 3594# Autoconf. 3595for ac_file in $ac_files '' 3596do 3597 test -f "$ac_file" || continue 3598 case $ac_file in 3599 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3600 ;; 3601 [ab].out ) 3602 # We found the default executable, but exeext='' is most 3603 # certainly right. 3604 break;; 3605 *.* ) 3606 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3607 then :; else 3608 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3609 fi 3610 # We set ac_cv_exeext here because the later test for it is not 3611 # safe: cross compilers may not add the suffix if given an `-o' 3612 # argument, so we may need to know it at that point already. 3613 # Even if this section looks crufty: it has the advantage of 3614 # actually working. 3615 break;; 3616 * ) 3617 break;; 3618 esac 3619done 3620test "$ac_cv_exeext" = no && ac_cv_exeext= 3621 3622else 3623 ac_file='' 3624fi 3625if test -z "$ac_file"; then : 3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3627$as_echo "no" >&6; } 3628$as_echo "$as_me: failed program was:" >&5 3629sed 's/^/| /' conftest.$ac_ext >&5 3630 3631{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3632$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3633as_fn_error 77 "C compiler cannot create executables 3634See \`config.log' for more details" "$LINENO" 5; } 3635else 3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3637$as_echo "yes" >&6; } 3638fi 3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3640$as_echo_n "checking for C compiler default output file name... " >&6; } 3641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3642$as_echo "$ac_file" >&6; } 3643ac_exeext=$ac_cv_exeext 3644 3645rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3646ac_clean_files=$ac_clean_files_save 3647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3648$as_echo_n "checking for suffix of executables... " >&6; } 3649if { { ac_try="$ac_link" 3650case "(($ac_try" in 3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3652 *) ac_try_echo=$ac_try;; 3653esac 3654eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3655$as_echo "$ac_try_echo"; } >&5 3656 (eval "$ac_link") 2>&5 3657 ac_status=$? 3658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3659 test $ac_status = 0; }; then : 3660 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3661# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3662# work properly (i.e., refer to `conftest.exe'), while it won't with 3663# `rm'. 3664for ac_file in conftest.exe conftest conftest.*; do 3665 test -f "$ac_file" || continue 3666 case $ac_file in 3667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3668 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3669 break;; 3670 * ) break;; 3671 esac 3672done 3673else 3674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3675$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3676as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3677See \`config.log' for more details" "$LINENO" 5; } 3678fi 3679rm -f conftest conftest$ac_cv_exeext 3680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3681$as_echo "$ac_cv_exeext" >&6; } 3682 3683rm -f conftest.$ac_ext 3684EXEEXT=$ac_cv_exeext 3685ac_exeext=$EXEEXT 3686cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3687/* end confdefs.h. */ 3688#include <stdio.h> 3689int 3690main () 3691{ 3692FILE *f = fopen ("conftest.out", "w"); 3693 return ferror (f) || fclose (f) != 0; 3694 3695 ; 3696 return 0; 3697} 3698_ACEOF 3699ac_clean_files="$ac_clean_files conftest.out" 3700# Check that the compiler produces executables we can run. If not, either 3701# the compiler is broken, or we cross compile. 3702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3703$as_echo_n "checking whether we are cross compiling... " >&6; } 3704if test "$cross_compiling" != yes; then 3705 { { ac_try="$ac_link" 3706case "(($ac_try" in 3707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3708 *) ac_try_echo=$ac_try;; 3709esac 3710eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3711$as_echo "$ac_try_echo"; } >&5 3712 (eval "$ac_link") 2>&5 3713 ac_status=$? 3714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3715 test $ac_status = 0; } 3716 if { ac_try='./conftest$ac_cv_exeext' 3717 { { case "(($ac_try" in 3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3719 *) ac_try_echo=$ac_try;; 3720esac 3721eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3722$as_echo "$ac_try_echo"; } >&5 3723 (eval "$ac_try") 2>&5 3724 ac_status=$? 3725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3726 test $ac_status = 0; }; }; then 3727 cross_compiling=no 3728 else 3729 if test "$cross_compiling" = maybe; then 3730 cross_compiling=yes 3731 else 3732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3733$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3734as_fn_error $? "cannot run C compiled programs. 3735If you meant to cross compile, use \`--host'. 3736See \`config.log' for more details" "$LINENO" 5; } 3737 fi 3738 fi 3739fi 3740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3741$as_echo "$cross_compiling" >&6; } 3742 3743rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3744ac_clean_files=$ac_clean_files_save 3745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3746$as_echo_n "checking for suffix of object files... " >&6; } 3747if ${ac_cv_objext+:} false; then : 3748 $as_echo_n "(cached) " >&6 3749else 3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3751/* end confdefs.h. */ 3752 3753int 3754main () 3755{ 3756 3757 ; 3758 return 0; 3759} 3760_ACEOF 3761rm -f conftest.o conftest.obj 3762if { { ac_try="$ac_compile" 3763case "(($ac_try" in 3764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3765 *) ac_try_echo=$ac_try;; 3766esac 3767eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3768$as_echo "$ac_try_echo"; } >&5 3769 (eval "$ac_compile") 2>&5 3770 ac_status=$? 3771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3772 test $ac_status = 0; }; then : 3773 for ac_file in conftest.o conftest.obj conftest.*; do 3774 test -f "$ac_file" || continue; 3775 case $ac_file in 3776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3777 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3778 break;; 3779 esac 3780done 3781else 3782 $as_echo "$as_me: failed program was:" >&5 3783sed 's/^/| /' conftest.$ac_ext >&5 3784 3785{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3786$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3787as_fn_error $? "cannot compute suffix of object files: cannot compile 3788See \`config.log' for more details" "$LINENO" 5; } 3789fi 3790rm -f conftest.$ac_cv_objext conftest.$ac_ext 3791fi 3792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3793$as_echo "$ac_cv_objext" >&6; } 3794OBJEXT=$ac_cv_objext 3795ac_objext=$OBJEXT 3796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3797$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3798if ${ac_cv_c_compiler_gnu+:} false; then : 3799 $as_echo_n "(cached) " >&6 3800else 3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3802/* end confdefs.h. */ 3803 3804int 3805main () 3806{ 3807#ifndef __GNUC__ 3808 choke me 3809#endif 3810 3811 ; 3812 return 0; 3813} 3814_ACEOF 3815if ac_fn_c_try_compile "$LINENO"; then : 3816 ac_compiler_gnu=yes 3817else 3818 ac_compiler_gnu=no 3819fi 3820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3821ac_cv_c_compiler_gnu=$ac_compiler_gnu 3822 3823fi 3824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3825$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3826if test $ac_compiler_gnu = yes; then 3827 GCC=yes 3828else 3829 GCC= 3830fi 3831ac_test_CFLAGS=${CFLAGS+set} 3832ac_save_CFLAGS=$CFLAGS 3833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3834$as_echo_n "checking whether $CC accepts -g... " >&6; } 3835if ${ac_cv_prog_cc_g+:} false; then : 3836 $as_echo_n "(cached) " >&6 3837else 3838 ac_save_c_werror_flag=$ac_c_werror_flag 3839 ac_c_werror_flag=yes 3840 ac_cv_prog_cc_g=no 3841 CFLAGS="-g" 3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3843/* end confdefs.h. */ 3844 3845int 3846main () 3847{ 3848 3849 ; 3850 return 0; 3851} 3852_ACEOF 3853if ac_fn_c_try_compile "$LINENO"; then : 3854 ac_cv_prog_cc_g=yes 3855else 3856 CFLAGS="" 3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3858/* end confdefs.h. */ 3859 3860int 3861main () 3862{ 3863 3864 ; 3865 return 0; 3866} 3867_ACEOF 3868if ac_fn_c_try_compile "$LINENO"; then : 3869 3870else 3871 ac_c_werror_flag=$ac_save_c_werror_flag 3872 CFLAGS="-g" 3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3874/* end confdefs.h. */ 3875 3876int 3877main () 3878{ 3879 3880 ; 3881 return 0; 3882} 3883_ACEOF 3884if ac_fn_c_try_compile "$LINENO"; then : 3885 ac_cv_prog_cc_g=yes 3886fi 3887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3888fi 3889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3890fi 3891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3892 ac_c_werror_flag=$ac_save_c_werror_flag 3893fi 3894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3895$as_echo "$ac_cv_prog_cc_g" >&6; } 3896if test "$ac_test_CFLAGS" = set; then 3897 CFLAGS=$ac_save_CFLAGS 3898elif test $ac_cv_prog_cc_g = yes; then 3899 if test "$GCC" = yes; then 3900 CFLAGS="-g -O2" 3901 else 3902 CFLAGS="-g" 3903 fi 3904else 3905 if test "$GCC" = yes; then 3906 CFLAGS="-O2" 3907 else 3908 CFLAGS= 3909 fi 3910fi 3911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3912$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3913if ${ac_cv_prog_cc_c89+:} false; then : 3914 $as_echo_n "(cached) " >&6 3915else 3916 ac_cv_prog_cc_c89=no 3917ac_save_CC=$CC 3918cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3919/* end confdefs.h. */ 3920#include <stdarg.h> 3921#include <stdio.h> 3922struct stat; 3923/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3924struct buf { int x; }; 3925FILE * (*rcsopen) (struct buf *, struct stat *, int); 3926static char *e (p, i) 3927 char **p; 3928 int i; 3929{ 3930 return p[i]; 3931} 3932static char *f (char * (*g) (char **, int), char **p, ...) 3933{ 3934 char *s; 3935 va_list v; 3936 va_start (v,p); 3937 s = g (p, va_arg (v,int)); 3938 va_end (v); 3939 return s; 3940} 3941 3942/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3943 function prototypes and stuff, but not '\xHH' hex character constants. 3944 These don't provoke an error unfortunately, instead are silently treated 3945 as 'x'. The following induces an error, until -std is added to get 3946 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3947 array size at least. It's necessary to write '\x00'==0 to get something 3948 that's true only with -std. */ 3949int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3950 3951/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3952 inside strings and character constants. */ 3953#define FOO(x) 'x' 3954int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3955 3956int test (int i, double x); 3957struct s1 {int (*f) (int a);}; 3958struct s2 {int (*f) (double a);}; 3959int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3960int argc; 3961char **argv; 3962int 3963main () 3964{ 3965return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3966 ; 3967 return 0; 3968} 3969_ACEOF 3970for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3971 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3972do 3973 CC="$ac_save_CC $ac_arg" 3974 if ac_fn_c_try_compile "$LINENO"; then : 3975 ac_cv_prog_cc_c89=$ac_arg 3976fi 3977rm -f core conftest.err conftest.$ac_objext 3978 test "x$ac_cv_prog_cc_c89" != "xno" && break 3979done 3980rm -f conftest.$ac_ext 3981CC=$ac_save_CC 3982 3983fi 3984# AC_CACHE_VAL 3985case "x$ac_cv_prog_cc_c89" in 3986 x) 3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3988$as_echo "none needed" >&6; } ;; 3989 xno) 3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3991$as_echo "unsupported" >&6; } ;; 3992 *) 3993 CC="$CC $ac_cv_prog_cc_c89" 3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3995$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3996esac 3997if test "x$ac_cv_prog_cc_c89" != xno; then : 3998 3999fi 4000 4001ac_ext=c 4002ac_cpp='$CPP $CPPFLAGS' 4003ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4005ac_compiler_gnu=$ac_cv_c_compiler_gnu 4006 4007depcc="$CC" am_compiler_list= 4008 4009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4010$as_echo_n "checking dependency style of $depcc... " >&6; } 4011if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4012 $as_echo_n "(cached) " >&6 4013else 4014 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4015 # We make a subdir and do the tests there. Otherwise we can end up 4016 # making bogus files that we don't know about and never remove. For 4017 # instance it was reported that on HP-UX the gcc test will end up 4018 # making a dummy file named 'D' -- because '-MD' means "put the output 4019 # in D". 4020 rm -rf conftest.dir 4021 mkdir conftest.dir 4022 # Copy depcomp to subdir because otherwise we won't find it if we're 4023 # using a relative directory. 4024 cp "$am_depcomp" conftest.dir 4025 cd conftest.dir 4026 # We will build objects and dependencies in a subdirectory because 4027 # it helps to detect inapplicable dependency modes. For instance 4028 # both Tru64's cc and ICC support -MD to output dependencies as a 4029 # side effect of compilation, but ICC will put the dependencies in 4030 # the current directory while Tru64 will put them in the object 4031 # directory. 4032 mkdir sub 4033 4034 am_cv_CC_dependencies_compiler_type=none 4035 if test "$am_compiler_list" = ""; then 4036 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4037 fi 4038 am__universal=false 4039 case " $depcc " in #( 4040 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4041 esac 4042 4043 for depmode in $am_compiler_list; do 4044 # Setup a source with many dependencies, because some compilers 4045 # like to wrap large dependency lists on column 80 (with \), and 4046 # we should not choose a depcomp mode which is confused by this. 4047 # 4048 # We need to recreate these files for each test, as the compiler may 4049 # overwrite some of them when testing with obscure command lines. 4050 # This happens at least with the AIX C compiler. 4051 : > sub/conftest.c 4052 for i in 1 2 3 4 5 6; do 4053 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4054 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4055 # Solaris 10 /bin/sh. 4056 echo '/* dummy */' > sub/conftst$i.h 4057 done 4058 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4059 4060 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4061 # mode. It turns out that the SunPro C++ compiler does not properly 4062 # handle '-M -o', and we need to detect this. Also, some Intel 4063 # versions had trouble with output in subdirs. 4064 am__obj=sub/conftest.${OBJEXT-o} 4065 am__minus_obj="-o $am__obj" 4066 case $depmode in 4067 gcc) 4068 # This depmode causes a compiler race in universal mode. 4069 test "$am__universal" = false || continue 4070 ;; 4071 nosideeffect) 4072 # After this tag, mechanisms are not by side-effect, so they'll 4073 # only be used when explicitly requested. 4074 if test "x$enable_dependency_tracking" = xyes; then 4075 continue 4076 else 4077 break 4078 fi 4079 ;; 4080 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4081 # This compiler won't grok '-c -o', but also, the minuso test has 4082 # not run yet. These depmodes are late enough in the game, and 4083 # so weak that their functioning should not be impacted. 4084 am__obj=conftest.${OBJEXT-o} 4085 am__minus_obj= 4086 ;; 4087 none) break ;; 4088 esac 4089 if depmode=$depmode \ 4090 source=sub/conftest.c object=$am__obj \ 4091 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4092 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4093 >/dev/null 2>conftest.err && 4094 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4095 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4096 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4097 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4098 # icc doesn't choke on unknown options, it will just issue warnings 4099 # or remarks (even with -Werror). So we grep stderr for any message 4100 # that says an option was ignored or not supported. 4101 # When given -MP, icc 7.0 and 7.1 complain thusly: 4102 # icc: Command line warning: ignoring option '-M'; no argument required 4103 # The diagnosis changed in icc 8.0: 4104 # icc: Command line remark: option '-MP' not supported 4105 if (grep 'ignoring option' conftest.err || 4106 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4107 am_cv_CC_dependencies_compiler_type=$depmode 4108 break 4109 fi 4110 fi 4111 done 4112 4113 cd .. 4114 rm -rf conftest.dir 4115else 4116 am_cv_CC_dependencies_compiler_type=none 4117fi 4118 4119fi 4120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4121$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4122CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4123 4124 if 4125 test "x$enable_dependency_tracking" != xno \ 4126 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4127 am__fastdepCC_TRUE= 4128 am__fastdepCC_FALSE='#' 4129else 4130 am__fastdepCC_TRUE='#' 4131 am__fastdepCC_FALSE= 4132fi 4133 4134 4135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4136$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4137if ${ac_cv_path_SED+:} false; then : 4138 $as_echo_n "(cached) " >&6 4139else 4140 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4141 for ac_i in 1 2 3 4 5 6 7; do 4142 ac_script="$ac_script$as_nl$ac_script" 4143 done 4144 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4145 { ac_script=; unset ac_script;} 4146 if test -z "$SED"; then 4147 ac_path_SED_found=false 4148 # Loop through the user's path and test for each of PROGNAME-LIST 4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4150for as_dir in $PATH 4151do 4152 IFS=$as_save_IFS 4153 test -z "$as_dir" && as_dir=. 4154 for ac_prog in sed gsed; do 4155 for ac_exec_ext in '' $ac_executable_extensions; do 4156 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4157 as_fn_executable_p "$ac_path_SED" || continue 4158# Check for GNU ac_path_SED and select it if it is found. 4159 # Check for GNU $ac_path_SED 4160case `"$ac_path_SED" --version 2>&1` in 4161*GNU*) 4162 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4163*) 4164 ac_count=0 4165 $as_echo_n 0123456789 >"conftest.in" 4166 while : 4167 do 4168 cat "conftest.in" "conftest.in" >"conftest.tmp" 4169 mv "conftest.tmp" "conftest.in" 4170 cp "conftest.in" "conftest.nl" 4171 $as_echo '' >> "conftest.nl" 4172 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4173 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4174 as_fn_arith $ac_count + 1 && ac_count=$as_val 4175 if test $ac_count -gt ${ac_path_SED_max-0}; then 4176 # Best one so far, save it but keep looking for a better one 4177 ac_cv_path_SED="$ac_path_SED" 4178 ac_path_SED_max=$ac_count 4179 fi 4180 # 10*(2^10) chars as input seems more than enough 4181 test $ac_count -gt 10 && break 4182 done 4183 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4184esac 4185 4186 $ac_path_SED_found && break 3 4187 done 4188 done 4189 done 4190IFS=$as_save_IFS 4191 if test -z "$ac_cv_path_SED"; then 4192 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4193 fi 4194else 4195 ac_cv_path_SED=$SED 4196fi 4197 4198fi 4199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4200$as_echo "$ac_cv_path_SED" >&6; } 4201 SED="$ac_cv_path_SED" 4202 rm -f conftest.sed 4203 4204test -z "$SED" && SED=sed 4205Xsed="$SED -e 1s/^X//" 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4218$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4219if ${ac_cv_path_GREP+:} false; then : 4220 $as_echo_n "(cached) " >&6 4221else 4222 if test -z "$GREP"; then 4223 ac_path_GREP_found=false 4224 # Loop through the user's path and test for each of PROGNAME-LIST 4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4226for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4227do 4228 IFS=$as_save_IFS 4229 test -z "$as_dir" && as_dir=. 4230 for ac_prog in grep ggrep; do 4231 for ac_exec_ext in '' $ac_executable_extensions; do 4232 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4233 as_fn_executable_p "$ac_path_GREP" || continue 4234# Check for GNU ac_path_GREP and select it if it is found. 4235 # Check for GNU $ac_path_GREP 4236case `"$ac_path_GREP" --version 2>&1` in 4237*GNU*) 4238 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4239*) 4240 ac_count=0 4241 $as_echo_n 0123456789 >"conftest.in" 4242 while : 4243 do 4244 cat "conftest.in" "conftest.in" >"conftest.tmp" 4245 mv "conftest.tmp" "conftest.in" 4246 cp "conftest.in" "conftest.nl" 4247 $as_echo 'GREP' >> "conftest.nl" 4248 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4249 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4250 as_fn_arith $ac_count + 1 && ac_count=$as_val 4251 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4252 # Best one so far, save it but keep looking for a better one 4253 ac_cv_path_GREP="$ac_path_GREP" 4254 ac_path_GREP_max=$ac_count 4255 fi 4256 # 10*(2^10) chars as input seems more than enough 4257 test $ac_count -gt 10 && break 4258 done 4259 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4260esac 4261 4262 $ac_path_GREP_found && break 3 4263 done 4264 done 4265 done 4266IFS=$as_save_IFS 4267 if test -z "$ac_cv_path_GREP"; then 4268 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4269 fi 4270else 4271 ac_cv_path_GREP=$GREP 4272fi 4273 4274fi 4275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4276$as_echo "$ac_cv_path_GREP" >&6; } 4277 GREP="$ac_cv_path_GREP" 4278 4279 4280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4281$as_echo_n "checking for egrep... " >&6; } 4282if ${ac_cv_path_EGREP+:} false; then : 4283 $as_echo_n "(cached) " >&6 4284else 4285 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4286 then ac_cv_path_EGREP="$GREP -E" 4287 else 4288 if test -z "$EGREP"; then 4289 ac_path_EGREP_found=false 4290 # Loop through the user's path and test for each of PROGNAME-LIST 4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4292for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4293do 4294 IFS=$as_save_IFS 4295 test -z "$as_dir" && as_dir=. 4296 for ac_prog in egrep; do 4297 for ac_exec_ext in '' $ac_executable_extensions; do 4298 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4299 as_fn_executable_p "$ac_path_EGREP" || continue 4300# Check for GNU ac_path_EGREP and select it if it is found. 4301 # Check for GNU $ac_path_EGREP 4302case `"$ac_path_EGREP" --version 2>&1` in 4303*GNU*) 4304 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4305*) 4306 ac_count=0 4307 $as_echo_n 0123456789 >"conftest.in" 4308 while : 4309 do 4310 cat "conftest.in" "conftest.in" >"conftest.tmp" 4311 mv "conftest.tmp" "conftest.in" 4312 cp "conftest.in" "conftest.nl" 4313 $as_echo 'EGREP' >> "conftest.nl" 4314 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4315 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4316 as_fn_arith $ac_count + 1 && ac_count=$as_val 4317 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4318 # Best one so far, save it but keep looking for a better one 4319 ac_cv_path_EGREP="$ac_path_EGREP" 4320 ac_path_EGREP_max=$ac_count 4321 fi 4322 # 10*(2^10) chars as input seems more than enough 4323 test $ac_count -gt 10 && break 4324 done 4325 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4326esac 4327 4328 $ac_path_EGREP_found && break 3 4329 done 4330 done 4331 done 4332IFS=$as_save_IFS 4333 if test -z "$ac_cv_path_EGREP"; then 4334 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4335 fi 4336else 4337 ac_cv_path_EGREP=$EGREP 4338fi 4339 4340 fi 4341fi 4342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4343$as_echo "$ac_cv_path_EGREP" >&6; } 4344 EGREP="$ac_cv_path_EGREP" 4345 4346 4347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4348$as_echo_n "checking for fgrep... " >&6; } 4349if ${ac_cv_path_FGREP+:} false; then : 4350 $as_echo_n "(cached) " >&6 4351else 4352 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4353 then ac_cv_path_FGREP="$GREP -F" 4354 else 4355 if test -z "$FGREP"; then 4356 ac_path_FGREP_found=false 4357 # Loop through the user's path and test for each of PROGNAME-LIST 4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4359for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4360do 4361 IFS=$as_save_IFS 4362 test -z "$as_dir" && as_dir=. 4363 for ac_prog in fgrep; do 4364 for ac_exec_ext in '' $ac_executable_extensions; do 4365 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4366 as_fn_executable_p "$ac_path_FGREP" || continue 4367# Check for GNU ac_path_FGREP and select it if it is found. 4368 # Check for GNU $ac_path_FGREP 4369case `"$ac_path_FGREP" --version 2>&1` in 4370*GNU*) 4371 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4372*) 4373 ac_count=0 4374 $as_echo_n 0123456789 >"conftest.in" 4375 while : 4376 do 4377 cat "conftest.in" "conftest.in" >"conftest.tmp" 4378 mv "conftest.tmp" "conftest.in" 4379 cp "conftest.in" "conftest.nl" 4380 $as_echo 'FGREP' >> "conftest.nl" 4381 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4382 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4383 as_fn_arith $ac_count + 1 && ac_count=$as_val 4384 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4385 # Best one so far, save it but keep looking for a better one 4386 ac_cv_path_FGREP="$ac_path_FGREP" 4387 ac_path_FGREP_max=$ac_count 4388 fi 4389 # 10*(2^10) chars as input seems more than enough 4390 test $ac_count -gt 10 && break 4391 done 4392 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4393esac 4394 4395 $ac_path_FGREP_found && break 3 4396 done 4397 done 4398 done 4399IFS=$as_save_IFS 4400 if test -z "$ac_cv_path_FGREP"; then 4401 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4402 fi 4403else 4404 ac_cv_path_FGREP=$FGREP 4405fi 4406 4407 fi 4408fi 4409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4410$as_echo "$ac_cv_path_FGREP" >&6; } 4411 FGREP="$ac_cv_path_FGREP" 4412 4413 4414test -z "$GREP" && GREP=grep 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434# Check whether --with-gnu-ld was given. 4435if test "${with_gnu_ld+set}" = set; then : 4436 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4437else 4438 with_gnu_ld=no 4439fi 4440 4441ac_prog=ld 4442if test "$GCC" = yes; then 4443 # Check if gcc -print-prog-name=ld gives a path. 4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4445$as_echo_n "checking for ld used by $CC... " >&6; } 4446 case $host in 4447 *-*-mingw*) 4448 # gcc leaves a trailing carriage return which upsets mingw 4449 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4450 *) 4451 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4452 esac 4453 case $ac_prog in 4454 # Accept absolute paths. 4455 [\\/]* | ?:[\\/]*) 4456 re_direlt='/[^/][^/]*/\.\./' 4457 # Canonicalize the pathname of ld 4458 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4459 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4460 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4461 done 4462 test -z "$LD" && LD="$ac_prog" 4463 ;; 4464 "") 4465 # If it fails, then pretend we aren't using GCC. 4466 ac_prog=ld 4467 ;; 4468 *) 4469 # If it is relative, then search for the first ld in PATH. 4470 with_gnu_ld=unknown 4471 ;; 4472 esac 4473elif test "$with_gnu_ld" = yes; then 4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4475$as_echo_n "checking for GNU ld... " >&6; } 4476else 4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4478$as_echo_n "checking for non-GNU ld... " >&6; } 4479fi 4480if ${lt_cv_path_LD+:} false; then : 4481 $as_echo_n "(cached) " >&6 4482else 4483 if test -z "$LD"; then 4484 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4485 for ac_dir in $PATH; do 4486 IFS="$lt_save_ifs" 4487 test -z "$ac_dir" && ac_dir=. 4488 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4489 lt_cv_path_LD="$ac_dir/$ac_prog" 4490 # Check to see if the program is GNU ld. I'd rather use --version, 4491 # but apparently some variants of GNU ld only accept -v. 4492 # Break only if it was the GNU/non-GNU ld that we prefer. 4493 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4494 *GNU* | *'with BFD'*) 4495 test "$with_gnu_ld" != no && break 4496 ;; 4497 *) 4498 test "$with_gnu_ld" != yes && break 4499 ;; 4500 esac 4501 fi 4502 done 4503 IFS="$lt_save_ifs" 4504else 4505 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4506fi 4507fi 4508 4509LD="$lt_cv_path_LD" 4510if test -n "$LD"; then 4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4512$as_echo "$LD" >&6; } 4513else 4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4515$as_echo "no" >&6; } 4516fi 4517test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4519$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4520if ${lt_cv_prog_gnu_ld+:} false; then : 4521 $as_echo_n "(cached) " >&6 4522else 4523 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4524case `$LD -v 2>&1 </dev/null` in 4525*GNU* | *'with BFD'*) 4526 lt_cv_prog_gnu_ld=yes 4527 ;; 4528*) 4529 lt_cv_prog_gnu_ld=no 4530 ;; 4531esac 4532fi 4533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4534$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4535with_gnu_ld=$lt_cv_prog_gnu_ld 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4546$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4547if ${lt_cv_path_NM+:} false; then : 4548 $as_echo_n "(cached) " >&6 4549else 4550 if test -n "$NM"; then 4551 # Let the user override the test. 4552 lt_cv_path_NM="$NM" 4553else 4554 lt_nm_to_check="${ac_tool_prefix}nm" 4555 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4556 lt_nm_to_check="$lt_nm_to_check nm" 4557 fi 4558 for lt_tmp_nm in $lt_nm_to_check; do 4559 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4560 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4561 IFS="$lt_save_ifs" 4562 test -z "$ac_dir" && ac_dir=. 4563 tmp_nm="$ac_dir/$lt_tmp_nm" 4564 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4565 # Check to see if the nm accepts a BSD-compat flag. 4566 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4567 # nm: unknown option "B" ignored 4568 # Tru64's nm complains that /dev/null is an invalid object file 4569 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4570 */dev/null* | *'Invalid file or object type'*) 4571 lt_cv_path_NM="$tmp_nm -B" 4572 break 4573 ;; 4574 *) 4575 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4576 */dev/null*) 4577 lt_cv_path_NM="$tmp_nm -p" 4578 break 4579 ;; 4580 *) 4581 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4582 continue # so that we can try to find one that supports BSD flags 4583 ;; 4584 esac 4585 ;; 4586 esac 4587 fi 4588 done 4589 IFS="$lt_save_ifs" 4590 done 4591 : ${lt_cv_path_NM=no} 4592fi 4593fi 4594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4595$as_echo "$lt_cv_path_NM" >&6; } 4596if test "$lt_cv_path_NM" != "no"; then 4597 NM="$lt_cv_path_NM" 4598else 4599 # Didn't find any BSD compatible name lister, look for dumpbin. 4600 if test -n "$DUMPBIN"; then : 4601 # Let the user override the test. 4602 else 4603 if test -n "$ac_tool_prefix"; then 4604 for ac_prog in dumpbin "link -dump" 4605 do 4606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4607set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4609$as_echo_n "checking for $ac_word... " >&6; } 4610if ${ac_cv_prog_DUMPBIN+:} false; then : 4611 $as_echo_n "(cached) " >&6 4612else 4613 if test -n "$DUMPBIN"; then 4614 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4615else 4616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4617for as_dir in $PATH 4618do 4619 IFS=$as_save_IFS 4620 test -z "$as_dir" && as_dir=. 4621 for ac_exec_ext in '' $ac_executable_extensions; do 4622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4623 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4625 break 2 4626 fi 4627done 4628 done 4629IFS=$as_save_IFS 4630 4631fi 4632fi 4633DUMPBIN=$ac_cv_prog_DUMPBIN 4634if test -n "$DUMPBIN"; then 4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4636$as_echo "$DUMPBIN" >&6; } 4637else 4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4639$as_echo "no" >&6; } 4640fi 4641 4642 4643 test -n "$DUMPBIN" && break 4644 done 4645fi 4646if test -z "$DUMPBIN"; then 4647 ac_ct_DUMPBIN=$DUMPBIN 4648 for ac_prog in dumpbin "link -dump" 4649do 4650 # Extract the first word of "$ac_prog", so it can be a program name with args. 4651set dummy $ac_prog; ac_word=$2 4652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4653$as_echo_n "checking for $ac_word... " >&6; } 4654if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4655 $as_echo_n "(cached) " >&6 4656else 4657 if test -n "$ac_ct_DUMPBIN"; then 4658 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4659else 4660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4661for as_dir in $PATH 4662do 4663 IFS=$as_save_IFS 4664 test -z "$as_dir" && as_dir=. 4665 for ac_exec_ext in '' $ac_executable_extensions; do 4666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4667 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4669 break 2 4670 fi 4671done 4672 done 4673IFS=$as_save_IFS 4674 4675fi 4676fi 4677ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4678if test -n "$ac_ct_DUMPBIN"; then 4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4680$as_echo "$ac_ct_DUMPBIN" >&6; } 4681else 4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4683$as_echo "no" >&6; } 4684fi 4685 4686 4687 test -n "$ac_ct_DUMPBIN" && break 4688done 4689 4690 if test "x$ac_ct_DUMPBIN" = x; then 4691 DUMPBIN=":" 4692 else 4693 case $cross_compiling:$ac_tool_warned in 4694yes:) 4695{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4696$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4697ac_tool_warned=yes ;; 4698esac 4699 DUMPBIN=$ac_ct_DUMPBIN 4700 fi 4701fi 4702 4703 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4704 *COFF*) 4705 DUMPBIN="$DUMPBIN -symbols" 4706 ;; 4707 *) 4708 DUMPBIN=: 4709 ;; 4710 esac 4711 fi 4712 4713 if test "$DUMPBIN" != ":"; then 4714 NM="$DUMPBIN" 4715 fi 4716fi 4717test -z "$NM" && NM=nm 4718 4719 4720 4721 4722 4723 4724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4725$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4726if ${lt_cv_nm_interface+:} false; then : 4727 $as_echo_n "(cached) " >&6 4728else 4729 lt_cv_nm_interface="BSD nm" 4730 echo "int some_variable = 0;" > conftest.$ac_ext 4731 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4732 (eval "$ac_compile" 2>conftest.err) 4733 cat conftest.err >&5 4734 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4735 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4736 cat conftest.err >&5 4737 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4738 cat conftest.out >&5 4739 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4740 lt_cv_nm_interface="MS dumpbin" 4741 fi 4742 rm -f conftest* 4743fi 4744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4745$as_echo "$lt_cv_nm_interface" >&6; } 4746 4747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4748$as_echo_n "checking whether ln -s works... " >&6; } 4749LN_S=$as_ln_s 4750if test "$LN_S" = "ln -s"; then 4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4752$as_echo "yes" >&6; } 4753else 4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4755$as_echo "no, using $LN_S" >&6; } 4756fi 4757 4758# find the maximum length of command line arguments 4759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4760$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4761if ${lt_cv_sys_max_cmd_len+:} false; then : 4762 $as_echo_n "(cached) " >&6 4763else 4764 i=0 4765 teststring="ABCD" 4766 4767 case $build_os in 4768 msdosdjgpp*) 4769 # On DJGPP, this test can blow up pretty badly due to problems in libc 4770 # (any single argument exceeding 2000 bytes causes a buffer overrun 4771 # during glob expansion). Even if it were fixed, the result of this 4772 # check would be larger than it should be. 4773 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4774 ;; 4775 4776 gnu*) 4777 # Under GNU Hurd, this test is not required because there is 4778 # no limit to the length of command line arguments. 4779 # Libtool will interpret -1 as no limit whatsoever 4780 lt_cv_sys_max_cmd_len=-1; 4781 ;; 4782 4783 cygwin* | mingw* | cegcc*) 4784 # On Win9x/ME, this test blows up -- it succeeds, but takes 4785 # about 5 minutes as the teststring grows exponentially. 4786 # Worse, since 9x/ME are not pre-emptively multitasking, 4787 # you end up with a "frozen" computer, even though with patience 4788 # the test eventually succeeds (with a max line length of 256k). 4789 # Instead, let's just punt: use the minimum linelength reported by 4790 # all of the supported platforms: 8192 (on NT/2K/XP). 4791 lt_cv_sys_max_cmd_len=8192; 4792 ;; 4793 4794 mint*) 4795 # On MiNT this can take a long time and run out of memory. 4796 lt_cv_sys_max_cmd_len=8192; 4797 ;; 4798 4799 amigaos*) 4800 # On AmigaOS with pdksh, this test takes hours, literally. 4801 # So we just punt and use a minimum line length of 8192. 4802 lt_cv_sys_max_cmd_len=8192; 4803 ;; 4804 4805 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4806 # This has been around since 386BSD, at least. Likely further. 4807 if test -x /sbin/sysctl; then 4808 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4809 elif test -x /usr/sbin/sysctl; then 4810 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4811 else 4812 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4813 fi 4814 # And add a safety zone 4815 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4816 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4817 ;; 4818 4819 interix*) 4820 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4821 lt_cv_sys_max_cmd_len=196608 4822 ;; 4823 4824 osf*) 4825 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4826 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4827 # nice to cause kernel panics so lets avoid the loop below. 4828 # First set a reasonable default. 4829 lt_cv_sys_max_cmd_len=16384 4830 # 4831 if test -x /sbin/sysconfig; then 4832 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4833 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4834 esac 4835 fi 4836 ;; 4837 sco3.2v5*) 4838 lt_cv_sys_max_cmd_len=102400 4839 ;; 4840 sysv5* | sco5v6* | sysv4.2uw2*) 4841 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4842 if test -n "$kargmax"; then 4843 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4844 else 4845 lt_cv_sys_max_cmd_len=32768 4846 fi 4847 ;; 4848 *) 4849 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4850 if test -n "$lt_cv_sys_max_cmd_len"; then 4851 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4852 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4853 else 4854 # Make teststring a little bigger before we do anything with it. 4855 # a 1K string should be a reasonable start. 4856 for i in 1 2 3 4 5 6 7 8 ; do 4857 teststring=$teststring$teststring 4858 done 4859 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4860 # If test is not a shell built-in, we'll probably end up computing a 4861 # maximum length that is only half of the actual maximum length, but 4862 # we can't tell. 4863 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ 4864 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4865 test $i != 17 # 1/2 MB should be enough 4866 do 4867 i=`expr $i + 1` 4868 teststring=$teststring$teststring 4869 done 4870 # Only check the string length outside the loop. 4871 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4872 teststring= 4873 # Add a significant safety factor because C++ compilers can tack on 4874 # massive amounts of additional arguments before passing them to the 4875 # linker. It appears as though 1/2 is a usable value. 4876 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4877 fi 4878 ;; 4879 esac 4880 4881fi 4882 4883if test -n $lt_cv_sys_max_cmd_len ; then 4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4885$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4886else 4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4888$as_echo "none" >&6; } 4889fi 4890max_cmd_len=$lt_cv_sys_max_cmd_len 4891 4892 4893 4894 4895 4896 4897: ${CP="cp -f"} 4898: ${MV="mv -f"} 4899: ${RM="rm -f"} 4900 4901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4902$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4903# Try some XSI features 4904xsi_shell=no 4905( _lt_dummy="a/b/c" 4906 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 4907 = c,a/b,b/c, \ 4908 && eval 'test $(( 1 + 1 )) -eq 2 \ 4909 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4910 && xsi_shell=yes 4911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4912$as_echo "$xsi_shell" >&6; } 4913 4914 4915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4916$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4917lt_shell_append=no 4918( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4919 >/dev/null 2>&1 \ 4920 && lt_shell_append=yes 4921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4922$as_echo "$lt_shell_append" >&6; } 4923 4924 4925if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4926 lt_unset=unset 4927else 4928 lt_unset=false 4929fi 4930 4931 4932 4933 4934 4935# test EBCDIC or ASCII 4936case `echo X|tr X '\101'` in 4937 A) # ASCII based system 4938 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4939 lt_SP2NL='tr \040 \012' 4940 lt_NL2SP='tr \015\012 \040\040' 4941 ;; 4942 *) # EBCDIC based system 4943 lt_SP2NL='tr \100 \n' 4944 lt_NL2SP='tr \r\n \100\100' 4945 ;; 4946esac 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4957$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4958if ${lt_cv_to_host_file_cmd+:} false; then : 4959 $as_echo_n "(cached) " >&6 4960else 4961 case $host in 4962 *-*-mingw* ) 4963 case $build in 4964 *-*-mingw* ) # actually msys 4965 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4966 ;; 4967 *-*-cygwin* ) 4968 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4969 ;; 4970 * ) # otherwise, assume *nix 4971 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4972 ;; 4973 esac 4974 ;; 4975 *-*-cygwin* ) 4976 case $build in 4977 *-*-mingw* ) # actually msys 4978 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4979 ;; 4980 *-*-cygwin* ) 4981 lt_cv_to_host_file_cmd=func_convert_file_noop 4982 ;; 4983 * ) # otherwise, assume *nix 4984 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4985 ;; 4986 esac 4987 ;; 4988 * ) # unhandled hosts (and "normal" native builds) 4989 lt_cv_to_host_file_cmd=func_convert_file_noop 4990 ;; 4991esac 4992 4993fi 4994 4995to_host_file_cmd=$lt_cv_to_host_file_cmd 4996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4997$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4998 4999 5000 5001 5002 5003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5004$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5005if ${lt_cv_to_tool_file_cmd+:} false; then : 5006 $as_echo_n "(cached) " >&6 5007else 5008 #assume ordinary cross tools, or native build. 5009lt_cv_to_tool_file_cmd=func_convert_file_noop 5010case $host in 5011 *-*-mingw* ) 5012 case $build in 5013 *-*-mingw* ) # actually msys 5014 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5015 ;; 5016 esac 5017 ;; 5018esac 5019 5020fi 5021 5022to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5024$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5025 5026 5027 5028 5029 5030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5031$as_echo_n "checking for $LD option to reload object files... " >&6; } 5032if ${lt_cv_ld_reload_flag+:} false; then : 5033 $as_echo_n "(cached) " >&6 5034else 5035 lt_cv_ld_reload_flag='-r' 5036fi 5037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5038$as_echo "$lt_cv_ld_reload_flag" >&6; } 5039reload_flag=$lt_cv_ld_reload_flag 5040case $reload_flag in 5041"" | " "*) ;; 5042*) reload_flag=" $reload_flag" ;; 5043esac 5044reload_cmds='$LD$reload_flag -o $output$reload_objs' 5045case $host_os in 5046 cygwin* | mingw* | pw32* | cegcc*) 5047 if test "$GCC" != yes; then 5048 reload_cmds=false 5049 fi 5050 ;; 5051 darwin*) 5052 if test "$GCC" = yes; then 5053 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5054 else 5055 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5056 fi 5057 ;; 5058esac 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068if test -n "$ac_tool_prefix"; then 5069 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5070set dummy ${ac_tool_prefix}objdump; ac_word=$2 5071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5072$as_echo_n "checking for $ac_word... " >&6; } 5073if ${ac_cv_prog_OBJDUMP+:} false; then : 5074 $as_echo_n "(cached) " >&6 5075else 5076 if test -n "$OBJDUMP"; then 5077 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5078else 5079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5080for as_dir in $PATH 5081do 5082 IFS=$as_save_IFS 5083 test -z "$as_dir" && as_dir=. 5084 for ac_exec_ext in '' $ac_executable_extensions; do 5085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5086 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5088 break 2 5089 fi 5090done 5091 done 5092IFS=$as_save_IFS 5093 5094fi 5095fi 5096OBJDUMP=$ac_cv_prog_OBJDUMP 5097if test -n "$OBJDUMP"; then 5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5099$as_echo "$OBJDUMP" >&6; } 5100else 5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5102$as_echo "no" >&6; } 5103fi 5104 5105 5106fi 5107if test -z "$ac_cv_prog_OBJDUMP"; then 5108 ac_ct_OBJDUMP=$OBJDUMP 5109 # Extract the first word of "objdump", so it can be a program name with args. 5110set dummy objdump; ac_word=$2 5111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5112$as_echo_n "checking for $ac_word... " >&6; } 5113if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5114 $as_echo_n "(cached) " >&6 5115else 5116 if test -n "$ac_ct_OBJDUMP"; then 5117 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5118else 5119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5120for as_dir in $PATH 5121do 5122 IFS=$as_save_IFS 5123 test -z "$as_dir" && as_dir=. 5124 for ac_exec_ext in '' $ac_executable_extensions; do 5125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5126 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5128 break 2 5129 fi 5130done 5131 done 5132IFS=$as_save_IFS 5133 5134fi 5135fi 5136ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5137if test -n "$ac_ct_OBJDUMP"; then 5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5139$as_echo "$ac_ct_OBJDUMP" >&6; } 5140else 5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5142$as_echo "no" >&6; } 5143fi 5144 5145 if test "x$ac_ct_OBJDUMP" = x; then 5146 OBJDUMP="false" 5147 else 5148 case $cross_compiling:$ac_tool_warned in 5149yes:) 5150{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5151$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5152ac_tool_warned=yes ;; 5153esac 5154 OBJDUMP=$ac_ct_OBJDUMP 5155 fi 5156else 5157 OBJDUMP="$ac_cv_prog_OBJDUMP" 5158fi 5159 5160test -z "$OBJDUMP" && OBJDUMP=objdump 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5171$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5172if ${lt_cv_deplibs_check_method+:} false; then : 5173 $as_echo_n "(cached) " >&6 5174else 5175 lt_cv_file_magic_cmd='$MAGIC_CMD' 5176lt_cv_file_magic_test_file= 5177lt_cv_deplibs_check_method='unknown' 5178# Need to set the preceding variable on all platforms that support 5179# interlibrary dependencies. 5180# 'none' -- dependencies not supported. 5181# `unknown' -- same as none, but documents that we really don't know. 5182# 'pass_all' -- all dependencies passed with no checks. 5183# 'test_compile' -- check by making test program. 5184# 'file_magic [[regex]]' -- check by looking for files in library path 5185# which responds to the $file_magic_cmd with a given extended regex. 5186# If you have `file' or equivalent on your system and you're not sure 5187# whether `pass_all' will *always* work, you probably want this one. 5188 5189case $host_os in 5190aix[4-9]*) 5191 lt_cv_deplibs_check_method=pass_all 5192 ;; 5193 5194beos*) 5195 lt_cv_deplibs_check_method=pass_all 5196 ;; 5197 5198bsdi[45]*) 5199 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5200 lt_cv_file_magic_cmd='/usr/bin/file -L' 5201 lt_cv_file_magic_test_file=/shlib/libc.so 5202 ;; 5203 5204cygwin*) 5205 # func_win32_libid is a shell function defined in ltmain.sh 5206 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5207 lt_cv_file_magic_cmd='func_win32_libid' 5208 ;; 5209 5210mingw* | pw32*) 5211 # Base MSYS/MinGW do not provide the 'file' command needed by 5212 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5213 # unless we find 'file', for example because we are cross-compiling. 5214 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5215 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5216 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5217 lt_cv_file_magic_cmd='func_win32_libid' 5218 else 5219 # Keep this pattern in sync with the one in func_win32_libid. 5220 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5221 lt_cv_file_magic_cmd='$OBJDUMP -f' 5222 fi 5223 ;; 5224 5225cegcc*) 5226 # use the weaker test based on 'objdump'. See mingw*. 5227 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5228 lt_cv_file_magic_cmd='$OBJDUMP -f' 5229 ;; 5230 5231darwin* | rhapsody*) 5232 lt_cv_deplibs_check_method=pass_all 5233 ;; 5234 5235freebsd* | dragonfly*) 5236 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5237 case $host_cpu in 5238 i*86 ) 5239 # Not sure whether the presence of OpenBSD here was a mistake. 5240 # Let's accept both of them until this is cleared up. 5241 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5242 lt_cv_file_magic_cmd=/usr/bin/file 5243 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5244 ;; 5245 esac 5246 else 5247 lt_cv_deplibs_check_method=pass_all 5248 fi 5249 ;; 5250 5251gnu*) 5252 lt_cv_deplibs_check_method=pass_all 5253 ;; 5254 5255haiku*) 5256 lt_cv_deplibs_check_method=pass_all 5257 ;; 5258 5259hpux10.20* | hpux11*) 5260 lt_cv_file_magic_cmd=/usr/bin/file 5261 case $host_cpu in 5262 ia64*) 5263 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5264 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5265 ;; 5266 hppa*64*) 5267 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]' 5268 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5269 ;; 5270 *) 5271 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5272 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5273 ;; 5274 esac 5275 ;; 5276 5277interix[3-9]*) 5278 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5279 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5280 ;; 5281 5282irix5* | irix6* | nonstopux*) 5283 case $LD in 5284 *-32|*"-32 ") libmagic=32-bit;; 5285 *-n32|*"-n32 ") libmagic=N32;; 5286 *-64|*"-64 ") libmagic=64-bit;; 5287 *) libmagic=never-match;; 5288 esac 5289 lt_cv_deplibs_check_method=pass_all 5290 ;; 5291 5292# This must be Linux ELF. 5293linux* | k*bsd*-gnu | kopensolaris*-gnu) 5294 lt_cv_deplibs_check_method=pass_all 5295 ;; 5296 5297netbsd*) 5298 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5299 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5300 else 5301 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5302 fi 5303 ;; 5304 5305newos6*) 5306 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5307 lt_cv_file_magic_cmd=/usr/bin/file 5308 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5309 ;; 5310 5311*nto* | *qnx*) 5312 lt_cv_deplibs_check_method=pass_all 5313 ;; 5314 5315openbsd*) 5316 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5318 else 5319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5320 fi 5321 ;; 5322 5323osf3* | osf4* | osf5*) 5324 lt_cv_deplibs_check_method=pass_all 5325 ;; 5326 5327rdos*) 5328 lt_cv_deplibs_check_method=pass_all 5329 ;; 5330 5331solaris*) 5332 lt_cv_deplibs_check_method=pass_all 5333 ;; 5334 5335sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5336 lt_cv_deplibs_check_method=pass_all 5337 ;; 5338 5339sysv4 | sysv4.3*) 5340 case $host_vendor in 5341 motorola) 5342 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]' 5343 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5344 ;; 5345 ncr) 5346 lt_cv_deplibs_check_method=pass_all 5347 ;; 5348 sequent) 5349 lt_cv_file_magic_cmd='/bin/file' 5350 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5351 ;; 5352 sni) 5353 lt_cv_file_magic_cmd='/bin/file' 5354 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5355 lt_cv_file_magic_test_file=/lib/libc.so 5356 ;; 5357 siemens) 5358 lt_cv_deplibs_check_method=pass_all 5359 ;; 5360 pc) 5361 lt_cv_deplibs_check_method=pass_all 5362 ;; 5363 esac 5364 ;; 5365 5366tpf*) 5367 lt_cv_deplibs_check_method=pass_all 5368 ;; 5369esac 5370 5371fi 5372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5373$as_echo "$lt_cv_deplibs_check_method" >&6; } 5374 5375file_magic_glob= 5376want_nocaseglob=no 5377if test "$build" = "$host"; then 5378 case $host_os in 5379 mingw* | pw32*) 5380 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5381 want_nocaseglob=yes 5382 else 5383 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5384 fi 5385 ;; 5386 esac 5387fi 5388 5389file_magic_cmd=$lt_cv_file_magic_cmd 5390deplibs_check_method=$lt_cv_deplibs_check_method 5391test -z "$deplibs_check_method" && deplibs_check_method=unknown 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414if test -n "$ac_tool_prefix"; then 5415 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5416set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5418$as_echo_n "checking for $ac_word... " >&6; } 5419if ${ac_cv_prog_DLLTOOL+:} false; then : 5420 $as_echo_n "(cached) " >&6 5421else 5422 if test -n "$DLLTOOL"; then 5423 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5424else 5425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5426for as_dir in $PATH 5427do 5428 IFS=$as_save_IFS 5429 test -z "$as_dir" && as_dir=. 5430 for ac_exec_ext in '' $ac_executable_extensions; do 5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5432 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5434 break 2 5435 fi 5436done 5437 done 5438IFS=$as_save_IFS 5439 5440fi 5441fi 5442DLLTOOL=$ac_cv_prog_DLLTOOL 5443if test -n "$DLLTOOL"; then 5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5445$as_echo "$DLLTOOL" >&6; } 5446else 5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5448$as_echo "no" >&6; } 5449fi 5450 5451 5452fi 5453if test -z "$ac_cv_prog_DLLTOOL"; then 5454 ac_ct_DLLTOOL=$DLLTOOL 5455 # Extract the first word of "dlltool", so it can be a program name with args. 5456set dummy dlltool; ac_word=$2 5457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5458$as_echo_n "checking for $ac_word... " >&6; } 5459if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5460 $as_echo_n "(cached) " >&6 5461else 5462 if test -n "$ac_ct_DLLTOOL"; then 5463 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5464else 5465as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5466for as_dir in $PATH 5467do 5468 IFS=$as_save_IFS 5469 test -z "$as_dir" && as_dir=. 5470 for ac_exec_ext in '' $ac_executable_extensions; do 5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5472 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5474 break 2 5475 fi 5476done 5477 done 5478IFS=$as_save_IFS 5479 5480fi 5481fi 5482ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5483if test -n "$ac_ct_DLLTOOL"; then 5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5485$as_echo "$ac_ct_DLLTOOL" >&6; } 5486else 5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5488$as_echo "no" >&6; } 5489fi 5490 5491 if test "x$ac_ct_DLLTOOL" = x; then 5492 DLLTOOL="false" 5493 else 5494 case $cross_compiling:$ac_tool_warned in 5495yes:) 5496{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5497$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5498ac_tool_warned=yes ;; 5499esac 5500 DLLTOOL=$ac_ct_DLLTOOL 5501 fi 5502else 5503 DLLTOOL="$ac_cv_prog_DLLTOOL" 5504fi 5505 5506test -z "$DLLTOOL" && DLLTOOL=dlltool 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5518$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5519if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5520 $as_echo_n "(cached) " >&6 5521else 5522 lt_cv_sharedlib_from_linklib_cmd='unknown' 5523 5524case $host_os in 5525cygwin* | mingw* | pw32* | cegcc*) 5526 # two different shell functions defined in ltmain.sh 5527 # decide which to use based on capabilities of $DLLTOOL 5528 case `$DLLTOOL --help 2>&1` in 5529 *--identify-strict*) 5530 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5531 ;; 5532 *) 5533 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5534 ;; 5535 esac 5536 ;; 5537*) 5538 # fallback: assume linklib IS sharedlib 5539 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5540 ;; 5541esac 5542 5543fi 5544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5545$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5546sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5547test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5548 5549 5550 5551 5552 5553 5554 5555 5556if test -n "$ac_tool_prefix"; then 5557 for ac_prog in ar 5558 do 5559 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5560set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5562$as_echo_n "checking for $ac_word... " >&6; } 5563if ${ac_cv_prog_AR+:} false; then : 5564 $as_echo_n "(cached) " >&6 5565else 5566 if test -n "$AR"; then 5567 ac_cv_prog_AR="$AR" # Let the user override the test. 5568else 5569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5570for as_dir in $PATH 5571do 5572 IFS=$as_save_IFS 5573 test -z "$as_dir" && as_dir=. 5574 for ac_exec_ext in '' $ac_executable_extensions; do 5575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5576 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5578 break 2 5579 fi 5580done 5581 done 5582IFS=$as_save_IFS 5583 5584fi 5585fi 5586AR=$ac_cv_prog_AR 5587if test -n "$AR"; then 5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5589$as_echo "$AR" >&6; } 5590else 5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5592$as_echo "no" >&6; } 5593fi 5594 5595 5596 test -n "$AR" && break 5597 done 5598fi 5599if test -z "$AR"; then 5600 ac_ct_AR=$AR 5601 for ac_prog in ar 5602do 5603 # Extract the first word of "$ac_prog", so it can be a program name with args. 5604set dummy $ac_prog; ac_word=$2 5605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5606$as_echo_n "checking for $ac_word... " >&6; } 5607if ${ac_cv_prog_ac_ct_AR+:} false; then : 5608 $as_echo_n "(cached) " >&6 5609else 5610 if test -n "$ac_ct_AR"; then 5611 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5612else 5613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5614for as_dir in $PATH 5615do 5616 IFS=$as_save_IFS 5617 test -z "$as_dir" && as_dir=. 5618 for ac_exec_ext in '' $ac_executable_extensions; do 5619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5620 ac_cv_prog_ac_ct_AR="$ac_prog" 5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5622 break 2 5623 fi 5624done 5625 done 5626IFS=$as_save_IFS 5627 5628fi 5629fi 5630ac_ct_AR=$ac_cv_prog_ac_ct_AR 5631if test -n "$ac_ct_AR"; then 5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5633$as_echo "$ac_ct_AR" >&6; } 5634else 5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5636$as_echo "no" >&6; } 5637fi 5638 5639 5640 test -n "$ac_ct_AR" && break 5641done 5642 5643 if test "x$ac_ct_AR" = x; then 5644 AR="false" 5645 else 5646 case $cross_compiling:$ac_tool_warned in 5647yes:) 5648{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5649$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5650ac_tool_warned=yes ;; 5651esac 5652 AR=$ac_ct_AR 5653 fi 5654fi 5655 5656: ${AR=ar} 5657: ${AR_FLAGS=cru} 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5670$as_echo_n "checking for archiver @FILE support... " >&6; } 5671if ${lt_cv_ar_at_file+:} false; then : 5672 $as_echo_n "(cached) " >&6 5673else 5674 lt_cv_ar_at_file=no 5675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5676/* end confdefs.h. */ 5677 5678int 5679main () 5680{ 5681 5682 ; 5683 return 0; 5684} 5685_ACEOF 5686if ac_fn_c_try_compile "$LINENO"; then : 5687 echo conftest.$ac_objext > conftest.lst 5688 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5689 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5690 (eval $lt_ar_try) 2>&5 5691 ac_status=$? 5692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5693 test $ac_status = 0; } 5694 if test "$ac_status" -eq 0; then 5695 # Ensure the archiver fails upon bogus file names. 5696 rm -f conftest.$ac_objext libconftest.a 5697 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5698 (eval $lt_ar_try) 2>&5 5699 ac_status=$? 5700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5701 test $ac_status = 0; } 5702 if test "$ac_status" -ne 0; then 5703 lt_cv_ar_at_file=@ 5704 fi 5705 fi 5706 rm -f conftest.* libconftest.a 5707 5708fi 5709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5710 5711fi 5712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5713$as_echo "$lt_cv_ar_at_file" >&6; } 5714 5715if test "x$lt_cv_ar_at_file" = xno; then 5716 archiver_list_spec= 5717else 5718 archiver_list_spec=$lt_cv_ar_at_file 5719fi 5720 5721 5722 5723 5724 5725 5726 5727if test -n "$ac_tool_prefix"; then 5728 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5729set dummy ${ac_tool_prefix}strip; ac_word=$2 5730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5731$as_echo_n "checking for $ac_word... " >&6; } 5732if ${ac_cv_prog_STRIP+:} false; then : 5733 $as_echo_n "(cached) " >&6 5734else 5735 if test -n "$STRIP"; then 5736 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5737else 5738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5739for as_dir in $PATH 5740do 5741 IFS=$as_save_IFS 5742 test -z "$as_dir" && as_dir=. 5743 for ac_exec_ext in '' $ac_executable_extensions; do 5744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5745 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5747 break 2 5748 fi 5749done 5750 done 5751IFS=$as_save_IFS 5752 5753fi 5754fi 5755STRIP=$ac_cv_prog_STRIP 5756if test -n "$STRIP"; then 5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5758$as_echo "$STRIP" >&6; } 5759else 5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5761$as_echo "no" >&6; } 5762fi 5763 5764 5765fi 5766if test -z "$ac_cv_prog_STRIP"; then 5767 ac_ct_STRIP=$STRIP 5768 # Extract the first word of "strip", so it can be a program name with args. 5769set dummy strip; ac_word=$2 5770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5771$as_echo_n "checking for $ac_word... " >&6; } 5772if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5773 $as_echo_n "(cached) " >&6 5774else 5775 if test -n "$ac_ct_STRIP"; then 5776 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5777else 5778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5779for as_dir in $PATH 5780do 5781 IFS=$as_save_IFS 5782 test -z "$as_dir" && as_dir=. 5783 for ac_exec_ext in '' $ac_executable_extensions; do 5784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5785 ac_cv_prog_ac_ct_STRIP="strip" 5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5787 break 2 5788 fi 5789done 5790 done 5791IFS=$as_save_IFS 5792 5793fi 5794fi 5795ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5796if test -n "$ac_ct_STRIP"; then 5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5798$as_echo "$ac_ct_STRIP" >&6; } 5799else 5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5801$as_echo "no" >&6; } 5802fi 5803 5804 if test "x$ac_ct_STRIP" = x; then 5805 STRIP=":" 5806 else 5807 case $cross_compiling:$ac_tool_warned in 5808yes:) 5809{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5810$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5811ac_tool_warned=yes ;; 5812esac 5813 STRIP=$ac_ct_STRIP 5814 fi 5815else 5816 STRIP="$ac_cv_prog_STRIP" 5817fi 5818 5819test -z "$STRIP" && STRIP=: 5820 5821 5822 5823 5824 5825 5826if test -n "$ac_tool_prefix"; then 5827 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5828set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5830$as_echo_n "checking for $ac_word... " >&6; } 5831if ${ac_cv_prog_RANLIB+:} false; then : 5832 $as_echo_n "(cached) " >&6 5833else 5834 if test -n "$RANLIB"; then 5835 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5836else 5837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5838for as_dir in $PATH 5839do 5840 IFS=$as_save_IFS 5841 test -z "$as_dir" && as_dir=. 5842 for ac_exec_ext in '' $ac_executable_extensions; do 5843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5844 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5846 break 2 5847 fi 5848done 5849 done 5850IFS=$as_save_IFS 5851 5852fi 5853fi 5854RANLIB=$ac_cv_prog_RANLIB 5855if test -n "$RANLIB"; then 5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5857$as_echo "$RANLIB" >&6; } 5858else 5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5860$as_echo "no" >&6; } 5861fi 5862 5863 5864fi 5865if test -z "$ac_cv_prog_RANLIB"; then 5866 ac_ct_RANLIB=$RANLIB 5867 # Extract the first word of "ranlib", so it can be a program name with args. 5868set dummy ranlib; ac_word=$2 5869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5870$as_echo_n "checking for $ac_word... " >&6; } 5871if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5872 $as_echo_n "(cached) " >&6 5873else 5874 if test -n "$ac_ct_RANLIB"; then 5875 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5876else 5877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5878for as_dir in $PATH 5879do 5880 IFS=$as_save_IFS 5881 test -z "$as_dir" && as_dir=. 5882 for ac_exec_ext in '' $ac_executable_extensions; do 5883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5884 ac_cv_prog_ac_ct_RANLIB="ranlib" 5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5886 break 2 5887 fi 5888done 5889 done 5890IFS=$as_save_IFS 5891 5892fi 5893fi 5894ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5895if test -n "$ac_ct_RANLIB"; then 5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5897$as_echo "$ac_ct_RANLIB" >&6; } 5898else 5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5900$as_echo "no" >&6; } 5901fi 5902 5903 if test "x$ac_ct_RANLIB" = x; then 5904 RANLIB=":" 5905 else 5906 case $cross_compiling:$ac_tool_warned in 5907yes:) 5908{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5909$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5910ac_tool_warned=yes ;; 5911esac 5912 RANLIB=$ac_ct_RANLIB 5913 fi 5914else 5915 RANLIB="$ac_cv_prog_RANLIB" 5916fi 5917 5918test -z "$RANLIB" && RANLIB=: 5919 5920 5921 5922 5923 5924 5925# Determine commands to create old-style static archives. 5926old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5927old_postinstall_cmds='chmod 644 $oldlib' 5928old_postuninstall_cmds= 5929 5930if test -n "$RANLIB"; then 5931 case $host_os in 5932 openbsd*) 5933 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5934 ;; 5935 *) 5936 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5937 ;; 5938 esac 5939 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5940fi 5941 5942case $host_os in 5943 darwin*) 5944 lock_old_archive_extraction=yes ;; 5945 *) 5946 lock_old_archive_extraction=no ;; 5947esac 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987# If no C compiler was specified, use CC. 5988LTCC=${LTCC-"$CC"} 5989 5990# If no C compiler flags were specified, use CFLAGS. 5991LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5992 5993# Allow CC to be a program name with arguments. 5994compiler=$CC 5995 5996 5997# Check for command to grab the raw symbol name followed by C symbol from nm. 5998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5999$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6000if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6001 $as_echo_n "(cached) " >&6 6002else 6003 6004# These are sane defaults that work on at least a few old systems. 6005# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6006 6007# Character class describing NM global symbol codes. 6008symcode='[BCDEGRST]' 6009 6010# Regexp to match symbols that can be accessed directly from C. 6011sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6012 6013# Define system-specific variables. 6014case $host_os in 6015aix*) 6016 symcode='[BCDT]' 6017 ;; 6018cygwin* | mingw* | pw32* | cegcc*) 6019 symcode='[ABCDGISTW]' 6020 ;; 6021hpux*) 6022 if test "$host_cpu" = ia64; then 6023 symcode='[ABCDEGRST]' 6024 fi 6025 ;; 6026irix* | nonstopux*) 6027 symcode='[BCDEGRST]' 6028 ;; 6029osf*) 6030 symcode='[BCDEGQRST]' 6031 ;; 6032solaris*) 6033 symcode='[BDRT]' 6034 ;; 6035sco3.2v5*) 6036 symcode='[DT]' 6037 ;; 6038sysv4.2uw2*) 6039 symcode='[DT]' 6040 ;; 6041sysv5* | sco5v6* | unixware* | OpenUNIX*) 6042 symcode='[ABDT]' 6043 ;; 6044sysv4) 6045 symcode='[DFNSTU]' 6046 ;; 6047esac 6048 6049# If we're using GNU nm, then use its standard symbol codes. 6050case `$NM -V 2>&1` in 6051*GNU* | *'with BFD'*) 6052 symcode='[ABCDGIRSTW]' ;; 6053esac 6054 6055# Transform an extracted symbol line into a proper C declaration. 6056# Some systems (esp. on ia64) link data and code symbols differently, 6057# so use this general approach. 6058lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6059 6060# Transform an extracted symbol line into symbol name and symbol address 6061lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6062lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 6063 6064# Handle CRLF in mingw tool chain 6065opt_cr= 6066case $build_os in 6067mingw*) 6068 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6069 ;; 6070esac 6071 6072# Try without a prefix underscore, then with it. 6073for ac_symprfx in "" "_"; do 6074 6075 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6076 symxfrm="\\1 $ac_symprfx\\2 \\2" 6077 6078 # Write the raw and C identifiers. 6079 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6080 # Fake it for dumpbin and say T for any non-static function 6081 # and D for any global variable. 6082 # Also find C++ and __fastcall symbols from MSVC++, 6083 # which start with @ or ?. 6084 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6085" {last_section=section; section=\$ 3};"\ 6086" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6087" \$ 0!~/External *\|/{next};"\ 6088" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6089" {if(hide[section]) next};"\ 6090" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6091" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6092" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6093" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6094" ' prfx=^$ac_symprfx" 6095 else 6096 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6097 fi 6098 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6099 6100 # Check to see that the pipe works correctly. 6101 pipe_works=no 6102 6103 rm -f conftest* 6104 cat > conftest.$ac_ext <<_LT_EOF 6105#ifdef __cplusplus 6106extern "C" { 6107#endif 6108char nm_test_var; 6109void nm_test_func(void); 6110void nm_test_func(void){} 6111#ifdef __cplusplus 6112} 6113#endif 6114int main(){nm_test_var='a';nm_test_func();return(0);} 6115_LT_EOF 6116 6117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6118 (eval $ac_compile) 2>&5 6119 ac_status=$? 6120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6121 test $ac_status = 0; }; then 6122 # Now try to grab the symbols. 6123 nlist=conftest.nm 6124 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6125 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6126 ac_status=$? 6127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6128 test $ac_status = 0; } && test -s "$nlist"; then 6129 # Try sorting and uniquifying the output. 6130 if sort "$nlist" | uniq > "$nlist"T; then 6131 mv -f "$nlist"T "$nlist" 6132 else 6133 rm -f "$nlist"T 6134 fi 6135 6136 # Make sure that we snagged all the symbols we need. 6137 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6138 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6139 cat <<_LT_EOF > conftest.$ac_ext 6140/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6141#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6142/* DATA imports from DLLs on WIN32 con't be const, because runtime 6143 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6144# define LT_DLSYM_CONST 6145#elif defined(__osf__) 6146/* This system does not cope well with relocations in const data. */ 6147# define LT_DLSYM_CONST 6148#else 6149# define LT_DLSYM_CONST const 6150#endif 6151 6152#ifdef __cplusplus 6153extern "C" { 6154#endif 6155 6156_LT_EOF 6157 # Now generate the symbol file. 6158 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6159 6160 cat <<_LT_EOF >> conftest.$ac_ext 6161 6162/* The mapping between symbol names and symbols. */ 6163LT_DLSYM_CONST struct { 6164 const char *name; 6165 void *address; 6166} 6167lt__PROGRAM__LTX_preloaded_symbols[] = 6168{ 6169 { "@PROGRAM@", (void *) 0 }, 6170_LT_EOF 6171 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6172 cat <<\_LT_EOF >> conftest.$ac_ext 6173 {0, (void *) 0} 6174}; 6175 6176/* This works around a problem in FreeBSD linker */ 6177#ifdef FREEBSD_WORKAROUND 6178static const void *lt_preloaded_setup() { 6179 return lt__PROGRAM__LTX_preloaded_symbols; 6180} 6181#endif 6182 6183#ifdef __cplusplus 6184} 6185#endif 6186_LT_EOF 6187 # Now try linking the two files. 6188 mv conftest.$ac_objext conftstm.$ac_objext 6189 lt_globsym_save_LIBS=$LIBS 6190 lt_globsym_save_CFLAGS=$CFLAGS 6191 LIBS="conftstm.$ac_objext" 6192 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6194 (eval $ac_link) 2>&5 6195 ac_status=$? 6196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6197 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6198 pipe_works=yes 6199 fi 6200 LIBS=$lt_globsym_save_LIBS 6201 CFLAGS=$lt_globsym_save_CFLAGS 6202 else 6203 echo "cannot find nm_test_func in $nlist" >&5 6204 fi 6205 else 6206 echo "cannot find nm_test_var in $nlist" >&5 6207 fi 6208 else 6209 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6210 fi 6211 else 6212 echo "$progname: failed program was:" >&5 6213 cat conftest.$ac_ext >&5 6214 fi 6215 rm -rf conftest* conftst* 6216 6217 # Do not use the global_symbol_pipe unless it works. 6218 if test "$pipe_works" = yes; then 6219 break 6220 else 6221 lt_cv_sys_global_symbol_pipe= 6222 fi 6223done 6224 6225fi 6226 6227if test -z "$lt_cv_sys_global_symbol_pipe"; then 6228 lt_cv_sys_global_symbol_to_cdecl= 6229fi 6230if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6232$as_echo "failed" >&6; } 6233else 6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6235$as_echo "ok" >&6; } 6236fi 6237 6238# Response file support. 6239if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6240 nm_file_list_spec='@' 6241elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6242 nm_file_list_spec='@' 6243fi 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6272$as_echo_n "checking for sysroot... " >&6; } 6273 6274# Check whether --with-sysroot was given. 6275if test "${with_sysroot+set}" = set; then : 6276 withval=$with_sysroot; 6277else 6278 with_sysroot=no 6279fi 6280 6281 6282lt_sysroot= 6283case ${with_sysroot} in #( 6284 yes) 6285 if test "$GCC" = yes; then 6286 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6287 fi 6288 ;; #( 6289 /*) 6290 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6291 ;; #( 6292 no|'') 6293 ;; #( 6294 *) 6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6296$as_echo "${with_sysroot}" >&6; } 6297 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6298 ;; 6299esac 6300 6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6302$as_echo "${lt_sysroot:-no}" >&6; } 6303 6304 6305 6306 6307 6308# Check whether --enable-libtool-lock was given. 6309if test "${enable_libtool_lock+set}" = set; then : 6310 enableval=$enable_libtool_lock; 6311fi 6312 6313test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6314 6315# Some flags need to be propagated to the compiler or linker for good 6316# libtool support. 6317case $host in 6318ia64-*-hpux*) 6319 # Find out which ABI we are using. 6320 echo 'int i;' > conftest.$ac_ext 6321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6322 (eval $ac_compile) 2>&5 6323 ac_status=$? 6324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6325 test $ac_status = 0; }; then 6326 case `/usr/bin/file conftest.$ac_objext` in 6327 *ELF-32*) 6328 HPUX_IA64_MODE="32" 6329 ;; 6330 *ELF-64*) 6331 HPUX_IA64_MODE="64" 6332 ;; 6333 esac 6334 fi 6335 rm -rf conftest* 6336 ;; 6337*-*-irix6*) 6338 # Find out which ABI we are using. 6339 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6340 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6341 (eval $ac_compile) 2>&5 6342 ac_status=$? 6343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6344 test $ac_status = 0; }; then 6345 if test "$lt_cv_prog_gnu_ld" = yes; then 6346 case `/usr/bin/file conftest.$ac_objext` in 6347 *32-bit*) 6348 LD="${LD-ld} -melf32bsmip" 6349 ;; 6350 *N32*) 6351 LD="${LD-ld} -melf32bmipn32" 6352 ;; 6353 *64-bit*) 6354 LD="${LD-ld} -melf64bmip" 6355 ;; 6356 esac 6357 else 6358 case `/usr/bin/file conftest.$ac_objext` in 6359 *32-bit*) 6360 LD="${LD-ld} -32" 6361 ;; 6362 *N32*) 6363 LD="${LD-ld} -n32" 6364 ;; 6365 *64-bit*) 6366 LD="${LD-ld} -64" 6367 ;; 6368 esac 6369 fi 6370 fi 6371 rm -rf conftest* 6372 ;; 6373 6374x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6375s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6376 # Find out which ABI we are using. 6377 echo 'int i;' > conftest.$ac_ext 6378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6379 (eval $ac_compile) 2>&5 6380 ac_status=$? 6381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6382 test $ac_status = 0; }; then 6383 case `/usr/bin/file conftest.o` in 6384 *32-bit*) 6385 case $host in 6386 x86_64-*kfreebsd*-gnu) 6387 LD="${LD-ld} -m elf_i386_fbsd" 6388 ;; 6389 x86_64-*linux*) 6390 LD="${LD-ld} -m elf_i386" 6391 ;; 6392 ppc64-*linux*|powerpc64-*linux*) 6393 LD="${LD-ld} -m elf32ppclinux" 6394 ;; 6395 s390x-*linux*) 6396 LD="${LD-ld} -m elf_s390" 6397 ;; 6398 sparc64-*linux*) 6399 LD="${LD-ld} -m elf32_sparc" 6400 ;; 6401 esac 6402 ;; 6403 *64-bit*) 6404 case $host in 6405 x86_64-*kfreebsd*-gnu) 6406 LD="${LD-ld} -m elf_x86_64_fbsd" 6407 ;; 6408 x86_64-*linux*) 6409 LD="${LD-ld} -m elf_x86_64" 6410 ;; 6411 ppc*-*linux*|powerpc*-*linux*) 6412 LD="${LD-ld} -m elf64ppc" 6413 ;; 6414 s390*-*linux*|s390*-*tpf*) 6415 LD="${LD-ld} -m elf64_s390" 6416 ;; 6417 sparc*-*linux*) 6418 LD="${LD-ld} -m elf64_sparc" 6419 ;; 6420 esac 6421 ;; 6422 esac 6423 fi 6424 rm -rf conftest* 6425 ;; 6426 6427*-*-sco3.2v5*) 6428 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6429 SAVE_CFLAGS="$CFLAGS" 6430 CFLAGS="$CFLAGS -belf" 6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6432$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6433if ${lt_cv_cc_needs_belf+:} false; then : 6434 $as_echo_n "(cached) " >&6 6435else 6436 ac_ext=c 6437ac_cpp='$CPP $CPPFLAGS' 6438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6440ac_compiler_gnu=$ac_cv_c_compiler_gnu 6441 6442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6443/* end confdefs.h. */ 6444 6445int 6446main () 6447{ 6448 6449 ; 6450 return 0; 6451} 6452_ACEOF 6453if ac_fn_c_try_link "$LINENO"; then : 6454 lt_cv_cc_needs_belf=yes 6455else 6456 lt_cv_cc_needs_belf=no 6457fi 6458rm -f core conftest.err conftest.$ac_objext \ 6459 conftest$ac_exeext conftest.$ac_ext 6460 ac_ext=c 6461ac_cpp='$CPP $CPPFLAGS' 6462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6464ac_compiler_gnu=$ac_cv_c_compiler_gnu 6465 6466fi 6467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6468$as_echo "$lt_cv_cc_needs_belf" >&6; } 6469 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6470 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6471 CFLAGS="$SAVE_CFLAGS" 6472 fi 6473 ;; 6474sparc*-*solaris*) 6475 # Find out which ABI we are using. 6476 echo 'int i;' > conftest.$ac_ext 6477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6478 (eval $ac_compile) 2>&5 6479 ac_status=$? 6480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6481 test $ac_status = 0; }; then 6482 case `/usr/bin/file conftest.o` in 6483 *64-bit*) 6484 case $lt_cv_prog_gnu_ld in 6485 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6486 *) 6487 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6488 LD="${LD-ld} -64" 6489 fi 6490 ;; 6491 esac 6492 ;; 6493 esac 6494 fi 6495 rm -rf conftest* 6496 ;; 6497esac 6498 6499need_locks="$enable_libtool_lock" 6500 6501if test -n "$ac_tool_prefix"; then 6502 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6503set dummy ${ac_tool_prefix}mt; ac_word=$2 6504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6505$as_echo_n "checking for $ac_word... " >&6; } 6506if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6507 $as_echo_n "(cached) " >&6 6508else 6509 if test -n "$MANIFEST_TOOL"; then 6510 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6511else 6512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6513for as_dir in $PATH 6514do 6515 IFS=$as_save_IFS 6516 test -z "$as_dir" && as_dir=. 6517 for ac_exec_ext in '' $ac_executable_extensions; do 6518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6519 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6521 break 2 6522 fi 6523done 6524 done 6525IFS=$as_save_IFS 6526 6527fi 6528fi 6529MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6530if test -n "$MANIFEST_TOOL"; then 6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6532$as_echo "$MANIFEST_TOOL" >&6; } 6533else 6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6535$as_echo "no" >&6; } 6536fi 6537 6538 6539fi 6540if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6541 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6542 # Extract the first word of "mt", so it can be a program name with args. 6543set dummy mt; ac_word=$2 6544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6545$as_echo_n "checking for $ac_word... " >&6; } 6546if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6547 $as_echo_n "(cached) " >&6 6548else 6549 if test -n "$ac_ct_MANIFEST_TOOL"; then 6550 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6551else 6552as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6553for as_dir in $PATH 6554do 6555 IFS=$as_save_IFS 6556 test -z "$as_dir" && as_dir=. 6557 for ac_exec_ext in '' $ac_executable_extensions; do 6558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6559 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6561 break 2 6562 fi 6563done 6564 done 6565IFS=$as_save_IFS 6566 6567fi 6568fi 6569ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6570if test -n "$ac_ct_MANIFEST_TOOL"; then 6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6572$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6573else 6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6575$as_echo "no" >&6; } 6576fi 6577 6578 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6579 MANIFEST_TOOL=":" 6580 else 6581 case $cross_compiling:$ac_tool_warned in 6582yes:) 6583{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6584$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6585ac_tool_warned=yes ;; 6586esac 6587 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6588 fi 6589else 6590 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6591fi 6592 6593test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6595$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6596if ${lt_cv_path_mainfest_tool+:} false; then : 6597 $as_echo_n "(cached) " >&6 6598else 6599 lt_cv_path_mainfest_tool=no 6600 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6601 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6602 cat conftest.err >&5 6603 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6604 lt_cv_path_mainfest_tool=yes 6605 fi 6606 rm -f conftest* 6607fi 6608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6609$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6610if test "x$lt_cv_path_mainfest_tool" != xyes; then 6611 MANIFEST_TOOL=: 6612fi 6613 6614 6615 6616 6617 6618 6619 case $host_os in 6620 rhapsody* | darwin*) 6621 if test -n "$ac_tool_prefix"; then 6622 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6623set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6625$as_echo_n "checking for $ac_word... " >&6; } 6626if ${ac_cv_prog_DSYMUTIL+:} false; then : 6627 $as_echo_n "(cached) " >&6 6628else 6629 if test -n "$DSYMUTIL"; then 6630 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6631else 6632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6633for as_dir in $PATH 6634do 6635 IFS=$as_save_IFS 6636 test -z "$as_dir" && as_dir=. 6637 for ac_exec_ext in '' $ac_executable_extensions; do 6638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6639 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6641 break 2 6642 fi 6643done 6644 done 6645IFS=$as_save_IFS 6646 6647fi 6648fi 6649DSYMUTIL=$ac_cv_prog_DSYMUTIL 6650if test -n "$DSYMUTIL"; then 6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6652$as_echo "$DSYMUTIL" >&6; } 6653else 6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6655$as_echo "no" >&6; } 6656fi 6657 6658 6659fi 6660if test -z "$ac_cv_prog_DSYMUTIL"; then 6661 ac_ct_DSYMUTIL=$DSYMUTIL 6662 # Extract the first word of "dsymutil", so it can be a program name with args. 6663set dummy dsymutil; ac_word=$2 6664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6665$as_echo_n "checking for $ac_word... " >&6; } 6666if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6667 $as_echo_n "(cached) " >&6 6668else 6669 if test -n "$ac_ct_DSYMUTIL"; then 6670 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6671else 6672as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6673for as_dir in $PATH 6674do 6675 IFS=$as_save_IFS 6676 test -z "$as_dir" && as_dir=. 6677 for ac_exec_ext in '' $ac_executable_extensions; do 6678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6679 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6681 break 2 6682 fi 6683done 6684 done 6685IFS=$as_save_IFS 6686 6687fi 6688fi 6689ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6690if test -n "$ac_ct_DSYMUTIL"; then 6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6692$as_echo "$ac_ct_DSYMUTIL" >&6; } 6693else 6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6695$as_echo "no" >&6; } 6696fi 6697 6698 if test "x$ac_ct_DSYMUTIL" = x; then 6699 DSYMUTIL=":" 6700 else 6701 case $cross_compiling:$ac_tool_warned in 6702yes:) 6703{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6704$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6705ac_tool_warned=yes ;; 6706esac 6707 DSYMUTIL=$ac_ct_DSYMUTIL 6708 fi 6709else 6710 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6711fi 6712 6713 if test -n "$ac_tool_prefix"; then 6714 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6715set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6717$as_echo_n "checking for $ac_word... " >&6; } 6718if ${ac_cv_prog_NMEDIT+:} false; then : 6719 $as_echo_n "(cached) " >&6 6720else 6721 if test -n "$NMEDIT"; then 6722 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6723else 6724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6725for as_dir in $PATH 6726do 6727 IFS=$as_save_IFS 6728 test -z "$as_dir" && as_dir=. 6729 for ac_exec_ext in '' $ac_executable_extensions; do 6730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6731 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6733 break 2 6734 fi 6735done 6736 done 6737IFS=$as_save_IFS 6738 6739fi 6740fi 6741NMEDIT=$ac_cv_prog_NMEDIT 6742if test -n "$NMEDIT"; then 6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6744$as_echo "$NMEDIT" >&6; } 6745else 6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6747$as_echo "no" >&6; } 6748fi 6749 6750 6751fi 6752if test -z "$ac_cv_prog_NMEDIT"; then 6753 ac_ct_NMEDIT=$NMEDIT 6754 # Extract the first word of "nmedit", so it can be a program name with args. 6755set dummy nmedit; ac_word=$2 6756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6757$as_echo_n "checking for $ac_word... " >&6; } 6758if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6759 $as_echo_n "(cached) " >&6 6760else 6761 if test -n "$ac_ct_NMEDIT"; then 6762 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6763else 6764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6765for as_dir in $PATH 6766do 6767 IFS=$as_save_IFS 6768 test -z "$as_dir" && as_dir=. 6769 for ac_exec_ext in '' $ac_executable_extensions; do 6770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6771 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6773 break 2 6774 fi 6775done 6776 done 6777IFS=$as_save_IFS 6778 6779fi 6780fi 6781ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6782if test -n "$ac_ct_NMEDIT"; then 6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6784$as_echo "$ac_ct_NMEDIT" >&6; } 6785else 6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6787$as_echo "no" >&6; } 6788fi 6789 6790 if test "x$ac_ct_NMEDIT" = x; then 6791 NMEDIT=":" 6792 else 6793 case $cross_compiling:$ac_tool_warned in 6794yes:) 6795{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6796$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6797ac_tool_warned=yes ;; 6798esac 6799 NMEDIT=$ac_ct_NMEDIT 6800 fi 6801else 6802 NMEDIT="$ac_cv_prog_NMEDIT" 6803fi 6804 6805 if test -n "$ac_tool_prefix"; then 6806 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6807set dummy ${ac_tool_prefix}lipo; ac_word=$2 6808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6809$as_echo_n "checking for $ac_word... " >&6; } 6810if ${ac_cv_prog_LIPO+:} false; then : 6811 $as_echo_n "(cached) " >&6 6812else 6813 if test -n "$LIPO"; then 6814 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6815else 6816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6817for as_dir in $PATH 6818do 6819 IFS=$as_save_IFS 6820 test -z "$as_dir" && as_dir=. 6821 for ac_exec_ext in '' $ac_executable_extensions; do 6822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6823 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6825 break 2 6826 fi 6827done 6828 done 6829IFS=$as_save_IFS 6830 6831fi 6832fi 6833LIPO=$ac_cv_prog_LIPO 6834if test -n "$LIPO"; then 6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6836$as_echo "$LIPO" >&6; } 6837else 6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6839$as_echo "no" >&6; } 6840fi 6841 6842 6843fi 6844if test -z "$ac_cv_prog_LIPO"; then 6845 ac_ct_LIPO=$LIPO 6846 # Extract the first word of "lipo", so it can be a program name with args. 6847set dummy lipo; ac_word=$2 6848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6849$as_echo_n "checking for $ac_word... " >&6; } 6850if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6851 $as_echo_n "(cached) " >&6 6852else 6853 if test -n "$ac_ct_LIPO"; then 6854 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6855else 6856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6857for as_dir in $PATH 6858do 6859 IFS=$as_save_IFS 6860 test -z "$as_dir" && as_dir=. 6861 for ac_exec_ext in '' $ac_executable_extensions; do 6862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6863 ac_cv_prog_ac_ct_LIPO="lipo" 6864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6865 break 2 6866 fi 6867done 6868 done 6869IFS=$as_save_IFS 6870 6871fi 6872fi 6873ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6874if test -n "$ac_ct_LIPO"; then 6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6876$as_echo "$ac_ct_LIPO" >&6; } 6877else 6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6879$as_echo "no" >&6; } 6880fi 6881 6882 if test "x$ac_ct_LIPO" = x; then 6883 LIPO=":" 6884 else 6885 case $cross_compiling:$ac_tool_warned in 6886yes:) 6887{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6888$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6889ac_tool_warned=yes ;; 6890esac 6891 LIPO=$ac_ct_LIPO 6892 fi 6893else 6894 LIPO="$ac_cv_prog_LIPO" 6895fi 6896 6897 if test -n "$ac_tool_prefix"; then 6898 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6899set dummy ${ac_tool_prefix}otool; ac_word=$2 6900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6901$as_echo_n "checking for $ac_word... " >&6; } 6902if ${ac_cv_prog_OTOOL+:} false; then : 6903 $as_echo_n "(cached) " >&6 6904else 6905 if test -n "$OTOOL"; then 6906 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6907else 6908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6909for as_dir in $PATH 6910do 6911 IFS=$as_save_IFS 6912 test -z "$as_dir" && as_dir=. 6913 for ac_exec_ext in '' $ac_executable_extensions; do 6914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6915 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6917 break 2 6918 fi 6919done 6920 done 6921IFS=$as_save_IFS 6922 6923fi 6924fi 6925OTOOL=$ac_cv_prog_OTOOL 6926if test -n "$OTOOL"; then 6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6928$as_echo "$OTOOL" >&6; } 6929else 6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6931$as_echo "no" >&6; } 6932fi 6933 6934 6935fi 6936if test -z "$ac_cv_prog_OTOOL"; then 6937 ac_ct_OTOOL=$OTOOL 6938 # Extract the first word of "otool", so it can be a program name with args. 6939set dummy otool; ac_word=$2 6940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6941$as_echo_n "checking for $ac_word... " >&6; } 6942if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6943 $as_echo_n "(cached) " >&6 6944else 6945 if test -n "$ac_ct_OTOOL"; then 6946 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6947else 6948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6949for as_dir in $PATH 6950do 6951 IFS=$as_save_IFS 6952 test -z "$as_dir" && as_dir=. 6953 for ac_exec_ext in '' $ac_executable_extensions; do 6954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6955 ac_cv_prog_ac_ct_OTOOL="otool" 6956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6957 break 2 6958 fi 6959done 6960 done 6961IFS=$as_save_IFS 6962 6963fi 6964fi 6965ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6966if test -n "$ac_ct_OTOOL"; then 6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6968$as_echo "$ac_ct_OTOOL" >&6; } 6969else 6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6971$as_echo "no" >&6; } 6972fi 6973 6974 if test "x$ac_ct_OTOOL" = x; then 6975 OTOOL=":" 6976 else 6977 case $cross_compiling:$ac_tool_warned in 6978yes:) 6979{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6980$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6981ac_tool_warned=yes ;; 6982esac 6983 OTOOL=$ac_ct_OTOOL 6984 fi 6985else 6986 OTOOL="$ac_cv_prog_OTOOL" 6987fi 6988 6989 if test -n "$ac_tool_prefix"; then 6990 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6991set dummy ${ac_tool_prefix}otool64; ac_word=$2 6992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6993$as_echo_n "checking for $ac_word... " >&6; } 6994if ${ac_cv_prog_OTOOL64+:} false; then : 6995 $as_echo_n "(cached) " >&6 6996else 6997 if test -n "$OTOOL64"; then 6998 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6999else 7000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7001for as_dir in $PATH 7002do 7003 IFS=$as_save_IFS 7004 test -z "$as_dir" && as_dir=. 7005 for ac_exec_ext in '' $ac_executable_extensions; do 7006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7007 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7009 break 2 7010 fi 7011done 7012 done 7013IFS=$as_save_IFS 7014 7015fi 7016fi 7017OTOOL64=$ac_cv_prog_OTOOL64 7018if test -n "$OTOOL64"; then 7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7020$as_echo "$OTOOL64" >&6; } 7021else 7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7023$as_echo "no" >&6; } 7024fi 7025 7026 7027fi 7028if test -z "$ac_cv_prog_OTOOL64"; then 7029 ac_ct_OTOOL64=$OTOOL64 7030 # Extract the first word of "otool64", so it can be a program name with args. 7031set dummy otool64; ac_word=$2 7032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7033$as_echo_n "checking for $ac_word... " >&6; } 7034if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7035 $as_echo_n "(cached) " >&6 7036else 7037 if test -n "$ac_ct_OTOOL64"; then 7038 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7039else 7040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7041for as_dir in $PATH 7042do 7043 IFS=$as_save_IFS 7044 test -z "$as_dir" && as_dir=. 7045 for ac_exec_ext in '' $ac_executable_extensions; do 7046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7047 ac_cv_prog_ac_ct_OTOOL64="otool64" 7048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7049 break 2 7050 fi 7051done 7052 done 7053IFS=$as_save_IFS 7054 7055fi 7056fi 7057ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7058if test -n "$ac_ct_OTOOL64"; then 7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7060$as_echo "$ac_ct_OTOOL64" >&6; } 7061else 7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7063$as_echo "no" >&6; } 7064fi 7065 7066 if test "x$ac_ct_OTOOL64" = x; then 7067 OTOOL64=":" 7068 else 7069 case $cross_compiling:$ac_tool_warned in 7070yes:) 7071{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7072$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7073ac_tool_warned=yes ;; 7074esac 7075 OTOOL64=$ac_ct_OTOOL64 7076 fi 7077else 7078 OTOOL64="$ac_cv_prog_OTOOL64" 7079fi 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7108$as_echo_n "checking for -single_module linker flag... " >&6; } 7109if ${lt_cv_apple_cc_single_mod+:} false; then : 7110 $as_echo_n "(cached) " >&6 7111else 7112 lt_cv_apple_cc_single_mod=no 7113 if test -z "${LT_MULTI_MODULE}"; then 7114 # By default we will add the -single_module flag. You can override 7115 # by either setting the environment variable LT_MULTI_MODULE 7116 # non-empty at configure time, or by adding -multi_module to the 7117 # link flags. 7118 rm -rf libconftest.dylib* 7119 echo "int foo(void){return 1;}" > conftest.c 7120 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7121-dynamiclib -Wl,-single_module conftest.c" >&5 7122 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7123 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7124 _lt_result=$? 7125 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 7126 lt_cv_apple_cc_single_mod=yes 7127 else 7128 cat conftest.err >&5 7129 fi 7130 rm -rf libconftest.dylib* 7131 rm -f conftest.* 7132 fi 7133fi 7134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7135$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7137$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7138if ${lt_cv_ld_exported_symbols_list+:} false; then : 7139 $as_echo_n "(cached) " >&6 7140else 7141 lt_cv_ld_exported_symbols_list=no 7142 save_LDFLAGS=$LDFLAGS 7143 echo "_main" > conftest.sym 7144 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7146/* end confdefs.h. */ 7147 7148int 7149main () 7150{ 7151 7152 ; 7153 return 0; 7154} 7155_ACEOF 7156if ac_fn_c_try_link "$LINENO"; then : 7157 lt_cv_ld_exported_symbols_list=yes 7158else 7159 lt_cv_ld_exported_symbols_list=no 7160fi 7161rm -f core conftest.err conftest.$ac_objext \ 7162 conftest$ac_exeext conftest.$ac_ext 7163 LDFLAGS="$save_LDFLAGS" 7164 7165fi 7166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7167$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7169$as_echo_n "checking for -force_load linker flag... " >&6; } 7170if ${lt_cv_ld_force_load+:} false; then : 7171 $as_echo_n "(cached) " >&6 7172else 7173 lt_cv_ld_force_load=no 7174 cat > conftest.c << _LT_EOF 7175int forced_loaded() { return 2;} 7176_LT_EOF 7177 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7178 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7179 echo "$AR cru libconftest.a conftest.o" >&5 7180 $AR cru libconftest.a conftest.o 2>&5 7181 echo "$RANLIB libconftest.a" >&5 7182 $RANLIB libconftest.a 2>&5 7183 cat > conftest.c << _LT_EOF 7184int main() { return 0;} 7185_LT_EOF 7186 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7187 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7188 _lt_result=$? 7189 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then 7190 lt_cv_ld_force_load=yes 7191 else 7192 cat conftest.err >&5 7193 fi 7194 rm -f conftest.err libconftest.a conftest conftest.c 7195 rm -rf conftest.dSYM 7196 7197fi 7198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7199$as_echo "$lt_cv_ld_force_load" >&6; } 7200 case $host_os in 7201 rhapsody* | darwin1.[012]) 7202 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7203 darwin1.*) 7204 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7205 darwin*) # darwin 5.x on 7206 # if running on 10.5 or later, the deployment target defaults 7207 # to the OS version, if on x86, and 10.4, the deployment 7208 # target defaults to 10.4. Don't you love it? 7209 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7210 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7211 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7212 10.[012]*) 7213 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7214 10.*) 7215 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7216 esac 7217 ;; 7218 esac 7219 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7220 _lt_dar_single_mod='$single_module' 7221 fi 7222 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7223 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7224 else 7225 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7226 fi 7227 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7228 _lt_dsymutil='~$DSYMUTIL $lib || :' 7229 else 7230 _lt_dsymutil= 7231 fi 7232 ;; 7233 esac 7234 7235ac_ext=c 7236ac_cpp='$CPP $CPPFLAGS' 7237ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7238ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7239ac_compiler_gnu=$ac_cv_c_compiler_gnu 7240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7241$as_echo_n "checking how to run the C preprocessor... " >&6; } 7242# On Suns, sometimes $CPP names a directory. 7243if test -n "$CPP" && test -d "$CPP"; then 7244 CPP= 7245fi 7246if test -z "$CPP"; then 7247 if ${ac_cv_prog_CPP+:} false; then : 7248 $as_echo_n "(cached) " >&6 7249else 7250 # Double quotes because CPP needs to be expanded 7251 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7252 do 7253 ac_preproc_ok=false 7254for ac_c_preproc_warn_flag in '' yes 7255do 7256 # Use a header file that comes with gcc, so configuring glibc 7257 # with a fresh cross-compiler works. 7258 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7259 # <limits.h> exists even on freestanding compilers. 7260 # On the NeXT, cc -E runs the code through the compiler's parser, 7261 # not just through cpp. "Syntax error" is here to catch this case. 7262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7263/* end confdefs.h. */ 7264#ifdef __STDC__ 7265# include <limits.h> 7266#else 7267# include <assert.h> 7268#endif 7269 Syntax error 7270_ACEOF 7271if ac_fn_c_try_cpp "$LINENO"; then : 7272 7273else 7274 # Broken: fails on valid input. 7275continue 7276fi 7277rm -f conftest.err conftest.i conftest.$ac_ext 7278 7279 # OK, works on sane cases. Now check whether nonexistent headers 7280 # can be detected and how. 7281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7282/* end confdefs.h. */ 7283#include <ac_nonexistent.h> 7284_ACEOF 7285if ac_fn_c_try_cpp "$LINENO"; then : 7286 # Broken: success on invalid input. 7287continue 7288else 7289 # Passes both tests. 7290ac_preproc_ok=: 7291break 7292fi 7293rm -f conftest.err conftest.i conftest.$ac_ext 7294 7295done 7296# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7297rm -f conftest.i conftest.err conftest.$ac_ext 7298if $ac_preproc_ok; then : 7299 break 7300fi 7301 7302 done 7303 ac_cv_prog_CPP=$CPP 7304 7305fi 7306 CPP=$ac_cv_prog_CPP 7307else 7308 ac_cv_prog_CPP=$CPP 7309fi 7310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7311$as_echo "$CPP" >&6; } 7312ac_preproc_ok=false 7313for ac_c_preproc_warn_flag in '' yes 7314do 7315 # Use a header file that comes with gcc, so configuring glibc 7316 # with a fresh cross-compiler works. 7317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7318 # <limits.h> exists even on freestanding compilers. 7319 # On the NeXT, cc -E runs the code through the compiler's parser, 7320 # not just through cpp. "Syntax error" is here to catch this case. 7321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7322/* end confdefs.h. */ 7323#ifdef __STDC__ 7324# include <limits.h> 7325#else 7326# include <assert.h> 7327#endif 7328 Syntax error 7329_ACEOF 7330if ac_fn_c_try_cpp "$LINENO"; then : 7331 7332else 7333 # Broken: fails on valid input. 7334continue 7335fi 7336rm -f conftest.err conftest.i conftest.$ac_ext 7337 7338 # OK, works on sane cases. Now check whether nonexistent headers 7339 # can be detected and how. 7340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7341/* end confdefs.h. */ 7342#include <ac_nonexistent.h> 7343_ACEOF 7344if ac_fn_c_try_cpp "$LINENO"; then : 7345 # Broken: success on invalid input. 7346continue 7347else 7348 # Passes both tests. 7349ac_preproc_ok=: 7350break 7351fi 7352rm -f conftest.err conftest.i conftest.$ac_ext 7353 7354done 7355# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7356rm -f conftest.i conftest.err conftest.$ac_ext 7357if $ac_preproc_ok; then : 7358 7359else 7360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7361$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7362as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7363See \`config.log' for more details" "$LINENO" 5; } 7364fi 7365 7366ac_ext=c 7367ac_cpp='$CPP $CPPFLAGS' 7368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7370ac_compiler_gnu=$ac_cv_c_compiler_gnu 7371 7372 7373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7374$as_echo_n "checking for ANSI C header files... " >&6; } 7375if ${ac_cv_header_stdc+:} false; then : 7376 $as_echo_n "(cached) " >&6 7377else 7378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7379/* end confdefs.h. */ 7380#include <stdlib.h> 7381#include <stdarg.h> 7382#include <string.h> 7383#include <float.h> 7384 7385int 7386main () 7387{ 7388 7389 ; 7390 return 0; 7391} 7392_ACEOF 7393if ac_fn_c_try_compile "$LINENO"; then : 7394 ac_cv_header_stdc=yes 7395else 7396 ac_cv_header_stdc=no 7397fi 7398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7399 7400if test $ac_cv_header_stdc = yes; then 7401 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7403/* end confdefs.h. */ 7404#include <string.h> 7405 7406_ACEOF 7407if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7408 $EGREP "memchr" >/dev/null 2>&1; then : 7409 7410else 7411 ac_cv_header_stdc=no 7412fi 7413rm -f conftest* 7414 7415fi 7416 7417if test $ac_cv_header_stdc = yes; then 7418 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7420/* end confdefs.h. */ 7421#include <stdlib.h> 7422 7423_ACEOF 7424if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7425 $EGREP "free" >/dev/null 2>&1; then : 7426 7427else 7428 ac_cv_header_stdc=no 7429fi 7430rm -f conftest* 7431 7432fi 7433 7434if test $ac_cv_header_stdc = yes; then 7435 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7436 if test "$cross_compiling" = yes; then : 7437 : 7438else 7439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7440/* end confdefs.h. */ 7441#include <ctype.h> 7442#include <stdlib.h> 7443#if ((' ' & 0x0FF) == 0x020) 7444# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7445# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7446#else 7447# define ISLOWER(c) \ 7448 (('a' <= (c) && (c) <= 'i') \ 7449 || ('j' <= (c) && (c) <= 'r') \ 7450 || ('s' <= (c) && (c) <= 'z')) 7451# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7452#endif 7453 7454#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7455int 7456main () 7457{ 7458 int i; 7459 for (i = 0; i < 256; i++) 7460 if (XOR (islower (i), ISLOWER (i)) 7461 || toupper (i) != TOUPPER (i)) 7462 return 2; 7463 return 0; 7464} 7465_ACEOF 7466if ac_fn_c_try_run "$LINENO"; then : 7467 7468else 7469 ac_cv_header_stdc=no 7470fi 7471rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7472 conftest.$ac_objext conftest.beam conftest.$ac_ext 7473fi 7474 7475fi 7476fi 7477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7478$as_echo "$ac_cv_header_stdc" >&6; } 7479if test $ac_cv_header_stdc = yes; then 7480 7481$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7482 7483fi 7484 7485# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7486for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7487 inttypes.h stdint.h unistd.h 7488do : 7489 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7490ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7491" 7492if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7493 cat >>confdefs.h <<_ACEOF 7494#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7495_ACEOF 7496 7497fi 7498 7499done 7500 7501 7502for ac_header in dlfcn.h 7503do : 7504 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7505" 7506if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7507 cat >>confdefs.h <<_ACEOF 7508#define HAVE_DLFCN_H 1 7509_ACEOF 7510 7511fi 7512 7513done 7514 7515 7516 7517 7518 7519# Set options 7520# Check whether --enable-static was given. 7521if test "${enable_static+set}" = set; then : 7522 enableval=$enable_static; p=${PACKAGE-default} 7523 case $enableval in 7524 yes) enable_static=yes ;; 7525 no) enable_static=no ;; 7526 *) 7527 enable_static=no 7528 # Look at the argument we got. We use all the common list separators. 7529 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7530 for pkg in $enableval; do 7531 IFS="$lt_save_ifs" 7532 if test "X$pkg" = "X$p"; then 7533 enable_static=yes 7534 fi 7535 done 7536 IFS="$lt_save_ifs" 7537 ;; 7538 esac 7539else 7540 enable_static=no 7541fi 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 enable_dlopen=no 7553 7554 7555 enable_win32_dll=no 7556 7557 7558 # Check whether --enable-shared was given. 7559if test "${enable_shared+set}" = set; then : 7560 enableval=$enable_shared; p=${PACKAGE-default} 7561 case $enableval in 7562 yes) enable_shared=yes ;; 7563 no) enable_shared=no ;; 7564 *) 7565 enable_shared=no 7566 # Look at the argument we got. We use all the common list separators. 7567 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7568 for pkg in $enableval; do 7569 IFS="$lt_save_ifs" 7570 if test "X$pkg" = "X$p"; then 7571 enable_shared=yes 7572 fi 7573 done 7574 IFS="$lt_save_ifs" 7575 ;; 7576 esac 7577else 7578 enable_shared=yes 7579fi 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591# Check whether --with-pic was given. 7592if test "${with_pic+set}" = set; then : 7593 withval=$with_pic; pic_mode="$withval" 7594else 7595 pic_mode=default 7596fi 7597 7598 7599test -z "$pic_mode" && pic_mode=default 7600 7601 7602 7603 7604 7605 7606 7607 # Check whether --enable-fast-install was given. 7608if test "${enable_fast_install+set}" = set; then : 7609 enableval=$enable_fast_install; p=${PACKAGE-default} 7610 case $enableval in 7611 yes) enable_fast_install=yes ;; 7612 no) enable_fast_install=no ;; 7613 *) 7614 enable_fast_install=no 7615 # Look at the argument we got. We use all the common list separators. 7616 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7617 for pkg in $enableval; do 7618 IFS="$lt_save_ifs" 7619 if test "X$pkg" = "X$p"; then 7620 enable_fast_install=yes 7621 fi 7622 done 7623 IFS="$lt_save_ifs" 7624 ;; 7625 esac 7626else 7627 enable_fast_install=yes 7628fi 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640# This can be used to rebuild libtool when needed 7641LIBTOOL_DEPS="$ltmain" 7642 7643# Always use our own libtool. 7644LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671test -z "$LN_S" && LN_S="ln -s" 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686if test -n "${ZSH_VERSION+set}" ; then 7687 setopt NO_GLOB_SUBST 7688fi 7689 7690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7691$as_echo_n "checking for objdir... " >&6; } 7692if ${lt_cv_objdir+:} false; then : 7693 $as_echo_n "(cached) " >&6 7694else 7695 rm -f .libs 2>/dev/null 7696mkdir .libs 2>/dev/null 7697if test -d .libs; then 7698 lt_cv_objdir=.libs 7699else 7700 # MS-DOS does not allow filenames that begin with a dot. 7701 lt_cv_objdir=_libs 7702fi 7703rmdir .libs 2>/dev/null 7704fi 7705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7706$as_echo "$lt_cv_objdir" >&6; } 7707objdir=$lt_cv_objdir 7708 7709 7710 7711 7712 7713cat >>confdefs.h <<_ACEOF 7714#define LT_OBJDIR "$lt_cv_objdir/" 7715_ACEOF 7716 7717 7718 7719 7720case $host_os in 7721aix3*) 7722 # AIX sometimes has problems with the GCC collect2 program. For some 7723 # reason, if we set the COLLECT_NAMES environment variable, the problems 7724 # vanish in a puff of smoke. 7725 if test "X${COLLECT_NAMES+set}" != Xset; then 7726 COLLECT_NAMES= 7727 export COLLECT_NAMES 7728 fi 7729 ;; 7730esac 7731 7732# Global variables: 7733ofile=libtool 7734can_build_shared=yes 7735 7736# All known linkers require a `.a' archive for static linking (except MSVC, 7737# which needs '.lib'). 7738libext=a 7739 7740with_gnu_ld="$lt_cv_prog_gnu_ld" 7741 7742old_CC="$CC" 7743old_CFLAGS="$CFLAGS" 7744 7745# Set sane defaults for various variables 7746test -z "$CC" && CC=cc 7747test -z "$LTCC" && LTCC=$CC 7748test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7749test -z "$LD" && LD=ld 7750test -z "$ac_objext" && ac_objext=o 7751 7752for cc_temp in $compiler""; do 7753 case $cc_temp in 7754 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7755 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7756 \-*) ;; 7757 *) break;; 7758 esac 7759done 7760cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7761 7762 7763# Only perform the check for file, if the check method requires it 7764test -z "$MAGIC_CMD" && MAGIC_CMD=file 7765case $deplibs_check_method in 7766file_magic*) 7767 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7769$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7770if ${lt_cv_path_MAGIC_CMD+:} false; then : 7771 $as_echo_n "(cached) " >&6 7772else 7773 case $MAGIC_CMD in 7774[\\/*] | ?:[\\/]*) 7775 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7776 ;; 7777*) 7778 lt_save_MAGIC_CMD="$MAGIC_CMD" 7779 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7780 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7781 for ac_dir in $ac_dummy; do 7782 IFS="$lt_save_ifs" 7783 test -z "$ac_dir" && ac_dir=. 7784 if test -f $ac_dir/${ac_tool_prefix}file; then 7785 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7786 if test -n "$file_magic_test_file"; then 7787 case $deplibs_check_method in 7788 "file_magic "*) 7789 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7790 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7791 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7792 $EGREP "$file_magic_regex" > /dev/null; then 7793 : 7794 else 7795 cat <<_LT_EOF 1>&2 7796 7797*** Warning: the command libtool uses to detect shared libraries, 7798*** $file_magic_cmd, produces output that libtool cannot recognize. 7799*** The result is that libtool may fail to recognize shared libraries 7800*** as such. This will affect the creation of libtool libraries that 7801*** depend on shared libraries, but programs linked with such libtool 7802*** libraries will work regardless of this problem. Nevertheless, you 7803*** may want to report the problem to your system manager and/or to 7804*** bug-libtool@gnu.org 7805 7806_LT_EOF 7807 fi ;; 7808 esac 7809 fi 7810 break 7811 fi 7812 done 7813 IFS="$lt_save_ifs" 7814 MAGIC_CMD="$lt_save_MAGIC_CMD" 7815 ;; 7816esac 7817fi 7818 7819MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7820if test -n "$MAGIC_CMD"; then 7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7822$as_echo "$MAGIC_CMD" >&6; } 7823else 7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7825$as_echo "no" >&6; } 7826fi 7827 7828 7829 7830 7831 7832if test -z "$lt_cv_path_MAGIC_CMD"; then 7833 if test -n "$ac_tool_prefix"; then 7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7835$as_echo_n "checking for file... " >&6; } 7836if ${lt_cv_path_MAGIC_CMD+:} false; then : 7837 $as_echo_n "(cached) " >&6 7838else 7839 case $MAGIC_CMD in 7840[\\/*] | ?:[\\/]*) 7841 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7842 ;; 7843*) 7844 lt_save_MAGIC_CMD="$MAGIC_CMD" 7845 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7846 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7847 for ac_dir in $ac_dummy; do 7848 IFS="$lt_save_ifs" 7849 test -z "$ac_dir" && ac_dir=. 7850 if test -f $ac_dir/file; then 7851 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7852 if test -n "$file_magic_test_file"; then 7853 case $deplibs_check_method in 7854 "file_magic "*) 7855 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7856 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7857 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7858 $EGREP "$file_magic_regex" > /dev/null; then 7859 : 7860 else 7861 cat <<_LT_EOF 1>&2 7862 7863*** Warning: the command libtool uses to detect shared libraries, 7864*** $file_magic_cmd, produces output that libtool cannot recognize. 7865*** The result is that libtool may fail to recognize shared libraries 7866*** as such. This will affect the creation of libtool libraries that 7867*** depend on shared libraries, but programs linked with such libtool 7868*** libraries will work regardless of this problem. Nevertheless, you 7869*** may want to report the problem to your system manager and/or to 7870*** bug-libtool@gnu.org 7871 7872_LT_EOF 7873 fi ;; 7874 esac 7875 fi 7876 break 7877 fi 7878 done 7879 IFS="$lt_save_ifs" 7880 MAGIC_CMD="$lt_save_MAGIC_CMD" 7881 ;; 7882esac 7883fi 7884 7885MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7886if test -n "$MAGIC_CMD"; then 7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7888$as_echo "$MAGIC_CMD" >&6; } 7889else 7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7891$as_echo "no" >&6; } 7892fi 7893 7894 7895 else 7896 MAGIC_CMD=: 7897 fi 7898fi 7899 7900 fi 7901 ;; 7902esac 7903 7904# Use C for the default configuration in the libtool script 7905 7906lt_save_CC="$CC" 7907ac_ext=c 7908ac_cpp='$CPP $CPPFLAGS' 7909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7911ac_compiler_gnu=$ac_cv_c_compiler_gnu 7912 7913 7914# Source file extension for C test sources. 7915ac_ext=c 7916 7917# Object file extension for compiled C test sources. 7918objext=o 7919objext=$objext 7920 7921# Code to be used in simple compile tests 7922lt_simple_compile_test_code="int some_variable = 0;" 7923 7924# Code to be used in simple link tests 7925lt_simple_link_test_code='int main(){return(0);}' 7926 7927 7928 7929 7930 7931 7932 7933# If no C compiler was specified, use CC. 7934LTCC=${LTCC-"$CC"} 7935 7936# If no C compiler flags were specified, use CFLAGS. 7937LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7938 7939# Allow CC to be a program name with arguments. 7940compiler=$CC 7941 7942# Save the default compiler, since it gets overwritten when the other 7943# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7944compiler_DEFAULT=$CC 7945 7946# save warnings/boilerplate of simple test code 7947ac_outfile=conftest.$ac_objext 7948echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7949eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7950_lt_compiler_boilerplate=`cat conftest.err` 7951$RM conftest* 7952 7953ac_outfile=conftest.$ac_objext 7954echo "$lt_simple_link_test_code" >conftest.$ac_ext 7955eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7956_lt_linker_boilerplate=`cat conftest.err` 7957$RM -r conftest* 7958 7959 7960## CAVEAT EMPTOR: 7961## There is no encapsulation within the following macros, do not change 7962## the running order or otherwise move them around unless you know exactly 7963## what you are doing... 7964if test -n "$compiler"; then 7965 7966lt_prog_compiler_no_builtin_flag= 7967 7968if test "$GCC" = yes; then 7969 case $cc_basename in 7970 nvcc*) 7971 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7972 *) 7973 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7974 esac 7975 7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7977$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7978if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7979 $as_echo_n "(cached) " >&6 7980else 7981 lt_cv_prog_compiler_rtti_exceptions=no 7982 ac_outfile=conftest.$ac_objext 7983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7984 lt_compiler_flag="-fno-rtti -fno-exceptions" 7985 # Insert the option either (1) after the last *FLAGS variable, or 7986 # (2) before a word containing "conftest.", or (3) at the end. 7987 # Note that $ac_compile itself does not contain backslashes and begins 7988 # with a dollar sign (not a hyphen), so the echo should work correctly. 7989 # The option is referenced via a variable to avoid confusing sed. 7990 lt_compile=`echo "$ac_compile" | $SED \ 7991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7993 -e 's:$: $lt_compiler_flag:'` 7994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7995 (eval "$lt_compile" 2>conftest.err) 7996 ac_status=$? 7997 cat conftest.err >&5 7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7999 if (exit $ac_status) && test -s "$ac_outfile"; then 8000 # The compiler can only warn and ignore the option if not recognized 8001 # So say no if there are warnings other than the usual output. 8002 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8003 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8004 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8005 lt_cv_prog_compiler_rtti_exceptions=yes 8006 fi 8007 fi 8008 $RM conftest* 8009 8010fi 8011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8012$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8013 8014if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8015 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8016else 8017 : 8018fi 8019 8020fi 8021 8022 8023 8024 8025 8026 8027 lt_prog_compiler_wl= 8028lt_prog_compiler_pic= 8029lt_prog_compiler_static= 8030 8031 8032 if test "$GCC" = yes; then 8033 lt_prog_compiler_wl='-Wl,' 8034 lt_prog_compiler_static='-static' 8035 8036 case $host_os in 8037 aix*) 8038 # All AIX code is PIC. 8039 if test "$host_cpu" = ia64; then 8040 # AIX 5 now supports IA64 processor 8041 lt_prog_compiler_static='-Bstatic' 8042 fi 8043 ;; 8044 8045 amigaos*) 8046 case $host_cpu in 8047 powerpc) 8048 # see comment about AmigaOS4 .so support 8049 lt_prog_compiler_pic='-fPIC' 8050 ;; 8051 m68k) 8052 # FIXME: we need at least 68020 code to build shared libraries, but 8053 # adding the `-m68020' flag to GCC prevents building anything better, 8054 # like `-m68040'. 8055 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8056 ;; 8057 esac 8058 ;; 8059 8060 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8061 # PIC is the default for these OSes. 8062 ;; 8063 8064 mingw* | cygwin* | pw32* | os2* | cegcc*) 8065 # This hack is so that the source file can tell whether it is being 8066 # built for inclusion in a dll (and should export symbols for example). 8067 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8068 # (--disable-auto-import) libraries 8069 lt_prog_compiler_pic='-DDLL_EXPORT' 8070 ;; 8071 8072 darwin* | rhapsody*) 8073 # PIC is the default on this platform 8074 # Common symbols not allowed in MH_DYLIB files 8075 lt_prog_compiler_pic='-fno-common' 8076 ;; 8077 8078 haiku*) 8079 # PIC is the default for Haiku. 8080 # The "-static" flag exists, but is broken. 8081 lt_prog_compiler_static= 8082 ;; 8083 8084 hpux*) 8085 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8086 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8087 # sets the default TLS model and affects inlining. 8088 case $host_cpu in 8089 hppa*64*) 8090 # +Z the default 8091 ;; 8092 *) 8093 lt_prog_compiler_pic='-fPIC' 8094 ;; 8095 esac 8096 ;; 8097 8098 interix[3-9]*) 8099 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8100 # Instead, we relocate shared libraries at runtime. 8101 ;; 8102 8103 msdosdjgpp*) 8104 # Just because we use GCC doesn't mean we suddenly get shared libraries 8105 # on systems that don't support them. 8106 lt_prog_compiler_can_build_shared=no 8107 enable_shared=no 8108 ;; 8109 8110 *nto* | *qnx*) 8111 # QNX uses GNU C++, but need to define -shared option too, otherwise 8112 # it will coredump. 8113 lt_prog_compiler_pic='-fPIC -shared' 8114 ;; 8115 8116 sysv4*MP*) 8117 if test -d /usr/nec; then 8118 lt_prog_compiler_pic=-Kconform_pic 8119 fi 8120 ;; 8121 8122 *) 8123 lt_prog_compiler_pic='-fPIC' 8124 ;; 8125 esac 8126 8127 case $cc_basename in 8128 nvcc*) # Cuda Compiler Driver 2.2 8129 lt_prog_compiler_wl='-Xlinker ' 8130 lt_prog_compiler_pic='-Xcompiler -fPIC' 8131 ;; 8132 esac 8133 else 8134 # PORTME Check for flag to pass linker flags through the system compiler. 8135 case $host_os in 8136 aix*) 8137 lt_prog_compiler_wl='-Wl,' 8138 if test "$host_cpu" = ia64; then 8139 # AIX 5 now supports IA64 processor 8140 lt_prog_compiler_static='-Bstatic' 8141 else 8142 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8143 fi 8144 ;; 8145 8146 mingw* | cygwin* | pw32* | os2* | cegcc*) 8147 # This hack is so that the source file can tell whether it is being 8148 # built for inclusion in a dll (and should export symbols for example). 8149 lt_prog_compiler_pic='-DDLL_EXPORT' 8150 ;; 8151 8152 hpux9* | hpux10* | hpux11*) 8153 lt_prog_compiler_wl='-Wl,' 8154 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8155 # not for PA HP-UX. 8156 case $host_cpu in 8157 hppa*64*|ia64*) 8158 # +Z the default 8159 ;; 8160 *) 8161 lt_prog_compiler_pic='+Z' 8162 ;; 8163 esac 8164 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8165 lt_prog_compiler_static='${wl}-a ${wl}archive' 8166 ;; 8167 8168 irix5* | irix6* | nonstopux*) 8169 lt_prog_compiler_wl='-Wl,' 8170 # PIC (with -KPIC) is the default. 8171 lt_prog_compiler_static='-non_shared' 8172 ;; 8173 8174 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8175 case $cc_basename in 8176 # old Intel for x86_64 which still supported -KPIC. 8177 ecc*) 8178 lt_prog_compiler_wl='-Wl,' 8179 lt_prog_compiler_pic='-KPIC' 8180 lt_prog_compiler_static='-static' 8181 ;; 8182 # icc used to be incompatible with GCC. 8183 # ICC 10 doesn't accept -KPIC any more. 8184 icc* | ifort*) 8185 lt_prog_compiler_wl='-Wl,' 8186 lt_prog_compiler_pic='-fPIC' 8187 lt_prog_compiler_static='-static' 8188 ;; 8189 # Lahey Fortran 8.1. 8190 lf95*) 8191 lt_prog_compiler_wl='-Wl,' 8192 lt_prog_compiler_pic='--shared' 8193 lt_prog_compiler_static='--static' 8194 ;; 8195 nagfor*) 8196 # NAG Fortran compiler 8197 lt_prog_compiler_wl='-Wl,-Wl,,' 8198 lt_prog_compiler_pic='-PIC' 8199 lt_prog_compiler_static='-Bstatic' 8200 ;; 8201 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8202 # Portland Group compilers (*not* the Pentium gcc compiler, 8203 # which looks to be a dead project) 8204 lt_prog_compiler_wl='-Wl,' 8205 lt_prog_compiler_pic='-fpic' 8206 lt_prog_compiler_static='-Bstatic' 8207 ;; 8208 ccc*) 8209 lt_prog_compiler_wl='-Wl,' 8210 # All Alpha code is PIC. 8211 lt_prog_compiler_static='-non_shared' 8212 ;; 8213 xl* | bgxl* | bgf* | mpixl*) 8214 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8215 lt_prog_compiler_wl='-Wl,' 8216 lt_prog_compiler_pic='-qpic' 8217 lt_prog_compiler_static='-qstaticlink' 8218 ;; 8219 *) 8220 case `$CC -V 2>&1 | sed 5q` in 8221 *Sun\ F* | *Sun*Fortran*) 8222 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8223 lt_prog_compiler_pic='-KPIC' 8224 lt_prog_compiler_static='-Bstatic' 8225 lt_prog_compiler_wl='' 8226 ;; 8227 *Sun\ C*) 8228 # Sun C 5.9 8229 lt_prog_compiler_pic='-KPIC' 8230 lt_prog_compiler_static='-Bstatic' 8231 lt_prog_compiler_wl='-Wl,' 8232 ;; 8233 esac 8234 ;; 8235 esac 8236 ;; 8237 8238 newsos6) 8239 lt_prog_compiler_pic='-KPIC' 8240 lt_prog_compiler_static='-Bstatic' 8241 ;; 8242 8243 *nto* | *qnx*) 8244 # QNX uses GNU C++, but need to define -shared option too, otherwise 8245 # it will coredump. 8246 lt_prog_compiler_pic='-fPIC -shared' 8247 ;; 8248 8249 osf3* | osf4* | osf5*) 8250 lt_prog_compiler_wl='-Wl,' 8251 # All OSF/1 code is PIC. 8252 lt_prog_compiler_static='-non_shared' 8253 ;; 8254 8255 rdos*) 8256 lt_prog_compiler_static='-non_shared' 8257 ;; 8258 8259 solaris*) 8260 lt_prog_compiler_pic='-KPIC' 8261 lt_prog_compiler_static='-Bstatic' 8262 case $cc_basename in 8263 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8264 lt_prog_compiler_wl='-Qoption ld ';; 8265 *) 8266 lt_prog_compiler_wl='-Wl,';; 8267 esac 8268 ;; 8269 8270 sunos4*) 8271 lt_prog_compiler_wl='-Qoption ld ' 8272 lt_prog_compiler_pic='-PIC' 8273 lt_prog_compiler_static='-Bstatic' 8274 ;; 8275 8276 sysv4 | sysv4.2uw2* | sysv4.3*) 8277 lt_prog_compiler_wl='-Wl,' 8278 lt_prog_compiler_pic='-KPIC' 8279 lt_prog_compiler_static='-Bstatic' 8280 ;; 8281 8282 sysv4*MP*) 8283 if test -d /usr/nec ;then 8284 lt_prog_compiler_pic='-Kconform_pic' 8285 lt_prog_compiler_static='-Bstatic' 8286 fi 8287 ;; 8288 8289 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8290 lt_prog_compiler_wl='-Wl,' 8291 lt_prog_compiler_pic='-KPIC' 8292 lt_prog_compiler_static='-Bstatic' 8293 ;; 8294 8295 unicos*) 8296 lt_prog_compiler_wl='-Wl,' 8297 lt_prog_compiler_can_build_shared=no 8298 ;; 8299 8300 uts4*) 8301 lt_prog_compiler_pic='-pic' 8302 lt_prog_compiler_static='-Bstatic' 8303 ;; 8304 8305 *) 8306 lt_prog_compiler_can_build_shared=no 8307 ;; 8308 esac 8309 fi 8310 8311case $host_os in 8312 # For platforms which do not support PIC, -DPIC is meaningless: 8313 *djgpp*) 8314 lt_prog_compiler_pic= 8315 ;; 8316 *) 8317 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8318 ;; 8319esac 8320 8321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8322$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8323if ${lt_cv_prog_compiler_pic+:} false; then : 8324 $as_echo_n "(cached) " >&6 8325else 8326 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8327fi 8328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8329$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8330lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8331 8332# 8333# Check to make sure the PIC flag actually works. 8334# 8335if test -n "$lt_prog_compiler_pic"; then 8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8337$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8338if ${lt_cv_prog_compiler_pic_works+:} false; then : 8339 $as_echo_n "(cached) " >&6 8340else 8341 lt_cv_prog_compiler_pic_works=no 8342 ac_outfile=conftest.$ac_objext 8343 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8344 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8345 # Insert the option either (1) after the last *FLAGS variable, or 8346 # (2) before a word containing "conftest.", or (3) at the end. 8347 # Note that $ac_compile itself does not contain backslashes and begins 8348 # with a dollar sign (not a hyphen), so the echo should work correctly. 8349 # The option is referenced via a variable to avoid confusing sed. 8350 lt_compile=`echo "$ac_compile" | $SED \ 8351 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8353 -e 's:$: $lt_compiler_flag:'` 8354 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8355 (eval "$lt_compile" 2>conftest.err) 8356 ac_status=$? 8357 cat conftest.err >&5 8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8359 if (exit $ac_status) && test -s "$ac_outfile"; then 8360 # The compiler can only warn and ignore the option if not recognized 8361 # So say no if there are warnings other than the usual output. 8362 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8363 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8364 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8365 lt_cv_prog_compiler_pic_works=yes 8366 fi 8367 fi 8368 $RM conftest* 8369 8370fi 8371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8372$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8373 8374if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8375 case $lt_prog_compiler_pic in 8376 "" | " "*) ;; 8377 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8378 esac 8379else 8380 lt_prog_compiler_pic= 8381 lt_prog_compiler_can_build_shared=no 8382fi 8383 8384fi 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396# 8397# Check to make sure the static flag actually works. 8398# 8399wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8401$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8402if ${lt_cv_prog_compiler_static_works+:} false; then : 8403 $as_echo_n "(cached) " >&6 8404else 8405 lt_cv_prog_compiler_static_works=no 8406 save_LDFLAGS="$LDFLAGS" 8407 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8408 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8409 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8410 # The linker can only warn and ignore the option if not recognized 8411 # So say no if there are warnings 8412 if test -s conftest.err; then 8413 # Append any errors to the config.log. 8414 cat conftest.err 1>&5 8415 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8416 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8417 if diff conftest.exp conftest.er2 >/dev/null; then 8418 lt_cv_prog_compiler_static_works=yes 8419 fi 8420 else 8421 lt_cv_prog_compiler_static_works=yes 8422 fi 8423 fi 8424 $RM -r conftest* 8425 LDFLAGS="$save_LDFLAGS" 8426 8427fi 8428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8429$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8430 8431if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8432 : 8433else 8434 lt_prog_compiler_static= 8435fi 8436 8437 8438 8439 8440 8441 8442 8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8444$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8445if ${lt_cv_prog_compiler_c_o+:} false; then : 8446 $as_echo_n "(cached) " >&6 8447else 8448 lt_cv_prog_compiler_c_o=no 8449 $RM -r conftest 2>/dev/null 8450 mkdir conftest 8451 cd conftest 8452 mkdir out 8453 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8454 8455 lt_compiler_flag="-o out/conftest2.$ac_objext" 8456 # Insert the option either (1) after the last *FLAGS variable, or 8457 # (2) before a word containing "conftest.", or (3) at the end. 8458 # Note that $ac_compile itself does not contain backslashes and begins 8459 # with a dollar sign (not a hyphen), so the echo should work correctly. 8460 lt_compile=`echo "$ac_compile" | $SED \ 8461 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8462 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8463 -e 's:$: $lt_compiler_flag:'` 8464 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8465 (eval "$lt_compile" 2>out/conftest.err) 8466 ac_status=$? 8467 cat out/conftest.err >&5 8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8469 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8470 then 8471 # The compiler can only warn and ignore the option if not recognized 8472 # So say no if there are warnings 8473 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8474 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8475 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8476 lt_cv_prog_compiler_c_o=yes 8477 fi 8478 fi 8479 chmod u+w . 2>&5 8480 $RM conftest* 8481 # SGI C++ compiler will create directory out/ii_files/ for 8482 # template instantiation 8483 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8484 $RM out/* && rmdir out 8485 cd .. 8486 $RM -r conftest 8487 $RM conftest* 8488 8489fi 8490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8491$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8492 8493 8494 8495 8496 8497 8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8499$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8500if ${lt_cv_prog_compiler_c_o+:} false; then : 8501 $as_echo_n "(cached) " >&6 8502else 8503 lt_cv_prog_compiler_c_o=no 8504 $RM -r conftest 2>/dev/null 8505 mkdir conftest 8506 cd conftest 8507 mkdir out 8508 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8509 8510 lt_compiler_flag="-o out/conftest2.$ac_objext" 8511 # Insert the option either (1) after the last *FLAGS variable, or 8512 # (2) before a word containing "conftest.", or (3) at the end. 8513 # Note that $ac_compile itself does not contain backslashes and begins 8514 # with a dollar sign (not a hyphen), so the echo should work correctly. 8515 lt_compile=`echo "$ac_compile" | $SED \ 8516 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8517 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8518 -e 's:$: $lt_compiler_flag:'` 8519 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8520 (eval "$lt_compile" 2>out/conftest.err) 8521 ac_status=$? 8522 cat out/conftest.err >&5 8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8524 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8525 then 8526 # The compiler can only warn and ignore the option if not recognized 8527 # So say no if there are warnings 8528 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8529 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8530 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8531 lt_cv_prog_compiler_c_o=yes 8532 fi 8533 fi 8534 chmod u+w . 2>&5 8535 $RM conftest* 8536 # SGI C++ compiler will create directory out/ii_files/ for 8537 # template instantiation 8538 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8539 $RM out/* && rmdir out 8540 cd .. 8541 $RM -r conftest 8542 $RM conftest* 8543 8544fi 8545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8546$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8547 8548 8549 8550 8551hard_links="nottested" 8552if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8553 # do not overwrite the value of need_locks provided by the user 8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8555$as_echo_n "checking if we can lock with hard links... " >&6; } 8556 hard_links=yes 8557 $RM conftest* 8558 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8559 touch conftest.a 8560 ln conftest.a conftest.b 2>&5 || hard_links=no 8561 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8563$as_echo "$hard_links" >&6; } 8564 if test "$hard_links" = no; then 8565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8566$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8567 need_locks=warn 8568 fi 8569else 8570 need_locks=no 8571fi 8572 8573 8574 8575 8576 8577 8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8579$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8580 8581 runpath_var= 8582 allow_undefined_flag= 8583 always_export_symbols=no 8584 archive_cmds= 8585 archive_expsym_cmds= 8586 compiler_needs_object=no 8587 enable_shared_with_static_runtimes=no 8588 export_dynamic_flag_spec= 8589 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8590 hardcode_automatic=no 8591 hardcode_direct=no 8592 hardcode_direct_absolute=no 8593 hardcode_libdir_flag_spec= 8594 hardcode_libdir_flag_spec_ld= 8595 hardcode_libdir_separator= 8596 hardcode_minus_L=no 8597 hardcode_shlibpath_var=unsupported 8598 inherit_rpath=no 8599 link_all_deplibs=unknown 8600 module_cmds= 8601 module_expsym_cmds= 8602 old_archive_from_new_cmds= 8603 old_archive_from_expsyms_cmds= 8604 thread_safe_flag_spec= 8605 whole_archive_flag_spec= 8606 # include_expsyms should be a list of space-separated symbols to be *always* 8607 # included in the symbol list 8608 include_expsyms= 8609 # exclude_expsyms can be an extended regexp of symbols to exclude 8610 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8611 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8612 # as well as any symbol that contains `d'. 8613 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8614 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8615 # platforms (ab)use it in PIC code, but their linkers get confused if 8616 # the symbol is explicitly referenced. Since portable code cannot 8617 # rely on this symbol name, it's probably fine to never include it in 8618 # preloaded symbol tables. 8619 # Exclude shared library initialization/finalization symbols. 8620 extract_expsyms_cmds= 8621 8622 case $host_os in 8623 cygwin* | mingw* | pw32* | cegcc*) 8624 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8625 # When not using gcc, we currently assume that we are using 8626 # Microsoft Visual C++. 8627 if test "$GCC" != yes; then 8628 with_gnu_ld=no 8629 fi 8630 ;; 8631 interix*) 8632 # we just hope/assume this is gcc and not c89 (= MSVC++) 8633 with_gnu_ld=yes 8634 ;; 8635 openbsd*) 8636 with_gnu_ld=no 8637 ;; 8638 esac 8639 8640 ld_shlibs=yes 8641 8642 # On some targets, GNU ld is compatible enough with the native linker 8643 # that we're better off using the native interface for both. 8644 lt_use_gnu_ld_interface=no 8645 if test "$with_gnu_ld" = yes; then 8646 case $host_os in 8647 aix*) 8648 # The AIX port of GNU ld has always aspired to compatibility 8649 # with the native linker. However, as the warning in the GNU ld 8650 # block says, versions before 2.19.5* couldn't really create working 8651 # shared libraries, regardless of the interface used. 8652 case `$LD -v 2>&1` in 8653 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8654 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8655 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8656 *) 8657 lt_use_gnu_ld_interface=yes 8658 ;; 8659 esac 8660 ;; 8661 *) 8662 lt_use_gnu_ld_interface=yes 8663 ;; 8664 esac 8665 fi 8666 8667 if test "$lt_use_gnu_ld_interface" = yes; then 8668 # If archive_cmds runs LD, not CC, wlarc should be empty 8669 wlarc='${wl}' 8670 8671 # Set some defaults for GNU ld with shared library support. These 8672 # are reset later if shared libraries are not supported. Putting them 8673 # here allows them to be overridden if necessary. 8674 runpath_var=LD_RUN_PATH 8675 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8676 export_dynamic_flag_spec='${wl}--export-dynamic' 8677 # ancient GNU ld didn't support --whole-archive et. al. 8678 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8679 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8680 else 8681 whole_archive_flag_spec= 8682 fi 8683 supports_anon_versioning=no 8684 case `$LD -v 2>&1` in 8685 *GNU\ gold*) supports_anon_versioning=yes ;; 8686 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8687 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8688 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8689 *\ 2.11.*) ;; # other 2.11 versions 8690 *) supports_anon_versioning=yes ;; 8691 esac 8692 8693 # See if GNU ld supports shared libraries. 8694 case $host_os in 8695 aix[3-9]*) 8696 # On AIX/PPC, the GNU linker is very broken 8697 if test "$host_cpu" != ia64; then 8698 ld_shlibs=no 8699 cat <<_LT_EOF 1>&2 8700 8701*** Warning: the GNU linker, at least up to release 2.19, is reported 8702*** to be unable to reliably create shared libraries on AIX. 8703*** Therefore, libtool is disabling shared libraries support. If you 8704*** really care for shared libraries, you may want to install binutils 8705*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8706*** You will then need to restart the configuration process. 8707 8708_LT_EOF 8709 fi 8710 ;; 8711 8712 amigaos*) 8713 case $host_cpu in 8714 powerpc) 8715 # see comment about AmigaOS4 .so support 8716 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8717 archive_expsym_cmds='' 8718 ;; 8719 m68k) 8720 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)' 8721 hardcode_libdir_flag_spec='-L$libdir' 8722 hardcode_minus_L=yes 8723 ;; 8724 esac 8725 ;; 8726 8727 beos*) 8728 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8729 allow_undefined_flag=unsupported 8730 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8731 # support --undefined. This deserves some investigation. FIXME 8732 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8733 else 8734 ld_shlibs=no 8735 fi 8736 ;; 8737 8738 cygwin* | mingw* | pw32* | cegcc*) 8739 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8740 # as there is no search path for DLLs. 8741 hardcode_libdir_flag_spec='-L$libdir' 8742 export_dynamic_flag_spec='${wl}--export-all-symbols' 8743 allow_undefined_flag=unsupported 8744 always_export_symbols=no 8745 enable_shared_with_static_runtimes=yes 8746 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' 8747 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8748 8749 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8750 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8751 # If the export-symbols file already is a .def file (1st line 8752 # is EXPORTS), use it as is; otherwise, prepend... 8753 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8754 cp $export_symbols $output_objdir/$soname.def; 8755 else 8756 echo EXPORTS > $output_objdir/$soname.def; 8757 cat $export_symbols >> $output_objdir/$soname.def; 8758 fi~ 8759 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8760 else 8761 ld_shlibs=no 8762 fi 8763 ;; 8764 8765 haiku*) 8766 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8767 link_all_deplibs=yes 8768 ;; 8769 8770 interix[3-9]*) 8771 hardcode_direct=no 8772 hardcode_shlibpath_var=no 8773 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8774 export_dynamic_flag_spec='${wl}-E' 8775 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8776 # Instead, shared libraries are loaded at an image base (0x10000000 by 8777 # default) and relocated if they conflict, which is a slow very memory 8778 # consuming and fragmenting process. To avoid this, we pick a random, 8779 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8780 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8781 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8782 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' 8783 ;; 8784 8785 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8786 tmp_diet=no 8787 if test "$host_os" = linux-dietlibc; then 8788 case $cc_basename in 8789 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8790 esac 8791 fi 8792 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8793 && test "$tmp_diet" = no 8794 then 8795 tmp_addflag=' $pic_flag' 8796 tmp_sharedflag='-shared' 8797 case $cc_basename,$host_cpu in 8798 pgcc*) # Portland Group C compiler 8799 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' 8800 tmp_addflag=' $pic_flag' 8801 ;; 8802 pgf77* | pgf90* | pgf95* | pgfortran*) 8803 # Portland Group f77 and f90 compilers 8804 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' 8805 tmp_addflag=' $pic_flag -Mnomain' ;; 8806 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8807 tmp_addflag=' -i_dynamic' ;; 8808 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8809 tmp_addflag=' -i_dynamic -nofor_main' ;; 8810 ifc* | ifort*) # Intel Fortran compiler 8811 tmp_addflag=' -nofor_main' ;; 8812 lf95*) # Lahey Fortran 8.1 8813 whole_archive_flag_spec= 8814 tmp_sharedflag='--shared' ;; 8815 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8816 tmp_sharedflag='-qmkshrobj' 8817 tmp_addflag= ;; 8818 nvcc*) # Cuda Compiler Driver 2.2 8819 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' 8820 compiler_needs_object=yes 8821 ;; 8822 esac 8823 case `$CC -V 2>&1 | sed 5q` in 8824 *Sun\ C*) # Sun C 5.9 8825 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' 8826 compiler_needs_object=yes 8827 tmp_sharedflag='-G' ;; 8828 *Sun\ F*) # Sun Fortran 8.3 8829 tmp_sharedflag='-G' ;; 8830 esac 8831 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8832 8833 if test "x$supports_anon_versioning" = xyes; then 8834 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8835 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8836 echo "local: *; };" >> $output_objdir/$libname.ver~ 8837 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8838 fi 8839 8840 case $cc_basename in 8841 xlf* | bgf* | bgxlf* | mpixlf*) 8842 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8843 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8844 hardcode_libdir_flag_spec= 8845 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8846 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8847 if test "x$supports_anon_versioning" = xyes; then 8848 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8849 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8850 echo "local: *; };" >> $output_objdir/$libname.ver~ 8851 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8852 fi 8853 ;; 8854 esac 8855 else 8856 ld_shlibs=no 8857 fi 8858 ;; 8859 8860 netbsd*) 8861 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8862 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8863 wlarc= 8864 else 8865 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8866 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8867 fi 8868 ;; 8869 8870 solaris*) 8871 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8872 ld_shlibs=no 8873 cat <<_LT_EOF 1>&2 8874 8875*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8876*** create shared libraries on Solaris systems. Therefore, libtool 8877*** is disabling shared libraries support. We urge you to upgrade GNU 8878*** binutils to release 2.9.1 or newer. Another option is to modify 8879*** your PATH or compiler configuration so that the native linker is 8880*** used, and then restart. 8881 8882_LT_EOF 8883 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8884 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8885 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8886 else 8887 ld_shlibs=no 8888 fi 8889 ;; 8890 8891 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8892 case `$LD -v 2>&1` in 8893 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8894 ld_shlibs=no 8895 cat <<_LT_EOF 1>&2 8896 8897*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8898*** reliably create shared libraries on SCO systems. Therefore, libtool 8899*** is disabling shared libraries support. We urge you to upgrade GNU 8900*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8901*** your PATH or compiler configuration so that the native linker is 8902*** used, and then restart. 8903 8904_LT_EOF 8905 ;; 8906 *) 8907 # For security reasons, it is highly recommended that you always 8908 # use absolute paths for naming shared libraries, and exclude the 8909 # DT_RUNPATH tag from executables and libraries. But doing so 8910 # requires that you compile everything twice, which is a pain. 8911 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8912 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8913 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8914 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8915 else 8916 ld_shlibs=no 8917 fi 8918 ;; 8919 esac 8920 ;; 8921 8922 sunos4*) 8923 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8924 wlarc= 8925 hardcode_direct=yes 8926 hardcode_shlibpath_var=no 8927 ;; 8928 8929 *) 8930 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8931 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8932 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8933 else 8934 ld_shlibs=no 8935 fi 8936 ;; 8937 esac 8938 8939 if test "$ld_shlibs" = no; then 8940 runpath_var= 8941 hardcode_libdir_flag_spec= 8942 export_dynamic_flag_spec= 8943 whole_archive_flag_spec= 8944 fi 8945 else 8946 # PORTME fill in a description of your system's linker (not GNU ld) 8947 case $host_os in 8948 aix3*) 8949 allow_undefined_flag=unsupported 8950 always_export_symbols=yes 8951 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' 8952 # Note: this linker hardcodes the directories in LIBPATH if there 8953 # are no directories specified by -L. 8954 hardcode_minus_L=yes 8955 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8956 # Neither direct hardcoding nor static linking is supported with a 8957 # broken collect2. 8958 hardcode_direct=unsupported 8959 fi 8960 ;; 8961 8962 aix[4-9]*) 8963 if test "$host_cpu" = ia64; then 8964 # On IA64, the linker does run time linking by default, so we don't 8965 # have to do anything special. 8966 aix_use_runtimelinking=no 8967 exp_sym_flag='-Bexport' 8968 no_entry_flag="" 8969 else 8970 # If we're using GNU nm, then we don't want the "-C" option. 8971 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8972 # Also, AIX nm treats weak defined symbols like other global 8973 # defined symbols, whereas GNU nm marks them as "W". 8974 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8975 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8976 else 8977 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8978 fi 8979 aix_use_runtimelinking=no 8980 8981 # Test if we are trying to use run time linking or normal 8982 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8983 # need to do runtime linking. 8984 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8985 for ld_flag in $LDFLAGS; do 8986 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8987 aix_use_runtimelinking=yes 8988 break 8989 fi 8990 done 8991 ;; 8992 esac 8993 8994 exp_sym_flag='-bexport' 8995 no_entry_flag='-bnoentry' 8996 fi 8997 8998 # When large executables or shared objects are built, AIX ld can 8999 # have problems creating the table of contents. If linking a library 9000 # or program results in "error TOC overflow" add -mminimal-toc to 9001 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9002 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9003 9004 archive_cmds='' 9005 hardcode_direct=yes 9006 hardcode_direct_absolute=yes 9007 hardcode_libdir_separator=':' 9008 link_all_deplibs=yes 9009 file_list_spec='${wl}-f,' 9010 9011 if test "$GCC" = yes; then 9012 case $host_os in aix4.[012]|aix4.[012].*) 9013 # We only want to do this on AIX 4.2 and lower, the check 9014 # below for broken collect2 doesn't work under 4.3+ 9015 collect2name=`${CC} -print-prog-name=collect2` 9016 if test -f "$collect2name" && 9017 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9018 then 9019 # We have reworked collect2 9020 : 9021 else 9022 # We have old collect2 9023 hardcode_direct=unsupported 9024 # It fails to find uninstalled libraries when the uninstalled 9025 # path is not listed in the libpath. Setting hardcode_minus_L 9026 # to unsupported forces relinking 9027 hardcode_minus_L=yes 9028 hardcode_libdir_flag_spec='-L$libdir' 9029 hardcode_libdir_separator= 9030 fi 9031 ;; 9032 esac 9033 shared_flag='-shared' 9034 if test "$aix_use_runtimelinking" = yes; then 9035 shared_flag="$shared_flag "'${wl}-G' 9036 fi 9037 link_all_deplibs=no 9038 else 9039 # not using gcc 9040 if test "$host_cpu" = ia64; then 9041 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9042 # chokes on -Wl,-G. The following line is correct: 9043 shared_flag='-G' 9044 else 9045 if test "$aix_use_runtimelinking" = yes; then 9046 shared_flag='${wl}-G' 9047 else 9048 shared_flag='${wl}-bM:SRE' 9049 fi 9050 fi 9051 fi 9052 9053 export_dynamic_flag_spec='${wl}-bexpall' 9054 # It seems that -bexpall does not export symbols beginning with 9055 # underscore (_), so it is better to generate a list of symbols to export. 9056 always_export_symbols=yes 9057 if test "$aix_use_runtimelinking" = yes; then 9058 # Warning - without using the other runtime loading flags (-brtl), 9059 # -berok will link without error, but may produce a broken library. 9060 allow_undefined_flag='-berok' 9061 # Determine the default libpath from the value encoded in an 9062 # empty executable. 9063 if test "${lt_cv_aix_libpath+set}" = set; then 9064 aix_libpath=$lt_cv_aix_libpath 9065else 9066 if ${lt_cv_aix_libpath_+:} false; then : 9067 $as_echo_n "(cached) " >&6 9068else 9069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9070/* end confdefs.h. */ 9071 9072int 9073main () 9074{ 9075 9076 ; 9077 return 0; 9078} 9079_ACEOF 9080if ac_fn_c_try_link "$LINENO"; then : 9081 9082 lt_aix_libpath_sed=' 9083 /Import File Strings/,/^$/ { 9084 /^0/ { 9085 s/^0 *\([^ ]*\) *$/\1/ 9086 p 9087 } 9088 }' 9089 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9090 # Check for a 64-bit object if we didn't find anything. 9091 if test -z "$lt_cv_aix_libpath_"; then 9092 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9093 fi 9094fi 9095rm -f core conftest.err conftest.$ac_objext \ 9096 conftest$ac_exeext conftest.$ac_ext 9097 if test -z "$lt_cv_aix_libpath_"; then 9098 lt_cv_aix_libpath_="/usr/lib:/lib" 9099 fi 9100 9101fi 9102 9103 aix_libpath=$lt_cv_aix_libpath_ 9104fi 9105 9106 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9107 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9108 else 9109 if test "$host_cpu" = ia64; then 9110 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9111 allow_undefined_flag="-z nodefs" 9112 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" 9113 else 9114 # Determine the default libpath from the value encoded in an 9115 # empty executable. 9116 if test "${lt_cv_aix_libpath+set}" = set; then 9117 aix_libpath=$lt_cv_aix_libpath 9118else 9119 if ${lt_cv_aix_libpath_+:} false; then : 9120 $as_echo_n "(cached) " >&6 9121else 9122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9123/* end confdefs.h. */ 9124 9125int 9126main () 9127{ 9128 9129 ; 9130 return 0; 9131} 9132_ACEOF 9133if ac_fn_c_try_link "$LINENO"; then : 9134 9135 lt_aix_libpath_sed=' 9136 /Import File Strings/,/^$/ { 9137 /^0/ { 9138 s/^0 *\([^ ]*\) *$/\1/ 9139 p 9140 } 9141 }' 9142 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9143 # Check for a 64-bit object if we didn't find anything. 9144 if test -z "$lt_cv_aix_libpath_"; then 9145 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9146 fi 9147fi 9148rm -f core conftest.err conftest.$ac_objext \ 9149 conftest$ac_exeext conftest.$ac_ext 9150 if test -z "$lt_cv_aix_libpath_"; then 9151 lt_cv_aix_libpath_="/usr/lib:/lib" 9152 fi 9153 9154fi 9155 9156 aix_libpath=$lt_cv_aix_libpath_ 9157fi 9158 9159 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9160 # Warning - without using the other run time loading flags, 9161 # -berok will link without error, but may produce a broken library. 9162 no_undefined_flag=' ${wl}-bernotok' 9163 allow_undefined_flag=' ${wl}-berok' 9164 if test "$with_gnu_ld" = yes; then 9165 # We only use this code for GNU lds that support --whole-archive. 9166 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9167 else 9168 # Exported symbols can be pulled into shared objects from archives 9169 whole_archive_flag_spec='$convenience' 9170 fi 9171 archive_cmds_need_lc=yes 9172 # This is similar to how AIX traditionally builds its shared libraries. 9173 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 9174 fi 9175 fi 9176 ;; 9177 9178 amigaos*) 9179 case $host_cpu in 9180 powerpc) 9181 # see comment about AmigaOS4 .so support 9182 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9183 archive_expsym_cmds='' 9184 ;; 9185 m68k) 9186 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)' 9187 hardcode_libdir_flag_spec='-L$libdir' 9188 hardcode_minus_L=yes 9189 ;; 9190 esac 9191 ;; 9192 9193 bsdi[45]*) 9194 export_dynamic_flag_spec=-rdynamic 9195 ;; 9196 9197 cygwin* | mingw* | pw32* | cegcc*) 9198 # When not using gcc, we currently assume that we are using 9199 # Microsoft Visual C++. 9200 # hardcode_libdir_flag_spec is actually meaningless, as there is 9201 # no search path for DLLs. 9202 case $cc_basename in 9203 cl*) 9204 # Native MSVC 9205 hardcode_libdir_flag_spec=' ' 9206 allow_undefined_flag=unsupported 9207 always_export_symbols=yes 9208 file_list_spec='@' 9209 # Tell ltmain to make .lib files, not .a files. 9210 libext=lib 9211 # Tell ltmain to make .dll files, not .so files. 9212 shrext_cmds=".dll" 9213 # FIXME: Setting linknames here is a bad hack. 9214 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9215 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9216 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9217 else 9218 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9219 fi~ 9220 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9221 linknames=' 9222 # The linker will not automatically build a static lib if we build a DLL. 9223 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9224 enable_shared_with_static_runtimes=yes 9225 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9226 # Don't use ranlib 9227 old_postinstall_cmds='chmod 644 $oldlib' 9228 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9229 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9230 case $lt_outputfile in 9231 *.exe|*.EXE) ;; 9232 *) 9233 lt_outputfile="$lt_outputfile.exe" 9234 lt_tool_outputfile="$lt_tool_outputfile.exe" 9235 ;; 9236 esac~ 9237 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9238 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9239 $RM "$lt_outputfile.manifest"; 9240 fi' 9241 ;; 9242 *) 9243 # Assume MSVC wrapper 9244 hardcode_libdir_flag_spec=' ' 9245 allow_undefined_flag=unsupported 9246 # Tell ltmain to make .lib files, not .a files. 9247 libext=lib 9248 # Tell ltmain to make .dll files, not .so files. 9249 shrext_cmds=".dll" 9250 # FIXME: Setting linknames here is a bad hack. 9251 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9252 # The linker will automatically build a .lib file if we build a DLL. 9253 old_archive_from_new_cmds='true' 9254 # FIXME: Should let the user specify the lib program. 9255 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9256 enable_shared_with_static_runtimes=yes 9257 ;; 9258 esac 9259 ;; 9260 9261 darwin* | rhapsody*) 9262 9263 9264 archive_cmds_need_lc=no 9265 hardcode_direct=no 9266 hardcode_automatic=yes 9267 hardcode_shlibpath_var=unsupported 9268 if test "$lt_cv_ld_force_load" = "yes"; then 9269 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\"`' 9270 else 9271 whole_archive_flag_spec='' 9272 fi 9273 link_all_deplibs=yes 9274 allow_undefined_flag="$_lt_dar_allow_undefined" 9275 case $cc_basename in 9276 ifort*) _lt_dar_can_shared=yes ;; 9277 *) _lt_dar_can_shared=$GCC ;; 9278 esac 9279 if test "$_lt_dar_can_shared" = "yes"; then 9280 output_verbose_link_cmd=func_echo_all 9281 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9282 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9283 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}" 9284 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}" 9285 9286 else 9287 ld_shlibs=no 9288 fi 9289 9290 ;; 9291 9292 dgux*) 9293 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9294 hardcode_libdir_flag_spec='-L$libdir' 9295 hardcode_shlibpath_var=no 9296 ;; 9297 9298 freebsd1*) 9299 ld_shlibs=no 9300 ;; 9301 9302 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9303 # support. Future versions do this automatically, but an explicit c++rt0.o 9304 # does not break anything, and helps significantly (at the cost of a little 9305 # extra space). 9306 freebsd2.2*) 9307 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9308 hardcode_libdir_flag_spec='-R$libdir' 9309 hardcode_direct=yes 9310 hardcode_shlibpath_var=no 9311 ;; 9312 9313 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9314 freebsd2*) 9315 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9316 hardcode_direct=yes 9317 hardcode_minus_L=yes 9318 hardcode_shlibpath_var=no 9319 ;; 9320 9321 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9322 freebsd* | dragonfly*) 9323 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9324 hardcode_libdir_flag_spec='-R$libdir' 9325 hardcode_direct=yes 9326 hardcode_shlibpath_var=no 9327 ;; 9328 9329 hpux9*) 9330 if test "$GCC" = yes; then 9331 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9332 else 9333 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9334 fi 9335 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9336 hardcode_libdir_separator=: 9337 hardcode_direct=yes 9338 9339 # hardcode_minus_L: Not really in the search PATH, 9340 # but as the default location of the library. 9341 hardcode_minus_L=yes 9342 export_dynamic_flag_spec='${wl}-E' 9343 ;; 9344 9345 hpux10*) 9346 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9347 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9348 else 9349 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9350 fi 9351 if test "$with_gnu_ld" = no; then 9352 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9353 hardcode_libdir_flag_spec_ld='+b $libdir' 9354 hardcode_libdir_separator=: 9355 hardcode_direct=yes 9356 hardcode_direct_absolute=yes 9357 export_dynamic_flag_spec='${wl}-E' 9358 # hardcode_minus_L: Not really in the search PATH, 9359 # but as the default location of the library. 9360 hardcode_minus_L=yes 9361 fi 9362 ;; 9363 9364 hpux11*) 9365 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9366 case $host_cpu in 9367 hppa*64*) 9368 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9369 ;; 9370 ia64*) 9371 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9372 ;; 9373 *) 9374 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9375 ;; 9376 esac 9377 else 9378 case $host_cpu in 9379 hppa*64*) 9380 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9381 ;; 9382 ia64*) 9383 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9384 ;; 9385 *) 9386 9387 # Older versions of the 11.00 compiler do not understand -b yet 9388 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9390$as_echo_n "checking if $CC understands -b... " >&6; } 9391if ${lt_cv_prog_compiler__b+:} false; then : 9392 $as_echo_n "(cached) " >&6 9393else 9394 lt_cv_prog_compiler__b=no 9395 save_LDFLAGS="$LDFLAGS" 9396 LDFLAGS="$LDFLAGS -b" 9397 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9398 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9399 # The linker can only warn and ignore the option if not recognized 9400 # So say no if there are warnings 9401 if test -s conftest.err; then 9402 # Append any errors to the config.log. 9403 cat conftest.err 1>&5 9404 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9405 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9406 if diff conftest.exp conftest.er2 >/dev/null; then 9407 lt_cv_prog_compiler__b=yes 9408 fi 9409 else 9410 lt_cv_prog_compiler__b=yes 9411 fi 9412 fi 9413 $RM -r conftest* 9414 LDFLAGS="$save_LDFLAGS" 9415 9416fi 9417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9418$as_echo "$lt_cv_prog_compiler__b" >&6; } 9419 9420if test x"$lt_cv_prog_compiler__b" = xyes; then 9421 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9422else 9423 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9424fi 9425 9426 ;; 9427 esac 9428 fi 9429 if test "$with_gnu_ld" = no; then 9430 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9431 hardcode_libdir_separator=: 9432 9433 case $host_cpu in 9434 hppa*64*|ia64*) 9435 hardcode_direct=no 9436 hardcode_shlibpath_var=no 9437 ;; 9438 *) 9439 hardcode_direct=yes 9440 hardcode_direct_absolute=yes 9441 export_dynamic_flag_spec='${wl}-E' 9442 9443 # hardcode_minus_L: Not really in the search PATH, 9444 # but as the default location of the library. 9445 hardcode_minus_L=yes 9446 ;; 9447 esac 9448 fi 9449 ;; 9450 9451 irix5* | irix6* | nonstopux*) 9452 if test "$GCC" = yes; then 9453 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' 9454 # Try to use the -exported_symbol ld option, if it does not 9455 # work, assume that -exports_file does not work either and 9456 # implicitly export all symbols. 9457 # This should be the same for all languages, so no per-tag cache variable. 9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9459$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9460if ${lt_cv_irix_exported_symbol+:} false; then : 9461 $as_echo_n "(cached) " >&6 9462else 9463 save_LDFLAGS="$LDFLAGS" 9464 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9466/* end confdefs.h. */ 9467int foo (void) { return 0; } 9468_ACEOF 9469if ac_fn_c_try_link "$LINENO"; then : 9470 lt_cv_irix_exported_symbol=yes 9471else 9472 lt_cv_irix_exported_symbol=no 9473fi 9474rm -f core conftest.err conftest.$ac_objext \ 9475 conftest$ac_exeext conftest.$ac_ext 9476 LDFLAGS="$save_LDFLAGS" 9477fi 9478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9479$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9480 if test "$lt_cv_irix_exported_symbol" = yes; then 9481 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' 9482 fi 9483 else 9484 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' 9485 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' 9486 fi 9487 archive_cmds_need_lc='no' 9488 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9489 hardcode_libdir_separator=: 9490 inherit_rpath=yes 9491 link_all_deplibs=yes 9492 ;; 9493 9494 netbsd*) 9495 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9496 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9497 else 9498 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9499 fi 9500 hardcode_libdir_flag_spec='-R$libdir' 9501 hardcode_direct=yes 9502 hardcode_shlibpath_var=no 9503 ;; 9504 9505 newsos6) 9506 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9507 hardcode_direct=yes 9508 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9509 hardcode_libdir_separator=: 9510 hardcode_shlibpath_var=no 9511 ;; 9512 9513 *nto* | *qnx*) 9514 ;; 9515 9516 openbsd*) 9517 if test -f /usr/libexec/ld.so; then 9518 hardcode_direct=yes 9519 hardcode_shlibpath_var=no 9520 hardcode_direct_absolute=yes 9521 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9522 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9523 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9524 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9525 export_dynamic_flag_spec='${wl}-E' 9526 else 9527 case $host_os in 9528 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9529 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9530 hardcode_libdir_flag_spec='-R$libdir' 9531 ;; 9532 *) 9533 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9534 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9535 ;; 9536 esac 9537 fi 9538 else 9539 ld_shlibs=no 9540 fi 9541 ;; 9542 9543 os2*) 9544 hardcode_libdir_flag_spec='-L$libdir' 9545 hardcode_minus_L=yes 9546 allow_undefined_flag=unsupported 9547 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 9548 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9549 ;; 9550 9551 osf3*) 9552 if test "$GCC" = yes; then 9553 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9554 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' 9555 else 9556 allow_undefined_flag=' -expect_unresolved \*' 9557 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' 9558 fi 9559 archive_cmds_need_lc='no' 9560 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9561 hardcode_libdir_separator=: 9562 ;; 9563 9564 osf4* | osf5*) # as osf3* with the addition of -msym flag 9565 if test "$GCC" = yes; then 9566 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9567 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' 9568 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9569 else 9570 allow_undefined_flag=' -expect_unresolved \*' 9571 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' 9572 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~ 9573 $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' 9574 9575 # Both c and cxx compiler support -rpath directly 9576 hardcode_libdir_flag_spec='-rpath $libdir' 9577 fi 9578 archive_cmds_need_lc='no' 9579 hardcode_libdir_separator=: 9580 ;; 9581 9582 solaris*) 9583 no_undefined_flag=' -z defs' 9584 if test "$GCC" = yes; then 9585 wlarc='${wl}' 9586 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9587 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9588 $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' 9589 else 9590 case `$CC -V 2>&1` in 9591 *"Compilers 5.0"*) 9592 wlarc='' 9593 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9594 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9595 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9596 ;; 9597 *) 9598 wlarc='${wl}' 9599 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9600 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9601 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9602 ;; 9603 esac 9604 fi 9605 hardcode_libdir_flag_spec='-R$libdir' 9606 hardcode_shlibpath_var=no 9607 case $host_os in 9608 solaris2.[0-5] | solaris2.[0-5].*) ;; 9609 *) 9610 # The compiler driver will combine and reorder linker options, 9611 # but understands `-z linker_flag'. GCC discards it without `$wl', 9612 # but is careful enough not to reorder. 9613 # Supported since Solaris 2.6 (maybe 2.5.1?) 9614 if test "$GCC" = yes; then 9615 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9616 else 9617 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9618 fi 9619 ;; 9620 esac 9621 link_all_deplibs=yes 9622 ;; 9623 9624 sunos4*) 9625 if test "x$host_vendor" = xsequent; then 9626 # Use $CC to link under sequent, because it throws in some extra .o 9627 # files that make .init and .fini sections work. 9628 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9629 else 9630 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9631 fi 9632 hardcode_libdir_flag_spec='-L$libdir' 9633 hardcode_direct=yes 9634 hardcode_minus_L=yes 9635 hardcode_shlibpath_var=no 9636 ;; 9637 9638 sysv4) 9639 case $host_vendor in 9640 sni) 9641 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9642 hardcode_direct=yes # is this really true??? 9643 ;; 9644 siemens) 9645 ## LD is ld it makes a PLAMLIB 9646 ## CC just makes a GrossModule. 9647 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9648 reload_cmds='$CC -r -o $output$reload_objs' 9649 hardcode_direct=no 9650 ;; 9651 motorola) 9652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9653 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9654 ;; 9655 esac 9656 runpath_var='LD_RUN_PATH' 9657 hardcode_shlibpath_var=no 9658 ;; 9659 9660 sysv4.3*) 9661 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9662 hardcode_shlibpath_var=no 9663 export_dynamic_flag_spec='-Bexport' 9664 ;; 9665 9666 sysv4*MP*) 9667 if test -d /usr/nec; then 9668 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9669 hardcode_shlibpath_var=no 9670 runpath_var=LD_RUN_PATH 9671 hardcode_runpath_var=yes 9672 ld_shlibs=yes 9673 fi 9674 ;; 9675 9676 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9677 no_undefined_flag='${wl}-z,text' 9678 archive_cmds_need_lc=no 9679 hardcode_shlibpath_var=no 9680 runpath_var='LD_RUN_PATH' 9681 9682 if test "$GCC" = yes; then 9683 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9684 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9685 else 9686 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9687 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9688 fi 9689 ;; 9690 9691 sysv5* | sco3.2v5* | sco5v6*) 9692 # Note: We can NOT use -z defs as we might desire, because we do not 9693 # link with -lc, and that would cause any symbols used from libc to 9694 # always be unresolved, which means just about no library would 9695 # ever link correctly. If we're not using GNU ld we use -z text 9696 # though, which does catch some bad symbols but isn't as heavy-handed 9697 # as -z defs. 9698 no_undefined_flag='${wl}-z,text' 9699 allow_undefined_flag='${wl}-z,nodefs' 9700 archive_cmds_need_lc=no 9701 hardcode_shlibpath_var=no 9702 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9703 hardcode_libdir_separator=':' 9704 link_all_deplibs=yes 9705 export_dynamic_flag_spec='${wl}-Bexport' 9706 runpath_var='LD_RUN_PATH' 9707 9708 if test "$GCC" = yes; then 9709 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9710 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9711 else 9712 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9713 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9714 fi 9715 ;; 9716 9717 uts4*) 9718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9719 hardcode_libdir_flag_spec='-L$libdir' 9720 hardcode_shlibpath_var=no 9721 ;; 9722 9723 *) 9724 ld_shlibs=no 9725 ;; 9726 esac 9727 9728 if test x$host_vendor = xsni; then 9729 case $host in 9730 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9731 export_dynamic_flag_spec='${wl}-Blargedynsym' 9732 ;; 9733 esac 9734 fi 9735 fi 9736 9737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9738$as_echo "$ld_shlibs" >&6; } 9739test "$ld_shlibs" = no && can_build_shared=no 9740 9741with_gnu_ld=$with_gnu_ld 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757# 9758# Do we need to explicitly link libc? 9759# 9760case "x$archive_cmds_need_lc" in 9761x|xyes) 9762 # Assume -lc should be added 9763 archive_cmds_need_lc=yes 9764 9765 if test "$enable_shared" = yes && test "$GCC" = yes; then 9766 case $archive_cmds in 9767 *'~'*) 9768 # FIXME: we may have to deal with multi-command sequences. 9769 ;; 9770 '$CC '*) 9771 # Test whether the compiler implicitly links with -lc since on some 9772 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9773 # to ld, don't add -lc before -lgcc. 9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9775$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9776if ${lt_cv_archive_cmds_need_lc+:} false; then : 9777 $as_echo_n "(cached) " >&6 9778else 9779 $RM conftest* 9780 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9781 9782 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9783 (eval $ac_compile) 2>&5 9784 ac_status=$? 9785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9786 test $ac_status = 0; } 2>conftest.err; then 9787 soname=conftest 9788 lib=conftest 9789 libobjs=conftest.$ac_objext 9790 deplibs= 9791 wl=$lt_prog_compiler_wl 9792 pic_flag=$lt_prog_compiler_pic 9793 compiler_flags=-v 9794 linker_flags=-v 9795 verstring= 9796 output_objdir=. 9797 libname=conftest 9798 lt_save_allow_undefined_flag=$allow_undefined_flag 9799 allow_undefined_flag= 9800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9801 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9802 ac_status=$? 9803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9804 test $ac_status = 0; } 9805 then 9806 lt_cv_archive_cmds_need_lc=no 9807 else 9808 lt_cv_archive_cmds_need_lc=yes 9809 fi 9810 allow_undefined_flag=$lt_save_allow_undefined_flag 9811 else 9812 cat conftest.err 1>&5 9813 fi 9814 $RM conftest* 9815 9816fi 9817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9818$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9819 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9820 ;; 9821 esac 9822 fi 9823 ;; 9824esac 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9983$as_echo_n "checking dynamic linker characteristics... " >&6; } 9984 9985if test "$GCC" = yes; then 9986 case $host_os in 9987 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9988 *) lt_awk_arg="/^libraries:/" ;; 9989 esac 9990 case $host_os in 9991 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 9992 *) lt_sed_strip_eq="s,=/,/,g" ;; 9993 esac 9994 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9995 case $lt_search_path_spec in 9996 *\;*) 9997 # if the path contains ";" then we assume it to be the separator 9998 # otherwise default to the standard path separator (i.e. ":") - it is 9999 # assumed that no part of a normal pathname contains ";" but that should 10000 # okay in the real world where ";" in dirpaths is itself problematic. 10001 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10002 ;; 10003 *) 10004 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10005 ;; 10006 esac 10007 # Ok, now we have the path, separated by spaces, we can step through it 10008 # and add multilib dir if necessary. 10009 lt_tmp_lt_search_path_spec= 10010 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10011 for lt_sys_path in $lt_search_path_spec; do 10012 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10013 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10014 else 10015 test -d "$lt_sys_path" && \ 10016 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10017 fi 10018 done 10019 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10020BEGIN {RS=" "; FS="/|\n";} { 10021 lt_foo=""; 10022 lt_count=0; 10023 for (lt_i = NF; lt_i > 0; lt_i--) { 10024 if ($lt_i != "" && $lt_i != ".") { 10025 if ($lt_i == "..") { 10026 lt_count++; 10027 } else { 10028 if (lt_count == 0) { 10029 lt_foo="/" $lt_i lt_foo; 10030 } else { 10031 lt_count--; 10032 } 10033 } 10034 } 10035 } 10036 if (lt_foo != "") { lt_freq[lt_foo]++; } 10037 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10038}'` 10039 # AWK program above erroneously prepends '/' to C:/dos/paths 10040 # for these hosts. 10041 case $host_os in 10042 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10043 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10044 esac 10045 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10046else 10047 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10048fi 10049library_names_spec= 10050libname_spec='lib$name' 10051soname_spec= 10052shrext_cmds=".so" 10053postinstall_cmds= 10054postuninstall_cmds= 10055finish_cmds= 10056finish_eval= 10057shlibpath_var= 10058shlibpath_overrides_runpath=unknown 10059version_type=none 10060dynamic_linker="$host_os ld.so" 10061sys_lib_dlsearch_path_spec="/lib /usr/lib" 10062need_lib_prefix=unknown 10063hardcode_into_libs=no 10064 10065# when you set need_version to no, make sure it does not cause -set_version 10066# flags to be left without arguments 10067need_version=unknown 10068 10069case $host_os in 10070aix3*) 10071 version_type=linux 10072 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10073 shlibpath_var=LIBPATH 10074 10075 # AIX 3 has no versioning support, so we append a major version to the name. 10076 soname_spec='${libname}${release}${shared_ext}$major' 10077 ;; 10078 10079aix[4-9]*) 10080 version_type=linux 10081 need_lib_prefix=no 10082 need_version=no 10083 hardcode_into_libs=yes 10084 if test "$host_cpu" = ia64; then 10085 # AIX 5 supports IA64 10086 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10087 shlibpath_var=LD_LIBRARY_PATH 10088 else 10089 # With GCC up to 2.95.x, collect2 would create an import file 10090 # for dependence libraries. The import file would start with 10091 # the line `#! .'. This would cause the generated library to 10092 # depend on `.', always an invalid library. This was fixed in 10093 # development snapshots of GCC prior to 3.0. 10094 case $host_os in 10095 aix4 | aix4.[01] | aix4.[01].*) 10096 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10097 echo ' yes ' 10098 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10099 : 10100 else 10101 can_build_shared=no 10102 fi 10103 ;; 10104 esac 10105 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10106 # soname into executable. Probably we can add versioning support to 10107 # collect2, so additional links can be useful in future. 10108 if test "$aix_use_runtimelinking" = yes; then 10109 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10110 # instead of lib<name>.a to let people know that these are not 10111 # typical AIX shared libraries. 10112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10113 else 10114 # We preserve .a as extension for shared libraries through AIX4.2 10115 # and later when we are not doing run time linking. 10116 library_names_spec='${libname}${release}.a $libname.a' 10117 soname_spec='${libname}${release}${shared_ext}$major' 10118 fi 10119 shlibpath_var=LIBPATH 10120 fi 10121 ;; 10122 10123amigaos*) 10124 case $host_cpu in 10125 powerpc) 10126 # Since July 2007 AmigaOS4 officially supports .so libraries. 10127 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10129 ;; 10130 m68k) 10131 library_names_spec='$libname.ixlibrary $libname.a' 10132 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10133 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 10134 ;; 10135 esac 10136 ;; 10137 10138beos*) 10139 library_names_spec='${libname}${shared_ext}' 10140 dynamic_linker="$host_os ld.so" 10141 shlibpath_var=LIBRARY_PATH 10142 ;; 10143 10144bsdi[45]*) 10145 version_type=linux 10146 need_version=no 10147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10148 soname_spec='${libname}${release}${shared_ext}$major' 10149 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10150 shlibpath_var=LD_LIBRARY_PATH 10151 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10152 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10153 # the default ld.so.conf also contains /usr/contrib/lib and 10154 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10155 # libtool to hard-code these into programs 10156 ;; 10157 10158cygwin* | mingw* | pw32* | cegcc*) 10159 version_type=windows 10160 shrext_cmds=".dll" 10161 need_version=no 10162 need_lib_prefix=no 10163 10164 case $GCC,$cc_basename in 10165 yes,*) 10166 # gcc 10167 library_names_spec='$libname.dll.a' 10168 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10169 postinstall_cmds='base_file=`basename \${file}`~ 10170 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10171 dldir=$destdir/`dirname \$dlpath`~ 10172 test -d \$dldir || mkdir -p \$dldir~ 10173 $install_prog $dir/$dlname \$dldir/$dlname~ 10174 chmod a+x \$dldir/$dlname~ 10175 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10176 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10177 fi' 10178 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10179 dlpath=$dir/\$dldll~ 10180 $RM \$dlpath' 10181 shlibpath_overrides_runpath=yes 10182 10183 case $host_os in 10184 cygwin*) 10185 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10186 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10187 10188 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10189 ;; 10190 mingw* | cegcc*) 10191 # MinGW DLLs use traditional 'lib' prefix 10192 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10193 ;; 10194 pw32*) 10195 # pw32 DLLs use 'pw' prefix rather than 'lib' 10196 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10197 ;; 10198 esac 10199 dynamic_linker='Win32 ld.exe' 10200 ;; 10201 10202 *,cl*) 10203 # Native MSVC 10204 libname_spec='$name' 10205 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10206 library_names_spec='${libname}.dll.lib' 10207 10208 case $build_os in 10209 mingw*) 10210 sys_lib_search_path_spec= 10211 lt_save_ifs=$IFS 10212 IFS=';' 10213 for lt_path in $LIB 10214 do 10215 IFS=$lt_save_ifs 10216 # Let DOS variable expansion print the short 8.3 style file name. 10217 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10218 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10219 done 10220 IFS=$lt_save_ifs 10221 # Convert to MSYS style. 10222 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10223 ;; 10224 cygwin*) 10225 # Convert to unix form, then to dos form, then back to unix form 10226 # but this time dos style (no spaces!) so that the unix form looks 10227 # like /cygdrive/c/PROGRA~1:/cygdr... 10228 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10229 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10230 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10231 ;; 10232 *) 10233 sys_lib_search_path_spec="$LIB" 10234 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10235 # It is most probably a Windows format PATH. 10236 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10237 else 10238 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10239 fi 10240 # FIXME: find the short name or the path components, as spaces are 10241 # common. (e.g. "Program Files" -> "PROGRA~1") 10242 ;; 10243 esac 10244 10245 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10246 postinstall_cmds='base_file=`basename \${file}`~ 10247 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10248 dldir=$destdir/`dirname \$dlpath`~ 10249 test -d \$dldir || mkdir -p \$dldir~ 10250 $install_prog $dir/$dlname \$dldir/$dlname' 10251 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10252 dlpath=$dir/\$dldll~ 10253 $RM \$dlpath' 10254 shlibpath_overrides_runpath=yes 10255 dynamic_linker='Win32 link.exe' 10256 ;; 10257 10258 *) 10259 # Assume MSVC wrapper 10260 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10261 dynamic_linker='Win32 ld.exe' 10262 ;; 10263 esac 10264 # FIXME: first we should search . and the directory the executable is in 10265 shlibpath_var=PATH 10266 ;; 10267 10268darwin* | rhapsody*) 10269 dynamic_linker="$host_os dyld" 10270 version_type=darwin 10271 need_lib_prefix=no 10272 need_version=no 10273 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10274 soname_spec='${libname}${release}${major}$shared_ext' 10275 shlibpath_overrides_runpath=yes 10276 shlibpath_var=DYLD_LIBRARY_PATH 10277 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10278 10279 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10280 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10281 ;; 10282 10283dgux*) 10284 version_type=linux 10285 need_lib_prefix=no 10286 need_version=no 10287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10288 soname_spec='${libname}${release}${shared_ext}$major' 10289 shlibpath_var=LD_LIBRARY_PATH 10290 ;; 10291 10292freebsd1*) 10293 dynamic_linker=no 10294 ;; 10295 10296freebsd* | dragonfly*) 10297 # DragonFly does not have aout. When/if they implement a new 10298 # versioning mechanism, adjust this. 10299 if test -x /usr/bin/objformat; then 10300 objformat=`/usr/bin/objformat` 10301 else 10302 case $host_os in 10303 freebsd[123]*) objformat=aout ;; 10304 *) objformat=elf ;; 10305 esac 10306 fi 10307 version_type=freebsd-$objformat 10308 case $version_type in 10309 freebsd-elf*) 10310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10311 need_version=no 10312 need_lib_prefix=no 10313 ;; 10314 freebsd-*) 10315 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10316 need_version=yes 10317 ;; 10318 esac 10319 shlibpath_var=LD_LIBRARY_PATH 10320 case $host_os in 10321 freebsd2*) 10322 shlibpath_overrides_runpath=yes 10323 ;; 10324 freebsd3.[01]* | freebsdelf3.[01]*) 10325 shlibpath_overrides_runpath=yes 10326 hardcode_into_libs=yes 10327 ;; 10328 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10329 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10330 shlibpath_overrides_runpath=no 10331 hardcode_into_libs=yes 10332 ;; 10333 *) # from 4.6 on, and DragonFly 10334 shlibpath_overrides_runpath=yes 10335 hardcode_into_libs=yes 10336 ;; 10337 esac 10338 ;; 10339 10340gnu*) 10341 version_type=linux 10342 need_lib_prefix=no 10343 need_version=no 10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10345 soname_spec='${libname}${release}${shared_ext}$major' 10346 shlibpath_var=LD_LIBRARY_PATH 10347 shlibpath_overrides_runpath=no 10348 hardcode_into_libs=yes 10349 ;; 10350 10351haiku*) 10352 version_type=linux 10353 need_lib_prefix=no 10354 need_version=no 10355 dynamic_linker="$host_os runtime_loader" 10356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10357 soname_spec='${libname}${release}${shared_ext}$major' 10358 shlibpath_var=LIBRARY_PATH 10359 shlibpath_overrides_runpath=yes 10360 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10361 hardcode_into_libs=yes 10362 ;; 10363 10364hpux9* | hpux10* | hpux11*) 10365 # Give a soname corresponding to the major version so that dld.sl refuses to 10366 # link against other versions. 10367 version_type=sunos 10368 need_lib_prefix=no 10369 need_version=no 10370 case $host_cpu in 10371 ia64*) 10372 shrext_cmds='.so' 10373 hardcode_into_libs=yes 10374 dynamic_linker="$host_os dld.so" 10375 shlibpath_var=LD_LIBRARY_PATH 10376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10378 soname_spec='${libname}${release}${shared_ext}$major' 10379 if test "X$HPUX_IA64_MODE" = X32; then 10380 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10381 else 10382 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10383 fi 10384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10385 ;; 10386 hppa*64*) 10387 shrext_cmds='.sl' 10388 hardcode_into_libs=yes 10389 dynamic_linker="$host_os dld.sl" 10390 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10393 soname_spec='${libname}${release}${shared_ext}$major' 10394 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10395 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10396 ;; 10397 *) 10398 shrext_cmds='.sl' 10399 dynamic_linker="$host_os dld.sl" 10400 shlibpath_var=SHLIB_PATH 10401 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10403 soname_spec='${libname}${release}${shared_ext}$major' 10404 ;; 10405 esac 10406 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10407 postinstall_cmds='chmod 555 $lib' 10408 # or fails outright, so override atomically: 10409 install_override_mode=555 10410 ;; 10411 10412interix[3-9]*) 10413 version_type=linux 10414 need_lib_prefix=no 10415 need_version=no 10416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10417 soname_spec='${libname}${release}${shared_ext}$major' 10418 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10419 shlibpath_var=LD_LIBRARY_PATH 10420 shlibpath_overrides_runpath=no 10421 hardcode_into_libs=yes 10422 ;; 10423 10424irix5* | irix6* | nonstopux*) 10425 case $host_os in 10426 nonstopux*) version_type=nonstopux ;; 10427 *) 10428 if test "$lt_cv_prog_gnu_ld" = yes; then 10429 version_type=linux 10430 else 10431 version_type=irix 10432 fi ;; 10433 esac 10434 need_lib_prefix=no 10435 need_version=no 10436 soname_spec='${libname}${release}${shared_ext}$major' 10437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10438 case $host_os in 10439 irix5* | nonstopux*) 10440 libsuff= shlibsuff= 10441 ;; 10442 *) 10443 case $LD in # libtool.m4 will add one of these switches to LD 10444 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10445 libsuff= shlibsuff= libmagic=32-bit;; 10446 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10447 libsuff=32 shlibsuff=N32 libmagic=N32;; 10448 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10449 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10450 *) libsuff= shlibsuff= libmagic=never-match;; 10451 esac 10452 ;; 10453 esac 10454 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10455 shlibpath_overrides_runpath=no 10456 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10457 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10458 hardcode_into_libs=yes 10459 ;; 10460 10461# No shared lib support for Linux oldld, aout, or coff. 10462linux*oldld* | linux*aout* | linux*coff*) 10463 dynamic_linker=no 10464 ;; 10465 10466# This must be Linux ELF. 10467linux* | k*bsd*-gnu | kopensolaris*-gnu) 10468 version_type=linux 10469 need_lib_prefix=no 10470 need_version=no 10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10472 soname_spec='${libname}${release}${shared_ext}$major' 10473 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10474 shlibpath_var=LD_LIBRARY_PATH 10475 shlibpath_overrides_runpath=no 10476 10477 # Some binutils ld are patched to set DT_RUNPATH 10478 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10479 $as_echo_n "(cached) " >&6 10480else 10481 lt_cv_shlibpath_overrides_runpath=no 10482 save_LDFLAGS=$LDFLAGS 10483 save_libdir=$libdir 10484 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10485 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10487/* end confdefs.h. */ 10488 10489int 10490main () 10491{ 10492 10493 ; 10494 return 0; 10495} 10496_ACEOF 10497if ac_fn_c_try_link "$LINENO"; then : 10498 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10499 lt_cv_shlibpath_overrides_runpath=yes 10500fi 10501fi 10502rm -f core conftest.err conftest.$ac_objext \ 10503 conftest$ac_exeext conftest.$ac_ext 10504 LDFLAGS=$save_LDFLAGS 10505 libdir=$save_libdir 10506 10507fi 10508 10509 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10510 10511 # This implies no fast_install, which is unacceptable. 10512 # Some rework will be needed to allow for fast_install 10513 # before this can be enabled. 10514 hardcode_into_libs=yes 10515 10516 # find out which ABI we are using 10517 libsuff= 10518 case "$host_cpu" in 10519 x86_64*|s390x*|powerpc64*) 10520 echo '#line 10520 "configure"' > conftest.$ac_ext 10521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10522 (eval $ac_compile) 2>&5 10523 ac_status=$? 10524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10525 test $ac_status = 0; }; then 10526 case `/usr/bin/file conftest.$ac_objext` in 10527 *64-bit*) 10528 libsuff=64 10529 ;; 10530 esac 10531 fi 10532 rm -rf conftest* 10533 ;; 10534 esac 10535 10536 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 10537 10538 # Append ld.so.conf contents to the search path 10539 if test -f /etc/ld.so.conf; then 10540 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' ' '` 10541 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 10542 fi 10543 10544 # We used to test for /lib/ld.so.1 and disable shared libraries on 10545 # powerpc, because MkLinux only supported shared libraries with the 10546 # GNU dynamic linker. Since this was broken with cross compilers, 10547 # most powerpc-linux boxes support dynamic linking these days and 10548 # people can always --disable-shared, the test was removed, and we 10549 # assume the GNU/Linux dynamic linker is in use. 10550 dynamic_linker='GNU/Linux ld.so' 10551 ;; 10552 10553netbsd*) 10554 version_type=sunos 10555 need_lib_prefix=no 10556 need_version=no 10557 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10559 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10560 dynamic_linker='NetBSD (a.out) ld.so' 10561 else 10562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10563 soname_spec='${libname}${release}${shared_ext}$major' 10564 dynamic_linker='NetBSD ld.elf_so' 10565 fi 10566 shlibpath_var=LD_LIBRARY_PATH 10567 shlibpath_overrides_runpath=yes 10568 hardcode_into_libs=yes 10569 ;; 10570 10571newsos6) 10572 version_type=linux 10573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10574 shlibpath_var=LD_LIBRARY_PATH 10575 shlibpath_overrides_runpath=yes 10576 ;; 10577 10578*nto* | *qnx*) 10579 version_type=qnx 10580 need_lib_prefix=no 10581 need_version=no 10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10583 soname_spec='${libname}${release}${shared_ext}$major' 10584 shlibpath_var=LD_LIBRARY_PATH 10585 shlibpath_overrides_runpath=no 10586 hardcode_into_libs=yes 10587 dynamic_linker='ldqnx.so' 10588 ;; 10589 10590openbsd*) 10591 version_type=sunos 10592 sys_lib_dlsearch_path_spec="/usr/lib" 10593 need_lib_prefix=no 10594 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10595 case $host_os in 10596 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10597 *) need_version=no ;; 10598 esac 10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10600 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10601 shlibpath_var=LD_LIBRARY_PATH 10602 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10603 case $host_os in 10604 openbsd2.[89] | openbsd2.[89].*) 10605 shlibpath_overrides_runpath=no 10606 ;; 10607 *) 10608 shlibpath_overrides_runpath=yes 10609 ;; 10610 esac 10611 else 10612 shlibpath_overrides_runpath=yes 10613 fi 10614 ;; 10615 10616os2*) 10617 libname_spec='$name' 10618 shrext_cmds=".dll" 10619 need_lib_prefix=no 10620 library_names_spec='$libname${shared_ext} $libname.a' 10621 dynamic_linker='OS/2 ld.exe' 10622 shlibpath_var=LIBPATH 10623 ;; 10624 10625osf3* | osf4* | osf5*) 10626 version_type=osf 10627 need_lib_prefix=no 10628 need_version=no 10629 soname_spec='${libname}${release}${shared_ext}$major' 10630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10631 shlibpath_var=LD_LIBRARY_PATH 10632 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10633 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10634 ;; 10635 10636rdos*) 10637 dynamic_linker=no 10638 ;; 10639 10640solaris*) 10641 version_type=linux 10642 need_lib_prefix=no 10643 need_version=no 10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10645 soname_spec='${libname}${release}${shared_ext}$major' 10646 shlibpath_var=LD_LIBRARY_PATH 10647 shlibpath_overrides_runpath=yes 10648 hardcode_into_libs=yes 10649 # ldd complains unless libraries are executable 10650 postinstall_cmds='chmod +x $lib' 10651 ;; 10652 10653sunos4*) 10654 version_type=sunos 10655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10656 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10657 shlibpath_var=LD_LIBRARY_PATH 10658 shlibpath_overrides_runpath=yes 10659 if test "$with_gnu_ld" = yes; then 10660 need_lib_prefix=no 10661 fi 10662 need_version=yes 10663 ;; 10664 10665sysv4 | sysv4.3*) 10666 version_type=linux 10667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10668 soname_spec='${libname}${release}${shared_ext}$major' 10669 shlibpath_var=LD_LIBRARY_PATH 10670 case $host_vendor in 10671 sni) 10672 shlibpath_overrides_runpath=no 10673 need_lib_prefix=no 10674 runpath_var=LD_RUN_PATH 10675 ;; 10676 siemens) 10677 need_lib_prefix=no 10678 ;; 10679 motorola) 10680 need_lib_prefix=no 10681 need_version=no 10682 shlibpath_overrides_runpath=no 10683 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10684 ;; 10685 esac 10686 ;; 10687 10688sysv4*MP*) 10689 if test -d /usr/nec ;then 10690 version_type=linux 10691 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10692 soname_spec='$libname${shared_ext}.$major' 10693 shlibpath_var=LD_LIBRARY_PATH 10694 fi 10695 ;; 10696 10697sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10698 version_type=freebsd-elf 10699 need_lib_prefix=no 10700 need_version=no 10701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10702 soname_spec='${libname}${release}${shared_ext}$major' 10703 shlibpath_var=LD_LIBRARY_PATH 10704 shlibpath_overrides_runpath=yes 10705 hardcode_into_libs=yes 10706 if test "$with_gnu_ld" = yes; then 10707 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10708 else 10709 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10710 case $host_os in 10711 sco3.2v5*) 10712 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10713 ;; 10714 esac 10715 fi 10716 sys_lib_dlsearch_path_spec='/usr/lib' 10717 ;; 10718 10719tpf*) 10720 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10721 version_type=linux 10722 need_lib_prefix=no 10723 need_version=no 10724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10725 shlibpath_var=LD_LIBRARY_PATH 10726 shlibpath_overrides_runpath=no 10727 hardcode_into_libs=yes 10728 ;; 10729 10730uts4*) 10731 version_type=linux 10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10733 soname_spec='${libname}${release}${shared_ext}$major' 10734 shlibpath_var=LD_LIBRARY_PATH 10735 ;; 10736 10737*) 10738 dynamic_linker=no 10739 ;; 10740esac 10741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10742$as_echo "$dynamic_linker" >&6; } 10743test "$dynamic_linker" = no && can_build_shared=no 10744 10745variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10746if test "$GCC" = yes; then 10747 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10748fi 10749 10750if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10751 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10752fi 10753if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10754 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10755fi 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10849$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10850hardcode_action= 10851if test -n "$hardcode_libdir_flag_spec" || 10852 test -n "$runpath_var" || 10853 test "X$hardcode_automatic" = "Xyes" ; then 10854 10855 # We can hardcode non-existent directories. 10856 if test "$hardcode_direct" != no && 10857 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10858 # have to relink, otherwise we might link with an installed library 10859 # when we should be linking with a yet-to-be-installed one 10860 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10861 test "$hardcode_minus_L" != no; then 10862 # Linking always hardcodes the temporary library directory. 10863 hardcode_action=relink 10864 else 10865 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10866 hardcode_action=immediate 10867 fi 10868else 10869 # We cannot hardcode anything, or else we can only hardcode existing 10870 # directories. 10871 hardcode_action=unsupported 10872fi 10873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10874$as_echo "$hardcode_action" >&6; } 10875 10876if test "$hardcode_action" = relink || 10877 test "$inherit_rpath" = yes; then 10878 # Fast installation is not supported 10879 enable_fast_install=no 10880elif test "$shlibpath_overrides_runpath" = yes || 10881 test "$enable_shared" = no; then 10882 # Fast installation is not necessary 10883 enable_fast_install=needless 10884fi 10885 10886 10887 10888 10889 10890 10891 if test "x$enable_dlopen" != xyes; then 10892 enable_dlopen=unknown 10893 enable_dlopen_self=unknown 10894 enable_dlopen_self_static=unknown 10895else 10896 lt_cv_dlopen=no 10897 lt_cv_dlopen_libs= 10898 10899 case $host_os in 10900 beos*) 10901 lt_cv_dlopen="load_add_on" 10902 lt_cv_dlopen_libs= 10903 lt_cv_dlopen_self=yes 10904 ;; 10905 10906 mingw* | pw32* | cegcc*) 10907 lt_cv_dlopen="LoadLibrary" 10908 lt_cv_dlopen_libs= 10909 ;; 10910 10911 cygwin*) 10912 lt_cv_dlopen="dlopen" 10913 lt_cv_dlopen_libs= 10914 ;; 10915 10916 darwin*) 10917 # if libdl is installed we need to link against it 10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10919$as_echo_n "checking for dlopen in -ldl... " >&6; } 10920if ${ac_cv_lib_dl_dlopen+:} false; then : 10921 $as_echo_n "(cached) " >&6 10922else 10923 ac_check_lib_save_LIBS=$LIBS 10924LIBS="-ldl $LIBS" 10925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10926/* end confdefs.h. */ 10927 10928/* Override any GCC internal prototype to avoid an error. 10929 Use char because int might match the return type of a GCC 10930 builtin and then its argument prototype would still apply. */ 10931#ifdef __cplusplus 10932extern "C" 10933#endif 10934char dlopen (); 10935int 10936main () 10937{ 10938return dlopen (); 10939 ; 10940 return 0; 10941} 10942_ACEOF 10943if ac_fn_c_try_link "$LINENO"; then : 10944 ac_cv_lib_dl_dlopen=yes 10945else 10946 ac_cv_lib_dl_dlopen=no 10947fi 10948rm -f core conftest.err conftest.$ac_objext \ 10949 conftest$ac_exeext conftest.$ac_ext 10950LIBS=$ac_check_lib_save_LIBS 10951fi 10952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10953$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10954if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10955 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10956else 10957 10958 lt_cv_dlopen="dyld" 10959 lt_cv_dlopen_libs= 10960 lt_cv_dlopen_self=yes 10961 10962fi 10963 10964 ;; 10965 10966 *) 10967 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10968if test "x$ac_cv_func_shl_load" = xyes; then : 10969 lt_cv_dlopen="shl_load" 10970else 10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10972$as_echo_n "checking for shl_load in -ldld... " >&6; } 10973if ${ac_cv_lib_dld_shl_load+:} false; then : 10974 $as_echo_n "(cached) " >&6 10975else 10976 ac_check_lib_save_LIBS=$LIBS 10977LIBS="-ldld $LIBS" 10978cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10979/* end confdefs.h. */ 10980 10981/* Override any GCC internal prototype to avoid an error. 10982 Use char because int might match the return type of a GCC 10983 builtin and then its argument prototype would still apply. */ 10984#ifdef __cplusplus 10985extern "C" 10986#endif 10987char shl_load (); 10988int 10989main () 10990{ 10991return shl_load (); 10992 ; 10993 return 0; 10994} 10995_ACEOF 10996if ac_fn_c_try_link "$LINENO"; then : 10997 ac_cv_lib_dld_shl_load=yes 10998else 10999 ac_cv_lib_dld_shl_load=no 11000fi 11001rm -f core conftest.err conftest.$ac_objext \ 11002 conftest$ac_exeext conftest.$ac_ext 11003LIBS=$ac_check_lib_save_LIBS 11004fi 11005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11006$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11007if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11008 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11009else 11010 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11011if test "x$ac_cv_func_dlopen" = xyes; then : 11012 lt_cv_dlopen="dlopen" 11013else 11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11015$as_echo_n "checking for dlopen in -ldl... " >&6; } 11016if ${ac_cv_lib_dl_dlopen+:} false; then : 11017 $as_echo_n "(cached) " >&6 11018else 11019 ac_check_lib_save_LIBS=$LIBS 11020LIBS="-ldl $LIBS" 11021cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11022/* end confdefs.h. */ 11023 11024/* Override any GCC internal prototype to avoid an error. 11025 Use char because int might match the return type of a GCC 11026 builtin and then its argument prototype would still apply. */ 11027#ifdef __cplusplus 11028extern "C" 11029#endif 11030char dlopen (); 11031int 11032main () 11033{ 11034return dlopen (); 11035 ; 11036 return 0; 11037} 11038_ACEOF 11039if ac_fn_c_try_link "$LINENO"; then : 11040 ac_cv_lib_dl_dlopen=yes 11041else 11042 ac_cv_lib_dl_dlopen=no 11043fi 11044rm -f core conftest.err conftest.$ac_objext \ 11045 conftest$ac_exeext conftest.$ac_ext 11046LIBS=$ac_check_lib_save_LIBS 11047fi 11048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11049$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11050if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11051 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11052else 11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11054$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11055if ${ac_cv_lib_svld_dlopen+:} false; then : 11056 $as_echo_n "(cached) " >&6 11057else 11058 ac_check_lib_save_LIBS=$LIBS 11059LIBS="-lsvld $LIBS" 11060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11061/* end confdefs.h. */ 11062 11063/* Override any GCC internal prototype to avoid an error. 11064 Use char because int might match the return type of a GCC 11065 builtin and then its argument prototype would still apply. */ 11066#ifdef __cplusplus 11067extern "C" 11068#endif 11069char dlopen (); 11070int 11071main () 11072{ 11073return dlopen (); 11074 ; 11075 return 0; 11076} 11077_ACEOF 11078if ac_fn_c_try_link "$LINENO"; then : 11079 ac_cv_lib_svld_dlopen=yes 11080else 11081 ac_cv_lib_svld_dlopen=no 11082fi 11083rm -f core conftest.err conftest.$ac_objext \ 11084 conftest$ac_exeext conftest.$ac_ext 11085LIBS=$ac_check_lib_save_LIBS 11086fi 11087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11088$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11089if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11090 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11091else 11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11093$as_echo_n "checking for dld_link in -ldld... " >&6; } 11094if ${ac_cv_lib_dld_dld_link+:} false; then : 11095 $as_echo_n "(cached) " >&6 11096else 11097 ac_check_lib_save_LIBS=$LIBS 11098LIBS="-ldld $LIBS" 11099cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11100/* end confdefs.h. */ 11101 11102/* Override any GCC internal prototype to avoid an error. 11103 Use char because int might match the return type of a GCC 11104 builtin and then its argument prototype would still apply. */ 11105#ifdef __cplusplus 11106extern "C" 11107#endif 11108char dld_link (); 11109int 11110main () 11111{ 11112return dld_link (); 11113 ; 11114 return 0; 11115} 11116_ACEOF 11117if ac_fn_c_try_link "$LINENO"; then : 11118 ac_cv_lib_dld_dld_link=yes 11119else 11120 ac_cv_lib_dld_dld_link=no 11121fi 11122rm -f core conftest.err conftest.$ac_objext \ 11123 conftest$ac_exeext conftest.$ac_ext 11124LIBS=$ac_check_lib_save_LIBS 11125fi 11126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11127$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11128if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11129 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11130fi 11131 11132 11133fi 11134 11135 11136fi 11137 11138 11139fi 11140 11141 11142fi 11143 11144 11145fi 11146 11147 ;; 11148 esac 11149 11150 if test "x$lt_cv_dlopen" != xno; then 11151 enable_dlopen=yes 11152 else 11153 enable_dlopen=no 11154 fi 11155 11156 case $lt_cv_dlopen in 11157 dlopen) 11158 save_CPPFLAGS="$CPPFLAGS" 11159 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11160 11161 save_LDFLAGS="$LDFLAGS" 11162 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11163 11164 save_LIBS="$LIBS" 11165 LIBS="$lt_cv_dlopen_libs $LIBS" 11166 11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11168$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11169if ${lt_cv_dlopen_self+:} false; then : 11170 $as_echo_n "(cached) " >&6 11171else 11172 if test "$cross_compiling" = yes; then : 11173 lt_cv_dlopen_self=cross 11174else 11175 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11176 lt_status=$lt_dlunknown 11177 cat > conftest.$ac_ext <<_LT_EOF 11178#line $LINENO "configure" 11179#include "confdefs.h" 11180 11181#if HAVE_DLFCN_H 11182#include <dlfcn.h> 11183#endif 11184 11185#include <stdio.h> 11186 11187#ifdef RTLD_GLOBAL 11188# define LT_DLGLOBAL RTLD_GLOBAL 11189#else 11190# ifdef DL_GLOBAL 11191# define LT_DLGLOBAL DL_GLOBAL 11192# else 11193# define LT_DLGLOBAL 0 11194# endif 11195#endif 11196 11197/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11198 find out it does not work in some platform. */ 11199#ifndef LT_DLLAZY_OR_NOW 11200# ifdef RTLD_LAZY 11201# define LT_DLLAZY_OR_NOW RTLD_LAZY 11202# else 11203# ifdef DL_LAZY 11204# define LT_DLLAZY_OR_NOW DL_LAZY 11205# else 11206# ifdef RTLD_NOW 11207# define LT_DLLAZY_OR_NOW RTLD_NOW 11208# else 11209# ifdef DL_NOW 11210# define LT_DLLAZY_OR_NOW DL_NOW 11211# else 11212# define LT_DLLAZY_OR_NOW 0 11213# endif 11214# endif 11215# endif 11216# endif 11217#endif 11218 11219/* When -fvisbility=hidden is used, assume the code has been annotated 11220 correspondingly for the symbols needed. */ 11221#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11222int fnord () __attribute__((visibility("default"))); 11223#endif 11224 11225int fnord () { return 42; } 11226int main () 11227{ 11228 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11229 int status = $lt_dlunknown; 11230 11231 if (self) 11232 { 11233 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11234 else 11235 { 11236 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11237 else puts (dlerror ()); 11238 } 11239 /* dlclose (self); */ 11240 } 11241 else 11242 puts (dlerror ()); 11243 11244 return status; 11245} 11246_LT_EOF 11247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11248 (eval $ac_link) 2>&5 11249 ac_status=$? 11250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11251 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11252 (./conftest; exit; ) >&5 2>/dev/null 11253 lt_status=$? 11254 case x$lt_status in 11255 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11256 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11257 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11258 esac 11259 else : 11260 # compilation failed 11261 lt_cv_dlopen_self=no 11262 fi 11263fi 11264rm -fr conftest* 11265 11266 11267fi 11268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11269$as_echo "$lt_cv_dlopen_self" >&6; } 11270 11271 if test "x$lt_cv_dlopen_self" = xyes; then 11272 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11274$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11275if ${lt_cv_dlopen_self_static+:} false; then : 11276 $as_echo_n "(cached) " >&6 11277else 11278 if test "$cross_compiling" = yes; then : 11279 lt_cv_dlopen_self_static=cross 11280else 11281 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11282 lt_status=$lt_dlunknown 11283 cat > conftest.$ac_ext <<_LT_EOF 11284#line $LINENO "configure" 11285#include "confdefs.h" 11286 11287#if HAVE_DLFCN_H 11288#include <dlfcn.h> 11289#endif 11290 11291#include <stdio.h> 11292 11293#ifdef RTLD_GLOBAL 11294# define LT_DLGLOBAL RTLD_GLOBAL 11295#else 11296# ifdef DL_GLOBAL 11297# define LT_DLGLOBAL DL_GLOBAL 11298# else 11299# define LT_DLGLOBAL 0 11300# endif 11301#endif 11302 11303/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11304 find out it does not work in some platform. */ 11305#ifndef LT_DLLAZY_OR_NOW 11306# ifdef RTLD_LAZY 11307# define LT_DLLAZY_OR_NOW RTLD_LAZY 11308# else 11309# ifdef DL_LAZY 11310# define LT_DLLAZY_OR_NOW DL_LAZY 11311# else 11312# ifdef RTLD_NOW 11313# define LT_DLLAZY_OR_NOW RTLD_NOW 11314# else 11315# ifdef DL_NOW 11316# define LT_DLLAZY_OR_NOW DL_NOW 11317# else 11318# define LT_DLLAZY_OR_NOW 0 11319# endif 11320# endif 11321# endif 11322# endif 11323#endif 11324 11325/* When -fvisbility=hidden is used, assume the code has been annotated 11326 correspondingly for the symbols needed. */ 11327#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11328int fnord () __attribute__((visibility("default"))); 11329#endif 11330 11331int fnord () { return 42; } 11332int main () 11333{ 11334 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11335 int status = $lt_dlunknown; 11336 11337 if (self) 11338 { 11339 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11340 else 11341 { 11342 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11343 else puts (dlerror ()); 11344 } 11345 /* dlclose (self); */ 11346 } 11347 else 11348 puts (dlerror ()); 11349 11350 return status; 11351} 11352_LT_EOF 11353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11354 (eval $ac_link) 2>&5 11355 ac_status=$? 11356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11357 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11358 (./conftest; exit; ) >&5 2>/dev/null 11359 lt_status=$? 11360 case x$lt_status in 11361 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11362 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11363 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11364 esac 11365 else : 11366 # compilation failed 11367 lt_cv_dlopen_self_static=no 11368 fi 11369fi 11370rm -fr conftest* 11371 11372 11373fi 11374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11375$as_echo "$lt_cv_dlopen_self_static" >&6; } 11376 fi 11377 11378 CPPFLAGS="$save_CPPFLAGS" 11379 LDFLAGS="$save_LDFLAGS" 11380 LIBS="$save_LIBS" 11381 ;; 11382 esac 11383 11384 case $lt_cv_dlopen_self in 11385 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11386 *) enable_dlopen_self=unknown ;; 11387 esac 11388 11389 case $lt_cv_dlopen_self_static in 11390 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11391 *) enable_dlopen_self_static=unknown ;; 11392 esac 11393fi 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411striplib= 11412old_striplib= 11413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11414$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11415if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11416 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11417 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11419$as_echo "yes" >&6; } 11420else 11421# FIXME - insert some real tests, host_os isn't really good enough 11422 case $host_os in 11423 darwin*) 11424 if test -n "$STRIP" ; then 11425 striplib="$STRIP -x" 11426 old_striplib="$STRIP -S" 11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11428$as_echo "yes" >&6; } 11429 else 11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11431$as_echo "no" >&6; } 11432 fi 11433 ;; 11434 *) 11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11436$as_echo "no" >&6; } 11437 ;; 11438 esac 11439fi 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 # Report which library types will actually be built 11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11454$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11456$as_echo "$can_build_shared" >&6; } 11457 11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11459$as_echo_n "checking whether to build shared libraries... " >&6; } 11460 test "$can_build_shared" = "no" && enable_shared=no 11461 11462 # On AIX, shared libraries and static libraries use the same namespace, and 11463 # are all built from PIC. 11464 case $host_os in 11465 aix3*) 11466 test "$enable_shared" = yes && enable_static=no 11467 if test -n "$RANLIB"; then 11468 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11469 postinstall_cmds='$RANLIB $lib' 11470 fi 11471 ;; 11472 11473 aix[4-9]*) 11474 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11475 test "$enable_shared" = yes && enable_static=no 11476 fi 11477 ;; 11478 esac 11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11480$as_echo "$enable_shared" >&6; } 11481 11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11483$as_echo_n "checking whether to build static libraries... " >&6; } 11484 # Make sure either enable_shared or enable_static is yes. 11485 test "$enable_shared" = yes || enable_static=yes 11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11487$as_echo "$enable_static" >&6; } 11488 11489 11490 11491 11492fi 11493ac_ext=c 11494ac_cpp='$CPP $CPPFLAGS' 11495ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11496ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11497ac_compiler_gnu=$ac_cv_c_compiler_gnu 11498 11499CC="$lt_save_CC" 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 ac_config_commands="$ac_config_commands libtool" 11514 11515 11516 11517 11518# Only expand once: 11519 11520 11521 11522ac_ext=cpp 11523ac_cpp='$CXXCPP $CPPFLAGS' 11524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11527if test -z "$CXX"; then 11528 if test -n "$CCC"; then 11529 CXX=$CCC 11530 else 11531 if test -n "$ac_tool_prefix"; then 11532 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 11533 do 11534 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 11535set dummy $ac_tool_prefix$ac_prog; ac_word=$2 11536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11537$as_echo_n "checking for $ac_word... " >&6; } 11538if ${ac_cv_prog_CXX+:} false; then : 11539 $as_echo_n "(cached) " >&6 11540else 11541 if test -n "$CXX"; then 11542 ac_cv_prog_CXX="$CXX" # Let the user override the test. 11543else 11544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11545for as_dir in $PATH 11546do 11547 IFS=$as_save_IFS 11548 test -z "$as_dir" && as_dir=. 11549 for ac_exec_ext in '' $ac_executable_extensions; do 11550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11551 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 11552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11553 break 2 11554 fi 11555done 11556 done 11557IFS=$as_save_IFS 11558 11559fi 11560fi 11561CXX=$ac_cv_prog_CXX 11562if test -n "$CXX"; then 11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 11564$as_echo "$CXX" >&6; } 11565else 11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11567$as_echo "no" >&6; } 11568fi 11569 11570 11571 test -n "$CXX" && break 11572 done 11573fi 11574if test -z "$CXX"; then 11575 ac_ct_CXX=$CXX 11576 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 11577do 11578 # Extract the first word of "$ac_prog", so it can be a program name with args. 11579set dummy $ac_prog; ac_word=$2 11580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11581$as_echo_n "checking for $ac_word... " >&6; } 11582if ${ac_cv_prog_ac_ct_CXX+:} false; then : 11583 $as_echo_n "(cached) " >&6 11584else 11585 if test -n "$ac_ct_CXX"; then 11586 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 11587else 11588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11589for as_dir in $PATH 11590do 11591 IFS=$as_save_IFS 11592 test -z "$as_dir" && as_dir=. 11593 for ac_exec_ext in '' $ac_executable_extensions; do 11594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11595 ac_cv_prog_ac_ct_CXX="$ac_prog" 11596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11597 break 2 11598 fi 11599done 11600 done 11601IFS=$as_save_IFS 11602 11603fi 11604fi 11605ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 11606if test -n "$ac_ct_CXX"; then 11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 11608$as_echo "$ac_ct_CXX" >&6; } 11609else 11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11611$as_echo "no" >&6; } 11612fi 11613 11614 11615 test -n "$ac_ct_CXX" && break 11616done 11617 11618 if test "x$ac_ct_CXX" = x; then 11619 CXX="g++" 11620 else 11621 case $cross_compiling:$ac_tool_warned in 11622yes:) 11623{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11624$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11625ac_tool_warned=yes ;; 11626esac 11627 CXX=$ac_ct_CXX 11628 fi 11629fi 11630 11631 fi 11632fi 11633# Provide some information about the compiler. 11634$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 11635set X $ac_compile 11636ac_compiler=$2 11637for ac_option in --version -v -V -qversion; do 11638 { { ac_try="$ac_compiler $ac_option >&5" 11639case "(($ac_try" in 11640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11641 *) ac_try_echo=$ac_try;; 11642esac 11643eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 11644$as_echo "$ac_try_echo"; } >&5 11645 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 11646 ac_status=$? 11647 if test -s conftest.err; then 11648 sed '10a\ 11649... rest of stderr output deleted ... 11650 10q' conftest.err >conftest.er1 11651 cat conftest.er1 >&5 11652 fi 11653 rm -f conftest.er1 conftest.err 11654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11655 test $ac_status = 0; } 11656done 11657 11658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 11659$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 11660if ${ac_cv_cxx_compiler_gnu+:} false; then : 11661 $as_echo_n "(cached) " >&6 11662else 11663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11664/* end confdefs.h. */ 11665 11666int 11667main () 11668{ 11669#ifndef __GNUC__ 11670 choke me 11671#endif 11672 11673 ; 11674 return 0; 11675} 11676_ACEOF 11677if ac_fn_cxx_try_compile "$LINENO"; then : 11678 ac_compiler_gnu=yes 11679else 11680 ac_compiler_gnu=no 11681fi 11682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11683ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 11684 11685fi 11686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 11687$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 11688if test $ac_compiler_gnu = yes; then 11689 GXX=yes 11690else 11691 GXX= 11692fi 11693ac_test_CXXFLAGS=${CXXFLAGS+set} 11694ac_save_CXXFLAGS=$CXXFLAGS 11695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 11696$as_echo_n "checking whether $CXX accepts -g... " >&6; } 11697if ${ac_cv_prog_cxx_g+:} false; then : 11698 $as_echo_n "(cached) " >&6 11699else 11700 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 11701 ac_cxx_werror_flag=yes 11702 ac_cv_prog_cxx_g=no 11703 CXXFLAGS="-g" 11704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11705/* end confdefs.h. */ 11706 11707int 11708main () 11709{ 11710 11711 ; 11712 return 0; 11713} 11714_ACEOF 11715if ac_fn_cxx_try_compile "$LINENO"; then : 11716 ac_cv_prog_cxx_g=yes 11717else 11718 CXXFLAGS="" 11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11720/* end confdefs.h. */ 11721 11722int 11723main () 11724{ 11725 11726 ; 11727 return 0; 11728} 11729_ACEOF 11730if ac_fn_cxx_try_compile "$LINENO"; then : 11731 11732else 11733 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 11734 CXXFLAGS="-g" 11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11736/* end confdefs.h. */ 11737 11738int 11739main () 11740{ 11741 11742 ; 11743 return 0; 11744} 11745_ACEOF 11746if ac_fn_cxx_try_compile "$LINENO"; then : 11747 ac_cv_prog_cxx_g=yes 11748fi 11749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11750fi 11751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11752fi 11753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11754 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 11755fi 11756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 11757$as_echo "$ac_cv_prog_cxx_g" >&6; } 11758if test "$ac_test_CXXFLAGS" = set; then 11759 CXXFLAGS=$ac_save_CXXFLAGS 11760elif test $ac_cv_prog_cxx_g = yes; then 11761 if test "$GXX" = yes; then 11762 CXXFLAGS="-g -O2" 11763 else 11764 CXXFLAGS="-g" 11765 fi 11766else 11767 if test "$GXX" = yes; then 11768 CXXFLAGS="-O2" 11769 else 11770 CXXFLAGS= 11771 fi 11772fi 11773ac_ext=c 11774ac_cpp='$CPP $CPPFLAGS' 11775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11777ac_compiler_gnu=$ac_cv_c_compiler_gnu 11778 11779depcc="$CXX" am_compiler_list= 11780 11781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 11782$as_echo_n "checking dependency style of $depcc... " >&6; } 11783if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 11784 $as_echo_n "(cached) " >&6 11785else 11786 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 11787 # We make a subdir and do the tests there. Otherwise we can end up 11788 # making bogus files that we don't know about and never remove. For 11789 # instance it was reported that on HP-UX the gcc test will end up 11790 # making a dummy file named 'D' -- because '-MD' means "put the output 11791 # in D". 11792 rm -rf conftest.dir 11793 mkdir conftest.dir 11794 # Copy depcomp to subdir because otherwise we won't find it if we're 11795 # using a relative directory. 11796 cp "$am_depcomp" conftest.dir 11797 cd conftest.dir 11798 # We will build objects and dependencies in a subdirectory because 11799 # it helps to detect inapplicable dependency modes. For instance 11800 # both Tru64's cc and ICC support -MD to output dependencies as a 11801 # side effect of compilation, but ICC will put the dependencies in 11802 # the current directory while Tru64 will put them in the object 11803 # directory. 11804 mkdir sub 11805 11806 am_cv_CXX_dependencies_compiler_type=none 11807 if test "$am_compiler_list" = ""; then 11808 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 11809 fi 11810 am__universal=false 11811 case " $depcc " in #( 11812 *\ -arch\ *\ -arch\ *) am__universal=true ;; 11813 esac 11814 11815 for depmode in $am_compiler_list; do 11816 # Setup a source with many dependencies, because some compilers 11817 # like to wrap large dependency lists on column 80 (with \), and 11818 # we should not choose a depcomp mode which is confused by this. 11819 # 11820 # We need to recreate these files for each test, as the compiler may 11821 # overwrite some of them when testing with obscure command lines. 11822 # This happens at least with the AIX C compiler. 11823 : > sub/conftest.c 11824 for i in 1 2 3 4 5 6; do 11825 echo '#include "conftst'$i'.h"' >> sub/conftest.c 11826 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 11827 # Solaris 10 /bin/sh. 11828 echo '/* dummy */' > sub/conftst$i.h 11829 done 11830 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 11831 11832 # We check with '-c' and '-o' for the sake of the "dashmstdout" 11833 # mode. It turns out that the SunPro C++ compiler does not properly 11834 # handle '-M -o', and we need to detect this. Also, some Intel 11835 # versions had trouble with output in subdirs. 11836 am__obj=sub/conftest.${OBJEXT-o} 11837 am__minus_obj="-o $am__obj" 11838 case $depmode in 11839 gcc) 11840 # This depmode causes a compiler race in universal mode. 11841 test "$am__universal" = false || continue 11842 ;; 11843 nosideeffect) 11844 # After this tag, mechanisms are not by side-effect, so they'll 11845 # only be used when explicitly requested. 11846 if test "x$enable_dependency_tracking" = xyes; then 11847 continue 11848 else 11849 break 11850 fi 11851 ;; 11852 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 11853 # This compiler won't grok '-c -o', but also, the minuso test has 11854 # not run yet. These depmodes are late enough in the game, and 11855 # so weak that their functioning should not be impacted. 11856 am__obj=conftest.${OBJEXT-o} 11857 am__minus_obj= 11858 ;; 11859 none) break ;; 11860 esac 11861 if depmode=$depmode \ 11862 source=sub/conftest.c object=$am__obj \ 11863 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 11864 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 11865 >/dev/null 2>conftest.err && 11866 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 11867 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 11868 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 11869 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 11870 # icc doesn't choke on unknown options, it will just issue warnings 11871 # or remarks (even with -Werror). So we grep stderr for any message 11872 # that says an option was ignored or not supported. 11873 # When given -MP, icc 7.0 and 7.1 complain thusly: 11874 # icc: Command line warning: ignoring option '-M'; no argument required 11875 # The diagnosis changed in icc 8.0: 11876 # icc: Command line remark: option '-MP' not supported 11877 if (grep 'ignoring option' conftest.err || 11878 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 11879 am_cv_CXX_dependencies_compiler_type=$depmode 11880 break 11881 fi 11882 fi 11883 done 11884 11885 cd .. 11886 rm -rf conftest.dir 11887else 11888 am_cv_CXX_dependencies_compiler_type=none 11889fi 11890 11891fi 11892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 11893$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 11894CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 11895 11896 if 11897 test "x$enable_dependency_tracking" != xno \ 11898 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 11899 am__fastdepCXX_TRUE= 11900 am__fastdepCXX_FALSE='#' 11901else 11902 am__fastdepCXX_TRUE='#' 11903 am__fastdepCXX_FALSE= 11904fi 11905 11906 11907 11908 11909func_stripname_cnf () 11910{ 11911 case ${2} in 11912 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 11913 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 11914 esac 11915} # func_stripname_cnf 11916 11917 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 11918 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 11919 (test "X$CXX" != "Xg++"))) ; then 11920 ac_ext=cpp 11921ac_cpp='$CXXCPP $CPPFLAGS' 11922ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11923ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11924ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 11926$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 11927if test -z "$CXXCPP"; then 11928 if ${ac_cv_prog_CXXCPP+:} false; then : 11929 $as_echo_n "(cached) " >&6 11930else 11931 # Double quotes because CXXCPP needs to be expanded 11932 for CXXCPP in "$CXX -E" "/lib/cpp" 11933 do 11934 ac_preproc_ok=false 11935for ac_cxx_preproc_warn_flag in '' yes 11936do 11937 # Use a header file that comes with gcc, so configuring glibc 11938 # with a fresh cross-compiler works. 11939 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11940 # <limits.h> exists even on freestanding compilers. 11941 # On the NeXT, cc -E runs the code through the compiler's parser, 11942 # not just through cpp. "Syntax error" is here to catch this case. 11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11944/* end confdefs.h. */ 11945#ifdef __STDC__ 11946# include <limits.h> 11947#else 11948# include <assert.h> 11949#endif 11950 Syntax error 11951_ACEOF 11952if ac_fn_cxx_try_cpp "$LINENO"; then : 11953 11954else 11955 # Broken: fails on valid input. 11956continue 11957fi 11958rm -f conftest.err conftest.i conftest.$ac_ext 11959 11960 # OK, works on sane cases. Now check whether nonexistent headers 11961 # can be detected and how. 11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11963/* end confdefs.h. */ 11964#include <ac_nonexistent.h> 11965_ACEOF 11966if ac_fn_cxx_try_cpp "$LINENO"; then : 11967 # Broken: success on invalid input. 11968continue 11969else 11970 # Passes both tests. 11971ac_preproc_ok=: 11972break 11973fi 11974rm -f conftest.err conftest.i conftest.$ac_ext 11975 11976done 11977# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 11978rm -f conftest.i conftest.err conftest.$ac_ext 11979if $ac_preproc_ok; then : 11980 break 11981fi 11982 11983 done 11984 ac_cv_prog_CXXCPP=$CXXCPP 11985 11986fi 11987 CXXCPP=$ac_cv_prog_CXXCPP 11988else 11989 ac_cv_prog_CXXCPP=$CXXCPP 11990fi 11991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 11992$as_echo "$CXXCPP" >&6; } 11993ac_preproc_ok=false 11994for ac_cxx_preproc_warn_flag in '' yes 11995do 11996 # Use a header file that comes with gcc, so configuring glibc 11997 # with a fresh cross-compiler works. 11998 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11999 # <limits.h> exists even on freestanding compilers. 12000 # On the NeXT, cc -E runs the code through the compiler's parser, 12001 # not just through cpp. "Syntax error" is here to catch this case. 12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12003/* end confdefs.h. */ 12004#ifdef __STDC__ 12005# include <limits.h> 12006#else 12007# include <assert.h> 12008#endif 12009 Syntax error 12010_ACEOF 12011if ac_fn_cxx_try_cpp "$LINENO"; then : 12012 12013else 12014 # Broken: fails on valid input. 12015continue 12016fi 12017rm -f conftest.err conftest.i conftest.$ac_ext 12018 12019 # OK, works on sane cases. Now check whether nonexistent headers 12020 # can be detected and how. 12021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12022/* end confdefs.h. */ 12023#include <ac_nonexistent.h> 12024_ACEOF 12025if ac_fn_cxx_try_cpp "$LINENO"; then : 12026 # Broken: success on invalid input. 12027continue 12028else 12029 # Passes both tests. 12030ac_preproc_ok=: 12031break 12032fi 12033rm -f conftest.err conftest.i conftest.$ac_ext 12034 12035done 12036# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12037rm -f conftest.i conftest.err conftest.$ac_ext 12038if $ac_preproc_ok; then : 12039 12040else 12041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12042$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12043as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 12044See \`config.log' for more details" "$LINENO" 5; } 12045fi 12046 12047ac_ext=c 12048ac_cpp='$CPP $CPPFLAGS' 12049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12051ac_compiler_gnu=$ac_cv_c_compiler_gnu 12052 12053else 12054 _lt_caught_CXX_error=yes 12055fi 12056 12057ac_ext=cpp 12058ac_cpp='$CXXCPP $CPPFLAGS' 12059ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12060ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12061ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12062 12063archive_cmds_need_lc_CXX=no 12064allow_undefined_flag_CXX= 12065always_export_symbols_CXX=no 12066archive_expsym_cmds_CXX= 12067compiler_needs_object_CXX=no 12068export_dynamic_flag_spec_CXX= 12069hardcode_direct_CXX=no 12070hardcode_direct_absolute_CXX=no 12071hardcode_libdir_flag_spec_CXX= 12072hardcode_libdir_flag_spec_ld_CXX= 12073hardcode_libdir_separator_CXX= 12074hardcode_minus_L_CXX=no 12075hardcode_shlibpath_var_CXX=unsupported 12076hardcode_automatic_CXX=no 12077inherit_rpath_CXX=no 12078module_cmds_CXX= 12079module_expsym_cmds_CXX= 12080link_all_deplibs_CXX=unknown 12081old_archive_cmds_CXX=$old_archive_cmds 12082reload_flag_CXX=$reload_flag 12083reload_cmds_CXX=$reload_cmds 12084no_undefined_flag_CXX= 12085whole_archive_flag_spec_CXX= 12086enable_shared_with_static_runtimes_CXX=no 12087 12088# Source file extension for C++ test sources. 12089ac_ext=cpp 12090 12091# Object file extension for compiled C++ test sources. 12092objext=o 12093objext_CXX=$objext 12094 12095# No sense in running all these tests if we already determined that 12096# the CXX compiler isn't working. Some variables (like enable_shared) 12097# are currently assumed to apply to all compilers on this platform, 12098# and will be corrupted by setting them based on a non-working compiler. 12099if test "$_lt_caught_CXX_error" != yes; then 12100 # Code to be used in simple compile tests 12101 lt_simple_compile_test_code="int some_variable = 0;" 12102 12103 # Code to be used in simple link tests 12104 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 12105 12106 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 12107 12108 12109 12110 12111 12112 12113# If no C compiler was specified, use CC. 12114LTCC=${LTCC-"$CC"} 12115 12116# If no C compiler flags were specified, use CFLAGS. 12117LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 12118 12119# Allow CC to be a program name with arguments. 12120compiler=$CC 12121 12122 12123 # save warnings/boilerplate of simple test code 12124 ac_outfile=conftest.$ac_objext 12125echo "$lt_simple_compile_test_code" >conftest.$ac_ext 12126eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12127_lt_compiler_boilerplate=`cat conftest.err` 12128$RM conftest* 12129 12130 ac_outfile=conftest.$ac_objext 12131echo "$lt_simple_link_test_code" >conftest.$ac_ext 12132eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12133_lt_linker_boilerplate=`cat conftest.err` 12134$RM -r conftest* 12135 12136 12137 # Allow CC to be a program name with arguments. 12138 lt_save_CC=$CC 12139 lt_save_CFLAGS=$CFLAGS 12140 lt_save_LD=$LD 12141 lt_save_GCC=$GCC 12142 GCC=$GXX 12143 lt_save_with_gnu_ld=$with_gnu_ld 12144 lt_save_path_LD=$lt_cv_path_LD 12145 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 12146 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 12147 else 12148 $as_unset lt_cv_prog_gnu_ld 12149 fi 12150 if test -n "${lt_cv_path_LDCXX+set}"; then 12151 lt_cv_path_LD=$lt_cv_path_LDCXX 12152 else 12153 $as_unset lt_cv_path_LD 12154 fi 12155 test -z "${LDCXX+set}" || LD=$LDCXX 12156 CC=${CXX-"c++"} 12157 CFLAGS=$CXXFLAGS 12158 compiler=$CC 12159 compiler_CXX=$CC 12160 for cc_temp in $compiler""; do 12161 case $cc_temp in 12162 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 12163 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 12164 \-*) ;; 12165 *) break;; 12166 esac 12167done 12168cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 12169 12170 12171 if test -n "$compiler"; then 12172 # We don't want -fno-exception when compiling C++ code, so set the 12173 # no_builtin_flag separately 12174 if test "$GXX" = yes; then 12175 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 12176 else 12177 lt_prog_compiler_no_builtin_flag_CXX= 12178 fi 12179 12180 if test "$GXX" = yes; then 12181 # Set up default GNU C++ configuration 12182 12183 12184 12185# Check whether --with-gnu-ld was given. 12186if test "${with_gnu_ld+set}" = set; then : 12187 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 12188else 12189 with_gnu_ld=no 12190fi 12191 12192ac_prog=ld 12193if test "$GCC" = yes; then 12194 # Check if gcc -print-prog-name=ld gives a path. 12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 12196$as_echo_n "checking for ld used by $CC... " >&6; } 12197 case $host in 12198 *-*-mingw*) 12199 # gcc leaves a trailing carriage return which upsets mingw 12200 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12201 *) 12202 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 12203 esac 12204 case $ac_prog in 12205 # Accept absolute paths. 12206 [\\/]* | ?:[\\/]*) 12207 re_direlt='/[^/][^/]*/\.\./' 12208 # Canonicalize the pathname of ld 12209 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 12210 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 12211 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 12212 done 12213 test -z "$LD" && LD="$ac_prog" 12214 ;; 12215 "") 12216 # If it fails, then pretend we aren't using GCC. 12217 ac_prog=ld 12218 ;; 12219 *) 12220 # If it is relative, then search for the first ld in PATH. 12221 with_gnu_ld=unknown 12222 ;; 12223 esac 12224elif test "$with_gnu_ld" = yes; then 12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 12226$as_echo_n "checking for GNU ld... " >&6; } 12227else 12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 12229$as_echo_n "checking for non-GNU ld... " >&6; } 12230fi 12231if ${lt_cv_path_LD+:} false; then : 12232 $as_echo_n "(cached) " >&6 12233else 12234 if test -z "$LD"; then 12235 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 12236 for ac_dir in $PATH; do 12237 IFS="$lt_save_ifs" 12238 test -z "$ac_dir" && ac_dir=. 12239 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12240 lt_cv_path_LD="$ac_dir/$ac_prog" 12241 # Check to see if the program is GNU ld. I'd rather use --version, 12242 # but apparently some variants of GNU ld only accept -v. 12243 # Break only if it was the GNU/non-GNU ld that we prefer. 12244 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 12245 *GNU* | *'with BFD'*) 12246 test "$with_gnu_ld" != no && break 12247 ;; 12248 *) 12249 test "$with_gnu_ld" != yes && break 12250 ;; 12251 esac 12252 fi 12253 done 12254 IFS="$lt_save_ifs" 12255else 12256 lt_cv_path_LD="$LD" # Let the user override the test with a path. 12257fi 12258fi 12259 12260LD="$lt_cv_path_LD" 12261if test -n "$LD"; then 12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 12263$as_echo "$LD" >&6; } 12264else 12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12266$as_echo "no" >&6; } 12267fi 12268test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 12269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 12270$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 12271if ${lt_cv_prog_gnu_ld+:} false; then : 12272 $as_echo_n "(cached) " >&6 12273else 12274 # I'd rather use --version here, but apparently some GNU lds only accept -v. 12275case `$LD -v 2>&1 </dev/null` in 12276*GNU* | *'with BFD'*) 12277 lt_cv_prog_gnu_ld=yes 12278 ;; 12279*) 12280 lt_cv_prog_gnu_ld=no 12281 ;; 12282esac 12283fi 12284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 12285$as_echo "$lt_cv_prog_gnu_ld" >&6; } 12286with_gnu_ld=$lt_cv_prog_gnu_ld 12287 12288 12289 12290 12291 12292 12293 12294 # Check if GNU C++ uses GNU ld as the underlying linker, since the 12295 # archiving commands below assume that GNU ld is being used. 12296 if test "$with_gnu_ld" = yes; then 12297 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12298 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 12299 12300 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12301 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12302 12303 # If archive_cmds runs LD, not CC, wlarc should be empty 12304 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 12305 # investigate it a little bit more. (MM) 12306 wlarc='${wl}' 12307 12308 # ancient GNU ld didn't support --whole-archive et. al. 12309 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 12310 $GREP 'no-whole-archive' > /dev/null; then 12311 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 12312 else 12313 whole_archive_flag_spec_CXX= 12314 fi 12315 else 12316 with_gnu_ld=no 12317 wlarc= 12318 12319 # A generic and very simple default shared library creation 12320 # command for GNU C++ for the case where it uses the native 12321 # linker, instead of GNU ld. If possible, this setting should 12322 # overridden to take advantage of the native linker features on 12323 # the platform it is being used on. 12324 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 12325 fi 12326 12327 # Commands to make compiler produce verbose output that lists 12328 # what "hidden" libraries, object files and flags are used when 12329 # linking a shared library. 12330 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 12331 12332 else 12333 GXX=no 12334 with_gnu_ld=no 12335 wlarc= 12336 fi 12337 12338 # PORTME: fill in a description of your system's C++ link characteristics 12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 12340$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 12341 ld_shlibs_CXX=yes 12342 case $host_os in 12343 aix3*) 12344 # FIXME: insert proper C++ library support 12345 ld_shlibs_CXX=no 12346 ;; 12347 aix[4-9]*) 12348 if test "$host_cpu" = ia64; then 12349 # On IA64, the linker does run time linking by default, so we don't 12350 # have to do anything special. 12351 aix_use_runtimelinking=no 12352 exp_sym_flag='-Bexport' 12353 no_entry_flag="" 12354 else 12355 aix_use_runtimelinking=no 12356 12357 # Test if we are trying to use run time linking or normal 12358 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 12359 # need to do runtime linking. 12360 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 12361 for ld_flag in $LDFLAGS; do 12362 case $ld_flag in 12363 *-brtl*) 12364 aix_use_runtimelinking=yes 12365 break 12366 ;; 12367 esac 12368 done 12369 ;; 12370 esac 12371 12372 exp_sym_flag='-bexport' 12373 no_entry_flag='-bnoentry' 12374 fi 12375 12376 # When large executables or shared objects are built, AIX ld can 12377 # have problems creating the table of contents. If linking a library 12378 # or program results in "error TOC overflow" add -mminimal-toc to 12379 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 12380 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 12381 12382 archive_cmds_CXX='' 12383 hardcode_direct_CXX=yes 12384 hardcode_direct_absolute_CXX=yes 12385 hardcode_libdir_separator_CXX=':' 12386 link_all_deplibs_CXX=yes 12387 file_list_spec_CXX='${wl}-f,' 12388 12389 if test "$GXX" = yes; then 12390 case $host_os in aix4.[012]|aix4.[012].*) 12391 # We only want to do this on AIX 4.2 and lower, the check 12392 # below for broken collect2 doesn't work under 4.3+ 12393 collect2name=`${CC} -print-prog-name=collect2` 12394 if test -f "$collect2name" && 12395 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 12396 then 12397 # We have reworked collect2 12398 : 12399 else 12400 # We have old collect2 12401 hardcode_direct_CXX=unsupported 12402 # It fails to find uninstalled libraries when the uninstalled 12403 # path is not listed in the libpath. Setting hardcode_minus_L 12404 # to unsupported forces relinking 12405 hardcode_minus_L_CXX=yes 12406 hardcode_libdir_flag_spec_CXX='-L$libdir' 12407 hardcode_libdir_separator_CXX= 12408 fi 12409 esac 12410 shared_flag='-shared' 12411 if test "$aix_use_runtimelinking" = yes; then 12412 shared_flag="$shared_flag "'${wl}-G' 12413 fi 12414 link_all_deplibs_CXX=no 12415 else 12416 # not using gcc 12417 if test "$host_cpu" = ia64; then 12418 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 12419 # chokes on -Wl,-G. The following line is correct: 12420 shared_flag='-G' 12421 else 12422 if test "$aix_use_runtimelinking" = yes; then 12423 shared_flag='${wl}-G' 12424 else 12425 shared_flag='${wl}-bM:SRE' 12426 fi 12427 fi 12428 fi 12429 12430 export_dynamic_flag_spec_CXX='${wl}-bexpall' 12431 # It seems that -bexpall does not export symbols beginning with 12432 # underscore (_), so it is better to generate a list of symbols to 12433 # export. 12434 always_export_symbols_CXX=yes 12435 if test "$aix_use_runtimelinking" = yes; then 12436 # Warning - without using the other runtime loading flags (-brtl), 12437 # -berok will link without error, but may produce a broken library. 12438 allow_undefined_flag_CXX='-berok' 12439 # Determine the default libpath from the value encoded in an empty 12440 # executable. 12441 if test "${lt_cv_aix_libpath+set}" = set; then 12442 aix_libpath=$lt_cv_aix_libpath 12443else 12444 if ${lt_cv_aix_libpath__CXX+:} false; then : 12445 $as_echo_n "(cached) " >&6 12446else 12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12448/* end confdefs.h. */ 12449 12450int 12451main () 12452{ 12453 12454 ; 12455 return 0; 12456} 12457_ACEOF 12458if ac_fn_cxx_try_link "$LINENO"; then : 12459 12460 lt_aix_libpath_sed=' 12461 /Import File Strings/,/^$/ { 12462 /^0/ { 12463 s/^0 *\([^ ]*\) *$/\1/ 12464 p 12465 } 12466 }' 12467 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12468 # Check for a 64-bit object if we didn't find anything. 12469 if test -z "$lt_cv_aix_libpath__CXX"; then 12470 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12471 fi 12472fi 12473rm -f core conftest.err conftest.$ac_objext \ 12474 conftest$ac_exeext conftest.$ac_ext 12475 if test -z "$lt_cv_aix_libpath__CXX"; then 12476 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 12477 fi 12478 12479fi 12480 12481 aix_libpath=$lt_cv_aix_libpath__CXX 12482fi 12483 12484 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12485 12486 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 12487 else 12488 if test "$host_cpu" = ia64; then 12489 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 12490 allow_undefined_flag_CXX="-z nodefs" 12491 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 12492 else 12493 # Determine the default libpath from the value encoded in an 12494 # empty executable. 12495 if test "${lt_cv_aix_libpath+set}" = set; then 12496 aix_libpath=$lt_cv_aix_libpath 12497else 12498 if ${lt_cv_aix_libpath__CXX+:} false; then : 12499 $as_echo_n "(cached) " >&6 12500else 12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12502/* end confdefs.h. */ 12503 12504int 12505main () 12506{ 12507 12508 ; 12509 return 0; 12510} 12511_ACEOF 12512if ac_fn_cxx_try_link "$LINENO"; then : 12513 12514 lt_aix_libpath_sed=' 12515 /Import File Strings/,/^$/ { 12516 /^0/ { 12517 s/^0 *\([^ ]*\) *$/\1/ 12518 p 12519 } 12520 }' 12521 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12522 # Check for a 64-bit object if we didn't find anything. 12523 if test -z "$lt_cv_aix_libpath__CXX"; then 12524 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12525 fi 12526fi 12527rm -f core conftest.err conftest.$ac_objext \ 12528 conftest$ac_exeext conftest.$ac_ext 12529 if test -z "$lt_cv_aix_libpath__CXX"; then 12530 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 12531 fi 12532 12533fi 12534 12535 aix_libpath=$lt_cv_aix_libpath__CXX 12536fi 12537 12538 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12539 # Warning - without using the other run time loading flags, 12540 # -berok will link without error, but may produce a broken library. 12541 no_undefined_flag_CXX=' ${wl}-bernotok' 12542 allow_undefined_flag_CXX=' ${wl}-berok' 12543 if test "$with_gnu_ld" = yes; then 12544 # We only use this code for GNU lds that support --whole-archive. 12545 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 12546 else 12547 # Exported symbols can be pulled into shared objects from archives 12548 whole_archive_flag_spec_CXX='$convenience' 12549 fi 12550 archive_cmds_need_lc_CXX=yes 12551 # This is similar to how AIX traditionally builds its shared 12552 # libraries. 12553 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 12554 fi 12555 fi 12556 ;; 12557 12558 beos*) 12559 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12560 allow_undefined_flag_CXX=unsupported 12561 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 12562 # support --undefined. This deserves some investigation. FIXME 12563 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12564 else 12565 ld_shlibs_CXX=no 12566 fi 12567 ;; 12568 12569 chorus*) 12570 case $cc_basename in 12571 *) 12572 # FIXME: insert proper C++ library support 12573 ld_shlibs_CXX=no 12574 ;; 12575 esac 12576 ;; 12577 12578 cygwin* | mingw* | pw32* | cegcc*) 12579 case $GXX,$cc_basename in 12580 ,cl* | no,cl*) 12581 # Native MSVC 12582 # hardcode_libdir_flag_spec is actually meaningless, as there is 12583 # no search path for DLLs. 12584 hardcode_libdir_flag_spec_CXX=' ' 12585 allow_undefined_flag_CXX=unsupported 12586 always_export_symbols_CXX=yes 12587 file_list_spec_CXX='@' 12588 # Tell ltmain to make .lib files, not .a files. 12589 libext=lib 12590 # Tell ltmain to make .dll files, not .so files. 12591 shrext_cmds=".dll" 12592 # FIXME: Setting linknames here is a bad hack. 12593 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 12594 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 12595 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 12596 else 12597 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 12598 fi~ 12599 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 12600 linknames=' 12601 # The linker will not automatically build a static lib if we build a DLL. 12602 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 12603 enable_shared_with_static_runtimes_CXX=yes 12604 # Don't use ranlib 12605 old_postinstall_cmds_CXX='chmod 644 $oldlib' 12606 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 12607 lt_tool_outputfile="@TOOL_OUTPUT@"~ 12608 case $lt_outputfile in 12609 *.exe|*.EXE) ;; 12610 *) 12611 lt_outputfile="$lt_outputfile.exe" 12612 lt_tool_outputfile="$lt_tool_outputfile.exe" 12613 ;; 12614 esac~ 12615 func_to_tool_file "$lt_outputfile"~ 12616 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 12617 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 12618 $RM "$lt_outputfile.manifest"; 12619 fi' 12620 ;; 12621 *) 12622 # g++ 12623 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 12624 # as there is no search path for DLLs. 12625 hardcode_libdir_flag_spec_CXX='-L$libdir' 12626 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' 12627 allow_undefined_flag_CXX=unsupported 12628 always_export_symbols_CXX=no 12629 enable_shared_with_static_runtimes_CXX=yes 12630 12631 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 12632 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 12633 # If the export-symbols file already is a .def file (1st line 12634 # is EXPORTS), use it as is; otherwise, prepend... 12635 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 12636 cp $export_symbols $output_objdir/$soname.def; 12637 else 12638 echo EXPORTS > $output_objdir/$soname.def; 12639 cat $export_symbols >> $output_objdir/$soname.def; 12640 fi~ 12641 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 12642 else 12643 ld_shlibs_CXX=no 12644 fi 12645 ;; 12646 esac 12647 ;; 12648 darwin* | rhapsody*) 12649 12650 12651 archive_cmds_need_lc_CXX=no 12652 hardcode_direct_CXX=no 12653 hardcode_automatic_CXX=yes 12654 hardcode_shlibpath_var_CXX=unsupported 12655 if test "$lt_cv_ld_force_load" = "yes"; then 12656 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 12657 else 12658 whole_archive_flag_spec_CXX='' 12659 fi 12660 link_all_deplibs_CXX=yes 12661 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 12662 case $cc_basename in 12663 ifort*) _lt_dar_can_shared=yes ;; 12664 *) _lt_dar_can_shared=$GCC ;; 12665 esac 12666 if test "$_lt_dar_can_shared" = "yes"; then 12667 output_verbose_link_cmd=func_echo_all 12668 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 12669 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 12670 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 12671 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 12672 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 12673 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 12674 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 12675 fi 12676 12677 else 12678 ld_shlibs_CXX=no 12679 fi 12680 12681 ;; 12682 12683 dgux*) 12684 case $cc_basename in 12685 ec++*) 12686 # FIXME: insert proper C++ library support 12687 ld_shlibs_CXX=no 12688 ;; 12689 ghcx*) 12690 # Green Hills C++ Compiler 12691 # FIXME: insert proper C++ library support 12692 ld_shlibs_CXX=no 12693 ;; 12694 *) 12695 # FIXME: insert proper C++ library support 12696 ld_shlibs_CXX=no 12697 ;; 12698 esac 12699 ;; 12700 12701 freebsd[12]*) 12702 # C++ shared libraries reported to be fairly broken before 12703 # switch to ELF 12704 ld_shlibs_CXX=no 12705 ;; 12706 12707 freebsd-elf*) 12708 archive_cmds_need_lc_CXX=no 12709 ;; 12710 12711 freebsd* | dragonfly*) 12712 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 12713 # conventions 12714 ld_shlibs_CXX=yes 12715 ;; 12716 12717 gnu*) 12718 ;; 12719 12720 haiku*) 12721 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12722 link_all_deplibs_CXX=yes 12723 ;; 12724 12725 hpux9*) 12726 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 12727 hardcode_libdir_separator_CXX=: 12728 export_dynamic_flag_spec_CXX='${wl}-E' 12729 hardcode_direct_CXX=yes 12730 hardcode_minus_L_CXX=yes # Not in the search PATH, 12731 # but as the default 12732 # location of the library. 12733 12734 case $cc_basename in 12735 CC*) 12736 # FIXME: insert proper C++ library support 12737 ld_shlibs_CXX=no 12738 ;; 12739 aCC*) 12740 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 12741 # Commands to make compiler produce verbose output that lists 12742 # what "hidden" libraries, object files and flags are used when 12743 # linking a shared library. 12744 # 12745 # There doesn't appear to be a way to prevent this compiler from 12746 # explicitly linking system object files so we need to strip them 12747 # from the output so that they don't get included in the library 12748 # dependencies. 12749 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 12750 ;; 12751 *) 12752 if test "$GXX" = yes; then 12753 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 12754 else 12755 # FIXME: insert proper C++ library support 12756 ld_shlibs_CXX=no 12757 fi 12758 ;; 12759 esac 12760 ;; 12761 12762 hpux10*|hpux11*) 12763 if test $with_gnu_ld = no; then 12764 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 12765 hardcode_libdir_separator_CXX=: 12766 12767 case $host_cpu in 12768 hppa*64*|ia64*) 12769 ;; 12770 *) 12771 export_dynamic_flag_spec_CXX='${wl}-E' 12772 ;; 12773 esac 12774 fi 12775 case $host_cpu in 12776 hppa*64*|ia64*) 12777 hardcode_direct_CXX=no 12778 hardcode_shlibpath_var_CXX=no 12779 ;; 12780 *) 12781 hardcode_direct_CXX=yes 12782 hardcode_direct_absolute_CXX=yes 12783 hardcode_minus_L_CXX=yes # Not in the search PATH, 12784 # but as the default 12785 # location of the library. 12786 ;; 12787 esac 12788 12789 case $cc_basename in 12790 CC*) 12791 # FIXME: insert proper C++ library support 12792 ld_shlibs_CXX=no 12793 ;; 12794 aCC*) 12795 case $host_cpu in 12796 hppa*64*) 12797 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12798 ;; 12799 ia64*) 12800 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12801 ;; 12802 *) 12803 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12804 ;; 12805 esac 12806 # Commands to make compiler produce verbose output that lists 12807 # what "hidden" libraries, object files and flags are used when 12808 # linking a shared library. 12809 # 12810 # There doesn't appear to be a way to prevent this compiler from 12811 # explicitly linking system object files so we need to strip them 12812 # from the output so that they don't get included in the library 12813 # dependencies. 12814 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 12815 ;; 12816 *) 12817 if test "$GXX" = yes; then 12818 if test $with_gnu_ld = no; then 12819 case $host_cpu in 12820 hppa*64*) 12821 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12822 ;; 12823 ia64*) 12824 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12825 ;; 12826 *) 12827 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12828 ;; 12829 esac 12830 fi 12831 else 12832 # FIXME: insert proper C++ library support 12833 ld_shlibs_CXX=no 12834 fi 12835 ;; 12836 esac 12837 ;; 12838 12839 interix[3-9]*) 12840 hardcode_direct_CXX=no 12841 hardcode_shlibpath_var_CXX=no 12842 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12843 export_dynamic_flag_spec_CXX='${wl}-E' 12844 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 12845 # Instead, shared libraries are loaded at an image base (0x10000000 by 12846 # default) and relocated if they conflict, which is a slow very memory 12847 # consuming and fragmenting process. To avoid this, we pick a random, 12848 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 12849 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 12850 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 12851 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 12852 ;; 12853 irix5* | irix6*) 12854 case $cc_basename in 12855 CC*) 12856 # SGI C++ 12857 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 12858 12859 # Archives containing C++ object files must be created using 12860 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 12861 # necessary to make sure instantiated templates are included 12862 # in the archive. 12863 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 12864 ;; 12865 *) 12866 if test "$GXX" = yes; then 12867 if test "$with_gnu_ld" = no; then 12868 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 12869 else 12870 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' 12871 fi 12872 fi 12873 link_all_deplibs_CXX=yes 12874 ;; 12875 esac 12876 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12877 hardcode_libdir_separator_CXX=: 12878 inherit_rpath_CXX=yes 12879 ;; 12880 12881 linux* | k*bsd*-gnu | kopensolaris*-gnu) 12882 case $cc_basename in 12883 KCC*) 12884 # Kuck and Associates, Inc. (KAI) C++ Compiler 12885 12886 # KCC will only create a shared library if the output file 12887 # ends with ".so" (or ".sl" for HP-UX), so rename the library 12888 # to its proper name (with version) after linking. 12889 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 12890 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 12891 # Commands to make compiler produce verbose output that lists 12892 # what "hidden" libraries, object files and flags are used when 12893 # linking a shared library. 12894 # 12895 # There doesn't appear to be a way to prevent this compiler from 12896 # explicitly linking system object files so we need to strip them 12897 # from the output so that they don't get included in the library 12898 # dependencies. 12899 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 12900 12901 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12902 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12903 12904 # Archives containing C++ object files must be created using 12905 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 12906 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 12907 ;; 12908 icpc* | ecpc* ) 12909 # Intel C++ 12910 with_gnu_ld=yes 12911 # version 8.0 and above of icpc choke on multiply defined symbols 12912 # if we add $predep_objects and $postdep_objects, however 7.1 and 12913 # earlier do not add the objects themselves. 12914 case `$CC -V 2>&1` in 12915 *"Version 7."*) 12916 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12917 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 12918 ;; 12919 *) # Version 8.0 or newer 12920 tmp_idyn= 12921 case $host_cpu in 12922 ia64*) tmp_idyn=' -i_dynamic';; 12923 esac 12924 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12925 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 12926 ;; 12927 esac 12928 archive_cmds_need_lc_CXX=no 12929 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12930 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12931 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 12932 ;; 12933 pgCC* | pgcpp*) 12934 # Portland Group C++ compiler 12935 case `$CC -V` in 12936 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 12937 prelink_cmds_CXX='tpldir=Template.dir~ 12938 rm -rf $tpldir~ 12939 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 12940 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 12941 old_archive_cmds_CXX='tpldir=Template.dir~ 12942 rm -rf $tpldir~ 12943 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 12944 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 12945 $RANLIB $oldlib' 12946 archive_cmds_CXX='tpldir=Template.dir~ 12947 rm -rf $tpldir~ 12948 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 12949 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 12950 archive_expsym_cmds_CXX='tpldir=Template.dir~ 12951 rm -rf $tpldir~ 12952 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 12953 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 12954 ;; 12955 *) # Version 6 and above use weak symbols 12956 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 12957 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 12958 ;; 12959 esac 12960 12961 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 12962 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12963 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 12964 ;; 12965 cxx*) 12966 # Compaq C++ 12967 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12968 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 12969 12970 runpath_var=LD_RUN_PATH 12971 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 12972 hardcode_libdir_separator_CXX=: 12973 12974 # Commands to make compiler produce verbose output that lists 12975 # what "hidden" libraries, object files and flags are used when 12976 # linking a shared library. 12977 # 12978 # There doesn't appear to be a way to prevent this compiler from 12979 # explicitly linking system object files so we need to strip them 12980 # from the output so that they don't get included in the library 12981 # dependencies. 12982 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 12983 ;; 12984 xl* | mpixl* | bgxl*) 12985 # IBM XL 8.0 on PPC, with GNU ld 12986 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12987 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12988 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12989 if test "x$supports_anon_versioning" = xyes; then 12990 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 12991 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 12992 echo "local: *; };" >> $output_objdir/$libname.ver~ 12993 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 12994 fi 12995 ;; 12996 *) 12997 case `$CC -V 2>&1 | sed 5q` in 12998 *Sun\ C*) 12999 # Sun C++ 5.9 13000 no_undefined_flag_CXX=' -zdefs' 13001 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13002 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 13003 hardcode_libdir_flag_spec_CXX='-R$libdir' 13004 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 13005 compiler_needs_object_CXX=yes 13006 13007 # Not sure whether something based on 13008 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 13009 # would be better. 13010 output_verbose_link_cmd='func_echo_all' 13011 13012 # Archives containing C++ object files must be created using 13013 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13014 # necessary to make sure instantiated templates are included 13015 # in the archive. 13016 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13017 ;; 13018 esac 13019 ;; 13020 esac 13021 ;; 13022 13023 lynxos*) 13024 # FIXME: insert proper C++ library support 13025 ld_shlibs_CXX=no 13026 ;; 13027 13028 m88k*) 13029 # FIXME: insert proper C++ library support 13030 ld_shlibs_CXX=no 13031 ;; 13032 13033 mvs*) 13034 case $cc_basename in 13035 cxx*) 13036 # FIXME: insert proper C++ library support 13037 ld_shlibs_CXX=no 13038 ;; 13039 *) 13040 # FIXME: insert proper C++ library support 13041 ld_shlibs_CXX=no 13042 ;; 13043 esac 13044 ;; 13045 13046 netbsd*) 13047 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13048 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 13049 wlarc= 13050 hardcode_libdir_flag_spec_CXX='-R$libdir' 13051 hardcode_direct_CXX=yes 13052 hardcode_shlibpath_var_CXX=no 13053 fi 13054 # Workaround some broken pre-1.5 toolchains 13055 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 13056 ;; 13057 13058 *nto* | *qnx*) 13059 ld_shlibs_CXX=yes 13060 ;; 13061 13062 openbsd2*) 13063 # C++ shared libraries are fairly broken 13064 ld_shlibs_CXX=no 13065 ;; 13066 13067 openbsd*) 13068 if test -f /usr/libexec/ld.so; then 13069 hardcode_direct_CXX=yes 13070 hardcode_shlibpath_var_CXX=no 13071 hardcode_direct_absolute_CXX=yes 13072 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13073 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13074 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 13075 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 13076 export_dynamic_flag_spec_CXX='${wl}-E' 13077 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13078 fi 13079 output_verbose_link_cmd=func_echo_all 13080 else 13081 ld_shlibs_CXX=no 13082 fi 13083 ;; 13084 13085 osf3* | osf4* | osf5*) 13086 case $cc_basename in 13087 KCC*) 13088 # Kuck and Associates, Inc. (KAI) C++ Compiler 13089 13090 # KCC will only create a shared library if the output file 13091 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13092 # to its proper name (with version) after linking. 13093 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13094 13095 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13096 hardcode_libdir_separator_CXX=: 13097 13098 # Archives containing C++ object files must be created using 13099 # the KAI C++ compiler. 13100 case $host in 13101 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 13102 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 13103 esac 13104 ;; 13105 RCC*) 13106 # Rational C++ 2.4.1 13107 # FIXME: insert proper C++ library support 13108 ld_shlibs_CXX=no 13109 ;; 13110 cxx*) 13111 case $host in 13112 osf3*) 13113 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13114 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 13115 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13116 ;; 13117 *) 13118 allow_undefined_flag_CXX=' -expect_unresolved \*' 13119 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 13120 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 13121 echo "-hidden">> $lib.exp~ 13122 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ 13123 $RM $lib.exp' 13124 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13125 ;; 13126 esac 13127 13128 hardcode_libdir_separator_CXX=: 13129 13130 # Commands to make compiler produce verbose output that lists 13131 # what "hidden" libraries, object files and flags are used when 13132 # linking a shared library. 13133 # 13134 # There doesn't appear to be a way to prevent this compiler from 13135 # explicitly linking system object files so we need to strip them 13136 # from the output so that they don't get included in the library 13137 # dependencies. 13138 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13139 ;; 13140 *) 13141 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 13142 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13143 case $host in 13144 osf3*) 13145 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 13146 ;; 13147 *) 13148 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 13149 ;; 13150 esac 13151 13152 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13153 hardcode_libdir_separator_CXX=: 13154 13155 # Commands to make compiler produce verbose output that lists 13156 # what "hidden" libraries, object files and flags are used when 13157 # linking a shared library. 13158 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13159 13160 else 13161 # FIXME: insert proper C++ library support 13162 ld_shlibs_CXX=no 13163 fi 13164 ;; 13165 esac 13166 ;; 13167 13168 psos*) 13169 # FIXME: insert proper C++ library support 13170 ld_shlibs_CXX=no 13171 ;; 13172 13173 sunos4*) 13174 case $cc_basename in 13175 CC*) 13176 # Sun C++ 4.x 13177 # FIXME: insert proper C++ library support 13178 ld_shlibs_CXX=no 13179 ;; 13180 lcc*) 13181 # Lucid 13182 # FIXME: insert proper C++ library support 13183 ld_shlibs_CXX=no 13184 ;; 13185 *) 13186 # FIXME: insert proper C++ library support 13187 ld_shlibs_CXX=no 13188 ;; 13189 esac 13190 ;; 13191 13192 solaris*) 13193 case $cc_basename in 13194 CC* | sunCC*) 13195 # Sun C++ 4.2, 5.x and Centerline C++ 13196 archive_cmds_need_lc_CXX=yes 13197 no_undefined_flag_CXX=' -zdefs' 13198 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13199 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13200 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13201 13202 hardcode_libdir_flag_spec_CXX='-R$libdir' 13203 hardcode_shlibpath_var_CXX=no 13204 case $host_os in 13205 solaris2.[0-5] | solaris2.[0-5].*) ;; 13206 *) 13207 # The compiler driver will combine and reorder linker options, 13208 # but understands `-z linker_flag'. 13209 # Supported since Solaris 2.6 (maybe 2.5.1?) 13210 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 13211 ;; 13212 esac 13213 link_all_deplibs_CXX=yes 13214 13215 output_verbose_link_cmd='func_echo_all' 13216 13217 # Archives containing C++ object files must be created using 13218 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13219 # necessary to make sure instantiated templates are included 13220 # in the archive. 13221 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13222 ;; 13223 gcx*) 13224 # Green Hills C++ Compiler 13225 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13226 13227 # The C++ compiler must be used to create the archive. 13228 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 13229 ;; 13230 *) 13231 # GNU C++ compiler with Solaris linker 13232 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 13233 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 13234 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 13235 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13236 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13237 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13238 13239 # Commands to make compiler produce verbose output that lists 13240 # what "hidden" libraries, object files and flags are used when 13241 # linking a shared library. 13242 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13243 else 13244 # g++ 2.7 appears to require `-G' NOT `-shared' on this 13245 # platform. 13246 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13247 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13248 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13249 13250 # Commands to make compiler produce verbose output that lists 13251 # what "hidden" libraries, object files and flags are used when 13252 # linking a shared library. 13253 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13254 fi 13255 13256 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 13257 case $host_os in 13258 solaris2.[0-5] | solaris2.[0-5].*) ;; 13259 *) 13260 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 13261 ;; 13262 esac 13263 fi 13264 ;; 13265 esac 13266 ;; 13267 13268 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 13269 no_undefined_flag_CXX='${wl}-z,text' 13270 archive_cmds_need_lc_CXX=no 13271 hardcode_shlibpath_var_CXX=no 13272 runpath_var='LD_RUN_PATH' 13273 13274 case $cc_basename in 13275 CC*) 13276 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13277 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13278 ;; 13279 *) 13280 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13281 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13282 ;; 13283 esac 13284 ;; 13285 13286 sysv5* | sco3.2v5* | sco5v6*) 13287 # Note: We can NOT use -z defs as we might desire, because we do not 13288 # link with -lc, and that would cause any symbols used from libc to 13289 # always be unresolved, which means just about no library would 13290 # ever link correctly. If we're not using GNU ld we use -z text 13291 # though, which does catch some bad symbols but isn't as heavy-handed 13292 # as -z defs. 13293 no_undefined_flag_CXX='${wl}-z,text' 13294 allow_undefined_flag_CXX='${wl}-z,nodefs' 13295 archive_cmds_need_lc_CXX=no 13296 hardcode_shlibpath_var_CXX=no 13297 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 13298 hardcode_libdir_separator_CXX=':' 13299 link_all_deplibs_CXX=yes 13300 export_dynamic_flag_spec_CXX='${wl}-Bexport' 13301 runpath_var='LD_RUN_PATH' 13302 13303 case $cc_basename in 13304 CC*) 13305 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13306 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13307 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 13308 '"$old_archive_cmds_CXX" 13309 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 13310 '"$reload_cmds_CXX" 13311 ;; 13312 *) 13313 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13314 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13315 ;; 13316 esac 13317 ;; 13318 13319 tandem*) 13320 case $cc_basename in 13321 NCC*) 13322 # NonStop-UX NCC 3.20 13323 # FIXME: insert proper C++ library support 13324 ld_shlibs_CXX=no 13325 ;; 13326 *) 13327 # FIXME: insert proper C++ library support 13328 ld_shlibs_CXX=no 13329 ;; 13330 esac 13331 ;; 13332 13333 vxworks*) 13334 # FIXME: insert proper C++ library support 13335 ld_shlibs_CXX=no 13336 ;; 13337 13338 *) 13339 # FIXME: insert proper C++ library support 13340 ld_shlibs_CXX=no 13341 ;; 13342 esac 13343 13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 13345$as_echo "$ld_shlibs_CXX" >&6; } 13346 test "$ld_shlibs_CXX" = no && can_build_shared=no 13347 13348 GCC_CXX="$GXX" 13349 LD_CXX="$LD" 13350 13351 ## CAVEAT EMPTOR: 13352 ## There is no encapsulation within the following macros, do not change 13353 ## the running order or otherwise move them around unless you know exactly 13354 ## what you are doing... 13355 # Dependencies to place before and after the object being linked: 13356predep_objects_CXX= 13357postdep_objects_CXX= 13358predeps_CXX= 13359postdeps_CXX= 13360compiler_lib_search_path_CXX= 13361 13362cat > conftest.$ac_ext <<_LT_EOF 13363class Foo 13364{ 13365public: 13366 Foo (void) { a = 0; } 13367private: 13368 int a; 13369}; 13370_LT_EOF 13371 13372 13373_lt_libdeps_save_CFLAGS=$CFLAGS 13374case "$CC $CFLAGS " in #( 13375*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 13376*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 13377esac 13378 13379if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 13380 (eval $ac_compile) 2>&5 13381 ac_status=$? 13382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13383 test $ac_status = 0; }; then 13384 # Parse the compiler output and extract the necessary 13385 # objects, libraries and library flags. 13386 13387 # Sentinel used to keep track of whether or not we are before 13388 # the conftest object file. 13389 pre_test_object_deps_done=no 13390 13391 for p in `eval "$output_verbose_link_cmd"`; do 13392 case ${prev}${p} in 13393 13394 -L* | -R* | -l*) 13395 # Some compilers place space between "-{L,R}" and the path. 13396 # Remove the space. 13397 if test $p = "-L" || 13398 test $p = "-R"; then 13399 prev=$p 13400 continue 13401 fi 13402 13403 # Expand the sysroot to ease extracting the directories later. 13404 if test -z "$prev"; then 13405 case $p in 13406 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 13407 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 13408 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 13409 esac 13410 fi 13411 case $p in 13412 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 13413 esac 13414 if test "$pre_test_object_deps_done" = no; then 13415 case ${prev} in 13416 -L | -R) 13417 # Internal compiler library paths should come after those 13418 # provided the user. The postdeps already come after the 13419 # user supplied libs so there is no need to process them. 13420 if test -z "$compiler_lib_search_path_CXX"; then 13421 compiler_lib_search_path_CXX="${prev}${p}" 13422 else 13423 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 13424 fi 13425 ;; 13426 # The "-l" case would never come before the object being 13427 # linked, so don't bother handling this case. 13428 esac 13429 else 13430 if test -z "$postdeps_CXX"; then 13431 postdeps_CXX="${prev}${p}" 13432 else 13433 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 13434 fi 13435 fi 13436 prev= 13437 ;; 13438 13439 *.lto.$objext) ;; # Ignore GCC LTO objects 13440 *.$objext) 13441 # This assumes that the test object file only shows up 13442 # once in the compiler output. 13443 if test "$p" = "conftest.$objext"; then 13444 pre_test_object_deps_done=yes 13445 continue 13446 fi 13447 13448 if test "$pre_test_object_deps_done" = no; then 13449 if test -z "$predep_objects_CXX"; then 13450 predep_objects_CXX="$p" 13451 else 13452 predep_objects_CXX="$predep_objects_CXX $p" 13453 fi 13454 else 13455 if test -z "$postdep_objects_CXX"; then 13456 postdep_objects_CXX="$p" 13457 else 13458 postdep_objects_CXX="$postdep_objects_CXX $p" 13459 fi 13460 fi 13461 ;; 13462 13463 *) ;; # Ignore the rest. 13464 13465 esac 13466 done 13467 13468 # Clean up. 13469 rm -f a.out a.exe 13470else 13471 echo "libtool.m4: error: problem compiling CXX test program" 13472fi 13473 13474$RM -f confest.$objext 13475CFLAGS=$_lt_libdeps_save_CFLAGS 13476 13477# PORTME: override above test on systems where it is broken 13478case $host_os in 13479interix[3-9]*) 13480 # Interix 3.5 installs completely hosed .la files for C++, so rather than 13481 # hack all around it, let's just trust "g++" to DTRT. 13482 predep_objects_CXX= 13483 postdep_objects_CXX= 13484 postdeps_CXX= 13485 ;; 13486 13487linux*) 13488 case `$CC -V 2>&1 | sed 5q` in 13489 *Sun\ C*) 13490 # Sun C++ 5.9 13491 13492 # The more standards-conforming stlport4 library is 13493 # incompatible with the Cstd library. Avoid specifying 13494 # it if it's in CXXFLAGS. Ignore libCrun as 13495 # -library=stlport4 depends on it. 13496 case " $CXX $CXXFLAGS " in 13497 *" -library=stlport4 "*) 13498 solaris_use_stlport4=yes 13499 ;; 13500 esac 13501 13502 if test "$solaris_use_stlport4" != yes; then 13503 postdeps_CXX='-library=Cstd -library=Crun' 13504 fi 13505 ;; 13506 esac 13507 ;; 13508 13509solaris*) 13510 case $cc_basename in 13511 CC* | sunCC*) 13512 # The more standards-conforming stlport4 library is 13513 # incompatible with the Cstd library. Avoid specifying 13514 # it if it's in CXXFLAGS. Ignore libCrun as 13515 # -library=stlport4 depends on it. 13516 case " $CXX $CXXFLAGS " in 13517 *" -library=stlport4 "*) 13518 solaris_use_stlport4=yes 13519 ;; 13520 esac 13521 13522 # Adding this requires a known-good setup of shared libraries for 13523 # Sun compiler versions before 5.6, else PIC objects from an old 13524 # archive will be linked into the output, leading to subtle bugs. 13525 if test "$solaris_use_stlport4" != yes; then 13526 postdeps_CXX='-library=Cstd -library=Crun' 13527 fi 13528 ;; 13529 esac 13530 ;; 13531esac 13532 13533 13534case " $postdeps_CXX " in 13535*" -lc "*) archive_cmds_need_lc_CXX=no ;; 13536esac 13537 compiler_lib_search_dirs_CXX= 13538if test -n "${compiler_lib_search_path_CXX}"; then 13539 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 13540fi 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 lt_prog_compiler_wl_CXX= 13573lt_prog_compiler_pic_CXX= 13574lt_prog_compiler_static_CXX= 13575 13576 13577 # C++ specific cases for pic, static, wl, etc. 13578 if test "$GXX" = yes; then 13579 lt_prog_compiler_wl_CXX='-Wl,' 13580 lt_prog_compiler_static_CXX='-static' 13581 13582 case $host_os in 13583 aix*) 13584 # All AIX code is PIC. 13585 if test "$host_cpu" = ia64; then 13586 # AIX 5 now supports IA64 processor 13587 lt_prog_compiler_static_CXX='-Bstatic' 13588 fi 13589 ;; 13590 13591 amigaos*) 13592 case $host_cpu in 13593 powerpc) 13594 # see comment about AmigaOS4 .so support 13595 lt_prog_compiler_pic_CXX='-fPIC' 13596 ;; 13597 m68k) 13598 # FIXME: we need at least 68020 code to build shared libraries, but 13599 # adding the `-m68020' flag to GCC prevents building anything better, 13600 # like `-m68040'. 13601 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 13602 ;; 13603 esac 13604 ;; 13605 13606 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 13607 # PIC is the default for these OSes. 13608 ;; 13609 mingw* | cygwin* | os2* | pw32* | cegcc*) 13610 # This hack is so that the source file can tell whether it is being 13611 # built for inclusion in a dll (and should export symbols for example). 13612 # Although the cygwin gcc ignores -fPIC, still need this for old-style 13613 # (--disable-auto-import) libraries 13614 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 13615 ;; 13616 darwin* | rhapsody*) 13617 # PIC is the default on this platform 13618 # Common symbols not allowed in MH_DYLIB files 13619 lt_prog_compiler_pic_CXX='-fno-common' 13620 ;; 13621 *djgpp*) 13622 # DJGPP does not support shared libraries at all 13623 lt_prog_compiler_pic_CXX= 13624 ;; 13625 haiku*) 13626 # PIC is the default for Haiku. 13627 # The "-static" flag exists, but is broken. 13628 lt_prog_compiler_static_CXX= 13629 ;; 13630 interix[3-9]*) 13631 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 13632 # Instead, we relocate shared libraries at runtime. 13633 ;; 13634 sysv4*MP*) 13635 if test -d /usr/nec; then 13636 lt_prog_compiler_pic_CXX=-Kconform_pic 13637 fi 13638 ;; 13639 hpux*) 13640 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 13641 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 13642 # sets the default TLS model and affects inlining. 13643 case $host_cpu in 13644 hppa*64*) 13645 ;; 13646 *) 13647 lt_prog_compiler_pic_CXX='-fPIC' 13648 ;; 13649 esac 13650 ;; 13651 *qnx* | *nto*) 13652 # QNX uses GNU C++, but need to define -shared option too, otherwise 13653 # it will coredump. 13654 lt_prog_compiler_pic_CXX='-fPIC -shared' 13655 ;; 13656 *) 13657 lt_prog_compiler_pic_CXX='-fPIC' 13658 ;; 13659 esac 13660 else 13661 case $host_os in 13662 aix[4-9]*) 13663 # All AIX code is PIC. 13664 if test "$host_cpu" = ia64; then 13665 # AIX 5 now supports IA64 processor 13666 lt_prog_compiler_static_CXX='-Bstatic' 13667 else 13668 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 13669 fi 13670 ;; 13671 chorus*) 13672 case $cc_basename in 13673 cxch68*) 13674 # Green Hills C++ Compiler 13675 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 13676 ;; 13677 esac 13678 ;; 13679 mingw* | cygwin* | os2* | pw32* | cegcc*) 13680 # This hack is so that the source file can tell whether it is being 13681 # built for inclusion in a dll (and should export symbols for example). 13682 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 13683 ;; 13684 dgux*) 13685 case $cc_basename in 13686 ec++*) 13687 lt_prog_compiler_pic_CXX='-KPIC' 13688 ;; 13689 ghcx*) 13690 # Green Hills C++ Compiler 13691 lt_prog_compiler_pic_CXX='-pic' 13692 ;; 13693 *) 13694 ;; 13695 esac 13696 ;; 13697 freebsd* | dragonfly*) 13698 # FreeBSD uses GNU C++ 13699 ;; 13700 hpux9* | hpux10* | hpux11*) 13701 case $cc_basename in 13702 CC*) 13703 lt_prog_compiler_wl_CXX='-Wl,' 13704 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 13705 if test "$host_cpu" != ia64; then 13706 lt_prog_compiler_pic_CXX='+Z' 13707 fi 13708 ;; 13709 aCC*) 13710 lt_prog_compiler_wl_CXX='-Wl,' 13711 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 13712 case $host_cpu in 13713 hppa*64*|ia64*) 13714 # +Z the default 13715 ;; 13716 *) 13717 lt_prog_compiler_pic_CXX='+Z' 13718 ;; 13719 esac 13720 ;; 13721 *) 13722 ;; 13723 esac 13724 ;; 13725 interix*) 13726 # This is c89, which is MS Visual C++ (no shared libs) 13727 # Anyone wants to do a port? 13728 ;; 13729 irix5* | irix6* | nonstopux*) 13730 case $cc_basename in 13731 CC*) 13732 lt_prog_compiler_wl_CXX='-Wl,' 13733 lt_prog_compiler_static_CXX='-non_shared' 13734 # CC pic flag -KPIC is the default. 13735 ;; 13736 *) 13737 ;; 13738 esac 13739 ;; 13740 linux* | k*bsd*-gnu | kopensolaris*-gnu) 13741 case $cc_basename in 13742 KCC*) 13743 # KAI C++ Compiler 13744 lt_prog_compiler_wl_CXX='--backend -Wl,' 13745 lt_prog_compiler_pic_CXX='-fPIC' 13746 ;; 13747 ecpc* ) 13748 # old Intel C++ for x86_64 which still supported -KPIC. 13749 lt_prog_compiler_wl_CXX='-Wl,' 13750 lt_prog_compiler_pic_CXX='-KPIC' 13751 lt_prog_compiler_static_CXX='-static' 13752 ;; 13753 icpc* ) 13754 # Intel C++, used to be incompatible with GCC. 13755 # ICC 10 doesn't accept -KPIC any more. 13756 lt_prog_compiler_wl_CXX='-Wl,' 13757 lt_prog_compiler_pic_CXX='-fPIC' 13758 lt_prog_compiler_static_CXX='-static' 13759 ;; 13760 pgCC* | pgcpp*) 13761 # Portland Group C++ compiler 13762 lt_prog_compiler_wl_CXX='-Wl,' 13763 lt_prog_compiler_pic_CXX='-fpic' 13764 lt_prog_compiler_static_CXX='-Bstatic' 13765 ;; 13766 cxx*) 13767 # Compaq C++ 13768 # Make sure the PIC flag is empty. It appears that all Alpha 13769 # Linux and Compaq Tru64 Unix objects are PIC. 13770 lt_prog_compiler_pic_CXX= 13771 lt_prog_compiler_static_CXX='-non_shared' 13772 ;; 13773 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 13774 # IBM XL 8.0, 9.0 on PPC and BlueGene 13775 lt_prog_compiler_wl_CXX='-Wl,' 13776 lt_prog_compiler_pic_CXX='-qpic' 13777 lt_prog_compiler_static_CXX='-qstaticlink' 13778 ;; 13779 *) 13780 case `$CC -V 2>&1 | sed 5q` in 13781 *Sun\ C*) 13782 # Sun C++ 5.9 13783 lt_prog_compiler_pic_CXX='-KPIC' 13784 lt_prog_compiler_static_CXX='-Bstatic' 13785 lt_prog_compiler_wl_CXX='-Qoption ld ' 13786 ;; 13787 esac 13788 ;; 13789 esac 13790 ;; 13791 lynxos*) 13792 ;; 13793 m88k*) 13794 ;; 13795 mvs*) 13796 case $cc_basename in 13797 cxx*) 13798 lt_prog_compiler_pic_CXX='-W c,exportall' 13799 ;; 13800 *) 13801 ;; 13802 esac 13803 ;; 13804 netbsd*) 13805 ;; 13806 *qnx* | *nto*) 13807 # QNX uses GNU C++, but need to define -shared option too, otherwise 13808 # it will coredump. 13809 lt_prog_compiler_pic_CXX='-fPIC -shared' 13810 ;; 13811 osf3* | osf4* | osf5*) 13812 case $cc_basename in 13813 KCC*) 13814 lt_prog_compiler_wl_CXX='--backend -Wl,' 13815 ;; 13816 RCC*) 13817 # Rational C++ 2.4.1 13818 lt_prog_compiler_pic_CXX='-pic' 13819 ;; 13820 cxx*) 13821 # Digital/Compaq C++ 13822 lt_prog_compiler_wl_CXX='-Wl,' 13823 # Make sure the PIC flag is empty. It appears that all Alpha 13824 # Linux and Compaq Tru64 Unix objects are PIC. 13825 lt_prog_compiler_pic_CXX= 13826 lt_prog_compiler_static_CXX='-non_shared' 13827 ;; 13828 *) 13829 ;; 13830 esac 13831 ;; 13832 psos*) 13833 ;; 13834 solaris*) 13835 case $cc_basename in 13836 CC* | sunCC*) 13837 # Sun C++ 4.2, 5.x and Centerline C++ 13838 lt_prog_compiler_pic_CXX='-KPIC' 13839 lt_prog_compiler_static_CXX='-Bstatic' 13840 lt_prog_compiler_wl_CXX='-Qoption ld ' 13841 ;; 13842 gcx*) 13843 # Green Hills C++ Compiler 13844 lt_prog_compiler_pic_CXX='-PIC' 13845 ;; 13846 *) 13847 ;; 13848 esac 13849 ;; 13850 sunos4*) 13851 case $cc_basename in 13852 CC*) 13853 # Sun C++ 4.x 13854 lt_prog_compiler_pic_CXX='-pic' 13855 lt_prog_compiler_static_CXX='-Bstatic' 13856 ;; 13857 lcc*) 13858 # Lucid 13859 lt_prog_compiler_pic_CXX='-pic' 13860 ;; 13861 *) 13862 ;; 13863 esac 13864 ;; 13865 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 13866 case $cc_basename in 13867 CC*) 13868 lt_prog_compiler_wl_CXX='-Wl,' 13869 lt_prog_compiler_pic_CXX='-KPIC' 13870 lt_prog_compiler_static_CXX='-Bstatic' 13871 ;; 13872 esac 13873 ;; 13874 tandem*) 13875 case $cc_basename in 13876 NCC*) 13877 # NonStop-UX NCC 3.20 13878 lt_prog_compiler_pic_CXX='-KPIC' 13879 ;; 13880 *) 13881 ;; 13882 esac 13883 ;; 13884 vxworks*) 13885 ;; 13886 *) 13887 lt_prog_compiler_can_build_shared_CXX=no 13888 ;; 13889 esac 13890 fi 13891 13892case $host_os in 13893 # For platforms which do not support PIC, -DPIC is meaningless: 13894 *djgpp*) 13895 lt_prog_compiler_pic_CXX= 13896 ;; 13897 *) 13898 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 13899 ;; 13900esac 13901 13902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 13903$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 13904if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 13905 $as_echo_n "(cached) " >&6 13906else 13907 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 13908fi 13909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 13910$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 13911lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 13912 13913# 13914# Check to make sure the PIC flag actually works. 13915# 13916if test -n "$lt_prog_compiler_pic_CXX"; then 13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 13918$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 13919if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 13920 $as_echo_n "(cached) " >&6 13921else 13922 lt_cv_prog_compiler_pic_works_CXX=no 13923 ac_outfile=conftest.$ac_objext 13924 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13925 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 13926 # Insert the option either (1) after the last *FLAGS variable, or 13927 # (2) before a word containing "conftest.", or (3) at the end. 13928 # Note that $ac_compile itself does not contain backslashes and begins 13929 # with a dollar sign (not a hyphen), so the echo should work correctly. 13930 # The option is referenced via a variable to avoid confusing sed. 13931 lt_compile=`echo "$ac_compile" | $SED \ 13932 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13933 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13934 -e 's:$: $lt_compiler_flag:'` 13935 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 13936 (eval "$lt_compile" 2>conftest.err) 13937 ac_status=$? 13938 cat conftest.err >&5 13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13940 if (exit $ac_status) && test -s "$ac_outfile"; then 13941 # The compiler can only warn and ignore the option if not recognized 13942 # So say no if there are warnings other than the usual output. 13943 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 13944 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13945 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 13946 lt_cv_prog_compiler_pic_works_CXX=yes 13947 fi 13948 fi 13949 $RM conftest* 13950 13951fi 13952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 13953$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 13954 13955if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 13956 case $lt_prog_compiler_pic_CXX in 13957 "" | " "*) ;; 13958 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 13959 esac 13960else 13961 lt_prog_compiler_pic_CXX= 13962 lt_prog_compiler_can_build_shared_CXX=no 13963fi 13964 13965fi 13966 13967 13968 13969 13970 13971# 13972# Check to make sure the static flag actually works. 13973# 13974wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 13975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 13976$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 13977if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 13978 $as_echo_n "(cached) " >&6 13979else 13980 lt_cv_prog_compiler_static_works_CXX=no 13981 save_LDFLAGS="$LDFLAGS" 13982 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 13983 echo "$lt_simple_link_test_code" > conftest.$ac_ext 13984 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 13985 # The linker can only warn and ignore the option if not recognized 13986 # So say no if there are warnings 13987 if test -s conftest.err; then 13988 # Append any errors to the config.log. 13989 cat conftest.err 1>&5 13990 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 13991 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13992 if diff conftest.exp conftest.er2 >/dev/null; then 13993 lt_cv_prog_compiler_static_works_CXX=yes 13994 fi 13995 else 13996 lt_cv_prog_compiler_static_works_CXX=yes 13997 fi 13998 fi 13999 $RM -r conftest* 14000 LDFLAGS="$save_LDFLAGS" 14001 14002fi 14003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 14004$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 14005 14006if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 14007 : 14008else 14009 lt_prog_compiler_static_CXX= 14010fi 14011 14012 14013 14014 14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14016$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14017if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14018 $as_echo_n "(cached) " >&6 14019else 14020 lt_cv_prog_compiler_c_o_CXX=no 14021 $RM -r conftest 2>/dev/null 14022 mkdir conftest 14023 cd conftest 14024 mkdir out 14025 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14026 14027 lt_compiler_flag="-o out/conftest2.$ac_objext" 14028 # Insert the option either (1) after the last *FLAGS variable, or 14029 # (2) before a word containing "conftest.", or (3) at the end. 14030 # Note that $ac_compile itself does not contain backslashes and begins 14031 # with a dollar sign (not a hyphen), so the echo should work correctly. 14032 lt_compile=`echo "$ac_compile" | $SED \ 14033 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14035 -e 's:$: $lt_compiler_flag:'` 14036 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14037 (eval "$lt_compile" 2>out/conftest.err) 14038 ac_status=$? 14039 cat out/conftest.err >&5 14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14041 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14042 then 14043 # The compiler can only warn and ignore the option if not recognized 14044 # So say no if there are warnings 14045 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14046 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14047 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14048 lt_cv_prog_compiler_c_o_CXX=yes 14049 fi 14050 fi 14051 chmod u+w . 2>&5 14052 $RM conftest* 14053 # SGI C++ compiler will create directory out/ii_files/ for 14054 # template instantiation 14055 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14056 $RM out/* && rmdir out 14057 cd .. 14058 $RM -r conftest 14059 $RM conftest* 14060 14061fi 14062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14063$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14064 14065 14066 14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14068$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14069if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14070 $as_echo_n "(cached) " >&6 14071else 14072 lt_cv_prog_compiler_c_o_CXX=no 14073 $RM -r conftest 2>/dev/null 14074 mkdir conftest 14075 cd conftest 14076 mkdir out 14077 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14078 14079 lt_compiler_flag="-o out/conftest2.$ac_objext" 14080 # Insert the option either (1) after the last *FLAGS variable, or 14081 # (2) before a word containing "conftest.", or (3) at the end. 14082 # Note that $ac_compile itself does not contain backslashes and begins 14083 # with a dollar sign (not a hyphen), so the echo should work correctly. 14084 lt_compile=`echo "$ac_compile" | $SED \ 14085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14087 -e 's:$: $lt_compiler_flag:'` 14088 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14089 (eval "$lt_compile" 2>out/conftest.err) 14090 ac_status=$? 14091 cat out/conftest.err >&5 14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14093 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14094 then 14095 # The compiler can only warn and ignore the option if not recognized 14096 # So say no if there are warnings 14097 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14098 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14099 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14100 lt_cv_prog_compiler_c_o_CXX=yes 14101 fi 14102 fi 14103 chmod u+w . 2>&5 14104 $RM conftest* 14105 # SGI C++ compiler will create directory out/ii_files/ for 14106 # template instantiation 14107 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14108 $RM out/* && rmdir out 14109 cd .. 14110 $RM -r conftest 14111 $RM conftest* 14112 14113fi 14114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14115$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14116 14117 14118 14119 14120hard_links="nottested" 14121if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 14122 # do not overwrite the value of need_locks provided by the user 14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 14124$as_echo_n "checking if we can lock with hard links... " >&6; } 14125 hard_links=yes 14126 $RM conftest* 14127 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14128 touch conftest.a 14129 ln conftest.a conftest.b 2>&5 || hard_links=no 14130 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14132$as_echo "$hard_links" >&6; } 14133 if test "$hard_links" = no; then 14134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 14135$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 14136 need_locks=warn 14137 fi 14138else 14139 need_locks=no 14140fi 14141 14142 14143 14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14145$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14146 14147 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14148 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14149 case $host_os in 14150 aix[4-9]*) 14151 # If we're using GNU nm, then we don't want the "-C" option. 14152 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14153 # Also, AIX nm treats weak defined symbols like other global defined 14154 # symbols, whereas GNU nm marks them as "W". 14155 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14156 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 14157 else 14158 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 14159 fi 14160 ;; 14161 pw32*) 14162 export_symbols_cmds_CXX="$ltdll_cmds" 14163 ;; 14164 cygwin* | mingw* | cegcc*) 14165 case $cc_basename in 14166 cl*) ;; 14167 *) 14168 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 14169 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 14170 ;; 14171 esac 14172 ;; 14173 linux* | k*bsd*-gnu) 14174 link_all_deplibs_CXX=no 14175 ;; 14176 *) 14177 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14178 ;; 14179 esac 14180 14181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14182$as_echo "$ld_shlibs_CXX" >&6; } 14183test "$ld_shlibs_CXX" = no && can_build_shared=no 14184 14185with_gnu_ld_CXX=$with_gnu_ld 14186 14187 14188 14189 14190 14191 14192# 14193# Do we need to explicitly link libc? 14194# 14195case "x$archive_cmds_need_lc_CXX" in 14196x|xyes) 14197 # Assume -lc should be added 14198 archive_cmds_need_lc_CXX=yes 14199 14200 if test "$enable_shared" = yes && test "$GCC" = yes; then 14201 case $archive_cmds_CXX in 14202 *'~'*) 14203 # FIXME: we may have to deal with multi-command sequences. 14204 ;; 14205 '$CC '*) 14206 # Test whether the compiler implicitly links with -lc since on some 14207 # systems, -lgcc has to come before -lc. If gcc already passes -lc 14208 # to ld, don't add -lc before -lgcc. 14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 14210$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 14211if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 14212 $as_echo_n "(cached) " >&6 14213else 14214 $RM conftest* 14215 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14216 14217 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14218 (eval $ac_compile) 2>&5 14219 ac_status=$? 14220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14221 test $ac_status = 0; } 2>conftest.err; then 14222 soname=conftest 14223 lib=conftest 14224 libobjs=conftest.$ac_objext 14225 deplibs= 14226 wl=$lt_prog_compiler_wl_CXX 14227 pic_flag=$lt_prog_compiler_pic_CXX 14228 compiler_flags=-v 14229 linker_flags=-v 14230 verstring= 14231 output_objdir=. 14232 libname=conftest 14233 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 14234 allow_undefined_flag_CXX= 14235 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 14236 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 14237 ac_status=$? 14238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14239 test $ac_status = 0; } 14240 then 14241 lt_cv_archive_cmds_need_lc_CXX=no 14242 else 14243 lt_cv_archive_cmds_need_lc_CXX=yes 14244 fi 14245 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 14246 else 14247 cat conftest.err 1>&5 14248 fi 14249 $RM conftest* 14250 14251fi 14252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 14253$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 14254 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 14255 ;; 14256 esac 14257 fi 14258 ;; 14259esac 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 14325$as_echo_n "checking dynamic linker characteristics... " >&6; } 14326 14327library_names_spec= 14328libname_spec='lib$name' 14329soname_spec= 14330shrext_cmds=".so" 14331postinstall_cmds= 14332postuninstall_cmds= 14333finish_cmds= 14334finish_eval= 14335shlibpath_var= 14336shlibpath_overrides_runpath=unknown 14337version_type=none 14338dynamic_linker="$host_os ld.so" 14339sys_lib_dlsearch_path_spec="/lib /usr/lib" 14340need_lib_prefix=unknown 14341hardcode_into_libs=no 14342 14343# when you set need_version to no, make sure it does not cause -set_version 14344# flags to be left without arguments 14345need_version=unknown 14346 14347case $host_os in 14348aix3*) 14349 version_type=linux 14350 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 14351 shlibpath_var=LIBPATH 14352 14353 # AIX 3 has no versioning support, so we append a major version to the name. 14354 soname_spec='${libname}${release}${shared_ext}$major' 14355 ;; 14356 14357aix[4-9]*) 14358 version_type=linux 14359 need_lib_prefix=no 14360 need_version=no 14361 hardcode_into_libs=yes 14362 if test "$host_cpu" = ia64; then 14363 # AIX 5 supports IA64 14364 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 14365 shlibpath_var=LD_LIBRARY_PATH 14366 else 14367 # With GCC up to 2.95.x, collect2 would create an import file 14368 # for dependence libraries. The import file would start with 14369 # the line `#! .'. This would cause the generated library to 14370 # depend on `.', always an invalid library. This was fixed in 14371 # development snapshots of GCC prior to 3.0. 14372 case $host_os in 14373 aix4 | aix4.[01] | aix4.[01].*) 14374 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 14375 echo ' yes ' 14376 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 14377 : 14378 else 14379 can_build_shared=no 14380 fi 14381 ;; 14382 esac 14383 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 14384 # soname into executable. Probably we can add versioning support to 14385 # collect2, so additional links can be useful in future. 14386 if test "$aix_use_runtimelinking" = yes; then 14387 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 14388 # instead of lib<name>.a to let people know that these are not 14389 # typical AIX shared libraries. 14390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14391 else 14392 # We preserve .a as extension for shared libraries through AIX4.2 14393 # and later when we are not doing run time linking. 14394 library_names_spec='${libname}${release}.a $libname.a' 14395 soname_spec='${libname}${release}${shared_ext}$major' 14396 fi 14397 shlibpath_var=LIBPATH 14398 fi 14399 ;; 14400 14401amigaos*) 14402 case $host_cpu in 14403 powerpc) 14404 # Since July 2007 AmigaOS4 officially supports .so libraries. 14405 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14407 ;; 14408 m68k) 14409 library_names_spec='$libname.ixlibrary $libname.a' 14410 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14411 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 14412 ;; 14413 esac 14414 ;; 14415 14416beos*) 14417 library_names_spec='${libname}${shared_ext}' 14418 dynamic_linker="$host_os ld.so" 14419 shlibpath_var=LIBRARY_PATH 14420 ;; 14421 14422bsdi[45]*) 14423 version_type=linux 14424 need_version=no 14425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14426 soname_spec='${libname}${release}${shared_ext}$major' 14427 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 14428 shlibpath_var=LD_LIBRARY_PATH 14429 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 14430 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 14431 # the default ld.so.conf also contains /usr/contrib/lib and 14432 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 14433 # libtool to hard-code these into programs 14434 ;; 14435 14436cygwin* | mingw* | pw32* | cegcc*) 14437 version_type=windows 14438 shrext_cmds=".dll" 14439 need_version=no 14440 need_lib_prefix=no 14441 14442 case $GCC,$cc_basename in 14443 yes,*) 14444 # gcc 14445 library_names_spec='$libname.dll.a' 14446 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14447 postinstall_cmds='base_file=`basename \${file}`~ 14448 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 14449 dldir=$destdir/`dirname \$dlpath`~ 14450 test -d \$dldir || mkdir -p \$dldir~ 14451 $install_prog $dir/$dlname \$dldir/$dlname~ 14452 chmod a+x \$dldir/$dlname~ 14453 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 14454 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 14455 fi' 14456 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14457 dlpath=$dir/\$dldll~ 14458 $RM \$dlpath' 14459 shlibpath_overrides_runpath=yes 14460 14461 case $host_os in 14462 cygwin*) 14463 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14464 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14465 14466 ;; 14467 mingw* | cegcc*) 14468 # MinGW DLLs use traditional 'lib' prefix 14469 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14470 ;; 14471 pw32*) 14472 # pw32 DLLs use 'pw' prefix rather than 'lib' 14473 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14474 ;; 14475 esac 14476 dynamic_linker='Win32 ld.exe' 14477 ;; 14478 14479 *,cl*) 14480 # Native MSVC 14481 libname_spec='$name' 14482 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14483 library_names_spec='${libname}.dll.lib' 14484 14485 case $build_os in 14486 mingw*) 14487 sys_lib_search_path_spec= 14488 lt_save_ifs=$IFS 14489 IFS=';' 14490 for lt_path in $LIB 14491 do 14492 IFS=$lt_save_ifs 14493 # Let DOS variable expansion print the short 8.3 style file name. 14494 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 14495 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 14496 done 14497 IFS=$lt_save_ifs 14498 # Convert to MSYS style. 14499 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 14500 ;; 14501 cygwin*) 14502 # Convert to unix form, then to dos form, then back to unix form 14503 # but this time dos style (no spaces!) so that the unix form looks 14504 # like /cygdrive/c/PROGRA~1:/cygdr... 14505 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 14506 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 14507 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 14508 ;; 14509 *) 14510 sys_lib_search_path_spec="$LIB" 14511 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 14512 # It is most probably a Windows format PATH. 14513 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 14514 else 14515 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 14516 fi 14517 # FIXME: find the short name or the path components, as spaces are 14518 # common. (e.g. "Program Files" -> "PROGRA~1") 14519 ;; 14520 esac 14521 14522 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14523 postinstall_cmds='base_file=`basename \${file}`~ 14524 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 14525 dldir=$destdir/`dirname \$dlpath`~ 14526 test -d \$dldir || mkdir -p \$dldir~ 14527 $install_prog $dir/$dlname \$dldir/$dlname' 14528 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14529 dlpath=$dir/\$dldll~ 14530 $RM \$dlpath' 14531 shlibpath_overrides_runpath=yes 14532 dynamic_linker='Win32 link.exe' 14533 ;; 14534 14535 *) 14536 # Assume MSVC wrapper 14537 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 14538 dynamic_linker='Win32 ld.exe' 14539 ;; 14540 esac 14541 # FIXME: first we should search . and the directory the executable is in 14542 shlibpath_var=PATH 14543 ;; 14544 14545darwin* | rhapsody*) 14546 dynamic_linker="$host_os dyld" 14547 version_type=darwin 14548 need_lib_prefix=no 14549 need_version=no 14550 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 14551 soname_spec='${libname}${release}${major}$shared_ext' 14552 shlibpath_overrides_runpath=yes 14553 shlibpath_var=DYLD_LIBRARY_PATH 14554 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 14555 14556 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 14557 ;; 14558 14559dgux*) 14560 version_type=linux 14561 need_lib_prefix=no 14562 need_version=no 14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 14564 soname_spec='${libname}${release}${shared_ext}$major' 14565 shlibpath_var=LD_LIBRARY_PATH 14566 ;; 14567 14568freebsd1*) 14569 dynamic_linker=no 14570 ;; 14571 14572freebsd* | dragonfly*) 14573 # DragonFly does not have aout. When/if they implement a new 14574 # versioning mechanism, adjust this. 14575 if test -x /usr/bin/objformat; then 14576 objformat=`/usr/bin/objformat` 14577 else 14578 case $host_os in 14579 freebsd[123]*) objformat=aout ;; 14580 *) objformat=elf ;; 14581 esac 14582 fi 14583 version_type=freebsd-$objformat 14584 case $version_type in 14585 freebsd-elf*) 14586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 14587 need_version=no 14588 need_lib_prefix=no 14589 ;; 14590 freebsd-*) 14591 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 14592 need_version=yes 14593 ;; 14594 esac 14595 shlibpath_var=LD_LIBRARY_PATH 14596 case $host_os in 14597 freebsd2*) 14598 shlibpath_overrides_runpath=yes 14599 ;; 14600 freebsd3.[01]* | freebsdelf3.[01]*) 14601 shlibpath_overrides_runpath=yes 14602 hardcode_into_libs=yes 14603 ;; 14604 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 14605 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 14606 shlibpath_overrides_runpath=no 14607 hardcode_into_libs=yes 14608 ;; 14609 *) # from 4.6 on, and DragonFly 14610 shlibpath_overrides_runpath=yes 14611 hardcode_into_libs=yes 14612 ;; 14613 esac 14614 ;; 14615 14616gnu*) 14617 version_type=linux 14618 need_lib_prefix=no 14619 need_version=no 14620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 14621 soname_spec='${libname}${release}${shared_ext}$major' 14622 shlibpath_var=LD_LIBRARY_PATH 14623 shlibpath_overrides_runpath=no 14624 hardcode_into_libs=yes 14625 ;; 14626 14627haiku*) 14628 version_type=linux 14629 need_lib_prefix=no 14630 need_version=no 14631 dynamic_linker="$host_os runtime_loader" 14632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 14633 soname_spec='${libname}${release}${shared_ext}$major' 14634 shlibpath_var=LIBRARY_PATH 14635 shlibpath_overrides_runpath=yes 14636 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 14637 hardcode_into_libs=yes 14638 ;; 14639 14640hpux9* | hpux10* | hpux11*) 14641 # Give a soname corresponding to the major version so that dld.sl refuses to 14642 # link against other versions. 14643 version_type=sunos 14644 need_lib_prefix=no 14645 need_version=no 14646 case $host_cpu in 14647 ia64*) 14648 shrext_cmds='.so' 14649 hardcode_into_libs=yes 14650 dynamic_linker="$host_os dld.so" 14651 shlibpath_var=LD_LIBRARY_PATH 14652 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14654 soname_spec='${libname}${release}${shared_ext}$major' 14655 if test "X$HPUX_IA64_MODE" = X32; then 14656 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 14657 else 14658 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 14659 fi 14660 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14661 ;; 14662 hppa*64*) 14663 shrext_cmds='.sl' 14664 hardcode_into_libs=yes 14665 dynamic_linker="$host_os dld.sl" 14666 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 14667 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14669 soname_spec='${libname}${release}${shared_ext}$major' 14670 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 14671 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14672 ;; 14673 *) 14674 shrext_cmds='.sl' 14675 dynamic_linker="$host_os dld.sl" 14676 shlibpath_var=SHLIB_PATH 14677 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 14678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14679 soname_spec='${libname}${release}${shared_ext}$major' 14680 ;; 14681 esac 14682 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 14683 postinstall_cmds='chmod 555 $lib' 14684 # or fails outright, so override atomically: 14685 install_override_mode=555 14686 ;; 14687 14688interix[3-9]*) 14689 version_type=linux 14690 need_lib_prefix=no 14691 need_version=no 14692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14693 soname_spec='${libname}${release}${shared_ext}$major' 14694 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 14695 shlibpath_var=LD_LIBRARY_PATH 14696 shlibpath_overrides_runpath=no 14697 hardcode_into_libs=yes 14698 ;; 14699 14700irix5* | irix6* | nonstopux*) 14701 case $host_os in 14702 nonstopux*) version_type=nonstopux ;; 14703 *) 14704 if test "$lt_cv_prog_gnu_ld" = yes; then 14705 version_type=linux 14706 else 14707 version_type=irix 14708 fi ;; 14709 esac 14710 need_lib_prefix=no 14711 need_version=no 14712 soname_spec='${libname}${release}${shared_ext}$major' 14713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 14714 case $host_os in 14715 irix5* | nonstopux*) 14716 libsuff= shlibsuff= 14717 ;; 14718 *) 14719 case $LD in # libtool.m4 will add one of these switches to LD 14720 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 14721 libsuff= shlibsuff= libmagic=32-bit;; 14722 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 14723 libsuff=32 shlibsuff=N32 libmagic=N32;; 14724 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 14725 libsuff=64 shlibsuff=64 libmagic=64-bit;; 14726 *) libsuff= shlibsuff= libmagic=never-match;; 14727 esac 14728 ;; 14729 esac 14730 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 14731 shlibpath_overrides_runpath=no 14732 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 14733 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 14734 hardcode_into_libs=yes 14735 ;; 14736 14737# No shared lib support for Linux oldld, aout, or coff. 14738linux*oldld* | linux*aout* | linux*coff*) 14739 dynamic_linker=no 14740 ;; 14741 14742# This must be Linux ELF. 14743linux* | k*bsd*-gnu | kopensolaris*-gnu) 14744 version_type=linux 14745 need_lib_prefix=no 14746 need_version=no 14747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14748 soname_spec='${libname}${release}${shared_ext}$major' 14749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 14750 shlibpath_var=LD_LIBRARY_PATH 14751 shlibpath_overrides_runpath=no 14752 14753 # Some binutils ld are patched to set DT_RUNPATH 14754 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 14755 $as_echo_n "(cached) " >&6 14756else 14757 lt_cv_shlibpath_overrides_runpath=no 14758 save_LDFLAGS=$LDFLAGS 14759 save_libdir=$libdir 14760 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 14761 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14763/* end confdefs.h. */ 14764 14765int 14766main () 14767{ 14768 14769 ; 14770 return 0; 14771} 14772_ACEOF 14773if ac_fn_cxx_try_link "$LINENO"; then : 14774 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 14775 lt_cv_shlibpath_overrides_runpath=yes 14776fi 14777fi 14778rm -f core conftest.err conftest.$ac_objext \ 14779 conftest$ac_exeext conftest.$ac_ext 14780 LDFLAGS=$save_LDFLAGS 14781 libdir=$save_libdir 14782 14783fi 14784 14785 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 14786 14787 # This implies no fast_install, which is unacceptable. 14788 # Some rework will be needed to allow for fast_install 14789 # before this can be enabled. 14790 hardcode_into_libs=yes 14791 14792 # find out which ABI we are using 14793 libsuff= 14794 case "$host_cpu" in 14795 x86_64*|s390x*|powerpc64*) 14796 echo '#line 14796 "configure"' > conftest.$ac_ext 14797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14798 (eval $ac_compile) 2>&5 14799 ac_status=$? 14800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14801 test $ac_status = 0; }; then 14802 case `/usr/bin/file conftest.$ac_objext` in 14803 *64-bit*) 14804 libsuff=64 14805 ;; 14806 esac 14807 fi 14808 rm -rf conftest* 14809 ;; 14810 esac 14811 14812 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 14813 14814 # Append ld.so.conf contents to the search path 14815 if test -f /etc/ld.so.conf; then 14816 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' ' '` 14817 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 14818 fi 14819 14820 # We used to test for /lib/ld.so.1 and disable shared libraries on 14821 # powerpc, because MkLinux only supported shared libraries with the 14822 # GNU dynamic linker. Since this was broken with cross compilers, 14823 # most powerpc-linux boxes support dynamic linking these days and 14824 # people can always --disable-shared, the test was removed, and we 14825 # assume the GNU/Linux dynamic linker is in use. 14826 dynamic_linker='GNU/Linux ld.so' 14827 ;; 14828 14829netbsd*) 14830 version_type=sunos 14831 need_lib_prefix=no 14832 need_version=no 14833 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14835 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14836 dynamic_linker='NetBSD (a.out) ld.so' 14837 else 14838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14839 soname_spec='${libname}${release}${shared_ext}$major' 14840 dynamic_linker='NetBSD ld.elf_so' 14841 fi 14842 shlibpath_var=LD_LIBRARY_PATH 14843 shlibpath_overrides_runpath=yes 14844 hardcode_into_libs=yes 14845 ;; 14846 14847newsos6) 14848 version_type=linux 14849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14850 shlibpath_var=LD_LIBRARY_PATH 14851 shlibpath_overrides_runpath=yes 14852 ;; 14853 14854*nto* | *qnx*) 14855 version_type=qnx 14856 need_lib_prefix=no 14857 need_version=no 14858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14859 soname_spec='${libname}${release}${shared_ext}$major' 14860 shlibpath_var=LD_LIBRARY_PATH 14861 shlibpath_overrides_runpath=no 14862 hardcode_into_libs=yes 14863 dynamic_linker='ldqnx.so' 14864 ;; 14865 14866openbsd*) 14867 version_type=sunos 14868 sys_lib_dlsearch_path_spec="/usr/lib" 14869 need_lib_prefix=no 14870 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 14871 case $host_os in 14872 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 14873 *) need_version=no ;; 14874 esac 14875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14876 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14877 shlibpath_var=LD_LIBRARY_PATH 14878 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14879 case $host_os in 14880 openbsd2.[89] | openbsd2.[89].*) 14881 shlibpath_overrides_runpath=no 14882 ;; 14883 *) 14884 shlibpath_overrides_runpath=yes 14885 ;; 14886 esac 14887 else 14888 shlibpath_overrides_runpath=yes 14889 fi 14890 ;; 14891 14892os2*) 14893 libname_spec='$name' 14894 shrext_cmds=".dll" 14895 need_lib_prefix=no 14896 library_names_spec='$libname${shared_ext} $libname.a' 14897 dynamic_linker='OS/2 ld.exe' 14898 shlibpath_var=LIBPATH 14899 ;; 14900 14901osf3* | osf4* | osf5*) 14902 version_type=osf 14903 need_lib_prefix=no 14904 need_version=no 14905 soname_spec='${libname}${release}${shared_ext}$major' 14906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14907 shlibpath_var=LD_LIBRARY_PATH 14908 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 14909 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 14910 ;; 14911 14912rdos*) 14913 dynamic_linker=no 14914 ;; 14915 14916solaris*) 14917 version_type=linux 14918 need_lib_prefix=no 14919 need_version=no 14920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14921 soname_spec='${libname}${release}${shared_ext}$major' 14922 shlibpath_var=LD_LIBRARY_PATH 14923 shlibpath_overrides_runpath=yes 14924 hardcode_into_libs=yes 14925 # ldd complains unless libraries are executable 14926 postinstall_cmds='chmod +x $lib' 14927 ;; 14928 14929sunos4*) 14930 version_type=sunos 14931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14932 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 14933 shlibpath_var=LD_LIBRARY_PATH 14934 shlibpath_overrides_runpath=yes 14935 if test "$with_gnu_ld" = yes; then 14936 need_lib_prefix=no 14937 fi 14938 need_version=yes 14939 ;; 14940 14941sysv4 | sysv4.3*) 14942 version_type=linux 14943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14944 soname_spec='${libname}${release}${shared_ext}$major' 14945 shlibpath_var=LD_LIBRARY_PATH 14946 case $host_vendor in 14947 sni) 14948 shlibpath_overrides_runpath=no 14949 need_lib_prefix=no 14950 runpath_var=LD_RUN_PATH 14951 ;; 14952 siemens) 14953 need_lib_prefix=no 14954 ;; 14955 motorola) 14956 need_lib_prefix=no 14957 need_version=no 14958 shlibpath_overrides_runpath=no 14959 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 14960 ;; 14961 esac 14962 ;; 14963 14964sysv4*MP*) 14965 if test -d /usr/nec ;then 14966 version_type=linux 14967 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 14968 soname_spec='$libname${shared_ext}.$major' 14969 shlibpath_var=LD_LIBRARY_PATH 14970 fi 14971 ;; 14972 14973sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 14974 version_type=freebsd-elf 14975 need_lib_prefix=no 14976 need_version=no 14977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 14978 soname_spec='${libname}${release}${shared_ext}$major' 14979 shlibpath_var=LD_LIBRARY_PATH 14980 shlibpath_overrides_runpath=yes 14981 hardcode_into_libs=yes 14982 if test "$with_gnu_ld" = yes; then 14983 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 14984 else 14985 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 14986 case $host_os in 14987 sco3.2v5*) 14988 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 14989 ;; 14990 esac 14991 fi 14992 sys_lib_dlsearch_path_spec='/usr/lib' 14993 ;; 14994 14995tpf*) 14996 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 14997 version_type=linux 14998 need_lib_prefix=no 14999 need_version=no 15000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15001 shlibpath_var=LD_LIBRARY_PATH 15002 shlibpath_overrides_runpath=no 15003 hardcode_into_libs=yes 15004 ;; 15005 15006uts4*) 15007 version_type=linux 15008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15009 soname_spec='${libname}${release}${shared_ext}$major' 15010 shlibpath_var=LD_LIBRARY_PATH 15011 ;; 15012 15013*) 15014 dynamic_linker=no 15015 ;; 15016esac 15017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 15018$as_echo "$dynamic_linker" >&6; } 15019test "$dynamic_linker" = no && can_build_shared=no 15020 15021variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15022if test "$GCC" = yes; then 15023 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15024fi 15025 15026if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 15027 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 15028fi 15029if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 15030 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 15031fi 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 15071$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 15072hardcode_action_CXX= 15073if test -n "$hardcode_libdir_flag_spec_CXX" || 15074 test -n "$runpath_var_CXX" || 15075 test "X$hardcode_automatic_CXX" = "Xyes" ; then 15076 15077 # We can hardcode non-existent directories. 15078 if test "$hardcode_direct_CXX" != no && 15079 # If the only mechanism to avoid hardcoding is shlibpath_var, we 15080 # have to relink, otherwise we might link with an installed library 15081 # when we should be linking with a yet-to-be-installed one 15082 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 15083 test "$hardcode_minus_L_CXX" != no; then 15084 # Linking always hardcodes the temporary library directory. 15085 hardcode_action_CXX=relink 15086 else 15087 # We can link without hardcoding, and we can hardcode nonexisting dirs. 15088 hardcode_action_CXX=immediate 15089 fi 15090else 15091 # We cannot hardcode anything, or else we can only hardcode existing 15092 # directories. 15093 hardcode_action_CXX=unsupported 15094fi 15095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 15096$as_echo "$hardcode_action_CXX" >&6; } 15097 15098if test "$hardcode_action_CXX" = relink || 15099 test "$inherit_rpath_CXX" = yes; then 15100 # Fast installation is not supported 15101 enable_fast_install=no 15102elif test "$shlibpath_overrides_runpath" = yes || 15103 test "$enable_shared" = no; then 15104 # Fast installation is not necessary 15105 enable_fast_install=needless 15106fi 15107 15108 15109 15110 15111 15112 15113 15114 fi # test -n "$compiler" 15115 15116 CC=$lt_save_CC 15117 CFLAGS=$lt_save_CFLAGS 15118 LDCXX=$LD 15119 LD=$lt_save_LD 15120 GCC=$lt_save_GCC 15121 with_gnu_ld=$lt_save_with_gnu_ld 15122 lt_cv_path_LDCXX=$lt_cv_path_LD 15123 lt_cv_path_LD=$lt_save_path_LD 15124 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 15125 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 15126fi # test "$_lt_caught_CXX_error" != yes 15127 15128ac_ext=c 15129ac_cpp='$CPP $CPPFLAGS' 15130ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15131ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15132ac_compiler_gnu=$ac_cv_c_compiler_gnu 15133 15134 15135 15136# Check whether --enable-debug was given. 15137if test "${enable_debug+set}" = set; then : 15138 enableval=$enable_debug; 15139 if test "$enableval" = "yes"; then 15140 CXXFLAGS="$CXXFLAGS -Wall -Wno-unknown-pragmas -DDEBUG" 15141 else 15142 CXXFLAGS="$CXXFLAGS -Wall -Wno-unknown-pragmas -DNDEBUG" 15143 fi 15144 15145else 15146 15147 CXXFLAGS="$CXXFLAGS -Wall -Wno-unknown-pragmas -DNDEBUG" 15148 15149 15150fi 15151 15152 15153 15154 15155 15156ac_ext=cpp 15157ac_cpp='$CXXCPP $CPPFLAGS' 15158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15161 15162 15163 ac_success=no 15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 15165$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; } 15166if ${ax_cv_cxx_compile_cxx11+:} false; then : 15167 $as_echo_n "(cached) " >&6 15168else 15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15170/* end confdefs.h. */ 15171 15172 template <typename T> 15173 struct check 15174 { 15175 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 15176 }; 15177 15178 typedef check<check<bool>> right_angle_brackets; 15179 15180 int a; 15181 decltype(a) b; 15182 15183 typedef check<int> check_type; 15184 check_type c; 15185 check_type&& cr = static_cast<check_type&&>(c); 15186 15187_ACEOF 15188if ac_fn_cxx_try_compile "$LINENO"; then : 15189 ax_cv_cxx_compile_cxx11=yes 15190else 15191 ax_cv_cxx_compile_cxx11=no 15192fi 15193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15194fi 15195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 15196$as_echo "$ax_cv_cxx_compile_cxx11" >&6; } 15197 if test x$ax_cv_cxx_compile_cxx11 = xyes; then 15198 ac_success=yes 15199 fi 15200 15201 if test x$ac_success = xno; then 15202 for switch in -std=gnu++11 -std=gnu++0x; do 15203 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` 15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 15205$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } 15206if eval \${$cachevar+:} false; then : 15207 $as_echo_n "(cached) " >&6 15208else 15209 ac_save_CXXFLAGS="$CXXFLAGS" 15210 CXXFLAGS="$CXXFLAGS $switch" 15211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15212/* end confdefs.h. */ 15213 15214 template <typename T> 15215 struct check 15216 { 15217 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 15218 }; 15219 15220 typedef check<check<bool>> right_angle_brackets; 15221 15222 int a; 15223 decltype(a) b; 15224 15225 typedef check<int> check_type; 15226 check_type c; 15227 check_type&& cr = static_cast<check_type&&>(c); 15228 15229_ACEOF 15230if ac_fn_cxx_try_compile "$LINENO"; then : 15231 eval $cachevar=yes 15232else 15233 eval $cachevar=no 15234fi 15235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15236 CXXFLAGS="$ac_save_CXXFLAGS" 15237fi 15238eval ac_res=\$$cachevar 15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15240$as_echo "$ac_res" >&6; } 15241 if eval test x\$$cachevar = xyes; then 15242 CXXFLAGS="$CXXFLAGS $switch" 15243 ac_success=yes 15244 break 15245 fi 15246 done 15247 fi 15248 15249 if test x$ac_success = xno; then 15250 for switch in -std=c++11 -std=c++0x; do 15251 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` 15252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 15253$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } 15254if eval \${$cachevar+:} false; then : 15255 $as_echo_n "(cached) " >&6 15256else 15257 ac_save_CXXFLAGS="$CXXFLAGS" 15258 CXXFLAGS="$CXXFLAGS $switch" 15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15260/* end confdefs.h. */ 15261 15262 template <typename T> 15263 struct check 15264 { 15265 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 15266 }; 15267 15268 typedef check<check<bool>> right_angle_brackets; 15269 15270 int a; 15271 decltype(a) b; 15272 15273 typedef check<int> check_type; 15274 check_type c; 15275 check_type&& cr = static_cast<check_type&&>(c); 15276 15277_ACEOF 15278if ac_fn_cxx_try_compile "$LINENO"; then : 15279 eval $cachevar=yes 15280else 15281 eval $cachevar=no 15282fi 15283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15284 CXXFLAGS="$ac_save_CXXFLAGS" 15285fi 15286eval ac_res=\$$cachevar 15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15288$as_echo "$ac_res" >&6; } 15289 if eval test x\$$cachevar = xyes; then 15290 CXXFLAGS="$CXXFLAGS $switch" 15291 ac_success=yes 15292 break 15293 fi 15294 done 15295 fi 15296 15297 if test x$ac_success = xno; then 15298 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5 15299 fi 15300 15301 15302 15303for ac_func in llrint lrintf rintf rint 15304do : 15305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15306ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" 15307if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15308 cat >>confdefs.h <<_ACEOF 15309#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15310_ACEOF 15311 15312fi 15313done 15314 15315for ac_func in fabsf 15316do : 15317 ac_fn_cxx_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" 15318if test "x$ac_cv_func_fabsf" = xyes; then : 15319 cat >>confdefs.h <<_ACEOF 15320#define HAVE_FABSF 1 15321_ACEOF 15322 15323fi 15324done 15325 15326 15327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mingw32" >&5 15328$as_echo_n "checking for mingw32... " >&6; } 15329cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15330/* end confdefs.h. */ 15331 15332int 15333main () 15334{ 15335 15336#ifdef __MINGW32__ 15337#error MingW32 detected, adding -lws2_32 and -lwsock32 to LIBS 15338#endif 15339 15340 ; 15341 return 0; 15342} 15343_ACEOF 15344if ac_fn_cxx_try_compile "$LINENO"; then : 15345 15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15347$as_echo "no" >&6; } 15348 have_winsock='no' 15349 15350else 15351 15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15353$as_echo "yes" >&6; } 15354 have_winsock='yes' 15355 15356fi 15357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15358 if test "x$have_winsock" = "xyes"; then 15359 HAVE_WINSOCK_TRUE= 15360 HAVE_WINSOCK_FALSE='#' 15361else 15362 HAVE_WINSOCK_TRUE='#' 15363 HAVE_WINSOCK_FALSE= 15364fi 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15376 if test -n "$ac_tool_prefix"; then 15377 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15378set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15380$as_echo_n "checking for $ac_word... " >&6; } 15381if ${ac_cv_path_PKG_CONFIG+:} false; then : 15382 $as_echo_n "(cached) " >&6 15383else 15384 case $PKG_CONFIG in 15385 [\\/]* | ?:[\\/]*) 15386 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15387 ;; 15388 *) 15389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15390for as_dir in $PATH 15391do 15392 IFS=$as_save_IFS 15393 test -z "$as_dir" && as_dir=. 15394 for ac_exec_ext in '' $ac_executable_extensions; do 15395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15396 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15398 break 2 15399 fi 15400done 15401 done 15402IFS=$as_save_IFS 15403 15404 ;; 15405esac 15406fi 15407PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15408if test -n "$PKG_CONFIG"; then 15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15410$as_echo "$PKG_CONFIG" >&6; } 15411else 15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15413$as_echo "no" >&6; } 15414fi 15415 15416 15417fi 15418if test -z "$ac_cv_path_PKG_CONFIG"; then 15419 ac_pt_PKG_CONFIG=$PKG_CONFIG 15420 # Extract the first word of "pkg-config", so it can be a program name with args. 15421set dummy pkg-config; ac_word=$2 15422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15423$as_echo_n "checking for $ac_word... " >&6; } 15424if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15425 $as_echo_n "(cached) " >&6 15426else 15427 case $ac_pt_PKG_CONFIG in 15428 [\\/]* | ?:[\\/]*) 15429 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15430 ;; 15431 *) 15432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15433for as_dir in $PATH 15434do 15435 IFS=$as_save_IFS 15436 test -z "$as_dir" && as_dir=. 15437 for ac_exec_ext in '' $ac_executable_extensions; do 15438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15439 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15441 break 2 15442 fi 15443done 15444 done 15445IFS=$as_save_IFS 15446 15447 ;; 15448esac 15449fi 15450ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15451if test -n "$ac_pt_PKG_CONFIG"; then 15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15453$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15454else 15455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15456$as_echo "no" >&6; } 15457fi 15458 15459 if test "x$ac_pt_PKG_CONFIG" = x; then 15460 PKG_CONFIG="" 15461 else 15462 case $cross_compiling:$ac_tool_warned in 15463yes:) 15464{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15465$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15466ac_tool_warned=yes ;; 15467esac 15468 PKG_CONFIG=$ac_pt_PKG_CONFIG 15469 fi 15470else 15471 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15472fi 15473 15474fi 15475if test -n "$PKG_CONFIG"; then 15476 _pkg_min_version=0.9.0 15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15478$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15479 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15481$as_echo "yes" >&6; } 15482 else 15483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15484$as_echo "no" >&6; } 15485 PKG_CONFIG="" 15486 fi 15487fi 15488 15489 15490 15491pkg_failed=no 15492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGC" >&5 15493$as_echo_n "checking for SIGC... " >&6; } 15494 15495if test -n "$SIGC_CFLAGS"; then 15496 pkg_cv_SIGC_CFLAGS="$SIGC_CFLAGS" 15497 elif test -n "$PKG_CONFIG"; then 15498 if test -n "$PKG_CONFIG" && \ 15499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0 != 2.0.8\""; } >&5 15500 ($PKG_CONFIG --exists --print-errors "sigc++-2.0 != 2.0.8") 2>&5 15501 ac_status=$? 15502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15503 test $ac_status = 0; }; then 15504 pkg_cv_SIGC_CFLAGS=`$PKG_CONFIG --cflags "sigc++-2.0 != 2.0.8" 2>/dev/null` 15505 test "x$?" != "x0" && pkg_failed=yes 15506else 15507 pkg_failed=yes 15508fi 15509 else 15510 pkg_failed=untried 15511fi 15512if test -n "$SIGC_LIBS"; then 15513 pkg_cv_SIGC_LIBS="$SIGC_LIBS" 15514 elif test -n "$PKG_CONFIG"; then 15515 if test -n "$PKG_CONFIG" && \ 15516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0 != 2.0.8\""; } >&5 15517 ($PKG_CONFIG --exists --print-errors "sigc++-2.0 != 2.0.8") 2>&5 15518 ac_status=$? 15519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15520 test $ac_status = 0; }; then 15521 pkg_cv_SIGC_LIBS=`$PKG_CONFIG --libs "sigc++-2.0 != 2.0.8" 2>/dev/null` 15522 test "x$?" != "x0" && pkg_failed=yes 15523else 15524 pkg_failed=yes 15525fi 15526 else 15527 pkg_failed=untried 15528fi 15529 15530 15531 15532if test $pkg_failed = yes; then 15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15534$as_echo "no" >&6; } 15535 15536if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15537 _pkg_short_errors_supported=yes 15538else 15539 _pkg_short_errors_supported=no 15540fi 15541 if test $_pkg_short_errors_supported = yes; then 15542 SIGC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sigc++-2.0 != 2.0.8" 2>&1` 15543 else 15544 SIGC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sigc++-2.0 != 2.0.8" 2>&1` 15545 fi 15546 # Put the nasty error message in config.log where it belongs 15547 echo "$SIGC_PKG_ERRORS" >&5 15548 15549 15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15551$as_echo "no" >&6; } 15552 as_fn_error $? " 15553Cannot find a valid version of the sigc++ library: 15554$SIGC_PKG_ERRORS 15555Perhaps you should add the directory containing the missing libraries to the 15556PKG_CONFIG_PATH environment variable. 15557Please see http://libsigc.sourceforge.net/ for details of how to download and 15558install the library." "$LINENO" 5 15559 15560 15561elif test $pkg_failed = untried; then 15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15563$as_echo "no" >&6; } 15564 15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15566$as_echo "no" >&6; } 15567 as_fn_error $? " 15568Cannot find a valid version of the sigc++ library: 15569$SIGC_PKG_ERRORS 15570Perhaps you should add the directory containing the missing libraries to the 15571PKG_CONFIG_PATH environment variable. 15572Please see http://libsigc.sourceforge.net/ for details of how to download and 15573install the library." "$LINENO" 5 15574 15575 15576else 15577 SIGC_CFLAGS=$pkg_cv_SIGC_CFLAGS 15578 SIGC_LIBS=$pkg_cv_SIGC_LIBS 15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15580$as_echo "yes" >&6; } 15581 15582 CPPFLAGS="$CPPFLAGS $SIGC_CFLAGS" 15583 LIBS="$LIBS $SIGC_LIBS" 15584 ERIS_REQUIRES="$ERIS_REQUIRES sigc++-2.0" 15585 15586fi 15587 15588pkg_failed=no 15589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WF" >&5 15590$as_echo_n "checking for WF... " >&6; } 15591 15592if test -n "$WF_CFLAGS"; then 15593 pkg_cv_WF_CFLAGS="$WF_CFLAGS" 15594 elif test -n "$PKG_CONFIG"; then 15595 if test -n "$PKG_CONFIG" && \ 15596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"skstream-0.3 >= 0.3.9 atlascpp-0.6 >= 0.6.3 wfmath-1.0 >= 1.0.0 mercator-0.3 >= 0.3.3\""; } >&5 15597 ($PKG_CONFIG --exists --print-errors "skstream-0.3 >= 0.3.9 atlascpp-0.6 >= 0.6.3 wfmath-1.0 >= 1.0.0 mercator-0.3 >= 0.3.3") 2>&5 15598 ac_status=$? 15599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15600 test $ac_status = 0; }; then 15601 pkg_cv_WF_CFLAGS=`$PKG_CONFIG --cflags "skstream-0.3 >= 0.3.9 atlascpp-0.6 >= 0.6.3 wfmath-1.0 >= 1.0.0 mercator-0.3 >= 0.3.3" 2>/dev/null` 15602 test "x$?" != "x0" && pkg_failed=yes 15603else 15604 pkg_failed=yes 15605fi 15606 else 15607 pkg_failed=untried 15608fi 15609if test -n "$WF_LIBS"; then 15610 pkg_cv_WF_LIBS="$WF_LIBS" 15611 elif test -n "$PKG_CONFIG"; then 15612 if test -n "$PKG_CONFIG" && \ 15613 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"skstream-0.3 >= 0.3.9 atlascpp-0.6 >= 0.6.3 wfmath-1.0 >= 1.0.0 mercator-0.3 >= 0.3.3\""; } >&5 15614 ($PKG_CONFIG --exists --print-errors "skstream-0.3 >= 0.3.9 atlascpp-0.6 >= 0.6.3 wfmath-1.0 >= 1.0.0 mercator-0.3 >= 0.3.3") 2>&5 15615 ac_status=$? 15616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15617 test $ac_status = 0; }; then 15618 pkg_cv_WF_LIBS=`$PKG_CONFIG --libs "skstream-0.3 >= 0.3.9 atlascpp-0.6 >= 0.6.3 wfmath-1.0 >= 1.0.0 mercator-0.3 >= 0.3.3" 2>/dev/null` 15619 test "x$?" != "x0" && pkg_failed=yes 15620else 15621 pkg_failed=yes 15622fi 15623 else 15624 pkg_failed=untried 15625fi 15626 15627 15628 15629if test $pkg_failed = yes; then 15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15631$as_echo "no" >&6; } 15632 15633if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15634 _pkg_short_errors_supported=yes 15635else 15636 _pkg_short_errors_supported=no 15637fi 15638 if test $_pkg_short_errors_supported = yes; then 15639 WF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "skstream-0.3 >= 0.3.9 atlascpp-0.6 >= 0.6.3 wfmath-1.0 >= 1.0.0 mercator-0.3 >= 0.3.3" 2>&1` 15640 else 15641 WF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "skstream-0.3 >= 0.3.9 atlascpp-0.6 >= 0.6.3 wfmath-1.0 >= 1.0.0 mercator-0.3 >= 0.3.3" 2>&1` 15642 fi 15643 # Put the nasty error message in config.log where it belongs 15644 echo "$WF_PKG_ERRORS" >&5 15645 15646 15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15648$as_echo "no" >&6; } 15649 as_fn_error $? " 15650Cannot find valid versions of required WorldForge libraries: 15651$WF_PKG_ERRORS 15652Perhaps you should add the directory containing the missing libraries to the 15653PKG_CONFIG_PATH environment variable. 15654Please see http://worldforge.org/dev/eng/libraries/eris for details of the 15655libraries required and where to obtain them." "$LINENO" 5 15656 15657 15658elif test $pkg_failed = untried; then 15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15660$as_echo "no" >&6; } 15661 15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15663$as_echo "no" >&6; } 15664 as_fn_error $? " 15665Cannot find valid versions of required WorldForge libraries: 15666$WF_PKG_ERRORS 15667Perhaps you should add the directory containing the missing libraries to the 15668PKG_CONFIG_PATH environment variable. 15669Please see http://worldforge.org/dev/eng/libraries/eris for details of the 15670libraries required and where to obtain them." "$LINENO" 5 15671 15672 15673else 15674 WF_CFLAGS=$pkg_cv_WF_CFLAGS 15675 WF_LIBS=$pkg_cv_WF_LIBS 15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15677$as_echo "yes" >&6; } 15678 15679 CPPFLAGS="$CPPFLAGS $WF_CFLAGS" 15680 ERIS_DEPS="$ERIS_DEPS $WF_LIBS" 15681 ERIS_REQUIRES="$ERIS_REQUIRES skstream-0.3 atlascpp-0.6 wfmath-1.0 mercator-0.3" 15682 15683fi 15684 15685ac_ext=c 15686ac_cpp='$CPP $CPPFLAGS' 15687ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15688ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15689ac_compiler_gnu=$ac_cv_c_compiler_gnu 15690 15691 15692# Check whether --enable-perl was given. 15693if test "${enable_perl+set}" = set; then : 15694 enableval=$enable_perl; 15695 15696pkg_failed=no 15697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGCPERL" >&5 15698$as_echo_n "checking for SIGCPERL... " >&6; } 15699 15700if test -n "$SIGCPERL_CFLAGS"; then 15701 pkg_cv_SIGCPERL_CFLAGS="$SIGCPERL_CFLAGS" 15702 elif test -n "$PKG_CONFIG"; then 15703 if test -n "$PKG_CONFIG" && \ 15704 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigcperl >= 0.2\""; } >&5 15705 ($PKG_CONFIG --exists --print-errors "sigcperl >= 0.2") 2>&5 15706 ac_status=$? 15707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15708 test $ac_status = 0; }; then 15709 pkg_cv_SIGCPERL_CFLAGS=`$PKG_CONFIG --cflags "sigcperl >= 0.2" 2>/dev/null` 15710 test "x$?" != "x0" && pkg_failed=yes 15711else 15712 pkg_failed=yes 15713fi 15714 else 15715 pkg_failed=untried 15716fi 15717if test -n "$SIGCPERL_LIBS"; then 15718 pkg_cv_SIGCPERL_LIBS="$SIGCPERL_LIBS" 15719 elif test -n "$PKG_CONFIG"; then 15720 if test -n "$PKG_CONFIG" && \ 15721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigcperl >= 0.2\""; } >&5 15722 ($PKG_CONFIG --exists --print-errors "sigcperl >= 0.2") 2>&5 15723 ac_status=$? 15724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15725 test $ac_status = 0; }; then 15726 pkg_cv_SIGCPERL_LIBS=`$PKG_CONFIG --libs "sigcperl >= 0.2" 2>/dev/null` 15727 test "x$?" != "x0" && pkg_failed=yes 15728else 15729 pkg_failed=yes 15730fi 15731 else 15732 pkg_failed=untried 15733fi 15734 15735 15736 15737if test $pkg_failed = yes; then 15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15739$as_echo "no" >&6; } 15740 15741if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15742 _pkg_short_errors_supported=yes 15743else 15744 _pkg_short_errors_supported=no 15745fi 15746 if test $_pkg_short_errors_supported = yes; then 15747 SIGCPERL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sigcperl >= 0.2" 2>&1` 15748 else 15749 SIGCPERL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sigcperl >= 0.2" 2>&1` 15750 fi 15751 # Put the nasty error message in config.log where it belongs 15752 echo "$SIGCPERL_PKG_ERRORS" >&5 15753 15754 15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15756$as_echo "no" >&6; } 15757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsigcperl not found" >&5 15758$as_echo "$as_me: WARNING: libsigcperl not found" >&2;} 15759 enable_perl='no' 15760 15761elif test $pkg_failed = untried; then 15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15763$as_echo "no" >&6; } 15764 15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15766$as_echo "no" >&6; } 15767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsigcperl not found" >&5 15768$as_echo "$as_me: WARNING: libsigcperl not found" >&2;} 15769 enable_perl='no' 15770 15771else 15772 SIGCPERL_CFLAGS=$pkg_cv_SIGCPERL_CFLAGS 15773 SIGCPERL_LIBS=$pkg_cv_SIGCPERL_LIBS 15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15775$as_echo "yes" >&6; } 15776 15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl module SigC" >&5 15778$as_echo_n "checking for Perl module SigC... " >&6; } 15779 if (`perl -e "use SigC;"`) 15780 then 15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15782$as_echo "yes" >&6; } 15783 enable_perl='yes' 15784 else 15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15786$as_echo "no" >&6; } 15787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SigC module not found" >&5 15788$as_echo "$as_me: WARNING: SigC module not found" >&2;} 15789 enable_perl='no' 15790 fi 15791 15792fi 15793 15794fi 15795 15796 if test "x$enable_perl" = "xyes"; then 15797 PERL_BINDINGS_TRUE= 15798 PERL_BINDINGS_FALSE='#' 15799else 15800 PERL_BINDINGS_TRUE='#' 15801 PERL_BINDINGS_FALSE= 15802fi 15803 15804 15805 15806pkg_failed=no 15807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 15808$as_echo_n "checking for GLIB... " >&6; } 15809 15810if test -n "$GLIB_CFLAGS"; then 15811 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 15812 elif test -n "$PKG_CONFIG"; then 15813 if test -n "$PKG_CONFIG" && \ 15814 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.0.0\""; } >&5 15815 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.0.0") 2>&5 15816 ac_status=$? 15817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15818 test $ac_status = 0; }; then 15819 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.0.0" 2>/dev/null` 15820 test "x$?" != "x0" && pkg_failed=yes 15821else 15822 pkg_failed=yes 15823fi 15824 else 15825 pkg_failed=untried 15826fi 15827if test -n "$GLIB_LIBS"; then 15828 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 15829 elif test -n "$PKG_CONFIG"; then 15830 if test -n "$PKG_CONFIG" && \ 15831 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.0.0\""; } >&5 15832 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.0.0") 2>&5 15833 ac_status=$? 15834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15835 test $ac_status = 0; }; then 15836 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.0.0" 2>/dev/null` 15837 test "x$?" != "x0" && pkg_failed=yes 15838else 15839 pkg_failed=yes 15840fi 15841 else 15842 pkg_failed=untried 15843fi 15844 15845 15846 15847if test $pkg_failed = yes; then 15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15849$as_echo "no" >&6; } 15850 15851if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15852 _pkg_short_errors_supported=yes 15853else 15854 _pkg_short_errors_supported=no 15855fi 15856 if test $_pkg_short_errors_supported = yes; then 15857 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.0.0" 2>&1` 15858 else 15859 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.0.0" 2>&1` 15860 fi 15861 # Put the nasty error message in config.log where it belongs 15862 echo "$GLIB_PKG_ERRORS" >&5 15863 15864 15865 15866# Check whether --with-glib-prefix was given. 15867if test "${with_glib_prefix+set}" = set; then : 15868 withval=$with_glib_prefix; glib_config_prefix="$withval" 15869else 15870 glib_config_prefix="" 15871fi 15872 15873 15874# Check whether --with-glib-exec-prefix was given. 15875if test "${with_glib_exec_prefix+set}" = set; then : 15876 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval" 15877else 15878 glib_config_exec_prefix="" 15879fi 15880 15881# Check whether --enable-glibtest was given. 15882if test "${enable_glibtest+set}" = set; then : 15883 enableval=$enable_glibtest; 15884else 15885 enable_glibtest=yes 15886fi 15887 15888 15889 if test x$glib_config_exec_prefix != x ; then 15890 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix" 15891 if test x${GLIB_CONFIG+set} != xset ; then 15892 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config 15893 fi 15894 fi 15895 if test x$glib_config_prefix != x ; then 15896 glib_config_args="$glib_config_args --prefix=$glib_config_prefix" 15897 if test x${GLIB_CONFIG+set} != xset ; then 15898 GLIB_CONFIG=$glib_config_prefix/bin/glib-config 15899 fi 15900 fi 15901 15902 for module in . 15903 do 15904 case "$module" in 15905 gmodule) 15906 glib_config_args="$glib_config_args gmodule" 15907 ;; 15908 gthread) 15909 glib_config_args="$glib_config_args gthread" 15910 ;; 15911 esac 15912 done 15913 15914 # Extract the first word of "glib-config", so it can be a program name with args. 15915set dummy glib-config; ac_word=$2 15916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15917$as_echo_n "checking for $ac_word... " >&6; } 15918if ${ac_cv_path_GLIB_CONFIG+:} false; then : 15919 $as_echo_n "(cached) " >&6 15920else 15921 case $GLIB_CONFIG in 15922 [\\/]* | ?:[\\/]*) 15923 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. 15924 ;; 15925 *) 15926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15927for as_dir in $PATH 15928do 15929 IFS=$as_save_IFS 15930 test -z "$as_dir" && as_dir=. 15931 for ac_exec_ext in '' $ac_executable_extensions; do 15932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15933 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15935 break 2 15936 fi 15937done 15938 done 15939IFS=$as_save_IFS 15940 15941 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" 15942 ;; 15943esac 15944fi 15945GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG 15946if test -n "$GLIB_CONFIG"; then 15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CONFIG" >&5 15948$as_echo "$GLIB_CONFIG" >&6; } 15949else 15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15951$as_echo "no" >&6; } 15952fi 15953 15954 15955 min_glib_version=1.2.0 15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5 15957$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; } 15958 no_glib="" 15959 if test "$GLIB_CONFIG" = "no" ; then 15960 no_glib=yes 15961 else 15962 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` 15963 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs` 15964 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \ 15965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 15966 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \ 15967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 15968 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \ 15969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 15970 if test "x$enable_glibtest" = "xyes" ; then 15971 ac_save_CFLAGS="$CFLAGS" 15972 ac_save_LIBS="$LIBS" 15973 CFLAGS="$CFLAGS $GLIB_CFLAGS" 15974 LIBS="$GLIB_LIBS $LIBS" 15975 rm -f conf.glibtest 15976 if test "$cross_compiling" = yes; then : 15977 echo $ac_n "cross compiling; assumed OK... $ac_c" 15978else 15979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15980/* end confdefs.h. */ 15981 15982#include <glib.h> 15983#include <stdio.h> 15984#include <stdlib.h> 15985 15986int 15987main () 15988{ 15989 int major, minor, micro; 15990 char *tmp_version; 15991 15992 system ("touch conf.glibtest"); 15993 15994 /* HP/UX 9 (%@#!) writes to sscanf strings */ 15995 tmp_version = g_strdup("$min_glib_version"); 15996 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 15997 printf("%s, bad version string\n", "$min_glib_version"); 15998 exit(1); 15999 } 16000 16001 if ((glib_major_version != $glib_config_major_version) || 16002 (glib_minor_version != $glib_config_minor_version) || 16003 (glib_micro_version != $glib_config_micro_version)) 16004 { 16005 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 16006 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, 16007 glib_major_version, glib_minor_version, glib_micro_version); 16008 printf ("*** was found! If glib-config was correct, then it is best\n"); 16009 printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n"); 16010 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); 16011 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); 16012 printf("*** required on your system.\n"); 16013 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n"); 16014 printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n"); 16015 printf("*** before re-running configure\n"); 16016 } 16017 else if ((glib_major_version != GLIB_MAJOR_VERSION) || 16018 (glib_minor_version != GLIB_MINOR_VERSION) || 16019 (glib_micro_version != GLIB_MICRO_VERSION)) 16020 { 16021 printf("*** GLIB header files (version %d.%d.%d) do not match\n", 16022 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); 16023 printf("*** library (version %d.%d.%d)\n", 16024 glib_major_version, glib_minor_version, glib_micro_version); 16025 } 16026 else 16027 { 16028 if ((glib_major_version > major) || 16029 ((glib_major_version == major) && (glib_minor_version > minor)) || 16030 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) 16031 { 16032 return 0; 16033 } 16034 else 16035 { 16036 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n", 16037 glib_major_version, glib_minor_version, glib_micro_version); 16038 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n", 16039 major, minor, micro); 16040 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); 16041 printf("***\n"); 16042 printf("*** If you have already installed a sufficiently new version, this error\n"); 16043 printf("*** probably means that the wrong copy of the glib-config shell script is\n"); 16044 printf("*** being found. The easiest way to fix this is to remove the old version\n"); 16045 printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n"); 16046 printf("*** correct copy of glib-config. (In this case, you will have to\n"); 16047 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); 16048 printf("*** so that the correct libraries are found at run-time))\n"); 16049 } 16050 } 16051 return 1; 16052} 16053 16054_ACEOF 16055if ac_fn_c_try_run "$LINENO"; then : 16056 16057else 16058 no_glib=yes 16059fi 16060rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 16061 conftest.$ac_objext conftest.beam conftest.$ac_ext 16062fi 16063 16064 CFLAGS="$ac_save_CFLAGS" 16065 LIBS="$ac_save_LIBS" 16066 fi 16067 fi 16068 if test "x$no_glib" = x ; then 16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16070$as_echo "yes" >&6; } 16071 16072 have_glib='yes' 16073 16074 else 16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16076$as_echo "no" >&6; } 16077 if test "$GLIB_CONFIG" = "no" ; then 16078 echo "*** The glib-config script installed by GLIB could not be found" 16079 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" 16080 echo "*** your path, or set the GLIB_CONFIG environment variable to the" 16081 echo "*** full path to glib-config." 16082 else 16083 if test -f conf.glibtest ; then 16084 : 16085 else 16086 echo "*** Could not run GLIB test program, checking why..." 16087 CFLAGS="$CFLAGS $GLIB_CFLAGS" 16088 LIBS="$LIBS $GLIB_LIBS" 16089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16090/* end confdefs.h. */ 16091 16092#include <glib.h> 16093#include <stdio.h> 16094 16095int 16096main () 16097{ 16098 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 16099 ; 16100 return 0; 16101} 16102_ACEOF 16103if ac_fn_c_try_link "$LINENO"; then : 16104 echo "*** The test program compiled, but did not run. This usually means" 16105 echo "*** that the run-time linker is not finding GLIB or finding the wrong" 16106 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" 16107 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 16108 echo "*** to the installed location Also, make sure you have run ldconfig if that" 16109 echo "*** is required on your system" 16110 echo "***" 16111 echo "*** If you have an old version installed, it is best to remove it, although" 16112 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 16113 echo "***" 16114 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" 16115 echo "*** came with the system with the command" 16116 echo "***" 16117 echo "*** rpm --erase --nodeps gtk gtk-devel" 16118else 16119 echo "*** The test program failed to compile or link. See the file config.log for the" 16120 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" 16121 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" 16122 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" 16123fi 16124rm -f core conftest.err conftest.$ac_objext \ 16125 conftest$ac_exeext conftest.$ac_ext 16126 CFLAGS="$ac_save_CFLAGS" 16127 LIBS="$ac_save_LIBS" 16128 fi 16129 fi 16130 GLIB_CFLAGS="" 16131 GLIB_LIBS="" 16132 16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16134$as_echo "no" >&6; } 16135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find glib" >&5 16136$as_echo "$as_me: WARNING: Could not find glib" >&2;} 16137 have_glib='no' 16138 16139 16140 fi 16141 16142 16143 rm -f conf.glibtest 16144 16145 16146elif test $pkg_failed = untried; then 16147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16148$as_echo "no" >&6; } 16149 16150 16151# Check whether --with-glib-prefix was given. 16152if test "${with_glib_prefix+set}" = set; then : 16153 withval=$with_glib_prefix; glib_config_prefix="$withval" 16154else 16155 glib_config_prefix="" 16156fi 16157 16158 16159# Check whether --with-glib-exec-prefix was given. 16160if test "${with_glib_exec_prefix+set}" = set; then : 16161 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval" 16162else 16163 glib_config_exec_prefix="" 16164fi 16165 16166# Check whether --enable-glibtest was given. 16167if test "${enable_glibtest+set}" = set; then : 16168 enableval=$enable_glibtest; 16169else 16170 enable_glibtest=yes 16171fi 16172 16173 16174 if test x$glib_config_exec_prefix != x ; then 16175 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix" 16176 if test x${GLIB_CONFIG+set} != xset ; then 16177 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config 16178 fi 16179 fi 16180 if test x$glib_config_prefix != x ; then 16181 glib_config_args="$glib_config_args --prefix=$glib_config_prefix" 16182 if test x${GLIB_CONFIG+set} != xset ; then 16183 GLIB_CONFIG=$glib_config_prefix/bin/glib-config 16184 fi 16185 fi 16186 16187 for module in . 16188 do 16189 case "$module" in 16190 gmodule) 16191 glib_config_args="$glib_config_args gmodule" 16192 ;; 16193 gthread) 16194 glib_config_args="$glib_config_args gthread" 16195 ;; 16196 esac 16197 done 16198 16199 # Extract the first word of "glib-config", so it can be a program name with args. 16200set dummy glib-config; ac_word=$2 16201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16202$as_echo_n "checking for $ac_word... " >&6; } 16203if ${ac_cv_path_GLIB_CONFIG+:} false; then : 16204 $as_echo_n "(cached) " >&6 16205else 16206 case $GLIB_CONFIG in 16207 [\\/]* | ?:[\\/]*) 16208 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. 16209 ;; 16210 *) 16211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16212for as_dir in $PATH 16213do 16214 IFS=$as_save_IFS 16215 test -z "$as_dir" && as_dir=. 16216 for ac_exec_ext in '' $ac_executable_extensions; do 16217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16218 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16220 break 2 16221 fi 16222done 16223 done 16224IFS=$as_save_IFS 16225 16226 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" 16227 ;; 16228esac 16229fi 16230GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG 16231if test -n "$GLIB_CONFIG"; then 16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CONFIG" >&5 16233$as_echo "$GLIB_CONFIG" >&6; } 16234else 16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16236$as_echo "no" >&6; } 16237fi 16238 16239 16240 min_glib_version=1.2.0 16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5 16242$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; } 16243 no_glib="" 16244 if test "$GLIB_CONFIG" = "no" ; then 16245 no_glib=yes 16246 else 16247 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` 16248 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs` 16249 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \ 16250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 16251 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \ 16252 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 16253 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \ 16254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 16255 if test "x$enable_glibtest" = "xyes" ; then 16256 ac_save_CFLAGS="$CFLAGS" 16257 ac_save_LIBS="$LIBS" 16258 CFLAGS="$CFLAGS $GLIB_CFLAGS" 16259 LIBS="$GLIB_LIBS $LIBS" 16260 rm -f conf.glibtest 16261 if test "$cross_compiling" = yes; then : 16262 echo $ac_n "cross compiling; assumed OK... $ac_c" 16263else 16264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16265/* end confdefs.h. */ 16266 16267#include <glib.h> 16268#include <stdio.h> 16269#include <stdlib.h> 16270 16271int 16272main () 16273{ 16274 int major, minor, micro; 16275 char *tmp_version; 16276 16277 system ("touch conf.glibtest"); 16278 16279 /* HP/UX 9 (%@#!) writes to sscanf strings */ 16280 tmp_version = g_strdup("$min_glib_version"); 16281 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 16282 printf("%s, bad version string\n", "$min_glib_version"); 16283 exit(1); 16284 } 16285 16286 if ((glib_major_version != $glib_config_major_version) || 16287 (glib_minor_version != $glib_config_minor_version) || 16288 (glib_micro_version != $glib_config_micro_version)) 16289 { 16290 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 16291 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, 16292 glib_major_version, glib_minor_version, glib_micro_version); 16293 printf ("*** was found! If glib-config was correct, then it is best\n"); 16294 printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n"); 16295 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); 16296 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); 16297 printf("*** required on your system.\n"); 16298 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n"); 16299 printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n"); 16300 printf("*** before re-running configure\n"); 16301 } 16302 else if ((glib_major_version != GLIB_MAJOR_VERSION) || 16303 (glib_minor_version != GLIB_MINOR_VERSION) || 16304 (glib_micro_version != GLIB_MICRO_VERSION)) 16305 { 16306 printf("*** GLIB header files (version %d.%d.%d) do not match\n", 16307 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); 16308 printf("*** library (version %d.%d.%d)\n", 16309 glib_major_version, glib_minor_version, glib_micro_version); 16310 } 16311 else 16312 { 16313 if ((glib_major_version > major) || 16314 ((glib_major_version == major) && (glib_minor_version > minor)) || 16315 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) 16316 { 16317 return 0; 16318 } 16319 else 16320 { 16321 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n", 16322 glib_major_version, glib_minor_version, glib_micro_version); 16323 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n", 16324 major, minor, micro); 16325 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); 16326 printf("***\n"); 16327 printf("*** If you have already installed a sufficiently new version, this error\n"); 16328 printf("*** probably means that the wrong copy of the glib-config shell script is\n"); 16329 printf("*** being found. The easiest way to fix this is to remove the old version\n"); 16330 printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n"); 16331 printf("*** correct copy of glib-config. (In this case, you will have to\n"); 16332 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); 16333 printf("*** so that the correct libraries are found at run-time))\n"); 16334 } 16335 } 16336 return 1; 16337} 16338 16339_ACEOF 16340if ac_fn_c_try_run "$LINENO"; then : 16341 16342else 16343 no_glib=yes 16344fi 16345rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 16346 conftest.$ac_objext conftest.beam conftest.$ac_ext 16347fi 16348 16349 CFLAGS="$ac_save_CFLAGS" 16350 LIBS="$ac_save_LIBS" 16351 fi 16352 fi 16353 if test "x$no_glib" = x ; then 16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16355$as_echo "yes" >&6; } 16356 16357 have_glib='yes' 16358 16359 else 16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16361$as_echo "no" >&6; } 16362 if test "$GLIB_CONFIG" = "no" ; then 16363 echo "*** The glib-config script installed by GLIB could not be found" 16364 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" 16365 echo "*** your path, or set the GLIB_CONFIG environment variable to the" 16366 echo "*** full path to glib-config." 16367 else 16368 if test -f conf.glibtest ; then 16369 : 16370 else 16371 echo "*** Could not run GLIB test program, checking why..." 16372 CFLAGS="$CFLAGS $GLIB_CFLAGS" 16373 LIBS="$LIBS $GLIB_LIBS" 16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16375/* end confdefs.h. */ 16376 16377#include <glib.h> 16378#include <stdio.h> 16379 16380int 16381main () 16382{ 16383 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 16384 ; 16385 return 0; 16386} 16387_ACEOF 16388if ac_fn_c_try_link "$LINENO"; then : 16389 echo "*** The test program compiled, but did not run. This usually means" 16390 echo "*** that the run-time linker is not finding GLIB or finding the wrong" 16391 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" 16392 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 16393 echo "*** to the installed location Also, make sure you have run ldconfig if that" 16394 echo "*** is required on your system" 16395 echo "***" 16396 echo "*** If you have an old version installed, it is best to remove it, although" 16397 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 16398 echo "***" 16399 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" 16400 echo "*** came with the system with the command" 16401 echo "***" 16402 echo "*** rpm --erase --nodeps gtk gtk-devel" 16403else 16404 echo "*** The test program failed to compile or link. See the file config.log for the" 16405 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" 16406 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" 16407 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" 16408fi 16409rm -f core conftest.err conftest.$ac_objext \ 16410 conftest$ac_exeext conftest.$ac_ext 16411 CFLAGS="$ac_save_CFLAGS" 16412 LIBS="$ac_save_LIBS" 16413 fi 16414 fi 16415 GLIB_CFLAGS="" 16416 GLIB_LIBS="" 16417 16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16419$as_echo "no" >&6; } 16420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find glib" >&5 16421$as_echo "$as_me: WARNING: Could not find glib" >&2;} 16422 have_glib='no' 16423 16424 16425 fi 16426 16427 16428 rm -f conf.glibtest 16429 16430 16431else 16432 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 16433 GLIB_LIBS=$pkg_cv_GLIB_LIBS 16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16435$as_echo "yes" >&6; } 16436 16437 have_glib='yes' 16438 16439fi 16440 if test "x$have_glib" = "xyes"; then 16441 HAVE_GLIB_TRUE= 16442 HAVE_GLIB_FALSE='#' 16443else 16444 HAVE_GLIB_TRUE='#' 16445 HAVE_GLIB_FALSE= 16446fi 16447 16448 16449ERIS_LIB_SUFFIX="-1.3" 16450ERIS_LIBS="-leris$ERIS_LIB_SUFFIX" 16451ERIS_VERSION_INFO=$ERIS_CURRENT:$ERIS_REVISION:$ERIS_AGE 16452 16453 16454 16455 16456 16457 16458 16459ac_config_files="$ac_config_files Makefile Eris/Makefile bindings/Makefile bindings/polls/Makefile bindings/polls/glib/Makefile bindings/polls/winsock/Makefile bindings/perl/compile_flags.pl test/Makefile eris.dox eris.spec mingw32-eris.spec eris-1.3.pc" 16460 16461cat >confcache <<\_ACEOF 16462# This file is a shell script that caches the results of configure 16463# tests run on this system so they can be shared between configure 16464# scripts and configure runs, see configure's option --config-cache. 16465# It is not useful on other systems. If it contains results you don't 16466# want to keep, you may remove or edit it. 16467# 16468# config.status only pays attention to the cache file if you give it 16469# the --recheck option to rerun configure. 16470# 16471# `ac_cv_env_foo' variables (set or unset) will be overridden when 16472# loading this file, other *unset* `ac_cv_foo' will be assigned the 16473# following values. 16474 16475_ACEOF 16476 16477# The following way of writing the cache mishandles newlines in values, 16478# but we know of no workaround that is simple, portable, and efficient. 16479# So, we kill variables containing newlines. 16480# Ultrix sh set writes to stderr and can't be redirected directly, 16481# and sets the high bit in the cache file unless we assign to the vars. 16482( 16483 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16484 eval ac_val=\$$ac_var 16485 case $ac_val in #( 16486 *${as_nl}*) 16487 case $ac_var in #( 16488 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16489$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16490 esac 16491 case $ac_var in #( 16492 _ | IFS | as_nl) ;; #( 16493 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16494 *) { eval $ac_var=; unset $ac_var;} ;; 16495 esac ;; 16496 esac 16497 done 16498 16499 (set) 2>&1 | 16500 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16501 *${as_nl}ac_space=\ *) 16502 # `set' does not quote correctly, so add quotes: double-quote 16503 # substitution turns \\\\ into \\, and sed turns \\ into \. 16504 sed -n \ 16505 "s/'/'\\\\''/g; 16506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16507 ;; #( 16508 *) 16509 # `set' quotes correctly as required by POSIX, so do not add quotes. 16510 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16511 ;; 16512 esac | 16513 sort 16514) | 16515 sed ' 16516 /^ac_cv_env_/b end 16517 t clear 16518 :clear 16519 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16520 t end 16521 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16522 :end' >>confcache 16523if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16524 if test -w "$cache_file"; then 16525 if test "x$cache_file" != "x/dev/null"; then 16526 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16527$as_echo "$as_me: updating cache $cache_file" >&6;} 16528 if test ! -f "$cache_file" || test -h "$cache_file"; then 16529 cat confcache >"$cache_file" 16530 else 16531 case $cache_file in #( 16532 */* | ?:*) 16533 mv -f confcache "$cache_file"$$ && 16534 mv -f "$cache_file"$$ "$cache_file" ;; #( 16535 *) 16536 mv -f confcache "$cache_file" ;; 16537 esac 16538 fi 16539 fi 16540 else 16541 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16542$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16543 fi 16544fi 16545rm -f confcache 16546 16547test "x$prefix" = xNONE && prefix=$ac_default_prefix 16548# Let make expand exec_prefix. 16549test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16550 16551DEFS=-DHAVE_CONFIG_H 16552 16553ac_libobjs= 16554ac_ltlibobjs= 16555U= 16556for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16557 # 1. Remove the extension, and $U if already installed. 16558 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16559 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16560 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16561 # will be set to the directory where LIBOBJS objects are built. 16562 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16563 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16564done 16565LIBOBJS=$ac_libobjs 16566 16567LTLIBOBJS=$ac_ltlibobjs 16568 16569 16570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16571$as_echo_n "checking that generated files are newer than configure... " >&6; } 16572 if test -n "$am_sleep_pid"; then 16573 # Hide warnings about reused PIDs. 16574 wait $am_sleep_pid 2>/dev/null 16575 fi 16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16577$as_echo "done" >&6; } 16578 if test -n "$EXEEXT"; then 16579 am__EXEEXT_TRUE= 16580 am__EXEEXT_FALSE='#' 16581else 16582 am__EXEEXT_TRUE='#' 16583 am__EXEEXT_FALSE= 16584fi 16585 16586if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16587 as_fn_error $? "conditional \"AMDEP\" was never defined. 16588Usually this means the macro was only invoked conditionally." "$LINENO" 5 16589fi 16590if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16591 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16592Usually this means the macro was only invoked conditionally." "$LINENO" 5 16593fi 16594if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 16595 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 16596Usually this means the macro was only invoked conditionally." "$LINENO" 5 16597fi 16598if test -z "${HAVE_WINSOCK_TRUE}" && test -z "${HAVE_WINSOCK_FALSE}"; then 16599 as_fn_error $? "conditional \"HAVE_WINSOCK\" was never defined. 16600Usually this means the macro was only invoked conditionally." "$LINENO" 5 16601fi 16602if test -z "${PERL_BINDINGS_TRUE}" && test -z "${PERL_BINDINGS_FALSE}"; then 16603 as_fn_error $? "conditional \"PERL_BINDINGS\" was never defined. 16604Usually this means the macro was only invoked conditionally." "$LINENO" 5 16605fi 16606if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then 16607 as_fn_error $? "conditional \"HAVE_GLIB\" was never defined. 16608Usually this means the macro was only invoked conditionally." "$LINENO" 5 16609fi 16610 16611: "${CONFIG_STATUS=./config.status}" 16612ac_write_fail=0 16613ac_clean_files_save=$ac_clean_files 16614ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16615{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16616$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16617as_write_fail=0 16618cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16619#! $SHELL 16620# Generated by $as_me. 16621# Run this file to recreate the current configuration. 16622# Compiler output produced by configure, useful for debugging 16623# configure, is in config.log if it exists. 16624 16625debug=false 16626ac_cs_recheck=false 16627ac_cs_silent=false 16628 16629SHELL=\${CONFIG_SHELL-$SHELL} 16630export SHELL 16631_ASEOF 16632cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16633## -------------------- ## 16634## M4sh Initialization. ## 16635## -------------------- ## 16636 16637# Be more Bourne compatible 16638DUALCASE=1; export DUALCASE # for MKS sh 16639if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16640 emulate sh 16641 NULLCMD=: 16642 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16643 # is contrary to our usage. Disable this feature. 16644 alias -g '${1+"$@"}'='"$@"' 16645 setopt NO_GLOB_SUBST 16646else 16647 case `(set -o) 2>/dev/null` in #( 16648 *posix*) : 16649 set -o posix ;; #( 16650 *) : 16651 ;; 16652esac 16653fi 16654 16655 16656as_nl=' 16657' 16658export as_nl 16659# Printing a long string crashes Solaris 7 /usr/bin/printf. 16660as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16661as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16662as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16663# Prefer a ksh shell builtin over an external printf program on Solaris, 16664# but without wasting forks for bash or zsh. 16665if test -z "$BASH_VERSION$ZSH_VERSION" \ 16666 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16667 as_echo='print -r --' 16668 as_echo_n='print -rn --' 16669elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16670 as_echo='printf %s\n' 16671 as_echo_n='printf %s' 16672else 16673 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16674 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16675 as_echo_n='/usr/ucb/echo -n' 16676 else 16677 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16678 as_echo_n_body='eval 16679 arg=$1; 16680 case $arg in #( 16681 *"$as_nl"*) 16682 expr "X$arg" : "X\\(.*\\)$as_nl"; 16683 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16684 esac; 16685 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16686 ' 16687 export as_echo_n_body 16688 as_echo_n='sh -c $as_echo_n_body as_echo' 16689 fi 16690 export as_echo_body 16691 as_echo='sh -c $as_echo_body as_echo' 16692fi 16693 16694# The user is always right. 16695if test "${PATH_SEPARATOR+set}" != set; then 16696 PATH_SEPARATOR=: 16697 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16698 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16699 PATH_SEPARATOR=';' 16700 } 16701fi 16702 16703 16704# IFS 16705# We need space, tab and new line, in precisely that order. Quoting is 16706# there to prevent editors from complaining about space-tab. 16707# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16708# splitting by setting IFS to empty value.) 16709IFS=" "" $as_nl" 16710 16711# Find who we are. Look in the path if we contain no directory separator. 16712as_myself= 16713case $0 in #(( 16714 *[\\/]* ) as_myself=$0 ;; 16715 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16716for as_dir in $PATH 16717do 16718 IFS=$as_save_IFS 16719 test -z "$as_dir" && as_dir=. 16720 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16721 done 16722IFS=$as_save_IFS 16723 16724 ;; 16725esac 16726# We did not find ourselves, most probably we were run as `sh COMMAND' 16727# in which case we are not to be found in the path. 16728if test "x$as_myself" = x; then 16729 as_myself=$0 16730fi 16731if test ! -f "$as_myself"; then 16732 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16733 exit 1 16734fi 16735 16736# Unset variables that we do not need and which cause bugs (e.g. in 16737# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16738# suppresses any "Segmentation fault" message there. '((' could 16739# trigger a bug in pdksh 5.2.14. 16740for as_var in BASH_ENV ENV MAIL MAILPATH 16741do eval test x\${$as_var+set} = xset \ 16742 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16743done 16744PS1='$ ' 16745PS2='> ' 16746PS4='+ ' 16747 16748# NLS nuisances. 16749LC_ALL=C 16750export LC_ALL 16751LANGUAGE=C 16752export LANGUAGE 16753 16754# CDPATH. 16755(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16756 16757 16758# as_fn_error STATUS ERROR [LINENO LOG_FD] 16759# ---------------------------------------- 16760# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16761# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16762# script with STATUS, using 1 if that was 0. 16763as_fn_error () 16764{ 16765 as_status=$1; test $as_status -eq 0 && as_status=1 16766 if test "$4"; then 16767 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16768 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16769 fi 16770 $as_echo "$as_me: error: $2" >&2 16771 as_fn_exit $as_status 16772} # as_fn_error 16773 16774 16775# as_fn_set_status STATUS 16776# ----------------------- 16777# Set $? to STATUS, without forking. 16778as_fn_set_status () 16779{ 16780 return $1 16781} # as_fn_set_status 16782 16783# as_fn_exit STATUS 16784# ----------------- 16785# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16786as_fn_exit () 16787{ 16788 set +e 16789 as_fn_set_status $1 16790 exit $1 16791} # as_fn_exit 16792 16793# as_fn_unset VAR 16794# --------------- 16795# Portably unset VAR. 16796as_fn_unset () 16797{ 16798 { eval $1=; unset $1;} 16799} 16800as_unset=as_fn_unset 16801# as_fn_append VAR VALUE 16802# ---------------------- 16803# Append the text in VALUE to the end of the definition contained in VAR. Take 16804# advantage of any shell optimizations that allow amortized linear growth over 16805# repeated appends, instead of the typical quadratic growth present in naive 16806# implementations. 16807if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16808 eval 'as_fn_append () 16809 { 16810 eval $1+=\$2 16811 }' 16812else 16813 as_fn_append () 16814 { 16815 eval $1=\$$1\$2 16816 } 16817fi # as_fn_append 16818 16819# as_fn_arith ARG... 16820# ------------------ 16821# Perform arithmetic evaluation on the ARGs, and store the result in the 16822# global $as_val. Take advantage of shells that can avoid forks. The arguments 16823# must be portable across $(()) and expr. 16824if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16825 eval 'as_fn_arith () 16826 { 16827 as_val=$(( $* )) 16828 }' 16829else 16830 as_fn_arith () 16831 { 16832 as_val=`expr "$@" || test $? -eq 1` 16833 } 16834fi # as_fn_arith 16835 16836 16837if expr a : '\(a\)' >/dev/null 2>&1 && 16838 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16839 as_expr=expr 16840else 16841 as_expr=false 16842fi 16843 16844if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16845 as_basename=basename 16846else 16847 as_basename=false 16848fi 16849 16850if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16851 as_dirname=dirname 16852else 16853 as_dirname=false 16854fi 16855 16856as_me=`$as_basename -- "$0" || 16857$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16858 X"$0" : 'X\(//\)$' \| \ 16859 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16860$as_echo X/"$0" | 16861 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16862 s//\1/ 16863 q 16864 } 16865 /^X\/\(\/\/\)$/{ 16866 s//\1/ 16867 q 16868 } 16869 /^X\/\(\/\).*/{ 16870 s//\1/ 16871 q 16872 } 16873 s/.*/./; q'` 16874 16875# Avoid depending upon Character Ranges. 16876as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16877as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16878as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16879as_cr_digits='0123456789' 16880as_cr_alnum=$as_cr_Letters$as_cr_digits 16881 16882ECHO_C= ECHO_N= ECHO_T= 16883case `echo -n x` in #((((( 16884-n*) 16885 case `echo 'xy\c'` in 16886 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16887 xy) ECHO_C='\c';; 16888 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16889 ECHO_T=' ';; 16890 esac;; 16891*) 16892 ECHO_N='-n';; 16893esac 16894 16895rm -f conf$$ conf$$.exe conf$$.file 16896if test -d conf$$.dir; then 16897 rm -f conf$$.dir/conf$$.file 16898else 16899 rm -f conf$$.dir 16900 mkdir conf$$.dir 2>/dev/null 16901fi 16902if (echo >conf$$.file) 2>/dev/null; then 16903 if ln -s conf$$.file conf$$ 2>/dev/null; then 16904 as_ln_s='ln -s' 16905 # ... but there are two gotchas: 16906 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16907 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16908 # In both cases, we have to default to `cp -pR'. 16909 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16910 as_ln_s='cp -pR' 16911 elif ln conf$$.file conf$$ 2>/dev/null; then 16912 as_ln_s=ln 16913 else 16914 as_ln_s='cp -pR' 16915 fi 16916else 16917 as_ln_s='cp -pR' 16918fi 16919rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16920rmdir conf$$.dir 2>/dev/null 16921 16922 16923# as_fn_mkdir_p 16924# ------------- 16925# Create "$as_dir" as a directory, including parents if necessary. 16926as_fn_mkdir_p () 16927{ 16928 16929 case $as_dir in #( 16930 -*) as_dir=./$as_dir;; 16931 esac 16932 test -d "$as_dir" || eval $as_mkdir_p || { 16933 as_dirs= 16934 while :; do 16935 case $as_dir in #( 16936 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16937 *) as_qdir=$as_dir;; 16938 esac 16939 as_dirs="'$as_qdir' $as_dirs" 16940 as_dir=`$as_dirname -- "$as_dir" || 16941$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16942 X"$as_dir" : 'X\(//\)[^/]' \| \ 16943 X"$as_dir" : 'X\(//\)$' \| \ 16944 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16945$as_echo X"$as_dir" | 16946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16947 s//\1/ 16948 q 16949 } 16950 /^X\(\/\/\)[^/].*/{ 16951 s//\1/ 16952 q 16953 } 16954 /^X\(\/\/\)$/{ 16955 s//\1/ 16956 q 16957 } 16958 /^X\(\/\).*/{ 16959 s//\1/ 16960 q 16961 } 16962 s/.*/./; q'` 16963 test -d "$as_dir" && break 16964 done 16965 test -z "$as_dirs" || eval "mkdir $as_dirs" 16966 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 16967 16968 16969} # as_fn_mkdir_p 16970if mkdir -p . 2>/dev/null; then 16971 as_mkdir_p='mkdir -p "$as_dir"' 16972else 16973 test -d ./-p && rmdir ./-p 16974 as_mkdir_p=false 16975fi 16976 16977 16978# as_fn_executable_p FILE 16979# ----------------------- 16980# Test if FILE is an executable regular file. 16981as_fn_executable_p () 16982{ 16983 test -f "$1" && test -x "$1" 16984} # as_fn_executable_p 16985as_test_x='test -x' 16986as_executable_p=as_fn_executable_p 16987 16988# Sed expression to map a string onto a valid CPP name. 16989as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 16990 16991# Sed expression to map a string onto a valid variable name. 16992as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 16993 16994 16995exec 6>&1 16996## ----------------------------------- ## 16997## Main body of $CONFIG_STATUS script. ## 16998## ----------------------------------- ## 16999_ASEOF 17000test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17001 17002cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17003# Save the log message, to keep $0 and so on meaningful, and to 17004# report actual input values of CONFIG_FILES etc. instead of their 17005# values after options handling. 17006ac_log=" 17007This file was extended by eris $as_me 1.3.23, which was 17008generated by GNU Autoconf 2.69. Invocation command line was 17009 17010 CONFIG_FILES = $CONFIG_FILES 17011 CONFIG_HEADERS = $CONFIG_HEADERS 17012 CONFIG_LINKS = $CONFIG_LINKS 17013 CONFIG_COMMANDS = $CONFIG_COMMANDS 17014 $ $0 $@ 17015 17016on `(hostname || uname -n) 2>/dev/null | sed 1q` 17017" 17018 17019_ACEOF 17020 17021case $ac_config_files in *" 17022"*) set x $ac_config_files; shift; ac_config_files=$*;; 17023esac 17024 17025case $ac_config_headers in *" 17026"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17027esac 17028 17029 17030cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17031# Files that config.status was made for. 17032config_files="`echo $ac_config_files`" 17033config_headers="`echo $ac_config_headers`" 17034config_commands="`echo $ac_config_commands`" 17035 17036_ACEOF 17037 17038cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17039ac_cs_usage="\ 17040\`$as_me' instantiates files and other configuration actions 17041from templates according to the current configuration. Unless the files 17042and actions are specified as TAGs, all are instantiated by default. 17043 17044Usage: $0 [OPTION]... [TAG]... 17045 17046 -h, --help print this help, then exit 17047 -V, --version print version number and configuration settings, then exit 17048 --config print configuration, then exit 17049 -q, --quiet, --silent 17050 do not print progress messages 17051 -d, --debug don't remove temporary files 17052 --recheck update $as_me by reconfiguring in the same conditions 17053 --file=FILE[:TEMPLATE] 17054 instantiate the configuration file FILE 17055 --header=FILE[:TEMPLATE] 17056 instantiate the configuration header FILE 17057 17058Configuration files: 17059$config_files 17060 17061Configuration headers: 17062$config_headers 17063 17064Configuration commands: 17065$config_commands 17066 17067Report bugs to <erik@ogenvik.org>." 17068 17069_ACEOF 17070cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17071ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17072ac_cs_version="\\ 17073eris config.status 1.3.23 17074configured by $0, generated by GNU Autoconf 2.69, 17075 with options \\"\$ac_cs_config\\" 17076 17077Copyright (C) 2012 Free Software Foundation, Inc. 17078This config.status script is free software; the Free Software Foundation 17079gives unlimited permission to copy, distribute and modify it." 17080 17081ac_pwd='$ac_pwd' 17082srcdir='$srcdir' 17083INSTALL='$INSTALL' 17084MKDIR_P='$MKDIR_P' 17085AWK='$AWK' 17086test -n "\$AWK" || AWK=awk 17087_ACEOF 17088 17089cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17090# The default lists apply if the user does not specify any file. 17091ac_need_defaults=: 17092while test $# != 0 17093do 17094 case $1 in 17095 --*=?*) 17096 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17097 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17098 ac_shift=: 17099 ;; 17100 --*=) 17101 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17102 ac_optarg= 17103 ac_shift=: 17104 ;; 17105 *) 17106 ac_option=$1 17107 ac_optarg=$2 17108 ac_shift=shift 17109 ;; 17110 esac 17111 17112 case $ac_option in 17113 # Handling of the options. 17114 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17115 ac_cs_recheck=: ;; 17116 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17117 $as_echo "$ac_cs_version"; exit ;; 17118 --config | --confi | --conf | --con | --co | --c ) 17119 $as_echo "$ac_cs_config"; exit ;; 17120 --debug | --debu | --deb | --de | --d | -d ) 17121 debug=: ;; 17122 --file | --fil | --fi | --f ) 17123 $ac_shift 17124 case $ac_optarg in 17125 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17126 '') as_fn_error $? "missing file argument" ;; 17127 esac 17128 as_fn_append CONFIG_FILES " '$ac_optarg'" 17129 ac_need_defaults=false;; 17130 --header | --heade | --head | --hea ) 17131 $ac_shift 17132 case $ac_optarg in 17133 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17134 esac 17135 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17136 ac_need_defaults=false;; 17137 --he | --h) 17138 # Conflict between --help and --header 17139 as_fn_error $? "ambiguous option: \`$1' 17140Try \`$0 --help' for more information.";; 17141 --help | --hel | -h ) 17142 $as_echo "$ac_cs_usage"; exit ;; 17143 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17144 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17145 ac_cs_silent=: ;; 17146 17147 # This is an error. 17148 -*) as_fn_error $? "unrecognized option: \`$1' 17149Try \`$0 --help' for more information." ;; 17150 17151 *) as_fn_append ac_config_targets " $1" 17152 ac_need_defaults=false ;; 17153 17154 esac 17155 shift 17156done 17157 17158ac_configure_extra_args= 17159 17160if $ac_cs_silent; then 17161 exec 6>/dev/null 17162 ac_configure_extra_args="$ac_configure_extra_args --silent" 17163fi 17164 17165_ACEOF 17166cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17167if \$ac_cs_recheck; then 17168 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17169 shift 17170 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17171 CONFIG_SHELL='$SHELL' 17172 export CONFIG_SHELL 17173 exec "\$@" 17174fi 17175 17176_ACEOF 17177cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17178exec 5>>config.log 17179{ 17180 echo 17181 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17182## Running $as_me. ## 17183_ASBOX 17184 $as_echo "$ac_log" 17185} >&5 17186 17187_ACEOF 17188cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17189# 17190# INIT-COMMANDS 17191# 17192AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 17193 17194 17195# The HP-UX ksh and POSIX shell print the target directory to stdout 17196# if CDPATH is set. 17197(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17198 17199sed_quote_subst='$sed_quote_subst' 17200double_quote_subst='$double_quote_subst' 17201delay_variable_subst='$delay_variable_subst' 17202macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17203macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17204enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17205enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17206pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17207enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17208SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17209ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17210host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17211host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17212host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17213build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17214build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17215build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17216SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17217Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17218GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17219EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17220FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17221LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17222NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17223LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17224max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17225ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17226exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17227lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17228lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17229lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17230lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17231lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17232reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17233reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17234OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17235deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17236file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17237file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17238want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17239DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17240sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17241AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17242AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17243archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17244STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17245RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17246old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17247old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17248old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 17249lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 17250CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 17251CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 17252compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 17253GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 17254lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 17255lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17256lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17257lt_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"`' 17258nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 17259lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 17260objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 17261MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 17262lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 17263lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 17264lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 17265lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 17266lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 17267need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 17268MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 17269DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17270NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17271LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17272OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 17273OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 17274libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 17275shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 17276extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17277archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 17278enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 17279export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 17280whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 17281compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 17282old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 17283old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17284archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 17285archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17286module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 17287module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17288with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 17289allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 17290no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 17291hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 17292hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' 17293hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 17294hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 17295hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 17296hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 17297hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 17298hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 17299inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 17300link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 17301always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 17302export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 17303exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 17304include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 17305prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 17306postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 17307file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 17308variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 17309need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 17310need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 17311version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 17312runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 17313shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 17314shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 17315libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 17316library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 17317soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 17318install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 17319postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17320postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17321finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 17322finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 17323hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 17324sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 17325sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 17326hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 17327enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 17328enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 17329enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 17330old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 17331striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 17332compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 17333predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 17334postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 17335predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 17336postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 17337compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 17338LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 17339reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 17340reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17341old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17342compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 17343GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 17344lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 17345lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 17346lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 17347lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 17348lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 17349archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 17350enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 17351export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 17352whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 17353compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 17354old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17355old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17356archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17357archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17358module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17359module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17360with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 17361allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 17362no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 17363hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 17364hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`' 17365hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 17366hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 17367hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 17368hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 17369hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 17370hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 17371inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 17372link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 17373always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 17374export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17375exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 17376include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 17377prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17378postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17379file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 17380hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 17381compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 17382predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 17383postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 17384predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 17385postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 17386compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 17387 17388LTCC='$LTCC' 17389LTCFLAGS='$LTCFLAGS' 17390compiler='$compiler_DEFAULT' 17391 17392# A function that is used when there is no print builtin or printf. 17393func_fallback_echo () 17394{ 17395 eval 'cat <<_LTECHO_EOF 17396\$1 17397_LTECHO_EOF' 17398} 17399 17400# Quote evaled strings. 17401for var in SHELL \ 17402ECHO \ 17403SED \ 17404GREP \ 17405EGREP \ 17406FGREP \ 17407LD \ 17408NM \ 17409LN_S \ 17410lt_SP2NL \ 17411lt_NL2SP \ 17412reload_flag \ 17413OBJDUMP \ 17414deplibs_check_method \ 17415file_magic_cmd \ 17416file_magic_glob \ 17417want_nocaseglob \ 17418DLLTOOL \ 17419sharedlib_from_linklib_cmd \ 17420AR \ 17421AR_FLAGS \ 17422archiver_list_spec \ 17423STRIP \ 17424RANLIB \ 17425CC \ 17426CFLAGS \ 17427compiler \ 17428lt_cv_sys_global_symbol_pipe \ 17429lt_cv_sys_global_symbol_to_cdecl \ 17430lt_cv_sys_global_symbol_to_c_name_address \ 17431lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17432nm_file_list_spec \ 17433lt_prog_compiler_no_builtin_flag \ 17434lt_prog_compiler_pic \ 17435lt_prog_compiler_wl \ 17436lt_prog_compiler_static \ 17437lt_cv_prog_compiler_c_o \ 17438need_locks \ 17439MANIFEST_TOOL \ 17440DSYMUTIL \ 17441NMEDIT \ 17442LIPO \ 17443OTOOL \ 17444OTOOL64 \ 17445shrext_cmds \ 17446export_dynamic_flag_spec \ 17447whole_archive_flag_spec \ 17448compiler_needs_object \ 17449with_gnu_ld \ 17450allow_undefined_flag \ 17451no_undefined_flag \ 17452hardcode_libdir_flag_spec \ 17453hardcode_libdir_flag_spec_ld \ 17454hardcode_libdir_separator \ 17455exclude_expsyms \ 17456include_expsyms \ 17457file_list_spec \ 17458variables_saved_for_relink \ 17459libname_spec \ 17460library_names_spec \ 17461soname_spec \ 17462install_override_mode \ 17463finish_eval \ 17464old_striplib \ 17465striplib \ 17466compiler_lib_search_dirs \ 17467predep_objects \ 17468postdep_objects \ 17469predeps \ 17470postdeps \ 17471compiler_lib_search_path \ 17472LD_CXX \ 17473reload_flag_CXX \ 17474compiler_CXX \ 17475lt_prog_compiler_no_builtin_flag_CXX \ 17476lt_prog_compiler_pic_CXX \ 17477lt_prog_compiler_wl_CXX \ 17478lt_prog_compiler_static_CXX \ 17479lt_cv_prog_compiler_c_o_CXX \ 17480export_dynamic_flag_spec_CXX \ 17481whole_archive_flag_spec_CXX \ 17482compiler_needs_object_CXX \ 17483with_gnu_ld_CXX \ 17484allow_undefined_flag_CXX \ 17485no_undefined_flag_CXX \ 17486hardcode_libdir_flag_spec_CXX \ 17487hardcode_libdir_flag_spec_ld_CXX \ 17488hardcode_libdir_separator_CXX \ 17489exclude_expsyms_CXX \ 17490include_expsyms_CXX \ 17491file_list_spec_CXX \ 17492compiler_lib_search_dirs_CXX \ 17493predep_objects_CXX \ 17494postdep_objects_CXX \ 17495predeps_CXX \ 17496postdeps_CXX \ 17497compiler_lib_search_path_CXX; do 17498 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17499 *[\\\\\\\`\\"\\\$]*) 17500 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 17501 ;; 17502 *) 17503 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17504 ;; 17505 esac 17506done 17507 17508# Double-quote double-evaled strings. 17509for var in reload_cmds \ 17510old_postinstall_cmds \ 17511old_postuninstall_cmds \ 17512old_archive_cmds \ 17513extract_expsyms_cmds \ 17514old_archive_from_new_cmds \ 17515old_archive_from_expsyms_cmds \ 17516archive_cmds \ 17517archive_expsym_cmds \ 17518module_cmds \ 17519module_expsym_cmds \ 17520export_symbols_cmds \ 17521prelink_cmds \ 17522postlink_cmds \ 17523postinstall_cmds \ 17524postuninstall_cmds \ 17525finish_cmds \ 17526sys_lib_search_path_spec \ 17527sys_lib_dlsearch_path_spec \ 17528reload_cmds_CXX \ 17529old_archive_cmds_CXX \ 17530old_archive_from_new_cmds_CXX \ 17531old_archive_from_expsyms_cmds_CXX \ 17532archive_cmds_CXX \ 17533archive_expsym_cmds_CXX \ 17534module_cmds_CXX \ 17535module_expsym_cmds_CXX \ 17536export_symbols_cmds_CXX \ 17537prelink_cmds_CXX \ 17538postlink_cmds_CXX; do 17539 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17540 *[\\\\\\\`\\"\\\$]*) 17541 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 17542 ;; 17543 *) 17544 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17545 ;; 17546 esac 17547done 17548 17549ac_aux_dir='$ac_aux_dir' 17550xsi_shell='$xsi_shell' 17551lt_shell_append='$lt_shell_append' 17552 17553# See if we are running on zsh, and set the options which allow our 17554# commands through without removal of \ escapes INIT. 17555if test -n "\${ZSH_VERSION+set}" ; then 17556 setopt NO_GLOB_SUBST 17557fi 17558 17559 17560 PACKAGE='$PACKAGE' 17561 VERSION='$VERSION' 17562 TIMESTAMP='$TIMESTAMP' 17563 RM='$RM' 17564 ofile='$ofile' 17565 17566 17567 17568 17569 17570 17571_ACEOF 17572 17573cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17574 17575# Handling of arguments. 17576for ac_config_target in $ac_config_targets 17577do 17578 case $ac_config_target in 17579 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 17580 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17581 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 17582 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17583 "Eris/Makefile") CONFIG_FILES="$CONFIG_FILES Eris/Makefile" ;; 17584 "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;; 17585 "bindings/polls/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/polls/Makefile" ;; 17586 "bindings/polls/glib/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/polls/glib/Makefile" ;; 17587 "bindings/polls/winsock/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/polls/winsock/Makefile" ;; 17588 "bindings/perl/compile_flags.pl") CONFIG_FILES="$CONFIG_FILES bindings/perl/compile_flags.pl" ;; 17589 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 17590 "eris.dox") CONFIG_FILES="$CONFIG_FILES eris.dox" ;; 17591 "eris.spec") CONFIG_FILES="$CONFIG_FILES eris.spec" ;; 17592 "mingw32-eris.spec") CONFIG_FILES="$CONFIG_FILES mingw32-eris.spec" ;; 17593 "eris-1.3.pc") CONFIG_FILES="$CONFIG_FILES eris-1.3.pc" ;; 17594 17595 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17596 esac 17597done 17598 17599 17600# If the user did not use the arguments to specify the items to instantiate, 17601# then the envvar interface is used. Set only those that are not. 17602# We use the long form for the default assignment because of an extremely 17603# bizarre bug on SunOS 4.1.3. 17604if $ac_need_defaults; then 17605 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17606 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 17607 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 17608fi 17609 17610# Have a temporary directory for convenience. Make it in the build tree 17611# simply because there is no reason against having it here, and in addition, 17612# creating and moving files from /tmp can sometimes cause problems. 17613# Hook for its removal unless debugging. 17614# Note that there is a small window in which the directory will not be cleaned: 17615# after its creation but before its name has been assigned to `$tmp'. 17616$debug || 17617{ 17618 tmp= ac_tmp= 17619 trap 'exit_status=$? 17620 : "${ac_tmp:=$tmp}" 17621 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17622' 0 17623 trap 'as_fn_exit 1' 1 2 13 15 17624} 17625# Create a (secure) tmp directory for tmp files. 17626 17627{ 17628 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17629 test -d "$tmp" 17630} || 17631{ 17632 tmp=./conf$$-$RANDOM 17633 (umask 077 && mkdir "$tmp") 17634} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17635ac_tmp=$tmp 17636 17637# Set up the scripts for CONFIG_FILES section. 17638# No need to generate them if there are no CONFIG_FILES. 17639# This happens for instance with `./config.status config.h'. 17640if test -n "$CONFIG_FILES"; then 17641 17642 17643ac_cr=`echo X | tr X '\015'` 17644# On cygwin, bash can eat \r inside `` if the user requested igncr. 17645# But we know of no other shell where ac_cr would be empty at this 17646# point, so we can use a bashism as a fallback. 17647if test "x$ac_cr" = x; then 17648 eval ac_cr=\$\'\\r\' 17649fi 17650ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17651if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17652 ac_cs_awk_cr='\\r' 17653else 17654 ac_cs_awk_cr=$ac_cr 17655fi 17656 17657echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17658_ACEOF 17659 17660 17661{ 17662 echo "cat >conf$$subs.awk <<_ACEOF" && 17663 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17664 echo "_ACEOF" 17665} >conf$$subs.sh || 17666 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17667ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17668ac_delim='%!_!# ' 17669for ac_last_try in false false false false false :; do 17670 . ./conf$$subs.sh || 17671 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17672 17673 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17674 if test $ac_delim_n = $ac_delim_num; then 17675 break 17676 elif $ac_last_try; then 17677 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17678 else 17679 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17680 fi 17681done 17682rm -f conf$$subs.sh 17683 17684cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17685cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17686_ACEOF 17687sed -n ' 17688h 17689s/^/S["/; s/!.*/"]=/ 17690p 17691g 17692s/^[^!]*!// 17693:repl 17694t repl 17695s/'"$ac_delim"'$// 17696t delim 17697:nl 17698h 17699s/\(.\{148\}\)..*/\1/ 17700t more1 17701s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17702p 17703n 17704b repl 17705:more1 17706s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17707p 17708g 17709s/.\{148\}// 17710t nl 17711:delim 17712h 17713s/\(.\{148\}\)..*/\1/ 17714t more2 17715s/["\\]/\\&/g; s/^/"/; s/$/"/ 17716p 17717b 17718:more2 17719s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17720p 17721g 17722s/.\{148\}// 17723t delim 17724' <conf$$subs.awk | sed ' 17725/^[^""]/{ 17726 N 17727 s/\n// 17728} 17729' >>$CONFIG_STATUS || ac_write_fail=1 17730rm -f conf$$subs.awk 17731cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17732_ACAWK 17733cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17734 for (key in S) S_is_set[key] = 1 17735 FS = "" 17736 17737} 17738{ 17739 line = $ 0 17740 nfields = split(line, field, "@") 17741 substed = 0 17742 len = length(field[1]) 17743 for (i = 2; i < nfields; i++) { 17744 key = field[i] 17745 keylen = length(key) 17746 if (S_is_set[key]) { 17747 value = S[key] 17748 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17749 len += length(value) + length(field[++i]) 17750 substed = 1 17751 } else 17752 len += 1 + keylen 17753 } 17754 17755 print line 17756} 17757 17758_ACAWK 17759_ACEOF 17760cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17761if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17762 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17763else 17764 cat 17765fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17766 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17767_ACEOF 17768 17769# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17770# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17771# trailing colons and then remove the whole line if VPATH becomes empty 17772# (actually we leave an empty line to preserve line numbers). 17773if test "x$srcdir" = x.; then 17774 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17775h 17776s/// 17777s/^/:/ 17778s/[ ]*$/:/ 17779s/:\$(srcdir):/:/g 17780s/:\${srcdir}:/:/g 17781s/:@srcdir@:/:/g 17782s/^:*// 17783s/:*$// 17784x 17785s/\(=[ ]*\).*/\1/ 17786G 17787s/\n// 17788s/^[^=]*=[ ]*$// 17789}' 17790fi 17791 17792cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17793fi # test -n "$CONFIG_FILES" 17794 17795# Set up the scripts for CONFIG_HEADERS section. 17796# No need to generate them if there are no CONFIG_HEADERS. 17797# This happens for instance with `./config.status Makefile'. 17798if test -n "$CONFIG_HEADERS"; then 17799cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17800BEGIN { 17801_ACEOF 17802 17803# Transform confdefs.h into an awk script `defines.awk', embedded as 17804# here-document in config.status, that substitutes the proper values into 17805# config.h.in to produce config.h. 17806 17807# Create a delimiter string that does not exist in confdefs.h, to ease 17808# handling of long lines. 17809ac_delim='%!_!# ' 17810for ac_last_try in false false :; do 17811 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 17812 if test -z "$ac_tt"; then 17813 break 17814 elif $ac_last_try; then 17815 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17816 else 17817 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17818 fi 17819done 17820 17821# For the awk script, D is an array of macro values keyed by name, 17822# likewise P contains macro parameters if any. Preserve backslash 17823# newline sequences. 17824 17825ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 17826sed -n ' 17827s/.\{148\}/&'"$ac_delim"'/g 17828t rset 17829:rset 17830s/^[ ]*#[ ]*define[ ][ ]*/ / 17831t def 17832d 17833:def 17834s/\\$// 17835t bsnl 17836s/["\\]/\\&/g 17837s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17838D["\1"]=" \3"/p 17839s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 17840d 17841:bsnl 17842s/["\\]/\\&/g 17843s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17844D["\1"]=" \3\\\\\\n"\\/p 17845t cont 17846s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 17847t cont 17848d 17849:cont 17850n 17851s/.\{148\}/&'"$ac_delim"'/g 17852t clear 17853:clear 17854s/\\$// 17855t bsnlc 17856s/["\\]/\\&/g; s/^/"/; s/$/"/p 17857d 17858:bsnlc 17859s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 17860b cont 17861' <confdefs.h | sed ' 17862s/'"$ac_delim"'/"\\\ 17863"/g' >>$CONFIG_STATUS || ac_write_fail=1 17864 17865cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17866 for (key in D) D_is_set[key] = 1 17867 FS = "" 17868} 17869/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 17870 line = \$ 0 17871 split(line, arg, " ") 17872 if (arg[1] == "#") { 17873 defundef = arg[2] 17874 mac1 = arg[3] 17875 } else { 17876 defundef = substr(arg[1], 2) 17877 mac1 = arg[2] 17878 } 17879 split(mac1, mac2, "(") #) 17880 macro = mac2[1] 17881 prefix = substr(line, 1, index(line, defundef) - 1) 17882 if (D_is_set[macro]) { 17883 # Preserve the white space surrounding the "#". 17884 print prefix "define", macro P[macro] D[macro] 17885 next 17886 } else { 17887 # Replace #undef with comments. This is necessary, for example, 17888 # in the case of _POSIX_SOURCE, which is predefined and required 17889 # on some systems where configure will not decide to define it. 17890 if (defundef == "undef") { 17891 print "/*", prefix defundef, macro, "*/" 17892 next 17893 } 17894 } 17895} 17896{ print } 17897_ACAWK 17898_ACEOF 17899cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17900 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17901fi # test -n "$CONFIG_HEADERS" 17902 17903 17904eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 17905shift 17906for ac_tag 17907do 17908 case $ac_tag in 17909 :[FHLC]) ac_mode=$ac_tag; continue;; 17910 esac 17911 case $ac_mode$ac_tag in 17912 :[FHL]*:*);; 17913 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17914 :[FH]-) ac_tag=-:-;; 17915 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17916 esac 17917 ac_save_IFS=$IFS 17918 IFS=: 17919 set x $ac_tag 17920 IFS=$ac_save_IFS 17921 shift 17922 ac_file=$1 17923 shift 17924 17925 case $ac_mode in 17926 :L) ac_source=$1;; 17927 :[FH]) 17928 ac_file_inputs= 17929 for ac_f 17930 do 17931 case $ac_f in 17932 -) ac_f="$ac_tmp/stdin";; 17933 *) # Look for the file first in the build tree, then in the source tree 17934 # (if the path is not absolute). The absolute path cannot be DOS-style, 17935 # because $ac_f cannot contain `:'. 17936 test -f "$ac_f" || 17937 case $ac_f in 17938 [\\/$]*) false;; 17939 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17940 esac || 17941 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17942 esac 17943 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17944 as_fn_append ac_file_inputs " '$ac_f'" 17945 done 17946 17947 # Let's still pretend it is `configure' which instantiates (i.e., don't 17948 # use $as_me), people would be surprised to read: 17949 # /* config.h. Generated by config.status. */ 17950 configure_input='Generated from '` 17951 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17952 `' by configure.' 17953 if test x"$ac_file" != x-; then 17954 configure_input="$ac_file. $configure_input" 17955 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17956$as_echo "$as_me: creating $ac_file" >&6;} 17957 fi 17958 # Neutralize special characters interpreted by sed in replacement strings. 17959 case $configure_input in #( 17960 *\&* | *\|* | *\\* ) 17961 ac_sed_conf_input=`$as_echo "$configure_input" | 17962 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17963 *) ac_sed_conf_input=$configure_input;; 17964 esac 17965 17966 case $ac_tag in 17967 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17969 esac 17970 ;; 17971 esac 17972 17973 ac_dir=`$as_dirname -- "$ac_file" || 17974$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17975 X"$ac_file" : 'X\(//\)[^/]' \| \ 17976 X"$ac_file" : 'X\(//\)$' \| \ 17977 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17978$as_echo X"$ac_file" | 17979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17980 s//\1/ 17981 q 17982 } 17983 /^X\(\/\/\)[^/].*/{ 17984 s//\1/ 17985 q 17986 } 17987 /^X\(\/\/\)$/{ 17988 s//\1/ 17989 q 17990 } 17991 /^X\(\/\).*/{ 17992 s//\1/ 17993 q 17994 } 17995 s/.*/./; q'` 17996 as_dir="$ac_dir"; as_fn_mkdir_p 17997 ac_builddir=. 17998 17999case "$ac_dir" in 18000.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18001*) 18002 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18003 # A ".." for each directory in $ac_dir_suffix. 18004 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18005 case $ac_top_builddir_sub in 18006 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 18007 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 18008 esac ;; 18009esac 18010ac_abs_top_builddir=$ac_pwd 18011ac_abs_builddir=$ac_pwd$ac_dir_suffix 18012# for backward compatibility: 18013ac_top_builddir=$ac_top_build_prefix 18014 18015case $srcdir in 18016 .) # We are building in place. 18017 ac_srcdir=. 18018 ac_top_srcdir=$ac_top_builddir_sub 18019 ac_abs_top_srcdir=$ac_pwd ;; 18020 [\\/]* | ?:[\\/]* ) # Absolute name. 18021 ac_srcdir=$srcdir$ac_dir_suffix; 18022 ac_top_srcdir=$srcdir 18023 ac_abs_top_srcdir=$srcdir ;; 18024 *) # Relative name. 18025 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 18026 ac_top_srcdir=$ac_top_build_prefix$srcdir 18027 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 18028esac 18029ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18030 18031 18032 case $ac_mode in 18033 :F) 18034 # 18035 # CONFIG_FILE 18036 # 18037 18038 case $INSTALL in 18039 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18040 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18041 esac 18042 ac_MKDIR_P=$MKDIR_P 18043 case $MKDIR_P in 18044 [\\/$]* | ?:[\\/]* ) ;; 18045 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18046 esac 18047_ACEOF 18048 18049cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18050# If the template does not know about datarootdir, expand it. 18051# FIXME: This hack should be removed a few years after 2.60. 18052ac_datarootdir_hack=; ac_datarootdir_seen= 18053ac_sed_dataroot=' 18054/datarootdir/ { 18055 p 18056 q 18057} 18058/@datadir@/p 18059/@docdir@/p 18060/@infodir@/p 18061/@localedir@/p 18062/@mandir@/p' 18063case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18064*datarootdir*) ac_datarootdir_seen=yes;; 18065*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18067$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18068_ACEOF 18069cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18070 ac_datarootdir_hack=' 18071 s&@datadir@&$datadir&g 18072 s&@docdir@&$docdir&g 18073 s&@infodir@&$infodir&g 18074 s&@localedir@&$localedir&g 18075 s&@mandir@&$mandir&g 18076 s&\\\${datarootdir}&$datarootdir&g' ;; 18077esac 18078_ACEOF 18079 18080# Neutralize VPATH when `$srcdir' = `.'. 18081# Shell code in configure.ac might set extrasub. 18082# FIXME: do we really want to maintain this feature? 18083cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18084ac_sed_extra="$ac_vpsub 18085$extrasub 18086_ACEOF 18087cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18088:t 18089/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18090s|@configure_input@|$ac_sed_conf_input|;t t 18091s&@top_builddir@&$ac_top_builddir_sub&;t t 18092s&@top_build_prefix@&$ac_top_build_prefix&;t t 18093s&@srcdir@&$ac_srcdir&;t t 18094s&@abs_srcdir@&$ac_abs_srcdir&;t t 18095s&@top_srcdir@&$ac_top_srcdir&;t t 18096s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18097s&@builddir@&$ac_builddir&;t t 18098s&@abs_builddir@&$ac_abs_builddir&;t t 18099s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18100s&@INSTALL@&$ac_INSTALL&;t t 18101s&@MKDIR_P@&$ac_MKDIR_P&;t t 18102$ac_datarootdir_hack 18103" 18104eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18105 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18106 18107test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18108 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18109 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18110 "$ac_tmp/out"`; test -z "$ac_out"; } && 18111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18112which seems to be undefined. Please make sure it is defined" >&5 18113$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18114which seems to be undefined. Please make sure it is defined" >&2;} 18115 18116 rm -f "$ac_tmp/stdin" 18117 case $ac_file in 18118 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18119 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18120 esac \ 18121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18122 ;; 18123 :H) 18124 # 18125 # CONFIG_HEADER 18126 # 18127 if test x"$ac_file" != x-; then 18128 { 18129 $as_echo "/* $configure_input */" \ 18130 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18131 } >"$ac_tmp/config.h" \ 18132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18133 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18134 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18135$as_echo "$as_me: $ac_file is unchanged" >&6;} 18136 else 18137 rm -f "$ac_file" 18138 mv "$ac_tmp/config.h" "$ac_file" \ 18139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18140 fi 18141 else 18142 $as_echo "/* $configure_input */" \ 18143 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18144 || as_fn_error $? "could not create -" "$LINENO" 5 18145 fi 18146# Compute "$ac_file"'s index in $config_headers. 18147_am_arg="$ac_file" 18148_am_stamp_count=1 18149for _am_header in $config_headers :; do 18150 case $_am_header in 18151 $_am_arg | $_am_arg:* ) 18152 break ;; 18153 * ) 18154 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18155 esac 18156done 18157echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18158$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18159 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18160 X"$_am_arg" : 'X\(//\)$' \| \ 18161 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18162$as_echo X"$_am_arg" | 18163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18164 s//\1/ 18165 q 18166 } 18167 /^X\(\/\/\)[^/].*/{ 18168 s//\1/ 18169 q 18170 } 18171 /^X\(\/\/\)$/{ 18172 s//\1/ 18173 q 18174 } 18175 /^X\(\/\).*/{ 18176 s//\1/ 18177 q 18178 } 18179 s/.*/./; q'`/stamp-h$_am_stamp_count 18180 ;; 18181 18182 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18183$as_echo "$as_me: executing $ac_file commands" >&6;} 18184 ;; 18185 esac 18186 18187 18188 case $ac_file$ac_mode in 18189 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18190 # Older Autoconf quotes --file arguments for eval, but not when files 18191 # are listed without --file. Let's play safe and only enable the eval 18192 # if we detect the quoting. 18193 case $CONFIG_FILES in 18194 *\'*) eval set x "$CONFIG_FILES" ;; 18195 *) set x $CONFIG_FILES ;; 18196 esac 18197 shift 18198 for mf 18199 do 18200 # Strip MF so we end up with the name of the file. 18201 mf=`echo "$mf" | sed -e 's/:.*$//'` 18202 # Check whether this is an Automake generated Makefile or not. 18203 # We used to match only the files named 'Makefile.in', but 18204 # some people rename them; so instead we look at the file content. 18205 # Grep'ing the first line is not enough: some people post-process 18206 # each Makefile.in and add a new line on top of each file to say so. 18207 # Grep'ing the whole file is not good either: AIX grep has a line 18208 # limit of 2048, but all sed's we know have understand at least 4000. 18209 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 18210 dirpart=`$as_dirname -- "$mf" || 18211$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18212 X"$mf" : 'X\(//\)[^/]' \| \ 18213 X"$mf" : 'X\(//\)$' \| \ 18214 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 18215$as_echo X"$mf" | 18216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18217 s//\1/ 18218 q 18219 } 18220 /^X\(\/\/\)[^/].*/{ 18221 s//\1/ 18222 q 18223 } 18224 /^X\(\/\/\)$/{ 18225 s//\1/ 18226 q 18227 } 18228 /^X\(\/\).*/{ 18229 s//\1/ 18230 q 18231 } 18232 s/.*/./; q'` 18233 else 18234 continue 18235 fi 18236 # Extract the definition of DEPDIR, am__include, and am__quote 18237 # from the Makefile without running 'make'. 18238 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 18239 test -z "$DEPDIR" && continue 18240 am__include=`sed -n 's/^am__include = //p' < "$mf"` 18241 test -z "$am__include" && continue 18242 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 18243 # Find all dependency output files, they are included files with 18244 # $(DEPDIR) in their names. We invoke sed twice because it is the 18245 # simplest approach to changing $(DEPDIR) to its actual value in the 18246 # expansion. 18247 for file in `sed -n " 18248 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 18249 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 18250 # Make sure the directory exists. 18251 test -f "$dirpart/$file" && continue 18252 fdir=`$as_dirname -- "$file" || 18253$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18254 X"$file" : 'X\(//\)[^/]' \| \ 18255 X"$file" : 'X\(//\)$' \| \ 18256 X"$file" : 'X\(/\)' \| . 2>/dev/null || 18257$as_echo X"$file" | 18258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18259 s//\1/ 18260 q 18261 } 18262 /^X\(\/\/\)[^/].*/{ 18263 s//\1/ 18264 q 18265 } 18266 /^X\(\/\/\)$/{ 18267 s//\1/ 18268 q 18269 } 18270 /^X\(\/\).*/{ 18271 s//\1/ 18272 q 18273 } 18274 s/.*/./; q'` 18275 as_dir=$dirpart/$fdir; as_fn_mkdir_p 18276 # echo "creating $dirpart/$file" 18277 echo '# dummy' > "$dirpart/$file" 18278 done 18279 done 18280} 18281 ;; 18282 "libtool":C) 18283 18284 # See if we are running on zsh, and set the options which allow our 18285 # commands through without removal of \ escapes. 18286 if test -n "${ZSH_VERSION+set}" ; then 18287 setopt NO_GLOB_SUBST 18288 fi 18289 18290 cfgfile="${ofile}T" 18291 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 18292 $RM "$cfgfile" 18293 18294 cat <<_LT_EOF >> "$cfgfile" 18295#! $SHELL 18296 18297# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 18298# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 18299# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 18300# NOTE: Changes made to this file will be lost: look at ltmain.sh. 18301# 18302# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 18303# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, 18304# Inc. 18305# Written by Gordon Matzigkeit, 1996 18306# 18307# This file is part of GNU Libtool. 18308# 18309# GNU Libtool is free software; you can redistribute it and/or 18310# modify it under the terms of the GNU General Public License as 18311# published by the Free Software Foundation; either version 2 of 18312# the License, or (at your option) any later version. 18313# 18314# As a special exception to the GNU General Public License, 18315# if you distribute this file as part of a program or library that 18316# is built using GNU Libtool, you may include this file under the 18317# same distribution terms that you use for the rest of that program. 18318# 18319# GNU Libtool is distributed in the hope that it will be useful, 18320# but WITHOUT ANY WARRANTY; without even the implied warranty of 18321# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18322# GNU General Public License for more details. 18323# 18324# You should have received a copy of the GNU General Public License 18325# along with GNU Libtool; see the file COPYING. If not, a copy 18326# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 18327# obtained by writing to the Free Software Foundation, Inc., 18328# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18329 18330 18331# The names of the tagged configurations supported by this script. 18332available_tags="CXX " 18333 18334# ### BEGIN LIBTOOL CONFIG 18335 18336# Which release of libtool.m4 was used? 18337macro_version=$macro_version 18338macro_revision=$macro_revision 18339 18340# Whether or not to build static libraries. 18341build_old_libs=$enable_static 18342 18343# Whether or not to build shared libraries. 18344build_libtool_libs=$enable_shared 18345 18346# What type of objects to build. 18347pic_mode=$pic_mode 18348 18349# Whether or not to optimize for fast installation. 18350fast_install=$enable_fast_install 18351 18352# Shell to use when invoking shell scripts. 18353SHELL=$lt_SHELL 18354 18355# An echo program that protects backslashes. 18356ECHO=$lt_ECHO 18357 18358# The host system. 18359host_alias=$host_alias 18360host=$host 18361host_os=$host_os 18362 18363# The build system. 18364build_alias=$build_alias 18365build=$build 18366build_os=$build_os 18367 18368# A sed program that does not truncate output. 18369SED=$lt_SED 18370 18371# Sed that helps us avoid accidentally triggering echo(1) options like -n. 18372Xsed="\$SED -e 1s/^X//" 18373 18374# A grep program that handles long lines. 18375GREP=$lt_GREP 18376 18377# An ERE matcher. 18378EGREP=$lt_EGREP 18379 18380# A literal string matcher. 18381FGREP=$lt_FGREP 18382 18383# A BSD- or MS-compatible name lister. 18384NM=$lt_NM 18385 18386# Whether we need soft or hard links. 18387LN_S=$lt_LN_S 18388 18389# What is the maximum length of a command? 18390max_cmd_len=$max_cmd_len 18391 18392# Object file suffix (normally "o"). 18393objext=$ac_objext 18394 18395# Executable file suffix (normally ""). 18396exeext=$exeext 18397 18398# whether the shell understands "unset". 18399lt_unset=$lt_unset 18400 18401# turn spaces into newlines. 18402SP2NL=$lt_lt_SP2NL 18403 18404# turn newlines into spaces. 18405NL2SP=$lt_lt_NL2SP 18406 18407# convert \$build file names to \$host format. 18408to_host_file_cmd=$lt_cv_to_host_file_cmd 18409 18410# convert \$build files to toolchain format. 18411to_tool_file_cmd=$lt_cv_to_tool_file_cmd 18412 18413# An object symbol dumper. 18414OBJDUMP=$lt_OBJDUMP 18415 18416# Method to check whether dependent libraries are shared objects. 18417deplibs_check_method=$lt_deplibs_check_method 18418 18419# Command to use when deplibs_check_method = "file_magic". 18420file_magic_cmd=$lt_file_magic_cmd 18421 18422# How to find potential files when deplibs_check_method = "file_magic". 18423file_magic_glob=$lt_file_magic_glob 18424 18425# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 18426want_nocaseglob=$lt_want_nocaseglob 18427 18428# DLL creation program. 18429DLLTOOL=$lt_DLLTOOL 18430 18431# Command to associate shared and link libraries. 18432sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 18433 18434# The archiver. 18435AR=$lt_AR 18436 18437# Flags to create an archive. 18438AR_FLAGS=$lt_AR_FLAGS 18439 18440# How to feed a file listing to the archiver. 18441archiver_list_spec=$lt_archiver_list_spec 18442 18443# A symbol stripping program. 18444STRIP=$lt_STRIP 18445 18446# Commands used to install an old-style archive. 18447RANLIB=$lt_RANLIB 18448old_postinstall_cmds=$lt_old_postinstall_cmds 18449old_postuninstall_cmds=$lt_old_postuninstall_cmds 18450 18451# Whether to use a lock for old archive extraction. 18452lock_old_archive_extraction=$lock_old_archive_extraction 18453 18454# A C compiler. 18455LTCC=$lt_CC 18456 18457# LTCC compiler flags. 18458LTCFLAGS=$lt_CFLAGS 18459 18460# Take the output of nm and produce a listing of raw symbols and C names. 18461global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 18462 18463# Transform the output of nm in a proper C declaration. 18464global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 18465 18466# Transform the output of nm in a C name address pair. 18467global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 18468 18469# Transform the output of nm in a C name address pair when lib prefix is needed. 18470global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18471 18472# Specify filename containing input files for \$NM. 18473nm_file_list_spec=$lt_nm_file_list_spec 18474 18475# The root where to search for dependent libraries,and in which our libraries should be installed. 18476lt_sysroot=$lt_sysroot 18477 18478# The name of the directory that contains temporary libtool files. 18479objdir=$objdir 18480 18481# Used to examine libraries when file_magic_cmd begins with "file". 18482MAGIC_CMD=$MAGIC_CMD 18483 18484# Must we lock files when doing compilation? 18485need_locks=$lt_need_locks 18486 18487# Manifest tool. 18488MANIFEST_TOOL=$lt_MANIFEST_TOOL 18489 18490# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18491DSYMUTIL=$lt_DSYMUTIL 18492 18493# Tool to change global to local symbols on Mac OS X. 18494NMEDIT=$lt_NMEDIT 18495 18496# Tool to manipulate fat objects and archives on Mac OS X. 18497LIPO=$lt_LIPO 18498 18499# ldd/readelf like tool for Mach-O binaries on Mac OS X. 18500OTOOL=$lt_OTOOL 18501 18502# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 18503OTOOL64=$lt_OTOOL64 18504 18505# Old archive suffix (normally "a"). 18506libext=$libext 18507 18508# Shared library suffix (normally ".so"). 18509shrext_cmds=$lt_shrext_cmds 18510 18511# The commands to extract the exported symbol list from a shared archive. 18512extract_expsyms_cmds=$lt_extract_expsyms_cmds 18513 18514# Variables whose values should be saved in libtool wrapper scripts and 18515# restored at link time. 18516variables_saved_for_relink=$lt_variables_saved_for_relink 18517 18518# Do we need the "lib" prefix for modules? 18519need_lib_prefix=$need_lib_prefix 18520 18521# Do we need a version for libraries? 18522need_version=$need_version 18523 18524# Library versioning type. 18525version_type=$version_type 18526 18527# Shared library runtime path variable. 18528runpath_var=$runpath_var 18529 18530# Shared library path variable. 18531shlibpath_var=$shlibpath_var 18532 18533# Is shlibpath searched before the hard-coded library search path? 18534shlibpath_overrides_runpath=$shlibpath_overrides_runpath 18535 18536# Format of library name prefix. 18537libname_spec=$lt_libname_spec 18538 18539# List of archive names. First name is the real one, the rest are links. 18540# The last name is the one that the linker finds with -lNAME 18541library_names_spec=$lt_library_names_spec 18542 18543# The coded name of the library, if different from the real name. 18544soname_spec=$lt_soname_spec 18545 18546# Permission mode override for installation of shared libraries. 18547install_override_mode=$lt_install_override_mode 18548 18549# Command to use after installation of a shared archive. 18550postinstall_cmds=$lt_postinstall_cmds 18551 18552# Command to use after uninstallation of a shared archive. 18553postuninstall_cmds=$lt_postuninstall_cmds 18554 18555# Commands used to finish a libtool library installation in a directory. 18556finish_cmds=$lt_finish_cmds 18557 18558# As "finish_cmds", except a single script fragment to be evaled but 18559# not shown. 18560finish_eval=$lt_finish_eval 18561 18562# Whether we should hardcode library paths into libraries. 18563hardcode_into_libs=$hardcode_into_libs 18564 18565# Compile-time system search path for libraries. 18566sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 18567 18568# Run-time system search path for libraries. 18569sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 18570 18571# Whether dlopen is supported. 18572dlopen_support=$enable_dlopen 18573 18574# Whether dlopen of programs is supported. 18575dlopen_self=$enable_dlopen_self 18576 18577# Whether dlopen of statically linked programs is supported. 18578dlopen_self_static=$enable_dlopen_self_static 18579 18580# Commands to strip libraries. 18581old_striplib=$lt_old_striplib 18582striplib=$lt_striplib 18583 18584 18585# The linker used to build libraries. 18586LD=$lt_LD 18587 18588# How to create reloadable object files. 18589reload_flag=$lt_reload_flag 18590reload_cmds=$lt_reload_cmds 18591 18592# Commands used to build an old-style archive. 18593old_archive_cmds=$lt_old_archive_cmds 18594 18595# A language specific compiler. 18596CC=$lt_compiler 18597 18598# Is the compiler the GNU compiler? 18599with_gcc=$GCC 18600 18601# Compiler flag to turn off builtin functions. 18602no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18603 18604# Additional compiler flags for building library objects. 18605pic_flag=$lt_lt_prog_compiler_pic 18606 18607# How to pass a linker flag through the compiler. 18608wl=$lt_lt_prog_compiler_wl 18609 18610# Compiler flag to prevent dynamic linking. 18611link_static_flag=$lt_lt_prog_compiler_static 18612 18613# Does compiler simultaneously support -c and -o options? 18614compiler_c_o=$lt_lt_cv_prog_compiler_c_o 18615 18616# Whether or not to add -lc for building shared libraries. 18617build_libtool_need_lc=$archive_cmds_need_lc 18618 18619# Whether or not to disallow shared libs when runtime libs are static. 18620allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 18621 18622# Compiler flag to allow reflexive dlopens. 18623export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 18624 18625# Compiler flag to generate shared objects directly from archives. 18626whole_archive_flag_spec=$lt_whole_archive_flag_spec 18627 18628# Whether the compiler copes with passing no objects directly. 18629compiler_needs_object=$lt_compiler_needs_object 18630 18631# Create an old-style archive from a shared archive. 18632old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 18633 18634# Create a temporary old-style archive to link instead of a shared archive. 18635old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 18636 18637# Commands used to build a shared archive. 18638archive_cmds=$lt_archive_cmds 18639archive_expsym_cmds=$lt_archive_expsym_cmds 18640 18641# Commands used to build a loadable module if different from building 18642# a shared archive. 18643module_cmds=$lt_module_cmds 18644module_expsym_cmds=$lt_module_expsym_cmds 18645 18646# Whether we are building with GNU ld or not. 18647with_gnu_ld=$lt_with_gnu_ld 18648 18649# Flag that allows shared libraries with undefined symbols to be built. 18650allow_undefined_flag=$lt_allow_undefined_flag 18651 18652# Flag that enforces no undefined symbols. 18653no_undefined_flag=$lt_no_undefined_flag 18654 18655# Flag to hardcode \$libdir into a binary during linking. 18656# This must work even if \$libdir does not exist 18657hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18658 18659# If ld is used when linking, flag to hardcode \$libdir into a binary 18660# during linking. This must work even if \$libdir does not exist. 18661hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 18662 18663# Whether we need a single "-rpath" flag with a separated argument. 18664hardcode_libdir_separator=$lt_hardcode_libdir_separator 18665 18666# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 18667# DIR into the resulting binary. 18668hardcode_direct=$hardcode_direct 18669 18670# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 18671# DIR into the resulting binary and the resulting library dependency is 18672# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 18673# library is relocated. 18674hardcode_direct_absolute=$hardcode_direct_absolute 18675 18676# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18677# into the resulting binary. 18678hardcode_minus_L=$hardcode_minus_L 18679 18680# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18681# into the resulting binary. 18682hardcode_shlibpath_var=$hardcode_shlibpath_var 18683 18684# Set to "yes" if building a shared library automatically hardcodes DIR 18685# into the library and all subsequent libraries and executables linked 18686# against it. 18687hardcode_automatic=$hardcode_automatic 18688 18689# Set to yes if linker adds runtime paths of dependent libraries 18690# to runtime path list. 18691inherit_rpath=$inherit_rpath 18692 18693# Whether libtool must link a program against all its dependency libraries. 18694link_all_deplibs=$link_all_deplibs 18695 18696# Set to "yes" if exported symbols are required. 18697always_export_symbols=$always_export_symbols 18698 18699# The commands to list exported symbols. 18700export_symbols_cmds=$lt_export_symbols_cmds 18701 18702# Symbols that should not be listed in the preloaded symbols. 18703exclude_expsyms=$lt_exclude_expsyms 18704 18705# Symbols that must always be exported. 18706include_expsyms=$lt_include_expsyms 18707 18708# Commands necessary for linking programs (against libraries) with templates. 18709prelink_cmds=$lt_prelink_cmds 18710 18711# Commands necessary for finishing linking programs. 18712postlink_cmds=$lt_postlink_cmds 18713 18714# Specify filename containing input files. 18715file_list_spec=$lt_file_list_spec 18716 18717# How to hardcode a shared library path into an executable. 18718hardcode_action=$hardcode_action 18719 18720# The directories searched by this compiler when creating a shared library. 18721compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 18722 18723# Dependencies to place before and after the objects being linked to 18724# create a shared library. 18725predep_objects=$lt_predep_objects 18726postdep_objects=$lt_postdep_objects 18727predeps=$lt_predeps 18728postdeps=$lt_postdeps 18729 18730# The library search path used internally by the compiler when linking 18731# a shared library. 18732compiler_lib_search_path=$lt_compiler_lib_search_path 18733 18734# ### END LIBTOOL CONFIG 18735 18736_LT_EOF 18737 18738 case $host_os in 18739 aix3*) 18740 cat <<\_LT_EOF >> "$cfgfile" 18741# AIX sometimes has problems with the GCC collect2 program. For some 18742# reason, if we set the COLLECT_NAMES environment variable, the problems 18743# vanish in a puff of smoke. 18744if test "X${COLLECT_NAMES+set}" != Xset; then 18745 COLLECT_NAMES= 18746 export COLLECT_NAMES 18747fi 18748_LT_EOF 18749 ;; 18750 esac 18751 18752 18753ltmain="$ac_aux_dir/ltmain.sh" 18754 18755 18756 # We use sed instead of cat because bash on DJGPP gets confused if 18757 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18758 # text mode, it properly converts lines to CR/LF. This bash problem 18759 # is reportedly fixed, but why not run on old versions too? 18760 sed '$q' "$ltmain" >> "$cfgfile" \ 18761 || (rm -f "$cfgfile"; exit 1) 18762 18763 if test x"$xsi_shell" = xyes; then 18764 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 18765func_dirname ()\ 18766{\ 18767\ case ${1} in\ 18768\ */*) func_dirname_result="${1%/*}${2}" ;;\ 18769\ * ) func_dirname_result="${3}" ;;\ 18770\ esac\ 18771} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 18772 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18773 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18774test 0 -eq $? || _lt_function_replace_fail=: 18775 18776 18777 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 18778func_basename ()\ 18779{\ 18780\ func_basename_result="${1##*/}"\ 18781} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 18782 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18783 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18784test 0 -eq $? || _lt_function_replace_fail=: 18785 18786 18787 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 18788func_dirname_and_basename ()\ 18789{\ 18790\ case ${1} in\ 18791\ */*) func_dirname_result="${1%/*}${2}" ;;\ 18792\ * ) func_dirname_result="${3}" ;;\ 18793\ esac\ 18794\ func_basename_result="${1##*/}"\ 18795} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 18796 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18797 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18798test 0 -eq $? || _lt_function_replace_fail=: 18799 18800 18801 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 18802func_stripname ()\ 18803{\ 18804\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 18805\ # positional parameters, so assign one to ordinary parameter first.\ 18806\ func_stripname_result=${3}\ 18807\ func_stripname_result=${func_stripname_result#"${1}"}\ 18808\ func_stripname_result=${func_stripname_result%"${2}"}\ 18809} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 18810 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18811 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18812test 0 -eq $? || _lt_function_replace_fail=: 18813 18814 18815 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 18816func_split_long_opt ()\ 18817{\ 18818\ func_split_long_opt_name=${1%%=*}\ 18819\ func_split_long_opt_arg=${1#*=}\ 18820} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 18821 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18822 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18823test 0 -eq $? || _lt_function_replace_fail=: 18824 18825 18826 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 18827func_split_short_opt ()\ 18828{\ 18829\ func_split_short_opt_arg=${1#??}\ 18830\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 18831} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 18832 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18833 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18834test 0 -eq $? || _lt_function_replace_fail=: 18835 18836 18837 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 18838func_lo2o ()\ 18839{\ 18840\ case ${1} in\ 18841\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 18842\ *) func_lo2o_result=${1} ;;\ 18843\ esac\ 18844} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 18845 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18846 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18847test 0 -eq $? || _lt_function_replace_fail=: 18848 18849 18850 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 18851func_xform ()\ 18852{\ 18853 func_xform_result=${1%.*}.lo\ 18854} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 18855 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18856 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18857test 0 -eq $? || _lt_function_replace_fail=: 18858 18859 18860 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 18861func_arith ()\ 18862{\ 18863 func_arith_result=$(( $* ))\ 18864} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 18865 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18866 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18867test 0 -eq $? || _lt_function_replace_fail=: 18868 18869 18870 sed -e '/^func_len ()$/,/^} # func_len /c\ 18871func_len ()\ 18872{\ 18873 func_len_result=${#1}\ 18874} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 18875 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18876 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18877test 0 -eq $? || _lt_function_replace_fail=: 18878 18879fi 18880 18881if test x"$lt_shell_append" = xyes; then 18882 sed -e '/^func_append ()$/,/^} # func_append /c\ 18883func_append ()\ 18884{\ 18885 eval "${1}+=\\${2}"\ 18886} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 18887 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18888 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18889test 0 -eq $? || _lt_function_replace_fail=: 18890 18891 18892 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 18893func_append_quoted ()\ 18894{\ 18895\ func_quote_for_eval "${2}"\ 18896\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 18897} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 18898 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18899 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18900test 0 -eq $? || _lt_function_replace_fail=: 18901 18902 18903 # Save a `func_append' function call where possible by direct use of '+=' 18904 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 18905 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18906 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18907 test 0 -eq $? || _lt_function_replace_fail=: 18908else 18909 # Save a `func_append' function call even when '+=' is not available 18910 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 18911 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18912 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18913 test 0 -eq $? || _lt_function_replace_fail=: 18914fi 18915 18916if test x"$_lt_function_replace_fail" = x":"; then 18917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 18918$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 18919fi 18920 18921 18922 mv -f "$cfgfile" "$ofile" || 18923 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18924 chmod +x "$ofile" 18925 18926 18927 cat <<_LT_EOF >> "$ofile" 18928 18929# ### BEGIN LIBTOOL TAG CONFIG: CXX 18930 18931# The linker used to build libraries. 18932LD=$lt_LD_CXX 18933 18934# How to create reloadable object files. 18935reload_flag=$lt_reload_flag_CXX 18936reload_cmds=$lt_reload_cmds_CXX 18937 18938# Commands used to build an old-style archive. 18939old_archive_cmds=$lt_old_archive_cmds_CXX 18940 18941# A language specific compiler. 18942CC=$lt_compiler_CXX 18943 18944# Is the compiler the GNU compiler? 18945with_gcc=$GCC_CXX 18946 18947# Compiler flag to turn off builtin functions. 18948no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 18949 18950# Additional compiler flags for building library objects. 18951pic_flag=$lt_lt_prog_compiler_pic_CXX 18952 18953# How to pass a linker flag through the compiler. 18954wl=$lt_lt_prog_compiler_wl_CXX 18955 18956# Compiler flag to prevent dynamic linking. 18957link_static_flag=$lt_lt_prog_compiler_static_CXX 18958 18959# Does compiler simultaneously support -c and -o options? 18960compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 18961 18962# Whether or not to add -lc for building shared libraries. 18963build_libtool_need_lc=$archive_cmds_need_lc_CXX 18964 18965# Whether or not to disallow shared libs when runtime libs are static. 18966allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 18967 18968# Compiler flag to allow reflexive dlopens. 18969export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 18970 18971# Compiler flag to generate shared objects directly from archives. 18972whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 18973 18974# Whether the compiler copes with passing no objects directly. 18975compiler_needs_object=$lt_compiler_needs_object_CXX 18976 18977# Create an old-style archive from a shared archive. 18978old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 18979 18980# Create a temporary old-style archive to link instead of a shared archive. 18981old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 18982 18983# Commands used to build a shared archive. 18984archive_cmds=$lt_archive_cmds_CXX 18985archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 18986 18987# Commands used to build a loadable module if different from building 18988# a shared archive. 18989module_cmds=$lt_module_cmds_CXX 18990module_expsym_cmds=$lt_module_expsym_cmds_CXX 18991 18992# Whether we are building with GNU ld or not. 18993with_gnu_ld=$lt_with_gnu_ld_CXX 18994 18995# Flag that allows shared libraries with undefined symbols to be built. 18996allow_undefined_flag=$lt_allow_undefined_flag_CXX 18997 18998# Flag that enforces no undefined symbols. 18999no_undefined_flag=$lt_no_undefined_flag_CXX 19000 19001# Flag to hardcode \$libdir into a binary during linking. 19002# This must work even if \$libdir does not exist 19003hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 19004 19005# If ld is used when linking, flag to hardcode \$libdir into a binary 19006# during linking. This must work even if \$libdir does not exist. 19007hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX 19008 19009# Whether we need a single "-rpath" flag with a separated argument. 19010hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 19011 19012# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19013# DIR into the resulting binary. 19014hardcode_direct=$hardcode_direct_CXX 19015 19016# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19017# DIR into the resulting binary and the resulting library dependency is 19018# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 19019# library is relocated. 19020hardcode_direct_absolute=$hardcode_direct_absolute_CXX 19021 19022# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19023# into the resulting binary. 19024hardcode_minus_L=$hardcode_minus_L_CXX 19025 19026# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19027# into the resulting binary. 19028hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 19029 19030# Set to "yes" if building a shared library automatically hardcodes DIR 19031# into the library and all subsequent libraries and executables linked 19032# against it. 19033hardcode_automatic=$hardcode_automatic_CXX 19034 19035# Set to yes if linker adds runtime paths of dependent libraries 19036# to runtime path list. 19037inherit_rpath=$inherit_rpath_CXX 19038 19039# Whether libtool must link a program against all its dependency libraries. 19040link_all_deplibs=$link_all_deplibs_CXX 19041 19042# Set to "yes" if exported symbols are required. 19043always_export_symbols=$always_export_symbols_CXX 19044 19045# The commands to list exported symbols. 19046export_symbols_cmds=$lt_export_symbols_cmds_CXX 19047 19048# Symbols that should not be listed in the preloaded symbols. 19049exclude_expsyms=$lt_exclude_expsyms_CXX 19050 19051# Symbols that must always be exported. 19052include_expsyms=$lt_include_expsyms_CXX 19053 19054# Commands necessary for linking programs (against libraries) with templates. 19055prelink_cmds=$lt_prelink_cmds_CXX 19056 19057# Commands necessary for finishing linking programs. 19058postlink_cmds=$lt_postlink_cmds_CXX 19059 19060# Specify filename containing input files. 19061file_list_spec=$lt_file_list_spec_CXX 19062 19063# How to hardcode a shared library path into an executable. 19064hardcode_action=$hardcode_action_CXX 19065 19066# The directories searched by this compiler when creating a shared library. 19067compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 19068 19069# Dependencies to place before and after the objects being linked to 19070# create a shared library. 19071predep_objects=$lt_predep_objects_CXX 19072postdep_objects=$lt_postdep_objects_CXX 19073predeps=$lt_predeps_CXX 19074postdeps=$lt_postdeps_CXX 19075 19076# The library search path used internally by the compiler when linking 19077# a shared library. 19078compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 19079 19080# ### END LIBTOOL TAG CONFIG: CXX 19081_LT_EOF 19082 19083 ;; 19084 19085 esac 19086done # for ac_tag 19087 19088 19089as_fn_exit 0 19090_ACEOF 19091ac_clean_files=$ac_clean_files_save 19092 19093test $ac_write_fail = 0 || 19094 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 19095 19096 19097# configure is writing to config.log, and then calls config.status. 19098# config.status does its own redirection, appending to config.log. 19099# Unfortunately, on DOS this fails, as config.log is still kept open 19100# by configure, so config.status won't be able to write to it; its 19101# output is simply discarded. So we exec the FD to /dev/null, 19102# effectively closing config.log, so it can be properly (re)opened and 19103# appended to by config.status. When coming back to configure, we 19104# need to make the FD available again. 19105if test "$no_create" != yes; then 19106 ac_cs_success=: 19107 ac_config_status_args= 19108 test "$silent" = yes && 19109 ac_config_status_args="$ac_config_status_args --quiet" 19110 exec 5>/dev/null 19111 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 19112 exec 5>>config.log 19113 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19114 # would make configure fail if this is the last instruction. 19115 $ac_cs_success || as_fn_exit 1 19116fi 19117if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 19118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 19119$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 19120fi 19121 19122