1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for VarCloud 1.0. 4# 5# Report bugs to <dfs@research.att.com>. 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 278$0: dfs@research.att.com about your system, including any 279$0: error possibly output before this message. Then install 280$0: a modern shell, or manually run the script under such a 281$0: shell if you do 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='VarCloud' 592PACKAGE_TARNAME='varcloud' 593PACKAGE_VERSION='1.0' 594PACKAGE_STRING='VarCloud 1.0' 595PACKAGE_BUGREPORT='dfs@research.att.com' 596PACKAGE_URL='' 597 598ac_unique_file="varcloud.c" 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 639OTOOL64 640OTOOL 641LIPO 642NMEDIT 643DSYMUTIL 644MANIFEST_TOOL 645RANLIB 646ac_ct_AR 647AR 648LN_S 649NM 650ac_ct_DUMPBIN 651DUMPBIN 652LD 653FGREP 654SED 655LIBTOOL 656OS_WIN32_FALSE 657OS_WIN32_TRUE 658SRC_DEBUG 659GGOBI_FLAGS 660GGOBI_LIBS 661GGOBI_CFLAGS 662PKG_CONFIG_LIBDIR 663PKG_CONFIG_PATH 664PKG_CONFIG 665OBJDUMP 666DLLTOOL 667AS 668host_os 669host_vendor 670host_cpu 671host 672build_os 673build_vendor 674build_cpu 675build 676am__fastdepCC_FALSE 677am__fastdepCC_TRUE 678CCDEPMODE 679am__nodep 680AMDEPBACKSLASH 681AMDEP_FALSE 682AMDEP_TRUE 683am__quote 684am__include 685DEPDIR 686am__untar 687am__tar 688AMTAR 689am__leading_dot 690SET_MAKE 691AWK 692mkdir_p 693MKDIR_P 694INSTALL_STRIP_PROGRAM 695STRIP 696install_sh 697MAKEINFO 698AUTOHEADER 699AUTOMAKE 700AUTOCONF 701ACLOCAL 702VERSION 703PACKAGE 704CYGPATH_W 705am__isrc 706INSTALL_DATA 707INSTALL_SCRIPT 708INSTALL_PROGRAM 709EGREP 710GREP 711CPP 712OBJEXT 713EXEEXT 714ac_ct_CC 715CPPFLAGS 716LDFLAGS 717CFLAGS 718CC 719target_alias 720host_alias 721build_alias 722LIBS 723ECHO_T 724ECHO_N 725ECHO_C 726DEFS 727mandir 728localedir 729libdir 730psdir 731pdfdir 732dvidir 733htmldir 734infodir 735docdir 736oldincludedir 737includedir 738localstatedir 739sharedstatedir 740sysconfdir 741datadir 742datarootdir 743libexecdir 744sbindir 745bindir 746program_transform_name 747prefix 748exec_prefix 749PACKAGE_URL 750PACKAGE_BUGREPORT 751PACKAGE_STRING 752PACKAGE_VERSION 753PACKAGE_TARNAME 754PACKAGE_NAME 755PATH_SEPARATOR 756SHELL' 757ac_subst_files='' 758ac_user_opts=' 759enable_option_checking 760enable_dependency_tracking 761enable_static 762enable_debug 763with_ggobi 764enable_shared 765with_pic 766enable_fast_install 767with_gnu_ld 768with_sysroot 769enable_libtool_lock 770' 771 ac_precious_vars='build_alias 772host_alias 773target_alias 774CC 775CFLAGS 776LDFLAGS 777LIBS 778CPPFLAGS 779CPP 780PKG_CONFIG 781PKG_CONFIG_PATH 782PKG_CONFIG_LIBDIR 783GGOBI_CFLAGS 784GGOBI_LIBS' 785 786 787# Initialize some variables set by options. 788ac_init_help= 789ac_init_version=false 790ac_unrecognized_opts= 791ac_unrecognized_sep= 792# The variables have the same names as the options, with 793# dashes changed to underlines. 794cache_file=/dev/null 795exec_prefix=NONE 796no_create= 797no_recursion= 798prefix=NONE 799program_prefix=NONE 800program_suffix=NONE 801program_transform_name=s,x,x, 802silent= 803site= 804srcdir= 805verbose= 806x_includes=NONE 807x_libraries=NONE 808 809# Installation directory options. 810# These are left unexpanded so users can "make install exec_prefix=/foo" 811# and all the variables that are supposed to be based on exec_prefix 812# by default will actually change. 813# Use braces instead of parens because sh, perl, etc. also accept them. 814# (The list follows the same order as the GNU Coding Standards.) 815bindir='${exec_prefix}/bin' 816sbindir='${exec_prefix}/sbin' 817libexecdir='${exec_prefix}/libexec' 818datarootdir='${prefix}/share' 819datadir='${datarootdir}' 820sysconfdir='${prefix}/etc' 821sharedstatedir='${prefix}/com' 822localstatedir='${prefix}/var' 823includedir='${prefix}/include' 824oldincludedir='/usr/include' 825docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 826infodir='${datarootdir}/info' 827htmldir='${docdir}' 828dvidir='${docdir}' 829pdfdir='${docdir}' 830psdir='${docdir}' 831libdir='${exec_prefix}/lib' 832localedir='${datarootdir}/locale' 833mandir='${datarootdir}/man' 834 835ac_prev= 836ac_dashdash= 837for ac_option 838do 839 # If the previous option needs an argument, assign it. 840 if test -n "$ac_prev"; then 841 eval $ac_prev=\$ac_option 842 ac_prev= 843 continue 844 fi 845 846 case $ac_option in 847 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 848 *=) ac_optarg= ;; 849 *) ac_optarg=yes ;; 850 esac 851 852 # Accept the important Cygnus configure options, so we can diagnose typos. 853 854 case $ac_dashdash$ac_option in 855 --) 856 ac_dashdash=yes ;; 857 858 -bindir | --bindir | --bindi | --bind | --bin | --bi) 859 ac_prev=bindir ;; 860 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 861 bindir=$ac_optarg ;; 862 863 -build | --build | --buil | --bui | --bu) 864 ac_prev=build_alias ;; 865 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 866 build_alias=$ac_optarg ;; 867 868 -cache-file | --cache-file | --cache-fil | --cache-fi \ 869 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 870 ac_prev=cache_file ;; 871 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 872 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 873 cache_file=$ac_optarg ;; 874 875 --config-cache | -C) 876 cache_file=config.cache ;; 877 878 -datadir | --datadir | --datadi | --datad) 879 ac_prev=datadir ;; 880 -datadir=* | --datadir=* | --datadi=* | --datad=*) 881 datadir=$ac_optarg ;; 882 883 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 884 | --dataroo | --dataro | --datar) 885 ac_prev=datarootdir ;; 886 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 887 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 888 datarootdir=$ac_optarg ;; 889 890 -disable-* | --disable-*) 891 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 892 # Reject names that are not valid shell variable names. 893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 894 as_fn_error $? "invalid feature name: $ac_useropt" 895 ac_useropt_orig=$ac_useropt 896 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 897 case $ac_user_opts in 898 *" 899"enable_$ac_useropt" 900"*) ;; 901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 902 ac_unrecognized_sep=', ';; 903 esac 904 eval enable_$ac_useropt=no ;; 905 906 -docdir | --docdir | --docdi | --doc | --do) 907 ac_prev=docdir ;; 908 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 909 docdir=$ac_optarg ;; 910 911 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 912 ac_prev=dvidir ;; 913 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 914 dvidir=$ac_optarg ;; 915 916 -enable-* | --enable-*) 917 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 918 # Reject names that are not valid shell variable names. 919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 920 as_fn_error $? "invalid feature name: $ac_useropt" 921 ac_useropt_orig=$ac_useropt 922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 923 case $ac_user_opts in 924 *" 925"enable_$ac_useropt" 926"*) ;; 927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 928 ac_unrecognized_sep=', ';; 929 esac 930 eval enable_$ac_useropt=\$ac_optarg ;; 931 932 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 933 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 934 | --exec | --exe | --ex) 935 ac_prev=exec_prefix ;; 936 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 937 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 938 | --exec=* | --exe=* | --ex=*) 939 exec_prefix=$ac_optarg ;; 940 941 -gas | --gas | --ga | --g) 942 # Obsolete; use --with-gas. 943 with_gas=yes ;; 944 945 -help | --help | --hel | --he | -h) 946 ac_init_help=long ;; 947 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 948 ac_init_help=recursive ;; 949 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 950 ac_init_help=short ;; 951 952 -host | --host | --hos | --ho) 953 ac_prev=host_alias ;; 954 -host=* | --host=* | --hos=* | --ho=*) 955 host_alias=$ac_optarg ;; 956 957 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 958 ac_prev=htmldir ;; 959 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 960 | --ht=*) 961 htmldir=$ac_optarg ;; 962 963 -includedir | --includedir | --includedi | --included | --include \ 964 | --includ | --inclu | --incl | --inc) 965 ac_prev=includedir ;; 966 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 967 | --includ=* | --inclu=* | --incl=* | --inc=*) 968 includedir=$ac_optarg ;; 969 970 -infodir | --infodir | --infodi | --infod | --info | --inf) 971 ac_prev=infodir ;; 972 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 973 infodir=$ac_optarg ;; 974 975 -libdir | --libdir | --libdi | --libd) 976 ac_prev=libdir ;; 977 -libdir=* | --libdir=* | --libdi=* | --libd=*) 978 libdir=$ac_optarg ;; 979 980 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 981 | --libexe | --libex | --libe) 982 ac_prev=libexecdir ;; 983 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 984 | --libexe=* | --libex=* | --libe=*) 985 libexecdir=$ac_optarg ;; 986 987 -localedir | --localedir | --localedi | --localed | --locale) 988 ac_prev=localedir ;; 989 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 990 localedir=$ac_optarg ;; 991 992 -localstatedir | --localstatedir | --localstatedi | --localstated \ 993 | --localstate | --localstat | --localsta | --localst | --locals) 994 ac_prev=localstatedir ;; 995 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 996 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 997 localstatedir=$ac_optarg ;; 998 999 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1000 ac_prev=mandir ;; 1001 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1002 mandir=$ac_optarg ;; 1003 1004 -nfp | --nfp | --nf) 1005 # Obsolete; use --without-fp. 1006 with_fp=no ;; 1007 1008 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1009 | --no-cr | --no-c | -n) 1010 no_create=yes ;; 1011 1012 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1013 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1014 no_recursion=yes ;; 1015 1016 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1017 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1018 | --oldin | --oldi | --old | --ol | --o) 1019 ac_prev=oldincludedir ;; 1020 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1021 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1022 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1023 oldincludedir=$ac_optarg ;; 1024 1025 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1026 ac_prev=prefix ;; 1027 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1028 prefix=$ac_optarg ;; 1029 1030 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1031 | --program-pre | --program-pr | --program-p) 1032 ac_prev=program_prefix ;; 1033 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1034 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1035 program_prefix=$ac_optarg ;; 1036 1037 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1038 | --program-suf | --program-su | --program-s) 1039 ac_prev=program_suffix ;; 1040 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1041 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1042 program_suffix=$ac_optarg ;; 1043 1044 -program-transform-name | --program-transform-name \ 1045 | --program-transform-nam | --program-transform-na \ 1046 | --program-transform-n | --program-transform- \ 1047 | --program-transform | --program-transfor \ 1048 | --program-transfo | --program-transf \ 1049 | --program-trans | --program-tran \ 1050 | --progr-tra | --program-tr | --program-t) 1051 ac_prev=program_transform_name ;; 1052 -program-transform-name=* | --program-transform-name=* \ 1053 | --program-transform-nam=* | --program-transform-na=* \ 1054 | --program-transform-n=* | --program-transform-=* \ 1055 | --program-transform=* | --program-transfor=* \ 1056 | --program-transfo=* | --program-transf=* \ 1057 | --program-trans=* | --program-tran=* \ 1058 | --progr-tra=* | --program-tr=* | --program-t=*) 1059 program_transform_name=$ac_optarg ;; 1060 1061 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1062 ac_prev=pdfdir ;; 1063 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1064 pdfdir=$ac_optarg ;; 1065 1066 -psdir | --psdir | --psdi | --psd | --ps) 1067 ac_prev=psdir ;; 1068 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1069 psdir=$ac_optarg ;; 1070 1071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1072 | -silent | --silent | --silen | --sile | --sil) 1073 silent=yes ;; 1074 1075 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1076 ac_prev=sbindir ;; 1077 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1078 | --sbi=* | --sb=*) 1079 sbindir=$ac_optarg ;; 1080 1081 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1082 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1083 | --sharedst | --shareds | --shared | --share | --shar \ 1084 | --sha | --sh) 1085 ac_prev=sharedstatedir ;; 1086 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1087 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1088 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1089 | --sha=* | --sh=*) 1090 sharedstatedir=$ac_optarg ;; 1091 1092 -site | --site | --sit) 1093 ac_prev=site ;; 1094 -site=* | --site=* | --sit=*) 1095 site=$ac_optarg ;; 1096 1097 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1098 ac_prev=srcdir ;; 1099 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1100 srcdir=$ac_optarg ;; 1101 1102 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1103 | --syscon | --sysco | --sysc | --sys | --sy) 1104 ac_prev=sysconfdir ;; 1105 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1106 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1107 sysconfdir=$ac_optarg ;; 1108 1109 -target | --target | --targe | --targ | --tar | --ta | --t) 1110 ac_prev=target_alias ;; 1111 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1112 target_alias=$ac_optarg ;; 1113 1114 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1115 verbose=yes ;; 1116 1117 -version | --version | --versio | --versi | --vers | -V) 1118 ac_init_version=: ;; 1119 1120 -with-* | --with-*) 1121 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1122 # Reject names that are not valid shell variable names. 1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1124 as_fn_error $? "invalid package name: $ac_useropt" 1125 ac_useropt_orig=$ac_useropt 1126 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1127 case $ac_user_opts in 1128 *" 1129"with_$ac_useropt" 1130"*) ;; 1131 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1132 ac_unrecognized_sep=', ';; 1133 esac 1134 eval with_$ac_useropt=\$ac_optarg ;; 1135 1136 -without-* | --without-*) 1137 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1138 # Reject names that are not valid shell variable names. 1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1140 as_fn_error $? "invalid package name: $ac_useropt" 1141 ac_useropt_orig=$ac_useropt 1142 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1143 case $ac_user_opts in 1144 *" 1145"with_$ac_useropt" 1146"*) ;; 1147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1148 ac_unrecognized_sep=', ';; 1149 esac 1150 eval with_$ac_useropt=no ;; 1151 1152 --x) 1153 # Obsolete; use --with-x. 1154 with_x=yes ;; 1155 1156 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1157 | --x-incl | --x-inc | --x-in | --x-i) 1158 ac_prev=x_includes ;; 1159 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1160 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1161 x_includes=$ac_optarg ;; 1162 1163 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1164 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1165 ac_prev=x_libraries ;; 1166 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1167 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1168 x_libraries=$ac_optarg ;; 1169 1170 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1171Try \`$0 --help' for more information" 1172 ;; 1173 1174 *=*) 1175 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1176 # Reject names that are not valid shell variable names. 1177 case $ac_envvar in #( 1178 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1179 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1180 esac 1181 eval $ac_envvar=\$ac_optarg 1182 export $ac_envvar ;; 1183 1184 *) 1185 # FIXME: should be removed in autoconf 3.0. 1186 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1188 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1189 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1190 ;; 1191 1192 esac 1193done 1194 1195if test -n "$ac_prev"; then 1196 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1197 as_fn_error $? "missing argument to $ac_option" 1198fi 1199 1200if test -n "$ac_unrecognized_opts"; then 1201 case $enable_option_checking in 1202 no) ;; 1203 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1204 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1205 esac 1206fi 1207 1208# Check all directory arguments for consistency. 1209for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1210 datadir sysconfdir sharedstatedir localstatedir includedir \ 1211 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1212 libdir localedir mandir 1213do 1214 eval ac_val=\$$ac_var 1215 # Remove trailing slashes. 1216 case $ac_val in 1217 */ ) 1218 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1219 eval $ac_var=\$ac_val;; 1220 esac 1221 # Be sure to have absolute directory names. 1222 case $ac_val in 1223 [\\/$]* | ?:[\\/]* ) continue;; 1224 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1225 esac 1226 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1227done 1228 1229# There might be people who depend on the old broken behavior: `$host' 1230# used to hold the argument of --host etc. 1231# FIXME: To remove some day. 1232build=$build_alias 1233host=$host_alias 1234target=$target_alias 1235 1236# FIXME: To remove some day. 1237if test "x$host_alias" != x; then 1238 if test "x$build_alias" = x; then 1239 cross_compiling=maybe 1240 elif test "x$build_alias" != "x$host_alias"; then 1241 cross_compiling=yes 1242 fi 1243fi 1244 1245ac_tool_prefix= 1246test -n "$host_alias" && ac_tool_prefix=$host_alias- 1247 1248test "$silent" = yes && exec 6>/dev/null 1249 1250 1251ac_pwd=`pwd` && test -n "$ac_pwd" && 1252ac_ls_di=`ls -di .` && 1253ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1254 as_fn_error $? "working directory cannot be determined" 1255test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1256 as_fn_error $? "pwd does not report name of working directory" 1257 1258 1259# Find the source files, if location was not specified. 1260if test -z "$srcdir"; then 1261 ac_srcdir_defaulted=yes 1262 # Try the directory containing this script, then the parent directory. 1263 ac_confdir=`$as_dirname -- "$as_myself" || 1264$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1265 X"$as_myself" : 'X\(//\)[^/]' \| \ 1266 X"$as_myself" : 'X\(//\)$' \| \ 1267 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1268$as_echo X"$as_myself" | 1269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1270 s//\1/ 1271 q 1272 } 1273 /^X\(\/\/\)[^/].*/{ 1274 s//\1/ 1275 q 1276 } 1277 /^X\(\/\/\)$/{ 1278 s//\1/ 1279 q 1280 } 1281 /^X\(\/\).*/{ 1282 s//\1/ 1283 q 1284 } 1285 s/.*/./; q'` 1286 srcdir=$ac_confdir 1287 if test ! -r "$srcdir/$ac_unique_file"; then 1288 srcdir=.. 1289 fi 1290else 1291 ac_srcdir_defaulted=no 1292fi 1293if test ! -r "$srcdir/$ac_unique_file"; then 1294 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1295 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1296fi 1297ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1298ac_abs_confdir=`( 1299 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1300 pwd)` 1301# When building in place, set srcdir=. 1302if test "$ac_abs_confdir" = "$ac_pwd"; then 1303 srcdir=. 1304fi 1305# Remove unnecessary trailing slashes from srcdir. 1306# Double slashes in file names in object file debugging info 1307# mess up M-x gdb in Emacs. 1308case $srcdir in 1309*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1310esac 1311for ac_var in $ac_precious_vars; do 1312 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1313 eval ac_env_${ac_var}_value=\$${ac_var} 1314 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1315 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1316done 1317 1318# 1319# Report the --help message. 1320# 1321if test "$ac_init_help" = "long"; then 1322 # Omit some internal or obsolete options to make the list less imposing. 1323 # This message is too long to be a string in the A/UX 3.1 sh. 1324 cat <<_ACEOF 1325\`configure' configures VarCloud 1.0 to adapt to many kinds of systems. 1326 1327Usage: $0 [OPTION]... [VAR=VALUE]... 1328 1329To assign environment variables (e.g., CC, CFLAGS...), specify them as 1330VAR=VALUE. See below for descriptions of some of the useful variables. 1331 1332Defaults for the options are specified in brackets. 1333 1334Configuration: 1335 -h, --help display this help and exit 1336 --help=short display options specific to this package 1337 --help=recursive display the short help of all the included packages 1338 -V, --version display version information and exit 1339 -q, --quiet, --silent do not print \`checking ...' messages 1340 --cache-file=FILE cache test results in FILE [disabled] 1341 -C, --config-cache alias for \`--cache-file=config.cache' 1342 -n, --no-create do not create output files 1343 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1344 1345Installation directories: 1346 --prefix=PREFIX install architecture-independent files in PREFIX 1347 [$ac_default_prefix] 1348 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1349 [PREFIX] 1350 1351By default, \`make install' will install all the files in 1352\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1353an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1354for instance \`--prefix=\$HOME'. 1355 1356For better control, use the options below. 1357 1358Fine tuning of the installation directories: 1359 --bindir=DIR user executables [EPREFIX/bin] 1360 --sbindir=DIR system admin executables [EPREFIX/sbin] 1361 --libexecdir=DIR program executables [EPREFIX/libexec] 1362 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1363 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1364 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1365 --libdir=DIR object code libraries [EPREFIX/lib] 1366 --includedir=DIR C header files [PREFIX/include] 1367 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1368 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1369 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1370 --infodir=DIR info documentation [DATAROOTDIR/info] 1371 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1372 --mandir=DIR man documentation [DATAROOTDIR/man] 1373 --docdir=DIR documentation root [DATAROOTDIR/doc/varcloud] 1374 --htmldir=DIR html documentation [DOCDIR] 1375 --dvidir=DIR dvi documentation [DOCDIR] 1376 --pdfdir=DIR pdf documentation [DOCDIR] 1377 --psdir=DIR ps documentation [DOCDIR] 1378_ACEOF 1379 1380 cat <<\_ACEOF 1381 1382Program names: 1383 --program-prefix=PREFIX prepend PREFIX to installed program names 1384 --program-suffix=SUFFIX append SUFFIX to installed program names 1385 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1386 1387System types: 1388 --build=BUILD configure for building on BUILD [guessed] 1389 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1390_ACEOF 1391fi 1392 1393if test -n "$ac_init_help"; then 1394 case $ac_init_help in 1395 short | recursive ) echo "Configuration of VarCloud 1.0:";; 1396 esac 1397 cat <<\_ACEOF 1398 1399Optional Features: 1400 --disable-option-checking ignore unrecognized --enable/--with options 1401 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1402 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1403 --disable-dependency-tracking speeds up one-time build 1404 --enable-dependency-tracking do not reject slow dependency extractors 1405 --enable-static[=PKGS] build static libraries [default=no] 1406--enable-debug Compile with debugging symbols 1407 --enable-shared[=PKGS] build shared libraries [default=yes] 1408 --enable-fast-install[=PKGS] 1409 optimize for fast installation [default=yes] 1410 --disable-libtool-lock avoid locking (might break parallel builds) 1411 1412Optional Packages: 1413 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1414 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1415--with-ggobi Compile plugin against the GGobi in a specified directory 1416 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1417 both] 1418 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1419 --with-sysroot=DIR Search for dependent libraries within DIR 1420 (or the compiler's sysroot if not specified). 1421 1422Some influential environment variables: 1423 CC C compiler command 1424 CFLAGS C compiler flags 1425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1426 nonstandard directory <lib dir> 1427 LIBS libraries to pass to the linker, e.g. -l<library> 1428 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1429 you have headers in a nonstandard directory <include dir> 1430 CPP C preprocessor 1431 PKG_CONFIG path to pkg-config utility 1432 PKG_CONFIG_PATH 1433 directories to add to pkg-config's search path 1434 PKG_CONFIG_LIBDIR 1435 path overriding pkg-config's built-in search path 1436 GGOBI_CFLAGS 1437 C compiler flags for GGOBI, overriding pkg-config 1438 GGOBI_LIBS linker flags for GGOBI, overriding pkg-config 1439 1440Use these variables to override the choices made by `configure' or to help 1441it to find libraries and programs with nonstandard names/locations. 1442 1443Report bugs to <dfs@research.att.com>. 1444_ACEOF 1445ac_status=$? 1446fi 1447 1448if test "$ac_init_help" = "recursive"; then 1449 # If there are subdirs, report their specific --help. 1450 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1451 test -d "$ac_dir" || 1452 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1453 continue 1454 ac_builddir=. 1455 1456case "$ac_dir" in 1457.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1458*) 1459 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1460 # A ".." for each directory in $ac_dir_suffix. 1461 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1462 case $ac_top_builddir_sub in 1463 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1464 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1465 esac ;; 1466esac 1467ac_abs_top_builddir=$ac_pwd 1468ac_abs_builddir=$ac_pwd$ac_dir_suffix 1469# for backward compatibility: 1470ac_top_builddir=$ac_top_build_prefix 1471 1472case $srcdir in 1473 .) # We are building in place. 1474 ac_srcdir=. 1475 ac_top_srcdir=$ac_top_builddir_sub 1476 ac_abs_top_srcdir=$ac_pwd ;; 1477 [\\/]* | ?:[\\/]* ) # Absolute name. 1478 ac_srcdir=$srcdir$ac_dir_suffix; 1479 ac_top_srcdir=$srcdir 1480 ac_abs_top_srcdir=$srcdir ;; 1481 *) # Relative name. 1482 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1483 ac_top_srcdir=$ac_top_build_prefix$srcdir 1484 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1485esac 1486ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1487 1488 cd "$ac_dir" || { ac_status=$?; continue; } 1489 # Check for guested configure. 1490 if test -f "$ac_srcdir/configure.gnu"; then 1491 echo && 1492 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1493 elif test -f "$ac_srcdir/configure"; then 1494 echo && 1495 $SHELL "$ac_srcdir/configure" --help=recursive 1496 else 1497 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1498 fi || ac_status=$? 1499 cd "$ac_pwd" || { ac_status=$?; break; } 1500 done 1501fi 1502 1503test -n "$ac_init_help" && exit $ac_status 1504if $ac_init_version; then 1505 cat <<\_ACEOF 1506VarCloud configure 1.0 1507generated by GNU Autoconf 2.69 1508 1509Copyright (C) 2012 Free Software Foundation, Inc. 1510This configure script is free software; the Free Software Foundation 1511gives unlimited permission to copy, distribute and modify it. 1512_ACEOF 1513 exit 1514fi 1515 1516## ------------------------ ## 1517## Autoconf initialization. ## 1518## ------------------------ ## 1519 1520# ac_fn_c_try_compile LINENO 1521# -------------------------- 1522# Try to compile conftest.$ac_ext, and return whether this succeeded. 1523ac_fn_c_try_compile () 1524{ 1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1526 rm -f conftest.$ac_objext 1527 if { { ac_try="$ac_compile" 1528case "(($ac_try" in 1529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1530 *) ac_try_echo=$ac_try;; 1531esac 1532eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1533$as_echo "$ac_try_echo"; } >&5 1534 (eval "$ac_compile") 2>conftest.err 1535 ac_status=$? 1536 if test -s conftest.err; then 1537 grep -v '^ *+' conftest.err >conftest.er1 1538 cat conftest.er1 >&5 1539 mv -f conftest.er1 conftest.err 1540 fi 1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1542 test $ac_status = 0; } && { 1543 test -z "$ac_c_werror_flag" || 1544 test ! -s conftest.err 1545 } && test -s conftest.$ac_objext; then : 1546 ac_retval=0 1547else 1548 $as_echo "$as_me: failed program was:" >&5 1549sed 's/^/| /' conftest.$ac_ext >&5 1550 1551 ac_retval=1 1552fi 1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1554 as_fn_set_status $ac_retval 1555 1556} # ac_fn_c_try_compile 1557 1558# ac_fn_c_try_cpp LINENO 1559# ---------------------- 1560# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1561ac_fn_c_try_cpp () 1562{ 1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1564 if { { ac_try="$ac_cpp conftest.$ac_ext" 1565case "(($ac_try" in 1566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1567 *) ac_try_echo=$ac_try;; 1568esac 1569eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1570$as_echo "$ac_try_echo"; } >&5 1571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1572 ac_status=$? 1573 if test -s conftest.err; then 1574 grep -v '^ *+' conftest.err >conftest.er1 1575 cat conftest.er1 >&5 1576 mv -f conftest.er1 conftest.err 1577 fi 1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1579 test $ac_status = 0; } > conftest.i && { 1580 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1581 test ! -s conftest.err 1582 }; then : 1583 ac_retval=0 1584else 1585 $as_echo "$as_me: failed program was:" >&5 1586sed 's/^/| /' conftest.$ac_ext >&5 1587 1588 ac_retval=1 1589fi 1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1591 as_fn_set_status $ac_retval 1592 1593} # ac_fn_c_try_cpp 1594 1595# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1596# ------------------------------------------------------- 1597# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1598# the include files in INCLUDES and setting the cache variable VAR 1599# accordingly. 1600ac_fn_c_check_header_mongrel () 1601{ 1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1603 if eval \${$3+:} false; then : 1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1605$as_echo_n "checking for $2... " >&6; } 1606if eval \${$3+:} false; then : 1607 $as_echo_n "(cached) " >&6 1608fi 1609eval ac_res=\$$3 1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1611$as_echo "$ac_res" >&6; } 1612else 1613 # Is the header compilable? 1614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1615$as_echo_n "checking $2 usability... " >&6; } 1616cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1617/* end confdefs.h. */ 1618$4 1619#include <$2> 1620_ACEOF 1621if ac_fn_c_try_compile "$LINENO"; then : 1622 ac_header_compiler=yes 1623else 1624 ac_header_compiler=no 1625fi 1626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1628$as_echo "$ac_header_compiler" >&6; } 1629 1630# Is the header present? 1631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1632$as_echo_n "checking $2 presence... " >&6; } 1633cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1634/* end confdefs.h. */ 1635#include <$2> 1636_ACEOF 1637if ac_fn_c_try_cpp "$LINENO"; then : 1638 ac_header_preproc=yes 1639else 1640 ac_header_preproc=no 1641fi 1642rm -f conftest.err conftest.i conftest.$ac_ext 1643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1644$as_echo "$ac_header_preproc" >&6; } 1645 1646# So? What about this header? 1647case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1648 yes:no: ) 1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1650$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1652$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1653 ;; 1654 no:yes:* ) 1655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1656$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1658$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1660$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1662$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1664$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1665( $as_echo "## ----------------------------------- ## 1666## Report this to dfs@research.att.com ## 1667## ----------------------------------- ##" 1668 ) | sed "s/^/$as_me: WARNING: /" >&2 1669 ;; 1670esac 1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1672$as_echo_n "checking for $2... " >&6; } 1673if eval \${$3+:} false; then : 1674 $as_echo_n "(cached) " >&6 1675else 1676 eval "$3=\$ac_header_compiler" 1677fi 1678eval ac_res=\$$3 1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1680$as_echo "$ac_res" >&6; } 1681fi 1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1683 1684} # ac_fn_c_check_header_mongrel 1685 1686# ac_fn_c_try_run LINENO 1687# ---------------------- 1688# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1689# that executables *can* be run. 1690ac_fn_c_try_run () 1691{ 1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1693 if { { ac_try="$ac_link" 1694case "(($ac_try" in 1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1696 *) ac_try_echo=$ac_try;; 1697esac 1698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1699$as_echo "$ac_try_echo"; } >&5 1700 (eval "$ac_link") 2>&5 1701 ac_status=$? 1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1703 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1704 { { case "(($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_try") 2>&5 1711 ac_status=$? 1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1713 test $ac_status = 0; }; }; then : 1714 ac_retval=0 1715else 1716 $as_echo "$as_me: program exited with status $ac_status" >&5 1717 $as_echo "$as_me: failed program was:" >&5 1718sed 's/^/| /' conftest.$ac_ext >&5 1719 1720 ac_retval=$ac_status 1721fi 1722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1724 as_fn_set_status $ac_retval 1725 1726} # ac_fn_c_try_run 1727 1728# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1729# ------------------------------------------------------- 1730# Tests whether HEADER exists and can be compiled using the include files in 1731# INCLUDES, setting the cache variable VAR accordingly. 1732ac_fn_c_check_header_compile () 1733{ 1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1736$as_echo_n "checking for $2... " >&6; } 1737if eval \${$3+:} false; then : 1738 $as_echo_n "(cached) " >&6 1739else 1740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1741/* end confdefs.h. */ 1742$4 1743#include <$2> 1744_ACEOF 1745if ac_fn_c_try_compile "$LINENO"; then : 1746 eval "$3=yes" 1747else 1748 eval "$3=no" 1749fi 1750rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1751fi 1752eval ac_res=\$$3 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1754$as_echo "$ac_res" >&6; } 1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1756 1757} # ac_fn_c_check_header_compile 1758 1759# ac_fn_c_try_link LINENO 1760# ----------------------- 1761# Try to link conftest.$ac_ext, and return whether this succeeded. 1762ac_fn_c_try_link () 1763{ 1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1765 rm -f conftest.$ac_objext conftest$ac_exeext 1766 if { { ac_try="$ac_link" 1767case "(($ac_try" in 1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1769 *) ac_try_echo=$ac_try;; 1770esac 1771eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1772$as_echo "$ac_try_echo"; } >&5 1773 (eval "$ac_link") 2>conftest.err 1774 ac_status=$? 1775 if test -s conftest.err; then 1776 grep -v '^ *+' conftest.err >conftest.er1 1777 cat conftest.er1 >&5 1778 mv -f conftest.er1 conftest.err 1779 fi 1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1781 test $ac_status = 0; } && { 1782 test -z "$ac_c_werror_flag" || 1783 test ! -s conftest.err 1784 } && test -s conftest$ac_exeext && { 1785 test "$cross_compiling" = yes || 1786 test -x conftest$ac_exeext 1787 }; then : 1788 ac_retval=0 1789else 1790 $as_echo "$as_me: failed program was:" >&5 1791sed 's/^/| /' conftest.$ac_ext >&5 1792 1793 ac_retval=1 1794fi 1795 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1796 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1797 # interfere with the next link command; also delete a directory that is 1798 # left behind by Apple's compiler. We do this before executing the actions. 1799 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1801 as_fn_set_status $ac_retval 1802 1803} # ac_fn_c_try_link 1804 1805# ac_fn_c_check_func LINENO FUNC VAR 1806# ---------------------------------- 1807# Tests whether FUNC exists, setting the cache variable VAR accordingly 1808ac_fn_c_check_func () 1809{ 1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1812$as_echo_n "checking for $2... " >&6; } 1813if eval \${$3+:} false; then : 1814 $as_echo_n "(cached) " >&6 1815else 1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1817/* end confdefs.h. */ 1818/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1819 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1820#define $2 innocuous_$2 1821 1822/* System header to define __stub macros and hopefully few prototypes, 1823 which can conflict with char $2 (); below. 1824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1825 <limits.h> exists even on freestanding compilers. */ 1826 1827#ifdef __STDC__ 1828# include <limits.h> 1829#else 1830# include <assert.h> 1831#endif 1832 1833#undef $2 1834 1835/* Override any GCC internal prototype to avoid an error. 1836 Use char because int might match the return type of a GCC 1837 builtin and then its argument prototype would still apply. */ 1838#ifdef __cplusplus 1839extern "C" 1840#endif 1841char $2 (); 1842/* The GNU C library defines this for functions which it implements 1843 to always fail with ENOSYS. Some functions are actually named 1844 something starting with __ and the normal name is an alias. */ 1845#if defined __stub_$2 || defined __stub___$2 1846choke me 1847#endif 1848 1849int 1850main () 1851{ 1852return $2 (); 1853 ; 1854 return 0; 1855} 1856_ACEOF 1857if ac_fn_c_try_link "$LINENO"; then : 1858 eval "$3=yes" 1859else 1860 eval "$3=no" 1861fi 1862rm -f core conftest.err conftest.$ac_objext \ 1863 conftest$ac_exeext conftest.$ac_ext 1864fi 1865eval ac_res=\$$3 1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1867$as_echo "$ac_res" >&6; } 1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1869 1870} # ac_fn_c_check_func 1871 1872# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1873# ------------------------------------------- 1874# Tests whether TYPE exists after having included INCLUDES, setting cache 1875# variable VAR accordingly. 1876ac_fn_c_check_type () 1877{ 1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1880$as_echo_n "checking for $2... " >&6; } 1881if eval \${$3+:} false; then : 1882 $as_echo_n "(cached) " >&6 1883else 1884 eval "$3=no" 1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1886/* end confdefs.h. */ 1887$4 1888int 1889main () 1890{ 1891if (sizeof ($2)) 1892 return 0; 1893 ; 1894 return 0; 1895} 1896_ACEOF 1897if ac_fn_c_try_compile "$LINENO"; then : 1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1899/* end confdefs.h. */ 1900$4 1901int 1902main () 1903{ 1904if (sizeof (($2))) 1905 return 0; 1906 ; 1907 return 0; 1908} 1909_ACEOF 1910if ac_fn_c_try_compile "$LINENO"; then : 1911 1912else 1913 eval "$3=yes" 1914fi 1915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1916fi 1917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1918fi 1919eval ac_res=\$$3 1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1921$as_echo "$ac_res" >&6; } 1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1923 1924} # ac_fn_c_check_type 1925cat >config.log <<_ACEOF 1926This file contains any messages produced by compilers while 1927running configure, to aid debugging if configure makes a mistake. 1928 1929It was created by VarCloud $as_me 1.0, which was 1930generated by GNU Autoconf 2.69. Invocation command line was 1931 1932 $ $0 $@ 1933 1934_ACEOF 1935exec 5>>config.log 1936{ 1937cat <<_ASUNAME 1938## --------- ## 1939## Platform. ## 1940## --------- ## 1941 1942hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1943uname -m = `(uname -m) 2>/dev/null || echo unknown` 1944uname -r = `(uname -r) 2>/dev/null || echo unknown` 1945uname -s = `(uname -s) 2>/dev/null || echo unknown` 1946uname -v = `(uname -v) 2>/dev/null || echo unknown` 1947 1948/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1949/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1950 1951/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1952/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1953/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1954/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1955/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1956/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1957/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1958 1959_ASUNAME 1960 1961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1962for as_dir in $PATH 1963do 1964 IFS=$as_save_IFS 1965 test -z "$as_dir" && as_dir=. 1966 $as_echo "PATH: $as_dir" 1967 done 1968IFS=$as_save_IFS 1969 1970} >&5 1971 1972cat >&5 <<_ACEOF 1973 1974 1975## ----------- ## 1976## Core tests. ## 1977## ----------- ## 1978 1979_ACEOF 1980 1981 1982# Keep a trace of the command line. 1983# Strip out --no-create and --no-recursion so they do not pile up. 1984# Strip out --silent because we don't want to record it for future runs. 1985# Also quote any args containing shell meta-characters. 1986# Make two passes to allow for proper duplicate-argument suppression. 1987ac_configure_args= 1988ac_configure_args0= 1989ac_configure_args1= 1990ac_must_keep_next=false 1991for ac_pass in 1 2 1992do 1993 for ac_arg 1994 do 1995 case $ac_arg in 1996 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1997 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1998 | -silent | --silent | --silen | --sile | --sil) 1999 continue ;; 2000 *\'*) 2001 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2002 esac 2003 case $ac_pass in 2004 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2005 2) 2006 as_fn_append ac_configure_args1 " '$ac_arg'" 2007 if test $ac_must_keep_next = true; then 2008 ac_must_keep_next=false # Got value, back to normal. 2009 else 2010 case $ac_arg in 2011 *=* | --config-cache | -C | -disable-* | --disable-* \ 2012 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2013 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2014 | -with-* | --with-* | -without-* | --without-* | --x) 2015 case "$ac_configure_args0 " in 2016 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2017 esac 2018 ;; 2019 -* ) ac_must_keep_next=true ;; 2020 esac 2021 fi 2022 as_fn_append ac_configure_args " '$ac_arg'" 2023 ;; 2024 esac 2025 done 2026done 2027{ ac_configure_args0=; unset ac_configure_args0;} 2028{ ac_configure_args1=; unset ac_configure_args1;} 2029 2030# When interrupted or exit'd, cleanup temporary files, and complete 2031# config.log. We remove comments because anyway the quotes in there 2032# would cause problems or look ugly. 2033# WARNING: Use '\'' to represent an apostrophe within the trap. 2034# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2035trap 'exit_status=$? 2036 # Save into config.log some information that might help in debugging. 2037 { 2038 echo 2039 2040 $as_echo "## ---------------- ## 2041## Cache variables. ## 2042## ---------------- ##" 2043 echo 2044 # The following way of writing the cache mishandles newlines in values, 2045( 2046 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2047 eval ac_val=\$$ac_var 2048 case $ac_val in #( 2049 *${as_nl}*) 2050 case $ac_var in #( 2051 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2052$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2053 esac 2054 case $ac_var in #( 2055 _ | IFS | as_nl) ;; #( 2056 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2057 *) { eval $ac_var=; unset $ac_var;} ;; 2058 esac ;; 2059 esac 2060 done 2061 (set) 2>&1 | 2062 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2063 *${as_nl}ac_space=\ *) 2064 sed -n \ 2065 "s/'\''/'\''\\\\'\'''\''/g; 2066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2067 ;; #( 2068 *) 2069 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2070 ;; 2071 esac | 2072 sort 2073) 2074 echo 2075 2076 $as_echo "## ----------------- ## 2077## Output variables. ## 2078## ----------------- ##" 2079 echo 2080 for ac_var in $ac_subst_vars 2081 do 2082 eval ac_val=\$$ac_var 2083 case $ac_val in 2084 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2085 esac 2086 $as_echo "$ac_var='\''$ac_val'\''" 2087 done | sort 2088 echo 2089 2090 if test -n "$ac_subst_files"; then 2091 $as_echo "## ------------------- ## 2092## File substitutions. ## 2093## ------------------- ##" 2094 echo 2095 for ac_var in $ac_subst_files 2096 do 2097 eval ac_val=\$$ac_var 2098 case $ac_val in 2099 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2100 esac 2101 $as_echo "$ac_var='\''$ac_val'\''" 2102 done | sort 2103 echo 2104 fi 2105 2106 if test -s confdefs.h; then 2107 $as_echo "## ----------- ## 2108## confdefs.h. ## 2109## ----------- ##" 2110 echo 2111 cat confdefs.h 2112 echo 2113 fi 2114 test "$ac_signal" != 0 && 2115 $as_echo "$as_me: caught signal $ac_signal" 2116 $as_echo "$as_me: exit $exit_status" 2117 } >&5 2118 rm -f core *.core core.conftest.* && 2119 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2120 exit $exit_status 2121' 0 2122for ac_signal in 1 2 13 15; do 2123 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2124done 2125ac_signal=0 2126 2127# confdefs.h avoids OS command line length limits that DEFS can exceed. 2128rm -f -r conftest* confdefs.h 2129 2130$as_echo "/* confdefs.h */" > confdefs.h 2131 2132# Predefined preprocessor variables. 2133 2134cat >>confdefs.h <<_ACEOF 2135#define PACKAGE_NAME "$PACKAGE_NAME" 2136_ACEOF 2137 2138cat >>confdefs.h <<_ACEOF 2139#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2140_ACEOF 2141 2142cat >>confdefs.h <<_ACEOF 2143#define PACKAGE_VERSION "$PACKAGE_VERSION" 2144_ACEOF 2145 2146cat >>confdefs.h <<_ACEOF 2147#define PACKAGE_STRING "$PACKAGE_STRING" 2148_ACEOF 2149 2150cat >>confdefs.h <<_ACEOF 2151#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2152_ACEOF 2153 2154cat >>confdefs.h <<_ACEOF 2155#define PACKAGE_URL "$PACKAGE_URL" 2156_ACEOF 2157 2158 2159# Let the site file select an alternate cache file if it wants to. 2160# Prefer an explicitly selected file to automatically selected ones. 2161ac_site_file1=NONE 2162ac_site_file2=NONE 2163if test -n "$CONFIG_SITE"; then 2164 # We do not want a PATH search for config.site. 2165 case $CONFIG_SITE in #(( 2166 -*) ac_site_file1=./$CONFIG_SITE;; 2167 */*) ac_site_file1=$CONFIG_SITE;; 2168 *) ac_site_file1=./$CONFIG_SITE;; 2169 esac 2170elif test "x$prefix" != xNONE; then 2171 ac_site_file1=$prefix/share/config.site 2172 ac_site_file2=$prefix/etc/config.site 2173else 2174 ac_site_file1=$ac_default_prefix/share/config.site 2175 ac_site_file2=$ac_default_prefix/etc/config.site 2176fi 2177for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2178do 2179 test "x$ac_site_file" = xNONE && continue 2180 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2181 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2182$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2183 sed 's/^/| /' "$ac_site_file" >&5 2184 . "$ac_site_file" \ 2185 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2187as_fn_error $? "failed to load site script $ac_site_file 2188See \`config.log' for more details" "$LINENO" 5; } 2189 fi 2190done 2191 2192if test -r "$cache_file"; then 2193 # Some versions of bash will fail to source /dev/null (special files 2194 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2195 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2196 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2197$as_echo "$as_me: loading cache $cache_file" >&6;} 2198 case $cache_file in 2199 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2200 *) . "./$cache_file";; 2201 esac 2202 fi 2203else 2204 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2205$as_echo "$as_me: creating cache $cache_file" >&6;} 2206 >$cache_file 2207fi 2208 2209# Check that the precious variables saved in the cache have kept the same 2210# value. 2211ac_cache_corrupted=false 2212for ac_var in $ac_precious_vars; do 2213 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2214 eval ac_new_set=\$ac_env_${ac_var}_set 2215 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2216 eval ac_new_val=\$ac_env_${ac_var}_value 2217 case $ac_old_set,$ac_new_set in 2218 set,) 2219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2220$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2221 ac_cache_corrupted=: ;; 2222 ,set) 2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2224$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2225 ac_cache_corrupted=: ;; 2226 ,);; 2227 *) 2228 if test "x$ac_old_val" != "x$ac_new_val"; then 2229 # differences in whitespace do not lead to failure. 2230 ac_old_val_w=`echo x $ac_old_val` 2231 ac_new_val_w=`echo x $ac_new_val` 2232 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2234$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2235 ac_cache_corrupted=: 2236 else 2237 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2238$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2239 eval $ac_var=\$ac_old_val 2240 fi 2241 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2242$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2243 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2244$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2245 fi;; 2246 esac 2247 # Pass precious variables to config.status. 2248 if test "$ac_new_set" = set; then 2249 case $ac_new_val in 2250 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2251 *) ac_arg=$ac_var=$ac_new_val ;; 2252 esac 2253 case " $ac_configure_args " in 2254 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2255 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2256 esac 2257 fi 2258done 2259if $ac_cache_corrupted; then 2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2261$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2263$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2264 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2265fi 2266## -------------------- ## 2267## Main body of script. ## 2268## -------------------- ## 2269 2270ac_ext=c 2271ac_cpp='$CPP $CPPFLAGS' 2272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2274ac_compiler_gnu=$ac_cv_c_compiler_gnu 2275 2276 2277 2278# Point autoconf to a particular source file. 2279 2280 2281# Put all the extra scripts and stuff in the current directory 2282ac_aux_dir= 2283for ac_dir in . "$srcdir"/.; do 2284 if test -f "$ac_dir/install-sh"; then 2285 ac_aux_dir=$ac_dir 2286 ac_install_sh="$ac_aux_dir/install-sh -c" 2287 break 2288 elif test -f "$ac_dir/install.sh"; then 2289 ac_aux_dir=$ac_dir 2290 ac_install_sh="$ac_aux_dir/install.sh -c" 2291 break 2292 elif test -f "$ac_dir/shtool"; then 2293 ac_aux_dir=$ac_dir 2294 ac_install_sh="$ac_aux_dir/shtool install -c" 2295 break 2296 fi 2297done 2298if test -z "$ac_aux_dir"; then 2299 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 2300fi 2301 2302# These three variables are undocumented and unsupported, 2303# and are intended to be withdrawn in a future Autoconf release. 2304# They can cause serious problems if a builder's source tree is in a directory 2305# whose full name contains unusual characters. 2306ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2307ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2308ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2309 2310 2311 2312ac_ext=c 2313ac_cpp='$CPP $CPPFLAGS' 2314ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2315ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2316ac_compiler_gnu=$ac_cv_c_compiler_gnu 2317if test -n "$ac_tool_prefix"; then 2318 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2319set dummy ${ac_tool_prefix}gcc; ac_word=$2 2320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2321$as_echo_n "checking for $ac_word... " >&6; } 2322if ${ac_cv_prog_CC+:} false; then : 2323 $as_echo_n "(cached) " >&6 2324else 2325 if test -n "$CC"; then 2326 ac_cv_prog_CC="$CC" # Let the user override the test. 2327else 2328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2329for as_dir in $PATH 2330do 2331 IFS=$as_save_IFS 2332 test -z "$as_dir" && as_dir=. 2333 for ac_exec_ext in '' $ac_executable_extensions; do 2334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2335 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2337 break 2 2338 fi 2339done 2340 done 2341IFS=$as_save_IFS 2342 2343fi 2344fi 2345CC=$ac_cv_prog_CC 2346if test -n "$CC"; then 2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2348$as_echo "$CC" >&6; } 2349else 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2351$as_echo "no" >&6; } 2352fi 2353 2354 2355fi 2356if test -z "$ac_cv_prog_CC"; then 2357 ac_ct_CC=$CC 2358 # Extract the first word of "gcc", so it can be a program name with args. 2359set dummy gcc; ac_word=$2 2360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2361$as_echo_n "checking for $ac_word... " >&6; } 2362if ${ac_cv_prog_ac_ct_CC+:} false; then : 2363 $as_echo_n "(cached) " >&6 2364else 2365 if test -n "$ac_ct_CC"; then 2366 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2367else 2368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2369for as_dir in $PATH 2370do 2371 IFS=$as_save_IFS 2372 test -z "$as_dir" && as_dir=. 2373 for ac_exec_ext in '' $ac_executable_extensions; do 2374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2375 ac_cv_prog_ac_ct_CC="gcc" 2376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2377 break 2 2378 fi 2379done 2380 done 2381IFS=$as_save_IFS 2382 2383fi 2384fi 2385ac_ct_CC=$ac_cv_prog_ac_ct_CC 2386if test -n "$ac_ct_CC"; then 2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2388$as_echo "$ac_ct_CC" >&6; } 2389else 2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2391$as_echo "no" >&6; } 2392fi 2393 2394 if test "x$ac_ct_CC" = x; then 2395 CC="" 2396 else 2397 case $cross_compiling:$ac_tool_warned in 2398yes:) 2399{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2400$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2401ac_tool_warned=yes ;; 2402esac 2403 CC=$ac_ct_CC 2404 fi 2405else 2406 CC="$ac_cv_prog_CC" 2407fi 2408 2409if test -z "$CC"; then 2410 if test -n "$ac_tool_prefix"; then 2411 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2412set dummy ${ac_tool_prefix}cc; ac_word=$2 2413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2414$as_echo_n "checking for $ac_word... " >&6; } 2415if ${ac_cv_prog_CC+:} false; then : 2416 $as_echo_n "(cached) " >&6 2417else 2418 if test -n "$CC"; then 2419 ac_cv_prog_CC="$CC" # Let the user override the test. 2420else 2421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2422for as_dir in $PATH 2423do 2424 IFS=$as_save_IFS 2425 test -z "$as_dir" && as_dir=. 2426 for ac_exec_ext in '' $ac_executable_extensions; do 2427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2428 ac_cv_prog_CC="${ac_tool_prefix}cc" 2429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2430 break 2 2431 fi 2432done 2433 done 2434IFS=$as_save_IFS 2435 2436fi 2437fi 2438CC=$ac_cv_prog_CC 2439if test -n "$CC"; then 2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2441$as_echo "$CC" >&6; } 2442else 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2444$as_echo "no" >&6; } 2445fi 2446 2447 2448 fi 2449fi 2450if test -z "$CC"; then 2451 # Extract the first word of "cc", so it can be a program name with args. 2452set dummy cc; ac_word=$2 2453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2454$as_echo_n "checking for $ac_word... " >&6; } 2455if ${ac_cv_prog_CC+:} false; then : 2456 $as_echo_n "(cached) " >&6 2457else 2458 if test -n "$CC"; then 2459 ac_cv_prog_CC="$CC" # Let the user override the test. 2460else 2461 ac_prog_rejected=no 2462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2463for as_dir in $PATH 2464do 2465 IFS=$as_save_IFS 2466 test -z "$as_dir" && as_dir=. 2467 for ac_exec_ext in '' $ac_executable_extensions; do 2468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2469 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2470 ac_prog_rejected=yes 2471 continue 2472 fi 2473 ac_cv_prog_CC="cc" 2474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2475 break 2 2476 fi 2477done 2478 done 2479IFS=$as_save_IFS 2480 2481if test $ac_prog_rejected = yes; then 2482 # We found a bogon in the path, so make sure we never use it. 2483 set dummy $ac_cv_prog_CC 2484 shift 2485 if test $# != 0; then 2486 # We chose a different compiler from the bogus one. 2487 # However, it has the same basename, so the bogon will be chosen 2488 # first if we set CC to just the basename; use the full file name. 2489 shift 2490 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2491 fi 2492fi 2493fi 2494fi 2495CC=$ac_cv_prog_CC 2496if test -n "$CC"; then 2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2498$as_echo "$CC" >&6; } 2499else 2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2501$as_echo "no" >&6; } 2502fi 2503 2504 2505fi 2506if test -z "$CC"; then 2507 if test -n "$ac_tool_prefix"; then 2508 for ac_prog in cl.exe 2509 do 2510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2511set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2513$as_echo_n "checking for $ac_word... " >&6; } 2514if ${ac_cv_prog_CC+:} false; then : 2515 $as_echo_n "(cached) " >&6 2516else 2517 if test -n "$CC"; then 2518 ac_cv_prog_CC="$CC" # Let the user override the test. 2519else 2520as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2521for as_dir in $PATH 2522do 2523 IFS=$as_save_IFS 2524 test -z "$as_dir" && as_dir=. 2525 for ac_exec_ext in '' $ac_executable_extensions; do 2526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2527 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2529 break 2 2530 fi 2531done 2532 done 2533IFS=$as_save_IFS 2534 2535fi 2536fi 2537CC=$ac_cv_prog_CC 2538if test -n "$CC"; then 2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2540$as_echo "$CC" >&6; } 2541else 2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2543$as_echo "no" >&6; } 2544fi 2545 2546 2547 test -n "$CC" && break 2548 done 2549fi 2550if test -z "$CC"; then 2551 ac_ct_CC=$CC 2552 for ac_prog in cl.exe 2553do 2554 # Extract the first word of "$ac_prog", so it can be a program name with args. 2555set dummy $ac_prog; ac_word=$2 2556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2557$as_echo_n "checking for $ac_word... " >&6; } 2558if ${ac_cv_prog_ac_ct_CC+:} false; then : 2559 $as_echo_n "(cached) " >&6 2560else 2561 if test -n "$ac_ct_CC"; then 2562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2563else 2564as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2565for as_dir in $PATH 2566do 2567 IFS=$as_save_IFS 2568 test -z "$as_dir" && as_dir=. 2569 for ac_exec_ext in '' $ac_executable_extensions; do 2570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2571 ac_cv_prog_ac_ct_CC="$ac_prog" 2572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2573 break 2 2574 fi 2575done 2576 done 2577IFS=$as_save_IFS 2578 2579fi 2580fi 2581ac_ct_CC=$ac_cv_prog_ac_ct_CC 2582if test -n "$ac_ct_CC"; then 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2584$as_echo "$ac_ct_CC" >&6; } 2585else 2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2587$as_echo "no" >&6; } 2588fi 2589 2590 2591 test -n "$ac_ct_CC" && break 2592done 2593 2594 if test "x$ac_ct_CC" = x; then 2595 CC="" 2596 else 2597 case $cross_compiling:$ac_tool_warned in 2598yes:) 2599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2601ac_tool_warned=yes ;; 2602esac 2603 CC=$ac_ct_CC 2604 fi 2605fi 2606 2607fi 2608 2609 2610test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2612as_fn_error $? "no acceptable C compiler found in \$PATH 2613See \`config.log' for more details" "$LINENO" 5; } 2614 2615# Provide some information about the compiler. 2616$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2617set X $ac_compile 2618ac_compiler=$2 2619for ac_option in --version -v -V -qversion; do 2620 { { ac_try="$ac_compiler $ac_option >&5" 2621case "(($ac_try" in 2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2623 *) ac_try_echo=$ac_try;; 2624esac 2625eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2626$as_echo "$ac_try_echo"; } >&5 2627 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2628 ac_status=$? 2629 if test -s conftest.err; then 2630 sed '10a\ 2631... rest of stderr output deleted ... 2632 10q' conftest.err >conftest.er1 2633 cat conftest.er1 >&5 2634 fi 2635 rm -f conftest.er1 conftest.err 2636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2637 test $ac_status = 0; } 2638done 2639 2640cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2641/* end confdefs.h. */ 2642 2643int 2644main () 2645{ 2646 2647 ; 2648 return 0; 2649} 2650_ACEOF 2651ac_clean_files_save=$ac_clean_files 2652ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2653# Try to create an executable without -o first, disregard a.out. 2654# It will help us diagnose broken compilers, and finding out an intuition 2655# of exeext. 2656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2657$as_echo_n "checking whether the C compiler works... " >&6; } 2658ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2659 2660# The possible output files: 2661ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2662 2663ac_rmfiles= 2664for ac_file in $ac_files 2665do 2666 case $ac_file in 2667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2668 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2669 esac 2670done 2671rm -f $ac_rmfiles 2672 2673if { { ac_try="$ac_link_default" 2674case "(($ac_try" in 2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2676 *) ac_try_echo=$ac_try;; 2677esac 2678eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2679$as_echo "$ac_try_echo"; } >&5 2680 (eval "$ac_link_default") 2>&5 2681 ac_status=$? 2682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2683 test $ac_status = 0; }; then : 2684 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2685# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2686# in a Makefile. We should not override ac_cv_exeext if it was cached, 2687# so that the user can short-circuit this test for compilers unknown to 2688# Autoconf. 2689for ac_file in $ac_files '' 2690do 2691 test -f "$ac_file" || continue 2692 case $ac_file in 2693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2694 ;; 2695 [ab].out ) 2696 # We found the default executable, but exeext='' is most 2697 # certainly right. 2698 break;; 2699 *.* ) 2700 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2701 then :; else 2702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2703 fi 2704 # We set ac_cv_exeext here because the later test for it is not 2705 # safe: cross compilers may not add the suffix if given an `-o' 2706 # argument, so we may need to know it at that point already. 2707 # Even if this section looks crufty: it has the advantage of 2708 # actually working. 2709 break;; 2710 * ) 2711 break;; 2712 esac 2713done 2714test "$ac_cv_exeext" = no && ac_cv_exeext= 2715 2716else 2717 ac_file='' 2718fi 2719if test -z "$ac_file"; then : 2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2721$as_echo "no" >&6; } 2722$as_echo "$as_me: failed program was:" >&5 2723sed 's/^/| /' conftest.$ac_ext >&5 2724 2725{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2726$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2727as_fn_error 77 "C compiler cannot create executables 2728See \`config.log' for more details" "$LINENO" 5; } 2729else 2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2731$as_echo "yes" >&6; } 2732fi 2733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2734$as_echo_n "checking for C compiler default output file name... " >&6; } 2735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2736$as_echo "$ac_file" >&6; } 2737ac_exeext=$ac_cv_exeext 2738 2739rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2740ac_clean_files=$ac_clean_files_save 2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2742$as_echo_n "checking for suffix of executables... " >&6; } 2743if { { ac_try="$ac_link" 2744case "(($ac_try" in 2745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2746 *) ac_try_echo=$ac_try;; 2747esac 2748eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2749$as_echo "$ac_try_echo"; } >&5 2750 (eval "$ac_link") 2>&5 2751 ac_status=$? 2752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2753 test $ac_status = 0; }; then : 2754 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2755# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2756# work properly (i.e., refer to `conftest.exe'), while it won't with 2757# `rm'. 2758for ac_file in conftest.exe conftest conftest.*; do 2759 test -f "$ac_file" || continue 2760 case $ac_file in 2761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2762 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2763 break;; 2764 * ) break;; 2765 esac 2766done 2767else 2768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2770as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2771See \`config.log' for more details" "$LINENO" 5; } 2772fi 2773rm -f conftest conftest$ac_cv_exeext 2774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2775$as_echo "$ac_cv_exeext" >&6; } 2776 2777rm -f conftest.$ac_ext 2778EXEEXT=$ac_cv_exeext 2779ac_exeext=$EXEEXT 2780cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2781/* end confdefs.h. */ 2782#include <stdio.h> 2783int 2784main () 2785{ 2786FILE *f = fopen ("conftest.out", "w"); 2787 return ferror (f) || fclose (f) != 0; 2788 2789 ; 2790 return 0; 2791} 2792_ACEOF 2793ac_clean_files="$ac_clean_files conftest.out" 2794# Check that the compiler produces executables we can run. If not, either 2795# the compiler is broken, or we cross compile. 2796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2797$as_echo_n "checking whether we are cross compiling... " >&6; } 2798if test "$cross_compiling" != yes; then 2799 { { ac_try="$ac_link" 2800case "(($ac_try" in 2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2802 *) ac_try_echo=$ac_try;; 2803esac 2804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2805$as_echo "$ac_try_echo"; } >&5 2806 (eval "$ac_link") 2>&5 2807 ac_status=$? 2808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2809 test $ac_status = 0; } 2810 if { ac_try='./conftest$ac_cv_exeext' 2811 { { case "(($ac_try" in 2812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2813 *) ac_try_echo=$ac_try;; 2814esac 2815eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2816$as_echo "$ac_try_echo"; } >&5 2817 (eval "$ac_try") 2>&5 2818 ac_status=$? 2819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2820 test $ac_status = 0; }; }; then 2821 cross_compiling=no 2822 else 2823 if test "$cross_compiling" = maybe; then 2824 cross_compiling=yes 2825 else 2826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2827$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2828as_fn_error $? "cannot run C compiled programs. 2829If you meant to cross compile, use \`--host'. 2830See \`config.log' for more details" "$LINENO" 5; } 2831 fi 2832 fi 2833fi 2834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2835$as_echo "$cross_compiling" >&6; } 2836 2837rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2838ac_clean_files=$ac_clean_files_save 2839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2840$as_echo_n "checking for suffix of object files... " >&6; } 2841if ${ac_cv_objext+:} false; then : 2842 $as_echo_n "(cached) " >&6 2843else 2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2845/* end confdefs.h. */ 2846 2847int 2848main () 2849{ 2850 2851 ; 2852 return 0; 2853} 2854_ACEOF 2855rm -f conftest.o conftest.obj 2856if { { ac_try="$ac_compile" 2857case "(($ac_try" in 2858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2859 *) ac_try_echo=$ac_try;; 2860esac 2861eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2862$as_echo "$ac_try_echo"; } >&5 2863 (eval "$ac_compile") 2>&5 2864 ac_status=$? 2865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2866 test $ac_status = 0; }; then : 2867 for ac_file in conftest.o conftest.obj conftest.*; do 2868 test -f "$ac_file" || continue; 2869 case $ac_file in 2870 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2871 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2872 break;; 2873 esac 2874done 2875else 2876 $as_echo "$as_me: failed program was:" >&5 2877sed 's/^/| /' conftest.$ac_ext >&5 2878 2879{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2880$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2881as_fn_error $? "cannot compute suffix of object files: cannot compile 2882See \`config.log' for more details" "$LINENO" 5; } 2883fi 2884rm -f conftest.$ac_cv_objext conftest.$ac_ext 2885fi 2886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2887$as_echo "$ac_cv_objext" >&6; } 2888OBJEXT=$ac_cv_objext 2889ac_objext=$OBJEXT 2890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2891$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2892if ${ac_cv_c_compiler_gnu+:} false; then : 2893 $as_echo_n "(cached) " >&6 2894else 2895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2896/* end confdefs.h. */ 2897 2898int 2899main () 2900{ 2901#ifndef __GNUC__ 2902 choke me 2903#endif 2904 2905 ; 2906 return 0; 2907} 2908_ACEOF 2909if ac_fn_c_try_compile "$LINENO"; then : 2910 ac_compiler_gnu=yes 2911else 2912 ac_compiler_gnu=no 2913fi 2914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2915ac_cv_c_compiler_gnu=$ac_compiler_gnu 2916 2917fi 2918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2919$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2920if test $ac_compiler_gnu = yes; then 2921 GCC=yes 2922else 2923 GCC= 2924fi 2925ac_test_CFLAGS=${CFLAGS+set} 2926ac_save_CFLAGS=$CFLAGS 2927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2928$as_echo_n "checking whether $CC accepts -g... " >&6; } 2929if ${ac_cv_prog_cc_g+:} false; then : 2930 $as_echo_n "(cached) " >&6 2931else 2932 ac_save_c_werror_flag=$ac_c_werror_flag 2933 ac_c_werror_flag=yes 2934 ac_cv_prog_cc_g=no 2935 CFLAGS="-g" 2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2937/* end confdefs.h. */ 2938 2939int 2940main () 2941{ 2942 2943 ; 2944 return 0; 2945} 2946_ACEOF 2947if ac_fn_c_try_compile "$LINENO"; then : 2948 ac_cv_prog_cc_g=yes 2949else 2950 CFLAGS="" 2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2952/* end confdefs.h. */ 2953 2954int 2955main () 2956{ 2957 2958 ; 2959 return 0; 2960} 2961_ACEOF 2962if ac_fn_c_try_compile "$LINENO"; then : 2963 2964else 2965 ac_c_werror_flag=$ac_save_c_werror_flag 2966 CFLAGS="-g" 2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2968/* end confdefs.h. */ 2969 2970int 2971main () 2972{ 2973 2974 ; 2975 return 0; 2976} 2977_ACEOF 2978if ac_fn_c_try_compile "$LINENO"; then : 2979 ac_cv_prog_cc_g=yes 2980fi 2981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2982fi 2983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2984fi 2985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2986 ac_c_werror_flag=$ac_save_c_werror_flag 2987fi 2988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2989$as_echo "$ac_cv_prog_cc_g" >&6; } 2990if test "$ac_test_CFLAGS" = set; then 2991 CFLAGS=$ac_save_CFLAGS 2992elif test $ac_cv_prog_cc_g = yes; then 2993 if test "$GCC" = yes; then 2994 CFLAGS="-g -O2" 2995 else 2996 CFLAGS="-g" 2997 fi 2998else 2999 if test "$GCC" = yes; then 3000 CFLAGS="-O2" 3001 else 3002 CFLAGS= 3003 fi 3004fi 3005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3006$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3007if ${ac_cv_prog_cc_c89+:} false; then : 3008 $as_echo_n "(cached) " >&6 3009else 3010 ac_cv_prog_cc_c89=no 3011ac_save_CC=$CC 3012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3013/* end confdefs.h. */ 3014#include <stdarg.h> 3015#include <stdio.h> 3016struct stat; 3017/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3018struct buf { int x; }; 3019FILE * (*rcsopen) (struct buf *, struct stat *, int); 3020static char *e (p, i) 3021 char **p; 3022 int i; 3023{ 3024 return p[i]; 3025} 3026static char *f (char * (*g) (char **, int), char **p, ...) 3027{ 3028 char *s; 3029 va_list v; 3030 va_start (v,p); 3031 s = g (p, va_arg (v,int)); 3032 va_end (v); 3033 return s; 3034} 3035 3036/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3037 function prototypes and stuff, but not '\xHH' hex character constants. 3038 These don't provoke an error unfortunately, instead are silently treated 3039 as 'x'. The following induces an error, until -std is added to get 3040 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3041 array size at least. It's necessary to write '\x00'==0 to get something 3042 that's true only with -std. */ 3043int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3044 3045/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3046 inside strings and character constants. */ 3047#define FOO(x) 'x' 3048int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3049 3050int test (int i, double x); 3051struct s1 {int (*f) (int a);}; 3052struct s2 {int (*f) (double a);}; 3053int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3054int argc; 3055char **argv; 3056int 3057main () 3058{ 3059return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3060 ; 3061 return 0; 3062} 3063_ACEOF 3064for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3065 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3066do 3067 CC="$ac_save_CC $ac_arg" 3068 if ac_fn_c_try_compile "$LINENO"; then : 3069 ac_cv_prog_cc_c89=$ac_arg 3070fi 3071rm -f core conftest.err conftest.$ac_objext 3072 test "x$ac_cv_prog_cc_c89" != "xno" && break 3073done 3074rm -f conftest.$ac_ext 3075CC=$ac_save_CC 3076 3077fi 3078# AC_CACHE_VAL 3079case "x$ac_cv_prog_cc_c89" in 3080 x) 3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3082$as_echo "none needed" >&6; } ;; 3083 xno) 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3085$as_echo "unsupported" >&6; } ;; 3086 *) 3087 CC="$CC $ac_cv_prog_cc_c89" 3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3089$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3090esac 3091if test "x$ac_cv_prog_cc_c89" != xno; then : 3092 3093fi 3094 3095ac_ext=c 3096ac_cpp='$CPP $CPPFLAGS' 3097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3099ac_compiler_gnu=$ac_cv_c_compiler_gnu 3100 3101 3102ac_ext=c 3103ac_cpp='$CPP $CPPFLAGS' 3104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3106ac_compiler_gnu=$ac_cv_c_compiler_gnu 3107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3108$as_echo_n "checking how to run the C preprocessor... " >&6; } 3109# On Suns, sometimes $CPP names a directory. 3110if test -n "$CPP" && test -d "$CPP"; then 3111 CPP= 3112fi 3113if test -z "$CPP"; then 3114 if ${ac_cv_prog_CPP+:} false; then : 3115 $as_echo_n "(cached) " >&6 3116else 3117 # Double quotes because CPP needs to be expanded 3118 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3119 do 3120 ac_preproc_ok=false 3121for ac_c_preproc_warn_flag in '' yes 3122do 3123 # Use a header file that comes with gcc, so configuring glibc 3124 # with a fresh cross-compiler works. 3125 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3126 # <limits.h> exists even on freestanding compilers. 3127 # On the NeXT, cc -E runs the code through the compiler's parser, 3128 # not just through cpp. "Syntax error" is here to catch this case. 3129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3130/* end confdefs.h. */ 3131#ifdef __STDC__ 3132# include <limits.h> 3133#else 3134# include <assert.h> 3135#endif 3136 Syntax error 3137_ACEOF 3138if ac_fn_c_try_cpp "$LINENO"; then : 3139 3140else 3141 # Broken: fails on valid input. 3142continue 3143fi 3144rm -f conftest.err conftest.i conftest.$ac_ext 3145 3146 # OK, works on sane cases. Now check whether nonexistent headers 3147 # can be detected and how. 3148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3149/* end confdefs.h. */ 3150#include <ac_nonexistent.h> 3151_ACEOF 3152if ac_fn_c_try_cpp "$LINENO"; then : 3153 # Broken: success on invalid input. 3154continue 3155else 3156 # Passes both tests. 3157ac_preproc_ok=: 3158break 3159fi 3160rm -f conftest.err conftest.i conftest.$ac_ext 3161 3162done 3163# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3164rm -f conftest.i conftest.err conftest.$ac_ext 3165if $ac_preproc_ok; then : 3166 break 3167fi 3168 3169 done 3170 ac_cv_prog_CPP=$CPP 3171 3172fi 3173 CPP=$ac_cv_prog_CPP 3174else 3175 ac_cv_prog_CPP=$CPP 3176fi 3177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3178$as_echo "$CPP" >&6; } 3179ac_preproc_ok=false 3180for ac_c_preproc_warn_flag in '' yes 3181do 3182 # Use a header file that comes with gcc, so configuring glibc 3183 # with a fresh cross-compiler works. 3184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3185 # <limits.h> exists even on freestanding compilers. 3186 # On the NeXT, cc -E runs the code through the compiler's parser, 3187 # not just through cpp. "Syntax error" is here to catch this case. 3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3189/* end confdefs.h. */ 3190#ifdef __STDC__ 3191# include <limits.h> 3192#else 3193# include <assert.h> 3194#endif 3195 Syntax error 3196_ACEOF 3197if ac_fn_c_try_cpp "$LINENO"; then : 3198 3199else 3200 # Broken: fails on valid input. 3201continue 3202fi 3203rm -f conftest.err conftest.i conftest.$ac_ext 3204 3205 # OK, works on sane cases. Now check whether nonexistent headers 3206 # can be detected and how. 3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3208/* end confdefs.h. */ 3209#include <ac_nonexistent.h> 3210_ACEOF 3211if ac_fn_c_try_cpp "$LINENO"; then : 3212 # Broken: success on invalid input. 3213continue 3214else 3215 # Passes both tests. 3216ac_preproc_ok=: 3217break 3218fi 3219rm -f conftest.err conftest.i conftest.$ac_ext 3220 3221done 3222# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3223rm -f conftest.i conftest.err conftest.$ac_ext 3224if $ac_preproc_ok; then : 3225 3226else 3227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3228$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3229as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3230See \`config.log' for more details" "$LINENO" 5; } 3231fi 3232 3233ac_ext=c 3234ac_cpp='$CPP $CPPFLAGS' 3235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3237ac_compiler_gnu=$ac_cv_c_compiler_gnu 3238 3239 3240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3241$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3242if ${ac_cv_path_GREP+:} false; then : 3243 $as_echo_n "(cached) " >&6 3244else 3245 if test -z "$GREP"; then 3246 ac_path_GREP_found=false 3247 # Loop through the user's path and test for each of PROGNAME-LIST 3248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3249for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3250do 3251 IFS=$as_save_IFS 3252 test -z "$as_dir" && as_dir=. 3253 for ac_prog in grep ggrep; do 3254 for ac_exec_ext in '' $ac_executable_extensions; do 3255 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3256 as_fn_executable_p "$ac_path_GREP" || continue 3257# Check for GNU ac_path_GREP and select it if it is found. 3258 # Check for GNU $ac_path_GREP 3259case `"$ac_path_GREP" --version 2>&1` in 3260*GNU*) 3261 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3262*) 3263 ac_count=0 3264 $as_echo_n 0123456789 >"conftest.in" 3265 while : 3266 do 3267 cat "conftest.in" "conftest.in" >"conftest.tmp" 3268 mv "conftest.tmp" "conftest.in" 3269 cp "conftest.in" "conftest.nl" 3270 $as_echo 'GREP' >> "conftest.nl" 3271 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3272 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3273 as_fn_arith $ac_count + 1 && ac_count=$as_val 3274 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3275 # Best one so far, save it but keep looking for a better one 3276 ac_cv_path_GREP="$ac_path_GREP" 3277 ac_path_GREP_max=$ac_count 3278 fi 3279 # 10*(2^10) chars as input seems more than enough 3280 test $ac_count -gt 10 && break 3281 done 3282 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3283esac 3284 3285 $ac_path_GREP_found && break 3 3286 done 3287 done 3288 done 3289IFS=$as_save_IFS 3290 if test -z "$ac_cv_path_GREP"; then 3291 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3292 fi 3293else 3294 ac_cv_path_GREP=$GREP 3295fi 3296 3297fi 3298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3299$as_echo "$ac_cv_path_GREP" >&6; } 3300 GREP="$ac_cv_path_GREP" 3301 3302 3303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3304$as_echo_n "checking for egrep... " >&6; } 3305if ${ac_cv_path_EGREP+:} false; then : 3306 $as_echo_n "(cached) " >&6 3307else 3308 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3309 then ac_cv_path_EGREP="$GREP -E" 3310 else 3311 if test -z "$EGREP"; then 3312 ac_path_EGREP_found=false 3313 # Loop through the user's path and test for each of PROGNAME-LIST 3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3315for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3316do 3317 IFS=$as_save_IFS 3318 test -z "$as_dir" && as_dir=. 3319 for ac_prog in egrep; do 3320 for ac_exec_ext in '' $ac_executable_extensions; do 3321 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3322 as_fn_executable_p "$ac_path_EGREP" || continue 3323# Check for GNU ac_path_EGREP and select it if it is found. 3324 # Check for GNU $ac_path_EGREP 3325case `"$ac_path_EGREP" --version 2>&1` in 3326*GNU*) 3327 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3328*) 3329 ac_count=0 3330 $as_echo_n 0123456789 >"conftest.in" 3331 while : 3332 do 3333 cat "conftest.in" "conftest.in" >"conftest.tmp" 3334 mv "conftest.tmp" "conftest.in" 3335 cp "conftest.in" "conftest.nl" 3336 $as_echo 'EGREP' >> "conftest.nl" 3337 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3338 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3339 as_fn_arith $ac_count + 1 && ac_count=$as_val 3340 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3341 # Best one so far, save it but keep looking for a better one 3342 ac_cv_path_EGREP="$ac_path_EGREP" 3343 ac_path_EGREP_max=$ac_count 3344 fi 3345 # 10*(2^10) chars as input seems more than enough 3346 test $ac_count -gt 10 && break 3347 done 3348 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3349esac 3350 3351 $ac_path_EGREP_found && break 3 3352 done 3353 done 3354 done 3355IFS=$as_save_IFS 3356 if test -z "$ac_cv_path_EGREP"; then 3357 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3358 fi 3359else 3360 ac_cv_path_EGREP=$EGREP 3361fi 3362 3363 fi 3364fi 3365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3366$as_echo "$ac_cv_path_EGREP" >&6; } 3367 EGREP="$ac_cv_path_EGREP" 3368 3369 3370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3371$as_echo_n "checking for ANSI C header files... " >&6; } 3372if ${ac_cv_header_stdc+:} false; then : 3373 $as_echo_n "(cached) " >&6 3374else 3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3376/* end confdefs.h. */ 3377#include <stdlib.h> 3378#include <stdarg.h> 3379#include <string.h> 3380#include <float.h> 3381 3382int 3383main () 3384{ 3385 3386 ; 3387 return 0; 3388} 3389_ACEOF 3390if ac_fn_c_try_compile "$LINENO"; then : 3391 ac_cv_header_stdc=yes 3392else 3393 ac_cv_header_stdc=no 3394fi 3395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3396 3397if test $ac_cv_header_stdc = yes; then 3398 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3400/* end confdefs.h. */ 3401#include <string.h> 3402 3403_ACEOF 3404if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3405 $EGREP "memchr" >/dev/null 2>&1; then : 3406 3407else 3408 ac_cv_header_stdc=no 3409fi 3410rm -f conftest* 3411 3412fi 3413 3414if test $ac_cv_header_stdc = yes; then 3415 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3417/* end confdefs.h. */ 3418#include <stdlib.h> 3419 3420_ACEOF 3421if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3422 $EGREP "free" >/dev/null 2>&1; then : 3423 3424else 3425 ac_cv_header_stdc=no 3426fi 3427rm -f conftest* 3428 3429fi 3430 3431if test $ac_cv_header_stdc = yes; then 3432 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3433 if test "$cross_compiling" = yes; then : 3434 : 3435else 3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3437/* end confdefs.h. */ 3438#include <ctype.h> 3439#include <stdlib.h> 3440#if ((' ' & 0x0FF) == 0x020) 3441# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3442# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3443#else 3444# define ISLOWER(c) \ 3445 (('a' <= (c) && (c) <= 'i') \ 3446 || ('j' <= (c) && (c) <= 'r') \ 3447 || ('s' <= (c) && (c) <= 'z')) 3448# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3449#endif 3450 3451#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3452int 3453main () 3454{ 3455 int i; 3456 for (i = 0; i < 256; i++) 3457 if (XOR (islower (i), ISLOWER (i)) 3458 || toupper (i) != TOUPPER (i)) 3459 return 2; 3460 return 0; 3461} 3462_ACEOF 3463if ac_fn_c_try_run "$LINENO"; then : 3464 3465else 3466 ac_cv_header_stdc=no 3467fi 3468rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3469 conftest.$ac_objext conftest.beam conftest.$ac_ext 3470fi 3471 3472fi 3473fi 3474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3475$as_echo "$ac_cv_header_stdc" >&6; } 3476if test $ac_cv_header_stdc = yes; then 3477 3478$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3479 3480fi 3481 3482# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3483for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3484 inttypes.h stdint.h unistd.h 3485do : 3486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3487ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3488" 3489if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3490 cat >>confdefs.h <<_ACEOF 3491#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3492_ACEOF 3493 3494fi 3495 3496done 3497 3498 3499for ac_header in string.h 3500do : 3501 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 3502if test "x$ac_cv_header_string_h" = xyes; then : 3503 cat >>confdefs.h <<_ACEOF 3504#define HAVE_STRING_H 1 3505_ACEOF 3506 3507fi 3508 3509done 3510 3511for ac_func in sqrt 3512do : 3513 ac_fn_c_check_func "$LINENO" "sqrt" "ac_cv_func_sqrt" 3514if test "x$ac_cv_func_sqrt" = xyes; then : 3515 cat >>confdefs.h <<_ACEOF 3516#define HAVE_SQRT 1 3517_ACEOF 3518 3519fi 3520done 3521 3522 3523# Generate config.h 3524ac_config_headers="$ac_config_headers config.h" 3525 3526 3527# Initialize automake 3528am__api_version='1.11' 3529 3530# Find a good install program. We prefer a C program (faster), 3531# so one script is as good as another. But avoid the broken or 3532# incompatible versions: 3533# SysV /etc/install, /usr/sbin/install 3534# SunOS /usr/etc/install 3535# IRIX /sbin/install 3536# AIX /bin/install 3537# AmigaOS /C/install, which installs bootblocks on floppy discs 3538# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3539# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3540# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3541# OS/2's system install, which has a completely different semantic 3542# ./install, which can be erroneously created by make from ./install.sh. 3543# Reject install programs that cannot install multiple files. 3544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3545$as_echo_n "checking for a BSD-compatible install... " >&6; } 3546if test -z "$INSTALL"; then 3547if ${ac_cv_path_install+:} false; then : 3548 $as_echo_n "(cached) " >&6 3549else 3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3551for as_dir in $PATH 3552do 3553 IFS=$as_save_IFS 3554 test -z "$as_dir" && as_dir=. 3555 # Account for people who put trailing slashes in PATH elements. 3556case $as_dir/ in #(( 3557 ./ | .// | /[cC]/* | \ 3558 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3559 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3560 /usr/ucb/* ) ;; 3561 *) 3562 # OSF1 and SCO ODT 3.0 have their own names for install. 3563 # Don't use installbsd from OSF since it installs stuff as root 3564 # by default. 3565 for ac_prog in ginstall scoinst install; do 3566 for ac_exec_ext in '' $ac_executable_extensions; do 3567 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3568 if test $ac_prog = install && 3569 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3570 # AIX install. It has an incompatible calling convention. 3571 : 3572 elif test $ac_prog = install && 3573 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3574 # program-specific install script used by HP pwplus--don't use. 3575 : 3576 else 3577 rm -rf conftest.one conftest.two conftest.dir 3578 echo one > conftest.one 3579 echo two > conftest.two 3580 mkdir conftest.dir 3581 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3582 test -s conftest.one && test -s conftest.two && 3583 test -s conftest.dir/conftest.one && 3584 test -s conftest.dir/conftest.two 3585 then 3586 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3587 break 3 3588 fi 3589 fi 3590 fi 3591 done 3592 done 3593 ;; 3594esac 3595 3596 done 3597IFS=$as_save_IFS 3598 3599rm -rf conftest.one conftest.two conftest.dir 3600 3601fi 3602 if test "${ac_cv_path_install+set}" = set; then 3603 INSTALL=$ac_cv_path_install 3604 else 3605 # As a last resort, use the slow shell script. Don't cache a 3606 # value for INSTALL within a source directory, because that will 3607 # break other packages using the cache if that directory is 3608 # removed, or if the value is a relative name. 3609 INSTALL=$ac_install_sh 3610 fi 3611fi 3612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3613$as_echo "$INSTALL" >&6; } 3614 3615# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3616# It thinks the first close brace ends the variable substitution. 3617test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3618 3619test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3620 3621test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3622 3623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3624$as_echo_n "checking whether build environment is sane... " >&6; } 3625# Just in case 3626sleep 1 3627echo timestamp > conftest.file 3628# Reject unsafe characters in $srcdir or the absolute working directory 3629# name. Accept space and tab only in the latter. 3630am_lf=' 3631' 3632case `pwd` in 3633 *[\\\"\#\$\&\'\`$am_lf]*) 3634 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3635esac 3636case $srcdir in 3637 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3638 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 3639esac 3640 3641# Do `set' in a subshell so we don't clobber the current shell's 3642# arguments. Must try -L first in case configure is actually a 3643# symlink; some systems play weird games with the mod time of symlinks 3644# (eg FreeBSD returns the mod time of the symlink's containing 3645# directory). 3646if ( 3647 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3648 if test "$*" = "X"; then 3649 # -L didn't work. 3650 set X `ls -t "$srcdir/configure" conftest.file` 3651 fi 3652 rm -f conftest.file 3653 if test "$*" != "X $srcdir/configure conftest.file" \ 3654 && test "$*" != "X conftest.file $srcdir/configure"; then 3655 3656 # If neither matched, then we have a broken ls. This can happen 3657 # if, for instance, CONFIG_SHELL is bash and it inherits a 3658 # broken ls alias from the environment. This has actually 3659 # happened. Such a system could not be considered "sane". 3660 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3661alias in your environment" "$LINENO" 5 3662 fi 3663 3664 test "$2" = conftest.file 3665 ) 3666then 3667 # Ok. 3668 : 3669else 3670 as_fn_error $? "newly created file is older than distributed files! 3671Check your system clock" "$LINENO" 5 3672fi 3673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3674$as_echo "yes" >&6; } 3675test "$program_prefix" != NONE && 3676 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3677# Use a double $ so make ignores it. 3678test "$program_suffix" != NONE && 3679 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3680# Double any \ or $. 3681# By default was `s,x,x', remove it if useless. 3682ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3683program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3684 3685# expand $ac_aux_dir to an absolute path 3686am_aux_dir=`cd $ac_aux_dir && pwd` 3687 3688if test x"${MISSING+set}" != xset; then 3689 case $am_aux_dir in 3690 *\ * | *\ *) 3691 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3692 *) 3693 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3694 esac 3695fi 3696# Use eval to expand $SHELL 3697if eval "$MISSING --run true"; then 3698 am_missing_run="$MISSING --run " 3699else 3700 am_missing_run= 3701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 3702$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 3703fi 3704 3705if test x"${install_sh}" != xset; then 3706 case $am_aux_dir in 3707 *\ * | *\ *) 3708 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3709 *) 3710 install_sh="\${SHELL} $am_aux_dir/install-sh" 3711 esac 3712fi 3713 3714# Installed binaries are usually stripped using `strip' when the user 3715# run `make install-strip'. However `strip' might not be the right 3716# tool to use in cross-compilation environments, therefore Automake 3717# will honor the `STRIP' environment variable to overrule this program. 3718if test "$cross_compiling" != no; then 3719 if test -n "$ac_tool_prefix"; then 3720 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3721set dummy ${ac_tool_prefix}strip; ac_word=$2 3722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3723$as_echo_n "checking for $ac_word... " >&6; } 3724if ${ac_cv_prog_STRIP+:} false; then : 3725 $as_echo_n "(cached) " >&6 3726else 3727 if test -n "$STRIP"; then 3728 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3729else 3730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3731for as_dir in $PATH 3732do 3733 IFS=$as_save_IFS 3734 test -z "$as_dir" && as_dir=. 3735 for ac_exec_ext in '' $ac_executable_extensions; do 3736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3737 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3739 break 2 3740 fi 3741done 3742 done 3743IFS=$as_save_IFS 3744 3745fi 3746fi 3747STRIP=$ac_cv_prog_STRIP 3748if test -n "$STRIP"; then 3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3750$as_echo "$STRIP" >&6; } 3751else 3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3753$as_echo "no" >&6; } 3754fi 3755 3756 3757fi 3758if test -z "$ac_cv_prog_STRIP"; then 3759 ac_ct_STRIP=$STRIP 3760 # Extract the first word of "strip", so it can be a program name with args. 3761set dummy strip; ac_word=$2 3762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3763$as_echo_n "checking for $ac_word... " >&6; } 3764if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3765 $as_echo_n "(cached) " >&6 3766else 3767 if test -n "$ac_ct_STRIP"; then 3768 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3769else 3770as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3771for as_dir in $PATH 3772do 3773 IFS=$as_save_IFS 3774 test -z "$as_dir" && as_dir=. 3775 for ac_exec_ext in '' $ac_executable_extensions; do 3776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3777 ac_cv_prog_ac_ct_STRIP="strip" 3778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3779 break 2 3780 fi 3781done 3782 done 3783IFS=$as_save_IFS 3784 3785fi 3786fi 3787ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3788if test -n "$ac_ct_STRIP"; then 3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3790$as_echo "$ac_ct_STRIP" >&6; } 3791else 3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3793$as_echo "no" >&6; } 3794fi 3795 3796 if test "x$ac_ct_STRIP" = x; then 3797 STRIP=":" 3798 else 3799 case $cross_compiling:$ac_tool_warned in 3800yes:) 3801{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3802$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3803ac_tool_warned=yes ;; 3804esac 3805 STRIP=$ac_ct_STRIP 3806 fi 3807else 3808 STRIP="$ac_cv_prog_STRIP" 3809fi 3810 3811fi 3812INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3813 3814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3815$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3816if test -z "$MKDIR_P"; then 3817 if ${ac_cv_path_mkdir+:} false; then : 3818 $as_echo_n "(cached) " >&6 3819else 3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3821for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3822do 3823 IFS=$as_save_IFS 3824 test -z "$as_dir" && as_dir=. 3825 for ac_prog in mkdir gmkdir; do 3826 for ac_exec_ext in '' $ac_executable_extensions; do 3827 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3828 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3829 'mkdir (GNU coreutils) '* | \ 3830 'mkdir (coreutils) '* | \ 3831 'mkdir (fileutils) '4.1*) 3832 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3833 break 3;; 3834 esac 3835 done 3836 done 3837 done 3838IFS=$as_save_IFS 3839 3840fi 3841 3842 test -d ./--version && rmdir ./--version 3843 if test "${ac_cv_path_mkdir+set}" = set; then 3844 MKDIR_P="$ac_cv_path_mkdir -p" 3845 else 3846 # As a last resort, use the slow shell script. Don't cache a 3847 # value for MKDIR_P within a source directory, because that will 3848 # break other packages using the cache if that directory is 3849 # removed, or if the value is a relative name. 3850 MKDIR_P="$ac_install_sh -d" 3851 fi 3852fi 3853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3854$as_echo "$MKDIR_P" >&6; } 3855 3856mkdir_p="$MKDIR_P" 3857case $mkdir_p in 3858 [\\/$]* | ?:[\\/]*) ;; 3859 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 3860esac 3861 3862for ac_prog in gawk mawk nawk awk 3863do 3864 # Extract the first word of "$ac_prog", so it can be a program name with args. 3865set dummy $ac_prog; ac_word=$2 3866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3867$as_echo_n "checking for $ac_word... " >&6; } 3868if ${ac_cv_prog_AWK+:} false; then : 3869 $as_echo_n "(cached) " >&6 3870else 3871 if test -n "$AWK"; then 3872 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3873else 3874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3875for as_dir in $PATH 3876do 3877 IFS=$as_save_IFS 3878 test -z "$as_dir" && as_dir=. 3879 for ac_exec_ext in '' $ac_executable_extensions; do 3880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3881 ac_cv_prog_AWK="$ac_prog" 3882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3883 break 2 3884 fi 3885done 3886 done 3887IFS=$as_save_IFS 3888 3889fi 3890fi 3891AWK=$ac_cv_prog_AWK 3892if test -n "$AWK"; then 3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3894$as_echo "$AWK" >&6; } 3895else 3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3897$as_echo "no" >&6; } 3898fi 3899 3900 3901 test -n "$AWK" && break 3902done 3903 3904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3905$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3906set x ${MAKE-make} 3907ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3908if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3909 $as_echo_n "(cached) " >&6 3910else 3911 cat >conftest.make <<\_ACEOF 3912SHELL = /bin/sh 3913all: 3914 @echo '@@@%%%=$(MAKE)=@@@%%%' 3915_ACEOF 3916# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3917case `${MAKE-make} -f conftest.make 2>/dev/null` in 3918 *@@@%%%=?*=@@@%%%*) 3919 eval ac_cv_prog_make_${ac_make}_set=yes;; 3920 *) 3921 eval ac_cv_prog_make_${ac_make}_set=no;; 3922esac 3923rm -f conftest.make 3924fi 3925if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3927$as_echo "yes" >&6; } 3928 SET_MAKE= 3929else 3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3931$as_echo "no" >&6; } 3932 SET_MAKE="MAKE=${MAKE-make}" 3933fi 3934 3935rm -rf .tst 2>/dev/null 3936mkdir .tst 2>/dev/null 3937if test -d .tst; then 3938 am__leading_dot=. 3939else 3940 am__leading_dot=_ 3941fi 3942rmdir .tst 2>/dev/null 3943 3944DEPDIR="${am__leading_dot}deps" 3945 3946ac_config_commands="$ac_config_commands depfiles" 3947 3948 3949am_make=${MAKE-make} 3950cat > confinc << 'END' 3951am__doit: 3952 @echo this is the am__doit target 3953.PHONY: am__doit 3954END 3955# If we don't find an include directive, just comment out the code. 3956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3957$as_echo_n "checking for style of include used by $am_make... " >&6; } 3958am__include="#" 3959am__quote= 3960_am_result=none 3961# First try GNU make style include. 3962echo "include confinc" > confmf 3963# Ignore all kinds of additional output from `make'. 3964case `$am_make -s -f confmf 2> /dev/null` in #( 3965*the\ am__doit\ target*) 3966 am__include=include 3967 am__quote= 3968 _am_result=GNU 3969 ;; 3970esac 3971# Now try BSD make style include. 3972if test "$am__include" = "#"; then 3973 echo '.include "confinc"' > confmf 3974 case `$am_make -s -f confmf 2> /dev/null` in #( 3975 *the\ am__doit\ target*) 3976 am__include=.include 3977 am__quote="\"" 3978 _am_result=BSD 3979 ;; 3980 esac 3981fi 3982 3983 3984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3985$as_echo "$_am_result" >&6; } 3986rm -f confinc confmf 3987 3988# Check whether --enable-dependency-tracking was given. 3989if test "${enable_dependency_tracking+set}" = set; then : 3990 enableval=$enable_dependency_tracking; 3991fi 3992 3993if test "x$enable_dependency_tracking" != xno; then 3994 am_depcomp="$ac_aux_dir/depcomp" 3995 AMDEPBACKSLASH='\' 3996 am__nodep='_no' 3997fi 3998 if test "x$enable_dependency_tracking" != xno; then 3999 AMDEP_TRUE= 4000 AMDEP_FALSE='#' 4001else 4002 AMDEP_TRUE='#' 4003 AMDEP_FALSE= 4004fi 4005 4006 4007if test "`cd $srcdir && pwd`" != "`pwd`"; then 4008 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 4009 # is not polluted with repeated "-I." 4010 am__isrc=' -I$(srcdir)' 4011 # test to see if srcdir already configured 4012 if test -f $srcdir/config.status; then 4013 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 4014 fi 4015fi 4016 4017# test whether we have cygpath 4018if test -z "$CYGPATH_W"; then 4019 if (cygpath --version) >/dev/null 2>/dev/null; then 4020 CYGPATH_W='cygpath -w' 4021 else 4022 CYGPATH_W=echo 4023 fi 4024fi 4025 4026 4027# Define the identity of the package. 4028 PACKAGE='varcloud' 4029 VERSION='1.0' 4030 4031 4032cat >>confdefs.h <<_ACEOF 4033#define PACKAGE "$PACKAGE" 4034_ACEOF 4035 4036 4037cat >>confdefs.h <<_ACEOF 4038#define VERSION "$VERSION" 4039_ACEOF 4040 4041# Some tools Automake needs. 4042 4043ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 4044 4045 4046AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 4047 4048 4049AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 4050 4051 4052AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 4053 4054 4055MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 4056 4057# We need awk for the "check" target. The system "awk" is bad on 4058# some platforms. 4059# Always define AMTAR for backward compatibility. Yes, it's still used 4060# in the wild :-( We should find a proper way to deprecate it ... 4061AMTAR='$${TAR-tar}' 4062 4063am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 4064 4065 4066 4067 4068depcc="$CC" am_compiler_list= 4069 4070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4071$as_echo_n "checking dependency style of $depcc... " >&6; } 4072if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4073 $as_echo_n "(cached) " >&6 4074else 4075 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4076 # We make a subdir and do the tests there. Otherwise we can end up 4077 # making bogus files that we don't know about and never remove. For 4078 # instance it was reported that on HP-UX the gcc test will end up 4079 # making a dummy file named `D' -- because `-MD' means `put the output 4080 # in D'. 4081 rm -rf conftest.dir 4082 mkdir conftest.dir 4083 # Copy depcomp to subdir because otherwise we won't find it if we're 4084 # using a relative directory. 4085 cp "$am_depcomp" conftest.dir 4086 cd conftest.dir 4087 # We will build objects and dependencies in a subdirectory because 4088 # it helps to detect inapplicable dependency modes. For instance 4089 # both Tru64's cc and ICC support -MD to output dependencies as a 4090 # side effect of compilation, but ICC will put the dependencies in 4091 # the current directory while Tru64 will put them in the object 4092 # directory. 4093 mkdir sub 4094 4095 am_cv_CC_dependencies_compiler_type=none 4096 if test "$am_compiler_list" = ""; then 4097 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4098 fi 4099 am__universal=false 4100 case " $depcc " in #( 4101 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4102 esac 4103 4104 for depmode in $am_compiler_list; do 4105 # Setup a source with many dependencies, because some compilers 4106 # like to wrap large dependency lists on column 80 (with \), and 4107 # we should not choose a depcomp mode which is confused by this. 4108 # 4109 # We need to recreate these files for each test, as the compiler may 4110 # overwrite some of them when testing with obscure command lines. 4111 # This happens at least with the AIX C compiler. 4112 : > sub/conftest.c 4113 for i in 1 2 3 4 5 6; do 4114 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4115 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4116 # Solaris 8's {/usr,}/bin/sh. 4117 touch sub/conftst$i.h 4118 done 4119 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4120 4121 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4122 # mode. It turns out that the SunPro C++ compiler does not properly 4123 # handle `-M -o', and we need to detect this. Also, some Intel 4124 # versions had trouble with output in subdirs 4125 am__obj=sub/conftest.${OBJEXT-o} 4126 am__minus_obj="-o $am__obj" 4127 case $depmode in 4128 gcc) 4129 # This depmode causes a compiler race in universal mode. 4130 test "$am__universal" = false || continue 4131 ;; 4132 nosideeffect) 4133 # after this tag, mechanisms are not by side-effect, so they'll 4134 # only be used when explicitly requested 4135 if test "x$enable_dependency_tracking" = xyes; then 4136 continue 4137 else 4138 break 4139 fi 4140 ;; 4141 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4142 # This compiler won't grok `-c -o', but also, the minuso test has 4143 # not run yet. These depmodes are late enough in the game, and 4144 # so weak that their functioning should not be impacted. 4145 am__obj=conftest.${OBJEXT-o} 4146 am__minus_obj= 4147 ;; 4148 none) break ;; 4149 esac 4150 if depmode=$depmode \ 4151 source=sub/conftest.c object=$am__obj \ 4152 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4153 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4154 >/dev/null 2>conftest.err && 4155 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4156 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4157 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4158 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4159 # icc doesn't choke on unknown options, it will just issue warnings 4160 # or remarks (even with -Werror). So we grep stderr for any message 4161 # that says an option was ignored or not supported. 4162 # When given -MP, icc 7.0 and 7.1 complain thusly: 4163 # icc: Command line warning: ignoring option '-M'; no argument required 4164 # The diagnosis changed in icc 8.0: 4165 # icc: Command line remark: option '-MP' not supported 4166 if (grep 'ignoring option' conftest.err || 4167 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4168 am_cv_CC_dependencies_compiler_type=$depmode 4169 break 4170 fi 4171 fi 4172 done 4173 4174 cd .. 4175 rm -rf conftest.dir 4176else 4177 am_cv_CC_dependencies_compiler_type=none 4178fi 4179 4180fi 4181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4182$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4183CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4184 4185 if 4186 test "x$enable_dependency_tracking" != xno \ 4187 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4188 am__fastdepCC_TRUE= 4189 am__fastdepCC_FALSE='#' 4190else 4191 am__fastdepCC_TRUE='#' 4192 am__fastdepCC_FALSE= 4193fi 4194 4195 4196 4197 4198# Use the custom GGobi macro for configuring the plugin. This provides 4199# GGOBI_CFLAGS, GGOBI_LIBS, and SRC_DEBUG variables. 4200# Make sure we can run config.sub. 4201$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4202 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4203 4204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4205$as_echo_n "checking build system type... " >&6; } 4206if ${ac_cv_build+:} false; then : 4207 $as_echo_n "(cached) " >&6 4208else 4209 ac_build_alias=$build_alias 4210test "x$ac_build_alias" = x && 4211 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4212test "x$ac_build_alias" = x && 4213 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4214ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4215 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4216 4217fi 4218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4219$as_echo "$ac_cv_build" >&6; } 4220case $ac_cv_build in 4221*-*-*) ;; 4222*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4223esac 4224build=$ac_cv_build 4225ac_save_IFS=$IFS; IFS='-' 4226set x $ac_cv_build 4227shift 4228build_cpu=$1 4229build_vendor=$2 4230shift; shift 4231# Remember, the first character of IFS is used to create $*, 4232# except with old shells: 4233build_os=$* 4234IFS=$ac_save_IFS 4235case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4236 4237 4238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4239$as_echo_n "checking host system type... " >&6; } 4240if ${ac_cv_host+:} false; then : 4241 $as_echo_n "(cached) " >&6 4242else 4243 if test "x$host_alias" = x; then 4244 ac_cv_host=$ac_cv_build 4245else 4246 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4247 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4248fi 4249 4250fi 4251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4252$as_echo "$ac_cv_host" >&6; } 4253case $ac_cv_host in 4254*-*-*) ;; 4255*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4256esac 4257host=$ac_cv_host 4258ac_save_IFS=$IFS; IFS='-' 4259set x $ac_cv_host 4260shift 4261host_cpu=$1 4262host_vendor=$2 4263shift; shift 4264# Remember, the first character of IFS is used to create $*, 4265# except with old shells: 4266host_os=$* 4267IFS=$ac_save_IFS 4268case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4279 if test -n "$ac_tool_prefix"; then 4280 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4281set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4283$as_echo_n "checking for $ac_word... " >&6; } 4284if ${ac_cv_path_PKG_CONFIG+:} false; then : 4285 $as_echo_n "(cached) " >&6 4286else 4287 case $PKG_CONFIG in 4288 [\\/]* | ?:[\\/]*) 4289 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4290 ;; 4291 *) 4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4293for as_dir in $PATH 4294do 4295 IFS=$as_save_IFS 4296 test -z "$as_dir" && as_dir=. 4297 for ac_exec_ext in '' $ac_executable_extensions; do 4298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4299 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4301 break 2 4302 fi 4303done 4304 done 4305IFS=$as_save_IFS 4306 4307 ;; 4308esac 4309fi 4310PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4311if test -n "$PKG_CONFIG"; then 4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4313$as_echo "$PKG_CONFIG" >&6; } 4314else 4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4316$as_echo "no" >&6; } 4317fi 4318 4319 4320fi 4321if test -z "$ac_cv_path_PKG_CONFIG"; then 4322 ac_pt_PKG_CONFIG=$PKG_CONFIG 4323 # Extract the first word of "pkg-config", so it can be a program name with args. 4324set dummy pkg-config; ac_word=$2 4325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4326$as_echo_n "checking for $ac_word... " >&6; } 4327if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4328 $as_echo_n "(cached) " >&6 4329else 4330 case $ac_pt_PKG_CONFIG in 4331 [\\/]* | ?:[\\/]*) 4332 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4333 ;; 4334 *) 4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4336for as_dir in $PATH 4337do 4338 IFS=$as_save_IFS 4339 test -z "$as_dir" && as_dir=. 4340 for ac_exec_ext in '' $ac_executable_extensions; do 4341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4342 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4344 break 2 4345 fi 4346done 4347 done 4348IFS=$as_save_IFS 4349 4350 ;; 4351esac 4352fi 4353ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4354if test -n "$ac_pt_PKG_CONFIG"; then 4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4356$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4357else 4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4359$as_echo "no" >&6; } 4360fi 4361 4362 if test "x$ac_pt_PKG_CONFIG" = x; then 4363 PKG_CONFIG="" 4364 else 4365 case $cross_compiling:$ac_tool_warned in 4366yes:) 4367{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4368$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4369ac_tool_warned=yes ;; 4370esac 4371 PKG_CONFIG=$ac_pt_PKG_CONFIG 4372 fi 4373else 4374 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4375fi 4376 4377fi 4378if test -n "$PKG_CONFIG"; then 4379 _pkg_min_version=0.9.0 4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4381$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4382 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4384$as_echo "yes" >&6; } 4385 else 4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4387$as_echo "no" >&6; } 4388 PKG_CONFIG="" 4389 fi 4390fi 4391 4392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4393$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4394if ${ac_cv_c_const+:} false; then : 4395 $as_echo_n "(cached) " >&6 4396else 4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4398/* end confdefs.h. */ 4399 4400int 4401main () 4402{ 4403 4404#ifndef __cplusplus 4405 /* Ultrix mips cc rejects this sort of thing. */ 4406 typedef int charset[2]; 4407 const charset cs = { 0, 0 }; 4408 /* SunOS 4.1.1 cc rejects this. */ 4409 char const *const *pcpcc; 4410 char **ppc; 4411 /* NEC SVR4.0.2 mips cc rejects this. */ 4412 struct point {int x, y;}; 4413 static struct point const zero = {0,0}; 4414 /* AIX XL C 1.02.0.0 rejects this. 4415 It does not let you subtract one const X* pointer from another in 4416 an arm of an if-expression whose if-part is not a constant 4417 expression */ 4418 const char *g = "string"; 4419 pcpcc = &g + (g ? g-g : 0); 4420 /* HPUX 7.0 cc rejects these. */ 4421 ++pcpcc; 4422 ppc = (char**) pcpcc; 4423 pcpcc = (char const *const *) ppc; 4424 { /* SCO 3.2v4 cc rejects this sort of thing. */ 4425 char tx; 4426 char *t = &tx; 4427 char const *s = 0 ? (char *) 0 : (char const *) 0; 4428 4429 *t++ = 0; 4430 if (s) return 0; 4431 } 4432 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4433 int x[] = {25, 17}; 4434 const int *foo = &x[0]; 4435 ++foo; 4436 } 4437 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4438 typedef const int *iptr; 4439 iptr p = 0; 4440 ++p; 4441 } 4442 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 4443 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4444 struct s { int j; const int *ap[3]; } bx; 4445 struct s *b = &bx; b->j = 5; 4446 } 4447 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4448 const int foo = 10; 4449 if (!foo) return 0; 4450 } 4451 return !cs[0] && !zero.x; 4452#endif 4453 4454 ; 4455 return 0; 4456} 4457_ACEOF 4458if ac_fn_c_try_compile "$LINENO"; then : 4459 ac_cv_c_const=yes 4460else 4461 ac_cv_c_const=no 4462fi 4463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4464fi 4465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4466$as_echo "$ac_cv_c_const" >&6; } 4467if test $ac_cv_c_const = no; then 4468 4469$as_echo "#define const /**/" >>confdefs.h 4470 4471fi 4472 4473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 4474$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 4475if ${ac_cv_header_stdbool_h+:} false; then : 4476 $as_echo_n "(cached) " >&6 4477else 4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4479/* end confdefs.h. */ 4480 4481 #include <stdbool.h> 4482 #ifndef bool 4483 "error: bool is not defined" 4484 #endif 4485 #ifndef false 4486 "error: false is not defined" 4487 #endif 4488 #if false 4489 "error: false is not 0" 4490 #endif 4491 #ifndef true 4492 "error: true is not defined" 4493 #endif 4494 #if true != 1 4495 "error: true is not 1" 4496 #endif 4497 #ifndef __bool_true_false_are_defined 4498 "error: __bool_true_false_are_defined is not defined" 4499 #endif 4500 4501 struct s { _Bool s: 1; _Bool t; } s; 4502 4503 char a[true == 1 ? 1 : -1]; 4504 char b[false == 0 ? 1 : -1]; 4505 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 4506 char d[(bool) 0.5 == true ? 1 : -1]; 4507 /* See body of main program for 'e'. */ 4508 char f[(_Bool) 0.0 == false ? 1 : -1]; 4509 char g[true]; 4510 char h[sizeof (_Bool)]; 4511 char i[sizeof s.t]; 4512 enum { j = false, k = true, l = false * true, m = true * 256 }; 4513 /* The following fails for 4514 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 4515 _Bool n[m]; 4516 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 4517 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 4518 /* Catch a bug in an HP-UX C compiler. See 4519 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 4520 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 4521 */ 4522 _Bool q = true; 4523 _Bool *pq = &q; 4524 4525int 4526main () 4527{ 4528 4529 bool e = &s; 4530 *pq |= q; 4531 *pq |= ! q; 4532 /* Refer to every declared value, to avoid compiler optimizations. */ 4533 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 4534 + !m + !n + !o + !p + !q + !pq); 4535 4536 ; 4537 return 0; 4538} 4539_ACEOF 4540if ac_fn_c_try_compile "$LINENO"; then : 4541 ac_cv_header_stdbool_h=yes 4542else 4543 ac_cv_header_stdbool_h=no 4544fi 4545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4546fi 4547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 4548$as_echo "$ac_cv_header_stdbool_h" >&6; } 4549 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 4550if test "x$ac_cv_type__Bool" = xyes; then : 4551 4552cat >>confdefs.h <<_ACEOF 4553#define HAVE__BOOL 1 4554_ACEOF 4555 4556 4557fi 4558 4559 4560if test $ac_cv_header_stdbool_h = yes; then 4561 4562$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h 4563 4564fi 4565 4566# Check whether --enable-static was given. 4567if test "${enable_static+set}" = set; then : 4568 enableval=$enable_static; p=${PACKAGE-default} 4569 case $enableval in 4570 yes) enable_static=yes ;; 4571 no) enable_static=no ;; 4572 *) 4573 enable_static=no 4574 # Look at the argument we got. We use all the common list separators. 4575 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4576 for pkg in $enableval; do 4577 IFS="$lt_save_ifs" 4578 if test "X$pkg" = "X$p"; then 4579 enable_static=yes 4580 fi 4581 done 4582 IFS="$lt_save_ifs" 4583 ;; 4584 esac 4585else 4586 enable_static=no 4587fi 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597enable_win32_dll=yes 4598 4599case $host in 4600*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 4601 if test -n "$ac_tool_prefix"; then 4602 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4603set dummy ${ac_tool_prefix}as; ac_word=$2 4604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4605$as_echo_n "checking for $ac_word... " >&6; } 4606if ${ac_cv_prog_AS+:} false; then : 4607 $as_echo_n "(cached) " >&6 4608else 4609 if test -n "$AS"; then 4610 ac_cv_prog_AS="$AS" # Let the user override the test. 4611else 4612as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4613for as_dir in $PATH 4614do 4615 IFS=$as_save_IFS 4616 test -z "$as_dir" && as_dir=. 4617 for ac_exec_ext in '' $ac_executable_extensions; do 4618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4619 ac_cv_prog_AS="${ac_tool_prefix}as" 4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4621 break 2 4622 fi 4623done 4624 done 4625IFS=$as_save_IFS 4626 4627fi 4628fi 4629AS=$ac_cv_prog_AS 4630if test -n "$AS"; then 4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4632$as_echo "$AS" >&6; } 4633else 4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4635$as_echo "no" >&6; } 4636fi 4637 4638 4639fi 4640if test -z "$ac_cv_prog_AS"; then 4641 ac_ct_AS=$AS 4642 # Extract the first word of "as", so it can be a program name with args. 4643set dummy as; ac_word=$2 4644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4645$as_echo_n "checking for $ac_word... " >&6; } 4646if ${ac_cv_prog_ac_ct_AS+:} false; then : 4647 $as_echo_n "(cached) " >&6 4648else 4649 if test -n "$ac_ct_AS"; then 4650 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4651else 4652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4653for as_dir in $PATH 4654do 4655 IFS=$as_save_IFS 4656 test -z "$as_dir" && as_dir=. 4657 for ac_exec_ext in '' $ac_executable_extensions; do 4658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4659 ac_cv_prog_ac_ct_AS="as" 4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4661 break 2 4662 fi 4663done 4664 done 4665IFS=$as_save_IFS 4666 4667fi 4668fi 4669ac_ct_AS=$ac_cv_prog_ac_ct_AS 4670if test -n "$ac_ct_AS"; then 4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4672$as_echo "$ac_ct_AS" >&6; } 4673else 4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4675$as_echo "no" >&6; } 4676fi 4677 4678 if test "x$ac_ct_AS" = x; then 4679 AS="false" 4680 else 4681 case $cross_compiling:$ac_tool_warned in 4682yes:) 4683{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4684$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4685ac_tool_warned=yes ;; 4686esac 4687 AS=$ac_ct_AS 4688 fi 4689else 4690 AS="$ac_cv_prog_AS" 4691fi 4692 4693 if test -n "$ac_tool_prefix"; then 4694 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4695set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4697$as_echo_n "checking for $ac_word... " >&6; } 4698if ${ac_cv_prog_DLLTOOL+:} false; then : 4699 $as_echo_n "(cached) " >&6 4700else 4701 if test -n "$DLLTOOL"; then 4702 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4703else 4704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4705for as_dir in $PATH 4706do 4707 IFS=$as_save_IFS 4708 test -z "$as_dir" && as_dir=. 4709 for ac_exec_ext in '' $ac_executable_extensions; do 4710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4711 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4713 break 2 4714 fi 4715done 4716 done 4717IFS=$as_save_IFS 4718 4719fi 4720fi 4721DLLTOOL=$ac_cv_prog_DLLTOOL 4722if test -n "$DLLTOOL"; then 4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4724$as_echo "$DLLTOOL" >&6; } 4725else 4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4727$as_echo "no" >&6; } 4728fi 4729 4730 4731fi 4732if test -z "$ac_cv_prog_DLLTOOL"; then 4733 ac_ct_DLLTOOL=$DLLTOOL 4734 # Extract the first word of "dlltool", so it can be a program name with args. 4735set dummy dlltool; ac_word=$2 4736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4737$as_echo_n "checking for $ac_word... " >&6; } 4738if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4739 $as_echo_n "(cached) " >&6 4740else 4741 if test -n "$ac_ct_DLLTOOL"; then 4742 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4743else 4744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4745for as_dir in $PATH 4746do 4747 IFS=$as_save_IFS 4748 test -z "$as_dir" && as_dir=. 4749 for ac_exec_ext in '' $ac_executable_extensions; do 4750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4751 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4753 break 2 4754 fi 4755done 4756 done 4757IFS=$as_save_IFS 4758 4759fi 4760fi 4761ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4762if test -n "$ac_ct_DLLTOOL"; then 4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4764$as_echo "$ac_ct_DLLTOOL" >&6; } 4765else 4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4767$as_echo "no" >&6; } 4768fi 4769 4770 if test "x$ac_ct_DLLTOOL" = x; then 4771 DLLTOOL="false" 4772 else 4773 case $cross_compiling:$ac_tool_warned in 4774yes:) 4775{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4776$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4777ac_tool_warned=yes ;; 4778esac 4779 DLLTOOL=$ac_ct_DLLTOOL 4780 fi 4781else 4782 DLLTOOL="$ac_cv_prog_DLLTOOL" 4783fi 4784 4785 if test -n "$ac_tool_prefix"; then 4786 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4787set dummy ${ac_tool_prefix}objdump; ac_word=$2 4788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4789$as_echo_n "checking for $ac_word... " >&6; } 4790if ${ac_cv_prog_OBJDUMP+:} false; then : 4791 $as_echo_n "(cached) " >&6 4792else 4793 if test -n "$OBJDUMP"; then 4794 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4795else 4796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4797for as_dir in $PATH 4798do 4799 IFS=$as_save_IFS 4800 test -z "$as_dir" && as_dir=. 4801 for ac_exec_ext in '' $ac_executable_extensions; do 4802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4803 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4805 break 2 4806 fi 4807done 4808 done 4809IFS=$as_save_IFS 4810 4811fi 4812fi 4813OBJDUMP=$ac_cv_prog_OBJDUMP 4814if test -n "$OBJDUMP"; then 4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4816$as_echo "$OBJDUMP" >&6; } 4817else 4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4819$as_echo "no" >&6; } 4820fi 4821 4822 4823fi 4824if test -z "$ac_cv_prog_OBJDUMP"; then 4825 ac_ct_OBJDUMP=$OBJDUMP 4826 # Extract the first word of "objdump", so it can be a program name with args. 4827set dummy objdump; ac_word=$2 4828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4829$as_echo_n "checking for $ac_word... " >&6; } 4830if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4831 $as_echo_n "(cached) " >&6 4832else 4833 if test -n "$ac_ct_OBJDUMP"; then 4834 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4835else 4836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4837for as_dir in $PATH 4838do 4839 IFS=$as_save_IFS 4840 test -z "$as_dir" && as_dir=. 4841 for ac_exec_ext in '' $ac_executable_extensions; do 4842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4843 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4845 break 2 4846 fi 4847done 4848 done 4849IFS=$as_save_IFS 4850 4851fi 4852fi 4853ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4854if test -n "$ac_ct_OBJDUMP"; then 4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4856$as_echo "$ac_ct_OBJDUMP" >&6; } 4857else 4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4859$as_echo "no" >&6; } 4860fi 4861 4862 if test "x$ac_ct_OBJDUMP" = x; then 4863 OBJDUMP="false" 4864 else 4865 case $cross_compiling:$ac_tool_warned in 4866yes:) 4867{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4868$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4869ac_tool_warned=yes ;; 4870esac 4871 OBJDUMP=$ac_ct_OBJDUMP 4872 fi 4873else 4874 OBJDUMP="$ac_cv_prog_OBJDUMP" 4875fi 4876 4877 ;; 4878esac 4879 4880test -z "$AS" && AS=as 4881 4882 4883 4884 4885 4886test -z "$DLLTOOL" && DLLTOOL=dlltool 4887 4888 4889 4890 4891 4892test -z "$OBJDUMP" && OBJDUMP=objdump 4893 4894 4895 4896 4897 4898 4899 4900 4901# Check whether --enable-debug was given. 4902if test "${enable_debug+set}" = set; then : 4903 enableval=$enable_debug; 4904fi 4905 4906 4907# Check whether --with-ggobi was given. 4908if test "${with_ggobi+set}" = set; then : 4909 withval=$with_ggobi; 4910fi 4911 4912 4913if test -n "../.."; then 4914 GGOBI_PKG_CONFIG_PATH="../.." 4915fi 4916 4917if test -n "$with_ggobi" && ! test "$with_ggobi" = "no" ; then 4918 GGOBI_PKG_CONFIG_PATH="$with_ggobi" 4919fi 4920 4921if test -n "$PKG_CONFIG_PATH"; then 4922 PKG_CONFIG_PATH="$GGOBI_PKG_CONFIG_PATH:$PKG_CONFIG_PATH" 4923else 4924 PKG_CONFIG_PATH="$GGOBI_PKG_CONFIG_PATH" 4925fi 4926 4927echo "pkgconfig path: ${PKG_CONFIG_PATH}" 4928export PKG_CONFIG_PATH 4929 4930 4931pkg_failed=no 4932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GGOBI" >&5 4933$as_echo_n "checking for GGOBI... " >&6; } 4934 4935if test -n "$GGOBI_CFLAGS"; then 4936 pkg_cv_GGOBI_CFLAGS="$GGOBI_CFLAGS" 4937 elif test -n "$PKG_CONFIG"; then 4938 if test -n "$PKG_CONFIG" && \ 4939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ggobi\""; } >&5 4940 ($PKG_CONFIG --exists --print-errors "ggobi") 2>&5 4941 ac_status=$? 4942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4943 test $ac_status = 0; }; then 4944 pkg_cv_GGOBI_CFLAGS=`$PKG_CONFIG --cflags "ggobi" 2>/dev/null` 4945 test "x$?" != "x0" && pkg_failed=yes 4946else 4947 pkg_failed=yes 4948fi 4949 else 4950 pkg_failed=untried 4951fi 4952if test -n "$GGOBI_LIBS"; then 4953 pkg_cv_GGOBI_LIBS="$GGOBI_LIBS" 4954 elif test -n "$PKG_CONFIG"; then 4955 if test -n "$PKG_CONFIG" && \ 4956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ggobi\""; } >&5 4957 ($PKG_CONFIG --exists --print-errors "ggobi") 2>&5 4958 ac_status=$? 4959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4960 test $ac_status = 0; }; then 4961 pkg_cv_GGOBI_LIBS=`$PKG_CONFIG --libs "ggobi" 2>/dev/null` 4962 test "x$?" != "x0" && pkg_failed=yes 4963else 4964 pkg_failed=yes 4965fi 4966 else 4967 pkg_failed=untried 4968fi 4969 4970 4971 4972if test $pkg_failed = yes; then 4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4974$as_echo "no" >&6; } 4975 4976if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4977 _pkg_short_errors_supported=yes 4978else 4979 _pkg_short_errors_supported=no 4980fi 4981 if test $_pkg_short_errors_supported = yes; then 4982 GGOBI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ggobi" 2>&1` 4983 else 4984 GGOBI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ggobi" 2>&1` 4985 fi 4986 # Put the nasty error message in config.log where it belongs 4987 echo "$GGOBI_PKG_ERRORS" >&5 4988 4989 as_fn_error $? "Package requirements (ggobi) were not met: 4990 4991$GGOBI_PKG_ERRORS 4992 4993Consider adjusting the PKG_CONFIG_PATH environment variable if you 4994installed software in a non-standard prefix. 4995 4996Alternatively, you may set the environment variables GGOBI_CFLAGS 4997and GGOBI_LIBS to avoid the need to call pkg-config. 4998See the pkg-config man page for more details." "$LINENO" 5 4999elif test $pkg_failed = untried; then 5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5001$as_echo "no" >&6; } 5002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5003$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5004as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 5005is in your PATH or set the PKG_CONFIG environment variable to the full 5006path to pkg-config. 5007 5008Alternatively, you may set the environment variables GGOBI_CFLAGS 5009and GGOBI_LIBS to avoid the need to call pkg-config. 5010See the pkg-config man page for more details. 5011 5012To get pkg-config, see <http://pkg-config.freedesktop.org/>. 5013See \`config.log' for more details" "$LINENO" 5; } 5014else 5015 GGOBI_CFLAGS=$pkg_cv_GGOBI_CFLAGS 5016 GGOBI_LIBS=$pkg_cv_GGOBI_LIBS 5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5018$as_echo "yes" >&6; } 5019 5020fi 5021 5022 5023 5024if test -n "$enable_debug" && ! test "$enable_debug" = "no" ; then 5025 SRC_DEBUG="-g -Wall" 5026fi 5027 5028 5029 5030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5 5031$as_echo_n "checking for native Win32... " >&6; } 5032case "$host" in 5033 *-*-mingw*) 5034 os_win32=yes 5035 ;; 5036 *) 5037 os_win32=no 5038 ;; 5039esac 5040echo "${os_win32}" 5041 if test "$os_win32" = "yes"; then 5042 OS_WIN32_TRUE= 5043 OS_WIN32_FALSE='#' 5044else 5045 OS_WIN32_TRUE='#' 5046 OS_WIN32_FALSE= 5047fi 5048 5049 5050case `pwd` in 5051 *\ * | *\ *) 5052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5053$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5054esac 5055 5056 5057 5058macro_version='2.4.2' 5059macro_revision='1.3337' 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073ltmain="$ac_aux_dir/ltmain.sh" 5074 5075# Backslashify metacharacters that are still active within 5076# double-quoted strings. 5077sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5078 5079# Same as above, but do not quote variable references. 5080double_quote_subst='s/\(["`\\]\)/\\\1/g' 5081 5082# Sed substitution to delay expansion of an escaped shell variable in a 5083# double_quote_subst'ed string. 5084delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5085 5086# Sed substitution to delay expansion of an escaped single quote. 5087delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5088 5089# Sed substitution to avoid accidental globbing in evaled expressions 5090no_glob_subst='s/\*/\\\*/g' 5091 5092ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5093ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5094ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5095 5096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5097$as_echo_n "checking how to print strings... " >&6; } 5098# Test print first, because it will be a builtin if present. 5099if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5100 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5101 ECHO='print -r --' 5102elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5103 ECHO='printf %s\n' 5104else 5105 # Use this function as a fallback that always works. 5106 func_fallback_echo () 5107 { 5108 eval 'cat <<_LTECHO_EOF 5109$1 5110_LTECHO_EOF' 5111 } 5112 ECHO='func_fallback_echo' 5113fi 5114 5115# func_echo_all arg... 5116# Invoke $ECHO with all args, space-separated. 5117func_echo_all () 5118{ 5119 $ECHO "" 5120} 5121 5122case "$ECHO" in 5123 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5124$as_echo "printf" >&6; } ;; 5125 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5126$as_echo "print -r" >&6; } ;; 5127 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5128$as_echo "cat" >&6; } ;; 5129esac 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5145$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5146if ${ac_cv_path_SED+:} false; then : 5147 $as_echo_n "(cached) " >&6 5148else 5149 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5150 for ac_i in 1 2 3 4 5 6 7; do 5151 ac_script="$ac_script$as_nl$ac_script" 5152 done 5153 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5154 { ac_script=; unset ac_script;} 5155 if test -z "$SED"; then 5156 ac_path_SED_found=false 5157 # Loop through the user's path and test for each of PROGNAME-LIST 5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5159for as_dir in $PATH 5160do 5161 IFS=$as_save_IFS 5162 test -z "$as_dir" && as_dir=. 5163 for ac_prog in sed gsed; do 5164 for ac_exec_ext in '' $ac_executable_extensions; do 5165 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5166 as_fn_executable_p "$ac_path_SED" || continue 5167# Check for GNU ac_path_SED and select it if it is found. 5168 # Check for GNU $ac_path_SED 5169case `"$ac_path_SED" --version 2>&1` in 5170*GNU*) 5171 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5172*) 5173 ac_count=0 5174 $as_echo_n 0123456789 >"conftest.in" 5175 while : 5176 do 5177 cat "conftest.in" "conftest.in" >"conftest.tmp" 5178 mv "conftest.tmp" "conftest.in" 5179 cp "conftest.in" "conftest.nl" 5180 $as_echo '' >> "conftest.nl" 5181 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5182 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5183 as_fn_arith $ac_count + 1 && ac_count=$as_val 5184 if test $ac_count -gt ${ac_path_SED_max-0}; then 5185 # Best one so far, save it but keep looking for a better one 5186 ac_cv_path_SED="$ac_path_SED" 5187 ac_path_SED_max=$ac_count 5188 fi 5189 # 10*(2^10) chars as input seems more than enough 5190 test $ac_count -gt 10 && break 5191 done 5192 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5193esac 5194 5195 $ac_path_SED_found && break 3 5196 done 5197 done 5198 done 5199IFS=$as_save_IFS 5200 if test -z "$ac_cv_path_SED"; then 5201 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5202 fi 5203else 5204 ac_cv_path_SED=$SED 5205fi 5206 5207fi 5208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5209$as_echo "$ac_cv_path_SED" >&6; } 5210 SED="$ac_cv_path_SED" 5211 rm -f conftest.sed 5212 5213test -z "$SED" && SED=sed 5214Xsed="$SED -e 1s/^X//" 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5227$as_echo_n "checking for fgrep... " >&6; } 5228if ${ac_cv_path_FGREP+:} false; then : 5229 $as_echo_n "(cached) " >&6 5230else 5231 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5232 then ac_cv_path_FGREP="$GREP -F" 5233 else 5234 if test -z "$FGREP"; then 5235 ac_path_FGREP_found=false 5236 # Loop through the user's path and test for each of PROGNAME-LIST 5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5238for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5239do 5240 IFS=$as_save_IFS 5241 test -z "$as_dir" && as_dir=. 5242 for ac_prog in fgrep; do 5243 for ac_exec_ext in '' $ac_executable_extensions; do 5244 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5245 as_fn_executable_p "$ac_path_FGREP" || continue 5246# Check for GNU ac_path_FGREP and select it if it is found. 5247 # Check for GNU $ac_path_FGREP 5248case `"$ac_path_FGREP" --version 2>&1` in 5249*GNU*) 5250 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5251*) 5252 ac_count=0 5253 $as_echo_n 0123456789 >"conftest.in" 5254 while : 5255 do 5256 cat "conftest.in" "conftest.in" >"conftest.tmp" 5257 mv "conftest.tmp" "conftest.in" 5258 cp "conftest.in" "conftest.nl" 5259 $as_echo 'FGREP' >> "conftest.nl" 5260 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5261 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5262 as_fn_arith $ac_count + 1 && ac_count=$as_val 5263 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5264 # Best one so far, save it but keep looking for a better one 5265 ac_cv_path_FGREP="$ac_path_FGREP" 5266 ac_path_FGREP_max=$ac_count 5267 fi 5268 # 10*(2^10) chars as input seems more than enough 5269 test $ac_count -gt 10 && break 5270 done 5271 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5272esac 5273 5274 $ac_path_FGREP_found && break 3 5275 done 5276 done 5277 done 5278IFS=$as_save_IFS 5279 if test -z "$ac_cv_path_FGREP"; then 5280 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5281 fi 5282else 5283 ac_cv_path_FGREP=$FGREP 5284fi 5285 5286 fi 5287fi 5288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5289$as_echo "$ac_cv_path_FGREP" >&6; } 5290 FGREP="$ac_cv_path_FGREP" 5291 5292 5293test -z "$GREP" && GREP=grep 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313# Check whether --with-gnu-ld was given. 5314if test "${with_gnu_ld+set}" = set; then : 5315 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5316else 5317 with_gnu_ld=no 5318fi 5319 5320ac_prog=ld 5321if test "$GCC" = yes; then 5322 # Check if gcc -print-prog-name=ld gives a path. 5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5324$as_echo_n "checking for ld used by $CC... " >&6; } 5325 case $host in 5326 *-*-mingw*) 5327 # gcc leaves a trailing carriage return which upsets mingw 5328 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5329 *) 5330 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5331 esac 5332 case $ac_prog in 5333 # Accept absolute paths. 5334 [\\/]* | ?:[\\/]*) 5335 re_direlt='/[^/][^/]*/\.\./' 5336 # Canonicalize the pathname of ld 5337 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5338 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5339 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5340 done 5341 test -z "$LD" && LD="$ac_prog" 5342 ;; 5343 "") 5344 # If it fails, then pretend we aren't using GCC. 5345 ac_prog=ld 5346 ;; 5347 *) 5348 # If it is relative, then search for the first ld in PATH. 5349 with_gnu_ld=unknown 5350 ;; 5351 esac 5352elif test "$with_gnu_ld" = yes; then 5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5354$as_echo_n "checking for GNU ld... " >&6; } 5355else 5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5357$as_echo_n "checking for non-GNU ld... " >&6; } 5358fi 5359if ${lt_cv_path_LD+:} false; then : 5360 $as_echo_n "(cached) " >&6 5361else 5362 if test -z "$LD"; then 5363 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5364 for ac_dir in $PATH; do 5365 IFS="$lt_save_ifs" 5366 test -z "$ac_dir" && ac_dir=. 5367 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5368 lt_cv_path_LD="$ac_dir/$ac_prog" 5369 # Check to see if the program is GNU ld. I'd rather use --version, 5370 # but apparently some variants of GNU ld only accept -v. 5371 # Break only if it was the GNU/non-GNU ld that we prefer. 5372 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5373 *GNU* | *'with BFD'*) 5374 test "$with_gnu_ld" != no && break 5375 ;; 5376 *) 5377 test "$with_gnu_ld" != yes && break 5378 ;; 5379 esac 5380 fi 5381 done 5382 IFS="$lt_save_ifs" 5383else 5384 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5385fi 5386fi 5387 5388LD="$lt_cv_path_LD" 5389if test -n "$LD"; then 5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5391$as_echo "$LD" >&6; } 5392else 5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5394$as_echo "no" >&6; } 5395fi 5396test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5398$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5399if ${lt_cv_prog_gnu_ld+:} false; then : 5400 $as_echo_n "(cached) " >&6 5401else 5402 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5403case `$LD -v 2>&1 </dev/null` in 5404*GNU* | *'with BFD'*) 5405 lt_cv_prog_gnu_ld=yes 5406 ;; 5407*) 5408 lt_cv_prog_gnu_ld=no 5409 ;; 5410esac 5411fi 5412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5413$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5414with_gnu_ld=$lt_cv_prog_gnu_ld 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5425$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5426if ${lt_cv_path_NM+:} false; then : 5427 $as_echo_n "(cached) " >&6 5428else 5429 if test -n "$NM"; then 5430 # Let the user override the test. 5431 lt_cv_path_NM="$NM" 5432else 5433 lt_nm_to_check="${ac_tool_prefix}nm" 5434 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5435 lt_nm_to_check="$lt_nm_to_check nm" 5436 fi 5437 for lt_tmp_nm in $lt_nm_to_check; do 5438 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5439 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5440 IFS="$lt_save_ifs" 5441 test -z "$ac_dir" && ac_dir=. 5442 tmp_nm="$ac_dir/$lt_tmp_nm" 5443 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5444 # Check to see if the nm accepts a BSD-compat flag. 5445 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5446 # nm: unknown option "B" ignored 5447 # Tru64's nm complains that /dev/null is an invalid object file 5448 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5449 */dev/null* | *'Invalid file or object type'*) 5450 lt_cv_path_NM="$tmp_nm -B" 5451 break 5452 ;; 5453 *) 5454 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5455 */dev/null*) 5456 lt_cv_path_NM="$tmp_nm -p" 5457 break 5458 ;; 5459 *) 5460 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5461 continue # so that we can try to find one that supports BSD flags 5462 ;; 5463 esac 5464 ;; 5465 esac 5466 fi 5467 done 5468 IFS="$lt_save_ifs" 5469 done 5470 : ${lt_cv_path_NM=no} 5471fi 5472fi 5473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5474$as_echo "$lt_cv_path_NM" >&6; } 5475if test "$lt_cv_path_NM" != "no"; then 5476 NM="$lt_cv_path_NM" 5477else 5478 # Didn't find any BSD compatible name lister, look for dumpbin. 5479 if test -n "$DUMPBIN"; then : 5480 # Let the user override the test. 5481 else 5482 if test -n "$ac_tool_prefix"; then 5483 for ac_prog in dumpbin "link -dump" 5484 do 5485 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5486set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5488$as_echo_n "checking for $ac_word... " >&6; } 5489if ${ac_cv_prog_DUMPBIN+:} false; then : 5490 $as_echo_n "(cached) " >&6 5491else 5492 if test -n "$DUMPBIN"; then 5493 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5494else 5495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5496for as_dir in $PATH 5497do 5498 IFS=$as_save_IFS 5499 test -z "$as_dir" && as_dir=. 5500 for ac_exec_ext in '' $ac_executable_extensions; do 5501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5502 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5504 break 2 5505 fi 5506done 5507 done 5508IFS=$as_save_IFS 5509 5510fi 5511fi 5512DUMPBIN=$ac_cv_prog_DUMPBIN 5513if test -n "$DUMPBIN"; then 5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5515$as_echo "$DUMPBIN" >&6; } 5516else 5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5518$as_echo "no" >&6; } 5519fi 5520 5521 5522 test -n "$DUMPBIN" && break 5523 done 5524fi 5525if test -z "$DUMPBIN"; then 5526 ac_ct_DUMPBIN=$DUMPBIN 5527 for ac_prog in dumpbin "link -dump" 5528do 5529 # Extract the first word of "$ac_prog", so it can be a program name with args. 5530set dummy $ac_prog; ac_word=$2 5531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5532$as_echo_n "checking for $ac_word... " >&6; } 5533if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5534 $as_echo_n "(cached) " >&6 5535else 5536 if test -n "$ac_ct_DUMPBIN"; then 5537 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5538else 5539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5540for as_dir in $PATH 5541do 5542 IFS=$as_save_IFS 5543 test -z "$as_dir" && as_dir=. 5544 for ac_exec_ext in '' $ac_executable_extensions; do 5545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5546 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5548 break 2 5549 fi 5550done 5551 done 5552IFS=$as_save_IFS 5553 5554fi 5555fi 5556ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5557if test -n "$ac_ct_DUMPBIN"; then 5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5559$as_echo "$ac_ct_DUMPBIN" >&6; } 5560else 5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5562$as_echo "no" >&6; } 5563fi 5564 5565 5566 test -n "$ac_ct_DUMPBIN" && break 5567done 5568 5569 if test "x$ac_ct_DUMPBIN" = x; then 5570 DUMPBIN=":" 5571 else 5572 case $cross_compiling:$ac_tool_warned in 5573yes:) 5574{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5575$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5576ac_tool_warned=yes ;; 5577esac 5578 DUMPBIN=$ac_ct_DUMPBIN 5579 fi 5580fi 5581 5582 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5583 *COFF*) 5584 DUMPBIN="$DUMPBIN -symbols" 5585 ;; 5586 *) 5587 DUMPBIN=: 5588 ;; 5589 esac 5590 fi 5591 5592 if test "$DUMPBIN" != ":"; then 5593 NM="$DUMPBIN" 5594 fi 5595fi 5596test -z "$NM" && NM=nm 5597 5598 5599 5600 5601 5602 5603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5604$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5605if ${lt_cv_nm_interface+:} false; then : 5606 $as_echo_n "(cached) " >&6 5607else 5608 lt_cv_nm_interface="BSD nm" 5609 echo "int some_variable = 0;" > conftest.$ac_ext 5610 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5611 (eval "$ac_compile" 2>conftest.err) 5612 cat conftest.err >&5 5613 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5614 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5615 cat conftest.err >&5 5616 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5617 cat conftest.out >&5 5618 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5619 lt_cv_nm_interface="MS dumpbin" 5620 fi 5621 rm -f conftest* 5622fi 5623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5624$as_echo "$lt_cv_nm_interface" >&6; } 5625 5626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5627$as_echo_n "checking whether ln -s works... " >&6; } 5628LN_S=$as_ln_s 5629if test "$LN_S" = "ln -s"; then 5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5631$as_echo "yes" >&6; } 5632else 5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5634$as_echo "no, using $LN_S" >&6; } 5635fi 5636 5637# find the maximum length of command line arguments 5638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5639$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5640if ${lt_cv_sys_max_cmd_len+:} false; then : 5641 $as_echo_n "(cached) " >&6 5642else 5643 i=0 5644 teststring="ABCD" 5645 5646 case $build_os in 5647 msdosdjgpp*) 5648 # On DJGPP, this test can blow up pretty badly due to problems in libc 5649 # (any single argument exceeding 2000 bytes causes a buffer overrun 5650 # during glob expansion). Even if it were fixed, the result of this 5651 # check would be larger than it should be. 5652 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5653 ;; 5654 5655 gnu*) 5656 # Under GNU Hurd, this test is not required because there is 5657 # no limit to the length of command line arguments. 5658 # Libtool will interpret -1 as no limit whatsoever 5659 lt_cv_sys_max_cmd_len=-1; 5660 ;; 5661 5662 cygwin* | mingw* | cegcc*) 5663 # On Win9x/ME, this test blows up -- it succeeds, but takes 5664 # about 5 minutes as the teststring grows exponentially. 5665 # Worse, since 9x/ME are not pre-emptively multitasking, 5666 # you end up with a "frozen" computer, even though with patience 5667 # the test eventually succeeds (with a max line length of 256k). 5668 # Instead, let's just punt: use the minimum linelength reported by 5669 # all of the supported platforms: 8192 (on NT/2K/XP). 5670 lt_cv_sys_max_cmd_len=8192; 5671 ;; 5672 5673 mint*) 5674 # On MiNT this can take a long time and run out of memory. 5675 lt_cv_sys_max_cmd_len=8192; 5676 ;; 5677 5678 amigaos*) 5679 # On AmigaOS with pdksh, this test takes hours, literally. 5680 # So we just punt and use a minimum line length of 8192. 5681 lt_cv_sys_max_cmd_len=8192; 5682 ;; 5683 5684 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5685 # This has been around since 386BSD, at least. Likely further. 5686 if test -x /sbin/sysctl; then 5687 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5688 elif test -x /usr/sbin/sysctl; then 5689 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5690 else 5691 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5692 fi 5693 # And add a safety zone 5694 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5695 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5696 ;; 5697 5698 interix*) 5699 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5700 lt_cv_sys_max_cmd_len=196608 5701 ;; 5702 5703 os2*) 5704 # The test takes a long time on OS/2. 5705 lt_cv_sys_max_cmd_len=8192 5706 ;; 5707 5708 osf*) 5709 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5710 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5711 # nice to cause kernel panics so lets avoid the loop below. 5712 # First set a reasonable default. 5713 lt_cv_sys_max_cmd_len=16384 5714 # 5715 if test -x /sbin/sysconfig; then 5716 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5717 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5718 esac 5719 fi 5720 ;; 5721 sco3.2v5*) 5722 lt_cv_sys_max_cmd_len=102400 5723 ;; 5724 sysv5* | sco5v6* | sysv4.2uw2*) 5725 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5726 if test -n "$kargmax"; then 5727 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5728 else 5729 lt_cv_sys_max_cmd_len=32768 5730 fi 5731 ;; 5732 *) 5733 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5734 if test -n "$lt_cv_sys_max_cmd_len"; then 5735 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5736 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5737 else 5738 # Make teststring a little bigger before we do anything with it. 5739 # a 1K string should be a reasonable start. 5740 for i in 1 2 3 4 5 6 7 8 ; do 5741 teststring=$teststring$teststring 5742 done 5743 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5744 # If test is not a shell built-in, we'll probably end up computing a 5745 # maximum length that is only half of the actual maximum length, but 5746 # we can't tell. 5747 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5748 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5749 test $i != 17 # 1/2 MB should be enough 5750 do 5751 i=`expr $i + 1` 5752 teststring=$teststring$teststring 5753 done 5754 # Only check the string length outside the loop. 5755 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5756 teststring= 5757 # Add a significant safety factor because C++ compilers can tack on 5758 # massive amounts of additional arguments before passing them to the 5759 # linker. It appears as though 1/2 is a usable value. 5760 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5761 fi 5762 ;; 5763 esac 5764 5765fi 5766 5767if test -n $lt_cv_sys_max_cmd_len ; then 5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5769$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5770else 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5772$as_echo "none" >&6; } 5773fi 5774max_cmd_len=$lt_cv_sys_max_cmd_len 5775 5776 5777 5778 5779 5780 5781: ${CP="cp -f"} 5782: ${MV="mv -f"} 5783: ${RM="rm -f"} 5784 5785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5786$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5787# Try some XSI features 5788xsi_shell=no 5789( _lt_dummy="a/b/c" 5790 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5791 = c,a/b,b/c, \ 5792 && eval 'test $(( 1 + 1 )) -eq 2 \ 5793 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5794 && xsi_shell=yes 5795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5796$as_echo "$xsi_shell" >&6; } 5797 5798 5799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5800$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5801lt_shell_append=no 5802( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5803 >/dev/null 2>&1 \ 5804 && lt_shell_append=yes 5805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5806$as_echo "$lt_shell_append" >&6; } 5807 5808 5809if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5810 lt_unset=unset 5811else 5812 lt_unset=false 5813fi 5814 5815 5816 5817 5818 5819# test EBCDIC or ASCII 5820case `echo X|tr X '\101'` in 5821 A) # ASCII based system 5822 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5823 lt_SP2NL='tr \040 \012' 5824 lt_NL2SP='tr \015\012 \040\040' 5825 ;; 5826 *) # EBCDIC based system 5827 lt_SP2NL='tr \100 \n' 5828 lt_NL2SP='tr \r\n \100\100' 5829 ;; 5830esac 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5841$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5842if ${lt_cv_to_host_file_cmd+:} false; then : 5843 $as_echo_n "(cached) " >&6 5844else 5845 case $host in 5846 *-*-mingw* ) 5847 case $build in 5848 *-*-mingw* ) # actually msys 5849 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5850 ;; 5851 *-*-cygwin* ) 5852 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5853 ;; 5854 * ) # otherwise, assume *nix 5855 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5856 ;; 5857 esac 5858 ;; 5859 *-*-cygwin* ) 5860 case $build in 5861 *-*-mingw* ) # actually msys 5862 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5863 ;; 5864 *-*-cygwin* ) 5865 lt_cv_to_host_file_cmd=func_convert_file_noop 5866 ;; 5867 * ) # otherwise, assume *nix 5868 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5869 ;; 5870 esac 5871 ;; 5872 * ) # unhandled hosts (and "normal" native builds) 5873 lt_cv_to_host_file_cmd=func_convert_file_noop 5874 ;; 5875esac 5876 5877fi 5878 5879to_host_file_cmd=$lt_cv_to_host_file_cmd 5880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5881$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5882 5883 5884 5885 5886 5887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5888$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5889if ${lt_cv_to_tool_file_cmd+:} false; then : 5890 $as_echo_n "(cached) " >&6 5891else 5892 #assume ordinary cross tools, or native build. 5893lt_cv_to_tool_file_cmd=func_convert_file_noop 5894case $host in 5895 *-*-mingw* ) 5896 case $build in 5897 *-*-mingw* ) # actually msys 5898 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5899 ;; 5900 esac 5901 ;; 5902esac 5903 5904fi 5905 5906to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5908$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5909 5910 5911 5912 5913 5914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5915$as_echo_n "checking for $LD option to reload object files... " >&6; } 5916if ${lt_cv_ld_reload_flag+:} false; then : 5917 $as_echo_n "(cached) " >&6 5918else 5919 lt_cv_ld_reload_flag='-r' 5920fi 5921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5922$as_echo "$lt_cv_ld_reload_flag" >&6; } 5923reload_flag=$lt_cv_ld_reload_flag 5924case $reload_flag in 5925"" | " "*) ;; 5926*) reload_flag=" $reload_flag" ;; 5927esac 5928reload_cmds='$LD$reload_flag -o $output$reload_objs' 5929case $host_os in 5930 cygwin* | mingw* | pw32* | cegcc*) 5931 if test "$GCC" != yes; then 5932 reload_cmds=false 5933 fi 5934 ;; 5935 darwin*) 5936 if test "$GCC" = yes; then 5937 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5938 else 5939 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5940 fi 5941 ;; 5942esac 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952if test -n "$ac_tool_prefix"; then 5953 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5954set dummy ${ac_tool_prefix}objdump; ac_word=$2 5955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5956$as_echo_n "checking for $ac_word... " >&6; } 5957if ${ac_cv_prog_OBJDUMP+:} false; then : 5958 $as_echo_n "(cached) " >&6 5959else 5960 if test -n "$OBJDUMP"; then 5961 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5962else 5963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5964for as_dir in $PATH 5965do 5966 IFS=$as_save_IFS 5967 test -z "$as_dir" && as_dir=. 5968 for ac_exec_ext in '' $ac_executable_extensions; do 5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5970 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5972 break 2 5973 fi 5974done 5975 done 5976IFS=$as_save_IFS 5977 5978fi 5979fi 5980OBJDUMP=$ac_cv_prog_OBJDUMP 5981if test -n "$OBJDUMP"; then 5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5983$as_echo "$OBJDUMP" >&6; } 5984else 5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5986$as_echo "no" >&6; } 5987fi 5988 5989 5990fi 5991if test -z "$ac_cv_prog_OBJDUMP"; then 5992 ac_ct_OBJDUMP=$OBJDUMP 5993 # Extract the first word of "objdump", so it can be a program name with args. 5994set dummy objdump; ac_word=$2 5995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5996$as_echo_n "checking for $ac_word... " >&6; } 5997if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5998 $as_echo_n "(cached) " >&6 5999else 6000 if test -n "$ac_ct_OBJDUMP"; then 6001 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6002else 6003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6004for as_dir in $PATH 6005do 6006 IFS=$as_save_IFS 6007 test -z "$as_dir" && as_dir=. 6008 for ac_exec_ext in '' $ac_executable_extensions; do 6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6010 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6012 break 2 6013 fi 6014done 6015 done 6016IFS=$as_save_IFS 6017 6018fi 6019fi 6020ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6021if test -n "$ac_ct_OBJDUMP"; then 6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6023$as_echo "$ac_ct_OBJDUMP" >&6; } 6024else 6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6026$as_echo "no" >&6; } 6027fi 6028 6029 if test "x$ac_ct_OBJDUMP" = x; then 6030 OBJDUMP="false" 6031 else 6032 case $cross_compiling:$ac_tool_warned in 6033yes:) 6034{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6035$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6036ac_tool_warned=yes ;; 6037esac 6038 OBJDUMP=$ac_ct_OBJDUMP 6039 fi 6040else 6041 OBJDUMP="$ac_cv_prog_OBJDUMP" 6042fi 6043 6044test -z "$OBJDUMP" && OBJDUMP=objdump 6045 6046 6047 6048 6049 6050 6051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6052$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6053if ${lt_cv_deplibs_check_method+:} false; then : 6054 $as_echo_n "(cached) " >&6 6055else 6056 lt_cv_file_magic_cmd='$MAGIC_CMD' 6057lt_cv_file_magic_test_file= 6058lt_cv_deplibs_check_method='unknown' 6059# Need to set the preceding variable on all platforms that support 6060# interlibrary dependencies. 6061# 'none' -- dependencies not supported. 6062# `unknown' -- same as none, but documents that we really don't know. 6063# 'pass_all' -- all dependencies passed with no checks. 6064# 'test_compile' -- check by making test program. 6065# 'file_magic [[regex]]' -- check by looking for files in library path 6066# which responds to the $file_magic_cmd with a given extended regex. 6067# If you have `file' or equivalent on your system and you're not sure 6068# whether `pass_all' will *always* work, you probably want this one. 6069 6070case $host_os in 6071aix[4-9]*) 6072 lt_cv_deplibs_check_method=pass_all 6073 ;; 6074 6075beos*) 6076 lt_cv_deplibs_check_method=pass_all 6077 ;; 6078 6079bsdi[45]*) 6080 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6081 lt_cv_file_magic_cmd='/usr/bin/file -L' 6082 lt_cv_file_magic_test_file=/shlib/libc.so 6083 ;; 6084 6085cygwin*) 6086 # func_win32_libid is a shell function defined in ltmain.sh 6087 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6088 lt_cv_file_magic_cmd='func_win32_libid' 6089 ;; 6090 6091mingw* | pw32*) 6092 # Base MSYS/MinGW do not provide the 'file' command needed by 6093 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6094 # unless we find 'file', for example because we are cross-compiling. 6095 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 6096 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 6097 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6098 lt_cv_file_magic_cmd='func_win32_libid' 6099 else 6100 # Keep this pattern in sync with the one in func_win32_libid. 6101 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6102 lt_cv_file_magic_cmd='$OBJDUMP -f' 6103 fi 6104 ;; 6105 6106cegcc*) 6107 # use the weaker test based on 'objdump'. See mingw*. 6108 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6109 lt_cv_file_magic_cmd='$OBJDUMP -f' 6110 ;; 6111 6112darwin* | rhapsody*) 6113 lt_cv_deplibs_check_method=pass_all 6114 ;; 6115 6116freebsd* | dragonfly*) 6117 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6118 case $host_cpu in 6119 i*86 ) 6120 # Not sure whether the presence of OpenBSD here was a mistake. 6121 # Let's accept both of them until this is cleared up. 6122 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6123 lt_cv_file_magic_cmd=/usr/bin/file 6124 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6125 ;; 6126 esac 6127 else 6128 lt_cv_deplibs_check_method=pass_all 6129 fi 6130 ;; 6131 6132gnu*) 6133 lt_cv_deplibs_check_method=pass_all 6134 ;; 6135 6136haiku*) 6137 lt_cv_deplibs_check_method=pass_all 6138 ;; 6139 6140hpux10.20* | hpux11*) 6141 lt_cv_file_magic_cmd=/usr/bin/file 6142 case $host_cpu in 6143 ia64*) 6144 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6145 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6146 ;; 6147 hppa*64*) 6148 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]' 6149 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6150 ;; 6151 *) 6152 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6153 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6154 ;; 6155 esac 6156 ;; 6157 6158interix[3-9]*) 6159 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6160 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6161 ;; 6162 6163irix5* | irix6* | nonstopux*) 6164 case $LD in 6165 *-32|*"-32 ") libmagic=32-bit;; 6166 *-n32|*"-n32 ") libmagic=N32;; 6167 *-64|*"-64 ") libmagic=64-bit;; 6168 *) libmagic=never-match;; 6169 esac 6170 lt_cv_deplibs_check_method=pass_all 6171 ;; 6172 6173# This must be glibc/ELF. 6174linux* | k*bsd*-gnu | kopensolaris*-gnu) 6175 lt_cv_deplibs_check_method=pass_all 6176 ;; 6177 6178netbsd*) 6179 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6180 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6181 else 6182 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6183 fi 6184 ;; 6185 6186newos6*) 6187 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6188 lt_cv_file_magic_cmd=/usr/bin/file 6189 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6190 ;; 6191 6192*nto* | *qnx*) 6193 lt_cv_deplibs_check_method=pass_all 6194 ;; 6195 6196openbsd*) 6197 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6198 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6199 else 6200 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6201 fi 6202 ;; 6203 6204osf3* | osf4* | osf5*) 6205 lt_cv_deplibs_check_method=pass_all 6206 ;; 6207 6208rdos*) 6209 lt_cv_deplibs_check_method=pass_all 6210 ;; 6211 6212solaris*) 6213 lt_cv_deplibs_check_method=pass_all 6214 ;; 6215 6216sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6217 lt_cv_deplibs_check_method=pass_all 6218 ;; 6219 6220sysv4 | sysv4.3*) 6221 case $host_vendor in 6222 motorola) 6223 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]' 6224 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6225 ;; 6226 ncr) 6227 lt_cv_deplibs_check_method=pass_all 6228 ;; 6229 sequent) 6230 lt_cv_file_magic_cmd='/bin/file' 6231 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6232 ;; 6233 sni) 6234 lt_cv_file_magic_cmd='/bin/file' 6235 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6236 lt_cv_file_magic_test_file=/lib/libc.so 6237 ;; 6238 siemens) 6239 lt_cv_deplibs_check_method=pass_all 6240 ;; 6241 pc) 6242 lt_cv_deplibs_check_method=pass_all 6243 ;; 6244 esac 6245 ;; 6246 6247tpf*) 6248 lt_cv_deplibs_check_method=pass_all 6249 ;; 6250esac 6251 6252fi 6253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6254$as_echo "$lt_cv_deplibs_check_method" >&6; } 6255 6256file_magic_glob= 6257want_nocaseglob=no 6258if test "$build" = "$host"; then 6259 case $host_os in 6260 mingw* | pw32*) 6261 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6262 want_nocaseglob=yes 6263 else 6264 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6265 fi 6266 ;; 6267 esac 6268fi 6269 6270file_magic_cmd=$lt_cv_file_magic_cmd 6271deplibs_check_method=$lt_cv_deplibs_check_method 6272test -z "$deplibs_check_method" && deplibs_check_method=unknown 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295if test -n "$ac_tool_prefix"; then 6296 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6297set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6299$as_echo_n "checking for $ac_word... " >&6; } 6300if ${ac_cv_prog_DLLTOOL+:} false; then : 6301 $as_echo_n "(cached) " >&6 6302else 6303 if test -n "$DLLTOOL"; then 6304 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6305else 6306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6307for as_dir in $PATH 6308do 6309 IFS=$as_save_IFS 6310 test -z "$as_dir" && as_dir=. 6311 for ac_exec_ext in '' $ac_executable_extensions; do 6312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6313 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6315 break 2 6316 fi 6317done 6318 done 6319IFS=$as_save_IFS 6320 6321fi 6322fi 6323DLLTOOL=$ac_cv_prog_DLLTOOL 6324if test -n "$DLLTOOL"; then 6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6326$as_echo "$DLLTOOL" >&6; } 6327else 6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6329$as_echo "no" >&6; } 6330fi 6331 6332 6333fi 6334if test -z "$ac_cv_prog_DLLTOOL"; then 6335 ac_ct_DLLTOOL=$DLLTOOL 6336 # Extract the first word of "dlltool", so it can be a program name with args. 6337set dummy dlltool; ac_word=$2 6338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6339$as_echo_n "checking for $ac_word... " >&6; } 6340if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6341 $as_echo_n "(cached) " >&6 6342else 6343 if test -n "$ac_ct_DLLTOOL"; then 6344 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6345else 6346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6347for as_dir in $PATH 6348do 6349 IFS=$as_save_IFS 6350 test -z "$as_dir" && as_dir=. 6351 for ac_exec_ext in '' $ac_executable_extensions; do 6352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6353 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6355 break 2 6356 fi 6357done 6358 done 6359IFS=$as_save_IFS 6360 6361fi 6362fi 6363ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6364if test -n "$ac_ct_DLLTOOL"; then 6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6366$as_echo "$ac_ct_DLLTOOL" >&6; } 6367else 6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6369$as_echo "no" >&6; } 6370fi 6371 6372 if test "x$ac_ct_DLLTOOL" = x; then 6373 DLLTOOL="false" 6374 else 6375 case $cross_compiling:$ac_tool_warned in 6376yes:) 6377{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6378$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6379ac_tool_warned=yes ;; 6380esac 6381 DLLTOOL=$ac_ct_DLLTOOL 6382 fi 6383else 6384 DLLTOOL="$ac_cv_prog_DLLTOOL" 6385fi 6386 6387test -z "$DLLTOOL" && DLLTOOL=dlltool 6388 6389 6390 6391 6392 6393 6394 6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6396$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6397if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6398 $as_echo_n "(cached) " >&6 6399else 6400 lt_cv_sharedlib_from_linklib_cmd='unknown' 6401 6402case $host_os in 6403cygwin* | mingw* | pw32* | cegcc*) 6404 # two different shell functions defined in ltmain.sh 6405 # decide which to use based on capabilities of $DLLTOOL 6406 case `$DLLTOOL --help 2>&1` in 6407 *--identify-strict*) 6408 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6409 ;; 6410 *) 6411 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6412 ;; 6413 esac 6414 ;; 6415*) 6416 # fallback: assume linklib IS sharedlib 6417 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6418 ;; 6419esac 6420 6421fi 6422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6423$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6424sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6425test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6426 6427 6428 6429 6430 6431 6432 6433if test -n "$ac_tool_prefix"; then 6434 for ac_prog in ar 6435 do 6436 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6437set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6439$as_echo_n "checking for $ac_word... " >&6; } 6440if ${ac_cv_prog_AR+:} false; then : 6441 $as_echo_n "(cached) " >&6 6442else 6443 if test -n "$AR"; then 6444 ac_cv_prog_AR="$AR" # Let the user override the test. 6445else 6446as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6447for as_dir in $PATH 6448do 6449 IFS=$as_save_IFS 6450 test -z "$as_dir" && as_dir=. 6451 for ac_exec_ext in '' $ac_executable_extensions; do 6452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6453 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6455 break 2 6456 fi 6457done 6458 done 6459IFS=$as_save_IFS 6460 6461fi 6462fi 6463AR=$ac_cv_prog_AR 6464if test -n "$AR"; then 6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6466$as_echo "$AR" >&6; } 6467else 6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6469$as_echo "no" >&6; } 6470fi 6471 6472 6473 test -n "$AR" && break 6474 done 6475fi 6476if test -z "$AR"; then 6477 ac_ct_AR=$AR 6478 for ac_prog in ar 6479do 6480 # Extract the first word of "$ac_prog", so it can be a program name with args. 6481set dummy $ac_prog; ac_word=$2 6482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6483$as_echo_n "checking for $ac_word... " >&6; } 6484if ${ac_cv_prog_ac_ct_AR+:} false; then : 6485 $as_echo_n "(cached) " >&6 6486else 6487 if test -n "$ac_ct_AR"; then 6488 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6489else 6490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6491for as_dir in $PATH 6492do 6493 IFS=$as_save_IFS 6494 test -z "$as_dir" && as_dir=. 6495 for ac_exec_ext in '' $ac_executable_extensions; do 6496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6497 ac_cv_prog_ac_ct_AR="$ac_prog" 6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6499 break 2 6500 fi 6501done 6502 done 6503IFS=$as_save_IFS 6504 6505fi 6506fi 6507ac_ct_AR=$ac_cv_prog_ac_ct_AR 6508if test -n "$ac_ct_AR"; then 6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6510$as_echo "$ac_ct_AR" >&6; } 6511else 6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6513$as_echo "no" >&6; } 6514fi 6515 6516 6517 test -n "$ac_ct_AR" && break 6518done 6519 6520 if test "x$ac_ct_AR" = x; then 6521 AR="false" 6522 else 6523 case $cross_compiling:$ac_tool_warned in 6524yes:) 6525{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6526$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6527ac_tool_warned=yes ;; 6528esac 6529 AR=$ac_ct_AR 6530 fi 6531fi 6532 6533: ${AR=ar} 6534: ${AR_FLAGS=cru} 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6547$as_echo_n "checking for archiver @FILE support... " >&6; } 6548if ${lt_cv_ar_at_file+:} false; then : 6549 $as_echo_n "(cached) " >&6 6550else 6551 lt_cv_ar_at_file=no 6552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6553/* end confdefs.h. */ 6554 6555int 6556main () 6557{ 6558 6559 ; 6560 return 0; 6561} 6562_ACEOF 6563if ac_fn_c_try_compile "$LINENO"; then : 6564 echo conftest.$ac_objext > conftest.lst 6565 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6566 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6567 (eval $lt_ar_try) 2>&5 6568 ac_status=$? 6569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6570 test $ac_status = 0; } 6571 if test "$ac_status" -eq 0; then 6572 # Ensure the archiver fails upon bogus file names. 6573 rm -f conftest.$ac_objext libconftest.a 6574 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6575 (eval $lt_ar_try) 2>&5 6576 ac_status=$? 6577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6578 test $ac_status = 0; } 6579 if test "$ac_status" -ne 0; then 6580 lt_cv_ar_at_file=@ 6581 fi 6582 fi 6583 rm -f conftest.* libconftest.a 6584 6585fi 6586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6587 6588fi 6589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6590$as_echo "$lt_cv_ar_at_file" >&6; } 6591 6592if test "x$lt_cv_ar_at_file" = xno; then 6593 archiver_list_spec= 6594else 6595 archiver_list_spec=$lt_cv_ar_at_file 6596fi 6597 6598 6599 6600 6601 6602 6603 6604if test -n "$ac_tool_prefix"; then 6605 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6606set dummy ${ac_tool_prefix}strip; ac_word=$2 6607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6608$as_echo_n "checking for $ac_word... " >&6; } 6609if ${ac_cv_prog_STRIP+:} false; then : 6610 $as_echo_n "(cached) " >&6 6611else 6612 if test -n "$STRIP"; then 6613 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6614else 6615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6616for as_dir in $PATH 6617do 6618 IFS=$as_save_IFS 6619 test -z "$as_dir" && as_dir=. 6620 for ac_exec_ext in '' $ac_executable_extensions; do 6621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6622 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6624 break 2 6625 fi 6626done 6627 done 6628IFS=$as_save_IFS 6629 6630fi 6631fi 6632STRIP=$ac_cv_prog_STRIP 6633if test -n "$STRIP"; then 6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6635$as_echo "$STRIP" >&6; } 6636else 6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6638$as_echo "no" >&6; } 6639fi 6640 6641 6642fi 6643if test -z "$ac_cv_prog_STRIP"; then 6644 ac_ct_STRIP=$STRIP 6645 # Extract the first word of "strip", so it can be a program name with args. 6646set dummy strip; ac_word=$2 6647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6648$as_echo_n "checking for $ac_word... " >&6; } 6649if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6650 $as_echo_n "(cached) " >&6 6651else 6652 if test -n "$ac_ct_STRIP"; then 6653 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6654else 6655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6656for as_dir in $PATH 6657do 6658 IFS=$as_save_IFS 6659 test -z "$as_dir" && as_dir=. 6660 for ac_exec_ext in '' $ac_executable_extensions; do 6661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6662 ac_cv_prog_ac_ct_STRIP="strip" 6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6664 break 2 6665 fi 6666done 6667 done 6668IFS=$as_save_IFS 6669 6670fi 6671fi 6672ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6673if test -n "$ac_ct_STRIP"; then 6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6675$as_echo "$ac_ct_STRIP" >&6; } 6676else 6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6678$as_echo "no" >&6; } 6679fi 6680 6681 if test "x$ac_ct_STRIP" = x; then 6682 STRIP=":" 6683 else 6684 case $cross_compiling:$ac_tool_warned in 6685yes:) 6686{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6687$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6688ac_tool_warned=yes ;; 6689esac 6690 STRIP=$ac_ct_STRIP 6691 fi 6692else 6693 STRIP="$ac_cv_prog_STRIP" 6694fi 6695 6696test -z "$STRIP" && STRIP=: 6697 6698 6699 6700 6701 6702 6703if test -n "$ac_tool_prefix"; then 6704 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6705set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6707$as_echo_n "checking for $ac_word... " >&6; } 6708if ${ac_cv_prog_RANLIB+:} false; then : 6709 $as_echo_n "(cached) " >&6 6710else 6711 if test -n "$RANLIB"; then 6712 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6713else 6714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6715for as_dir in $PATH 6716do 6717 IFS=$as_save_IFS 6718 test -z "$as_dir" && as_dir=. 6719 for ac_exec_ext in '' $ac_executable_extensions; do 6720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6721 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6723 break 2 6724 fi 6725done 6726 done 6727IFS=$as_save_IFS 6728 6729fi 6730fi 6731RANLIB=$ac_cv_prog_RANLIB 6732if test -n "$RANLIB"; then 6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6734$as_echo "$RANLIB" >&6; } 6735else 6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6737$as_echo "no" >&6; } 6738fi 6739 6740 6741fi 6742if test -z "$ac_cv_prog_RANLIB"; then 6743 ac_ct_RANLIB=$RANLIB 6744 # Extract the first word of "ranlib", so it can be a program name with args. 6745set dummy ranlib; ac_word=$2 6746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6747$as_echo_n "checking for $ac_word... " >&6; } 6748if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6749 $as_echo_n "(cached) " >&6 6750else 6751 if test -n "$ac_ct_RANLIB"; then 6752 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6753else 6754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6755for as_dir in $PATH 6756do 6757 IFS=$as_save_IFS 6758 test -z "$as_dir" && as_dir=. 6759 for ac_exec_ext in '' $ac_executable_extensions; do 6760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6761 ac_cv_prog_ac_ct_RANLIB="ranlib" 6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6763 break 2 6764 fi 6765done 6766 done 6767IFS=$as_save_IFS 6768 6769fi 6770fi 6771ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6772if test -n "$ac_ct_RANLIB"; then 6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6774$as_echo "$ac_ct_RANLIB" >&6; } 6775else 6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6777$as_echo "no" >&6; } 6778fi 6779 6780 if test "x$ac_ct_RANLIB" = x; then 6781 RANLIB=":" 6782 else 6783 case $cross_compiling:$ac_tool_warned in 6784yes:) 6785{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6786$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6787ac_tool_warned=yes ;; 6788esac 6789 RANLIB=$ac_ct_RANLIB 6790 fi 6791else 6792 RANLIB="$ac_cv_prog_RANLIB" 6793fi 6794 6795test -z "$RANLIB" && RANLIB=: 6796 6797 6798 6799 6800 6801 6802# Determine commands to create old-style static archives. 6803old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6804old_postinstall_cmds='chmod 644 $oldlib' 6805old_postuninstall_cmds= 6806 6807if test -n "$RANLIB"; then 6808 case $host_os in 6809 openbsd*) 6810 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6811 ;; 6812 *) 6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6814 ;; 6815 esac 6816 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6817fi 6818 6819case $host_os in 6820 darwin*) 6821 lock_old_archive_extraction=yes ;; 6822 *) 6823 lock_old_archive_extraction=no ;; 6824esac 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864# If no C compiler was specified, use CC. 6865LTCC=${LTCC-"$CC"} 6866 6867# If no C compiler flags were specified, use CFLAGS. 6868LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6869 6870# Allow CC to be a program name with arguments. 6871compiler=$CC 6872 6873 6874# Check for command to grab the raw symbol name followed by C symbol from nm. 6875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6876$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6877if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6878 $as_echo_n "(cached) " >&6 6879else 6880 6881# These are sane defaults that work on at least a few old systems. 6882# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6883 6884# Character class describing NM global symbol codes. 6885symcode='[BCDEGRST]' 6886 6887# Regexp to match symbols that can be accessed directly from C. 6888sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6889 6890# Define system-specific variables. 6891case $host_os in 6892aix*) 6893 symcode='[BCDT]' 6894 ;; 6895cygwin* | mingw* | pw32* | cegcc*) 6896 symcode='[ABCDGISTW]' 6897 ;; 6898hpux*) 6899 if test "$host_cpu" = ia64; then 6900 symcode='[ABCDEGRST]' 6901 fi 6902 ;; 6903irix* | nonstopux*) 6904 symcode='[BCDEGRST]' 6905 ;; 6906osf*) 6907 symcode='[BCDEGQRST]' 6908 ;; 6909solaris*) 6910 symcode='[BDRT]' 6911 ;; 6912sco3.2v5*) 6913 symcode='[DT]' 6914 ;; 6915sysv4.2uw2*) 6916 symcode='[DT]' 6917 ;; 6918sysv5* | sco5v6* | unixware* | OpenUNIX*) 6919 symcode='[ABDT]' 6920 ;; 6921sysv4) 6922 symcode='[DFNSTU]' 6923 ;; 6924esac 6925 6926# If we're using GNU nm, then use its standard symbol codes. 6927case `$NM -V 2>&1` in 6928*GNU* | *'with BFD'*) 6929 symcode='[ABCDGIRSTW]' ;; 6930esac 6931 6932# Transform an extracted symbol line into a proper C declaration. 6933# Some systems (esp. on ia64) link data and code symbols differently, 6934# so use this general approach. 6935lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6936 6937# Transform an extracted symbol line into symbol name and symbol address 6938lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6939lt_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'" 6940 6941# Handle CRLF in mingw tool chain 6942opt_cr= 6943case $build_os in 6944mingw*) 6945 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6946 ;; 6947esac 6948 6949# Try without a prefix underscore, then with it. 6950for ac_symprfx in "" "_"; do 6951 6952 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6953 symxfrm="\\1 $ac_symprfx\\2 \\2" 6954 6955 # Write the raw and C identifiers. 6956 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6957 # Fake it for dumpbin and say T for any non-static function 6958 # and D for any global variable. 6959 # Also find C++ and __fastcall symbols from MSVC++, 6960 # which start with @ or ?. 6961 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6962" {last_section=section; section=\$ 3};"\ 6963" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6964" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6965" \$ 0!~/External *\|/{next};"\ 6966" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6967" {if(hide[section]) next};"\ 6968" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6969" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6970" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6971" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6972" ' prfx=^$ac_symprfx" 6973 else 6974 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6975 fi 6976 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6977 6978 # Check to see that the pipe works correctly. 6979 pipe_works=no 6980 6981 rm -f conftest* 6982 cat > conftest.$ac_ext <<_LT_EOF 6983#ifdef __cplusplus 6984extern "C" { 6985#endif 6986char nm_test_var; 6987void nm_test_func(void); 6988void nm_test_func(void){} 6989#ifdef __cplusplus 6990} 6991#endif 6992int main(){nm_test_var='a';nm_test_func();return(0);} 6993_LT_EOF 6994 6995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6996 (eval $ac_compile) 2>&5 6997 ac_status=$? 6998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6999 test $ac_status = 0; }; then 7000 # Now try to grab the symbols. 7001 nlist=conftest.nm 7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7003 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7004 ac_status=$? 7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7006 test $ac_status = 0; } && test -s "$nlist"; then 7007 # Try sorting and uniquifying the output. 7008 if sort "$nlist" | uniq > "$nlist"T; then 7009 mv -f "$nlist"T "$nlist" 7010 else 7011 rm -f "$nlist"T 7012 fi 7013 7014 # Make sure that we snagged all the symbols we need. 7015 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7016 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7017 cat <<_LT_EOF > conftest.$ac_ext 7018/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7019#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 7020/* DATA imports from DLLs on WIN32 con't be const, because runtime 7021 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7022# define LT_DLSYM_CONST 7023#elif defined(__osf__) 7024/* This system does not cope well with relocations in const data. */ 7025# define LT_DLSYM_CONST 7026#else 7027# define LT_DLSYM_CONST const 7028#endif 7029 7030#ifdef __cplusplus 7031extern "C" { 7032#endif 7033 7034_LT_EOF 7035 # Now generate the symbol file. 7036 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7037 7038 cat <<_LT_EOF >> conftest.$ac_ext 7039 7040/* The mapping between symbol names and symbols. */ 7041LT_DLSYM_CONST struct { 7042 const char *name; 7043 void *address; 7044} 7045lt__PROGRAM__LTX_preloaded_symbols[] = 7046{ 7047 { "@PROGRAM@", (void *) 0 }, 7048_LT_EOF 7049 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7050 cat <<\_LT_EOF >> conftest.$ac_ext 7051 {0, (void *) 0} 7052}; 7053 7054/* This works around a problem in FreeBSD linker */ 7055#ifdef FREEBSD_WORKAROUND 7056static const void *lt_preloaded_setup() { 7057 return lt__PROGRAM__LTX_preloaded_symbols; 7058} 7059#endif 7060 7061#ifdef __cplusplus 7062} 7063#endif 7064_LT_EOF 7065 # Now try linking the two files. 7066 mv conftest.$ac_objext conftstm.$ac_objext 7067 lt_globsym_save_LIBS=$LIBS 7068 lt_globsym_save_CFLAGS=$CFLAGS 7069 LIBS="conftstm.$ac_objext" 7070 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7072 (eval $ac_link) 2>&5 7073 ac_status=$? 7074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7075 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7076 pipe_works=yes 7077 fi 7078 LIBS=$lt_globsym_save_LIBS 7079 CFLAGS=$lt_globsym_save_CFLAGS 7080 else 7081 echo "cannot find nm_test_func in $nlist" >&5 7082 fi 7083 else 7084 echo "cannot find nm_test_var in $nlist" >&5 7085 fi 7086 else 7087 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7088 fi 7089 else 7090 echo "$progname: failed program was:" >&5 7091 cat conftest.$ac_ext >&5 7092 fi 7093 rm -rf conftest* conftst* 7094 7095 # Do not use the global_symbol_pipe unless it works. 7096 if test "$pipe_works" = yes; then 7097 break 7098 else 7099 lt_cv_sys_global_symbol_pipe= 7100 fi 7101done 7102 7103fi 7104 7105if test -z "$lt_cv_sys_global_symbol_pipe"; then 7106 lt_cv_sys_global_symbol_to_cdecl= 7107fi 7108if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7110$as_echo "failed" >&6; } 7111else 7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7113$as_echo "ok" >&6; } 7114fi 7115 7116# Response file support. 7117if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7118 nm_file_list_spec='@' 7119elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7120 nm_file_list_spec='@' 7121fi 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7150$as_echo_n "checking for sysroot... " >&6; } 7151 7152# Check whether --with-sysroot was given. 7153if test "${with_sysroot+set}" = set; then : 7154 withval=$with_sysroot; 7155else 7156 with_sysroot=no 7157fi 7158 7159 7160lt_sysroot= 7161case ${with_sysroot} in #( 7162 yes) 7163 if test "$GCC" = yes; then 7164 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7165 fi 7166 ;; #( 7167 /*) 7168 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7169 ;; #( 7170 no|'') 7171 ;; #( 7172 *) 7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 7174$as_echo "${with_sysroot}" >&6; } 7175 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7176 ;; 7177esac 7178 7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7180$as_echo "${lt_sysroot:-no}" >&6; } 7181 7182 7183 7184 7185 7186# Check whether --enable-libtool-lock was given. 7187if test "${enable_libtool_lock+set}" = set; then : 7188 enableval=$enable_libtool_lock; 7189fi 7190 7191test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7192 7193# Some flags need to be propagated to the compiler or linker for good 7194# libtool support. 7195case $host in 7196ia64-*-hpux*) 7197 # Find out which ABI we are using. 7198 echo 'int i;' > conftest.$ac_ext 7199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7200 (eval $ac_compile) 2>&5 7201 ac_status=$? 7202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7203 test $ac_status = 0; }; then 7204 case `/usr/bin/file conftest.$ac_objext` in 7205 *ELF-32*) 7206 HPUX_IA64_MODE="32" 7207 ;; 7208 *ELF-64*) 7209 HPUX_IA64_MODE="64" 7210 ;; 7211 esac 7212 fi 7213 rm -rf conftest* 7214 ;; 7215*-*-irix6*) 7216 # Find out which ABI we are using. 7217 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7218 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7219 (eval $ac_compile) 2>&5 7220 ac_status=$? 7221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7222 test $ac_status = 0; }; then 7223 if test "$lt_cv_prog_gnu_ld" = yes; then 7224 case `/usr/bin/file conftest.$ac_objext` in 7225 *32-bit*) 7226 LD="${LD-ld} -melf32bsmip" 7227 ;; 7228 *N32*) 7229 LD="${LD-ld} -melf32bmipn32" 7230 ;; 7231 *64-bit*) 7232 LD="${LD-ld} -melf64bmip" 7233 ;; 7234 esac 7235 else 7236 case `/usr/bin/file conftest.$ac_objext` in 7237 *32-bit*) 7238 LD="${LD-ld} -32" 7239 ;; 7240 *N32*) 7241 LD="${LD-ld} -n32" 7242 ;; 7243 *64-bit*) 7244 LD="${LD-ld} -64" 7245 ;; 7246 esac 7247 fi 7248 fi 7249 rm -rf conftest* 7250 ;; 7251 7252x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 7253s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7254 # Find out which ABI we are using. 7255 echo 'int i;' > conftest.$ac_ext 7256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7257 (eval $ac_compile) 2>&5 7258 ac_status=$? 7259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7260 test $ac_status = 0; }; then 7261 case `/usr/bin/file conftest.o` in 7262 *32-bit*) 7263 case $host in 7264 x86_64-*kfreebsd*-gnu) 7265 LD="${LD-ld} -m elf_i386_fbsd" 7266 ;; 7267 x86_64-*linux*) 7268 LD="${LD-ld} -m elf_i386" 7269 ;; 7270 ppc64-*linux*|powerpc64-*linux*) 7271 LD="${LD-ld} -m elf32ppclinux" 7272 ;; 7273 s390x-*linux*) 7274 LD="${LD-ld} -m elf_s390" 7275 ;; 7276 sparc64-*linux*) 7277 LD="${LD-ld} -m elf32_sparc" 7278 ;; 7279 esac 7280 ;; 7281 *64-bit*) 7282 case $host in 7283 x86_64-*kfreebsd*-gnu) 7284 LD="${LD-ld} -m elf_x86_64_fbsd" 7285 ;; 7286 x86_64-*linux*) 7287 LD="${LD-ld} -m elf_x86_64" 7288 ;; 7289 ppc*-*linux*|powerpc*-*linux*) 7290 LD="${LD-ld} -m elf64ppc" 7291 ;; 7292 s390*-*linux*|s390*-*tpf*) 7293 LD="${LD-ld} -m elf64_s390" 7294 ;; 7295 sparc*-*linux*) 7296 LD="${LD-ld} -m elf64_sparc" 7297 ;; 7298 esac 7299 ;; 7300 esac 7301 fi 7302 rm -rf conftest* 7303 ;; 7304 7305*-*-sco3.2v5*) 7306 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7307 SAVE_CFLAGS="$CFLAGS" 7308 CFLAGS="$CFLAGS -belf" 7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7310$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7311if ${lt_cv_cc_needs_belf+:} false; then : 7312 $as_echo_n "(cached) " >&6 7313else 7314 ac_ext=c 7315ac_cpp='$CPP $CPPFLAGS' 7316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7318ac_compiler_gnu=$ac_cv_c_compiler_gnu 7319 7320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7321/* end confdefs.h. */ 7322 7323int 7324main () 7325{ 7326 7327 ; 7328 return 0; 7329} 7330_ACEOF 7331if ac_fn_c_try_link "$LINENO"; then : 7332 lt_cv_cc_needs_belf=yes 7333else 7334 lt_cv_cc_needs_belf=no 7335fi 7336rm -f core conftest.err conftest.$ac_objext \ 7337 conftest$ac_exeext conftest.$ac_ext 7338 ac_ext=c 7339ac_cpp='$CPP $CPPFLAGS' 7340ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7341ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7342ac_compiler_gnu=$ac_cv_c_compiler_gnu 7343 7344fi 7345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7346$as_echo "$lt_cv_cc_needs_belf" >&6; } 7347 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7348 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7349 CFLAGS="$SAVE_CFLAGS" 7350 fi 7351 ;; 7352*-*solaris*) 7353 # Find out which ABI we are using. 7354 echo 'int i;' > conftest.$ac_ext 7355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7356 (eval $ac_compile) 2>&5 7357 ac_status=$? 7358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7359 test $ac_status = 0; }; then 7360 case `/usr/bin/file conftest.o` in 7361 *64-bit*) 7362 case $lt_cv_prog_gnu_ld in 7363 yes*) 7364 case $host in 7365 i?86-*-solaris*) 7366 LD="${LD-ld} -m elf_x86_64" 7367 ;; 7368 sparc*-*-solaris*) 7369 LD="${LD-ld} -m elf64_sparc" 7370 ;; 7371 esac 7372 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7373 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7374 LD="${LD-ld}_sol2" 7375 fi 7376 ;; 7377 *) 7378 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7379 LD="${LD-ld} -64" 7380 fi 7381 ;; 7382 esac 7383 ;; 7384 esac 7385 fi 7386 rm -rf conftest* 7387 ;; 7388esac 7389 7390need_locks="$enable_libtool_lock" 7391 7392if test -n "$ac_tool_prefix"; then 7393 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7394set dummy ${ac_tool_prefix}mt; ac_word=$2 7395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7396$as_echo_n "checking for $ac_word... " >&6; } 7397if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7398 $as_echo_n "(cached) " >&6 7399else 7400 if test -n "$MANIFEST_TOOL"; then 7401 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7402else 7403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7404for as_dir in $PATH 7405do 7406 IFS=$as_save_IFS 7407 test -z "$as_dir" && as_dir=. 7408 for ac_exec_ext in '' $ac_executable_extensions; do 7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7410 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7412 break 2 7413 fi 7414done 7415 done 7416IFS=$as_save_IFS 7417 7418fi 7419fi 7420MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7421if test -n "$MANIFEST_TOOL"; then 7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7423$as_echo "$MANIFEST_TOOL" >&6; } 7424else 7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7426$as_echo "no" >&6; } 7427fi 7428 7429 7430fi 7431if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7432 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7433 # Extract the first word of "mt", so it can be a program name with args. 7434set dummy mt; ac_word=$2 7435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7436$as_echo_n "checking for $ac_word... " >&6; } 7437if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7438 $as_echo_n "(cached) " >&6 7439else 7440 if test -n "$ac_ct_MANIFEST_TOOL"; then 7441 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7442else 7443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7444for as_dir in $PATH 7445do 7446 IFS=$as_save_IFS 7447 test -z "$as_dir" && as_dir=. 7448 for ac_exec_ext in '' $ac_executable_extensions; do 7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7450 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7452 break 2 7453 fi 7454done 7455 done 7456IFS=$as_save_IFS 7457 7458fi 7459fi 7460ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7461if test -n "$ac_ct_MANIFEST_TOOL"; then 7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7463$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7464else 7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7466$as_echo "no" >&6; } 7467fi 7468 7469 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7470 MANIFEST_TOOL=":" 7471 else 7472 case $cross_compiling:$ac_tool_warned in 7473yes:) 7474{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7475$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7476ac_tool_warned=yes ;; 7477esac 7478 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7479 fi 7480else 7481 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7482fi 7483 7484test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7486$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7487if ${lt_cv_path_mainfest_tool+:} false; then : 7488 $as_echo_n "(cached) " >&6 7489else 7490 lt_cv_path_mainfest_tool=no 7491 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7492 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7493 cat conftest.err >&5 7494 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7495 lt_cv_path_mainfest_tool=yes 7496 fi 7497 rm -f conftest* 7498fi 7499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7500$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7501if test "x$lt_cv_path_mainfest_tool" != xyes; then 7502 MANIFEST_TOOL=: 7503fi 7504 7505 7506 7507 7508 7509 7510 case $host_os in 7511 rhapsody* | darwin*) 7512 if test -n "$ac_tool_prefix"; then 7513 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7514set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7516$as_echo_n "checking for $ac_word... " >&6; } 7517if ${ac_cv_prog_DSYMUTIL+:} false; then : 7518 $as_echo_n "(cached) " >&6 7519else 7520 if test -n "$DSYMUTIL"; then 7521 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7522else 7523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7524for as_dir in $PATH 7525do 7526 IFS=$as_save_IFS 7527 test -z "$as_dir" && as_dir=. 7528 for ac_exec_ext in '' $ac_executable_extensions; do 7529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7530 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7532 break 2 7533 fi 7534done 7535 done 7536IFS=$as_save_IFS 7537 7538fi 7539fi 7540DSYMUTIL=$ac_cv_prog_DSYMUTIL 7541if test -n "$DSYMUTIL"; then 7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7543$as_echo "$DSYMUTIL" >&6; } 7544else 7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7546$as_echo "no" >&6; } 7547fi 7548 7549 7550fi 7551if test -z "$ac_cv_prog_DSYMUTIL"; then 7552 ac_ct_DSYMUTIL=$DSYMUTIL 7553 # Extract the first word of "dsymutil", so it can be a program name with args. 7554set dummy dsymutil; ac_word=$2 7555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7556$as_echo_n "checking for $ac_word... " >&6; } 7557if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7558 $as_echo_n "(cached) " >&6 7559else 7560 if test -n "$ac_ct_DSYMUTIL"; then 7561 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7562else 7563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7564for as_dir in $PATH 7565do 7566 IFS=$as_save_IFS 7567 test -z "$as_dir" && as_dir=. 7568 for ac_exec_ext in '' $ac_executable_extensions; do 7569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7570 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7572 break 2 7573 fi 7574done 7575 done 7576IFS=$as_save_IFS 7577 7578fi 7579fi 7580ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7581if test -n "$ac_ct_DSYMUTIL"; then 7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7583$as_echo "$ac_ct_DSYMUTIL" >&6; } 7584else 7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7586$as_echo "no" >&6; } 7587fi 7588 7589 if test "x$ac_ct_DSYMUTIL" = x; then 7590 DSYMUTIL=":" 7591 else 7592 case $cross_compiling:$ac_tool_warned in 7593yes:) 7594{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7595$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7596ac_tool_warned=yes ;; 7597esac 7598 DSYMUTIL=$ac_ct_DSYMUTIL 7599 fi 7600else 7601 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7602fi 7603 7604 if test -n "$ac_tool_prefix"; then 7605 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7606set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7608$as_echo_n "checking for $ac_word... " >&6; } 7609if ${ac_cv_prog_NMEDIT+:} false; then : 7610 $as_echo_n "(cached) " >&6 7611else 7612 if test -n "$NMEDIT"; then 7613 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7614else 7615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7616for as_dir in $PATH 7617do 7618 IFS=$as_save_IFS 7619 test -z "$as_dir" && as_dir=. 7620 for ac_exec_ext in '' $ac_executable_extensions; do 7621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7622 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7624 break 2 7625 fi 7626done 7627 done 7628IFS=$as_save_IFS 7629 7630fi 7631fi 7632NMEDIT=$ac_cv_prog_NMEDIT 7633if test -n "$NMEDIT"; then 7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7635$as_echo "$NMEDIT" >&6; } 7636else 7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7638$as_echo "no" >&6; } 7639fi 7640 7641 7642fi 7643if test -z "$ac_cv_prog_NMEDIT"; then 7644 ac_ct_NMEDIT=$NMEDIT 7645 # Extract the first word of "nmedit", so it can be a program name with args. 7646set dummy nmedit; ac_word=$2 7647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7648$as_echo_n "checking for $ac_word... " >&6; } 7649if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7650 $as_echo_n "(cached) " >&6 7651else 7652 if test -n "$ac_ct_NMEDIT"; then 7653 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7654else 7655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7656for as_dir in $PATH 7657do 7658 IFS=$as_save_IFS 7659 test -z "$as_dir" && as_dir=. 7660 for ac_exec_ext in '' $ac_executable_extensions; do 7661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7662 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7664 break 2 7665 fi 7666done 7667 done 7668IFS=$as_save_IFS 7669 7670fi 7671fi 7672ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7673if test -n "$ac_ct_NMEDIT"; then 7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7675$as_echo "$ac_ct_NMEDIT" >&6; } 7676else 7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7678$as_echo "no" >&6; } 7679fi 7680 7681 if test "x$ac_ct_NMEDIT" = x; then 7682 NMEDIT=":" 7683 else 7684 case $cross_compiling:$ac_tool_warned in 7685yes:) 7686{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7687$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7688ac_tool_warned=yes ;; 7689esac 7690 NMEDIT=$ac_ct_NMEDIT 7691 fi 7692else 7693 NMEDIT="$ac_cv_prog_NMEDIT" 7694fi 7695 7696 if test -n "$ac_tool_prefix"; then 7697 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7698set dummy ${ac_tool_prefix}lipo; ac_word=$2 7699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7700$as_echo_n "checking for $ac_word... " >&6; } 7701if ${ac_cv_prog_LIPO+:} false; then : 7702 $as_echo_n "(cached) " >&6 7703else 7704 if test -n "$LIPO"; then 7705 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7706else 7707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7708for as_dir in $PATH 7709do 7710 IFS=$as_save_IFS 7711 test -z "$as_dir" && as_dir=. 7712 for ac_exec_ext in '' $ac_executable_extensions; do 7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7714 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7716 break 2 7717 fi 7718done 7719 done 7720IFS=$as_save_IFS 7721 7722fi 7723fi 7724LIPO=$ac_cv_prog_LIPO 7725if test -n "$LIPO"; then 7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7727$as_echo "$LIPO" >&6; } 7728else 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7730$as_echo "no" >&6; } 7731fi 7732 7733 7734fi 7735if test -z "$ac_cv_prog_LIPO"; then 7736 ac_ct_LIPO=$LIPO 7737 # Extract the first word of "lipo", so it can be a program name with args. 7738set dummy lipo; ac_word=$2 7739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7740$as_echo_n "checking for $ac_word... " >&6; } 7741if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7742 $as_echo_n "(cached) " >&6 7743else 7744 if test -n "$ac_ct_LIPO"; then 7745 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7746else 7747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7748for as_dir in $PATH 7749do 7750 IFS=$as_save_IFS 7751 test -z "$as_dir" && as_dir=. 7752 for ac_exec_ext in '' $ac_executable_extensions; do 7753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7754 ac_cv_prog_ac_ct_LIPO="lipo" 7755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7756 break 2 7757 fi 7758done 7759 done 7760IFS=$as_save_IFS 7761 7762fi 7763fi 7764ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7765if test -n "$ac_ct_LIPO"; then 7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7767$as_echo "$ac_ct_LIPO" >&6; } 7768else 7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7770$as_echo "no" >&6; } 7771fi 7772 7773 if test "x$ac_ct_LIPO" = x; then 7774 LIPO=":" 7775 else 7776 case $cross_compiling:$ac_tool_warned in 7777yes:) 7778{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7779$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7780ac_tool_warned=yes ;; 7781esac 7782 LIPO=$ac_ct_LIPO 7783 fi 7784else 7785 LIPO="$ac_cv_prog_LIPO" 7786fi 7787 7788 if test -n "$ac_tool_prefix"; then 7789 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7790set dummy ${ac_tool_prefix}otool; ac_word=$2 7791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7792$as_echo_n "checking for $ac_word... " >&6; } 7793if ${ac_cv_prog_OTOOL+:} false; then : 7794 $as_echo_n "(cached) " >&6 7795else 7796 if test -n "$OTOOL"; then 7797 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7798else 7799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7800for as_dir in $PATH 7801do 7802 IFS=$as_save_IFS 7803 test -z "$as_dir" && as_dir=. 7804 for ac_exec_ext in '' $ac_executable_extensions; do 7805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7806 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7808 break 2 7809 fi 7810done 7811 done 7812IFS=$as_save_IFS 7813 7814fi 7815fi 7816OTOOL=$ac_cv_prog_OTOOL 7817if test -n "$OTOOL"; then 7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7819$as_echo "$OTOOL" >&6; } 7820else 7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7822$as_echo "no" >&6; } 7823fi 7824 7825 7826fi 7827if test -z "$ac_cv_prog_OTOOL"; then 7828 ac_ct_OTOOL=$OTOOL 7829 # Extract the first word of "otool", so it can be a program name with args. 7830set dummy otool; ac_word=$2 7831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7832$as_echo_n "checking for $ac_word... " >&6; } 7833if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7834 $as_echo_n "(cached) " >&6 7835else 7836 if test -n "$ac_ct_OTOOL"; then 7837 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7838else 7839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7840for as_dir in $PATH 7841do 7842 IFS=$as_save_IFS 7843 test -z "$as_dir" && as_dir=. 7844 for ac_exec_ext in '' $ac_executable_extensions; do 7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7846 ac_cv_prog_ac_ct_OTOOL="otool" 7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7848 break 2 7849 fi 7850done 7851 done 7852IFS=$as_save_IFS 7853 7854fi 7855fi 7856ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7857if test -n "$ac_ct_OTOOL"; then 7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7859$as_echo "$ac_ct_OTOOL" >&6; } 7860else 7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7862$as_echo "no" >&6; } 7863fi 7864 7865 if test "x$ac_ct_OTOOL" = x; then 7866 OTOOL=":" 7867 else 7868 case $cross_compiling:$ac_tool_warned in 7869yes:) 7870{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7871$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7872ac_tool_warned=yes ;; 7873esac 7874 OTOOL=$ac_ct_OTOOL 7875 fi 7876else 7877 OTOOL="$ac_cv_prog_OTOOL" 7878fi 7879 7880 if test -n "$ac_tool_prefix"; then 7881 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7882set dummy ${ac_tool_prefix}otool64; ac_word=$2 7883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7884$as_echo_n "checking for $ac_word... " >&6; } 7885if ${ac_cv_prog_OTOOL64+:} false; then : 7886 $as_echo_n "(cached) " >&6 7887else 7888 if test -n "$OTOOL64"; then 7889 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7890else 7891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7892for as_dir in $PATH 7893do 7894 IFS=$as_save_IFS 7895 test -z "$as_dir" && as_dir=. 7896 for ac_exec_ext in '' $ac_executable_extensions; do 7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7898 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7900 break 2 7901 fi 7902done 7903 done 7904IFS=$as_save_IFS 7905 7906fi 7907fi 7908OTOOL64=$ac_cv_prog_OTOOL64 7909if test -n "$OTOOL64"; then 7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7911$as_echo "$OTOOL64" >&6; } 7912else 7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7914$as_echo "no" >&6; } 7915fi 7916 7917 7918fi 7919if test -z "$ac_cv_prog_OTOOL64"; then 7920 ac_ct_OTOOL64=$OTOOL64 7921 # Extract the first word of "otool64", so it can be a program name with args. 7922set dummy otool64; ac_word=$2 7923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7924$as_echo_n "checking for $ac_word... " >&6; } 7925if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7926 $as_echo_n "(cached) " >&6 7927else 7928 if test -n "$ac_ct_OTOOL64"; then 7929 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7930else 7931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7932for as_dir in $PATH 7933do 7934 IFS=$as_save_IFS 7935 test -z "$as_dir" && as_dir=. 7936 for ac_exec_ext in '' $ac_executable_extensions; do 7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7938 ac_cv_prog_ac_ct_OTOOL64="otool64" 7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7940 break 2 7941 fi 7942done 7943 done 7944IFS=$as_save_IFS 7945 7946fi 7947fi 7948ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7949if test -n "$ac_ct_OTOOL64"; then 7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7951$as_echo "$ac_ct_OTOOL64" >&6; } 7952else 7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7954$as_echo "no" >&6; } 7955fi 7956 7957 if test "x$ac_ct_OTOOL64" = x; then 7958 OTOOL64=":" 7959 else 7960 case $cross_compiling:$ac_tool_warned in 7961yes:) 7962{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7963$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7964ac_tool_warned=yes ;; 7965esac 7966 OTOOL64=$ac_ct_OTOOL64 7967 fi 7968else 7969 OTOOL64="$ac_cv_prog_OTOOL64" 7970fi 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7999$as_echo_n "checking for -single_module linker flag... " >&6; } 8000if ${lt_cv_apple_cc_single_mod+:} false; then : 8001 $as_echo_n "(cached) " >&6 8002else 8003 lt_cv_apple_cc_single_mod=no 8004 if test -z "${LT_MULTI_MODULE}"; then 8005 # By default we will add the -single_module flag. You can override 8006 # by either setting the environment variable LT_MULTI_MODULE 8007 # non-empty at configure time, or by adding -multi_module to the 8008 # link flags. 8009 rm -rf libconftest.dylib* 8010 echo "int foo(void){return 1;}" > conftest.c 8011 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8012-dynamiclib -Wl,-single_module conftest.c" >&5 8013 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8014 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8015 _lt_result=$? 8016 # If there is a non-empty error log, and "single_module" 8017 # appears in it, assume the flag caused a linker warning 8018 if test -s conftest.err && $GREP single_module conftest.err; then 8019 cat conftest.err >&5 8020 # Otherwise, if the output was created with a 0 exit code from 8021 # the compiler, it worked. 8022 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 8023 lt_cv_apple_cc_single_mod=yes 8024 else 8025 cat conftest.err >&5 8026 fi 8027 rm -rf libconftest.dylib* 8028 rm -f conftest.* 8029 fi 8030fi 8031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8032$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8033 8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8035$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8036if ${lt_cv_ld_exported_symbols_list+:} false; then : 8037 $as_echo_n "(cached) " >&6 8038else 8039 lt_cv_ld_exported_symbols_list=no 8040 save_LDFLAGS=$LDFLAGS 8041 echo "_main" > conftest.sym 8042 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8044/* end confdefs.h. */ 8045 8046int 8047main () 8048{ 8049 8050 ; 8051 return 0; 8052} 8053_ACEOF 8054if ac_fn_c_try_link "$LINENO"; then : 8055 lt_cv_ld_exported_symbols_list=yes 8056else 8057 lt_cv_ld_exported_symbols_list=no 8058fi 8059rm -f core conftest.err conftest.$ac_objext \ 8060 conftest$ac_exeext conftest.$ac_ext 8061 LDFLAGS="$save_LDFLAGS" 8062 8063fi 8064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8065$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8066 8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8068$as_echo_n "checking for -force_load linker flag... " >&6; } 8069if ${lt_cv_ld_force_load+:} false; then : 8070 $as_echo_n "(cached) " >&6 8071else 8072 lt_cv_ld_force_load=no 8073 cat > conftest.c << _LT_EOF 8074int forced_loaded() { return 2;} 8075_LT_EOF 8076 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8077 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8078 echo "$AR cru libconftest.a conftest.o" >&5 8079 $AR cru libconftest.a conftest.o 2>&5 8080 echo "$RANLIB libconftest.a" >&5 8081 $RANLIB libconftest.a 2>&5 8082 cat > conftest.c << _LT_EOF 8083int main() { return 0;} 8084_LT_EOF 8085 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8086 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8087 _lt_result=$? 8088 if test -s conftest.err && $GREP force_load conftest.err; then 8089 cat conftest.err >&5 8090 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 8091 lt_cv_ld_force_load=yes 8092 else 8093 cat conftest.err >&5 8094 fi 8095 rm -f conftest.err libconftest.a conftest conftest.c 8096 rm -rf conftest.dSYM 8097 8098fi 8099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8100$as_echo "$lt_cv_ld_force_load" >&6; } 8101 case $host_os in 8102 rhapsody* | darwin1.[012]) 8103 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8104 darwin1.*) 8105 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8106 darwin*) # darwin 5.x on 8107 # if running on 10.5 or later, the deployment target defaults 8108 # to the OS version, if on x86, and 10.4, the deployment 8109 # target defaults to 10.4. Don't you love it? 8110 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8111 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8112 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8113 10.[012]*) 8114 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8115 10.*) 8116 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8117 esac 8118 ;; 8119 esac 8120 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8121 _lt_dar_single_mod='$single_module' 8122 fi 8123 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8124 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 8125 else 8126 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8127 fi 8128 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 8129 _lt_dsymutil='~$DSYMUTIL $lib || :' 8130 else 8131 _lt_dsymutil= 8132 fi 8133 ;; 8134 esac 8135 8136for ac_header in dlfcn.h 8137do : 8138 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8139" 8140if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8141 cat >>confdefs.h <<_ACEOF 8142#define HAVE_DLFCN_H 1 8143_ACEOF 8144 8145fi 8146 8147done 8148 8149 8150 8151 8152 8153# Set options 8154 8155 8156 8157 enable_dlopen=no 8158 8159 8160 8161 # Check whether --enable-shared was given. 8162if test "${enable_shared+set}" = set; then : 8163 enableval=$enable_shared; p=${PACKAGE-default} 8164 case $enableval in 8165 yes) enable_shared=yes ;; 8166 no) enable_shared=no ;; 8167 *) 8168 enable_shared=no 8169 # Look at the argument we got. We use all the common list separators. 8170 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8171 for pkg in $enableval; do 8172 IFS="$lt_save_ifs" 8173 if test "X$pkg" = "X$p"; then 8174 enable_shared=yes 8175 fi 8176 done 8177 IFS="$lt_save_ifs" 8178 ;; 8179 esac 8180else 8181 enable_shared=yes 8182fi 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194# Check whether --with-pic was given. 8195if test "${with_pic+set}" = set; then : 8196 withval=$with_pic; lt_p=${PACKAGE-default} 8197 case $withval in 8198 yes|no) pic_mode=$withval ;; 8199 *) 8200 pic_mode=default 8201 # Look at the argument we got. We use all the common list separators. 8202 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8203 for lt_pkg in $withval; do 8204 IFS="$lt_save_ifs" 8205 if test "X$lt_pkg" = "X$lt_p"; then 8206 pic_mode=yes 8207 fi 8208 done 8209 IFS="$lt_save_ifs" 8210 ;; 8211 esac 8212else 8213 pic_mode=default 8214fi 8215 8216 8217test -z "$pic_mode" && pic_mode=default 8218 8219 8220 8221 8222 8223 8224 8225 # Check whether --enable-fast-install was given. 8226if test "${enable_fast_install+set}" = set; then : 8227 enableval=$enable_fast_install; p=${PACKAGE-default} 8228 case $enableval in 8229 yes) enable_fast_install=yes ;; 8230 no) enable_fast_install=no ;; 8231 *) 8232 enable_fast_install=no 8233 # Look at the argument we got. We use all the common list separators. 8234 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8235 for pkg in $enableval; do 8236 IFS="$lt_save_ifs" 8237 if test "X$pkg" = "X$p"; then 8238 enable_fast_install=yes 8239 fi 8240 done 8241 IFS="$lt_save_ifs" 8242 ;; 8243 esac 8244else 8245 enable_fast_install=yes 8246fi 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258# This can be used to rebuild libtool when needed 8259LIBTOOL_DEPS="$ltmain" 8260 8261# Always use our own libtool. 8262LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293test -z "$LN_S" && LN_S="ln -s" 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308if test -n "${ZSH_VERSION+set}" ; then 8309 setopt NO_GLOB_SUBST 8310fi 8311 8312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8313$as_echo_n "checking for objdir... " >&6; } 8314if ${lt_cv_objdir+:} false; then : 8315 $as_echo_n "(cached) " >&6 8316else 8317 rm -f .libs 2>/dev/null 8318mkdir .libs 2>/dev/null 8319if test -d .libs; then 8320 lt_cv_objdir=.libs 8321else 8322 # MS-DOS does not allow filenames that begin with a dot. 8323 lt_cv_objdir=_libs 8324fi 8325rmdir .libs 2>/dev/null 8326fi 8327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8328$as_echo "$lt_cv_objdir" >&6; } 8329objdir=$lt_cv_objdir 8330 8331 8332 8333 8334 8335cat >>confdefs.h <<_ACEOF 8336#define LT_OBJDIR "$lt_cv_objdir/" 8337_ACEOF 8338 8339 8340 8341 8342case $host_os in 8343aix3*) 8344 # AIX sometimes has problems with the GCC collect2 program. For some 8345 # reason, if we set the COLLECT_NAMES environment variable, the problems 8346 # vanish in a puff of smoke. 8347 if test "X${COLLECT_NAMES+set}" != Xset; then 8348 COLLECT_NAMES= 8349 export COLLECT_NAMES 8350 fi 8351 ;; 8352esac 8353 8354# Global variables: 8355ofile=libtool 8356can_build_shared=yes 8357 8358# All known linkers require a `.a' archive for static linking (except MSVC, 8359# which needs '.lib'). 8360libext=a 8361 8362with_gnu_ld="$lt_cv_prog_gnu_ld" 8363 8364old_CC="$CC" 8365old_CFLAGS="$CFLAGS" 8366 8367# Set sane defaults for various variables 8368test -z "$CC" && CC=cc 8369test -z "$LTCC" && LTCC=$CC 8370test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8371test -z "$LD" && LD=ld 8372test -z "$ac_objext" && ac_objext=o 8373 8374for cc_temp in $compiler""; do 8375 case $cc_temp in 8376 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8377 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8378 \-*) ;; 8379 *) break;; 8380 esac 8381done 8382cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8383 8384 8385# Only perform the check for file, if the check method requires it 8386test -z "$MAGIC_CMD" && MAGIC_CMD=file 8387case $deplibs_check_method in 8388file_magic*) 8389 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8391$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8392if ${lt_cv_path_MAGIC_CMD+:} false; then : 8393 $as_echo_n "(cached) " >&6 8394else 8395 case $MAGIC_CMD in 8396[\\/*] | ?:[\\/]*) 8397 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8398 ;; 8399*) 8400 lt_save_MAGIC_CMD="$MAGIC_CMD" 8401 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8402 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8403 for ac_dir in $ac_dummy; do 8404 IFS="$lt_save_ifs" 8405 test -z "$ac_dir" && ac_dir=. 8406 if test -f $ac_dir/${ac_tool_prefix}file; then 8407 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8408 if test -n "$file_magic_test_file"; then 8409 case $deplibs_check_method in 8410 "file_magic "*) 8411 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8412 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8413 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8414 $EGREP "$file_magic_regex" > /dev/null; then 8415 : 8416 else 8417 cat <<_LT_EOF 1>&2 8418 8419*** Warning: the command libtool uses to detect shared libraries, 8420*** $file_magic_cmd, produces output that libtool cannot recognize. 8421*** The result is that libtool may fail to recognize shared libraries 8422*** as such. This will affect the creation of libtool libraries that 8423*** depend on shared libraries, but programs linked with such libtool 8424*** libraries will work regardless of this problem. Nevertheless, you 8425*** may want to report the problem to your system manager and/or to 8426*** bug-libtool@gnu.org 8427 8428_LT_EOF 8429 fi ;; 8430 esac 8431 fi 8432 break 8433 fi 8434 done 8435 IFS="$lt_save_ifs" 8436 MAGIC_CMD="$lt_save_MAGIC_CMD" 8437 ;; 8438esac 8439fi 8440 8441MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8442if test -n "$MAGIC_CMD"; then 8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8444$as_echo "$MAGIC_CMD" >&6; } 8445else 8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8447$as_echo "no" >&6; } 8448fi 8449 8450 8451 8452 8453 8454if test -z "$lt_cv_path_MAGIC_CMD"; then 8455 if test -n "$ac_tool_prefix"; then 8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8457$as_echo_n "checking for file... " >&6; } 8458if ${lt_cv_path_MAGIC_CMD+:} false; then : 8459 $as_echo_n "(cached) " >&6 8460else 8461 case $MAGIC_CMD in 8462[\\/*] | ?:[\\/]*) 8463 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8464 ;; 8465*) 8466 lt_save_MAGIC_CMD="$MAGIC_CMD" 8467 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8468 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8469 for ac_dir in $ac_dummy; do 8470 IFS="$lt_save_ifs" 8471 test -z "$ac_dir" && ac_dir=. 8472 if test -f $ac_dir/file; then 8473 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8474 if test -n "$file_magic_test_file"; then 8475 case $deplibs_check_method in 8476 "file_magic "*) 8477 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8478 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8479 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8480 $EGREP "$file_magic_regex" > /dev/null; then 8481 : 8482 else 8483 cat <<_LT_EOF 1>&2 8484 8485*** Warning: the command libtool uses to detect shared libraries, 8486*** $file_magic_cmd, produces output that libtool cannot recognize. 8487*** The result is that libtool may fail to recognize shared libraries 8488*** as such. This will affect the creation of libtool libraries that 8489*** depend on shared libraries, but programs linked with such libtool 8490*** libraries will work regardless of this problem. Nevertheless, you 8491*** may want to report the problem to your system manager and/or to 8492*** bug-libtool@gnu.org 8493 8494_LT_EOF 8495 fi ;; 8496 esac 8497 fi 8498 break 8499 fi 8500 done 8501 IFS="$lt_save_ifs" 8502 MAGIC_CMD="$lt_save_MAGIC_CMD" 8503 ;; 8504esac 8505fi 8506 8507MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8508if test -n "$MAGIC_CMD"; then 8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8510$as_echo "$MAGIC_CMD" >&6; } 8511else 8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8513$as_echo "no" >&6; } 8514fi 8515 8516 8517 else 8518 MAGIC_CMD=: 8519 fi 8520fi 8521 8522 fi 8523 ;; 8524esac 8525 8526# Use C for the default configuration in the libtool script 8527 8528lt_save_CC="$CC" 8529ac_ext=c 8530ac_cpp='$CPP $CPPFLAGS' 8531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8533ac_compiler_gnu=$ac_cv_c_compiler_gnu 8534 8535 8536# Source file extension for C test sources. 8537ac_ext=c 8538 8539# Object file extension for compiled C test sources. 8540objext=o 8541objext=$objext 8542 8543# Code to be used in simple compile tests 8544lt_simple_compile_test_code="int some_variable = 0;" 8545 8546# Code to be used in simple link tests 8547lt_simple_link_test_code='int main(){return(0);}' 8548 8549 8550 8551 8552 8553 8554 8555# If no C compiler was specified, use CC. 8556LTCC=${LTCC-"$CC"} 8557 8558# If no C compiler flags were specified, use CFLAGS. 8559LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8560 8561# Allow CC to be a program name with arguments. 8562compiler=$CC 8563 8564# Save the default compiler, since it gets overwritten when the other 8565# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8566compiler_DEFAULT=$CC 8567 8568# save warnings/boilerplate of simple test code 8569ac_outfile=conftest.$ac_objext 8570echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8571eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8572_lt_compiler_boilerplate=`cat conftest.err` 8573$RM conftest* 8574 8575ac_outfile=conftest.$ac_objext 8576echo "$lt_simple_link_test_code" >conftest.$ac_ext 8577eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8578_lt_linker_boilerplate=`cat conftest.err` 8579$RM -r conftest* 8580 8581 8582## CAVEAT EMPTOR: 8583## There is no encapsulation within the following macros, do not change 8584## the running order or otherwise move them around unless you know exactly 8585## what you are doing... 8586if test -n "$compiler"; then 8587 8588lt_prog_compiler_no_builtin_flag= 8589 8590if test "$GCC" = yes; then 8591 case $cc_basename in 8592 nvcc*) 8593 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8594 *) 8595 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8596 esac 8597 8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8599$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8600if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8601 $as_echo_n "(cached) " >&6 8602else 8603 lt_cv_prog_compiler_rtti_exceptions=no 8604 ac_outfile=conftest.$ac_objext 8605 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8606 lt_compiler_flag="-fno-rtti -fno-exceptions" 8607 # Insert the option either (1) after the last *FLAGS variable, or 8608 # (2) before a word containing "conftest.", or (3) at the end. 8609 # Note that $ac_compile itself does not contain backslashes and begins 8610 # with a dollar sign (not a hyphen), so the echo should work correctly. 8611 # The option is referenced via a variable to avoid confusing sed. 8612 lt_compile=`echo "$ac_compile" | $SED \ 8613 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8614 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8615 -e 's:$: $lt_compiler_flag:'` 8616 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8617 (eval "$lt_compile" 2>conftest.err) 8618 ac_status=$? 8619 cat conftest.err >&5 8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8621 if (exit $ac_status) && test -s "$ac_outfile"; then 8622 # The compiler can only warn and ignore the option if not recognized 8623 # So say no if there are warnings other than the usual output. 8624 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8625 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8626 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8627 lt_cv_prog_compiler_rtti_exceptions=yes 8628 fi 8629 fi 8630 $RM conftest* 8631 8632fi 8633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8634$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8635 8636if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8637 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8638else 8639 : 8640fi 8641 8642fi 8643 8644 8645 8646 8647 8648 8649 lt_prog_compiler_wl= 8650lt_prog_compiler_pic= 8651lt_prog_compiler_static= 8652 8653 8654 if test "$GCC" = yes; then 8655 lt_prog_compiler_wl='-Wl,' 8656 lt_prog_compiler_static='-static' 8657 8658 case $host_os in 8659 aix*) 8660 # All AIX code is PIC. 8661 if test "$host_cpu" = ia64; then 8662 # AIX 5 now supports IA64 processor 8663 lt_prog_compiler_static='-Bstatic' 8664 fi 8665 ;; 8666 8667 amigaos*) 8668 case $host_cpu in 8669 powerpc) 8670 # see comment about AmigaOS4 .so support 8671 lt_prog_compiler_pic='-fPIC' 8672 ;; 8673 m68k) 8674 # FIXME: we need at least 68020 code to build shared libraries, but 8675 # adding the `-m68020' flag to GCC prevents building anything better, 8676 # like `-m68040'. 8677 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8678 ;; 8679 esac 8680 ;; 8681 8682 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8683 # PIC is the default for these OSes. 8684 ;; 8685 8686 mingw* | cygwin* | pw32* | os2* | cegcc*) 8687 # This hack is so that the source file can tell whether it is being 8688 # built for inclusion in a dll (and should export symbols for example). 8689 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8690 # (--disable-auto-import) libraries 8691 lt_prog_compiler_pic='-DDLL_EXPORT' 8692 ;; 8693 8694 darwin* | rhapsody*) 8695 # PIC is the default on this platform 8696 # Common symbols not allowed in MH_DYLIB files 8697 lt_prog_compiler_pic='-fno-common' 8698 ;; 8699 8700 haiku*) 8701 # PIC is the default for Haiku. 8702 # The "-static" flag exists, but is broken. 8703 lt_prog_compiler_static= 8704 ;; 8705 8706 hpux*) 8707 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8708 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8709 # sets the default TLS model and affects inlining. 8710 case $host_cpu in 8711 hppa*64*) 8712 # +Z the default 8713 ;; 8714 *) 8715 lt_prog_compiler_pic='-fPIC' 8716 ;; 8717 esac 8718 ;; 8719 8720 interix[3-9]*) 8721 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8722 # Instead, we relocate shared libraries at runtime. 8723 ;; 8724 8725 msdosdjgpp*) 8726 # Just because we use GCC doesn't mean we suddenly get shared libraries 8727 # on systems that don't support them. 8728 lt_prog_compiler_can_build_shared=no 8729 enable_shared=no 8730 ;; 8731 8732 *nto* | *qnx*) 8733 # QNX uses GNU C++, but need to define -shared option too, otherwise 8734 # it will coredump. 8735 lt_prog_compiler_pic='-fPIC -shared' 8736 ;; 8737 8738 sysv4*MP*) 8739 if test -d /usr/nec; then 8740 lt_prog_compiler_pic=-Kconform_pic 8741 fi 8742 ;; 8743 8744 *) 8745 lt_prog_compiler_pic='-fPIC' 8746 ;; 8747 esac 8748 8749 case $cc_basename in 8750 nvcc*) # Cuda Compiler Driver 2.2 8751 lt_prog_compiler_wl='-Xlinker ' 8752 if test -n "$lt_prog_compiler_pic"; then 8753 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8754 fi 8755 ;; 8756 esac 8757 else 8758 # PORTME Check for flag to pass linker flags through the system compiler. 8759 case $host_os in 8760 aix*) 8761 lt_prog_compiler_wl='-Wl,' 8762 if test "$host_cpu" = ia64; then 8763 # AIX 5 now supports IA64 processor 8764 lt_prog_compiler_static='-Bstatic' 8765 else 8766 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8767 fi 8768 ;; 8769 8770 mingw* | cygwin* | pw32* | os2* | cegcc*) 8771 # This hack is so that the source file can tell whether it is being 8772 # built for inclusion in a dll (and should export symbols for example). 8773 lt_prog_compiler_pic='-DDLL_EXPORT' 8774 ;; 8775 8776 hpux9* | hpux10* | hpux11*) 8777 lt_prog_compiler_wl='-Wl,' 8778 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8779 # not for PA HP-UX. 8780 case $host_cpu in 8781 hppa*64*|ia64*) 8782 # +Z the default 8783 ;; 8784 *) 8785 lt_prog_compiler_pic='+Z' 8786 ;; 8787 esac 8788 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8789 lt_prog_compiler_static='${wl}-a ${wl}archive' 8790 ;; 8791 8792 irix5* | irix6* | nonstopux*) 8793 lt_prog_compiler_wl='-Wl,' 8794 # PIC (with -KPIC) is the default. 8795 lt_prog_compiler_static='-non_shared' 8796 ;; 8797 8798 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8799 case $cc_basename in 8800 # old Intel for x86_64 which still supported -KPIC. 8801 ecc*) 8802 lt_prog_compiler_wl='-Wl,' 8803 lt_prog_compiler_pic='-KPIC' 8804 lt_prog_compiler_static='-static' 8805 ;; 8806 # icc used to be incompatible with GCC. 8807 # ICC 10 doesn't accept -KPIC any more. 8808 icc* | ifort*) 8809 lt_prog_compiler_wl='-Wl,' 8810 lt_prog_compiler_pic='-fPIC' 8811 lt_prog_compiler_static='-static' 8812 ;; 8813 # Lahey Fortran 8.1. 8814 lf95*) 8815 lt_prog_compiler_wl='-Wl,' 8816 lt_prog_compiler_pic='--shared' 8817 lt_prog_compiler_static='--static' 8818 ;; 8819 nagfor*) 8820 # NAG Fortran compiler 8821 lt_prog_compiler_wl='-Wl,-Wl,,' 8822 lt_prog_compiler_pic='-PIC' 8823 lt_prog_compiler_static='-Bstatic' 8824 ;; 8825 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8826 # Portland Group compilers (*not* the Pentium gcc compiler, 8827 # which looks to be a dead project) 8828 lt_prog_compiler_wl='-Wl,' 8829 lt_prog_compiler_pic='-fpic' 8830 lt_prog_compiler_static='-Bstatic' 8831 ;; 8832 ccc*) 8833 lt_prog_compiler_wl='-Wl,' 8834 # All Alpha code is PIC. 8835 lt_prog_compiler_static='-non_shared' 8836 ;; 8837 xl* | bgxl* | bgf* | mpixl*) 8838 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8839 lt_prog_compiler_wl='-Wl,' 8840 lt_prog_compiler_pic='-qpic' 8841 lt_prog_compiler_static='-qstaticlink' 8842 ;; 8843 *) 8844 case `$CC -V 2>&1 | sed 5q` in 8845 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8846 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8847 lt_prog_compiler_pic='-KPIC' 8848 lt_prog_compiler_static='-Bstatic' 8849 lt_prog_compiler_wl='' 8850 ;; 8851 *Sun\ F* | *Sun*Fortran*) 8852 lt_prog_compiler_pic='-KPIC' 8853 lt_prog_compiler_static='-Bstatic' 8854 lt_prog_compiler_wl='-Qoption ld ' 8855 ;; 8856 *Sun\ C*) 8857 # Sun C 5.9 8858 lt_prog_compiler_pic='-KPIC' 8859 lt_prog_compiler_static='-Bstatic' 8860 lt_prog_compiler_wl='-Wl,' 8861 ;; 8862 *Intel*\ [CF]*Compiler*) 8863 lt_prog_compiler_wl='-Wl,' 8864 lt_prog_compiler_pic='-fPIC' 8865 lt_prog_compiler_static='-static' 8866 ;; 8867 *Portland\ Group*) 8868 lt_prog_compiler_wl='-Wl,' 8869 lt_prog_compiler_pic='-fpic' 8870 lt_prog_compiler_static='-Bstatic' 8871 ;; 8872 esac 8873 ;; 8874 esac 8875 ;; 8876 8877 newsos6) 8878 lt_prog_compiler_pic='-KPIC' 8879 lt_prog_compiler_static='-Bstatic' 8880 ;; 8881 8882 *nto* | *qnx*) 8883 # QNX uses GNU C++, but need to define -shared option too, otherwise 8884 # it will coredump. 8885 lt_prog_compiler_pic='-fPIC -shared' 8886 ;; 8887 8888 osf3* | osf4* | osf5*) 8889 lt_prog_compiler_wl='-Wl,' 8890 # All OSF/1 code is PIC. 8891 lt_prog_compiler_static='-non_shared' 8892 ;; 8893 8894 rdos*) 8895 lt_prog_compiler_static='-non_shared' 8896 ;; 8897 8898 solaris*) 8899 lt_prog_compiler_pic='-KPIC' 8900 lt_prog_compiler_static='-Bstatic' 8901 case $cc_basename in 8902 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8903 lt_prog_compiler_wl='-Qoption ld ';; 8904 *) 8905 lt_prog_compiler_wl='-Wl,';; 8906 esac 8907 ;; 8908 8909 sunos4*) 8910 lt_prog_compiler_wl='-Qoption ld ' 8911 lt_prog_compiler_pic='-PIC' 8912 lt_prog_compiler_static='-Bstatic' 8913 ;; 8914 8915 sysv4 | sysv4.2uw2* | sysv4.3*) 8916 lt_prog_compiler_wl='-Wl,' 8917 lt_prog_compiler_pic='-KPIC' 8918 lt_prog_compiler_static='-Bstatic' 8919 ;; 8920 8921 sysv4*MP*) 8922 if test -d /usr/nec ;then 8923 lt_prog_compiler_pic='-Kconform_pic' 8924 lt_prog_compiler_static='-Bstatic' 8925 fi 8926 ;; 8927 8928 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8929 lt_prog_compiler_wl='-Wl,' 8930 lt_prog_compiler_pic='-KPIC' 8931 lt_prog_compiler_static='-Bstatic' 8932 ;; 8933 8934 unicos*) 8935 lt_prog_compiler_wl='-Wl,' 8936 lt_prog_compiler_can_build_shared=no 8937 ;; 8938 8939 uts4*) 8940 lt_prog_compiler_pic='-pic' 8941 lt_prog_compiler_static='-Bstatic' 8942 ;; 8943 8944 *) 8945 lt_prog_compiler_can_build_shared=no 8946 ;; 8947 esac 8948 fi 8949 8950case $host_os in 8951 # For platforms which do not support PIC, -DPIC is meaningless: 8952 *djgpp*) 8953 lt_prog_compiler_pic= 8954 ;; 8955 *) 8956 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8957 ;; 8958esac 8959 8960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8961$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8962if ${lt_cv_prog_compiler_pic+:} false; then : 8963 $as_echo_n "(cached) " >&6 8964else 8965 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8966fi 8967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8968$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8969lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8970 8971# 8972# Check to make sure the PIC flag actually works. 8973# 8974if test -n "$lt_prog_compiler_pic"; then 8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8976$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8977if ${lt_cv_prog_compiler_pic_works+:} false; then : 8978 $as_echo_n "(cached) " >&6 8979else 8980 lt_cv_prog_compiler_pic_works=no 8981 ac_outfile=conftest.$ac_objext 8982 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8983 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8984 # Insert the option either (1) after the last *FLAGS variable, or 8985 # (2) before a word containing "conftest.", or (3) at the end. 8986 # Note that $ac_compile itself does not contain backslashes and begins 8987 # with a dollar sign (not a hyphen), so the echo should work correctly. 8988 # The option is referenced via a variable to avoid confusing sed. 8989 lt_compile=`echo "$ac_compile" | $SED \ 8990 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8991 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8992 -e 's:$: $lt_compiler_flag:'` 8993 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8994 (eval "$lt_compile" 2>conftest.err) 8995 ac_status=$? 8996 cat conftest.err >&5 8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8998 if (exit $ac_status) && test -s "$ac_outfile"; then 8999 # The compiler can only warn and ignore the option if not recognized 9000 # So say no if there are warnings other than the usual output. 9001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9002 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9003 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9004 lt_cv_prog_compiler_pic_works=yes 9005 fi 9006 fi 9007 $RM conftest* 9008 9009fi 9010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9011$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9012 9013if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9014 case $lt_prog_compiler_pic in 9015 "" | " "*) ;; 9016 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9017 esac 9018else 9019 lt_prog_compiler_pic= 9020 lt_prog_compiler_can_build_shared=no 9021fi 9022 9023fi 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035# 9036# Check to make sure the static flag actually works. 9037# 9038wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9040$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9041if ${lt_cv_prog_compiler_static_works+:} false; then : 9042 $as_echo_n "(cached) " >&6 9043else 9044 lt_cv_prog_compiler_static_works=no 9045 save_LDFLAGS="$LDFLAGS" 9046 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9047 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9048 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9049 # The linker can only warn and ignore the option if not recognized 9050 # So say no if there are warnings 9051 if test -s conftest.err; then 9052 # Append any errors to the config.log. 9053 cat conftest.err 1>&5 9054 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9055 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9056 if diff conftest.exp conftest.er2 >/dev/null; then 9057 lt_cv_prog_compiler_static_works=yes 9058 fi 9059 else 9060 lt_cv_prog_compiler_static_works=yes 9061 fi 9062 fi 9063 $RM -r conftest* 9064 LDFLAGS="$save_LDFLAGS" 9065 9066fi 9067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9068$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9069 9070if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9071 : 9072else 9073 lt_prog_compiler_static= 9074fi 9075 9076 9077 9078 9079 9080 9081 9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9083$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9084if ${lt_cv_prog_compiler_c_o+:} false; then : 9085 $as_echo_n "(cached) " >&6 9086else 9087 lt_cv_prog_compiler_c_o=no 9088 $RM -r conftest 2>/dev/null 9089 mkdir conftest 9090 cd conftest 9091 mkdir out 9092 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9093 9094 lt_compiler_flag="-o out/conftest2.$ac_objext" 9095 # Insert the option either (1) after the last *FLAGS variable, or 9096 # (2) before a word containing "conftest.", or (3) at the end. 9097 # Note that $ac_compile itself does not contain backslashes and begins 9098 # with a dollar sign (not a hyphen), so the echo should work correctly. 9099 lt_compile=`echo "$ac_compile" | $SED \ 9100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9102 -e 's:$: $lt_compiler_flag:'` 9103 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9104 (eval "$lt_compile" 2>out/conftest.err) 9105 ac_status=$? 9106 cat out/conftest.err >&5 9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9108 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9109 then 9110 # The compiler can only warn and ignore the option if not recognized 9111 # So say no if there are warnings 9112 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9113 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9114 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9115 lt_cv_prog_compiler_c_o=yes 9116 fi 9117 fi 9118 chmod u+w . 2>&5 9119 $RM conftest* 9120 # SGI C++ compiler will create directory out/ii_files/ for 9121 # template instantiation 9122 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9123 $RM out/* && rmdir out 9124 cd .. 9125 $RM -r conftest 9126 $RM conftest* 9127 9128fi 9129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9130$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9131 9132 9133 9134 9135 9136 9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9138$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9139if ${lt_cv_prog_compiler_c_o+:} false; then : 9140 $as_echo_n "(cached) " >&6 9141else 9142 lt_cv_prog_compiler_c_o=no 9143 $RM -r conftest 2>/dev/null 9144 mkdir conftest 9145 cd conftest 9146 mkdir out 9147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9148 9149 lt_compiler_flag="-o out/conftest2.$ac_objext" 9150 # Insert the option either (1) after the last *FLAGS variable, or 9151 # (2) before a word containing "conftest.", or (3) at the end. 9152 # Note that $ac_compile itself does not contain backslashes and begins 9153 # with a dollar sign (not a hyphen), so the echo should work correctly. 9154 lt_compile=`echo "$ac_compile" | $SED \ 9155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9157 -e 's:$: $lt_compiler_flag:'` 9158 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9159 (eval "$lt_compile" 2>out/conftest.err) 9160 ac_status=$? 9161 cat out/conftest.err >&5 9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9163 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9164 then 9165 # The compiler can only warn and ignore the option if not recognized 9166 # So say no if there are warnings 9167 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9168 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9169 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9170 lt_cv_prog_compiler_c_o=yes 9171 fi 9172 fi 9173 chmod u+w . 2>&5 9174 $RM conftest* 9175 # SGI C++ compiler will create directory out/ii_files/ for 9176 # template instantiation 9177 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9178 $RM out/* && rmdir out 9179 cd .. 9180 $RM -r conftest 9181 $RM conftest* 9182 9183fi 9184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9185$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9186 9187 9188 9189 9190hard_links="nottested" 9191if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9192 # do not overwrite the value of need_locks provided by the user 9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9194$as_echo_n "checking if we can lock with hard links... " >&6; } 9195 hard_links=yes 9196 $RM conftest* 9197 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9198 touch conftest.a 9199 ln conftest.a conftest.b 2>&5 || hard_links=no 9200 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9202$as_echo "$hard_links" >&6; } 9203 if test "$hard_links" = no; then 9204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9205$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9206 need_locks=warn 9207 fi 9208else 9209 need_locks=no 9210fi 9211 9212 9213 9214 9215 9216 9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9218$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9219 9220 runpath_var= 9221 allow_undefined_flag= 9222 always_export_symbols=no 9223 archive_cmds= 9224 archive_expsym_cmds= 9225 compiler_needs_object=no 9226 enable_shared_with_static_runtimes=no 9227 export_dynamic_flag_spec= 9228 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9229 hardcode_automatic=no 9230 hardcode_direct=no 9231 hardcode_direct_absolute=no 9232 hardcode_libdir_flag_spec= 9233 hardcode_libdir_separator= 9234 hardcode_minus_L=no 9235 hardcode_shlibpath_var=unsupported 9236 inherit_rpath=no 9237 link_all_deplibs=unknown 9238 module_cmds= 9239 module_expsym_cmds= 9240 old_archive_from_new_cmds= 9241 old_archive_from_expsyms_cmds= 9242 thread_safe_flag_spec= 9243 whole_archive_flag_spec= 9244 # include_expsyms should be a list of space-separated symbols to be *always* 9245 # included in the symbol list 9246 include_expsyms= 9247 # exclude_expsyms can be an extended regexp of symbols to exclude 9248 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9249 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9250 # as well as any symbol that contains `d'. 9251 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9252 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9253 # platforms (ab)use it in PIC code, but their linkers get confused if 9254 # the symbol is explicitly referenced. Since portable code cannot 9255 # rely on this symbol name, it's probably fine to never include it in 9256 # preloaded symbol tables. 9257 # Exclude shared library initialization/finalization symbols. 9258 extract_expsyms_cmds= 9259 9260 case $host_os in 9261 cygwin* | mingw* | pw32* | cegcc*) 9262 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9263 # When not using gcc, we currently assume that we are using 9264 # Microsoft Visual C++. 9265 if test "$GCC" != yes; then 9266 with_gnu_ld=no 9267 fi 9268 ;; 9269 interix*) 9270 # we just hope/assume this is gcc and not c89 (= MSVC++) 9271 with_gnu_ld=yes 9272 ;; 9273 openbsd*) 9274 with_gnu_ld=no 9275 ;; 9276 esac 9277 9278 ld_shlibs=yes 9279 9280 # On some targets, GNU ld is compatible enough with the native linker 9281 # that we're better off using the native interface for both. 9282 lt_use_gnu_ld_interface=no 9283 if test "$with_gnu_ld" = yes; then 9284 case $host_os in 9285 aix*) 9286 # The AIX port of GNU ld has always aspired to compatibility 9287 # with the native linker. However, as the warning in the GNU ld 9288 # block says, versions before 2.19.5* couldn't really create working 9289 # shared libraries, regardless of the interface used. 9290 case `$LD -v 2>&1` in 9291 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9292 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9293 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9294 *) 9295 lt_use_gnu_ld_interface=yes 9296 ;; 9297 esac 9298 ;; 9299 *) 9300 lt_use_gnu_ld_interface=yes 9301 ;; 9302 esac 9303 fi 9304 9305 if test "$lt_use_gnu_ld_interface" = yes; then 9306 # If archive_cmds runs LD, not CC, wlarc should be empty 9307 wlarc='${wl}' 9308 9309 # Set some defaults for GNU ld with shared library support. These 9310 # are reset later if shared libraries are not supported. Putting them 9311 # here allows them to be overridden if necessary. 9312 runpath_var=LD_RUN_PATH 9313 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9314 export_dynamic_flag_spec='${wl}--export-dynamic' 9315 # ancient GNU ld didn't support --whole-archive et. al. 9316 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9317 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9318 else 9319 whole_archive_flag_spec= 9320 fi 9321 supports_anon_versioning=no 9322 case `$LD -v 2>&1` in 9323 *GNU\ gold*) supports_anon_versioning=yes ;; 9324 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9325 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9326 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9327 *\ 2.11.*) ;; # other 2.11 versions 9328 *) supports_anon_versioning=yes ;; 9329 esac 9330 9331 # See if GNU ld supports shared libraries. 9332 case $host_os in 9333 aix[3-9]*) 9334 # On AIX/PPC, the GNU linker is very broken 9335 if test "$host_cpu" != ia64; then 9336 ld_shlibs=no 9337 cat <<_LT_EOF 1>&2 9338 9339*** Warning: the GNU linker, at least up to release 2.19, is reported 9340*** to be unable to reliably create shared libraries on AIX. 9341*** Therefore, libtool is disabling shared libraries support. If you 9342*** really care for shared libraries, you may want to install binutils 9343*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9344*** You will then need to restart the configuration process. 9345 9346_LT_EOF 9347 fi 9348 ;; 9349 9350 amigaos*) 9351 case $host_cpu in 9352 powerpc) 9353 # see comment about AmigaOS4 .so support 9354 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9355 archive_expsym_cmds='' 9356 ;; 9357 m68k) 9358 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)' 9359 hardcode_libdir_flag_spec='-L$libdir' 9360 hardcode_minus_L=yes 9361 ;; 9362 esac 9363 ;; 9364 9365 beos*) 9366 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9367 allow_undefined_flag=unsupported 9368 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9369 # support --undefined. This deserves some investigation. FIXME 9370 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9371 else 9372 ld_shlibs=no 9373 fi 9374 ;; 9375 9376 cygwin* | mingw* | pw32* | cegcc*) 9377 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9378 # as there is no search path for DLLs. 9379 hardcode_libdir_flag_spec='-L$libdir' 9380 export_dynamic_flag_spec='${wl}--export-all-symbols' 9381 allow_undefined_flag=unsupported 9382 always_export_symbols=no 9383 enable_shared_with_static_runtimes=yes 9384 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' 9385 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9386 9387 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9388 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9389 # If the export-symbols file already is a .def file (1st line 9390 # is EXPORTS), use it as is; otherwise, prepend... 9391 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9392 cp $export_symbols $output_objdir/$soname.def; 9393 else 9394 echo EXPORTS > $output_objdir/$soname.def; 9395 cat $export_symbols >> $output_objdir/$soname.def; 9396 fi~ 9397 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9398 else 9399 ld_shlibs=no 9400 fi 9401 ;; 9402 9403 haiku*) 9404 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9405 link_all_deplibs=yes 9406 ;; 9407 9408 interix[3-9]*) 9409 hardcode_direct=no 9410 hardcode_shlibpath_var=no 9411 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9412 export_dynamic_flag_spec='${wl}-E' 9413 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9414 # Instead, shared libraries are loaded at an image base (0x10000000 by 9415 # default) and relocated if they conflict, which is a slow very memory 9416 # consuming and fragmenting process. To avoid this, we pick a random, 9417 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9418 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9419 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9420 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' 9421 ;; 9422 9423 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9424 tmp_diet=no 9425 if test "$host_os" = linux-dietlibc; then 9426 case $cc_basename in 9427 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9428 esac 9429 fi 9430 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9431 && test "$tmp_diet" = no 9432 then 9433 tmp_addflag=' $pic_flag' 9434 tmp_sharedflag='-shared' 9435 case $cc_basename,$host_cpu in 9436 pgcc*) # Portland Group C compiler 9437 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' 9438 tmp_addflag=' $pic_flag' 9439 ;; 9440 pgf77* | pgf90* | pgf95* | pgfortran*) 9441 # Portland Group f77 and f90 compilers 9442 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' 9443 tmp_addflag=' $pic_flag -Mnomain' ;; 9444 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9445 tmp_addflag=' -i_dynamic' ;; 9446 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9447 tmp_addflag=' -i_dynamic -nofor_main' ;; 9448 ifc* | ifort*) # Intel Fortran compiler 9449 tmp_addflag=' -nofor_main' ;; 9450 lf95*) # Lahey Fortran 8.1 9451 whole_archive_flag_spec= 9452 tmp_sharedflag='--shared' ;; 9453 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9454 tmp_sharedflag='-qmkshrobj' 9455 tmp_addflag= ;; 9456 nvcc*) # Cuda Compiler Driver 2.2 9457 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' 9458 compiler_needs_object=yes 9459 ;; 9460 esac 9461 case `$CC -V 2>&1 | sed 5q` in 9462 *Sun\ C*) # Sun C 5.9 9463 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' 9464 compiler_needs_object=yes 9465 tmp_sharedflag='-G' ;; 9466 *Sun\ F*) # Sun Fortran 8.3 9467 tmp_sharedflag='-G' ;; 9468 esac 9469 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9470 9471 if test "x$supports_anon_versioning" = xyes; then 9472 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9473 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9474 echo "local: *; };" >> $output_objdir/$libname.ver~ 9475 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9476 fi 9477 9478 case $cc_basename in 9479 xlf* | bgf* | bgxlf* | mpixlf*) 9480 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9481 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9482 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9483 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9484 if test "x$supports_anon_versioning" = xyes; then 9485 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9486 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9487 echo "local: *; };" >> $output_objdir/$libname.ver~ 9488 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9489 fi 9490 ;; 9491 esac 9492 else 9493 ld_shlibs=no 9494 fi 9495 ;; 9496 9497 netbsd*) 9498 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9499 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9500 wlarc= 9501 else 9502 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9503 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9504 fi 9505 ;; 9506 9507 solaris*) 9508 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9509 ld_shlibs=no 9510 cat <<_LT_EOF 1>&2 9511 9512*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9513*** create shared libraries on Solaris systems. Therefore, libtool 9514*** is disabling shared libraries support. We urge you to upgrade GNU 9515*** binutils to release 2.9.1 or newer. Another option is to modify 9516*** your PATH or compiler configuration so that the native linker is 9517*** used, and then restart. 9518 9519_LT_EOF 9520 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9521 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9522 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9523 else 9524 ld_shlibs=no 9525 fi 9526 ;; 9527 9528 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9529 case `$LD -v 2>&1` in 9530 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9531 ld_shlibs=no 9532 cat <<_LT_EOF 1>&2 9533 9534*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9535*** reliably create shared libraries on SCO systems. Therefore, libtool 9536*** is disabling shared libraries support. We urge you to upgrade GNU 9537*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9538*** your PATH or compiler configuration so that the native linker is 9539*** used, and then restart. 9540 9541_LT_EOF 9542 ;; 9543 *) 9544 # For security reasons, it is highly recommended that you always 9545 # use absolute paths for naming shared libraries, and exclude the 9546 # DT_RUNPATH tag from executables and libraries. But doing so 9547 # requires that you compile everything twice, which is a pain. 9548 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9549 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9550 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9551 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9552 else 9553 ld_shlibs=no 9554 fi 9555 ;; 9556 esac 9557 ;; 9558 9559 sunos4*) 9560 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9561 wlarc= 9562 hardcode_direct=yes 9563 hardcode_shlibpath_var=no 9564 ;; 9565 9566 *) 9567 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9568 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9569 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9570 else 9571 ld_shlibs=no 9572 fi 9573 ;; 9574 esac 9575 9576 if test "$ld_shlibs" = no; then 9577 runpath_var= 9578 hardcode_libdir_flag_spec= 9579 export_dynamic_flag_spec= 9580 whole_archive_flag_spec= 9581 fi 9582 else 9583 # PORTME fill in a description of your system's linker (not GNU ld) 9584 case $host_os in 9585 aix3*) 9586 allow_undefined_flag=unsupported 9587 always_export_symbols=yes 9588 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' 9589 # Note: this linker hardcodes the directories in LIBPATH if there 9590 # are no directories specified by -L. 9591 hardcode_minus_L=yes 9592 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9593 # Neither direct hardcoding nor static linking is supported with a 9594 # broken collect2. 9595 hardcode_direct=unsupported 9596 fi 9597 ;; 9598 9599 aix[4-9]*) 9600 if test "$host_cpu" = ia64; then 9601 # On IA64, the linker does run time linking by default, so we don't 9602 # have to do anything special. 9603 aix_use_runtimelinking=no 9604 exp_sym_flag='-Bexport' 9605 no_entry_flag="" 9606 else 9607 # If we're using GNU nm, then we don't want the "-C" option. 9608 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9609 # Also, AIX nm treats weak defined symbols like other global 9610 # defined symbols, whereas GNU nm marks them as "W". 9611 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9612 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' 9613 else 9614 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' 9615 fi 9616 aix_use_runtimelinking=no 9617 9618 # Test if we are trying to use run time linking or normal 9619 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9620 # need to do runtime linking. 9621 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9622 for ld_flag in $LDFLAGS; do 9623 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9624 aix_use_runtimelinking=yes 9625 break 9626 fi 9627 done 9628 ;; 9629 esac 9630 9631 exp_sym_flag='-bexport' 9632 no_entry_flag='-bnoentry' 9633 fi 9634 9635 # When large executables or shared objects are built, AIX ld can 9636 # have problems creating the table of contents. If linking a library 9637 # or program results in "error TOC overflow" add -mminimal-toc to 9638 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9639 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9640 9641 archive_cmds='' 9642 hardcode_direct=yes 9643 hardcode_direct_absolute=yes 9644 hardcode_libdir_separator=':' 9645 link_all_deplibs=yes 9646 file_list_spec='${wl}-f,' 9647 9648 if test "$GCC" = yes; then 9649 case $host_os in aix4.[012]|aix4.[012].*) 9650 # We only want to do this on AIX 4.2 and lower, the check 9651 # below for broken collect2 doesn't work under 4.3+ 9652 collect2name=`${CC} -print-prog-name=collect2` 9653 if test -f "$collect2name" && 9654 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9655 then 9656 # We have reworked collect2 9657 : 9658 else 9659 # We have old collect2 9660 hardcode_direct=unsupported 9661 # It fails to find uninstalled libraries when the uninstalled 9662 # path is not listed in the libpath. Setting hardcode_minus_L 9663 # to unsupported forces relinking 9664 hardcode_minus_L=yes 9665 hardcode_libdir_flag_spec='-L$libdir' 9666 hardcode_libdir_separator= 9667 fi 9668 ;; 9669 esac 9670 shared_flag='-shared' 9671 if test "$aix_use_runtimelinking" = yes; then 9672 shared_flag="$shared_flag "'${wl}-G' 9673 fi 9674 else 9675 # not using gcc 9676 if test "$host_cpu" = ia64; then 9677 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9678 # chokes on -Wl,-G. The following line is correct: 9679 shared_flag='-G' 9680 else 9681 if test "$aix_use_runtimelinking" = yes; then 9682 shared_flag='${wl}-G' 9683 else 9684 shared_flag='${wl}-bM:SRE' 9685 fi 9686 fi 9687 fi 9688 9689 export_dynamic_flag_spec='${wl}-bexpall' 9690 # It seems that -bexpall does not export symbols beginning with 9691 # underscore (_), so it is better to generate a list of symbols to export. 9692 always_export_symbols=yes 9693 if test "$aix_use_runtimelinking" = yes; then 9694 # Warning - without using the other runtime loading flags (-brtl), 9695 # -berok will link without error, but may produce a broken library. 9696 allow_undefined_flag='-berok' 9697 # Determine the default libpath from the value encoded in an 9698 # empty executable. 9699 if test "${lt_cv_aix_libpath+set}" = set; then 9700 aix_libpath=$lt_cv_aix_libpath 9701else 9702 if ${lt_cv_aix_libpath_+:} false; then : 9703 $as_echo_n "(cached) " >&6 9704else 9705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9706/* end confdefs.h. */ 9707 9708int 9709main () 9710{ 9711 9712 ; 9713 return 0; 9714} 9715_ACEOF 9716if ac_fn_c_try_link "$LINENO"; then : 9717 9718 lt_aix_libpath_sed=' 9719 /Import File Strings/,/^$/ { 9720 /^0/ { 9721 s/^0 *\([^ ]*\) *$/\1/ 9722 p 9723 } 9724 }' 9725 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9726 # Check for a 64-bit object if we didn't find anything. 9727 if test -z "$lt_cv_aix_libpath_"; then 9728 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9729 fi 9730fi 9731rm -f core conftest.err conftest.$ac_objext \ 9732 conftest$ac_exeext conftest.$ac_ext 9733 if test -z "$lt_cv_aix_libpath_"; then 9734 lt_cv_aix_libpath_="/usr/lib:/lib" 9735 fi 9736 9737fi 9738 9739 aix_libpath=$lt_cv_aix_libpath_ 9740fi 9741 9742 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9743 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" 9744 else 9745 if test "$host_cpu" = ia64; then 9746 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9747 allow_undefined_flag="-z nodefs" 9748 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" 9749 else 9750 # Determine the default libpath from the value encoded in an 9751 # empty executable. 9752 if test "${lt_cv_aix_libpath+set}" = set; then 9753 aix_libpath=$lt_cv_aix_libpath 9754else 9755 if ${lt_cv_aix_libpath_+:} false; then : 9756 $as_echo_n "(cached) " >&6 9757else 9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9759/* end confdefs.h. */ 9760 9761int 9762main () 9763{ 9764 9765 ; 9766 return 0; 9767} 9768_ACEOF 9769if ac_fn_c_try_link "$LINENO"; then : 9770 9771 lt_aix_libpath_sed=' 9772 /Import File Strings/,/^$/ { 9773 /^0/ { 9774 s/^0 *\([^ ]*\) *$/\1/ 9775 p 9776 } 9777 }' 9778 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9779 # Check for a 64-bit object if we didn't find anything. 9780 if test -z "$lt_cv_aix_libpath_"; then 9781 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9782 fi 9783fi 9784rm -f core conftest.err conftest.$ac_objext \ 9785 conftest$ac_exeext conftest.$ac_ext 9786 if test -z "$lt_cv_aix_libpath_"; then 9787 lt_cv_aix_libpath_="/usr/lib:/lib" 9788 fi 9789 9790fi 9791 9792 aix_libpath=$lt_cv_aix_libpath_ 9793fi 9794 9795 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9796 # Warning - without using the other run time loading flags, 9797 # -berok will link without error, but may produce a broken library. 9798 no_undefined_flag=' ${wl}-bernotok' 9799 allow_undefined_flag=' ${wl}-berok' 9800 if test "$with_gnu_ld" = yes; then 9801 # We only use this code for GNU lds that support --whole-archive. 9802 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9803 else 9804 # Exported symbols can be pulled into shared objects from archives 9805 whole_archive_flag_spec='$convenience' 9806 fi 9807 archive_cmds_need_lc=yes 9808 # This is similar to how AIX traditionally builds its shared libraries. 9809 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' 9810 fi 9811 fi 9812 ;; 9813 9814 amigaos*) 9815 case $host_cpu in 9816 powerpc) 9817 # see comment about AmigaOS4 .so support 9818 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9819 archive_expsym_cmds='' 9820 ;; 9821 m68k) 9822 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)' 9823 hardcode_libdir_flag_spec='-L$libdir' 9824 hardcode_minus_L=yes 9825 ;; 9826 esac 9827 ;; 9828 9829 bsdi[45]*) 9830 export_dynamic_flag_spec=-rdynamic 9831 ;; 9832 9833 cygwin* | mingw* | pw32* | cegcc*) 9834 # When not using gcc, we currently assume that we are using 9835 # Microsoft Visual C++. 9836 # hardcode_libdir_flag_spec is actually meaningless, as there is 9837 # no search path for DLLs. 9838 case $cc_basename in 9839 cl*) 9840 # Native MSVC 9841 hardcode_libdir_flag_spec=' ' 9842 allow_undefined_flag=unsupported 9843 always_export_symbols=yes 9844 file_list_spec='@' 9845 # Tell ltmain to make .lib files, not .a files. 9846 libext=lib 9847 # Tell ltmain to make .dll files, not .so files. 9848 shrext_cmds=".dll" 9849 # FIXME: Setting linknames here is a bad hack. 9850 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9851 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9852 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9853 else 9854 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9855 fi~ 9856 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9857 linknames=' 9858 # The linker will not automatically build a static lib if we build a DLL. 9859 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9860 enable_shared_with_static_runtimes=yes 9861 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9862 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9863 # Don't use ranlib 9864 old_postinstall_cmds='chmod 644 $oldlib' 9865 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9866 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9867 case $lt_outputfile in 9868 *.exe|*.EXE) ;; 9869 *) 9870 lt_outputfile="$lt_outputfile.exe" 9871 lt_tool_outputfile="$lt_tool_outputfile.exe" 9872 ;; 9873 esac~ 9874 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9875 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9876 $RM "$lt_outputfile.manifest"; 9877 fi' 9878 ;; 9879 *) 9880 # Assume MSVC wrapper 9881 hardcode_libdir_flag_spec=' ' 9882 allow_undefined_flag=unsupported 9883 # Tell ltmain to make .lib files, not .a files. 9884 libext=lib 9885 # Tell ltmain to make .dll files, not .so files. 9886 shrext_cmds=".dll" 9887 # FIXME: Setting linknames here is a bad hack. 9888 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9889 # The linker will automatically build a .lib file if we build a DLL. 9890 old_archive_from_new_cmds='true' 9891 # FIXME: Should let the user specify the lib program. 9892 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9893 enable_shared_with_static_runtimes=yes 9894 ;; 9895 esac 9896 ;; 9897 9898 darwin* | rhapsody*) 9899 9900 9901 archive_cmds_need_lc=no 9902 hardcode_direct=no 9903 hardcode_automatic=yes 9904 hardcode_shlibpath_var=unsupported 9905 if test "$lt_cv_ld_force_load" = "yes"; then 9906 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\"`' 9907 9908 else 9909 whole_archive_flag_spec='' 9910 fi 9911 link_all_deplibs=yes 9912 allow_undefined_flag="$_lt_dar_allow_undefined" 9913 case $cc_basename in 9914 ifort*) _lt_dar_can_shared=yes ;; 9915 *) _lt_dar_can_shared=$GCC ;; 9916 esac 9917 if test "$_lt_dar_can_shared" = "yes"; then 9918 output_verbose_link_cmd=func_echo_all 9919 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9920 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9921 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}" 9922 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}" 9923 9924 else 9925 ld_shlibs=no 9926 fi 9927 9928 ;; 9929 9930 dgux*) 9931 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9932 hardcode_libdir_flag_spec='-L$libdir' 9933 hardcode_shlibpath_var=no 9934 ;; 9935 9936 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9937 # support. Future versions do this automatically, but an explicit c++rt0.o 9938 # does not break anything, and helps significantly (at the cost of a little 9939 # extra space). 9940 freebsd2.2*) 9941 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9942 hardcode_libdir_flag_spec='-R$libdir' 9943 hardcode_direct=yes 9944 hardcode_shlibpath_var=no 9945 ;; 9946 9947 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9948 freebsd2.*) 9949 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9950 hardcode_direct=yes 9951 hardcode_minus_L=yes 9952 hardcode_shlibpath_var=no 9953 ;; 9954 9955 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9956 freebsd* | dragonfly*) 9957 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9958 hardcode_libdir_flag_spec='-R$libdir' 9959 hardcode_direct=yes 9960 hardcode_shlibpath_var=no 9961 ;; 9962 9963 hpux9*) 9964 if test "$GCC" = yes; then 9965 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' 9966 else 9967 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' 9968 fi 9969 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9970 hardcode_libdir_separator=: 9971 hardcode_direct=yes 9972 9973 # hardcode_minus_L: Not really in the search PATH, 9974 # but as the default location of the library. 9975 hardcode_minus_L=yes 9976 export_dynamic_flag_spec='${wl}-E' 9977 ;; 9978 9979 hpux10*) 9980 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9981 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9982 else 9983 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9984 fi 9985 if test "$with_gnu_ld" = no; then 9986 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9987 hardcode_libdir_separator=: 9988 hardcode_direct=yes 9989 hardcode_direct_absolute=yes 9990 export_dynamic_flag_spec='${wl}-E' 9991 # hardcode_minus_L: Not really in the search PATH, 9992 # but as the default location of the library. 9993 hardcode_minus_L=yes 9994 fi 9995 ;; 9996 9997 hpux11*) 9998 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9999 case $host_cpu in 10000 hppa*64*) 10001 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10002 ;; 10003 ia64*) 10004 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10005 ;; 10006 *) 10007 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10008 ;; 10009 esac 10010 else 10011 case $host_cpu in 10012 hppa*64*) 10013 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10014 ;; 10015 ia64*) 10016 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10017 ;; 10018 *) 10019 10020 # Older versions of the 11.00 compiler do not understand -b yet 10021 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10023$as_echo_n "checking if $CC understands -b... " >&6; } 10024if ${lt_cv_prog_compiler__b+:} false; then : 10025 $as_echo_n "(cached) " >&6 10026else 10027 lt_cv_prog_compiler__b=no 10028 save_LDFLAGS="$LDFLAGS" 10029 LDFLAGS="$LDFLAGS -b" 10030 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10031 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10032 # The linker can only warn and ignore the option if not recognized 10033 # So say no if there are warnings 10034 if test -s conftest.err; then 10035 # Append any errors to the config.log. 10036 cat conftest.err 1>&5 10037 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10038 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10039 if diff conftest.exp conftest.er2 >/dev/null; then 10040 lt_cv_prog_compiler__b=yes 10041 fi 10042 else 10043 lt_cv_prog_compiler__b=yes 10044 fi 10045 fi 10046 $RM -r conftest* 10047 LDFLAGS="$save_LDFLAGS" 10048 10049fi 10050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10051$as_echo "$lt_cv_prog_compiler__b" >&6; } 10052 10053if test x"$lt_cv_prog_compiler__b" = xyes; then 10054 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10055else 10056 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10057fi 10058 10059 ;; 10060 esac 10061 fi 10062 if test "$with_gnu_ld" = no; then 10063 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10064 hardcode_libdir_separator=: 10065 10066 case $host_cpu in 10067 hppa*64*|ia64*) 10068 hardcode_direct=no 10069 hardcode_shlibpath_var=no 10070 ;; 10071 *) 10072 hardcode_direct=yes 10073 hardcode_direct_absolute=yes 10074 export_dynamic_flag_spec='${wl}-E' 10075 10076 # hardcode_minus_L: Not really in the search PATH, 10077 # but as the default location of the library. 10078 hardcode_minus_L=yes 10079 ;; 10080 esac 10081 fi 10082 ;; 10083 10084 irix5* | irix6* | nonstopux*) 10085 if test "$GCC" = yes; then 10086 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' 10087 # Try to use the -exported_symbol ld option, if it does not 10088 # work, assume that -exports_file does not work either and 10089 # implicitly export all symbols. 10090 # This should be the same for all languages, so no per-tag cache variable. 10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10092$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10093if ${lt_cv_irix_exported_symbol+:} false; then : 10094 $as_echo_n "(cached) " >&6 10095else 10096 save_LDFLAGS="$LDFLAGS" 10097 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10099/* end confdefs.h. */ 10100int foo (void) { return 0; } 10101_ACEOF 10102if ac_fn_c_try_link "$LINENO"; then : 10103 lt_cv_irix_exported_symbol=yes 10104else 10105 lt_cv_irix_exported_symbol=no 10106fi 10107rm -f core conftest.err conftest.$ac_objext \ 10108 conftest$ac_exeext conftest.$ac_ext 10109 LDFLAGS="$save_LDFLAGS" 10110fi 10111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10112$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10113 if test "$lt_cv_irix_exported_symbol" = yes; then 10114 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' 10115 fi 10116 else 10117 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' 10118 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' 10119 fi 10120 archive_cmds_need_lc='no' 10121 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10122 hardcode_libdir_separator=: 10123 inherit_rpath=yes 10124 link_all_deplibs=yes 10125 ;; 10126 10127 netbsd*) 10128 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10129 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10130 else 10131 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10132 fi 10133 hardcode_libdir_flag_spec='-R$libdir' 10134 hardcode_direct=yes 10135 hardcode_shlibpath_var=no 10136 ;; 10137 10138 newsos6) 10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10140 hardcode_direct=yes 10141 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10142 hardcode_libdir_separator=: 10143 hardcode_shlibpath_var=no 10144 ;; 10145 10146 *nto* | *qnx*) 10147 ;; 10148 10149 openbsd*) 10150 if test -f /usr/libexec/ld.so; then 10151 hardcode_direct=yes 10152 hardcode_shlibpath_var=no 10153 hardcode_direct_absolute=yes 10154 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10155 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10156 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10157 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10158 export_dynamic_flag_spec='${wl}-E' 10159 else 10160 case $host_os in 10161 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10162 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10163 hardcode_libdir_flag_spec='-R$libdir' 10164 ;; 10165 *) 10166 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10167 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10168 ;; 10169 esac 10170 fi 10171 else 10172 ld_shlibs=no 10173 fi 10174 ;; 10175 10176 os2*) 10177 hardcode_libdir_flag_spec='-L$libdir' 10178 hardcode_minus_L=yes 10179 allow_undefined_flag=unsupported 10180 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' 10181 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10182 ;; 10183 10184 osf3*) 10185 if test "$GCC" = yes; then 10186 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10187 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' 10188 else 10189 allow_undefined_flag=' -expect_unresolved \*' 10190 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' 10191 fi 10192 archive_cmds_need_lc='no' 10193 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10194 hardcode_libdir_separator=: 10195 ;; 10196 10197 osf4* | osf5*) # as osf3* with the addition of -msym flag 10198 if test "$GCC" = yes; then 10199 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10200 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' 10201 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10202 else 10203 allow_undefined_flag=' -expect_unresolved \*' 10204 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' 10205 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~ 10206 $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' 10207 10208 # Both c and cxx compiler support -rpath directly 10209 hardcode_libdir_flag_spec='-rpath $libdir' 10210 fi 10211 archive_cmds_need_lc='no' 10212 hardcode_libdir_separator=: 10213 ;; 10214 10215 solaris*) 10216 no_undefined_flag=' -z defs' 10217 if test "$GCC" = yes; then 10218 wlarc='${wl}' 10219 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10220 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10221 $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' 10222 else 10223 case `$CC -V 2>&1` in 10224 *"Compilers 5.0"*) 10225 wlarc='' 10226 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10227 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10228 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10229 ;; 10230 *) 10231 wlarc='${wl}' 10232 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10233 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10234 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10235 ;; 10236 esac 10237 fi 10238 hardcode_libdir_flag_spec='-R$libdir' 10239 hardcode_shlibpath_var=no 10240 case $host_os in 10241 solaris2.[0-5] | solaris2.[0-5].*) ;; 10242 *) 10243 # The compiler driver will combine and reorder linker options, 10244 # but understands `-z linker_flag'. GCC discards it without `$wl', 10245 # but is careful enough not to reorder. 10246 # Supported since Solaris 2.6 (maybe 2.5.1?) 10247 if test "$GCC" = yes; then 10248 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10249 else 10250 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10251 fi 10252 ;; 10253 esac 10254 link_all_deplibs=yes 10255 ;; 10256 10257 sunos4*) 10258 if test "x$host_vendor" = xsequent; then 10259 # Use $CC to link under sequent, because it throws in some extra .o 10260 # files that make .init and .fini sections work. 10261 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10262 else 10263 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10264 fi 10265 hardcode_libdir_flag_spec='-L$libdir' 10266 hardcode_direct=yes 10267 hardcode_minus_L=yes 10268 hardcode_shlibpath_var=no 10269 ;; 10270 10271 sysv4) 10272 case $host_vendor in 10273 sni) 10274 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10275 hardcode_direct=yes # is this really true??? 10276 ;; 10277 siemens) 10278 ## LD is ld it makes a PLAMLIB 10279 ## CC just makes a GrossModule. 10280 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10281 reload_cmds='$CC -r -o $output$reload_objs' 10282 hardcode_direct=no 10283 ;; 10284 motorola) 10285 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10286 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10287 ;; 10288 esac 10289 runpath_var='LD_RUN_PATH' 10290 hardcode_shlibpath_var=no 10291 ;; 10292 10293 sysv4.3*) 10294 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10295 hardcode_shlibpath_var=no 10296 export_dynamic_flag_spec='-Bexport' 10297 ;; 10298 10299 sysv4*MP*) 10300 if test -d /usr/nec; then 10301 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10302 hardcode_shlibpath_var=no 10303 runpath_var=LD_RUN_PATH 10304 hardcode_runpath_var=yes 10305 ld_shlibs=yes 10306 fi 10307 ;; 10308 10309 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10310 no_undefined_flag='${wl}-z,text' 10311 archive_cmds_need_lc=no 10312 hardcode_shlibpath_var=no 10313 runpath_var='LD_RUN_PATH' 10314 10315 if test "$GCC" = yes; then 10316 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10317 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10318 else 10319 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10320 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10321 fi 10322 ;; 10323 10324 sysv5* | sco3.2v5* | sco5v6*) 10325 # Note: We can NOT use -z defs as we might desire, because we do not 10326 # link with -lc, and that would cause any symbols used from libc to 10327 # always be unresolved, which means just about no library would 10328 # ever link correctly. If we're not using GNU ld we use -z text 10329 # though, which does catch some bad symbols but isn't as heavy-handed 10330 # as -z defs. 10331 no_undefined_flag='${wl}-z,text' 10332 allow_undefined_flag='${wl}-z,nodefs' 10333 archive_cmds_need_lc=no 10334 hardcode_shlibpath_var=no 10335 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10336 hardcode_libdir_separator=':' 10337 link_all_deplibs=yes 10338 export_dynamic_flag_spec='${wl}-Bexport' 10339 runpath_var='LD_RUN_PATH' 10340 10341 if test "$GCC" = yes; then 10342 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10343 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10344 else 10345 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10346 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10347 fi 10348 ;; 10349 10350 uts4*) 10351 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10352 hardcode_libdir_flag_spec='-L$libdir' 10353 hardcode_shlibpath_var=no 10354 ;; 10355 10356 *) 10357 ld_shlibs=no 10358 ;; 10359 esac 10360 10361 if test x$host_vendor = xsni; then 10362 case $host in 10363 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10364 export_dynamic_flag_spec='${wl}-Blargedynsym' 10365 ;; 10366 esac 10367 fi 10368 fi 10369 10370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10371$as_echo "$ld_shlibs" >&6; } 10372test "$ld_shlibs" = no && can_build_shared=no 10373 10374with_gnu_ld=$with_gnu_ld 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390# 10391# Do we need to explicitly link libc? 10392# 10393case "x$archive_cmds_need_lc" in 10394x|xyes) 10395 # Assume -lc should be added 10396 archive_cmds_need_lc=yes 10397 10398 if test "$enable_shared" = yes && test "$GCC" = yes; then 10399 case $archive_cmds in 10400 *'~'*) 10401 # FIXME: we may have to deal with multi-command sequences. 10402 ;; 10403 '$CC '*) 10404 # Test whether the compiler implicitly links with -lc since on some 10405 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10406 # to ld, don't add -lc before -lgcc. 10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10408$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10409if ${lt_cv_archive_cmds_need_lc+:} false; then : 10410 $as_echo_n "(cached) " >&6 10411else 10412 $RM conftest* 10413 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10414 10415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10416 (eval $ac_compile) 2>&5 10417 ac_status=$? 10418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10419 test $ac_status = 0; } 2>conftest.err; then 10420 soname=conftest 10421 lib=conftest 10422 libobjs=conftest.$ac_objext 10423 deplibs= 10424 wl=$lt_prog_compiler_wl 10425 pic_flag=$lt_prog_compiler_pic 10426 compiler_flags=-v 10427 linker_flags=-v 10428 verstring= 10429 output_objdir=. 10430 libname=conftest 10431 lt_save_allow_undefined_flag=$allow_undefined_flag 10432 allow_undefined_flag= 10433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10434 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10435 ac_status=$? 10436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10437 test $ac_status = 0; } 10438 then 10439 lt_cv_archive_cmds_need_lc=no 10440 else 10441 lt_cv_archive_cmds_need_lc=yes 10442 fi 10443 allow_undefined_flag=$lt_save_allow_undefined_flag 10444 else 10445 cat conftest.err 1>&5 10446 fi 10447 $RM conftest* 10448 10449fi 10450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10451$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10452 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10453 ;; 10454 esac 10455 fi 10456 ;; 10457esac 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10611$as_echo_n "checking dynamic linker characteristics... " >&6; } 10612 10613if test "$GCC" = yes; then 10614 case $host_os in 10615 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10616 *) lt_awk_arg="/^libraries:/" ;; 10617 esac 10618 case $host_os in 10619 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10620 *) lt_sed_strip_eq="s,=/,/,g" ;; 10621 esac 10622 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10623 case $lt_search_path_spec in 10624 *\;*) 10625 # if the path contains ";" then we assume it to be the separator 10626 # otherwise default to the standard path separator (i.e. ":") - it is 10627 # assumed that no part of a normal pathname contains ";" but that should 10628 # okay in the real world where ";" in dirpaths is itself problematic. 10629 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10630 ;; 10631 *) 10632 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10633 ;; 10634 esac 10635 # Ok, now we have the path, separated by spaces, we can step through it 10636 # and add multilib dir if necessary. 10637 lt_tmp_lt_search_path_spec= 10638 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10639 for lt_sys_path in $lt_search_path_spec; do 10640 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10641 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10642 else 10643 test -d "$lt_sys_path" && \ 10644 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10645 fi 10646 done 10647 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10648BEGIN {RS=" "; FS="/|\n";} { 10649 lt_foo=""; 10650 lt_count=0; 10651 for (lt_i = NF; lt_i > 0; lt_i--) { 10652 if ($lt_i != "" && $lt_i != ".") { 10653 if ($lt_i == "..") { 10654 lt_count++; 10655 } else { 10656 if (lt_count == 0) { 10657 lt_foo="/" $lt_i lt_foo; 10658 } else { 10659 lt_count--; 10660 } 10661 } 10662 } 10663 } 10664 if (lt_foo != "") { lt_freq[lt_foo]++; } 10665 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10666}'` 10667 # AWK program above erroneously prepends '/' to C:/dos/paths 10668 # for these hosts. 10669 case $host_os in 10670 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10671 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10672 esac 10673 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10674else 10675 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10676fi 10677library_names_spec= 10678libname_spec='lib$name' 10679soname_spec= 10680shrext_cmds=".so" 10681postinstall_cmds= 10682postuninstall_cmds= 10683finish_cmds= 10684finish_eval= 10685shlibpath_var= 10686shlibpath_overrides_runpath=unknown 10687version_type=none 10688dynamic_linker="$host_os ld.so" 10689sys_lib_dlsearch_path_spec="/lib /usr/lib" 10690need_lib_prefix=unknown 10691hardcode_into_libs=no 10692 10693# when you set need_version to no, make sure it does not cause -set_version 10694# flags to be left without arguments 10695need_version=unknown 10696 10697case $host_os in 10698aix3*) 10699 version_type=linux # correct to gnu/linux during the next big refactor 10700 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10701 shlibpath_var=LIBPATH 10702 10703 # AIX 3 has no versioning support, so we append a major version to the name. 10704 soname_spec='${libname}${release}${shared_ext}$major' 10705 ;; 10706 10707aix[4-9]*) 10708 version_type=linux # correct to gnu/linux during the next big refactor 10709 need_lib_prefix=no 10710 need_version=no 10711 hardcode_into_libs=yes 10712 if test "$host_cpu" = ia64; then 10713 # AIX 5 supports IA64 10714 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10715 shlibpath_var=LD_LIBRARY_PATH 10716 else 10717 # With GCC up to 2.95.x, collect2 would create an import file 10718 # for dependence libraries. The import file would start with 10719 # the line `#! .'. This would cause the generated library to 10720 # depend on `.', always an invalid library. This was fixed in 10721 # development snapshots of GCC prior to 3.0. 10722 case $host_os in 10723 aix4 | aix4.[01] | aix4.[01].*) 10724 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10725 echo ' yes ' 10726 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10727 : 10728 else 10729 can_build_shared=no 10730 fi 10731 ;; 10732 esac 10733 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10734 # soname into executable. Probably we can add versioning support to 10735 # collect2, so additional links can be useful in future. 10736 if test "$aix_use_runtimelinking" = yes; then 10737 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10738 # instead of lib<name>.a to let people know that these are not 10739 # typical AIX shared libraries. 10740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10741 else 10742 # We preserve .a as extension for shared libraries through AIX4.2 10743 # and later when we are not doing run time linking. 10744 library_names_spec='${libname}${release}.a $libname.a' 10745 soname_spec='${libname}${release}${shared_ext}$major' 10746 fi 10747 shlibpath_var=LIBPATH 10748 fi 10749 ;; 10750 10751amigaos*) 10752 case $host_cpu in 10753 powerpc) 10754 # Since July 2007 AmigaOS4 officially supports .so libraries. 10755 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10757 ;; 10758 m68k) 10759 library_names_spec='$libname.ixlibrary $libname.a' 10760 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10761 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' 10762 ;; 10763 esac 10764 ;; 10765 10766beos*) 10767 library_names_spec='${libname}${shared_ext}' 10768 dynamic_linker="$host_os ld.so" 10769 shlibpath_var=LIBRARY_PATH 10770 ;; 10771 10772bsdi[45]*) 10773 version_type=linux # correct to gnu/linux during the next big refactor 10774 need_version=no 10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10776 soname_spec='${libname}${release}${shared_ext}$major' 10777 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10778 shlibpath_var=LD_LIBRARY_PATH 10779 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10780 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10781 # the default ld.so.conf also contains /usr/contrib/lib and 10782 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10783 # libtool to hard-code these into programs 10784 ;; 10785 10786cygwin* | mingw* | pw32* | cegcc*) 10787 version_type=windows 10788 shrext_cmds=".dll" 10789 need_version=no 10790 need_lib_prefix=no 10791 10792 case $GCC,$cc_basename in 10793 yes,*) 10794 # gcc 10795 library_names_spec='$libname.dll.a' 10796 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10797 postinstall_cmds='base_file=`basename \${file}`~ 10798 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10799 dldir=$destdir/`dirname \$dlpath`~ 10800 test -d \$dldir || mkdir -p \$dldir~ 10801 $install_prog $dir/$dlname \$dldir/$dlname~ 10802 chmod a+x \$dldir/$dlname~ 10803 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10804 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10805 fi' 10806 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10807 dlpath=$dir/\$dldll~ 10808 $RM \$dlpath' 10809 shlibpath_overrides_runpath=yes 10810 10811 case $host_os in 10812 cygwin*) 10813 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10814 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10815 10816 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10817 ;; 10818 mingw* | cegcc*) 10819 # MinGW DLLs use traditional 'lib' prefix 10820 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10821 ;; 10822 pw32*) 10823 # pw32 DLLs use 'pw' prefix rather than 'lib' 10824 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10825 ;; 10826 esac 10827 dynamic_linker='Win32 ld.exe' 10828 ;; 10829 10830 *,cl*) 10831 # Native MSVC 10832 libname_spec='$name' 10833 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10834 library_names_spec='${libname}.dll.lib' 10835 10836 case $build_os in 10837 mingw*) 10838 sys_lib_search_path_spec= 10839 lt_save_ifs=$IFS 10840 IFS=';' 10841 for lt_path in $LIB 10842 do 10843 IFS=$lt_save_ifs 10844 # Let DOS variable expansion print the short 8.3 style file name. 10845 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10846 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10847 done 10848 IFS=$lt_save_ifs 10849 # Convert to MSYS style. 10850 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10851 ;; 10852 cygwin*) 10853 # Convert to unix form, then to dos form, then back to unix form 10854 # but this time dos style (no spaces!) so that the unix form looks 10855 # like /cygdrive/c/PROGRA~1:/cygdr... 10856 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10857 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10858 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10859 ;; 10860 *) 10861 sys_lib_search_path_spec="$LIB" 10862 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10863 # It is most probably a Windows format PATH. 10864 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10865 else 10866 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10867 fi 10868 # FIXME: find the short name or the path components, as spaces are 10869 # common. (e.g. "Program Files" -> "PROGRA~1") 10870 ;; 10871 esac 10872 10873 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10874 postinstall_cmds='base_file=`basename \${file}`~ 10875 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10876 dldir=$destdir/`dirname \$dlpath`~ 10877 test -d \$dldir || mkdir -p \$dldir~ 10878 $install_prog $dir/$dlname \$dldir/$dlname' 10879 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10880 dlpath=$dir/\$dldll~ 10881 $RM \$dlpath' 10882 shlibpath_overrides_runpath=yes 10883 dynamic_linker='Win32 link.exe' 10884 ;; 10885 10886 *) 10887 # Assume MSVC wrapper 10888 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10889 dynamic_linker='Win32 ld.exe' 10890 ;; 10891 esac 10892 # FIXME: first we should search . and the directory the executable is in 10893 shlibpath_var=PATH 10894 ;; 10895 10896darwin* | rhapsody*) 10897 dynamic_linker="$host_os dyld" 10898 version_type=darwin 10899 need_lib_prefix=no 10900 need_version=no 10901 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10902 soname_spec='${libname}${release}${major}$shared_ext' 10903 shlibpath_overrides_runpath=yes 10904 shlibpath_var=DYLD_LIBRARY_PATH 10905 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10906 10907 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10908 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10909 ;; 10910 10911dgux*) 10912 version_type=linux # correct to gnu/linux during the next big refactor 10913 need_lib_prefix=no 10914 need_version=no 10915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10916 soname_spec='${libname}${release}${shared_ext}$major' 10917 shlibpath_var=LD_LIBRARY_PATH 10918 ;; 10919 10920freebsd* | dragonfly*) 10921 # DragonFly does not have aout. When/if they implement a new 10922 # versioning mechanism, adjust this. 10923 if test -x /usr/bin/objformat; then 10924 objformat=`/usr/bin/objformat` 10925 else 10926 case $host_os in 10927 freebsd[23].*) objformat=aout ;; 10928 *) objformat=elf ;; 10929 esac 10930 fi 10931 # Handle Gentoo/FreeBSD as it was Linux 10932 case $host_vendor in 10933 gentoo) 10934 version_type=linux ;; 10935 *) 10936 version_type=freebsd-$objformat ;; 10937 esac 10938 10939 case $version_type in 10940 freebsd-elf*) 10941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10942 need_version=no 10943 need_lib_prefix=no 10944 ;; 10945 freebsd-*) 10946 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10947 need_version=yes 10948 ;; 10949 linux) 10950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10951 soname_spec='${libname}${release}${shared_ext}$major' 10952 need_lib_prefix=no 10953 need_version=no 10954 ;; 10955 esac 10956 shlibpath_var=LD_LIBRARY_PATH 10957 case $host_os in 10958 freebsd2.*) 10959 shlibpath_overrides_runpath=yes 10960 ;; 10961 freebsd3.[01]* | freebsdelf3.[01]*) 10962 shlibpath_overrides_runpath=yes 10963 hardcode_into_libs=yes 10964 ;; 10965 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10966 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10967 shlibpath_overrides_runpath=no 10968 hardcode_into_libs=yes 10969 ;; 10970 *) # from 4.6 on, and DragonFly 10971 shlibpath_overrides_runpath=yes 10972 hardcode_into_libs=yes 10973 ;; 10974 esac 10975 ;; 10976 10977gnu*) 10978 version_type=linux # correct to gnu/linux during the next big refactor 10979 need_lib_prefix=no 10980 need_version=no 10981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10982 soname_spec='${libname}${release}${shared_ext}$major' 10983 shlibpath_var=LD_LIBRARY_PATH 10984 shlibpath_overrides_runpath=no 10985 hardcode_into_libs=yes 10986 ;; 10987 10988haiku*) 10989 version_type=linux # correct to gnu/linux during the next big refactor 10990 need_lib_prefix=no 10991 need_version=no 10992 dynamic_linker="$host_os runtime_loader" 10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10994 soname_spec='${libname}${release}${shared_ext}$major' 10995 shlibpath_var=LIBRARY_PATH 10996 shlibpath_overrides_runpath=yes 10997 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10998 hardcode_into_libs=yes 10999 ;; 11000 11001hpux9* | hpux10* | hpux11*) 11002 # Give a soname corresponding to the major version so that dld.sl refuses to 11003 # link against other versions. 11004 version_type=sunos 11005 need_lib_prefix=no 11006 need_version=no 11007 case $host_cpu in 11008 ia64*) 11009 shrext_cmds='.so' 11010 hardcode_into_libs=yes 11011 dynamic_linker="$host_os dld.so" 11012 shlibpath_var=LD_LIBRARY_PATH 11013 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11015 soname_spec='${libname}${release}${shared_ext}$major' 11016 if test "X$HPUX_IA64_MODE" = X32; then 11017 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11018 else 11019 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11020 fi 11021 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11022 ;; 11023 hppa*64*) 11024 shrext_cmds='.sl' 11025 hardcode_into_libs=yes 11026 dynamic_linker="$host_os dld.sl" 11027 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11028 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11030 soname_spec='${libname}${release}${shared_ext}$major' 11031 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11032 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11033 ;; 11034 *) 11035 shrext_cmds='.sl' 11036 dynamic_linker="$host_os dld.sl" 11037 shlibpath_var=SHLIB_PATH 11038 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11040 soname_spec='${libname}${release}${shared_ext}$major' 11041 ;; 11042 esac 11043 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11044 postinstall_cmds='chmod 555 $lib' 11045 # or fails outright, so override atomically: 11046 install_override_mode=555 11047 ;; 11048 11049interix[3-9]*) 11050 version_type=linux # correct to gnu/linux during the next big refactor 11051 need_lib_prefix=no 11052 need_version=no 11053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11054 soname_spec='${libname}${release}${shared_ext}$major' 11055 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11056 shlibpath_var=LD_LIBRARY_PATH 11057 shlibpath_overrides_runpath=no 11058 hardcode_into_libs=yes 11059 ;; 11060 11061irix5* | irix6* | nonstopux*) 11062 case $host_os in 11063 nonstopux*) version_type=nonstopux ;; 11064 *) 11065 if test "$lt_cv_prog_gnu_ld" = yes; then 11066 version_type=linux # correct to gnu/linux during the next big refactor 11067 else 11068 version_type=irix 11069 fi ;; 11070 esac 11071 need_lib_prefix=no 11072 need_version=no 11073 soname_spec='${libname}${release}${shared_ext}$major' 11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11075 case $host_os in 11076 irix5* | nonstopux*) 11077 libsuff= shlibsuff= 11078 ;; 11079 *) 11080 case $LD in # libtool.m4 will add one of these switches to LD 11081 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11082 libsuff= shlibsuff= libmagic=32-bit;; 11083 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11084 libsuff=32 shlibsuff=N32 libmagic=N32;; 11085 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11086 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11087 *) libsuff= shlibsuff= libmagic=never-match;; 11088 esac 11089 ;; 11090 esac 11091 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11092 shlibpath_overrides_runpath=no 11093 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11094 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11095 hardcode_into_libs=yes 11096 ;; 11097 11098# No shared lib support for Linux oldld, aout, or coff. 11099linux*oldld* | linux*aout* | linux*coff*) 11100 dynamic_linker=no 11101 ;; 11102 11103# This must be glibc/ELF. 11104linux* | k*bsd*-gnu | kopensolaris*-gnu) 11105 version_type=linux # correct to gnu/linux during the next big refactor 11106 need_lib_prefix=no 11107 need_version=no 11108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11109 soname_spec='${libname}${release}${shared_ext}$major' 11110 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11111 shlibpath_var=LD_LIBRARY_PATH 11112 shlibpath_overrides_runpath=no 11113 11114 # Some binutils ld are patched to set DT_RUNPATH 11115 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11116 $as_echo_n "(cached) " >&6 11117else 11118 lt_cv_shlibpath_overrides_runpath=no 11119 save_LDFLAGS=$LDFLAGS 11120 save_libdir=$libdir 11121 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11122 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11124/* end confdefs.h. */ 11125 11126int 11127main () 11128{ 11129 11130 ; 11131 return 0; 11132} 11133_ACEOF 11134if ac_fn_c_try_link "$LINENO"; then : 11135 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11136 lt_cv_shlibpath_overrides_runpath=yes 11137fi 11138fi 11139rm -f core conftest.err conftest.$ac_objext \ 11140 conftest$ac_exeext conftest.$ac_ext 11141 LDFLAGS=$save_LDFLAGS 11142 libdir=$save_libdir 11143 11144fi 11145 11146 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11147 11148 # This implies no fast_install, which is unacceptable. 11149 # Some rework will be needed to allow for fast_install 11150 # before this can be enabled. 11151 hardcode_into_libs=yes 11152 11153 # Append ld.so.conf contents to the search path 11154 if test -f /etc/ld.so.conf; then 11155 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' ' '` 11156 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11157 fi 11158 11159 # We used to test for /lib/ld.so.1 and disable shared libraries on 11160 # powerpc, because MkLinux only supported shared libraries with the 11161 # GNU dynamic linker. Since this was broken with cross compilers, 11162 # most powerpc-linux boxes support dynamic linking these days and 11163 # people can always --disable-shared, the test was removed, and we 11164 # assume the GNU/Linux dynamic linker is in use. 11165 dynamic_linker='GNU/Linux ld.so' 11166 ;; 11167 11168netbsd*) 11169 version_type=sunos 11170 need_lib_prefix=no 11171 need_version=no 11172 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11174 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11175 dynamic_linker='NetBSD (a.out) ld.so' 11176 else 11177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11178 soname_spec='${libname}${release}${shared_ext}$major' 11179 dynamic_linker='NetBSD ld.elf_so' 11180 fi 11181 shlibpath_var=LD_LIBRARY_PATH 11182 shlibpath_overrides_runpath=yes 11183 hardcode_into_libs=yes 11184 ;; 11185 11186newsos6) 11187 version_type=linux # correct to gnu/linux during the next big refactor 11188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11189 shlibpath_var=LD_LIBRARY_PATH 11190 shlibpath_overrides_runpath=yes 11191 ;; 11192 11193*nto* | *qnx*) 11194 version_type=qnx 11195 need_lib_prefix=no 11196 need_version=no 11197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11198 soname_spec='${libname}${release}${shared_ext}$major' 11199 shlibpath_var=LD_LIBRARY_PATH 11200 shlibpath_overrides_runpath=no 11201 hardcode_into_libs=yes 11202 dynamic_linker='ldqnx.so' 11203 ;; 11204 11205openbsd*) 11206 version_type=sunos 11207 sys_lib_dlsearch_path_spec="/usr/lib" 11208 need_lib_prefix=no 11209 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11210 case $host_os in 11211 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11212 *) need_version=no ;; 11213 esac 11214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11215 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11216 shlibpath_var=LD_LIBRARY_PATH 11217 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11218 case $host_os in 11219 openbsd2.[89] | openbsd2.[89].*) 11220 shlibpath_overrides_runpath=no 11221 ;; 11222 *) 11223 shlibpath_overrides_runpath=yes 11224 ;; 11225 esac 11226 else 11227 shlibpath_overrides_runpath=yes 11228 fi 11229 ;; 11230 11231os2*) 11232 libname_spec='$name' 11233 shrext_cmds=".dll" 11234 need_lib_prefix=no 11235 library_names_spec='$libname${shared_ext} $libname.a' 11236 dynamic_linker='OS/2 ld.exe' 11237 shlibpath_var=LIBPATH 11238 ;; 11239 11240osf3* | osf4* | osf5*) 11241 version_type=osf 11242 need_lib_prefix=no 11243 need_version=no 11244 soname_spec='${libname}${release}${shared_ext}$major' 11245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11246 shlibpath_var=LD_LIBRARY_PATH 11247 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11248 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11249 ;; 11250 11251rdos*) 11252 dynamic_linker=no 11253 ;; 11254 11255solaris*) 11256 version_type=linux # correct to gnu/linux during the next big refactor 11257 need_lib_prefix=no 11258 need_version=no 11259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11260 soname_spec='${libname}${release}${shared_ext}$major' 11261 shlibpath_var=LD_LIBRARY_PATH 11262 shlibpath_overrides_runpath=yes 11263 hardcode_into_libs=yes 11264 # ldd complains unless libraries are executable 11265 postinstall_cmds='chmod +x $lib' 11266 ;; 11267 11268sunos4*) 11269 version_type=sunos 11270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11271 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11272 shlibpath_var=LD_LIBRARY_PATH 11273 shlibpath_overrides_runpath=yes 11274 if test "$with_gnu_ld" = yes; then 11275 need_lib_prefix=no 11276 fi 11277 need_version=yes 11278 ;; 11279 11280sysv4 | sysv4.3*) 11281 version_type=linux # correct to gnu/linux during the next big refactor 11282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11283 soname_spec='${libname}${release}${shared_ext}$major' 11284 shlibpath_var=LD_LIBRARY_PATH 11285 case $host_vendor in 11286 sni) 11287 shlibpath_overrides_runpath=no 11288 need_lib_prefix=no 11289 runpath_var=LD_RUN_PATH 11290 ;; 11291 siemens) 11292 need_lib_prefix=no 11293 ;; 11294 motorola) 11295 need_lib_prefix=no 11296 need_version=no 11297 shlibpath_overrides_runpath=no 11298 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11299 ;; 11300 esac 11301 ;; 11302 11303sysv4*MP*) 11304 if test -d /usr/nec ;then 11305 version_type=linux # correct to gnu/linux during the next big refactor 11306 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11307 soname_spec='$libname${shared_ext}.$major' 11308 shlibpath_var=LD_LIBRARY_PATH 11309 fi 11310 ;; 11311 11312sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11313 version_type=freebsd-elf 11314 need_lib_prefix=no 11315 need_version=no 11316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11317 soname_spec='${libname}${release}${shared_ext}$major' 11318 shlibpath_var=LD_LIBRARY_PATH 11319 shlibpath_overrides_runpath=yes 11320 hardcode_into_libs=yes 11321 if test "$with_gnu_ld" = yes; then 11322 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11323 else 11324 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11325 case $host_os in 11326 sco3.2v5*) 11327 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11328 ;; 11329 esac 11330 fi 11331 sys_lib_dlsearch_path_spec='/usr/lib' 11332 ;; 11333 11334tpf*) 11335 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11336 version_type=linux # correct to gnu/linux during the next big refactor 11337 need_lib_prefix=no 11338 need_version=no 11339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11340 shlibpath_var=LD_LIBRARY_PATH 11341 shlibpath_overrides_runpath=no 11342 hardcode_into_libs=yes 11343 ;; 11344 11345uts4*) 11346 version_type=linux # correct to gnu/linux during the next big refactor 11347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11348 soname_spec='${libname}${release}${shared_ext}$major' 11349 shlibpath_var=LD_LIBRARY_PATH 11350 ;; 11351 11352*) 11353 dynamic_linker=no 11354 ;; 11355esac 11356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11357$as_echo "$dynamic_linker" >&6; } 11358test "$dynamic_linker" = no && can_build_shared=no 11359 11360variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11361if test "$GCC" = yes; then 11362 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11363fi 11364 11365if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11366 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11367fi 11368if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11369 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11370fi 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11464$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11465hardcode_action= 11466if test -n "$hardcode_libdir_flag_spec" || 11467 test -n "$runpath_var" || 11468 test "X$hardcode_automatic" = "Xyes" ; then 11469 11470 # We can hardcode non-existent directories. 11471 if test "$hardcode_direct" != no && 11472 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11473 # have to relink, otherwise we might link with an installed library 11474 # when we should be linking with a yet-to-be-installed one 11475 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11476 test "$hardcode_minus_L" != no; then 11477 # Linking always hardcodes the temporary library directory. 11478 hardcode_action=relink 11479 else 11480 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11481 hardcode_action=immediate 11482 fi 11483else 11484 # We cannot hardcode anything, or else we can only hardcode existing 11485 # directories. 11486 hardcode_action=unsupported 11487fi 11488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11489$as_echo "$hardcode_action" >&6; } 11490 11491if test "$hardcode_action" = relink || 11492 test "$inherit_rpath" = yes; then 11493 # Fast installation is not supported 11494 enable_fast_install=no 11495elif test "$shlibpath_overrides_runpath" = yes || 11496 test "$enable_shared" = no; then 11497 # Fast installation is not necessary 11498 enable_fast_install=needless 11499fi 11500 11501 11502 11503 11504 11505 11506 if test "x$enable_dlopen" != xyes; then 11507 enable_dlopen=unknown 11508 enable_dlopen_self=unknown 11509 enable_dlopen_self_static=unknown 11510else 11511 lt_cv_dlopen=no 11512 lt_cv_dlopen_libs= 11513 11514 case $host_os in 11515 beos*) 11516 lt_cv_dlopen="load_add_on" 11517 lt_cv_dlopen_libs= 11518 lt_cv_dlopen_self=yes 11519 ;; 11520 11521 mingw* | pw32* | cegcc*) 11522 lt_cv_dlopen="LoadLibrary" 11523 lt_cv_dlopen_libs= 11524 ;; 11525 11526 cygwin*) 11527 lt_cv_dlopen="dlopen" 11528 lt_cv_dlopen_libs= 11529 ;; 11530 11531 darwin*) 11532 # if libdl is installed we need to link against it 11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11534$as_echo_n "checking for dlopen in -ldl... " >&6; } 11535if ${ac_cv_lib_dl_dlopen+:} false; then : 11536 $as_echo_n "(cached) " >&6 11537else 11538 ac_check_lib_save_LIBS=$LIBS 11539LIBS="-ldl $LIBS" 11540cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11541/* end confdefs.h. */ 11542 11543/* Override any GCC internal prototype to avoid an error. 11544 Use char because int might match the return type of a GCC 11545 builtin and then its argument prototype would still apply. */ 11546#ifdef __cplusplus 11547extern "C" 11548#endif 11549char dlopen (); 11550int 11551main () 11552{ 11553return dlopen (); 11554 ; 11555 return 0; 11556} 11557_ACEOF 11558if ac_fn_c_try_link "$LINENO"; then : 11559 ac_cv_lib_dl_dlopen=yes 11560else 11561 ac_cv_lib_dl_dlopen=no 11562fi 11563rm -f core conftest.err conftest.$ac_objext \ 11564 conftest$ac_exeext conftest.$ac_ext 11565LIBS=$ac_check_lib_save_LIBS 11566fi 11567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11568$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11569if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11570 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11571else 11572 11573 lt_cv_dlopen="dyld" 11574 lt_cv_dlopen_libs= 11575 lt_cv_dlopen_self=yes 11576 11577fi 11578 11579 ;; 11580 11581 *) 11582 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11583if test "x$ac_cv_func_shl_load" = xyes; then : 11584 lt_cv_dlopen="shl_load" 11585else 11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11587$as_echo_n "checking for shl_load in -ldld... " >&6; } 11588if ${ac_cv_lib_dld_shl_load+:} false; then : 11589 $as_echo_n "(cached) " >&6 11590else 11591 ac_check_lib_save_LIBS=$LIBS 11592LIBS="-ldld $LIBS" 11593cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11594/* end confdefs.h. */ 11595 11596/* Override any GCC internal prototype to avoid an error. 11597 Use char because int might match the return type of a GCC 11598 builtin and then its argument prototype would still apply. */ 11599#ifdef __cplusplus 11600extern "C" 11601#endif 11602char shl_load (); 11603int 11604main () 11605{ 11606return shl_load (); 11607 ; 11608 return 0; 11609} 11610_ACEOF 11611if ac_fn_c_try_link "$LINENO"; then : 11612 ac_cv_lib_dld_shl_load=yes 11613else 11614 ac_cv_lib_dld_shl_load=no 11615fi 11616rm -f core conftest.err conftest.$ac_objext \ 11617 conftest$ac_exeext conftest.$ac_ext 11618LIBS=$ac_check_lib_save_LIBS 11619fi 11620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11621$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11622if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11623 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11624else 11625 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11626if test "x$ac_cv_func_dlopen" = xyes; then : 11627 lt_cv_dlopen="dlopen" 11628else 11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11630$as_echo_n "checking for dlopen in -ldl... " >&6; } 11631if ${ac_cv_lib_dl_dlopen+:} false; then : 11632 $as_echo_n "(cached) " >&6 11633else 11634 ac_check_lib_save_LIBS=$LIBS 11635LIBS="-ldl $LIBS" 11636cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11637/* end confdefs.h. */ 11638 11639/* Override any GCC internal prototype to avoid an error. 11640 Use char because int might match the return type of a GCC 11641 builtin and then its argument prototype would still apply. */ 11642#ifdef __cplusplus 11643extern "C" 11644#endif 11645char dlopen (); 11646int 11647main () 11648{ 11649return dlopen (); 11650 ; 11651 return 0; 11652} 11653_ACEOF 11654if ac_fn_c_try_link "$LINENO"; then : 11655 ac_cv_lib_dl_dlopen=yes 11656else 11657 ac_cv_lib_dl_dlopen=no 11658fi 11659rm -f core conftest.err conftest.$ac_objext \ 11660 conftest$ac_exeext conftest.$ac_ext 11661LIBS=$ac_check_lib_save_LIBS 11662fi 11663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11664$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11665if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11666 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11667else 11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11669$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11670if ${ac_cv_lib_svld_dlopen+:} false; then : 11671 $as_echo_n "(cached) " >&6 11672else 11673 ac_check_lib_save_LIBS=$LIBS 11674LIBS="-lsvld $LIBS" 11675cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11676/* end confdefs.h. */ 11677 11678/* Override any GCC internal prototype to avoid an error. 11679 Use char because int might match the return type of a GCC 11680 builtin and then its argument prototype would still apply. */ 11681#ifdef __cplusplus 11682extern "C" 11683#endif 11684char dlopen (); 11685int 11686main () 11687{ 11688return dlopen (); 11689 ; 11690 return 0; 11691} 11692_ACEOF 11693if ac_fn_c_try_link "$LINENO"; then : 11694 ac_cv_lib_svld_dlopen=yes 11695else 11696 ac_cv_lib_svld_dlopen=no 11697fi 11698rm -f core conftest.err conftest.$ac_objext \ 11699 conftest$ac_exeext conftest.$ac_ext 11700LIBS=$ac_check_lib_save_LIBS 11701fi 11702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11703$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11704if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11705 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11706else 11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11708$as_echo_n "checking for dld_link in -ldld... " >&6; } 11709if ${ac_cv_lib_dld_dld_link+:} false; then : 11710 $as_echo_n "(cached) " >&6 11711else 11712 ac_check_lib_save_LIBS=$LIBS 11713LIBS="-ldld $LIBS" 11714cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11715/* end confdefs.h. */ 11716 11717/* Override any GCC internal prototype to avoid an error. 11718 Use char because int might match the return type of a GCC 11719 builtin and then its argument prototype would still apply. */ 11720#ifdef __cplusplus 11721extern "C" 11722#endif 11723char dld_link (); 11724int 11725main () 11726{ 11727return dld_link (); 11728 ; 11729 return 0; 11730} 11731_ACEOF 11732if ac_fn_c_try_link "$LINENO"; then : 11733 ac_cv_lib_dld_dld_link=yes 11734else 11735 ac_cv_lib_dld_dld_link=no 11736fi 11737rm -f core conftest.err conftest.$ac_objext \ 11738 conftest$ac_exeext conftest.$ac_ext 11739LIBS=$ac_check_lib_save_LIBS 11740fi 11741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11742$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11743if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11744 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11745fi 11746 11747 11748fi 11749 11750 11751fi 11752 11753 11754fi 11755 11756 11757fi 11758 11759 11760fi 11761 11762 ;; 11763 esac 11764 11765 if test "x$lt_cv_dlopen" != xno; then 11766 enable_dlopen=yes 11767 else 11768 enable_dlopen=no 11769 fi 11770 11771 case $lt_cv_dlopen in 11772 dlopen) 11773 save_CPPFLAGS="$CPPFLAGS" 11774 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11775 11776 save_LDFLAGS="$LDFLAGS" 11777 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11778 11779 save_LIBS="$LIBS" 11780 LIBS="$lt_cv_dlopen_libs $LIBS" 11781 11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11783$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11784if ${lt_cv_dlopen_self+:} false; then : 11785 $as_echo_n "(cached) " >&6 11786else 11787 if test "$cross_compiling" = yes; then : 11788 lt_cv_dlopen_self=cross 11789else 11790 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11791 lt_status=$lt_dlunknown 11792 cat > conftest.$ac_ext <<_LT_EOF 11793#line $LINENO "configure" 11794#include "confdefs.h" 11795 11796#if HAVE_DLFCN_H 11797#include <dlfcn.h> 11798#endif 11799 11800#include <stdio.h> 11801 11802#ifdef RTLD_GLOBAL 11803# define LT_DLGLOBAL RTLD_GLOBAL 11804#else 11805# ifdef DL_GLOBAL 11806# define LT_DLGLOBAL DL_GLOBAL 11807# else 11808# define LT_DLGLOBAL 0 11809# endif 11810#endif 11811 11812/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11813 find out it does not work in some platform. */ 11814#ifndef LT_DLLAZY_OR_NOW 11815# ifdef RTLD_LAZY 11816# define LT_DLLAZY_OR_NOW RTLD_LAZY 11817# else 11818# ifdef DL_LAZY 11819# define LT_DLLAZY_OR_NOW DL_LAZY 11820# else 11821# ifdef RTLD_NOW 11822# define LT_DLLAZY_OR_NOW RTLD_NOW 11823# else 11824# ifdef DL_NOW 11825# define LT_DLLAZY_OR_NOW DL_NOW 11826# else 11827# define LT_DLLAZY_OR_NOW 0 11828# endif 11829# endif 11830# endif 11831# endif 11832#endif 11833 11834/* When -fvisbility=hidden is used, assume the code has been annotated 11835 correspondingly for the symbols needed. */ 11836#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11837int fnord () __attribute__((visibility("default"))); 11838#endif 11839 11840int fnord () { return 42; } 11841int main () 11842{ 11843 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11844 int status = $lt_dlunknown; 11845 11846 if (self) 11847 { 11848 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11849 else 11850 { 11851 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11852 else puts (dlerror ()); 11853 } 11854 /* dlclose (self); */ 11855 } 11856 else 11857 puts (dlerror ()); 11858 11859 return status; 11860} 11861_LT_EOF 11862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11863 (eval $ac_link) 2>&5 11864 ac_status=$? 11865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11866 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11867 (./conftest; exit; ) >&5 2>/dev/null 11868 lt_status=$? 11869 case x$lt_status in 11870 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11871 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11872 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11873 esac 11874 else : 11875 # compilation failed 11876 lt_cv_dlopen_self=no 11877 fi 11878fi 11879rm -fr conftest* 11880 11881 11882fi 11883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11884$as_echo "$lt_cv_dlopen_self" >&6; } 11885 11886 if test "x$lt_cv_dlopen_self" = xyes; then 11887 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11889$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11890if ${lt_cv_dlopen_self_static+:} false; then : 11891 $as_echo_n "(cached) " >&6 11892else 11893 if test "$cross_compiling" = yes; then : 11894 lt_cv_dlopen_self_static=cross 11895else 11896 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11897 lt_status=$lt_dlunknown 11898 cat > conftest.$ac_ext <<_LT_EOF 11899#line $LINENO "configure" 11900#include "confdefs.h" 11901 11902#if HAVE_DLFCN_H 11903#include <dlfcn.h> 11904#endif 11905 11906#include <stdio.h> 11907 11908#ifdef RTLD_GLOBAL 11909# define LT_DLGLOBAL RTLD_GLOBAL 11910#else 11911# ifdef DL_GLOBAL 11912# define LT_DLGLOBAL DL_GLOBAL 11913# else 11914# define LT_DLGLOBAL 0 11915# endif 11916#endif 11917 11918/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11919 find out it does not work in some platform. */ 11920#ifndef LT_DLLAZY_OR_NOW 11921# ifdef RTLD_LAZY 11922# define LT_DLLAZY_OR_NOW RTLD_LAZY 11923# else 11924# ifdef DL_LAZY 11925# define LT_DLLAZY_OR_NOW DL_LAZY 11926# else 11927# ifdef RTLD_NOW 11928# define LT_DLLAZY_OR_NOW RTLD_NOW 11929# else 11930# ifdef DL_NOW 11931# define LT_DLLAZY_OR_NOW DL_NOW 11932# else 11933# define LT_DLLAZY_OR_NOW 0 11934# endif 11935# endif 11936# endif 11937# endif 11938#endif 11939 11940/* When -fvisbility=hidden is used, assume the code has been annotated 11941 correspondingly for the symbols needed. */ 11942#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11943int fnord () __attribute__((visibility("default"))); 11944#endif 11945 11946int fnord () { return 42; } 11947int main () 11948{ 11949 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11950 int status = $lt_dlunknown; 11951 11952 if (self) 11953 { 11954 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11955 else 11956 { 11957 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11958 else puts (dlerror ()); 11959 } 11960 /* dlclose (self); */ 11961 } 11962 else 11963 puts (dlerror ()); 11964 11965 return status; 11966} 11967_LT_EOF 11968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11969 (eval $ac_link) 2>&5 11970 ac_status=$? 11971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11972 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11973 (./conftest; exit; ) >&5 2>/dev/null 11974 lt_status=$? 11975 case x$lt_status in 11976 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11977 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11978 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11979 esac 11980 else : 11981 # compilation failed 11982 lt_cv_dlopen_self_static=no 11983 fi 11984fi 11985rm -fr conftest* 11986 11987 11988fi 11989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11990$as_echo "$lt_cv_dlopen_self_static" >&6; } 11991 fi 11992 11993 CPPFLAGS="$save_CPPFLAGS" 11994 LDFLAGS="$save_LDFLAGS" 11995 LIBS="$save_LIBS" 11996 ;; 11997 esac 11998 11999 case $lt_cv_dlopen_self in 12000 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12001 *) enable_dlopen_self=unknown ;; 12002 esac 12003 12004 case $lt_cv_dlopen_self_static in 12005 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12006 *) enable_dlopen_self_static=unknown ;; 12007 esac 12008fi 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026striplib= 12027old_striplib= 12028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12029$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12030if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12031 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12032 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12034$as_echo "yes" >&6; } 12035else 12036# FIXME - insert some real tests, host_os isn't really good enough 12037 case $host_os in 12038 darwin*) 12039 if test -n "$STRIP" ; then 12040 striplib="$STRIP -x" 12041 old_striplib="$STRIP -S" 12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12043$as_echo "yes" >&6; } 12044 else 12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12046$as_echo "no" >&6; } 12047 fi 12048 ;; 12049 *) 12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12051$as_echo "no" >&6; } 12052 ;; 12053 esac 12054fi 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 # Report which library types will actually be built 12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12069$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12071$as_echo "$can_build_shared" >&6; } 12072 12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12074$as_echo_n "checking whether to build shared libraries... " >&6; } 12075 test "$can_build_shared" = "no" && enable_shared=no 12076 12077 # On AIX, shared libraries and static libraries use the same namespace, and 12078 # are all built from PIC. 12079 case $host_os in 12080 aix3*) 12081 test "$enable_shared" = yes && enable_static=no 12082 if test -n "$RANLIB"; then 12083 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12084 postinstall_cmds='$RANLIB $lib' 12085 fi 12086 ;; 12087 12088 aix[4-9]*) 12089 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12090 test "$enable_shared" = yes && enable_static=no 12091 fi 12092 ;; 12093 esac 12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12095$as_echo "$enable_shared" >&6; } 12096 12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12098$as_echo_n "checking whether to build static libraries... " >&6; } 12099 # Make sure either enable_shared or enable_static is yes. 12100 test "$enable_shared" = yes || enable_static=yes 12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12102$as_echo "$enable_static" >&6; } 12103 12104 12105 12106 12107fi 12108ac_ext=c 12109ac_cpp='$CPP $CPPFLAGS' 12110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12112ac_compiler_gnu=$ac_cv_c_compiler_gnu 12113 12114CC="$lt_save_CC" 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 ac_config_commands="$ac_config_commands libtool" 12131 12132 12133 12134 12135# Only expand once: 12136 12137 12138 12139# Finally, output the configuration 12140ac_config_files="$ac_config_files Makefile" 12141 12142cat >confcache <<\_ACEOF 12143# This file is a shell script that caches the results of configure 12144# tests run on this system so they can be shared between configure 12145# scripts and configure runs, see configure's option --config-cache. 12146# It is not useful on other systems. If it contains results you don't 12147# want to keep, you may remove or edit it. 12148# 12149# config.status only pays attention to the cache file if you give it 12150# the --recheck option to rerun configure. 12151# 12152# `ac_cv_env_foo' variables (set or unset) will be overridden when 12153# loading this file, other *unset* `ac_cv_foo' will be assigned the 12154# following values. 12155 12156_ACEOF 12157 12158# The following way of writing the cache mishandles newlines in values, 12159# but we know of no workaround that is simple, portable, and efficient. 12160# So, we kill variables containing newlines. 12161# Ultrix sh set writes to stderr and can't be redirected directly, 12162# and sets the high bit in the cache file unless we assign to the vars. 12163( 12164 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12165 eval ac_val=\$$ac_var 12166 case $ac_val in #( 12167 *${as_nl}*) 12168 case $ac_var in #( 12169 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12170$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12171 esac 12172 case $ac_var in #( 12173 _ | IFS | as_nl) ;; #( 12174 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12175 *) { eval $ac_var=; unset $ac_var;} ;; 12176 esac ;; 12177 esac 12178 done 12179 12180 (set) 2>&1 | 12181 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12182 *${as_nl}ac_space=\ *) 12183 # `set' does not quote correctly, so add quotes: double-quote 12184 # substitution turns \\\\ into \\, and sed turns \\ into \. 12185 sed -n \ 12186 "s/'/'\\\\''/g; 12187 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12188 ;; #( 12189 *) 12190 # `set' quotes correctly as required by POSIX, so do not add quotes. 12191 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12192 ;; 12193 esac | 12194 sort 12195) | 12196 sed ' 12197 /^ac_cv_env_/b end 12198 t clear 12199 :clear 12200 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12201 t end 12202 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12203 :end' >>confcache 12204if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12205 if test -w "$cache_file"; then 12206 if test "x$cache_file" != "x/dev/null"; then 12207 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12208$as_echo "$as_me: updating cache $cache_file" >&6;} 12209 if test ! -f "$cache_file" || test -h "$cache_file"; then 12210 cat confcache >"$cache_file" 12211 else 12212 case $cache_file in #( 12213 */* | ?:*) 12214 mv -f confcache "$cache_file"$$ && 12215 mv -f "$cache_file"$$ "$cache_file" ;; #( 12216 *) 12217 mv -f confcache "$cache_file" ;; 12218 esac 12219 fi 12220 fi 12221 else 12222 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12223$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12224 fi 12225fi 12226rm -f confcache 12227 12228test "x$prefix" = xNONE && prefix=$ac_default_prefix 12229# Let make expand exec_prefix. 12230test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12231 12232DEFS=-DHAVE_CONFIG_H 12233 12234ac_libobjs= 12235ac_ltlibobjs= 12236U= 12237for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12238 # 1. Remove the extension, and $U if already installed. 12239 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12240 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12241 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12242 # will be set to the directory where LIBOBJS objects are built. 12243 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12244 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12245done 12246LIBOBJS=$ac_libobjs 12247 12248LTLIBOBJS=$ac_ltlibobjs 12249 12250 12251if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12252 as_fn_error $? "conditional \"AMDEP\" was never defined. 12253Usually this means the macro was only invoked conditionally." "$LINENO" 5 12254fi 12255if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12256 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12257Usually this means the macro was only invoked conditionally." "$LINENO" 5 12258fi 12259 if test -n "$EXEEXT"; then 12260 am__EXEEXT_TRUE= 12261 am__EXEEXT_FALSE='#' 12262else 12263 am__EXEEXT_TRUE='#' 12264 am__EXEEXT_FALSE= 12265fi 12266 12267if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then 12268 as_fn_error $? "conditional \"OS_WIN32\" was never defined. 12269Usually this means the macro was only invoked conditionally." "$LINENO" 5 12270fi 12271 12272: "${CONFIG_STATUS=./config.status}" 12273ac_write_fail=0 12274ac_clean_files_save=$ac_clean_files 12275ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12276{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12277$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12278as_write_fail=0 12279cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12280#! $SHELL 12281# Generated by $as_me. 12282# Run this file to recreate the current configuration. 12283# Compiler output produced by configure, useful for debugging 12284# configure, is in config.log if it exists. 12285 12286debug=false 12287ac_cs_recheck=false 12288ac_cs_silent=false 12289 12290SHELL=\${CONFIG_SHELL-$SHELL} 12291export SHELL 12292_ASEOF 12293cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12294## -------------------- ## 12295## M4sh Initialization. ## 12296## -------------------- ## 12297 12298# Be more Bourne compatible 12299DUALCASE=1; export DUALCASE # for MKS sh 12300if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12301 emulate sh 12302 NULLCMD=: 12303 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12304 # is contrary to our usage. Disable this feature. 12305 alias -g '${1+"$@"}'='"$@"' 12306 setopt NO_GLOB_SUBST 12307else 12308 case `(set -o) 2>/dev/null` in #( 12309 *posix*) : 12310 set -o posix ;; #( 12311 *) : 12312 ;; 12313esac 12314fi 12315 12316 12317as_nl=' 12318' 12319export as_nl 12320# Printing a long string crashes Solaris 7 /usr/bin/printf. 12321as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12322as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12323as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12324# Prefer a ksh shell builtin over an external printf program on Solaris, 12325# but without wasting forks for bash or zsh. 12326if test -z "$BASH_VERSION$ZSH_VERSION" \ 12327 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12328 as_echo='print -r --' 12329 as_echo_n='print -rn --' 12330elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12331 as_echo='printf %s\n' 12332 as_echo_n='printf %s' 12333else 12334 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12335 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12336 as_echo_n='/usr/ucb/echo -n' 12337 else 12338 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12339 as_echo_n_body='eval 12340 arg=$1; 12341 case $arg in #( 12342 *"$as_nl"*) 12343 expr "X$arg" : "X\\(.*\\)$as_nl"; 12344 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12345 esac; 12346 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12347 ' 12348 export as_echo_n_body 12349 as_echo_n='sh -c $as_echo_n_body as_echo' 12350 fi 12351 export as_echo_body 12352 as_echo='sh -c $as_echo_body as_echo' 12353fi 12354 12355# The user is always right. 12356if test "${PATH_SEPARATOR+set}" != set; then 12357 PATH_SEPARATOR=: 12358 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12359 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12360 PATH_SEPARATOR=';' 12361 } 12362fi 12363 12364 12365# IFS 12366# We need space, tab and new line, in precisely that order. Quoting is 12367# there to prevent editors from complaining about space-tab. 12368# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12369# splitting by setting IFS to empty value.) 12370IFS=" "" $as_nl" 12371 12372# Find who we are. Look in the path if we contain no directory separator. 12373as_myself= 12374case $0 in #(( 12375 *[\\/]* ) as_myself=$0 ;; 12376 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12377for as_dir in $PATH 12378do 12379 IFS=$as_save_IFS 12380 test -z "$as_dir" && as_dir=. 12381 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12382 done 12383IFS=$as_save_IFS 12384 12385 ;; 12386esac 12387# We did not find ourselves, most probably we were run as `sh COMMAND' 12388# in which case we are not to be found in the path. 12389if test "x$as_myself" = x; then 12390 as_myself=$0 12391fi 12392if test ! -f "$as_myself"; then 12393 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12394 exit 1 12395fi 12396 12397# Unset variables that we do not need and which cause bugs (e.g. in 12398# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12399# suppresses any "Segmentation fault" message there. '((' could 12400# trigger a bug in pdksh 5.2.14. 12401for as_var in BASH_ENV ENV MAIL MAILPATH 12402do eval test x\${$as_var+set} = xset \ 12403 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12404done 12405PS1='$ ' 12406PS2='> ' 12407PS4='+ ' 12408 12409# NLS nuisances. 12410LC_ALL=C 12411export LC_ALL 12412LANGUAGE=C 12413export LANGUAGE 12414 12415# CDPATH. 12416(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12417 12418 12419# as_fn_error STATUS ERROR [LINENO LOG_FD] 12420# ---------------------------------------- 12421# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12422# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12423# script with STATUS, using 1 if that was 0. 12424as_fn_error () 12425{ 12426 as_status=$1; test $as_status -eq 0 && as_status=1 12427 if test "$4"; then 12428 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12429 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12430 fi 12431 $as_echo "$as_me: error: $2" >&2 12432 as_fn_exit $as_status 12433} # as_fn_error 12434 12435 12436# as_fn_set_status STATUS 12437# ----------------------- 12438# Set $? to STATUS, without forking. 12439as_fn_set_status () 12440{ 12441 return $1 12442} # as_fn_set_status 12443 12444# as_fn_exit STATUS 12445# ----------------- 12446# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12447as_fn_exit () 12448{ 12449 set +e 12450 as_fn_set_status $1 12451 exit $1 12452} # as_fn_exit 12453 12454# as_fn_unset VAR 12455# --------------- 12456# Portably unset VAR. 12457as_fn_unset () 12458{ 12459 { eval $1=; unset $1;} 12460} 12461as_unset=as_fn_unset 12462# as_fn_append VAR VALUE 12463# ---------------------- 12464# Append the text in VALUE to the end of the definition contained in VAR. Take 12465# advantage of any shell optimizations that allow amortized linear growth over 12466# repeated appends, instead of the typical quadratic growth present in naive 12467# implementations. 12468if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12469 eval 'as_fn_append () 12470 { 12471 eval $1+=\$2 12472 }' 12473else 12474 as_fn_append () 12475 { 12476 eval $1=\$$1\$2 12477 } 12478fi # as_fn_append 12479 12480# as_fn_arith ARG... 12481# ------------------ 12482# Perform arithmetic evaluation on the ARGs, and store the result in the 12483# global $as_val. Take advantage of shells that can avoid forks. The arguments 12484# must be portable across $(()) and expr. 12485if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12486 eval 'as_fn_arith () 12487 { 12488 as_val=$(( $* )) 12489 }' 12490else 12491 as_fn_arith () 12492 { 12493 as_val=`expr "$@" || test $? -eq 1` 12494 } 12495fi # as_fn_arith 12496 12497 12498if expr a : '\(a\)' >/dev/null 2>&1 && 12499 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12500 as_expr=expr 12501else 12502 as_expr=false 12503fi 12504 12505if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12506 as_basename=basename 12507else 12508 as_basename=false 12509fi 12510 12511if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12512 as_dirname=dirname 12513else 12514 as_dirname=false 12515fi 12516 12517as_me=`$as_basename -- "$0" || 12518$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12519 X"$0" : 'X\(//\)$' \| \ 12520 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12521$as_echo X/"$0" | 12522 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12523 s//\1/ 12524 q 12525 } 12526 /^X\/\(\/\/\)$/{ 12527 s//\1/ 12528 q 12529 } 12530 /^X\/\(\/\).*/{ 12531 s//\1/ 12532 q 12533 } 12534 s/.*/./; q'` 12535 12536# Avoid depending upon Character Ranges. 12537as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12538as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12539as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12540as_cr_digits='0123456789' 12541as_cr_alnum=$as_cr_Letters$as_cr_digits 12542 12543ECHO_C= ECHO_N= ECHO_T= 12544case `echo -n x` in #((((( 12545-n*) 12546 case `echo 'xy\c'` in 12547 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12548 xy) ECHO_C='\c';; 12549 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12550 ECHO_T=' ';; 12551 esac;; 12552*) 12553 ECHO_N='-n';; 12554esac 12555 12556rm -f conf$$ conf$$.exe conf$$.file 12557if test -d conf$$.dir; then 12558 rm -f conf$$.dir/conf$$.file 12559else 12560 rm -f conf$$.dir 12561 mkdir conf$$.dir 2>/dev/null 12562fi 12563if (echo >conf$$.file) 2>/dev/null; then 12564 if ln -s conf$$.file conf$$ 2>/dev/null; then 12565 as_ln_s='ln -s' 12566 # ... but there are two gotchas: 12567 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12568 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12569 # In both cases, we have to default to `cp -pR'. 12570 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12571 as_ln_s='cp -pR' 12572 elif ln conf$$.file conf$$ 2>/dev/null; then 12573 as_ln_s=ln 12574 else 12575 as_ln_s='cp -pR' 12576 fi 12577else 12578 as_ln_s='cp -pR' 12579fi 12580rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12581rmdir conf$$.dir 2>/dev/null 12582 12583 12584# as_fn_mkdir_p 12585# ------------- 12586# Create "$as_dir" as a directory, including parents if necessary. 12587as_fn_mkdir_p () 12588{ 12589 12590 case $as_dir in #( 12591 -*) as_dir=./$as_dir;; 12592 esac 12593 test -d "$as_dir" || eval $as_mkdir_p || { 12594 as_dirs= 12595 while :; do 12596 case $as_dir in #( 12597 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12598 *) as_qdir=$as_dir;; 12599 esac 12600 as_dirs="'$as_qdir' $as_dirs" 12601 as_dir=`$as_dirname -- "$as_dir" || 12602$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12603 X"$as_dir" : 'X\(//\)[^/]' \| \ 12604 X"$as_dir" : 'X\(//\)$' \| \ 12605 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12606$as_echo X"$as_dir" | 12607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12608 s//\1/ 12609 q 12610 } 12611 /^X\(\/\/\)[^/].*/{ 12612 s//\1/ 12613 q 12614 } 12615 /^X\(\/\/\)$/{ 12616 s//\1/ 12617 q 12618 } 12619 /^X\(\/\).*/{ 12620 s//\1/ 12621 q 12622 } 12623 s/.*/./; q'` 12624 test -d "$as_dir" && break 12625 done 12626 test -z "$as_dirs" || eval "mkdir $as_dirs" 12627 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12628 12629 12630} # as_fn_mkdir_p 12631if mkdir -p . 2>/dev/null; then 12632 as_mkdir_p='mkdir -p "$as_dir"' 12633else 12634 test -d ./-p && rmdir ./-p 12635 as_mkdir_p=false 12636fi 12637 12638 12639# as_fn_executable_p FILE 12640# ----------------------- 12641# Test if FILE is an executable regular file. 12642as_fn_executable_p () 12643{ 12644 test -f "$1" && test -x "$1" 12645} # as_fn_executable_p 12646as_test_x='test -x' 12647as_executable_p=as_fn_executable_p 12648 12649# Sed expression to map a string onto a valid CPP name. 12650as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12651 12652# Sed expression to map a string onto a valid variable name. 12653as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12654 12655 12656exec 6>&1 12657## ----------------------------------- ## 12658## Main body of $CONFIG_STATUS script. ## 12659## ----------------------------------- ## 12660_ASEOF 12661test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12662 12663cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12664# Save the log message, to keep $0 and so on meaningful, and to 12665# report actual input values of CONFIG_FILES etc. instead of their 12666# values after options handling. 12667ac_log=" 12668This file was extended by VarCloud $as_me 1.0, which was 12669generated by GNU Autoconf 2.69. Invocation command line was 12670 12671 CONFIG_FILES = $CONFIG_FILES 12672 CONFIG_HEADERS = $CONFIG_HEADERS 12673 CONFIG_LINKS = $CONFIG_LINKS 12674 CONFIG_COMMANDS = $CONFIG_COMMANDS 12675 $ $0 $@ 12676 12677on `(hostname || uname -n) 2>/dev/null | sed 1q` 12678" 12679 12680_ACEOF 12681 12682case $ac_config_files in *" 12683"*) set x $ac_config_files; shift; ac_config_files=$*;; 12684esac 12685 12686case $ac_config_headers in *" 12687"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 12688esac 12689 12690 12691cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12692# Files that config.status was made for. 12693config_files="$ac_config_files" 12694config_headers="$ac_config_headers" 12695config_commands="$ac_config_commands" 12696 12697_ACEOF 12698 12699cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12700ac_cs_usage="\ 12701\`$as_me' instantiates files and other configuration actions 12702from templates according to the current configuration. Unless the files 12703and actions are specified as TAGs, all are instantiated by default. 12704 12705Usage: $0 [OPTION]... [TAG]... 12706 12707 -h, --help print this help, then exit 12708 -V, --version print version number and configuration settings, then exit 12709 --config print configuration, then exit 12710 -q, --quiet, --silent 12711 do not print progress messages 12712 -d, --debug don't remove temporary files 12713 --recheck update $as_me by reconfiguring in the same conditions 12714 --file=FILE[:TEMPLATE] 12715 instantiate the configuration file FILE 12716 --header=FILE[:TEMPLATE] 12717 instantiate the configuration header FILE 12718 12719Configuration files: 12720$config_files 12721 12722Configuration headers: 12723$config_headers 12724 12725Configuration commands: 12726$config_commands 12727 12728Report bugs to <dfs@research.att.com>." 12729 12730_ACEOF 12731cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12732ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12733ac_cs_version="\\ 12734VarCloud config.status 1.0 12735configured by $0, generated by GNU Autoconf 2.69, 12736 with options \\"\$ac_cs_config\\" 12737 12738Copyright (C) 2012 Free Software Foundation, Inc. 12739This config.status script is free software; the Free Software Foundation 12740gives unlimited permission to copy, distribute and modify it." 12741 12742ac_pwd='$ac_pwd' 12743srcdir='$srcdir' 12744INSTALL='$INSTALL' 12745MKDIR_P='$MKDIR_P' 12746AWK='$AWK' 12747test -n "\$AWK" || AWK=awk 12748_ACEOF 12749 12750cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12751# The default lists apply if the user does not specify any file. 12752ac_need_defaults=: 12753while test $# != 0 12754do 12755 case $1 in 12756 --*=?*) 12757 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12758 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12759 ac_shift=: 12760 ;; 12761 --*=) 12762 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12763 ac_optarg= 12764 ac_shift=: 12765 ;; 12766 *) 12767 ac_option=$1 12768 ac_optarg=$2 12769 ac_shift=shift 12770 ;; 12771 esac 12772 12773 case $ac_option in 12774 # Handling of the options. 12775 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12776 ac_cs_recheck=: ;; 12777 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12778 $as_echo "$ac_cs_version"; exit ;; 12779 --config | --confi | --conf | --con | --co | --c ) 12780 $as_echo "$ac_cs_config"; exit ;; 12781 --debug | --debu | --deb | --de | --d | -d ) 12782 debug=: ;; 12783 --file | --fil | --fi | --f ) 12784 $ac_shift 12785 case $ac_optarg in 12786 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12787 '') as_fn_error $? "missing file argument" ;; 12788 esac 12789 as_fn_append CONFIG_FILES " '$ac_optarg'" 12790 ac_need_defaults=false;; 12791 --header | --heade | --head | --hea ) 12792 $ac_shift 12793 case $ac_optarg in 12794 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12795 esac 12796 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 12797 ac_need_defaults=false;; 12798 --he | --h) 12799 # Conflict between --help and --header 12800 as_fn_error $? "ambiguous option: \`$1' 12801Try \`$0 --help' for more information.";; 12802 --help | --hel | -h ) 12803 $as_echo "$ac_cs_usage"; exit ;; 12804 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12805 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12806 ac_cs_silent=: ;; 12807 12808 # This is an error. 12809 -*) as_fn_error $? "unrecognized option: \`$1' 12810Try \`$0 --help' for more information." ;; 12811 12812 *) as_fn_append ac_config_targets " $1" 12813 ac_need_defaults=false ;; 12814 12815 esac 12816 shift 12817done 12818 12819ac_configure_extra_args= 12820 12821if $ac_cs_silent; then 12822 exec 6>/dev/null 12823 ac_configure_extra_args="$ac_configure_extra_args --silent" 12824fi 12825 12826_ACEOF 12827cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12828if \$ac_cs_recheck; then 12829 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12830 shift 12831 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12832 CONFIG_SHELL='$SHELL' 12833 export CONFIG_SHELL 12834 exec "\$@" 12835fi 12836 12837_ACEOF 12838cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12839exec 5>>config.log 12840{ 12841 echo 12842 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12843## Running $as_me. ## 12844_ASBOX 12845 $as_echo "$ac_log" 12846} >&5 12847 12848_ACEOF 12849cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12850# 12851# INIT-COMMANDS 12852# 12853AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12854 12855 12856# The HP-UX ksh and POSIX shell print the target directory to stdout 12857# if CDPATH is set. 12858(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12859 12860sed_quote_subst='$sed_quote_subst' 12861double_quote_subst='$double_quote_subst' 12862delay_variable_subst='$delay_variable_subst' 12863enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 12864AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 12865DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 12866OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 12867macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 12868macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 12869enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 12870pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 12871enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 12872SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 12873ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 12874PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 12875host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 12876host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 12877host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 12878build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 12879build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 12880build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 12881SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 12882Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 12883GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 12884EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 12885FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 12886LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 12887NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 12888LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 12889max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 12890ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 12891exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 12892lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12893lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12894lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12895lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 12896lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 12897reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 12898reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 12899deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 12900file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 12901file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 12902want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 12903sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 12904AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 12905AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 12906archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 12907STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12908RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12909old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12910old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12911old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 12912lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 12913CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 12914CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 12915compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 12916GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 12917lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 12918lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12919lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12920lt_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"`' 12921nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 12922lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 12923objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 12924MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 12925lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 12926lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 12927lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 12928lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 12929lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 12930need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 12931MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 12932DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12933NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12934LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12935OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 12936OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 12937libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 12938shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 12939extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12940archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 12941enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 12942export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 12943whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 12944compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 12945old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 12946old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12947archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 12948archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12949module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 12950module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12951with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 12952allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 12953no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 12954hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 12955hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 12956hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 12957hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 12958hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 12959hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 12960hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12961inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12962link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12963always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 12964export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 12965exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 12966include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 12967prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 12968postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 12969file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12970variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12971need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12972need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 12973version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 12974runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 12975shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 12976shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 12977libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 12978library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 12979soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 12980install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 12981postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12982postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12983finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 12984finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 12985hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 12986sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 12987sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 12988hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 12989enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 12990enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 12991enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 12992old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 12993striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 12994 12995LTCC='$LTCC' 12996LTCFLAGS='$LTCFLAGS' 12997compiler='$compiler_DEFAULT' 12998 12999# A function that is used when there is no print builtin or printf. 13000func_fallback_echo () 13001{ 13002 eval 'cat <<_LTECHO_EOF 13003\$1 13004_LTECHO_EOF' 13005} 13006 13007# Quote evaled strings. 13008for var in AS \ 13009DLLTOOL \ 13010OBJDUMP \ 13011SHELL \ 13012ECHO \ 13013PATH_SEPARATOR \ 13014SED \ 13015GREP \ 13016EGREP \ 13017FGREP \ 13018LD \ 13019NM \ 13020LN_S \ 13021lt_SP2NL \ 13022lt_NL2SP \ 13023reload_flag \ 13024deplibs_check_method \ 13025file_magic_cmd \ 13026file_magic_glob \ 13027want_nocaseglob \ 13028sharedlib_from_linklib_cmd \ 13029AR \ 13030AR_FLAGS \ 13031archiver_list_spec \ 13032STRIP \ 13033RANLIB \ 13034CC \ 13035CFLAGS \ 13036compiler \ 13037lt_cv_sys_global_symbol_pipe \ 13038lt_cv_sys_global_symbol_to_cdecl \ 13039lt_cv_sys_global_symbol_to_c_name_address \ 13040lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13041nm_file_list_spec \ 13042lt_prog_compiler_no_builtin_flag \ 13043lt_prog_compiler_pic \ 13044lt_prog_compiler_wl \ 13045lt_prog_compiler_static \ 13046lt_cv_prog_compiler_c_o \ 13047need_locks \ 13048MANIFEST_TOOL \ 13049DSYMUTIL \ 13050NMEDIT \ 13051LIPO \ 13052OTOOL \ 13053OTOOL64 \ 13054shrext_cmds \ 13055export_dynamic_flag_spec \ 13056whole_archive_flag_spec \ 13057compiler_needs_object \ 13058with_gnu_ld \ 13059allow_undefined_flag \ 13060no_undefined_flag \ 13061hardcode_libdir_flag_spec \ 13062hardcode_libdir_separator \ 13063exclude_expsyms \ 13064include_expsyms \ 13065file_list_spec \ 13066variables_saved_for_relink \ 13067libname_spec \ 13068library_names_spec \ 13069soname_spec \ 13070install_override_mode \ 13071finish_eval \ 13072old_striplib \ 13073striplib; do 13074 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13075 *[\\\\\\\`\\"\\\$]*) 13076 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 13077 ;; 13078 *) 13079 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13080 ;; 13081 esac 13082done 13083 13084# Double-quote double-evaled strings. 13085for var in reload_cmds \ 13086old_postinstall_cmds \ 13087old_postuninstall_cmds \ 13088old_archive_cmds \ 13089extract_expsyms_cmds \ 13090old_archive_from_new_cmds \ 13091old_archive_from_expsyms_cmds \ 13092archive_cmds \ 13093archive_expsym_cmds \ 13094module_cmds \ 13095module_expsym_cmds \ 13096export_symbols_cmds \ 13097prelink_cmds \ 13098postlink_cmds \ 13099postinstall_cmds \ 13100postuninstall_cmds \ 13101finish_cmds \ 13102sys_lib_search_path_spec \ 13103sys_lib_dlsearch_path_spec; do 13104 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13105 *[\\\\\\\`\\"\\\$]*) 13106 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13107 ;; 13108 *) 13109 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13110 ;; 13111 esac 13112done 13113 13114ac_aux_dir='$ac_aux_dir' 13115xsi_shell='$xsi_shell' 13116lt_shell_append='$lt_shell_append' 13117 13118# See if we are running on zsh, and set the options which allow our 13119# commands through without removal of \ escapes INIT. 13120if test -n "\${ZSH_VERSION+set}" ; then 13121 setopt NO_GLOB_SUBST 13122fi 13123 13124 13125 PACKAGE='$PACKAGE' 13126 VERSION='$VERSION' 13127 TIMESTAMP='$TIMESTAMP' 13128 RM='$RM' 13129 ofile='$ofile' 13130 13131 13132 13133 13134_ACEOF 13135 13136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13137 13138# Handling of arguments. 13139for ac_config_target in $ac_config_targets 13140do 13141 case $ac_config_target in 13142 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13143 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13144 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13145 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13146 13147 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13148 esac 13149done 13150 13151 13152# If the user did not use the arguments to specify the items to instantiate, 13153# then the envvar interface is used. Set only those that are not. 13154# We use the long form for the default assignment because of an extremely 13155# bizarre bug on SunOS 4.1.3. 13156if $ac_need_defaults; then 13157 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13158 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13159 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13160fi 13161 13162# Have a temporary directory for convenience. Make it in the build tree 13163# simply because there is no reason against having it here, and in addition, 13164# creating and moving files from /tmp can sometimes cause problems. 13165# Hook for its removal unless debugging. 13166# Note that there is a small window in which the directory will not be cleaned: 13167# after its creation but before its name has been assigned to `$tmp'. 13168$debug || 13169{ 13170 tmp= ac_tmp= 13171 trap 'exit_status=$? 13172 : "${ac_tmp:=$tmp}" 13173 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13174' 0 13175 trap 'as_fn_exit 1' 1 2 13 15 13176} 13177# Create a (secure) tmp directory for tmp files. 13178 13179{ 13180 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13181 test -d "$tmp" 13182} || 13183{ 13184 tmp=./conf$$-$RANDOM 13185 (umask 077 && mkdir "$tmp") 13186} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13187ac_tmp=$tmp 13188 13189# Set up the scripts for CONFIG_FILES section. 13190# No need to generate them if there are no CONFIG_FILES. 13191# This happens for instance with `./config.status config.h'. 13192if test -n "$CONFIG_FILES"; then 13193 13194 13195ac_cr=`echo X | tr X '\015'` 13196# On cygwin, bash can eat \r inside `` if the user requested igncr. 13197# But we know of no other shell where ac_cr would be empty at this 13198# point, so we can use a bashism as a fallback. 13199if test "x$ac_cr" = x; then 13200 eval ac_cr=\$\'\\r\' 13201fi 13202ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13203if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13204 ac_cs_awk_cr='\\r' 13205else 13206 ac_cs_awk_cr=$ac_cr 13207fi 13208 13209echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13210_ACEOF 13211 13212 13213{ 13214 echo "cat >conf$$subs.awk <<_ACEOF" && 13215 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13216 echo "_ACEOF" 13217} >conf$$subs.sh || 13218 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13219ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13220ac_delim='%!_!# ' 13221for ac_last_try in false false false false false :; do 13222 . ./conf$$subs.sh || 13223 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13224 13225 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13226 if test $ac_delim_n = $ac_delim_num; then 13227 break 13228 elif $ac_last_try; then 13229 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13230 else 13231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13232 fi 13233done 13234rm -f conf$$subs.sh 13235 13236cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13237cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13238_ACEOF 13239sed -n ' 13240h 13241s/^/S["/; s/!.*/"]=/ 13242p 13243g 13244s/^[^!]*!// 13245:repl 13246t repl 13247s/'"$ac_delim"'$// 13248t delim 13249:nl 13250h 13251s/\(.\{148\}\)..*/\1/ 13252t more1 13253s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13254p 13255n 13256b repl 13257:more1 13258s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13259p 13260g 13261s/.\{148\}// 13262t nl 13263:delim 13264h 13265s/\(.\{148\}\)..*/\1/ 13266t more2 13267s/["\\]/\\&/g; s/^/"/; s/$/"/ 13268p 13269b 13270:more2 13271s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13272p 13273g 13274s/.\{148\}// 13275t delim 13276' <conf$$subs.awk | sed ' 13277/^[^""]/{ 13278 N 13279 s/\n// 13280} 13281' >>$CONFIG_STATUS || ac_write_fail=1 13282rm -f conf$$subs.awk 13283cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13284_ACAWK 13285cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13286 for (key in S) S_is_set[key] = 1 13287 FS = "" 13288 13289} 13290{ 13291 line = $ 0 13292 nfields = split(line, field, "@") 13293 substed = 0 13294 len = length(field[1]) 13295 for (i = 2; i < nfields; i++) { 13296 key = field[i] 13297 keylen = length(key) 13298 if (S_is_set[key]) { 13299 value = S[key] 13300 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13301 len += length(value) + length(field[++i]) 13302 substed = 1 13303 } else 13304 len += 1 + keylen 13305 } 13306 13307 print line 13308} 13309 13310_ACAWK 13311_ACEOF 13312cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13313if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13314 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13315else 13316 cat 13317fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13318 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13319_ACEOF 13320 13321# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13322# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13323# trailing colons and then remove the whole line if VPATH becomes empty 13324# (actually we leave an empty line to preserve line numbers). 13325if test "x$srcdir" = x.; then 13326 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13327h 13328s/// 13329s/^/:/ 13330s/[ ]*$/:/ 13331s/:\$(srcdir):/:/g 13332s/:\${srcdir}:/:/g 13333s/:@srcdir@:/:/g 13334s/^:*// 13335s/:*$// 13336x 13337s/\(=[ ]*\).*/\1/ 13338G 13339s/\n// 13340s/^[^=]*=[ ]*$// 13341}' 13342fi 13343 13344cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13345fi # test -n "$CONFIG_FILES" 13346 13347# Set up the scripts for CONFIG_HEADERS section. 13348# No need to generate them if there are no CONFIG_HEADERS. 13349# This happens for instance with `./config.status Makefile'. 13350if test -n "$CONFIG_HEADERS"; then 13351cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13352BEGIN { 13353_ACEOF 13354 13355# Transform confdefs.h into an awk script `defines.awk', embedded as 13356# here-document in config.status, that substitutes the proper values into 13357# config.h.in to produce config.h. 13358 13359# Create a delimiter string that does not exist in confdefs.h, to ease 13360# handling of long lines. 13361ac_delim='%!_!# ' 13362for ac_last_try in false false :; do 13363 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13364 if test -z "$ac_tt"; then 13365 break 13366 elif $ac_last_try; then 13367 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13368 else 13369 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13370 fi 13371done 13372 13373# For the awk script, D is an array of macro values keyed by name, 13374# likewise P contains macro parameters if any. Preserve backslash 13375# newline sequences. 13376 13377ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13378sed -n ' 13379s/.\{148\}/&'"$ac_delim"'/g 13380t rset 13381:rset 13382s/^[ ]*#[ ]*define[ ][ ]*/ / 13383t def 13384d 13385:def 13386s/\\$// 13387t bsnl 13388s/["\\]/\\&/g 13389s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13390D["\1"]=" \3"/p 13391s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13392d 13393:bsnl 13394s/["\\]/\\&/g 13395s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13396D["\1"]=" \3\\\\\\n"\\/p 13397t cont 13398s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13399t cont 13400d 13401:cont 13402n 13403s/.\{148\}/&'"$ac_delim"'/g 13404t clear 13405:clear 13406s/\\$// 13407t bsnlc 13408s/["\\]/\\&/g; s/^/"/; s/$/"/p 13409d 13410:bsnlc 13411s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13412b cont 13413' <confdefs.h | sed ' 13414s/'"$ac_delim"'/"\\\ 13415"/g' >>$CONFIG_STATUS || ac_write_fail=1 13416 13417cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13418 for (key in D) D_is_set[key] = 1 13419 FS = "" 13420} 13421/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13422 line = \$ 0 13423 split(line, arg, " ") 13424 if (arg[1] == "#") { 13425 defundef = arg[2] 13426 mac1 = arg[3] 13427 } else { 13428 defundef = substr(arg[1], 2) 13429 mac1 = arg[2] 13430 } 13431 split(mac1, mac2, "(") #) 13432 macro = mac2[1] 13433 prefix = substr(line, 1, index(line, defundef) - 1) 13434 if (D_is_set[macro]) { 13435 # Preserve the white space surrounding the "#". 13436 print prefix "define", macro P[macro] D[macro] 13437 next 13438 } else { 13439 # Replace #undef with comments. This is necessary, for example, 13440 # in the case of _POSIX_SOURCE, which is predefined and required 13441 # on some systems where configure will not decide to define it. 13442 if (defundef == "undef") { 13443 print "/*", prefix defundef, macro, "*/" 13444 next 13445 } 13446 } 13447} 13448{ print } 13449_ACAWK 13450_ACEOF 13451cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13452 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13453fi # test -n "$CONFIG_HEADERS" 13454 13455 13456eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13457shift 13458for ac_tag 13459do 13460 case $ac_tag in 13461 :[FHLC]) ac_mode=$ac_tag; continue;; 13462 esac 13463 case $ac_mode$ac_tag in 13464 :[FHL]*:*);; 13465 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13466 :[FH]-) ac_tag=-:-;; 13467 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13468 esac 13469 ac_save_IFS=$IFS 13470 IFS=: 13471 set x $ac_tag 13472 IFS=$ac_save_IFS 13473 shift 13474 ac_file=$1 13475 shift 13476 13477 case $ac_mode in 13478 :L) ac_source=$1;; 13479 :[FH]) 13480 ac_file_inputs= 13481 for ac_f 13482 do 13483 case $ac_f in 13484 -) ac_f="$ac_tmp/stdin";; 13485 *) # Look for the file first in the build tree, then in the source tree 13486 # (if the path is not absolute). The absolute path cannot be DOS-style, 13487 # because $ac_f cannot contain `:'. 13488 test -f "$ac_f" || 13489 case $ac_f in 13490 [\\/$]*) false;; 13491 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13492 esac || 13493 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13494 esac 13495 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13496 as_fn_append ac_file_inputs " '$ac_f'" 13497 done 13498 13499 # Let's still pretend it is `configure' which instantiates (i.e., don't 13500 # use $as_me), people would be surprised to read: 13501 # /* config.h. Generated by config.status. */ 13502 configure_input='Generated from '` 13503 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13504 `' by configure.' 13505 if test x"$ac_file" != x-; then 13506 configure_input="$ac_file. $configure_input" 13507 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13508$as_echo "$as_me: creating $ac_file" >&6;} 13509 fi 13510 # Neutralize special characters interpreted by sed in replacement strings. 13511 case $configure_input in #( 13512 *\&* | *\|* | *\\* ) 13513 ac_sed_conf_input=`$as_echo "$configure_input" | 13514 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13515 *) ac_sed_conf_input=$configure_input;; 13516 esac 13517 13518 case $ac_tag in 13519 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13520 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13521 esac 13522 ;; 13523 esac 13524 13525 ac_dir=`$as_dirname -- "$ac_file" || 13526$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13527 X"$ac_file" : 'X\(//\)[^/]' \| \ 13528 X"$ac_file" : 'X\(//\)$' \| \ 13529 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13530$as_echo X"$ac_file" | 13531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13532 s//\1/ 13533 q 13534 } 13535 /^X\(\/\/\)[^/].*/{ 13536 s//\1/ 13537 q 13538 } 13539 /^X\(\/\/\)$/{ 13540 s//\1/ 13541 q 13542 } 13543 /^X\(\/\).*/{ 13544 s//\1/ 13545 q 13546 } 13547 s/.*/./; q'` 13548 as_dir="$ac_dir"; as_fn_mkdir_p 13549 ac_builddir=. 13550 13551case "$ac_dir" in 13552.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13553*) 13554 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13555 # A ".." for each directory in $ac_dir_suffix. 13556 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13557 case $ac_top_builddir_sub in 13558 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13559 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13560 esac ;; 13561esac 13562ac_abs_top_builddir=$ac_pwd 13563ac_abs_builddir=$ac_pwd$ac_dir_suffix 13564# for backward compatibility: 13565ac_top_builddir=$ac_top_build_prefix 13566 13567case $srcdir in 13568 .) # We are building in place. 13569 ac_srcdir=. 13570 ac_top_srcdir=$ac_top_builddir_sub 13571 ac_abs_top_srcdir=$ac_pwd ;; 13572 [\\/]* | ?:[\\/]* ) # Absolute name. 13573 ac_srcdir=$srcdir$ac_dir_suffix; 13574 ac_top_srcdir=$srcdir 13575 ac_abs_top_srcdir=$srcdir ;; 13576 *) # Relative name. 13577 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13578 ac_top_srcdir=$ac_top_build_prefix$srcdir 13579 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13580esac 13581ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13582 13583 13584 case $ac_mode in 13585 :F) 13586 # 13587 # CONFIG_FILE 13588 # 13589 13590 case $INSTALL in 13591 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13592 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13593 esac 13594 ac_MKDIR_P=$MKDIR_P 13595 case $MKDIR_P in 13596 [\\/$]* | ?:[\\/]* ) ;; 13597 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13598 esac 13599_ACEOF 13600 13601cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13602# If the template does not know about datarootdir, expand it. 13603# FIXME: This hack should be removed a few years after 2.60. 13604ac_datarootdir_hack=; ac_datarootdir_seen= 13605ac_sed_dataroot=' 13606/datarootdir/ { 13607 p 13608 q 13609} 13610/@datadir@/p 13611/@docdir@/p 13612/@infodir@/p 13613/@localedir@/p 13614/@mandir@/p' 13615case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13616*datarootdir*) ac_datarootdir_seen=yes;; 13617*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13619$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13620_ACEOF 13621cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13622 ac_datarootdir_hack=' 13623 s&@datadir@&$datadir&g 13624 s&@docdir@&$docdir&g 13625 s&@infodir@&$infodir&g 13626 s&@localedir@&$localedir&g 13627 s&@mandir@&$mandir&g 13628 s&\\\${datarootdir}&$datarootdir&g' ;; 13629esac 13630_ACEOF 13631 13632# Neutralize VPATH when `$srcdir' = `.'. 13633# Shell code in configure.ac might set extrasub. 13634# FIXME: do we really want to maintain this feature? 13635cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13636ac_sed_extra="$ac_vpsub 13637$extrasub 13638_ACEOF 13639cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13640:t 13641/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13642s|@configure_input@|$ac_sed_conf_input|;t t 13643s&@top_builddir@&$ac_top_builddir_sub&;t t 13644s&@top_build_prefix@&$ac_top_build_prefix&;t t 13645s&@srcdir@&$ac_srcdir&;t t 13646s&@abs_srcdir@&$ac_abs_srcdir&;t t 13647s&@top_srcdir@&$ac_top_srcdir&;t t 13648s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13649s&@builddir@&$ac_builddir&;t t 13650s&@abs_builddir@&$ac_abs_builddir&;t t 13651s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13652s&@INSTALL@&$ac_INSTALL&;t t 13653s&@MKDIR_P@&$ac_MKDIR_P&;t t 13654$ac_datarootdir_hack 13655" 13656eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 13657 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13658 13659test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13660 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 13661 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 13662 "$ac_tmp/out"`; test -z "$ac_out"; } && 13663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13664which seems to be undefined. Please make sure it is defined" >&5 13665$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13666which seems to be undefined. Please make sure it is defined" >&2;} 13667 13668 rm -f "$ac_tmp/stdin" 13669 case $ac_file in 13670 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 13671 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13672 esac \ 13673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13674 ;; 13675 :H) 13676 # 13677 # CONFIG_HEADER 13678 # 13679 if test x"$ac_file" != x-; then 13680 { 13681 $as_echo "/* $configure_input */" \ 13682 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 13683 } >"$ac_tmp/config.h" \ 13684 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13685 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 13686 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13687$as_echo "$as_me: $ac_file is unchanged" >&6;} 13688 else 13689 rm -f "$ac_file" 13690 mv "$ac_tmp/config.h" "$ac_file" \ 13691 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13692 fi 13693 else 13694 $as_echo "/* $configure_input */" \ 13695 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 13696 || as_fn_error $? "could not create -" "$LINENO" 5 13697 fi 13698# Compute "$ac_file"'s index in $config_headers. 13699_am_arg="$ac_file" 13700_am_stamp_count=1 13701for _am_header in $config_headers :; do 13702 case $_am_header in 13703 $_am_arg | $_am_arg:* ) 13704 break ;; 13705 * ) 13706 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 13707 esac 13708done 13709echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 13710$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13711 X"$_am_arg" : 'X\(//\)[^/]' \| \ 13712 X"$_am_arg" : 'X\(//\)$' \| \ 13713 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 13714$as_echo X"$_am_arg" | 13715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13716 s//\1/ 13717 q 13718 } 13719 /^X\(\/\/\)[^/].*/{ 13720 s//\1/ 13721 q 13722 } 13723 /^X\(\/\/\)$/{ 13724 s//\1/ 13725 q 13726 } 13727 /^X\(\/\).*/{ 13728 s//\1/ 13729 q 13730 } 13731 s/.*/./; q'`/stamp-h$_am_stamp_count 13732 ;; 13733 13734 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 13735$as_echo "$as_me: executing $ac_file commands" >&6;} 13736 ;; 13737 esac 13738 13739 13740 case $ac_file$ac_mode in 13741 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13742 # Autoconf 2.62 quotes --file arguments for eval, but not when files 13743 # are listed without --file. Let's play safe and only enable the eval 13744 # if we detect the quoting. 13745 case $CONFIG_FILES in 13746 *\'*) eval set x "$CONFIG_FILES" ;; 13747 *) set x $CONFIG_FILES ;; 13748 esac 13749 shift 13750 for mf 13751 do 13752 # Strip MF so we end up with the name of the file. 13753 mf=`echo "$mf" | sed -e 's/:.*$//'` 13754 # Check whether this is an Automake generated Makefile or not. 13755 # We used to match only the files named `Makefile.in', but 13756 # some people rename them; so instead we look at the file content. 13757 # Grep'ing the first line is not enough: some people post-process 13758 # each Makefile.in and add a new line on top of each file to say so. 13759 # Grep'ing the whole file is not good either: AIX grep has a line 13760 # limit of 2048, but all sed's we know have understand at least 4000. 13761 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13762 dirpart=`$as_dirname -- "$mf" || 13763$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13764 X"$mf" : 'X\(//\)[^/]' \| \ 13765 X"$mf" : 'X\(//\)$' \| \ 13766 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13767$as_echo X"$mf" | 13768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13769 s//\1/ 13770 q 13771 } 13772 /^X\(\/\/\)[^/].*/{ 13773 s//\1/ 13774 q 13775 } 13776 /^X\(\/\/\)$/{ 13777 s//\1/ 13778 q 13779 } 13780 /^X\(\/\).*/{ 13781 s//\1/ 13782 q 13783 } 13784 s/.*/./; q'` 13785 else 13786 continue 13787 fi 13788 # Extract the definition of DEPDIR, am__include, and am__quote 13789 # from the Makefile without running `make'. 13790 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13791 test -z "$DEPDIR" && continue 13792 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13793 test -z "am__include" && continue 13794 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13795 # When using ansi2knr, U may be empty or an underscore; expand it 13796 U=`sed -n 's/^U = //p' < "$mf"` 13797 # Find all dependency output files, they are included files with 13798 # $(DEPDIR) in their names. We invoke sed twice because it is the 13799 # simplest approach to changing $(DEPDIR) to its actual value in the 13800 # expansion. 13801 for file in `sed -n " 13802 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13803 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 13804 # Make sure the directory exists. 13805 test -f "$dirpart/$file" && continue 13806 fdir=`$as_dirname -- "$file" || 13807$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13808 X"$file" : 'X\(//\)[^/]' \| \ 13809 X"$file" : 'X\(//\)$' \| \ 13810 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13811$as_echo X"$file" | 13812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13813 s//\1/ 13814 q 13815 } 13816 /^X\(\/\/\)[^/].*/{ 13817 s//\1/ 13818 q 13819 } 13820 /^X\(\/\/\)$/{ 13821 s//\1/ 13822 q 13823 } 13824 /^X\(\/\).*/{ 13825 s//\1/ 13826 q 13827 } 13828 s/.*/./; q'` 13829 as_dir=$dirpart/$fdir; as_fn_mkdir_p 13830 # echo "creating $dirpart/$file" 13831 echo '# dummy' > "$dirpart/$file" 13832 done 13833 done 13834} 13835 ;; 13836 "libtool":C) 13837 13838 # See if we are running on zsh, and set the options which allow our 13839 # commands through without removal of \ escapes. 13840 if test -n "${ZSH_VERSION+set}" ; then 13841 setopt NO_GLOB_SUBST 13842 fi 13843 13844 cfgfile="${ofile}T" 13845 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13846 $RM "$cfgfile" 13847 13848 cat <<_LT_EOF >> "$cfgfile" 13849#! $SHELL 13850 13851# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13852# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13853# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13854# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13855# 13856# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13857# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 13858# Foundation, Inc. 13859# Written by Gordon Matzigkeit, 1996 13860# 13861# This file is part of GNU Libtool. 13862# 13863# GNU Libtool is free software; you can redistribute it and/or 13864# modify it under the terms of the GNU General Public License as 13865# published by the Free Software Foundation; either version 2 of 13866# the License, or (at your option) any later version. 13867# 13868# As a special exception to the GNU General Public License, 13869# if you distribute this file as part of a program or library that 13870# is built using GNU Libtool, you may include this file under the 13871# same distribution terms that you use for the rest of that program. 13872# 13873# GNU Libtool is distributed in the hope that it will be useful, 13874# but WITHOUT ANY WARRANTY; without even the implied warranty of 13875# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13876# GNU General Public License for more details. 13877# 13878# You should have received a copy of the GNU General Public License 13879# along with GNU Libtool; see the file COPYING. If not, a copy 13880# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13881# obtained by writing to the Free Software Foundation, Inc., 13882# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13883 13884 13885# The names of the tagged configurations supported by this script. 13886available_tags="" 13887 13888# ### BEGIN LIBTOOL CONFIG 13889 13890# Whether or not to build static libraries. 13891build_old_libs=$enable_static 13892 13893# Assembler program. 13894AS=$lt_AS 13895 13896# DLL creation program. 13897DLLTOOL=$lt_DLLTOOL 13898 13899# Object dumper program. 13900OBJDUMP=$lt_OBJDUMP 13901 13902# Which release of libtool.m4 was used? 13903macro_version=$macro_version 13904macro_revision=$macro_revision 13905 13906# Whether or not to build shared libraries. 13907build_libtool_libs=$enable_shared 13908 13909# What type of objects to build. 13910pic_mode=$pic_mode 13911 13912# Whether or not to optimize for fast installation. 13913fast_install=$enable_fast_install 13914 13915# Shell to use when invoking shell scripts. 13916SHELL=$lt_SHELL 13917 13918# An echo program that protects backslashes. 13919ECHO=$lt_ECHO 13920 13921# The PATH separator for the build system. 13922PATH_SEPARATOR=$lt_PATH_SEPARATOR 13923 13924# The host system. 13925host_alias=$host_alias 13926host=$host 13927host_os=$host_os 13928 13929# The build system. 13930build_alias=$build_alias 13931build=$build 13932build_os=$build_os 13933 13934# A sed program that does not truncate output. 13935SED=$lt_SED 13936 13937# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13938Xsed="\$SED -e 1s/^X//" 13939 13940# A grep program that handles long lines. 13941GREP=$lt_GREP 13942 13943# An ERE matcher. 13944EGREP=$lt_EGREP 13945 13946# A literal string matcher. 13947FGREP=$lt_FGREP 13948 13949# A BSD- or MS-compatible name lister. 13950NM=$lt_NM 13951 13952# Whether we need soft or hard links. 13953LN_S=$lt_LN_S 13954 13955# What is the maximum length of a command? 13956max_cmd_len=$max_cmd_len 13957 13958# Object file suffix (normally "o"). 13959objext=$ac_objext 13960 13961# Executable file suffix (normally ""). 13962exeext=$exeext 13963 13964# whether the shell understands "unset". 13965lt_unset=$lt_unset 13966 13967# turn spaces into newlines. 13968SP2NL=$lt_lt_SP2NL 13969 13970# turn newlines into spaces. 13971NL2SP=$lt_lt_NL2SP 13972 13973# convert \$build file names to \$host format. 13974to_host_file_cmd=$lt_cv_to_host_file_cmd 13975 13976# convert \$build files to toolchain format. 13977to_tool_file_cmd=$lt_cv_to_tool_file_cmd 13978 13979# Method to check whether dependent libraries are shared objects. 13980deplibs_check_method=$lt_deplibs_check_method 13981 13982# Command to use when deplibs_check_method = "file_magic". 13983file_magic_cmd=$lt_file_magic_cmd 13984 13985# How to find potential files when deplibs_check_method = "file_magic". 13986file_magic_glob=$lt_file_magic_glob 13987 13988# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 13989want_nocaseglob=$lt_want_nocaseglob 13990 13991# Command to associate shared and link libraries. 13992sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 13993 13994# The archiver. 13995AR=$lt_AR 13996 13997# Flags to create an archive. 13998AR_FLAGS=$lt_AR_FLAGS 13999 14000# How to feed a file listing to the archiver. 14001archiver_list_spec=$lt_archiver_list_spec 14002 14003# A symbol stripping program. 14004STRIP=$lt_STRIP 14005 14006# Commands used to install an old-style archive. 14007RANLIB=$lt_RANLIB 14008old_postinstall_cmds=$lt_old_postinstall_cmds 14009old_postuninstall_cmds=$lt_old_postuninstall_cmds 14010 14011# Whether to use a lock for old archive extraction. 14012lock_old_archive_extraction=$lock_old_archive_extraction 14013 14014# A C compiler. 14015LTCC=$lt_CC 14016 14017# LTCC compiler flags. 14018LTCFLAGS=$lt_CFLAGS 14019 14020# Take the output of nm and produce a listing of raw symbols and C names. 14021global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14022 14023# Transform the output of nm in a proper C declaration. 14024global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14025 14026# Transform the output of nm in a C name address pair. 14027global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14028 14029# Transform the output of nm in a C name address pair when lib prefix is needed. 14030global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14031 14032# Specify filename containing input files for \$NM. 14033nm_file_list_spec=$lt_nm_file_list_spec 14034 14035# The root where to search for dependent libraries,and in which our libraries should be installed. 14036lt_sysroot=$lt_sysroot 14037 14038# The name of the directory that contains temporary libtool files. 14039objdir=$objdir 14040 14041# Used to examine libraries when file_magic_cmd begins with "file". 14042MAGIC_CMD=$MAGIC_CMD 14043 14044# Must we lock files when doing compilation? 14045need_locks=$lt_need_locks 14046 14047# Manifest tool. 14048MANIFEST_TOOL=$lt_MANIFEST_TOOL 14049 14050# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14051DSYMUTIL=$lt_DSYMUTIL 14052 14053# Tool to change global to local symbols on Mac OS X. 14054NMEDIT=$lt_NMEDIT 14055 14056# Tool to manipulate fat objects and archives on Mac OS X. 14057LIPO=$lt_LIPO 14058 14059# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14060OTOOL=$lt_OTOOL 14061 14062# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14063OTOOL64=$lt_OTOOL64 14064 14065# Old archive suffix (normally "a"). 14066libext=$libext 14067 14068# Shared library suffix (normally ".so"). 14069shrext_cmds=$lt_shrext_cmds 14070 14071# The commands to extract the exported symbol list from a shared archive. 14072extract_expsyms_cmds=$lt_extract_expsyms_cmds 14073 14074# Variables whose values should be saved in libtool wrapper scripts and 14075# restored at link time. 14076variables_saved_for_relink=$lt_variables_saved_for_relink 14077 14078# Do we need the "lib" prefix for modules? 14079need_lib_prefix=$need_lib_prefix 14080 14081# Do we need a version for libraries? 14082need_version=$need_version 14083 14084# Library versioning type. 14085version_type=$version_type 14086 14087# Shared library runtime path variable. 14088runpath_var=$runpath_var 14089 14090# Shared library path variable. 14091shlibpath_var=$shlibpath_var 14092 14093# Is shlibpath searched before the hard-coded library search path? 14094shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14095 14096# Format of library name prefix. 14097libname_spec=$lt_libname_spec 14098 14099# List of archive names. First name is the real one, the rest are links. 14100# The last name is the one that the linker finds with -lNAME 14101library_names_spec=$lt_library_names_spec 14102 14103# The coded name of the library, if different from the real name. 14104soname_spec=$lt_soname_spec 14105 14106# Permission mode override for installation of shared libraries. 14107install_override_mode=$lt_install_override_mode 14108 14109# Command to use after installation of a shared archive. 14110postinstall_cmds=$lt_postinstall_cmds 14111 14112# Command to use after uninstallation of a shared archive. 14113postuninstall_cmds=$lt_postuninstall_cmds 14114 14115# Commands used to finish a libtool library installation in a directory. 14116finish_cmds=$lt_finish_cmds 14117 14118# As "finish_cmds", except a single script fragment to be evaled but 14119# not shown. 14120finish_eval=$lt_finish_eval 14121 14122# Whether we should hardcode library paths into libraries. 14123hardcode_into_libs=$hardcode_into_libs 14124 14125# Compile-time system search path for libraries. 14126sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14127 14128# Run-time system search path for libraries. 14129sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14130 14131# Whether dlopen is supported. 14132dlopen_support=$enable_dlopen 14133 14134# Whether dlopen of programs is supported. 14135dlopen_self=$enable_dlopen_self 14136 14137# Whether dlopen of statically linked programs is supported. 14138dlopen_self_static=$enable_dlopen_self_static 14139 14140# Commands to strip libraries. 14141old_striplib=$lt_old_striplib 14142striplib=$lt_striplib 14143 14144 14145# The linker used to build libraries. 14146LD=$lt_LD 14147 14148# How to create reloadable object files. 14149reload_flag=$lt_reload_flag 14150reload_cmds=$lt_reload_cmds 14151 14152# Commands used to build an old-style archive. 14153old_archive_cmds=$lt_old_archive_cmds 14154 14155# A language specific compiler. 14156CC=$lt_compiler 14157 14158# Is the compiler the GNU compiler? 14159with_gcc=$GCC 14160 14161# Compiler flag to turn off builtin functions. 14162no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14163 14164# Additional compiler flags for building library objects. 14165pic_flag=$lt_lt_prog_compiler_pic 14166 14167# How to pass a linker flag through the compiler. 14168wl=$lt_lt_prog_compiler_wl 14169 14170# Compiler flag to prevent dynamic linking. 14171link_static_flag=$lt_lt_prog_compiler_static 14172 14173# Does compiler simultaneously support -c and -o options? 14174compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14175 14176# Whether or not to add -lc for building shared libraries. 14177build_libtool_need_lc=$archive_cmds_need_lc 14178 14179# Whether or not to disallow shared libs when runtime libs are static. 14180allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14181 14182# Compiler flag to allow reflexive dlopens. 14183export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14184 14185# Compiler flag to generate shared objects directly from archives. 14186whole_archive_flag_spec=$lt_whole_archive_flag_spec 14187 14188# Whether the compiler copes with passing no objects directly. 14189compiler_needs_object=$lt_compiler_needs_object 14190 14191# Create an old-style archive from a shared archive. 14192old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14193 14194# Create a temporary old-style archive to link instead of a shared archive. 14195old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14196 14197# Commands used to build a shared archive. 14198archive_cmds=$lt_archive_cmds 14199archive_expsym_cmds=$lt_archive_expsym_cmds 14200 14201# Commands used to build a loadable module if different from building 14202# a shared archive. 14203module_cmds=$lt_module_cmds 14204module_expsym_cmds=$lt_module_expsym_cmds 14205 14206# Whether we are building with GNU ld or not. 14207with_gnu_ld=$lt_with_gnu_ld 14208 14209# Flag that allows shared libraries with undefined symbols to be built. 14210allow_undefined_flag=$lt_allow_undefined_flag 14211 14212# Flag that enforces no undefined symbols. 14213no_undefined_flag=$lt_no_undefined_flag 14214 14215# Flag to hardcode \$libdir into a binary during linking. 14216# This must work even if \$libdir does not exist 14217hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14218 14219# Whether we need a single "-rpath" flag with a separated argument. 14220hardcode_libdir_separator=$lt_hardcode_libdir_separator 14221 14222# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14223# DIR into the resulting binary. 14224hardcode_direct=$hardcode_direct 14225 14226# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14227# DIR into the resulting binary and the resulting library dependency is 14228# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 14229# library is relocated. 14230hardcode_direct_absolute=$hardcode_direct_absolute 14231 14232# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14233# into the resulting binary. 14234hardcode_minus_L=$hardcode_minus_L 14235 14236# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14237# into the resulting binary. 14238hardcode_shlibpath_var=$hardcode_shlibpath_var 14239 14240# Set to "yes" if building a shared library automatically hardcodes DIR 14241# into the library and all subsequent libraries and executables linked 14242# against it. 14243hardcode_automatic=$hardcode_automatic 14244 14245# Set to yes if linker adds runtime paths of dependent libraries 14246# to runtime path list. 14247inherit_rpath=$inherit_rpath 14248 14249# Whether libtool must link a program against all its dependency libraries. 14250link_all_deplibs=$link_all_deplibs 14251 14252# Set to "yes" if exported symbols are required. 14253always_export_symbols=$always_export_symbols 14254 14255# The commands to list exported symbols. 14256export_symbols_cmds=$lt_export_symbols_cmds 14257 14258# Symbols that should not be listed in the preloaded symbols. 14259exclude_expsyms=$lt_exclude_expsyms 14260 14261# Symbols that must always be exported. 14262include_expsyms=$lt_include_expsyms 14263 14264# Commands necessary for linking programs (against libraries) with templates. 14265prelink_cmds=$lt_prelink_cmds 14266 14267# Commands necessary for finishing linking programs. 14268postlink_cmds=$lt_postlink_cmds 14269 14270# Specify filename containing input files. 14271file_list_spec=$lt_file_list_spec 14272 14273# How to hardcode a shared library path into an executable. 14274hardcode_action=$hardcode_action 14275 14276# ### END LIBTOOL CONFIG 14277 14278_LT_EOF 14279 14280 case $host_os in 14281 aix3*) 14282 cat <<\_LT_EOF >> "$cfgfile" 14283# AIX sometimes has problems with the GCC collect2 program. For some 14284# reason, if we set the COLLECT_NAMES environment variable, the problems 14285# vanish in a puff of smoke. 14286if test "X${COLLECT_NAMES+set}" != Xset; then 14287 COLLECT_NAMES= 14288 export COLLECT_NAMES 14289fi 14290_LT_EOF 14291 ;; 14292 esac 14293 14294 14295ltmain="$ac_aux_dir/ltmain.sh" 14296 14297 14298 # We use sed instead of cat because bash on DJGPP gets confused if 14299 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14300 # text mode, it properly converts lines to CR/LF. This bash problem 14301 # is reportedly fixed, but why not run on old versions too? 14302 sed '$q' "$ltmain" >> "$cfgfile" \ 14303 || (rm -f "$cfgfile"; exit 1) 14304 14305 if test x"$xsi_shell" = xyes; then 14306 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 14307func_dirname ()\ 14308{\ 14309\ case ${1} in\ 14310\ */*) func_dirname_result="${1%/*}${2}" ;;\ 14311\ * ) func_dirname_result="${3}" ;;\ 14312\ esac\ 14313} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 14314 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14315 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14316test 0 -eq $? || _lt_function_replace_fail=: 14317 14318 14319 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 14320func_basename ()\ 14321{\ 14322\ func_basename_result="${1##*/}"\ 14323} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 14324 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14325 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14326test 0 -eq $? || _lt_function_replace_fail=: 14327 14328 14329 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 14330func_dirname_and_basename ()\ 14331{\ 14332\ case ${1} in\ 14333\ */*) func_dirname_result="${1%/*}${2}" ;;\ 14334\ * ) func_dirname_result="${3}" ;;\ 14335\ esac\ 14336\ func_basename_result="${1##*/}"\ 14337} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 14338 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14339 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14340test 0 -eq $? || _lt_function_replace_fail=: 14341 14342 14343 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 14344func_stripname ()\ 14345{\ 14346\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 14347\ # positional parameters, so assign one to ordinary parameter first.\ 14348\ func_stripname_result=${3}\ 14349\ func_stripname_result=${func_stripname_result#"${1}"}\ 14350\ func_stripname_result=${func_stripname_result%"${2}"}\ 14351} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 14352 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14353 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14354test 0 -eq $? || _lt_function_replace_fail=: 14355 14356 14357 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 14358func_split_long_opt ()\ 14359{\ 14360\ func_split_long_opt_name=${1%%=*}\ 14361\ func_split_long_opt_arg=${1#*=}\ 14362} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 14363 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14364 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14365test 0 -eq $? || _lt_function_replace_fail=: 14366 14367 14368 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 14369func_split_short_opt ()\ 14370{\ 14371\ func_split_short_opt_arg=${1#??}\ 14372\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 14373} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 14374 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14375 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14376test 0 -eq $? || _lt_function_replace_fail=: 14377 14378 14379 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 14380func_lo2o ()\ 14381{\ 14382\ case ${1} in\ 14383\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 14384\ *) func_lo2o_result=${1} ;;\ 14385\ esac\ 14386} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 14387 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14388 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14389test 0 -eq $? || _lt_function_replace_fail=: 14390 14391 14392 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 14393func_xform ()\ 14394{\ 14395 func_xform_result=${1%.*}.lo\ 14396} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 14397 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14398 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14399test 0 -eq $? || _lt_function_replace_fail=: 14400 14401 14402 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 14403func_arith ()\ 14404{\ 14405 func_arith_result=$(( $* ))\ 14406} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 14407 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14408 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14409test 0 -eq $? || _lt_function_replace_fail=: 14410 14411 14412 sed -e '/^func_len ()$/,/^} # func_len /c\ 14413func_len ()\ 14414{\ 14415 func_len_result=${#1}\ 14416} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 14417 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14418 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14419test 0 -eq $? || _lt_function_replace_fail=: 14420 14421fi 14422 14423if test x"$lt_shell_append" = xyes; then 14424 sed -e '/^func_append ()$/,/^} # func_append /c\ 14425func_append ()\ 14426{\ 14427 eval "${1}+=\\${2}"\ 14428} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 14429 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14430 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14431test 0 -eq $? || _lt_function_replace_fail=: 14432 14433 14434 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 14435func_append_quoted ()\ 14436{\ 14437\ func_quote_for_eval "${2}"\ 14438\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 14439} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 14440 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14441 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14442test 0 -eq $? || _lt_function_replace_fail=: 14443 14444 14445 # Save a `func_append' function call where possible by direct use of '+=' 14446 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 14447 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14448 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14449 test 0 -eq $? || _lt_function_replace_fail=: 14450else 14451 # Save a `func_append' function call even when '+=' is not available 14452 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 14453 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14454 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14455 test 0 -eq $? || _lt_function_replace_fail=: 14456fi 14457 14458if test x"$_lt_function_replace_fail" = x":"; then 14459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 14460$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 14461fi 14462 14463 14464 mv -f "$cfgfile" "$ofile" || 14465 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14466 chmod +x "$ofile" 14467 14468 ;; 14469 14470 esac 14471done # for ac_tag 14472 14473 14474as_fn_exit 0 14475_ACEOF 14476ac_clean_files=$ac_clean_files_save 14477 14478test $ac_write_fail = 0 || 14479 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14480 14481 14482# configure is writing to config.log, and then calls config.status. 14483# config.status does its own redirection, appending to config.log. 14484# Unfortunately, on DOS this fails, as config.log is still kept open 14485# by configure, so config.status won't be able to write to it; its 14486# output is simply discarded. So we exec the FD to /dev/null, 14487# effectively closing config.log, so it can be properly (re)opened and 14488# appended to by config.status. When coming back to configure, we 14489# need to make the FD available again. 14490if test "$no_create" != yes; then 14491 ac_cs_success=: 14492 ac_config_status_args= 14493 test "$silent" = yes && 14494 ac_config_status_args="$ac_config_status_args --quiet" 14495 exec 5>/dev/null 14496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14497 exec 5>>config.log 14498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14499 # would make configure fail if this is the last instruction. 14500 $ac_cs_success || as_fn_exit 1 14501fi 14502if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14504$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14505fi 14506 14507