1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for yazpp 1.6.1. 4# 5# Report bugs to <adam@indexdata.dk>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and adam@indexdata.dk 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='yazpp' 592PACKAGE_TARNAME='yazpp' 593PACKAGE_VERSION='1.6.1' 594PACKAGE_STRING='yazpp 1.6.1' 595PACKAGE_BUGREPORT='adam@indexdata.dk' 596PACKAGE_URL='' 597 598ac_unique_file="configure.ac" 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 639ZOOM_FALSE 640ZOOM_TRUE 641XSL_DIR 642DSSSL_DIR 643DTD_DIR 644PDF_COMPILE 645TKL_COMPILE 646HTML_COMPILE 647MAN_COMPILE 648XSLTPROC_COMPILE 649yazconfig 650YAZVERSION 651YAZINC 652YAZLALIB 653YAZLIB 654CXXCPP 655OTOOL64 656OTOOL 657LIPO 658NMEDIT 659DSYMUTIL 660MANIFEST_TOOL 661RANLIB 662ac_ct_AR 663AR 664DLLTOOL 665OBJDUMP 666LN_S 667NM 668ac_ct_DUMPBIN 669DUMPBIN 670LD 671FGREP 672SED 673host_os 674host_vendor 675host_cpu 676host 677build_os 678build_vendor 679build_cpu 680build 681LIBTOOL 682EGREP 683GREP 684am__fastdepCXX_FALSE 685am__fastdepCXX_TRUE 686CXXDEPMODE 687ac_ct_CXX 688CXXFLAGS 689CXX 690CPP 691am__fastdepCC_FALSE 692am__fastdepCC_TRUE 693CCDEPMODE 694am__nodep 695AMDEPBACKSLASH 696AMDEP_FALSE 697AMDEP_TRUE 698am__quote 699am__include 700DEPDIR 701OBJEXT 702EXEEXT 703ac_ct_CC 704CPPFLAGS 705LDFLAGS 706CFLAGS 707CC 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 735target_alias 736host_alias 737build_alias 738LIBS 739ECHO_T 740ECHO_N 741ECHO_C 742DEFS 743mandir 744localedir 745libdir 746psdir 747pdfdir 748dvidir 749htmldir 750infodir 751docdir 752oldincludedir 753includedir 754localstatedir 755sharedstatedir 756sysconfdir 757datadir 758datarootdir 759libexecdir 760sbindir 761bindir 762program_transform_name 763prefix 764exec_prefix 765PACKAGE_URL 766PACKAGE_BUGREPORT 767PACKAGE_STRING 768PACKAGE_VERSION 769PACKAGE_TARNAME 770PACKAGE_NAME 771PATH_SEPARATOR 772SHELL' 773ac_subst_files='' 774ac_user_opts=' 775enable_option_checking 776enable_silent_rules 777enable_dependency_tracking 778enable_shared 779enable_static 780with_pic 781enable_fast_install 782with_gnu_ld 783with_sysroot 784enable_libtool_lock 785with_yaz 786with_docbook_dtd 787with_docbook_dsssl 788with_docbook_xsl 789enable_zoom 790' 791 ac_precious_vars='build_alias 792host_alias 793target_alias 794CC 795CFLAGS 796LDFLAGS 797LIBS 798CPPFLAGS 799CPP 800CXX 801CXXFLAGS 802CCC 803CXXCPP' 804 805 806# Initialize some variables set by options. 807ac_init_help= 808ac_init_version=false 809ac_unrecognized_opts= 810ac_unrecognized_sep= 811# The variables have the same names as the options, with 812# dashes changed to underlines. 813cache_file=/dev/null 814exec_prefix=NONE 815no_create= 816no_recursion= 817prefix=NONE 818program_prefix=NONE 819program_suffix=NONE 820program_transform_name=s,x,x, 821silent= 822site= 823srcdir= 824verbose= 825x_includes=NONE 826x_libraries=NONE 827 828# Installation directory options. 829# These are left unexpanded so users can "make install exec_prefix=/foo" 830# and all the variables that are supposed to be based on exec_prefix 831# by default will actually change. 832# Use braces instead of parens because sh, perl, etc. also accept them. 833# (The list follows the same order as the GNU Coding Standards.) 834bindir='${exec_prefix}/bin' 835sbindir='${exec_prefix}/sbin' 836libexecdir='${exec_prefix}/libexec' 837datarootdir='${prefix}/share' 838datadir='${datarootdir}' 839sysconfdir='${prefix}/etc' 840sharedstatedir='${prefix}/com' 841localstatedir='${prefix}/var' 842includedir='${prefix}/include' 843oldincludedir='/usr/include' 844docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 845infodir='${datarootdir}/info' 846htmldir='${docdir}' 847dvidir='${docdir}' 848pdfdir='${docdir}' 849psdir='${docdir}' 850libdir='${exec_prefix}/lib' 851localedir='${datarootdir}/locale' 852mandir='${datarootdir}/man' 853 854ac_prev= 855ac_dashdash= 856for ac_option 857do 858 # If the previous option needs an argument, assign it. 859 if test -n "$ac_prev"; then 860 eval $ac_prev=\$ac_option 861 ac_prev= 862 continue 863 fi 864 865 case $ac_option in 866 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 867 *=) ac_optarg= ;; 868 *) ac_optarg=yes ;; 869 esac 870 871 # Accept the important Cygnus configure options, so we can diagnose typos. 872 873 case $ac_dashdash$ac_option in 874 --) 875 ac_dashdash=yes ;; 876 877 -bindir | --bindir | --bindi | --bind | --bin | --bi) 878 ac_prev=bindir ;; 879 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 880 bindir=$ac_optarg ;; 881 882 -build | --build | --buil | --bui | --bu) 883 ac_prev=build_alias ;; 884 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 885 build_alias=$ac_optarg ;; 886 887 -cache-file | --cache-file | --cache-fil | --cache-fi \ 888 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 889 ac_prev=cache_file ;; 890 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 891 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 892 cache_file=$ac_optarg ;; 893 894 --config-cache | -C) 895 cache_file=config.cache ;; 896 897 -datadir | --datadir | --datadi | --datad) 898 ac_prev=datadir ;; 899 -datadir=* | --datadir=* | --datadi=* | --datad=*) 900 datadir=$ac_optarg ;; 901 902 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 903 | --dataroo | --dataro | --datar) 904 ac_prev=datarootdir ;; 905 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 906 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 907 datarootdir=$ac_optarg ;; 908 909 -disable-* | --disable-*) 910 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 911 # Reject names that are not valid shell variable names. 912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 913 as_fn_error $? "invalid feature name: $ac_useropt" 914 ac_useropt_orig=$ac_useropt 915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 916 case $ac_user_opts in 917 *" 918"enable_$ac_useropt" 919"*) ;; 920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 921 ac_unrecognized_sep=', ';; 922 esac 923 eval enable_$ac_useropt=no ;; 924 925 -docdir | --docdir | --docdi | --doc | --do) 926 ac_prev=docdir ;; 927 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 928 docdir=$ac_optarg ;; 929 930 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 931 ac_prev=dvidir ;; 932 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 933 dvidir=$ac_optarg ;; 934 935 -enable-* | --enable-*) 936 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 937 # Reject names that are not valid shell variable names. 938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 939 as_fn_error $? "invalid feature name: $ac_useropt" 940 ac_useropt_orig=$ac_useropt 941 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 942 case $ac_user_opts in 943 *" 944"enable_$ac_useropt" 945"*) ;; 946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 947 ac_unrecognized_sep=', ';; 948 esac 949 eval enable_$ac_useropt=\$ac_optarg ;; 950 951 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 952 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 953 | --exec | --exe | --ex) 954 ac_prev=exec_prefix ;; 955 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 956 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 957 | --exec=* | --exe=* | --ex=*) 958 exec_prefix=$ac_optarg ;; 959 960 -gas | --gas | --ga | --g) 961 # Obsolete; use --with-gas. 962 with_gas=yes ;; 963 964 -help | --help | --hel | --he | -h) 965 ac_init_help=long ;; 966 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 967 ac_init_help=recursive ;; 968 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 969 ac_init_help=short ;; 970 971 -host | --host | --hos | --ho) 972 ac_prev=host_alias ;; 973 -host=* | --host=* | --hos=* | --ho=*) 974 host_alias=$ac_optarg ;; 975 976 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 977 ac_prev=htmldir ;; 978 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 979 | --ht=*) 980 htmldir=$ac_optarg ;; 981 982 -includedir | --includedir | --includedi | --included | --include \ 983 | --includ | --inclu | --incl | --inc) 984 ac_prev=includedir ;; 985 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 986 | --includ=* | --inclu=* | --incl=* | --inc=*) 987 includedir=$ac_optarg ;; 988 989 -infodir | --infodir | --infodi | --infod | --info | --inf) 990 ac_prev=infodir ;; 991 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 992 infodir=$ac_optarg ;; 993 994 -libdir | --libdir | --libdi | --libd) 995 ac_prev=libdir ;; 996 -libdir=* | --libdir=* | --libdi=* | --libd=*) 997 libdir=$ac_optarg ;; 998 999 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1000 | --libexe | --libex | --libe) 1001 ac_prev=libexecdir ;; 1002 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1003 | --libexe=* | --libex=* | --libe=*) 1004 libexecdir=$ac_optarg ;; 1005 1006 -localedir | --localedir | --localedi | --localed | --locale) 1007 ac_prev=localedir ;; 1008 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1009 localedir=$ac_optarg ;; 1010 1011 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1012 | --localstate | --localstat | --localsta | --localst | --locals) 1013 ac_prev=localstatedir ;; 1014 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1015 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1016 localstatedir=$ac_optarg ;; 1017 1018 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1019 ac_prev=mandir ;; 1020 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1021 mandir=$ac_optarg ;; 1022 1023 -nfp | --nfp | --nf) 1024 # Obsolete; use --without-fp. 1025 with_fp=no ;; 1026 1027 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1028 | --no-cr | --no-c | -n) 1029 no_create=yes ;; 1030 1031 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1032 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1033 no_recursion=yes ;; 1034 1035 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1036 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1037 | --oldin | --oldi | --old | --ol | --o) 1038 ac_prev=oldincludedir ;; 1039 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1040 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1041 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1042 oldincludedir=$ac_optarg ;; 1043 1044 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1045 ac_prev=prefix ;; 1046 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1047 prefix=$ac_optarg ;; 1048 1049 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1050 | --program-pre | --program-pr | --program-p) 1051 ac_prev=program_prefix ;; 1052 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1053 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1054 program_prefix=$ac_optarg ;; 1055 1056 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1057 | --program-suf | --program-su | --program-s) 1058 ac_prev=program_suffix ;; 1059 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1060 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1061 program_suffix=$ac_optarg ;; 1062 1063 -program-transform-name | --program-transform-name \ 1064 | --program-transform-nam | --program-transform-na \ 1065 | --program-transform-n | --program-transform- \ 1066 | --program-transform | --program-transfor \ 1067 | --program-transfo | --program-transf \ 1068 | --program-trans | --program-tran \ 1069 | --progr-tra | --program-tr | --program-t) 1070 ac_prev=program_transform_name ;; 1071 -program-transform-name=* | --program-transform-name=* \ 1072 | --program-transform-nam=* | --program-transform-na=* \ 1073 | --program-transform-n=* | --program-transform-=* \ 1074 | --program-transform=* | --program-transfor=* \ 1075 | --program-transfo=* | --program-transf=* \ 1076 | --program-trans=* | --program-tran=* \ 1077 | --progr-tra=* | --program-tr=* | --program-t=*) 1078 program_transform_name=$ac_optarg ;; 1079 1080 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1081 ac_prev=pdfdir ;; 1082 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1083 pdfdir=$ac_optarg ;; 1084 1085 -psdir | --psdir | --psdi | --psd | --ps) 1086 ac_prev=psdir ;; 1087 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1088 psdir=$ac_optarg ;; 1089 1090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1091 | -silent | --silent | --silen | --sile | --sil) 1092 silent=yes ;; 1093 1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1095 ac_prev=sbindir ;; 1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1097 | --sbi=* | --sb=*) 1098 sbindir=$ac_optarg ;; 1099 1100 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1101 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1102 | --sharedst | --shareds | --shared | --share | --shar \ 1103 | --sha | --sh) 1104 ac_prev=sharedstatedir ;; 1105 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1106 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1107 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1108 | --sha=* | --sh=*) 1109 sharedstatedir=$ac_optarg ;; 1110 1111 -site | --site | --sit) 1112 ac_prev=site ;; 1113 -site=* | --site=* | --sit=*) 1114 site=$ac_optarg ;; 1115 1116 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1117 ac_prev=srcdir ;; 1118 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1119 srcdir=$ac_optarg ;; 1120 1121 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1122 | --syscon | --sysco | --sysc | --sys | --sy) 1123 ac_prev=sysconfdir ;; 1124 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1125 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1126 sysconfdir=$ac_optarg ;; 1127 1128 -target | --target | --targe | --targ | --tar | --ta | --t) 1129 ac_prev=target_alias ;; 1130 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1131 target_alias=$ac_optarg ;; 1132 1133 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1134 verbose=yes ;; 1135 1136 -version | --version | --versio | --versi | --vers | -V) 1137 ac_init_version=: ;; 1138 1139 -with-* | --with-*) 1140 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1141 # Reject names that are not valid shell variable names. 1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1143 as_fn_error $? "invalid package name: $ac_useropt" 1144 ac_useropt_orig=$ac_useropt 1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1146 case $ac_user_opts in 1147 *" 1148"with_$ac_useropt" 1149"*) ;; 1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1151 ac_unrecognized_sep=', ';; 1152 esac 1153 eval with_$ac_useropt=\$ac_optarg ;; 1154 1155 -without-* | --without-*) 1156 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1157 # Reject names that are not valid shell variable names. 1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1159 as_fn_error $? "invalid package name: $ac_useropt" 1160 ac_useropt_orig=$ac_useropt 1161 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1162 case $ac_user_opts in 1163 *" 1164"with_$ac_useropt" 1165"*) ;; 1166 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1167 ac_unrecognized_sep=', ';; 1168 esac 1169 eval with_$ac_useropt=no ;; 1170 1171 --x) 1172 # Obsolete; use --with-x. 1173 with_x=yes ;; 1174 1175 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1176 | --x-incl | --x-inc | --x-in | --x-i) 1177 ac_prev=x_includes ;; 1178 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1179 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1180 x_includes=$ac_optarg ;; 1181 1182 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1183 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1184 ac_prev=x_libraries ;; 1185 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1186 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1187 x_libraries=$ac_optarg ;; 1188 1189 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1190Try \`$0 --help' for more information" 1191 ;; 1192 1193 *=*) 1194 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1195 # Reject names that are not valid shell variable names. 1196 case $ac_envvar in #( 1197 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1198 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1199 esac 1200 eval $ac_envvar=\$ac_optarg 1201 export $ac_envvar ;; 1202 1203 *) 1204 # FIXME: should be removed in autoconf 3.0. 1205 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1208 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1209 ;; 1210 1211 esac 1212done 1213 1214if test -n "$ac_prev"; then 1215 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1216 as_fn_error $? "missing argument to $ac_option" 1217fi 1218 1219if test -n "$ac_unrecognized_opts"; then 1220 case $enable_option_checking in 1221 no) ;; 1222 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1223 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1224 esac 1225fi 1226 1227# Check all directory arguments for consistency. 1228for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1229 datadir sysconfdir sharedstatedir localstatedir includedir \ 1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1231 libdir localedir mandir 1232do 1233 eval ac_val=\$$ac_var 1234 # Remove trailing slashes. 1235 case $ac_val in 1236 */ ) 1237 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1238 eval $ac_var=\$ac_val;; 1239 esac 1240 # Be sure to have absolute directory names. 1241 case $ac_val in 1242 [\\/$]* | ?:[\\/]* ) continue;; 1243 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1244 esac 1245 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1246done 1247 1248# There might be people who depend on the old broken behavior: `$host' 1249# used to hold the argument of --host etc. 1250# FIXME: To remove some day. 1251build=$build_alias 1252host=$host_alias 1253target=$target_alias 1254 1255# FIXME: To remove some day. 1256if test "x$host_alias" != x; then 1257 if test "x$build_alias" = x; then 1258 cross_compiling=maybe 1259 elif test "x$build_alias" != "x$host_alias"; then 1260 cross_compiling=yes 1261 fi 1262fi 1263 1264ac_tool_prefix= 1265test -n "$host_alias" && ac_tool_prefix=$host_alias- 1266 1267test "$silent" = yes && exec 6>/dev/null 1268 1269 1270ac_pwd=`pwd` && test -n "$ac_pwd" && 1271ac_ls_di=`ls -di .` && 1272ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1273 as_fn_error $? "working directory cannot be determined" 1274test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1275 as_fn_error $? "pwd does not report name of working directory" 1276 1277 1278# Find the source files, if location was not specified. 1279if test -z "$srcdir"; then 1280 ac_srcdir_defaulted=yes 1281 # Try the directory containing this script, then the parent directory. 1282 ac_confdir=`$as_dirname -- "$as_myself" || 1283$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1284 X"$as_myself" : 'X\(//\)[^/]' \| \ 1285 X"$as_myself" : 'X\(//\)$' \| \ 1286 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1287$as_echo X"$as_myself" | 1288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1289 s//\1/ 1290 q 1291 } 1292 /^X\(\/\/\)[^/].*/{ 1293 s//\1/ 1294 q 1295 } 1296 /^X\(\/\/\)$/{ 1297 s//\1/ 1298 q 1299 } 1300 /^X\(\/\).*/{ 1301 s//\1/ 1302 q 1303 } 1304 s/.*/./; q'` 1305 srcdir=$ac_confdir 1306 if test ! -r "$srcdir/$ac_unique_file"; then 1307 srcdir=.. 1308 fi 1309else 1310 ac_srcdir_defaulted=no 1311fi 1312if test ! -r "$srcdir/$ac_unique_file"; then 1313 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1314 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1315fi 1316ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1317ac_abs_confdir=`( 1318 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1319 pwd)` 1320# When building in place, set srcdir=. 1321if test "$ac_abs_confdir" = "$ac_pwd"; then 1322 srcdir=. 1323fi 1324# Remove unnecessary trailing slashes from srcdir. 1325# Double slashes in file names in object file debugging info 1326# mess up M-x gdb in Emacs. 1327case $srcdir in 1328*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1329esac 1330for ac_var in $ac_precious_vars; do 1331 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1332 eval ac_env_${ac_var}_value=\$${ac_var} 1333 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1334 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1335done 1336 1337# 1338# Report the --help message. 1339# 1340if test "$ac_init_help" = "long"; then 1341 # Omit some internal or obsolete options to make the list less imposing. 1342 # This message is too long to be a string in the A/UX 3.1 sh. 1343 cat <<_ACEOF 1344\`configure' configures yazpp 1.6.1 to adapt to many kinds of systems. 1345 1346Usage: $0 [OPTION]... [VAR=VALUE]... 1347 1348To assign environment variables (e.g., CC, CFLAGS...), specify them as 1349VAR=VALUE. See below for descriptions of some of the useful variables. 1350 1351Defaults for the options are specified in brackets. 1352 1353Configuration: 1354 -h, --help display this help and exit 1355 --help=short display options specific to this package 1356 --help=recursive display the short help of all the included packages 1357 -V, --version display version information and exit 1358 -q, --quiet, --silent do not print \`checking ...' messages 1359 --cache-file=FILE cache test results in FILE [disabled] 1360 -C, --config-cache alias for \`--cache-file=config.cache' 1361 -n, --no-create do not create output files 1362 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1363 1364Installation directories: 1365 --prefix=PREFIX install architecture-independent files in PREFIX 1366 [$ac_default_prefix] 1367 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1368 [PREFIX] 1369 1370By default, \`make install' will install all the files in 1371\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1372an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1373for instance \`--prefix=\$HOME'. 1374 1375For better control, use the options below. 1376 1377Fine tuning of the installation directories: 1378 --bindir=DIR user executables [EPREFIX/bin] 1379 --sbindir=DIR system admin executables [EPREFIX/sbin] 1380 --libexecdir=DIR program executables [EPREFIX/libexec] 1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1384 --libdir=DIR object code libraries [EPREFIX/lib] 1385 --includedir=DIR C header files [PREFIX/include] 1386 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1387 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1388 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1389 --infodir=DIR info documentation [DATAROOTDIR/info] 1390 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1391 --mandir=DIR man documentation [DATAROOTDIR/man] 1392 --docdir=DIR documentation root [DATAROOTDIR/doc/yazpp] 1393 --htmldir=DIR html documentation [DOCDIR] 1394 --dvidir=DIR dvi documentation [DOCDIR] 1395 --pdfdir=DIR pdf documentation [DOCDIR] 1396 --psdir=DIR ps documentation [DOCDIR] 1397_ACEOF 1398 1399 cat <<\_ACEOF 1400 1401Program names: 1402 --program-prefix=PREFIX prepend PREFIX to installed program names 1403 --program-suffix=SUFFIX append SUFFIX to installed program names 1404 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1405 1406System types: 1407 --build=BUILD configure for building on BUILD [guessed] 1408 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1409_ACEOF 1410fi 1411 1412if test -n "$ac_init_help"; then 1413 case $ac_init_help in 1414 short | recursive ) echo "Configuration of yazpp 1.6.1:";; 1415 esac 1416 cat <<\_ACEOF 1417 1418Optional Features: 1419 --disable-option-checking ignore unrecognized --enable/--with options 1420 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1421 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1422 --enable-silent-rules less verbose build output (undo: "make V=1") 1423 --disable-silent-rules verbose build output (undo: "make V=0") 1424 --enable-dependency-tracking 1425 do not reject slow dependency extractors 1426 --disable-dependency-tracking 1427 speeds up one-time build 1428 --enable-shared[=PKGS] build shared libraries [default=yes] 1429 --enable-static[=PKGS] build static libraries [default=yes] 1430 --enable-fast-install[=PKGS] 1431 optimize for fast installation [default=yes] 1432 --disable-libtool-lock avoid locking (might break parallel builds) 1433 --disable-zoom disable ZOOM (for old C++ compilers) 1434 1435Optional Packages: 1436 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1437 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1438 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1439 both] 1440 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1441 --with-sysroot=DIR Search for dependent libraries within DIR 1442 (or the compiler's sysroot if not specified). 1443 --with-yaz=DIR use yaz-config in DIR (example /home/yaz-1.7) 1444 --with-docbook-dtd=DIR use docbookx.dtd in DIR 1445 --with-docbook-dsssl=DIR use Docbook DSSSL in DIR/{html,print}/docbook.dsl 1446 --with-docbook-xsl=DIR use Docbook XSL in DIR/{htmlhelp,xhtml} 1447 1448Some influential environment variables: 1449 CC C compiler command 1450 CFLAGS C compiler flags 1451 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1452 nonstandard directory <lib dir> 1453 LIBS libraries to pass to the linker, e.g. -l<library> 1454 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1455 you have headers in a nonstandard directory <include dir> 1456 CPP C preprocessor 1457 CXX C++ compiler command 1458 CXXFLAGS C++ compiler flags 1459 CXXCPP C++ preprocessor 1460 1461Use these variables to override the choices made by `configure' or to help 1462it to find libraries and programs with nonstandard names/locations. 1463 1464Report bugs to <adam@indexdata.dk>. 1465_ACEOF 1466ac_status=$? 1467fi 1468 1469if test "$ac_init_help" = "recursive"; then 1470 # If there are subdirs, report their specific --help. 1471 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1472 test -d "$ac_dir" || 1473 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1474 continue 1475 ac_builddir=. 1476 1477case "$ac_dir" in 1478.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1479*) 1480 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1481 # A ".." for each directory in $ac_dir_suffix. 1482 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1483 case $ac_top_builddir_sub in 1484 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1485 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1486 esac ;; 1487esac 1488ac_abs_top_builddir=$ac_pwd 1489ac_abs_builddir=$ac_pwd$ac_dir_suffix 1490# for backward compatibility: 1491ac_top_builddir=$ac_top_build_prefix 1492 1493case $srcdir in 1494 .) # We are building in place. 1495 ac_srcdir=. 1496 ac_top_srcdir=$ac_top_builddir_sub 1497 ac_abs_top_srcdir=$ac_pwd ;; 1498 [\\/]* | ?:[\\/]* ) # Absolute name. 1499 ac_srcdir=$srcdir$ac_dir_suffix; 1500 ac_top_srcdir=$srcdir 1501 ac_abs_top_srcdir=$srcdir ;; 1502 *) # Relative name. 1503 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1504 ac_top_srcdir=$ac_top_build_prefix$srcdir 1505 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1506esac 1507ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1508 1509 cd "$ac_dir" || { ac_status=$?; continue; } 1510 # Check for guested configure. 1511 if test -f "$ac_srcdir/configure.gnu"; then 1512 echo && 1513 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1514 elif test -f "$ac_srcdir/configure"; then 1515 echo && 1516 $SHELL "$ac_srcdir/configure" --help=recursive 1517 else 1518 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1519 fi || ac_status=$? 1520 cd "$ac_pwd" || { ac_status=$?; break; } 1521 done 1522fi 1523 1524test -n "$ac_init_help" && exit $ac_status 1525if $ac_init_version; then 1526 cat <<\_ACEOF 1527yazpp configure 1.6.1 1528generated by GNU Autoconf 2.69 1529 1530Copyright (C) 2012 Free Software Foundation, Inc. 1531This configure script is free software; the Free Software Foundation 1532gives unlimited permission to copy, distribute and modify it. 1533_ACEOF 1534 exit 1535fi 1536 1537## ------------------------ ## 1538## Autoconf initialization. ## 1539## ------------------------ ## 1540 1541# ac_fn_c_try_compile LINENO 1542# -------------------------- 1543# Try to compile conftest.$ac_ext, and return whether this succeeded. 1544ac_fn_c_try_compile () 1545{ 1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1547 rm -f conftest.$ac_objext 1548 if { { ac_try="$ac_compile" 1549case "(($ac_try" in 1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1551 *) ac_try_echo=$ac_try;; 1552esac 1553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1554$as_echo "$ac_try_echo"; } >&5 1555 (eval "$ac_compile") 2>conftest.err 1556 ac_status=$? 1557 if test -s conftest.err; then 1558 grep -v '^ *+' conftest.err >conftest.er1 1559 cat conftest.er1 >&5 1560 mv -f conftest.er1 conftest.err 1561 fi 1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1563 test $ac_status = 0; } && { 1564 test -z "$ac_c_werror_flag" || 1565 test ! -s conftest.err 1566 } && test -s conftest.$ac_objext; then : 1567 ac_retval=0 1568else 1569 $as_echo "$as_me: failed program was:" >&5 1570sed 's/^/| /' conftest.$ac_ext >&5 1571 1572 ac_retval=1 1573fi 1574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1575 as_fn_set_status $ac_retval 1576 1577} # ac_fn_c_try_compile 1578 1579# ac_fn_c_try_cpp LINENO 1580# ---------------------- 1581# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1582ac_fn_c_try_cpp () 1583{ 1584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1585 if { { ac_try="$ac_cpp conftest.$ac_ext" 1586case "(($ac_try" in 1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1588 *) ac_try_echo=$ac_try;; 1589esac 1590eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1591$as_echo "$ac_try_echo"; } >&5 1592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1593 ac_status=$? 1594 if test -s conftest.err; then 1595 grep -v '^ *+' conftest.err >conftest.er1 1596 cat conftest.er1 >&5 1597 mv -f conftest.er1 conftest.err 1598 fi 1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1600 test $ac_status = 0; } > conftest.i && { 1601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1602 test ! -s conftest.err 1603 }; then : 1604 ac_retval=0 1605else 1606 $as_echo "$as_me: failed program was:" >&5 1607sed 's/^/| /' conftest.$ac_ext >&5 1608 1609 ac_retval=1 1610fi 1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1612 as_fn_set_status $ac_retval 1613 1614} # ac_fn_c_try_cpp 1615 1616# ac_fn_cxx_try_compile LINENO 1617# ---------------------------- 1618# Try to compile conftest.$ac_ext, and return whether this succeeded. 1619ac_fn_cxx_try_compile () 1620{ 1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1622 rm -f conftest.$ac_objext 1623 if { { ac_try="$ac_compile" 1624case "(($ac_try" in 1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1626 *) ac_try_echo=$ac_try;; 1627esac 1628eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1629$as_echo "$ac_try_echo"; } >&5 1630 (eval "$ac_compile") 2>conftest.err 1631 ac_status=$? 1632 if test -s conftest.err; then 1633 grep -v '^ *+' conftest.err >conftest.er1 1634 cat conftest.er1 >&5 1635 mv -f conftest.er1 conftest.err 1636 fi 1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1638 test $ac_status = 0; } && { 1639 test -z "$ac_cxx_werror_flag" || 1640 test ! -s conftest.err 1641 } && test -s conftest.$ac_objext; then : 1642 ac_retval=0 1643else 1644 $as_echo "$as_me: failed program was:" >&5 1645sed 's/^/| /' conftest.$ac_ext >&5 1646 1647 ac_retval=1 1648fi 1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1650 as_fn_set_status $ac_retval 1651 1652} # ac_fn_cxx_try_compile 1653 1654# ac_fn_c_try_run LINENO 1655# ---------------------- 1656# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1657# that executables *can* be run. 1658ac_fn_c_try_run () 1659{ 1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1661 if { { ac_try="$ac_link" 1662case "(($ac_try" in 1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1664 *) ac_try_echo=$ac_try;; 1665esac 1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1667$as_echo "$ac_try_echo"; } >&5 1668 (eval "$ac_link") 2>&5 1669 ac_status=$? 1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1671 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1672 { { case "(($ac_try" in 1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1674 *) ac_try_echo=$ac_try;; 1675esac 1676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1677$as_echo "$ac_try_echo"; } >&5 1678 (eval "$ac_try") 2>&5 1679 ac_status=$? 1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1681 test $ac_status = 0; }; }; then : 1682 ac_retval=0 1683else 1684 $as_echo "$as_me: program exited with status $ac_status" >&5 1685 $as_echo "$as_me: failed program was:" >&5 1686sed 's/^/| /' conftest.$ac_ext >&5 1687 1688 ac_retval=$ac_status 1689fi 1690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1692 as_fn_set_status $ac_retval 1693 1694} # ac_fn_c_try_run 1695 1696# ac_fn_c_try_link LINENO 1697# ----------------------- 1698# Try to link conftest.$ac_ext, and return whether this succeeded. 1699ac_fn_c_try_link () 1700{ 1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1702 rm -f conftest.$ac_objext conftest$ac_exeext 1703 if { { ac_try="$ac_link" 1704case "(($ac_try" in 1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1706 *) ac_try_echo=$ac_try;; 1707esac 1708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1709$as_echo "$ac_try_echo"; } >&5 1710 (eval "$ac_link") 2>conftest.err 1711 ac_status=$? 1712 if test -s conftest.err; then 1713 grep -v '^ *+' conftest.err >conftest.er1 1714 cat conftest.er1 >&5 1715 mv -f conftest.er1 conftest.err 1716 fi 1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1718 test $ac_status = 0; } && { 1719 test -z "$ac_c_werror_flag" || 1720 test ! -s conftest.err 1721 } && test -s conftest$ac_exeext && { 1722 test "$cross_compiling" = yes || 1723 test -x conftest$ac_exeext 1724 }; then : 1725 ac_retval=0 1726else 1727 $as_echo "$as_me: failed program was:" >&5 1728sed 's/^/| /' conftest.$ac_ext >&5 1729 1730 ac_retval=1 1731fi 1732 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1733 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1734 # interfere with the next link command; also delete a directory that is 1735 # left behind by Apple's compiler. We do this before executing the actions. 1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1738 as_fn_set_status $ac_retval 1739 1740} # ac_fn_c_try_link 1741 1742# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1743# ------------------------------------------------------- 1744# Tests whether HEADER exists and can be compiled using the include files in 1745# INCLUDES, setting the cache variable VAR accordingly. 1746ac_fn_c_check_header_compile () 1747{ 1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1750$as_echo_n "checking for $2... " >&6; } 1751if eval \${$3+:} false; then : 1752 $as_echo_n "(cached) " >&6 1753else 1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1755/* end confdefs.h. */ 1756$4 1757#include <$2> 1758_ACEOF 1759if ac_fn_c_try_compile "$LINENO"; then : 1760 eval "$3=yes" 1761else 1762 eval "$3=no" 1763fi 1764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1765fi 1766eval ac_res=\$$3 1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1768$as_echo "$ac_res" >&6; } 1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1770 1771} # ac_fn_c_check_header_compile 1772 1773# ac_fn_c_check_func LINENO FUNC VAR 1774# ---------------------------------- 1775# Tests whether FUNC exists, setting the cache variable VAR accordingly 1776ac_fn_c_check_func () 1777{ 1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1780$as_echo_n "checking for $2... " >&6; } 1781if eval \${$3+:} false; then : 1782 $as_echo_n "(cached) " >&6 1783else 1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1785/* end confdefs.h. */ 1786/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1787 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1788#define $2 innocuous_$2 1789 1790/* System header to define __stub macros and hopefully few prototypes, 1791 which can conflict with char $2 (); below. 1792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1793 <limits.h> exists even on freestanding compilers. */ 1794 1795#ifdef __STDC__ 1796# include <limits.h> 1797#else 1798# include <assert.h> 1799#endif 1800 1801#undef $2 1802 1803/* Override any GCC internal prototype to avoid an error. 1804 Use char because int might match the return type of a GCC 1805 builtin and then its argument prototype would still apply. */ 1806#ifdef __cplusplus 1807extern "C" 1808#endif 1809char $2 (); 1810/* The GNU C library defines this for functions which it implements 1811 to always fail with ENOSYS. Some functions are actually named 1812 something starting with __ and the normal name is an alias. */ 1813#if defined __stub_$2 || defined __stub___$2 1814choke me 1815#endif 1816 1817int 1818main () 1819{ 1820return $2 (); 1821 ; 1822 return 0; 1823} 1824_ACEOF 1825if ac_fn_c_try_link "$LINENO"; then : 1826 eval "$3=yes" 1827else 1828 eval "$3=no" 1829fi 1830rm -f core conftest.err conftest.$ac_objext \ 1831 conftest$ac_exeext conftest.$ac_ext 1832fi 1833eval ac_res=\$$3 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1835$as_echo "$ac_res" >&6; } 1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1837 1838} # ac_fn_c_check_func 1839 1840# ac_fn_cxx_try_cpp LINENO 1841# ------------------------ 1842# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1843ac_fn_cxx_try_cpp () 1844{ 1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1846 if { { ac_try="$ac_cpp conftest.$ac_ext" 1847case "(($ac_try" in 1848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1849 *) ac_try_echo=$ac_try;; 1850esac 1851eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1852$as_echo "$ac_try_echo"; } >&5 1853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1854 ac_status=$? 1855 if test -s conftest.err; then 1856 grep -v '^ *+' conftest.err >conftest.er1 1857 cat conftest.er1 >&5 1858 mv -f conftest.er1 conftest.err 1859 fi 1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1861 test $ac_status = 0; } > conftest.i && { 1862 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1863 test ! -s conftest.err 1864 }; then : 1865 ac_retval=0 1866else 1867 $as_echo "$as_me: failed program was:" >&5 1868sed 's/^/| /' conftest.$ac_ext >&5 1869 1870 ac_retval=1 1871fi 1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1873 as_fn_set_status $ac_retval 1874 1875} # ac_fn_cxx_try_cpp 1876 1877# ac_fn_cxx_try_link LINENO 1878# ------------------------- 1879# Try to link conftest.$ac_ext, and return whether this succeeded. 1880ac_fn_cxx_try_link () 1881{ 1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1883 rm -f conftest.$ac_objext conftest$ac_exeext 1884 if { { ac_try="$ac_link" 1885case "(($ac_try" in 1886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1887 *) ac_try_echo=$ac_try;; 1888esac 1889eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1890$as_echo "$ac_try_echo"; } >&5 1891 (eval "$ac_link") 2>conftest.err 1892 ac_status=$? 1893 if test -s conftest.err; then 1894 grep -v '^ *+' conftest.err >conftest.er1 1895 cat conftest.er1 >&5 1896 mv -f conftest.er1 conftest.err 1897 fi 1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1899 test $ac_status = 0; } && { 1900 test -z "$ac_cxx_werror_flag" || 1901 test ! -s conftest.err 1902 } && test -s conftest$ac_exeext && { 1903 test "$cross_compiling" = yes || 1904 test -x conftest$ac_exeext 1905 }; then : 1906 ac_retval=0 1907else 1908 $as_echo "$as_me: failed program was:" >&5 1909sed 's/^/| /' conftest.$ac_ext >&5 1910 1911 ac_retval=1 1912fi 1913 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1914 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1915 # interfere with the next link command; also delete a directory that is 1916 # left behind by Apple's compiler. We do this before executing the actions. 1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1919 as_fn_set_status $ac_retval 1920 1921} # ac_fn_cxx_try_link 1922 1923# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1924# ------------------------------------------------------- 1925# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1926# the include files in INCLUDES and setting the cache variable VAR 1927# accordingly. 1928ac_fn_c_check_header_mongrel () 1929{ 1930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1931 if eval \${$3+:} false; then : 1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1933$as_echo_n "checking for $2... " >&6; } 1934if eval \${$3+:} false; then : 1935 $as_echo_n "(cached) " >&6 1936fi 1937eval ac_res=\$$3 1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1939$as_echo "$ac_res" >&6; } 1940else 1941 # Is the header compilable? 1942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1943$as_echo_n "checking $2 usability... " >&6; } 1944cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1945/* end confdefs.h. */ 1946$4 1947#include <$2> 1948_ACEOF 1949if ac_fn_c_try_compile "$LINENO"; then : 1950 ac_header_compiler=yes 1951else 1952 ac_header_compiler=no 1953fi 1954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1956$as_echo "$ac_header_compiler" >&6; } 1957 1958# Is the header present? 1959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1960$as_echo_n "checking $2 presence... " >&6; } 1961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1962/* end confdefs.h. */ 1963#include <$2> 1964_ACEOF 1965if ac_fn_c_try_cpp "$LINENO"; then : 1966 ac_header_preproc=yes 1967else 1968 ac_header_preproc=no 1969fi 1970rm -f conftest.err conftest.i conftest.$ac_ext 1971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1972$as_echo "$ac_header_preproc" >&6; } 1973 1974# So? What about this header? 1975case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1976 yes:no: ) 1977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1978$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1980$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1981 ;; 1982 no:yes:* ) 1983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1984$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1986$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1988$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1990$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1992$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1993( $as_echo "## -------------------------------- ## 1994## Report this to adam@indexdata.dk ## 1995## -------------------------------- ##" 1996 ) | sed "s/^/$as_me: WARNING: /" >&2 1997 ;; 1998esac 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2000$as_echo_n "checking for $2... " >&6; } 2001if eval \${$3+:} false; then : 2002 $as_echo_n "(cached) " >&6 2003else 2004 eval "$3=\$ac_header_compiler" 2005fi 2006eval ac_res=\$$3 2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2008$as_echo "$ac_res" >&6; } 2009fi 2010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2011 2012} # ac_fn_c_check_header_mongrel 2013cat >config.log <<_ACEOF 2014This file contains any messages produced by compilers while 2015running configure, to aid debugging if configure makes a mistake. 2016 2017It was created by yazpp $as_me 1.6.1, which was 2018generated by GNU Autoconf 2.69. Invocation command line was 2019 2020 $ $0 $@ 2021 2022_ACEOF 2023exec 5>>config.log 2024{ 2025cat <<_ASUNAME 2026## --------- ## 2027## Platform. ## 2028## --------- ## 2029 2030hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2031uname -m = `(uname -m) 2>/dev/null || echo unknown` 2032uname -r = `(uname -r) 2>/dev/null || echo unknown` 2033uname -s = `(uname -s) 2>/dev/null || echo unknown` 2034uname -v = `(uname -v) 2>/dev/null || echo unknown` 2035 2036/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2037/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2038 2039/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2040/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2041/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2042/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2043/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2044/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2045/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2046 2047_ASUNAME 2048 2049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2050for as_dir in $PATH 2051do 2052 IFS=$as_save_IFS 2053 test -z "$as_dir" && as_dir=. 2054 $as_echo "PATH: $as_dir" 2055 done 2056IFS=$as_save_IFS 2057 2058} >&5 2059 2060cat >&5 <<_ACEOF 2061 2062 2063## ----------- ## 2064## Core tests. ## 2065## ----------- ## 2066 2067_ACEOF 2068 2069 2070# Keep a trace of the command line. 2071# Strip out --no-create and --no-recursion so they do not pile up. 2072# Strip out --silent because we don't want to record it for future runs. 2073# Also quote any args containing shell meta-characters. 2074# Make two passes to allow for proper duplicate-argument suppression. 2075ac_configure_args= 2076ac_configure_args0= 2077ac_configure_args1= 2078ac_must_keep_next=false 2079for ac_pass in 1 2 2080do 2081 for ac_arg 2082 do 2083 case $ac_arg in 2084 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2086 | -silent | --silent | --silen | --sile | --sil) 2087 continue ;; 2088 *\'*) 2089 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2090 esac 2091 case $ac_pass in 2092 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2093 2) 2094 as_fn_append ac_configure_args1 " '$ac_arg'" 2095 if test $ac_must_keep_next = true; then 2096 ac_must_keep_next=false # Got value, back to normal. 2097 else 2098 case $ac_arg in 2099 *=* | --config-cache | -C | -disable-* | --disable-* \ 2100 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2101 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2102 | -with-* | --with-* | -without-* | --without-* | --x) 2103 case "$ac_configure_args0 " in 2104 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2105 esac 2106 ;; 2107 -* ) ac_must_keep_next=true ;; 2108 esac 2109 fi 2110 as_fn_append ac_configure_args " '$ac_arg'" 2111 ;; 2112 esac 2113 done 2114done 2115{ ac_configure_args0=; unset ac_configure_args0;} 2116{ ac_configure_args1=; unset ac_configure_args1;} 2117 2118# When interrupted or exit'd, cleanup temporary files, and complete 2119# config.log. We remove comments because anyway the quotes in there 2120# would cause problems or look ugly. 2121# WARNING: Use '\'' to represent an apostrophe within the trap. 2122# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2123trap 'exit_status=$? 2124 # Save into config.log some information that might help in debugging. 2125 { 2126 echo 2127 2128 $as_echo "## ---------------- ## 2129## Cache variables. ## 2130## ---------------- ##" 2131 echo 2132 # The following way of writing the cache mishandles newlines in values, 2133( 2134 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2135 eval ac_val=\$$ac_var 2136 case $ac_val in #( 2137 *${as_nl}*) 2138 case $ac_var in #( 2139 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2140$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2141 esac 2142 case $ac_var in #( 2143 _ | IFS | as_nl) ;; #( 2144 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2145 *) { eval $ac_var=; unset $ac_var;} ;; 2146 esac ;; 2147 esac 2148 done 2149 (set) 2>&1 | 2150 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2151 *${as_nl}ac_space=\ *) 2152 sed -n \ 2153 "s/'\''/'\''\\\\'\'''\''/g; 2154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2155 ;; #( 2156 *) 2157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2158 ;; 2159 esac | 2160 sort 2161) 2162 echo 2163 2164 $as_echo "## ----------------- ## 2165## Output variables. ## 2166## ----------------- ##" 2167 echo 2168 for ac_var in $ac_subst_vars 2169 do 2170 eval ac_val=\$$ac_var 2171 case $ac_val in 2172 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2173 esac 2174 $as_echo "$ac_var='\''$ac_val'\''" 2175 done | sort 2176 echo 2177 2178 if test -n "$ac_subst_files"; then 2179 $as_echo "## ------------------- ## 2180## File substitutions. ## 2181## ------------------- ##" 2182 echo 2183 for ac_var in $ac_subst_files 2184 do 2185 eval ac_val=\$$ac_var 2186 case $ac_val in 2187 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2188 esac 2189 $as_echo "$ac_var='\''$ac_val'\''" 2190 done | sort 2191 echo 2192 fi 2193 2194 if test -s confdefs.h; then 2195 $as_echo "## ----------- ## 2196## confdefs.h. ## 2197## ----------- ##" 2198 echo 2199 cat confdefs.h 2200 echo 2201 fi 2202 test "$ac_signal" != 0 && 2203 $as_echo "$as_me: caught signal $ac_signal" 2204 $as_echo "$as_me: exit $exit_status" 2205 } >&5 2206 rm -f core *.core core.conftest.* && 2207 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2208 exit $exit_status 2209' 0 2210for ac_signal in 1 2 13 15; do 2211 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2212done 2213ac_signal=0 2214 2215# confdefs.h avoids OS command line length limits that DEFS can exceed. 2216rm -f -r conftest* confdefs.h 2217 2218$as_echo "/* confdefs.h */" > confdefs.h 2219 2220# Predefined preprocessor variables. 2221 2222cat >>confdefs.h <<_ACEOF 2223#define PACKAGE_NAME "$PACKAGE_NAME" 2224_ACEOF 2225 2226cat >>confdefs.h <<_ACEOF 2227#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2228_ACEOF 2229 2230cat >>confdefs.h <<_ACEOF 2231#define PACKAGE_VERSION "$PACKAGE_VERSION" 2232_ACEOF 2233 2234cat >>confdefs.h <<_ACEOF 2235#define PACKAGE_STRING "$PACKAGE_STRING" 2236_ACEOF 2237 2238cat >>confdefs.h <<_ACEOF 2239#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2240_ACEOF 2241 2242cat >>confdefs.h <<_ACEOF 2243#define PACKAGE_URL "$PACKAGE_URL" 2244_ACEOF 2245 2246 2247# Let the site file select an alternate cache file if it wants to. 2248# Prefer an explicitly selected file to automatically selected ones. 2249ac_site_file1=NONE 2250ac_site_file2=NONE 2251if test -n "$CONFIG_SITE"; then 2252 # We do not want a PATH search for config.site. 2253 case $CONFIG_SITE in #(( 2254 -*) ac_site_file1=./$CONFIG_SITE;; 2255 */*) ac_site_file1=$CONFIG_SITE;; 2256 *) ac_site_file1=./$CONFIG_SITE;; 2257 esac 2258elif test "x$prefix" != xNONE; then 2259 ac_site_file1=$prefix/share/config.site 2260 ac_site_file2=$prefix/etc/config.site 2261else 2262 ac_site_file1=$ac_default_prefix/share/config.site 2263 ac_site_file2=$ac_default_prefix/etc/config.site 2264fi 2265for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2266do 2267 test "x$ac_site_file" = xNONE && continue 2268 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2270$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2271 sed 's/^/| /' "$ac_site_file" >&5 2272 . "$ac_site_file" \ 2273 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2275as_fn_error $? "failed to load site script $ac_site_file 2276See \`config.log' for more details" "$LINENO" 5; } 2277 fi 2278done 2279 2280if test -r "$cache_file"; then 2281 # Some versions of bash will fail to source /dev/null (special files 2282 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2283 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2284 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2285$as_echo "$as_me: loading cache $cache_file" >&6;} 2286 case $cache_file in 2287 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2288 *) . "./$cache_file";; 2289 esac 2290 fi 2291else 2292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2293$as_echo "$as_me: creating cache $cache_file" >&6;} 2294 >$cache_file 2295fi 2296 2297# Check that the precious variables saved in the cache have kept the same 2298# value. 2299ac_cache_corrupted=false 2300for ac_var in $ac_precious_vars; do 2301 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2302 eval ac_new_set=\$ac_env_${ac_var}_set 2303 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2304 eval ac_new_val=\$ac_env_${ac_var}_value 2305 case $ac_old_set,$ac_new_set in 2306 set,) 2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2308$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2309 ac_cache_corrupted=: ;; 2310 ,set) 2311 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2312$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2313 ac_cache_corrupted=: ;; 2314 ,);; 2315 *) 2316 if test "x$ac_old_val" != "x$ac_new_val"; then 2317 # differences in whitespace do not lead to failure. 2318 ac_old_val_w=`echo x $ac_old_val` 2319 ac_new_val_w=`echo x $ac_new_val` 2320 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2322$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2323 ac_cache_corrupted=: 2324 else 2325 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2326$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2327 eval $ac_var=\$ac_old_val 2328 fi 2329 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2330$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2331 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2332$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2333 fi;; 2334 esac 2335 # Pass precious variables to config.status. 2336 if test "$ac_new_set" = set; then 2337 case $ac_new_val in 2338 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2339 *) ac_arg=$ac_var=$ac_new_val ;; 2340 esac 2341 case " $ac_configure_args " in 2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2343 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2344 esac 2345 fi 2346done 2347if $ac_cache_corrupted; then 2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2351$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2352 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2353fi 2354## -------------------- ## 2355## Main body of script. ## 2356## -------------------- ## 2357 2358ac_ext=c 2359ac_cpp='$CPP $CPPFLAGS' 2360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2362ac_compiler_gnu=$ac_cv_c_compiler_gnu 2363 2364 2365ac_config_headers="$ac_config_headers include/config.h" 2366 2367 2368ac_aux_dir= 2369for ac_dir in config "$srcdir"/config; do 2370 if test -f "$ac_dir/install-sh"; then 2371 ac_aux_dir=$ac_dir 2372 ac_install_sh="$ac_aux_dir/install-sh -c" 2373 break 2374 elif test -f "$ac_dir/install.sh"; then 2375 ac_aux_dir=$ac_dir 2376 ac_install_sh="$ac_aux_dir/install.sh -c" 2377 break 2378 elif test -f "$ac_dir/shtool"; then 2379 ac_aux_dir=$ac_dir 2380 ac_install_sh="$ac_aux_dir/shtool install -c" 2381 break 2382 fi 2383done 2384if test -z "$ac_aux_dir"; then 2385 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 2386fi 2387 2388# These three variables are undocumented and unsupported, 2389# and are intended to be withdrawn in a future Autoconf release. 2390# They can cause serious problems if a builder's source tree is in a directory 2391# whose full name contains unusual characters. 2392ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2393ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2394ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2395 2396 2397am__api_version='1.14' 2398 2399# Find a good install program. We prefer a C program (faster), 2400# so one script is as good as another. But avoid the broken or 2401# incompatible versions: 2402# SysV /etc/install, /usr/sbin/install 2403# SunOS /usr/etc/install 2404# IRIX /sbin/install 2405# AIX /bin/install 2406# AmigaOS /C/install, which installs bootblocks on floppy discs 2407# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2408# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2409# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2410# OS/2's system install, which has a completely different semantic 2411# ./install, which can be erroneously created by make from ./install.sh. 2412# Reject install programs that cannot install multiple files. 2413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2414$as_echo_n "checking for a BSD-compatible install... " >&6; } 2415if test -z "$INSTALL"; then 2416if ${ac_cv_path_install+:} false; then : 2417 $as_echo_n "(cached) " >&6 2418else 2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2420for as_dir in $PATH 2421do 2422 IFS=$as_save_IFS 2423 test -z "$as_dir" && as_dir=. 2424 # Account for people who put trailing slashes in PATH elements. 2425case $as_dir/ in #(( 2426 ./ | .// | /[cC]/* | \ 2427 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2428 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2429 /usr/ucb/* ) ;; 2430 *) 2431 # OSF1 and SCO ODT 3.0 have their own names for install. 2432 # Don't use installbsd from OSF since it installs stuff as root 2433 # by default. 2434 for ac_prog in ginstall scoinst install; do 2435 for ac_exec_ext in '' $ac_executable_extensions; do 2436 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2437 if test $ac_prog = install && 2438 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2439 # AIX install. It has an incompatible calling convention. 2440 : 2441 elif test $ac_prog = install && 2442 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2443 # program-specific install script used by HP pwplus--don't use. 2444 : 2445 else 2446 rm -rf conftest.one conftest.two conftest.dir 2447 echo one > conftest.one 2448 echo two > conftest.two 2449 mkdir conftest.dir 2450 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2451 test -s conftest.one && test -s conftest.two && 2452 test -s conftest.dir/conftest.one && 2453 test -s conftest.dir/conftest.two 2454 then 2455 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2456 break 3 2457 fi 2458 fi 2459 fi 2460 done 2461 done 2462 ;; 2463esac 2464 2465 done 2466IFS=$as_save_IFS 2467 2468rm -rf conftest.one conftest.two conftest.dir 2469 2470fi 2471 if test "${ac_cv_path_install+set}" = set; then 2472 INSTALL=$ac_cv_path_install 2473 else 2474 # As a last resort, use the slow shell script. Don't cache a 2475 # value for INSTALL within a source directory, because that will 2476 # break other packages using the cache if that directory is 2477 # removed, or if the value is a relative name. 2478 INSTALL=$ac_install_sh 2479 fi 2480fi 2481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2482$as_echo "$INSTALL" >&6; } 2483 2484# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2485# It thinks the first close brace ends the variable substitution. 2486test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2487 2488test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2489 2490test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2491 2492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2493$as_echo_n "checking whether build environment is sane... " >&6; } 2494# Reject unsafe characters in $srcdir or the absolute working directory 2495# name. Accept space and tab only in the latter. 2496am_lf=' 2497' 2498case `pwd` in 2499 *[\\\"\#\$\&\'\`$am_lf]*) 2500 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2501esac 2502case $srcdir in 2503 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2504 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2505esac 2506 2507# Do 'set' in a subshell so we don't clobber the current shell's 2508# arguments. Must try -L first in case configure is actually a 2509# symlink; some systems play weird games with the mod time of symlinks 2510# (eg FreeBSD returns the mod time of the symlink's containing 2511# directory). 2512if ( 2513 am_has_slept=no 2514 for am_try in 1 2; do 2515 echo "timestamp, slept: $am_has_slept" > conftest.file 2516 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2517 if test "$*" = "X"; then 2518 # -L didn't work. 2519 set X `ls -t "$srcdir/configure" conftest.file` 2520 fi 2521 if test "$*" != "X $srcdir/configure conftest.file" \ 2522 && test "$*" != "X conftest.file $srcdir/configure"; then 2523 2524 # If neither matched, then we have a broken ls. This can happen 2525 # if, for instance, CONFIG_SHELL is bash and it inherits a 2526 # broken ls alias from the environment. This has actually 2527 # happened. Such a system could not be considered "sane". 2528 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2529 alias in your environment" "$LINENO" 5 2530 fi 2531 if test "$2" = conftest.file || test $am_try -eq 2; then 2532 break 2533 fi 2534 # Just in case. 2535 sleep 1 2536 am_has_slept=yes 2537 done 2538 test "$2" = conftest.file 2539 ) 2540then 2541 # Ok. 2542 : 2543else 2544 as_fn_error $? "newly created file is older than distributed files! 2545Check your system clock" "$LINENO" 5 2546fi 2547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2548$as_echo "yes" >&6; } 2549# If we didn't sleep, we still need to ensure time stamps of config.status and 2550# generated files are strictly newer. 2551am_sleep_pid= 2552if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2553 ( sleep 1 ) & 2554 am_sleep_pid=$! 2555fi 2556 2557rm -f conftest.file 2558 2559test "$program_prefix" != NONE && 2560 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2561# Use a double $ so make ignores it. 2562test "$program_suffix" != NONE && 2563 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2564# Double any \ or $. 2565# By default was `s,x,x', remove it if useless. 2566ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2567program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2568 2569# expand $ac_aux_dir to an absolute path 2570am_aux_dir=`cd $ac_aux_dir && pwd` 2571 2572if test x"${MISSING+set}" != xset; then 2573 case $am_aux_dir in 2574 *\ * | *\ *) 2575 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2576 *) 2577 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2578 esac 2579fi 2580# Use eval to expand $SHELL 2581if eval "$MISSING --is-lightweight"; then 2582 am_missing_run="$MISSING " 2583else 2584 am_missing_run= 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2586$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2587fi 2588 2589if test x"${install_sh}" != xset; then 2590 case $am_aux_dir in 2591 *\ * | *\ *) 2592 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2593 *) 2594 install_sh="\${SHELL} $am_aux_dir/install-sh" 2595 esac 2596fi 2597 2598# Installed binaries are usually stripped using 'strip' when the user 2599# run "make install-strip". However 'strip' might not be the right 2600# tool to use in cross-compilation environments, therefore Automake 2601# will honor the 'STRIP' environment variable to overrule this program. 2602if test "$cross_compiling" != no; then 2603 if test -n "$ac_tool_prefix"; then 2604 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2605set dummy ${ac_tool_prefix}strip; ac_word=$2 2606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2607$as_echo_n "checking for $ac_word... " >&6; } 2608if ${ac_cv_prog_STRIP+:} false; then : 2609 $as_echo_n "(cached) " >&6 2610else 2611 if test -n "$STRIP"; then 2612 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2613else 2614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2615for as_dir in $PATH 2616do 2617 IFS=$as_save_IFS 2618 test -z "$as_dir" && as_dir=. 2619 for ac_exec_ext in '' $ac_executable_extensions; do 2620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2621 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2623 break 2 2624 fi 2625done 2626 done 2627IFS=$as_save_IFS 2628 2629fi 2630fi 2631STRIP=$ac_cv_prog_STRIP 2632if test -n "$STRIP"; then 2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2634$as_echo "$STRIP" >&6; } 2635else 2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2637$as_echo "no" >&6; } 2638fi 2639 2640 2641fi 2642if test -z "$ac_cv_prog_STRIP"; then 2643 ac_ct_STRIP=$STRIP 2644 # Extract the first word of "strip", so it can be a program name with args. 2645set dummy strip; ac_word=$2 2646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2647$as_echo_n "checking for $ac_word... " >&6; } 2648if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2649 $as_echo_n "(cached) " >&6 2650else 2651 if test -n "$ac_ct_STRIP"; then 2652 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2653else 2654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2655for as_dir in $PATH 2656do 2657 IFS=$as_save_IFS 2658 test -z "$as_dir" && as_dir=. 2659 for ac_exec_ext in '' $ac_executable_extensions; do 2660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2661 ac_cv_prog_ac_ct_STRIP="strip" 2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2663 break 2 2664 fi 2665done 2666 done 2667IFS=$as_save_IFS 2668 2669fi 2670fi 2671ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2672if test -n "$ac_ct_STRIP"; then 2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2674$as_echo "$ac_ct_STRIP" >&6; } 2675else 2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2677$as_echo "no" >&6; } 2678fi 2679 2680 if test "x$ac_ct_STRIP" = x; then 2681 STRIP=":" 2682 else 2683 case $cross_compiling:$ac_tool_warned in 2684yes:) 2685{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2686$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2687ac_tool_warned=yes ;; 2688esac 2689 STRIP=$ac_ct_STRIP 2690 fi 2691else 2692 STRIP="$ac_cv_prog_STRIP" 2693fi 2694 2695fi 2696INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2697 2698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2699$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2700if test -z "$MKDIR_P"; then 2701 if ${ac_cv_path_mkdir+:} false; then : 2702 $as_echo_n "(cached) " >&6 2703else 2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2705for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2706do 2707 IFS=$as_save_IFS 2708 test -z "$as_dir" && as_dir=. 2709 for ac_prog in mkdir gmkdir; do 2710 for ac_exec_ext in '' $ac_executable_extensions; do 2711 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2712 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2713 'mkdir (GNU coreutils) '* | \ 2714 'mkdir (coreutils) '* | \ 2715 'mkdir (fileutils) '4.1*) 2716 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2717 break 3;; 2718 esac 2719 done 2720 done 2721 done 2722IFS=$as_save_IFS 2723 2724fi 2725 2726 test -d ./--version && rmdir ./--version 2727 if test "${ac_cv_path_mkdir+set}" = set; then 2728 MKDIR_P="$ac_cv_path_mkdir -p" 2729 else 2730 # As a last resort, use the slow shell script. Don't cache a 2731 # value for MKDIR_P within a source directory, because that will 2732 # break other packages using the cache if that directory is 2733 # removed, or if the value is a relative name. 2734 MKDIR_P="$ac_install_sh -d" 2735 fi 2736fi 2737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2738$as_echo "$MKDIR_P" >&6; } 2739 2740for ac_prog in gawk mawk nawk awk 2741do 2742 # Extract the first word of "$ac_prog", so it can be a program name with args. 2743set dummy $ac_prog; ac_word=$2 2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2745$as_echo_n "checking for $ac_word... " >&6; } 2746if ${ac_cv_prog_AWK+:} false; then : 2747 $as_echo_n "(cached) " >&6 2748else 2749 if test -n "$AWK"; then 2750 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2751else 2752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2753for as_dir in $PATH 2754do 2755 IFS=$as_save_IFS 2756 test -z "$as_dir" && as_dir=. 2757 for ac_exec_ext in '' $ac_executable_extensions; do 2758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2759 ac_cv_prog_AWK="$ac_prog" 2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2761 break 2 2762 fi 2763done 2764 done 2765IFS=$as_save_IFS 2766 2767fi 2768fi 2769AWK=$ac_cv_prog_AWK 2770if test -n "$AWK"; then 2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2772$as_echo "$AWK" >&6; } 2773else 2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2775$as_echo "no" >&6; } 2776fi 2777 2778 2779 test -n "$AWK" && break 2780done 2781 2782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2783$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2784set x ${MAKE-make} 2785ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2786if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2787 $as_echo_n "(cached) " >&6 2788else 2789 cat >conftest.make <<\_ACEOF 2790SHELL = /bin/sh 2791all: 2792 @echo '@@@%%%=$(MAKE)=@@@%%%' 2793_ACEOF 2794# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2795case `${MAKE-make} -f conftest.make 2>/dev/null` in 2796 *@@@%%%=?*=@@@%%%*) 2797 eval ac_cv_prog_make_${ac_make}_set=yes;; 2798 *) 2799 eval ac_cv_prog_make_${ac_make}_set=no;; 2800esac 2801rm -f conftest.make 2802fi 2803if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2805$as_echo "yes" >&6; } 2806 SET_MAKE= 2807else 2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2809$as_echo "no" >&6; } 2810 SET_MAKE="MAKE=${MAKE-make}" 2811fi 2812 2813rm -rf .tst 2>/dev/null 2814mkdir .tst 2>/dev/null 2815if test -d .tst; then 2816 am__leading_dot=. 2817else 2818 am__leading_dot=_ 2819fi 2820rmdir .tst 2>/dev/null 2821 2822# Check whether --enable-silent-rules was given. 2823if test "${enable_silent_rules+set}" = set; then : 2824 enableval=$enable_silent_rules; 2825fi 2826 2827case $enable_silent_rules in # ((( 2828 yes) AM_DEFAULT_VERBOSITY=0;; 2829 no) AM_DEFAULT_VERBOSITY=1;; 2830 *) AM_DEFAULT_VERBOSITY=1;; 2831esac 2832am_make=${MAKE-make} 2833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2834$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2835if ${am_cv_make_support_nested_variables+:} false; then : 2836 $as_echo_n "(cached) " >&6 2837else 2838 if $as_echo 'TRUE=$(BAR$(V)) 2839BAR0=false 2840BAR1=true 2841V=1 2842am__doit: 2843 @$(TRUE) 2844.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2845 am_cv_make_support_nested_variables=yes 2846else 2847 am_cv_make_support_nested_variables=no 2848fi 2849fi 2850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2851$as_echo "$am_cv_make_support_nested_variables" >&6; } 2852if test $am_cv_make_support_nested_variables = yes; then 2853 AM_V='$(V)' 2854 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2855else 2856 AM_V=$AM_DEFAULT_VERBOSITY 2857 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2858fi 2859AM_BACKSLASH='\' 2860 2861if test "`cd $srcdir && pwd`" != "`pwd`"; then 2862 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2863 # is not polluted with repeated "-I." 2864 am__isrc=' -I$(srcdir)' 2865 # test to see if srcdir already configured 2866 if test -f $srcdir/config.status; then 2867 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2868 fi 2869fi 2870 2871# test whether we have cygpath 2872if test -z "$CYGPATH_W"; then 2873 if (cygpath --version) >/dev/null 2>/dev/null; then 2874 CYGPATH_W='cygpath -w' 2875 else 2876 CYGPATH_W=echo 2877 fi 2878fi 2879 2880 2881# Define the identity of the package. 2882 PACKAGE='yazpp' 2883 VERSION='1.6.1' 2884 2885 2886cat >>confdefs.h <<_ACEOF 2887#define PACKAGE "$PACKAGE" 2888_ACEOF 2889 2890 2891cat >>confdefs.h <<_ACEOF 2892#define VERSION "$VERSION" 2893_ACEOF 2894 2895# Some tools Automake needs. 2896 2897ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2898 2899 2900AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2901 2902 2903AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2904 2905 2906AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2907 2908 2909MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2910 2911# For better backward compatibility. To be removed once Automake 1.9.x 2912# dies out for good. For more background, see: 2913# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2914# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2915mkdir_p='$(MKDIR_P)' 2916 2917# We need awk for the "check" target. The system "awk" is bad on 2918# some platforms. 2919# Always define AMTAR for backward compatibility. Yes, it's still used 2920# in the wild :-( We should find a proper way to deprecate it ... 2921AMTAR='$${TAR-tar}' 2922 2923 2924# We'll loop over all known methods to create a tar archive until one works. 2925_am_tools='gnutar pax cpio none' 2926 2927am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2928 2929 2930 2931 2932 2933 2934# POSIX will say in a future version that running "rm -f" with no argument 2935# is OK; and we want to be able to make that assumption in our Makefile 2936# recipes. So use an aggressive probe to check that the usage we want is 2937# actually supported "in the wild" to an acceptable degree. 2938# See automake bug#10828. 2939# To make any issue more visible, cause the running configure to be aborted 2940# by default if the 'rm' program in use doesn't match our expectations; the 2941# user can still override this though. 2942if rm -f && rm -fr && rm -rf; then : OK; else 2943 cat >&2 <<'END' 2944Oops! 2945 2946Your 'rm' program seems unable to run without file operands specified 2947on the command line, even when the '-f' option is present. This is contrary 2948to the behaviour of most rm programs out there, and not conforming with 2949the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2950 2951Please tell bug-automake@gnu.org about your system, including the value 2952of your $PATH and any error possibly output before this message. This 2953can help us improve future automake versions. 2954 2955END 2956 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2957 echo 'Configuration will proceed anyway, since you have set the' >&2 2958 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2959 echo >&2 2960 else 2961 cat >&2 <<'END' 2962Aborting the configuration process, to ensure you take notice of the issue. 2963 2964You can download and install GNU coreutils to get an 'rm' implementation 2965that behaves properly: <http://www.gnu.org/software/coreutils/>. 2966 2967If you want to complete the configuration process using your problematic 2968'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2969to "yes", and re-run configure. 2970 2971END 2972 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2973 fi 2974fi 2975 2976 2977ac_ext=c 2978ac_cpp='$CPP $CPPFLAGS' 2979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2981ac_compiler_gnu=$ac_cv_c_compiler_gnu 2982if test -n "$ac_tool_prefix"; then 2983 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2984set dummy ${ac_tool_prefix}gcc; ac_word=$2 2985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2986$as_echo_n "checking for $ac_word... " >&6; } 2987if ${ac_cv_prog_CC+:} false; then : 2988 $as_echo_n "(cached) " >&6 2989else 2990 if test -n "$CC"; then 2991 ac_cv_prog_CC="$CC" # Let the user override the test. 2992else 2993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2994for as_dir in $PATH 2995do 2996 IFS=$as_save_IFS 2997 test -z "$as_dir" && as_dir=. 2998 for ac_exec_ext in '' $ac_executable_extensions; do 2999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3000 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3002 break 2 3003 fi 3004done 3005 done 3006IFS=$as_save_IFS 3007 3008fi 3009fi 3010CC=$ac_cv_prog_CC 3011if test -n "$CC"; then 3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3013$as_echo "$CC" >&6; } 3014else 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3016$as_echo "no" >&6; } 3017fi 3018 3019 3020fi 3021if test -z "$ac_cv_prog_CC"; then 3022 ac_ct_CC=$CC 3023 # Extract the first word of "gcc", so it can be a program name with args. 3024set dummy gcc; ac_word=$2 3025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3026$as_echo_n "checking for $ac_word... " >&6; } 3027if ${ac_cv_prog_ac_ct_CC+:} false; then : 3028 $as_echo_n "(cached) " >&6 3029else 3030 if test -n "$ac_ct_CC"; then 3031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3032else 3033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3034for as_dir in $PATH 3035do 3036 IFS=$as_save_IFS 3037 test -z "$as_dir" && as_dir=. 3038 for ac_exec_ext in '' $ac_executable_extensions; do 3039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3040 ac_cv_prog_ac_ct_CC="gcc" 3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3042 break 2 3043 fi 3044done 3045 done 3046IFS=$as_save_IFS 3047 3048fi 3049fi 3050ac_ct_CC=$ac_cv_prog_ac_ct_CC 3051if test -n "$ac_ct_CC"; then 3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3053$as_echo "$ac_ct_CC" >&6; } 3054else 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3056$as_echo "no" >&6; } 3057fi 3058 3059 if test "x$ac_ct_CC" = x; then 3060 CC="" 3061 else 3062 case $cross_compiling:$ac_tool_warned in 3063yes:) 3064{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3065$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3066ac_tool_warned=yes ;; 3067esac 3068 CC=$ac_ct_CC 3069 fi 3070else 3071 CC="$ac_cv_prog_CC" 3072fi 3073 3074if test -z "$CC"; then 3075 if test -n "$ac_tool_prefix"; then 3076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3077set dummy ${ac_tool_prefix}cc; ac_word=$2 3078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3079$as_echo_n "checking for $ac_word... " >&6; } 3080if ${ac_cv_prog_CC+:} false; then : 3081 $as_echo_n "(cached) " >&6 3082else 3083 if test -n "$CC"; then 3084 ac_cv_prog_CC="$CC" # Let the user override the test. 3085else 3086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3087for as_dir in $PATH 3088do 3089 IFS=$as_save_IFS 3090 test -z "$as_dir" && as_dir=. 3091 for ac_exec_ext in '' $ac_executable_extensions; do 3092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3093 ac_cv_prog_CC="${ac_tool_prefix}cc" 3094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3095 break 2 3096 fi 3097done 3098 done 3099IFS=$as_save_IFS 3100 3101fi 3102fi 3103CC=$ac_cv_prog_CC 3104if test -n "$CC"; then 3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3106$as_echo "$CC" >&6; } 3107else 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3109$as_echo "no" >&6; } 3110fi 3111 3112 3113 fi 3114fi 3115if test -z "$CC"; then 3116 # Extract the first word of "cc", so it can be a program name with args. 3117set dummy cc; ac_word=$2 3118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3119$as_echo_n "checking for $ac_word... " >&6; } 3120if ${ac_cv_prog_CC+:} false; then : 3121 $as_echo_n "(cached) " >&6 3122else 3123 if test -n "$CC"; then 3124 ac_cv_prog_CC="$CC" # Let the user override the test. 3125else 3126 ac_prog_rejected=no 3127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3128for as_dir in $PATH 3129do 3130 IFS=$as_save_IFS 3131 test -z "$as_dir" && as_dir=. 3132 for ac_exec_ext in '' $ac_executable_extensions; do 3133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3134 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3135 ac_prog_rejected=yes 3136 continue 3137 fi 3138 ac_cv_prog_CC="cc" 3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3140 break 2 3141 fi 3142done 3143 done 3144IFS=$as_save_IFS 3145 3146if test $ac_prog_rejected = yes; then 3147 # We found a bogon in the path, so make sure we never use it. 3148 set dummy $ac_cv_prog_CC 3149 shift 3150 if test $# != 0; then 3151 # We chose a different compiler from the bogus one. 3152 # However, it has the same basename, so the bogon will be chosen 3153 # first if we set CC to just the basename; use the full file name. 3154 shift 3155 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3156 fi 3157fi 3158fi 3159fi 3160CC=$ac_cv_prog_CC 3161if test -n "$CC"; then 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3163$as_echo "$CC" >&6; } 3164else 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3166$as_echo "no" >&6; } 3167fi 3168 3169 3170fi 3171if test -z "$CC"; then 3172 if test -n "$ac_tool_prefix"; then 3173 for ac_prog in cl.exe 3174 do 3175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3176set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3178$as_echo_n "checking for $ac_word... " >&6; } 3179if ${ac_cv_prog_CC+:} false; then : 3180 $as_echo_n "(cached) " >&6 3181else 3182 if test -n "$CC"; then 3183 ac_cv_prog_CC="$CC" # Let the user override the test. 3184else 3185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3186for as_dir in $PATH 3187do 3188 IFS=$as_save_IFS 3189 test -z "$as_dir" && as_dir=. 3190 for ac_exec_ext in '' $ac_executable_extensions; do 3191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3192 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3194 break 2 3195 fi 3196done 3197 done 3198IFS=$as_save_IFS 3199 3200fi 3201fi 3202CC=$ac_cv_prog_CC 3203if test -n "$CC"; then 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3205$as_echo "$CC" >&6; } 3206else 3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3208$as_echo "no" >&6; } 3209fi 3210 3211 3212 test -n "$CC" && break 3213 done 3214fi 3215if test -z "$CC"; then 3216 ac_ct_CC=$CC 3217 for ac_prog in cl.exe 3218do 3219 # Extract the first word of "$ac_prog", so it can be a program name with args. 3220set dummy $ac_prog; ac_word=$2 3221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3222$as_echo_n "checking for $ac_word... " >&6; } 3223if ${ac_cv_prog_ac_ct_CC+:} false; then : 3224 $as_echo_n "(cached) " >&6 3225else 3226 if test -n "$ac_ct_CC"; then 3227 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3228else 3229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3230for as_dir in $PATH 3231do 3232 IFS=$as_save_IFS 3233 test -z "$as_dir" && as_dir=. 3234 for ac_exec_ext in '' $ac_executable_extensions; do 3235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3236 ac_cv_prog_ac_ct_CC="$ac_prog" 3237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3238 break 2 3239 fi 3240done 3241 done 3242IFS=$as_save_IFS 3243 3244fi 3245fi 3246ac_ct_CC=$ac_cv_prog_ac_ct_CC 3247if test -n "$ac_ct_CC"; then 3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3249$as_echo "$ac_ct_CC" >&6; } 3250else 3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3252$as_echo "no" >&6; } 3253fi 3254 3255 3256 test -n "$ac_ct_CC" && break 3257done 3258 3259 if test "x$ac_ct_CC" = x; then 3260 CC="" 3261 else 3262 case $cross_compiling:$ac_tool_warned in 3263yes:) 3264{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3265$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3266ac_tool_warned=yes ;; 3267esac 3268 CC=$ac_ct_CC 3269 fi 3270fi 3271 3272fi 3273 3274 3275test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3276$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3277as_fn_error $? "no acceptable C compiler found in \$PATH 3278See \`config.log' for more details" "$LINENO" 5; } 3279 3280# Provide some information about the compiler. 3281$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3282set X $ac_compile 3283ac_compiler=$2 3284for ac_option in --version -v -V -qversion; do 3285 { { ac_try="$ac_compiler $ac_option >&5" 3286case "(($ac_try" in 3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 *) ac_try_echo=$ac_try;; 3289esac 3290eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3291$as_echo "$ac_try_echo"; } >&5 3292 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3293 ac_status=$? 3294 if test -s conftest.err; then 3295 sed '10a\ 3296... rest of stderr output deleted ... 3297 10q' conftest.err >conftest.er1 3298 cat conftest.er1 >&5 3299 fi 3300 rm -f conftest.er1 conftest.err 3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3302 test $ac_status = 0; } 3303done 3304 3305cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3306/* end confdefs.h. */ 3307 3308int 3309main () 3310{ 3311 3312 ; 3313 return 0; 3314} 3315_ACEOF 3316ac_clean_files_save=$ac_clean_files 3317ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3318# Try to create an executable without -o first, disregard a.out. 3319# It will help us diagnose broken compilers, and finding out an intuition 3320# of exeext. 3321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3322$as_echo_n "checking whether the C compiler works... " >&6; } 3323ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3324 3325# The possible output files: 3326ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3327 3328ac_rmfiles= 3329for ac_file in $ac_files 3330do 3331 case $ac_file in 3332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3333 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3334 esac 3335done 3336rm -f $ac_rmfiles 3337 3338if { { ac_try="$ac_link_default" 3339case "(($ac_try" in 3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3341 *) ac_try_echo=$ac_try;; 3342esac 3343eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3344$as_echo "$ac_try_echo"; } >&5 3345 (eval "$ac_link_default") 2>&5 3346 ac_status=$? 3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3348 test $ac_status = 0; }; then : 3349 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3350# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3351# in a Makefile. We should not override ac_cv_exeext if it was cached, 3352# so that the user can short-circuit this test for compilers unknown to 3353# Autoconf. 3354for ac_file in $ac_files '' 3355do 3356 test -f "$ac_file" || continue 3357 case $ac_file in 3358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3359 ;; 3360 [ab].out ) 3361 # We found the default executable, but exeext='' is most 3362 # certainly right. 3363 break;; 3364 *.* ) 3365 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3366 then :; else 3367 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3368 fi 3369 # We set ac_cv_exeext here because the later test for it is not 3370 # safe: cross compilers may not add the suffix if given an `-o' 3371 # argument, so we may need to know it at that point already. 3372 # Even if this section looks crufty: it has the advantage of 3373 # actually working. 3374 break;; 3375 * ) 3376 break;; 3377 esac 3378done 3379test "$ac_cv_exeext" = no && ac_cv_exeext= 3380 3381else 3382 ac_file='' 3383fi 3384if test -z "$ac_file"; then : 3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3386$as_echo "no" >&6; } 3387$as_echo "$as_me: failed program was:" >&5 3388sed 's/^/| /' conftest.$ac_ext >&5 3389 3390{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3391$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3392as_fn_error 77 "C compiler cannot create executables 3393See \`config.log' for more details" "$LINENO" 5; } 3394else 3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3396$as_echo "yes" >&6; } 3397fi 3398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3399$as_echo_n "checking for C compiler default output file name... " >&6; } 3400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3401$as_echo "$ac_file" >&6; } 3402ac_exeext=$ac_cv_exeext 3403 3404rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3405ac_clean_files=$ac_clean_files_save 3406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3407$as_echo_n "checking for suffix of executables... " >&6; } 3408if { { ac_try="$ac_link" 3409case "(($ac_try" in 3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3411 *) ac_try_echo=$ac_try;; 3412esac 3413eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3414$as_echo "$ac_try_echo"; } >&5 3415 (eval "$ac_link") 2>&5 3416 ac_status=$? 3417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3418 test $ac_status = 0; }; then : 3419 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3420# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3421# work properly (i.e., refer to `conftest.exe'), while it won't with 3422# `rm'. 3423for ac_file in conftest.exe conftest conftest.*; do 3424 test -f "$ac_file" || continue 3425 case $ac_file in 3426 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3427 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3428 break;; 3429 * ) break;; 3430 esac 3431done 3432else 3433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3434$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3435as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3436See \`config.log' for more details" "$LINENO" 5; } 3437fi 3438rm -f conftest conftest$ac_cv_exeext 3439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3440$as_echo "$ac_cv_exeext" >&6; } 3441 3442rm -f conftest.$ac_ext 3443EXEEXT=$ac_cv_exeext 3444ac_exeext=$EXEEXT 3445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3446/* end confdefs.h. */ 3447#include <stdio.h> 3448int 3449main () 3450{ 3451FILE *f = fopen ("conftest.out", "w"); 3452 return ferror (f) || fclose (f) != 0; 3453 3454 ; 3455 return 0; 3456} 3457_ACEOF 3458ac_clean_files="$ac_clean_files conftest.out" 3459# Check that the compiler produces executables we can run. If not, either 3460# the compiler is broken, or we cross compile. 3461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3462$as_echo_n "checking whether we are cross compiling... " >&6; } 3463if test "$cross_compiling" != yes; then 3464 { { ac_try="$ac_link" 3465case "(($ac_try" in 3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3467 *) ac_try_echo=$ac_try;; 3468esac 3469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3470$as_echo "$ac_try_echo"; } >&5 3471 (eval "$ac_link") 2>&5 3472 ac_status=$? 3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3474 test $ac_status = 0; } 3475 if { ac_try='./conftest$ac_cv_exeext' 3476 { { case "(($ac_try" in 3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3478 *) ac_try_echo=$ac_try;; 3479esac 3480eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3481$as_echo "$ac_try_echo"; } >&5 3482 (eval "$ac_try") 2>&5 3483 ac_status=$? 3484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3485 test $ac_status = 0; }; }; then 3486 cross_compiling=no 3487 else 3488 if test "$cross_compiling" = maybe; then 3489 cross_compiling=yes 3490 else 3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3493as_fn_error $? "cannot run C compiled programs. 3494If you meant to cross compile, use \`--host'. 3495See \`config.log' for more details" "$LINENO" 5; } 3496 fi 3497 fi 3498fi 3499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3500$as_echo "$cross_compiling" >&6; } 3501 3502rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3503ac_clean_files=$ac_clean_files_save 3504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3505$as_echo_n "checking for suffix of object files... " >&6; } 3506if ${ac_cv_objext+:} false; then : 3507 $as_echo_n "(cached) " >&6 3508else 3509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3510/* end confdefs.h. */ 3511 3512int 3513main () 3514{ 3515 3516 ; 3517 return 0; 3518} 3519_ACEOF 3520rm -f conftest.o conftest.obj 3521if { { ac_try="$ac_compile" 3522case "(($ac_try" in 3523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3524 *) ac_try_echo=$ac_try;; 3525esac 3526eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3527$as_echo "$ac_try_echo"; } >&5 3528 (eval "$ac_compile") 2>&5 3529 ac_status=$? 3530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3531 test $ac_status = 0; }; then : 3532 for ac_file in conftest.o conftest.obj conftest.*; do 3533 test -f "$ac_file" || continue; 3534 case $ac_file in 3535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3536 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3537 break;; 3538 esac 3539done 3540else 3541 $as_echo "$as_me: failed program was:" >&5 3542sed 's/^/| /' conftest.$ac_ext >&5 3543 3544{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3545$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3546as_fn_error $? "cannot compute suffix of object files: cannot compile 3547See \`config.log' for more details" "$LINENO" 5; } 3548fi 3549rm -f conftest.$ac_cv_objext conftest.$ac_ext 3550fi 3551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3552$as_echo "$ac_cv_objext" >&6; } 3553OBJEXT=$ac_cv_objext 3554ac_objext=$OBJEXT 3555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3556$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3557if ${ac_cv_c_compiler_gnu+:} false; then : 3558 $as_echo_n "(cached) " >&6 3559else 3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3561/* end confdefs.h. */ 3562 3563int 3564main () 3565{ 3566#ifndef __GNUC__ 3567 choke me 3568#endif 3569 3570 ; 3571 return 0; 3572} 3573_ACEOF 3574if ac_fn_c_try_compile "$LINENO"; then : 3575 ac_compiler_gnu=yes 3576else 3577 ac_compiler_gnu=no 3578fi 3579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3580ac_cv_c_compiler_gnu=$ac_compiler_gnu 3581 3582fi 3583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3584$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3585if test $ac_compiler_gnu = yes; then 3586 GCC=yes 3587else 3588 GCC= 3589fi 3590ac_test_CFLAGS=${CFLAGS+set} 3591ac_save_CFLAGS=$CFLAGS 3592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3593$as_echo_n "checking whether $CC accepts -g... " >&6; } 3594if ${ac_cv_prog_cc_g+:} false; then : 3595 $as_echo_n "(cached) " >&6 3596else 3597 ac_save_c_werror_flag=$ac_c_werror_flag 3598 ac_c_werror_flag=yes 3599 ac_cv_prog_cc_g=no 3600 CFLAGS="-g" 3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3602/* end confdefs.h. */ 3603 3604int 3605main () 3606{ 3607 3608 ; 3609 return 0; 3610} 3611_ACEOF 3612if ac_fn_c_try_compile "$LINENO"; then : 3613 ac_cv_prog_cc_g=yes 3614else 3615 CFLAGS="" 3616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3617/* end confdefs.h. */ 3618 3619int 3620main () 3621{ 3622 3623 ; 3624 return 0; 3625} 3626_ACEOF 3627if ac_fn_c_try_compile "$LINENO"; then : 3628 3629else 3630 ac_c_werror_flag=$ac_save_c_werror_flag 3631 CFLAGS="-g" 3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3633/* end confdefs.h. */ 3634 3635int 3636main () 3637{ 3638 3639 ; 3640 return 0; 3641} 3642_ACEOF 3643if ac_fn_c_try_compile "$LINENO"; then : 3644 ac_cv_prog_cc_g=yes 3645fi 3646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3647fi 3648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3649fi 3650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3651 ac_c_werror_flag=$ac_save_c_werror_flag 3652fi 3653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3654$as_echo "$ac_cv_prog_cc_g" >&6; } 3655if test "$ac_test_CFLAGS" = set; then 3656 CFLAGS=$ac_save_CFLAGS 3657elif test $ac_cv_prog_cc_g = yes; then 3658 if test "$GCC" = yes; then 3659 CFLAGS="-g -O2" 3660 else 3661 CFLAGS="-g" 3662 fi 3663else 3664 if test "$GCC" = yes; then 3665 CFLAGS="-O2" 3666 else 3667 CFLAGS= 3668 fi 3669fi 3670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3671$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3672if ${ac_cv_prog_cc_c89+:} false; then : 3673 $as_echo_n "(cached) " >&6 3674else 3675 ac_cv_prog_cc_c89=no 3676ac_save_CC=$CC 3677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3678/* end confdefs.h. */ 3679#include <stdarg.h> 3680#include <stdio.h> 3681struct stat; 3682/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3683struct buf { int x; }; 3684FILE * (*rcsopen) (struct buf *, struct stat *, int); 3685static char *e (p, i) 3686 char **p; 3687 int i; 3688{ 3689 return p[i]; 3690} 3691static char *f (char * (*g) (char **, int), char **p, ...) 3692{ 3693 char *s; 3694 va_list v; 3695 va_start (v,p); 3696 s = g (p, va_arg (v,int)); 3697 va_end (v); 3698 return s; 3699} 3700 3701/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3702 function prototypes and stuff, but not '\xHH' hex character constants. 3703 These don't provoke an error unfortunately, instead are silently treated 3704 as 'x'. The following induces an error, until -std is added to get 3705 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3706 array size at least. It's necessary to write '\x00'==0 to get something 3707 that's true only with -std. */ 3708int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3709 3710/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3711 inside strings and character constants. */ 3712#define FOO(x) 'x' 3713int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3714 3715int test (int i, double x); 3716struct s1 {int (*f) (int a);}; 3717struct s2 {int (*f) (double a);}; 3718int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3719int argc; 3720char **argv; 3721int 3722main () 3723{ 3724return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3725 ; 3726 return 0; 3727} 3728_ACEOF 3729for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3730 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3731do 3732 CC="$ac_save_CC $ac_arg" 3733 if ac_fn_c_try_compile "$LINENO"; then : 3734 ac_cv_prog_cc_c89=$ac_arg 3735fi 3736rm -f core conftest.err conftest.$ac_objext 3737 test "x$ac_cv_prog_cc_c89" != "xno" && break 3738done 3739rm -f conftest.$ac_ext 3740CC=$ac_save_CC 3741 3742fi 3743# AC_CACHE_VAL 3744case "x$ac_cv_prog_cc_c89" in 3745 x) 3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3747$as_echo "none needed" >&6; } ;; 3748 xno) 3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3750$as_echo "unsupported" >&6; } ;; 3751 *) 3752 CC="$CC $ac_cv_prog_cc_c89" 3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3754$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3755esac 3756if test "x$ac_cv_prog_cc_c89" != xno; then : 3757 3758fi 3759 3760ac_ext=c 3761ac_cpp='$CPP $CPPFLAGS' 3762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3764ac_compiler_gnu=$ac_cv_c_compiler_gnu 3765 3766ac_ext=c 3767ac_cpp='$CPP $CPPFLAGS' 3768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3770ac_compiler_gnu=$ac_cv_c_compiler_gnu 3771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3772$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3773if ${am_cv_prog_cc_c_o+:} false; then : 3774 $as_echo_n "(cached) " >&6 3775else 3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3777/* end confdefs.h. */ 3778 3779int 3780main () 3781{ 3782 3783 ; 3784 return 0; 3785} 3786_ACEOF 3787 # Make sure it works both with $CC and with simple cc. 3788 # Following AC_PROG_CC_C_O, we do the test twice because some 3789 # compilers refuse to overwrite an existing .o file with -o, 3790 # though they will create one. 3791 am_cv_prog_cc_c_o=yes 3792 for am_i in 1 2; do 3793 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3794 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3795 ac_status=$? 3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3797 (exit $ac_status); } \ 3798 && test -f conftest2.$ac_objext; then 3799 : OK 3800 else 3801 am_cv_prog_cc_c_o=no 3802 break 3803 fi 3804 done 3805 rm -f core conftest* 3806 unset am_i 3807fi 3808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3809$as_echo "$am_cv_prog_cc_c_o" >&6; } 3810if test "$am_cv_prog_cc_c_o" != yes; then 3811 # Losing compiler, so override with the script. 3812 # FIXME: It is wrong to rewrite CC. 3813 # But if we don't then we get into trouble of one sort or another. 3814 # A longer-term fix would be to have automake use am__CC in this case, 3815 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3816 CC="$am_aux_dir/compile $CC" 3817fi 3818ac_ext=c 3819ac_cpp='$CPP $CPPFLAGS' 3820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3822ac_compiler_gnu=$ac_cv_c_compiler_gnu 3823 3824DEPDIR="${am__leading_dot}deps" 3825 3826ac_config_commands="$ac_config_commands depfiles" 3827 3828 3829am_make=${MAKE-make} 3830cat > confinc << 'END' 3831am__doit: 3832 @echo this is the am__doit target 3833.PHONY: am__doit 3834END 3835# If we don't find an include directive, just comment out the code. 3836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3837$as_echo_n "checking for style of include used by $am_make... " >&6; } 3838am__include="#" 3839am__quote= 3840_am_result=none 3841# First try GNU make style include. 3842echo "include confinc" > confmf 3843# Ignore all kinds of additional output from 'make'. 3844case `$am_make -s -f confmf 2> /dev/null` in #( 3845*the\ am__doit\ target*) 3846 am__include=include 3847 am__quote= 3848 _am_result=GNU 3849 ;; 3850esac 3851# Now try BSD make style include. 3852if test "$am__include" = "#"; then 3853 echo '.include "confinc"' > confmf 3854 case `$am_make -s -f confmf 2> /dev/null` in #( 3855 *the\ am__doit\ target*) 3856 am__include=.include 3857 am__quote="\"" 3858 _am_result=BSD 3859 ;; 3860 esac 3861fi 3862 3863 3864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3865$as_echo "$_am_result" >&6; } 3866rm -f confinc confmf 3867 3868# Check whether --enable-dependency-tracking was given. 3869if test "${enable_dependency_tracking+set}" = set; then : 3870 enableval=$enable_dependency_tracking; 3871fi 3872 3873if test "x$enable_dependency_tracking" != xno; then 3874 am_depcomp="$ac_aux_dir/depcomp" 3875 AMDEPBACKSLASH='\' 3876 am__nodep='_no' 3877fi 3878 if test "x$enable_dependency_tracking" != xno; then 3879 AMDEP_TRUE= 3880 AMDEP_FALSE='#' 3881else 3882 AMDEP_TRUE='#' 3883 AMDEP_FALSE= 3884fi 3885 3886 3887 3888depcc="$CC" am_compiler_list= 3889 3890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3891$as_echo_n "checking dependency style of $depcc... " >&6; } 3892if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3893 $as_echo_n "(cached) " >&6 3894else 3895 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3896 # We make a subdir and do the tests there. Otherwise we can end up 3897 # making bogus files that we don't know about and never remove. For 3898 # instance it was reported that on HP-UX the gcc test will end up 3899 # making a dummy file named 'D' -- because '-MD' means "put the output 3900 # in D". 3901 rm -rf conftest.dir 3902 mkdir conftest.dir 3903 # Copy depcomp to subdir because otherwise we won't find it if we're 3904 # using a relative directory. 3905 cp "$am_depcomp" conftest.dir 3906 cd conftest.dir 3907 # We will build objects and dependencies in a subdirectory because 3908 # it helps to detect inapplicable dependency modes. For instance 3909 # both Tru64's cc and ICC support -MD to output dependencies as a 3910 # side effect of compilation, but ICC will put the dependencies in 3911 # the current directory while Tru64 will put them in the object 3912 # directory. 3913 mkdir sub 3914 3915 am_cv_CC_dependencies_compiler_type=none 3916 if test "$am_compiler_list" = ""; then 3917 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3918 fi 3919 am__universal=false 3920 case " $depcc " in #( 3921 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3922 esac 3923 3924 for depmode in $am_compiler_list; do 3925 # Setup a source with many dependencies, because some compilers 3926 # like to wrap large dependency lists on column 80 (with \), and 3927 # we should not choose a depcomp mode which is confused by this. 3928 # 3929 # We need to recreate these files for each test, as the compiler may 3930 # overwrite some of them when testing with obscure command lines. 3931 # This happens at least with the AIX C compiler. 3932 : > sub/conftest.c 3933 for i in 1 2 3 4 5 6; do 3934 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3935 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3936 # Solaris 10 /bin/sh. 3937 echo '/* dummy */' > sub/conftst$i.h 3938 done 3939 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3940 3941 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3942 # mode. It turns out that the SunPro C++ compiler does not properly 3943 # handle '-M -o', and we need to detect this. Also, some Intel 3944 # versions had trouble with output in subdirs. 3945 am__obj=sub/conftest.${OBJEXT-o} 3946 am__minus_obj="-o $am__obj" 3947 case $depmode in 3948 gcc) 3949 # This depmode causes a compiler race in universal mode. 3950 test "$am__universal" = false || continue 3951 ;; 3952 nosideeffect) 3953 # After this tag, mechanisms are not by side-effect, so they'll 3954 # only be used when explicitly requested. 3955 if test "x$enable_dependency_tracking" = xyes; then 3956 continue 3957 else 3958 break 3959 fi 3960 ;; 3961 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3962 # This compiler won't grok '-c -o', but also, the minuso test has 3963 # not run yet. These depmodes are late enough in the game, and 3964 # so weak that their functioning should not be impacted. 3965 am__obj=conftest.${OBJEXT-o} 3966 am__minus_obj= 3967 ;; 3968 none) break ;; 3969 esac 3970 if depmode=$depmode \ 3971 source=sub/conftest.c object=$am__obj \ 3972 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3973 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3974 >/dev/null 2>conftest.err && 3975 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3976 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3977 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3978 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3979 # icc doesn't choke on unknown options, it will just issue warnings 3980 # or remarks (even with -Werror). So we grep stderr for any message 3981 # that says an option was ignored or not supported. 3982 # When given -MP, icc 7.0 and 7.1 complain thusly: 3983 # icc: Command line warning: ignoring option '-M'; no argument required 3984 # The diagnosis changed in icc 8.0: 3985 # icc: Command line remark: option '-MP' not supported 3986 if (grep 'ignoring option' conftest.err || 3987 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3988 am_cv_CC_dependencies_compiler_type=$depmode 3989 break 3990 fi 3991 fi 3992 done 3993 3994 cd .. 3995 rm -rf conftest.dir 3996else 3997 am_cv_CC_dependencies_compiler_type=none 3998fi 3999 4000fi 4001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4002$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4003CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4004 4005 if 4006 test "x$enable_dependency_tracking" != xno \ 4007 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4008 am__fastdepCC_TRUE= 4009 am__fastdepCC_FALSE='#' 4010else 4011 am__fastdepCC_TRUE='#' 4012 am__fastdepCC_FALSE= 4013fi 4014 4015 4016ac_ext=c 4017ac_cpp='$CPP $CPPFLAGS' 4018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4020ac_compiler_gnu=$ac_cv_c_compiler_gnu 4021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4022$as_echo_n "checking how to run the C preprocessor... " >&6; } 4023# On Suns, sometimes $CPP names a directory. 4024if test -n "$CPP" && test -d "$CPP"; then 4025 CPP= 4026fi 4027if test -z "$CPP"; then 4028 if ${ac_cv_prog_CPP+:} false; then : 4029 $as_echo_n "(cached) " >&6 4030else 4031 # Double quotes because CPP needs to be expanded 4032 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4033 do 4034 ac_preproc_ok=false 4035for ac_c_preproc_warn_flag in '' yes 4036do 4037 # Use a header file that comes with gcc, so configuring glibc 4038 # with a fresh cross-compiler works. 4039 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4040 # <limits.h> exists even on freestanding compilers. 4041 # On the NeXT, cc -E runs the code through the compiler's parser, 4042 # not just through cpp. "Syntax error" is here to catch this case. 4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4044/* end confdefs.h. */ 4045#ifdef __STDC__ 4046# include <limits.h> 4047#else 4048# include <assert.h> 4049#endif 4050 Syntax error 4051_ACEOF 4052if ac_fn_c_try_cpp "$LINENO"; then : 4053 4054else 4055 # Broken: fails on valid input. 4056continue 4057fi 4058rm -f conftest.err conftest.i conftest.$ac_ext 4059 4060 # OK, works on sane cases. Now check whether nonexistent headers 4061 # can be detected and how. 4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4063/* end confdefs.h. */ 4064#include <ac_nonexistent.h> 4065_ACEOF 4066if ac_fn_c_try_cpp "$LINENO"; then : 4067 # Broken: success on invalid input. 4068continue 4069else 4070 # Passes both tests. 4071ac_preproc_ok=: 4072break 4073fi 4074rm -f conftest.err conftest.i conftest.$ac_ext 4075 4076done 4077# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4078rm -f conftest.i conftest.err conftest.$ac_ext 4079if $ac_preproc_ok; then : 4080 break 4081fi 4082 4083 done 4084 ac_cv_prog_CPP=$CPP 4085 4086fi 4087 CPP=$ac_cv_prog_CPP 4088else 4089 ac_cv_prog_CPP=$CPP 4090fi 4091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4092$as_echo "$CPP" >&6; } 4093ac_preproc_ok=false 4094for ac_c_preproc_warn_flag in '' yes 4095do 4096 # Use a header file that comes with gcc, so configuring glibc 4097 # with a fresh cross-compiler works. 4098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4099 # <limits.h> exists even on freestanding compilers. 4100 # On the NeXT, cc -E runs the code through the compiler's parser, 4101 # not just through cpp. "Syntax error" is here to catch this case. 4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4103/* end confdefs.h. */ 4104#ifdef __STDC__ 4105# include <limits.h> 4106#else 4107# include <assert.h> 4108#endif 4109 Syntax error 4110_ACEOF 4111if ac_fn_c_try_cpp "$LINENO"; then : 4112 4113else 4114 # Broken: fails on valid input. 4115continue 4116fi 4117rm -f conftest.err conftest.i conftest.$ac_ext 4118 4119 # OK, works on sane cases. Now check whether nonexistent headers 4120 # can be detected and how. 4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4122/* end confdefs.h. */ 4123#include <ac_nonexistent.h> 4124_ACEOF 4125if ac_fn_c_try_cpp "$LINENO"; then : 4126 # Broken: success on invalid input. 4127continue 4128else 4129 # Passes both tests. 4130ac_preproc_ok=: 4131break 4132fi 4133rm -f conftest.err conftest.i conftest.$ac_ext 4134 4135done 4136# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4137rm -f conftest.i conftest.err conftest.$ac_ext 4138if $ac_preproc_ok; then : 4139 4140else 4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4142$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4143as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4144See \`config.log' for more details" "$LINENO" 5; } 4145fi 4146 4147ac_ext=c 4148ac_cpp='$CPP $CPPFLAGS' 4149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4151ac_compiler_gnu=$ac_cv_c_compiler_gnu 4152 4153ac_ext=cpp 4154ac_cpp='$CXXCPP $CPPFLAGS' 4155ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4156ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4157ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4158if test -z "$CXX"; then 4159 if test -n "$CCC"; then 4160 CXX=$CCC 4161 else 4162 if test -n "$ac_tool_prefix"; then 4163 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4164 do 4165 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4166set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4168$as_echo_n "checking for $ac_word... " >&6; } 4169if ${ac_cv_prog_CXX+:} false; then : 4170 $as_echo_n "(cached) " >&6 4171else 4172 if test -n "$CXX"; then 4173 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4174else 4175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4176for as_dir in $PATH 4177do 4178 IFS=$as_save_IFS 4179 test -z "$as_dir" && as_dir=. 4180 for ac_exec_ext in '' $ac_executable_extensions; do 4181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4182 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4184 break 2 4185 fi 4186done 4187 done 4188IFS=$as_save_IFS 4189 4190fi 4191fi 4192CXX=$ac_cv_prog_CXX 4193if test -n "$CXX"; then 4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4195$as_echo "$CXX" >&6; } 4196else 4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4198$as_echo "no" >&6; } 4199fi 4200 4201 4202 test -n "$CXX" && break 4203 done 4204fi 4205if test -z "$CXX"; then 4206 ac_ct_CXX=$CXX 4207 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4208do 4209 # Extract the first word of "$ac_prog", so it can be a program name with args. 4210set dummy $ac_prog; ac_word=$2 4211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4212$as_echo_n "checking for $ac_word... " >&6; } 4213if ${ac_cv_prog_ac_ct_CXX+:} false; then : 4214 $as_echo_n "(cached) " >&6 4215else 4216 if test -n "$ac_ct_CXX"; then 4217 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4218else 4219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4220for as_dir in $PATH 4221do 4222 IFS=$as_save_IFS 4223 test -z "$as_dir" && as_dir=. 4224 for ac_exec_ext in '' $ac_executable_extensions; do 4225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4226 ac_cv_prog_ac_ct_CXX="$ac_prog" 4227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4228 break 2 4229 fi 4230done 4231 done 4232IFS=$as_save_IFS 4233 4234fi 4235fi 4236ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4237if test -n "$ac_ct_CXX"; then 4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4239$as_echo "$ac_ct_CXX" >&6; } 4240else 4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4242$as_echo "no" >&6; } 4243fi 4244 4245 4246 test -n "$ac_ct_CXX" && break 4247done 4248 4249 if test "x$ac_ct_CXX" = x; then 4250 CXX="g++" 4251 else 4252 case $cross_compiling:$ac_tool_warned in 4253yes:) 4254{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4255$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4256ac_tool_warned=yes ;; 4257esac 4258 CXX=$ac_ct_CXX 4259 fi 4260fi 4261 4262 fi 4263fi 4264# Provide some information about the compiler. 4265$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4266set X $ac_compile 4267ac_compiler=$2 4268for ac_option in --version -v -V -qversion; do 4269 { { ac_try="$ac_compiler $ac_option >&5" 4270case "(($ac_try" in 4271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4272 *) ac_try_echo=$ac_try;; 4273esac 4274eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4275$as_echo "$ac_try_echo"; } >&5 4276 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4277 ac_status=$? 4278 if test -s conftest.err; then 4279 sed '10a\ 4280... rest of stderr output deleted ... 4281 10q' conftest.err >conftest.er1 4282 cat conftest.er1 >&5 4283 fi 4284 rm -f conftest.er1 conftest.err 4285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4286 test $ac_status = 0; } 4287done 4288 4289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4290$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4291if ${ac_cv_cxx_compiler_gnu+:} false; then : 4292 $as_echo_n "(cached) " >&6 4293else 4294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4295/* end confdefs.h. */ 4296 4297int 4298main () 4299{ 4300#ifndef __GNUC__ 4301 choke me 4302#endif 4303 4304 ; 4305 return 0; 4306} 4307_ACEOF 4308if ac_fn_cxx_try_compile "$LINENO"; then : 4309 ac_compiler_gnu=yes 4310else 4311 ac_compiler_gnu=no 4312fi 4313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4314ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4315 4316fi 4317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4318$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4319if test $ac_compiler_gnu = yes; then 4320 GXX=yes 4321else 4322 GXX= 4323fi 4324ac_test_CXXFLAGS=${CXXFLAGS+set} 4325ac_save_CXXFLAGS=$CXXFLAGS 4326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4327$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4328if ${ac_cv_prog_cxx_g+:} false; then : 4329 $as_echo_n "(cached) " >&6 4330else 4331 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4332 ac_cxx_werror_flag=yes 4333 ac_cv_prog_cxx_g=no 4334 CXXFLAGS="-g" 4335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4336/* end confdefs.h. */ 4337 4338int 4339main () 4340{ 4341 4342 ; 4343 return 0; 4344} 4345_ACEOF 4346if ac_fn_cxx_try_compile "$LINENO"; then : 4347 ac_cv_prog_cxx_g=yes 4348else 4349 CXXFLAGS="" 4350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4351/* end confdefs.h. */ 4352 4353int 4354main () 4355{ 4356 4357 ; 4358 return 0; 4359} 4360_ACEOF 4361if ac_fn_cxx_try_compile "$LINENO"; then : 4362 4363else 4364 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4365 CXXFLAGS="-g" 4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4367/* end confdefs.h. */ 4368 4369int 4370main () 4371{ 4372 4373 ; 4374 return 0; 4375} 4376_ACEOF 4377if ac_fn_cxx_try_compile "$LINENO"; then : 4378 ac_cv_prog_cxx_g=yes 4379fi 4380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4381fi 4382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4383fi 4384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4385 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4386fi 4387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4388$as_echo "$ac_cv_prog_cxx_g" >&6; } 4389if test "$ac_test_CXXFLAGS" = set; then 4390 CXXFLAGS=$ac_save_CXXFLAGS 4391elif test $ac_cv_prog_cxx_g = yes; then 4392 if test "$GXX" = yes; then 4393 CXXFLAGS="-g -O2" 4394 else 4395 CXXFLAGS="-g" 4396 fi 4397else 4398 if test "$GXX" = yes; then 4399 CXXFLAGS="-O2" 4400 else 4401 CXXFLAGS= 4402 fi 4403fi 4404ac_ext=c 4405ac_cpp='$CPP $CPPFLAGS' 4406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4408ac_compiler_gnu=$ac_cv_c_compiler_gnu 4409 4410depcc="$CXX" am_compiler_list= 4411 4412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4413$as_echo_n "checking dependency style of $depcc... " >&6; } 4414if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 4415 $as_echo_n "(cached) " >&6 4416else 4417 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4418 # We make a subdir and do the tests there. Otherwise we can end up 4419 # making bogus files that we don't know about and never remove. For 4420 # instance it was reported that on HP-UX the gcc test will end up 4421 # making a dummy file named 'D' -- because '-MD' means "put the output 4422 # in D". 4423 rm -rf conftest.dir 4424 mkdir conftest.dir 4425 # Copy depcomp to subdir because otherwise we won't find it if we're 4426 # using a relative directory. 4427 cp "$am_depcomp" conftest.dir 4428 cd conftest.dir 4429 # We will build objects and dependencies in a subdirectory because 4430 # it helps to detect inapplicable dependency modes. For instance 4431 # both Tru64's cc and ICC support -MD to output dependencies as a 4432 # side effect of compilation, but ICC will put the dependencies in 4433 # the current directory while Tru64 will put them in the object 4434 # directory. 4435 mkdir sub 4436 4437 am_cv_CXX_dependencies_compiler_type=none 4438 if test "$am_compiler_list" = ""; then 4439 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4440 fi 4441 am__universal=false 4442 case " $depcc " in #( 4443 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4444 esac 4445 4446 for depmode in $am_compiler_list; do 4447 # Setup a source with many dependencies, because some compilers 4448 # like to wrap large dependency lists on column 80 (with \), and 4449 # we should not choose a depcomp mode which is confused by this. 4450 # 4451 # We need to recreate these files for each test, as the compiler may 4452 # overwrite some of them when testing with obscure command lines. 4453 # This happens at least with the AIX C compiler. 4454 : > sub/conftest.c 4455 for i in 1 2 3 4 5 6; do 4456 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4457 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4458 # Solaris 10 /bin/sh. 4459 echo '/* dummy */' > sub/conftst$i.h 4460 done 4461 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4462 4463 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4464 # mode. It turns out that the SunPro C++ compiler does not properly 4465 # handle '-M -o', and we need to detect this. Also, some Intel 4466 # versions had trouble with output in subdirs. 4467 am__obj=sub/conftest.${OBJEXT-o} 4468 am__minus_obj="-o $am__obj" 4469 case $depmode in 4470 gcc) 4471 # This depmode causes a compiler race in universal mode. 4472 test "$am__universal" = false || continue 4473 ;; 4474 nosideeffect) 4475 # After this tag, mechanisms are not by side-effect, so they'll 4476 # only be used when explicitly requested. 4477 if test "x$enable_dependency_tracking" = xyes; then 4478 continue 4479 else 4480 break 4481 fi 4482 ;; 4483 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4484 # This compiler won't grok '-c -o', but also, the minuso test has 4485 # not run yet. These depmodes are late enough in the game, and 4486 # so weak that their functioning should not be impacted. 4487 am__obj=conftest.${OBJEXT-o} 4488 am__minus_obj= 4489 ;; 4490 none) break ;; 4491 esac 4492 if depmode=$depmode \ 4493 source=sub/conftest.c object=$am__obj \ 4494 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4495 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4496 >/dev/null 2>conftest.err && 4497 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4498 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4499 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4500 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4501 # icc doesn't choke on unknown options, it will just issue warnings 4502 # or remarks (even with -Werror). So we grep stderr for any message 4503 # that says an option was ignored or not supported. 4504 # When given -MP, icc 7.0 and 7.1 complain thusly: 4505 # icc: Command line warning: ignoring option '-M'; no argument required 4506 # The diagnosis changed in icc 8.0: 4507 # icc: Command line remark: option '-MP' not supported 4508 if (grep 'ignoring option' conftest.err || 4509 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4510 am_cv_CXX_dependencies_compiler_type=$depmode 4511 break 4512 fi 4513 fi 4514 done 4515 4516 cd .. 4517 rm -rf conftest.dir 4518else 4519 am_cv_CXX_dependencies_compiler_type=none 4520fi 4521 4522fi 4523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4524$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4525CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4526 4527 if 4528 test "x$enable_dependency_tracking" != xno \ 4529 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4530 am__fastdepCXX_TRUE= 4531 am__fastdepCXX_FALSE='#' 4532else 4533 am__fastdepCXX_TRUE='#' 4534 am__fastdepCXX_FALSE= 4535fi 4536 4537 4538 4539 4540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4541$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4542if ${ac_cv_path_GREP+:} false; then : 4543 $as_echo_n "(cached) " >&6 4544else 4545 if test -z "$GREP"; then 4546 ac_path_GREP_found=false 4547 # Loop through the user's path and test for each of PROGNAME-LIST 4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4549for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4550do 4551 IFS=$as_save_IFS 4552 test -z "$as_dir" && as_dir=. 4553 for ac_prog in grep ggrep; do 4554 for ac_exec_ext in '' $ac_executable_extensions; do 4555 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4556 as_fn_executable_p "$ac_path_GREP" || continue 4557# Check for GNU ac_path_GREP and select it if it is found. 4558 # Check for GNU $ac_path_GREP 4559case `"$ac_path_GREP" --version 2>&1` in 4560*GNU*) 4561 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4562*) 4563 ac_count=0 4564 $as_echo_n 0123456789 >"conftest.in" 4565 while : 4566 do 4567 cat "conftest.in" "conftest.in" >"conftest.tmp" 4568 mv "conftest.tmp" "conftest.in" 4569 cp "conftest.in" "conftest.nl" 4570 $as_echo 'GREP' >> "conftest.nl" 4571 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4572 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4573 as_fn_arith $ac_count + 1 && ac_count=$as_val 4574 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4575 # Best one so far, save it but keep looking for a better one 4576 ac_cv_path_GREP="$ac_path_GREP" 4577 ac_path_GREP_max=$ac_count 4578 fi 4579 # 10*(2^10) chars as input seems more than enough 4580 test $ac_count -gt 10 && break 4581 done 4582 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4583esac 4584 4585 $ac_path_GREP_found && break 3 4586 done 4587 done 4588 done 4589IFS=$as_save_IFS 4590 if test -z "$ac_cv_path_GREP"; then 4591 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4592 fi 4593else 4594 ac_cv_path_GREP=$GREP 4595fi 4596 4597fi 4598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4599$as_echo "$ac_cv_path_GREP" >&6; } 4600 GREP="$ac_cv_path_GREP" 4601 4602 4603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4604$as_echo_n "checking for egrep... " >&6; } 4605if ${ac_cv_path_EGREP+:} false; then : 4606 $as_echo_n "(cached) " >&6 4607else 4608 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4609 then ac_cv_path_EGREP="$GREP -E" 4610 else 4611 if test -z "$EGREP"; then 4612 ac_path_EGREP_found=false 4613 # Loop through the user's path and test for each of PROGNAME-LIST 4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4615for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4616do 4617 IFS=$as_save_IFS 4618 test -z "$as_dir" && as_dir=. 4619 for ac_prog in egrep; do 4620 for ac_exec_ext in '' $ac_executable_extensions; do 4621 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4622 as_fn_executable_p "$ac_path_EGREP" || continue 4623# Check for GNU ac_path_EGREP and select it if it is found. 4624 # Check for GNU $ac_path_EGREP 4625case `"$ac_path_EGREP" --version 2>&1` in 4626*GNU*) 4627 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4628*) 4629 ac_count=0 4630 $as_echo_n 0123456789 >"conftest.in" 4631 while : 4632 do 4633 cat "conftest.in" "conftest.in" >"conftest.tmp" 4634 mv "conftest.tmp" "conftest.in" 4635 cp "conftest.in" "conftest.nl" 4636 $as_echo 'EGREP' >> "conftest.nl" 4637 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4638 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4639 as_fn_arith $ac_count + 1 && ac_count=$as_val 4640 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4641 # Best one so far, save it but keep looking for a better one 4642 ac_cv_path_EGREP="$ac_path_EGREP" 4643 ac_path_EGREP_max=$ac_count 4644 fi 4645 # 10*(2^10) chars as input seems more than enough 4646 test $ac_count -gt 10 && break 4647 done 4648 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4649esac 4650 4651 $ac_path_EGREP_found && break 3 4652 done 4653 done 4654 done 4655IFS=$as_save_IFS 4656 if test -z "$ac_cv_path_EGREP"; then 4657 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4658 fi 4659else 4660 ac_cv_path_EGREP=$EGREP 4661fi 4662 4663 fi 4664fi 4665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4666$as_echo "$ac_cv_path_EGREP" >&6; } 4667 EGREP="$ac_cv_path_EGREP" 4668 4669 4670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4671$as_echo_n "checking for ANSI C header files... " >&6; } 4672if ${ac_cv_header_stdc+:} false; then : 4673 $as_echo_n "(cached) " >&6 4674else 4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4676/* end confdefs.h. */ 4677#include <stdlib.h> 4678#include <stdarg.h> 4679#include <string.h> 4680#include <float.h> 4681 4682int 4683main () 4684{ 4685 4686 ; 4687 return 0; 4688} 4689_ACEOF 4690if ac_fn_c_try_compile "$LINENO"; then : 4691 ac_cv_header_stdc=yes 4692else 4693 ac_cv_header_stdc=no 4694fi 4695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4696 4697if test $ac_cv_header_stdc = yes; then 4698 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4700/* end confdefs.h. */ 4701#include <string.h> 4702 4703_ACEOF 4704if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4705 $EGREP "memchr" >/dev/null 2>&1; then : 4706 4707else 4708 ac_cv_header_stdc=no 4709fi 4710rm -f conftest* 4711 4712fi 4713 4714if test $ac_cv_header_stdc = yes; then 4715 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4717/* end confdefs.h. */ 4718#include <stdlib.h> 4719 4720_ACEOF 4721if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4722 $EGREP "free" >/dev/null 2>&1; then : 4723 4724else 4725 ac_cv_header_stdc=no 4726fi 4727rm -f conftest* 4728 4729fi 4730 4731if test $ac_cv_header_stdc = yes; then 4732 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4733 if test "$cross_compiling" = yes; then : 4734 : 4735else 4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4737/* end confdefs.h. */ 4738#include <ctype.h> 4739#include <stdlib.h> 4740#if ((' ' & 0x0FF) == 0x020) 4741# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4742# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4743#else 4744# define ISLOWER(c) \ 4745 (('a' <= (c) && (c) <= 'i') \ 4746 || ('j' <= (c) && (c) <= 'r') \ 4747 || ('s' <= (c) && (c) <= 'z')) 4748# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4749#endif 4750 4751#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4752int 4753main () 4754{ 4755 int i; 4756 for (i = 0; i < 256; i++) 4757 if (XOR (islower (i), ISLOWER (i)) 4758 || toupper (i) != TOUPPER (i)) 4759 return 2; 4760 return 0; 4761} 4762_ACEOF 4763if ac_fn_c_try_run "$LINENO"; then : 4764 4765else 4766 ac_cv_header_stdc=no 4767fi 4768rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4769 conftest.$ac_objext conftest.beam conftest.$ac_ext 4770fi 4771 4772fi 4773fi 4774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4775$as_echo "$ac_cv_header_stdc" >&6; } 4776if test $ac_cv_header_stdc = yes; then 4777 4778$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4779 4780fi 4781 4782case `pwd` in 4783 *\ * | *\ *) 4784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4785$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4786esac 4787 4788 4789 4790macro_version='2.4.2' 4791macro_revision='1.3337' 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805ltmain="$ac_aux_dir/ltmain.sh" 4806 4807# Make sure we can run config.sub. 4808$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4809 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4810 4811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4812$as_echo_n "checking build system type... " >&6; } 4813if ${ac_cv_build+:} false; then : 4814 $as_echo_n "(cached) " >&6 4815else 4816 ac_build_alias=$build_alias 4817test "x$ac_build_alias" = x && 4818 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4819test "x$ac_build_alias" = x && 4820 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4821ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4822 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4823 4824fi 4825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4826$as_echo "$ac_cv_build" >&6; } 4827case $ac_cv_build in 4828*-*-*) ;; 4829*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4830esac 4831build=$ac_cv_build 4832ac_save_IFS=$IFS; IFS='-' 4833set x $ac_cv_build 4834shift 4835build_cpu=$1 4836build_vendor=$2 4837shift; shift 4838# Remember, the first character of IFS is used to create $*, 4839# except with old shells: 4840build_os=$* 4841IFS=$ac_save_IFS 4842case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4843 4844 4845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4846$as_echo_n "checking host system type... " >&6; } 4847if ${ac_cv_host+:} false; then : 4848 $as_echo_n "(cached) " >&6 4849else 4850 if test "x$host_alias" = x; then 4851 ac_cv_host=$ac_cv_build 4852else 4853 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4854 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4855fi 4856 4857fi 4858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4859$as_echo "$ac_cv_host" >&6; } 4860case $ac_cv_host in 4861*-*-*) ;; 4862*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4863esac 4864host=$ac_cv_host 4865ac_save_IFS=$IFS; IFS='-' 4866set x $ac_cv_host 4867shift 4868host_cpu=$1 4869host_vendor=$2 4870shift; shift 4871# Remember, the first character of IFS is used to create $*, 4872# except with old shells: 4873host_os=$* 4874IFS=$ac_save_IFS 4875case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4876 4877 4878# Backslashify metacharacters that are still active within 4879# double-quoted strings. 4880sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4881 4882# Same as above, but do not quote variable references. 4883double_quote_subst='s/\(["`\\]\)/\\\1/g' 4884 4885# Sed substitution to delay expansion of an escaped shell variable in a 4886# double_quote_subst'ed string. 4887delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4888 4889# Sed substitution to delay expansion of an escaped single quote. 4890delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4891 4892# Sed substitution to avoid accidental globbing in evaled expressions 4893no_glob_subst='s/\*/\\\*/g' 4894 4895ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4896ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4897ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4898 4899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4900$as_echo_n "checking how to print strings... " >&6; } 4901# Test print first, because it will be a builtin if present. 4902if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4903 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4904 ECHO='print -r --' 4905elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4906 ECHO='printf %s\n' 4907else 4908 # Use this function as a fallback that always works. 4909 func_fallback_echo () 4910 { 4911 eval 'cat <<_LTECHO_EOF 4912$1 4913_LTECHO_EOF' 4914 } 4915 ECHO='func_fallback_echo' 4916fi 4917 4918# func_echo_all arg... 4919# Invoke $ECHO with all args, space-separated. 4920func_echo_all () 4921{ 4922 $ECHO "" 4923} 4924 4925case "$ECHO" in 4926 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4927$as_echo "printf" >&6; } ;; 4928 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4929$as_echo "print -r" >&6; } ;; 4930 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4931$as_echo "cat" >&6; } ;; 4932esac 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4948$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4949if ${ac_cv_path_SED+:} false; then : 4950 $as_echo_n "(cached) " >&6 4951else 4952 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4953 for ac_i in 1 2 3 4 5 6 7; do 4954 ac_script="$ac_script$as_nl$ac_script" 4955 done 4956 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4957 { ac_script=; unset ac_script;} 4958 if test -z "$SED"; then 4959 ac_path_SED_found=false 4960 # Loop through the user's path and test for each of PROGNAME-LIST 4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4962for as_dir in $PATH 4963do 4964 IFS=$as_save_IFS 4965 test -z "$as_dir" && as_dir=. 4966 for ac_prog in sed gsed; do 4967 for ac_exec_ext in '' $ac_executable_extensions; do 4968 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4969 as_fn_executable_p "$ac_path_SED" || continue 4970# Check for GNU ac_path_SED and select it if it is found. 4971 # Check for GNU $ac_path_SED 4972case `"$ac_path_SED" --version 2>&1` in 4973*GNU*) 4974 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4975*) 4976 ac_count=0 4977 $as_echo_n 0123456789 >"conftest.in" 4978 while : 4979 do 4980 cat "conftest.in" "conftest.in" >"conftest.tmp" 4981 mv "conftest.tmp" "conftest.in" 4982 cp "conftest.in" "conftest.nl" 4983 $as_echo '' >> "conftest.nl" 4984 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4986 as_fn_arith $ac_count + 1 && ac_count=$as_val 4987 if test $ac_count -gt ${ac_path_SED_max-0}; then 4988 # Best one so far, save it but keep looking for a better one 4989 ac_cv_path_SED="$ac_path_SED" 4990 ac_path_SED_max=$ac_count 4991 fi 4992 # 10*(2^10) chars as input seems more than enough 4993 test $ac_count -gt 10 && break 4994 done 4995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4996esac 4997 4998 $ac_path_SED_found && break 3 4999 done 5000 done 5001 done 5002IFS=$as_save_IFS 5003 if test -z "$ac_cv_path_SED"; then 5004 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5005 fi 5006else 5007 ac_cv_path_SED=$SED 5008fi 5009 5010fi 5011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5012$as_echo "$ac_cv_path_SED" >&6; } 5013 SED="$ac_cv_path_SED" 5014 rm -f conftest.sed 5015 5016test -z "$SED" && SED=sed 5017Xsed="$SED -e 1s/^X//" 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5030$as_echo_n "checking for fgrep... " >&6; } 5031if ${ac_cv_path_FGREP+:} false; then : 5032 $as_echo_n "(cached) " >&6 5033else 5034 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5035 then ac_cv_path_FGREP="$GREP -F" 5036 else 5037 if test -z "$FGREP"; then 5038 ac_path_FGREP_found=false 5039 # Loop through the user's path and test for each of PROGNAME-LIST 5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5041for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5042do 5043 IFS=$as_save_IFS 5044 test -z "$as_dir" && as_dir=. 5045 for ac_prog in fgrep; do 5046 for ac_exec_ext in '' $ac_executable_extensions; do 5047 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5048 as_fn_executable_p "$ac_path_FGREP" || continue 5049# Check for GNU ac_path_FGREP and select it if it is found. 5050 # Check for GNU $ac_path_FGREP 5051case `"$ac_path_FGREP" --version 2>&1` in 5052*GNU*) 5053 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5054*) 5055 ac_count=0 5056 $as_echo_n 0123456789 >"conftest.in" 5057 while : 5058 do 5059 cat "conftest.in" "conftest.in" >"conftest.tmp" 5060 mv "conftest.tmp" "conftest.in" 5061 cp "conftest.in" "conftest.nl" 5062 $as_echo 'FGREP' >> "conftest.nl" 5063 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5064 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5065 as_fn_arith $ac_count + 1 && ac_count=$as_val 5066 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5067 # Best one so far, save it but keep looking for a better one 5068 ac_cv_path_FGREP="$ac_path_FGREP" 5069 ac_path_FGREP_max=$ac_count 5070 fi 5071 # 10*(2^10) chars as input seems more than enough 5072 test $ac_count -gt 10 && break 5073 done 5074 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5075esac 5076 5077 $ac_path_FGREP_found && break 3 5078 done 5079 done 5080 done 5081IFS=$as_save_IFS 5082 if test -z "$ac_cv_path_FGREP"; then 5083 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5084 fi 5085else 5086 ac_cv_path_FGREP=$FGREP 5087fi 5088 5089 fi 5090fi 5091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5092$as_echo "$ac_cv_path_FGREP" >&6; } 5093 FGREP="$ac_cv_path_FGREP" 5094 5095 5096test -z "$GREP" && GREP=grep 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116# Check whether --with-gnu-ld was given. 5117if test "${with_gnu_ld+set}" = set; then : 5118 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5119else 5120 with_gnu_ld=no 5121fi 5122 5123ac_prog=ld 5124if test "$GCC" = yes; then 5125 # Check if gcc -print-prog-name=ld gives a path. 5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5127$as_echo_n "checking for ld used by $CC... " >&6; } 5128 case $host in 5129 *-*-mingw*) 5130 # gcc leaves a trailing carriage return which upsets mingw 5131 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5132 *) 5133 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5134 esac 5135 case $ac_prog in 5136 # Accept absolute paths. 5137 [\\/]* | ?:[\\/]*) 5138 re_direlt='/[^/][^/]*/\.\./' 5139 # Canonicalize the pathname of ld 5140 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5141 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5142 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5143 done 5144 test -z "$LD" && LD="$ac_prog" 5145 ;; 5146 "") 5147 # If it fails, then pretend we aren't using GCC. 5148 ac_prog=ld 5149 ;; 5150 *) 5151 # If it is relative, then search for the first ld in PATH. 5152 with_gnu_ld=unknown 5153 ;; 5154 esac 5155elif test "$with_gnu_ld" = yes; then 5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5157$as_echo_n "checking for GNU ld... " >&6; } 5158else 5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5160$as_echo_n "checking for non-GNU ld... " >&6; } 5161fi 5162if ${lt_cv_path_LD+:} false; then : 5163 $as_echo_n "(cached) " >&6 5164else 5165 if test -z "$LD"; then 5166 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5167 for ac_dir in $PATH; do 5168 IFS="$lt_save_ifs" 5169 test -z "$ac_dir" && ac_dir=. 5170 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5171 lt_cv_path_LD="$ac_dir/$ac_prog" 5172 # Check to see if the program is GNU ld. I'd rather use --version, 5173 # but apparently some variants of GNU ld only accept -v. 5174 # Break only if it was the GNU/non-GNU ld that we prefer. 5175 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5176 *GNU* | *'with BFD'*) 5177 test "$with_gnu_ld" != no && break 5178 ;; 5179 *) 5180 test "$with_gnu_ld" != yes && break 5181 ;; 5182 esac 5183 fi 5184 done 5185 IFS="$lt_save_ifs" 5186else 5187 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5188fi 5189fi 5190 5191LD="$lt_cv_path_LD" 5192if test -n "$LD"; then 5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5194$as_echo "$LD" >&6; } 5195else 5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5197$as_echo "no" >&6; } 5198fi 5199test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5201$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5202if ${lt_cv_prog_gnu_ld+:} false; then : 5203 $as_echo_n "(cached) " >&6 5204else 5205 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5206case `$LD -v 2>&1 </dev/null` in 5207*GNU* | *'with BFD'*) 5208 lt_cv_prog_gnu_ld=yes 5209 ;; 5210*) 5211 lt_cv_prog_gnu_ld=no 5212 ;; 5213esac 5214fi 5215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5216$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5217with_gnu_ld=$lt_cv_prog_gnu_ld 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5228$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5229if ${lt_cv_path_NM+:} false; then : 5230 $as_echo_n "(cached) " >&6 5231else 5232 if test -n "$NM"; then 5233 # Let the user override the test. 5234 lt_cv_path_NM="$NM" 5235else 5236 lt_nm_to_check="${ac_tool_prefix}nm" 5237 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5238 lt_nm_to_check="$lt_nm_to_check nm" 5239 fi 5240 for lt_tmp_nm in $lt_nm_to_check; do 5241 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5242 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5243 IFS="$lt_save_ifs" 5244 test -z "$ac_dir" && ac_dir=. 5245 tmp_nm="$ac_dir/$lt_tmp_nm" 5246 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5247 # Check to see if the nm accepts a BSD-compat flag. 5248 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5249 # nm: unknown option "B" ignored 5250 # Tru64's nm complains that /dev/null is an invalid object file 5251 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5252 */dev/null* | *'Invalid file or object type'*) 5253 lt_cv_path_NM="$tmp_nm -B" 5254 break 5255 ;; 5256 *) 5257 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5258 */dev/null*) 5259 lt_cv_path_NM="$tmp_nm -p" 5260 break 5261 ;; 5262 *) 5263 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5264 continue # so that we can try to find one that supports BSD flags 5265 ;; 5266 esac 5267 ;; 5268 esac 5269 fi 5270 done 5271 IFS="$lt_save_ifs" 5272 done 5273 : ${lt_cv_path_NM=no} 5274fi 5275fi 5276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5277$as_echo "$lt_cv_path_NM" >&6; } 5278if test "$lt_cv_path_NM" != "no"; then 5279 NM="$lt_cv_path_NM" 5280else 5281 # Didn't find any BSD compatible name lister, look for dumpbin. 5282 if test -n "$DUMPBIN"; then : 5283 # Let the user override the test. 5284 else 5285 if test -n "$ac_tool_prefix"; then 5286 for ac_prog in dumpbin "link -dump" 5287 do 5288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5289set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5291$as_echo_n "checking for $ac_word... " >&6; } 5292if ${ac_cv_prog_DUMPBIN+:} false; then : 5293 $as_echo_n "(cached) " >&6 5294else 5295 if test -n "$DUMPBIN"; then 5296 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5297else 5298as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5299for as_dir in $PATH 5300do 5301 IFS=$as_save_IFS 5302 test -z "$as_dir" && as_dir=. 5303 for ac_exec_ext in '' $ac_executable_extensions; do 5304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5305 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5307 break 2 5308 fi 5309done 5310 done 5311IFS=$as_save_IFS 5312 5313fi 5314fi 5315DUMPBIN=$ac_cv_prog_DUMPBIN 5316if test -n "$DUMPBIN"; then 5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5318$as_echo "$DUMPBIN" >&6; } 5319else 5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5321$as_echo "no" >&6; } 5322fi 5323 5324 5325 test -n "$DUMPBIN" && break 5326 done 5327fi 5328if test -z "$DUMPBIN"; then 5329 ac_ct_DUMPBIN=$DUMPBIN 5330 for ac_prog in dumpbin "link -dump" 5331do 5332 # Extract the first word of "$ac_prog", so it can be a program name with args. 5333set dummy $ac_prog; ac_word=$2 5334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5335$as_echo_n "checking for $ac_word... " >&6; } 5336if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5337 $as_echo_n "(cached) " >&6 5338else 5339 if test -n "$ac_ct_DUMPBIN"; then 5340 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5341else 5342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5343for as_dir in $PATH 5344do 5345 IFS=$as_save_IFS 5346 test -z "$as_dir" && as_dir=. 5347 for ac_exec_ext in '' $ac_executable_extensions; do 5348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5349 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5351 break 2 5352 fi 5353done 5354 done 5355IFS=$as_save_IFS 5356 5357fi 5358fi 5359ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5360if test -n "$ac_ct_DUMPBIN"; then 5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5362$as_echo "$ac_ct_DUMPBIN" >&6; } 5363else 5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5365$as_echo "no" >&6; } 5366fi 5367 5368 5369 test -n "$ac_ct_DUMPBIN" && break 5370done 5371 5372 if test "x$ac_ct_DUMPBIN" = x; then 5373 DUMPBIN=":" 5374 else 5375 case $cross_compiling:$ac_tool_warned in 5376yes:) 5377{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5378$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5379ac_tool_warned=yes ;; 5380esac 5381 DUMPBIN=$ac_ct_DUMPBIN 5382 fi 5383fi 5384 5385 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5386 *COFF*) 5387 DUMPBIN="$DUMPBIN -symbols" 5388 ;; 5389 *) 5390 DUMPBIN=: 5391 ;; 5392 esac 5393 fi 5394 5395 if test "$DUMPBIN" != ":"; then 5396 NM="$DUMPBIN" 5397 fi 5398fi 5399test -z "$NM" && NM=nm 5400 5401 5402 5403 5404 5405 5406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5407$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5408if ${lt_cv_nm_interface+:} false; then : 5409 $as_echo_n "(cached) " >&6 5410else 5411 lt_cv_nm_interface="BSD nm" 5412 echo "int some_variable = 0;" > conftest.$ac_ext 5413 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5414 (eval "$ac_compile" 2>conftest.err) 5415 cat conftest.err >&5 5416 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5417 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5418 cat conftest.err >&5 5419 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5420 cat conftest.out >&5 5421 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5422 lt_cv_nm_interface="MS dumpbin" 5423 fi 5424 rm -f conftest* 5425fi 5426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5427$as_echo "$lt_cv_nm_interface" >&6; } 5428 5429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5430$as_echo_n "checking whether ln -s works... " >&6; } 5431LN_S=$as_ln_s 5432if test "$LN_S" = "ln -s"; then 5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5434$as_echo "yes" >&6; } 5435else 5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5437$as_echo "no, using $LN_S" >&6; } 5438fi 5439 5440# find the maximum length of command line arguments 5441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5442$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5443if ${lt_cv_sys_max_cmd_len+:} false; then : 5444 $as_echo_n "(cached) " >&6 5445else 5446 i=0 5447 teststring="ABCD" 5448 5449 case $build_os in 5450 msdosdjgpp*) 5451 # On DJGPP, this test can blow up pretty badly due to problems in libc 5452 # (any single argument exceeding 2000 bytes causes a buffer overrun 5453 # during glob expansion). Even if it were fixed, the result of this 5454 # check would be larger than it should be. 5455 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5456 ;; 5457 5458 gnu*) 5459 # Under GNU Hurd, this test is not required because there is 5460 # no limit to the length of command line arguments. 5461 # Libtool will interpret -1 as no limit whatsoever 5462 lt_cv_sys_max_cmd_len=-1; 5463 ;; 5464 5465 cygwin* | mingw* | cegcc*) 5466 # On Win9x/ME, this test blows up -- it succeeds, but takes 5467 # about 5 minutes as the teststring grows exponentially. 5468 # Worse, since 9x/ME are not pre-emptively multitasking, 5469 # you end up with a "frozen" computer, even though with patience 5470 # the test eventually succeeds (with a max line length of 256k). 5471 # Instead, let's just punt: use the minimum linelength reported by 5472 # all of the supported platforms: 8192 (on NT/2K/XP). 5473 lt_cv_sys_max_cmd_len=8192; 5474 ;; 5475 5476 mint*) 5477 # On MiNT this can take a long time and run out of memory. 5478 lt_cv_sys_max_cmd_len=8192; 5479 ;; 5480 5481 amigaos*) 5482 # On AmigaOS with pdksh, this test takes hours, literally. 5483 # So we just punt and use a minimum line length of 8192. 5484 lt_cv_sys_max_cmd_len=8192; 5485 ;; 5486 5487 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5488 # This has been around since 386BSD, at least. Likely further. 5489 if test -x /sbin/sysctl; then 5490 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5491 elif test -x /usr/sbin/sysctl; then 5492 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5493 else 5494 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5495 fi 5496 # And add a safety zone 5497 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5498 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5499 ;; 5500 5501 interix*) 5502 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5503 lt_cv_sys_max_cmd_len=196608 5504 ;; 5505 5506 os2*) 5507 # The test takes a long time on OS/2. 5508 lt_cv_sys_max_cmd_len=8192 5509 ;; 5510 5511 osf*) 5512 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5513 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5514 # nice to cause kernel panics so lets avoid the loop below. 5515 # First set a reasonable default. 5516 lt_cv_sys_max_cmd_len=16384 5517 # 5518 if test -x /sbin/sysconfig; then 5519 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5520 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5521 esac 5522 fi 5523 ;; 5524 sco3.2v5*) 5525 lt_cv_sys_max_cmd_len=102400 5526 ;; 5527 sysv5* | sco5v6* | sysv4.2uw2*) 5528 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5529 if test -n "$kargmax"; then 5530 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5531 else 5532 lt_cv_sys_max_cmd_len=32768 5533 fi 5534 ;; 5535 *) 5536 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5537 if test -n "$lt_cv_sys_max_cmd_len" && \ 5538 test undefined != "$lt_cv_sys_max_cmd_len"; then 5539 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5540 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5541 else 5542 # Make teststring a little bigger before we do anything with it. 5543 # a 1K string should be a reasonable start. 5544 for i in 1 2 3 4 5 6 7 8 ; do 5545 teststring=$teststring$teststring 5546 done 5547 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5548 # If test is not a shell built-in, we'll probably end up computing a 5549 # maximum length that is only half of the actual maximum length, but 5550 # we can't tell. 5551 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5552 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5553 test $i != 17 # 1/2 MB should be enough 5554 do 5555 i=`expr $i + 1` 5556 teststring=$teststring$teststring 5557 done 5558 # Only check the string length outside the loop. 5559 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5560 teststring= 5561 # Add a significant safety factor because C++ compilers can tack on 5562 # massive amounts of additional arguments before passing them to the 5563 # linker. It appears as though 1/2 is a usable value. 5564 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5565 fi 5566 ;; 5567 esac 5568 5569fi 5570 5571if test -n $lt_cv_sys_max_cmd_len ; then 5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5573$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5574else 5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5576$as_echo "none" >&6; } 5577fi 5578max_cmd_len=$lt_cv_sys_max_cmd_len 5579 5580 5581 5582 5583 5584 5585: ${CP="cp -f"} 5586: ${MV="mv -f"} 5587: ${RM="rm -f"} 5588 5589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5590$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5591# Try some XSI features 5592xsi_shell=no 5593( _lt_dummy="a/b/c" 5594 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5595 = c,a/b,b/c, \ 5596 && eval 'test $(( 1 + 1 )) -eq 2 \ 5597 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5598 && xsi_shell=yes 5599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5600$as_echo "$xsi_shell" >&6; } 5601 5602 5603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5604$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5605lt_shell_append=no 5606( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5607 >/dev/null 2>&1 \ 5608 && lt_shell_append=yes 5609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5610$as_echo "$lt_shell_append" >&6; } 5611 5612 5613if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5614 lt_unset=unset 5615else 5616 lt_unset=false 5617fi 5618 5619 5620 5621 5622 5623# test EBCDIC or ASCII 5624case `echo X|tr X '\101'` in 5625 A) # ASCII based system 5626 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5627 lt_SP2NL='tr \040 \012' 5628 lt_NL2SP='tr \015\012 \040\040' 5629 ;; 5630 *) # EBCDIC based system 5631 lt_SP2NL='tr \100 \n' 5632 lt_NL2SP='tr \r\n \100\100' 5633 ;; 5634esac 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5645$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5646if ${lt_cv_to_host_file_cmd+:} false; then : 5647 $as_echo_n "(cached) " >&6 5648else 5649 case $host in 5650 *-*-mingw* ) 5651 case $build in 5652 *-*-mingw* ) # actually msys 5653 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5654 ;; 5655 *-*-cygwin* ) 5656 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5657 ;; 5658 * ) # otherwise, assume *nix 5659 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5660 ;; 5661 esac 5662 ;; 5663 *-*-cygwin* ) 5664 case $build in 5665 *-*-mingw* ) # actually msys 5666 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5667 ;; 5668 *-*-cygwin* ) 5669 lt_cv_to_host_file_cmd=func_convert_file_noop 5670 ;; 5671 * ) # otherwise, assume *nix 5672 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5673 ;; 5674 esac 5675 ;; 5676 * ) # unhandled hosts (and "normal" native builds) 5677 lt_cv_to_host_file_cmd=func_convert_file_noop 5678 ;; 5679esac 5680 5681fi 5682 5683to_host_file_cmd=$lt_cv_to_host_file_cmd 5684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5685$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5686 5687 5688 5689 5690 5691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5692$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5693if ${lt_cv_to_tool_file_cmd+:} false; then : 5694 $as_echo_n "(cached) " >&6 5695else 5696 #assume ordinary cross tools, or native build. 5697lt_cv_to_tool_file_cmd=func_convert_file_noop 5698case $host in 5699 *-*-mingw* ) 5700 case $build in 5701 *-*-mingw* ) # actually msys 5702 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5703 ;; 5704 esac 5705 ;; 5706esac 5707 5708fi 5709 5710to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5712$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5713 5714 5715 5716 5717 5718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5719$as_echo_n "checking for $LD option to reload object files... " >&6; } 5720if ${lt_cv_ld_reload_flag+:} false; then : 5721 $as_echo_n "(cached) " >&6 5722else 5723 lt_cv_ld_reload_flag='-r' 5724fi 5725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5726$as_echo "$lt_cv_ld_reload_flag" >&6; } 5727reload_flag=$lt_cv_ld_reload_flag 5728case $reload_flag in 5729"" | " "*) ;; 5730*) reload_flag=" $reload_flag" ;; 5731esac 5732reload_cmds='$LD$reload_flag -o $output$reload_objs' 5733case $host_os in 5734 cygwin* | mingw* | pw32* | cegcc*) 5735 if test "$GCC" != yes; then 5736 reload_cmds=false 5737 fi 5738 ;; 5739 darwin*) 5740 if test "$GCC" = yes; then 5741 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5742 else 5743 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5744 fi 5745 ;; 5746esac 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756if test -n "$ac_tool_prefix"; then 5757 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5758set dummy ${ac_tool_prefix}objdump; ac_word=$2 5759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5760$as_echo_n "checking for $ac_word... " >&6; } 5761if ${ac_cv_prog_OBJDUMP+:} false; then : 5762 $as_echo_n "(cached) " >&6 5763else 5764 if test -n "$OBJDUMP"; then 5765 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5766else 5767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5768for as_dir in $PATH 5769do 5770 IFS=$as_save_IFS 5771 test -z "$as_dir" && as_dir=. 5772 for ac_exec_ext in '' $ac_executable_extensions; do 5773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5774 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5776 break 2 5777 fi 5778done 5779 done 5780IFS=$as_save_IFS 5781 5782fi 5783fi 5784OBJDUMP=$ac_cv_prog_OBJDUMP 5785if test -n "$OBJDUMP"; then 5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5787$as_echo "$OBJDUMP" >&6; } 5788else 5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5790$as_echo "no" >&6; } 5791fi 5792 5793 5794fi 5795if test -z "$ac_cv_prog_OBJDUMP"; then 5796 ac_ct_OBJDUMP=$OBJDUMP 5797 # Extract the first word of "objdump", so it can be a program name with args. 5798set dummy objdump; ac_word=$2 5799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5800$as_echo_n "checking for $ac_word... " >&6; } 5801if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5802 $as_echo_n "(cached) " >&6 5803else 5804 if test -n "$ac_ct_OBJDUMP"; then 5805 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5806else 5807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5808for as_dir in $PATH 5809do 5810 IFS=$as_save_IFS 5811 test -z "$as_dir" && as_dir=. 5812 for ac_exec_ext in '' $ac_executable_extensions; do 5813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5814 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5816 break 2 5817 fi 5818done 5819 done 5820IFS=$as_save_IFS 5821 5822fi 5823fi 5824ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5825if test -n "$ac_ct_OBJDUMP"; then 5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5827$as_echo "$ac_ct_OBJDUMP" >&6; } 5828else 5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5830$as_echo "no" >&6; } 5831fi 5832 5833 if test "x$ac_ct_OBJDUMP" = x; then 5834 OBJDUMP="false" 5835 else 5836 case $cross_compiling:$ac_tool_warned in 5837yes:) 5838{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5839$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5840ac_tool_warned=yes ;; 5841esac 5842 OBJDUMP=$ac_ct_OBJDUMP 5843 fi 5844else 5845 OBJDUMP="$ac_cv_prog_OBJDUMP" 5846fi 5847 5848test -z "$OBJDUMP" && OBJDUMP=objdump 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5859$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5860if ${lt_cv_deplibs_check_method+:} false; then : 5861 $as_echo_n "(cached) " >&6 5862else 5863 lt_cv_file_magic_cmd='$MAGIC_CMD' 5864lt_cv_file_magic_test_file= 5865lt_cv_deplibs_check_method='unknown' 5866# Need to set the preceding variable on all platforms that support 5867# interlibrary dependencies. 5868# 'none' -- dependencies not supported. 5869# `unknown' -- same as none, but documents that we really don't know. 5870# 'pass_all' -- all dependencies passed with no checks. 5871# 'test_compile' -- check by making test program. 5872# 'file_magic [[regex]]' -- check by looking for files in library path 5873# which responds to the $file_magic_cmd with a given extended regex. 5874# If you have `file' or equivalent on your system and you're not sure 5875# whether `pass_all' will *always* work, you probably want this one. 5876 5877case $host_os in 5878aix[4-9]*) 5879 lt_cv_deplibs_check_method=pass_all 5880 ;; 5881 5882beos*) 5883 lt_cv_deplibs_check_method=pass_all 5884 ;; 5885 5886bsdi[45]*) 5887 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5888 lt_cv_file_magic_cmd='/usr/bin/file -L' 5889 lt_cv_file_magic_test_file=/shlib/libc.so 5890 ;; 5891 5892cygwin*) 5893 # func_win32_libid is a shell function defined in ltmain.sh 5894 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5895 lt_cv_file_magic_cmd='func_win32_libid' 5896 ;; 5897 5898mingw* | pw32*) 5899 # Base MSYS/MinGW do not provide the 'file' command needed by 5900 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5901 # unless we find 'file', for example because we are cross-compiling. 5902 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5903 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5904 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5905 lt_cv_file_magic_cmd='func_win32_libid' 5906 else 5907 # Keep this pattern in sync with the one in func_win32_libid. 5908 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5909 lt_cv_file_magic_cmd='$OBJDUMP -f' 5910 fi 5911 ;; 5912 5913cegcc*) 5914 # use the weaker test based on 'objdump'. See mingw*. 5915 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5916 lt_cv_file_magic_cmd='$OBJDUMP -f' 5917 ;; 5918 5919darwin* | rhapsody*) 5920 lt_cv_deplibs_check_method=pass_all 5921 ;; 5922 5923freebsd* | dragonfly*) 5924 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5925 case $host_cpu in 5926 i*86 ) 5927 # Not sure whether the presence of OpenBSD here was a mistake. 5928 # Let's accept both of them until this is cleared up. 5929 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5930 lt_cv_file_magic_cmd=/usr/bin/file 5931 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5932 ;; 5933 esac 5934 else 5935 lt_cv_deplibs_check_method=pass_all 5936 fi 5937 ;; 5938 5939haiku*) 5940 lt_cv_deplibs_check_method=pass_all 5941 ;; 5942 5943hpux10.20* | hpux11*) 5944 lt_cv_file_magic_cmd=/usr/bin/file 5945 case $host_cpu in 5946 ia64*) 5947 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5948 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5949 ;; 5950 hppa*64*) 5951 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]' 5952 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5953 ;; 5954 *) 5955 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5956 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5957 ;; 5958 esac 5959 ;; 5960 5961interix[3-9]*) 5962 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5963 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5964 ;; 5965 5966irix5* | irix6* | nonstopux*) 5967 case $LD in 5968 *-32|*"-32 ") libmagic=32-bit;; 5969 *-n32|*"-n32 ") libmagic=N32;; 5970 *-64|*"-64 ") libmagic=64-bit;; 5971 *) libmagic=never-match;; 5972 esac 5973 lt_cv_deplibs_check_method=pass_all 5974 ;; 5975 5976# This must be glibc/ELF. 5977linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5978 lt_cv_deplibs_check_method=pass_all 5979 ;; 5980 5981netbsd* | netbsdelf*-gnu) 5982 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5983 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5984 else 5985 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5986 fi 5987 ;; 5988 5989newos6*) 5990 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5991 lt_cv_file_magic_cmd=/usr/bin/file 5992 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5993 ;; 5994 5995*nto* | *qnx*) 5996 lt_cv_deplibs_check_method=pass_all 5997 ;; 5998 5999openbsd*) 6000 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6001 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6002 else 6003 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6004 fi 6005 ;; 6006 6007osf3* | osf4* | osf5*) 6008 lt_cv_deplibs_check_method=pass_all 6009 ;; 6010 6011rdos*) 6012 lt_cv_deplibs_check_method=pass_all 6013 ;; 6014 6015solaris*) 6016 lt_cv_deplibs_check_method=pass_all 6017 ;; 6018 6019sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6020 lt_cv_deplibs_check_method=pass_all 6021 ;; 6022 6023sysv4 | sysv4.3*) 6024 case $host_vendor in 6025 motorola) 6026 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]' 6027 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6028 ;; 6029 ncr) 6030 lt_cv_deplibs_check_method=pass_all 6031 ;; 6032 sequent) 6033 lt_cv_file_magic_cmd='/bin/file' 6034 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6035 ;; 6036 sni) 6037 lt_cv_file_magic_cmd='/bin/file' 6038 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6039 lt_cv_file_magic_test_file=/lib/libc.so 6040 ;; 6041 siemens) 6042 lt_cv_deplibs_check_method=pass_all 6043 ;; 6044 pc) 6045 lt_cv_deplibs_check_method=pass_all 6046 ;; 6047 esac 6048 ;; 6049 6050tpf*) 6051 lt_cv_deplibs_check_method=pass_all 6052 ;; 6053esac 6054 6055fi 6056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6057$as_echo "$lt_cv_deplibs_check_method" >&6; } 6058 6059file_magic_glob= 6060want_nocaseglob=no 6061if test "$build" = "$host"; then 6062 case $host_os in 6063 mingw* | pw32*) 6064 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6065 want_nocaseglob=yes 6066 else 6067 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6068 fi 6069 ;; 6070 esac 6071fi 6072 6073file_magic_cmd=$lt_cv_file_magic_cmd 6074deplibs_check_method=$lt_cv_deplibs_check_method 6075test -z "$deplibs_check_method" && deplibs_check_method=unknown 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098if test -n "$ac_tool_prefix"; then 6099 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6100set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6102$as_echo_n "checking for $ac_word... " >&6; } 6103if ${ac_cv_prog_DLLTOOL+:} false; then : 6104 $as_echo_n "(cached) " >&6 6105else 6106 if test -n "$DLLTOOL"; then 6107 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6108else 6109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6110for as_dir in $PATH 6111do 6112 IFS=$as_save_IFS 6113 test -z "$as_dir" && as_dir=. 6114 for ac_exec_ext in '' $ac_executable_extensions; do 6115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6116 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6118 break 2 6119 fi 6120done 6121 done 6122IFS=$as_save_IFS 6123 6124fi 6125fi 6126DLLTOOL=$ac_cv_prog_DLLTOOL 6127if test -n "$DLLTOOL"; then 6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6129$as_echo "$DLLTOOL" >&6; } 6130else 6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6132$as_echo "no" >&6; } 6133fi 6134 6135 6136fi 6137if test -z "$ac_cv_prog_DLLTOOL"; then 6138 ac_ct_DLLTOOL=$DLLTOOL 6139 # Extract the first word of "dlltool", so it can be a program name with args. 6140set dummy dlltool; ac_word=$2 6141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6142$as_echo_n "checking for $ac_word... " >&6; } 6143if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6144 $as_echo_n "(cached) " >&6 6145else 6146 if test -n "$ac_ct_DLLTOOL"; then 6147 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6148else 6149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6150for as_dir in $PATH 6151do 6152 IFS=$as_save_IFS 6153 test -z "$as_dir" && as_dir=. 6154 for ac_exec_ext in '' $ac_executable_extensions; do 6155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6156 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6158 break 2 6159 fi 6160done 6161 done 6162IFS=$as_save_IFS 6163 6164fi 6165fi 6166ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6167if test -n "$ac_ct_DLLTOOL"; then 6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6169$as_echo "$ac_ct_DLLTOOL" >&6; } 6170else 6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6172$as_echo "no" >&6; } 6173fi 6174 6175 if test "x$ac_ct_DLLTOOL" = x; then 6176 DLLTOOL="false" 6177 else 6178 case $cross_compiling:$ac_tool_warned in 6179yes:) 6180{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6181$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6182ac_tool_warned=yes ;; 6183esac 6184 DLLTOOL=$ac_ct_DLLTOOL 6185 fi 6186else 6187 DLLTOOL="$ac_cv_prog_DLLTOOL" 6188fi 6189 6190test -z "$DLLTOOL" && DLLTOOL=dlltool 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6202$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6203if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6204 $as_echo_n "(cached) " >&6 6205else 6206 lt_cv_sharedlib_from_linklib_cmd='unknown' 6207 6208case $host_os in 6209cygwin* | mingw* | pw32* | cegcc*) 6210 # two different shell functions defined in ltmain.sh 6211 # decide which to use based on capabilities of $DLLTOOL 6212 case `$DLLTOOL --help 2>&1` in 6213 *--identify-strict*) 6214 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6215 ;; 6216 *) 6217 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6218 ;; 6219 esac 6220 ;; 6221*) 6222 # fallback: assume linklib IS sharedlib 6223 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6224 ;; 6225esac 6226 6227fi 6228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6229$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6230sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6231test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6232 6233 6234 6235 6236 6237 6238 6239if test -n "$ac_tool_prefix"; then 6240 for ac_prog in ar 6241 do 6242 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6243set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6245$as_echo_n "checking for $ac_word... " >&6; } 6246if ${ac_cv_prog_AR+:} false; then : 6247 $as_echo_n "(cached) " >&6 6248else 6249 if test -n "$AR"; then 6250 ac_cv_prog_AR="$AR" # Let the user override the test. 6251else 6252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6253for as_dir in $PATH 6254do 6255 IFS=$as_save_IFS 6256 test -z "$as_dir" && as_dir=. 6257 for ac_exec_ext in '' $ac_executable_extensions; do 6258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6259 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6261 break 2 6262 fi 6263done 6264 done 6265IFS=$as_save_IFS 6266 6267fi 6268fi 6269AR=$ac_cv_prog_AR 6270if test -n "$AR"; then 6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6272$as_echo "$AR" >&6; } 6273else 6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6275$as_echo "no" >&6; } 6276fi 6277 6278 6279 test -n "$AR" && break 6280 done 6281fi 6282if test -z "$AR"; then 6283 ac_ct_AR=$AR 6284 for ac_prog in ar 6285do 6286 # Extract the first word of "$ac_prog", so it can be a program name with args. 6287set dummy $ac_prog; ac_word=$2 6288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6289$as_echo_n "checking for $ac_word... " >&6; } 6290if ${ac_cv_prog_ac_ct_AR+:} false; then : 6291 $as_echo_n "(cached) " >&6 6292else 6293 if test -n "$ac_ct_AR"; then 6294 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6295else 6296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6297for as_dir in $PATH 6298do 6299 IFS=$as_save_IFS 6300 test -z "$as_dir" && as_dir=. 6301 for ac_exec_ext in '' $ac_executable_extensions; do 6302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6303 ac_cv_prog_ac_ct_AR="$ac_prog" 6304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6305 break 2 6306 fi 6307done 6308 done 6309IFS=$as_save_IFS 6310 6311fi 6312fi 6313ac_ct_AR=$ac_cv_prog_ac_ct_AR 6314if test -n "$ac_ct_AR"; then 6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6316$as_echo "$ac_ct_AR" >&6; } 6317else 6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6319$as_echo "no" >&6; } 6320fi 6321 6322 6323 test -n "$ac_ct_AR" && break 6324done 6325 6326 if test "x$ac_ct_AR" = x; then 6327 AR="false" 6328 else 6329 case $cross_compiling:$ac_tool_warned in 6330yes:) 6331{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6332$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6333ac_tool_warned=yes ;; 6334esac 6335 AR=$ac_ct_AR 6336 fi 6337fi 6338 6339: ${AR=ar} 6340: ${AR_FLAGS=cru} 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6353$as_echo_n "checking for archiver @FILE support... " >&6; } 6354if ${lt_cv_ar_at_file+:} false; then : 6355 $as_echo_n "(cached) " >&6 6356else 6357 lt_cv_ar_at_file=no 6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6359/* end confdefs.h. */ 6360 6361int 6362main () 6363{ 6364 6365 ; 6366 return 0; 6367} 6368_ACEOF 6369if ac_fn_c_try_compile "$LINENO"; then : 6370 echo conftest.$ac_objext > conftest.lst 6371 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6372 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6373 (eval $lt_ar_try) 2>&5 6374 ac_status=$? 6375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6376 test $ac_status = 0; } 6377 if test "$ac_status" -eq 0; then 6378 # Ensure the archiver fails upon bogus file names. 6379 rm -f conftest.$ac_objext libconftest.a 6380 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6381 (eval $lt_ar_try) 2>&5 6382 ac_status=$? 6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6384 test $ac_status = 0; } 6385 if test "$ac_status" -ne 0; then 6386 lt_cv_ar_at_file=@ 6387 fi 6388 fi 6389 rm -f conftest.* libconftest.a 6390 6391fi 6392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6393 6394fi 6395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6396$as_echo "$lt_cv_ar_at_file" >&6; } 6397 6398if test "x$lt_cv_ar_at_file" = xno; then 6399 archiver_list_spec= 6400else 6401 archiver_list_spec=$lt_cv_ar_at_file 6402fi 6403 6404 6405 6406 6407 6408 6409 6410if test -n "$ac_tool_prefix"; then 6411 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6412set dummy ${ac_tool_prefix}strip; ac_word=$2 6413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6414$as_echo_n "checking for $ac_word... " >&6; } 6415if ${ac_cv_prog_STRIP+:} false; then : 6416 $as_echo_n "(cached) " >&6 6417else 6418 if test -n "$STRIP"; then 6419 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6420else 6421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6422for as_dir in $PATH 6423do 6424 IFS=$as_save_IFS 6425 test -z "$as_dir" && as_dir=. 6426 for ac_exec_ext in '' $ac_executable_extensions; do 6427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6428 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6430 break 2 6431 fi 6432done 6433 done 6434IFS=$as_save_IFS 6435 6436fi 6437fi 6438STRIP=$ac_cv_prog_STRIP 6439if test -n "$STRIP"; then 6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6441$as_echo "$STRIP" >&6; } 6442else 6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6444$as_echo "no" >&6; } 6445fi 6446 6447 6448fi 6449if test -z "$ac_cv_prog_STRIP"; then 6450 ac_ct_STRIP=$STRIP 6451 # Extract the first word of "strip", so it can be a program name with args. 6452set dummy strip; ac_word=$2 6453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6454$as_echo_n "checking for $ac_word... " >&6; } 6455if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6456 $as_echo_n "(cached) " >&6 6457else 6458 if test -n "$ac_ct_STRIP"; then 6459 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6460else 6461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6462for as_dir in $PATH 6463do 6464 IFS=$as_save_IFS 6465 test -z "$as_dir" && as_dir=. 6466 for ac_exec_ext in '' $ac_executable_extensions; do 6467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6468 ac_cv_prog_ac_ct_STRIP="strip" 6469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6470 break 2 6471 fi 6472done 6473 done 6474IFS=$as_save_IFS 6475 6476fi 6477fi 6478ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6479if test -n "$ac_ct_STRIP"; then 6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6481$as_echo "$ac_ct_STRIP" >&6; } 6482else 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6484$as_echo "no" >&6; } 6485fi 6486 6487 if test "x$ac_ct_STRIP" = x; then 6488 STRIP=":" 6489 else 6490 case $cross_compiling:$ac_tool_warned in 6491yes:) 6492{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6493$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6494ac_tool_warned=yes ;; 6495esac 6496 STRIP=$ac_ct_STRIP 6497 fi 6498else 6499 STRIP="$ac_cv_prog_STRIP" 6500fi 6501 6502test -z "$STRIP" && STRIP=: 6503 6504 6505 6506 6507 6508 6509if test -n "$ac_tool_prefix"; then 6510 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6511set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6513$as_echo_n "checking for $ac_word... " >&6; } 6514if ${ac_cv_prog_RANLIB+:} false; then : 6515 $as_echo_n "(cached) " >&6 6516else 6517 if test -n "$RANLIB"; then 6518 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6519else 6520as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6521for as_dir in $PATH 6522do 6523 IFS=$as_save_IFS 6524 test -z "$as_dir" && as_dir=. 6525 for ac_exec_ext in '' $ac_executable_extensions; do 6526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6527 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6529 break 2 6530 fi 6531done 6532 done 6533IFS=$as_save_IFS 6534 6535fi 6536fi 6537RANLIB=$ac_cv_prog_RANLIB 6538if test -n "$RANLIB"; then 6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6540$as_echo "$RANLIB" >&6; } 6541else 6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6543$as_echo "no" >&6; } 6544fi 6545 6546 6547fi 6548if test -z "$ac_cv_prog_RANLIB"; then 6549 ac_ct_RANLIB=$RANLIB 6550 # Extract the first word of "ranlib", so it can be a program name with args. 6551set dummy ranlib; ac_word=$2 6552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6553$as_echo_n "checking for $ac_word... " >&6; } 6554if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6555 $as_echo_n "(cached) " >&6 6556else 6557 if test -n "$ac_ct_RANLIB"; then 6558 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6559else 6560as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6561for as_dir in $PATH 6562do 6563 IFS=$as_save_IFS 6564 test -z "$as_dir" && as_dir=. 6565 for ac_exec_ext in '' $ac_executable_extensions; do 6566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6567 ac_cv_prog_ac_ct_RANLIB="ranlib" 6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6569 break 2 6570 fi 6571done 6572 done 6573IFS=$as_save_IFS 6574 6575fi 6576fi 6577ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6578if test -n "$ac_ct_RANLIB"; then 6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6580$as_echo "$ac_ct_RANLIB" >&6; } 6581else 6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6583$as_echo "no" >&6; } 6584fi 6585 6586 if test "x$ac_ct_RANLIB" = x; then 6587 RANLIB=":" 6588 else 6589 case $cross_compiling:$ac_tool_warned in 6590yes:) 6591{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6592$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6593ac_tool_warned=yes ;; 6594esac 6595 RANLIB=$ac_ct_RANLIB 6596 fi 6597else 6598 RANLIB="$ac_cv_prog_RANLIB" 6599fi 6600 6601test -z "$RANLIB" && RANLIB=: 6602 6603 6604 6605 6606 6607 6608# Determine commands to create old-style static archives. 6609old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6610old_postinstall_cmds='chmod 644 $oldlib' 6611old_postuninstall_cmds= 6612 6613if test -n "$RANLIB"; then 6614 case $host_os in 6615 openbsd*) 6616 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6617 ;; 6618 *) 6619 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6620 ;; 6621 esac 6622 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6623fi 6624 6625case $host_os in 6626 darwin*) 6627 lock_old_archive_extraction=yes ;; 6628 *) 6629 lock_old_archive_extraction=no ;; 6630esac 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670# If no C compiler was specified, use CC. 6671LTCC=${LTCC-"$CC"} 6672 6673# If no C compiler flags were specified, use CFLAGS. 6674LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6675 6676# Allow CC to be a program name with arguments. 6677compiler=$CC 6678 6679 6680# Check for command to grab the raw symbol name followed by C symbol from nm. 6681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6682$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6683if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6684 $as_echo_n "(cached) " >&6 6685else 6686 6687# These are sane defaults that work on at least a few old systems. 6688# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6689 6690# Character class describing NM global symbol codes. 6691symcode='[BCDEGRST]' 6692 6693# Regexp to match symbols that can be accessed directly from C. 6694sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6695 6696# Define system-specific variables. 6697case $host_os in 6698aix*) 6699 symcode='[BCDT]' 6700 ;; 6701cygwin* | mingw* | pw32* | cegcc*) 6702 symcode='[ABCDGISTW]' 6703 ;; 6704hpux*) 6705 if test "$host_cpu" = ia64; then 6706 symcode='[ABCDEGRST]' 6707 fi 6708 ;; 6709irix* | nonstopux*) 6710 symcode='[BCDEGRST]' 6711 ;; 6712osf*) 6713 symcode='[BCDEGQRST]' 6714 ;; 6715solaris*) 6716 symcode='[BDRT]' 6717 ;; 6718sco3.2v5*) 6719 symcode='[DT]' 6720 ;; 6721sysv4.2uw2*) 6722 symcode='[DT]' 6723 ;; 6724sysv5* | sco5v6* | unixware* | OpenUNIX*) 6725 symcode='[ABDT]' 6726 ;; 6727sysv4) 6728 symcode='[DFNSTU]' 6729 ;; 6730esac 6731 6732# If we're using GNU nm, then use its standard symbol codes. 6733case `$NM -V 2>&1` in 6734*GNU* | *'with BFD'*) 6735 symcode='[ABCDGIRSTW]' ;; 6736esac 6737 6738# Transform an extracted symbol line into a proper C declaration. 6739# Some systems (esp. on ia64) link data and code symbols differently, 6740# so use this general approach. 6741lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6742 6743# Transform an extracted symbol line into symbol name and symbol address 6744lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6745lt_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'" 6746 6747# Handle CRLF in mingw tool chain 6748opt_cr= 6749case $build_os in 6750mingw*) 6751 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6752 ;; 6753esac 6754 6755# Try without a prefix underscore, then with it. 6756for ac_symprfx in "" "_"; do 6757 6758 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6759 symxfrm="\\1 $ac_symprfx\\2 \\2" 6760 6761 # Write the raw and C identifiers. 6762 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6763 # Fake it for dumpbin and say T for any non-static function 6764 # and D for any global variable. 6765 # Also find C++ and __fastcall symbols from MSVC++, 6766 # which start with @ or ?. 6767 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6768" {last_section=section; section=\$ 3};"\ 6769" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6770" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6771" \$ 0!~/External *\|/{next};"\ 6772" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6773" {if(hide[section]) next};"\ 6774" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6775" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6776" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6777" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6778" ' prfx=^$ac_symprfx" 6779 else 6780 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6781 fi 6782 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6783 6784 # Check to see that the pipe works correctly. 6785 pipe_works=no 6786 6787 rm -f conftest* 6788 cat > conftest.$ac_ext <<_LT_EOF 6789#ifdef __cplusplus 6790extern "C" { 6791#endif 6792char nm_test_var; 6793void nm_test_func(void); 6794void nm_test_func(void){} 6795#ifdef __cplusplus 6796} 6797#endif 6798int main(){nm_test_var='a';nm_test_func();return(0);} 6799_LT_EOF 6800 6801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6802 (eval $ac_compile) 2>&5 6803 ac_status=$? 6804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6805 test $ac_status = 0; }; then 6806 # Now try to grab the symbols. 6807 nlist=conftest.nm 6808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6809 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6810 ac_status=$? 6811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6812 test $ac_status = 0; } && test -s "$nlist"; then 6813 # Try sorting and uniquifying the output. 6814 if sort "$nlist" | uniq > "$nlist"T; then 6815 mv -f "$nlist"T "$nlist" 6816 else 6817 rm -f "$nlist"T 6818 fi 6819 6820 # Make sure that we snagged all the symbols we need. 6821 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6822 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6823 cat <<_LT_EOF > conftest.$ac_ext 6824/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6825#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6826/* DATA imports from DLLs on WIN32 con't be const, because runtime 6827 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6828# define LT_DLSYM_CONST 6829#elif defined(__osf__) 6830/* This system does not cope well with relocations in const data. */ 6831# define LT_DLSYM_CONST 6832#else 6833# define LT_DLSYM_CONST const 6834#endif 6835 6836#ifdef __cplusplus 6837extern "C" { 6838#endif 6839 6840_LT_EOF 6841 # Now generate the symbol file. 6842 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6843 6844 cat <<_LT_EOF >> conftest.$ac_ext 6845 6846/* The mapping between symbol names and symbols. */ 6847LT_DLSYM_CONST struct { 6848 const char *name; 6849 void *address; 6850} 6851lt__PROGRAM__LTX_preloaded_symbols[] = 6852{ 6853 { "@PROGRAM@", (void *) 0 }, 6854_LT_EOF 6855 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6856 cat <<\_LT_EOF >> conftest.$ac_ext 6857 {0, (void *) 0} 6858}; 6859 6860/* This works around a problem in FreeBSD linker */ 6861#ifdef FREEBSD_WORKAROUND 6862static const void *lt_preloaded_setup() { 6863 return lt__PROGRAM__LTX_preloaded_symbols; 6864} 6865#endif 6866 6867#ifdef __cplusplus 6868} 6869#endif 6870_LT_EOF 6871 # Now try linking the two files. 6872 mv conftest.$ac_objext conftstm.$ac_objext 6873 lt_globsym_save_LIBS=$LIBS 6874 lt_globsym_save_CFLAGS=$CFLAGS 6875 LIBS="conftstm.$ac_objext" 6876 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6878 (eval $ac_link) 2>&5 6879 ac_status=$? 6880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6881 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6882 pipe_works=yes 6883 fi 6884 LIBS=$lt_globsym_save_LIBS 6885 CFLAGS=$lt_globsym_save_CFLAGS 6886 else 6887 echo "cannot find nm_test_func in $nlist" >&5 6888 fi 6889 else 6890 echo "cannot find nm_test_var in $nlist" >&5 6891 fi 6892 else 6893 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6894 fi 6895 else 6896 echo "$progname: failed program was:" >&5 6897 cat conftest.$ac_ext >&5 6898 fi 6899 rm -rf conftest* conftst* 6900 6901 # Do not use the global_symbol_pipe unless it works. 6902 if test "$pipe_works" = yes; then 6903 break 6904 else 6905 lt_cv_sys_global_symbol_pipe= 6906 fi 6907done 6908 6909fi 6910 6911if test -z "$lt_cv_sys_global_symbol_pipe"; then 6912 lt_cv_sys_global_symbol_to_cdecl= 6913fi 6914if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6916$as_echo "failed" >&6; } 6917else 6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6919$as_echo "ok" >&6; } 6920fi 6921 6922# Response file support. 6923if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6924 nm_file_list_spec='@' 6925elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6926 nm_file_list_spec='@' 6927fi 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6956$as_echo_n "checking for sysroot... " >&6; } 6957 6958# Check whether --with-sysroot was given. 6959if test "${with_sysroot+set}" = set; then : 6960 withval=$with_sysroot; 6961else 6962 with_sysroot=no 6963fi 6964 6965 6966lt_sysroot= 6967case ${with_sysroot} in #( 6968 yes) 6969 if test "$GCC" = yes; then 6970 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6971 fi 6972 ;; #( 6973 /*) 6974 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6975 ;; #( 6976 no|'') 6977 ;; #( 6978 *) 6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6980$as_echo "${with_sysroot}" >&6; } 6981 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6982 ;; 6983esac 6984 6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6986$as_echo "${lt_sysroot:-no}" >&6; } 6987 6988 6989 6990 6991 6992# Check whether --enable-libtool-lock was given. 6993if test "${enable_libtool_lock+set}" = set; then : 6994 enableval=$enable_libtool_lock; 6995fi 6996 6997test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6998 6999# Some flags need to be propagated to the compiler or linker for good 7000# libtool support. 7001case $host in 7002ia64-*-hpux*) 7003 # Find out which ABI we are using. 7004 echo 'int i;' > conftest.$ac_ext 7005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7006 (eval $ac_compile) 2>&5 7007 ac_status=$? 7008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7009 test $ac_status = 0; }; then 7010 case `/usr/bin/file conftest.$ac_objext` in 7011 *ELF-32*) 7012 HPUX_IA64_MODE="32" 7013 ;; 7014 *ELF-64*) 7015 HPUX_IA64_MODE="64" 7016 ;; 7017 esac 7018 fi 7019 rm -rf conftest* 7020 ;; 7021*-*-irix6*) 7022 # Find out which ABI we are using. 7023 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7025 (eval $ac_compile) 2>&5 7026 ac_status=$? 7027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7028 test $ac_status = 0; }; then 7029 if test "$lt_cv_prog_gnu_ld" = yes; then 7030 case `/usr/bin/file conftest.$ac_objext` in 7031 *32-bit*) 7032 LD="${LD-ld} -melf32bsmip" 7033 ;; 7034 *N32*) 7035 LD="${LD-ld} -melf32bmipn32" 7036 ;; 7037 *64-bit*) 7038 LD="${LD-ld} -melf64bmip" 7039 ;; 7040 esac 7041 else 7042 case `/usr/bin/file conftest.$ac_objext` in 7043 *32-bit*) 7044 LD="${LD-ld} -32" 7045 ;; 7046 *N32*) 7047 LD="${LD-ld} -n32" 7048 ;; 7049 *64-bit*) 7050 LD="${LD-ld} -64" 7051 ;; 7052 esac 7053 fi 7054 fi 7055 rm -rf conftest* 7056 ;; 7057 7058x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7059s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7060 # Find out which ABI we are using. 7061 echo 'int i;' > conftest.$ac_ext 7062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7063 (eval $ac_compile) 2>&5 7064 ac_status=$? 7065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7066 test $ac_status = 0; }; then 7067 case `/usr/bin/file conftest.o` in 7068 *32-bit*) 7069 case $host in 7070 x86_64-*kfreebsd*-gnu) 7071 LD="${LD-ld} -m elf_i386_fbsd" 7072 ;; 7073 x86_64-*linux*) 7074 case `/usr/bin/file conftest.o` in 7075 *x86-64*) 7076 LD="${LD-ld} -m elf32_x86_64" 7077 ;; 7078 *) 7079 LD="${LD-ld} -m elf_i386" 7080 ;; 7081 esac 7082 ;; 7083 powerpc64le-*) 7084 LD="${LD-ld} -m elf32lppclinux" 7085 ;; 7086 powerpc64-*) 7087 LD="${LD-ld} -m elf32ppclinux" 7088 ;; 7089 s390x-*linux*) 7090 LD="${LD-ld} -m elf_s390" 7091 ;; 7092 sparc64-*linux*) 7093 LD="${LD-ld} -m elf32_sparc" 7094 ;; 7095 esac 7096 ;; 7097 *64-bit*) 7098 case $host in 7099 x86_64-*kfreebsd*-gnu) 7100 LD="${LD-ld} -m elf_x86_64_fbsd" 7101 ;; 7102 x86_64-*linux*) 7103 LD="${LD-ld} -m elf_x86_64" 7104 ;; 7105 powerpcle-*) 7106 LD="${LD-ld} -m elf64lppc" 7107 ;; 7108 powerpc-*) 7109 LD="${LD-ld} -m elf64ppc" 7110 ;; 7111 s390*-*linux*|s390*-*tpf*) 7112 LD="${LD-ld} -m elf64_s390" 7113 ;; 7114 sparc*-*linux*) 7115 LD="${LD-ld} -m elf64_sparc" 7116 ;; 7117 esac 7118 ;; 7119 esac 7120 fi 7121 rm -rf conftest* 7122 ;; 7123 7124*-*-sco3.2v5*) 7125 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7126 SAVE_CFLAGS="$CFLAGS" 7127 CFLAGS="$CFLAGS -belf" 7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7129$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7130if ${lt_cv_cc_needs_belf+:} false; then : 7131 $as_echo_n "(cached) " >&6 7132else 7133 ac_ext=c 7134ac_cpp='$CPP $CPPFLAGS' 7135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7137ac_compiler_gnu=$ac_cv_c_compiler_gnu 7138 7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7140/* end confdefs.h. */ 7141 7142int 7143main () 7144{ 7145 7146 ; 7147 return 0; 7148} 7149_ACEOF 7150if ac_fn_c_try_link "$LINENO"; then : 7151 lt_cv_cc_needs_belf=yes 7152else 7153 lt_cv_cc_needs_belf=no 7154fi 7155rm -f core conftest.err conftest.$ac_objext \ 7156 conftest$ac_exeext conftest.$ac_ext 7157 ac_ext=c 7158ac_cpp='$CPP $CPPFLAGS' 7159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7161ac_compiler_gnu=$ac_cv_c_compiler_gnu 7162 7163fi 7164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7165$as_echo "$lt_cv_cc_needs_belf" >&6; } 7166 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7167 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7168 CFLAGS="$SAVE_CFLAGS" 7169 fi 7170 ;; 7171*-*solaris*) 7172 # Find out which ABI we are using. 7173 echo 'int i;' > conftest.$ac_ext 7174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7175 (eval $ac_compile) 2>&5 7176 ac_status=$? 7177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7178 test $ac_status = 0; }; then 7179 case `/usr/bin/file conftest.o` in 7180 *64-bit*) 7181 case $lt_cv_prog_gnu_ld in 7182 yes*) 7183 case $host in 7184 i?86-*-solaris*) 7185 LD="${LD-ld} -m elf_x86_64" 7186 ;; 7187 sparc*-*-solaris*) 7188 LD="${LD-ld} -m elf64_sparc" 7189 ;; 7190 esac 7191 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7192 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7193 LD="${LD-ld}_sol2" 7194 fi 7195 ;; 7196 *) 7197 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7198 LD="${LD-ld} -64" 7199 fi 7200 ;; 7201 esac 7202 ;; 7203 esac 7204 fi 7205 rm -rf conftest* 7206 ;; 7207esac 7208 7209need_locks="$enable_libtool_lock" 7210 7211if test -n "$ac_tool_prefix"; then 7212 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7213set dummy ${ac_tool_prefix}mt; ac_word=$2 7214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7215$as_echo_n "checking for $ac_word... " >&6; } 7216if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7217 $as_echo_n "(cached) " >&6 7218else 7219 if test -n "$MANIFEST_TOOL"; then 7220 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7221else 7222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7223for as_dir in $PATH 7224do 7225 IFS=$as_save_IFS 7226 test -z "$as_dir" && as_dir=. 7227 for ac_exec_ext in '' $ac_executable_extensions; do 7228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7229 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7231 break 2 7232 fi 7233done 7234 done 7235IFS=$as_save_IFS 7236 7237fi 7238fi 7239MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7240if test -n "$MANIFEST_TOOL"; then 7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7242$as_echo "$MANIFEST_TOOL" >&6; } 7243else 7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7245$as_echo "no" >&6; } 7246fi 7247 7248 7249fi 7250if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7251 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7252 # Extract the first word of "mt", so it can be a program name with args. 7253set dummy mt; ac_word=$2 7254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7255$as_echo_n "checking for $ac_word... " >&6; } 7256if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7257 $as_echo_n "(cached) " >&6 7258else 7259 if test -n "$ac_ct_MANIFEST_TOOL"; then 7260 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7261else 7262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7263for as_dir in $PATH 7264do 7265 IFS=$as_save_IFS 7266 test -z "$as_dir" && as_dir=. 7267 for ac_exec_ext in '' $ac_executable_extensions; do 7268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7269 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7271 break 2 7272 fi 7273done 7274 done 7275IFS=$as_save_IFS 7276 7277fi 7278fi 7279ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7280if test -n "$ac_ct_MANIFEST_TOOL"; then 7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7282$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7283else 7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7285$as_echo "no" >&6; } 7286fi 7287 7288 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7289 MANIFEST_TOOL=":" 7290 else 7291 case $cross_compiling:$ac_tool_warned in 7292yes:) 7293{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7294$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7295ac_tool_warned=yes ;; 7296esac 7297 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7298 fi 7299else 7300 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7301fi 7302 7303test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7305$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7306if ${lt_cv_path_mainfest_tool+:} false; then : 7307 $as_echo_n "(cached) " >&6 7308else 7309 lt_cv_path_mainfest_tool=no 7310 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7311 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7312 cat conftest.err >&5 7313 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7314 lt_cv_path_mainfest_tool=yes 7315 fi 7316 rm -f conftest* 7317fi 7318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7319$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7320if test "x$lt_cv_path_mainfest_tool" != xyes; then 7321 MANIFEST_TOOL=: 7322fi 7323 7324 7325 7326 7327 7328 7329 case $host_os in 7330 rhapsody* | darwin*) 7331 if test -n "$ac_tool_prefix"; then 7332 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7333set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7335$as_echo_n "checking for $ac_word... " >&6; } 7336if ${ac_cv_prog_DSYMUTIL+:} false; then : 7337 $as_echo_n "(cached) " >&6 7338else 7339 if test -n "$DSYMUTIL"; then 7340 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7341else 7342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7343for as_dir in $PATH 7344do 7345 IFS=$as_save_IFS 7346 test -z "$as_dir" && as_dir=. 7347 for ac_exec_ext in '' $ac_executable_extensions; do 7348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7349 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7351 break 2 7352 fi 7353done 7354 done 7355IFS=$as_save_IFS 7356 7357fi 7358fi 7359DSYMUTIL=$ac_cv_prog_DSYMUTIL 7360if test -n "$DSYMUTIL"; then 7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7362$as_echo "$DSYMUTIL" >&6; } 7363else 7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7365$as_echo "no" >&6; } 7366fi 7367 7368 7369fi 7370if test -z "$ac_cv_prog_DSYMUTIL"; then 7371 ac_ct_DSYMUTIL=$DSYMUTIL 7372 # Extract the first word of "dsymutil", so it can be a program name with args. 7373set dummy dsymutil; ac_word=$2 7374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7375$as_echo_n "checking for $ac_word... " >&6; } 7376if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7377 $as_echo_n "(cached) " >&6 7378else 7379 if test -n "$ac_ct_DSYMUTIL"; then 7380 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7381else 7382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7383for as_dir in $PATH 7384do 7385 IFS=$as_save_IFS 7386 test -z "$as_dir" && as_dir=. 7387 for ac_exec_ext in '' $ac_executable_extensions; do 7388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7389 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7391 break 2 7392 fi 7393done 7394 done 7395IFS=$as_save_IFS 7396 7397fi 7398fi 7399ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7400if test -n "$ac_ct_DSYMUTIL"; then 7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7402$as_echo "$ac_ct_DSYMUTIL" >&6; } 7403else 7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7405$as_echo "no" >&6; } 7406fi 7407 7408 if test "x$ac_ct_DSYMUTIL" = x; then 7409 DSYMUTIL=":" 7410 else 7411 case $cross_compiling:$ac_tool_warned in 7412yes:) 7413{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7414$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7415ac_tool_warned=yes ;; 7416esac 7417 DSYMUTIL=$ac_ct_DSYMUTIL 7418 fi 7419else 7420 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7421fi 7422 7423 if test -n "$ac_tool_prefix"; then 7424 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7425set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7427$as_echo_n "checking for $ac_word... " >&6; } 7428if ${ac_cv_prog_NMEDIT+:} false; then : 7429 $as_echo_n "(cached) " >&6 7430else 7431 if test -n "$NMEDIT"; then 7432 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7433else 7434as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7435for as_dir in $PATH 7436do 7437 IFS=$as_save_IFS 7438 test -z "$as_dir" && as_dir=. 7439 for ac_exec_ext in '' $ac_executable_extensions; do 7440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7441 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7443 break 2 7444 fi 7445done 7446 done 7447IFS=$as_save_IFS 7448 7449fi 7450fi 7451NMEDIT=$ac_cv_prog_NMEDIT 7452if test -n "$NMEDIT"; then 7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7454$as_echo "$NMEDIT" >&6; } 7455else 7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7457$as_echo "no" >&6; } 7458fi 7459 7460 7461fi 7462if test -z "$ac_cv_prog_NMEDIT"; then 7463 ac_ct_NMEDIT=$NMEDIT 7464 # Extract the first word of "nmedit", so it can be a program name with args. 7465set dummy nmedit; ac_word=$2 7466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7467$as_echo_n "checking for $ac_word... " >&6; } 7468if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7469 $as_echo_n "(cached) " >&6 7470else 7471 if test -n "$ac_ct_NMEDIT"; then 7472 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7473else 7474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7475for as_dir in $PATH 7476do 7477 IFS=$as_save_IFS 7478 test -z "$as_dir" && as_dir=. 7479 for ac_exec_ext in '' $ac_executable_extensions; do 7480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7481 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7483 break 2 7484 fi 7485done 7486 done 7487IFS=$as_save_IFS 7488 7489fi 7490fi 7491ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7492if test -n "$ac_ct_NMEDIT"; then 7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7494$as_echo "$ac_ct_NMEDIT" >&6; } 7495else 7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7497$as_echo "no" >&6; } 7498fi 7499 7500 if test "x$ac_ct_NMEDIT" = x; then 7501 NMEDIT=":" 7502 else 7503 case $cross_compiling:$ac_tool_warned in 7504yes:) 7505{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7506$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7507ac_tool_warned=yes ;; 7508esac 7509 NMEDIT=$ac_ct_NMEDIT 7510 fi 7511else 7512 NMEDIT="$ac_cv_prog_NMEDIT" 7513fi 7514 7515 if test -n "$ac_tool_prefix"; then 7516 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7517set dummy ${ac_tool_prefix}lipo; ac_word=$2 7518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7519$as_echo_n "checking for $ac_word... " >&6; } 7520if ${ac_cv_prog_LIPO+:} false; then : 7521 $as_echo_n "(cached) " >&6 7522else 7523 if test -n "$LIPO"; then 7524 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7525else 7526as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7527for as_dir in $PATH 7528do 7529 IFS=$as_save_IFS 7530 test -z "$as_dir" && as_dir=. 7531 for ac_exec_ext in '' $ac_executable_extensions; do 7532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7533 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7535 break 2 7536 fi 7537done 7538 done 7539IFS=$as_save_IFS 7540 7541fi 7542fi 7543LIPO=$ac_cv_prog_LIPO 7544if test -n "$LIPO"; then 7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7546$as_echo "$LIPO" >&6; } 7547else 7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7549$as_echo "no" >&6; } 7550fi 7551 7552 7553fi 7554if test -z "$ac_cv_prog_LIPO"; then 7555 ac_ct_LIPO=$LIPO 7556 # Extract the first word of "lipo", so it can be a program name with args. 7557set dummy lipo; ac_word=$2 7558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7559$as_echo_n "checking for $ac_word... " >&6; } 7560if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7561 $as_echo_n "(cached) " >&6 7562else 7563 if test -n "$ac_ct_LIPO"; then 7564 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7565else 7566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7567for as_dir in $PATH 7568do 7569 IFS=$as_save_IFS 7570 test -z "$as_dir" && as_dir=. 7571 for ac_exec_ext in '' $ac_executable_extensions; do 7572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7573 ac_cv_prog_ac_ct_LIPO="lipo" 7574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7575 break 2 7576 fi 7577done 7578 done 7579IFS=$as_save_IFS 7580 7581fi 7582fi 7583ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7584if test -n "$ac_ct_LIPO"; then 7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7586$as_echo "$ac_ct_LIPO" >&6; } 7587else 7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7589$as_echo "no" >&6; } 7590fi 7591 7592 if test "x$ac_ct_LIPO" = x; then 7593 LIPO=":" 7594 else 7595 case $cross_compiling:$ac_tool_warned in 7596yes:) 7597{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7598$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7599ac_tool_warned=yes ;; 7600esac 7601 LIPO=$ac_ct_LIPO 7602 fi 7603else 7604 LIPO="$ac_cv_prog_LIPO" 7605fi 7606 7607 if test -n "$ac_tool_prefix"; then 7608 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7609set dummy ${ac_tool_prefix}otool; ac_word=$2 7610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7611$as_echo_n "checking for $ac_word... " >&6; } 7612if ${ac_cv_prog_OTOOL+:} false; then : 7613 $as_echo_n "(cached) " >&6 7614else 7615 if test -n "$OTOOL"; then 7616 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7617else 7618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7619for as_dir in $PATH 7620do 7621 IFS=$as_save_IFS 7622 test -z "$as_dir" && as_dir=. 7623 for ac_exec_ext in '' $ac_executable_extensions; do 7624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7625 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7627 break 2 7628 fi 7629done 7630 done 7631IFS=$as_save_IFS 7632 7633fi 7634fi 7635OTOOL=$ac_cv_prog_OTOOL 7636if test -n "$OTOOL"; then 7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7638$as_echo "$OTOOL" >&6; } 7639else 7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7641$as_echo "no" >&6; } 7642fi 7643 7644 7645fi 7646if test -z "$ac_cv_prog_OTOOL"; then 7647 ac_ct_OTOOL=$OTOOL 7648 # Extract the first word of "otool", so it can be a program name with args. 7649set dummy otool; ac_word=$2 7650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7651$as_echo_n "checking for $ac_word... " >&6; } 7652if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7653 $as_echo_n "(cached) " >&6 7654else 7655 if test -n "$ac_ct_OTOOL"; then 7656 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7657else 7658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7659for as_dir in $PATH 7660do 7661 IFS=$as_save_IFS 7662 test -z "$as_dir" && as_dir=. 7663 for ac_exec_ext in '' $ac_executable_extensions; do 7664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7665 ac_cv_prog_ac_ct_OTOOL="otool" 7666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7667 break 2 7668 fi 7669done 7670 done 7671IFS=$as_save_IFS 7672 7673fi 7674fi 7675ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7676if test -n "$ac_ct_OTOOL"; then 7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7678$as_echo "$ac_ct_OTOOL" >&6; } 7679else 7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7681$as_echo "no" >&6; } 7682fi 7683 7684 if test "x$ac_ct_OTOOL" = x; then 7685 OTOOL=":" 7686 else 7687 case $cross_compiling:$ac_tool_warned in 7688yes:) 7689{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7690$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7691ac_tool_warned=yes ;; 7692esac 7693 OTOOL=$ac_ct_OTOOL 7694 fi 7695else 7696 OTOOL="$ac_cv_prog_OTOOL" 7697fi 7698 7699 if test -n "$ac_tool_prefix"; then 7700 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7701set dummy ${ac_tool_prefix}otool64; ac_word=$2 7702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7703$as_echo_n "checking for $ac_word... " >&6; } 7704if ${ac_cv_prog_OTOOL64+:} false; then : 7705 $as_echo_n "(cached) " >&6 7706else 7707 if test -n "$OTOOL64"; then 7708 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7709else 7710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7711for as_dir in $PATH 7712do 7713 IFS=$as_save_IFS 7714 test -z "$as_dir" && as_dir=. 7715 for ac_exec_ext in '' $ac_executable_extensions; do 7716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7717 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7719 break 2 7720 fi 7721done 7722 done 7723IFS=$as_save_IFS 7724 7725fi 7726fi 7727OTOOL64=$ac_cv_prog_OTOOL64 7728if test -n "$OTOOL64"; then 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7730$as_echo "$OTOOL64" >&6; } 7731else 7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7733$as_echo "no" >&6; } 7734fi 7735 7736 7737fi 7738if test -z "$ac_cv_prog_OTOOL64"; then 7739 ac_ct_OTOOL64=$OTOOL64 7740 # Extract the first word of "otool64", so it can be a program name with args. 7741set dummy otool64; ac_word=$2 7742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7743$as_echo_n "checking for $ac_word... " >&6; } 7744if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7745 $as_echo_n "(cached) " >&6 7746else 7747 if test -n "$ac_ct_OTOOL64"; then 7748 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7749else 7750as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7751for as_dir in $PATH 7752do 7753 IFS=$as_save_IFS 7754 test -z "$as_dir" && as_dir=. 7755 for ac_exec_ext in '' $ac_executable_extensions; do 7756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7757 ac_cv_prog_ac_ct_OTOOL64="otool64" 7758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7759 break 2 7760 fi 7761done 7762 done 7763IFS=$as_save_IFS 7764 7765fi 7766fi 7767ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7768if test -n "$ac_ct_OTOOL64"; then 7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7770$as_echo "$ac_ct_OTOOL64" >&6; } 7771else 7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7773$as_echo "no" >&6; } 7774fi 7775 7776 if test "x$ac_ct_OTOOL64" = x; then 7777 OTOOL64=":" 7778 else 7779 case $cross_compiling:$ac_tool_warned in 7780yes:) 7781{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7782$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7783ac_tool_warned=yes ;; 7784esac 7785 OTOOL64=$ac_ct_OTOOL64 7786 fi 7787else 7788 OTOOL64="$ac_cv_prog_OTOOL64" 7789fi 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7818$as_echo_n "checking for -single_module linker flag... " >&6; } 7819if ${lt_cv_apple_cc_single_mod+:} false; then : 7820 $as_echo_n "(cached) " >&6 7821else 7822 lt_cv_apple_cc_single_mod=no 7823 if test -z "${LT_MULTI_MODULE}"; then 7824 # By default we will add the -single_module flag. You can override 7825 # by either setting the environment variable LT_MULTI_MODULE 7826 # non-empty at configure time, or by adding -multi_module to the 7827 # link flags. 7828 rm -rf libconftest.dylib* 7829 echo "int foo(void){return 1;}" > conftest.c 7830 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7831-dynamiclib -Wl,-single_module conftest.c" >&5 7832 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7833 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7834 _lt_result=$? 7835 # If there is a non-empty error log, and "single_module" 7836 # appears in it, assume the flag caused a linker warning 7837 if test -s conftest.err && $GREP single_module conftest.err; then 7838 cat conftest.err >&5 7839 # Otherwise, if the output was created with a 0 exit code from 7840 # the compiler, it worked. 7841 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7842 lt_cv_apple_cc_single_mod=yes 7843 else 7844 cat conftest.err >&5 7845 fi 7846 rm -rf libconftest.dylib* 7847 rm -f conftest.* 7848 fi 7849fi 7850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7851$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7852 7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7854$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7855if ${lt_cv_ld_exported_symbols_list+:} false; then : 7856 $as_echo_n "(cached) " >&6 7857else 7858 lt_cv_ld_exported_symbols_list=no 7859 save_LDFLAGS=$LDFLAGS 7860 echo "_main" > conftest.sym 7861 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7863/* end confdefs.h. */ 7864 7865int 7866main () 7867{ 7868 7869 ; 7870 return 0; 7871} 7872_ACEOF 7873if ac_fn_c_try_link "$LINENO"; then : 7874 lt_cv_ld_exported_symbols_list=yes 7875else 7876 lt_cv_ld_exported_symbols_list=no 7877fi 7878rm -f core conftest.err conftest.$ac_objext \ 7879 conftest$ac_exeext conftest.$ac_ext 7880 LDFLAGS="$save_LDFLAGS" 7881 7882fi 7883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7884$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7885 7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7887$as_echo_n "checking for -force_load linker flag... " >&6; } 7888if ${lt_cv_ld_force_load+:} false; then : 7889 $as_echo_n "(cached) " >&6 7890else 7891 lt_cv_ld_force_load=no 7892 cat > conftest.c << _LT_EOF 7893int forced_loaded() { return 2;} 7894_LT_EOF 7895 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7896 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7897 echo "$AR cru libconftest.a conftest.o" >&5 7898 $AR cru libconftest.a conftest.o 2>&5 7899 echo "$RANLIB libconftest.a" >&5 7900 $RANLIB libconftest.a 2>&5 7901 cat > conftest.c << _LT_EOF 7902int main() { return 0;} 7903_LT_EOF 7904 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7905 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7906 _lt_result=$? 7907 if test -s conftest.err && $GREP force_load conftest.err; then 7908 cat conftest.err >&5 7909 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7910 lt_cv_ld_force_load=yes 7911 else 7912 cat conftest.err >&5 7913 fi 7914 rm -f conftest.err libconftest.a conftest conftest.c 7915 rm -rf conftest.dSYM 7916 7917fi 7918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7919$as_echo "$lt_cv_ld_force_load" >&6; } 7920 case $host_os in 7921 rhapsody* | darwin1.[012]) 7922 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7923 darwin1.*) 7924 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7925 darwin*) # darwin 5.x on 7926 # if running on 10.5 or later, the deployment target defaults 7927 # to the OS version, if on x86, and 10.4, the deployment 7928 # target defaults to 10.4. Don't you love it? 7929 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7930 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7931 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7932 10.[012]*) 7933 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7934 10.*) 7935 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7936 esac 7937 ;; 7938 esac 7939 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7940 _lt_dar_single_mod='$single_module' 7941 fi 7942 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7943 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7944 else 7945 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7946 fi 7947 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7948 _lt_dsymutil='~$DSYMUTIL $lib || :' 7949 else 7950 _lt_dsymutil= 7951 fi 7952 ;; 7953 esac 7954 7955# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7956for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7957 inttypes.h stdint.h unistd.h 7958do : 7959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7960ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7961" 7962if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7963 cat >>confdefs.h <<_ACEOF 7964#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7965_ACEOF 7966 7967fi 7968 7969done 7970 7971 7972for ac_header in dlfcn.h 7973do : 7974 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7975" 7976if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7977 cat >>confdefs.h <<_ACEOF 7978#define HAVE_DLFCN_H 1 7979_ACEOF 7980 7981fi 7982 7983done 7984 7985 7986 7987 7988func_stripname_cnf () 7989{ 7990 case ${2} in 7991 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 7992 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 7993 esac 7994} # func_stripname_cnf 7995 7996 7997 7998 7999 8000# Set options 8001 8002 8003 8004 enable_dlopen=no 8005 8006 8007 enable_win32_dll=no 8008 8009 8010 # Check whether --enable-shared was given. 8011if test "${enable_shared+set}" = set; then : 8012 enableval=$enable_shared; p=${PACKAGE-default} 8013 case $enableval in 8014 yes) enable_shared=yes ;; 8015 no) enable_shared=no ;; 8016 *) 8017 enable_shared=no 8018 # Look at the argument we got. We use all the common list separators. 8019 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8020 for pkg in $enableval; do 8021 IFS="$lt_save_ifs" 8022 if test "X$pkg" = "X$p"; then 8023 enable_shared=yes 8024 fi 8025 done 8026 IFS="$lt_save_ifs" 8027 ;; 8028 esac 8029else 8030 enable_shared=yes 8031fi 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 # Check whether --enable-static was given. 8042if test "${enable_static+set}" = set; then : 8043 enableval=$enable_static; p=${PACKAGE-default} 8044 case $enableval in 8045 yes) enable_static=yes ;; 8046 no) enable_static=no ;; 8047 *) 8048 enable_static=no 8049 # Look at the argument we got. We use all the common list separators. 8050 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8051 for pkg in $enableval; do 8052 IFS="$lt_save_ifs" 8053 if test "X$pkg" = "X$p"; then 8054 enable_static=yes 8055 fi 8056 done 8057 IFS="$lt_save_ifs" 8058 ;; 8059 esac 8060else 8061 enable_static=yes 8062fi 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073# Check whether --with-pic was given. 8074if test "${with_pic+set}" = set; then : 8075 withval=$with_pic; lt_p=${PACKAGE-default} 8076 case $withval in 8077 yes|no) pic_mode=$withval ;; 8078 *) 8079 pic_mode=default 8080 # Look at the argument we got. We use all the common list separators. 8081 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8082 for lt_pkg in $withval; do 8083 IFS="$lt_save_ifs" 8084 if test "X$lt_pkg" = "X$lt_p"; then 8085 pic_mode=yes 8086 fi 8087 done 8088 IFS="$lt_save_ifs" 8089 ;; 8090 esac 8091else 8092 pic_mode=default 8093fi 8094 8095 8096test -z "$pic_mode" && pic_mode=default 8097 8098 8099 8100 8101 8102 8103 8104 # Check whether --enable-fast-install was given. 8105if test "${enable_fast_install+set}" = set; then : 8106 enableval=$enable_fast_install; p=${PACKAGE-default} 8107 case $enableval in 8108 yes) enable_fast_install=yes ;; 8109 no) enable_fast_install=no ;; 8110 *) 8111 enable_fast_install=no 8112 # Look at the argument we got. We use all the common list separators. 8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8114 for pkg in $enableval; do 8115 IFS="$lt_save_ifs" 8116 if test "X$pkg" = "X$p"; then 8117 enable_fast_install=yes 8118 fi 8119 done 8120 IFS="$lt_save_ifs" 8121 ;; 8122 esac 8123else 8124 enable_fast_install=yes 8125fi 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137# This can be used to rebuild libtool when needed 8138LIBTOOL_DEPS="$ltmain" 8139 8140# Always use our own libtool. 8141LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172test -z "$LN_S" && LN_S="ln -s" 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187if test -n "${ZSH_VERSION+set}" ; then 8188 setopt NO_GLOB_SUBST 8189fi 8190 8191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8192$as_echo_n "checking for objdir... " >&6; } 8193if ${lt_cv_objdir+:} false; then : 8194 $as_echo_n "(cached) " >&6 8195else 8196 rm -f .libs 2>/dev/null 8197mkdir .libs 2>/dev/null 8198if test -d .libs; then 8199 lt_cv_objdir=.libs 8200else 8201 # MS-DOS does not allow filenames that begin with a dot. 8202 lt_cv_objdir=_libs 8203fi 8204rmdir .libs 2>/dev/null 8205fi 8206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8207$as_echo "$lt_cv_objdir" >&6; } 8208objdir=$lt_cv_objdir 8209 8210 8211 8212 8213 8214cat >>confdefs.h <<_ACEOF 8215#define LT_OBJDIR "$lt_cv_objdir/" 8216_ACEOF 8217 8218 8219 8220 8221case $host_os in 8222aix3*) 8223 # AIX sometimes has problems with the GCC collect2 program. For some 8224 # reason, if we set the COLLECT_NAMES environment variable, the problems 8225 # vanish in a puff of smoke. 8226 if test "X${COLLECT_NAMES+set}" != Xset; then 8227 COLLECT_NAMES= 8228 export COLLECT_NAMES 8229 fi 8230 ;; 8231esac 8232 8233# Global variables: 8234ofile=libtool 8235can_build_shared=yes 8236 8237# All known linkers require a `.a' archive for static linking (except MSVC, 8238# which needs '.lib'). 8239libext=a 8240 8241with_gnu_ld="$lt_cv_prog_gnu_ld" 8242 8243old_CC="$CC" 8244old_CFLAGS="$CFLAGS" 8245 8246# Set sane defaults for various variables 8247test -z "$CC" && CC=cc 8248test -z "$LTCC" && LTCC=$CC 8249test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8250test -z "$LD" && LD=ld 8251test -z "$ac_objext" && ac_objext=o 8252 8253for cc_temp in $compiler""; do 8254 case $cc_temp in 8255 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8256 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8257 \-*) ;; 8258 *) break;; 8259 esac 8260done 8261cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8262 8263 8264# Only perform the check for file, if the check method requires it 8265test -z "$MAGIC_CMD" && MAGIC_CMD=file 8266case $deplibs_check_method in 8267file_magic*) 8268 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8270$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8271if ${lt_cv_path_MAGIC_CMD+:} false; then : 8272 $as_echo_n "(cached) " >&6 8273else 8274 case $MAGIC_CMD in 8275[\\/*] | ?:[\\/]*) 8276 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8277 ;; 8278*) 8279 lt_save_MAGIC_CMD="$MAGIC_CMD" 8280 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8281 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8282 for ac_dir in $ac_dummy; do 8283 IFS="$lt_save_ifs" 8284 test -z "$ac_dir" && ac_dir=. 8285 if test -f $ac_dir/${ac_tool_prefix}file; then 8286 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8287 if test -n "$file_magic_test_file"; then 8288 case $deplibs_check_method in 8289 "file_magic "*) 8290 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8292 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8293 $EGREP "$file_magic_regex" > /dev/null; then 8294 : 8295 else 8296 cat <<_LT_EOF 1>&2 8297 8298*** Warning: the command libtool uses to detect shared libraries, 8299*** $file_magic_cmd, produces output that libtool cannot recognize. 8300*** The result is that libtool may fail to recognize shared libraries 8301*** as such. This will affect the creation of libtool libraries that 8302*** depend on shared libraries, but programs linked with such libtool 8303*** libraries will work regardless of this problem. Nevertheless, you 8304*** may want to report the problem to your system manager and/or to 8305*** bug-libtool@gnu.org 8306 8307_LT_EOF 8308 fi ;; 8309 esac 8310 fi 8311 break 8312 fi 8313 done 8314 IFS="$lt_save_ifs" 8315 MAGIC_CMD="$lt_save_MAGIC_CMD" 8316 ;; 8317esac 8318fi 8319 8320MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8321if test -n "$MAGIC_CMD"; then 8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8323$as_echo "$MAGIC_CMD" >&6; } 8324else 8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8326$as_echo "no" >&6; } 8327fi 8328 8329 8330 8331 8332 8333if test -z "$lt_cv_path_MAGIC_CMD"; then 8334 if test -n "$ac_tool_prefix"; then 8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8336$as_echo_n "checking for file... " >&6; } 8337if ${lt_cv_path_MAGIC_CMD+:} false; then : 8338 $as_echo_n "(cached) " >&6 8339else 8340 case $MAGIC_CMD in 8341[\\/*] | ?:[\\/]*) 8342 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8343 ;; 8344*) 8345 lt_save_MAGIC_CMD="$MAGIC_CMD" 8346 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8347 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8348 for ac_dir in $ac_dummy; do 8349 IFS="$lt_save_ifs" 8350 test -z "$ac_dir" && ac_dir=. 8351 if test -f $ac_dir/file; then 8352 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8353 if test -n "$file_magic_test_file"; then 8354 case $deplibs_check_method in 8355 "file_magic "*) 8356 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8357 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8358 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8359 $EGREP "$file_magic_regex" > /dev/null; then 8360 : 8361 else 8362 cat <<_LT_EOF 1>&2 8363 8364*** Warning: the command libtool uses to detect shared libraries, 8365*** $file_magic_cmd, produces output that libtool cannot recognize. 8366*** The result is that libtool may fail to recognize shared libraries 8367*** as such. This will affect the creation of libtool libraries that 8368*** depend on shared libraries, but programs linked with such libtool 8369*** libraries will work regardless of this problem. Nevertheless, you 8370*** may want to report the problem to your system manager and/or to 8371*** bug-libtool@gnu.org 8372 8373_LT_EOF 8374 fi ;; 8375 esac 8376 fi 8377 break 8378 fi 8379 done 8380 IFS="$lt_save_ifs" 8381 MAGIC_CMD="$lt_save_MAGIC_CMD" 8382 ;; 8383esac 8384fi 8385 8386MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8387if test -n "$MAGIC_CMD"; then 8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8389$as_echo "$MAGIC_CMD" >&6; } 8390else 8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8392$as_echo "no" >&6; } 8393fi 8394 8395 8396 else 8397 MAGIC_CMD=: 8398 fi 8399fi 8400 8401 fi 8402 ;; 8403esac 8404 8405# Use C for the default configuration in the libtool script 8406 8407lt_save_CC="$CC" 8408ac_ext=c 8409ac_cpp='$CPP $CPPFLAGS' 8410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8412ac_compiler_gnu=$ac_cv_c_compiler_gnu 8413 8414 8415# Source file extension for C test sources. 8416ac_ext=c 8417 8418# Object file extension for compiled C test sources. 8419objext=o 8420objext=$objext 8421 8422# Code to be used in simple compile tests 8423lt_simple_compile_test_code="int some_variable = 0;" 8424 8425# Code to be used in simple link tests 8426lt_simple_link_test_code='int main(){return(0);}' 8427 8428 8429 8430 8431 8432 8433 8434# If no C compiler was specified, use CC. 8435LTCC=${LTCC-"$CC"} 8436 8437# If no C compiler flags were specified, use CFLAGS. 8438LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8439 8440# Allow CC to be a program name with arguments. 8441compiler=$CC 8442 8443# Save the default compiler, since it gets overwritten when the other 8444# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8445compiler_DEFAULT=$CC 8446 8447# save warnings/boilerplate of simple test code 8448ac_outfile=conftest.$ac_objext 8449echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8450eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8451_lt_compiler_boilerplate=`cat conftest.err` 8452$RM conftest* 8453 8454ac_outfile=conftest.$ac_objext 8455echo "$lt_simple_link_test_code" >conftest.$ac_ext 8456eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8457_lt_linker_boilerplate=`cat conftest.err` 8458$RM -r conftest* 8459 8460 8461if test -n "$compiler"; then 8462 8463lt_prog_compiler_no_builtin_flag= 8464 8465if test "$GCC" = yes; then 8466 case $cc_basename in 8467 nvcc*) 8468 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8469 *) 8470 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8471 esac 8472 8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8474$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8475if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8476 $as_echo_n "(cached) " >&6 8477else 8478 lt_cv_prog_compiler_rtti_exceptions=no 8479 ac_outfile=conftest.$ac_objext 8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8481 lt_compiler_flag="-fno-rtti -fno-exceptions" 8482 # Insert the option either (1) after the last *FLAGS variable, or 8483 # (2) before a word containing "conftest.", or (3) at the end. 8484 # Note that $ac_compile itself does not contain backslashes and begins 8485 # with a dollar sign (not a hyphen), so the echo should work correctly. 8486 # The option is referenced via a variable to avoid confusing sed. 8487 lt_compile=`echo "$ac_compile" | $SED \ 8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8490 -e 's:$: $lt_compiler_flag:'` 8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8492 (eval "$lt_compile" 2>conftest.err) 8493 ac_status=$? 8494 cat conftest.err >&5 8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8496 if (exit $ac_status) && test -s "$ac_outfile"; then 8497 # The compiler can only warn and ignore the option if not recognized 8498 # So say no if there are warnings other than the usual output. 8499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8502 lt_cv_prog_compiler_rtti_exceptions=yes 8503 fi 8504 fi 8505 $RM conftest* 8506 8507fi 8508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8509$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8510 8511if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8512 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8513else 8514 : 8515fi 8516 8517fi 8518 8519 8520 8521 8522 8523 8524 lt_prog_compiler_wl= 8525lt_prog_compiler_pic= 8526lt_prog_compiler_static= 8527 8528 8529 if test "$GCC" = yes; then 8530 lt_prog_compiler_wl='-Wl,' 8531 lt_prog_compiler_static='-static' 8532 8533 case $host_os in 8534 aix*) 8535 # All AIX code is PIC. 8536 if test "$host_cpu" = ia64; then 8537 # AIX 5 now supports IA64 processor 8538 lt_prog_compiler_static='-Bstatic' 8539 fi 8540 ;; 8541 8542 amigaos*) 8543 case $host_cpu in 8544 powerpc) 8545 # see comment about AmigaOS4 .so support 8546 lt_prog_compiler_pic='-fPIC' 8547 ;; 8548 m68k) 8549 # FIXME: we need at least 68020 code to build shared libraries, but 8550 # adding the `-m68020' flag to GCC prevents building anything better, 8551 # like `-m68040'. 8552 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8553 ;; 8554 esac 8555 ;; 8556 8557 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8558 # PIC is the default for these OSes. 8559 ;; 8560 8561 mingw* | cygwin* | pw32* | os2* | cegcc*) 8562 # This hack is so that the source file can tell whether it is being 8563 # built for inclusion in a dll (and should export symbols for example). 8564 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8565 # (--disable-auto-import) libraries 8566 lt_prog_compiler_pic='-DDLL_EXPORT' 8567 ;; 8568 8569 darwin* | rhapsody*) 8570 # PIC is the default on this platform 8571 # Common symbols not allowed in MH_DYLIB files 8572 lt_prog_compiler_pic='-fno-common' 8573 ;; 8574 8575 haiku*) 8576 # PIC is the default for Haiku. 8577 # The "-static" flag exists, but is broken. 8578 lt_prog_compiler_static= 8579 ;; 8580 8581 hpux*) 8582 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8583 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8584 # sets the default TLS model and affects inlining. 8585 case $host_cpu in 8586 hppa*64*) 8587 # +Z the default 8588 ;; 8589 *) 8590 lt_prog_compiler_pic='-fPIC' 8591 ;; 8592 esac 8593 ;; 8594 8595 interix[3-9]*) 8596 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8597 # Instead, we relocate shared libraries at runtime. 8598 ;; 8599 8600 msdosdjgpp*) 8601 # Just because we use GCC doesn't mean we suddenly get shared libraries 8602 # on systems that don't support them. 8603 lt_prog_compiler_can_build_shared=no 8604 enable_shared=no 8605 ;; 8606 8607 *nto* | *qnx*) 8608 # QNX uses GNU C++, but need to define -shared option too, otherwise 8609 # it will coredump. 8610 lt_prog_compiler_pic='-fPIC -shared' 8611 ;; 8612 8613 sysv4*MP*) 8614 if test -d /usr/nec; then 8615 lt_prog_compiler_pic=-Kconform_pic 8616 fi 8617 ;; 8618 8619 *) 8620 lt_prog_compiler_pic='-fPIC' 8621 ;; 8622 esac 8623 8624 case $cc_basename in 8625 nvcc*) # Cuda Compiler Driver 2.2 8626 lt_prog_compiler_wl='-Xlinker ' 8627 if test -n "$lt_prog_compiler_pic"; then 8628 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8629 fi 8630 ;; 8631 esac 8632 else 8633 # PORTME Check for flag to pass linker flags through the system compiler. 8634 case $host_os in 8635 aix*) 8636 lt_prog_compiler_wl='-Wl,' 8637 if test "$host_cpu" = ia64; then 8638 # AIX 5 now supports IA64 processor 8639 lt_prog_compiler_static='-Bstatic' 8640 else 8641 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8642 fi 8643 ;; 8644 8645 mingw* | cygwin* | pw32* | os2* | cegcc*) 8646 # This hack is so that the source file can tell whether it is being 8647 # built for inclusion in a dll (and should export symbols for example). 8648 lt_prog_compiler_pic='-DDLL_EXPORT' 8649 ;; 8650 8651 hpux9* | hpux10* | hpux11*) 8652 lt_prog_compiler_wl='-Wl,' 8653 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8654 # not for PA HP-UX. 8655 case $host_cpu in 8656 hppa*64*|ia64*) 8657 # +Z the default 8658 ;; 8659 *) 8660 lt_prog_compiler_pic='+Z' 8661 ;; 8662 esac 8663 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8664 lt_prog_compiler_static='${wl}-a ${wl}archive' 8665 ;; 8666 8667 irix5* | irix6* | nonstopux*) 8668 lt_prog_compiler_wl='-Wl,' 8669 # PIC (with -KPIC) is the default. 8670 lt_prog_compiler_static='-non_shared' 8671 ;; 8672 8673 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8674 case $cc_basename in 8675 # old Intel for x86_64 which still supported -KPIC. 8676 ecc*) 8677 lt_prog_compiler_wl='-Wl,' 8678 lt_prog_compiler_pic='-KPIC' 8679 lt_prog_compiler_static='-static' 8680 ;; 8681 # icc used to be incompatible with GCC. 8682 # ICC 10 doesn't accept -KPIC any more. 8683 icc* | ifort*) 8684 lt_prog_compiler_wl='-Wl,' 8685 lt_prog_compiler_pic='-fPIC' 8686 lt_prog_compiler_static='-static' 8687 ;; 8688 # Lahey Fortran 8.1. 8689 lf95*) 8690 lt_prog_compiler_wl='-Wl,' 8691 lt_prog_compiler_pic='--shared' 8692 lt_prog_compiler_static='--static' 8693 ;; 8694 nagfor*) 8695 # NAG Fortran compiler 8696 lt_prog_compiler_wl='-Wl,-Wl,,' 8697 lt_prog_compiler_pic='-PIC' 8698 lt_prog_compiler_static='-Bstatic' 8699 ;; 8700 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8701 # Portland Group compilers (*not* the Pentium gcc compiler, 8702 # which looks to be a dead project) 8703 lt_prog_compiler_wl='-Wl,' 8704 lt_prog_compiler_pic='-fpic' 8705 lt_prog_compiler_static='-Bstatic' 8706 ;; 8707 ccc*) 8708 lt_prog_compiler_wl='-Wl,' 8709 # All Alpha code is PIC. 8710 lt_prog_compiler_static='-non_shared' 8711 ;; 8712 xl* | bgxl* | bgf* | mpixl*) 8713 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8714 lt_prog_compiler_wl='-Wl,' 8715 lt_prog_compiler_pic='-qpic' 8716 lt_prog_compiler_static='-qstaticlink' 8717 ;; 8718 *) 8719 case `$CC -V 2>&1 | sed 5q` in 8720 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8721 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8722 lt_prog_compiler_pic='-KPIC' 8723 lt_prog_compiler_static='-Bstatic' 8724 lt_prog_compiler_wl='' 8725 ;; 8726 *Sun\ F* | *Sun*Fortran*) 8727 lt_prog_compiler_pic='-KPIC' 8728 lt_prog_compiler_static='-Bstatic' 8729 lt_prog_compiler_wl='-Qoption ld ' 8730 ;; 8731 *Sun\ C*) 8732 # Sun C 5.9 8733 lt_prog_compiler_pic='-KPIC' 8734 lt_prog_compiler_static='-Bstatic' 8735 lt_prog_compiler_wl='-Wl,' 8736 ;; 8737 *Intel*\ [CF]*Compiler*) 8738 lt_prog_compiler_wl='-Wl,' 8739 lt_prog_compiler_pic='-fPIC' 8740 lt_prog_compiler_static='-static' 8741 ;; 8742 *Portland\ Group*) 8743 lt_prog_compiler_wl='-Wl,' 8744 lt_prog_compiler_pic='-fpic' 8745 lt_prog_compiler_static='-Bstatic' 8746 ;; 8747 esac 8748 ;; 8749 esac 8750 ;; 8751 8752 newsos6) 8753 lt_prog_compiler_pic='-KPIC' 8754 lt_prog_compiler_static='-Bstatic' 8755 ;; 8756 8757 *nto* | *qnx*) 8758 # QNX uses GNU C++, but need to define -shared option too, otherwise 8759 # it will coredump. 8760 lt_prog_compiler_pic='-fPIC -shared' 8761 ;; 8762 8763 osf3* | osf4* | osf5*) 8764 lt_prog_compiler_wl='-Wl,' 8765 # All OSF/1 code is PIC. 8766 lt_prog_compiler_static='-non_shared' 8767 ;; 8768 8769 rdos*) 8770 lt_prog_compiler_static='-non_shared' 8771 ;; 8772 8773 solaris*) 8774 lt_prog_compiler_pic='-KPIC' 8775 lt_prog_compiler_static='-Bstatic' 8776 case $cc_basename in 8777 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8778 lt_prog_compiler_wl='-Qoption ld ';; 8779 *) 8780 lt_prog_compiler_wl='-Wl,';; 8781 esac 8782 ;; 8783 8784 sunos4*) 8785 lt_prog_compiler_wl='-Qoption ld ' 8786 lt_prog_compiler_pic='-PIC' 8787 lt_prog_compiler_static='-Bstatic' 8788 ;; 8789 8790 sysv4 | sysv4.2uw2* | sysv4.3*) 8791 lt_prog_compiler_wl='-Wl,' 8792 lt_prog_compiler_pic='-KPIC' 8793 lt_prog_compiler_static='-Bstatic' 8794 ;; 8795 8796 sysv4*MP*) 8797 if test -d /usr/nec ;then 8798 lt_prog_compiler_pic='-Kconform_pic' 8799 lt_prog_compiler_static='-Bstatic' 8800 fi 8801 ;; 8802 8803 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8804 lt_prog_compiler_wl='-Wl,' 8805 lt_prog_compiler_pic='-KPIC' 8806 lt_prog_compiler_static='-Bstatic' 8807 ;; 8808 8809 unicos*) 8810 lt_prog_compiler_wl='-Wl,' 8811 lt_prog_compiler_can_build_shared=no 8812 ;; 8813 8814 uts4*) 8815 lt_prog_compiler_pic='-pic' 8816 lt_prog_compiler_static='-Bstatic' 8817 ;; 8818 8819 *) 8820 lt_prog_compiler_can_build_shared=no 8821 ;; 8822 esac 8823 fi 8824 8825case $host_os in 8826 # For platforms which do not support PIC, -DPIC is meaningless: 8827 *djgpp*) 8828 lt_prog_compiler_pic= 8829 ;; 8830 *) 8831 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8832 ;; 8833esac 8834 8835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8836$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8837if ${lt_cv_prog_compiler_pic+:} false; then : 8838 $as_echo_n "(cached) " >&6 8839else 8840 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8841fi 8842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8843$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8844lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8845 8846# 8847# Check to make sure the PIC flag actually works. 8848# 8849if test -n "$lt_prog_compiler_pic"; then 8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8851$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8852if ${lt_cv_prog_compiler_pic_works+:} false; then : 8853 $as_echo_n "(cached) " >&6 8854else 8855 lt_cv_prog_compiler_pic_works=no 8856 ac_outfile=conftest.$ac_objext 8857 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8858 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8859 # Insert the option either (1) after the last *FLAGS variable, or 8860 # (2) before a word containing "conftest.", or (3) at the end. 8861 # Note that $ac_compile itself does not contain backslashes and begins 8862 # with a dollar sign (not a hyphen), so the echo should work correctly. 8863 # The option is referenced via a variable to avoid confusing sed. 8864 lt_compile=`echo "$ac_compile" | $SED \ 8865 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8866 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8867 -e 's:$: $lt_compiler_flag:'` 8868 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8869 (eval "$lt_compile" 2>conftest.err) 8870 ac_status=$? 8871 cat conftest.err >&5 8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8873 if (exit $ac_status) && test -s "$ac_outfile"; then 8874 # The compiler can only warn and ignore the option if not recognized 8875 # So say no if there are warnings other than the usual output. 8876 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8877 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8878 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8879 lt_cv_prog_compiler_pic_works=yes 8880 fi 8881 fi 8882 $RM conftest* 8883 8884fi 8885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8886$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8887 8888if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8889 case $lt_prog_compiler_pic in 8890 "" | " "*) ;; 8891 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8892 esac 8893else 8894 lt_prog_compiler_pic= 8895 lt_prog_compiler_can_build_shared=no 8896fi 8897 8898fi 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910# 8911# Check to make sure the static flag actually works. 8912# 8913wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8915$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8916if ${lt_cv_prog_compiler_static_works+:} false; then : 8917 $as_echo_n "(cached) " >&6 8918else 8919 lt_cv_prog_compiler_static_works=no 8920 save_LDFLAGS="$LDFLAGS" 8921 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8922 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8923 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8924 # The linker can only warn and ignore the option if not recognized 8925 # So say no if there are warnings 8926 if test -s conftest.err; then 8927 # Append any errors to the config.log. 8928 cat conftest.err 1>&5 8929 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8930 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8931 if diff conftest.exp conftest.er2 >/dev/null; then 8932 lt_cv_prog_compiler_static_works=yes 8933 fi 8934 else 8935 lt_cv_prog_compiler_static_works=yes 8936 fi 8937 fi 8938 $RM -r conftest* 8939 LDFLAGS="$save_LDFLAGS" 8940 8941fi 8942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8943$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8944 8945if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8946 : 8947else 8948 lt_prog_compiler_static= 8949fi 8950 8951 8952 8953 8954 8955 8956 8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8958$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8959if ${lt_cv_prog_compiler_c_o+:} false; then : 8960 $as_echo_n "(cached) " >&6 8961else 8962 lt_cv_prog_compiler_c_o=no 8963 $RM -r conftest 2>/dev/null 8964 mkdir conftest 8965 cd conftest 8966 mkdir out 8967 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8968 8969 lt_compiler_flag="-o out/conftest2.$ac_objext" 8970 # Insert the option either (1) after the last *FLAGS variable, or 8971 # (2) before a word containing "conftest.", or (3) at the end. 8972 # Note that $ac_compile itself does not contain backslashes and begins 8973 # with a dollar sign (not a hyphen), so the echo should work correctly. 8974 lt_compile=`echo "$ac_compile" | $SED \ 8975 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8976 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8977 -e 's:$: $lt_compiler_flag:'` 8978 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8979 (eval "$lt_compile" 2>out/conftest.err) 8980 ac_status=$? 8981 cat out/conftest.err >&5 8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8983 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8984 then 8985 # The compiler can only warn and ignore the option if not recognized 8986 # So say no if there are warnings 8987 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8988 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8989 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8990 lt_cv_prog_compiler_c_o=yes 8991 fi 8992 fi 8993 chmod u+w . 2>&5 8994 $RM conftest* 8995 # SGI C++ compiler will create directory out/ii_files/ for 8996 # template instantiation 8997 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8998 $RM out/* && rmdir out 8999 cd .. 9000 $RM -r conftest 9001 $RM conftest* 9002 9003fi 9004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9005$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9006 9007 9008 9009 9010 9011 9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9013$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9014if ${lt_cv_prog_compiler_c_o+:} false; then : 9015 $as_echo_n "(cached) " >&6 9016else 9017 lt_cv_prog_compiler_c_o=no 9018 $RM -r conftest 2>/dev/null 9019 mkdir conftest 9020 cd conftest 9021 mkdir out 9022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9023 9024 lt_compiler_flag="-o out/conftest2.$ac_objext" 9025 # Insert the option either (1) after the last *FLAGS variable, or 9026 # (2) before a word containing "conftest.", or (3) at the end. 9027 # Note that $ac_compile itself does not contain backslashes and begins 9028 # with a dollar sign (not a hyphen), so the echo should work correctly. 9029 lt_compile=`echo "$ac_compile" | $SED \ 9030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9032 -e 's:$: $lt_compiler_flag:'` 9033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9034 (eval "$lt_compile" 2>out/conftest.err) 9035 ac_status=$? 9036 cat out/conftest.err >&5 9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9038 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9039 then 9040 # The compiler can only warn and ignore the option if not recognized 9041 # So say no if there are warnings 9042 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9043 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9044 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9045 lt_cv_prog_compiler_c_o=yes 9046 fi 9047 fi 9048 chmod u+w . 2>&5 9049 $RM conftest* 9050 # SGI C++ compiler will create directory out/ii_files/ for 9051 # template instantiation 9052 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9053 $RM out/* && rmdir out 9054 cd .. 9055 $RM -r conftest 9056 $RM conftest* 9057 9058fi 9059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9060$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9061 9062 9063 9064 9065hard_links="nottested" 9066if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9067 # do not overwrite the value of need_locks provided by the user 9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9069$as_echo_n "checking if we can lock with hard links... " >&6; } 9070 hard_links=yes 9071 $RM conftest* 9072 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9073 touch conftest.a 9074 ln conftest.a conftest.b 2>&5 || hard_links=no 9075 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9077$as_echo "$hard_links" >&6; } 9078 if test "$hard_links" = no; then 9079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9080$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9081 need_locks=warn 9082 fi 9083else 9084 need_locks=no 9085fi 9086 9087 9088 9089 9090 9091 9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9093$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9094 9095 runpath_var= 9096 allow_undefined_flag= 9097 always_export_symbols=no 9098 archive_cmds= 9099 archive_expsym_cmds= 9100 compiler_needs_object=no 9101 enable_shared_with_static_runtimes=no 9102 export_dynamic_flag_spec= 9103 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9104 hardcode_automatic=no 9105 hardcode_direct=no 9106 hardcode_direct_absolute=no 9107 hardcode_libdir_flag_spec= 9108 hardcode_libdir_separator= 9109 hardcode_minus_L=no 9110 hardcode_shlibpath_var=unsupported 9111 inherit_rpath=no 9112 link_all_deplibs=unknown 9113 module_cmds= 9114 module_expsym_cmds= 9115 old_archive_from_new_cmds= 9116 old_archive_from_expsyms_cmds= 9117 thread_safe_flag_spec= 9118 whole_archive_flag_spec= 9119 # include_expsyms should be a list of space-separated symbols to be *always* 9120 # included in the symbol list 9121 include_expsyms= 9122 # exclude_expsyms can be an extended regexp of symbols to exclude 9123 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9124 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9125 # as well as any symbol that contains `d'. 9126 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9127 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9128 # platforms (ab)use it in PIC code, but their linkers get confused if 9129 # the symbol is explicitly referenced. Since portable code cannot 9130 # rely on this symbol name, it's probably fine to never include it in 9131 # preloaded symbol tables. 9132 # Exclude shared library initialization/finalization symbols. 9133 extract_expsyms_cmds= 9134 9135 case $host_os in 9136 cygwin* | mingw* | pw32* | cegcc*) 9137 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9138 # When not using gcc, we currently assume that we are using 9139 # Microsoft Visual C++. 9140 if test "$GCC" != yes; then 9141 with_gnu_ld=no 9142 fi 9143 ;; 9144 interix*) 9145 # we just hope/assume this is gcc and not c89 (= MSVC++) 9146 with_gnu_ld=yes 9147 ;; 9148 openbsd*) 9149 with_gnu_ld=no 9150 ;; 9151 linux* | k*bsd*-gnu | gnu*) 9152 link_all_deplibs=no 9153 ;; 9154 esac 9155 9156 ld_shlibs=yes 9157 9158 # On some targets, GNU ld is compatible enough with the native linker 9159 # that we're better off using the native interface for both. 9160 lt_use_gnu_ld_interface=no 9161 if test "$with_gnu_ld" = yes; then 9162 case $host_os in 9163 aix*) 9164 # The AIX port of GNU ld has always aspired to compatibility 9165 # with the native linker. However, as the warning in the GNU ld 9166 # block says, versions before 2.19.5* couldn't really create working 9167 # shared libraries, regardless of the interface used. 9168 case `$LD -v 2>&1` in 9169 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9170 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9171 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9172 *) 9173 lt_use_gnu_ld_interface=yes 9174 ;; 9175 esac 9176 ;; 9177 *) 9178 lt_use_gnu_ld_interface=yes 9179 ;; 9180 esac 9181 fi 9182 9183 if test "$lt_use_gnu_ld_interface" = yes; then 9184 # If archive_cmds runs LD, not CC, wlarc should be empty 9185 wlarc='${wl}' 9186 9187 # Set some defaults for GNU ld with shared library support. These 9188 # are reset later if shared libraries are not supported. Putting them 9189 # here allows them to be overridden if necessary. 9190 runpath_var=LD_RUN_PATH 9191 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9192 export_dynamic_flag_spec='${wl}--export-dynamic' 9193 # ancient GNU ld didn't support --whole-archive et. al. 9194 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9195 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9196 else 9197 whole_archive_flag_spec= 9198 fi 9199 supports_anon_versioning=no 9200 case `$LD -v 2>&1` in 9201 *GNU\ gold*) supports_anon_versioning=yes ;; 9202 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9203 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9204 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9205 *\ 2.11.*) ;; # other 2.11 versions 9206 *) supports_anon_versioning=yes ;; 9207 esac 9208 9209 # See if GNU ld supports shared libraries. 9210 case $host_os in 9211 aix[3-9]*) 9212 # On AIX/PPC, the GNU linker is very broken 9213 if test "$host_cpu" != ia64; then 9214 ld_shlibs=no 9215 cat <<_LT_EOF 1>&2 9216 9217*** Warning: the GNU linker, at least up to release 2.19, is reported 9218*** to be unable to reliably create shared libraries on AIX. 9219*** Therefore, libtool is disabling shared libraries support. If you 9220*** really care for shared libraries, you may want to install binutils 9221*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9222*** You will then need to restart the configuration process. 9223 9224_LT_EOF 9225 fi 9226 ;; 9227 9228 amigaos*) 9229 case $host_cpu in 9230 powerpc) 9231 # see comment about AmigaOS4 .so support 9232 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9233 archive_expsym_cmds='' 9234 ;; 9235 m68k) 9236 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)' 9237 hardcode_libdir_flag_spec='-L$libdir' 9238 hardcode_minus_L=yes 9239 ;; 9240 esac 9241 ;; 9242 9243 beos*) 9244 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9245 allow_undefined_flag=unsupported 9246 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9247 # support --undefined. This deserves some investigation. FIXME 9248 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9249 else 9250 ld_shlibs=no 9251 fi 9252 ;; 9253 9254 cygwin* | mingw* | pw32* | cegcc*) 9255 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9256 # as there is no search path for DLLs. 9257 hardcode_libdir_flag_spec='-L$libdir' 9258 export_dynamic_flag_spec='${wl}--export-all-symbols' 9259 allow_undefined_flag=unsupported 9260 always_export_symbols=no 9261 enable_shared_with_static_runtimes=yes 9262 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' 9263 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9264 9265 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9266 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9267 # If the export-symbols file already is a .def file (1st line 9268 # is EXPORTS), use it as is; otherwise, prepend... 9269 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9270 cp $export_symbols $output_objdir/$soname.def; 9271 else 9272 echo EXPORTS > $output_objdir/$soname.def; 9273 cat $export_symbols >> $output_objdir/$soname.def; 9274 fi~ 9275 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9276 else 9277 ld_shlibs=no 9278 fi 9279 ;; 9280 9281 haiku*) 9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9283 link_all_deplibs=yes 9284 ;; 9285 9286 interix[3-9]*) 9287 hardcode_direct=no 9288 hardcode_shlibpath_var=no 9289 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9290 export_dynamic_flag_spec='${wl}-E' 9291 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9292 # Instead, shared libraries are loaded at an image base (0x10000000 by 9293 # default) and relocated if they conflict, which is a slow very memory 9294 # consuming and fragmenting process. To avoid this, we pick a random, 9295 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9296 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9297 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9298 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' 9299 ;; 9300 9301 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9302 tmp_diet=no 9303 if test "$host_os" = linux-dietlibc; then 9304 case $cc_basename in 9305 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9306 esac 9307 fi 9308 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9309 && test "$tmp_diet" = no 9310 then 9311 tmp_addflag=' $pic_flag' 9312 tmp_sharedflag='-shared' 9313 case $cc_basename,$host_cpu in 9314 pgcc*) # Portland Group C compiler 9315 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' 9316 tmp_addflag=' $pic_flag' 9317 ;; 9318 pgf77* | pgf90* | pgf95* | pgfortran*) 9319 # Portland Group f77 and f90 compilers 9320 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' 9321 tmp_addflag=' $pic_flag -Mnomain' ;; 9322 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9323 tmp_addflag=' -i_dynamic' ;; 9324 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9325 tmp_addflag=' -i_dynamic -nofor_main' ;; 9326 ifc* | ifort*) # Intel Fortran compiler 9327 tmp_addflag=' -nofor_main' ;; 9328 lf95*) # Lahey Fortran 8.1 9329 whole_archive_flag_spec= 9330 tmp_sharedflag='--shared' ;; 9331 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9332 tmp_sharedflag='-qmkshrobj' 9333 tmp_addflag= ;; 9334 nvcc*) # Cuda Compiler Driver 2.2 9335 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' 9336 compiler_needs_object=yes 9337 ;; 9338 esac 9339 case `$CC -V 2>&1 | sed 5q` in 9340 *Sun\ C*) # Sun C 5.9 9341 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' 9342 compiler_needs_object=yes 9343 tmp_sharedflag='-G' ;; 9344 *Sun\ F*) # Sun Fortran 8.3 9345 tmp_sharedflag='-G' ;; 9346 esac 9347 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9348 9349 if test "x$supports_anon_versioning" = xyes; then 9350 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9351 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9352 echo "local: *; };" >> $output_objdir/$libname.ver~ 9353 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9354 fi 9355 9356 case $cc_basename in 9357 xlf* | bgf* | bgxlf* | mpixlf*) 9358 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9359 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9360 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9361 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9362 if test "x$supports_anon_versioning" = xyes; then 9363 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9364 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9365 echo "local: *; };" >> $output_objdir/$libname.ver~ 9366 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9367 fi 9368 ;; 9369 esac 9370 else 9371 ld_shlibs=no 9372 fi 9373 ;; 9374 9375 netbsd* | netbsdelf*-gnu) 9376 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9377 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9378 wlarc= 9379 else 9380 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9381 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9382 fi 9383 ;; 9384 9385 solaris*) 9386 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9387 ld_shlibs=no 9388 cat <<_LT_EOF 1>&2 9389 9390*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9391*** create shared libraries on Solaris systems. Therefore, libtool 9392*** is disabling shared libraries support. We urge you to upgrade GNU 9393*** binutils to release 2.9.1 or newer. Another option is to modify 9394*** your PATH or compiler configuration so that the native linker is 9395*** used, and then restart. 9396 9397_LT_EOF 9398 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9399 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9400 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9401 else 9402 ld_shlibs=no 9403 fi 9404 ;; 9405 9406 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9407 case `$LD -v 2>&1` in 9408 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9409 ld_shlibs=no 9410 cat <<_LT_EOF 1>&2 9411 9412*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9413*** reliably create shared libraries on SCO systems. Therefore, libtool 9414*** is disabling shared libraries support. We urge you to upgrade GNU 9415*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9416*** your PATH or compiler configuration so that the native linker is 9417*** used, and then restart. 9418 9419_LT_EOF 9420 ;; 9421 *) 9422 # For security reasons, it is highly recommended that you always 9423 # use absolute paths for naming shared libraries, and exclude the 9424 # DT_RUNPATH tag from executables and libraries. But doing so 9425 # requires that you compile everything twice, which is a pain. 9426 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9427 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9429 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9430 else 9431 ld_shlibs=no 9432 fi 9433 ;; 9434 esac 9435 ;; 9436 9437 sunos4*) 9438 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9439 wlarc= 9440 hardcode_direct=yes 9441 hardcode_shlibpath_var=no 9442 ;; 9443 9444 *) 9445 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9446 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9447 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9448 else 9449 ld_shlibs=no 9450 fi 9451 ;; 9452 esac 9453 9454 if test "$ld_shlibs" = no; then 9455 runpath_var= 9456 hardcode_libdir_flag_spec= 9457 export_dynamic_flag_spec= 9458 whole_archive_flag_spec= 9459 fi 9460 else 9461 # PORTME fill in a description of your system's linker (not GNU ld) 9462 case $host_os in 9463 aix3*) 9464 allow_undefined_flag=unsupported 9465 always_export_symbols=yes 9466 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' 9467 # Note: this linker hardcodes the directories in LIBPATH if there 9468 # are no directories specified by -L. 9469 hardcode_minus_L=yes 9470 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9471 # Neither direct hardcoding nor static linking is supported with a 9472 # broken collect2. 9473 hardcode_direct=unsupported 9474 fi 9475 ;; 9476 9477 aix[4-9]*) 9478 if test "$host_cpu" = ia64; then 9479 # On IA64, the linker does run time linking by default, so we don't 9480 # have to do anything special. 9481 aix_use_runtimelinking=no 9482 exp_sym_flag='-Bexport' 9483 no_entry_flag="" 9484 else 9485 # If we're using GNU nm, then we don't want the "-C" option. 9486 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9487 # Also, AIX nm treats weak defined symbols like other global 9488 # defined symbols, whereas GNU nm marks them as "W". 9489 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9490 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' 9491 else 9492 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' 9493 fi 9494 aix_use_runtimelinking=no 9495 9496 # Test if we are trying to use run time linking or normal 9497 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9498 # need to do runtime linking. 9499 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9500 for ld_flag in $LDFLAGS; do 9501 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9502 aix_use_runtimelinking=yes 9503 break 9504 fi 9505 done 9506 ;; 9507 esac 9508 9509 exp_sym_flag='-bexport' 9510 no_entry_flag='-bnoentry' 9511 fi 9512 9513 # When large executables or shared objects are built, AIX ld can 9514 # have problems creating the table of contents. If linking a library 9515 # or program results in "error TOC overflow" add -mminimal-toc to 9516 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9517 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9518 9519 archive_cmds='' 9520 hardcode_direct=yes 9521 hardcode_direct_absolute=yes 9522 hardcode_libdir_separator=':' 9523 link_all_deplibs=yes 9524 file_list_spec='${wl}-f,' 9525 9526 if test "$GCC" = yes; then 9527 case $host_os in aix4.[012]|aix4.[012].*) 9528 # We only want to do this on AIX 4.2 and lower, the check 9529 # below for broken collect2 doesn't work under 4.3+ 9530 collect2name=`${CC} -print-prog-name=collect2` 9531 if test -f "$collect2name" && 9532 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9533 then 9534 # We have reworked collect2 9535 : 9536 else 9537 # We have old collect2 9538 hardcode_direct=unsupported 9539 # It fails to find uninstalled libraries when the uninstalled 9540 # path is not listed in the libpath. Setting hardcode_minus_L 9541 # to unsupported forces relinking 9542 hardcode_minus_L=yes 9543 hardcode_libdir_flag_spec='-L$libdir' 9544 hardcode_libdir_separator= 9545 fi 9546 ;; 9547 esac 9548 shared_flag='-shared' 9549 if test "$aix_use_runtimelinking" = yes; then 9550 shared_flag="$shared_flag "'${wl}-G' 9551 fi 9552 link_all_deplibs=no 9553 else 9554 # not using gcc 9555 if test "$host_cpu" = ia64; then 9556 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9557 # chokes on -Wl,-G. The following line is correct: 9558 shared_flag='-G' 9559 else 9560 if test "$aix_use_runtimelinking" = yes; then 9561 shared_flag='${wl}-G' 9562 else 9563 shared_flag='${wl}-bM:SRE' 9564 fi 9565 fi 9566 fi 9567 9568 export_dynamic_flag_spec='${wl}-bexpall' 9569 # It seems that -bexpall does not export symbols beginning with 9570 # underscore (_), so it is better to generate a list of symbols to export. 9571 always_export_symbols=yes 9572 if test "$aix_use_runtimelinking" = yes; then 9573 # Warning - without using the other runtime loading flags (-brtl), 9574 # -berok will link without error, but may produce a broken library. 9575 allow_undefined_flag='-berok' 9576 # Determine the default libpath from the value encoded in an 9577 # empty executable. 9578 if test "${lt_cv_aix_libpath+set}" = set; then 9579 aix_libpath=$lt_cv_aix_libpath 9580else 9581 if ${lt_cv_aix_libpath_+:} false; then : 9582 $as_echo_n "(cached) " >&6 9583else 9584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9585/* end confdefs.h. */ 9586 9587int 9588main () 9589{ 9590 9591 ; 9592 return 0; 9593} 9594_ACEOF 9595if ac_fn_c_try_link "$LINENO"; then : 9596 9597 lt_aix_libpath_sed=' 9598 /Import File Strings/,/^$/ { 9599 /^0/ { 9600 s/^0 *\([^ ]*\) *$/\1/ 9601 p 9602 } 9603 }' 9604 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9605 # Check for a 64-bit object if we didn't find anything. 9606 if test -z "$lt_cv_aix_libpath_"; then 9607 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9608 fi 9609fi 9610rm -f core conftest.err conftest.$ac_objext \ 9611 conftest$ac_exeext conftest.$ac_ext 9612 if test -z "$lt_cv_aix_libpath_"; then 9613 lt_cv_aix_libpath_="/usr/lib:/lib" 9614 fi 9615 9616fi 9617 9618 aix_libpath=$lt_cv_aix_libpath_ 9619fi 9620 9621 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9622 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" 9623 else 9624 if test "$host_cpu" = ia64; then 9625 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9626 allow_undefined_flag="-z nodefs" 9627 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" 9628 else 9629 # Determine the default libpath from the value encoded in an 9630 # empty executable. 9631 if test "${lt_cv_aix_libpath+set}" = set; then 9632 aix_libpath=$lt_cv_aix_libpath 9633else 9634 if ${lt_cv_aix_libpath_+:} false; then : 9635 $as_echo_n "(cached) " >&6 9636else 9637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9638/* end confdefs.h. */ 9639 9640int 9641main () 9642{ 9643 9644 ; 9645 return 0; 9646} 9647_ACEOF 9648if ac_fn_c_try_link "$LINENO"; then : 9649 9650 lt_aix_libpath_sed=' 9651 /Import File Strings/,/^$/ { 9652 /^0/ { 9653 s/^0 *\([^ ]*\) *$/\1/ 9654 p 9655 } 9656 }' 9657 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9658 # Check for a 64-bit object if we didn't find anything. 9659 if test -z "$lt_cv_aix_libpath_"; then 9660 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9661 fi 9662fi 9663rm -f core conftest.err conftest.$ac_objext \ 9664 conftest$ac_exeext conftest.$ac_ext 9665 if test -z "$lt_cv_aix_libpath_"; then 9666 lt_cv_aix_libpath_="/usr/lib:/lib" 9667 fi 9668 9669fi 9670 9671 aix_libpath=$lt_cv_aix_libpath_ 9672fi 9673 9674 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9675 # Warning - without using the other run time loading flags, 9676 # -berok will link without error, but may produce a broken library. 9677 no_undefined_flag=' ${wl}-bernotok' 9678 allow_undefined_flag=' ${wl}-berok' 9679 if test "$with_gnu_ld" = yes; then 9680 # We only use this code for GNU lds that support --whole-archive. 9681 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9682 else 9683 # Exported symbols can be pulled into shared objects from archives 9684 whole_archive_flag_spec='$convenience' 9685 fi 9686 archive_cmds_need_lc=yes 9687 # This is similar to how AIX traditionally builds its shared libraries. 9688 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' 9689 fi 9690 fi 9691 ;; 9692 9693 amigaos*) 9694 case $host_cpu in 9695 powerpc) 9696 # see comment about AmigaOS4 .so support 9697 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9698 archive_expsym_cmds='' 9699 ;; 9700 m68k) 9701 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)' 9702 hardcode_libdir_flag_spec='-L$libdir' 9703 hardcode_minus_L=yes 9704 ;; 9705 esac 9706 ;; 9707 9708 bsdi[45]*) 9709 export_dynamic_flag_spec=-rdynamic 9710 ;; 9711 9712 cygwin* | mingw* | pw32* | cegcc*) 9713 # When not using gcc, we currently assume that we are using 9714 # Microsoft Visual C++. 9715 # hardcode_libdir_flag_spec is actually meaningless, as there is 9716 # no search path for DLLs. 9717 case $cc_basename in 9718 cl*) 9719 # Native MSVC 9720 hardcode_libdir_flag_spec=' ' 9721 allow_undefined_flag=unsupported 9722 always_export_symbols=yes 9723 file_list_spec='@' 9724 # Tell ltmain to make .lib files, not .a files. 9725 libext=lib 9726 # Tell ltmain to make .dll files, not .so files. 9727 shrext_cmds=".dll" 9728 # FIXME: Setting linknames here is a bad hack. 9729 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9730 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9731 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9732 else 9733 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9734 fi~ 9735 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9736 linknames=' 9737 # The linker will not automatically build a static lib if we build a DLL. 9738 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9739 enable_shared_with_static_runtimes=yes 9740 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9741 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9742 # Don't use ranlib 9743 old_postinstall_cmds='chmod 644 $oldlib' 9744 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9745 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9746 case $lt_outputfile in 9747 *.exe|*.EXE) ;; 9748 *) 9749 lt_outputfile="$lt_outputfile.exe" 9750 lt_tool_outputfile="$lt_tool_outputfile.exe" 9751 ;; 9752 esac~ 9753 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9754 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9755 $RM "$lt_outputfile.manifest"; 9756 fi' 9757 ;; 9758 *) 9759 # Assume MSVC wrapper 9760 hardcode_libdir_flag_spec=' ' 9761 allow_undefined_flag=unsupported 9762 # Tell ltmain to make .lib files, not .a files. 9763 libext=lib 9764 # Tell ltmain to make .dll files, not .so files. 9765 shrext_cmds=".dll" 9766 # FIXME: Setting linknames here is a bad hack. 9767 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9768 # The linker will automatically build a .lib file if we build a DLL. 9769 old_archive_from_new_cmds='true' 9770 # FIXME: Should let the user specify the lib program. 9771 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9772 enable_shared_with_static_runtimes=yes 9773 ;; 9774 esac 9775 ;; 9776 9777 darwin* | rhapsody*) 9778 9779 9780 archive_cmds_need_lc=no 9781 hardcode_direct=no 9782 hardcode_automatic=yes 9783 hardcode_shlibpath_var=unsupported 9784 if test "$lt_cv_ld_force_load" = "yes"; then 9785 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\"`' 9786 9787 else 9788 whole_archive_flag_spec='' 9789 fi 9790 link_all_deplibs=yes 9791 allow_undefined_flag="$_lt_dar_allow_undefined" 9792 case $cc_basename in 9793 ifort*) _lt_dar_can_shared=yes ;; 9794 *) _lt_dar_can_shared=$GCC ;; 9795 esac 9796 if test "$_lt_dar_can_shared" = "yes"; then 9797 output_verbose_link_cmd=func_echo_all 9798 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9799 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9800 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}" 9801 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}" 9802 9803 else 9804 ld_shlibs=no 9805 fi 9806 9807 ;; 9808 9809 dgux*) 9810 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9811 hardcode_libdir_flag_spec='-L$libdir' 9812 hardcode_shlibpath_var=no 9813 ;; 9814 9815 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9816 # support. Future versions do this automatically, but an explicit c++rt0.o 9817 # does not break anything, and helps significantly (at the cost of a little 9818 # extra space). 9819 freebsd2.2*) 9820 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9821 hardcode_libdir_flag_spec='-R$libdir' 9822 hardcode_direct=yes 9823 hardcode_shlibpath_var=no 9824 ;; 9825 9826 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9827 freebsd2.*) 9828 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9829 hardcode_direct=yes 9830 hardcode_minus_L=yes 9831 hardcode_shlibpath_var=no 9832 ;; 9833 9834 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9835 freebsd* | dragonfly*) 9836 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9837 hardcode_libdir_flag_spec='-R$libdir' 9838 hardcode_direct=yes 9839 hardcode_shlibpath_var=no 9840 ;; 9841 9842 hpux9*) 9843 if test "$GCC" = yes; then 9844 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' 9845 else 9846 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' 9847 fi 9848 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9849 hardcode_libdir_separator=: 9850 hardcode_direct=yes 9851 9852 # hardcode_minus_L: Not really in the search PATH, 9853 # but as the default location of the library. 9854 hardcode_minus_L=yes 9855 export_dynamic_flag_spec='${wl}-E' 9856 ;; 9857 9858 hpux10*) 9859 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9860 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9861 else 9862 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9863 fi 9864 if test "$with_gnu_ld" = no; then 9865 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9866 hardcode_libdir_separator=: 9867 hardcode_direct=yes 9868 hardcode_direct_absolute=yes 9869 export_dynamic_flag_spec='${wl}-E' 9870 # hardcode_minus_L: Not really in the search PATH, 9871 # but as the default location of the library. 9872 hardcode_minus_L=yes 9873 fi 9874 ;; 9875 9876 hpux11*) 9877 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9878 case $host_cpu in 9879 hppa*64*) 9880 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9881 ;; 9882 ia64*) 9883 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9884 ;; 9885 *) 9886 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9887 ;; 9888 esac 9889 else 9890 case $host_cpu in 9891 hppa*64*) 9892 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9893 ;; 9894 ia64*) 9895 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9896 ;; 9897 *) 9898 9899 # Older versions of the 11.00 compiler do not understand -b yet 9900 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9902$as_echo_n "checking if $CC understands -b... " >&6; } 9903if ${lt_cv_prog_compiler__b+:} false; then : 9904 $as_echo_n "(cached) " >&6 9905else 9906 lt_cv_prog_compiler__b=no 9907 save_LDFLAGS="$LDFLAGS" 9908 LDFLAGS="$LDFLAGS -b" 9909 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9910 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9911 # The linker can only warn and ignore the option if not recognized 9912 # So say no if there are warnings 9913 if test -s conftest.err; then 9914 # Append any errors to the config.log. 9915 cat conftest.err 1>&5 9916 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9917 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9918 if diff conftest.exp conftest.er2 >/dev/null; then 9919 lt_cv_prog_compiler__b=yes 9920 fi 9921 else 9922 lt_cv_prog_compiler__b=yes 9923 fi 9924 fi 9925 $RM -r conftest* 9926 LDFLAGS="$save_LDFLAGS" 9927 9928fi 9929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9930$as_echo "$lt_cv_prog_compiler__b" >&6; } 9931 9932if test x"$lt_cv_prog_compiler__b" = xyes; then 9933 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9934else 9935 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9936fi 9937 9938 ;; 9939 esac 9940 fi 9941 if test "$with_gnu_ld" = no; then 9942 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9943 hardcode_libdir_separator=: 9944 9945 case $host_cpu in 9946 hppa*64*|ia64*) 9947 hardcode_direct=no 9948 hardcode_shlibpath_var=no 9949 ;; 9950 *) 9951 hardcode_direct=yes 9952 hardcode_direct_absolute=yes 9953 export_dynamic_flag_spec='${wl}-E' 9954 9955 # hardcode_minus_L: Not really in the search PATH, 9956 # but as the default location of the library. 9957 hardcode_minus_L=yes 9958 ;; 9959 esac 9960 fi 9961 ;; 9962 9963 irix5* | irix6* | nonstopux*) 9964 if test "$GCC" = yes; then 9965 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' 9966 # Try to use the -exported_symbol ld option, if it does not 9967 # work, assume that -exports_file does not work either and 9968 # implicitly export all symbols. 9969 # This should be the same for all languages, so no per-tag cache variable. 9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9971$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9972if ${lt_cv_irix_exported_symbol+:} false; then : 9973 $as_echo_n "(cached) " >&6 9974else 9975 save_LDFLAGS="$LDFLAGS" 9976 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9978/* end confdefs.h. */ 9979int foo (void) { return 0; } 9980_ACEOF 9981if ac_fn_c_try_link "$LINENO"; then : 9982 lt_cv_irix_exported_symbol=yes 9983else 9984 lt_cv_irix_exported_symbol=no 9985fi 9986rm -f core conftest.err conftest.$ac_objext \ 9987 conftest$ac_exeext conftest.$ac_ext 9988 LDFLAGS="$save_LDFLAGS" 9989fi 9990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9991$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9992 if test "$lt_cv_irix_exported_symbol" = yes; then 9993 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' 9994 fi 9995 else 9996 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' 9997 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' 9998 fi 9999 archive_cmds_need_lc='no' 10000 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10001 hardcode_libdir_separator=: 10002 inherit_rpath=yes 10003 link_all_deplibs=yes 10004 ;; 10005 10006 netbsd* | netbsdelf*-gnu) 10007 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10008 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10009 else 10010 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10011 fi 10012 hardcode_libdir_flag_spec='-R$libdir' 10013 hardcode_direct=yes 10014 hardcode_shlibpath_var=no 10015 ;; 10016 10017 newsos6) 10018 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10019 hardcode_direct=yes 10020 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10021 hardcode_libdir_separator=: 10022 hardcode_shlibpath_var=no 10023 ;; 10024 10025 *nto* | *qnx*) 10026 ;; 10027 10028 openbsd*) 10029 if test -f /usr/libexec/ld.so; then 10030 hardcode_direct=yes 10031 hardcode_shlibpath_var=no 10032 hardcode_direct_absolute=yes 10033 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10034 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10035 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10036 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10037 export_dynamic_flag_spec='${wl}-E' 10038 else 10039 case $host_os in 10040 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10041 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10042 hardcode_libdir_flag_spec='-R$libdir' 10043 ;; 10044 *) 10045 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10046 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10047 ;; 10048 esac 10049 fi 10050 else 10051 ld_shlibs=no 10052 fi 10053 ;; 10054 10055 os2*) 10056 hardcode_libdir_flag_spec='-L$libdir' 10057 hardcode_minus_L=yes 10058 allow_undefined_flag=unsupported 10059 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' 10060 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10061 ;; 10062 10063 osf3*) 10064 if test "$GCC" = yes; then 10065 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10066 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' 10067 else 10068 allow_undefined_flag=' -expect_unresolved \*' 10069 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' 10070 fi 10071 archive_cmds_need_lc='no' 10072 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10073 hardcode_libdir_separator=: 10074 ;; 10075 10076 osf4* | osf5*) # as osf3* with the addition of -msym flag 10077 if test "$GCC" = yes; then 10078 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10079 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' 10080 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10081 else 10082 allow_undefined_flag=' -expect_unresolved \*' 10083 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' 10084 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~ 10085 $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' 10086 10087 # Both c and cxx compiler support -rpath directly 10088 hardcode_libdir_flag_spec='-rpath $libdir' 10089 fi 10090 archive_cmds_need_lc='no' 10091 hardcode_libdir_separator=: 10092 ;; 10093 10094 solaris*) 10095 no_undefined_flag=' -z defs' 10096 if test "$GCC" = yes; then 10097 wlarc='${wl}' 10098 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10099 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10100 $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' 10101 else 10102 case `$CC -V 2>&1` in 10103 *"Compilers 5.0"*) 10104 wlarc='' 10105 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10106 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10107 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10108 ;; 10109 *) 10110 wlarc='${wl}' 10111 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10112 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10113 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10114 ;; 10115 esac 10116 fi 10117 hardcode_libdir_flag_spec='-R$libdir' 10118 hardcode_shlibpath_var=no 10119 case $host_os in 10120 solaris2.[0-5] | solaris2.[0-5].*) ;; 10121 *) 10122 # The compiler driver will combine and reorder linker options, 10123 # but understands `-z linker_flag'. GCC discards it without `$wl', 10124 # but is careful enough not to reorder. 10125 # Supported since Solaris 2.6 (maybe 2.5.1?) 10126 if test "$GCC" = yes; then 10127 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10128 else 10129 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10130 fi 10131 ;; 10132 esac 10133 link_all_deplibs=yes 10134 ;; 10135 10136 sunos4*) 10137 if test "x$host_vendor" = xsequent; then 10138 # Use $CC to link under sequent, because it throws in some extra .o 10139 # files that make .init and .fini sections work. 10140 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10141 else 10142 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10143 fi 10144 hardcode_libdir_flag_spec='-L$libdir' 10145 hardcode_direct=yes 10146 hardcode_minus_L=yes 10147 hardcode_shlibpath_var=no 10148 ;; 10149 10150 sysv4) 10151 case $host_vendor in 10152 sni) 10153 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10154 hardcode_direct=yes # is this really true??? 10155 ;; 10156 siemens) 10157 ## LD is ld it makes a PLAMLIB 10158 ## CC just makes a GrossModule. 10159 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10160 reload_cmds='$CC -r -o $output$reload_objs' 10161 hardcode_direct=no 10162 ;; 10163 motorola) 10164 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10165 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10166 ;; 10167 esac 10168 runpath_var='LD_RUN_PATH' 10169 hardcode_shlibpath_var=no 10170 ;; 10171 10172 sysv4.3*) 10173 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10174 hardcode_shlibpath_var=no 10175 export_dynamic_flag_spec='-Bexport' 10176 ;; 10177 10178 sysv4*MP*) 10179 if test -d /usr/nec; then 10180 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10181 hardcode_shlibpath_var=no 10182 runpath_var=LD_RUN_PATH 10183 hardcode_runpath_var=yes 10184 ld_shlibs=yes 10185 fi 10186 ;; 10187 10188 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10189 no_undefined_flag='${wl}-z,text' 10190 archive_cmds_need_lc=no 10191 hardcode_shlibpath_var=no 10192 runpath_var='LD_RUN_PATH' 10193 10194 if test "$GCC" = yes; then 10195 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10196 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10197 else 10198 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10199 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10200 fi 10201 ;; 10202 10203 sysv5* | sco3.2v5* | sco5v6*) 10204 # Note: We can NOT use -z defs as we might desire, because we do not 10205 # link with -lc, and that would cause any symbols used from libc to 10206 # always be unresolved, which means just about no library would 10207 # ever link correctly. If we're not using GNU ld we use -z text 10208 # though, which does catch some bad symbols but isn't as heavy-handed 10209 # as -z defs. 10210 no_undefined_flag='${wl}-z,text' 10211 allow_undefined_flag='${wl}-z,nodefs' 10212 archive_cmds_need_lc=no 10213 hardcode_shlibpath_var=no 10214 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10215 hardcode_libdir_separator=':' 10216 link_all_deplibs=yes 10217 export_dynamic_flag_spec='${wl}-Bexport' 10218 runpath_var='LD_RUN_PATH' 10219 10220 if test "$GCC" = yes; then 10221 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10222 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10223 else 10224 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10225 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10226 fi 10227 ;; 10228 10229 uts4*) 10230 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10231 hardcode_libdir_flag_spec='-L$libdir' 10232 hardcode_shlibpath_var=no 10233 ;; 10234 10235 *) 10236 ld_shlibs=no 10237 ;; 10238 esac 10239 10240 if test x$host_vendor = xsni; then 10241 case $host in 10242 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10243 export_dynamic_flag_spec='${wl}-Blargedynsym' 10244 ;; 10245 esac 10246 fi 10247 fi 10248 10249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10250$as_echo "$ld_shlibs" >&6; } 10251test "$ld_shlibs" = no && can_build_shared=no 10252 10253with_gnu_ld=$with_gnu_ld 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269# 10270# Do we need to explicitly link libc? 10271# 10272case "x$archive_cmds_need_lc" in 10273x|xyes) 10274 # Assume -lc should be added 10275 archive_cmds_need_lc=yes 10276 10277 if test "$enable_shared" = yes && test "$GCC" = yes; then 10278 case $archive_cmds in 10279 *'~'*) 10280 # FIXME: we may have to deal with multi-command sequences. 10281 ;; 10282 '$CC '*) 10283 # Test whether the compiler implicitly links with -lc since on some 10284 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10285 # to ld, don't add -lc before -lgcc. 10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10287$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10288if ${lt_cv_archive_cmds_need_lc+:} false; then : 10289 $as_echo_n "(cached) " >&6 10290else 10291 $RM conftest* 10292 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10293 10294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10295 (eval $ac_compile) 2>&5 10296 ac_status=$? 10297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10298 test $ac_status = 0; } 2>conftest.err; then 10299 soname=conftest 10300 lib=conftest 10301 libobjs=conftest.$ac_objext 10302 deplibs= 10303 wl=$lt_prog_compiler_wl 10304 pic_flag=$lt_prog_compiler_pic 10305 compiler_flags=-v 10306 linker_flags=-v 10307 verstring= 10308 output_objdir=. 10309 libname=conftest 10310 lt_save_allow_undefined_flag=$allow_undefined_flag 10311 allow_undefined_flag= 10312 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10313 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10314 ac_status=$? 10315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10316 test $ac_status = 0; } 10317 then 10318 lt_cv_archive_cmds_need_lc=no 10319 else 10320 lt_cv_archive_cmds_need_lc=yes 10321 fi 10322 allow_undefined_flag=$lt_save_allow_undefined_flag 10323 else 10324 cat conftest.err 1>&5 10325 fi 10326 $RM conftest* 10327 10328fi 10329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10330$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10331 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10332 ;; 10333 esac 10334 fi 10335 ;; 10336esac 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10490$as_echo_n "checking dynamic linker characteristics... " >&6; } 10491 10492if test "$GCC" = yes; then 10493 case $host_os in 10494 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10495 *) lt_awk_arg="/^libraries:/" ;; 10496 esac 10497 case $host_os in 10498 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10499 *) lt_sed_strip_eq="s,=/,/,g" ;; 10500 esac 10501 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10502 case $lt_search_path_spec in 10503 *\;*) 10504 # if the path contains ";" then we assume it to be the separator 10505 # otherwise default to the standard path separator (i.e. ":") - it is 10506 # assumed that no part of a normal pathname contains ";" but that should 10507 # okay in the real world where ";" in dirpaths is itself problematic. 10508 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10509 ;; 10510 *) 10511 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10512 ;; 10513 esac 10514 # Ok, now we have the path, separated by spaces, we can step through it 10515 # and add multilib dir if necessary. 10516 lt_tmp_lt_search_path_spec= 10517 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10518 for lt_sys_path in $lt_search_path_spec; do 10519 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10520 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10521 else 10522 test -d "$lt_sys_path" && \ 10523 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10524 fi 10525 done 10526 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10527BEGIN {RS=" "; FS="/|\n";} { 10528 lt_foo=""; 10529 lt_count=0; 10530 for (lt_i = NF; lt_i > 0; lt_i--) { 10531 if ($lt_i != "" && $lt_i != ".") { 10532 if ($lt_i == "..") { 10533 lt_count++; 10534 } else { 10535 if (lt_count == 0) { 10536 lt_foo="/" $lt_i lt_foo; 10537 } else { 10538 lt_count--; 10539 } 10540 } 10541 } 10542 } 10543 if (lt_foo != "") { lt_freq[lt_foo]++; } 10544 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10545}'` 10546 # AWK program above erroneously prepends '/' to C:/dos/paths 10547 # for these hosts. 10548 case $host_os in 10549 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10550 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10551 esac 10552 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10553else 10554 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10555fi 10556library_names_spec= 10557libname_spec='lib$name' 10558soname_spec= 10559shrext_cmds=".so" 10560postinstall_cmds= 10561postuninstall_cmds= 10562finish_cmds= 10563finish_eval= 10564shlibpath_var= 10565shlibpath_overrides_runpath=unknown 10566version_type=none 10567dynamic_linker="$host_os ld.so" 10568sys_lib_dlsearch_path_spec="/lib /usr/lib" 10569need_lib_prefix=unknown 10570hardcode_into_libs=no 10571 10572# when you set need_version to no, make sure it does not cause -set_version 10573# flags to be left without arguments 10574need_version=unknown 10575 10576case $host_os in 10577aix3*) 10578 version_type=linux # correct to gnu/linux during the next big refactor 10579 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10580 shlibpath_var=LIBPATH 10581 10582 # AIX 3 has no versioning support, so we append a major version to the name. 10583 soname_spec='${libname}${release}${shared_ext}$major' 10584 ;; 10585 10586aix[4-9]*) 10587 version_type=linux # correct to gnu/linux during the next big refactor 10588 need_lib_prefix=no 10589 need_version=no 10590 hardcode_into_libs=yes 10591 if test "$host_cpu" = ia64; then 10592 # AIX 5 supports IA64 10593 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10594 shlibpath_var=LD_LIBRARY_PATH 10595 else 10596 # With GCC up to 2.95.x, collect2 would create an import file 10597 # for dependence libraries. The import file would start with 10598 # the line `#! .'. This would cause the generated library to 10599 # depend on `.', always an invalid library. This was fixed in 10600 # development snapshots of GCC prior to 3.0. 10601 case $host_os in 10602 aix4 | aix4.[01] | aix4.[01].*) 10603 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10604 echo ' yes ' 10605 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10606 : 10607 else 10608 can_build_shared=no 10609 fi 10610 ;; 10611 esac 10612 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10613 # soname into executable. Probably we can add versioning support to 10614 # collect2, so additional links can be useful in future. 10615 if test "$aix_use_runtimelinking" = yes; then 10616 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10617 # instead of lib<name>.a to let people know that these are not 10618 # typical AIX shared libraries. 10619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10620 else 10621 # We preserve .a as extension for shared libraries through AIX4.2 10622 # and later when we are not doing run time linking. 10623 library_names_spec='${libname}${release}.a $libname.a' 10624 soname_spec='${libname}${release}${shared_ext}$major' 10625 fi 10626 shlibpath_var=LIBPATH 10627 fi 10628 ;; 10629 10630amigaos*) 10631 case $host_cpu in 10632 powerpc) 10633 # Since July 2007 AmigaOS4 officially supports .so libraries. 10634 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10636 ;; 10637 m68k) 10638 library_names_spec='$libname.ixlibrary $libname.a' 10639 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10640 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' 10641 ;; 10642 esac 10643 ;; 10644 10645beos*) 10646 library_names_spec='${libname}${shared_ext}' 10647 dynamic_linker="$host_os ld.so" 10648 shlibpath_var=LIBRARY_PATH 10649 ;; 10650 10651bsdi[45]*) 10652 version_type=linux # correct to gnu/linux during the next big refactor 10653 need_version=no 10654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10655 soname_spec='${libname}${release}${shared_ext}$major' 10656 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10657 shlibpath_var=LD_LIBRARY_PATH 10658 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10659 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10660 # the default ld.so.conf also contains /usr/contrib/lib and 10661 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10662 # libtool to hard-code these into programs 10663 ;; 10664 10665cygwin* | mingw* | pw32* | cegcc*) 10666 version_type=windows 10667 shrext_cmds=".dll" 10668 need_version=no 10669 need_lib_prefix=no 10670 10671 case $GCC,$cc_basename in 10672 yes,*) 10673 # gcc 10674 library_names_spec='$libname.dll.a' 10675 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10676 postinstall_cmds='base_file=`basename \${file}`~ 10677 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10678 dldir=$destdir/`dirname \$dlpath`~ 10679 test -d \$dldir || mkdir -p \$dldir~ 10680 $install_prog $dir/$dlname \$dldir/$dlname~ 10681 chmod a+x \$dldir/$dlname~ 10682 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10683 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10684 fi' 10685 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10686 dlpath=$dir/\$dldll~ 10687 $RM \$dlpath' 10688 shlibpath_overrides_runpath=yes 10689 10690 case $host_os in 10691 cygwin*) 10692 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10693 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10694 10695 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10696 ;; 10697 mingw* | cegcc*) 10698 # MinGW DLLs use traditional 'lib' prefix 10699 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10700 ;; 10701 pw32*) 10702 # pw32 DLLs use 'pw' prefix rather than 'lib' 10703 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10704 ;; 10705 esac 10706 dynamic_linker='Win32 ld.exe' 10707 ;; 10708 10709 *,cl*) 10710 # Native MSVC 10711 libname_spec='$name' 10712 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10713 library_names_spec='${libname}.dll.lib' 10714 10715 case $build_os in 10716 mingw*) 10717 sys_lib_search_path_spec= 10718 lt_save_ifs=$IFS 10719 IFS=';' 10720 for lt_path in $LIB 10721 do 10722 IFS=$lt_save_ifs 10723 # Let DOS variable expansion print the short 8.3 style file name. 10724 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10725 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10726 done 10727 IFS=$lt_save_ifs 10728 # Convert to MSYS style. 10729 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10730 ;; 10731 cygwin*) 10732 # Convert to unix form, then to dos form, then back to unix form 10733 # but this time dos style (no spaces!) so that the unix form looks 10734 # like /cygdrive/c/PROGRA~1:/cygdr... 10735 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10736 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10737 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10738 ;; 10739 *) 10740 sys_lib_search_path_spec="$LIB" 10741 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10742 # It is most probably a Windows format PATH. 10743 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10744 else 10745 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10746 fi 10747 # FIXME: find the short name or the path components, as spaces are 10748 # common. (e.g. "Program Files" -> "PROGRA~1") 10749 ;; 10750 esac 10751 10752 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10753 postinstall_cmds='base_file=`basename \${file}`~ 10754 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10755 dldir=$destdir/`dirname \$dlpath`~ 10756 test -d \$dldir || mkdir -p \$dldir~ 10757 $install_prog $dir/$dlname \$dldir/$dlname' 10758 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10759 dlpath=$dir/\$dldll~ 10760 $RM \$dlpath' 10761 shlibpath_overrides_runpath=yes 10762 dynamic_linker='Win32 link.exe' 10763 ;; 10764 10765 *) 10766 # Assume MSVC wrapper 10767 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10768 dynamic_linker='Win32 ld.exe' 10769 ;; 10770 esac 10771 # FIXME: first we should search . and the directory the executable is in 10772 shlibpath_var=PATH 10773 ;; 10774 10775darwin* | rhapsody*) 10776 dynamic_linker="$host_os dyld" 10777 version_type=darwin 10778 need_lib_prefix=no 10779 need_version=no 10780 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10781 soname_spec='${libname}${release}${major}$shared_ext' 10782 shlibpath_overrides_runpath=yes 10783 shlibpath_var=DYLD_LIBRARY_PATH 10784 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10785 10786 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10787 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10788 ;; 10789 10790dgux*) 10791 version_type=linux # correct to gnu/linux during the next big refactor 10792 need_lib_prefix=no 10793 need_version=no 10794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10795 soname_spec='${libname}${release}${shared_ext}$major' 10796 shlibpath_var=LD_LIBRARY_PATH 10797 ;; 10798 10799freebsd* | dragonfly*) 10800 # DragonFly does not have aout. When/if they implement a new 10801 # versioning mechanism, adjust this. 10802 if test -x /usr/bin/objformat; then 10803 objformat=`/usr/bin/objformat` 10804 else 10805 case $host_os in 10806 freebsd[23].*) objformat=aout ;; 10807 *) objformat=elf ;; 10808 esac 10809 fi 10810 version_type=freebsd-$objformat 10811 case $version_type in 10812 freebsd-elf*) 10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10814 need_version=no 10815 need_lib_prefix=no 10816 ;; 10817 freebsd-*) 10818 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10819 need_version=yes 10820 ;; 10821 esac 10822 shlibpath_var=LD_LIBRARY_PATH 10823 case $host_os in 10824 freebsd2.*) 10825 shlibpath_overrides_runpath=yes 10826 ;; 10827 freebsd3.[01]* | freebsdelf3.[01]*) 10828 shlibpath_overrides_runpath=yes 10829 hardcode_into_libs=yes 10830 ;; 10831 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10832 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10833 shlibpath_overrides_runpath=no 10834 hardcode_into_libs=yes 10835 ;; 10836 *) # from 4.6 on, and DragonFly 10837 shlibpath_overrides_runpath=yes 10838 hardcode_into_libs=yes 10839 ;; 10840 esac 10841 ;; 10842 10843haiku*) 10844 version_type=linux # correct to gnu/linux during the next big refactor 10845 need_lib_prefix=no 10846 need_version=no 10847 dynamic_linker="$host_os runtime_loader" 10848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10849 soname_spec='${libname}${release}${shared_ext}$major' 10850 shlibpath_var=LIBRARY_PATH 10851 shlibpath_overrides_runpath=yes 10852 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10853 hardcode_into_libs=yes 10854 ;; 10855 10856hpux9* | hpux10* | hpux11*) 10857 # Give a soname corresponding to the major version so that dld.sl refuses to 10858 # link against other versions. 10859 version_type=sunos 10860 need_lib_prefix=no 10861 need_version=no 10862 case $host_cpu in 10863 ia64*) 10864 shrext_cmds='.so' 10865 hardcode_into_libs=yes 10866 dynamic_linker="$host_os dld.so" 10867 shlibpath_var=LD_LIBRARY_PATH 10868 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10870 soname_spec='${libname}${release}${shared_ext}$major' 10871 if test "X$HPUX_IA64_MODE" = X32; then 10872 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10873 else 10874 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10875 fi 10876 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10877 ;; 10878 hppa*64*) 10879 shrext_cmds='.sl' 10880 hardcode_into_libs=yes 10881 dynamic_linker="$host_os dld.sl" 10882 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10883 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10885 soname_spec='${libname}${release}${shared_ext}$major' 10886 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10887 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10888 ;; 10889 *) 10890 shrext_cmds='.sl' 10891 dynamic_linker="$host_os dld.sl" 10892 shlibpath_var=SHLIB_PATH 10893 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10895 soname_spec='${libname}${release}${shared_ext}$major' 10896 ;; 10897 esac 10898 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10899 postinstall_cmds='chmod 555 $lib' 10900 # or fails outright, so override atomically: 10901 install_override_mode=555 10902 ;; 10903 10904interix[3-9]*) 10905 version_type=linux # correct to gnu/linux during the next big refactor 10906 need_lib_prefix=no 10907 need_version=no 10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10909 soname_spec='${libname}${release}${shared_ext}$major' 10910 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10911 shlibpath_var=LD_LIBRARY_PATH 10912 shlibpath_overrides_runpath=no 10913 hardcode_into_libs=yes 10914 ;; 10915 10916irix5* | irix6* | nonstopux*) 10917 case $host_os in 10918 nonstopux*) version_type=nonstopux ;; 10919 *) 10920 if test "$lt_cv_prog_gnu_ld" = yes; then 10921 version_type=linux # correct to gnu/linux during the next big refactor 10922 else 10923 version_type=irix 10924 fi ;; 10925 esac 10926 need_lib_prefix=no 10927 need_version=no 10928 soname_spec='${libname}${release}${shared_ext}$major' 10929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10930 case $host_os in 10931 irix5* | nonstopux*) 10932 libsuff= shlibsuff= 10933 ;; 10934 *) 10935 case $LD in # libtool.m4 will add one of these switches to LD 10936 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10937 libsuff= shlibsuff= libmagic=32-bit;; 10938 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10939 libsuff=32 shlibsuff=N32 libmagic=N32;; 10940 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10941 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10942 *) libsuff= shlibsuff= libmagic=never-match;; 10943 esac 10944 ;; 10945 esac 10946 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10947 shlibpath_overrides_runpath=no 10948 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10949 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10950 hardcode_into_libs=yes 10951 ;; 10952 10953# No shared lib support for Linux oldld, aout, or coff. 10954linux*oldld* | linux*aout* | linux*coff*) 10955 dynamic_linker=no 10956 ;; 10957 10958# This must be glibc/ELF. 10959linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10960 version_type=linux # correct to gnu/linux during the next big refactor 10961 need_lib_prefix=no 10962 need_version=no 10963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10964 soname_spec='${libname}${release}${shared_ext}$major' 10965 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10966 shlibpath_var=LD_LIBRARY_PATH 10967 shlibpath_overrides_runpath=no 10968 10969 # Some binutils ld are patched to set DT_RUNPATH 10970 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10971 $as_echo_n "(cached) " >&6 10972else 10973 lt_cv_shlibpath_overrides_runpath=no 10974 save_LDFLAGS=$LDFLAGS 10975 save_libdir=$libdir 10976 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10977 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10979/* end confdefs.h. */ 10980 10981int 10982main () 10983{ 10984 10985 ; 10986 return 0; 10987} 10988_ACEOF 10989if ac_fn_c_try_link "$LINENO"; then : 10990 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10991 lt_cv_shlibpath_overrides_runpath=yes 10992fi 10993fi 10994rm -f core conftest.err conftest.$ac_objext \ 10995 conftest$ac_exeext conftest.$ac_ext 10996 LDFLAGS=$save_LDFLAGS 10997 libdir=$save_libdir 10998 10999fi 11000 11001 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11002 11003 # This implies no fast_install, which is unacceptable. 11004 # Some rework will be needed to allow for fast_install 11005 # before this can be enabled. 11006 hardcode_into_libs=yes 11007 11008 # Append ld.so.conf contents to the search path 11009 if test -f /etc/ld.so.conf; then 11010 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' ' '` 11011 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11012 fi 11013 11014 # We used to test for /lib/ld.so.1 and disable shared libraries on 11015 # powerpc, because MkLinux only supported shared libraries with the 11016 # GNU dynamic linker. Since this was broken with cross compilers, 11017 # most powerpc-linux boxes support dynamic linking these days and 11018 # people can always --disable-shared, the test was removed, and we 11019 # assume the GNU/Linux dynamic linker is in use. 11020 dynamic_linker='GNU/Linux ld.so' 11021 ;; 11022 11023netbsdelf*-gnu) 11024 version_type=linux 11025 need_lib_prefix=no 11026 need_version=no 11027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11028 soname_spec='${libname}${release}${shared_ext}$major' 11029 shlibpath_var=LD_LIBRARY_PATH 11030 shlibpath_overrides_runpath=no 11031 hardcode_into_libs=yes 11032 dynamic_linker='NetBSD ld.elf_so' 11033 ;; 11034 11035netbsd*) 11036 version_type=sunos 11037 need_lib_prefix=no 11038 need_version=no 11039 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11041 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11042 dynamic_linker='NetBSD (a.out) ld.so' 11043 else 11044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11045 soname_spec='${libname}${release}${shared_ext}$major' 11046 dynamic_linker='NetBSD ld.elf_so' 11047 fi 11048 shlibpath_var=LD_LIBRARY_PATH 11049 shlibpath_overrides_runpath=yes 11050 hardcode_into_libs=yes 11051 ;; 11052 11053newsos6) 11054 version_type=linux # correct to gnu/linux during the next big refactor 11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11056 shlibpath_var=LD_LIBRARY_PATH 11057 shlibpath_overrides_runpath=yes 11058 ;; 11059 11060*nto* | *qnx*) 11061 version_type=qnx 11062 need_lib_prefix=no 11063 need_version=no 11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11065 soname_spec='${libname}${release}${shared_ext}$major' 11066 shlibpath_var=LD_LIBRARY_PATH 11067 shlibpath_overrides_runpath=no 11068 hardcode_into_libs=yes 11069 dynamic_linker='ldqnx.so' 11070 ;; 11071 11072openbsd*) 11073 version_type=sunos 11074 sys_lib_dlsearch_path_spec="/usr/lib" 11075 need_lib_prefix=no 11076 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11077 case $host_os in 11078 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11079 *) need_version=no ;; 11080 esac 11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11082 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11083 shlibpath_var=LD_LIBRARY_PATH 11084 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11085 case $host_os in 11086 openbsd2.[89] | openbsd2.[89].*) 11087 shlibpath_overrides_runpath=no 11088 ;; 11089 *) 11090 shlibpath_overrides_runpath=yes 11091 ;; 11092 esac 11093 else 11094 shlibpath_overrides_runpath=yes 11095 fi 11096 ;; 11097 11098os2*) 11099 libname_spec='$name' 11100 shrext_cmds=".dll" 11101 need_lib_prefix=no 11102 library_names_spec='$libname${shared_ext} $libname.a' 11103 dynamic_linker='OS/2 ld.exe' 11104 shlibpath_var=LIBPATH 11105 ;; 11106 11107osf3* | osf4* | osf5*) 11108 version_type=osf 11109 need_lib_prefix=no 11110 need_version=no 11111 soname_spec='${libname}${release}${shared_ext}$major' 11112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11113 shlibpath_var=LD_LIBRARY_PATH 11114 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11115 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11116 ;; 11117 11118rdos*) 11119 dynamic_linker=no 11120 ;; 11121 11122solaris*) 11123 version_type=linux # correct to gnu/linux during the next big refactor 11124 need_lib_prefix=no 11125 need_version=no 11126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11127 soname_spec='${libname}${release}${shared_ext}$major' 11128 shlibpath_var=LD_LIBRARY_PATH 11129 shlibpath_overrides_runpath=yes 11130 hardcode_into_libs=yes 11131 # ldd complains unless libraries are executable 11132 postinstall_cmds='chmod +x $lib' 11133 ;; 11134 11135sunos4*) 11136 version_type=sunos 11137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11138 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11139 shlibpath_var=LD_LIBRARY_PATH 11140 shlibpath_overrides_runpath=yes 11141 if test "$with_gnu_ld" = yes; then 11142 need_lib_prefix=no 11143 fi 11144 need_version=yes 11145 ;; 11146 11147sysv4 | sysv4.3*) 11148 version_type=linux # correct to gnu/linux during the next big refactor 11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11150 soname_spec='${libname}${release}${shared_ext}$major' 11151 shlibpath_var=LD_LIBRARY_PATH 11152 case $host_vendor in 11153 sni) 11154 shlibpath_overrides_runpath=no 11155 need_lib_prefix=no 11156 runpath_var=LD_RUN_PATH 11157 ;; 11158 siemens) 11159 need_lib_prefix=no 11160 ;; 11161 motorola) 11162 need_lib_prefix=no 11163 need_version=no 11164 shlibpath_overrides_runpath=no 11165 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11166 ;; 11167 esac 11168 ;; 11169 11170sysv4*MP*) 11171 if test -d /usr/nec ;then 11172 version_type=linux # correct to gnu/linux during the next big refactor 11173 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11174 soname_spec='$libname${shared_ext}.$major' 11175 shlibpath_var=LD_LIBRARY_PATH 11176 fi 11177 ;; 11178 11179sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11180 version_type=freebsd-elf 11181 need_lib_prefix=no 11182 need_version=no 11183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11184 soname_spec='${libname}${release}${shared_ext}$major' 11185 shlibpath_var=LD_LIBRARY_PATH 11186 shlibpath_overrides_runpath=yes 11187 hardcode_into_libs=yes 11188 if test "$with_gnu_ld" = yes; then 11189 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11190 else 11191 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11192 case $host_os in 11193 sco3.2v5*) 11194 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11195 ;; 11196 esac 11197 fi 11198 sys_lib_dlsearch_path_spec='/usr/lib' 11199 ;; 11200 11201tpf*) 11202 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11203 version_type=linux # correct to gnu/linux during the next big refactor 11204 need_lib_prefix=no 11205 need_version=no 11206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11207 shlibpath_var=LD_LIBRARY_PATH 11208 shlibpath_overrides_runpath=no 11209 hardcode_into_libs=yes 11210 ;; 11211 11212uts4*) 11213 version_type=linux # correct to gnu/linux during the next big refactor 11214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11215 soname_spec='${libname}${release}${shared_ext}$major' 11216 shlibpath_var=LD_LIBRARY_PATH 11217 ;; 11218 11219*) 11220 dynamic_linker=no 11221 ;; 11222esac 11223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11224$as_echo "$dynamic_linker" >&6; } 11225test "$dynamic_linker" = no && can_build_shared=no 11226 11227variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11228if test "$GCC" = yes; then 11229 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11230fi 11231 11232if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11233 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11234fi 11235if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11236 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11237fi 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11331$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11332hardcode_action= 11333if test -n "$hardcode_libdir_flag_spec" || 11334 test -n "$runpath_var" || 11335 test "X$hardcode_automatic" = "Xyes" ; then 11336 11337 # We can hardcode non-existent directories. 11338 if test "$hardcode_direct" != no && 11339 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11340 # have to relink, otherwise we might link with an installed library 11341 # when we should be linking with a yet-to-be-installed one 11342 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11343 test "$hardcode_minus_L" != no; then 11344 # Linking always hardcodes the temporary library directory. 11345 hardcode_action=relink 11346 else 11347 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11348 hardcode_action=immediate 11349 fi 11350else 11351 # We cannot hardcode anything, or else we can only hardcode existing 11352 # directories. 11353 hardcode_action=unsupported 11354fi 11355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11356$as_echo "$hardcode_action" >&6; } 11357 11358if test "$hardcode_action" = relink || 11359 test "$inherit_rpath" = yes; then 11360 # Fast installation is not supported 11361 enable_fast_install=no 11362elif test "$shlibpath_overrides_runpath" = yes || 11363 test "$enable_shared" = no; then 11364 # Fast installation is not necessary 11365 enable_fast_install=needless 11366fi 11367 11368 11369 11370 11371 11372 11373 if test "x$enable_dlopen" != xyes; then 11374 enable_dlopen=unknown 11375 enable_dlopen_self=unknown 11376 enable_dlopen_self_static=unknown 11377else 11378 lt_cv_dlopen=no 11379 lt_cv_dlopen_libs= 11380 11381 case $host_os in 11382 beos*) 11383 lt_cv_dlopen="load_add_on" 11384 lt_cv_dlopen_libs= 11385 lt_cv_dlopen_self=yes 11386 ;; 11387 11388 mingw* | pw32* | cegcc*) 11389 lt_cv_dlopen="LoadLibrary" 11390 lt_cv_dlopen_libs= 11391 ;; 11392 11393 cygwin*) 11394 lt_cv_dlopen="dlopen" 11395 lt_cv_dlopen_libs= 11396 ;; 11397 11398 darwin*) 11399 # if libdl is installed we need to link against it 11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11401$as_echo_n "checking for dlopen in -ldl... " >&6; } 11402if ${ac_cv_lib_dl_dlopen+:} false; then : 11403 $as_echo_n "(cached) " >&6 11404else 11405 ac_check_lib_save_LIBS=$LIBS 11406LIBS="-ldl $LIBS" 11407cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11408/* end confdefs.h. */ 11409 11410/* Override any GCC internal prototype to avoid an error. 11411 Use char because int might match the return type of a GCC 11412 builtin and then its argument prototype would still apply. */ 11413#ifdef __cplusplus 11414extern "C" 11415#endif 11416char dlopen (); 11417int 11418main () 11419{ 11420return dlopen (); 11421 ; 11422 return 0; 11423} 11424_ACEOF 11425if ac_fn_c_try_link "$LINENO"; then : 11426 ac_cv_lib_dl_dlopen=yes 11427else 11428 ac_cv_lib_dl_dlopen=no 11429fi 11430rm -f core conftest.err conftest.$ac_objext \ 11431 conftest$ac_exeext conftest.$ac_ext 11432LIBS=$ac_check_lib_save_LIBS 11433fi 11434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11435$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11436if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11437 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11438else 11439 11440 lt_cv_dlopen="dyld" 11441 lt_cv_dlopen_libs= 11442 lt_cv_dlopen_self=yes 11443 11444fi 11445 11446 ;; 11447 11448 *) 11449 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11450if test "x$ac_cv_func_shl_load" = xyes; then : 11451 lt_cv_dlopen="shl_load" 11452else 11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11454$as_echo_n "checking for shl_load in -ldld... " >&6; } 11455if ${ac_cv_lib_dld_shl_load+:} false; then : 11456 $as_echo_n "(cached) " >&6 11457else 11458 ac_check_lib_save_LIBS=$LIBS 11459LIBS="-ldld $LIBS" 11460cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11461/* end confdefs.h. */ 11462 11463/* Override any GCC internal prototype to avoid an error. 11464 Use char because int might match the return type of a GCC 11465 builtin and then its argument prototype would still apply. */ 11466#ifdef __cplusplus 11467extern "C" 11468#endif 11469char shl_load (); 11470int 11471main () 11472{ 11473return shl_load (); 11474 ; 11475 return 0; 11476} 11477_ACEOF 11478if ac_fn_c_try_link "$LINENO"; then : 11479 ac_cv_lib_dld_shl_load=yes 11480else 11481 ac_cv_lib_dld_shl_load=no 11482fi 11483rm -f core conftest.err conftest.$ac_objext \ 11484 conftest$ac_exeext conftest.$ac_ext 11485LIBS=$ac_check_lib_save_LIBS 11486fi 11487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11488$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11489if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11490 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11491else 11492 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11493if test "x$ac_cv_func_dlopen" = xyes; then : 11494 lt_cv_dlopen="dlopen" 11495else 11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11497$as_echo_n "checking for dlopen in -ldl... " >&6; } 11498if ${ac_cv_lib_dl_dlopen+:} false; then : 11499 $as_echo_n "(cached) " >&6 11500else 11501 ac_check_lib_save_LIBS=$LIBS 11502LIBS="-ldl $LIBS" 11503cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11504/* end confdefs.h. */ 11505 11506/* Override any GCC internal prototype to avoid an error. 11507 Use char because int might match the return type of a GCC 11508 builtin and then its argument prototype would still apply. */ 11509#ifdef __cplusplus 11510extern "C" 11511#endif 11512char dlopen (); 11513int 11514main () 11515{ 11516return dlopen (); 11517 ; 11518 return 0; 11519} 11520_ACEOF 11521if ac_fn_c_try_link "$LINENO"; then : 11522 ac_cv_lib_dl_dlopen=yes 11523else 11524 ac_cv_lib_dl_dlopen=no 11525fi 11526rm -f core conftest.err conftest.$ac_objext \ 11527 conftest$ac_exeext conftest.$ac_ext 11528LIBS=$ac_check_lib_save_LIBS 11529fi 11530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11531$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11532if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11533 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11534else 11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11536$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11537if ${ac_cv_lib_svld_dlopen+:} false; then : 11538 $as_echo_n "(cached) " >&6 11539else 11540 ac_check_lib_save_LIBS=$LIBS 11541LIBS="-lsvld $LIBS" 11542cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11543/* end confdefs.h. */ 11544 11545/* Override any GCC internal prototype to avoid an error. 11546 Use char because int might match the return type of a GCC 11547 builtin and then its argument prototype would still apply. */ 11548#ifdef __cplusplus 11549extern "C" 11550#endif 11551char dlopen (); 11552int 11553main () 11554{ 11555return dlopen (); 11556 ; 11557 return 0; 11558} 11559_ACEOF 11560if ac_fn_c_try_link "$LINENO"; then : 11561 ac_cv_lib_svld_dlopen=yes 11562else 11563 ac_cv_lib_svld_dlopen=no 11564fi 11565rm -f core conftest.err conftest.$ac_objext \ 11566 conftest$ac_exeext conftest.$ac_ext 11567LIBS=$ac_check_lib_save_LIBS 11568fi 11569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11570$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11571if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11572 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11573else 11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11575$as_echo_n "checking for dld_link in -ldld... " >&6; } 11576if ${ac_cv_lib_dld_dld_link+:} false; then : 11577 $as_echo_n "(cached) " >&6 11578else 11579 ac_check_lib_save_LIBS=$LIBS 11580LIBS="-ldld $LIBS" 11581cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11582/* end confdefs.h. */ 11583 11584/* Override any GCC internal prototype to avoid an error. 11585 Use char because int might match the return type of a GCC 11586 builtin and then its argument prototype would still apply. */ 11587#ifdef __cplusplus 11588extern "C" 11589#endif 11590char dld_link (); 11591int 11592main () 11593{ 11594return dld_link (); 11595 ; 11596 return 0; 11597} 11598_ACEOF 11599if ac_fn_c_try_link "$LINENO"; then : 11600 ac_cv_lib_dld_dld_link=yes 11601else 11602 ac_cv_lib_dld_dld_link=no 11603fi 11604rm -f core conftest.err conftest.$ac_objext \ 11605 conftest$ac_exeext conftest.$ac_ext 11606LIBS=$ac_check_lib_save_LIBS 11607fi 11608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11609$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11610if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11611 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11612fi 11613 11614 11615fi 11616 11617 11618fi 11619 11620 11621fi 11622 11623 11624fi 11625 11626 11627fi 11628 11629 ;; 11630 esac 11631 11632 if test "x$lt_cv_dlopen" != xno; then 11633 enable_dlopen=yes 11634 else 11635 enable_dlopen=no 11636 fi 11637 11638 case $lt_cv_dlopen in 11639 dlopen) 11640 save_CPPFLAGS="$CPPFLAGS" 11641 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11642 11643 save_LDFLAGS="$LDFLAGS" 11644 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11645 11646 save_LIBS="$LIBS" 11647 LIBS="$lt_cv_dlopen_libs $LIBS" 11648 11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11650$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11651if ${lt_cv_dlopen_self+:} false; then : 11652 $as_echo_n "(cached) " >&6 11653else 11654 if test "$cross_compiling" = yes; then : 11655 lt_cv_dlopen_self=cross 11656else 11657 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11658 lt_status=$lt_dlunknown 11659 cat > conftest.$ac_ext <<_LT_EOF 11660#line $LINENO "configure" 11661#include "confdefs.h" 11662 11663#if HAVE_DLFCN_H 11664#include <dlfcn.h> 11665#endif 11666 11667#include <stdio.h> 11668 11669#ifdef RTLD_GLOBAL 11670# define LT_DLGLOBAL RTLD_GLOBAL 11671#else 11672# ifdef DL_GLOBAL 11673# define LT_DLGLOBAL DL_GLOBAL 11674# else 11675# define LT_DLGLOBAL 0 11676# endif 11677#endif 11678 11679/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11680 find out it does not work in some platform. */ 11681#ifndef LT_DLLAZY_OR_NOW 11682# ifdef RTLD_LAZY 11683# define LT_DLLAZY_OR_NOW RTLD_LAZY 11684# else 11685# ifdef DL_LAZY 11686# define LT_DLLAZY_OR_NOW DL_LAZY 11687# else 11688# ifdef RTLD_NOW 11689# define LT_DLLAZY_OR_NOW RTLD_NOW 11690# else 11691# ifdef DL_NOW 11692# define LT_DLLAZY_OR_NOW DL_NOW 11693# else 11694# define LT_DLLAZY_OR_NOW 0 11695# endif 11696# endif 11697# endif 11698# endif 11699#endif 11700 11701/* When -fvisbility=hidden is used, assume the code has been annotated 11702 correspondingly for the symbols needed. */ 11703#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11704int fnord () __attribute__((visibility("default"))); 11705#endif 11706 11707int fnord () { return 42; } 11708int main () 11709{ 11710 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11711 int status = $lt_dlunknown; 11712 11713 if (self) 11714 { 11715 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11716 else 11717 { 11718 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11719 else puts (dlerror ()); 11720 } 11721 /* dlclose (self); */ 11722 } 11723 else 11724 puts (dlerror ()); 11725 11726 return status; 11727} 11728_LT_EOF 11729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11730 (eval $ac_link) 2>&5 11731 ac_status=$? 11732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11733 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11734 (./conftest; exit; ) >&5 2>/dev/null 11735 lt_status=$? 11736 case x$lt_status in 11737 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11738 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11739 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11740 esac 11741 else : 11742 # compilation failed 11743 lt_cv_dlopen_self=no 11744 fi 11745fi 11746rm -fr conftest* 11747 11748 11749fi 11750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11751$as_echo "$lt_cv_dlopen_self" >&6; } 11752 11753 if test "x$lt_cv_dlopen_self" = xyes; then 11754 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11756$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11757if ${lt_cv_dlopen_self_static+:} false; then : 11758 $as_echo_n "(cached) " >&6 11759else 11760 if test "$cross_compiling" = yes; then : 11761 lt_cv_dlopen_self_static=cross 11762else 11763 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11764 lt_status=$lt_dlunknown 11765 cat > conftest.$ac_ext <<_LT_EOF 11766#line $LINENO "configure" 11767#include "confdefs.h" 11768 11769#if HAVE_DLFCN_H 11770#include <dlfcn.h> 11771#endif 11772 11773#include <stdio.h> 11774 11775#ifdef RTLD_GLOBAL 11776# define LT_DLGLOBAL RTLD_GLOBAL 11777#else 11778# ifdef DL_GLOBAL 11779# define LT_DLGLOBAL DL_GLOBAL 11780# else 11781# define LT_DLGLOBAL 0 11782# endif 11783#endif 11784 11785/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11786 find out it does not work in some platform. */ 11787#ifndef LT_DLLAZY_OR_NOW 11788# ifdef RTLD_LAZY 11789# define LT_DLLAZY_OR_NOW RTLD_LAZY 11790# else 11791# ifdef DL_LAZY 11792# define LT_DLLAZY_OR_NOW DL_LAZY 11793# else 11794# ifdef RTLD_NOW 11795# define LT_DLLAZY_OR_NOW RTLD_NOW 11796# else 11797# ifdef DL_NOW 11798# define LT_DLLAZY_OR_NOW DL_NOW 11799# else 11800# define LT_DLLAZY_OR_NOW 0 11801# endif 11802# endif 11803# endif 11804# endif 11805#endif 11806 11807/* When -fvisbility=hidden is used, assume the code has been annotated 11808 correspondingly for the symbols needed. */ 11809#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11810int fnord () __attribute__((visibility("default"))); 11811#endif 11812 11813int fnord () { return 42; } 11814int main () 11815{ 11816 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11817 int status = $lt_dlunknown; 11818 11819 if (self) 11820 { 11821 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11822 else 11823 { 11824 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11825 else puts (dlerror ()); 11826 } 11827 /* dlclose (self); */ 11828 } 11829 else 11830 puts (dlerror ()); 11831 11832 return status; 11833} 11834_LT_EOF 11835 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11836 (eval $ac_link) 2>&5 11837 ac_status=$? 11838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11839 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11840 (./conftest; exit; ) >&5 2>/dev/null 11841 lt_status=$? 11842 case x$lt_status in 11843 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11844 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11845 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11846 esac 11847 else : 11848 # compilation failed 11849 lt_cv_dlopen_self_static=no 11850 fi 11851fi 11852rm -fr conftest* 11853 11854 11855fi 11856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11857$as_echo "$lt_cv_dlopen_self_static" >&6; } 11858 fi 11859 11860 CPPFLAGS="$save_CPPFLAGS" 11861 LDFLAGS="$save_LDFLAGS" 11862 LIBS="$save_LIBS" 11863 ;; 11864 esac 11865 11866 case $lt_cv_dlopen_self in 11867 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11868 *) enable_dlopen_self=unknown ;; 11869 esac 11870 11871 case $lt_cv_dlopen_self_static in 11872 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11873 *) enable_dlopen_self_static=unknown ;; 11874 esac 11875fi 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893striplib= 11894old_striplib= 11895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11896$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11897if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11898 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11899 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11901$as_echo "yes" >&6; } 11902else 11903# FIXME - insert some real tests, host_os isn't really good enough 11904 case $host_os in 11905 darwin*) 11906 if test -n "$STRIP" ; then 11907 striplib="$STRIP -x" 11908 old_striplib="$STRIP -S" 11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11910$as_echo "yes" >&6; } 11911 else 11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11913$as_echo "no" >&6; } 11914 fi 11915 ;; 11916 *) 11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11918$as_echo "no" >&6; } 11919 ;; 11920 esac 11921fi 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 # Report which library types will actually be built 11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11936$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11938$as_echo "$can_build_shared" >&6; } 11939 11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11941$as_echo_n "checking whether to build shared libraries... " >&6; } 11942 test "$can_build_shared" = "no" && enable_shared=no 11943 11944 # On AIX, shared libraries and static libraries use the same namespace, and 11945 # are all built from PIC. 11946 case $host_os in 11947 aix3*) 11948 test "$enable_shared" = yes && enable_static=no 11949 if test -n "$RANLIB"; then 11950 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11951 postinstall_cmds='$RANLIB $lib' 11952 fi 11953 ;; 11954 11955 aix[4-9]*) 11956 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11957 test "$enable_shared" = yes && enable_static=no 11958 fi 11959 ;; 11960 esac 11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11962$as_echo "$enable_shared" >&6; } 11963 11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11965$as_echo_n "checking whether to build static libraries... " >&6; } 11966 # Make sure either enable_shared or enable_static is yes. 11967 test "$enable_shared" = yes || enable_static=yes 11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11969$as_echo "$enable_static" >&6; } 11970 11971 11972 11973 11974fi 11975ac_ext=c 11976ac_cpp='$CPP $CPPFLAGS' 11977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11979ac_compiler_gnu=$ac_cv_c_compiler_gnu 11980 11981CC="$lt_save_CC" 11982 11983 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 11984 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 11985 (test "X$CXX" != "Xg++"))) ; then 11986 ac_ext=cpp 11987ac_cpp='$CXXCPP $CPPFLAGS' 11988ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11989ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11990ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 11992$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 11993if test -z "$CXXCPP"; then 11994 if ${ac_cv_prog_CXXCPP+:} false; then : 11995 $as_echo_n "(cached) " >&6 11996else 11997 # Double quotes because CXXCPP needs to be expanded 11998 for CXXCPP in "$CXX -E" "/lib/cpp" 11999 do 12000 ac_preproc_ok=false 12001for ac_cxx_preproc_warn_flag in '' yes 12002do 12003 # Use a header file that comes with gcc, so configuring glibc 12004 # with a fresh cross-compiler works. 12005 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12006 # <limits.h> exists even on freestanding compilers. 12007 # On the NeXT, cc -E runs the code through the compiler's parser, 12008 # not just through cpp. "Syntax error" is here to catch this case. 12009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12010/* end confdefs.h. */ 12011#ifdef __STDC__ 12012# include <limits.h> 12013#else 12014# include <assert.h> 12015#endif 12016 Syntax error 12017_ACEOF 12018if ac_fn_cxx_try_cpp "$LINENO"; then : 12019 12020else 12021 # Broken: fails on valid input. 12022continue 12023fi 12024rm -f conftest.err conftest.i conftest.$ac_ext 12025 12026 # OK, works on sane cases. Now check whether nonexistent headers 12027 # can be detected and how. 12028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12029/* end confdefs.h. */ 12030#include <ac_nonexistent.h> 12031_ACEOF 12032if ac_fn_cxx_try_cpp "$LINENO"; then : 12033 # Broken: success on invalid input. 12034continue 12035else 12036 # Passes both tests. 12037ac_preproc_ok=: 12038break 12039fi 12040rm -f conftest.err conftest.i conftest.$ac_ext 12041 12042done 12043# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12044rm -f conftest.i conftest.err conftest.$ac_ext 12045if $ac_preproc_ok; then : 12046 break 12047fi 12048 12049 done 12050 ac_cv_prog_CXXCPP=$CXXCPP 12051 12052fi 12053 CXXCPP=$ac_cv_prog_CXXCPP 12054else 12055 ac_cv_prog_CXXCPP=$CXXCPP 12056fi 12057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 12058$as_echo "$CXXCPP" >&6; } 12059ac_preproc_ok=false 12060for ac_cxx_preproc_warn_flag in '' yes 12061do 12062 # Use a header file that comes with gcc, so configuring glibc 12063 # with a fresh cross-compiler works. 12064 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12065 # <limits.h> exists even on freestanding compilers. 12066 # On the NeXT, cc -E runs the code through the compiler's parser, 12067 # not just through cpp. "Syntax error" is here to catch this case. 12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12069/* end confdefs.h. */ 12070#ifdef __STDC__ 12071# include <limits.h> 12072#else 12073# include <assert.h> 12074#endif 12075 Syntax error 12076_ACEOF 12077if ac_fn_cxx_try_cpp "$LINENO"; then : 12078 12079else 12080 # Broken: fails on valid input. 12081continue 12082fi 12083rm -f conftest.err conftest.i conftest.$ac_ext 12084 12085 # OK, works on sane cases. Now check whether nonexistent headers 12086 # can be detected and how. 12087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12088/* end confdefs.h. */ 12089#include <ac_nonexistent.h> 12090_ACEOF 12091if ac_fn_cxx_try_cpp "$LINENO"; then : 12092 # Broken: success on invalid input. 12093continue 12094else 12095 # Passes both tests. 12096ac_preproc_ok=: 12097break 12098fi 12099rm -f conftest.err conftest.i conftest.$ac_ext 12100 12101done 12102# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12103rm -f conftest.i conftest.err conftest.$ac_ext 12104if $ac_preproc_ok; then : 12105 12106else 12107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12108$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12109as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 12110See \`config.log' for more details" "$LINENO" 5; } 12111fi 12112 12113ac_ext=c 12114ac_cpp='$CPP $CPPFLAGS' 12115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12117ac_compiler_gnu=$ac_cv_c_compiler_gnu 12118 12119else 12120 _lt_caught_CXX_error=yes 12121fi 12122 12123ac_ext=cpp 12124ac_cpp='$CXXCPP $CPPFLAGS' 12125ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12126ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12127ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12128 12129archive_cmds_need_lc_CXX=no 12130allow_undefined_flag_CXX= 12131always_export_symbols_CXX=no 12132archive_expsym_cmds_CXX= 12133compiler_needs_object_CXX=no 12134export_dynamic_flag_spec_CXX= 12135hardcode_direct_CXX=no 12136hardcode_direct_absolute_CXX=no 12137hardcode_libdir_flag_spec_CXX= 12138hardcode_libdir_separator_CXX= 12139hardcode_minus_L_CXX=no 12140hardcode_shlibpath_var_CXX=unsupported 12141hardcode_automatic_CXX=no 12142inherit_rpath_CXX=no 12143module_cmds_CXX= 12144module_expsym_cmds_CXX= 12145link_all_deplibs_CXX=unknown 12146old_archive_cmds_CXX=$old_archive_cmds 12147reload_flag_CXX=$reload_flag 12148reload_cmds_CXX=$reload_cmds 12149no_undefined_flag_CXX= 12150whole_archive_flag_spec_CXX= 12151enable_shared_with_static_runtimes_CXX=no 12152 12153# Source file extension for C++ test sources. 12154ac_ext=cpp 12155 12156# Object file extension for compiled C++ test sources. 12157objext=o 12158objext_CXX=$objext 12159 12160# No sense in running all these tests if we already determined that 12161# the CXX compiler isn't working. Some variables (like enable_shared) 12162# are currently assumed to apply to all compilers on this platform, 12163# and will be corrupted by setting them based on a non-working compiler. 12164if test "$_lt_caught_CXX_error" != yes; then 12165 # Code to be used in simple compile tests 12166 lt_simple_compile_test_code="int some_variable = 0;" 12167 12168 # Code to be used in simple link tests 12169 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 12170 12171 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 12172 12173 12174 12175 12176 12177 12178# If no C compiler was specified, use CC. 12179LTCC=${LTCC-"$CC"} 12180 12181# If no C compiler flags were specified, use CFLAGS. 12182LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 12183 12184# Allow CC to be a program name with arguments. 12185compiler=$CC 12186 12187 12188 # save warnings/boilerplate of simple test code 12189 ac_outfile=conftest.$ac_objext 12190echo "$lt_simple_compile_test_code" >conftest.$ac_ext 12191eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12192_lt_compiler_boilerplate=`cat conftest.err` 12193$RM conftest* 12194 12195 ac_outfile=conftest.$ac_objext 12196echo "$lt_simple_link_test_code" >conftest.$ac_ext 12197eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12198_lt_linker_boilerplate=`cat conftest.err` 12199$RM -r conftest* 12200 12201 12202 # Allow CC to be a program name with arguments. 12203 lt_save_CC=$CC 12204 lt_save_CFLAGS=$CFLAGS 12205 lt_save_LD=$LD 12206 lt_save_GCC=$GCC 12207 GCC=$GXX 12208 lt_save_with_gnu_ld=$with_gnu_ld 12209 lt_save_path_LD=$lt_cv_path_LD 12210 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 12211 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 12212 else 12213 $as_unset lt_cv_prog_gnu_ld 12214 fi 12215 if test -n "${lt_cv_path_LDCXX+set}"; then 12216 lt_cv_path_LD=$lt_cv_path_LDCXX 12217 else 12218 $as_unset lt_cv_path_LD 12219 fi 12220 test -z "${LDCXX+set}" || LD=$LDCXX 12221 CC=${CXX-"c++"} 12222 CFLAGS=$CXXFLAGS 12223 compiler=$CC 12224 compiler_CXX=$CC 12225 for cc_temp in $compiler""; do 12226 case $cc_temp in 12227 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 12228 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 12229 \-*) ;; 12230 *) break;; 12231 esac 12232done 12233cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 12234 12235 12236 if test -n "$compiler"; then 12237 # We don't want -fno-exception when compiling C++ code, so set the 12238 # no_builtin_flag separately 12239 if test "$GXX" = yes; then 12240 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 12241 else 12242 lt_prog_compiler_no_builtin_flag_CXX= 12243 fi 12244 12245 if test "$GXX" = yes; then 12246 # Set up default GNU C++ configuration 12247 12248 12249 12250# Check whether --with-gnu-ld was given. 12251if test "${with_gnu_ld+set}" = set; then : 12252 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 12253else 12254 with_gnu_ld=no 12255fi 12256 12257ac_prog=ld 12258if test "$GCC" = yes; then 12259 # Check if gcc -print-prog-name=ld gives a path. 12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 12261$as_echo_n "checking for ld used by $CC... " >&6; } 12262 case $host in 12263 *-*-mingw*) 12264 # gcc leaves a trailing carriage return which upsets mingw 12265 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12266 *) 12267 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 12268 esac 12269 case $ac_prog in 12270 # Accept absolute paths. 12271 [\\/]* | ?:[\\/]*) 12272 re_direlt='/[^/][^/]*/\.\./' 12273 # Canonicalize the pathname of ld 12274 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 12275 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 12276 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 12277 done 12278 test -z "$LD" && LD="$ac_prog" 12279 ;; 12280 "") 12281 # If it fails, then pretend we aren't using GCC. 12282 ac_prog=ld 12283 ;; 12284 *) 12285 # If it is relative, then search for the first ld in PATH. 12286 with_gnu_ld=unknown 12287 ;; 12288 esac 12289elif test "$with_gnu_ld" = yes; then 12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 12291$as_echo_n "checking for GNU ld... " >&6; } 12292else 12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 12294$as_echo_n "checking for non-GNU ld... " >&6; } 12295fi 12296if ${lt_cv_path_LD+:} false; then : 12297 $as_echo_n "(cached) " >&6 12298else 12299 if test -z "$LD"; then 12300 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 12301 for ac_dir in $PATH; do 12302 IFS="$lt_save_ifs" 12303 test -z "$ac_dir" && ac_dir=. 12304 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12305 lt_cv_path_LD="$ac_dir/$ac_prog" 12306 # Check to see if the program is GNU ld. I'd rather use --version, 12307 # but apparently some variants of GNU ld only accept -v. 12308 # Break only if it was the GNU/non-GNU ld that we prefer. 12309 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 12310 *GNU* | *'with BFD'*) 12311 test "$with_gnu_ld" != no && break 12312 ;; 12313 *) 12314 test "$with_gnu_ld" != yes && break 12315 ;; 12316 esac 12317 fi 12318 done 12319 IFS="$lt_save_ifs" 12320else 12321 lt_cv_path_LD="$LD" # Let the user override the test with a path. 12322fi 12323fi 12324 12325LD="$lt_cv_path_LD" 12326if test -n "$LD"; then 12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 12328$as_echo "$LD" >&6; } 12329else 12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12331$as_echo "no" >&6; } 12332fi 12333test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 12334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 12335$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 12336if ${lt_cv_prog_gnu_ld+:} false; then : 12337 $as_echo_n "(cached) " >&6 12338else 12339 # I'd rather use --version here, but apparently some GNU lds only accept -v. 12340case `$LD -v 2>&1 </dev/null` in 12341*GNU* | *'with BFD'*) 12342 lt_cv_prog_gnu_ld=yes 12343 ;; 12344*) 12345 lt_cv_prog_gnu_ld=no 12346 ;; 12347esac 12348fi 12349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 12350$as_echo "$lt_cv_prog_gnu_ld" >&6; } 12351with_gnu_ld=$lt_cv_prog_gnu_ld 12352 12353 12354 12355 12356 12357 12358 12359 # Check if GNU C++ uses GNU ld as the underlying linker, since the 12360 # archiving commands below assume that GNU ld is being used. 12361 if test "$with_gnu_ld" = yes; then 12362 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12363 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' 12364 12365 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12366 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12367 12368 # If archive_cmds runs LD, not CC, wlarc should be empty 12369 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 12370 # investigate it a little bit more. (MM) 12371 wlarc='${wl}' 12372 12373 # ancient GNU ld didn't support --whole-archive et. al. 12374 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 12375 $GREP 'no-whole-archive' > /dev/null; then 12376 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 12377 else 12378 whole_archive_flag_spec_CXX= 12379 fi 12380 else 12381 with_gnu_ld=no 12382 wlarc= 12383 12384 # A generic and very simple default shared library creation 12385 # command for GNU C++ for the case where it uses the native 12386 # linker, instead of GNU ld. If possible, this setting should 12387 # overridden to take advantage of the native linker features on 12388 # the platform it is being used on. 12389 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 12390 fi 12391 12392 # Commands to make compiler produce verbose output that lists 12393 # what "hidden" libraries, object files and flags are used when 12394 # linking a shared library. 12395 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 12396 12397 else 12398 GXX=no 12399 with_gnu_ld=no 12400 wlarc= 12401 fi 12402 12403 # PORTME: fill in a description of your system's C++ link characteristics 12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 12405$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 12406 ld_shlibs_CXX=yes 12407 case $host_os in 12408 aix3*) 12409 # FIXME: insert proper C++ library support 12410 ld_shlibs_CXX=no 12411 ;; 12412 aix[4-9]*) 12413 if test "$host_cpu" = ia64; then 12414 # On IA64, the linker does run time linking by default, so we don't 12415 # have to do anything special. 12416 aix_use_runtimelinking=no 12417 exp_sym_flag='-Bexport' 12418 no_entry_flag="" 12419 else 12420 aix_use_runtimelinking=no 12421 12422 # Test if we are trying to use run time linking or normal 12423 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 12424 # need to do runtime linking. 12425 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 12426 for ld_flag in $LDFLAGS; do 12427 case $ld_flag in 12428 *-brtl*) 12429 aix_use_runtimelinking=yes 12430 break 12431 ;; 12432 esac 12433 done 12434 ;; 12435 esac 12436 12437 exp_sym_flag='-bexport' 12438 no_entry_flag='-bnoentry' 12439 fi 12440 12441 # When large executables or shared objects are built, AIX ld can 12442 # have problems creating the table of contents. If linking a library 12443 # or program results in "error TOC overflow" add -mminimal-toc to 12444 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 12445 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 12446 12447 archive_cmds_CXX='' 12448 hardcode_direct_CXX=yes 12449 hardcode_direct_absolute_CXX=yes 12450 hardcode_libdir_separator_CXX=':' 12451 link_all_deplibs_CXX=yes 12452 file_list_spec_CXX='${wl}-f,' 12453 12454 if test "$GXX" = yes; then 12455 case $host_os in aix4.[012]|aix4.[012].*) 12456 # We only want to do this on AIX 4.2 and lower, the check 12457 # below for broken collect2 doesn't work under 4.3+ 12458 collect2name=`${CC} -print-prog-name=collect2` 12459 if test -f "$collect2name" && 12460 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 12461 then 12462 # We have reworked collect2 12463 : 12464 else 12465 # We have old collect2 12466 hardcode_direct_CXX=unsupported 12467 # It fails to find uninstalled libraries when the uninstalled 12468 # path is not listed in the libpath. Setting hardcode_minus_L 12469 # to unsupported forces relinking 12470 hardcode_minus_L_CXX=yes 12471 hardcode_libdir_flag_spec_CXX='-L$libdir' 12472 hardcode_libdir_separator_CXX= 12473 fi 12474 esac 12475 shared_flag='-shared' 12476 if test "$aix_use_runtimelinking" = yes; then 12477 shared_flag="$shared_flag "'${wl}-G' 12478 fi 12479 else 12480 # not using gcc 12481 if test "$host_cpu" = ia64; then 12482 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 12483 # chokes on -Wl,-G. The following line is correct: 12484 shared_flag='-G' 12485 else 12486 if test "$aix_use_runtimelinking" = yes; then 12487 shared_flag='${wl}-G' 12488 else 12489 shared_flag='${wl}-bM:SRE' 12490 fi 12491 fi 12492 fi 12493 12494 export_dynamic_flag_spec_CXX='${wl}-bexpall' 12495 # It seems that -bexpall does not export symbols beginning with 12496 # underscore (_), so it is better to generate a list of symbols to 12497 # export. 12498 always_export_symbols_CXX=yes 12499 if test "$aix_use_runtimelinking" = yes; then 12500 # Warning - without using the other runtime loading flags (-brtl), 12501 # -berok will link without error, but may produce a broken library. 12502 allow_undefined_flag_CXX='-berok' 12503 # Determine the default libpath from the value encoded in an empty 12504 # executable. 12505 if test "${lt_cv_aix_libpath+set}" = set; then 12506 aix_libpath=$lt_cv_aix_libpath 12507else 12508 if ${lt_cv_aix_libpath__CXX+:} false; then : 12509 $as_echo_n "(cached) " >&6 12510else 12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12512/* end confdefs.h. */ 12513 12514int 12515main () 12516{ 12517 12518 ; 12519 return 0; 12520} 12521_ACEOF 12522if ac_fn_cxx_try_link "$LINENO"; then : 12523 12524 lt_aix_libpath_sed=' 12525 /Import File Strings/,/^$/ { 12526 /^0/ { 12527 s/^0 *\([^ ]*\) *$/\1/ 12528 p 12529 } 12530 }' 12531 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12532 # Check for a 64-bit object if we didn't find anything. 12533 if test -z "$lt_cv_aix_libpath__CXX"; then 12534 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12535 fi 12536fi 12537rm -f core conftest.err conftest.$ac_objext \ 12538 conftest$ac_exeext conftest.$ac_ext 12539 if test -z "$lt_cv_aix_libpath__CXX"; then 12540 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 12541 fi 12542 12543fi 12544 12545 aix_libpath=$lt_cv_aix_libpath__CXX 12546fi 12547 12548 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12549 12550 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" 12551 else 12552 if test "$host_cpu" = ia64; then 12553 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 12554 allow_undefined_flag_CXX="-z nodefs" 12555 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" 12556 else 12557 # Determine the default libpath from the value encoded in an 12558 # empty executable. 12559 if test "${lt_cv_aix_libpath+set}" = set; then 12560 aix_libpath=$lt_cv_aix_libpath 12561else 12562 if ${lt_cv_aix_libpath__CXX+:} false; then : 12563 $as_echo_n "(cached) " >&6 12564else 12565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12566/* end confdefs.h. */ 12567 12568int 12569main () 12570{ 12571 12572 ; 12573 return 0; 12574} 12575_ACEOF 12576if ac_fn_cxx_try_link "$LINENO"; then : 12577 12578 lt_aix_libpath_sed=' 12579 /Import File Strings/,/^$/ { 12580 /^0/ { 12581 s/^0 *\([^ ]*\) *$/\1/ 12582 p 12583 } 12584 }' 12585 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12586 # Check for a 64-bit object if we didn't find anything. 12587 if test -z "$lt_cv_aix_libpath__CXX"; then 12588 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12589 fi 12590fi 12591rm -f core conftest.err conftest.$ac_objext \ 12592 conftest$ac_exeext conftest.$ac_ext 12593 if test -z "$lt_cv_aix_libpath__CXX"; then 12594 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 12595 fi 12596 12597fi 12598 12599 aix_libpath=$lt_cv_aix_libpath__CXX 12600fi 12601 12602 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12603 # Warning - without using the other run time loading flags, 12604 # -berok will link without error, but may produce a broken library. 12605 no_undefined_flag_CXX=' ${wl}-bernotok' 12606 allow_undefined_flag_CXX=' ${wl}-berok' 12607 if test "$with_gnu_ld" = yes; then 12608 # We only use this code for GNU lds that support --whole-archive. 12609 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 12610 else 12611 # Exported symbols can be pulled into shared objects from archives 12612 whole_archive_flag_spec_CXX='$convenience' 12613 fi 12614 archive_cmds_need_lc_CXX=yes 12615 # This is similar to how AIX traditionally builds its shared 12616 # libraries. 12617 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' 12618 fi 12619 fi 12620 ;; 12621 12622 beos*) 12623 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12624 allow_undefined_flag_CXX=unsupported 12625 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 12626 # support --undefined. This deserves some investigation. FIXME 12627 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12628 else 12629 ld_shlibs_CXX=no 12630 fi 12631 ;; 12632 12633 chorus*) 12634 case $cc_basename in 12635 *) 12636 # FIXME: insert proper C++ library support 12637 ld_shlibs_CXX=no 12638 ;; 12639 esac 12640 ;; 12641 12642 cygwin* | mingw* | pw32* | cegcc*) 12643 case $GXX,$cc_basename in 12644 ,cl* | no,cl*) 12645 # Native MSVC 12646 # hardcode_libdir_flag_spec is actually meaningless, as there is 12647 # no search path for DLLs. 12648 hardcode_libdir_flag_spec_CXX=' ' 12649 allow_undefined_flag_CXX=unsupported 12650 always_export_symbols_CXX=yes 12651 file_list_spec_CXX='@' 12652 # Tell ltmain to make .lib files, not .a files. 12653 libext=lib 12654 # Tell ltmain to make .dll files, not .so files. 12655 shrext_cmds=".dll" 12656 # FIXME: Setting linknames here is a bad hack. 12657 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 12658 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 12659 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 12660 else 12661 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 12662 fi~ 12663 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 12664 linknames=' 12665 # The linker will not automatically build a static lib if we build a DLL. 12666 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 12667 enable_shared_with_static_runtimes_CXX=yes 12668 # Don't use ranlib 12669 old_postinstall_cmds_CXX='chmod 644 $oldlib' 12670 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 12671 lt_tool_outputfile="@TOOL_OUTPUT@"~ 12672 case $lt_outputfile in 12673 *.exe|*.EXE) ;; 12674 *) 12675 lt_outputfile="$lt_outputfile.exe" 12676 lt_tool_outputfile="$lt_tool_outputfile.exe" 12677 ;; 12678 esac~ 12679 func_to_tool_file "$lt_outputfile"~ 12680 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 12681 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 12682 $RM "$lt_outputfile.manifest"; 12683 fi' 12684 ;; 12685 *) 12686 # g++ 12687 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 12688 # as there is no search path for DLLs. 12689 hardcode_libdir_flag_spec_CXX='-L$libdir' 12690 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' 12691 allow_undefined_flag_CXX=unsupported 12692 always_export_symbols_CXX=no 12693 enable_shared_with_static_runtimes_CXX=yes 12694 12695 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 12696 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' 12697 # If the export-symbols file already is a .def file (1st line 12698 # is EXPORTS), use it as is; otherwise, prepend... 12699 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 12700 cp $export_symbols $output_objdir/$soname.def; 12701 else 12702 echo EXPORTS > $output_objdir/$soname.def; 12703 cat $export_symbols >> $output_objdir/$soname.def; 12704 fi~ 12705 $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' 12706 else 12707 ld_shlibs_CXX=no 12708 fi 12709 ;; 12710 esac 12711 ;; 12712 darwin* | rhapsody*) 12713 12714 12715 archive_cmds_need_lc_CXX=no 12716 hardcode_direct_CXX=no 12717 hardcode_automatic_CXX=yes 12718 hardcode_shlibpath_var_CXX=unsupported 12719 if test "$lt_cv_ld_force_load" = "yes"; then 12720 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\"`' 12721 12722 else 12723 whole_archive_flag_spec_CXX='' 12724 fi 12725 link_all_deplibs_CXX=yes 12726 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 12727 case $cc_basename in 12728 ifort*) _lt_dar_can_shared=yes ;; 12729 *) _lt_dar_can_shared=$GCC ;; 12730 esac 12731 if test "$_lt_dar_can_shared" = "yes"; then 12732 output_verbose_link_cmd=func_echo_all 12733 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}" 12734 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 12735 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}" 12736 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}" 12737 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 12738 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}" 12739 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}" 12740 fi 12741 12742 else 12743 ld_shlibs_CXX=no 12744 fi 12745 12746 ;; 12747 12748 dgux*) 12749 case $cc_basename in 12750 ec++*) 12751 # FIXME: insert proper C++ library support 12752 ld_shlibs_CXX=no 12753 ;; 12754 ghcx*) 12755 # Green Hills C++ Compiler 12756 # FIXME: insert proper C++ library support 12757 ld_shlibs_CXX=no 12758 ;; 12759 *) 12760 # FIXME: insert proper C++ library support 12761 ld_shlibs_CXX=no 12762 ;; 12763 esac 12764 ;; 12765 12766 freebsd2.*) 12767 # C++ shared libraries reported to be fairly broken before 12768 # switch to ELF 12769 ld_shlibs_CXX=no 12770 ;; 12771 12772 freebsd-elf*) 12773 archive_cmds_need_lc_CXX=no 12774 ;; 12775 12776 freebsd* | dragonfly*) 12777 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 12778 # conventions 12779 ld_shlibs_CXX=yes 12780 ;; 12781 12782 haiku*) 12783 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12784 link_all_deplibs_CXX=yes 12785 ;; 12786 12787 hpux9*) 12788 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 12789 hardcode_libdir_separator_CXX=: 12790 export_dynamic_flag_spec_CXX='${wl}-E' 12791 hardcode_direct_CXX=yes 12792 hardcode_minus_L_CXX=yes # Not in the search PATH, 12793 # but as the default 12794 # location of the library. 12795 12796 case $cc_basename in 12797 CC*) 12798 # FIXME: insert proper C++ library support 12799 ld_shlibs_CXX=no 12800 ;; 12801 aCC*) 12802 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' 12803 # Commands to make compiler produce verbose output that lists 12804 # what "hidden" libraries, object files and flags are used when 12805 # linking a shared library. 12806 # 12807 # There doesn't appear to be a way to prevent this compiler from 12808 # explicitly linking system object files so we need to strip them 12809 # from the output so that they don't get included in the library 12810 # dependencies. 12811 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"' 12812 ;; 12813 *) 12814 if test "$GXX" = yes; then 12815 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' 12816 else 12817 # FIXME: insert proper C++ library support 12818 ld_shlibs_CXX=no 12819 fi 12820 ;; 12821 esac 12822 ;; 12823 12824 hpux10*|hpux11*) 12825 if test $with_gnu_ld = no; then 12826 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 12827 hardcode_libdir_separator_CXX=: 12828 12829 case $host_cpu in 12830 hppa*64*|ia64*) 12831 ;; 12832 *) 12833 export_dynamic_flag_spec_CXX='${wl}-E' 12834 ;; 12835 esac 12836 fi 12837 case $host_cpu in 12838 hppa*64*|ia64*) 12839 hardcode_direct_CXX=no 12840 hardcode_shlibpath_var_CXX=no 12841 ;; 12842 *) 12843 hardcode_direct_CXX=yes 12844 hardcode_direct_absolute_CXX=yes 12845 hardcode_minus_L_CXX=yes # Not in the search PATH, 12846 # but as the default 12847 # location of the library. 12848 ;; 12849 esac 12850 12851 case $cc_basename in 12852 CC*) 12853 # FIXME: insert proper C++ library support 12854 ld_shlibs_CXX=no 12855 ;; 12856 aCC*) 12857 case $host_cpu in 12858 hppa*64*) 12859 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12860 ;; 12861 ia64*) 12862 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12863 ;; 12864 *) 12865 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12866 ;; 12867 esac 12868 # Commands to make compiler produce verbose output that lists 12869 # what "hidden" libraries, object files and flags are used when 12870 # linking a shared library. 12871 # 12872 # There doesn't appear to be a way to prevent this compiler from 12873 # explicitly linking system object files so we need to strip them 12874 # from the output so that they don't get included in the library 12875 # dependencies. 12876 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"' 12877 ;; 12878 *) 12879 if test "$GXX" = yes; then 12880 if test $with_gnu_ld = no; then 12881 case $host_cpu in 12882 hppa*64*) 12883 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12884 ;; 12885 ia64*) 12886 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12887 ;; 12888 *) 12889 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' 12890 ;; 12891 esac 12892 fi 12893 else 12894 # FIXME: insert proper C++ library support 12895 ld_shlibs_CXX=no 12896 fi 12897 ;; 12898 esac 12899 ;; 12900 12901 interix[3-9]*) 12902 hardcode_direct_CXX=no 12903 hardcode_shlibpath_var_CXX=no 12904 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12905 export_dynamic_flag_spec_CXX='${wl}-E' 12906 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 12907 # Instead, shared libraries are loaded at an image base (0x10000000 by 12908 # default) and relocated if they conflict, which is a slow very memory 12909 # consuming and fragmenting process. To avoid this, we pick a random, 12910 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 12911 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 12912 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' 12913 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' 12914 ;; 12915 irix5* | irix6*) 12916 case $cc_basename in 12917 CC*) 12918 # SGI C++ 12919 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' 12920 12921 # Archives containing C++ object files must be created using 12922 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 12923 # necessary to make sure instantiated templates are included 12924 # in the archive. 12925 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 12926 ;; 12927 *) 12928 if test "$GXX" = yes; then 12929 if test "$with_gnu_ld" = no; then 12930 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' 12931 else 12932 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' 12933 fi 12934 fi 12935 link_all_deplibs_CXX=yes 12936 ;; 12937 esac 12938 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12939 hardcode_libdir_separator_CXX=: 12940 inherit_rpath_CXX=yes 12941 ;; 12942 12943 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12944 case $cc_basename in 12945 KCC*) 12946 # Kuck and Associates, Inc. (KAI) C++ Compiler 12947 12948 # KCC will only create a shared library if the output file 12949 # ends with ".so" (or ".sl" for HP-UX), so rename the library 12950 # to its proper name (with version) after linking. 12951 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' 12952 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' 12953 # Commands to make compiler produce verbose output that lists 12954 # what "hidden" libraries, object files and flags are used when 12955 # linking a shared library. 12956 # 12957 # There doesn't appear to be a way to prevent this compiler from 12958 # explicitly linking system object files so we need to strip them 12959 # from the output so that they don't get included in the library 12960 # dependencies. 12961 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"' 12962 12963 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12964 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12965 12966 # Archives containing C++ object files must be created using 12967 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 12968 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 12969 ;; 12970 icpc* | ecpc* ) 12971 # Intel C++ 12972 with_gnu_ld=yes 12973 # version 8.0 and above of icpc choke on multiply defined symbols 12974 # if we add $predep_objects and $postdep_objects, however 7.1 and 12975 # earlier do not add the objects themselves. 12976 case `$CC -V 2>&1` in 12977 *"Version 7."*) 12978 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12979 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' 12980 ;; 12981 *) # Version 8.0 or newer 12982 tmp_idyn= 12983 case $host_cpu in 12984 ia64*) tmp_idyn=' -i_dynamic';; 12985 esac 12986 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12987 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' 12988 ;; 12989 esac 12990 archive_cmds_need_lc_CXX=no 12991 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12992 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12993 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 12994 ;; 12995 pgCC* | pgcpp*) 12996 # Portland Group C++ compiler 12997 case `$CC -V` in 12998 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 12999 prelink_cmds_CXX='tpldir=Template.dir~ 13000 rm -rf $tpldir~ 13001 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 13002 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 13003 old_archive_cmds_CXX='tpldir=Template.dir~ 13004 rm -rf $tpldir~ 13005 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 13006 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 13007 $RANLIB $oldlib' 13008 archive_cmds_CXX='tpldir=Template.dir~ 13009 rm -rf $tpldir~ 13010 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13011 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13012 archive_expsym_cmds_CXX='tpldir=Template.dir~ 13013 rm -rf $tpldir~ 13014 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13015 $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' 13016 ;; 13017 *) # Version 6 and above use weak symbols 13018 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13019 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' 13020 ;; 13021 esac 13022 13023 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 13024 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13025 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' 13026 ;; 13027 cxx*) 13028 # Compaq C++ 13029 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13030 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' 13031 13032 runpath_var=LD_RUN_PATH 13033 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13034 hardcode_libdir_separator_CXX=: 13035 13036 # Commands to make compiler produce verbose output that lists 13037 # what "hidden" libraries, object files and flags are used when 13038 # linking a shared library. 13039 # 13040 # There doesn't appear to be a way to prevent this compiler from 13041 # explicitly linking system object files so we need to strip them 13042 # from the output so that they don't get included in the library 13043 # dependencies. 13044 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' 13045 ;; 13046 xl* | mpixl* | bgxl*) 13047 # IBM XL 8.0 on PPC, with GNU ld 13048 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13049 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13050 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13051 if test "x$supports_anon_versioning" = xyes; then 13052 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 13053 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13054 echo "local: *; };" >> $output_objdir/$libname.ver~ 13055 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 13056 fi 13057 ;; 13058 *) 13059 case `$CC -V 2>&1 | sed 5q` in 13060 *Sun\ C*) 13061 # Sun C++ 5.9 13062 no_undefined_flag_CXX=' -zdefs' 13063 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13064 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' 13065 hardcode_libdir_flag_spec_CXX='-R$libdir' 13066 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' 13067 compiler_needs_object_CXX=yes 13068 13069 # Not sure whether something based on 13070 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 13071 # would be better. 13072 output_verbose_link_cmd='func_echo_all' 13073 13074 # Archives containing C++ object files must be created using 13075 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13076 # necessary to make sure instantiated templates are included 13077 # in the archive. 13078 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13079 ;; 13080 esac 13081 ;; 13082 esac 13083 ;; 13084 13085 lynxos*) 13086 # FIXME: insert proper C++ library support 13087 ld_shlibs_CXX=no 13088 ;; 13089 13090 m88k*) 13091 # FIXME: insert proper C++ library support 13092 ld_shlibs_CXX=no 13093 ;; 13094 13095 mvs*) 13096 case $cc_basename in 13097 cxx*) 13098 # FIXME: insert proper C++ library support 13099 ld_shlibs_CXX=no 13100 ;; 13101 *) 13102 # FIXME: insert proper C++ library support 13103 ld_shlibs_CXX=no 13104 ;; 13105 esac 13106 ;; 13107 13108 netbsd*) 13109 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13110 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 13111 wlarc= 13112 hardcode_libdir_flag_spec_CXX='-R$libdir' 13113 hardcode_direct_CXX=yes 13114 hardcode_shlibpath_var_CXX=no 13115 fi 13116 # Workaround some broken pre-1.5 toolchains 13117 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 13118 ;; 13119 13120 *nto* | *qnx*) 13121 ld_shlibs_CXX=yes 13122 ;; 13123 13124 openbsd2*) 13125 # C++ shared libraries are fairly broken 13126 ld_shlibs_CXX=no 13127 ;; 13128 13129 openbsd*) 13130 if test -f /usr/libexec/ld.so; then 13131 hardcode_direct_CXX=yes 13132 hardcode_shlibpath_var_CXX=no 13133 hardcode_direct_absolute_CXX=yes 13134 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13135 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13136 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 13137 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 13138 export_dynamic_flag_spec_CXX='${wl}-E' 13139 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13140 fi 13141 output_verbose_link_cmd=func_echo_all 13142 else 13143 ld_shlibs_CXX=no 13144 fi 13145 ;; 13146 13147 osf3* | osf4* | osf5*) 13148 case $cc_basename in 13149 KCC*) 13150 # Kuck and Associates, Inc. (KAI) C++ Compiler 13151 13152 # KCC will only create a shared library if the output file 13153 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13154 # to its proper name (with version) after linking. 13155 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' 13156 13157 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13158 hardcode_libdir_separator_CXX=: 13159 13160 # Archives containing C++ object files must be created using 13161 # the KAI C++ compiler. 13162 case $host in 13163 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 13164 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 13165 esac 13166 ;; 13167 RCC*) 13168 # Rational C++ 2.4.1 13169 # FIXME: insert proper C++ library support 13170 ld_shlibs_CXX=no 13171 ;; 13172 cxx*) 13173 case $host in 13174 osf3*) 13175 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13176 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' 13177 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13178 ;; 13179 *) 13180 allow_undefined_flag_CXX=' -expect_unresolved \*' 13181 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' 13182 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 13183 echo "-hidden">> $lib.exp~ 13184 $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~ 13185 $RM $lib.exp' 13186 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13187 ;; 13188 esac 13189 13190 hardcode_libdir_separator_CXX=: 13191 13192 # Commands to make compiler produce verbose output that lists 13193 # what "hidden" libraries, object files and flags are used when 13194 # linking a shared library. 13195 # 13196 # There doesn't appear to be a way to prevent this compiler from 13197 # explicitly linking system object files so we need to strip them 13198 # from the output so that they don't get included in the library 13199 # dependencies. 13200 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"' 13201 ;; 13202 *) 13203 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 13204 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13205 case $host in 13206 osf3*) 13207 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' 13208 ;; 13209 *) 13210 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' 13211 ;; 13212 esac 13213 13214 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13215 hardcode_libdir_separator_CXX=: 13216 13217 # Commands to make compiler produce verbose output that lists 13218 # what "hidden" libraries, object files and flags are used when 13219 # linking a shared library. 13220 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13221 13222 else 13223 # FIXME: insert proper C++ library support 13224 ld_shlibs_CXX=no 13225 fi 13226 ;; 13227 esac 13228 ;; 13229 13230 psos*) 13231 # FIXME: insert proper C++ library support 13232 ld_shlibs_CXX=no 13233 ;; 13234 13235 sunos4*) 13236 case $cc_basename in 13237 CC*) 13238 # Sun C++ 4.x 13239 # FIXME: insert proper C++ library support 13240 ld_shlibs_CXX=no 13241 ;; 13242 lcc*) 13243 # Lucid 13244 # FIXME: insert proper C++ library support 13245 ld_shlibs_CXX=no 13246 ;; 13247 *) 13248 # FIXME: insert proper C++ library support 13249 ld_shlibs_CXX=no 13250 ;; 13251 esac 13252 ;; 13253 13254 solaris*) 13255 case $cc_basename in 13256 CC* | sunCC*) 13257 # Sun C++ 4.2, 5.x and Centerline C++ 13258 archive_cmds_need_lc_CXX=yes 13259 no_undefined_flag_CXX=' -zdefs' 13260 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13261 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13262 $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' 13263 13264 hardcode_libdir_flag_spec_CXX='-R$libdir' 13265 hardcode_shlibpath_var_CXX=no 13266 case $host_os in 13267 solaris2.[0-5] | solaris2.[0-5].*) ;; 13268 *) 13269 # The compiler driver will combine and reorder linker options, 13270 # but understands `-z linker_flag'. 13271 # Supported since Solaris 2.6 (maybe 2.5.1?) 13272 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 13273 ;; 13274 esac 13275 link_all_deplibs_CXX=yes 13276 13277 output_verbose_link_cmd='func_echo_all' 13278 13279 # Archives containing C++ object files must be created using 13280 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13281 # necessary to make sure instantiated templates are included 13282 # in the archive. 13283 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13284 ;; 13285 gcx*) 13286 # Green Hills C++ Compiler 13287 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13288 13289 # The C++ compiler must be used to create the archive. 13290 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 13291 ;; 13292 *) 13293 # GNU C++ compiler with Solaris linker 13294 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 13295 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 13296 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 13297 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13298 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13299 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13300 13301 # Commands to make compiler produce verbose output that lists 13302 # what "hidden" libraries, object files and flags are used when 13303 # linking a shared library. 13304 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13305 else 13306 # g++ 2.7 appears to require `-G' NOT `-shared' on this 13307 # platform. 13308 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13309 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13310 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13311 13312 # Commands to make compiler produce verbose output that lists 13313 # what "hidden" libraries, object files and flags are used when 13314 # linking a shared library. 13315 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13316 fi 13317 13318 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 13319 case $host_os in 13320 solaris2.[0-5] | solaris2.[0-5].*) ;; 13321 *) 13322 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 13323 ;; 13324 esac 13325 fi 13326 ;; 13327 esac 13328 ;; 13329 13330 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 13331 no_undefined_flag_CXX='${wl}-z,text' 13332 archive_cmds_need_lc_CXX=no 13333 hardcode_shlibpath_var_CXX=no 13334 runpath_var='LD_RUN_PATH' 13335 13336 case $cc_basename in 13337 CC*) 13338 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13339 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13340 ;; 13341 *) 13342 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13343 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13344 ;; 13345 esac 13346 ;; 13347 13348 sysv5* | sco3.2v5* | sco5v6*) 13349 # Note: We can NOT use -z defs as we might desire, because we do not 13350 # link with -lc, and that would cause any symbols used from libc to 13351 # always be unresolved, which means just about no library would 13352 # ever link correctly. If we're not using GNU ld we use -z text 13353 # though, which does catch some bad symbols but isn't as heavy-handed 13354 # as -z defs. 13355 no_undefined_flag_CXX='${wl}-z,text' 13356 allow_undefined_flag_CXX='${wl}-z,nodefs' 13357 archive_cmds_need_lc_CXX=no 13358 hardcode_shlibpath_var_CXX=no 13359 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 13360 hardcode_libdir_separator_CXX=':' 13361 link_all_deplibs_CXX=yes 13362 export_dynamic_flag_spec_CXX='${wl}-Bexport' 13363 runpath_var='LD_RUN_PATH' 13364 13365 case $cc_basename in 13366 CC*) 13367 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13368 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13369 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 13370 '"$old_archive_cmds_CXX" 13371 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 13372 '"$reload_cmds_CXX" 13373 ;; 13374 *) 13375 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13376 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13377 ;; 13378 esac 13379 ;; 13380 13381 tandem*) 13382 case $cc_basename in 13383 NCC*) 13384 # NonStop-UX NCC 3.20 13385 # FIXME: insert proper C++ library support 13386 ld_shlibs_CXX=no 13387 ;; 13388 *) 13389 # FIXME: insert proper C++ library support 13390 ld_shlibs_CXX=no 13391 ;; 13392 esac 13393 ;; 13394 13395 vxworks*) 13396 # FIXME: insert proper C++ library support 13397 ld_shlibs_CXX=no 13398 ;; 13399 13400 *) 13401 # FIXME: insert proper C++ library support 13402 ld_shlibs_CXX=no 13403 ;; 13404 esac 13405 13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 13407$as_echo "$ld_shlibs_CXX" >&6; } 13408 test "$ld_shlibs_CXX" = no && can_build_shared=no 13409 13410 GCC_CXX="$GXX" 13411 LD_CXX="$LD" 13412 13413 ## CAVEAT EMPTOR: 13414 ## There is no encapsulation within the following macros, do not change 13415 ## the running order or otherwise move them around unless you know exactly 13416 ## what you are doing... 13417 # Dependencies to place before and after the object being linked: 13418predep_objects_CXX= 13419postdep_objects_CXX= 13420predeps_CXX= 13421postdeps_CXX= 13422compiler_lib_search_path_CXX= 13423 13424cat > conftest.$ac_ext <<_LT_EOF 13425class Foo 13426{ 13427public: 13428 Foo (void) { a = 0; } 13429private: 13430 int a; 13431}; 13432_LT_EOF 13433 13434 13435_lt_libdeps_save_CFLAGS=$CFLAGS 13436case "$CC $CFLAGS " in #( 13437*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 13438*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 13439*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 13440esac 13441 13442if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 13443 (eval $ac_compile) 2>&5 13444 ac_status=$? 13445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13446 test $ac_status = 0; }; then 13447 # Parse the compiler output and extract the necessary 13448 # objects, libraries and library flags. 13449 13450 # Sentinel used to keep track of whether or not we are before 13451 # the conftest object file. 13452 pre_test_object_deps_done=no 13453 13454 for p in `eval "$output_verbose_link_cmd"`; do 13455 case ${prev}${p} in 13456 13457 -L* | -R* | -l*) 13458 # Some compilers place space between "-{L,R}" and the path. 13459 # Remove the space. 13460 if test $p = "-L" || 13461 test $p = "-R"; then 13462 prev=$p 13463 continue 13464 fi 13465 13466 # Expand the sysroot to ease extracting the directories later. 13467 if test -z "$prev"; then 13468 case $p in 13469 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 13470 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 13471 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 13472 esac 13473 fi 13474 case $p in 13475 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 13476 esac 13477 if test "$pre_test_object_deps_done" = no; then 13478 case ${prev} in 13479 -L | -R) 13480 # Internal compiler library paths should come after those 13481 # provided the user. The postdeps already come after the 13482 # user supplied libs so there is no need to process them. 13483 if test -z "$compiler_lib_search_path_CXX"; then 13484 compiler_lib_search_path_CXX="${prev}${p}" 13485 else 13486 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 13487 fi 13488 ;; 13489 # The "-l" case would never come before the object being 13490 # linked, so don't bother handling this case. 13491 esac 13492 else 13493 if test -z "$postdeps_CXX"; then 13494 postdeps_CXX="${prev}${p}" 13495 else 13496 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 13497 fi 13498 fi 13499 prev= 13500 ;; 13501 13502 *.lto.$objext) ;; # Ignore GCC LTO objects 13503 *.$objext) 13504 # This assumes that the test object file only shows up 13505 # once in the compiler output. 13506 if test "$p" = "conftest.$objext"; then 13507 pre_test_object_deps_done=yes 13508 continue 13509 fi 13510 13511 if test "$pre_test_object_deps_done" = no; then 13512 if test -z "$predep_objects_CXX"; then 13513 predep_objects_CXX="$p" 13514 else 13515 predep_objects_CXX="$predep_objects_CXX $p" 13516 fi 13517 else 13518 if test -z "$postdep_objects_CXX"; then 13519 postdep_objects_CXX="$p" 13520 else 13521 postdep_objects_CXX="$postdep_objects_CXX $p" 13522 fi 13523 fi 13524 ;; 13525 13526 *) ;; # Ignore the rest. 13527 13528 esac 13529 done 13530 13531 # Clean up. 13532 rm -f a.out a.exe 13533else 13534 echo "libtool.m4: error: problem compiling CXX test program" 13535fi 13536 13537$RM -f confest.$objext 13538CFLAGS=$_lt_libdeps_save_CFLAGS 13539 13540# PORTME: override above test on systems where it is broken 13541case $host_os in 13542interix[3-9]*) 13543 # Interix 3.5 installs completely hosed .la files for C++, so rather than 13544 # hack all around it, let's just trust "g++" to DTRT. 13545 predep_objects_CXX= 13546 postdep_objects_CXX= 13547 postdeps_CXX= 13548 ;; 13549 13550linux*) 13551 case `$CC -V 2>&1 | sed 5q` in 13552 *Sun\ C*) 13553 # Sun C++ 5.9 13554 13555 # The more standards-conforming stlport4 library is 13556 # incompatible with the Cstd library. Avoid specifying 13557 # it if it's in CXXFLAGS. Ignore libCrun as 13558 # -library=stlport4 depends on it. 13559 case " $CXX $CXXFLAGS " in 13560 *" -library=stlport4 "*) 13561 solaris_use_stlport4=yes 13562 ;; 13563 esac 13564 13565 if test "$solaris_use_stlport4" != yes; then 13566 postdeps_CXX='-library=Cstd -library=Crun' 13567 fi 13568 ;; 13569 esac 13570 ;; 13571 13572solaris*) 13573 case $cc_basename in 13574 CC* | sunCC*) 13575 # The more standards-conforming stlport4 library is 13576 # incompatible with the Cstd library. Avoid specifying 13577 # it if it's in CXXFLAGS. Ignore libCrun as 13578 # -library=stlport4 depends on it. 13579 case " $CXX $CXXFLAGS " in 13580 *" -library=stlport4 "*) 13581 solaris_use_stlport4=yes 13582 ;; 13583 esac 13584 13585 # Adding this requires a known-good setup of shared libraries for 13586 # Sun compiler versions before 5.6, else PIC objects from an old 13587 # archive will be linked into the output, leading to subtle bugs. 13588 if test "$solaris_use_stlport4" != yes; then 13589 postdeps_CXX='-library=Cstd -library=Crun' 13590 fi 13591 ;; 13592 esac 13593 ;; 13594esac 13595 13596 13597case " $postdeps_CXX " in 13598*" -lc "*) archive_cmds_need_lc_CXX=no ;; 13599esac 13600 compiler_lib_search_dirs_CXX= 13601if test -n "${compiler_lib_search_path_CXX}"; then 13602 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 13603fi 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 lt_prog_compiler_wl_CXX= 13636lt_prog_compiler_pic_CXX= 13637lt_prog_compiler_static_CXX= 13638 13639 13640 # C++ specific cases for pic, static, wl, etc. 13641 if test "$GXX" = yes; then 13642 lt_prog_compiler_wl_CXX='-Wl,' 13643 lt_prog_compiler_static_CXX='-static' 13644 13645 case $host_os in 13646 aix*) 13647 # All AIX code is PIC. 13648 if test "$host_cpu" = ia64; then 13649 # AIX 5 now supports IA64 processor 13650 lt_prog_compiler_static_CXX='-Bstatic' 13651 fi 13652 ;; 13653 13654 amigaos*) 13655 case $host_cpu in 13656 powerpc) 13657 # see comment about AmigaOS4 .so support 13658 lt_prog_compiler_pic_CXX='-fPIC' 13659 ;; 13660 m68k) 13661 # FIXME: we need at least 68020 code to build shared libraries, but 13662 # adding the `-m68020' flag to GCC prevents building anything better, 13663 # like `-m68040'. 13664 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 13665 ;; 13666 esac 13667 ;; 13668 13669 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 13670 # PIC is the default for these OSes. 13671 ;; 13672 mingw* | cygwin* | os2* | pw32* | cegcc*) 13673 # This hack is so that the source file can tell whether it is being 13674 # built for inclusion in a dll (and should export symbols for example). 13675 # Although the cygwin gcc ignores -fPIC, still need this for old-style 13676 # (--disable-auto-import) libraries 13677 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 13678 ;; 13679 darwin* | rhapsody*) 13680 # PIC is the default on this platform 13681 # Common symbols not allowed in MH_DYLIB files 13682 lt_prog_compiler_pic_CXX='-fno-common' 13683 ;; 13684 *djgpp*) 13685 # DJGPP does not support shared libraries at all 13686 lt_prog_compiler_pic_CXX= 13687 ;; 13688 haiku*) 13689 # PIC is the default for Haiku. 13690 # The "-static" flag exists, but is broken. 13691 lt_prog_compiler_static_CXX= 13692 ;; 13693 interix[3-9]*) 13694 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 13695 # Instead, we relocate shared libraries at runtime. 13696 ;; 13697 sysv4*MP*) 13698 if test -d /usr/nec; then 13699 lt_prog_compiler_pic_CXX=-Kconform_pic 13700 fi 13701 ;; 13702 hpux*) 13703 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 13704 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 13705 # sets the default TLS model and affects inlining. 13706 case $host_cpu in 13707 hppa*64*) 13708 ;; 13709 *) 13710 lt_prog_compiler_pic_CXX='-fPIC' 13711 ;; 13712 esac 13713 ;; 13714 *qnx* | *nto*) 13715 # QNX uses GNU C++, but need to define -shared option too, otherwise 13716 # it will coredump. 13717 lt_prog_compiler_pic_CXX='-fPIC -shared' 13718 ;; 13719 *) 13720 lt_prog_compiler_pic_CXX='-fPIC' 13721 ;; 13722 esac 13723 else 13724 case $host_os in 13725 aix[4-9]*) 13726 # All AIX code is PIC. 13727 if test "$host_cpu" = ia64; then 13728 # AIX 5 now supports IA64 processor 13729 lt_prog_compiler_static_CXX='-Bstatic' 13730 else 13731 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 13732 fi 13733 ;; 13734 chorus*) 13735 case $cc_basename in 13736 cxch68*) 13737 # Green Hills C++ Compiler 13738 # _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" 13739 ;; 13740 esac 13741 ;; 13742 mingw* | cygwin* | os2* | pw32* | cegcc*) 13743 # This hack is so that the source file can tell whether it is being 13744 # built for inclusion in a dll (and should export symbols for example). 13745 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 13746 ;; 13747 dgux*) 13748 case $cc_basename in 13749 ec++*) 13750 lt_prog_compiler_pic_CXX='-KPIC' 13751 ;; 13752 ghcx*) 13753 # Green Hills C++ Compiler 13754 lt_prog_compiler_pic_CXX='-pic' 13755 ;; 13756 *) 13757 ;; 13758 esac 13759 ;; 13760 freebsd* | dragonfly*) 13761 # FreeBSD uses GNU C++ 13762 ;; 13763 hpux9* | hpux10* | hpux11*) 13764 case $cc_basename in 13765 CC*) 13766 lt_prog_compiler_wl_CXX='-Wl,' 13767 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 13768 if test "$host_cpu" != ia64; then 13769 lt_prog_compiler_pic_CXX='+Z' 13770 fi 13771 ;; 13772 aCC*) 13773 lt_prog_compiler_wl_CXX='-Wl,' 13774 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 13775 case $host_cpu in 13776 hppa*64*|ia64*) 13777 # +Z the default 13778 ;; 13779 *) 13780 lt_prog_compiler_pic_CXX='+Z' 13781 ;; 13782 esac 13783 ;; 13784 *) 13785 ;; 13786 esac 13787 ;; 13788 interix*) 13789 # This is c89, which is MS Visual C++ (no shared libs) 13790 # Anyone wants to do a port? 13791 ;; 13792 irix5* | irix6* | nonstopux*) 13793 case $cc_basename in 13794 CC*) 13795 lt_prog_compiler_wl_CXX='-Wl,' 13796 lt_prog_compiler_static_CXX='-non_shared' 13797 # CC pic flag -KPIC is the default. 13798 ;; 13799 *) 13800 ;; 13801 esac 13802 ;; 13803 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 13804 case $cc_basename in 13805 KCC*) 13806 # KAI C++ Compiler 13807 lt_prog_compiler_wl_CXX='--backend -Wl,' 13808 lt_prog_compiler_pic_CXX='-fPIC' 13809 ;; 13810 ecpc* ) 13811 # old Intel C++ for x86_64 which still supported -KPIC. 13812 lt_prog_compiler_wl_CXX='-Wl,' 13813 lt_prog_compiler_pic_CXX='-KPIC' 13814 lt_prog_compiler_static_CXX='-static' 13815 ;; 13816 icpc* ) 13817 # Intel C++, used to be incompatible with GCC. 13818 # ICC 10 doesn't accept -KPIC any more. 13819 lt_prog_compiler_wl_CXX='-Wl,' 13820 lt_prog_compiler_pic_CXX='-fPIC' 13821 lt_prog_compiler_static_CXX='-static' 13822 ;; 13823 pgCC* | pgcpp*) 13824 # Portland Group C++ compiler 13825 lt_prog_compiler_wl_CXX='-Wl,' 13826 lt_prog_compiler_pic_CXX='-fpic' 13827 lt_prog_compiler_static_CXX='-Bstatic' 13828 ;; 13829 cxx*) 13830 # Compaq C++ 13831 # Make sure the PIC flag is empty. It appears that all Alpha 13832 # Linux and Compaq Tru64 Unix objects are PIC. 13833 lt_prog_compiler_pic_CXX= 13834 lt_prog_compiler_static_CXX='-non_shared' 13835 ;; 13836 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 13837 # IBM XL 8.0, 9.0 on PPC and BlueGene 13838 lt_prog_compiler_wl_CXX='-Wl,' 13839 lt_prog_compiler_pic_CXX='-qpic' 13840 lt_prog_compiler_static_CXX='-qstaticlink' 13841 ;; 13842 *) 13843 case `$CC -V 2>&1 | sed 5q` in 13844 *Sun\ C*) 13845 # Sun C++ 5.9 13846 lt_prog_compiler_pic_CXX='-KPIC' 13847 lt_prog_compiler_static_CXX='-Bstatic' 13848 lt_prog_compiler_wl_CXX='-Qoption ld ' 13849 ;; 13850 esac 13851 ;; 13852 esac 13853 ;; 13854 lynxos*) 13855 ;; 13856 m88k*) 13857 ;; 13858 mvs*) 13859 case $cc_basename in 13860 cxx*) 13861 lt_prog_compiler_pic_CXX='-W c,exportall' 13862 ;; 13863 *) 13864 ;; 13865 esac 13866 ;; 13867 netbsd* | netbsdelf*-gnu) 13868 ;; 13869 *qnx* | *nto*) 13870 # QNX uses GNU C++, but need to define -shared option too, otherwise 13871 # it will coredump. 13872 lt_prog_compiler_pic_CXX='-fPIC -shared' 13873 ;; 13874 osf3* | osf4* | osf5*) 13875 case $cc_basename in 13876 KCC*) 13877 lt_prog_compiler_wl_CXX='--backend -Wl,' 13878 ;; 13879 RCC*) 13880 # Rational C++ 2.4.1 13881 lt_prog_compiler_pic_CXX='-pic' 13882 ;; 13883 cxx*) 13884 # Digital/Compaq C++ 13885 lt_prog_compiler_wl_CXX='-Wl,' 13886 # Make sure the PIC flag is empty. It appears that all Alpha 13887 # Linux and Compaq Tru64 Unix objects are PIC. 13888 lt_prog_compiler_pic_CXX= 13889 lt_prog_compiler_static_CXX='-non_shared' 13890 ;; 13891 *) 13892 ;; 13893 esac 13894 ;; 13895 psos*) 13896 ;; 13897 solaris*) 13898 case $cc_basename in 13899 CC* | sunCC*) 13900 # Sun C++ 4.2, 5.x and Centerline C++ 13901 lt_prog_compiler_pic_CXX='-KPIC' 13902 lt_prog_compiler_static_CXX='-Bstatic' 13903 lt_prog_compiler_wl_CXX='-Qoption ld ' 13904 ;; 13905 gcx*) 13906 # Green Hills C++ Compiler 13907 lt_prog_compiler_pic_CXX='-PIC' 13908 ;; 13909 *) 13910 ;; 13911 esac 13912 ;; 13913 sunos4*) 13914 case $cc_basename in 13915 CC*) 13916 # Sun C++ 4.x 13917 lt_prog_compiler_pic_CXX='-pic' 13918 lt_prog_compiler_static_CXX='-Bstatic' 13919 ;; 13920 lcc*) 13921 # Lucid 13922 lt_prog_compiler_pic_CXX='-pic' 13923 ;; 13924 *) 13925 ;; 13926 esac 13927 ;; 13928 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 13929 case $cc_basename in 13930 CC*) 13931 lt_prog_compiler_wl_CXX='-Wl,' 13932 lt_prog_compiler_pic_CXX='-KPIC' 13933 lt_prog_compiler_static_CXX='-Bstatic' 13934 ;; 13935 esac 13936 ;; 13937 tandem*) 13938 case $cc_basename in 13939 NCC*) 13940 # NonStop-UX NCC 3.20 13941 lt_prog_compiler_pic_CXX='-KPIC' 13942 ;; 13943 *) 13944 ;; 13945 esac 13946 ;; 13947 vxworks*) 13948 ;; 13949 *) 13950 lt_prog_compiler_can_build_shared_CXX=no 13951 ;; 13952 esac 13953 fi 13954 13955case $host_os in 13956 # For platforms which do not support PIC, -DPIC is meaningless: 13957 *djgpp*) 13958 lt_prog_compiler_pic_CXX= 13959 ;; 13960 *) 13961 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 13962 ;; 13963esac 13964 13965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 13966$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 13967if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 13968 $as_echo_n "(cached) " >&6 13969else 13970 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 13971fi 13972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 13973$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 13974lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 13975 13976# 13977# Check to make sure the PIC flag actually works. 13978# 13979if test -n "$lt_prog_compiler_pic_CXX"; then 13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 13981$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 13982if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 13983 $as_echo_n "(cached) " >&6 13984else 13985 lt_cv_prog_compiler_pic_works_CXX=no 13986 ac_outfile=conftest.$ac_objext 13987 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13988 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 13989 # Insert the option either (1) after the last *FLAGS variable, or 13990 # (2) before a word containing "conftest.", or (3) at the end. 13991 # Note that $ac_compile itself does not contain backslashes and begins 13992 # with a dollar sign (not a hyphen), so the echo should work correctly. 13993 # The option is referenced via a variable to avoid confusing sed. 13994 lt_compile=`echo "$ac_compile" | $SED \ 13995 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13997 -e 's:$: $lt_compiler_flag:'` 13998 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 13999 (eval "$lt_compile" 2>conftest.err) 14000 ac_status=$? 14001 cat conftest.err >&5 14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14003 if (exit $ac_status) && test -s "$ac_outfile"; then 14004 # The compiler can only warn and ignore the option if not recognized 14005 # So say no if there are warnings other than the usual output. 14006 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 14007 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14008 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14009 lt_cv_prog_compiler_pic_works_CXX=yes 14010 fi 14011 fi 14012 $RM conftest* 14013 14014fi 14015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 14016$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 14017 14018if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 14019 case $lt_prog_compiler_pic_CXX in 14020 "" | " "*) ;; 14021 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 14022 esac 14023else 14024 lt_prog_compiler_pic_CXX= 14025 lt_prog_compiler_can_build_shared_CXX=no 14026fi 14027 14028fi 14029 14030 14031 14032 14033 14034# 14035# Check to make sure the static flag actually works. 14036# 14037wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 14038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14039$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14040if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 14041 $as_echo_n "(cached) " >&6 14042else 14043 lt_cv_prog_compiler_static_works_CXX=no 14044 save_LDFLAGS="$LDFLAGS" 14045 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14046 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14047 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14048 # The linker can only warn and ignore the option if not recognized 14049 # So say no if there are warnings 14050 if test -s conftest.err; then 14051 # Append any errors to the config.log. 14052 cat conftest.err 1>&5 14053 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14054 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14055 if diff conftest.exp conftest.er2 >/dev/null; then 14056 lt_cv_prog_compiler_static_works_CXX=yes 14057 fi 14058 else 14059 lt_cv_prog_compiler_static_works_CXX=yes 14060 fi 14061 fi 14062 $RM -r conftest* 14063 LDFLAGS="$save_LDFLAGS" 14064 14065fi 14066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 14067$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 14068 14069if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 14070 : 14071else 14072 lt_prog_compiler_static_CXX= 14073fi 14074 14075 14076 14077 14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14079$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14080if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14081 $as_echo_n "(cached) " >&6 14082else 14083 lt_cv_prog_compiler_c_o_CXX=no 14084 $RM -r conftest 2>/dev/null 14085 mkdir conftest 14086 cd conftest 14087 mkdir out 14088 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14089 14090 lt_compiler_flag="-o out/conftest2.$ac_objext" 14091 # Insert the option either (1) after the last *FLAGS variable, or 14092 # (2) before a word containing "conftest.", or (3) at the end. 14093 # Note that $ac_compile itself does not contain backslashes and begins 14094 # with a dollar sign (not a hyphen), so the echo should work correctly. 14095 lt_compile=`echo "$ac_compile" | $SED \ 14096 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14098 -e 's:$: $lt_compiler_flag:'` 14099 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14100 (eval "$lt_compile" 2>out/conftest.err) 14101 ac_status=$? 14102 cat out/conftest.err >&5 14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14104 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14105 then 14106 # The compiler can only warn and ignore the option if not recognized 14107 # So say no if there are warnings 14108 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14109 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14110 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14111 lt_cv_prog_compiler_c_o_CXX=yes 14112 fi 14113 fi 14114 chmod u+w . 2>&5 14115 $RM conftest* 14116 # SGI C++ compiler will create directory out/ii_files/ for 14117 # template instantiation 14118 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14119 $RM out/* && rmdir out 14120 cd .. 14121 $RM -r conftest 14122 $RM conftest* 14123 14124fi 14125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14126$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14127 14128 14129 14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14131$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14132if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14133 $as_echo_n "(cached) " >&6 14134else 14135 lt_cv_prog_compiler_c_o_CXX=no 14136 $RM -r conftest 2>/dev/null 14137 mkdir conftest 14138 cd conftest 14139 mkdir out 14140 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14141 14142 lt_compiler_flag="-o out/conftest2.$ac_objext" 14143 # Insert the option either (1) after the last *FLAGS variable, or 14144 # (2) before a word containing "conftest.", or (3) at the end. 14145 # Note that $ac_compile itself does not contain backslashes and begins 14146 # with a dollar sign (not a hyphen), so the echo should work correctly. 14147 lt_compile=`echo "$ac_compile" | $SED \ 14148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14150 -e 's:$: $lt_compiler_flag:'` 14151 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14152 (eval "$lt_compile" 2>out/conftest.err) 14153 ac_status=$? 14154 cat out/conftest.err >&5 14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14156 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14157 then 14158 # The compiler can only warn and ignore the option if not recognized 14159 # So say no if there are warnings 14160 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14161 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14162 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14163 lt_cv_prog_compiler_c_o_CXX=yes 14164 fi 14165 fi 14166 chmod u+w . 2>&5 14167 $RM conftest* 14168 # SGI C++ compiler will create directory out/ii_files/ for 14169 # template instantiation 14170 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14171 $RM out/* && rmdir out 14172 cd .. 14173 $RM -r conftest 14174 $RM conftest* 14175 14176fi 14177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14178$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14179 14180 14181 14182 14183hard_links="nottested" 14184if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 14185 # do not overwrite the value of need_locks provided by the user 14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 14187$as_echo_n "checking if we can lock with hard links... " >&6; } 14188 hard_links=yes 14189 $RM conftest* 14190 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14191 touch conftest.a 14192 ln conftest.a conftest.b 2>&5 || hard_links=no 14193 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14195$as_echo "$hard_links" >&6; } 14196 if test "$hard_links" = no; then 14197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 14198$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 14199 need_locks=warn 14200 fi 14201else 14202 need_locks=no 14203fi 14204 14205 14206 14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14208$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14209 14210 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14211 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14212 case $host_os in 14213 aix[4-9]*) 14214 # If we're using GNU nm, then we don't want the "-C" option. 14215 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14216 # Also, AIX nm treats weak defined symbols like other global defined 14217 # symbols, whereas GNU nm marks them as "W". 14218 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14219 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' 14220 else 14221 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' 14222 fi 14223 ;; 14224 pw32*) 14225 export_symbols_cmds_CXX="$ltdll_cmds" 14226 ;; 14227 cygwin* | mingw* | cegcc*) 14228 case $cc_basename in 14229 cl*) 14230 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 14231 ;; 14232 *) 14233 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' 14234 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 14235 ;; 14236 esac 14237 ;; 14238 linux* | k*bsd*-gnu | gnu*) 14239 link_all_deplibs_CXX=no 14240 ;; 14241 *) 14242 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14243 ;; 14244 esac 14245 14246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14247$as_echo "$ld_shlibs_CXX" >&6; } 14248test "$ld_shlibs_CXX" = no && can_build_shared=no 14249 14250with_gnu_ld_CXX=$with_gnu_ld 14251 14252 14253 14254 14255 14256 14257# 14258# Do we need to explicitly link libc? 14259# 14260case "x$archive_cmds_need_lc_CXX" in 14261x|xyes) 14262 # Assume -lc should be added 14263 archive_cmds_need_lc_CXX=yes 14264 14265 if test "$enable_shared" = yes && test "$GCC" = yes; then 14266 case $archive_cmds_CXX in 14267 *'~'*) 14268 # FIXME: we may have to deal with multi-command sequences. 14269 ;; 14270 '$CC '*) 14271 # Test whether the compiler implicitly links with -lc since on some 14272 # systems, -lgcc has to come before -lc. If gcc already passes -lc 14273 # to ld, don't add -lc before -lgcc. 14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 14275$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 14276if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 14277 $as_echo_n "(cached) " >&6 14278else 14279 $RM conftest* 14280 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14281 14282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14283 (eval $ac_compile) 2>&5 14284 ac_status=$? 14285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14286 test $ac_status = 0; } 2>conftest.err; then 14287 soname=conftest 14288 lib=conftest 14289 libobjs=conftest.$ac_objext 14290 deplibs= 14291 wl=$lt_prog_compiler_wl_CXX 14292 pic_flag=$lt_prog_compiler_pic_CXX 14293 compiler_flags=-v 14294 linker_flags=-v 14295 verstring= 14296 output_objdir=. 14297 libname=conftest 14298 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 14299 allow_undefined_flag_CXX= 14300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 14301 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 14302 ac_status=$? 14303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14304 test $ac_status = 0; } 14305 then 14306 lt_cv_archive_cmds_need_lc_CXX=no 14307 else 14308 lt_cv_archive_cmds_need_lc_CXX=yes 14309 fi 14310 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 14311 else 14312 cat conftest.err 1>&5 14313 fi 14314 $RM conftest* 14315 14316fi 14317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 14318$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 14319 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 14320 ;; 14321 esac 14322 fi 14323 ;; 14324esac 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 14388$as_echo_n "checking dynamic linker characteristics... " >&6; } 14389 14390library_names_spec= 14391libname_spec='lib$name' 14392soname_spec= 14393shrext_cmds=".so" 14394postinstall_cmds= 14395postuninstall_cmds= 14396finish_cmds= 14397finish_eval= 14398shlibpath_var= 14399shlibpath_overrides_runpath=unknown 14400version_type=none 14401dynamic_linker="$host_os ld.so" 14402sys_lib_dlsearch_path_spec="/lib /usr/lib" 14403need_lib_prefix=unknown 14404hardcode_into_libs=no 14405 14406# when you set need_version to no, make sure it does not cause -set_version 14407# flags to be left without arguments 14408need_version=unknown 14409 14410case $host_os in 14411aix3*) 14412 version_type=linux # correct to gnu/linux during the next big refactor 14413 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 14414 shlibpath_var=LIBPATH 14415 14416 # AIX 3 has no versioning support, so we append a major version to the name. 14417 soname_spec='${libname}${release}${shared_ext}$major' 14418 ;; 14419 14420aix[4-9]*) 14421 version_type=linux # correct to gnu/linux during the next big refactor 14422 need_lib_prefix=no 14423 need_version=no 14424 hardcode_into_libs=yes 14425 if test "$host_cpu" = ia64; then 14426 # AIX 5 supports IA64 14427 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 14428 shlibpath_var=LD_LIBRARY_PATH 14429 else 14430 # With GCC up to 2.95.x, collect2 would create an import file 14431 # for dependence libraries. The import file would start with 14432 # the line `#! .'. This would cause the generated library to 14433 # depend on `.', always an invalid library. This was fixed in 14434 # development snapshots of GCC prior to 3.0. 14435 case $host_os in 14436 aix4 | aix4.[01] | aix4.[01].*) 14437 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 14438 echo ' yes ' 14439 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 14440 : 14441 else 14442 can_build_shared=no 14443 fi 14444 ;; 14445 esac 14446 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 14447 # soname into executable. Probably we can add versioning support to 14448 # collect2, so additional links can be useful in future. 14449 if test "$aix_use_runtimelinking" = yes; then 14450 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 14451 # instead of lib<name>.a to let people know that these are not 14452 # typical AIX shared libraries. 14453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14454 else 14455 # We preserve .a as extension for shared libraries through AIX4.2 14456 # and later when we are not doing run time linking. 14457 library_names_spec='${libname}${release}.a $libname.a' 14458 soname_spec='${libname}${release}${shared_ext}$major' 14459 fi 14460 shlibpath_var=LIBPATH 14461 fi 14462 ;; 14463 14464amigaos*) 14465 case $host_cpu in 14466 powerpc) 14467 # Since July 2007 AmigaOS4 officially supports .so libraries. 14468 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 14469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14470 ;; 14471 m68k) 14472 library_names_spec='$libname.ixlibrary $libname.a' 14473 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14474 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' 14475 ;; 14476 esac 14477 ;; 14478 14479beos*) 14480 library_names_spec='${libname}${shared_ext}' 14481 dynamic_linker="$host_os ld.so" 14482 shlibpath_var=LIBRARY_PATH 14483 ;; 14484 14485bsdi[45]*) 14486 version_type=linux # correct to gnu/linux during the next big refactor 14487 need_version=no 14488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14489 soname_spec='${libname}${release}${shared_ext}$major' 14490 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 14491 shlibpath_var=LD_LIBRARY_PATH 14492 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 14493 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 14494 # the default ld.so.conf also contains /usr/contrib/lib and 14495 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 14496 # libtool to hard-code these into programs 14497 ;; 14498 14499cygwin* | mingw* | pw32* | cegcc*) 14500 version_type=windows 14501 shrext_cmds=".dll" 14502 need_version=no 14503 need_lib_prefix=no 14504 14505 case $GCC,$cc_basename in 14506 yes,*) 14507 # gcc 14508 library_names_spec='$libname.dll.a' 14509 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14510 postinstall_cmds='base_file=`basename \${file}`~ 14511 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 14512 dldir=$destdir/`dirname \$dlpath`~ 14513 test -d \$dldir || mkdir -p \$dldir~ 14514 $install_prog $dir/$dlname \$dldir/$dlname~ 14515 chmod a+x \$dldir/$dlname~ 14516 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 14517 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 14518 fi' 14519 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14520 dlpath=$dir/\$dldll~ 14521 $RM \$dlpath' 14522 shlibpath_overrides_runpath=yes 14523 14524 case $host_os in 14525 cygwin*) 14526 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14527 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14528 14529 ;; 14530 mingw* | cegcc*) 14531 # MinGW DLLs use traditional 'lib' prefix 14532 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14533 ;; 14534 pw32*) 14535 # pw32 DLLs use 'pw' prefix rather than 'lib' 14536 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14537 ;; 14538 esac 14539 dynamic_linker='Win32 ld.exe' 14540 ;; 14541 14542 *,cl*) 14543 # Native MSVC 14544 libname_spec='$name' 14545 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14546 library_names_spec='${libname}.dll.lib' 14547 14548 case $build_os in 14549 mingw*) 14550 sys_lib_search_path_spec= 14551 lt_save_ifs=$IFS 14552 IFS=';' 14553 for lt_path in $LIB 14554 do 14555 IFS=$lt_save_ifs 14556 # Let DOS variable expansion print the short 8.3 style file name. 14557 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 14558 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 14559 done 14560 IFS=$lt_save_ifs 14561 # Convert to MSYS style. 14562 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 14563 ;; 14564 cygwin*) 14565 # Convert to unix form, then to dos form, then back to unix form 14566 # but this time dos style (no spaces!) so that the unix form looks 14567 # like /cygdrive/c/PROGRA~1:/cygdr... 14568 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 14569 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 14570 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 14571 ;; 14572 *) 14573 sys_lib_search_path_spec="$LIB" 14574 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 14575 # It is most probably a Windows format PATH. 14576 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 14577 else 14578 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 14579 fi 14580 # FIXME: find the short name or the path components, as spaces are 14581 # common. (e.g. "Program Files" -> "PROGRA~1") 14582 ;; 14583 esac 14584 14585 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14586 postinstall_cmds='base_file=`basename \${file}`~ 14587 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 14588 dldir=$destdir/`dirname \$dlpath`~ 14589 test -d \$dldir || mkdir -p \$dldir~ 14590 $install_prog $dir/$dlname \$dldir/$dlname' 14591 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14592 dlpath=$dir/\$dldll~ 14593 $RM \$dlpath' 14594 shlibpath_overrides_runpath=yes 14595 dynamic_linker='Win32 link.exe' 14596 ;; 14597 14598 *) 14599 # Assume MSVC wrapper 14600 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 14601 dynamic_linker='Win32 ld.exe' 14602 ;; 14603 esac 14604 # FIXME: first we should search . and the directory the executable is in 14605 shlibpath_var=PATH 14606 ;; 14607 14608darwin* | rhapsody*) 14609 dynamic_linker="$host_os dyld" 14610 version_type=darwin 14611 need_lib_prefix=no 14612 need_version=no 14613 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 14614 soname_spec='${libname}${release}${major}$shared_ext' 14615 shlibpath_overrides_runpath=yes 14616 shlibpath_var=DYLD_LIBRARY_PATH 14617 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 14618 14619 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 14620 ;; 14621 14622dgux*) 14623 version_type=linux # correct to gnu/linux during the next big refactor 14624 need_lib_prefix=no 14625 need_version=no 14626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 14627 soname_spec='${libname}${release}${shared_ext}$major' 14628 shlibpath_var=LD_LIBRARY_PATH 14629 ;; 14630 14631freebsd* | dragonfly*) 14632 # DragonFly does not have aout. When/if they implement a new 14633 # versioning mechanism, adjust this. 14634 if test -x /usr/bin/objformat; then 14635 objformat=`/usr/bin/objformat` 14636 else 14637 case $host_os in 14638 freebsd[23].*) objformat=aout ;; 14639 *) objformat=elf ;; 14640 esac 14641 fi 14642 version_type=freebsd-$objformat 14643 case $version_type in 14644 freebsd-elf*) 14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 14646 need_version=no 14647 need_lib_prefix=no 14648 ;; 14649 freebsd-*) 14650 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 14651 need_version=yes 14652 ;; 14653 esac 14654 shlibpath_var=LD_LIBRARY_PATH 14655 case $host_os in 14656 freebsd2.*) 14657 shlibpath_overrides_runpath=yes 14658 ;; 14659 freebsd3.[01]* | freebsdelf3.[01]*) 14660 shlibpath_overrides_runpath=yes 14661 hardcode_into_libs=yes 14662 ;; 14663 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 14664 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 14665 shlibpath_overrides_runpath=no 14666 hardcode_into_libs=yes 14667 ;; 14668 *) # from 4.6 on, and DragonFly 14669 shlibpath_overrides_runpath=yes 14670 hardcode_into_libs=yes 14671 ;; 14672 esac 14673 ;; 14674 14675haiku*) 14676 version_type=linux # correct to gnu/linux during the next big refactor 14677 need_lib_prefix=no 14678 need_version=no 14679 dynamic_linker="$host_os runtime_loader" 14680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 14681 soname_spec='${libname}${release}${shared_ext}$major' 14682 shlibpath_var=LIBRARY_PATH 14683 shlibpath_overrides_runpath=yes 14684 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 14685 hardcode_into_libs=yes 14686 ;; 14687 14688hpux9* | hpux10* | hpux11*) 14689 # Give a soname corresponding to the major version so that dld.sl refuses to 14690 # link against other versions. 14691 version_type=sunos 14692 need_lib_prefix=no 14693 need_version=no 14694 case $host_cpu in 14695 ia64*) 14696 shrext_cmds='.so' 14697 hardcode_into_libs=yes 14698 dynamic_linker="$host_os dld.so" 14699 shlibpath_var=LD_LIBRARY_PATH 14700 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14702 soname_spec='${libname}${release}${shared_ext}$major' 14703 if test "X$HPUX_IA64_MODE" = X32; then 14704 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 14705 else 14706 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 14707 fi 14708 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14709 ;; 14710 hppa*64*) 14711 shrext_cmds='.sl' 14712 hardcode_into_libs=yes 14713 dynamic_linker="$host_os dld.sl" 14714 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 14715 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14717 soname_spec='${libname}${release}${shared_ext}$major' 14718 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 14719 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14720 ;; 14721 *) 14722 shrext_cmds='.sl' 14723 dynamic_linker="$host_os dld.sl" 14724 shlibpath_var=SHLIB_PATH 14725 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 14726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14727 soname_spec='${libname}${release}${shared_ext}$major' 14728 ;; 14729 esac 14730 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 14731 postinstall_cmds='chmod 555 $lib' 14732 # or fails outright, so override atomically: 14733 install_override_mode=555 14734 ;; 14735 14736interix[3-9]*) 14737 version_type=linux # correct to gnu/linux during the next big refactor 14738 need_lib_prefix=no 14739 need_version=no 14740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14741 soname_spec='${libname}${release}${shared_ext}$major' 14742 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 14743 shlibpath_var=LD_LIBRARY_PATH 14744 shlibpath_overrides_runpath=no 14745 hardcode_into_libs=yes 14746 ;; 14747 14748irix5* | irix6* | nonstopux*) 14749 case $host_os in 14750 nonstopux*) version_type=nonstopux ;; 14751 *) 14752 if test "$lt_cv_prog_gnu_ld" = yes; then 14753 version_type=linux # correct to gnu/linux during the next big refactor 14754 else 14755 version_type=irix 14756 fi ;; 14757 esac 14758 need_lib_prefix=no 14759 need_version=no 14760 soname_spec='${libname}${release}${shared_ext}$major' 14761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 14762 case $host_os in 14763 irix5* | nonstopux*) 14764 libsuff= shlibsuff= 14765 ;; 14766 *) 14767 case $LD in # libtool.m4 will add one of these switches to LD 14768 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 14769 libsuff= shlibsuff= libmagic=32-bit;; 14770 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 14771 libsuff=32 shlibsuff=N32 libmagic=N32;; 14772 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 14773 libsuff=64 shlibsuff=64 libmagic=64-bit;; 14774 *) libsuff= shlibsuff= libmagic=never-match;; 14775 esac 14776 ;; 14777 esac 14778 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 14779 shlibpath_overrides_runpath=no 14780 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 14781 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 14782 hardcode_into_libs=yes 14783 ;; 14784 14785# No shared lib support for Linux oldld, aout, or coff. 14786linux*oldld* | linux*aout* | linux*coff*) 14787 dynamic_linker=no 14788 ;; 14789 14790# This must be glibc/ELF. 14791linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14792 version_type=linux # correct to gnu/linux during the next big refactor 14793 need_lib_prefix=no 14794 need_version=no 14795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14796 soname_spec='${libname}${release}${shared_ext}$major' 14797 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 14798 shlibpath_var=LD_LIBRARY_PATH 14799 shlibpath_overrides_runpath=no 14800 14801 # Some binutils ld are patched to set DT_RUNPATH 14802 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 14803 $as_echo_n "(cached) " >&6 14804else 14805 lt_cv_shlibpath_overrides_runpath=no 14806 save_LDFLAGS=$LDFLAGS 14807 save_libdir=$libdir 14808 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 14809 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14811/* end confdefs.h. */ 14812 14813int 14814main () 14815{ 14816 14817 ; 14818 return 0; 14819} 14820_ACEOF 14821if ac_fn_cxx_try_link "$LINENO"; then : 14822 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 14823 lt_cv_shlibpath_overrides_runpath=yes 14824fi 14825fi 14826rm -f core conftest.err conftest.$ac_objext \ 14827 conftest$ac_exeext conftest.$ac_ext 14828 LDFLAGS=$save_LDFLAGS 14829 libdir=$save_libdir 14830 14831fi 14832 14833 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 14834 14835 # This implies no fast_install, which is unacceptable. 14836 # Some rework will be needed to allow for fast_install 14837 # before this can be enabled. 14838 hardcode_into_libs=yes 14839 14840 # Append ld.so.conf contents to the search path 14841 if test -f /etc/ld.so.conf; then 14842 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' ' '` 14843 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 14844 fi 14845 14846 # We used to test for /lib/ld.so.1 and disable shared libraries on 14847 # powerpc, because MkLinux only supported shared libraries with the 14848 # GNU dynamic linker. Since this was broken with cross compilers, 14849 # most powerpc-linux boxes support dynamic linking these days and 14850 # people can always --disable-shared, the test was removed, and we 14851 # assume the GNU/Linux dynamic linker is in use. 14852 dynamic_linker='GNU/Linux ld.so' 14853 ;; 14854 14855netbsdelf*-gnu) 14856 version_type=linux 14857 need_lib_prefix=no 14858 need_version=no 14859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14860 soname_spec='${libname}${release}${shared_ext}$major' 14861 shlibpath_var=LD_LIBRARY_PATH 14862 shlibpath_overrides_runpath=no 14863 hardcode_into_libs=yes 14864 dynamic_linker='NetBSD ld.elf_so' 14865 ;; 14866 14867netbsd*) 14868 version_type=sunos 14869 need_lib_prefix=no 14870 need_version=no 14871 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14873 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14874 dynamic_linker='NetBSD (a.out) ld.so' 14875 else 14876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14877 soname_spec='${libname}${release}${shared_ext}$major' 14878 dynamic_linker='NetBSD ld.elf_so' 14879 fi 14880 shlibpath_var=LD_LIBRARY_PATH 14881 shlibpath_overrides_runpath=yes 14882 hardcode_into_libs=yes 14883 ;; 14884 14885newsos6) 14886 version_type=linux # correct to gnu/linux during the next big refactor 14887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14888 shlibpath_var=LD_LIBRARY_PATH 14889 shlibpath_overrides_runpath=yes 14890 ;; 14891 14892*nto* | *qnx*) 14893 version_type=qnx 14894 need_lib_prefix=no 14895 need_version=no 14896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14897 soname_spec='${libname}${release}${shared_ext}$major' 14898 shlibpath_var=LD_LIBRARY_PATH 14899 shlibpath_overrides_runpath=no 14900 hardcode_into_libs=yes 14901 dynamic_linker='ldqnx.so' 14902 ;; 14903 14904openbsd*) 14905 version_type=sunos 14906 sys_lib_dlsearch_path_spec="/usr/lib" 14907 need_lib_prefix=no 14908 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 14909 case $host_os in 14910 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 14911 *) need_version=no ;; 14912 esac 14913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14914 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14915 shlibpath_var=LD_LIBRARY_PATH 14916 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14917 case $host_os in 14918 openbsd2.[89] | openbsd2.[89].*) 14919 shlibpath_overrides_runpath=no 14920 ;; 14921 *) 14922 shlibpath_overrides_runpath=yes 14923 ;; 14924 esac 14925 else 14926 shlibpath_overrides_runpath=yes 14927 fi 14928 ;; 14929 14930os2*) 14931 libname_spec='$name' 14932 shrext_cmds=".dll" 14933 need_lib_prefix=no 14934 library_names_spec='$libname${shared_ext} $libname.a' 14935 dynamic_linker='OS/2 ld.exe' 14936 shlibpath_var=LIBPATH 14937 ;; 14938 14939osf3* | osf4* | osf5*) 14940 version_type=osf 14941 need_lib_prefix=no 14942 need_version=no 14943 soname_spec='${libname}${release}${shared_ext}$major' 14944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14945 shlibpath_var=LD_LIBRARY_PATH 14946 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 14947 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 14948 ;; 14949 14950rdos*) 14951 dynamic_linker=no 14952 ;; 14953 14954solaris*) 14955 version_type=linux # correct to gnu/linux during the next big refactor 14956 need_lib_prefix=no 14957 need_version=no 14958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14959 soname_spec='${libname}${release}${shared_ext}$major' 14960 shlibpath_var=LD_LIBRARY_PATH 14961 shlibpath_overrides_runpath=yes 14962 hardcode_into_libs=yes 14963 # ldd complains unless libraries are executable 14964 postinstall_cmds='chmod +x $lib' 14965 ;; 14966 14967sunos4*) 14968 version_type=sunos 14969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14970 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 14971 shlibpath_var=LD_LIBRARY_PATH 14972 shlibpath_overrides_runpath=yes 14973 if test "$with_gnu_ld" = yes; then 14974 need_lib_prefix=no 14975 fi 14976 need_version=yes 14977 ;; 14978 14979sysv4 | sysv4.3*) 14980 version_type=linux # correct to gnu/linux during the next big refactor 14981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14982 soname_spec='${libname}${release}${shared_ext}$major' 14983 shlibpath_var=LD_LIBRARY_PATH 14984 case $host_vendor in 14985 sni) 14986 shlibpath_overrides_runpath=no 14987 need_lib_prefix=no 14988 runpath_var=LD_RUN_PATH 14989 ;; 14990 siemens) 14991 need_lib_prefix=no 14992 ;; 14993 motorola) 14994 need_lib_prefix=no 14995 need_version=no 14996 shlibpath_overrides_runpath=no 14997 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 14998 ;; 14999 esac 15000 ;; 15001 15002sysv4*MP*) 15003 if test -d /usr/nec ;then 15004 version_type=linux # correct to gnu/linux during the next big refactor 15005 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 15006 soname_spec='$libname${shared_ext}.$major' 15007 shlibpath_var=LD_LIBRARY_PATH 15008 fi 15009 ;; 15010 15011sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 15012 version_type=freebsd-elf 15013 need_lib_prefix=no 15014 need_version=no 15015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15016 soname_spec='${libname}${release}${shared_ext}$major' 15017 shlibpath_var=LD_LIBRARY_PATH 15018 shlibpath_overrides_runpath=yes 15019 hardcode_into_libs=yes 15020 if test "$with_gnu_ld" = yes; then 15021 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 15022 else 15023 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 15024 case $host_os in 15025 sco3.2v5*) 15026 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 15027 ;; 15028 esac 15029 fi 15030 sys_lib_dlsearch_path_spec='/usr/lib' 15031 ;; 15032 15033tpf*) 15034 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 15035 version_type=linux # correct to gnu/linux during the next big refactor 15036 need_lib_prefix=no 15037 need_version=no 15038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15039 shlibpath_var=LD_LIBRARY_PATH 15040 shlibpath_overrides_runpath=no 15041 hardcode_into_libs=yes 15042 ;; 15043 15044uts4*) 15045 version_type=linux # correct to gnu/linux during the next big refactor 15046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15047 soname_spec='${libname}${release}${shared_ext}$major' 15048 shlibpath_var=LD_LIBRARY_PATH 15049 ;; 15050 15051*) 15052 dynamic_linker=no 15053 ;; 15054esac 15055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 15056$as_echo "$dynamic_linker" >&6; } 15057test "$dynamic_linker" = no && can_build_shared=no 15058 15059variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15060if test "$GCC" = yes; then 15061 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15062fi 15063 15064if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 15065 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 15066fi 15067if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 15068 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 15069fi 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 15109$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 15110hardcode_action_CXX= 15111if test -n "$hardcode_libdir_flag_spec_CXX" || 15112 test -n "$runpath_var_CXX" || 15113 test "X$hardcode_automatic_CXX" = "Xyes" ; then 15114 15115 # We can hardcode non-existent directories. 15116 if test "$hardcode_direct_CXX" != no && 15117 # If the only mechanism to avoid hardcoding is shlibpath_var, we 15118 # have to relink, otherwise we might link with an installed library 15119 # when we should be linking with a yet-to-be-installed one 15120 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 15121 test "$hardcode_minus_L_CXX" != no; then 15122 # Linking always hardcodes the temporary library directory. 15123 hardcode_action_CXX=relink 15124 else 15125 # We can link without hardcoding, and we can hardcode nonexisting dirs. 15126 hardcode_action_CXX=immediate 15127 fi 15128else 15129 # We cannot hardcode anything, or else we can only hardcode existing 15130 # directories. 15131 hardcode_action_CXX=unsupported 15132fi 15133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 15134$as_echo "$hardcode_action_CXX" >&6; } 15135 15136if test "$hardcode_action_CXX" = relink || 15137 test "$inherit_rpath_CXX" = yes; then 15138 # Fast installation is not supported 15139 enable_fast_install=no 15140elif test "$shlibpath_overrides_runpath" = yes || 15141 test "$enable_shared" = no; then 15142 # Fast installation is not necessary 15143 enable_fast_install=needless 15144fi 15145 15146 15147 15148 15149 15150 15151 15152 fi # test -n "$compiler" 15153 15154 CC=$lt_save_CC 15155 CFLAGS=$lt_save_CFLAGS 15156 LDCXX=$LD 15157 LD=$lt_save_LD 15158 GCC=$lt_save_GCC 15159 with_gnu_ld=$lt_save_with_gnu_ld 15160 lt_cv_path_LDCXX=$lt_cv_path_LD 15161 lt_cv_path_LD=$lt_save_path_LD 15162 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 15163 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 15164fi # test "$_lt_caught_CXX_error" != yes 15165 15166ac_ext=c 15167ac_cpp='$CPP $CPPFLAGS' 15168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15170ac_compiler_gnu=$ac_cv_c_compiler_gnu 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 ac_config_commands="$ac_config_commands libtool" 15187 15188 15189 15190 15191# Only expand once: 15192 15193 15194 15195 15196 15197 15198 15199 15200 yazconfig=NONE 15201 yazpath=NONE 15202 15203# Check whether --with-yaz was given. 15204if test "${with_yaz+set}" = set; then : 15205 withval=$with_yaz; yazpath=$withval 15206fi 15207 15208 if test "x$yazpath" != "xNONE"; then 15209 yazconfig=$yazpath/yaz-config 15210 else 15211 if test "x$srcdir" = "x"; then 15212 yazsrcdir=. 15213 else 15214 yazsrcdir=$srcdir 15215 fi 15216 for i in ${yazsrcdir}/../../yaz ${yazsrcdir}/../yaz-* ${yazsrcdir}/../yaz; do 15217 if test -d $i; then 15218 if test -r $i/yaz-config; then 15219 yazconfig=$i/yaz-config 15220 fi 15221 fi 15222 done 15223 if test "x$yazconfig" = "xNONE"; then 15224 # Extract the first word of "yaz-config", so it can be a program name with args. 15225set dummy yaz-config; ac_word=$2 15226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15227$as_echo_n "checking for $ac_word... " >&6; } 15228if ${ac_cv_path_yazconfig+:} false; then : 15229 $as_echo_n "(cached) " >&6 15230else 15231 case $yazconfig in 15232 [\\/]* | ?:[\\/]*) 15233 ac_cv_path_yazconfig="$yazconfig" # Let the user override the test with a path. 15234 ;; 15235 *) 15236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15237for as_dir in $PATH 15238do 15239 IFS=$as_save_IFS 15240 test -z "$as_dir" && as_dir=. 15241 for ac_exec_ext in '' $ac_executable_extensions; do 15242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15243 ac_cv_path_yazconfig="$as_dir/$ac_word$ac_exec_ext" 15244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15245 break 2 15246 fi 15247done 15248 done 15249IFS=$as_save_IFS 15250 15251 test -z "$ac_cv_path_yazconfig" && ac_cv_path_yazconfig="NONE" 15252 ;; 15253esac 15254fi 15255yazconfig=$ac_cv_path_yazconfig 15256if test -n "$yazconfig"; then 15257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $yazconfig" >&5 15258$as_echo "$yazconfig" >&6; } 15259else 15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15261$as_echo "no" >&6; } 15262fi 15263 15264 15265 fi 15266 fi 15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for YAZ" >&5 15268$as_echo_n "checking for YAZ... " >&6; } 15269 if $yazconfig --version >/dev/null 2>&1; then 15270 YAZLIB=`$yazconfig --libs threads` 15271 # if this is empty, it's a simple version YAZ 1.6 script 15272 # so we have to source it instead... 15273 if test "X$YAZLIB" = "X"; then 15274 . $yazconfig 15275 else 15276 YAZLALIB=`$yazconfig --lalibs threads` 15277 YAZINC=`$yazconfig --cflags threads` 15278 YAZVERSION=`$yazconfig --version` 15279 fi 15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $yazconfig" >&5 15281$as_echo "$yazconfig" >&6; } 15282 else 15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5 15284$as_echo "Not found" >&6; } 15285 YAZVERSION=NONE 15286 fi 15287 if test "X$YAZVERSION" != "XNONE"; then 15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for YAZ version" >&5 15289$as_echo_n "checking for YAZ version... " >&6; } 15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YAZVERSION" >&5 15291$as_echo "$YAZVERSION" >&6; } 15292 if test "5.1.0"; then 15293 have_yaz_version=`echo "$YAZVERSION" | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` 15294 req_yaz_version=`echo "5.1.0" | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` 15295 if test "$have_yaz_version" -lt "$req_yaz_version"; then 15296 as_fn_error $? "$YAZVERSION. Requires YAZ 5.1.0 or later" "$LINENO" 5 15297 fi 15298 fi 15299 fi 15300 15301if test -z "$YAZLIB"; then 15302 as_fn_error $? "YAZ development libraries missing" "$LINENO" 5 15303fi 15304 15305if test -n "$docdir"; then 15306 docdir="${datadir}/doc/${PACKAGE}" 15307 15308fi 15309 15310XSLTPROC_COMPILE='xsltproc --xinclude -path ".:$(srcdir)"' 15311 15312MAN_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.man.xsl' 15313 15314HTML_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.htmlhelp.xsl' 15315 15316TKL_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.tkl.xsl' 15317 15318PDF_COMPILE='dblatex -P latex.class.options=a4paper,12pt,twoside,openright' 15319 15320 15321 15322# Check whether --with-docbook-dtd was given. 15323if test "${with_docbook_dtd+set}" = set; then : 15324 withval=$with_docbook_dtd; 15325 if test -f "$withval/docbookx.dtd"; then 15326 DTD_DIR=$withval 15327 fi 15328 15329else 15330 15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbookx.dtd" >&5 15332$as_echo_n "checking for docbookx.dtd... " >&6; } 15333 DTD_DIR="" 15334 for d in /usr/lib/sgml/dtd/docbook-xml \ 15335 /usr/share/sgml/docbook/dtd/4.2 \ 15336 /usr/share/sgml/docbook/dtd/xml/4.* \ 15337 /usr/share/sgml/docbook/xml-dtd-4.* \ 15338 /usr/local/share/xml/docbook/4.* 15339 do 15340 if test -f $d/docbookx.dtd; then 15341 DTD_DIR=$d 15342 fi 15343 done 15344 if test -z "$DTD_DIR"; then 15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5 15346$as_echo "Not found" >&6; } 15347 else 15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d" >&5 15349$as_echo "$d" >&6; } 15350 fi 15351 15352fi 15353 15354 15355 15356# Check whether --with-docbook-dsssl was given. 15357if test "${with_docbook_dsssl+set}" = set; then : 15358 withval=$with_docbook_dsssl; 15359 if test -f "$withval/html/docbook.dsl"; then 15360 DSSSL_DIR=$withval 15361 fi 15362 15363else 15364 15365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook.dsl" >&5 15366$as_echo_n "checking for docbook.dsl... " >&6; } 15367 DSSSL_DIR="" 15368 for d in /usr/share/sgml/docbook/stylesheet/dsssl/modular \ 15369 /usr/share/sgml/docbook/dsssl-stylesheets-1.* \ 15370 /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh \ 15371 /usr/local/share/sgml/docbook/dsssl/modular 15372 do 15373 if test -f $d/html/docbook.dsl; then 15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d" >&5 15375$as_echo "$d" >&6; } 15376 DSSSL_DIR=$d 15377 break 15378 fi 15379 done 15380 if test -z "$DSSSL_DIR"; then 15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5 15382$as_echo "Not found" >&6; } 15383 fi 15384 15385fi 15386 15387 15388 15389# Check whether --with-docbook-xsl was given. 15390if test "${with_docbook_xsl+set}" = set; then : 15391 withval=$with_docbook_xsl; 15392 if test -f "$withval/htmlhelp/htmlhelp.xsl"; then 15393 XSL_DIR=$withval 15394 fi 15395 15396else 15397 15398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlhelp.xsl" >&5 15399$as_echo_n "checking for htmlhelp.xsl... " >&6; } 15400 for d in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh \ 15401 /usr/local/share/xsl/docbook \ 15402 /usr/share/sgml/docbook/xsl-stylesheets-1.* 15403 do 15404 if test -f $d/htmlhelp/htmlhelp.xsl; then 15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d" >&5 15406$as_echo "$d" >&6; } 15407 XSL_DIR=$d 15408 break 15409 fi 15410 done 15411 if test -z "$XSL_DIR"; then 15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5 15413$as_echo "Not found" >&6; } 15414 fi 15415 15416fi 15417 15418 15419for ac_header in unistd.h sys/stat.h sys/time.h sys/types.h fcntl.h 15420do : 15421 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 15422ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 15423if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 15424 cat >>confdefs.h <<_ACEOF 15425#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15426_ACEOF 15427 15428fi 15429 15430done 15431 15432 15433# Check whether --enable-zoom was given. 15434if test "${enable_zoom+set}" = set; then : 15435 enableval=$enable_zoom; enable_zoom=$enableval 15436else 15437 enable_zoom=yes 15438fi 15439 15440 if test $enable_zoom = "yes"; then 15441 ZOOM_TRUE= 15442 ZOOM_FALSE='#' 15443else 15444 ZOOM_TRUE='#' 15445 ZOOM_FALSE= 15446fi 15447 15448 15449ac_config_files="$ac_config_files Doxyfile Makefile src/Makefile include/Makefile include/yazpp/Makefile zlint/Makefile yazpp-config zoom/Makefile doc/Makefile doc/local0.ent doc/common/Makefile doc/common/print.dsl" 15450 15451ac_config_commands="$ac_config_commands default" 15452 15453cat >confcache <<\_ACEOF 15454# This file is a shell script that caches the results of configure 15455# tests run on this system so they can be shared between configure 15456# scripts and configure runs, see configure's option --config-cache. 15457# It is not useful on other systems. If it contains results you don't 15458# want to keep, you may remove or edit it. 15459# 15460# config.status only pays attention to the cache file if you give it 15461# the --recheck option to rerun configure. 15462# 15463# `ac_cv_env_foo' variables (set or unset) will be overridden when 15464# loading this file, other *unset* `ac_cv_foo' will be assigned the 15465# following values. 15466 15467_ACEOF 15468 15469# The following way of writing the cache mishandles newlines in values, 15470# but we know of no workaround that is simple, portable, and efficient. 15471# So, we kill variables containing newlines. 15472# Ultrix sh set writes to stderr and can't be redirected directly, 15473# and sets the high bit in the cache file unless we assign to the vars. 15474( 15475 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 15476 eval ac_val=\$$ac_var 15477 case $ac_val in #( 15478 *${as_nl}*) 15479 case $ac_var in #( 15480 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 15481$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15482 esac 15483 case $ac_var in #( 15484 _ | IFS | as_nl) ;; #( 15485 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 15486 *) { eval $ac_var=; unset $ac_var;} ;; 15487 esac ;; 15488 esac 15489 done 15490 15491 (set) 2>&1 | 15492 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15493 *${as_nl}ac_space=\ *) 15494 # `set' does not quote correctly, so add quotes: double-quote 15495 # substitution turns \\\\ into \\, and sed turns \\ into \. 15496 sed -n \ 15497 "s/'/'\\\\''/g; 15498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 15499 ;; #( 15500 *) 15501 # `set' quotes correctly as required by POSIX, so do not add quotes. 15502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15503 ;; 15504 esac | 15505 sort 15506) | 15507 sed ' 15508 /^ac_cv_env_/b end 15509 t clear 15510 :clear 15511 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 15512 t end 15513 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15514 :end' >>confcache 15515if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15516 if test -w "$cache_file"; then 15517 if test "x$cache_file" != "x/dev/null"; then 15518 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15519$as_echo "$as_me: updating cache $cache_file" >&6;} 15520 if test ! -f "$cache_file" || test -h "$cache_file"; then 15521 cat confcache >"$cache_file" 15522 else 15523 case $cache_file in #( 15524 */* | ?:*) 15525 mv -f confcache "$cache_file"$$ && 15526 mv -f "$cache_file"$$ "$cache_file" ;; #( 15527 *) 15528 mv -f confcache "$cache_file" ;; 15529 esac 15530 fi 15531 fi 15532 else 15533 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15534$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15535 fi 15536fi 15537rm -f confcache 15538 15539test "x$prefix" = xNONE && prefix=$ac_default_prefix 15540# Let make expand exec_prefix. 15541test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 15542 15543DEFS=-DHAVE_CONFIG_H 15544 15545ac_libobjs= 15546ac_ltlibobjs= 15547U= 15548for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15549 # 1. Remove the extension, and $U if already installed. 15550 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15551 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15552 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15553 # will be set to the directory where LIBOBJS objects are built. 15554 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15555 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15556done 15557LIBOBJS=$ac_libobjs 15558 15559LTLIBOBJS=$ac_ltlibobjs 15560 15561 15562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 15563$as_echo_n "checking that generated files are newer than configure... " >&6; } 15564 if test -n "$am_sleep_pid"; then 15565 # Hide warnings about reused PIDs. 15566 wait $am_sleep_pid 2>/dev/null 15567 fi 15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 15569$as_echo "done" >&6; } 15570 if test -n "$EXEEXT"; then 15571 am__EXEEXT_TRUE= 15572 am__EXEEXT_FALSE='#' 15573else 15574 am__EXEEXT_TRUE='#' 15575 am__EXEEXT_FALSE= 15576fi 15577 15578if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 15579 as_fn_error $? "conditional \"AMDEP\" was never defined. 15580Usually this means the macro was only invoked conditionally." "$LINENO" 5 15581fi 15582if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15583 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 15584Usually this means the macro was only invoked conditionally." "$LINENO" 5 15585fi 15586if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 15587 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 15588Usually this means the macro was only invoked conditionally." "$LINENO" 5 15589fi 15590if test -z "${ZOOM_TRUE}" && test -z "${ZOOM_FALSE}"; then 15591 as_fn_error $? "conditional \"ZOOM\" was never defined. 15592Usually this means the macro was only invoked conditionally." "$LINENO" 5 15593fi 15594 15595: "${CONFIG_STATUS=./config.status}" 15596ac_write_fail=0 15597ac_clean_files_save=$ac_clean_files 15598ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15599{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15600$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15601as_write_fail=0 15602cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15603#! $SHELL 15604# Generated by $as_me. 15605# Run this file to recreate the current configuration. 15606# Compiler output produced by configure, useful for debugging 15607# configure, is in config.log if it exists. 15608 15609debug=false 15610ac_cs_recheck=false 15611ac_cs_silent=false 15612 15613SHELL=\${CONFIG_SHELL-$SHELL} 15614export SHELL 15615_ASEOF 15616cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 15617## -------------------- ## 15618## M4sh Initialization. ## 15619## -------------------- ## 15620 15621# Be more Bourne compatible 15622DUALCASE=1; export DUALCASE # for MKS sh 15623if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15624 emulate sh 15625 NULLCMD=: 15626 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15627 # is contrary to our usage. Disable this feature. 15628 alias -g '${1+"$@"}'='"$@"' 15629 setopt NO_GLOB_SUBST 15630else 15631 case `(set -o) 2>/dev/null` in #( 15632 *posix*) : 15633 set -o posix ;; #( 15634 *) : 15635 ;; 15636esac 15637fi 15638 15639 15640as_nl=' 15641' 15642export as_nl 15643# Printing a long string crashes Solaris 7 /usr/bin/printf. 15644as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15645as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15646as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15647# Prefer a ksh shell builtin over an external printf program on Solaris, 15648# but without wasting forks for bash or zsh. 15649if test -z "$BASH_VERSION$ZSH_VERSION" \ 15650 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 15651 as_echo='print -r --' 15652 as_echo_n='print -rn --' 15653elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15654 as_echo='printf %s\n' 15655 as_echo_n='printf %s' 15656else 15657 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15658 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15659 as_echo_n='/usr/ucb/echo -n' 15660 else 15661 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15662 as_echo_n_body='eval 15663 arg=$1; 15664 case $arg in #( 15665 *"$as_nl"*) 15666 expr "X$arg" : "X\\(.*\\)$as_nl"; 15667 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15668 esac; 15669 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15670 ' 15671 export as_echo_n_body 15672 as_echo_n='sh -c $as_echo_n_body as_echo' 15673 fi 15674 export as_echo_body 15675 as_echo='sh -c $as_echo_body as_echo' 15676fi 15677 15678# The user is always right. 15679if test "${PATH_SEPARATOR+set}" != set; then 15680 PATH_SEPARATOR=: 15681 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15682 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15683 PATH_SEPARATOR=';' 15684 } 15685fi 15686 15687 15688# IFS 15689# We need space, tab and new line, in precisely that order. Quoting is 15690# there to prevent editors from complaining about space-tab. 15691# (If _AS_PATH_WALK were called with IFS unset, it would disable word 15692# splitting by setting IFS to empty value.) 15693IFS=" "" $as_nl" 15694 15695# Find who we are. Look in the path if we contain no directory separator. 15696as_myself= 15697case $0 in #(( 15698 *[\\/]* ) as_myself=$0 ;; 15699 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15700for as_dir in $PATH 15701do 15702 IFS=$as_save_IFS 15703 test -z "$as_dir" && as_dir=. 15704 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15705 done 15706IFS=$as_save_IFS 15707 15708 ;; 15709esac 15710# We did not find ourselves, most probably we were run as `sh COMMAND' 15711# in which case we are not to be found in the path. 15712if test "x$as_myself" = x; then 15713 as_myself=$0 15714fi 15715if test ! -f "$as_myself"; then 15716 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15717 exit 1 15718fi 15719 15720# Unset variables that we do not need and which cause bugs (e.g. in 15721# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 15722# suppresses any "Segmentation fault" message there. '((' could 15723# trigger a bug in pdksh 5.2.14. 15724for as_var in BASH_ENV ENV MAIL MAILPATH 15725do eval test x\${$as_var+set} = xset \ 15726 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15727done 15728PS1='$ ' 15729PS2='> ' 15730PS4='+ ' 15731 15732# NLS nuisances. 15733LC_ALL=C 15734export LC_ALL 15735LANGUAGE=C 15736export LANGUAGE 15737 15738# CDPATH. 15739(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15740 15741 15742# as_fn_error STATUS ERROR [LINENO LOG_FD] 15743# ---------------------------------------- 15744# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15745# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15746# script with STATUS, using 1 if that was 0. 15747as_fn_error () 15748{ 15749 as_status=$1; test $as_status -eq 0 && as_status=1 15750 if test "$4"; then 15751 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15752 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 15753 fi 15754 $as_echo "$as_me: error: $2" >&2 15755 as_fn_exit $as_status 15756} # as_fn_error 15757 15758 15759# as_fn_set_status STATUS 15760# ----------------------- 15761# Set $? to STATUS, without forking. 15762as_fn_set_status () 15763{ 15764 return $1 15765} # as_fn_set_status 15766 15767# as_fn_exit STATUS 15768# ----------------- 15769# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 15770as_fn_exit () 15771{ 15772 set +e 15773 as_fn_set_status $1 15774 exit $1 15775} # as_fn_exit 15776 15777# as_fn_unset VAR 15778# --------------- 15779# Portably unset VAR. 15780as_fn_unset () 15781{ 15782 { eval $1=; unset $1;} 15783} 15784as_unset=as_fn_unset 15785# as_fn_append VAR VALUE 15786# ---------------------- 15787# Append the text in VALUE to the end of the definition contained in VAR. Take 15788# advantage of any shell optimizations that allow amortized linear growth over 15789# repeated appends, instead of the typical quadratic growth present in naive 15790# implementations. 15791if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15792 eval 'as_fn_append () 15793 { 15794 eval $1+=\$2 15795 }' 15796else 15797 as_fn_append () 15798 { 15799 eval $1=\$$1\$2 15800 } 15801fi # as_fn_append 15802 15803# as_fn_arith ARG... 15804# ------------------ 15805# Perform arithmetic evaluation on the ARGs, and store the result in the 15806# global $as_val. Take advantage of shells that can avoid forks. The arguments 15807# must be portable across $(()) and expr. 15808if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15809 eval 'as_fn_arith () 15810 { 15811 as_val=$(( $* )) 15812 }' 15813else 15814 as_fn_arith () 15815 { 15816 as_val=`expr "$@" || test $? -eq 1` 15817 } 15818fi # as_fn_arith 15819 15820 15821if expr a : '\(a\)' >/dev/null 2>&1 && 15822 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15823 as_expr=expr 15824else 15825 as_expr=false 15826fi 15827 15828if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15829 as_basename=basename 15830else 15831 as_basename=false 15832fi 15833 15834if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15835 as_dirname=dirname 15836else 15837 as_dirname=false 15838fi 15839 15840as_me=`$as_basename -- "$0" || 15841$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15842 X"$0" : 'X\(//\)$' \| \ 15843 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15844$as_echo X/"$0" | 15845 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15846 s//\1/ 15847 q 15848 } 15849 /^X\/\(\/\/\)$/{ 15850 s//\1/ 15851 q 15852 } 15853 /^X\/\(\/\).*/{ 15854 s//\1/ 15855 q 15856 } 15857 s/.*/./; q'` 15858 15859# Avoid depending upon Character Ranges. 15860as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15861as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15862as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15863as_cr_digits='0123456789' 15864as_cr_alnum=$as_cr_Letters$as_cr_digits 15865 15866ECHO_C= ECHO_N= ECHO_T= 15867case `echo -n x` in #((((( 15868-n*) 15869 case `echo 'xy\c'` in 15870 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15871 xy) ECHO_C='\c';; 15872 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 15873 ECHO_T=' ';; 15874 esac;; 15875*) 15876 ECHO_N='-n';; 15877esac 15878 15879rm -f conf$$ conf$$.exe conf$$.file 15880if test -d conf$$.dir; then 15881 rm -f conf$$.dir/conf$$.file 15882else 15883 rm -f conf$$.dir 15884 mkdir conf$$.dir 2>/dev/null 15885fi 15886if (echo >conf$$.file) 2>/dev/null; then 15887 if ln -s conf$$.file conf$$ 2>/dev/null; then 15888 as_ln_s='ln -s' 15889 # ... but there are two gotchas: 15890 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15891 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15892 # In both cases, we have to default to `cp -pR'. 15893 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15894 as_ln_s='cp -pR' 15895 elif ln conf$$.file conf$$ 2>/dev/null; then 15896 as_ln_s=ln 15897 else 15898 as_ln_s='cp -pR' 15899 fi 15900else 15901 as_ln_s='cp -pR' 15902fi 15903rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15904rmdir conf$$.dir 2>/dev/null 15905 15906 15907# as_fn_mkdir_p 15908# ------------- 15909# Create "$as_dir" as a directory, including parents if necessary. 15910as_fn_mkdir_p () 15911{ 15912 15913 case $as_dir in #( 15914 -*) as_dir=./$as_dir;; 15915 esac 15916 test -d "$as_dir" || eval $as_mkdir_p || { 15917 as_dirs= 15918 while :; do 15919 case $as_dir in #( 15920 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15921 *) as_qdir=$as_dir;; 15922 esac 15923 as_dirs="'$as_qdir' $as_dirs" 15924 as_dir=`$as_dirname -- "$as_dir" || 15925$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15926 X"$as_dir" : 'X\(//\)[^/]' \| \ 15927 X"$as_dir" : 'X\(//\)$' \| \ 15928 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15929$as_echo X"$as_dir" | 15930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15931 s//\1/ 15932 q 15933 } 15934 /^X\(\/\/\)[^/].*/{ 15935 s//\1/ 15936 q 15937 } 15938 /^X\(\/\/\)$/{ 15939 s//\1/ 15940 q 15941 } 15942 /^X\(\/\).*/{ 15943 s//\1/ 15944 q 15945 } 15946 s/.*/./; q'` 15947 test -d "$as_dir" && break 15948 done 15949 test -z "$as_dirs" || eval "mkdir $as_dirs" 15950 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 15951 15952 15953} # as_fn_mkdir_p 15954if mkdir -p . 2>/dev/null; then 15955 as_mkdir_p='mkdir -p "$as_dir"' 15956else 15957 test -d ./-p && rmdir ./-p 15958 as_mkdir_p=false 15959fi 15960 15961 15962# as_fn_executable_p FILE 15963# ----------------------- 15964# Test if FILE is an executable regular file. 15965as_fn_executable_p () 15966{ 15967 test -f "$1" && test -x "$1" 15968} # as_fn_executable_p 15969as_test_x='test -x' 15970as_executable_p=as_fn_executable_p 15971 15972# Sed expression to map a string onto a valid CPP name. 15973as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15974 15975# Sed expression to map a string onto a valid variable name. 15976as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15977 15978 15979exec 6>&1 15980## ----------------------------------- ## 15981## Main body of $CONFIG_STATUS script. ## 15982## ----------------------------------- ## 15983_ASEOF 15984test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 15985 15986cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15987# Save the log message, to keep $0 and so on meaningful, and to 15988# report actual input values of CONFIG_FILES etc. instead of their 15989# values after options handling. 15990ac_log=" 15991This file was extended by yazpp $as_me 1.6.1, which was 15992generated by GNU Autoconf 2.69. Invocation command line was 15993 15994 CONFIG_FILES = $CONFIG_FILES 15995 CONFIG_HEADERS = $CONFIG_HEADERS 15996 CONFIG_LINKS = $CONFIG_LINKS 15997 CONFIG_COMMANDS = $CONFIG_COMMANDS 15998 $ $0 $@ 15999 16000on `(hostname || uname -n) 2>/dev/null | sed 1q` 16001" 16002 16003_ACEOF 16004 16005case $ac_config_files in *" 16006"*) set x $ac_config_files; shift; ac_config_files=$*;; 16007esac 16008 16009case $ac_config_headers in *" 16010"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 16011esac 16012 16013 16014cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16015# Files that config.status was made for. 16016config_files="$ac_config_files" 16017config_headers="$ac_config_headers" 16018config_commands="$ac_config_commands" 16019 16020_ACEOF 16021 16022cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16023ac_cs_usage="\ 16024\`$as_me' instantiates files and other configuration actions 16025from templates according to the current configuration. Unless the files 16026and actions are specified as TAGs, all are instantiated by default. 16027 16028Usage: $0 [OPTION]... [TAG]... 16029 16030 -h, --help print this help, then exit 16031 -V, --version print version number and configuration settings, then exit 16032 --config print configuration, then exit 16033 -q, --quiet, --silent 16034 do not print progress messages 16035 -d, --debug don't remove temporary files 16036 --recheck update $as_me by reconfiguring in the same conditions 16037 --file=FILE[:TEMPLATE] 16038 instantiate the configuration file FILE 16039 --header=FILE[:TEMPLATE] 16040 instantiate the configuration header FILE 16041 16042Configuration files: 16043$config_files 16044 16045Configuration headers: 16046$config_headers 16047 16048Configuration commands: 16049$config_commands 16050 16051Report bugs to <adam@indexdata.dk>." 16052 16053_ACEOF 16054cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16055ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16056ac_cs_version="\\ 16057yazpp config.status 1.6.1 16058configured by $0, generated by GNU Autoconf 2.69, 16059 with options \\"\$ac_cs_config\\" 16060 16061Copyright (C) 2012 Free Software Foundation, Inc. 16062This config.status script is free software; the Free Software Foundation 16063gives unlimited permission to copy, distribute and modify it." 16064 16065ac_pwd='$ac_pwd' 16066srcdir='$srcdir' 16067INSTALL='$INSTALL' 16068MKDIR_P='$MKDIR_P' 16069AWK='$AWK' 16070test -n "\$AWK" || AWK=awk 16071_ACEOF 16072 16073cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16074# The default lists apply if the user does not specify any file. 16075ac_need_defaults=: 16076while test $# != 0 16077do 16078 case $1 in 16079 --*=?*) 16080 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16081 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 16082 ac_shift=: 16083 ;; 16084 --*=) 16085 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16086 ac_optarg= 16087 ac_shift=: 16088 ;; 16089 *) 16090 ac_option=$1 16091 ac_optarg=$2 16092 ac_shift=shift 16093 ;; 16094 esac 16095 16096 case $ac_option in 16097 # Handling of the options. 16098 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16099 ac_cs_recheck=: ;; 16100 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16101 $as_echo "$ac_cs_version"; exit ;; 16102 --config | --confi | --conf | --con | --co | --c ) 16103 $as_echo "$ac_cs_config"; exit ;; 16104 --debug | --debu | --deb | --de | --d | -d ) 16105 debug=: ;; 16106 --file | --fil | --fi | --f ) 16107 $ac_shift 16108 case $ac_optarg in 16109 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16110 '') as_fn_error $? "missing file argument" ;; 16111 esac 16112 as_fn_append CONFIG_FILES " '$ac_optarg'" 16113 ac_need_defaults=false;; 16114 --header | --heade | --head | --hea ) 16115 $ac_shift 16116 case $ac_optarg in 16117 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16118 esac 16119 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 16120 ac_need_defaults=false;; 16121 --he | --h) 16122 # Conflict between --help and --header 16123 as_fn_error $? "ambiguous option: \`$1' 16124Try \`$0 --help' for more information.";; 16125 --help | --hel | -h ) 16126 $as_echo "$ac_cs_usage"; exit ;; 16127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16128 | -silent | --silent | --silen | --sile | --sil | --si | --s) 16129 ac_cs_silent=: ;; 16130 16131 # This is an error. 16132 -*) as_fn_error $? "unrecognized option: \`$1' 16133Try \`$0 --help' for more information." ;; 16134 16135 *) as_fn_append ac_config_targets " $1" 16136 ac_need_defaults=false ;; 16137 16138 esac 16139 shift 16140done 16141 16142ac_configure_extra_args= 16143 16144if $ac_cs_silent; then 16145 exec 6>/dev/null 16146 ac_configure_extra_args="$ac_configure_extra_args --silent" 16147fi 16148 16149_ACEOF 16150cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16151if \$ac_cs_recheck; then 16152 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 16153 shift 16154 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 16155 CONFIG_SHELL='$SHELL' 16156 export CONFIG_SHELL 16157 exec "\$@" 16158fi 16159 16160_ACEOF 16161cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16162exec 5>>config.log 16163{ 16164 echo 16165 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 16166## Running $as_me. ## 16167_ASBOX 16168 $as_echo "$ac_log" 16169} >&5 16170 16171_ACEOF 16172cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16173# 16174# INIT-COMMANDS 16175# 16176AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 16177 16178 16179# The HP-UX ksh and POSIX shell print the target directory to stdout 16180# if CDPATH is set. 16181(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16182 16183sed_quote_subst='$sed_quote_subst' 16184double_quote_subst='$double_quote_subst' 16185delay_variable_subst='$delay_variable_subst' 16186macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 16187macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 16188enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 16189enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 16190pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 16191enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 16192SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 16193ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 16194PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 16195host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 16196host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 16197host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 16198build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 16199build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 16200build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 16201SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 16202Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 16203GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 16204EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 16205FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 16206LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 16207NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 16208LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 16209max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 16210ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 16211exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 16212lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16213lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16214lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16215lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 16216lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 16217reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 16218reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 16219OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 16220deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 16221file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 16222file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 16223want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 16224DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 16225sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 16226AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 16227AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 16228archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 16229STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16230RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16231old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16232old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16233old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 16234lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 16235CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 16236CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 16237compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 16238GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 16239lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 16240lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 16241lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 16242lt_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"`' 16243nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 16244lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 16245objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 16246MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 16247lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 16248lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 16249lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 16250lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 16251lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 16252need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 16253MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 16254DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16255NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16256LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16257OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 16258OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 16259libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 16260shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 16261extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16262archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 16263enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 16264export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 16265whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 16266compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 16267old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 16268old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16269archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 16270archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16271module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 16272module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16273with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 16274allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 16275no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 16276hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 16277hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 16278hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 16279hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 16280hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 16281hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 16282hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16283inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16284link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16285always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 16286export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 16287exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 16288include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 16289prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 16290postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 16291file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16292variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 16293need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 16294need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 16295version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 16296runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 16297shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 16298shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 16299libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 16300library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 16301soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 16302install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 16303postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16304postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16305finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 16306finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 16307hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 16308sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 16309sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 16310hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 16311enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 16312enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 16313enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 16314old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 16315striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 16316compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 16317predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 16318postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 16319predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 16320postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 16321compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 16322LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 16323reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 16324reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16325old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16326compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 16327GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 16328lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 16329lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 16330lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 16331lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 16332lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 16333archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 16334enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 16335export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 16336whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 16337compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 16338old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16339old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16340archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16341archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16342module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16343module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16344with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 16345allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 16346no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 16347hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 16348hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 16349hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 16350hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 16351hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 16352hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 16353hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 16354inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 16355link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 16356always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 16357export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16358exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 16359include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 16360prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16361postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16362file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 16363hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 16364compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 16365predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 16366postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 16367predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 16368postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 16369compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 16370 16371LTCC='$LTCC' 16372LTCFLAGS='$LTCFLAGS' 16373compiler='$compiler_DEFAULT' 16374 16375# A function that is used when there is no print builtin or printf. 16376func_fallback_echo () 16377{ 16378 eval 'cat <<_LTECHO_EOF 16379\$1 16380_LTECHO_EOF' 16381} 16382 16383# Quote evaled strings. 16384for var in SHELL \ 16385ECHO \ 16386PATH_SEPARATOR \ 16387SED \ 16388GREP \ 16389EGREP \ 16390FGREP \ 16391LD \ 16392NM \ 16393LN_S \ 16394lt_SP2NL \ 16395lt_NL2SP \ 16396reload_flag \ 16397OBJDUMP \ 16398deplibs_check_method \ 16399file_magic_cmd \ 16400file_magic_glob \ 16401want_nocaseglob \ 16402DLLTOOL \ 16403sharedlib_from_linklib_cmd \ 16404AR \ 16405AR_FLAGS \ 16406archiver_list_spec \ 16407STRIP \ 16408RANLIB \ 16409CC \ 16410CFLAGS \ 16411compiler \ 16412lt_cv_sys_global_symbol_pipe \ 16413lt_cv_sys_global_symbol_to_cdecl \ 16414lt_cv_sys_global_symbol_to_c_name_address \ 16415lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 16416nm_file_list_spec \ 16417lt_prog_compiler_no_builtin_flag \ 16418lt_prog_compiler_pic \ 16419lt_prog_compiler_wl \ 16420lt_prog_compiler_static \ 16421lt_cv_prog_compiler_c_o \ 16422need_locks \ 16423MANIFEST_TOOL \ 16424DSYMUTIL \ 16425NMEDIT \ 16426LIPO \ 16427OTOOL \ 16428OTOOL64 \ 16429shrext_cmds \ 16430export_dynamic_flag_spec \ 16431whole_archive_flag_spec \ 16432compiler_needs_object \ 16433with_gnu_ld \ 16434allow_undefined_flag \ 16435no_undefined_flag \ 16436hardcode_libdir_flag_spec \ 16437hardcode_libdir_separator \ 16438exclude_expsyms \ 16439include_expsyms \ 16440file_list_spec \ 16441variables_saved_for_relink \ 16442libname_spec \ 16443library_names_spec \ 16444soname_spec \ 16445install_override_mode \ 16446finish_eval \ 16447old_striplib \ 16448striplib \ 16449compiler_lib_search_dirs \ 16450predep_objects \ 16451postdep_objects \ 16452predeps \ 16453postdeps \ 16454compiler_lib_search_path \ 16455LD_CXX \ 16456reload_flag_CXX \ 16457compiler_CXX \ 16458lt_prog_compiler_no_builtin_flag_CXX \ 16459lt_prog_compiler_pic_CXX \ 16460lt_prog_compiler_wl_CXX \ 16461lt_prog_compiler_static_CXX \ 16462lt_cv_prog_compiler_c_o_CXX \ 16463export_dynamic_flag_spec_CXX \ 16464whole_archive_flag_spec_CXX \ 16465compiler_needs_object_CXX \ 16466with_gnu_ld_CXX \ 16467allow_undefined_flag_CXX \ 16468no_undefined_flag_CXX \ 16469hardcode_libdir_flag_spec_CXX \ 16470hardcode_libdir_separator_CXX \ 16471exclude_expsyms_CXX \ 16472include_expsyms_CXX \ 16473file_list_spec_CXX \ 16474compiler_lib_search_dirs_CXX \ 16475predep_objects_CXX \ 16476postdep_objects_CXX \ 16477predeps_CXX \ 16478postdeps_CXX \ 16479compiler_lib_search_path_CXX; do 16480 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 16481 *[\\\\\\\`\\"\\\$]*) 16482 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 16483 ;; 16484 *) 16485 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16486 ;; 16487 esac 16488done 16489 16490# Double-quote double-evaled strings. 16491for var in reload_cmds \ 16492old_postinstall_cmds \ 16493old_postuninstall_cmds \ 16494old_archive_cmds \ 16495extract_expsyms_cmds \ 16496old_archive_from_new_cmds \ 16497old_archive_from_expsyms_cmds \ 16498archive_cmds \ 16499archive_expsym_cmds \ 16500module_cmds \ 16501module_expsym_cmds \ 16502export_symbols_cmds \ 16503prelink_cmds \ 16504postlink_cmds \ 16505postinstall_cmds \ 16506postuninstall_cmds \ 16507finish_cmds \ 16508sys_lib_search_path_spec \ 16509sys_lib_dlsearch_path_spec \ 16510reload_cmds_CXX \ 16511old_archive_cmds_CXX \ 16512old_archive_from_new_cmds_CXX \ 16513old_archive_from_expsyms_cmds_CXX \ 16514archive_cmds_CXX \ 16515archive_expsym_cmds_CXX \ 16516module_cmds_CXX \ 16517module_expsym_cmds_CXX \ 16518export_symbols_cmds_CXX \ 16519prelink_cmds_CXX \ 16520postlink_cmds_CXX; do 16521 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 16522 *[\\\\\\\`\\"\\\$]*) 16523 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 16524 ;; 16525 *) 16526 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16527 ;; 16528 esac 16529done 16530 16531ac_aux_dir='$ac_aux_dir' 16532xsi_shell='$xsi_shell' 16533lt_shell_append='$lt_shell_append' 16534 16535# See if we are running on zsh, and set the options which allow our 16536# commands through without removal of \ escapes INIT. 16537if test -n "\${ZSH_VERSION+set}" ; then 16538 setopt NO_GLOB_SUBST 16539fi 16540 16541 16542 PACKAGE='$PACKAGE' 16543 VERSION='$VERSION' 16544 TIMESTAMP='$TIMESTAMP' 16545 RM='$RM' 16546 ofile='$ofile' 16547 16548 16549 16550 16551 16552 16553_ACEOF 16554 16555cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16556 16557# Handling of arguments. 16558for ac_config_target in $ac_config_targets 16559do 16560 case $ac_config_target in 16561 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; 16562 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 16563 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 16564 "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; 16565 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16566 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 16567 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 16568 "include/yazpp/Makefile") CONFIG_FILES="$CONFIG_FILES include/yazpp/Makefile" ;; 16569 "zlint/Makefile") CONFIG_FILES="$CONFIG_FILES zlint/Makefile" ;; 16570 "yazpp-config") CONFIG_FILES="$CONFIG_FILES yazpp-config" ;; 16571 "zoom/Makefile") CONFIG_FILES="$CONFIG_FILES zoom/Makefile" ;; 16572 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 16573 "doc/local0.ent") CONFIG_FILES="$CONFIG_FILES doc/local0.ent" ;; 16574 "doc/common/Makefile") CONFIG_FILES="$CONFIG_FILES doc/common/Makefile" ;; 16575 "doc/common/print.dsl") CONFIG_FILES="$CONFIG_FILES doc/common/print.dsl" ;; 16576 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 16577 16578 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 16579 esac 16580done 16581 16582 16583# If the user did not use the arguments to specify the items to instantiate, 16584# then the envvar interface is used. Set only those that are not. 16585# We use the long form for the default assignment because of an extremely 16586# bizarre bug on SunOS 4.1.3. 16587if $ac_need_defaults; then 16588 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 16589 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 16590 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 16591fi 16592 16593# Have a temporary directory for convenience. Make it in the build tree 16594# simply because there is no reason against having it here, and in addition, 16595# creating and moving files from /tmp can sometimes cause problems. 16596# Hook for its removal unless debugging. 16597# Note that there is a small window in which the directory will not be cleaned: 16598# after its creation but before its name has been assigned to `$tmp'. 16599$debug || 16600{ 16601 tmp= ac_tmp= 16602 trap 'exit_status=$? 16603 : "${ac_tmp:=$tmp}" 16604 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 16605' 0 16606 trap 'as_fn_exit 1' 1 2 13 15 16607} 16608# Create a (secure) tmp directory for tmp files. 16609 16610{ 16611 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 16612 test -d "$tmp" 16613} || 16614{ 16615 tmp=./conf$$-$RANDOM 16616 (umask 077 && mkdir "$tmp") 16617} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 16618ac_tmp=$tmp 16619 16620# Set up the scripts for CONFIG_FILES section. 16621# No need to generate them if there are no CONFIG_FILES. 16622# This happens for instance with `./config.status config.h'. 16623if test -n "$CONFIG_FILES"; then 16624 16625 16626ac_cr=`echo X | tr X '\015'` 16627# On cygwin, bash can eat \r inside `` if the user requested igncr. 16628# But we know of no other shell where ac_cr would be empty at this 16629# point, so we can use a bashism as a fallback. 16630if test "x$ac_cr" = x; then 16631 eval ac_cr=\$\'\\r\' 16632fi 16633ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 16634if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 16635 ac_cs_awk_cr='\\r' 16636else 16637 ac_cs_awk_cr=$ac_cr 16638fi 16639 16640echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 16641_ACEOF 16642 16643 16644{ 16645 echo "cat >conf$$subs.awk <<_ACEOF" && 16646 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 16647 echo "_ACEOF" 16648} >conf$$subs.sh || 16649 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16650ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 16651ac_delim='%!_!# ' 16652for ac_last_try in false false false false false :; do 16653 . ./conf$$subs.sh || 16654 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16655 16656 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 16657 if test $ac_delim_n = $ac_delim_num; then 16658 break 16659 elif $ac_last_try; then 16660 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16661 else 16662 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16663 fi 16664done 16665rm -f conf$$subs.sh 16666 16667cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16668cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 16669_ACEOF 16670sed -n ' 16671h 16672s/^/S["/; s/!.*/"]=/ 16673p 16674g 16675s/^[^!]*!// 16676:repl 16677t repl 16678s/'"$ac_delim"'$// 16679t delim 16680:nl 16681h 16682s/\(.\{148\}\)..*/\1/ 16683t more1 16684s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 16685p 16686n 16687b repl 16688:more1 16689s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16690p 16691g 16692s/.\{148\}// 16693t nl 16694:delim 16695h 16696s/\(.\{148\}\)..*/\1/ 16697t more2 16698s/["\\]/\\&/g; s/^/"/; s/$/"/ 16699p 16700b 16701:more2 16702s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16703p 16704g 16705s/.\{148\}// 16706t delim 16707' <conf$$subs.awk | sed ' 16708/^[^""]/{ 16709 N 16710 s/\n// 16711} 16712' >>$CONFIG_STATUS || ac_write_fail=1 16713rm -f conf$$subs.awk 16714cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16715_ACAWK 16716cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 16717 for (key in S) S_is_set[key] = 1 16718 FS = "" 16719 16720} 16721{ 16722 line = $ 0 16723 nfields = split(line, field, "@") 16724 substed = 0 16725 len = length(field[1]) 16726 for (i = 2; i < nfields; i++) { 16727 key = field[i] 16728 keylen = length(key) 16729 if (S_is_set[key]) { 16730 value = S[key] 16731 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 16732 len += length(value) + length(field[++i]) 16733 substed = 1 16734 } else 16735 len += 1 + keylen 16736 } 16737 16738 print line 16739} 16740 16741_ACAWK 16742_ACEOF 16743cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16744if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 16745 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 16746else 16747 cat 16748fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 16749 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 16750_ACEOF 16751 16752# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 16753# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 16754# trailing colons and then remove the whole line if VPATH becomes empty 16755# (actually we leave an empty line to preserve line numbers). 16756if test "x$srcdir" = x.; then 16757 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 16758h 16759s/// 16760s/^/:/ 16761s/[ ]*$/:/ 16762s/:\$(srcdir):/:/g 16763s/:\${srcdir}:/:/g 16764s/:@srcdir@:/:/g 16765s/^:*// 16766s/:*$// 16767x 16768s/\(=[ ]*\).*/\1/ 16769G 16770s/\n// 16771s/^[^=]*=[ ]*$// 16772}' 16773fi 16774 16775cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16776fi # test -n "$CONFIG_FILES" 16777 16778# Set up the scripts for CONFIG_HEADERS section. 16779# No need to generate them if there are no CONFIG_HEADERS. 16780# This happens for instance with `./config.status Makefile'. 16781if test -n "$CONFIG_HEADERS"; then 16782cat >"$ac_tmp/defines.awk" <<\_ACAWK || 16783BEGIN { 16784_ACEOF 16785 16786# Transform confdefs.h into an awk script `defines.awk', embedded as 16787# here-document in config.status, that substitutes the proper values into 16788# config.h.in to produce config.h. 16789 16790# Create a delimiter string that does not exist in confdefs.h, to ease 16791# handling of long lines. 16792ac_delim='%!_!# ' 16793for ac_last_try in false false :; do 16794 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 16795 if test -z "$ac_tt"; then 16796 break 16797 elif $ac_last_try; then 16798 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 16799 else 16800 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16801 fi 16802done 16803 16804# For the awk script, D is an array of macro values keyed by name, 16805# likewise P contains macro parameters if any. Preserve backslash 16806# newline sequences. 16807 16808ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16809sed -n ' 16810s/.\{148\}/&'"$ac_delim"'/g 16811t rset 16812:rset 16813s/^[ ]*#[ ]*define[ ][ ]*/ / 16814t def 16815d 16816:def 16817s/\\$// 16818t bsnl 16819s/["\\]/\\&/g 16820s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16821D["\1"]=" \3"/p 16822s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 16823d 16824:bsnl 16825s/["\\]/\\&/g 16826s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16827D["\1"]=" \3\\\\\\n"\\/p 16828t cont 16829s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 16830t cont 16831d 16832:cont 16833n 16834s/.\{148\}/&'"$ac_delim"'/g 16835t clear 16836:clear 16837s/\\$// 16838t bsnlc 16839s/["\\]/\\&/g; s/^/"/; s/$/"/p 16840d 16841:bsnlc 16842s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 16843b cont 16844' <confdefs.h | sed ' 16845s/'"$ac_delim"'/"\\\ 16846"/g' >>$CONFIG_STATUS || ac_write_fail=1 16847 16848cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16849 for (key in D) D_is_set[key] = 1 16850 FS = "" 16851} 16852/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 16853 line = \$ 0 16854 split(line, arg, " ") 16855 if (arg[1] == "#") { 16856 defundef = arg[2] 16857 mac1 = arg[3] 16858 } else { 16859 defundef = substr(arg[1], 2) 16860 mac1 = arg[2] 16861 } 16862 split(mac1, mac2, "(") #) 16863 macro = mac2[1] 16864 prefix = substr(line, 1, index(line, defundef) - 1) 16865 if (D_is_set[macro]) { 16866 # Preserve the white space surrounding the "#". 16867 print prefix "define", macro P[macro] D[macro] 16868 next 16869 } else { 16870 # Replace #undef with comments. This is necessary, for example, 16871 # in the case of _POSIX_SOURCE, which is predefined and required 16872 # on some systems where configure will not decide to define it. 16873 if (defundef == "undef") { 16874 print "/*", prefix defundef, macro, "*/" 16875 next 16876 } 16877 } 16878} 16879{ print } 16880_ACAWK 16881_ACEOF 16882cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16883 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 16884fi # test -n "$CONFIG_HEADERS" 16885 16886 16887eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16888shift 16889for ac_tag 16890do 16891 case $ac_tag in 16892 :[FHLC]) ac_mode=$ac_tag; continue;; 16893 esac 16894 case $ac_mode$ac_tag in 16895 :[FHL]*:*);; 16896 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 16897 :[FH]-) ac_tag=-:-;; 16898 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16899 esac 16900 ac_save_IFS=$IFS 16901 IFS=: 16902 set x $ac_tag 16903 IFS=$ac_save_IFS 16904 shift 16905 ac_file=$1 16906 shift 16907 16908 case $ac_mode in 16909 :L) ac_source=$1;; 16910 :[FH]) 16911 ac_file_inputs= 16912 for ac_f 16913 do 16914 case $ac_f in 16915 -) ac_f="$ac_tmp/stdin";; 16916 *) # Look for the file first in the build tree, then in the source tree 16917 # (if the path is not absolute). The absolute path cannot be DOS-style, 16918 # because $ac_f cannot contain `:'. 16919 test -f "$ac_f" || 16920 case $ac_f in 16921 [\\/$]*) false;; 16922 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16923 esac || 16924 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16925 esac 16926 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16927 as_fn_append ac_file_inputs " '$ac_f'" 16928 done 16929 16930 # Let's still pretend it is `configure' which instantiates (i.e., don't 16931 # use $as_me), people would be surprised to read: 16932 # /* config.h. Generated by config.status. */ 16933 configure_input='Generated from '` 16934 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16935 `' by configure.' 16936 if test x"$ac_file" != x-; then 16937 configure_input="$ac_file. $configure_input" 16938 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16939$as_echo "$as_me: creating $ac_file" >&6;} 16940 fi 16941 # Neutralize special characters interpreted by sed in replacement strings. 16942 case $configure_input in #( 16943 *\&* | *\|* | *\\* ) 16944 ac_sed_conf_input=`$as_echo "$configure_input" | 16945 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16946 *) ac_sed_conf_input=$configure_input;; 16947 esac 16948 16949 case $ac_tag in 16950 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 16951 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16952 esac 16953 ;; 16954 esac 16955 16956 ac_dir=`$as_dirname -- "$ac_file" || 16957$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16958 X"$ac_file" : 'X\(//\)[^/]' \| \ 16959 X"$ac_file" : 'X\(//\)$' \| \ 16960 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16961$as_echo X"$ac_file" | 16962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16963 s//\1/ 16964 q 16965 } 16966 /^X\(\/\/\)[^/].*/{ 16967 s//\1/ 16968 q 16969 } 16970 /^X\(\/\/\)$/{ 16971 s//\1/ 16972 q 16973 } 16974 /^X\(\/\).*/{ 16975 s//\1/ 16976 q 16977 } 16978 s/.*/./; q'` 16979 as_dir="$ac_dir"; as_fn_mkdir_p 16980 ac_builddir=. 16981 16982case "$ac_dir" in 16983.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16984*) 16985 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16986 # A ".." for each directory in $ac_dir_suffix. 16987 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16988 case $ac_top_builddir_sub in 16989 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16990 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16991 esac ;; 16992esac 16993ac_abs_top_builddir=$ac_pwd 16994ac_abs_builddir=$ac_pwd$ac_dir_suffix 16995# for backward compatibility: 16996ac_top_builddir=$ac_top_build_prefix 16997 16998case $srcdir in 16999 .) # We are building in place. 17000 ac_srcdir=. 17001 ac_top_srcdir=$ac_top_builddir_sub 17002 ac_abs_top_srcdir=$ac_pwd ;; 17003 [\\/]* | ?:[\\/]* ) # Absolute name. 17004 ac_srcdir=$srcdir$ac_dir_suffix; 17005 ac_top_srcdir=$srcdir 17006 ac_abs_top_srcdir=$srcdir ;; 17007 *) # Relative name. 17008 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17009 ac_top_srcdir=$ac_top_build_prefix$srcdir 17010 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17011esac 17012ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17013 17014 17015 case $ac_mode in 17016 :F) 17017 # 17018 # CONFIG_FILE 17019 # 17020 17021 case $INSTALL in 17022 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 17023 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 17024 esac 17025 ac_MKDIR_P=$MKDIR_P 17026 case $MKDIR_P in 17027 [\\/$]* | ?:[\\/]* ) ;; 17028 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 17029 esac 17030_ACEOF 17031 17032cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17033# If the template does not know about datarootdir, expand it. 17034# FIXME: This hack should be removed a few years after 2.60. 17035ac_datarootdir_hack=; ac_datarootdir_seen= 17036ac_sed_dataroot=' 17037/datarootdir/ { 17038 p 17039 q 17040} 17041/@datadir@/p 17042/@docdir@/p 17043/@infodir@/p 17044/@localedir@/p 17045/@mandir@/p' 17046case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17047*datarootdir*) ac_datarootdir_seen=yes;; 17048*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17050$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17051_ACEOF 17052cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17053 ac_datarootdir_hack=' 17054 s&@datadir@&$datadir&g 17055 s&@docdir@&$docdir&g 17056 s&@infodir@&$infodir&g 17057 s&@localedir@&$localedir&g 17058 s&@mandir@&$mandir&g 17059 s&\\\${datarootdir}&$datarootdir&g' ;; 17060esac 17061_ACEOF 17062 17063# Neutralize VPATH when `$srcdir' = `.'. 17064# Shell code in configure.ac might set extrasub. 17065# FIXME: do we really want to maintain this feature? 17066cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17067ac_sed_extra="$ac_vpsub 17068$extrasub 17069_ACEOF 17070cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17071:t 17072/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17073s|@configure_input@|$ac_sed_conf_input|;t t 17074s&@top_builddir@&$ac_top_builddir_sub&;t t 17075s&@top_build_prefix@&$ac_top_build_prefix&;t t 17076s&@srcdir@&$ac_srcdir&;t t 17077s&@abs_srcdir@&$ac_abs_srcdir&;t t 17078s&@top_srcdir@&$ac_top_srcdir&;t t 17079s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 17080s&@builddir@&$ac_builddir&;t t 17081s&@abs_builddir@&$ac_abs_builddir&;t t 17082s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 17083s&@INSTALL@&$ac_INSTALL&;t t 17084s&@MKDIR_P@&$ac_MKDIR_P&;t t 17085$ac_datarootdir_hack 17086" 17087eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 17088 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17089 17090test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17091 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 17092 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 17093 "$ac_tmp/out"`; test -z "$ac_out"; } && 17094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17095which seems to be undefined. Please make sure it is defined" >&5 17096$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17097which seems to be undefined. Please make sure it is defined" >&2;} 17098 17099 rm -f "$ac_tmp/stdin" 17100 case $ac_file in 17101 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 17102 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 17103 esac \ 17104 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17105 ;; 17106 :H) 17107 # 17108 # CONFIG_HEADER 17109 # 17110 if test x"$ac_file" != x-; then 17111 { 17112 $as_echo "/* $configure_input */" \ 17113 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 17114 } >"$ac_tmp/config.h" \ 17115 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17116 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 17117 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 17118$as_echo "$as_me: $ac_file is unchanged" >&6;} 17119 else 17120 rm -f "$ac_file" 17121 mv "$ac_tmp/config.h" "$ac_file" \ 17122 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17123 fi 17124 else 17125 $as_echo "/* $configure_input */" \ 17126 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 17127 || as_fn_error $? "could not create -" "$LINENO" 5 17128 fi 17129# Compute "$ac_file"'s index in $config_headers. 17130_am_arg="$ac_file" 17131_am_stamp_count=1 17132for _am_header in $config_headers :; do 17133 case $_am_header in 17134 $_am_arg | $_am_arg:* ) 17135 break ;; 17136 * ) 17137 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 17138 esac 17139done 17140echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 17141$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17142 X"$_am_arg" : 'X\(//\)[^/]' \| \ 17143 X"$_am_arg" : 'X\(//\)$' \| \ 17144 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 17145$as_echo X"$_am_arg" | 17146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17147 s//\1/ 17148 q 17149 } 17150 /^X\(\/\/\)[^/].*/{ 17151 s//\1/ 17152 q 17153 } 17154 /^X\(\/\/\)$/{ 17155 s//\1/ 17156 q 17157 } 17158 /^X\(\/\).*/{ 17159 s//\1/ 17160 q 17161 } 17162 s/.*/./; q'`/stamp-h$_am_stamp_count 17163 ;; 17164 17165 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 17166$as_echo "$as_me: executing $ac_file commands" >&6;} 17167 ;; 17168 esac 17169 17170 17171 case $ac_file$ac_mode in 17172 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 17173 # Older Autoconf quotes --file arguments for eval, but not when files 17174 # are listed without --file. Let's play safe and only enable the eval 17175 # if we detect the quoting. 17176 case $CONFIG_FILES in 17177 *\'*) eval set x "$CONFIG_FILES" ;; 17178 *) set x $CONFIG_FILES ;; 17179 esac 17180 shift 17181 for mf 17182 do 17183 # Strip MF so we end up with the name of the file. 17184 mf=`echo "$mf" | sed -e 's/:.*$//'` 17185 # Check whether this is an Automake generated Makefile or not. 17186 # We used to match only the files named 'Makefile.in', but 17187 # some people rename them; so instead we look at the file content. 17188 # Grep'ing the first line is not enough: some people post-process 17189 # each Makefile.in and add a new line on top of each file to say so. 17190 # Grep'ing the whole file is not good either: AIX grep has a line 17191 # limit of 2048, but all sed's we know have understand at least 4000. 17192 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 17193 dirpart=`$as_dirname -- "$mf" || 17194$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17195 X"$mf" : 'X\(//\)[^/]' \| \ 17196 X"$mf" : 'X\(//\)$' \| \ 17197 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 17198$as_echo X"$mf" | 17199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17200 s//\1/ 17201 q 17202 } 17203 /^X\(\/\/\)[^/].*/{ 17204 s//\1/ 17205 q 17206 } 17207 /^X\(\/\/\)$/{ 17208 s//\1/ 17209 q 17210 } 17211 /^X\(\/\).*/{ 17212 s//\1/ 17213 q 17214 } 17215 s/.*/./; q'` 17216 else 17217 continue 17218 fi 17219 # Extract the definition of DEPDIR, am__include, and am__quote 17220 # from the Makefile without running 'make'. 17221 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 17222 test -z "$DEPDIR" && continue 17223 am__include=`sed -n 's/^am__include = //p' < "$mf"` 17224 test -z "$am__include" && continue 17225 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 17226 # Find all dependency output files, they are included files with 17227 # $(DEPDIR) in their names. We invoke sed twice because it is the 17228 # simplest approach to changing $(DEPDIR) to its actual value in the 17229 # expansion. 17230 for file in `sed -n " 17231 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 17232 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 17233 # Make sure the directory exists. 17234 test -f "$dirpart/$file" && continue 17235 fdir=`$as_dirname -- "$file" || 17236$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17237 X"$file" : 'X\(//\)[^/]' \| \ 17238 X"$file" : 'X\(//\)$' \| \ 17239 X"$file" : 'X\(/\)' \| . 2>/dev/null || 17240$as_echo X"$file" | 17241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17242 s//\1/ 17243 q 17244 } 17245 /^X\(\/\/\)[^/].*/{ 17246 s//\1/ 17247 q 17248 } 17249 /^X\(\/\/\)$/{ 17250 s//\1/ 17251 q 17252 } 17253 /^X\(\/\).*/{ 17254 s//\1/ 17255 q 17256 } 17257 s/.*/./; q'` 17258 as_dir=$dirpart/$fdir; as_fn_mkdir_p 17259 # echo "creating $dirpart/$file" 17260 echo '# dummy' > "$dirpart/$file" 17261 done 17262 done 17263} 17264 ;; 17265 "libtool":C) 17266 17267 # See if we are running on zsh, and set the options which allow our 17268 # commands through without removal of \ escapes. 17269 if test -n "${ZSH_VERSION+set}" ; then 17270 setopt NO_GLOB_SUBST 17271 fi 17272 17273 cfgfile="${ofile}T" 17274 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 17275 $RM "$cfgfile" 17276 17277 cat <<_LT_EOF >> "$cfgfile" 17278#! $SHELL 17279 17280# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 17281# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 17282# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 17283# NOTE: Changes made to this file will be lost: look at ltmain.sh. 17284# 17285# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 17286# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 17287# Foundation, Inc. 17288# Written by Gordon Matzigkeit, 1996 17289# 17290# This file is part of GNU Libtool. 17291# 17292# GNU Libtool is free software; you can redistribute it and/or 17293# modify it under the terms of the GNU General Public License as 17294# published by the Free Software Foundation; either version 2 of 17295# the License, or (at your option) any later version. 17296# 17297# As a special exception to the GNU General Public License, 17298# if you distribute this file as part of a program or library that 17299# is built using GNU Libtool, you may include this file under the 17300# same distribution terms that you use for the rest of that program. 17301# 17302# GNU Libtool is distributed in the hope that it will be useful, 17303# but WITHOUT ANY WARRANTY; without even the implied warranty of 17304# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17305# GNU General Public License for more details. 17306# 17307# You should have received a copy of the GNU General Public License 17308# along with GNU Libtool; see the file COPYING. If not, a copy 17309# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 17310# obtained by writing to the Free Software Foundation, Inc., 17311# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17312 17313 17314# The names of the tagged configurations supported by this script. 17315available_tags="CXX " 17316 17317# ### BEGIN LIBTOOL CONFIG 17318 17319# Which release of libtool.m4 was used? 17320macro_version=$macro_version 17321macro_revision=$macro_revision 17322 17323# Whether or not to build shared libraries. 17324build_libtool_libs=$enable_shared 17325 17326# Whether or not to build static libraries. 17327build_old_libs=$enable_static 17328 17329# What type of objects to build. 17330pic_mode=$pic_mode 17331 17332# Whether or not to optimize for fast installation. 17333fast_install=$enable_fast_install 17334 17335# Shell to use when invoking shell scripts. 17336SHELL=$lt_SHELL 17337 17338# An echo program that protects backslashes. 17339ECHO=$lt_ECHO 17340 17341# The PATH separator for the build system. 17342PATH_SEPARATOR=$lt_PATH_SEPARATOR 17343 17344# The host system. 17345host_alias=$host_alias 17346host=$host 17347host_os=$host_os 17348 17349# The build system. 17350build_alias=$build_alias 17351build=$build 17352build_os=$build_os 17353 17354# A sed program that does not truncate output. 17355SED=$lt_SED 17356 17357# Sed that helps us avoid accidentally triggering echo(1) options like -n. 17358Xsed="\$SED -e 1s/^X//" 17359 17360# A grep program that handles long lines. 17361GREP=$lt_GREP 17362 17363# An ERE matcher. 17364EGREP=$lt_EGREP 17365 17366# A literal string matcher. 17367FGREP=$lt_FGREP 17368 17369# A BSD- or MS-compatible name lister. 17370NM=$lt_NM 17371 17372# Whether we need soft or hard links. 17373LN_S=$lt_LN_S 17374 17375# What is the maximum length of a command? 17376max_cmd_len=$max_cmd_len 17377 17378# Object file suffix (normally "o"). 17379objext=$ac_objext 17380 17381# Executable file suffix (normally ""). 17382exeext=$exeext 17383 17384# whether the shell understands "unset". 17385lt_unset=$lt_unset 17386 17387# turn spaces into newlines. 17388SP2NL=$lt_lt_SP2NL 17389 17390# turn newlines into spaces. 17391NL2SP=$lt_lt_NL2SP 17392 17393# convert \$build file names to \$host format. 17394to_host_file_cmd=$lt_cv_to_host_file_cmd 17395 17396# convert \$build files to toolchain format. 17397to_tool_file_cmd=$lt_cv_to_tool_file_cmd 17398 17399# An object symbol dumper. 17400OBJDUMP=$lt_OBJDUMP 17401 17402# Method to check whether dependent libraries are shared objects. 17403deplibs_check_method=$lt_deplibs_check_method 17404 17405# Command to use when deplibs_check_method = "file_magic". 17406file_magic_cmd=$lt_file_magic_cmd 17407 17408# How to find potential files when deplibs_check_method = "file_magic". 17409file_magic_glob=$lt_file_magic_glob 17410 17411# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 17412want_nocaseglob=$lt_want_nocaseglob 17413 17414# DLL creation program. 17415DLLTOOL=$lt_DLLTOOL 17416 17417# Command to associate shared and link libraries. 17418sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 17419 17420# The archiver. 17421AR=$lt_AR 17422 17423# Flags to create an archive. 17424AR_FLAGS=$lt_AR_FLAGS 17425 17426# How to feed a file listing to the archiver. 17427archiver_list_spec=$lt_archiver_list_spec 17428 17429# A symbol stripping program. 17430STRIP=$lt_STRIP 17431 17432# Commands used to install an old-style archive. 17433RANLIB=$lt_RANLIB 17434old_postinstall_cmds=$lt_old_postinstall_cmds 17435old_postuninstall_cmds=$lt_old_postuninstall_cmds 17436 17437# Whether to use a lock for old archive extraction. 17438lock_old_archive_extraction=$lock_old_archive_extraction 17439 17440# A C compiler. 17441LTCC=$lt_CC 17442 17443# LTCC compiler flags. 17444LTCFLAGS=$lt_CFLAGS 17445 17446# Take the output of nm and produce a listing of raw symbols and C names. 17447global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 17448 17449# Transform the output of nm in a proper C declaration. 17450global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 17451 17452# Transform the output of nm in a C name address pair. 17453global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 17454 17455# Transform the output of nm in a C name address pair when lib prefix is needed. 17456global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 17457 17458# Specify filename containing input files for \$NM. 17459nm_file_list_spec=$lt_nm_file_list_spec 17460 17461# The root where to search for dependent libraries,and in which our libraries should be installed. 17462lt_sysroot=$lt_sysroot 17463 17464# The name of the directory that contains temporary libtool files. 17465objdir=$objdir 17466 17467# Used to examine libraries when file_magic_cmd begins with "file". 17468MAGIC_CMD=$MAGIC_CMD 17469 17470# Must we lock files when doing compilation? 17471need_locks=$lt_need_locks 17472 17473# Manifest tool. 17474MANIFEST_TOOL=$lt_MANIFEST_TOOL 17475 17476# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 17477DSYMUTIL=$lt_DSYMUTIL 17478 17479# Tool to change global to local symbols on Mac OS X. 17480NMEDIT=$lt_NMEDIT 17481 17482# Tool to manipulate fat objects and archives on Mac OS X. 17483LIPO=$lt_LIPO 17484 17485# ldd/readelf like tool for Mach-O binaries on Mac OS X. 17486OTOOL=$lt_OTOOL 17487 17488# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 17489OTOOL64=$lt_OTOOL64 17490 17491# Old archive suffix (normally "a"). 17492libext=$libext 17493 17494# Shared library suffix (normally ".so"). 17495shrext_cmds=$lt_shrext_cmds 17496 17497# The commands to extract the exported symbol list from a shared archive. 17498extract_expsyms_cmds=$lt_extract_expsyms_cmds 17499 17500# Variables whose values should be saved in libtool wrapper scripts and 17501# restored at link time. 17502variables_saved_for_relink=$lt_variables_saved_for_relink 17503 17504# Do we need the "lib" prefix for modules? 17505need_lib_prefix=$need_lib_prefix 17506 17507# Do we need a version for libraries? 17508need_version=$need_version 17509 17510# Library versioning type. 17511version_type=$version_type 17512 17513# Shared library runtime path variable. 17514runpath_var=$runpath_var 17515 17516# Shared library path variable. 17517shlibpath_var=$shlibpath_var 17518 17519# Is shlibpath searched before the hard-coded library search path? 17520shlibpath_overrides_runpath=$shlibpath_overrides_runpath 17521 17522# Format of library name prefix. 17523libname_spec=$lt_libname_spec 17524 17525# List of archive names. First name is the real one, the rest are links. 17526# The last name is the one that the linker finds with -lNAME 17527library_names_spec=$lt_library_names_spec 17528 17529# The coded name of the library, if different from the real name. 17530soname_spec=$lt_soname_spec 17531 17532# Permission mode override for installation of shared libraries. 17533install_override_mode=$lt_install_override_mode 17534 17535# Command to use after installation of a shared archive. 17536postinstall_cmds=$lt_postinstall_cmds 17537 17538# Command to use after uninstallation of a shared archive. 17539postuninstall_cmds=$lt_postuninstall_cmds 17540 17541# Commands used to finish a libtool library installation in a directory. 17542finish_cmds=$lt_finish_cmds 17543 17544# As "finish_cmds", except a single script fragment to be evaled but 17545# not shown. 17546finish_eval=$lt_finish_eval 17547 17548# Whether we should hardcode library paths into libraries. 17549hardcode_into_libs=$hardcode_into_libs 17550 17551# Compile-time system search path for libraries. 17552sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 17553 17554# Run-time system search path for libraries. 17555sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 17556 17557# Whether dlopen is supported. 17558dlopen_support=$enable_dlopen 17559 17560# Whether dlopen of programs is supported. 17561dlopen_self=$enable_dlopen_self 17562 17563# Whether dlopen of statically linked programs is supported. 17564dlopen_self_static=$enable_dlopen_self_static 17565 17566# Commands to strip libraries. 17567old_striplib=$lt_old_striplib 17568striplib=$lt_striplib 17569 17570 17571# The linker used to build libraries. 17572LD=$lt_LD 17573 17574# How to create reloadable object files. 17575reload_flag=$lt_reload_flag 17576reload_cmds=$lt_reload_cmds 17577 17578# Commands used to build an old-style archive. 17579old_archive_cmds=$lt_old_archive_cmds 17580 17581# A language specific compiler. 17582CC=$lt_compiler 17583 17584# Is the compiler the GNU compiler? 17585with_gcc=$GCC 17586 17587# Compiler flag to turn off builtin functions. 17588no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 17589 17590# Additional compiler flags for building library objects. 17591pic_flag=$lt_lt_prog_compiler_pic 17592 17593# How to pass a linker flag through the compiler. 17594wl=$lt_lt_prog_compiler_wl 17595 17596# Compiler flag to prevent dynamic linking. 17597link_static_flag=$lt_lt_prog_compiler_static 17598 17599# Does compiler simultaneously support -c and -o options? 17600compiler_c_o=$lt_lt_cv_prog_compiler_c_o 17601 17602# Whether or not to add -lc for building shared libraries. 17603build_libtool_need_lc=$archive_cmds_need_lc 17604 17605# Whether or not to disallow shared libs when runtime libs are static. 17606allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 17607 17608# Compiler flag to allow reflexive dlopens. 17609export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 17610 17611# Compiler flag to generate shared objects directly from archives. 17612whole_archive_flag_spec=$lt_whole_archive_flag_spec 17613 17614# Whether the compiler copes with passing no objects directly. 17615compiler_needs_object=$lt_compiler_needs_object 17616 17617# Create an old-style archive from a shared archive. 17618old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 17619 17620# Create a temporary old-style archive to link instead of a shared archive. 17621old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 17622 17623# Commands used to build a shared archive. 17624archive_cmds=$lt_archive_cmds 17625archive_expsym_cmds=$lt_archive_expsym_cmds 17626 17627# Commands used to build a loadable module if different from building 17628# a shared archive. 17629module_cmds=$lt_module_cmds 17630module_expsym_cmds=$lt_module_expsym_cmds 17631 17632# Whether we are building with GNU ld or not. 17633with_gnu_ld=$lt_with_gnu_ld 17634 17635# Flag that allows shared libraries with undefined symbols to be built. 17636allow_undefined_flag=$lt_allow_undefined_flag 17637 17638# Flag that enforces no undefined symbols. 17639no_undefined_flag=$lt_no_undefined_flag 17640 17641# Flag to hardcode \$libdir into a binary during linking. 17642# This must work even if \$libdir does not exist 17643hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 17644 17645# Whether we need a single "-rpath" flag with a separated argument. 17646hardcode_libdir_separator=$lt_hardcode_libdir_separator 17647 17648# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 17649# DIR into the resulting binary. 17650hardcode_direct=$hardcode_direct 17651 17652# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 17653# DIR into the resulting binary and the resulting library dependency is 17654# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 17655# library is relocated. 17656hardcode_direct_absolute=$hardcode_direct_absolute 17657 17658# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 17659# into the resulting binary. 17660hardcode_minus_L=$hardcode_minus_L 17661 17662# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 17663# into the resulting binary. 17664hardcode_shlibpath_var=$hardcode_shlibpath_var 17665 17666# Set to "yes" if building a shared library automatically hardcodes DIR 17667# into the library and all subsequent libraries and executables linked 17668# against it. 17669hardcode_automatic=$hardcode_automatic 17670 17671# Set to yes if linker adds runtime paths of dependent libraries 17672# to runtime path list. 17673inherit_rpath=$inherit_rpath 17674 17675# Whether libtool must link a program against all its dependency libraries. 17676link_all_deplibs=$link_all_deplibs 17677 17678# Set to "yes" if exported symbols are required. 17679always_export_symbols=$always_export_symbols 17680 17681# The commands to list exported symbols. 17682export_symbols_cmds=$lt_export_symbols_cmds 17683 17684# Symbols that should not be listed in the preloaded symbols. 17685exclude_expsyms=$lt_exclude_expsyms 17686 17687# Symbols that must always be exported. 17688include_expsyms=$lt_include_expsyms 17689 17690# Commands necessary for linking programs (against libraries) with templates. 17691prelink_cmds=$lt_prelink_cmds 17692 17693# Commands necessary for finishing linking programs. 17694postlink_cmds=$lt_postlink_cmds 17695 17696# Specify filename containing input files. 17697file_list_spec=$lt_file_list_spec 17698 17699# How to hardcode a shared library path into an executable. 17700hardcode_action=$hardcode_action 17701 17702# The directories searched by this compiler when creating a shared library. 17703compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 17704 17705# Dependencies to place before and after the objects being linked to 17706# create a shared library. 17707predep_objects=$lt_predep_objects 17708postdep_objects=$lt_postdep_objects 17709predeps=$lt_predeps 17710postdeps=$lt_postdeps 17711 17712# The library search path used internally by the compiler when linking 17713# a shared library. 17714compiler_lib_search_path=$lt_compiler_lib_search_path 17715 17716# ### END LIBTOOL CONFIG 17717 17718_LT_EOF 17719 17720 case $host_os in 17721 aix3*) 17722 cat <<\_LT_EOF >> "$cfgfile" 17723# AIX sometimes has problems with the GCC collect2 program. For some 17724# reason, if we set the COLLECT_NAMES environment variable, the problems 17725# vanish in a puff of smoke. 17726if test "X${COLLECT_NAMES+set}" != Xset; then 17727 COLLECT_NAMES= 17728 export COLLECT_NAMES 17729fi 17730_LT_EOF 17731 ;; 17732 esac 17733 17734 17735ltmain="$ac_aux_dir/ltmain.sh" 17736 17737 17738 # We use sed instead of cat because bash on DJGPP gets confused if 17739 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17740 # text mode, it properly converts lines to CR/LF. This bash problem 17741 # is reportedly fixed, but why not run on old versions too? 17742 sed '$q' "$ltmain" >> "$cfgfile" \ 17743 || (rm -f "$cfgfile"; exit 1) 17744 17745 if test x"$xsi_shell" = xyes; then 17746 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 17747func_dirname ()\ 17748{\ 17749\ case ${1} in\ 17750\ */*) func_dirname_result="${1%/*}${2}" ;;\ 17751\ * ) func_dirname_result="${3}" ;;\ 17752\ esac\ 17753} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 17754 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17755 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17756test 0 -eq $? || _lt_function_replace_fail=: 17757 17758 17759 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 17760func_basename ()\ 17761{\ 17762\ func_basename_result="${1##*/}"\ 17763} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 17764 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17765 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17766test 0 -eq $? || _lt_function_replace_fail=: 17767 17768 17769 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 17770func_dirname_and_basename ()\ 17771{\ 17772\ case ${1} in\ 17773\ */*) func_dirname_result="${1%/*}${2}" ;;\ 17774\ * ) func_dirname_result="${3}" ;;\ 17775\ esac\ 17776\ func_basename_result="${1##*/}"\ 17777} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 17778 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17779 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17780test 0 -eq $? || _lt_function_replace_fail=: 17781 17782 17783 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 17784func_stripname ()\ 17785{\ 17786\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 17787\ # positional parameters, so assign one to ordinary parameter first.\ 17788\ func_stripname_result=${3}\ 17789\ func_stripname_result=${func_stripname_result#"${1}"}\ 17790\ func_stripname_result=${func_stripname_result%"${2}"}\ 17791} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 17792 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17793 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17794test 0 -eq $? || _lt_function_replace_fail=: 17795 17796 17797 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 17798func_split_long_opt ()\ 17799{\ 17800\ func_split_long_opt_name=${1%%=*}\ 17801\ func_split_long_opt_arg=${1#*=}\ 17802} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 17803 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17804 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17805test 0 -eq $? || _lt_function_replace_fail=: 17806 17807 17808 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 17809func_split_short_opt ()\ 17810{\ 17811\ func_split_short_opt_arg=${1#??}\ 17812\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 17813} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 17814 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17815 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17816test 0 -eq $? || _lt_function_replace_fail=: 17817 17818 17819 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 17820func_lo2o ()\ 17821{\ 17822\ case ${1} in\ 17823\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 17824\ *) func_lo2o_result=${1} ;;\ 17825\ esac\ 17826} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 17827 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17828 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17829test 0 -eq $? || _lt_function_replace_fail=: 17830 17831 17832 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 17833func_xform ()\ 17834{\ 17835 func_xform_result=${1%.*}.lo\ 17836} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 17837 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17838 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17839test 0 -eq $? || _lt_function_replace_fail=: 17840 17841 17842 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 17843func_arith ()\ 17844{\ 17845 func_arith_result=$(( $* ))\ 17846} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 17847 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17848 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17849test 0 -eq $? || _lt_function_replace_fail=: 17850 17851 17852 sed -e '/^func_len ()$/,/^} # func_len /c\ 17853func_len ()\ 17854{\ 17855 func_len_result=${#1}\ 17856} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 17857 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17858 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17859test 0 -eq $? || _lt_function_replace_fail=: 17860 17861fi 17862 17863if test x"$lt_shell_append" = xyes; then 17864 sed -e '/^func_append ()$/,/^} # func_append /c\ 17865func_append ()\ 17866{\ 17867 eval "${1}+=\\${2}"\ 17868} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 17869 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17870 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17871test 0 -eq $? || _lt_function_replace_fail=: 17872 17873 17874 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 17875func_append_quoted ()\ 17876{\ 17877\ func_quote_for_eval "${2}"\ 17878\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 17879} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 17880 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17881 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17882test 0 -eq $? || _lt_function_replace_fail=: 17883 17884 17885 # Save a `func_append' function call where possible by direct use of '+=' 17886 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 17887 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17888 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17889 test 0 -eq $? || _lt_function_replace_fail=: 17890else 17891 # Save a `func_append' function call even when '+=' is not available 17892 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 17893 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17894 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17895 test 0 -eq $? || _lt_function_replace_fail=: 17896fi 17897 17898if test x"$_lt_function_replace_fail" = x":"; then 17899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 17900$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 17901fi 17902 17903 17904 mv -f "$cfgfile" "$ofile" || 17905 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17906 chmod +x "$ofile" 17907 17908 17909 cat <<_LT_EOF >> "$ofile" 17910 17911# ### BEGIN LIBTOOL TAG CONFIG: CXX 17912 17913# The linker used to build libraries. 17914LD=$lt_LD_CXX 17915 17916# How to create reloadable object files. 17917reload_flag=$lt_reload_flag_CXX 17918reload_cmds=$lt_reload_cmds_CXX 17919 17920# Commands used to build an old-style archive. 17921old_archive_cmds=$lt_old_archive_cmds_CXX 17922 17923# A language specific compiler. 17924CC=$lt_compiler_CXX 17925 17926# Is the compiler the GNU compiler? 17927with_gcc=$GCC_CXX 17928 17929# Compiler flag to turn off builtin functions. 17930no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 17931 17932# Additional compiler flags for building library objects. 17933pic_flag=$lt_lt_prog_compiler_pic_CXX 17934 17935# How to pass a linker flag through the compiler. 17936wl=$lt_lt_prog_compiler_wl_CXX 17937 17938# Compiler flag to prevent dynamic linking. 17939link_static_flag=$lt_lt_prog_compiler_static_CXX 17940 17941# Does compiler simultaneously support -c and -o options? 17942compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 17943 17944# Whether or not to add -lc for building shared libraries. 17945build_libtool_need_lc=$archive_cmds_need_lc_CXX 17946 17947# Whether or not to disallow shared libs when runtime libs are static. 17948allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 17949 17950# Compiler flag to allow reflexive dlopens. 17951export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 17952 17953# Compiler flag to generate shared objects directly from archives. 17954whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 17955 17956# Whether the compiler copes with passing no objects directly. 17957compiler_needs_object=$lt_compiler_needs_object_CXX 17958 17959# Create an old-style archive from a shared archive. 17960old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 17961 17962# Create a temporary old-style archive to link instead of a shared archive. 17963old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 17964 17965# Commands used to build a shared archive. 17966archive_cmds=$lt_archive_cmds_CXX 17967archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 17968 17969# Commands used to build a loadable module if different from building 17970# a shared archive. 17971module_cmds=$lt_module_cmds_CXX 17972module_expsym_cmds=$lt_module_expsym_cmds_CXX 17973 17974# Whether we are building with GNU ld or not. 17975with_gnu_ld=$lt_with_gnu_ld_CXX 17976 17977# Flag that allows shared libraries with undefined symbols to be built. 17978allow_undefined_flag=$lt_allow_undefined_flag_CXX 17979 17980# Flag that enforces no undefined symbols. 17981no_undefined_flag=$lt_no_undefined_flag_CXX 17982 17983# Flag to hardcode \$libdir into a binary during linking. 17984# This must work even if \$libdir does not exist 17985hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 17986 17987# Whether we need a single "-rpath" flag with a separated argument. 17988hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 17989 17990# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 17991# DIR into the resulting binary. 17992hardcode_direct=$hardcode_direct_CXX 17993 17994# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 17995# DIR into the resulting binary and the resulting library dependency is 17996# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 17997# library is relocated. 17998hardcode_direct_absolute=$hardcode_direct_absolute_CXX 17999 18000# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18001# into the resulting binary. 18002hardcode_minus_L=$hardcode_minus_L_CXX 18003 18004# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18005# into the resulting binary. 18006hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 18007 18008# Set to "yes" if building a shared library automatically hardcodes DIR 18009# into the library and all subsequent libraries and executables linked 18010# against it. 18011hardcode_automatic=$hardcode_automatic_CXX 18012 18013# Set to yes if linker adds runtime paths of dependent libraries 18014# to runtime path list. 18015inherit_rpath=$inherit_rpath_CXX 18016 18017# Whether libtool must link a program against all its dependency libraries. 18018link_all_deplibs=$link_all_deplibs_CXX 18019 18020# Set to "yes" if exported symbols are required. 18021always_export_symbols=$always_export_symbols_CXX 18022 18023# The commands to list exported symbols. 18024export_symbols_cmds=$lt_export_symbols_cmds_CXX 18025 18026# Symbols that should not be listed in the preloaded symbols. 18027exclude_expsyms=$lt_exclude_expsyms_CXX 18028 18029# Symbols that must always be exported. 18030include_expsyms=$lt_include_expsyms_CXX 18031 18032# Commands necessary for linking programs (against libraries) with templates. 18033prelink_cmds=$lt_prelink_cmds_CXX 18034 18035# Commands necessary for finishing linking programs. 18036postlink_cmds=$lt_postlink_cmds_CXX 18037 18038# Specify filename containing input files. 18039file_list_spec=$lt_file_list_spec_CXX 18040 18041# How to hardcode a shared library path into an executable. 18042hardcode_action=$hardcode_action_CXX 18043 18044# The directories searched by this compiler when creating a shared library. 18045compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 18046 18047# Dependencies to place before and after the objects being linked to 18048# create a shared library. 18049predep_objects=$lt_predep_objects_CXX 18050postdep_objects=$lt_postdep_objects_CXX 18051predeps=$lt_predeps_CXX 18052postdeps=$lt_postdeps_CXX 18053 18054# The library search path used internally by the compiler when linking 18055# a shared library. 18056compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 18057 18058# ### END LIBTOOL TAG CONFIG: CXX 18059_LT_EOF 18060 18061 ;; 18062 "default":C) 18063 sed s%echo_source=yes%echo_source=no%g < yazpp-config >src/yazpp-config && chmod +x yazpp-config src/yazpp-config 18064 diff doc/local.ent doc/local0.ent >/dev/null 2>/dev/null \ 18065 || cp doc/local0.ent doc/local.ent 18066 18067 ;; 18068 18069 esac 18070done # for ac_tag 18071 18072 18073as_fn_exit 0 18074_ACEOF 18075ac_clean_files=$ac_clean_files_save 18076 18077test $ac_write_fail = 0 || 18078 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18079 18080 18081# configure is writing to config.log, and then calls config.status. 18082# config.status does its own redirection, appending to config.log. 18083# Unfortunately, on DOS this fails, as config.log is still kept open 18084# by configure, so config.status won't be able to write to it; its 18085# output is simply discarded. So we exec the FD to /dev/null, 18086# effectively closing config.log, so it can be properly (re)opened and 18087# appended to by config.status. When coming back to configure, we 18088# need to make the FD available again. 18089if test "$no_create" != yes; then 18090 ac_cs_success=: 18091 ac_config_status_args= 18092 test "$silent" = yes && 18093 ac_config_status_args="$ac_config_status_args --quiet" 18094 exec 5>/dev/null 18095 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18096 exec 5>>config.log 18097 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18098 # would make configure fail if this is the last instruction. 18099 $ac_cs_success || as_fn_exit 1 18100fi 18101if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18103$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18104fi 18105 18106 18107 18108echo \ 18109"------------------------------------------------------------------------ 18110 18111 YAZPP Package: ${PACKAGE} 18112 YAZPP Version: ${VERSION} 18113 Source code location: ${srcdir} 18114 CPP Preprocessor: ${CPP} 18115 CPP Preprocessor flags: ${CPPFLAGS} 18116 CXX Compiler: ${CXX} 18117 CXX Compiler flags: ${CXXFLAGS} 18118 Linker flags: ${LDFLAGS} 18119 Linked libs: ${LIBS} 18120 Host System Type: ${host} 18121 Install path: ${prefix} 18122 Automake: ${AUTOMAKE} 18123 Archiver: ${AR} 18124 Ranlib: ${RANLIB} 18125 YAZ Version: ${YAZVERSION} 18126 YAZ Include: ${YAZINC} 18127 YAZ La Lib: ${YAZLALIB} 18128 YAZ Lib: ${YAZLIB} 18129 Bugreport: ${PACKAGE_BUGREPORT} 18130 18131------------------------------------------------------------------------" 18132