1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.65 for WSDLPull 1.24. 4# 5# Report bugs to <vivek200120@users.sourceforge.net>. 6# 7# Copyright (C) 2007-2010 Vivek Krishna <vivek200120@users.sourceforge.net> 8# 9# 10# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 11# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 12# Inc. 13# 14# 15# This configure script is free software; the Free Software Foundation 16# gives unlimited permission to copy, distribute and modify it. 17## -------------------- ## 18## M4sh Initialization. ## 19## -------------------- ## 20 21# Be more Bourne compatible 22DUALCASE=1; export DUALCASE # for MKS sh 23if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 24 emulate sh 25 NULLCMD=: 26 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 27 # is contrary to our usage. Disable this feature. 28 alias -g '${1+"$@"}'='"$@"' 29 setopt NO_GLOB_SUBST 30else 31 case `(set -o) 2>/dev/null` in #( 32 *posix*) : 33 set -o posix ;; #( 34 *) : 35 ;; 36esac 37fi 38 39 40as_nl=' 41' 42export as_nl 43# Printing a long string crashes Solaris 7 /usr/bin/printf. 44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47# Prefer a ksh shell builtin over an external printf program on Solaris, 48# but without wasting forks for bash or zsh. 49if test -z "$BASH_VERSION$ZSH_VERSION" \ 50 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 51 as_echo='print -r --' 52 as_echo_n='print -rn --' 53elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 54 as_echo='printf %s\n' 55 as_echo_n='printf %s' 56else 57 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 58 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 59 as_echo_n='/usr/ucb/echo -n' 60 else 61 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 62 as_echo_n_body='eval 63 arg=$1; 64 case $arg in #( 65 *"$as_nl"*) 66 expr "X$arg" : "X\\(.*\\)$as_nl"; 67 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 68 esac; 69 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 70 ' 71 export as_echo_n_body 72 as_echo_n='sh -c $as_echo_n_body as_echo' 73 fi 74 export as_echo_body 75 as_echo='sh -c $as_echo_body as_echo' 76fi 77 78# The user is always right. 79if test "${PATH_SEPARATOR+set}" != set; then 80 PATH_SEPARATOR=: 81 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 82 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 83 PATH_SEPARATOR=';' 84 } 85fi 86 87 88# IFS 89# We need space, tab and new line, in precisely that order. Quoting is 90# there to prevent editors from complaining about space-tab. 91# (If _AS_PATH_WALK were called with IFS unset, it would disable word 92# splitting by setting IFS to empty value.) 93IFS=" "" $as_nl" 94 95# Find who we are. Look in the path if we contain no directory separator. 96case $0 in #(( 97 *[\\/]* ) as_myself=$0 ;; 98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 99for as_dir in $PATH 100do 101 IFS=$as_save_IFS 102 test -z "$as_dir" && as_dir=. 103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 104 done 105IFS=$as_save_IFS 106 107 ;; 108esac 109# We did not find ourselves, most probably we were run as `sh COMMAND' 110# in which case we are not to be found in the path. 111if test "x$as_myself" = x; then 112 as_myself=$0 113fi 114if test ! -f "$as_myself"; then 115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 116 exit 1 117fi 118 119# Unset variables that we do not need and which cause bugs (e.g. in 120# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 121# suppresses any "Segmentation fault" message there. '((' could 122# trigger a bug in pdksh 5.2.14. 123for as_var in BASH_ENV ENV MAIL MAILPATH 124do eval test x\${$as_var+set} = xset \ 125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 126done 127PS1='$ ' 128PS2='> ' 129PS4='+ ' 130 131# NLS nuisances. 132LC_ALL=C 133export LC_ALL 134LANGUAGE=C 135export LANGUAGE 136 137# CDPATH. 138(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 139 140if test "x$CONFIG_SHELL" = x; then 141 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 142 emulate sh 143 NULLCMD=: 144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 145 # is contrary to our usage. Disable this feature. 146 alias -g '\${1+\"\$@\"}'='\"\$@\"' 147 setopt NO_GLOB_SUBST 148else 149 case \`(set -o) 2>/dev/null\` in #( 150 *posix*) : 151 set -o posix ;; #( 152 *) : 153 ;; 154esac 155fi 156" 157 as_required="as_fn_return () { (exit \$1); } 158as_fn_success () { as_fn_return 0; } 159as_fn_failure () { as_fn_return 1; } 160as_fn_ret_success () { return 0; } 161as_fn_ret_failure () { return 1; } 162 163exitcode=0 164as_fn_success || { exitcode=1; echo as_fn_success failed.; } 165as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 166as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 167as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 168if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 169 170else 171 exitcode=1; echo positional parameters were not saved. 172fi 173test x\$exitcode = x0 || exit 1" 174 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 175 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 178test \$(( 1 + 1 )) = 2 || exit 1" 179 if (eval "$as_required") 2>/dev/null; then : 180 as_have_required=yes 181else 182 as_have_required=no 183fi 184 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 185 186else 187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 188as_found=false 189for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 190do 191 IFS=$as_save_IFS 192 test -z "$as_dir" && as_dir=. 193 as_found=: 194 case $as_dir in #( 195 /*) 196 for as_base in sh bash ksh sh5; do 197 # Try only shells that exist, to save several forks. 198 as_shell=$as_dir/$as_base 199 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 200 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 CONFIG_SHELL=$as_shell as_have_required=yes 202 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 203 break 2 204fi 205fi 206 done;; 207 esac 208 as_found=false 209done 210$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 211 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 212 CONFIG_SHELL=$SHELL as_have_required=yes 213fi; } 214IFS=$as_save_IFS 215 216 217 if test "x$CONFIG_SHELL" != x; then : 218 # We cannot yet assume a decent shell, so we have to provide a 219 # neutralization value for shells without unset; and this also 220 # works around shells that cannot unset nonexistent variables. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 226fi 227 228 if test x$as_have_required = xno; then : 229 $as_echo "$0: This script requires a shell more modern than all" 230 $as_echo "$0: the shells that I found on your system." 231 if test x${ZSH_VERSION+set} = xset ; then 232 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 233 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 234 else 235 $as_echo "$0: Please tell bug-autoconf@gnu.org and 236$0: vivek200120@users.sourceforge.net about your system, 237$0: including any error possibly output before this 238$0: message. Then install a modern shell, or manually run 239$0: the script under such a shell if you do have one." 240 fi 241 exit 1 242fi 243fi 244fi 245SHELL=${CONFIG_SHELL-/bin/sh} 246export SHELL 247# Unset more variables known to interfere with behavior of common tools. 248CLICOLOR_FORCE= GREP_OPTIONS= 249unset CLICOLOR_FORCE GREP_OPTIONS 250 251## --------------------- ## 252## M4sh Shell Functions. ## 253## --------------------- ## 254# as_fn_unset VAR 255# --------------- 256# Portably unset VAR. 257as_fn_unset () 258{ 259 { eval $1=; unset $1;} 260} 261as_unset=as_fn_unset 262 263# as_fn_set_status STATUS 264# ----------------------- 265# Set $? to STATUS, without forking. 266as_fn_set_status () 267{ 268 return $1 269} # as_fn_set_status 270 271# as_fn_exit STATUS 272# ----------------- 273# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 274as_fn_exit () 275{ 276 set +e 277 as_fn_set_status $1 278 exit $1 279} # as_fn_exit 280 281# as_fn_mkdir_p 282# ------------- 283# Create "$as_dir" as a directory, including parents if necessary. 284as_fn_mkdir_p () 285{ 286 287 case $as_dir in #( 288 -*) as_dir=./$as_dir;; 289 esac 290 test -d "$as_dir" || eval $as_mkdir_p || { 291 as_dirs= 292 while :; do 293 case $as_dir in #( 294 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 295 *) as_qdir=$as_dir;; 296 esac 297 as_dirs="'$as_qdir' $as_dirs" 298 as_dir=`$as_dirname -- "$as_dir" || 299$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 300 X"$as_dir" : 'X\(//\)[^/]' \| \ 301 X"$as_dir" : 'X\(//\)$' \| \ 302 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 303$as_echo X"$as_dir" | 304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 305 s//\1/ 306 q 307 } 308 /^X\(\/\/\)[^/].*/{ 309 s//\1/ 310 q 311 } 312 /^X\(\/\/\)$/{ 313 s//\1/ 314 q 315 } 316 /^X\(\/\).*/{ 317 s//\1/ 318 q 319 } 320 s/.*/./; q'` 321 test -d "$as_dir" && break 322 done 323 test -z "$as_dirs" || eval "mkdir $as_dirs" 324 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 325 326 327} # as_fn_mkdir_p 328# as_fn_append VAR VALUE 329# ---------------------- 330# Append the text in VALUE to the end of the definition contained in VAR. Take 331# advantage of any shell optimizations that allow amortized linear growth over 332# repeated appends, instead of the typical quadratic growth present in naive 333# implementations. 334if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 335 eval 'as_fn_append () 336 { 337 eval $1+=\$2 338 }' 339else 340 as_fn_append () 341 { 342 eval $1=\$$1\$2 343 } 344fi # as_fn_append 345 346# as_fn_arith ARG... 347# ------------------ 348# Perform arithmetic evaluation on the ARGs, and store the result in the 349# global $as_val. Take advantage of shells that can avoid forks. The arguments 350# must be portable across $(()) and expr. 351if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 352 eval 'as_fn_arith () 353 { 354 as_val=$(( $* )) 355 }' 356else 357 as_fn_arith () 358 { 359 as_val=`expr "$@" || test $? -eq 1` 360 } 361fi # as_fn_arith 362 363 364# as_fn_error ERROR [LINENO LOG_FD] 365# --------------------------------- 366# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 367# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 368# script with status $?, using 1 if that was 0. 369as_fn_error () 370{ 371 as_status=$?; test $as_status -eq 0 && as_status=1 372 if test "$3"; then 373 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 374 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 375 fi 376 $as_echo "$as_me: error: $1" >&2 377 as_fn_exit $as_status 378} # as_fn_error 379 380if expr a : '\(a\)' >/dev/null 2>&1 && 381 test "X`expr 00001 : '.*\(...\)'`" = X001; then 382 as_expr=expr 383else 384 as_expr=false 385fi 386 387if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 388 as_basename=basename 389else 390 as_basename=false 391fi 392 393if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 394 as_dirname=dirname 395else 396 as_dirname=false 397fi 398 399as_me=`$as_basename -- "$0" || 400$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 401 X"$0" : 'X\(//\)$' \| \ 402 X"$0" : 'X\(/\)' \| . 2>/dev/null || 403$as_echo X/"$0" | 404 sed '/^.*\/\([^/][^/]*\)\/*$/{ 405 s//\1/ 406 q 407 } 408 /^X\/\(\/\/\)$/{ 409 s//\1/ 410 q 411 } 412 /^X\/\(\/\).*/{ 413 s//\1/ 414 q 415 } 416 s/.*/./; q'` 417 418# Avoid depending upon Character Ranges. 419as_cr_letters='abcdefghijklmnopqrstuvwxyz' 420as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 421as_cr_Letters=$as_cr_letters$as_cr_LETTERS 422as_cr_digits='0123456789' 423as_cr_alnum=$as_cr_Letters$as_cr_digits 424 425 426 as_lineno_1=$LINENO as_lineno_1a=$LINENO 427 as_lineno_2=$LINENO as_lineno_2a=$LINENO 428 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 429 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 430 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 431 sed -n ' 432 p 433 /[$]LINENO/= 434 ' <$as_myself | 435 sed ' 436 s/[$]LINENO.*/&-/ 437 t lineno 438 b 439 :lineno 440 N 441 :loop 442 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 443 t loop 444 s/-\n.*// 445 ' >$as_me.lineno && 446 chmod +x "$as_me.lineno" || 447 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 448 449 # Don't try to exec as it changes $[0], causing all sort of problems 450 # (the dirname of $[0] is not the place where we might find the 451 # original and so on. Autoconf is especially sensitive to this). 452 . "./$as_me.lineno" 453 # Exit status is that of the last command. 454 exit 455} 456 457ECHO_C= ECHO_N= ECHO_T= 458case `echo -n x` in #((((( 459-n*) 460 case `echo 'xy\c'` in 461 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 462 xy) ECHO_C='\c';; 463 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 464 ECHO_T=' ';; 465 esac;; 466*) 467 ECHO_N='-n';; 468esac 469 470rm -f conf$$ conf$$.exe conf$$.file 471if test -d conf$$.dir; then 472 rm -f conf$$.dir/conf$$.file 473else 474 rm -f conf$$.dir 475 mkdir conf$$.dir 2>/dev/null 476fi 477if (echo >conf$$.file) 2>/dev/null; then 478 if ln -s conf$$.file conf$$ 2>/dev/null; then 479 as_ln_s='ln -s' 480 # ... but there are two gotchas: 481 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 482 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 483 # In both cases, we have to default to `cp -p'. 484 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 485 as_ln_s='cp -p' 486 elif ln conf$$.file conf$$ 2>/dev/null; then 487 as_ln_s=ln 488 else 489 as_ln_s='cp -p' 490 fi 491else 492 as_ln_s='cp -p' 493fi 494rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 495rmdir conf$$.dir 2>/dev/null 496 497if mkdir -p . 2>/dev/null; then 498 as_mkdir_p='mkdir -p "$as_dir"' 499else 500 test -d ./-p && rmdir ./-p 501 as_mkdir_p=false 502fi 503 504if test -x / >/dev/null 2>&1; then 505 as_test_x='test -x' 506else 507 if ls -dL / >/dev/null 2>&1; then 508 as_ls_L_option=L 509 else 510 as_ls_L_option= 511 fi 512 as_test_x=' 513 eval sh -c '\'' 514 if test -d "$1"; then 515 test -d "$1/."; 516 else 517 case $1 in #( 518 -*)set "./$1";; 519 esac; 520 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 521 ???[sx]*):;;*)false;;esac;fi 522 '\'' sh 523 ' 524fi 525as_executable_p=$as_test_x 526 527# Sed expression to map a string onto a valid CPP name. 528as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 529 530# Sed expression to map a string onto a valid variable name. 531as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 532 533 534 535# Check that we are running under the correct shell. 536SHELL=${CONFIG_SHELL-/bin/sh} 537 538case X$lt_ECHO in 539X*--fallback-echo) 540 # Remove one level of quotation (which was required for Make). 541 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 542 ;; 543esac 544 545ECHO=${lt_ECHO-echo} 546if test "X$1" = X--no-reexec; then 547 # Discard the --no-reexec flag, and continue. 548 shift 549elif test "X$1" = X--fallback-echo; then 550 # Avoid inline document here, it may be left over 551 : 552elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 553 # Yippee, $ECHO works! 554 : 555else 556 # Restart under the correct shell. 557 exec $SHELL "$0" --no-reexec ${1+"$@"} 558fi 559 560if test "X$1" = X--fallback-echo; then 561 # used as fallback echo 562 shift 563 cat <<_LT_EOF 564$* 565_LT_EOF 566 exit 0 567fi 568 569# The HP-UX ksh and POSIX shell print the target directory to stdout 570# if CDPATH is set. 571(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 572 573if test -z "$lt_ECHO"; then 574 if test "X${echo_test_string+set}" != Xset; then 575 # find a string as large as possible, as long as the shell can cope with it 576 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 577 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 578 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 579 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 580 then 581 break 582 fi 583 done 584 fi 585 586 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 587 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 588 test "X$echo_testing_string" = "X$echo_test_string"; then 589 : 590 else 591 # The Solaris, AIX, and Digital Unix default echo programs unquote 592 # backslashes. This makes it impossible to quote backslashes using 593 # echo "$something" | sed 's/\\/\\\\/g' 594 # 595 # So, first we look for a working echo in the user's PATH. 596 597 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 598 for dir in $PATH /usr/ucb; do 599 IFS="$lt_save_ifs" 600 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 601 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 602 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 603 test "X$echo_testing_string" = "X$echo_test_string"; then 604 ECHO="$dir/echo" 605 break 606 fi 607 done 608 IFS="$lt_save_ifs" 609 610 if test "X$ECHO" = Xecho; then 611 # We didn't find a better echo, so look for alternatives. 612 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 613 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 614 test "X$echo_testing_string" = "X$echo_test_string"; then 615 # This shell has a builtin print -r that does the trick. 616 ECHO='print -r' 617 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 618 test "X$CONFIG_SHELL" != X/bin/ksh; then 619 # If we have ksh, try running configure again with it. 620 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 621 export ORIGINAL_CONFIG_SHELL 622 CONFIG_SHELL=/bin/ksh 623 export CONFIG_SHELL 624 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 625 else 626 # Try using printf. 627 ECHO='printf %s\n' 628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 629 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 630 test "X$echo_testing_string" = "X$echo_test_string"; then 631 # Cool, printf works 632 : 633 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 634 test "X$echo_testing_string" = 'X\t' && 635 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 636 test "X$echo_testing_string" = "X$echo_test_string"; then 637 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 638 export CONFIG_SHELL 639 SHELL="$CONFIG_SHELL" 640 export SHELL 641 ECHO="$CONFIG_SHELL $0 --fallback-echo" 642 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 643 test "X$echo_testing_string" = 'X\t' && 644 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 645 test "X$echo_testing_string" = "X$echo_test_string"; then 646 ECHO="$CONFIG_SHELL $0 --fallback-echo" 647 else 648 # maybe with a smaller string... 649 prev=: 650 651 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 652 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 653 then 654 break 655 fi 656 prev="$cmd" 657 done 658 659 if test "$prev" != 'sed 50q "$0"'; then 660 echo_test_string=`eval $prev` 661 export echo_test_string 662 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 663 else 664 # Oops. We lost completely, so just stick with echo. 665 ECHO=echo 666 fi 667 fi 668 fi 669 fi 670 fi 671fi 672 673# Copy echo and quote the copy suitably for passing to libtool from 674# the Makefile, instead of quoting the original, which is used later. 675lt_ECHO=$ECHO 676if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 677 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 678fi 679 680 681 682 683test -n "$DJDIR" || exec 7<&0 </dev/null 684exec 6>&1 685 686# Name of the host. 687# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 688# so uname gets run too. 689ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 690 691# 692# Initializations. 693# 694ac_default_prefix=/usr/local 695ac_clean_files= 696ac_config_libobj_dir=. 697LIBOBJS= 698cross_compiling=no 699subdirs= 700MFLAGS= 701MAKEFLAGS= 702 703# Identity of this package. 704PACKAGE_NAME='WSDLPull' 705PACKAGE_TARNAME='wsdlpull' 706PACKAGE_VERSION='1.24' 707PACKAGE_STRING='WSDLPull 1.24' 708PACKAGE_BUGREPORT='vivek200120@users.sourceforge.net' 709PACKAGE_URL='' 710 711ac_unique_file="src/wsdlparser/WsdlParser.cpp" 712# Factoring default headers for most tests. 713ac_includes_default="\ 714#include <stdio.h> 715#ifdef HAVE_SYS_TYPES_H 716# include <sys/types.h> 717#endif 718#ifdef HAVE_SYS_STAT_H 719# include <sys/stat.h> 720#endif 721#ifdef STDC_HEADERS 722# include <stdlib.h> 723# include <stddef.h> 724#else 725# ifdef HAVE_STDLIB_H 726# include <stdlib.h> 727# endif 728#endif 729#ifdef HAVE_STRING_H 730# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 731# include <memory.h> 732# endif 733# include <string.h> 734#endif 735#ifdef HAVE_STRINGS_H 736# include <strings.h> 737#endif 738#ifdef HAVE_INTTYPES_H 739# include <inttypes.h> 740#endif 741#ifdef HAVE_STDINT_H 742# include <stdint.h> 743#endif 744#ifdef HAVE_UNISTD_H 745# include <unistd.h> 746#endif" 747 748ac_subst_vars='am__EXEEXT_FALSE 749am__EXEEXT_TRUE 750LTLIBOBJS 751LIBOBJS 752EXAMPLES_FALSE 753EXAMPLES_TRUE 754OTOOL64 755OTOOL 756LIPO 757NMEDIT 758DSYMUTIL 759lt_ECHO 760RANLIB 761AR 762OBJDUMP 763NM 764ac_ct_DUMPBIN 765DUMPBIN 766LD 767FGREP 768EGREP 769GREP 770SED 771LIBTOOL 772LN_S 773CPP 774am__fastdepCC_FALSE 775am__fastdepCC_TRUE 776CCDEPMODE 777ac_ct_CC 778CFLAGS 779CC 780CXXCPP 781am__fastdepCXX_FALSE 782am__fastdepCXX_TRUE 783CXXDEPMODE 784AMDEPBACKSLASH 785AMDEP_FALSE 786AMDEP_TRUE 787am__quote 788am__include 789DEPDIR 790OBJEXT 791EXEEXT 792ac_ct_CXX 793CPPFLAGS 794LDFLAGS 795CXXFLAGS 796CXX 797host_os 798host_vendor 799host_cpu 800host 801build_os 802build_vendor 803build_cpu 804build 805GENERIC_LIBRARY_VERSION 806am__untar 807am__tar 808AMTAR 809am__leading_dot 810SET_MAKE 811AWK 812mkdir_p 813MKDIR_P 814INSTALL_STRIP_PROGRAM 815STRIP 816install_sh 817MAKEINFO 818AUTOHEADER 819AUTOMAKE 820AUTOCONF 821ACLOCAL 822VERSION 823PACKAGE 824CYGPATH_W 825am__isrc 826INSTALL_DATA 827INSTALL_SCRIPT 828INSTALL_PROGRAM 829target_alias 830host_alias 831build_alias 832LIBS 833ECHO_T 834ECHO_N 835ECHO_C 836DEFS 837mandir 838localedir 839libdir 840psdir 841pdfdir 842dvidir 843htmldir 844infodir 845docdir 846oldincludedir 847includedir 848localstatedir 849sharedstatedir 850sysconfdir 851datadir 852datarootdir 853libexecdir 854sbindir 855bindir 856program_transform_name 857prefix 858exec_prefix 859PACKAGE_URL 860PACKAGE_BUGREPORT 861PACKAGE_STRING 862PACKAGE_VERSION 863PACKAGE_TARNAME 864PACKAGE_NAME 865PATH_SEPARATOR 866SHELL' 867ac_subst_files='' 868ac_user_opts=' 869enable_option_checking 870enable_shared 871enable_static 872enable_dependency_tracking 873with_pic 874enable_fast_install 875with_gnu_ld 876enable_libtool_lock 877with_log 878with_docdir 879with_dmalloc 880enable_examples 881' 882 ac_precious_vars='build_alias 883host_alias 884target_alias 885CXX 886CXXFLAGS 887LDFLAGS 888LIBS 889CPPFLAGS 890CCC 891CXXCPP 892CC 893CFLAGS 894CPP' 895 896 897# Initialize some variables set by options. 898ac_init_help= 899ac_init_version=false 900ac_unrecognized_opts= 901ac_unrecognized_sep= 902# The variables have the same names as the options, with 903# dashes changed to underlines. 904cache_file=/dev/null 905exec_prefix=NONE 906no_create= 907no_recursion= 908prefix=NONE 909program_prefix=NONE 910program_suffix=NONE 911program_transform_name=s,x,x, 912silent= 913site= 914srcdir= 915verbose= 916x_includes=NONE 917x_libraries=NONE 918 919# Installation directory options. 920# These are left unexpanded so users can "make install exec_prefix=/foo" 921# and all the variables that are supposed to be based on exec_prefix 922# by default will actually change. 923# Use braces instead of parens because sh, perl, etc. also accept them. 924# (The list follows the same order as the GNU Coding Standards.) 925bindir='${exec_prefix}/bin' 926sbindir='${exec_prefix}/sbin' 927libexecdir='${exec_prefix}/libexec' 928datarootdir='${prefix}/share' 929datadir='${datarootdir}' 930sysconfdir='${prefix}/etc' 931sharedstatedir='${prefix}/com' 932localstatedir='${prefix}/var' 933includedir='${prefix}/include' 934oldincludedir='/usr/include' 935docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 936infodir='${datarootdir}/info' 937htmldir='${docdir}' 938dvidir='${docdir}' 939pdfdir='${docdir}' 940psdir='${docdir}' 941libdir='${exec_prefix}/lib' 942localedir='${datarootdir}/locale' 943mandir='${datarootdir}/man' 944 945ac_prev= 946ac_dashdash= 947for ac_option 948do 949 # If the previous option needs an argument, assign it. 950 if test -n "$ac_prev"; then 951 eval $ac_prev=\$ac_option 952 ac_prev= 953 continue 954 fi 955 956 case $ac_option in 957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 958 *) ac_optarg=yes ;; 959 esac 960 961 # Accept the important Cygnus configure options, so we can diagnose typos. 962 963 case $ac_dashdash$ac_option in 964 --) 965 ac_dashdash=yes ;; 966 967 -bindir | --bindir | --bindi | --bind | --bin | --bi) 968 ac_prev=bindir ;; 969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 970 bindir=$ac_optarg ;; 971 972 -build | --build | --buil | --bui | --bu) 973 ac_prev=build_alias ;; 974 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 975 build_alias=$ac_optarg ;; 976 977 -cache-file | --cache-file | --cache-fil | --cache-fi \ 978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 979 ac_prev=cache_file ;; 980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 982 cache_file=$ac_optarg ;; 983 984 --config-cache | -C) 985 cache_file=config.cache ;; 986 987 -datadir | --datadir | --datadi | --datad) 988 ac_prev=datadir ;; 989 -datadir=* | --datadir=* | --datadi=* | --datad=*) 990 datadir=$ac_optarg ;; 991 992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 993 | --dataroo | --dataro | --datar) 994 ac_prev=datarootdir ;; 995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 997 datarootdir=$ac_optarg ;; 998 999 -disable-* | --disable-*) 1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1001 # Reject names that are not valid shell variable names. 1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1003 as_fn_error "invalid feature name: $ac_useropt" 1004 ac_useropt_orig=$ac_useropt 1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1006 case $ac_user_opts in 1007 *" 1008"enable_$ac_useropt" 1009"*) ;; 1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1011 ac_unrecognized_sep=', ';; 1012 esac 1013 eval enable_$ac_useropt=no ;; 1014 1015 -docdir | --docdir | --docdi | --doc | --do) 1016 ac_prev=docdir ;; 1017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1018 docdir=$ac_optarg ;; 1019 1020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1021 ac_prev=dvidir ;; 1022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1023 dvidir=$ac_optarg ;; 1024 1025 -enable-* | --enable-*) 1026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1027 # Reject names that are not valid shell variable names. 1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1029 as_fn_error "invalid feature name: $ac_useropt" 1030 ac_useropt_orig=$ac_useropt 1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1032 case $ac_user_opts in 1033 *" 1034"enable_$ac_useropt" 1035"*) ;; 1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1037 ac_unrecognized_sep=', ';; 1038 esac 1039 eval enable_$ac_useropt=\$ac_optarg ;; 1040 1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1043 | --exec | --exe | --ex) 1044 ac_prev=exec_prefix ;; 1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1047 | --exec=* | --exe=* | --ex=*) 1048 exec_prefix=$ac_optarg ;; 1049 1050 -gas | --gas | --ga | --g) 1051 # Obsolete; use --with-gas. 1052 with_gas=yes ;; 1053 1054 -help | --help | --hel | --he | -h) 1055 ac_init_help=long ;; 1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1057 ac_init_help=recursive ;; 1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1059 ac_init_help=short ;; 1060 1061 -host | --host | --hos | --ho) 1062 ac_prev=host_alias ;; 1063 -host=* | --host=* | --hos=* | --ho=*) 1064 host_alias=$ac_optarg ;; 1065 1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1067 ac_prev=htmldir ;; 1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1069 | --ht=*) 1070 htmldir=$ac_optarg ;; 1071 1072 -includedir | --includedir | --includedi | --included | --include \ 1073 | --includ | --inclu | --incl | --inc) 1074 ac_prev=includedir ;; 1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1076 | --includ=* | --inclu=* | --incl=* | --inc=*) 1077 includedir=$ac_optarg ;; 1078 1079 -infodir | --infodir | --infodi | --infod | --info | --inf) 1080 ac_prev=infodir ;; 1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1082 infodir=$ac_optarg ;; 1083 1084 -libdir | --libdir | --libdi | --libd) 1085 ac_prev=libdir ;; 1086 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1087 libdir=$ac_optarg ;; 1088 1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1090 | --libexe | --libex | --libe) 1091 ac_prev=libexecdir ;; 1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1093 | --libexe=* | --libex=* | --libe=*) 1094 libexecdir=$ac_optarg ;; 1095 1096 -localedir | --localedir | --localedi | --localed | --locale) 1097 ac_prev=localedir ;; 1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1099 localedir=$ac_optarg ;; 1100 1101 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1102 | --localstate | --localstat | --localsta | --localst | --locals) 1103 ac_prev=localstatedir ;; 1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1106 localstatedir=$ac_optarg ;; 1107 1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1109 ac_prev=mandir ;; 1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1111 mandir=$ac_optarg ;; 1112 1113 -nfp | --nfp | --nf) 1114 # Obsolete; use --without-fp. 1115 with_fp=no ;; 1116 1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1118 | --no-cr | --no-c | -n) 1119 no_create=yes ;; 1120 1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1123 no_recursion=yes ;; 1124 1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1127 | --oldin | --oldi | --old | --ol | --o) 1128 ac_prev=oldincludedir ;; 1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1132 oldincludedir=$ac_optarg ;; 1133 1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1135 ac_prev=prefix ;; 1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1137 prefix=$ac_optarg ;; 1138 1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1140 | --program-pre | --program-pr | --program-p) 1141 ac_prev=program_prefix ;; 1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1144 program_prefix=$ac_optarg ;; 1145 1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1147 | --program-suf | --program-su | --program-s) 1148 ac_prev=program_suffix ;; 1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1151 program_suffix=$ac_optarg ;; 1152 1153 -program-transform-name | --program-transform-name \ 1154 | --program-transform-nam | --program-transform-na \ 1155 | --program-transform-n | --program-transform- \ 1156 | --program-transform | --program-transfor \ 1157 | --program-transfo | --program-transf \ 1158 | --program-trans | --program-tran \ 1159 | --progr-tra | --program-tr | --program-t) 1160 ac_prev=program_transform_name ;; 1161 -program-transform-name=* | --program-transform-name=* \ 1162 | --program-transform-nam=* | --program-transform-na=* \ 1163 | --program-transform-n=* | --program-transform-=* \ 1164 | --program-transform=* | --program-transfor=* \ 1165 | --program-transfo=* | --program-transf=* \ 1166 | --program-trans=* | --program-tran=* \ 1167 | --progr-tra=* | --program-tr=* | --program-t=*) 1168 program_transform_name=$ac_optarg ;; 1169 1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1171 ac_prev=pdfdir ;; 1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1173 pdfdir=$ac_optarg ;; 1174 1175 -psdir | --psdir | --psdi | --psd | --ps) 1176 ac_prev=psdir ;; 1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1178 psdir=$ac_optarg ;; 1179 1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1181 | -silent | --silent | --silen | --sile | --sil) 1182 silent=yes ;; 1183 1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1185 ac_prev=sbindir ;; 1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1187 | --sbi=* | --sb=*) 1188 sbindir=$ac_optarg ;; 1189 1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1192 | --sharedst | --shareds | --shared | --share | --shar \ 1193 | --sha | --sh) 1194 ac_prev=sharedstatedir ;; 1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1198 | --sha=* | --sh=*) 1199 sharedstatedir=$ac_optarg ;; 1200 1201 -site | --site | --sit) 1202 ac_prev=site ;; 1203 -site=* | --site=* | --sit=*) 1204 site=$ac_optarg ;; 1205 1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1207 ac_prev=srcdir ;; 1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1209 srcdir=$ac_optarg ;; 1210 1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1212 | --syscon | --sysco | --sysc | --sys | --sy) 1213 ac_prev=sysconfdir ;; 1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1216 sysconfdir=$ac_optarg ;; 1217 1218 -target | --target | --targe | --targ | --tar | --ta | --t) 1219 ac_prev=target_alias ;; 1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1221 target_alias=$ac_optarg ;; 1222 1223 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1224 verbose=yes ;; 1225 1226 -version | --version | --versio | --versi | --vers | -V) 1227 ac_init_version=: ;; 1228 1229 -with-* | --with-*) 1230 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1231 # Reject names that are not valid shell variable names. 1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1233 as_fn_error "invalid package name: $ac_useropt" 1234 ac_useropt_orig=$ac_useropt 1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1236 case $ac_user_opts in 1237 *" 1238"with_$ac_useropt" 1239"*) ;; 1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1241 ac_unrecognized_sep=', ';; 1242 esac 1243 eval with_$ac_useropt=\$ac_optarg ;; 1244 1245 -without-* | --without-*) 1246 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1247 # Reject names that are not valid shell variable names. 1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1249 as_fn_error "invalid package name: $ac_useropt" 1250 ac_useropt_orig=$ac_useropt 1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1252 case $ac_user_opts in 1253 *" 1254"with_$ac_useropt" 1255"*) ;; 1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1257 ac_unrecognized_sep=', ';; 1258 esac 1259 eval with_$ac_useropt=no ;; 1260 1261 --x) 1262 # Obsolete; use --with-x. 1263 with_x=yes ;; 1264 1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1266 | --x-incl | --x-inc | --x-in | --x-i) 1267 ac_prev=x_includes ;; 1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1270 x_includes=$ac_optarg ;; 1271 1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1274 ac_prev=x_libraries ;; 1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1277 x_libraries=$ac_optarg ;; 1278 1279 -*) as_fn_error "unrecognized option: \`$ac_option' 1280Try \`$0 --help' for more information." 1281 ;; 1282 1283 *=*) 1284 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1285 # Reject names that are not valid shell variable names. 1286 case $ac_envvar in #( 1287 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1288 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1289 esac 1290 eval $ac_envvar=\$ac_optarg 1291 export $ac_envvar ;; 1292 1293 *) 1294 # FIXME: should be removed in autoconf 3.0. 1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1299 ;; 1300 1301 esac 1302done 1303 1304if test -n "$ac_prev"; then 1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1306 as_fn_error "missing argument to $ac_option" 1307fi 1308 1309if test -n "$ac_unrecognized_opts"; then 1310 case $enable_option_checking in 1311 no) ;; 1312 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1314 esac 1315fi 1316 1317# Check all directory arguments for consistency. 1318for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1319 datadir sysconfdir sharedstatedir localstatedir includedir \ 1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1321 libdir localedir mandir 1322do 1323 eval ac_val=\$$ac_var 1324 # Remove trailing slashes. 1325 case $ac_val in 1326 */ ) 1327 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1328 eval $ac_var=\$ac_val;; 1329 esac 1330 # Be sure to have absolute directory names. 1331 case $ac_val in 1332 [\\/$]* | ?:[\\/]* ) continue;; 1333 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1334 esac 1335 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1336done 1337 1338# There might be people who depend on the old broken behavior: `$host' 1339# used to hold the argument of --host etc. 1340# FIXME: To remove some day. 1341build=$build_alias 1342host=$host_alias 1343target=$target_alias 1344 1345# FIXME: To remove some day. 1346if test "x$host_alias" != x; then 1347 if test "x$build_alias" = x; then 1348 cross_compiling=maybe 1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1350 If a cross compiler is detected then cross compile mode will be used." >&2 1351 elif test "x$build_alias" != "x$host_alias"; then 1352 cross_compiling=yes 1353 fi 1354fi 1355 1356ac_tool_prefix= 1357test -n "$host_alias" && ac_tool_prefix=$host_alias- 1358 1359test "$silent" = yes && exec 6>/dev/null 1360 1361 1362ac_pwd=`pwd` && test -n "$ac_pwd" && 1363ac_ls_di=`ls -di .` && 1364ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1365 as_fn_error "working directory cannot be determined" 1366test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1367 as_fn_error "pwd does not report name of working directory" 1368 1369 1370# Find the source files, if location was not specified. 1371if test -z "$srcdir"; then 1372 ac_srcdir_defaulted=yes 1373 # Try the directory containing this script, then the parent directory. 1374 ac_confdir=`$as_dirname -- "$as_myself" || 1375$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1376 X"$as_myself" : 'X\(//\)[^/]' \| \ 1377 X"$as_myself" : 'X\(//\)$' \| \ 1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1379$as_echo X"$as_myself" | 1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1381 s//\1/ 1382 q 1383 } 1384 /^X\(\/\/\)[^/].*/{ 1385 s//\1/ 1386 q 1387 } 1388 /^X\(\/\/\)$/{ 1389 s//\1/ 1390 q 1391 } 1392 /^X\(\/\).*/{ 1393 s//\1/ 1394 q 1395 } 1396 s/.*/./; q'` 1397 srcdir=$ac_confdir 1398 if test ! -r "$srcdir/$ac_unique_file"; then 1399 srcdir=.. 1400 fi 1401else 1402 ac_srcdir_defaulted=no 1403fi 1404if test ! -r "$srcdir/$ac_unique_file"; then 1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1406 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1407fi 1408ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1409ac_abs_confdir=`( 1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1411 pwd)` 1412# When building in place, set srcdir=. 1413if test "$ac_abs_confdir" = "$ac_pwd"; then 1414 srcdir=. 1415fi 1416# Remove unnecessary trailing slashes from srcdir. 1417# Double slashes in file names in object file debugging info 1418# mess up M-x gdb in Emacs. 1419case $srcdir in 1420*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1421esac 1422for ac_var in $ac_precious_vars; do 1423 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1424 eval ac_env_${ac_var}_value=\$${ac_var} 1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1426 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1427done 1428 1429# 1430# Report the --help message. 1431# 1432if test "$ac_init_help" = "long"; then 1433 # Omit some internal or obsolete options to make the list less imposing. 1434 # This message is too long to be a string in the A/UX 3.1 sh. 1435 cat <<_ACEOF 1436\`configure' configures WSDLPull 1.24 to adapt to many kinds of systems. 1437 1438Usage: $0 [OPTION]... [VAR=VALUE]... 1439 1440To assign environment variables (e.g., CC, CFLAGS...), specify them as 1441VAR=VALUE. See below for descriptions of some of the useful variables. 1442 1443Defaults for the options are specified in brackets. 1444 1445Configuration: 1446 -h, --help display this help and exit 1447 --help=short display options specific to this package 1448 --help=recursive display the short help of all the included packages 1449 -V, --version display version information and exit 1450 -q, --quiet, --silent do not print \`checking...' messages 1451 --cache-file=FILE cache test results in FILE [disabled] 1452 -C, --config-cache alias for \`--cache-file=config.cache' 1453 -n, --no-create do not create output files 1454 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1455 1456Installation directories: 1457 --prefix=PREFIX install architecture-independent files in PREFIX 1458 [$ac_default_prefix] 1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1460 [PREFIX] 1461 1462By default, \`make install' will install all the files in 1463\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1464an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1465for instance \`--prefix=\$HOME'. 1466 1467For better control, use the options below. 1468 1469Fine tuning of the installation directories: 1470 --bindir=DIR user executables [EPREFIX/bin] 1471 --sbindir=DIR system admin executables [EPREFIX/sbin] 1472 --libexecdir=DIR program executables [EPREFIX/libexec] 1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1476 --libdir=DIR object code libraries [EPREFIX/lib] 1477 --includedir=DIR C header files [PREFIX/include] 1478 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1481 --infodir=DIR info documentation [DATAROOTDIR/info] 1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1483 --mandir=DIR man documentation [DATAROOTDIR/man] 1484 --docdir=DIR documentation root [DATAROOTDIR/doc/wsdlpull] 1485 --htmldir=DIR html documentation [DOCDIR] 1486 --dvidir=DIR dvi documentation [DOCDIR] 1487 --pdfdir=DIR pdf documentation [DOCDIR] 1488 --psdir=DIR ps documentation [DOCDIR] 1489_ACEOF 1490 1491 cat <<\_ACEOF 1492 1493Program names: 1494 --program-prefix=PREFIX prepend PREFIX to installed program names 1495 --program-suffix=SUFFIX append SUFFIX to installed program names 1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1497 1498System types: 1499 --build=BUILD configure for building on BUILD [guessed] 1500 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1501_ACEOF 1502fi 1503 1504if test -n "$ac_init_help"; then 1505 case $ac_init_help in 1506 short | recursive ) echo "Configuration of WSDLPull 1.24:";; 1507 esac 1508 cat <<\_ACEOF 1509 1510Optional Features: 1511 --disable-option-checking ignore unrecognized --enable/--with options 1512 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1513 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1514 --enable-shared[=PKGS] build shared libraries [default=no] 1515 --enable-static[=PKGS] build static libraries [default=yes] 1516 --disable-dependency-tracking speeds up one-time build 1517 --enable-dependency-tracking do not reject slow dependency extractors 1518 --enable-fast-install[=PKGS] 1519 optimize for fast installation [default=yes] 1520 --disable-libtool-lock avoid locking (might break parallel builds) 1521 --enable-examples builds examples 1522 1523Optional Packages: 1524 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1525 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1526 --with-pic try to use only PIC/non-PIC objects [default=use 1527 both] 1528 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1529 --with-log compile with logging information on 1530 --with-docdir=DIR set documentation directory to DIR 1531 --with-dmalloc use dmalloc, as in 1532 http://www.dmalloc.com/dmalloc.tar.gz 1533 1534Some influential environment variables: 1535 CXX C++ compiler command 1536 CXXFLAGS C++ compiler flags 1537 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1538 nonstandard directory <lib dir> 1539 LIBS libraries to pass to the linker, e.g. -l<library> 1540 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1541 you have headers in a nonstandard directory <include dir> 1542 CXXCPP C++ preprocessor 1543 CC C compiler command 1544 CFLAGS C compiler flags 1545 CPP C preprocessor 1546 1547Use these variables to override the choices made by `configure' or to help 1548it to find libraries and programs with nonstandard names/locations. 1549 1550Report bugs to <vivek200120@users.sourceforge.net>. 1551_ACEOF 1552ac_status=$? 1553fi 1554 1555if test "$ac_init_help" = "recursive"; then 1556 # If there are subdirs, report their specific --help. 1557 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1558 test -d "$ac_dir" || 1559 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1560 continue 1561 ac_builddir=. 1562 1563case "$ac_dir" in 1564.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1565*) 1566 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1567 # A ".." for each directory in $ac_dir_suffix. 1568 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1569 case $ac_top_builddir_sub in 1570 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1571 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1572 esac ;; 1573esac 1574ac_abs_top_builddir=$ac_pwd 1575ac_abs_builddir=$ac_pwd$ac_dir_suffix 1576# for backward compatibility: 1577ac_top_builddir=$ac_top_build_prefix 1578 1579case $srcdir in 1580 .) # We are building in place. 1581 ac_srcdir=. 1582 ac_top_srcdir=$ac_top_builddir_sub 1583 ac_abs_top_srcdir=$ac_pwd ;; 1584 [\\/]* | ?:[\\/]* ) # Absolute name. 1585 ac_srcdir=$srcdir$ac_dir_suffix; 1586 ac_top_srcdir=$srcdir 1587 ac_abs_top_srcdir=$srcdir ;; 1588 *) # Relative name. 1589 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1590 ac_top_srcdir=$ac_top_build_prefix$srcdir 1591 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1592esac 1593ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1594 1595 cd "$ac_dir" || { ac_status=$?; continue; } 1596 # Check for guested configure. 1597 if test -f "$ac_srcdir/configure.gnu"; then 1598 echo && 1599 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1600 elif test -f "$ac_srcdir/configure"; then 1601 echo && 1602 $SHELL "$ac_srcdir/configure" --help=recursive 1603 else 1604 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1605 fi || ac_status=$? 1606 cd "$ac_pwd" || { ac_status=$?; break; } 1607 done 1608fi 1609 1610test -n "$ac_init_help" && exit $ac_status 1611if $ac_init_version; then 1612 cat <<\_ACEOF 1613WSDLPull configure 1.24 1614generated by GNU Autoconf 2.65 1615 1616Copyright (C) 2009 Free Software Foundation, Inc. 1617This configure script is free software; the Free Software Foundation 1618gives unlimited permission to copy, distribute and modify it. 1619 1620Copyright (C) 2007-2010 Vivek Krishna <vivek200120@users.sourceforge.net> 1621_ACEOF 1622 exit 1623fi 1624 1625## ------------------------ ## 1626## Autoconf initialization. ## 1627## ------------------------ ## 1628 1629# ac_fn_cxx_try_compile LINENO 1630# ---------------------------- 1631# Try to compile conftest.$ac_ext, and return whether this succeeded. 1632ac_fn_cxx_try_compile () 1633{ 1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1635 rm -f conftest.$ac_objext 1636 if { { ac_try="$ac_compile" 1637case "(($ac_try" in 1638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1639 *) ac_try_echo=$ac_try;; 1640esac 1641eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1642$as_echo "$ac_try_echo"; } >&5 1643 (eval "$ac_compile") 2>conftest.err 1644 ac_status=$? 1645 if test -s conftest.err; then 1646 grep -v '^ *+' conftest.err >conftest.er1 1647 cat conftest.er1 >&5 1648 mv -f conftest.er1 conftest.err 1649 fi 1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1651 test $ac_status = 0; } && { 1652 test -z "$ac_cxx_werror_flag" || 1653 test ! -s conftest.err 1654 } && test -s conftest.$ac_objext; then : 1655 ac_retval=0 1656else 1657 $as_echo "$as_me: failed program was:" >&5 1658sed 's/^/| /' conftest.$ac_ext >&5 1659 1660 ac_retval=1 1661fi 1662 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1663 as_fn_set_status $ac_retval 1664 1665} # ac_fn_cxx_try_compile 1666 1667# ac_fn_cxx_try_cpp LINENO 1668# ------------------------ 1669# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1670ac_fn_cxx_try_cpp () 1671{ 1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1673 if { { ac_try="$ac_cpp conftest.$ac_ext" 1674case "(($ac_try" in 1675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1676 *) ac_try_echo=$ac_try;; 1677esac 1678eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1679$as_echo "$ac_try_echo"; } >&5 1680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1681 ac_status=$? 1682 if test -s conftest.err; then 1683 grep -v '^ *+' conftest.err >conftest.er1 1684 cat conftest.er1 >&5 1685 mv -f conftest.er1 conftest.err 1686 fi 1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1688 test $ac_status = 0; } >/dev/null && { 1689 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1690 test ! -s conftest.err 1691 }; then : 1692 ac_retval=0 1693else 1694 $as_echo "$as_me: failed program was:" >&5 1695sed 's/^/| /' conftest.$ac_ext >&5 1696 1697 ac_retval=1 1698fi 1699 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1700 as_fn_set_status $ac_retval 1701 1702} # ac_fn_cxx_try_cpp 1703 1704# ac_fn_c_try_compile LINENO 1705# -------------------------- 1706# Try to compile conftest.$ac_ext, and return whether this succeeded. 1707ac_fn_c_try_compile () 1708{ 1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1710 rm -f conftest.$ac_objext 1711 if { { ac_try="$ac_compile" 1712case "(($ac_try" in 1713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1714 *) ac_try_echo=$ac_try;; 1715esac 1716eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1717$as_echo "$ac_try_echo"; } >&5 1718 (eval "$ac_compile") 2>conftest.err 1719 ac_status=$? 1720 if test -s conftest.err; then 1721 grep -v '^ *+' conftest.err >conftest.er1 1722 cat conftest.er1 >&5 1723 mv -f conftest.er1 conftest.err 1724 fi 1725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1726 test $ac_status = 0; } && { 1727 test -z "$ac_c_werror_flag" || 1728 test ! -s conftest.err 1729 } && test -s conftest.$ac_objext; then : 1730 ac_retval=0 1731else 1732 $as_echo "$as_me: failed program was:" >&5 1733sed 's/^/| /' conftest.$ac_ext >&5 1734 1735 ac_retval=1 1736fi 1737 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1738 as_fn_set_status $ac_retval 1739 1740} # ac_fn_c_try_compile 1741 1742# ac_fn_c_try_cpp LINENO 1743# ---------------------- 1744# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1745ac_fn_c_try_cpp () 1746{ 1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1748 if { { ac_try="$ac_cpp conftest.$ac_ext" 1749case "(($ac_try" in 1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1751 *) ac_try_echo=$ac_try;; 1752esac 1753eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1754$as_echo "$ac_try_echo"; } >&5 1755 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1756 ac_status=$? 1757 if test -s conftest.err; then 1758 grep -v '^ *+' conftest.err >conftest.er1 1759 cat conftest.er1 >&5 1760 mv -f conftest.er1 conftest.err 1761 fi 1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1763 test $ac_status = 0; } >/dev/null && { 1764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1765 test ! -s conftest.err 1766 }; then : 1767 ac_retval=0 1768else 1769 $as_echo "$as_me: failed program was:" >&5 1770sed 's/^/| /' conftest.$ac_ext >&5 1771 1772 ac_retval=1 1773fi 1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1775 as_fn_set_status $ac_retval 1776 1777} # ac_fn_c_try_cpp 1778 1779# ac_fn_c_try_link LINENO 1780# ----------------------- 1781# Try to link conftest.$ac_ext, and return whether this succeeded. 1782ac_fn_c_try_link () 1783{ 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1785 rm -f conftest.$ac_objext conftest$ac_exeext 1786 if { { ac_try="$ac_link" 1787case "(($ac_try" in 1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1789 *) ac_try_echo=$ac_try;; 1790esac 1791eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1792$as_echo "$ac_try_echo"; } >&5 1793 (eval "$ac_link") 2>conftest.err 1794 ac_status=$? 1795 if test -s conftest.err; then 1796 grep -v '^ *+' conftest.err >conftest.er1 1797 cat conftest.er1 >&5 1798 mv -f conftest.er1 conftest.err 1799 fi 1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1801 test $ac_status = 0; } && { 1802 test -z "$ac_c_werror_flag" || 1803 test ! -s conftest.err 1804 } && test -s conftest$ac_exeext && { 1805 test "$cross_compiling" = yes || 1806 $as_test_x conftest$ac_exeext 1807 }; then : 1808 ac_retval=0 1809else 1810 $as_echo "$as_me: failed program was:" >&5 1811sed 's/^/| /' conftest.$ac_ext >&5 1812 1813 ac_retval=1 1814fi 1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1817 # interfere with the next link command; also delete a directory that is 1818 # left behind by Apple's compiler. We do this before executing the actions. 1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1821 as_fn_set_status $ac_retval 1822 1823} # ac_fn_c_try_link 1824 1825# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1826# ------------------------------------------------------- 1827# Tests whether HEADER exists and can be compiled using the include files in 1828# INCLUDES, setting the cache variable VAR accordingly. 1829ac_fn_c_check_header_compile () 1830{ 1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1833$as_echo_n "checking for $2... " >&6; } 1834if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1835 $as_echo_n "(cached) " >&6 1836else 1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1838/* end confdefs.h. */ 1839$4 1840#include <$2> 1841_ACEOF 1842if ac_fn_c_try_compile "$LINENO"; then : 1843 eval "$3=yes" 1844else 1845 eval "$3=no" 1846fi 1847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1848fi 1849eval ac_res=\$$3 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1851$as_echo "$ac_res" >&6; } 1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1853 1854} # ac_fn_c_check_header_compile 1855 1856# ac_fn_c_try_run LINENO 1857# ---------------------- 1858# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1859# that executables *can* be run. 1860ac_fn_c_try_run () 1861{ 1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1863 if { { ac_try="$ac_link" 1864case "(($ac_try" in 1865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1866 *) ac_try_echo=$ac_try;; 1867esac 1868eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1869$as_echo "$ac_try_echo"; } >&5 1870 (eval "$ac_link") 2>&5 1871 ac_status=$? 1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1873 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1874 { { case "(($ac_try" in 1875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1876 *) ac_try_echo=$ac_try;; 1877esac 1878eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1879$as_echo "$ac_try_echo"; } >&5 1880 (eval "$ac_try") 2>&5 1881 ac_status=$? 1882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1883 test $ac_status = 0; }; }; then : 1884 ac_retval=0 1885else 1886 $as_echo "$as_me: program exited with status $ac_status" >&5 1887 $as_echo "$as_me: failed program was:" >&5 1888sed 's/^/| /' conftest.$ac_ext >&5 1889 1890 ac_retval=$ac_status 1891fi 1892 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1893 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1894 as_fn_set_status $ac_retval 1895 1896} # ac_fn_c_try_run 1897 1898# ac_fn_c_check_func LINENO FUNC VAR 1899# ---------------------------------- 1900# Tests whether FUNC exists, setting the cache variable VAR accordingly 1901ac_fn_c_check_func () 1902{ 1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1905$as_echo_n "checking for $2... " >&6; } 1906if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1907 $as_echo_n "(cached) " >&6 1908else 1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1910/* end confdefs.h. */ 1911/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1912 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1913#define $2 innocuous_$2 1914 1915/* System header to define __stub macros and hopefully few prototypes, 1916 which can conflict with char $2 (); below. 1917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1918 <limits.h> exists even on freestanding compilers. */ 1919 1920#ifdef __STDC__ 1921# include <limits.h> 1922#else 1923# include <assert.h> 1924#endif 1925 1926#undef $2 1927 1928/* Override any GCC internal prototype to avoid an error. 1929 Use char because int might match the return type of a GCC 1930 builtin and then its argument prototype would still apply. */ 1931#ifdef __cplusplus 1932extern "C" 1933#endif 1934char $2 (); 1935/* The GNU C library defines this for functions which it implements 1936 to always fail with ENOSYS. Some functions are actually named 1937 something starting with __ and the normal name is an alias. */ 1938#if defined __stub_$2 || defined __stub___$2 1939choke me 1940#endif 1941 1942int 1943main () 1944{ 1945return $2 (); 1946 ; 1947 return 0; 1948} 1949_ACEOF 1950if ac_fn_c_try_link "$LINENO"; then : 1951 eval "$3=yes" 1952else 1953 eval "$3=no" 1954fi 1955rm -f core conftest.err conftest.$ac_objext \ 1956 conftest$ac_exeext conftest.$ac_ext 1957fi 1958eval ac_res=\$$3 1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1960$as_echo "$ac_res" >&6; } 1961 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1962 1963} # ac_fn_c_check_func 1964 1965# ac_fn_cxx_try_link LINENO 1966# ------------------------- 1967# Try to link conftest.$ac_ext, and return whether this succeeded. 1968ac_fn_cxx_try_link () 1969{ 1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1971 rm -f conftest.$ac_objext conftest$ac_exeext 1972 if { { ac_try="$ac_link" 1973case "(($ac_try" in 1974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1975 *) ac_try_echo=$ac_try;; 1976esac 1977eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1978$as_echo "$ac_try_echo"; } >&5 1979 (eval "$ac_link") 2>conftest.err 1980 ac_status=$? 1981 if test -s conftest.err; then 1982 grep -v '^ *+' conftest.err >conftest.er1 1983 cat conftest.er1 >&5 1984 mv -f conftest.er1 conftest.err 1985 fi 1986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1987 test $ac_status = 0; } && { 1988 test -z "$ac_cxx_werror_flag" || 1989 test ! -s conftest.err 1990 } && test -s conftest$ac_exeext && { 1991 test "$cross_compiling" = yes || 1992 $as_test_x conftest$ac_exeext 1993 }; then : 1994 ac_retval=0 1995else 1996 $as_echo "$as_me: failed program was:" >&5 1997sed 's/^/| /' conftest.$ac_ext >&5 1998 1999 ac_retval=1 2000fi 2001 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2002 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2003 # interfere with the next link command; also delete a directory that is 2004 # left behind by Apple's compiler. We do this before executing the actions. 2005 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2006 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2007 as_fn_set_status $ac_retval 2008 2009} # ac_fn_cxx_try_link 2010 2011# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 2012# --------------------------------------------- 2013# Tests whether TYPE exists after having included INCLUDES, setting cache 2014# variable VAR accordingly. 2015ac_fn_cxx_check_type () 2016{ 2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2019$as_echo_n "checking for $2... " >&6; } 2020if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2021 $as_echo_n "(cached) " >&6 2022else 2023 eval "$3=no" 2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2025/* end confdefs.h. */ 2026$4 2027int 2028main () 2029{ 2030if (sizeof ($2)) 2031 return 0; 2032 ; 2033 return 0; 2034} 2035_ACEOF 2036if ac_fn_cxx_try_compile "$LINENO"; then : 2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2038/* end confdefs.h. */ 2039$4 2040int 2041main () 2042{ 2043if (sizeof (($2))) 2044 return 0; 2045 ; 2046 return 0; 2047} 2048_ACEOF 2049if ac_fn_cxx_try_compile "$LINENO"; then : 2050 2051else 2052 eval "$3=yes" 2053fi 2054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2055fi 2056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2057fi 2058eval ac_res=\$$3 2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2060$as_echo "$ac_res" >&6; } 2061 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2062 2063} # ac_fn_cxx_check_type 2064 2065# ac_fn_cxx_try_run LINENO 2066# ------------------------ 2067# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2068# that executables *can* be run. 2069ac_fn_cxx_try_run () 2070{ 2071 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2072 if { { ac_try="$ac_link" 2073case "(($ac_try" in 2074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2075 *) ac_try_echo=$ac_try;; 2076esac 2077eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2078$as_echo "$ac_try_echo"; } >&5 2079 (eval "$ac_link") 2>&5 2080 ac_status=$? 2081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2082 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2083 { { case "(($ac_try" in 2084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2085 *) ac_try_echo=$ac_try;; 2086esac 2087eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2088$as_echo "$ac_try_echo"; } >&5 2089 (eval "$ac_try") 2>&5 2090 ac_status=$? 2091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2092 test $ac_status = 0; }; }; then : 2093 ac_retval=0 2094else 2095 $as_echo "$as_me: program exited with status $ac_status" >&5 2096 $as_echo "$as_me: failed program was:" >&5 2097sed 's/^/| /' conftest.$ac_ext >&5 2098 2099 ac_retval=$ac_status 2100fi 2101 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2102 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2103 as_fn_set_status $ac_retval 2104 2105} # ac_fn_cxx_try_run 2106 2107# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2108# --------------------------------------------------------- 2109# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2110# the include files in INCLUDES and setting the cache variable VAR 2111# accordingly. 2112ac_fn_cxx_check_header_mongrel () 2113{ 2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2115 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2117$as_echo_n "checking for $2... " >&6; } 2118if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2119 $as_echo_n "(cached) " >&6 2120fi 2121eval ac_res=\$$3 2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2123$as_echo "$ac_res" >&6; } 2124else 2125 # Is the header compilable? 2126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2127$as_echo_n "checking $2 usability... " >&6; } 2128cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2129/* end confdefs.h. */ 2130$4 2131#include <$2> 2132_ACEOF 2133if ac_fn_cxx_try_compile "$LINENO"; then : 2134 ac_header_compiler=yes 2135else 2136 ac_header_compiler=no 2137fi 2138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2140$as_echo "$ac_header_compiler" >&6; } 2141 2142# Is the header present? 2143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2144$as_echo_n "checking $2 presence... " >&6; } 2145cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2146/* end confdefs.h. */ 2147#include <$2> 2148_ACEOF 2149if ac_fn_cxx_try_cpp "$LINENO"; then : 2150 ac_header_preproc=yes 2151else 2152 ac_header_preproc=no 2153fi 2154rm -f conftest.err conftest.$ac_ext 2155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2156$as_echo "$ac_header_preproc" >&6; } 2157 2158# So? What about this header? 2159case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2160 yes:no: ) 2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2162$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2164$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2165 ;; 2166 no:yes:* ) 2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2168$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2170$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2172$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2174$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2176$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2177( cat <<\_ASBOX 2178## ------------------------------------------------ ## 2179## Report this to vivek200120@users.sourceforge.net ## 2180## ------------------------------------------------ ## 2181_ASBOX 2182 ) | sed "s/^/$as_me: WARNING: /" >&2 2183 ;; 2184esac 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2186$as_echo_n "checking for $2... " >&6; } 2187if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2188 $as_echo_n "(cached) " >&6 2189else 2190 eval "$3=\$ac_header_compiler" 2191fi 2192eval ac_res=\$$3 2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2194$as_echo "$ac_res" >&6; } 2195fi 2196 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2197 2198} # ac_fn_cxx_check_header_mongrel 2199 2200# ac_fn_cxx_check_func LINENO FUNC VAR 2201# ------------------------------------ 2202# Tests whether FUNC exists, setting the cache variable VAR accordingly 2203ac_fn_cxx_check_func () 2204{ 2205 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2207$as_echo_n "checking for $2... " >&6; } 2208if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2209 $as_echo_n "(cached) " >&6 2210else 2211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2212/* end confdefs.h. */ 2213/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2214 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2215#define $2 innocuous_$2 2216 2217/* System header to define __stub macros and hopefully few prototypes, 2218 which can conflict with char $2 (); below. 2219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2220 <limits.h> exists even on freestanding compilers. */ 2221 2222#ifdef __STDC__ 2223# include <limits.h> 2224#else 2225# include <assert.h> 2226#endif 2227 2228#undef $2 2229 2230/* Override any GCC internal prototype to avoid an error. 2231 Use char because int might match the return type of a GCC 2232 builtin and then its argument prototype would still apply. */ 2233#ifdef __cplusplus 2234extern "C" 2235#endif 2236char $2 (); 2237/* The GNU C library defines this for functions which it implements 2238 to always fail with ENOSYS. Some functions are actually named 2239 something starting with __ and the normal name is an alias. */ 2240#if defined __stub_$2 || defined __stub___$2 2241choke me 2242#endif 2243 2244int 2245main () 2246{ 2247return $2 (); 2248 ; 2249 return 0; 2250} 2251_ACEOF 2252if ac_fn_cxx_try_link "$LINENO"; then : 2253 eval "$3=yes" 2254else 2255 eval "$3=no" 2256fi 2257rm -f core conftest.err conftest.$ac_objext \ 2258 conftest$ac_exeext conftest.$ac_ext 2259fi 2260eval ac_res=\$$3 2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2262$as_echo "$ac_res" >&6; } 2263 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2264 2265} # ac_fn_cxx_check_func 2266cat >config.log <<_ACEOF 2267This file contains any messages produced by compilers while 2268running configure, to aid debugging if configure makes a mistake. 2269 2270It was created by WSDLPull $as_me 1.24, which was 2271generated by GNU Autoconf 2.65. Invocation command line was 2272 2273 $ $0 $@ 2274 2275_ACEOF 2276exec 5>>config.log 2277{ 2278cat <<_ASUNAME 2279## --------- ## 2280## Platform. ## 2281## --------- ## 2282 2283hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2284uname -m = `(uname -m) 2>/dev/null || echo unknown` 2285uname -r = `(uname -r) 2>/dev/null || echo unknown` 2286uname -s = `(uname -s) 2>/dev/null || echo unknown` 2287uname -v = `(uname -v) 2>/dev/null || echo unknown` 2288 2289/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2290/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2291 2292/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2293/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2294/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2295/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2296/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2297/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2298/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2299 2300_ASUNAME 2301 2302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2303for as_dir in $PATH 2304do 2305 IFS=$as_save_IFS 2306 test -z "$as_dir" && as_dir=. 2307 $as_echo "PATH: $as_dir" 2308 done 2309IFS=$as_save_IFS 2310 2311} >&5 2312 2313cat >&5 <<_ACEOF 2314 2315 2316## ----------- ## 2317## Core tests. ## 2318## ----------- ## 2319 2320_ACEOF 2321 2322 2323# Keep a trace of the command line. 2324# Strip out --no-create and --no-recursion so they do not pile up. 2325# Strip out --silent because we don't want to record it for future runs. 2326# Also quote any args containing shell meta-characters. 2327# Make two passes to allow for proper duplicate-argument suppression. 2328ac_configure_args= 2329ac_configure_args0= 2330ac_configure_args1= 2331ac_must_keep_next=false 2332for ac_pass in 1 2 2333do 2334 for ac_arg 2335 do 2336 case $ac_arg in 2337 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2339 | -silent | --silent | --silen | --sile | --sil) 2340 continue ;; 2341 *\'*) 2342 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2343 esac 2344 case $ac_pass in 2345 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2346 2) 2347 as_fn_append ac_configure_args1 " '$ac_arg'" 2348 if test $ac_must_keep_next = true; then 2349 ac_must_keep_next=false # Got value, back to normal. 2350 else 2351 case $ac_arg in 2352 *=* | --config-cache | -C | -disable-* | --disable-* \ 2353 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2354 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2355 | -with-* | --with-* | -without-* | --without-* | --x) 2356 case "$ac_configure_args0 " in 2357 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2358 esac 2359 ;; 2360 -* ) ac_must_keep_next=true ;; 2361 esac 2362 fi 2363 as_fn_append ac_configure_args " '$ac_arg'" 2364 ;; 2365 esac 2366 done 2367done 2368{ ac_configure_args0=; unset ac_configure_args0;} 2369{ ac_configure_args1=; unset ac_configure_args1;} 2370 2371# When interrupted or exit'd, cleanup temporary files, and complete 2372# config.log. We remove comments because anyway the quotes in there 2373# would cause problems or look ugly. 2374# WARNING: Use '\'' to represent an apostrophe within the trap. 2375# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2376trap 'exit_status=$? 2377 # Save into config.log some information that might help in debugging. 2378 { 2379 echo 2380 2381 cat <<\_ASBOX 2382## ---------------- ## 2383## Cache variables. ## 2384## ---------------- ## 2385_ASBOX 2386 echo 2387 # The following way of writing the cache mishandles newlines in values, 2388( 2389 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2390 eval ac_val=\$$ac_var 2391 case $ac_val in #( 2392 *${as_nl}*) 2393 case $ac_var in #( 2394 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2395$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2396 esac 2397 case $ac_var in #( 2398 _ | IFS | as_nl) ;; #( 2399 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2400 *) { eval $ac_var=; unset $ac_var;} ;; 2401 esac ;; 2402 esac 2403 done 2404 (set) 2>&1 | 2405 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2406 *${as_nl}ac_space=\ *) 2407 sed -n \ 2408 "s/'\''/'\''\\\\'\'''\''/g; 2409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2410 ;; #( 2411 *) 2412 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2413 ;; 2414 esac | 2415 sort 2416) 2417 echo 2418 2419 cat <<\_ASBOX 2420## ----------------- ## 2421## Output variables. ## 2422## ----------------- ## 2423_ASBOX 2424 echo 2425 for ac_var in $ac_subst_vars 2426 do 2427 eval ac_val=\$$ac_var 2428 case $ac_val in 2429 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2430 esac 2431 $as_echo "$ac_var='\''$ac_val'\''" 2432 done | sort 2433 echo 2434 2435 if test -n "$ac_subst_files"; then 2436 cat <<\_ASBOX 2437## ------------------- ## 2438## File substitutions. ## 2439## ------------------- ## 2440_ASBOX 2441 echo 2442 for ac_var in $ac_subst_files 2443 do 2444 eval ac_val=\$$ac_var 2445 case $ac_val in 2446 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2447 esac 2448 $as_echo "$ac_var='\''$ac_val'\''" 2449 done | sort 2450 echo 2451 fi 2452 2453 if test -s confdefs.h; then 2454 cat <<\_ASBOX 2455## ----------- ## 2456## confdefs.h. ## 2457## ----------- ## 2458_ASBOX 2459 echo 2460 cat confdefs.h 2461 echo 2462 fi 2463 test "$ac_signal" != 0 && 2464 $as_echo "$as_me: caught signal $ac_signal" 2465 $as_echo "$as_me: exit $exit_status" 2466 } >&5 2467 rm -f core *.core core.conftest.* && 2468 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2469 exit $exit_status 2470' 0 2471for ac_signal in 1 2 13 15; do 2472 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2473done 2474ac_signal=0 2475 2476# confdefs.h avoids OS command line length limits that DEFS can exceed. 2477rm -f -r conftest* confdefs.h 2478 2479$as_echo "/* confdefs.h */" > confdefs.h 2480 2481# Predefined preprocessor variables. 2482 2483cat >>confdefs.h <<_ACEOF 2484#define PACKAGE_NAME "$PACKAGE_NAME" 2485_ACEOF 2486 2487cat >>confdefs.h <<_ACEOF 2488#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2489_ACEOF 2490 2491cat >>confdefs.h <<_ACEOF 2492#define PACKAGE_VERSION "$PACKAGE_VERSION" 2493_ACEOF 2494 2495cat >>confdefs.h <<_ACEOF 2496#define PACKAGE_STRING "$PACKAGE_STRING" 2497_ACEOF 2498 2499cat >>confdefs.h <<_ACEOF 2500#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2501_ACEOF 2502 2503cat >>confdefs.h <<_ACEOF 2504#define PACKAGE_URL "$PACKAGE_URL" 2505_ACEOF 2506 2507 2508# Let the site file select an alternate cache file if it wants to. 2509# Prefer an explicitly selected file to automatically selected ones. 2510ac_site_file1=NONE 2511ac_site_file2=NONE 2512if test -n "$CONFIG_SITE"; then 2513 ac_site_file1=$CONFIG_SITE 2514elif test "x$prefix" != xNONE; then 2515 ac_site_file1=$prefix/share/config.site 2516 ac_site_file2=$prefix/etc/config.site 2517else 2518 ac_site_file1=$ac_default_prefix/share/config.site 2519 ac_site_file2=$ac_default_prefix/etc/config.site 2520fi 2521for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2522do 2523 test "x$ac_site_file" = xNONE && continue 2524 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2526$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2527 sed 's/^/| /' "$ac_site_file" >&5 2528 . "$ac_site_file" 2529 fi 2530done 2531 2532if test -r "$cache_file"; then 2533 # Some versions of bash will fail to source /dev/null (special files 2534 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2535 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2536 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2537$as_echo "$as_me: loading cache $cache_file" >&6;} 2538 case $cache_file in 2539 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2540 *) . "./$cache_file";; 2541 esac 2542 fi 2543else 2544 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2545$as_echo "$as_me: creating cache $cache_file" >&6;} 2546 >$cache_file 2547fi 2548 2549# Check that the precious variables saved in the cache have kept the same 2550# value. 2551ac_cache_corrupted=false 2552for ac_var in $ac_precious_vars; do 2553 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2554 eval ac_new_set=\$ac_env_${ac_var}_set 2555 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2556 eval ac_new_val=\$ac_env_${ac_var}_value 2557 case $ac_old_set,$ac_new_set in 2558 set,) 2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2560$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2561 ac_cache_corrupted=: ;; 2562 ,set) 2563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2564$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2565 ac_cache_corrupted=: ;; 2566 ,);; 2567 *) 2568 if test "x$ac_old_val" != "x$ac_new_val"; then 2569 # differences in whitespace do not lead to failure. 2570 ac_old_val_w=`echo x $ac_old_val` 2571 ac_new_val_w=`echo x $ac_new_val` 2572 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2574$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2575 ac_cache_corrupted=: 2576 else 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2578$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2579 eval $ac_var=\$ac_old_val 2580 fi 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2582$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2584$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2585 fi;; 2586 esac 2587 # Pass precious variables to config.status. 2588 if test "$ac_new_set" = set; then 2589 case $ac_new_val in 2590 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2591 *) ac_arg=$ac_var=$ac_new_val ;; 2592 esac 2593 case " $ac_configure_args " in 2594 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2595 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2596 esac 2597 fi 2598done 2599if $ac_cache_corrupted; then 2600 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2601$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2603$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2604 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2605fi 2606## -------------------- ## 2607## Main body of script. ## 2608## -------------------- ## 2609 2610ac_ext=c 2611ac_cpp='$CPP $CPPFLAGS' 2612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2614ac_compiler_gnu=$ac_cv_c_compiler_gnu 2615 2616 2617ac_config_headers="$ac_config_headers src/config.h" 2618 2619 2620ac_aux_dir= 2621for ac_dir in config "$srcdir"/config; do 2622 for ac_t in install-sh install.sh shtool; do 2623 if test -f "$ac_dir/$ac_t"; then 2624 ac_aux_dir=$ac_dir 2625 ac_install_sh="$ac_aux_dir/$ac_t -c" 2626 break 2 2627 fi 2628 done 2629done 2630if test -z "$ac_aux_dir"; then 2631 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 2632fi 2633 2634# These three variables are undocumented and unsupported, 2635# and are intended to be withdrawn in a future Autoconf release. 2636# They can cause serious problems if a builder's source tree is in a directory 2637# whose full name contains unusual characters. 2638ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2639ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2640ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2641 2642 2643am__api_version='1.11' 2644 2645# Find a good install program. We prefer a C program (faster), 2646# so one script is as good as another. But avoid the broken or 2647# incompatible versions: 2648# SysV /etc/install, /usr/sbin/install 2649# SunOS /usr/etc/install 2650# IRIX /sbin/install 2651# AIX /bin/install 2652# AmigaOS /C/install, which installs bootblocks on floppy discs 2653# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2654# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2655# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2656# OS/2's system install, which has a completely different semantic 2657# ./install, which can be erroneously created by make from ./install.sh. 2658# Reject install programs that cannot install multiple files. 2659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2660$as_echo_n "checking for a BSD-compatible install... " >&6; } 2661if test -z "$INSTALL"; then 2662if test "${ac_cv_path_install+set}" = set; then : 2663 $as_echo_n "(cached) " >&6 2664else 2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2666for as_dir in $PATH 2667do 2668 IFS=$as_save_IFS 2669 test -z "$as_dir" && as_dir=. 2670 # Account for people who put trailing slashes in PATH elements. 2671case $as_dir/ in #(( 2672 ./ | .// | /[cC]/* | \ 2673 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2674 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2675 /usr/ucb/* ) ;; 2676 *) 2677 # OSF1 and SCO ODT 3.0 have their own names for install. 2678 # Don't use installbsd from OSF since it installs stuff as root 2679 # by default. 2680 for ac_prog in ginstall scoinst install; do 2681 for ac_exec_ext in '' $ac_executable_extensions; do 2682 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2683 if test $ac_prog = install && 2684 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2685 # AIX install. It has an incompatible calling convention. 2686 : 2687 elif test $ac_prog = install && 2688 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2689 # program-specific install script used by HP pwplus--don't use. 2690 : 2691 else 2692 rm -rf conftest.one conftest.two conftest.dir 2693 echo one > conftest.one 2694 echo two > conftest.two 2695 mkdir conftest.dir 2696 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2697 test -s conftest.one && test -s conftest.two && 2698 test -s conftest.dir/conftest.one && 2699 test -s conftest.dir/conftest.two 2700 then 2701 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2702 break 3 2703 fi 2704 fi 2705 fi 2706 done 2707 done 2708 ;; 2709esac 2710 2711 done 2712IFS=$as_save_IFS 2713 2714rm -rf conftest.one conftest.two conftest.dir 2715 2716fi 2717 if test "${ac_cv_path_install+set}" = set; then 2718 INSTALL=$ac_cv_path_install 2719 else 2720 # As a last resort, use the slow shell script. Don't cache a 2721 # value for INSTALL within a source directory, because that will 2722 # break other packages using the cache if that directory is 2723 # removed, or if the value is a relative name. 2724 INSTALL=$ac_install_sh 2725 fi 2726fi 2727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2728$as_echo "$INSTALL" >&6; } 2729 2730# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2731# It thinks the first close brace ends the variable substitution. 2732test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2733 2734test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2735 2736test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2737 2738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2739$as_echo_n "checking whether build environment is sane... " >&6; } 2740# Just in case 2741sleep 1 2742echo timestamp > conftest.file 2743# Reject unsafe characters in $srcdir or the absolute working directory 2744# name. Accept space and tab only in the latter. 2745am_lf=' 2746' 2747case `pwd` in 2748 *[\\\"\#\$\&\'\`$am_lf]*) 2749 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2750esac 2751case $srcdir in 2752 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2753 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2754esac 2755 2756# Do `set' in a subshell so we don't clobber the current shell's 2757# arguments. Must try -L first in case configure is actually a 2758# symlink; some systems play weird games with the mod time of symlinks 2759# (eg FreeBSD returns the mod time of the symlink's containing 2760# directory). 2761if ( 2762 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2763 if test "$*" = "X"; then 2764 # -L didn't work. 2765 set X `ls -t "$srcdir/configure" conftest.file` 2766 fi 2767 rm -f conftest.file 2768 if test "$*" != "X $srcdir/configure conftest.file" \ 2769 && test "$*" != "X conftest.file $srcdir/configure"; then 2770 2771 # If neither matched, then we have a broken ls. This can happen 2772 # if, for instance, CONFIG_SHELL is bash and it inherits a 2773 # broken ls alias from the environment. This has actually 2774 # happened. Such a system could not be considered "sane". 2775 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2776alias in your environment" "$LINENO" 5 2777 fi 2778 2779 test "$2" = conftest.file 2780 ) 2781then 2782 # Ok. 2783 : 2784else 2785 as_fn_error "newly created file is older than distributed files! 2786Check your system clock" "$LINENO" 5 2787fi 2788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2789$as_echo "yes" >&6; } 2790test "$program_prefix" != NONE && 2791 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2792# Use a double $ so make ignores it. 2793test "$program_suffix" != NONE && 2794 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2795# Double any \ or $. 2796# By default was `s,x,x', remove it if useless. 2797ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2798program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2799 2800# expand $ac_aux_dir to an absolute path 2801am_aux_dir=`cd $ac_aux_dir && pwd` 2802 2803if test x"${MISSING+set}" != xset; then 2804 case $am_aux_dir in 2805 *\ * | *\ *) 2806 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2807 *) 2808 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2809 esac 2810fi 2811# Use eval to expand $SHELL 2812if eval "$MISSING --run true"; then 2813 am_missing_run="$MISSING --run " 2814else 2815 am_missing_run= 2816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2817$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2818fi 2819 2820if test x"${install_sh}" != xset; then 2821 case $am_aux_dir in 2822 *\ * | *\ *) 2823 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2824 *) 2825 install_sh="\${SHELL} $am_aux_dir/install-sh" 2826 esac 2827fi 2828 2829# Installed binaries are usually stripped using `strip' when the user 2830# run `make install-strip'. However `strip' might not be the right 2831# tool to use in cross-compilation environments, therefore Automake 2832# will honor the `STRIP' environment variable to overrule this program. 2833if test "$cross_compiling" != no; then 2834 if test -n "$ac_tool_prefix"; then 2835 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2836set dummy ${ac_tool_prefix}strip; ac_word=$2 2837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2838$as_echo_n "checking for $ac_word... " >&6; } 2839if test "${ac_cv_prog_STRIP+set}" = set; then : 2840 $as_echo_n "(cached) " >&6 2841else 2842 if test -n "$STRIP"; then 2843 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2844else 2845as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2846for as_dir in $PATH 2847do 2848 IFS=$as_save_IFS 2849 test -z "$as_dir" && as_dir=. 2850 for ac_exec_ext in '' $ac_executable_extensions; do 2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2852 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2854 break 2 2855 fi 2856done 2857 done 2858IFS=$as_save_IFS 2859 2860fi 2861fi 2862STRIP=$ac_cv_prog_STRIP 2863if test -n "$STRIP"; then 2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2865$as_echo "$STRIP" >&6; } 2866else 2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2868$as_echo "no" >&6; } 2869fi 2870 2871 2872fi 2873if test -z "$ac_cv_prog_STRIP"; then 2874 ac_ct_STRIP=$STRIP 2875 # Extract the first word of "strip", so it can be a program name with args. 2876set dummy strip; ac_word=$2 2877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2878$as_echo_n "checking for $ac_word... " >&6; } 2879if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2880 $as_echo_n "(cached) " >&6 2881else 2882 if test -n "$ac_ct_STRIP"; then 2883 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2884else 2885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2886for as_dir in $PATH 2887do 2888 IFS=$as_save_IFS 2889 test -z "$as_dir" && as_dir=. 2890 for ac_exec_ext in '' $ac_executable_extensions; do 2891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2892 ac_cv_prog_ac_ct_STRIP="strip" 2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2894 break 2 2895 fi 2896done 2897 done 2898IFS=$as_save_IFS 2899 2900fi 2901fi 2902ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2903if test -n "$ac_ct_STRIP"; then 2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2905$as_echo "$ac_ct_STRIP" >&6; } 2906else 2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2908$as_echo "no" >&6; } 2909fi 2910 2911 if test "x$ac_ct_STRIP" = x; then 2912 STRIP=":" 2913 else 2914 case $cross_compiling:$ac_tool_warned in 2915yes:) 2916{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2917$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2918ac_tool_warned=yes ;; 2919esac 2920 STRIP=$ac_ct_STRIP 2921 fi 2922else 2923 STRIP="$ac_cv_prog_STRIP" 2924fi 2925 2926fi 2927INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2928 2929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2930$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2931if test -z "$MKDIR_P"; then 2932 if test "${ac_cv_path_mkdir+set}" = set; then : 2933 $as_echo_n "(cached) " >&6 2934else 2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2936for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2937do 2938 IFS=$as_save_IFS 2939 test -z "$as_dir" && as_dir=. 2940 for ac_prog in mkdir gmkdir; do 2941 for ac_exec_ext in '' $ac_executable_extensions; do 2942 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2943 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2944 'mkdir (GNU coreutils) '* | \ 2945 'mkdir (coreutils) '* | \ 2946 'mkdir (fileutils) '4.1*) 2947 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2948 break 3;; 2949 esac 2950 done 2951 done 2952 done 2953IFS=$as_save_IFS 2954 2955fi 2956 2957 test -d ./--version && rmdir ./--version 2958 if test "${ac_cv_path_mkdir+set}" = set; then 2959 MKDIR_P="$ac_cv_path_mkdir -p" 2960 else 2961 # As a last resort, use the slow shell script. Don't cache a 2962 # value for MKDIR_P within a source directory, because that will 2963 # break other packages using the cache if that directory is 2964 # removed, or if the value is a relative name. 2965 MKDIR_P="$ac_install_sh -d" 2966 fi 2967fi 2968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2969$as_echo "$MKDIR_P" >&6; } 2970 2971mkdir_p="$MKDIR_P" 2972case $mkdir_p in 2973 [\\/$]* | ?:[\\/]*) ;; 2974 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2975esac 2976 2977for ac_prog in gawk mawk nawk awk 2978do 2979 # Extract the first word of "$ac_prog", so it can be a program name with args. 2980set dummy $ac_prog; ac_word=$2 2981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2982$as_echo_n "checking for $ac_word... " >&6; } 2983if test "${ac_cv_prog_AWK+set}" = set; then : 2984 $as_echo_n "(cached) " >&6 2985else 2986 if test -n "$AWK"; then 2987 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2988else 2989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2990for as_dir in $PATH 2991do 2992 IFS=$as_save_IFS 2993 test -z "$as_dir" && as_dir=. 2994 for ac_exec_ext in '' $ac_executable_extensions; do 2995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2996 ac_cv_prog_AWK="$ac_prog" 2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2998 break 2 2999 fi 3000done 3001 done 3002IFS=$as_save_IFS 3003 3004fi 3005fi 3006AWK=$ac_cv_prog_AWK 3007if test -n "$AWK"; then 3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3009$as_echo "$AWK" >&6; } 3010else 3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3012$as_echo "no" >&6; } 3013fi 3014 3015 3016 test -n "$AWK" && break 3017done 3018 3019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3020$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3021set x ${MAKE-make} 3022ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3023if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 3024 $as_echo_n "(cached) " >&6 3025else 3026 cat >conftest.make <<\_ACEOF 3027SHELL = /bin/sh 3028all: 3029 @echo '@@@%%%=$(MAKE)=@@@%%%' 3030_ACEOF 3031# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3032case `${MAKE-make} -f conftest.make 2>/dev/null` in 3033 *@@@%%%=?*=@@@%%%*) 3034 eval ac_cv_prog_make_${ac_make}_set=yes;; 3035 *) 3036 eval ac_cv_prog_make_${ac_make}_set=no;; 3037esac 3038rm -f conftest.make 3039fi 3040if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3042$as_echo "yes" >&6; } 3043 SET_MAKE= 3044else 3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3046$as_echo "no" >&6; } 3047 SET_MAKE="MAKE=${MAKE-make}" 3048fi 3049 3050rm -rf .tst 2>/dev/null 3051mkdir .tst 2>/dev/null 3052if test -d .tst; then 3053 am__leading_dot=. 3054else 3055 am__leading_dot=_ 3056fi 3057rmdir .tst 2>/dev/null 3058 3059if test "`cd $srcdir && pwd`" != "`pwd`"; then 3060 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3061 # is not polluted with repeated "-I." 3062 am__isrc=' -I$(srcdir)' 3063 # test to see if srcdir already configured 3064 if test -f $srcdir/config.status; then 3065 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3066 fi 3067fi 3068 3069# test whether we have cygpath 3070if test -z "$CYGPATH_W"; then 3071 if (cygpath --version) >/dev/null 2>/dev/null; then 3072 CYGPATH_W='cygpath -w' 3073 else 3074 CYGPATH_W=echo 3075 fi 3076fi 3077 3078 3079# Define the identity of the package. 3080 PACKAGE='wsdlpull' 3081 VERSION='1.24' 3082 3083 3084cat >>confdefs.h <<_ACEOF 3085#define PACKAGE "$PACKAGE" 3086_ACEOF 3087 3088 3089cat >>confdefs.h <<_ACEOF 3090#define VERSION "$VERSION" 3091_ACEOF 3092 3093# Some tools Automake needs. 3094 3095ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3096 3097 3098AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3099 3100 3101AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3102 3103 3104AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3105 3106 3107MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3108 3109# We need awk for the "check" target. The system "awk" is bad on 3110# some platforms. 3111# Always define AMTAR for backward compatibility. 3112 3113AMTAR=${AMTAR-"${am_missing_run}tar"} 3114 3115am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3116 3117 3118 3119 3120 3121#AM_PATH_CPPUNIT(1.10) 3122#AM_CONDITIONAL([HAVE_CPPUNIT], [test "x$CPPUNIT_LIBS" != x]) 3123 3124# Configure file for wsdlpull 3125 3126# Shared library versioning 3127GENERIC_LIBRARY_VERSION="1:24:0" 3128# | | | 3129# +------+ | +---+ 3130# | | | 3131# current:revision:age 3132# | | | 3133# | | +- increment if interfaces have been added; 3134# | | set to zero if interfaces have been 3135# | | removed or changed 3136# | +- increment if source code has changed; 3137# | set to zero if current is incremented 3138# +- increment if interfaces have been added, removed 3139# or changed 3140 3141 3142# Check for host and disable building a shared library in Windows 3143# Make sure we can run config.sub. 3144$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3145 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3146 3147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3148$as_echo_n "checking build system type... " >&6; } 3149if test "${ac_cv_build+set}" = set; then : 3150 $as_echo_n "(cached) " >&6 3151else 3152 ac_build_alias=$build_alias 3153test "x$ac_build_alias" = x && 3154 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3155test "x$ac_build_alias" = x && 3156 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 3157ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3158 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3159 3160fi 3161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3162$as_echo "$ac_cv_build" >&6; } 3163case $ac_cv_build in 3164*-*-*) ;; 3165*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 3166esac 3167build=$ac_cv_build 3168ac_save_IFS=$IFS; IFS='-' 3169set x $ac_cv_build 3170shift 3171build_cpu=$1 3172build_vendor=$2 3173shift; shift 3174# Remember, the first character of IFS is used to create $*, 3175# except with old shells: 3176build_os=$* 3177IFS=$ac_save_IFS 3178case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3179 3180 3181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3182$as_echo_n "checking host system type... " >&6; } 3183if test "${ac_cv_host+set}" = set; then : 3184 $as_echo_n "(cached) " >&6 3185else 3186 if test "x$host_alias" = x; then 3187 ac_cv_host=$ac_cv_build 3188else 3189 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3190 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3191fi 3192 3193fi 3194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3195$as_echo "$ac_cv_host" >&6; } 3196case $ac_cv_host in 3197*-*-*) ;; 3198*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3199esac 3200host=$ac_cv_host 3201ac_save_IFS=$IFS; IFS='-' 3202set x $ac_cv_host 3203shift 3204host_cpu=$1 3205host_vendor=$2 3206shift; shift 3207# Remember, the first character of IFS is used to create $*, 3208# except with old shells: 3209host_os=$* 3210IFS=$ac_save_IFS 3211case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3212 3213 3214case $host in 3215 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) 3216 # Check whether --enable-shared was given. 3217if test "${enable_shared+set}" = set; then : 3218 enableval=$enable_shared; p=${PACKAGE-default} 3219 case $enableval in 3220 yes) enable_shared=yes ;; 3221 no) enable_shared=no ;; 3222 *) 3223 enable_shared=no 3224 # Look at the argument we got. We use all the common list separators. 3225 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 3226 for pkg in $enableval; do 3227 IFS="$lt_save_ifs" 3228 if test "X$pkg" = "X$p"; then 3229 enable_shared=yes 3230 fi 3231 done 3232 IFS="$lt_save_ifs" 3233 ;; 3234 esac 3235else 3236 enable_shared=no 3237fi 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 # Check whether --enable-static was given. 3248if test "${enable_static+set}" = set; then : 3249 enableval=$enable_static; p=${PACKAGE-default} 3250 case $enableval in 3251 yes) enable_static=yes ;; 3252 no) enable_static=no ;; 3253 *) 3254 enable_static=no 3255 # Look at the argument we got. We use all the common list separators. 3256 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 3257 for pkg in $enableval; do 3258 IFS="$lt_save_ifs" 3259 if test "X$pkg" = "X$p"; then 3260 enable_static=yes 3261 fi 3262 done 3263 IFS="$lt_save_ifs" 3264 ;; 3265 esac 3266else 3267 enable_static=yes 3268fi 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 ;; 3279 *) 3280 # Check whether --enable-shared was given. 3281if test "${enable_shared+set}" = set; then : 3282 enableval=$enable_shared; p=${PACKAGE-default} 3283 case $enableval in 3284 yes) enable_shared=yes ;; 3285 no) enable_shared=no ;; 3286 *) 3287 enable_shared=no 3288 # Look at the argument we got. We use all the common list separators. 3289 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 3290 for pkg in $enableval; do 3291 IFS="$lt_save_ifs" 3292 if test "X$pkg" = "X$p"; then 3293 enable_shared=yes 3294 fi 3295 done 3296 IFS="$lt_save_ifs" 3297 ;; 3298 esac 3299else 3300 enable_shared=yes 3301fi 3302 3303 3304 3305 3306 3307 3308 # Check whether --enable-static was given. 3309if test "${enable_static+set}" = set; then : 3310 enableval=$enable_static; p=${PACKAGE-default} 3311 case $enableval in 3312 yes) enable_static=yes ;; 3313 no) enable_static=no ;; 3314 *) 3315 enable_static=no 3316 # Look at the argument we got. We use all the common list separators. 3317 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 3318 for pkg in $enableval; do 3319 IFS="$lt_save_ifs" 3320 if test "X$pkg" = "X$p"; then 3321 enable_static=yes 3322 fi 3323 done 3324 IFS="$lt_save_ifs" 3325 ;; 3326 esac 3327else 3328 enable_static=no 3329fi 3330 3331 3332 3333 3334 3335 3336 ;; 3337esac 3338 3339# Checks for programs. 3340save_CFLAGS="$CFLAGS" 3341save_CXXFLAGS="$CXXFLAGS" 3342ac_ext=cpp 3343ac_cpp='$CXXCPP $CPPFLAGS' 3344ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3345ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3346ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3347if test -z "$CXX"; then 3348 if test -n "$CCC"; then 3349 CXX=$CCC 3350 else 3351 if test -n "$ac_tool_prefix"; then 3352 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3353 do 3354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3355set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3357$as_echo_n "checking for $ac_word... " >&6; } 3358if test "${ac_cv_prog_CXX+set}" = set; then : 3359 $as_echo_n "(cached) " >&6 3360else 3361 if test -n "$CXX"; then 3362 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3363else 3364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3365for as_dir in $PATH 3366do 3367 IFS=$as_save_IFS 3368 test -z "$as_dir" && as_dir=. 3369 for ac_exec_ext in '' $ac_executable_extensions; do 3370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3371 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3373 break 2 3374 fi 3375done 3376 done 3377IFS=$as_save_IFS 3378 3379fi 3380fi 3381CXX=$ac_cv_prog_CXX 3382if test -n "$CXX"; then 3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3384$as_echo "$CXX" >&6; } 3385else 3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3387$as_echo "no" >&6; } 3388fi 3389 3390 3391 test -n "$CXX" && break 3392 done 3393fi 3394if test -z "$CXX"; then 3395 ac_ct_CXX=$CXX 3396 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3397do 3398 # Extract the first word of "$ac_prog", so it can be a program name with args. 3399set dummy $ac_prog; ac_word=$2 3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3401$as_echo_n "checking for $ac_word... " >&6; } 3402if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3403 $as_echo_n "(cached) " >&6 3404else 3405 if test -n "$ac_ct_CXX"; then 3406 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3407else 3408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3409for as_dir in $PATH 3410do 3411 IFS=$as_save_IFS 3412 test -z "$as_dir" && as_dir=. 3413 for ac_exec_ext in '' $ac_executable_extensions; do 3414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3415 ac_cv_prog_ac_ct_CXX="$ac_prog" 3416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3417 break 2 3418 fi 3419done 3420 done 3421IFS=$as_save_IFS 3422 3423fi 3424fi 3425ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3426if test -n "$ac_ct_CXX"; then 3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3428$as_echo "$ac_ct_CXX" >&6; } 3429else 3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3431$as_echo "no" >&6; } 3432fi 3433 3434 3435 test -n "$ac_ct_CXX" && break 3436done 3437 3438 if test "x$ac_ct_CXX" = x; then 3439 CXX="g++" 3440 else 3441 case $cross_compiling:$ac_tool_warned in 3442yes:) 3443{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3444$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3445ac_tool_warned=yes ;; 3446esac 3447 CXX=$ac_ct_CXX 3448 fi 3449fi 3450 3451 fi 3452fi 3453# Provide some information about the compiler. 3454$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3455set X $ac_compile 3456ac_compiler=$2 3457for ac_option in --version -v -V -qversion; do 3458 { { ac_try="$ac_compiler $ac_option >&5" 3459case "(($ac_try" in 3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3461 *) ac_try_echo=$ac_try;; 3462esac 3463eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3464$as_echo "$ac_try_echo"; } >&5 3465 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3466 ac_status=$? 3467 if test -s conftest.err; then 3468 sed '10a\ 3469... rest of stderr output deleted ... 3470 10q' conftest.err >conftest.er1 3471 cat conftest.er1 >&5 3472 fi 3473 rm -f conftest.er1 conftest.err 3474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3475 test $ac_status = 0; } 3476done 3477 3478cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3479/* end confdefs.h. */ 3480 3481int 3482main () 3483{ 3484 3485 ; 3486 return 0; 3487} 3488_ACEOF 3489ac_clean_files_save=$ac_clean_files 3490ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3491# Try to create an executable without -o first, disregard a.out. 3492# It will help us diagnose broken compilers, and finding out an intuition 3493# of exeext. 3494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 3495$as_echo_n "checking whether the C++ compiler works... " >&6; } 3496ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3497 3498# The possible output files: 3499ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3500 3501ac_rmfiles= 3502for ac_file in $ac_files 3503do 3504 case $ac_file in 3505 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3506 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3507 esac 3508done 3509rm -f $ac_rmfiles 3510 3511if { { ac_try="$ac_link_default" 3512case "(($ac_try" in 3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3514 *) ac_try_echo=$ac_try;; 3515esac 3516eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3517$as_echo "$ac_try_echo"; } >&5 3518 (eval "$ac_link_default") 2>&5 3519 ac_status=$? 3520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3521 test $ac_status = 0; }; then : 3522 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3523# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3524# in a Makefile. We should not override ac_cv_exeext if it was cached, 3525# so that the user can short-circuit this test for compilers unknown to 3526# Autoconf. 3527for ac_file in $ac_files '' 3528do 3529 test -f "$ac_file" || continue 3530 case $ac_file in 3531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3532 ;; 3533 [ab].out ) 3534 # We found the default executable, but exeext='' is most 3535 # certainly right. 3536 break;; 3537 *.* ) 3538 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3539 then :; else 3540 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3541 fi 3542 # We set ac_cv_exeext here because the later test for it is not 3543 # safe: cross compilers may not add the suffix if given an `-o' 3544 # argument, so we may need to know it at that point already. 3545 # Even if this section looks crufty: it has the advantage of 3546 # actually working. 3547 break;; 3548 * ) 3549 break;; 3550 esac 3551done 3552test "$ac_cv_exeext" = no && ac_cv_exeext= 3553 3554else 3555 ac_file='' 3556fi 3557if test -z "$ac_file"; then : 3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3559$as_echo "no" >&6; } 3560$as_echo "$as_me: failed program was:" >&5 3561sed 's/^/| /' conftest.$ac_ext >&5 3562 3563{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3564$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3565{ as_fn_set_status 77 3566as_fn_error "C++ compiler cannot create executables 3567See \`config.log' for more details." "$LINENO" 5; }; } 3568else 3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3570$as_echo "yes" >&6; } 3571fi 3572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 3573$as_echo_n "checking for C++ compiler default output file name... " >&6; } 3574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3575$as_echo "$ac_file" >&6; } 3576ac_exeext=$ac_cv_exeext 3577 3578rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3579ac_clean_files=$ac_clean_files_save 3580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3581$as_echo_n "checking for suffix of executables... " >&6; } 3582if { { ac_try="$ac_link" 3583case "(($ac_try" in 3584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3585 *) ac_try_echo=$ac_try;; 3586esac 3587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3588$as_echo "$ac_try_echo"; } >&5 3589 (eval "$ac_link") 2>&5 3590 ac_status=$? 3591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3592 test $ac_status = 0; }; then : 3593 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3594# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3595# work properly (i.e., refer to `conftest.exe'), while it won't with 3596# `rm'. 3597for ac_file in conftest.exe conftest conftest.*; do 3598 test -f "$ac_file" || continue 3599 case $ac_file in 3600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3601 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3602 break;; 3603 * ) break;; 3604 esac 3605done 3606else 3607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3608$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3609as_fn_error "cannot compute suffix of executables: cannot compile and link 3610See \`config.log' for more details." "$LINENO" 5; } 3611fi 3612rm -f conftest conftest$ac_cv_exeext 3613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3614$as_echo "$ac_cv_exeext" >&6; } 3615 3616rm -f conftest.$ac_ext 3617EXEEXT=$ac_cv_exeext 3618ac_exeext=$EXEEXT 3619cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3620/* end confdefs.h. */ 3621#include <stdio.h> 3622int 3623main () 3624{ 3625FILE *f = fopen ("conftest.out", "w"); 3626 return ferror (f) || fclose (f) != 0; 3627 3628 ; 3629 return 0; 3630} 3631_ACEOF 3632ac_clean_files="$ac_clean_files conftest.out" 3633# Check that the compiler produces executables we can run. If not, either 3634# the compiler is broken, or we cross compile. 3635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3636$as_echo_n "checking whether we are cross compiling... " >&6; } 3637if test "$cross_compiling" != yes; then 3638 { { ac_try="$ac_link" 3639case "(($ac_try" in 3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3641 *) ac_try_echo=$ac_try;; 3642esac 3643eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3644$as_echo "$ac_try_echo"; } >&5 3645 (eval "$ac_link") 2>&5 3646 ac_status=$? 3647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3648 test $ac_status = 0; } 3649 if { ac_try='./conftest$ac_cv_exeext' 3650 { { case "(($ac_try" in 3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3652 *) ac_try_echo=$ac_try;; 3653esac 3654eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3655$as_echo "$ac_try_echo"; } >&5 3656 (eval "$ac_try") 2>&5 3657 ac_status=$? 3658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3659 test $ac_status = 0; }; }; then 3660 cross_compiling=no 3661 else 3662 if test "$cross_compiling" = maybe; then 3663 cross_compiling=yes 3664 else 3665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3666$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3667as_fn_error "cannot run C++ compiled programs. 3668If you meant to cross compile, use \`--host'. 3669See \`config.log' for more details." "$LINENO" 5; } 3670 fi 3671 fi 3672fi 3673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3674$as_echo "$cross_compiling" >&6; } 3675 3676rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3677ac_clean_files=$ac_clean_files_save 3678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3679$as_echo_n "checking for suffix of object files... " >&6; } 3680if test "${ac_cv_objext+set}" = set; then : 3681 $as_echo_n "(cached) " >&6 3682else 3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3684/* end confdefs.h. */ 3685 3686int 3687main () 3688{ 3689 3690 ; 3691 return 0; 3692} 3693_ACEOF 3694rm -f conftest.o conftest.obj 3695if { { ac_try="$ac_compile" 3696case "(($ac_try" in 3697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3698 *) ac_try_echo=$ac_try;; 3699esac 3700eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3701$as_echo "$ac_try_echo"; } >&5 3702 (eval "$ac_compile") 2>&5 3703 ac_status=$? 3704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3705 test $ac_status = 0; }; then : 3706 for ac_file in conftest.o conftest.obj conftest.*; do 3707 test -f "$ac_file" || continue; 3708 case $ac_file in 3709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3710 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3711 break;; 3712 esac 3713done 3714else 3715 $as_echo "$as_me: failed program was:" >&5 3716sed 's/^/| /' conftest.$ac_ext >&5 3717 3718{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3719$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3720as_fn_error "cannot compute suffix of object files: cannot compile 3721See \`config.log' for more details." "$LINENO" 5; } 3722fi 3723rm -f conftest.$ac_cv_objext conftest.$ac_ext 3724fi 3725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3726$as_echo "$ac_cv_objext" >&6; } 3727OBJEXT=$ac_cv_objext 3728ac_objext=$OBJEXT 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3730$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3731if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3732 $as_echo_n "(cached) " >&6 3733else 3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3735/* end confdefs.h. */ 3736 3737int 3738main () 3739{ 3740#ifndef __GNUC__ 3741 choke me 3742#endif 3743 3744 ; 3745 return 0; 3746} 3747_ACEOF 3748if ac_fn_cxx_try_compile "$LINENO"; then : 3749 ac_compiler_gnu=yes 3750else 3751 ac_compiler_gnu=no 3752fi 3753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3754ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3755 3756fi 3757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3758$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3759if test $ac_compiler_gnu = yes; then 3760 GXX=yes 3761else 3762 GXX= 3763fi 3764ac_test_CXXFLAGS=${CXXFLAGS+set} 3765ac_save_CXXFLAGS=$CXXFLAGS 3766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3767$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3768if test "${ac_cv_prog_cxx_g+set}" = set; then : 3769 $as_echo_n "(cached) " >&6 3770else 3771 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3772 ac_cxx_werror_flag=yes 3773 ac_cv_prog_cxx_g=no 3774 CXXFLAGS="-g" 3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3776/* end confdefs.h. */ 3777 3778int 3779main () 3780{ 3781 3782 ; 3783 return 0; 3784} 3785_ACEOF 3786if ac_fn_cxx_try_compile "$LINENO"; then : 3787 ac_cv_prog_cxx_g=yes 3788else 3789 CXXFLAGS="" 3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3791/* end confdefs.h. */ 3792 3793int 3794main () 3795{ 3796 3797 ; 3798 return 0; 3799} 3800_ACEOF 3801if ac_fn_cxx_try_compile "$LINENO"; then : 3802 3803else 3804 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3805 CXXFLAGS="-g" 3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3807/* end confdefs.h. */ 3808 3809int 3810main () 3811{ 3812 3813 ; 3814 return 0; 3815} 3816_ACEOF 3817if ac_fn_cxx_try_compile "$LINENO"; then : 3818 ac_cv_prog_cxx_g=yes 3819fi 3820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3821fi 3822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3823fi 3824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3825 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3826fi 3827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3828$as_echo "$ac_cv_prog_cxx_g" >&6; } 3829if test "$ac_test_CXXFLAGS" = set; then 3830 CXXFLAGS=$ac_save_CXXFLAGS 3831elif test $ac_cv_prog_cxx_g = yes; then 3832 if test "$GXX" = yes; then 3833 CXXFLAGS="-g -O2" 3834 else 3835 CXXFLAGS="-g" 3836 fi 3837else 3838 if test "$GXX" = yes; then 3839 CXXFLAGS="-O2" 3840 else 3841 CXXFLAGS= 3842 fi 3843fi 3844ac_ext=c 3845ac_cpp='$CPP $CPPFLAGS' 3846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3848ac_compiler_gnu=$ac_cv_c_compiler_gnu 3849DEPDIR="${am__leading_dot}deps" 3850 3851ac_config_commands="$ac_config_commands depfiles" 3852 3853 3854am_make=${MAKE-make} 3855cat > confinc << 'END' 3856am__doit: 3857 @echo this is the am__doit target 3858.PHONY: am__doit 3859END 3860# If we don't find an include directive, just comment out the code. 3861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3862$as_echo_n "checking for style of include used by $am_make... " >&6; } 3863am__include="#" 3864am__quote= 3865_am_result=none 3866# First try GNU make style include. 3867echo "include confinc" > confmf 3868# Ignore all kinds of additional output from `make'. 3869case `$am_make -s -f confmf 2> /dev/null` in #( 3870*the\ am__doit\ target*) 3871 am__include=include 3872 am__quote= 3873 _am_result=GNU 3874 ;; 3875esac 3876# Now try BSD make style include. 3877if test "$am__include" = "#"; then 3878 echo '.include "confinc"' > confmf 3879 case `$am_make -s -f confmf 2> /dev/null` in #( 3880 *the\ am__doit\ target*) 3881 am__include=.include 3882 am__quote="\"" 3883 _am_result=BSD 3884 ;; 3885 esac 3886fi 3887 3888 3889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3890$as_echo "$_am_result" >&6; } 3891rm -f confinc confmf 3892 3893# Check whether --enable-dependency-tracking was given. 3894if test "${enable_dependency_tracking+set}" = set; then : 3895 enableval=$enable_dependency_tracking; 3896fi 3897 3898if test "x$enable_dependency_tracking" != xno; then 3899 am_depcomp="$ac_aux_dir/depcomp" 3900 AMDEPBACKSLASH='\' 3901fi 3902 if test "x$enable_dependency_tracking" != xno; then 3903 AMDEP_TRUE= 3904 AMDEP_FALSE='#' 3905else 3906 AMDEP_TRUE='#' 3907 AMDEP_FALSE= 3908fi 3909 3910 3911 3912depcc="$CXX" am_compiler_list= 3913 3914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3915$as_echo_n "checking dependency style of $depcc... " >&6; } 3916if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 3917 $as_echo_n "(cached) " >&6 3918else 3919 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3920 # We make a subdir and do the tests there. Otherwise we can end up 3921 # making bogus files that we don't know about and never remove. For 3922 # instance it was reported that on HP-UX the gcc test will end up 3923 # making a dummy file named `D' -- because `-MD' means `put the output 3924 # in D'. 3925 mkdir conftest.dir 3926 # Copy depcomp to subdir because otherwise we won't find it if we're 3927 # using a relative directory. 3928 cp "$am_depcomp" conftest.dir 3929 cd conftest.dir 3930 # We will build objects and dependencies in a subdirectory because 3931 # it helps to detect inapplicable dependency modes. For instance 3932 # both Tru64's cc and ICC support -MD to output dependencies as a 3933 # side effect of compilation, but ICC will put the dependencies in 3934 # the current directory while Tru64 will put them in the object 3935 # directory. 3936 mkdir sub 3937 3938 am_cv_CXX_dependencies_compiler_type=none 3939 if test "$am_compiler_list" = ""; then 3940 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3941 fi 3942 am__universal=false 3943 case " $depcc " in #( 3944 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3945 esac 3946 3947 for depmode in $am_compiler_list; do 3948 # Setup a source with many dependencies, because some compilers 3949 # like to wrap large dependency lists on column 80 (with \), and 3950 # we should not choose a depcomp mode which is confused by this. 3951 # 3952 # We need to recreate these files for each test, as the compiler may 3953 # overwrite some of them when testing with obscure command lines. 3954 # This happens at least with the AIX C compiler. 3955 : > sub/conftest.c 3956 for i in 1 2 3 4 5 6; do 3957 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3958 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3959 # Solaris 8's {/usr,}/bin/sh. 3960 touch sub/conftst$i.h 3961 done 3962 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3963 3964 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3965 # mode. It turns out that the SunPro C++ compiler does not properly 3966 # handle `-M -o', and we need to detect this. Also, some Intel 3967 # versions had trouble with output in subdirs 3968 am__obj=sub/conftest.${OBJEXT-o} 3969 am__minus_obj="-o $am__obj" 3970 case $depmode in 3971 gcc) 3972 # This depmode causes a compiler race in universal mode. 3973 test "$am__universal" = false || continue 3974 ;; 3975 nosideeffect) 3976 # after this tag, mechanisms are not by side-effect, so they'll 3977 # only be used when explicitly requested 3978 if test "x$enable_dependency_tracking" = xyes; then 3979 continue 3980 else 3981 break 3982 fi 3983 ;; 3984 msvisualcpp | msvcmsys) 3985 # This compiler won't grok `-c -o', but also, the minuso test has 3986 # not run yet. These depmodes are late enough in the game, and 3987 # so weak that their functioning should not be impacted. 3988 am__obj=conftest.${OBJEXT-o} 3989 am__minus_obj= 3990 ;; 3991 none) break ;; 3992 esac 3993 if depmode=$depmode \ 3994 source=sub/conftest.c object=$am__obj \ 3995 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3996 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3997 >/dev/null 2>conftest.err && 3998 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3999 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4000 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4001 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4002 # icc doesn't choke on unknown options, it will just issue warnings 4003 # or remarks (even with -Werror). So we grep stderr for any message 4004 # that says an option was ignored or not supported. 4005 # When given -MP, icc 7.0 and 7.1 complain thusly: 4006 # icc: Command line warning: ignoring option '-M'; no argument required 4007 # The diagnosis changed in icc 8.0: 4008 # icc: Command line remark: option '-MP' not supported 4009 if (grep 'ignoring option' conftest.err || 4010 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4011 am_cv_CXX_dependencies_compiler_type=$depmode 4012 break 4013 fi 4014 fi 4015 done 4016 4017 cd .. 4018 rm -rf conftest.dir 4019else 4020 am_cv_CXX_dependencies_compiler_type=none 4021fi 4022 4023fi 4024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4025$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4026CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4027 4028 if 4029 test "x$enable_dependency_tracking" != xno \ 4030 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4031 am__fastdepCXX_TRUE= 4032 am__fastdepCXX_FALSE='#' 4033else 4034 am__fastdepCXX_TRUE='#' 4035 am__fastdepCXX_FALSE= 4036fi 4037 4038 4039ac_ext=cpp 4040ac_cpp='$CXXCPP $CPPFLAGS' 4041ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4042ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4043ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4045$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4046if test -z "$CXXCPP"; then 4047 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 4048 $as_echo_n "(cached) " >&6 4049else 4050 # Double quotes because CXXCPP needs to be expanded 4051 for CXXCPP in "$CXX -E" "/lib/cpp" 4052 do 4053 ac_preproc_ok=false 4054for ac_cxx_preproc_warn_flag in '' yes 4055do 4056 # Use a header file that comes with gcc, so configuring glibc 4057 # with a fresh cross-compiler works. 4058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4059 # <limits.h> exists even on freestanding compilers. 4060 # On the NeXT, cc -E runs the code through the compiler's parser, 4061 # not just through cpp. "Syntax error" is here to catch this case. 4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4063/* end confdefs.h. */ 4064#ifdef __STDC__ 4065# include <limits.h> 4066#else 4067# include <assert.h> 4068#endif 4069 Syntax error 4070_ACEOF 4071if ac_fn_cxx_try_cpp "$LINENO"; then : 4072 4073else 4074 # Broken: fails on valid input. 4075continue 4076fi 4077rm -f conftest.err conftest.$ac_ext 4078 4079 # OK, works on sane cases. Now check whether nonexistent headers 4080 # can be detected and how. 4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4082/* end confdefs.h. */ 4083#include <ac_nonexistent.h> 4084_ACEOF 4085if ac_fn_cxx_try_cpp "$LINENO"; then : 4086 # Broken: success on invalid input. 4087continue 4088else 4089 # Passes both tests. 4090ac_preproc_ok=: 4091break 4092fi 4093rm -f conftest.err conftest.$ac_ext 4094 4095done 4096# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4097rm -f conftest.err conftest.$ac_ext 4098if $ac_preproc_ok; then : 4099 break 4100fi 4101 4102 done 4103 ac_cv_prog_CXXCPP=$CXXCPP 4104 4105fi 4106 CXXCPP=$ac_cv_prog_CXXCPP 4107else 4108 ac_cv_prog_CXXCPP=$CXXCPP 4109fi 4110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4111$as_echo "$CXXCPP" >&6; } 4112ac_preproc_ok=false 4113for ac_cxx_preproc_warn_flag in '' yes 4114do 4115 # Use a header file that comes with gcc, so configuring glibc 4116 # with a fresh cross-compiler works. 4117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4118 # <limits.h> exists even on freestanding compilers. 4119 # On the NeXT, cc -E runs the code through the compiler's parser, 4120 # not just through cpp. "Syntax error" is here to catch this case. 4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4122/* end confdefs.h. */ 4123#ifdef __STDC__ 4124# include <limits.h> 4125#else 4126# include <assert.h> 4127#endif 4128 Syntax error 4129_ACEOF 4130if ac_fn_cxx_try_cpp "$LINENO"; then : 4131 4132else 4133 # Broken: fails on valid input. 4134continue 4135fi 4136rm -f conftest.err conftest.$ac_ext 4137 4138 # OK, works on sane cases. Now check whether nonexistent headers 4139 # can be detected and how. 4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4141/* end confdefs.h. */ 4142#include <ac_nonexistent.h> 4143_ACEOF 4144if ac_fn_cxx_try_cpp "$LINENO"; then : 4145 # Broken: success on invalid input. 4146continue 4147else 4148 # Passes both tests. 4149ac_preproc_ok=: 4150break 4151fi 4152rm -f conftest.err conftest.$ac_ext 4153 4154done 4155# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4156rm -f conftest.err conftest.$ac_ext 4157if $ac_preproc_ok; then : 4158 4159else 4160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4161$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4162as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check 4163See \`config.log' for more details." "$LINENO" 5; } 4164fi 4165 4166ac_ext=c 4167ac_cpp='$CPP $CPPFLAGS' 4168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4170ac_compiler_gnu=$ac_cv_c_compiler_gnu 4171 4172ac_ext=cpp 4173ac_cpp='$CXXCPP $CPPFLAGS' 4174ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4175ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4176ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4177if test -z "$CXX"; then 4178 if test -n "$CCC"; then 4179 CXX=$CCC 4180 else 4181 if test -n "$ac_tool_prefix"; then 4182 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4183 do 4184 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4185set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4187$as_echo_n "checking for $ac_word... " >&6; } 4188if test "${ac_cv_prog_CXX+set}" = set; then : 4189 $as_echo_n "(cached) " >&6 4190else 4191 if test -n "$CXX"; then 4192 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4193else 4194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4195for as_dir in $PATH 4196do 4197 IFS=$as_save_IFS 4198 test -z "$as_dir" && as_dir=. 4199 for ac_exec_ext in '' $ac_executable_extensions; do 4200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4201 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4203 break 2 4204 fi 4205done 4206 done 4207IFS=$as_save_IFS 4208 4209fi 4210fi 4211CXX=$ac_cv_prog_CXX 4212if test -n "$CXX"; then 4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4214$as_echo "$CXX" >&6; } 4215else 4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4217$as_echo "no" >&6; } 4218fi 4219 4220 4221 test -n "$CXX" && break 4222 done 4223fi 4224if test -z "$CXX"; then 4225 ac_ct_CXX=$CXX 4226 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4227do 4228 # Extract the first word of "$ac_prog", so it can be a program name with args. 4229set dummy $ac_prog; ac_word=$2 4230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4231$as_echo_n "checking for $ac_word... " >&6; } 4232if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 4233 $as_echo_n "(cached) " >&6 4234else 4235 if test -n "$ac_ct_CXX"; then 4236 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4237else 4238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4239for as_dir in $PATH 4240do 4241 IFS=$as_save_IFS 4242 test -z "$as_dir" && as_dir=. 4243 for ac_exec_ext in '' $ac_executable_extensions; do 4244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4245 ac_cv_prog_ac_ct_CXX="$ac_prog" 4246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4247 break 2 4248 fi 4249done 4250 done 4251IFS=$as_save_IFS 4252 4253fi 4254fi 4255ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4256if test -n "$ac_ct_CXX"; then 4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4258$as_echo "$ac_ct_CXX" >&6; } 4259else 4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4261$as_echo "no" >&6; } 4262fi 4263 4264 4265 test -n "$ac_ct_CXX" && break 4266done 4267 4268 if test "x$ac_ct_CXX" = x; then 4269 CXX="g++" 4270 else 4271 case $cross_compiling:$ac_tool_warned in 4272yes:) 4273{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4274$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4275ac_tool_warned=yes ;; 4276esac 4277 CXX=$ac_ct_CXX 4278 fi 4279fi 4280 4281 fi 4282fi 4283# Provide some information about the compiler. 4284$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4285set X $ac_compile 4286ac_compiler=$2 4287for ac_option in --version -v -V -qversion; do 4288 { { ac_try="$ac_compiler $ac_option >&5" 4289case "(($ac_try" in 4290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4291 *) ac_try_echo=$ac_try;; 4292esac 4293eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4294$as_echo "$ac_try_echo"; } >&5 4295 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4296 ac_status=$? 4297 if test -s conftest.err; then 4298 sed '10a\ 4299... rest of stderr output deleted ... 4300 10q' conftest.err >conftest.er1 4301 cat conftest.er1 >&5 4302 fi 4303 rm -f conftest.er1 conftest.err 4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4305 test $ac_status = 0; } 4306done 4307 4308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4309$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4310if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 4311 $as_echo_n "(cached) " >&6 4312else 4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4314/* end confdefs.h. */ 4315 4316int 4317main () 4318{ 4319#ifndef __GNUC__ 4320 choke me 4321#endif 4322 4323 ; 4324 return 0; 4325} 4326_ACEOF 4327if ac_fn_cxx_try_compile "$LINENO"; then : 4328 ac_compiler_gnu=yes 4329else 4330 ac_compiler_gnu=no 4331fi 4332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4333ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4334 4335fi 4336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4337$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4338if test $ac_compiler_gnu = yes; then 4339 GXX=yes 4340else 4341 GXX= 4342fi 4343ac_test_CXXFLAGS=${CXXFLAGS+set} 4344ac_save_CXXFLAGS=$CXXFLAGS 4345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4346$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4347if test "${ac_cv_prog_cxx_g+set}" = set; then : 4348 $as_echo_n "(cached) " >&6 4349else 4350 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4351 ac_cxx_werror_flag=yes 4352 ac_cv_prog_cxx_g=no 4353 CXXFLAGS="-g" 4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4355/* end confdefs.h. */ 4356 4357int 4358main () 4359{ 4360 4361 ; 4362 return 0; 4363} 4364_ACEOF 4365if ac_fn_cxx_try_compile "$LINENO"; then : 4366 ac_cv_prog_cxx_g=yes 4367else 4368 CXXFLAGS="" 4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4370/* end confdefs.h. */ 4371 4372int 4373main () 4374{ 4375 4376 ; 4377 return 0; 4378} 4379_ACEOF 4380if ac_fn_cxx_try_compile "$LINENO"; then : 4381 4382else 4383 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4384 CXXFLAGS="-g" 4385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4386/* end confdefs.h. */ 4387 4388int 4389main () 4390{ 4391 4392 ; 4393 return 0; 4394} 4395_ACEOF 4396if ac_fn_cxx_try_compile "$LINENO"; then : 4397 ac_cv_prog_cxx_g=yes 4398fi 4399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4400fi 4401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4402fi 4403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4404 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4405fi 4406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4407$as_echo "$ac_cv_prog_cxx_g" >&6; } 4408if test "$ac_test_CXXFLAGS" = set; then 4409 CXXFLAGS=$ac_save_CXXFLAGS 4410elif test $ac_cv_prog_cxx_g = yes; then 4411 if test "$GXX" = yes; then 4412 CXXFLAGS="-g -O2" 4413 else 4414 CXXFLAGS="-g" 4415 fi 4416else 4417 if test "$GXX" = yes; then 4418 CXXFLAGS="-O2" 4419 else 4420 CXXFLAGS= 4421 fi 4422fi 4423ac_ext=c 4424ac_cpp='$CPP $CPPFLAGS' 4425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4427ac_compiler_gnu=$ac_cv_c_compiler_gnu 4428 4429depcc="$CXX" am_compiler_list= 4430 4431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4432$as_echo_n "checking dependency style of $depcc... " >&6; } 4433if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 4434 $as_echo_n "(cached) " >&6 4435else 4436 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4437 # We make a subdir and do the tests there. Otherwise we can end up 4438 # making bogus files that we don't know about and never remove. For 4439 # instance it was reported that on HP-UX the gcc test will end up 4440 # making a dummy file named `D' -- because `-MD' means `put the output 4441 # in D'. 4442 mkdir conftest.dir 4443 # Copy depcomp to subdir because otherwise we won't find it if we're 4444 # using a relative directory. 4445 cp "$am_depcomp" conftest.dir 4446 cd conftest.dir 4447 # We will build objects and dependencies in a subdirectory because 4448 # it helps to detect inapplicable dependency modes. For instance 4449 # both Tru64's cc and ICC support -MD to output dependencies as a 4450 # side effect of compilation, but ICC will put the dependencies in 4451 # the current directory while Tru64 will put them in the object 4452 # directory. 4453 mkdir sub 4454 4455 am_cv_CXX_dependencies_compiler_type=none 4456 if test "$am_compiler_list" = ""; then 4457 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4458 fi 4459 am__universal=false 4460 case " $depcc " in #( 4461 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4462 esac 4463 4464 for depmode in $am_compiler_list; do 4465 # Setup a source with many dependencies, because some compilers 4466 # like to wrap large dependency lists on column 80 (with \), and 4467 # we should not choose a depcomp mode which is confused by this. 4468 # 4469 # We need to recreate these files for each test, as the compiler may 4470 # overwrite some of them when testing with obscure command lines. 4471 # This happens at least with the AIX C compiler. 4472 : > sub/conftest.c 4473 for i in 1 2 3 4 5 6; do 4474 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4475 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4476 # Solaris 8's {/usr,}/bin/sh. 4477 touch sub/conftst$i.h 4478 done 4479 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4480 4481 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4482 # mode. It turns out that the SunPro C++ compiler does not properly 4483 # handle `-M -o', and we need to detect this. Also, some Intel 4484 # versions had trouble with output in subdirs 4485 am__obj=sub/conftest.${OBJEXT-o} 4486 am__minus_obj="-o $am__obj" 4487 case $depmode in 4488 gcc) 4489 # This depmode causes a compiler race in universal mode. 4490 test "$am__universal" = false || continue 4491 ;; 4492 nosideeffect) 4493 # after this tag, mechanisms are not by side-effect, so they'll 4494 # only be used when explicitly requested 4495 if test "x$enable_dependency_tracking" = xyes; then 4496 continue 4497 else 4498 break 4499 fi 4500 ;; 4501 msvisualcpp | msvcmsys) 4502 # This compiler won't grok `-c -o', but also, the minuso test has 4503 # not run yet. These depmodes are late enough in the game, and 4504 # so weak that their functioning should not be impacted. 4505 am__obj=conftest.${OBJEXT-o} 4506 am__minus_obj= 4507 ;; 4508 none) break ;; 4509 esac 4510 if depmode=$depmode \ 4511 source=sub/conftest.c object=$am__obj \ 4512 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4513 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4514 >/dev/null 2>conftest.err && 4515 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4516 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4517 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4518 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4519 # icc doesn't choke on unknown options, it will just issue warnings 4520 # or remarks (even with -Werror). So we grep stderr for any message 4521 # that says an option was ignored or not supported. 4522 # When given -MP, icc 7.0 and 7.1 complain thusly: 4523 # icc: Command line warning: ignoring option '-M'; no argument required 4524 # The diagnosis changed in icc 8.0: 4525 # icc: Command line remark: option '-MP' not supported 4526 if (grep 'ignoring option' conftest.err || 4527 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4528 am_cv_CXX_dependencies_compiler_type=$depmode 4529 break 4530 fi 4531 fi 4532 done 4533 4534 cd .. 4535 rm -rf conftest.dir 4536else 4537 am_cv_CXX_dependencies_compiler_type=none 4538fi 4539 4540fi 4541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4542$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4543CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4544 4545 if 4546 test "x$enable_dependency_tracking" != xno \ 4547 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4548 am__fastdepCXX_TRUE= 4549 am__fastdepCXX_FALSE='#' 4550else 4551 am__fastdepCXX_TRUE='#' 4552 am__fastdepCXX_FALSE= 4553fi 4554 4555 4556ac_ext=c 4557ac_cpp='$CPP $CPPFLAGS' 4558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4560ac_compiler_gnu=$ac_cv_c_compiler_gnu 4561if test -n "$ac_tool_prefix"; then 4562 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4563set dummy ${ac_tool_prefix}gcc; ac_word=$2 4564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4565$as_echo_n "checking for $ac_word... " >&6; } 4566if test "${ac_cv_prog_CC+set}" = set; then : 4567 $as_echo_n "(cached) " >&6 4568else 4569 if test -n "$CC"; then 4570 ac_cv_prog_CC="$CC" # Let the user override the test. 4571else 4572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4573for as_dir in $PATH 4574do 4575 IFS=$as_save_IFS 4576 test -z "$as_dir" && as_dir=. 4577 for ac_exec_ext in '' $ac_executable_extensions; do 4578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4579 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4581 break 2 4582 fi 4583done 4584 done 4585IFS=$as_save_IFS 4586 4587fi 4588fi 4589CC=$ac_cv_prog_CC 4590if test -n "$CC"; then 4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4592$as_echo "$CC" >&6; } 4593else 4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4595$as_echo "no" >&6; } 4596fi 4597 4598 4599fi 4600if test -z "$ac_cv_prog_CC"; then 4601 ac_ct_CC=$CC 4602 # Extract the first word of "gcc", so it can be a program name with args. 4603set dummy gcc; 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 test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4607 $as_echo_n "(cached) " >&6 4608else 4609 if test -n "$ac_ct_CC"; then 4610 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4619 ac_cv_prog_ac_ct_CC="gcc" 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 4629ac_ct_CC=$ac_cv_prog_ac_ct_CC 4630if test -n "$ac_ct_CC"; then 4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4632$as_echo "$ac_ct_CC" >&6; } 4633else 4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4635$as_echo "no" >&6; } 4636fi 4637 4638 if test "x$ac_ct_CC" = x; then 4639 CC="" 4640 else 4641 case $cross_compiling:$ac_tool_warned in 4642yes:) 4643{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4644$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4645ac_tool_warned=yes ;; 4646esac 4647 CC=$ac_ct_CC 4648 fi 4649else 4650 CC="$ac_cv_prog_CC" 4651fi 4652 4653if test -z "$CC"; then 4654 if test -n "$ac_tool_prefix"; then 4655 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4656set dummy ${ac_tool_prefix}cc; ac_word=$2 4657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4658$as_echo_n "checking for $ac_word... " >&6; } 4659if test "${ac_cv_prog_CC+set}" = set; then : 4660 $as_echo_n "(cached) " >&6 4661else 4662 if test -n "$CC"; then 4663 ac_cv_prog_CC="$CC" # Let the user override the test. 4664else 4665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4666for as_dir in $PATH 4667do 4668 IFS=$as_save_IFS 4669 test -z "$as_dir" && as_dir=. 4670 for ac_exec_ext in '' $ac_executable_extensions; do 4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4672 ac_cv_prog_CC="${ac_tool_prefix}cc" 4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4674 break 2 4675 fi 4676done 4677 done 4678IFS=$as_save_IFS 4679 4680fi 4681fi 4682CC=$ac_cv_prog_CC 4683if test -n "$CC"; then 4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4685$as_echo "$CC" >&6; } 4686else 4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4688$as_echo "no" >&6; } 4689fi 4690 4691 4692 fi 4693fi 4694if test -z "$CC"; then 4695 # Extract the first word of "cc", so it can be a program name with args. 4696set dummy cc; ac_word=$2 4697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4698$as_echo_n "checking for $ac_word... " >&6; } 4699if test "${ac_cv_prog_CC+set}" = set; then : 4700 $as_echo_n "(cached) " >&6 4701else 4702 if test -n "$CC"; then 4703 ac_cv_prog_CC="$CC" # Let the user override the test. 4704else 4705 ac_prog_rejected=no 4706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4707for as_dir in $PATH 4708do 4709 IFS=$as_save_IFS 4710 test -z "$as_dir" && as_dir=. 4711 for ac_exec_ext in '' $ac_executable_extensions; do 4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4713 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4714 ac_prog_rejected=yes 4715 continue 4716 fi 4717 ac_cv_prog_CC="cc" 4718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4719 break 2 4720 fi 4721done 4722 done 4723IFS=$as_save_IFS 4724 4725if test $ac_prog_rejected = yes; then 4726 # We found a bogon in the path, so make sure we never use it. 4727 set dummy $ac_cv_prog_CC 4728 shift 4729 if test $# != 0; then 4730 # We chose a different compiler from the bogus one. 4731 # However, it has the same basename, so the bogon will be chosen 4732 # first if we set CC to just the basename; use the full file name. 4733 shift 4734 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4735 fi 4736fi 4737fi 4738fi 4739CC=$ac_cv_prog_CC 4740if test -n "$CC"; then 4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4742$as_echo "$CC" >&6; } 4743else 4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4745$as_echo "no" >&6; } 4746fi 4747 4748 4749fi 4750if test -z "$CC"; then 4751 if test -n "$ac_tool_prefix"; then 4752 for ac_prog in cl.exe 4753 do 4754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4755set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4757$as_echo_n "checking for $ac_word... " >&6; } 4758if test "${ac_cv_prog_CC+set}" = set; then : 4759 $as_echo_n "(cached) " >&6 4760else 4761 if test -n "$CC"; then 4762 ac_cv_prog_CC="$CC" # Let the user override the test. 4763else 4764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4765for as_dir in $PATH 4766do 4767 IFS=$as_save_IFS 4768 test -z "$as_dir" && as_dir=. 4769 for ac_exec_ext in '' $ac_executable_extensions; do 4770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4771 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4773 break 2 4774 fi 4775done 4776 done 4777IFS=$as_save_IFS 4778 4779fi 4780fi 4781CC=$ac_cv_prog_CC 4782if test -n "$CC"; then 4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4784$as_echo "$CC" >&6; } 4785else 4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4787$as_echo "no" >&6; } 4788fi 4789 4790 4791 test -n "$CC" && break 4792 done 4793fi 4794if test -z "$CC"; then 4795 ac_ct_CC=$CC 4796 for ac_prog in cl.exe 4797do 4798 # Extract the first word of "$ac_prog", so it can be a program name with args. 4799set dummy $ac_prog; ac_word=$2 4800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4801$as_echo_n "checking for $ac_word... " >&6; } 4802if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4803 $as_echo_n "(cached) " >&6 4804else 4805 if test -n "$ac_ct_CC"; then 4806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4807else 4808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4809for as_dir in $PATH 4810do 4811 IFS=$as_save_IFS 4812 test -z "$as_dir" && as_dir=. 4813 for ac_exec_ext in '' $ac_executable_extensions; do 4814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4815 ac_cv_prog_ac_ct_CC="$ac_prog" 4816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4817 break 2 4818 fi 4819done 4820 done 4821IFS=$as_save_IFS 4822 4823fi 4824fi 4825ac_ct_CC=$ac_cv_prog_ac_ct_CC 4826if test -n "$ac_ct_CC"; then 4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4828$as_echo "$ac_ct_CC" >&6; } 4829else 4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4831$as_echo "no" >&6; } 4832fi 4833 4834 4835 test -n "$ac_ct_CC" && break 4836done 4837 4838 if test "x$ac_ct_CC" = x; then 4839 CC="" 4840 else 4841 case $cross_compiling:$ac_tool_warned in 4842yes:) 4843{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4844$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4845ac_tool_warned=yes ;; 4846esac 4847 CC=$ac_ct_CC 4848 fi 4849fi 4850 4851fi 4852 4853 4854test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4855$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4856as_fn_error "no acceptable C compiler found in \$PATH 4857See \`config.log' for more details." "$LINENO" 5; } 4858 4859# Provide some information about the compiler. 4860$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4861set X $ac_compile 4862ac_compiler=$2 4863for ac_option in --version -v -V -qversion; do 4864 { { ac_try="$ac_compiler $ac_option >&5" 4865case "(($ac_try" in 4866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4867 *) ac_try_echo=$ac_try;; 4868esac 4869eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4870$as_echo "$ac_try_echo"; } >&5 4871 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4872 ac_status=$? 4873 if test -s conftest.err; then 4874 sed '10a\ 4875... rest of stderr output deleted ... 4876 10q' conftest.err >conftest.er1 4877 cat conftest.er1 >&5 4878 fi 4879 rm -f conftest.er1 conftest.err 4880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4881 test $ac_status = 0; } 4882done 4883 4884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4885$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4886if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4887 $as_echo_n "(cached) " >&6 4888else 4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4890/* end confdefs.h. */ 4891 4892int 4893main () 4894{ 4895#ifndef __GNUC__ 4896 choke me 4897#endif 4898 4899 ; 4900 return 0; 4901} 4902_ACEOF 4903if ac_fn_c_try_compile "$LINENO"; then : 4904 ac_compiler_gnu=yes 4905else 4906 ac_compiler_gnu=no 4907fi 4908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4909ac_cv_c_compiler_gnu=$ac_compiler_gnu 4910 4911fi 4912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4913$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4914if test $ac_compiler_gnu = yes; then 4915 GCC=yes 4916else 4917 GCC= 4918fi 4919ac_test_CFLAGS=${CFLAGS+set} 4920ac_save_CFLAGS=$CFLAGS 4921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4922$as_echo_n "checking whether $CC accepts -g... " >&6; } 4923if test "${ac_cv_prog_cc_g+set}" = set; then : 4924 $as_echo_n "(cached) " >&6 4925else 4926 ac_save_c_werror_flag=$ac_c_werror_flag 4927 ac_c_werror_flag=yes 4928 ac_cv_prog_cc_g=no 4929 CFLAGS="-g" 4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4931/* end confdefs.h. */ 4932 4933int 4934main () 4935{ 4936 4937 ; 4938 return 0; 4939} 4940_ACEOF 4941if ac_fn_c_try_compile "$LINENO"; then : 4942 ac_cv_prog_cc_g=yes 4943else 4944 CFLAGS="" 4945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4946/* end confdefs.h. */ 4947 4948int 4949main () 4950{ 4951 4952 ; 4953 return 0; 4954} 4955_ACEOF 4956if ac_fn_c_try_compile "$LINENO"; then : 4957 4958else 4959 ac_c_werror_flag=$ac_save_c_werror_flag 4960 CFLAGS="-g" 4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4962/* end confdefs.h. */ 4963 4964int 4965main () 4966{ 4967 4968 ; 4969 return 0; 4970} 4971_ACEOF 4972if ac_fn_c_try_compile "$LINENO"; then : 4973 ac_cv_prog_cc_g=yes 4974fi 4975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4976fi 4977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4978fi 4979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4980 ac_c_werror_flag=$ac_save_c_werror_flag 4981fi 4982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4983$as_echo "$ac_cv_prog_cc_g" >&6; } 4984if test "$ac_test_CFLAGS" = set; then 4985 CFLAGS=$ac_save_CFLAGS 4986elif test $ac_cv_prog_cc_g = yes; then 4987 if test "$GCC" = yes; then 4988 CFLAGS="-g -O2" 4989 else 4990 CFLAGS="-g" 4991 fi 4992else 4993 if test "$GCC" = yes; then 4994 CFLAGS="-O2" 4995 else 4996 CFLAGS= 4997 fi 4998fi 4999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5000$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5001if test "${ac_cv_prog_cc_c89+set}" = set; then : 5002 $as_echo_n "(cached) " >&6 5003else 5004 ac_cv_prog_cc_c89=no 5005ac_save_CC=$CC 5006cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5007/* end confdefs.h. */ 5008#include <stdarg.h> 5009#include <stdio.h> 5010#include <sys/types.h> 5011#include <sys/stat.h> 5012/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5013struct buf { int x; }; 5014FILE * (*rcsopen) (struct buf *, struct stat *, int); 5015static char *e (p, i) 5016 char **p; 5017 int i; 5018{ 5019 return p[i]; 5020} 5021static char *f (char * (*g) (char **, int), char **p, ...) 5022{ 5023 char *s; 5024 va_list v; 5025 va_start (v,p); 5026 s = g (p, va_arg (v,int)); 5027 va_end (v); 5028 return s; 5029} 5030 5031/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5032 function prototypes and stuff, but not '\xHH' hex character constants. 5033 These don't provoke an error unfortunately, instead are silently treated 5034 as 'x'. The following induces an error, until -std is added to get 5035 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5036 array size at least. It's necessary to write '\x00'==0 to get something 5037 that's true only with -std. */ 5038int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5039 5040/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5041 inside strings and character constants. */ 5042#define FOO(x) 'x' 5043int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5044 5045int test (int i, double x); 5046struct s1 {int (*f) (int a);}; 5047struct s2 {int (*f) (double a);}; 5048int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5049int argc; 5050char **argv; 5051int 5052main () 5053{ 5054return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5055 ; 5056 return 0; 5057} 5058_ACEOF 5059for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5060 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5061do 5062 CC="$ac_save_CC $ac_arg" 5063 if ac_fn_c_try_compile "$LINENO"; then : 5064 ac_cv_prog_cc_c89=$ac_arg 5065fi 5066rm -f core conftest.err conftest.$ac_objext 5067 test "x$ac_cv_prog_cc_c89" != "xno" && break 5068done 5069rm -f conftest.$ac_ext 5070CC=$ac_save_CC 5071 5072fi 5073# AC_CACHE_VAL 5074case "x$ac_cv_prog_cc_c89" in 5075 x) 5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5077$as_echo "none needed" >&6; } ;; 5078 xno) 5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5080$as_echo "unsupported" >&6; } ;; 5081 *) 5082 CC="$CC $ac_cv_prog_cc_c89" 5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5084$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5085esac 5086if test "x$ac_cv_prog_cc_c89" != xno; then : 5087 5088fi 5089 5090ac_ext=c 5091ac_cpp='$CPP $CPPFLAGS' 5092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5093ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5094ac_compiler_gnu=$ac_cv_c_compiler_gnu 5095 5096depcc="$CC" am_compiler_list= 5097 5098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5099$as_echo_n "checking dependency style of $depcc... " >&6; } 5100if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 5101 $as_echo_n "(cached) " >&6 5102else 5103 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5104 # We make a subdir and do the tests there. Otherwise we can end up 5105 # making bogus files that we don't know about and never remove. For 5106 # instance it was reported that on HP-UX the gcc test will end up 5107 # making a dummy file named `D' -- because `-MD' means `put the output 5108 # in D'. 5109 mkdir conftest.dir 5110 # Copy depcomp to subdir because otherwise we won't find it if we're 5111 # using a relative directory. 5112 cp "$am_depcomp" conftest.dir 5113 cd conftest.dir 5114 # We will build objects and dependencies in a subdirectory because 5115 # it helps to detect inapplicable dependency modes. For instance 5116 # both Tru64's cc and ICC support -MD to output dependencies as a 5117 # side effect of compilation, but ICC will put the dependencies in 5118 # the current directory while Tru64 will put them in the object 5119 # directory. 5120 mkdir sub 5121 5122 am_cv_CC_dependencies_compiler_type=none 5123 if test "$am_compiler_list" = ""; then 5124 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5125 fi 5126 am__universal=false 5127 case " $depcc " in #( 5128 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5129 esac 5130 5131 for depmode in $am_compiler_list; do 5132 # Setup a source with many dependencies, because some compilers 5133 # like to wrap large dependency lists on column 80 (with \), and 5134 # we should not choose a depcomp mode which is confused by this. 5135 # 5136 # We need to recreate these files for each test, as the compiler may 5137 # overwrite some of them when testing with obscure command lines. 5138 # This happens at least with the AIX C compiler. 5139 : > sub/conftest.c 5140 for i in 1 2 3 4 5 6; do 5141 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5142 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 5143 # Solaris 8's {/usr,}/bin/sh. 5144 touch sub/conftst$i.h 5145 done 5146 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5147 5148 # We check with `-c' and `-o' for the sake of the "dashmstdout" 5149 # mode. It turns out that the SunPro C++ compiler does not properly 5150 # handle `-M -o', and we need to detect this. Also, some Intel 5151 # versions had trouble with output in subdirs 5152 am__obj=sub/conftest.${OBJEXT-o} 5153 am__minus_obj="-o $am__obj" 5154 case $depmode in 5155 gcc) 5156 # This depmode causes a compiler race in universal mode. 5157 test "$am__universal" = false || continue 5158 ;; 5159 nosideeffect) 5160 # after this tag, mechanisms are not by side-effect, so they'll 5161 # only be used when explicitly requested 5162 if test "x$enable_dependency_tracking" = xyes; then 5163 continue 5164 else 5165 break 5166 fi 5167 ;; 5168 msvisualcpp | msvcmsys) 5169 # This compiler won't grok `-c -o', but also, the minuso test has 5170 # not run yet. These depmodes are late enough in the game, and 5171 # so weak that their functioning should not be impacted. 5172 am__obj=conftest.${OBJEXT-o} 5173 am__minus_obj= 5174 ;; 5175 none) break ;; 5176 esac 5177 if depmode=$depmode \ 5178 source=sub/conftest.c object=$am__obj \ 5179 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5180 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5181 >/dev/null 2>conftest.err && 5182 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5183 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5184 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5185 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5186 # icc doesn't choke on unknown options, it will just issue warnings 5187 # or remarks (even with -Werror). So we grep stderr for any message 5188 # that says an option was ignored or not supported. 5189 # When given -MP, icc 7.0 and 7.1 complain thusly: 5190 # icc: Command line warning: ignoring option '-M'; no argument required 5191 # The diagnosis changed in icc 8.0: 5192 # icc: Command line remark: option '-MP' not supported 5193 if (grep 'ignoring option' conftest.err || 5194 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5195 am_cv_CC_dependencies_compiler_type=$depmode 5196 break 5197 fi 5198 fi 5199 done 5200 5201 cd .. 5202 rm -rf conftest.dir 5203else 5204 am_cv_CC_dependencies_compiler_type=none 5205fi 5206 5207fi 5208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5209$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5210CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5211 5212 if 5213 test "x$enable_dependency_tracking" != xno \ 5214 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5215 am__fastdepCC_TRUE= 5216 am__fastdepCC_FALSE='#' 5217else 5218 am__fastdepCC_TRUE='#' 5219 am__fastdepCC_FALSE= 5220fi 5221 5222 5223ac_ext=c 5224ac_cpp='$CPP $CPPFLAGS' 5225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5227ac_compiler_gnu=$ac_cv_c_compiler_gnu 5228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5229$as_echo_n "checking how to run the C preprocessor... " >&6; } 5230# On Suns, sometimes $CPP names a directory. 5231if test -n "$CPP" && test -d "$CPP"; then 5232 CPP= 5233fi 5234if test -z "$CPP"; then 5235 if test "${ac_cv_prog_CPP+set}" = set; then : 5236 $as_echo_n "(cached) " >&6 5237else 5238 # Double quotes because CPP needs to be expanded 5239 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5240 do 5241 ac_preproc_ok=false 5242for ac_c_preproc_warn_flag in '' yes 5243do 5244 # Use a header file that comes with gcc, so configuring glibc 5245 # with a fresh cross-compiler works. 5246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5247 # <limits.h> exists even on freestanding compilers. 5248 # On the NeXT, cc -E runs the code through the compiler's parser, 5249 # not just through cpp. "Syntax error" is here to catch this case. 5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5251/* end confdefs.h. */ 5252#ifdef __STDC__ 5253# include <limits.h> 5254#else 5255# include <assert.h> 5256#endif 5257 Syntax error 5258_ACEOF 5259if ac_fn_c_try_cpp "$LINENO"; then : 5260 5261else 5262 # Broken: fails on valid input. 5263continue 5264fi 5265rm -f conftest.err conftest.$ac_ext 5266 5267 # OK, works on sane cases. Now check whether nonexistent headers 5268 # can be detected and how. 5269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5270/* end confdefs.h. */ 5271#include <ac_nonexistent.h> 5272_ACEOF 5273if ac_fn_c_try_cpp "$LINENO"; then : 5274 # Broken: success on invalid input. 5275continue 5276else 5277 # Passes both tests. 5278ac_preproc_ok=: 5279break 5280fi 5281rm -f conftest.err conftest.$ac_ext 5282 5283done 5284# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5285rm -f conftest.err conftest.$ac_ext 5286if $ac_preproc_ok; then : 5287 break 5288fi 5289 5290 done 5291 ac_cv_prog_CPP=$CPP 5292 5293fi 5294 CPP=$ac_cv_prog_CPP 5295else 5296 ac_cv_prog_CPP=$CPP 5297fi 5298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5299$as_echo "$CPP" >&6; } 5300ac_preproc_ok=false 5301for ac_c_preproc_warn_flag in '' yes 5302do 5303 # Use a header file that comes with gcc, so configuring glibc 5304 # with a fresh cross-compiler works. 5305 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5306 # <limits.h> exists even on freestanding compilers. 5307 # On the NeXT, cc -E runs the code through the compiler's parser, 5308 # not just through cpp. "Syntax error" is here to catch this case. 5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5310/* end confdefs.h. */ 5311#ifdef __STDC__ 5312# include <limits.h> 5313#else 5314# include <assert.h> 5315#endif 5316 Syntax error 5317_ACEOF 5318if ac_fn_c_try_cpp "$LINENO"; then : 5319 5320else 5321 # Broken: fails on valid input. 5322continue 5323fi 5324rm -f conftest.err conftest.$ac_ext 5325 5326 # OK, works on sane cases. Now check whether nonexistent headers 5327 # can be detected and how. 5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5329/* end confdefs.h. */ 5330#include <ac_nonexistent.h> 5331_ACEOF 5332if ac_fn_c_try_cpp "$LINENO"; then : 5333 # Broken: success on invalid input. 5334continue 5335else 5336 # Passes both tests. 5337ac_preproc_ok=: 5338break 5339fi 5340rm -f conftest.err conftest.$ac_ext 5341 5342done 5343# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5344rm -f conftest.err conftest.$ac_ext 5345if $ac_preproc_ok; then : 5346 5347else 5348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5350as_fn_error "C preprocessor \"$CPP\" fails sanity check 5351See \`config.log' for more details." "$LINENO" 5; } 5352fi 5353 5354ac_ext=c 5355ac_cpp='$CPP $CPPFLAGS' 5356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5358ac_compiler_gnu=$ac_cv_c_compiler_gnu 5359 5360CXXFLAGS="$save_CXXFLAGS" 5361CFLAGS="$save_CFLAGS" 5362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5363$as_echo_n "checking whether ln -s works... " >&6; } 5364LN_S=$as_ln_s 5365if test "$LN_S" = "ln -s"; then 5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5367$as_echo "yes" >&6; } 5368else 5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5370$as_echo "no, using $LN_S" >&6; } 5371fi 5372 5373 5374case `pwd` in 5375 *\ * | *\ *) 5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5377$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5378esac 5379 5380 5381 5382macro_version='2.2.6b' 5383macro_revision='1.3017' 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397ltmain="$ac_aux_dir/ltmain.sh" 5398 5399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5400$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5401if test "${ac_cv_path_SED+set}" = set; then : 5402 $as_echo_n "(cached) " >&6 5403else 5404 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5405 for ac_i in 1 2 3 4 5 6 7; do 5406 ac_script="$ac_script$as_nl$ac_script" 5407 done 5408 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5409 { ac_script=; unset ac_script;} 5410 if test -z "$SED"; then 5411 ac_path_SED_found=false 5412 # Loop through the user's path and test for each of PROGNAME-LIST 5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5414for as_dir in $PATH 5415do 5416 IFS=$as_save_IFS 5417 test -z "$as_dir" && as_dir=. 5418 for ac_prog in sed gsed; do 5419 for ac_exec_ext in '' $ac_executable_extensions; do 5420 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5421 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 5422# Check for GNU ac_path_SED and select it if it is found. 5423 # Check for GNU $ac_path_SED 5424case `"$ac_path_SED" --version 2>&1` in 5425*GNU*) 5426 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5427*) 5428 ac_count=0 5429 $as_echo_n 0123456789 >"conftest.in" 5430 while : 5431 do 5432 cat "conftest.in" "conftest.in" >"conftest.tmp" 5433 mv "conftest.tmp" "conftest.in" 5434 cp "conftest.in" "conftest.nl" 5435 $as_echo '' >> "conftest.nl" 5436 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5438 as_fn_arith $ac_count + 1 && ac_count=$as_val 5439 if test $ac_count -gt ${ac_path_SED_max-0}; then 5440 # Best one so far, save it but keep looking for a better one 5441 ac_cv_path_SED="$ac_path_SED" 5442 ac_path_SED_max=$ac_count 5443 fi 5444 # 10*(2^10) chars as input seems more than enough 5445 test $ac_count -gt 10 && break 5446 done 5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5448esac 5449 5450 $ac_path_SED_found && break 3 5451 done 5452 done 5453 done 5454IFS=$as_save_IFS 5455 if test -z "$ac_cv_path_SED"; then 5456 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 5457 fi 5458else 5459 ac_cv_path_SED=$SED 5460fi 5461 5462fi 5463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5464$as_echo "$ac_cv_path_SED" >&6; } 5465 SED="$ac_cv_path_SED" 5466 rm -f conftest.sed 5467 5468test -z "$SED" && SED=sed 5469Xsed="$SED -e 1s/^X//" 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5482$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5483if test "${ac_cv_path_GREP+set}" = set; then : 5484 $as_echo_n "(cached) " >&6 5485else 5486 if test -z "$GREP"; then 5487 ac_path_GREP_found=false 5488 # Loop through the user's path and test for each of PROGNAME-LIST 5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5490for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5491do 5492 IFS=$as_save_IFS 5493 test -z "$as_dir" && as_dir=. 5494 for ac_prog in grep ggrep; do 5495 for ac_exec_ext in '' $ac_executable_extensions; do 5496 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5497 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 5498# Check for GNU ac_path_GREP and select it if it is found. 5499 # Check for GNU $ac_path_GREP 5500case `"$ac_path_GREP" --version 2>&1` in 5501*GNU*) 5502 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5503*) 5504 ac_count=0 5505 $as_echo_n 0123456789 >"conftest.in" 5506 while : 5507 do 5508 cat "conftest.in" "conftest.in" >"conftest.tmp" 5509 mv "conftest.tmp" "conftest.in" 5510 cp "conftest.in" "conftest.nl" 5511 $as_echo 'GREP' >> "conftest.nl" 5512 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5513 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5514 as_fn_arith $ac_count + 1 && ac_count=$as_val 5515 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5516 # Best one so far, save it but keep looking for a better one 5517 ac_cv_path_GREP="$ac_path_GREP" 5518 ac_path_GREP_max=$ac_count 5519 fi 5520 # 10*(2^10) chars as input seems more than enough 5521 test $ac_count -gt 10 && break 5522 done 5523 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5524esac 5525 5526 $ac_path_GREP_found && break 3 5527 done 5528 done 5529 done 5530IFS=$as_save_IFS 5531 if test -z "$ac_cv_path_GREP"; then 5532 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5533 fi 5534else 5535 ac_cv_path_GREP=$GREP 5536fi 5537 5538fi 5539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5540$as_echo "$ac_cv_path_GREP" >&6; } 5541 GREP="$ac_cv_path_GREP" 5542 5543 5544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5545$as_echo_n "checking for egrep... " >&6; } 5546if test "${ac_cv_path_EGREP+set}" = set; then : 5547 $as_echo_n "(cached) " >&6 5548else 5549 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5550 then ac_cv_path_EGREP="$GREP -E" 5551 else 5552 if test -z "$EGREP"; then 5553 ac_path_EGREP_found=false 5554 # Loop through the user's path and test for each of PROGNAME-LIST 5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5556for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5557do 5558 IFS=$as_save_IFS 5559 test -z "$as_dir" && as_dir=. 5560 for ac_prog in egrep; do 5561 for ac_exec_ext in '' $ac_executable_extensions; do 5562 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5563 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 5564# Check for GNU ac_path_EGREP and select it if it is found. 5565 # Check for GNU $ac_path_EGREP 5566case `"$ac_path_EGREP" --version 2>&1` in 5567*GNU*) 5568 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5569*) 5570 ac_count=0 5571 $as_echo_n 0123456789 >"conftest.in" 5572 while : 5573 do 5574 cat "conftest.in" "conftest.in" >"conftest.tmp" 5575 mv "conftest.tmp" "conftest.in" 5576 cp "conftest.in" "conftest.nl" 5577 $as_echo 'EGREP' >> "conftest.nl" 5578 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5579 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5580 as_fn_arith $ac_count + 1 && ac_count=$as_val 5581 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5582 # Best one so far, save it but keep looking for a better one 5583 ac_cv_path_EGREP="$ac_path_EGREP" 5584 ac_path_EGREP_max=$ac_count 5585 fi 5586 # 10*(2^10) chars as input seems more than enough 5587 test $ac_count -gt 10 && break 5588 done 5589 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5590esac 5591 5592 $ac_path_EGREP_found && break 3 5593 done 5594 done 5595 done 5596IFS=$as_save_IFS 5597 if test -z "$ac_cv_path_EGREP"; then 5598 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5599 fi 5600else 5601 ac_cv_path_EGREP=$EGREP 5602fi 5603 5604 fi 5605fi 5606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5607$as_echo "$ac_cv_path_EGREP" >&6; } 5608 EGREP="$ac_cv_path_EGREP" 5609 5610 5611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5612$as_echo_n "checking for fgrep... " >&6; } 5613if test "${ac_cv_path_FGREP+set}" = set; then : 5614 $as_echo_n "(cached) " >&6 5615else 5616 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5617 then ac_cv_path_FGREP="$GREP -F" 5618 else 5619 if test -z "$FGREP"; then 5620 ac_path_FGREP_found=false 5621 # Loop through the user's path and test for each of PROGNAME-LIST 5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5623for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5624do 5625 IFS=$as_save_IFS 5626 test -z "$as_dir" && as_dir=. 5627 for ac_prog in fgrep; do 5628 for ac_exec_ext in '' $ac_executable_extensions; do 5629 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5630 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5631# Check for GNU ac_path_FGREP and select it if it is found. 5632 # Check for GNU $ac_path_FGREP 5633case `"$ac_path_FGREP" --version 2>&1` in 5634*GNU*) 5635 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5636*) 5637 ac_count=0 5638 $as_echo_n 0123456789 >"conftest.in" 5639 while : 5640 do 5641 cat "conftest.in" "conftest.in" >"conftest.tmp" 5642 mv "conftest.tmp" "conftest.in" 5643 cp "conftest.in" "conftest.nl" 5644 $as_echo 'FGREP' >> "conftest.nl" 5645 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5646 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5647 as_fn_arith $ac_count + 1 && ac_count=$as_val 5648 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5649 # Best one so far, save it but keep looking for a better one 5650 ac_cv_path_FGREP="$ac_path_FGREP" 5651 ac_path_FGREP_max=$ac_count 5652 fi 5653 # 10*(2^10) chars as input seems more than enough 5654 test $ac_count -gt 10 && break 5655 done 5656 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5657esac 5658 5659 $ac_path_FGREP_found && break 3 5660 done 5661 done 5662 done 5663IFS=$as_save_IFS 5664 if test -z "$ac_cv_path_FGREP"; then 5665 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5666 fi 5667else 5668 ac_cv_path_FGREP=$FGREP 5669fi 5670 5671 fi 5672fi 5673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5674$as_echo "$ac_cv_path_FGREP" >&6; } 5675 FGREP="$ac_cv_path_FGREP" 5676 5677 5678test -z "$GREP" && GREP=grep 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698# Check whether --with-gnu-ld was given. 5699if test "${with_gnu_ld+set}" = set; then : 5700 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5701else 5702 with_gnu_ld=no 5703fi 5704 5705ac_prog=ld 5706if test "$GCC" = yes; then 5707 # Check if gcc -print-prog-name=ld gives a path. 5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5709$as_echo_n "checking for ld used by $CC... " >&6; } 5710 case $host in 5711 *-*-mingw*) 5712 # gcc leaves a trailing carriage return which upsets mingw 5713 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5714 *) 5715 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5716 esac 5717 case $ac_prog in 5718 # Accept absolute paths. 5719 [\\/]* | ?:[\\/]*) 5720 re_direlt='/[^/][^/]*/\.\./' 5721 # Canonicalize the pathname of ld 5722 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5723 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5724 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5725 done 5726 test -z "$LD" && LD="$ac_prog" 5727 ;; 5728 "") 5729 # If it fails, then pretend we aren't using GCC. 5730 ac_prog=ld 5731 ;; 5732 *) 5733 # If it is relative, then search for the first ld in PATH. 5734 with_gnu_ld=unknown 5735 ;; 5736 esac 5737elif test "$with_gnu_ld" = yes; then 5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5739$as_echo_n "checking for GNU ld... " >&6; } 5740else 5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5742$as_echo_n "checking for non-GNU ld... " >&6; } 5743fi 5744if test "${lt_cv_path_LD+set}" = set; then : 5745 $as_echo_n "(cached) " >&6 5746else 5747 if test -z "$LD"; then 5748 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5749 for ac_dir in $PATH; do 5750 IFS="$lt_save_ifs" 5751 test -z "$ac_dir" && ac_dir=. 5752 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5753 lt_cv_path_LD="$ac_dir/$ac_prog" 5754 # Check to see if the program is GNU ld. I'd rather use --version, 5755 # but apparently some variants of GNU ld only accept -v. 5756 # Break only if it was the GNU/non-GNU ld that we prefer. 5757 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5758 *GNU* | *'with BFD'*) 5759 test "$with_gnu_ld" != no && break 5760 ;; 5761 *) 5762 test "$with_gnu_ld" != yes && break 5763 ;; 5764 esac 5765 fi 5766 done 5767 IFS="$lt_save_ifs" 5768else 5769 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5770fi 5771fi 5772 5773LD="$lt_cv_path_LD" 5774if test -n "$LD"; then 5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5776$as_echo "$LD" >&6; } 5777else 5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5779$as_echo "no" >&6; } 5780fi 5781test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 5782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5783$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5784if test "${lt_cv_prog_gnu_ld+set}" = set; then : 5785 $as_echo_n "(cached) " >&6 5786else 5787 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5788case `$LD -v 2>&1 </dev/null` in 5789*GNU* | *'with BFD'*) 5790 lt_cv_prog_gnu_ld=yes 5791 ;; 5792*) 5793 lt_cv_prog_gnu_ld=no 5794 ;; 5795esac 5796fi 5797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5798$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5799with_gnu_ld=$lt_cv_prog_gnu_ld 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5810$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5811if test "${lt_cv_path_NM+set}" = set; then : 5812 $as_echo_n "(cached) " >&6 5813else 5814 if test -n "$NM"; then 5815 # Let the user override the test. 5816 lt_cv_path_NM="$NM" 5817else 5818 lt_nm_to_check="${ac_tool_prefix}nm" 5819 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5820 lt_nm_to_check="$lt_nm_to_check nm" 5821 fi 5822 for lt_tmp_nm in $lt_nm_to_check; do 5823 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5824 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5825 IFS="$lt_save_ifs" 5826 test -z "$ac_dir" && ac_dir=. 5827 tmp_nm="$ac_dir/$lt_tmp_nm" 5828 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5829 # Check to see if the nm accepts a BSD-compat flag. 5830 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5831 # nm: unknown option "B" ignored 5832 # Tru64's nm complains that /dev/null is an invalid object file 5833 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5834 */dev/null* | *'Invalid file or object type'*) 5835 lt_cv_path_NM="$tmp_nm -B" 5836 break 5837 ;; 5838 *) 5839 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5840 */dev/null*) 5841 lt_cv_path_NM="$tmp_nm -p" 5842 break 5843 ;; 5844 *) 5845 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5846 continue # so that we can try to find one that supports BSD flags 5847 ;; 5848 esac 5849 ;; 5850 esac 5851 fi 5852 done 5853 IFS="$lt_save_ifs" 5854 done 5855 : ${lt_cv_path_NM=no} 5856fi 5857fi 5858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5859$as_echo "$lt_cv_path_NM" >&6; } 5860if test "$lt_cv_path_NM" != "no"; then 5861 NM="$lt_cv_path_NM" 5862else 5863 # Didn't find any BSD compatible name lister, look for dumpbin. 5864 if test -n "$ac_tool_prefix"; then 5865 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5866 do 5867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5868set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5870$as_echo_n "checking for $ac_word... " >&6; } 5871if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 5872 $as_echo_n "(cached) " >&6 5873else 5874 if test -n "$DUMPBIN"; then 5875 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5876else 5877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5878for as_dir in $PATH 5879do 5880 IFS=$as_save_IFS 5881 test -z "$as_dir" && as_dir=. 5882 for ac_exec_ext in '' $ac_executable_extensions; do 5883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5884 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5886 break 2 5887 fi 5888done 5889 done 5890IFS=$as_save_IFS 5891 5892fi 5893fi 5894DUMPBIN=$ac_cv_prog_DUMPBIN 5895if test -n "$DUMPBIN"; then 5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5897$as_echo "$DUMPBIN" >&6; } 5898else 5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5900$as_echo "no" >&6; } 5901fi 5902 5903 5904 test -n "$DUMPBIN" && break 5905 done 5906fi 5907if test -z "$DUMPBIN"; then 5908 ac_ct_DUMPBIN=$DUMPBIN 5909 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5910do 5911 # Extract the first word of "$ac_prog", so it can be a program name with args. 5912set dummy $ac_prog; ac_word=$2 5913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5914$as_echo_n "checking for $ac_word... " >&6; } 5915if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 5916 $as_echo_n "(cached) " >&6 5917else 5918 if test -n "$ac_ct_DUMPBIN"; then 5919 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5920else 5921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5922for as_dir in $PATH 5923do 5924 IFS=$as_save_IFS 5925 test -z "$as_dir" && as_dir=. 5926 for ac_exec_ext in '' $ac_executable_extensions; do 5927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5928 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5930 break 2 5931 fi 5932done 5933 done 5934IFS=$as_save_IFS 5935 5936fi 5937fi 5938ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5939if test -n "$ac_ct_DUMPBIN"; then 5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5941$as_echo "$ac_ct_DUMPBIN" >&6; } 5942else 5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5944$as_echo "no" >&6; } 5945fi 5946 5947 5948 test -n "$ac_ct_DUMPBIN" && break 5949done 5950 5951 if test "x$ac_ct_DUMPBIN" = x; then 5952 DUMPBIN=":" 5953 else 5954 case $cross_compiling:$ac_tool_warned in 5955yes:) 5956{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5957$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5958ac_tool_warned=yes ;; 5959esac 5960 DUMPBIN=$ac_ct_DUMPBIN 5961 fi 5962fi 5963 5964 5965 if test "$DUMPBIN" != ":"; then 5966 NM="$DUMPBIN" 5967 fi 5968fi 5969test -z "$NM" && NM=nm 5970 5971 5972 5973 5974 5975 5976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5977$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5978if test "${lt_cv_nm_interface+set}" = set; then : 5979 $as_echo_n "(cached) " >&6 5980else 5981 lt_cv_nm_interface="BSD nm" 5982 echo "int some_variable = 0;" > conftest.$ac_ext 5983 (eval echo "\"\$as_me:5983: $ac_compile\"" >&5) 5984 (eval "$ac_compile" 2>conftest.err) 5985 cat conftest.err >&5 5986 (eval echo "\"\$as_me:5986: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5987 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5988 cat conftest.err >&5 5989 (eval echo "\"\$as_me:5989: output\"" >&5) 5990 cat conftest.out >&5 5991 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5992 lt_cv_nm_interface="MS dumpbin" 5993 fi 5994 rm -f conftest* 5995fi 5996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5997$as_echo "$lt_cv_nm_interface" >&6; } 5998 5999# find the maximum length of command line arguments 6000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6001$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6002if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 6003 $as_echo_n "(cached) " >&6 6004else 6005 i=0 6006 teststring="ABCD" 6007 6008 case $build_os in 6009 msdosdjgpp*) 6010 # On DJGPP, this test can blow up pretty badly due to problems in libc 6011 # (any single argument exceeding 2000 bytes causes a buffer overrun 6012 # during glob expansion). Even if it were fixed, the result of this 6013 # check would be larger than it should be. 6014 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6015 ;; 6016 6017 gnu*) 6018 # Under GNU Hurd, this test is not required because there is 6019 # no limit to the length of command line arguments. 6020 # Libtool will interpret -1 as no limit whatsoever 6021 lt_cv_sys_max_cmd_len=-1; 6022 ;; 6023 6024 cygwin* | mingw* | cegcc*) 6025 # On Win9x/ME, this test blows up -- it succeeds, but takes 6026 # about 5 minutes as the teststring grows exponentially. 6027 # Worse, since 9x/ME are not pre-emptively multitasking, 6028 # you end up with a "frozen" computer, even though with patience 6029 # the test eventually succeeds (with a max line length of 256k). 6030 # Instead, let's just punt: use the minimum linelength reported by 6031 # all of the supported platforms: 8192 (on NT/2K/XP). 6032 lt_cv_sys_max_cmd_len=8192; 6033 ;; 6034 6035 amigaos*) 6036 # On AmigaOS with pdksh, this test takes hours, literally. 6037 # So we just punt and use a minimum line length of 8192. 6038 lt_cv_sys_max_cmd_len=8192; 6039 ;; 6040 6041 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6042 # This has been around since 386BSD, at least. Likely further. 6043 if test -x /sbin/sysctl; then 6044 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6045 elif test -x /usr/sbin/sysctl; then 6046 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6047 else 6048 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6049 fi 6050 # And add a safety zone 6051 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6052 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6053 ;; 6054 6055 interix*) 6056 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6057 lt_cv_sys_max_cmd_len=196608 6058 ;; 6059 6060 osf*) 6061 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6062 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6063 # nice to cause kernel panics so lets avoid the loop below. 6064 # First set a reasonable default. 6065 lt_cv_sys_max_cmd_len=16384 6066 # 6067 if test -x /sbin/sysconfig; then 6068 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6069 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6070 esac 6071 fi 6072 ;; 6073 sco3.2v5*) 6074 lt_cv_sys_max_cmd_len=102400 6075 ;; 6076 sysv5* | sco5v6* | sysv4.2uw2*) 6077 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6078 if test -n "$kargmax"; then 6079 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6080 else 6081 lt_cv_sys_max_cmd_len=32768 6082 fi 6083 ;; 6084 *) 6085 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6086 if test -n "$lt_cv_sys_max_cmd_len"; then 6087 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6088 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6089 else 6090 # Make teststring a little bigger before we do anything with it. 6091 # a 1K string should be a reasonable start. 6092 for i in 1 2 3 4 5 6 7 8 ; do 6093 teststring=$teststring$teststring 6094 done 6095 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6096 # If test is not a shell built-in, we'll probably end up computing a 6097 # maximum length that is only half of the actual maximum length, but 6098 # we can't tell. 6099 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 6100 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 6101 test $i != 17 # 1/2 MB should be enough 6102 do 6103 i=`expr $i + 1` 6104 teststring=$teststring$teststring 6105 done 6106 # Only check the string length outside the loop. 6107 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6108 teststring= 6109 # Add a significant safety factor because C++ compilers can tack on 6110 # massive amounts of additional arguments before passing them to the 6111 # linker. It appears as though 1/2 is a usable value. 6112 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6113 fi 6114 ;; 6115 esac 6116 6117fi 6118 6119if test -n $lt_cv_sys_max_cmd_len ; then 6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6121$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6122else 6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6124$as_echo "none" >&6; } 6125fi 6126max_cmd_len=$lt_cv_sys_max_cmd_len 6127 6128 6129 6130 6131 6132 6133: ${CP="cp -f"} 6134: ${MV="mv -f"} 6135: ${RM="rm -f"} 6136 6137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 6138$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 6139# Try some XSI features 6140xsi_shell=no 6141( _lt_dummy="a/b/c" 6142 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 6143 = c,a/b,, \ 6144 && eval 'test $(( 1 + 1 )) -eq 2 \ 6145 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 6146 && xsi_shell=yes 6147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 6148$as_echo "$xsi_shell" >&6; } 6149 6150 6151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 6152$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 6153lt_shell_append=no 6154( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 6155 >/dev/null 2>&1 \ 6156 && lt_shell_append=yes 6157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 6158$as_echo "$lt_shell_append" >&6; } 6159 6160 6161if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6162 lt_unset=unset 6163else 6164 lt_unset=false 6165fi 6166 6167 6168 6169 6170 6171# test EBCDIC or ASCII 6172case `echo X|tr X '\101'` in 6173 A) # ASCII based system 6174 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6175 lt_SP2NL='tr \040 \012' 6176 lt_NL2SP='tr \015\012 \040\040' 6177 ;; 6178 *) # EBCDIC based system 6179 lt_SP2NL='tr \100 \n' 6180 lt_NL2SP='tr \r\n \100\100' 6181 ;; 6182esac 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6193$as_echo_n "checking for $LD option to reload object files... " >&6; } 6194if test "${lt_cv_ld_reload_flag+set}" = set; then : 6195 $as_echo_n "(cached) " >&6 6196else 6197 lt_cv_ld_reload_flag='-r' 6198fi 6199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6200$as_echo "$lt_cv_ld_reload_flag" >&6; } 6201reload_flag=$lt_cv_ld_reload_flag 6202case $reload_flag in 6203"" | " "*) ;; 6204*) reload_flag=" $reload_flag" ;; 6205esac 6206reload_cmds='$LD$reload_flag -o $output$reload_objs' 6207case $host_os in 6208 darwin*) 6209 if test "$GCC" = yes; then 6210 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 6211 else 6212 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6213 fi 6214 ;; 6215esac 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225if test -n "$ac_tool_prefix"; then 6226 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6227set dummy ${ac_tool_prefix}objdump; ac_word=$2 6228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6229$as_echo_n "checking for $ac_word... " >&6; } 6230if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 6231 $as_echo_n "(cached) " >&6 6232else 6233 if test -n "$OBJDUMP"; then 6234 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6235else 6236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6237for as_dir in $PATH 6238do 6239 IFS=$as_save_IFS 6240 test -z "$as_dir" && as_dir=. 6241 for ac_exec_ext in '' $ac_executable_extensions; do 6242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6243 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6245 break 2 6246 fi 6247done 6248 done 6249IFS=$as_save_IFS 6250 6251fi 6252fi 6253OBJDUMP=$ac_cv_prog_OBJDUMP 6254if test -n "$OBJDUMP"; then 6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6256$as_echo "$OBJDUMP" >&6; } 6257else 6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6259$as_echo "no" >&6; } 6260fi 6261 6262 6263fi 6264if test -z "$ac_cv_prog_OBJDUMP"; then 6265 ac_ct_OBJDUMP=$OBJDUMP 6266 # Extract the first word of "objdump", so it can be a program name with args. 6267set dummy objdump; ac_word=$2 6268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6269$as_echo_n "checking for $ac_word... " >&6; } 6270if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 6271 $as_echo_n "(cached) " >&6 6272else 6273 if test -n "$ac_ct_OBJDUMP"; then 6274 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6275else 6276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6277for as_dir in $PATH 6278do 6279 IFS=$as_save_IFS 6280 test -z "$as_dir" && as_dir=. 6281 for ac_exec_ext in '' $ac_executable_extensions; do 6282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6283 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6285 break 2 6286 fi 6287done 6288 done 6289IFS=$as_save_IFS 6290 6291fi 6292fi 6293ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6294if test -n "$ac_ct_OBJDUMP"; then 6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6296$as_echo "$ac_ct_OBJDUMP" >&6; } 6297else 6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6299$as_echo "no" >&6; } 6300fi 6301 6302 if test "x$ac_ct_OBJDUMP" = x; then 6303 OBJDUMP="false" 6304 else 6305 case $cross_compiling:$ac_tool_warned in 6306yes:) 6307{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6308$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6309ac_tool_warned=yes ;; 6310esac 6311 OBJDUMP=$ac_ct_OBJDUMP 6312 fi 6313else 6314 OBJDUMP="$ac_cv_prog_OBJDUMP" 6315fi 6316 6317test -z "$OBJDUMP" && OBJDUMP=objdump 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6328$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6329if test "${lt_cv_deplibs_check_method+set}" = set; then : 6330 $as_echo_n "(cached) " >&6 6331else 6332 lt_cv_file_magic_cmd='$MAGIC_CMD' 6333lt_cv_file_magic_test_file= 6334lt_cv_deplibs_check_method='unknown' 6335# Need to set the preceding variable on all platforms that support 6336# interlibrary dependencies. 6337# 'none' -- dependencies not supported. 6338# `unknown' -- same as none, but documents that we really don't know. 6339# 'pass_all' -- all dependencies passed with no checks. 6340# 'test_compile' -- check by making test program. 6341# 'file_magic [[regex]]' -- check by looking for files in library path 6342# which responds to the $file_magic_cmd with a given extended regex. 6343# If you have `file' or equivalent on your system and you're not sure 6344# whether `pass_all' will *always* work, you probably want this one. 6345 6346case $host_os in 6347aix[4-9]*) 6348 lt_cv_deplibs_check_method=pass_all 6349 ;; 6350 6351beos*) 6352 lt_cv_deplibs_check_method=pass_all 6353 ;; 6354 6355bsdi[45]*) 6356 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6357 lt_cv_file_magic_cmd='/usr/bin/file -L' 6358 lt_cv_file_magic_test_file=/shlib/libc.so 6359 ;; 6360 6361cygwin*) 6362 # func_win32_libid is a shell function defined in ltmain.sh 6363 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6364 lt_cv_file_magic_cmd='func_win32_libid' 6365 ;; 6366 6367mingw* | pw32*) 6368 # Base MSYS/MinGW do not provide the 'file' command needed by 6369 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6370 # unless we find 'file', for example because we are cross-compiling. 6371 if ( file / ) >/dev/null 2>&1; then 6372 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6373 lt_cv_file_magic_cmd='func_win32_libid' 6374 else 6375 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 6376 lt_cv_file_magic_cmd='$OBJDUMP -f' 6377 fi 6378 ;; 6379 6380cegcc) 6381 # use the weaker test based on 'objdump'. See mingw*. 6382 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6383 lt_cv_file_magic_cmd='$OBJDUMP -f' 6384 ;; 6385 6386darwin* | rhapsody*) 6387 lt_cv_deplibs_check_method=pass_all 6388 ;; 6389 6390freebsd* | dragonfly*) 6391 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6392 case $host_cpu in 6393 i*86 ) 6394 # Not sure whether the presence of OpenBSD here was a mistake. 6395 # Let's accept both of them until this is cleared up. 6396 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6397 lt_cv_file_magic_cmd=/usr/bin/file 6398 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6399 ;; 6400 esac 6401 else 6402 lt_cv_deplibs_check_method=pass_all 6403 fi 6404 ;; 6405 6406gnu*) 6407 lt_cv_deplibs_check_method=pass_all 6408 ;; 6409 6410hpux10.20* | hpux11*) 6411 lt_cv_file_magic_cmd=/usr/bin/file 6412 case $host_cpu in 6413 ia64*) 6414 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6415 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6416 ;; 6417 hppa*64*) 6418 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' 6419 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6420 ;; 6421 *) 6422 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 6423 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6424 ;; 6425 esac 6426 ;; 6427 6428interix[3-9]*) 6429 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6431 ;; 6432 6433irix5* | irix6* | nonstopux*) 6434 case $LD in 6435 *-32|*"-32 ") libmagic=32-bit;; 6436 *-n32|*"-n32 ") libmagic=N32;; 6437 *-64|*"-64 ") libmagic=64-bit;; 6438 *) libmagic=never-match;; 6439 esac 6440 lt_cv_deplibs_check_method=pass_all 6441 ;; 6442 6443# This must be Linux ELF. 6444linux* | k*bsd*-gnu) 6445 lt_cv_deplibs_check_method=pass_all 6446 ;; 6447 6448netbsd*) 6449 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6450 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6451 else 6452 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6453 fi 6454 ;; 6455 6456newos6*) 6457 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6458 lt_cv_file_magic_cmd=/usr/bin/file 6459 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6460 ;; 6461 6462*nto* | *qnx*) 6463 lt_cv_deplibs_check_method=pass_all 6464 ;; 6465 6466openbsd*) 6467 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6468 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6469 else 6470 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6471 fi 6472 ;; 6473 6474osf3* | osf4* | osf5*) 6475 lt_cv_deplibs_check_method=pass_all 6476 ;; 6477 6478rdos*) 6479 lt_cv_deplibs_check_method=pass_all 6480 ;; 6481 6482solaris*) 6483 lt_cv_deplibs_check_method=pass_all 6484 ;; 6485 6486sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6487 lt_cv_deplibs_check_method=pass_all 6488 ;; 6489 6490sysv4 | sysv4.3*) 6491 case $host_vendor in 6492 motorola) 6493 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]' 6494 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6495 ;; 6496 ncr) 6497 lt_cv_deplibs_check_method=pass_all 6498 ;; 6499 sequent) 6500 lt_cv_file_magic_cmd='/bin/file' 6501 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6502 ;; 6503 sni) 6504 lt_cv_file_magic_cmd='/bin/file' 6505 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6506 lt_cv_file_magic_test_file=/lib/libc.so 6507 ;; 6508 siemens) 6509 lt_cv_deplibs_check_method=pass_all 6510 ;; 6511 pc) 6512 lt_cv_deplibs_check_method=pass_all 6513 ;; 6514 esac 6515 ;; 6516 6517tpf*) 6518 lt_cv_deplibs_check_method=pass_all 6519 ;; 6520esac 6521 6522fi 6523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6524$as_echo "$lt_cv_deplibs_check_method" >&6; } 6525file_magic_cmd=$lt_cv_file_magic_cmd 6526deplibs_check_method=$lt_cv_deplibs_check_method 6527test -z "$deplibs_check_method" && deplibs_check_method=unknown 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540if test -n "$ac_tool_prefix"; then 6541 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6542set dummy ${ac_tool_prefix}ar; ac_word=$2 6543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6544$as_echo_n "checking for $ac_word... " >&6; } 6545if test "${ac_cv_prog_AR+set}" = set; then : 6546 $as_echo_n "(cached) " >&6 6547else 6548 if test -n "$AR"; then 6549 ac_cv_prog_AR="$AR" # Let the user override the test. 6550else 6551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6552for as_dir in $PATH 6553do 6554 IFS=$as_save_IFS 6555 test -z "$as_dir" && as_dir=. 6556 for ac_exec_ext in '' $ac_executable_extensions; do 6557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6558 ac_cv_prog_AR="${ac_tool_prefix}ar" 6559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6560 break 2 6561 fi 6562done 6563 done 6564IFS=$as_save_IFS 6565 6566fi 6567fi 6568AR=$ac_cv_prog_AR 6569if test -n "$AR"; then 6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6571$as_echo "$AR" >&6; } 6572else 6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6574$as_echo "no" >&6; } 6575fi 6576 6577 6578fi 6579if test -z "$ac_cv_prog_AR"; then 6580 ac_ct_AR=$AR 6581 # Extract the first word of "ar", so it can be a program name with args. 6582set dummy ar; ac_word=$2 6583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6584$as_echo_n "checking for $ac_word... " >&6; } 6585if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 6586 $as_echo_n "(cached) " >&6 6587else 6588 if test -n "$ac_ct_AR"; then 6589 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6590else 6591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6592for as_dir in $PATH 6593do 6594 IFS=$as_save_IFS 6595 test -z "$as_dir" && as_dir=. 6596 for ac_exec_ext in '' $ac_executable_extensions; do 6597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6598 ac_cv_prog_ac_ct_AR="ar" 6599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6600 break 2 6601 fi 6602done 6603 done 6604IFS=$as_save_IFS 6605 6606fi 6607fi 6608ac_ct_AR=$ac_cv_prog_ac_ct_AR 6609if test -n "$ac_ct_AR"; then 6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6611$as_echo "$ac_ct_AR" >&6; } 6612else 6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6614$as_echo "no" >&6; } 6615fi 6616 6617 if test "x$ac_ct_AR" = x; then 6618 AR="false" 6619 else 6620 case $cross_compiling:$ac_tool_warned in 6621yes:) 6622{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6623$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6624ac_tool_warned=yes ;; 6625esac 6626 AR=$ac_ct_AR 6627 fi 6628else 6629 AR="$ac_cv_prog_AR" 6630fi 6631 6632test -z "$AR" && AR=ar 6633test -z "$AR_FLAGS" && AR_FLAGS=cru 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645if test -n "$ac_tool_prefix"; then 6646 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6647set dummy ${ac_tool_prefix}strip; ac_word=$2 6648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6649$as_echo_n "checking for $ac_word... " >&6; } 6650if test "${ac_cv_prog_STRIP+set}" = set; then : 6651 $as_echo_n "(cached) " >&6 6652else 6653 if test -n "$STRIP"; then 6654 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6655else 6656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6657for as_dir in $PATH 6658do 6659 IFS=$as_save_IFS 6660 test -z "$as_dir" && as_dir=. 6661 for ac_exec_ext in '' $ac_executable_extensions; do 6662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6663 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6665 break 2 6666 fi 6667done 6668 done 6669IFS=$as_save_IFS 6670 6671fi 6672fi 6673STRIP=$ac_cv_prog_STRIP 6674if test -n "$STRIP"; then 6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6676$as_echo "$STRIP" >&6; } 6677else 6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6679$as_echo "no" >&6; } 6680fi 6681 6682 6683fi 6684if test -z "$ac_cv_prog_STRIP"; then 6685 ac_ct_STRIP=$STRIP 6686 # Extract the first word of "strip", so it can be a program name with args. 6687set dummy strip; ac_word=$2 6688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6689$as_echo_n "checking for $ac_word... " >&6; } 6690if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 6691 $as_echo_n "(cached) " >&6 6692else 6693 if test -n "$ac_ct_STRIP"; then 6694 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6695else 6696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6697for as_dir in $PATH 6698do 6699 IFS=$as_save_IFS 6700 test -z "$as_dir" && as_dir=. 6701 for ac_exec_ext in '' $ac_executable_extensions; do 6702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6703 ac_cv_prog_ac_ct_STRIP="strip" 6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6705 break 2 6706 fi 6707done 6708 done 6709IFS=$as_save_IFS 6710 6711fi 6712fi 6713ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6714if test -n "$ac_ct_STRIP"; then 6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6716$as_echo "$ac_ct_STRIP" >&6; } 6717else 6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6719$as_echo "no" >&6; } 6720fi 6721 6722 if test "x$ac_ct_STRIP" = x; then 6723 STRIP=":" 6724 else 6725 case $cross_compiling:$ac_tool_warned in 6726yes:) 6727{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6728$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6729ac_tool_warned=yes ;; 6730esac 6731 STRIP=$ac_ct_STRIP 6732 fi 6733else 6734 STRIP="$ac_cv_prog_STRIP" 6735fi 6736 6737test -z "$STRIP" && STRIP=: 6738 6739 6740 6741 6742 6743 6744if test -n "$ac_tool_prefix"; then 6745 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6746set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6748$as_echo_n "checking for $ac_word... " >&6; } 6749if test "${ac_cv_prog_RANLIB+set}" = set; then : 6750 $as_echo_n "(cached) " >&6 6751else 6752 if test -n "$RANLIB"; then 6753 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6754else 6755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6756for as_dir in $PATH 6757do 6758 IFS=$as_save_IFS 6759 test -z "$as_dir" && as_dir=. 6760 for ac_exec_ext in '' $ac_executable_extensions; do 6761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6762 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6764 break 2 6765 fi 6766done 6767 done 6768IFS=$as_save_IFS 6769 6770fi 6771fi 6772RANLIB=$ac_cv_prog_RANLIB 6773if test -n "$RANLIB"; then 6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6775$as_echo "$RANLIB" >&6; } 6776else 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6778$as_echo "no" >&6; } 6779fi 6780 6781 6782fi 6783if test -z "$ac_cv_prog_RANLIB"; then 6784 ac_ct_RANLIB=$RANLIB 6785 # Extract the first word of "ranlib", so it can be a program name with args. 6786set dummy ranlib; ac_word=$2 6787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6788$as_echo_n "checking for $ac_word... " >&6; } 6789if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6790 $as_echo_n "(cached) " >&6 6791else 6792 if test -n "$ac_ct_RANLIB"; then 6793 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6794else 6795as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6796for as_dir in $PATH 6797do 6798 IFS=$as_save_IFS 6799 test -z "$as_dir" && as_dir=. 6800 for ac_exec_ext in '' $ac_executable_extensions; do 6801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6802 ac_cv_prog_ac_ct_RANLIB="ranlib" 6803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6804 break 2 6805 fi 6806done 6807 done 6808IFS=$as_save_IFS 6809 6810fi 6811fi 6812ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6813if test -n "$ac_ct_RANLIB"; then 6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6815$as_echo "$ac_ct_RANLIB" >&6; } 6816else 6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6818$as_echo "no" >&6; } 6819fi 6820 6821 if test "x$ac_ct_RANLIB" = x; then 6822 RANLIB=":" 6823 else 6824 case $cross_compiling:$ac_tool_warned in 6825yes:) 6826{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6827$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6828ac_tool_warned=yes ;; 6829esac 6830 RANLIB=$ac_ct_RANLIB 6831 fi 6832else 6833 RANLIB="$ac_cv_prog_RANLIB" 6834fi 6835 6836test -z "$RANLIB" && RANLIB=: 6837 6838 6839 6840 6841 6842 6843# Determine commands to create old-style static archives. 6844old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6845old_postinstall_cmds='chmod 644 $oldlib' 6846old_postuninstall_cmds= 6847 6848if test -n "$RANLIB"; then 6849 case $host_os in 6850 openbsd*) 6851 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 6852 ;; 6853 *) 6854 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 6855 ;; 6856 esac 6857 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 6858fi 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893# If no C compiler was specified, use CC. 6894LTCC=${LTCC-"$CC"} 6895 6896# If no C compiler flags were specified, use CFLAGS. 6897LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6898 6899# Allow CC to be a program name with arguments. 6900compiler=$CC 6901 6902 6903# Check for command to grab the raw symbol name followed by C symbol from nm. 6904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6905$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6906if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 6907 $as_echo_n "(cached) " >&6 6908else 6909 6910# These are sane defaults that work on at least a few old systems. 6911# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6912 6913# Character class describing NM global symbol codes. 6914symcode='[BCDEGRST]' 6915 6916# Regexp to match symbols that can be accessed directly from C. 6917sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6918 6919# Define system-specific variables. 6920case $host_os in 6921aix*) 6922 symcode='[BCDT]' 6923 ;; 6924cygwin* | mingw* | pw32* | cegcc*) 6925 symcode='[ABCDGISTW]' 6926 ;; 6927hpux*) 6928 if test "$host_cpu" = ia64; then 6929 symcode='[ABCDEGRST]' 6930 fi 6931 ;; 6932irix* | nonstopux*) 6933 symcode='[BCDEGRST]' 6934 ;; 6935osf*) 6936 symcode='[BCDEGQRST]' 6937 ;; 6938solaris*) 6939 symcode='[BDRT]' 6940 ;; 6941sco3.2v5*) 6942 symcode='[DT]' 6943 ;; 6944sysv4.2uw2*) 6945 symcode='[DT]' 6946 ;; 6947sysv5* | sco5v6* | unixware* | OpenUNIX*) 6948 symcode='[ABDT]' 6949 ;; 6950sysv4) 6951 symcode='[DFNSTU]' 6952 ;; 6953esac 6954 6955# If we're using GNU nm, then use its standard symbol codes. 6956case `$NM -V 2>&1` in 6957*GNU* | *'with BFD'*) 6958 symcode='[ABCDGIRSTW]' ;; 6959esac 6960 6961# Transform an extracted symbol line into a proper C declaration. 6962# Some systems (esp. on ia64) link data and code symbols differently, 6963# so use this general approach. 6964lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6965 6966# Transform an extracted symbol line into symbol name and symbol address 6967lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6968lt_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'" 6969 6970# Handle CRLF in mingw tool chain 6971opt_cr= 6972case $build_os in 6973mingw*) 6974 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6975 ;; 6976esac 6977 6978# Try without a prefix underscore, then with it. 6979for ac_symprfx in "" "_"; do 6980 6981 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6982 symxfrm="\\1 $ac_symprfx\\2 \\2" 6983 6984 # Write the raw and C identifiers. 6985 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6986 # Fake it for dumpbin and say T for any non-static function 6987 # and D for any global variable. 6988 # Also find C++ and __fastcall symbols from MSVC++, 6989 # which start with @ or ?. 6990 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6991" {last_section=section; section=\$ 3};"\ 6992" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6993" \$ 0!~/External *\|/{next};"\ 6994" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6995" {if(hide[section]) next};"\ 6996" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6997" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6998" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6999" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7000" ' prfx=^$ac_symprfx" 7001 else 7002 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7003 fi 7004 7005 # Check to see that the pipe works correctly. 7006 pipe_works=no 7007 7008 rm -f conftest* 7009 cat > conftest.$ac_ext <<_LT_EOF 7010#ifdef __cplusplus 7011extern "C" { 7012#endif 7013char nm_test_var; 7014void nm_test_func(void); 7015void nm_test_func(void){} 7016#ifdef __cplusplus 7017} 7018#endif 7019int main(){nm_test_var='a';nm_test_func();return(0);} 7020_LT_EOF 7021 7022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7023 (eval $ac_compile) 2>&5 7024 ac_status=$? 7025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7026 test $ac_status = 0; }; then 7027 # Now try to grab the symbols. 7028 nlist=conftest.nm 7029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 7030 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 7031 ac_status=$? 7032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7033 test $ac_status = 0; } && test -s "$nlist"; then 7034 # Try sorting and uniquifying the output. 7035 if sort "$nlist" | uniq > "$nlist"T; then 7036 mv -f "$nlist"T "$nlist" 7037 else 7038 rm -f "$nlist"T 7039 fi 7040 7041 # Make sure that we snagged all the symbols we need. 7042 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7043 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7044 cat <<_LT_EOF > conftest.$ac_ext 7045#ifdef __cplusplus 7046extern "C" { 7047#endif 7048 7049_LT_EOF 7050 # Now generate the symbol file. 7051 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7052 7053 cat <<_LT_EOF >> conftest.$ac_ext 7054 7055/* The mapping between symbol names and symbols. */ 7056const struct { 7057 const char *name; 7058 void *address; 7059} 7060lt__PROGRAM__LTX_preloaded_symbols[] = 7061{ 7062 { "@PROGRAM@", (void *) 0 }, 7063_LT_EOF 7064 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7065 cat <<\_LT_EOF >> conftest.$ac_ext 7066 {0, (void *) 0} 7067}; 7068 7069/* This works around a problem in FreeBSD linker */ 7070#ifdef FREEBSD_WORKAROUND 7071static const void *lt_preloaded_setup() { 7072 return lt__PROGRAM__LTX_preloaded_symbols; 7073} 7074#endif 7075 7076#ifdef __cplusplus 7077} 7078#endif 7079_LT_EOF 7080 # Now try linking the two files. 7081 mv conftest.$ac_objext conftstm.$ac_objext 7082 lt_save_LIBS="$LIBS" 7083 lt_save_CFLAGS="$CFLAGS" 7084 LIBS="conftstm.$ac_objext" 7085 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7086 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7087 (eval $ac_link) 2>&5 7088 ac_status=$? 7089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7090 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7091 pipe_works=yes 7092 fi 7093 LIBS="$lt_save_LIBS" 7094 CFLAGS="$lt_save_CFLAGS" 7095 else 7096 echo "cannot find nm_test_func in $nlist" >&5 7097 fi 7098 else 7099 echo "cannot find nm_test_var in $nlist" >&5 7100 fi 7101 else 7102 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7103 fi 7104 else 7105 echo "$progname: failed program was:" >&5 7106 cat conftest.$ac_ext >&5 7107 fi 7108 rm -rf conftest* conftst* 7109 7110 # Do not use the global_symbol_pipe unless it works. 7111 if test "$pipe_works" = yes; then 7112 break 7113 else 7114 lt_cv_sys_global_symbol_pipe= 7115 fi 7116done 7117 7118fi 7119 7120if test -z "$lt_cv_sys_global_symbol_pipe"; then 7121 lt_cv_sys_global_symbol_to_cdecl= 7122fi 7123if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7125$as_echo "failed" >&6; } 7126else 7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7128$as_echo "ok" >&6; } 7129fi 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153# Check whether --enable-libtool-lock was given. 7154if test "${enable_libtool_lock+set}" = set; then : 7155 enableval=$enable_libtool_lock; 7156fi 7157 7158test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7159 7160# Some flags need to be propagated to the compiler or linker for good 7161# libtool support. 7162case $host in 7163ia64-*-hpux*) 7164 # Find out which ABI we are using. 7165 echo 'int i;' > conftest.$ac_ext 7166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7167 (eval $ac_compile) 2>&5 7168 ac_status=$? 7169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7170 test $ac_status = 0; }; then 7171 case `/usr/bin/file conftest.$ac_objext` in 7172 *ELF-32*) 7173 HPUX_IA64_MODE="32" 7174 ;; 7175 *ELF-64*) 7176 HPUX_IA64_MODE="64" 7177 ;; 7178 esac 7179 fi 7180 rm -rf conftest* 7181 ;; 7182*-*-irix6*) 7183 # Find out which ABI we are using. 7184 echo '#line 7184 "configure"' > conftest.$ac_ext 7185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7186 (eval $ac_compile) 2>&5 7187 ac_status=$? 7188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7189 test $ac_status = 0; }; then 7190 if test "$lt_cv_prog_gnu_ld" = yes; then 7191 case `/usr/bin/file conftest.$ac_objext` in 7192 *32-bit*) 7193 LD="${LD-ld} -melf32bsmip" 7194 ;; 7195 *N32*) 7196 LD="${LD-ld} -melf32bmipn32" 7197 ;; 7198 *64-bit*) 7199 LD="${LD-ld} -melf64bmip" 7200 ;; 7201 esac 7202 else 7203 case `/usr/bin/file conftest.$ac_objext` in 7204 *32-bit*) 7205 LD="${LD-ld} -32" 7206 ;; 7207 *N32*) 7208 LD="${LD-ld} -n32" 7209 ;; 7210 *64-bit*) 7211 LD="${LD-ld} -64" 7212 ;; 7213 esac 7214 fi 7215 fi 7216 rm -rf conftest* 7217 ;; 7218 7219x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 7220s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7221 # Find out which ABI we are using. 7222 echo 'int i;' > conftest.$ac_ext 7223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7224 (eval $ac_compile) 2>&5 7225 ac_status=$? 7226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7227 test $ac_status = 0; }; then 7228 case `/usr/bin/file conftest.o` in 7229 *32-bit*) 7230 case $host in 7231 x86_64-*kfreebsd*-gnu) 7232 LD="${LD-ld} -m elf_i386_fbsd" 7233 ;; 7234 x86_64-*linux*) 7235 LD="${LD-ld} -m elf_i386" 7236 ;; 7237 ppc64-*linux*|powerpc64-*linux*) 7238 LD="${LD-ld} -m elf32ppclinux" 7239 ;; 7240 s390x-*linux*) 7241 LD="${LD-ld} -m elf_s390" 7242 ;; 7243 sparc64-*linux*) 7244 LD="${LD-ld} -m elf32_sparc" 7245 ;; 7246 esac 7247 ;; 7248 *64-bit*) 7249 case $host in 7250 x86_64-*kfreebsd*-gnu) 7251 LD="${LD-ld} -m elf_x86_64_fbsd" 7252 ;; 7253 x86_64-*linux*) 7254 LD="${LD-ld} -m elf_x86_64" 7255 ;; 7256 ppc*-*linux*|powerpc*-*linux*) 7257 LD="${LD-ld} -m elf64ppc" 7258 ;; 7259 s390*-*linux*|s390*-*tpf*) 7260 LD="${LD-ld} -m elf64_s390" 7261 ;; 7262 sparc*-*linux*) 7263 LD="${LD-ld} -m elf64_sparc" 7264 ;; 7265 esac 7266 ;; 7267 esac 7268 fi 7269 rm -rf conftest* 7270 ;; 7271 7272*-*-sco3.2v5*) 7273 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7274 SAVE_CFLAGS="$CFLAGS" 7275 CFLAGS="$CFLAGS -belf" 7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7277$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7278if test "${lt_cv_cc_needs_belf+set}" = set; then : 7279 $as_echo_n "(cached) " >&6 7280else 7281 ac_ext=c 7282ac_cpp='$CPP $CPPFLAGS' 7283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7285ac_compiler_gnu=$ac_cv_c_compiler_gnu 7286 7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7288/* end confdefs.h. */ 7289 7290int 7291main () 7292{ 7293 7294 ; 7295 return 0; 7296} 7297_ACEOF 7298if ac_fn_c_try_link "$LINENO"; then : 7299 lt_cv_cc_needs_belf=yes 7300else 7301 lt_cv_cc_needs_belf=no 7302fi 7303rm -f core conftest.err conftest.$ac_objext \ 7304 conftest$ac_exeext conftest.$ac_ext 7305 ac_ext=c 7306ac_cpp='$CPP $CPPFLAGS' 7307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7309ac_compiler_gnu=$ac_cv_c_compiler_gnu 7310 7311fi 7312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7313$as_echo "$lt_cv_cc_needs_belf" >&6; } 7314 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7315 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7316 CFLAGS="$SAVE_CFLAGS" 7317 fi 7318 ;; 7319sparc*-*solaris*) 7320 # Find out which ABI we are using. 7321 echo 'int i;' > conftest.$ac_ext 7322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7323 (eval $ac_compile) 2>&5 7324 ac_status=$? 7325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7326 test $ac_status = 0; }; then 7327 case `/usr/bin/file conftest.o` in 7328 *64-bit*) 7329 case $lt_cv_prog_gnu_ld in 7330 yes*) LD="${LD-ld} -m elf64_sparc" ;; 7331 *) 7332 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7333 LD="${LD-ld} -64" 7334 fi 7335 ;; 7336 esac 7337 ;; 7338 esac 7339 fi 7340 rm -rf conftest* 7341 ;; 7342esac 7343 7344need_locks="$enable_libtool_lock" 7345 7346 7347 case $host_os in 7348 rhapsody* | darwin*) 7349 if test -n "$ac_tool_prefix"; then 7350 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7351set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7353$as_echo_n "checking for $ac_word... " >&6; } 7354if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 7355 $as_echo_n "(cached) " >&6 7356else 7357 if test -n "$DSYMUTIL"; then 7358 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7359else 7360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7361for as_dir in $PATH 7362do 7363 IFS=$as_save_IFS 7364 test -z "$as_dir" && as_dir=. 7365 for ac_exec_ext in '' $ac_executable_extensions; do 7366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7367 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7369 break 2 7370 fi 7371done 7372 done 7373IFS=$as_save_IFS 7374 7375fi 7376fi 7377DSYMUTIL=$ac_cv_prog_DSYMUTIL 7378if test -n "$DSYMUTIL"; then 7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7380$as_echo "$DSYMUTIL" >&6; } 7381else 7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7383$as_echo "no" >&6; } 7384fi 7385 7386 7387fi 7388if test -z "$ac_cv_prog_DSYMUTIL"; then 7389 ac_ct_DSYMUTIL=$DSYMUTIL 7390 # Extract the first word of "dsymutil", so it can be a program name with args. 7391set dummy dsymutil; ac_word=$2 7392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7393$as_echo_n "checking for $ac_word... " >&6; } 7394if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 7395 $as_echo_n "(cached) " >&6 7396else 7397 if test -n "$ac_ct_DSYMUTIL"; then 7398 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7399else 7400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7401for as_dir in $PATH 7402do 7403 IFS=$as_save_IFS 7404 test -z "$as_dir" && as_dir=. 7405 for ac_exec_ext in '' $ac_executable_extensions; do 7406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7407 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7409 break 2 7410 fi 7411done 7412 done 7413IFS=$as_save_IFS 7414 7415fi 7416fi 7417ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7418if test -n "$ac_ct_DSYMUTIL"; then 7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7420$as_echo "$ac_ct_DSYMUTIL" >&6; } 7421else 7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7423$as_echo "no" >&6; } 7424fi 7425 7426 if test "x$ac_ct_DSYMUTIL" = x; then 7427 DSYMUTIL=":" 7428 else 7429 case $cross_compiling:$ac_tool_warned in 7430yes:) 7431{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7432$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7433ac_tool_warned=yes ;; 7434esac 7435 DSYMUTIL=$ac_ct_DSYMUTIL 7436 fi 7437else 7438 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7439fi 7440 7441 if test -n "$ac_tool_prefix"; then 7442 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7443set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7445$as_echo_n "checking for $ac_word... " >&6; } 7446if test "${ac_cv_prog_NMEDIT+set}" = set; then : 7447 $as_echo_n "(cached) " >&6 7448else 7449 if test -n "$NMEDIT"; then 7450 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7451else 7452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7453for as_dir in $PATH 7454do 7455 IFS=$as_save_IFS 7456 test -z "$as_dir" && as_dir=. 7457 for ac_exec_ext in '' $ac_executable_extensions; do 7458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7459 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7461 break 2 7462 fi 7463done 7464 done 7465IFS=$as_save_IFS 7466 7467fi 7468fi 7469NMEDIT=$ac_cv_prog_NMEDIT 7470if test -n "$NMEDIT"; then 7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7472$as_echo "$NMEDIT" >&6; } 7473else 7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7475$as_echo "no" >&6; } 7476fi 7477 7478 7479fi 7480if test -z "$ac_cv_prog_NMEDIT"; then 7481 ac_ct_NMEDIT=$NMEDIT 7482 # Extract the first word of "nmedit", so it can be a program name with args. 7483set dummy nmedit; ac_word=$2 7484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7485$as_echo_n "checking for $ac_word... " >&6; } 7486if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 7487 $as_echo_n "(cached) " >&6 7488else 7489 if test -n "$ac_ct_NMEDIT"; then 7490 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7491else 7492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7493for as_dir in $PATH 7494do 7495 IFS=$as_save_IFS 7496 test -z "$as_dir" && as_dir=. 7497 for ac_exec_ext in '' $ac_executable_extensions; do 7498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7499 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7501 break 2 7502 fi 7503done 7504 done 7505IFS=$as_save_IFS 7506 7507fi 7508fi 7509ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7510if test -n "$ac_ct_NMEDIT"; then 7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7512$as_echo "$ac_ct_NMEDIT" >&6; } 7513else 7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7515$as_echo "no" >&6; } 7516fi 7517 7518 if test "x$ac_ct_NMEDIT" = x; then 7519 NMEDIT=":" 7520 else 7521 case $cross_compiling:$ac_tool_warned in 7522yes:) 7523{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7524$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7525ac_tool_warned=yes ;; 7526esac 7527 NMEDIT=$ac_ct_NMEDIT 7528 fi 7529else 7530 NMEDIT="$ac_cv_prog_NMEDIT" 7531fi 7532 7533 if test -n "$ac_tool_prefix"; then 7534 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7535set dummy ${ac_tool_prefix}lipo; ac_word=$2 7536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7537$as_echo_n "checking for $ac_word... " >&6; } 7538if test "${ac_cv_prog_LIPO+set}" = set; then : 7539 $as_echo_n "(cached) " >&6 7540else 7541 if test -n "$LIPO"; then 7542 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7543else 7544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7545for as_dir in $PATH 7546do 7547 IFS=$as_save_IFS 7548 test -z "$as_dir" && as_dir=. 7549 for ac_exec_ext in '' $ac_executable_extensions; do 7550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7551 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7553 break 2 7554 fi 7555done 7556 done 7557IFS=$as_save_IFS 7558 7559fi 7560fi 7561LIPO=$ac_cv_prog_LIPO 7562if test -n "$LIPO"; then 7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7564$as_echo "$LIPO" >&6; } 7565else 7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7567$as_echo "no" >&6; } 7568fi 7569 7570 7571fi 7572if test -z "$ac_cv_prog_LIPO"; then 7573 ac_ct_LIPO=$LIPO 7574 # Extract the first word of "lipo", so it can be a program name with args. 7575set dummy lipo; ac_word=$2 7576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7577$as_echo_n "checking for $ac_word... " >&6; } 7578if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 7579 $as_echo_n "(cached) " >&6 7580else 7581 if test -n "$ac_ct_LIPO"; then 7582 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7583else 7584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7585for as_dir in $PATH 7586do 7587 IFS=$as_save_IFS 7588 test -z "$as_dir" && as_dir=. 7589 for ac_exec_ext in '' $ac_executable_extensions; do 7590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7591 ac_cv_prog_ac_ct_LIPO="lipo" 7592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7593 break 2 7594 fi 7595done 7596 done 7597IFS=$as_save_IFS 7598 7599fi 7600fi 7601ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7602if test -n "$ac_ct_LIPO"; then 7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7604$as_echo "$ac_ct_LIPO" >&6; } 7605else 7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7607$as_echo "no" >&6; } 7608fi 7609 7610 if test "x$ac_ct_LIPO" = x; then 7611 LIPO=":" 7612 else 7613 case $cross_compiling:$ac_tool_warned in 7614yes:) 7615{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7616$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7617ac_tool_warned=yes ;; 7618esac 7619 LIPO=$ac_ct_LIPO 7620 fi 7621else 7622 LIPO="$ac_cv_prog_LIPO" 7623fi 7624 7625 if test -n "$ac_tool_prefix"; then 7626 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7627set dummy ${ac_tool_prefix}otool; ac_word=$2 7628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7629$as_echo_n "checking for $ac_word... " >&6; } 7630if test "${ac_cv_prog_OTOOL+set}" = set; then : 7631 $as_echo_n "(cached) " >&6 7632else 7633 if test -n "$OTOOL"; then 7634 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7635else 7636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7637for as_dir in $PATH 7638do 7639 IFS=$as_save_IFS 7640 test -z "$as_dir" && as_dir=. 7641 for ac_exec_ext in '' $ac_executable_extensions; do 7642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7643 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7645 break 2 7646 fi 7647done 7648 done 7649IFS=$as_save_IFS 7650 7651fi 7652fi 7653OTOOL=$ac_cv_prog_OTOOL 7654if test -n "$OTOOL"; then 7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7656$as_echo "$OTOOL" >&6; } 7657else 7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7659$as_echo "no" >&6; } 7660fi 7661 7662 7663fi 7664if test -z "$ac_cv_prog_OTOOL"; then 7665 ac_ct_OTOOL=$OTOOL 7666 # Extract the first word of "otool", so it can be a program name with args. 7667set dummy otool; ac_word=$2 7668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7669$as_echo_n "checking for $ac_word... " >&6; } 7670if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 7671 $as_echo_n "(cached) " >&6 7672else 7673 if test -n "$ac_ct_OTOOL"; then 7674 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7675else 7676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7677for as_dir in $PATH 7678do 7679 IFS=$as_save_IFS 7680 test -z "$as_dir" && as_dir=. 7681 for ac_exec_ext in '' $ac_executable_extensions; do 7682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7683 ac_cv_prog_ac_ct_OTOOL="otool" 7684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7685 break 2 7686 fi 7687done 7688 done 7689IFS=$as_save_IFS 7690 7691fi 7692fi 7693ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7694if test -n "$ac_ct_OTOOL"; then 7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7696$as_echo "$ac_ct_OTOOL" >&6; } 7697else 7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7699$as_echo "no" >&6; } 7700fi 7701 7702 if test "x$ac_ct_OTOOL" = x; then 7703 OTOOL=":" 7704 else 7705 case $cross_compiling:$ac_tool_warned in 7706yes:) 7707{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7708$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7709ac_tool_warned=yes ;; 7710esac 7711 OTOOL=$ac_ct_OTOOL 7712 fi 7713else 7714 OTOOL="$ac_cv_prog_OTOOL" 7715fi 7716 7717 if test -n "$ac_tool_prefix"; then 7718 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7719set dummy ${ac_tool_prefix}otool64; ac_word=$2 7720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7721$as_echo_n "checking for $ac_word... " >&6; } 7722if test "${ac_cv_prog_OTOOL64+set}" = set; then : 7723 $as_echo_n "(cached) " >&6 7724else 7725 if test -n "$OTOOL64"; then 7726 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7727else 7728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7729for as_dir in $PATH 7730do 7731 IFS=$as_save_IFS 7732 test -z "$as_dir" && as_dir=. 7733 for ac_exec_ext in '' $ac_executable_extensions; do 7734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7735 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7737 break 2 7738 fi 7739done 7740 done 7741IFS=$as_save_IFS 7742 7743fi 7744fi 7745OTOOL64=$ac_cv_prog_OTOOL64 7746if test -n "$OTOOL64"; then 7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7748$as_echo "$OTOOL64" >&6; } 7749else 7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7751$as_echo "no" >&6; } 7752fi 7753 7754 7755fi 7756if test -z "$ac_cv_prog_OTOOL64"; then 7757 ac_ct_OTOOL64=$OTOOL64 7758 # Extract the first word of "otool64", so it can be a program name with args. 7759set dummy otool64; ac_word=$2 7760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7761$as_echo_n "checking for $ac_word... " >&6; } 7762if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 7763 $as_echo_n "(cached) " >&6 7764else 7765 if test -n "$ac_ct_OTOOL64"; then 7766 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7767else 7768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7769for as_dir in $PATH 7770do 7771 IFS=$as_save_IFS 7772 test -z "$as_dir" && as_dir=. 7773 for ac_exec_ext in '' $ac_executable_extensions; do 7774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7775 ac_cv_prog_ac_ct_OTOOL64="otool64" 7776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7777 break 2 7778 fi 7779done 7780 done 7781IFS=$as_save_IFS 7782 7783fi 7784fi 7785ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7786if test -n "$ac_ct_OTOOL64"; then 7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7788$as_echo "$ac_ct_OTOOL64" >&6; } 7789else 7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7791$as_echo "no" >&6; } 7792fi 7793 7794 if test "x$ac_ct_OTOOL64" = x; then 7795 OTOOL64=":" 7796 else 7797 case $cross_compiling:$ac_tool_warned in 7798yes:) 7799{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7800$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7801ac_tool_warned=yes ;; 7802esac 7803 OTOOL64=$ac_ct_OTOOL64 7804 fi 7805else 7806 OTOOL64="$ac_cv_prog_OTOOL64" 7807fi 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7836$as_echo_n "checking for -single_module linker flag... " >&6; } 7837if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 7838 $as_echo_n "(cached) " >&6 7839else 7840 lt_cv_apple_cc_single_mod=no 7841 if test -z "${LT_MULTI_MODULE}"; then 7842 # By default we will add the -single_module flag. You can override 7843 # by either setting the environment variable LT_MULTI_MODULE 7844 # non-empty at configure time, or by adding -multi_module to the 7845 # link flags. 7846 rm -rf libconftest.dylib* 7847 echo "int foo(void){return 1;}" > conftest.c 7848 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7849-dynamiclib -Wl,-single_module conftest.c" >&5 7850 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7851 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7852 _lt_result=$? 7853 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 7854 lt_cv_apple_cc_single_mod=yes 7855 else 7856 cat conftest.err >&5 7857 fi 7858 rm -rf libconftest.dylib* 7859 rm -f conftest.* 7860 fi 7861fi 7862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7863$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7865$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7866if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 7867 $as_echo_n "(cached) " >&6 7868else 7869 lt_cv_ld_exported_symbols_list=no 7870 save_LDFLAGS=$LDFLAGS 7871 echo "_main" > conftest.sym 7872 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7874/* end confdefs.h. */ 7875 7876int 7877main () 7878{ 7879 7880 ; 7881 return 0; 7882} 7883_ACEOF 7884if ac_fn_c_try_link "$LINENO"; then : 7885 lt_cv_ld_exported_symbols_list=yes 7886else 7887 lt_cv_ld_exported_symbols_list=no 7888fi 7889rm -f core conftest.err conftest.$ac_objext \ 7890 conftest$ac_exeext conftest.$ac_ext 7891 LDFLAGS="$save_LDFLAGS" 7892 7893fi 7894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7895$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7896 case $host_os in 7897 rhapsody* | darwin1.[012]) 7898 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7899 darwin1.*) 7900 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7901 darwin*) # darwin 5.x on 7902 # if running on 10.5 or later, the deployment target defaults 7903 # to the OS version, if on x86, and 10.4, the deployment 7904 # target defaults to 10.4. Don't you love it? 7905 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7906 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7907 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7908 10.[012]*) 7909 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7910 10.*) 7911 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7912 esac 7913 ;; 7914 esac 7915 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7916 _lt_dar_single_mod='$single_module' 7917 fi 7918 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7919 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7920 else 7921 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7922 fi 7923 if test "$DSYMUTIL" != ":"; then 7924 _lt_dsymutil='~$DSYMUTIL $lib || :' 7925 else 7926 _lt_dsymutil= 7927 fi 7928 ;; 7929 esac 7930 7931 7932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7933$as_echo_n "checking for ANSI C header files... " >&6; } 7934if test "${ac_cv_header_stdc+set}" = set; then : 7935 $as_echo_n "(cached) " >&6 7936else 7937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7938/* end confdefs.h. */ 7939#include <stdlib.h> 7940#include <stdarg.h> 7941#include <string.h> 7942#include <float.h> 7943 7944int 7945main () 7946{ 7947 7948 ; 7949 return 0; 7950} 7951_ACEOF 7952if ac_fn_c_try_compile "$LINENO"; then : 7953 ac_cv_header_stdc=yes 7954else 7955 ac_cv_header_stdc=no 7956fi 7957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7958 7959if test $ac_cv_header_stdc = yes; then 7960 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7962/* end confdefs.h. */ 7963#include <string.h> 7964 7965_ACEOF 7966if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7967 $EGREP "memchr" >/dev/null 2>&1; then : 7968 7969else 7970 ac_cv_header_stdc=no 7971fi 7972rm -f conftest* 7973 7974fi 7975 7976if test $ac_cv_header_stdc = yes; then 7977 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7979/* end confdefs.h. */ 7980#include <stdlib.h> 7981 7982_ACEOF 7983if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7984 $EGREP "free" >/dev/null 2>&1; then : 7985 7986else 7987 ac_cv_header_stdc=no 7988fi 7989rm -f conftest* 7990 7991fi 7992 7993if test $ac_cv_header_stdc = yes; then 7994 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7995 if test "$cross_compiling" = yes; then : 7996 : 7997else 7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7999/* end confdefs.h. */ 8000#include <ctype.h> 8001#include <stdlib.h> 8002#if ((' ' & 0x0FF) == 0x020) 8003# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8004# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8005#else 8006# define ISLOWER(c) \ 8007 (('a' <= (c) && (c) <= 'i') \ 8008 || ('j' <= (c) && (c) <= 'r') \ 8009 || ('s' <= (c) && (c) <= 'z')) 8010# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8011#endif 8012 8013#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8014int 8015main () 8016{ 8017 int i; 8018 for (i = 0; i < 256; i++) 8019 if (XOR (islower (i), ISLOWER (i)) 8020 || toupper (i) != TOUPPER (i)) 8021 return 2; 8022 return 0; 8023} 8024_ACEOF 8025if ac_fn_c_try_run "$LINENO"; then : 8026 8027else 8028 ac_cv_header_stdc=no 8029fi 8030rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8031 conftest.$ac_objext conftest.beam conftest.$ac_ext 8032fi 8033 8034fi 8035fi 8036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8037$as_echo "$ac_cv_header_stdc" >&6; } 8038if test $ac_cv_header_stdc = yes; then 8039 8040$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8041 8042fi 8043 8044# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8045for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8046 inttypes.h stdint.h unistd.h 8047do : 8048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8049ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8050" 8051eval as_val=\$$as_ac_Header 8052 if test "x$as_val" = x""yes; then : 8053 cat >>confdefs.h <<_ACEOF 8054#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8055_ACEOF 8056 8057fi 8058 8059done 8060 8061 8062for ac_header in dlfcn.h 8063do : 8064 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8065" 8066if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 8067 cat >>confdefs.h <<_ACEOF 8068#define HAVE_DLFCN_H 1 8069_ACEOF 8070 8071fi 8072 8073done 8074 8075 8076 8077ac_ext=cpp 8078ac_cpp='$CXXCPP $CPPFLAGS' 8079ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8080ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8081ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8082if test -z "$CXX"; then 8083 if test -n "$CCC"; then 8084 CXX=$CCC 8085 else 8086 if test -n "$ac_tool_prefix"; then 8087 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 8088 do 8089 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8090set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8092$as_echo_n "checking for $ac_word... " >&6; } 8093if test "${ac_cv_prog_CXX+set}" = set; then : 8094 $as_echo_n "(cached) " >&6 8095else 8096 if test -n "$CXX"; then 8097 ac_cv_prog_CXX="$CXX" # Let the user override the test. 8098else 8099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8100for as_dir in $PATH 8101do 8102 IFS=$as_save_IFS 8103 test -z "$as_dir" && as_dir=. 8104 for ac_exec_ext in '' $ac_executable_extensions; do 8105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8106 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8108 break 2 8109 fi 8110done 8111 done 8112IFS=$as_save_IFS 8113 8114fi 8115fi 8116CXX=$ac_cv_prog_CXX 8117if test -n "$CXX"; then 8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 8119$as_echo "$CXX" >&6; } 8120else 8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8122$as_echo "no" >&6; } 8123fi 8124 8125 8126 test -n "$CXX" && break 8127 done 8128fi 8129if test -z "$CXX"; then 8130 ac_ct_CXX=$CXX 8131 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 8132do 8133 # Extract the first word of "$ac_prog", so it can be a program name with args. 8134set dummy $ac_prog; ac_word=$2 8135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8136$as_echo_n "checking for $ac_word... " >&6; } 8137if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 8138 $as_echo_n "(cached) " >&6 8139else 8140 if test -n "$ac_ct_CXX"; then 8141 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 8142else 8143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8144for as_dir in $PATH 8145do 8146 IFS=$as_save_IFS 8147 test -z "$as_dir" && as_dir=. 8148 for ac_exec_ext in '' $ac_executable_extensions; do 8149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8150 ac_cv_prog_ac_ct_CXX="$ac_prog" 8151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8152 break 2 8153 fi 8154done 8155 done 8156IFS=$as_save_IFS 8157 8158fi 8159fi 8160ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8161if test -n "$ac_ct_CXX"; then 8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 8163$as_echo "$ac_ct_CXX" >&6; } 8164else 8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8166$as_echo "no" >&6; } 8167fi 8168 8169 8170 test -n "$ac_ct_CXX" && break 8171done 8172 8173 if test "x$ac_ct_CXX" = x; then 8174 CXX="g++" 8175 else 8176 case $cross_compiling:$ac_tool_warned in 8177yes:) 8178{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8179$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8180ac_tool_warned=yes ;; 8181esac 8182 CXX=$ac_ct_CXX 8183 fi 8184fi 8185 8186 fi 8187fi 8188# Provide some information about the compiler. 8189$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 8190set X $ac_compile 8191ac_compiler=$2 8192for ac_option in --version -v -V -qversion; do 8193 { { ac_try="$ac_compiler $ac_option >&5" 8194case "(($ac_try" in 8195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8196 *) ac_try_echo=$ac_try;; 8197esac 8198eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 8199$as_echo "$ac_try_echo"; } >&5 8200 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8201 ac_status=$? 8202 if test -s conftest.err; then 8203 sed '10a\ 8204... rest of stderr output deleted ... 8205 10q' conftest.err >conftest.er1 8206 cat conftest.er1 >&5 8207 fi 8208 rm -f conftest.er1 conftest.err 8209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8210 test $ac_status = 0; } 8211done 8212 8213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8214$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 8215if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 8216 $as_echo_n "(cached) " >&6 8217else 8218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8219/* end confdefs.h. */ 8220 8221int 8222main () 8223{ 8224#ifndef __GNUC__ 8225 choke me 8226#endif 8227 8228 ; 8229 return 0; 8230} 8231_ACEOF 8232if ac_fn_cxx_try_compile "$LINENO"; then : 8233 ac_compiler_gnu=yes 8234else 8235 ac_compiler_gnu=no 8236fi 8237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8238ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 8239 8240fi 8241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 8242$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8243if test $ac_compiler_gnu = yes; then 8244 GXX=yes 8245else 8246 GXX= 8247fi 8248ac_test_CXXFLAGS=${CXXFLAGS+set} 8249ac_save_CXXFLAGS=$CXXFLAGS 8250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 8251$as_echo_n "checking whether $CXX accepts -g... " >&6; } 8252if test "${ac_cv_prog_cxx_g+set}" = set; then : 8253 $as_echo_n "(cached) " >&6 8254else 8255 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 8256 ac_cxx_werror_flag=yes 8257 ac_cv_prog_cxx_g=no 8258 CXXFLAGS="-g" 8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8260/* end confdefs.h. */ 8261 8262int 8263main () 8264{ 8265 8266 ; 8267 return 0; 8268} 8269_ACEOF 8270if ac_fn_cxx_try_compile "$LINENO"; then : 8271 ac_cv_prog_cxx_g=yes 8272else 8273 CXXFLAGS="" 8274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8275/* end confdefs.h. */ 8276 8277int 8278main () 8279{ 8280 8281 ; 8282 return 0; 8283} 8284_ACEOF 8285if ac_fn_cxx_try_compile "$LINENO"; then : 8286 8287else 8288 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8289 CXXFLAGS="-g" 8290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8291/* end confdefs.h. */ 8292 8293int 8294main () 8295{ 8296 8297 ; 8298 return 0; 8299} 8300_ACEOF 8301if ac_fn_cxx_try_compile "$LINENO"; then : 8302 ac_cv_prog_cxx_g=yes 8303fi 8304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8305fi 8306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8307fi 8308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8309 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8310fi 8311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 8312$as_echo "$ac_cv_prog_cxx_g" >&6; } 8313if test "$ac_test_CXXFLAGS" = set; then 8314 CXXFLAGS=$ac_save_CXXFLAGS 8315elif test $ac_cv_prog_cxx_g = yes; then 8316 if test "$GXX" = yes; then 8317 CXXFLAGS="-g -O2" 8318 else 8319 CXXFLAGS="-g" 8320 fi 8321else 8322 if test "$GXX" = yes; then 8323 CXXFLAGS="-O2" 8324 else 8325 CXXFLAGS= 8326 fi 8327fi 8328ac_ext=c 8329ac_cpp='$CPP $CPPFLAGS' 8330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8332ac_compiler_gnu=$ac_cv_c_compiler_gnu 8333 8334depcc="$CXX" am_compiler_list= 8335 8336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 8337$as_echo_n "checking dependency style of $depcc... " >&6; } 8338if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 8339 $as_echo_n "(cached) " >&6 8340else 8341 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 8342 # We make a subdir and do the tests there. Otherwise we can end up 8343 # making bogus files that we don't know about and never remove. For 8344 # instance it was reported that on HP-UX the gcc test will end up 8345 # making a dummy file named `D' -- because `-MD' means `put the output 8346 # in D'. 8347 mkdir conftest.dir 8348 # Copy depcomp to subdir because otherwise we won't find it if we're 8349 # using a relative directory. 8350 cp "$am_depcomp" conftest.dir 8351 cd conftest.dir 8352 # We will build objects and dependencies in a subdirectory because 8353 # it helps to detect inapplicable dependency modes. For instance 8354 # both Tru64's cc and ICC support -MD to output dependencies as a 8355 # side effect of compilation, but ICC will put the dependencies in 8356 # the current directory while Tru64 will put them in the object 8357 # directory. 8358 mkdir sub 8359 8360 am_cv_CXX_dependencies_compiler_type=none 8361 if test "$am_compiler_list" = ""; then 8362 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 8363 fi 8364 am__universal=false 8365 case " $depcc " in #( 8366 *\ -arch\ *\ -arch\ *) am__universal=true ;; 8367 esac 8368 8369 for depmode in $am_compiler_list; do 8370 # Setup a source with many dependencies, because some compilers 8371 # like to wrap large dependency lists on column 80 (with \), and 8372 # we should not choose a depcomp mode which is confused by this. 8373 # 8374 # We need to recreate these files for each test, as the compiler may 8375 # overwrite some of them when testing with obscure command lines. 8376 # This happens at least with the AIX C compiler. 8377 : > sub/conftest.c 8378 for i in 1 2 3 4 5 6; do 8379 echo '#include "conftst'$i'.h"' >> sub/conftest.c 8380 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 8381 # Solaris 8's {/usr,}/bin/sh. 8382 touch sub/conftst$i.h 8383 done 8384 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 8385 8386 # We check with `-c' and `-o' for the sake of the "dashmstdout" 8387 # mode. It turns out that the SunPro C++ compiler does not properly 8388 # handle `-M -o', and we need to detect this. Also, some Intel 8389 # versions had trouble with output in subdirs 8390 am__obj=sub/conftest.${OBJEXT-o} 8391 am__minus_obj="-o $am__obj" 8392 case $depmode in 8393 gcc) 8394 # This depmode causes a compiler race in universal mode. 8395 test "$am__universal" = false || continue 8396 ;; 8397 nosideeffect) 8398 # after this tag, mechanisms are not by side-effect, so they'll 8399 # only be used when explicitly requested 8400 if test "x$enable_dependency_tracking" = xyes; then 8401 continue 8402 else 8403 break 8404 fi 8405 ;; 8406 msvisualcpp | msvcmsys) 8407 # This compiler won't grok `-c -o', but also, the minuso test has 8408 # not run yet. These depmodes are late enough in the game, and 8409 # so weak that their functioning should not be impacted. 8410 am__obj=conftest.${OBJEXT-o} 8411 am__minus_obj= 8412 ;; 8413 none) break ;; 8414 esac 8415 if depmode=$depmode \ 8416 source=sub/conftest.c object=$am__obj \ 8417 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 8418 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 8419 >/dev/null 2>conftest.err && 8420 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 8421 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 8422 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 8423 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 8424 # icc doesn't choke on unknown options, it will just issue warnings 8425 # or remarks (even with -Werror). So we grep stderr for any message 8426 # that says an option was ignored or not supported. 8427 # When given -MP, icc 7.0 and 7.1 complain thusly: 8428 # icc: Command line warning: ignoring option '-M'; no argument required 8429 # The diagnosis changed in icc 8.0: 8430 # icc: Command line remark: option '-MP' not supported 8431 if (grep 'ignoring option' conftest.err || 8432 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 8433 am_cv_CXX_dependencies_compiler_type=$depmode 8434 break 8435 fi 8436 fi 8437 done 8438 8439 cd .. 8440 rm -rf conftest.dir 8441else 8442 am_cv_CXX_dependencies_compiler_type=none 8443fi 8444 8445fi 8446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 8447$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 8448CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 8449 8450 if 8451 test "x$enable_dependency_tracking" != xno \ 8452 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 8453 am__fastdepCXX_TRUE= 8454 am__fastdepCXX_FALSE='#' 8455else 8456 am__fastdepCXX_TRUE='#' 8457 am__fastdepCXX_FALSE= 8458fi 8459 8460 8461if test -n "$CXX" && ( test "X$CXX" != "Xno" && 8462 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 8463 (test "X$CXX" != "Xg++"))) ; then 8464 ac_ext=cpp 8465ac_cpp='$CXXCPP $CPPFLAGS' 8466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8467ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 8470$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 8471if test -z "$CXXCPP"; then 8472 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 8473 $as_echo_n "(cached) " >&6 8474else 8475 # Double quotes because CXXCPP needs to be expanded 8476 for CXXCPP in "$CXX -E" "/lib/cpp" 8477 do 8478 ac_preproc_ok=false 8479for ac_cxx_preproc_warn_flag in '' yes 8480do 8481 # Use a header file that comes with gcc, so configuring glibc 8482 # with a fresh cross-compiler works. 8483 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8484 # <limits.h> exists even on freestanding compilers. 8485 # On the NeXT, cc -E runs the code through the compiler's parser, 8486 # not just through cpp. "Syntax error" is here to catch this case. 8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8488/* end confdefs.h. */ 8489#ifdef __STDC__ 8490# include <limits.h> 8491#else 8492# include <assert.h> 8493#endif 8494 Syntax error 8495_ACEOF 8496if ac_fn_cxx_try_cpp "$LINENO"; then : 8497 8498else 8499 # Broken: fails on valid input. 8500continue 8501fi 8502rm -f conftest.err conftest.$ac_ext 8503 8504 # OK, works on sane cases. Now check whether nonexistent headers 8505 # can be detected and how. 8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8507/* end confdefs.h. */ 8508#include <ac_nonexistent.h> 8509_ACEOF 8510if ac_fn_cxx_try_cpp "$LINENO"; then : 8511 # Broken: success on invalid input. 8512continue 8513else 8514 # Passes both tests. 8515ac_preproc_ok=: 8516break 8517fi 8518rm -f conftest.err conftest.$ac_ext 8519 8520done 8521# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8522rm -f conftest.err conftest.$ac_ext 8523if $ac_preproc_ok; then : 8524 break 8525fi 8526 8527 done 8528 ac_cv_prog_CXXCPP=$CXXCPP 8529 8530fi 8531 CXXCPP=$ac_cv_prog_CXXCPP 8532else 8533 ac_cv_prog_CXXCPP=$CXXCPP 8534fi 8535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 8536$as_echo "$CXXCPP" >&6; } 8537ac_preproc_ok=false 8538for ac_cxx_preproc_warn_flag in '' yes 8539do 8540 # Use a header file that comes with gcc, so configuring glibc 8541 # with a fresh cross-compiler works. 8542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8543 # <limits.h> exists even on freestanding compilers. 8544 # On the NeXT, cc -E runs the code through the compiler's parser, 8545 # not just through cpp. "Syntax error" is here to catch this case. 8546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8547/* end confdefs.h. */ 8548#ifdef __STDC__ 8549# include <limits.h> 8550#else 8551# include <assert.h> 8552#endif 8553 Syntax error 8554_ACEOF 8555if ac_fn_cxx_try_cpp "$LINENO"; then : 8556 8557else 8558 # Broken: fails on valid input. 8559continue 8560fi 8561rm -f conftest.err conftest.$ac_ext 8562 8563 # OK, works on sane cases. Now check whether nonexistent headers 8564 # can be detected and how. 8565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8566/* end confdefs.h. */ 8567#include <ac_nonexistent.h> 8568_ACEOF 8569if ac_fn_cxx_try_cpp "$LINENO"; then : 8570 # Broken: success on invalid input. 8571continue 8572else 8573 # Passes both tests. 8574ac_preproc_ok=: 8575break 8576fi 8577rm -f conftest.err conftest.$ac_ext 8578 8579done 8580# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8581rm -f conftest.err conftest.$ac_ext 8582if $ac_preproc_ok; then : 8583 8584else 8585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8587_lt_caught_CXX_error=yes; } 8588fi 8589 8590ac_ext=c 8591ac_cpp='$CPP $CPPFLAGS' 8592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8594ac_compiler_gnu=$ac_cv_c_compiler_gnu 8595 8596else 8597 _lt_caught_CXX_error=yes 8598fi 8599 8600 8601 8602 8603 8604# Set options 8605 8606 8607 8608 enable_dlopen=no 8609 8610 8611 enable_win32_dll=no 8612 8613 8614 8615 8616 8617# Check whether --with-pic was given. 8618if test "${with_pic+set}" = set; then : 8619 withval=$with_pic; pic_mode="$withval" 8620else 8621 pic_mode=default 8622fi 8623 8624 8625test -z "$pic_mode" && pic_mode=default 8626 8627 8628 8629 8630 8631 8632 8633 # Check whether --enable-fast-install was given. 8634if test "${enable_fast_install+set}" = set; then : 8635 enableval=$enable_fast_install; p=${PACKAGE-default} 8636 case $enableval in 8637 yes) enable_fast_install=yes ;; 8638 no) enable_fast_install=no ;; 8639 *) 8640 enable_fast_install=no 8641 # Look at the argument we got. We use all the common list separators. 8642 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8643 for pkg in $enableval; do 8644 IFS="$lt_save_ifs" 8645 if test "X$pkg" = "X$p"; then 8646 enable_fast_install=yes 8647 fi 8648 done 8649 IFS="$lt_save_ifs" 8650 ;; 8651 esac 8652else 8653 enable_fast_install=yes 8654fi 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666# This can be used to rebuild libtool when needed 8667LIBTOOL_DEPS="$ltmain" 8668 8669# Always use our own libtool. 8670LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696test -z "$LN_S" && LN_S="ln -s" 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711if test -n "${ZSH_VERSION+set}" ; then 8712 setopt NO_GLOB_SUBST 8713fi 8714 8715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8716$as_echo_n "checking for objdir... " >&6; } 8717if test "${lt_cv_objdir+set}" = set; then : 8718 $as_echo_n "(cached) " >&6 8719else 8720 rm -f .libs 2>/dev/null 8721mkdir .libs 2>/dev/null 8722if test -d .libs; then 8723 lt_cv_objdir=.libs 8724else 8725 # MS-DOS does not allow filenames that begin with a dot. 8726 lt_cv_objdir=_libs 8727fi 8728rmdir .libs 2>/dev/null 8729fi 8730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8731$as_echo "$lt_cv_objdir" >&6; } 8732objdir=$lt_cv_objdir 8733 8734 8735 8736 8737 8738cat >>confdefs.h <<_ACEOF 8739#define LT_OBJDIR "$lt_cv_objdir/" 8740_ACEOF 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758case $host_os in 8759aix3*) 8760 # AIX sometimes has problems with the GCC collect2 program. For some 8761 # reason, if we set the COLLECT_NAMES environment variable, the problems 8762 # vanish in a puff of smoke. 8763 if test "X${COLLECT_NAMES+set}" != Xset; then 8764 COLLECT_NAMES= 8765 export COLLECT_NAMES 8766 fi 8767 ;; 8768esac 8769 8770# Sed substitution that helps us do robust quoting. It backslashifies 8771# metacharacters that are still active within double-quoted strings. 8772sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 8773 8774# Same as above, but do not quote variable references. 8775double_quote_subst='s/\(["`\\]\)/\\\1/g' 8776 8777# Sed substitution to delay expansion of an escaped shell variable in a 8778# double_quote_subst'ed string. 8779delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 8780 8781# Sed substitution to delay expansion of an escaped single quote. 8782delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 8783 8784# Sed substitution to avoid accidental globbing in evaled expressions 8785no_glob_subst='s/\*/\\\*/g' 8786 8787# Global variables: 8788ofile=libtool 8789can_build_shared=yes 8790 8791# All known linkers require a `.a' archive for static linking (except MSVC, 8792# which needs '.lib'). 8793libext=a 8794 8795with_gnu_ld="$lt_cv_prog_gnu_ld" 8796 8797old_CC="$CC" 8798old_CFLAGS="$CFLAGS" 8799 8800# Set sane defaults for various variables 8801test -z "$CC" && CC=cc 8802test -z "$LTCC" && LTCC=$CC 8803test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8804test -z "$LD" && LD=ld 8805test -z "$ac_objext" && ac_objext=o 8806 8807for cc_temp in $compiler""; do 8808 case $cc_temp in 8809 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8810 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8811 \-*) ;; 8812 *) break;; 8813 esac 8814done 8815cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 8816 8817 8818# Only perform the check for file, if the check method requires it 8819test -z "$MAGIC_CMD" && MAGIC_CMD=file 8820case $deplibs_check_method in 8821file_magic*) 8822 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8824$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8825if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 8826 $as_echo_n "(cached) " >&6 8827else 8828 case $MAGIC_CMD in 8829[\\/*] | ?:[\\/]*) 8830 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8831 ;; 8832*) 8833 lt_save_MAGIC_CMD="$MAGIC_CMD" 8834 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8835 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8836 for ac_dir in $ac_dummy; do 8837 IFS="$lt_save_ifs" 8838 test -z "$ac_dir" && ac_dir=. 8839 if test -f $ac_dir/${ac_tool_prefix}file; then 8840 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8841 if test -n "$file_magic_test_file"; then 8842 case $deplibs_check_method in 8843 "file_magic "*) 8844 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8845 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8846 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8847 $EGREP "$file_magic_regex" > /dev/null; then 8848 : 8849 else 8850 cat <<_LT_EOF 1>&2 8851 8852*** Warning: the command libtool uses to detect shared libraries, 8853*** $file_magic_cmd, produces output that libtool cannot recognize. 8854*** The result is that libtool may fail to recognize shared libraries 8855*** as such. This will affect the creation of libtool libraries that 8856*** depend on shared libraries, but programs linked with such libtool 8857*** libraries will work regardless of this problem. Nevertheless, you 8858*** may want to report the problem to your system manager and/or to 8859*** bug-libtool@gnu.org 8860 8861_LT_EOF 8862 fi ;; 8863 esac 8864 fi 8865 break 8866 fi 8867 done 8868 IFS="$lt_save_ifs" 8869 MAGIC_CMD="$lt_save_MAGIC_CMD" 8870 ;; 8871esac 8872fi 8873 8874MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8875if test -n "$MAGIC_CMD"; then 8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8877$as_echo "$MAGIC_CMD" >&6; } 8878else 8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8880$as_echo "no" >&6; } 8881fi 8882 8883 8884 8885 8886 8887if test -z "$lt_cv_path_MAGIC_CMD"; then 8888 if test -n "$ac_tool_prefix"; then 8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8890$as_echo_n "checking for file... " >&6; } 8891if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 8892 $as_echo_n "(cached) " >&6 8893else 8894 case $MAGIC_CMD in 8895[\\/*] | ?:[\\/]*) 8896 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8897 ;; 8898*) 8899 lt_save_MAGIC_CMD="$MAGIC_CMD" 8900 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8901 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8902 for ac_dir in $ac_dummy; do 8903 IFS="$lt_save_ifs" 8904 test -z "$ac_dir" && ac_dir=. 8905 if test -f $ac_dir/file; then 8906 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8907 if test -n "$file_magic_test_file"; then 8908 case $deplibs_check_method in 8909 "file_magic "*) 8910 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8911 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8912 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8913 $EGREP "$file_magic_regex" > /dev/null; then 8914 : 8915 else 8916 cat <<_LT_EOF 1>&2 8917 8918*** Warning: the command libtool uses to detect shared libraries, 8919*** $file_magic_cmd, produces output that libtool cannot recognize. 8920*** The result is that libtool may fail to recognize shared libraries 8921*** as such. This will affect the creation of libtool libraries that 8922*** depend on shared libraries, but programs linked with such libtool 8923*** libraries will work regardless of this problem. Nevertheless, you 8924*** may want to report the problem to your system manager and/or to 8925*** bug-libtool@gnu.org 8926 8927_LT_EOF 8928 fi ;; 8929 esac 8930 fi 8931 break 8932 fi 8933 done 8934 IFS="$lt_save_ifs" 8935 MAGIC_CMD="$lt_save_MAGIC_CMD" 8936 ;; 8937esac 8938fi 8939 8940MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8941if test -n "$MAGIC_CMD"; then 8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8943$as_echo "$MAGIC_CMD" >&6; } 8944else 8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8946$as_echo "no" >&6; } 8947fi 8948 8949 8950 else 8951 MAGIC_CMD=: 8952 fi 8953fi 8954 8955 fi 8956 ;; 8957esac 8958 8959# Use C for the default configuration in the libtool script 8960 8961lt_save_CC="$CC" 8962ac_ext=c 8963ac_cpp='$CPP $CPPFLAGS' 8964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8966ac_compiler_gnu=$ac_cv_c_compiler_gnu 8967 8968 8969# Source file extension for C test sources. 8970ac_ext=c 8971 8972# Object file extension for compiled C test sources. 8973objext=o 8974objext=$objext 8975 8976# Code to be used in simple compile tests 8977lt_simple_compile_test_code="int some_variable = 0;" 8978 8979# Code to be used in simple link tests 8980lt_simple_link_test_code='int main(){return(0);}' 8981 8982 8983 8984 8985 8986 8987 8988# If no C compiler was specified, use CC. 8989LTCC=${LTCC-"$CC"} 8990 8991# If no C compiler flags were specified, use CFLAGS. 8992LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8993 8994# Allow CC to be a program name with arguments. 8995compiler=$CC 8996 8997# Save the default compiler, since it gets overwritten when the other 8998# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8999compiler_DEFAULT=$CC 9000 9001# save warnings/boilerplate of simple test code 9002ac_outfile=conftest.$ac_objext 9003echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9004eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9005_lt_compiler_boilerplate=`cat conftest.err` 9006$RM conftest* 9007 9008ac_outfile=conftest.$ac_objext 9009echo "$lt_simple_link_test_code" >conftest.$ac_ext 9010eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9011_lt_linker_boilerplate=`cat conftest.err` 9012$RM -r conftest* 9013 9014 9015## CAVEAT EMPTOR: 9016## There is no encapsulation within the following macros, do not change 9017## the running order or otherwise move them around unless you know exactly 9018## what you are doing... 9019if test -n "$compiler"; then 9020 9021lt_prog_compiler_no_builtin_flag= 9022 9023if test "$GCC" = yes; then 9024 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 9025 9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9027$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9028if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 9029 $as_echo_n "(cached) " >&6 9030else 9031 lt_cv_prog_compiler_rtti_exceptions=no 9032 ac_outfile=conftest.$ac_objext 9033 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9034 lt_compiler_flag="-fno-rtti -fno-exceptions" 9035 # Insert the option either (1) after the last *FLAGS variable, or 9036 # (2) before a word containing "conftest.", or (3) at the end. 9037 # Note that $ac_compile itself does not contain backslashes and begins 9038 # with a dollar sign (not a hyphen), so the echo should work correctly. 9039 # The option is referenced via a variable to avoid confusing sed. 9040 lt_compile=`echo "$ac_compile" | $SED \ 9041 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9042 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9043 -e 's:$: $lt_compiler_flag:'` 9044 (eval echo "\"\$as_me:9044: $lt_compile\"" >&5) 9045 (eval "$lt_compile" 2>conftest.err) 9046 ac_status=$? 9047 cat conftest.err >&5 9048 echo "$as_me:9048: \$? = $ac_status" >&5 9049 if (exit $ac_status) && test -s "$ac_outfile"; then 9050 # The compiler can only warn and ignore the option if not recognized 9051 # So say no if there are warnings other than the usual output. 9052 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 9053 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9054 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9055 lt_cv_prog_compiler_rtti_exceptions=yes 9056 fi 9057 fi 9058 $RM conftest* 9059 9060fi 9061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9062$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9063 9064if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9065 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9066else 9067 : 9068fi 9069 9070fi 9071 9072 9073 9074 9075 9076 9077 lt_prog_compiler_wl= 9078lt_prog_compiler_pic= 9079lt_prog_compiler_static= 9080 9081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9082$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9083 9084 if test "$GCC" = yes; then 9085 lt_prog_compiler_wl='-Wl,' 9086 lt_prog_compiler_static='-static' 9087 9088 case $host_os in 9089 aix*) 9090 # All AIX code is PIC. 9091 if test "$host_cpu" = ia64; then 9092 # AIX 5 now supports IA64 processor 9093 lt_prog_compiler_static='-Bstatic' 9094 fi 9095 ;; 9096 9097 amigaos*) 9098 case $host_cpu in 9099 powerpc) 9100 # see comment about AmigaOS4 .so support 9101 lt_prog_compiler_pic='-fPIC' 9102 ;; 9103 m68k) 9104 # FIXME: we need at least 68020 code to build shared libraries, but 9105 # adding the `-m68020' flag to GCC prevents building anything better, 9106 # like `-m68040'. 9107 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9108 ;; 9109 esac 9110 ;; 9111 9112 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9113 # PIC is the default for these OSes. 9114 ;; 9115 9116 mingw* | cygwin* | pw32* | os2* | cegcc*) 9117 # This hack is so that the source file can tell whether it is being 9118 # built for inclusion in a dll (and should export symbols for example). 9119 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9120 # (--disable-auto-import) libraries 9121 lt_prog_compiler_pic='-DDLL_EXPORT' 9122 ;; 9123 9124 darwin* | rhapsody*) 9125 # PIC is the default on this platform 9126 # Common symbols not allowed in MH_DYLIB files 9127 lt_prog_compiler_pic='-fno-common' 9128 ;; 9129 9130 hpux*) 9131 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9132 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9133 # sets the default TLS model and affects inlining. 9134 case $host_cpu in 9135 hppa*64*) 9136 # +Z the default 9137 ;; 9138 *) 9139 lt_prog_compiler_pic='-fPIC' 9140 ;; 9141 esac 9142 ;; 9143 9144 interix[3-9]*) 9145 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9146 # Instead, we relocate shared libraries at runtime. 9147 ;; 9148 9149 msdosdjgpp*) 9150 # Just because we use GCC doesn't mean we suddenly get shared libraries 9151 # on systems that don't support them. 9152 lt_prog_compiler_can_build_shared=no 9153 enable_shared=no 9154 ;; 9155 9156 *nto* | *qnx*) 9157 # QNX uses GNU C++, but need to define -shared option too, otherwise 9158 # it will coredump. 9159 lt_prog_compiler_pic='-fPIC -shared' 9160 ;; 9161 9162 sysv4*MP*) 9163 if test -d /usr/nec; then 9164 lt_prog_compiler_pic=-Kconform_pic 9165 fi 9166 ;; 9167 9168 *) 9169 lt_prog_compiler_pic='-fPIC' 9170 ;; 9171 esac 9172 else 9173 # PORTME Check for flag to pass linker flags through the system compiler. 9174 case $host_os in 9175 aix*) 9176 lt_prog_compiler_wl='-Wl,' 9177 if test "$host_cpu" = ia64; then 9178 # AIX 5 now supports IA64 processor 9179 lt_prog_compiler_static='-Bstatic' 9180 else 9181 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9182 fi 9183 ;; 9184 9185 mingw* | cygwin* | pw32* | os2* | cegcc*) 9186 # This hack is so that the source file can tell whether it is being 9187 # built for inclusion in a dll (and should export symbols for example). 9188 lt_prog_compiler_pic='-DDLL_EXPORT' 9189 ;; 9190 9191 hpux9* | hpux10* | hpux11*) 9192 lt_prog_compiler_wl='-Wl,' 9193 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9194 # not for PA HP-UX. 9195 case $host_cpu in 9196 hppa*64*|ia64*) 9197 # +Z the default 9198 ;; 9199 *) 9200 lt_prog_compiler_pic='+Z' 9201 ;; 9202 esac 9203 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9204 lt_prog_compiler_static='${wl}-a ${wl}archive' 9205 ;; 9206 9207 irix5* | irix6* | nonstopux*) 9208 lt_prog_compiler_wl='-Wl,' 9209 # PIC (with -KPIC) is the default. 9210 lt_prog_compiler_static='-non_shared' 9211 ;; 9212 9213 linux* | k*bsd*-gnu) 9214 case $cc_basename in 9215 # old Intel for x86_64 which still supported -KPIC. 9216 ecc*) 9217 lt_prog_compiler_wl='-Wl,' 9218 lt_prog_compiler_pic='-KPIC' 9219 lt_prog_compiler_static='-static' 9220 ;; 9221 # icc used to be incompatible with GCC. 9222 # ICC 10 doesn't accept -KPIC any more. 9223 icc* | ifort*) 9224 lt_prog_compiler_wl='-Wl,' 9225 lt_prog_compiler_pic='-fPIC' 9226 lt_prog_compiler_static='-static' 9227 ;; 9228 # Lahey Fortran 8.1. 9229 lf95*) 9230 lt_prog_compiler_wl='-Wl,' 9231 lt_prog_compiler_pic='--shared' 9232 lt_prog_compiler_static='--static' 9233 ;; 9234 pgcc* | pgf77* | pgf90* | pgf95*) 9235 # Portland Group compilers (*not* the Pentium gcc compiler, 9236 # which looks to be a dead project) 9237 lt_prog_compiler_wl='-Wl,' 9238 lt_prog_compiler_pic='-fpic' 9239 lt_prog_compiler_static='-Bstatic' 9240 ;; 9241 ccc*) 9242 lt_prog_compiler_wl='-Wl,' 9243 # All Alpha code is PIC. 9244 lt_prog_compiler_static='-non_shared' 9245 ;; 9246 xl*) 9247 # IBM XL C 8.0/Fortran 10.1 on PPC 9248 lt_prog_compiler_wl='-Wl,' 9249 lt_prog_compiler_pic='-qpic' 9250 lt_prog_compiler_static='-qstaticlink' 9251 ;; 9252 *) 9253 case `$CC -V 2>&1 | sed 5q` in 9254 *Sun\ C*) 9255 # Sun C 5.9 9256 lt_prog_compiler_pic='-KPIC' 9257 lt_prog_compiler_static='-Bstatic' 9258 lt_prog_compiler_wl='-Wl,' 9259 ;; 9260 *Sun\ F*) 9261 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9262 lt_prog_compiler_pic='-KPIC' 9263 lt_prog_compiler_static='-Bstatic' 9264 lt_prog_compiler_wl='' 9265 ;; 9266 esac 9267 ;; 9268 esac 9269 ;; 9270 9271 newsos6) 9272 lt_prog_compiler_pic='-KPIC' 9273 lt_prog_compiler_static='-Bstatic' 9274 ;; 9275 9276 *nto* | *qnx*) 9277 # QNX uses GNU C++, but need to define -shared option too, otherwise 9278 # it will coredump. 9279 lt_prog_compiler_pic='-fPIC -shared' 9280 ;; 9281 9282 osf3* | osf4* | osf5*) 9283 lt_prog_compiler_wl='-Wl,' 9284 # All OSF/1 code is PIC. 9285 lt_prog_compiler_static='-non_shared' 9286 ;; 9287 9288 rdos*) 9289 lt_prog_compiler_static='-non_shared' 9290 ;; 9291 9292 solaris*) 9293 lt_prog_compiler_pic='-KPIC' 9294 lt_prog_compiler_static='-Bstatic' 9295 case $cc_basename in 9296 f77* | f90* | f95*) 9297 lt_prog_compiler_wl='-Qoption ld ';; 9298 *) 9299 lt_prog_compiler_wl='-Wl,';; 9300 esac 9301 ;; 9302 9303 sunos4*) 9304 lt_prog_compiler_wl='-Qoption ld ' 9305 lt_prog_compiler_pic='-PIC' 9306 lt_prog_compiler_static='-Bstatic' 9307 ;; 9308 9309 sysv4 | sysv4.2uw2* | sysv4.3*) 9310 lt_prog_compiler_wl='-Wl,' 9311 lt_prog_compiler_pic='-KPIC' 9312 lt_prog_compiler_static='-Bstatic' 9313 ;; 9314 9315 sysv4*MP*) 9316 if test -d /usr/nec ;then 9317 lt_prog_compiler_pic='-Kconform_pic' 9318 lt_prog_compiler_static='-Bstatic' 9319 fi 9320 ;; 9321 9322 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9323 lt_prog_compiler_wl='-Wl,' 9324 lt_prog_compiler_pic='-KPIC' 9325 lt_prog_compiler_static='-Bstatic' 9326 ;; 9327 9328 unicos*) 9329 lt_prog_compiler_wl='-Wl,' 9330 lt_prog_compiler_can_build_shared=no 9331 ;; 9332 9333 uts4*) 9334 lt_prog_compiler_pic='-pic' 9335 lt_prog_compiler_static='-Bstatic' 9336 ;; 9337 9338 *) 9339 lt_prog_compiler_can_build_shared=no 9340 ;; 9341 esac 9342 fi 9343 9344case $host_os in 9345 # For platforms which do not support PIC, -DPIC is meaningless: 9346 *djgpp*) 9347 lt_prog_compiler_pic= 9348 ;; 9349 *) 9350 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9351 ;; 9352esac 9353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 9354$as_echo "$lt_prog_compiler_pic" >&6; } 9355 9356 9357 9358 9359 9360 9361# 9362# Check to make sure the PIC flag actually works. 9363# 9364if test -n "$lt_prog_compiler_pic"; then 9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9366$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9367if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 9368 $as_echo_n "(cached) " >&6 9369else 9370 lt_cv_prog_compiler_pic_works=no 9371 ac_outfile=conftest.$ac_objext 9372 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9373 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9374 # Insert the option either (1) after the last *FLAGS variable, or 9375 # (2) before a word containing "conftest.", or (3) at the end. 9376 # Note that $ac_compile itself does not contain backslashes and begins 9377 # with a dollar sign (not a hyphen), so the echo should work correctly. 9378 # The option is referenced via a variable to avoid confusing sed. 9379 lt_compile=`echo "$ac_compile" | $SED \ 9380 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9381 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9382 -e 's:$: $lt_compiler_flag:'` 9383 (eval echo "\"\$as_me:9383: $lt_compile\"" >&5) 9384 (eval "$lt_compile" 2>conftest.err) 9385 ac_status=$? 9386 cat conftest.err >&5 9387 echo "$as_me:9387: \$? = $ac_status" >&5 9388 if (exit $ac_status) && test -s "$ac_outfile"; then 9389 # The compiler can only warn and ignore the option if not recognized 9390 # So say no if there are warnings other than the usual output. 9391 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 9392 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9393 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9394 lt_cv_prog_compiler_pic_works=yes 9395 fi 9396 fi 9397 $RM conftest* 9398 9399fi 9400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9401$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9402 9403if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9404 case $lt_prog_compiler_pic in 9405 "" | " "*) ;; 9406 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9407 esac 9408else 9409 lt_prog_compiler_pic= 9410 lt_prog_compiler_can_build_shared=no 9411fi 9412 9413fi 9414 9415 9416 9417 9418 9419 9420# 9421# Check to make sure the static flag actually works. 9422# 9423wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9425$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9426if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 9427 $as_echo_n "(cached) " >&6 9428else 9429 lt_cv_prog_compiler_static_works=no 9430 save_LDFLAGS="$LDFLAGS" 9431 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9432 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9433 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9434 # The linker can only warn and ignore the option if not recognized 9435 # So say no if there are warnings 9436 if test -s conftest.err; then 9437 # Append any errors to the config.log. 9438 cat conftest.err 1>&5 9439 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 9440 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9441 if diff conftest.exp conftest.er2 >/dev/null; then 9442 lt_cv_prog_compiler_static_works=yes 9443 fi 9444 else 9445 lt_cv_prog_compiler_static_works=yes 9446 fi 9447 fi 9448 $RM -r conftest* 9449 LDFLAGS="$save_LDFLAGS" 9450 9451fi 9452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9453$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9454 9455if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9456 : 9457else 9458 lt_prog_compiler_static= 9459fi 9460 9461 9462 9463 9464 9465 9466 9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9468$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9469if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 9470 $as_echo_n "(cached) " >&6 9471else 9472 lt_cv_prog_compiler_c_o=no 9473 $RM -r conftest 2>/dev/null 9474 mkdir conftest 9475 cd conftest 9476 mkdir out 9477 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9478 9479 lt_compiler_flag="-o out/conftest2.$ac_objext" 9480 # Insert the option either (1) after the last *FLAGS variable, or 9481 # (2) before a word containing "conftest.", or (3) at the end. 9482 # Note that $ac_compile itself does not contain backslashes and begins 9483 # with a dollar sign (not a hyphen), so the echo should work correctly. 9484 lt_compile=`echo "$ac_compile" | $SED \ 9485 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9486 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9487 -e 's:$: $lt_compiler_flag:'` 9488 (eval echo "\"\$as_me:9488: $lt_compile\"" >&5) 9489 (eval "$lt_compile" 2>out/conftest.err) 9490 ac_status=$? 9491 cat out/conftest.err >&5 9492 echo "$as_me:9492: \$? = $ac_status" >&5 9493 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9494 then 9495 # The compiler can only warn and ignore the option if not recognized 9496 # So say no if there are warnings 9497 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9498 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9499 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9500 lt_cv_prog_compiler_c_o=yes 9501 fi 9502 fi 9503 chmod u+w . 2>&5 9504 $RM conftest* 9505 # SGI C++ compiler will create directory out/ii_files/ for 9506 # template instantiation 9507 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9508 $RM out/* && rmdir out 9509 cd .. 9510 $RM -r conftest 9511 $RM conftest* 9512 9513fi 9514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9515$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9516 9517 9518 9519 9520 9521 9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9523$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9524if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 9525 $as_echo_n "(cached) " >&6 9526else 9527 lt_cv_prog_compiler_c_o=no 9528 $RM -r conftest 2>/dev/null 9529 mkdir conftest 9530 cd conftest 9531 mkdir out 9532 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9533 9534 lt_compiler_flag="-o out/conftest2.$ac_objext" 9535 # Insert the option either (1) after the last *FLAGS variable, or 9536 # (2) before a word containing "conftest.", or (3) at the end. 9537 # Note that $ac_compile itself does not contain backslashes and begins 9538 # with a dollar sign (not a hyphen), so the echo should work correctly. 9539 lt_compile=`echo "$ac_compile" | $SED \ 9540 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9541 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9542 -e 's:$: $lt_compiler_flag:'` 9543 (eval echo "\"\$as_me:9543: $lt_compile\"" >&5) 9544 (eval "$lt_compile" 2>out/conftest.err) 9545 ac_status=$? 9546 cat out/conftest.err >&5 9547 echo "$as_me:9547: \$? = $ac_status" >&5 9548 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9549 then 9550 # The compiler can only warn and ignore the option if not recognized 9551 # So say no if there are warnings 9552 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9553 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9554 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9555 lt_cv_prog_compiler_c_o=yes 9556 fi 9557 fi 9558 chmod u+w . 2>&5 9559 $RM conftest* 9560 # SGI C++ compiler will create directory out/ii_files/ for 9561 # template instantiation 9562 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9563 $RM out/* && rmdir out 9564 cd .. 9565 $RM -r conftest 9566 $RM conftest* 9567 9568fi 9569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9570$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9571 9572 9573 9574 9575hard_links="nottested" 9576if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9577 # do not overwrite the value of need_locks provided by the user 9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9579$as_echo_n "checking if we can lock with hard links... " >&6; } 9580 hard_links=yes 9581 $RM conftest* 9582 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9583 touch conftest.a 9584 ln conftest.a conftest.b 2>&5 || hard_links=no 9585 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9587$as_echo "$hard_links" >&6; } 9588 if test "$hard_links" = no; then 9589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9590$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9591 need_locks=warn 9592 fi 9593else 9594 need_locks=no 9595fi 9596 9597 9598 9599 9600 9601 9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9603$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9604 9605 runpath_var= 9606 allow_undefined_flag= 9607 always_export_symbols=no 9608 archive_cmds= 9609 archive_expsym_cmds= 9610 compiler_needs_object=no 9611 enable_shared_with_static_runtimes=no 9612 export_dynamic_flag_spec= 9613 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9614 hardcode_automatic=no 9615 hardcode_direct=no 9616 hardcode_direct_absolute=no 9617 hardcode_libdir_flag_spec= 9618 hardcode_libdir_flag_spec_ld= 9619 hardcode_libdir_separator= 9620 hardcode_minus_L=no 9621 hardcode_shlibpath_var=unsupported 9622 inherit_rpath=no 9623 link_all_deplibs=unknown 9624 module_cmds= 9625 module_expsym_cmds= 9626 old_archive_from_new_cmds= 9627 old_archive_from_expsyms_cmds= 9628 thread_safe_flag_spec= 9629 whole_archive_flag_spec= 9630 # include_expsyms should be a list of space-separated symbols to be *always* 9631 # included in the symbol list 9632 include_expsyms= 9633 # exclude_expsyms can be an extended regexp of symbols to exclude 9634 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9635 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9636 # as well as any symbol that contains `d'. 9637 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9638 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9639 # platforms (ab)use it in PIC code, but their linkers get confused if 9640 # the symbol is explicitly referenced. Since portable code cannot 9641 # rely on this symbol name, it's probably fine to never include it in 9642 # preloaded symbol tables. 9643 # Exclude shared library initialization/finalization symbols. 9644 extract_expsyms_cmds= 9645 9646 case $host_os in 9647 cygwin* | mingw* | pw32* | cegcc*) 9648 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9649 # When not using gcc, we currently assume that we are using 9650 # Microsoft Visual C++. 9651 if test "$GCC" != yes; then 9652 with_gnu_ld=no 9653 fi 9654 ;; 9655 interix*) 9656 # we just hope/assume this is gcc and not c89 (= MSVC++) 9657 with_gnu_ld=yes 9658 ;; 9659 openbsd*) 9660 with_gnu_ld=no 9661 ;; 9662 esac 9663 9664 ld_shlibs=yes 9665 if test "$with_gnu_ld" = yes; then 9666 # If archive_cmds runs LD, not CC, wlarc should be empty 9667 wlarc='${wl}' 9668 9669 # Set some defaults for GNU ld with shared library support. These 9670 # are reset later if shared libraries are not supported. Putting them 9671 # here allows them to be overridden if necessary. 9672 runpath_var=LD_RUN_PATH 9673 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9674 export_dynamic_flag_spec='${wl}--export-dynamic' 9675 # ancient GNU ld didn't support --whole-archive et. al. 9676 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9677 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9678 else 9679 whole_archive_flag_spec= 9680 fi 9681 supports_anon_versioning=no 9682 case `$LD -v 2>&1` in 9683 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9684 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9685 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9686 *\ 2.11.*) ;; # other 2.11 versions 9687 *) supports_anon_versioning=yes ;; 9688 esac 9689 9690 # See if GNU ld supports shared libraries. 9691 case $host_os in 9692 aix[3-9]*) 9693 # On AIX/PPC, the GNU linker is very broken 9694 if test "$host_cpu" != ia64; then 9695 ld_shlibs=no 9696 cat <<_LT_EOF 1>&2 9697 9698*** Warning: the GNU linker, at least up to release 2.9.1, is reported 9699*** to be unable to reliably create shared libraries on AIX. 9700*** Therefore, libtool is disabling shared libraries support. If you 9701*** really care for shared libraries, you may want to modify your PATH 9702*** so that a non-GNU linker is found, and then restart. 9703 9704_LT_EOF 9705 fi 9706 ;; 9707 9708 amigaos*) 9709 case $host_cpu in 9710 powerpc) 9711 # see comment about AmigaOS4 .so support 9712 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9713 archive_expsym_cmds='' 9714 ;; 9715 m68k) 9716 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)' 9717 hardcode_libdir_flag_spec='-L$libdir' 9718 hardcode_minus_L=yes 9719 ;; 9720 esac 9721 ;; 9722 9723 beos*) 9724 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9725 allow_undefined_flag=unsupported 9726 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9727 # support --undefined. This deserves some investigation. FIXME 9728 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9729 else 9730 ld_shlibs=no 9731 fi 9732 ;; 9733 9734 cygwin* | mingw* | pw32* | cegcc*) 9735 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9736 # as there is no search path for DLLs. 9737 hardcode_libdir_flag_spec='-L$libdir' 9738 allow_undefined_flag=unsupported 9739 always_export_symbols=no 9740 enable_shared_with_static_runtimes=yes 9741 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9742 9743 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9744 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9745 # If the export-symbols file already is a .def file (1st line 9746 # is EXPORTS), use it as is; otherwise, prepend... 9747 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9748 cp $export_symbols $output_objdir/$soname.def; 9749 else 9750 echo EXPORTS > $output_objdir/$soname.def; 9751 cat $export_symbols >> $output_objdir/$soname.def; 9752 fi~ 9753 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9754 else 9755 ld_shlibs=no 9756 fi 9757 ;; 9758 9759 interix[3-9]*) 9760 hardcode_direct=no 9761 hardcode_shlibpath_var=no 9762 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9763 export_dynamic_flag_spec='${wl}-E' 9764 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9765 # Instead, shared libraries are loaded at an image base (0x10000000 by 9766 # default) and relocated if they conflict, which is a slow very memory 9767 # consuming and fragmenting process. To avoid this, we pick a random, 9768 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9769 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9770 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9771 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' 9772 ;; 9773 9774 gnu* | linux* | tpf* | k*bsd*-gnu) 9775 tmp_diet=no 9776 if test "$host_os" = linux-dietlibc; then 9777 case $cc_basename in 9778 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9779 esac 9780 fi 9781 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9782 && test "$tmp_diet" = no 9783 then 9784 tmp_addflag= 9785 tmp_sharedflag='-shared' 9786 case $cc_basename,$host_cpu in 9787 pgcc*) # Portland Group C compiler 9788 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 9789 tmp_addflag=' $pic_flag' 9790 ;; 9791 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 9792 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 9793 tmp_addflag=' $pic_flag -Mnomain' ;; 9794 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9795 tmp_addflag=' -i_dynamic' ;; 9796 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9797 tmp_addflag=' -i_dynamic -nofor_main' ;; 9798 ifc* | ifort*) # Intel Fortran compiler 9799 tmp_addflag=' -nofor_main' ;; 9800 lf95*) # Lahey Fortran 8.1 9801 whole_archive_flag_spec= 9802 tmp_sharedflag='--shared' ;; 9803 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9804 tmp_sharedflag='-qmkshrobj' 9805 tmp_addflag= ;; 9806 esac 9807 case `$CC -V 2>&1 | sed 5q` in 9808 *Sun\ C*) # Sun C 5.9 9809 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 9810 compiler_needs_object=yes 9811 tmp_sharedflag='-G' ;; 9812 *Sun\ F*) # Sun Fortran 8.3 9813 tmp_sharedflag='-G' ;; 9814 esac 9815 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9816 9817 if test "x$supports_anon_versioning" = xyes; then 9818 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9819 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9820 echo "local: *; };" >> $output_objdir/$libname.ver~ 9821 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9822 fi 9823 9824 case $cc_basename in 9825 xlf*) 9826 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9827 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9828 hardcode_libdir_flag_spec= 9829 hardcode_libdir_flag_spec_ld='-rpath $libdir' 9830 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 9831 if test "x$supports_anon_versioning" = xyes; then 9832 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9833 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9834 echo "local: *; };" >> $output_objdir/$libname.ver~ 9835 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9836 fi 9837 ;; 9838 esac 9839 else 9840 ld_shlibs=no 9841 fi 9842 ;; 9843 9844 netbsd*) 9845 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9846 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9847 wlarc= 9848 else 9849 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9850 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9851 fi 9852 ;; 9853 9854 solaris*) 9855 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9856 ld_shlibs=no 9857 cat <<_LT_EOF 1>&2 9858 9859*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9860*** create shared libraries on Solaris systems. Therefore, libtool 9861*** is disabling shared libraries support. We urge you to upgrade GNU 9862*** binutils to release 2.9.1 or newer. Another option is to modify 9863*** your PATH or compiler configuration so that the native linker is 9864*** used, and then restart. 9865 9866_LT_EOF 9867 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9868 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9869 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9870 else 9871 ld_shlibs=no 9872 fi 9873 ;; 9874 9875 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9876 case `$LD -v 2>&1` in 9877 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9878 ld_shlibs=no 9879 cat <<_LT_EOF 1>&2 9880 9881*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9882*** reliably create shared libraries on SCO systems. Therefore, libtool 9883*** is disabling shared libraries support. We urge you to upgrade GNU 9884*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9885*** your PATH or compiler configuration so that the native linker is 9886*** used, and then restart. 9887 9888_LT_EOF 9889 ;; 9890 *) 9891 # For security reasons, it is highly recommended that you always 9892 # use absolute paths for naming shared libraries, and exclude the 9893 # DT_RUNPATH tag from executables and libraries. But doing so 9894 # requires that you compile everything twice, which is a pain. 9895 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9896 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9897 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9898 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9899 else 9900 ld_shlibs=no 9901 fi 9902 ;; 9903 esac 9904 ;; 9905 9906 sunos4*) 9907 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9908 wlarc= 9909 hardcode_direct=yes 9910 hardcode_shlibpath_var=no 9911 ;; 9912 9913 *) 9914 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9915 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9916 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9917 else 9918 ld_shlibs=no 9919 fi 9920 ;; 9921 esac 9922 9923 if test "$ld_shlibs" = no; then 9924 runpath_var= 9925 hardcode_libdir_flag_spec= 9926 export_dynamic_flag_spec= 9927 whole_archive_flag_spec= 9928 fi 9929 else 9930 # PORTME fill in a description of your system's linker (not GNU ld) 9931 case $host_os in 9932 aix3*) 9933 allow_undefined_flag=unsupported 9934 always_export_symbols=yes 9935 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' 9936 # Note: this linker hardcodes the directories in LIBPATH if there 9937 # are no directories specified by -L. 9938 hardcode_minus_L=yes 9939 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9940 # Neither direct hardcoding nor static linking is supported with a 9941 # broken collect2. 9942 hardcode_direct=unsupported 9943 fi 9944 ;; 9945 9946 aix[4-9]*) 9947 if test "$host_cpu" = ia64; then 9948 # On IA64, the linker does run time linking by default, so we don't 9949 # have to do anything special. 9950 aix_use_runtimelinking=no 9951 exp_sym_flag='-Bexport' 9952 no_entry_flag="" 9953 else 9954 # If we're using GNU nm, then we don't want the "-C" option. 9955 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9956 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9957 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9958 else 9959 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' 9960 fi 9961 aix_use_runtimelinking=no 9962 9963 # Test if we are trying to use run time linking or normal 9964 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9965 # need to do runtime linking. 9966 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9967 for ld_flag in $LDFLAGS; do 9968 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9969 aix_use_runtimelinking=yes 9970 break 9971 fi 9972 done 9973 ;; 9974 esac 9975 9976 exp_sym_flag='-bexport' 9977 no_entry_flag='-bnoentry' 9978 fi 9979 9980 # When large executables or shared objects are built, AIX ld can 9981 # have problems creating the table of contents. If linking a library 9982 # or program results in "error TOC overflow" add -mminimal-toc to 9983 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9984 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9985 9986 archive_cmds='' 9987 hardcode_direct=yes 9988 hardcode_direct_absolute=yes 9989 hardcode_libdir_separator=':' 9990 link_all_deplibs=yes 9991 file_list_spec='${wl}-f,' 9992 9993 if test "$GCC" = yes; then 9994 case $host_os in aix4.[012]|aix4.[012].*) 9995 # We only want to do this on AIX 4.2 and lower, the check 9996 # below for broken collect2 doesn't work under 4.3+ 9997 collect2name=`${CC} -print-prog-name=collect2` 9998 if test -f "$collect2name" && 9999 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10000 then 10001 # We have reworked collect2 10002 : 10003 else 10004 # We have old collect2 10005 hardcode_direct=unsupported 10006 # It fails to find uninstalled libraries when the uninstalled 10007 # path is not listed in the libpath. Setting hardcode_minus_L 10008 # to unsupported forces relinking 10009 hardcode_minus_L=yes 10010 hardcode_libdir_flag_spec='-L$libdir' 10011 hardcode_libdir_separator= 10012 fi 10013 ;; 10014 esac 10015 shared_flag='-shared' 10016 if test "$aix_use_runtimelinking" = yes; then 10017 shared_flag="$shared_flag "'${wl}-G' 10018 fi 10019 else 10020 # not using gcc 10021 if test "$host_cpu" = ia64; then 10022 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10023 # chokes on -Wl,-G. The following line is correct: 10024 shared_flag='-G' 10025 else 10026 if test "$aix_use_runtimelinking" = yes; then 10027 shared_flag='${wl}-G' 10028 else 10029 shared_flag='${wl}-bM:SRE' 10030 fi 10031 fi 10032 fi 10033 10034 export_dynamic_flag_spec='${wl}-bexpall' 10035 # It seems that -bexpall does not export symbols beginning with 10036 # underscore (_), so it is better to generate a list of symbols to export. 10037 always_export_symbols=yes 10038 if test "$aix_use_runtimelinking" = yes; then 10039 # Warning - without using the other runtime loading flags (-brtl), 10040 # -berok will link without error, but may produce a broken library. 10041 allow_undefined_flag='-berok' 10042 # Determine the default libpath from the value encoded in an 10043 # empty executable. 10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10045/* end confdefs.h. */ 10046 10047int 10048main () 10049{ 10050 10051 ; 10052 return 0; 10053} 10054_ACEOF 10055if ac_fn_c_try_link "$LINENO"; then : 10056 10057lt_aix_libpath_sed=' 10058 /Import File Strings/,/^$/ { 10059 /^0/ { 10060 s/^0 *\(.*\)$/\1/ 10061 p 10062 } 10063 }' 10064aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10065# Check for a 64-bit object if we didn't find anything. 10066if test -z "$aix_libpath"; then 10067 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10068fi 10069fi 10070rm -f core conftest.err conftest.$ac_objext \ 10071 conftest$ac_exeext conftest.$ac_ext 10072if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10073 10074 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10075 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 10076 else 10077 if test "$host_cpu" = ia64; then 10078 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10079 allow_undefined_flag="-z nodefs" 10080 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" 10081 else 10082 # Determine the default libpath from the value encoded in an 10083 # empty executable. 10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10085/* end confdefs.h. */ 10086 10087int 10088main () 10089{ 10090 10091 ; 10092 return 0; 10093} 10094_ACEOF 10095if ac_fn_c_try_link "$LINENO"; then : 10096 10097lt_aix_libpath_sed=' 10098 /Import File Strings/,/^$/ { 10099 /^0/ { 10100 s/^0 *\(.*\)$/\1/ 10101 p 10102 } 10103 }' 10104aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10105# Check for a 64-bit object if we didn't find anything. 10106if test -z "$aix_libpath"; then 10107 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10108fi 10109fi 10110rm -f core conftest.err conftest.$ac_objext \ 10111 conftest$ac_exeext conftest.$ac_ext 10112if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10113 10114 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10115 # Warning - without using the other run time loading flags, 10116 # -berok will link without error, but may produce a broken library. 10117 no_undefined_flag=' ${wl}-bernotok' 10118 allow_undefined_flag=' ${wl}-berok' 10119 # Exported symbols can be pulled into shared objects from archives 10120 whole_archive_flag_spec='$convenience' 10121 archive_cmds_need_lc=yes 10122 # This is similar to how AIX traditionally builds its shared libraries. 10123 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' 10124 fi 10125 fi 10126 ;; 10127 10128 amigaos*) 10129 case $host_cpu in 10130 powerpc) 10131 # see comment about AmigaOS4 .so support 10132 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10133 archive_expsym_cmds='' 10134 ;; 10135 m68k) 10136 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)' 10137 hardcode_libdir_flag_spec='-L$libdir' 10138 hardcode_minus_L=yes 10139 ;; 10140 esac 10141 ;; 10142 10143 bsdi[45]*) 10144 export_dynamic_flag_spec=-rdynamic 10145 ;; 10146 10147 cygwin* | mingw* | pw32* | cegcc*) 10148 # When not using gcc, we currently assume that we are using 10149 # Microsoft Visual C++. 10150 # hardcode_libdir_flag_spec is actually meaningless, as there is 10151 # no search path for DLLs. 10152 hardcode_libdir_flag_spec=' ' 10153 allow_undefined_flag=unsupported 10154 # Tell ltmain to make .lib files, not .a files. 10155 libext=lib 10156 # Tell ltmain to make .dll files, not .so files. 10157 shrext_cmds=".dll" 10158 # FIXME: Setting linknames here is a bad hack. 10159 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 10160 # The linker will automatically build a .lib file if we build a DLL. 10161 old_archive_from_new_cmds='true' 10162 # FIXME: Should let the user specify the lib program. 10163 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10164 fix_srcfile_path='`cygpath -w "$srcfile"`' 10165 enable_shared_with_static_runtimes=yes 10166 ;; 10167 10168 darwin* | rhapsody*) 10169 10170 10171 archive_cmds_need_lc=no 10172 hardcode_direct=no 10173 hardcode_automatic=yes 10174 hardcode_shlibpath_var=unsupported 10175 whole_archive_flag_spec='' 10176 link_all_deplibs=yes 10177 allow_undefined_flag="$_lt_dar_allow_undefined" 10178 case $cc_basename in 10179 ifort*) _lt_dar_can_shared=yes ;; 10180 *) _lt_dar_can_shared=$GCC ;; 10181 esac 10182 if test "$_lt_dar_can_shared" = "yes"; then 10183 output_verbose_link_cmd=echo 10184 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10185 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10186 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}" 10187 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}" 10188 10189 else 10190 ld_shlibs=no 10191 fi 10192 10193 ;; 10194 10195 dgux*) 10196 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10197 hardcode_libdir_flag_spec='-L$libdir' 10198 hardcode_shlibpath_var=no 10199 ;; 10200 10201 freebsd1*) 10202 ld_shlibs=no 10203 ;; 10204 10205 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10206 # support. Future versions do this automatically, but an explicit c++rt0.o 10207 # does not break anything, and helps significantly (at the cost of a little 10208 # extra space). 10209 freebsd2.2*) 10210 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10211 hardcode_libdir_flag_spec='-R$libdir' 10212 hardcode_direct=yes 10213 hardcode_shlibpath_var=no 10214 ;; 10215 10216 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10217 freebsd2*) 10218 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10219 hardcode_direct=yes 10220 hardcode_minus_L=yes 10221 hardcode_shlibpath_var=no 10222 ;; 10223 10224 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10225 freebsd* | dragonfly*) 10226 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 10227 hardcode_libdir_flag_spec='-R$libdir' 10228 hardcode_direct=yes 10229 hardcode_shlibpath_var=no 10230 ;; 10231 10232 hpux9*) 10233 if test "$GCC" = yes; then 10234 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 10235 else 10236 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' 10237 fi 10238 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10239 hardcode_libdir_separator=: 10240 hardcode_direct=yes 10241 10242 # hardcode_minus_L: Not really in the search PATH, 10243 # but as the default location of the library. 10244 hardcode_minus_L=yes 10245 export_dynamic_flag_spec='${wl}-E' 10246 ;; 10247 10248 hpux10*) 10249 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 10250 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10251 else 10252 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10253 fi 10254 if test "$with_gnu_ld" = no; then 10255 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10256 hardcode_libdir_flag_spec_ld='+b $libdir' 10257 hardcode_libdir_separator=: 10258 hardcode_direct=yes 10259 hardcode_direct_absolute=yes 10260 export_dynamic_flag_spec='${wl}-E' 10261 # hardcode_minus_L: Not really in the search PATH, 10262 # but as the default location of the library. 10263 hardcode_minus_L=yes 10264 fi 10265 ;; 10266 10267 hpux11*) 10268 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 10269 case $host_cpu in 10270 hppa*64*) 10271 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10272 ;; 10273 ia64*) 10274 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10275 ;; 10276 *) 10277 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10278 ;; 10279 esac 10280 else 10281 case $host_cpu in 10282 hppa*64*) 10283 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10284 ;; 10285 ia64*) 10286 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10287 ;; 10288 *) 10289 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10290 ;; 10291 esac 10292 fi 10293 if test "$with_gnu_ld" = no; then 10294 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10295 hardcode_libdir_separator=: 10296 10297 case $host_cpu in 10298 hppa*64*|ia64*) 10299 hardcode_direct=no 10300 hardcode_shlibpath_var=no 10301 ;; 10302 *) 10303 hardcode_direct=yes 10304 hardcode_direct_absolute=yes 10305 export_dynamic_flag_spec='${wl}-E' 10306 10307 # hardcode_minus_L: Not really in the search PATH, 10308 # but as the default location of the library. 10309 hardcode_minus_L=yes 10310 ;; 10311 esac 10312 fi 10313 ;; 10314 10315 irix5* | irix6* | nonstopux*) 10316 if test "$GCC" = yes; then 10317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10318 # Try to use the -exported_symbol ld option, if it does not 10319 # work, assume that -exports_file does not work either and 10320 # implicitly export all symbols. 10321 save_LDFLAGS="$LDFLAGS" 10322 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10324/* end confdefs.h. */ 10325int foo(void) {} 10326_ACEOF 10327if ac_fn_c_try_link "$LINENO"; then : 10328 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 10329 10330fi 10331rm -f core conftest.err conftest.$ac_objext \ 10332 conftest$ac_exeext conftest.$ac_ext 10333 LDFLAGS="$save_LDFLAGS" 10334 else 10335 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 10336 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 10337 fi 10338 archive_cmds_need_lc='no' 10339 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10340 hardcode_libdir_separator=: 10341 inherit_rpath=yes 10342 link_all_deplibs=yes 10343 ;; 10344 10345 netbsd*) 10346 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10347 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10348 else 10349 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10350 fi 10351 hardcode_libdir_flag_spec='-R$libdir' 10352 hardcode_direct=yes 10353 hardcode_shlibpath_var=no 10354 ;; 10355 10356 newsos6) 10357 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10358 hardcode_direct=yes 10359 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10360 hardcode_libdir_separator=: 10361 hardcode_shlibpath_var=no 10362 ;; 10363 10364 *nto* | *qnx*) 10365 ;; 10366 10367 openbsd*) 10368 if test -f /usr/libexec/ld.so; then 10369 hardcode_direct=yes 10370 hardcode_shlibpath_var=no 10371 hardcode_direct_absolute=yes 10372 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10373 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10374 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10375 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10376 export_dynamic_flag_spec='${wl}-E' 10377 else 10378 case $host_os in 10379 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10380 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10381 hardcode_libdir_flag_spec='-R$libdir' 10382 ;; 10383 *) 10384 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10385 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10386 ;; 10387 esac 10388 fi 10389 else 10390 ld_shlibs=no 10391 fi 10392 ;; 10393 10394 os2*) 10395 hardcode_libdir_flag_spec='-L$libdir' 10396 hardcode_minus_L=yes 10397 allow_undefined_flag=unsupported 10398 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' 10399 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10400 ;; 10401 10402 osf3*) 10403 if test "$GCC" = yes; then 10404 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10405 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10406 else 10407 allow_undefined_flag=' -expect_unresolved \*' 10408 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 10409 fi 10410 archive_cmds_need_lc='no' 10411 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10412 hardcode_libdir_separator=: 10413 ;; 10414 10415 osf4* | osf5*) # as osf3* with the addition of -msym flag 10416 if test "$GCC" = yes; then 10417 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10418 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10419 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10420 else 10421 allow_undefined_flag=' -expect_unresolved \*' 10422 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 10423 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~ 10424 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 10425 10426 # Both c and cxx compiler support -rpath directly 10427 hardcode_libdir_flag_spec='-rpath $libdir' 10428 fi 10429 archive_cmds_need_lc='no' 10430 hardcode_libdir_separator=: 10431 ;; 10432 10433 solaris*) 10434 no_undefined_flag=' -z defs' 10435 if test "$GCC" = yes; then 10436 wlarc='${wl}' 10437 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10438 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10439 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10440 else 10441 case `$CC -V 2>&1` in 10442 *"Compilers 5.0"*) 10443 wlarc='' 10444 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10445 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10446 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10447 ;; 10448 *) 10449 wlarc='${wl}' 10450 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10451 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10452 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10453 ;; 10454 esac 10455 fi 10456 hardcode_libdir_flag_spec='-R$libdir' 10457 hardcode_shlibpath_var=no 10458 case $host_os in 10459 solaris2.[0-5] | solaris2.[0-5].*) ;; 10460 *) 10461 # The compiler driver will combine and reorder linker options, 10462 # but understands `-z linker_flag'. GCC discards it without `$wl', 10463 # but is careful enough not to reorder. 10464 # Supported since Solaris 2.6 (maybe 2.5.1?) 10465 if test "$GCC" = yes; then 10466 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10467 else 10468 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10469 fi 10470 ;; 10471 esac 10472 link_all_deplibs=yes 10473 ;; 10474 10475 sunos4*) 10476 if test "x$host_vendor" = xsequent; then 10477 # Use $CC to link under sequent, because it throws in some extra .o 10478 # files that make .init and .fini sections work. 10479 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10480 else 10481 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10482 fi 10483 hardcode_libdir_flag_spec='-L$libdir' 10484 hardcode_direct=yes 10485 hardcode_minus_L=yes 10486 hardcode_shlibpath_var=no 10487 ;; 10488 10489 sysv4) 10490 case $host_vendor in 10491 sni) 10492 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10493 hardcode_direct=yes # is this really true??? 10494 ;; 10495 siemens) 10496 ## LD is ld it makes a PLAMLIB 10497 ## CC just makes a GrossModule. 10498 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10499 reload_cmds='$CC -r -o $output$reload_objs' 10500 hardcode_direct=no 10501 ;; 10502 motorola) 10503 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10504 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10505 ;; 10506 esac 10507 runpath_var='LD_RUN_PATH' 10508 hardcode_shlibpath_var=no 10509 ;; 10510 10511 sysv4.3*) 10512 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10513 hardcode_shlibpath_var=no 10514 export_dynamic_flag_spec='-Bexport' 10515 ;; 10516 10517 sysv4*MP*) 10518 if test -d /usr/nec; then 10519 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10520 hardcode_shlibpath_var=no 10521 runpath_var=LD_RUN_PATH 10522 hardcode_runpath_var=yes 10523 ld_shlibs=yes 10524 fi 10525 ;; 10526 10527 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10528 no_undefined_flag='${wl}-z,text' 10529 archive_cmds_need_lc=no 10530 hardcode_shlibpath_var=no 10531 runpath_var='LD_RUN_PATH' 10532 10533 if test "$GCC" = yes; then 10534 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10535 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10536 else 10537 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10538 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10539 fi 10540 ;; 10541 10542 sysv5* | sco3.2v5* | sco5v6*) 10543 # Note: We can NOT use -z defs as we might desire, because we do not 10544 # link with -lc, and that would cause any symbols used from libc to 10545 # always be unresolved, which means just about no library would 10546 # ever link correctly. If we're not using GNU ld we use -z text 10547 # though, which does catch some bad symbols but isn't as heavy-handed 10548 # as -z defs. 10549 no_undefined_flag='${wl}-z,text' 10550 allow_undefined_flag='${wl}-z,nodefs' 10551 archive_cmds_need_lc=no 10552 hardcode_shlibpath_var=no 10553 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10554 hardcode_libdir_separator=':' 10555 link_all_deplibs=yes 10556 export_dynamic_flag_spec='${wl}-Bexport' 10557 runpath_var='LD_RUN_PATH' 10558 10559 if test "$GCC" = yes; then 10560 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10561 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10562 else 10563 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10564 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10565 fi 10566 ;; 10567 10568 uts4*) 10569 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10570 hardcode_libdir_flag_spec='-L$libdir' 10571 hardcode_shlibpath_var=no 10572 ;; 10573 10574 *) 10575 ld_shlibs=no 10576 ;; 10577 esac 10578 10579 if test x$host_vendor = xsni; then 10580 case $host in 10581 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10582 export_dynamic_flag_spec='${wl}-Blargedynsym' 10583 ;; 10584 esac 10585 fi 10586 fi 10587 10588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10589$as_echo "$ld_shlibs" >&6; } 10590test "$ld_shlibs" = no && can_build_shared=no 10591 10592with_gnu_ld=$with_gnu_ld 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608# 10609# Do we need to explicitly link libc? 10610# 10611case "x$archive_cmds_need_lc" in 10612x|xyes) 10613 # Assume -lc should be added 10614 archive_cmds_need_lc=yes 10615 10616 if test "$enable_shared" = yes && test "$GCC" = yes; then 10617 case $archive_cmds in 10618 *'~'*) 10619 # FIXME: we may have to deal with multi-command sequences. 10620 ;; 10621 '$CC '*) 10622 # Test whether the compiler implicitly links with -lc since on some 10623 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10624 # to ld, don't add -lc before -lgcc. 10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10626$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10627 $RM conftest* 10628 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10629 10630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10631 (eval $ac_compile) 2>&5 10632 ac_status=$? 10633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10634 test $ac_status = 0; } 2>conftest.err; then 10635 soname=conftest 10636 lib=conftest 10637 libobjs=conftest.$ac_objext 10638 deplibs= 10639 wl=$lt_prog_compiler_wl 10640 pic_flag=$lt_prog_compiler_pic 10641 compiler_flags=-v 10642 linker_flags=-v 10643 verstring= 10644 output_objdir=. 10645 libname=conftest 10646 lt_save_allow_undefined_flag=$allow_undefined_flag 10647 allow_undefined_flag= 10648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10649 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10650 ac_status=$? 10651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10652 test $ac_status = 0; } 10653 then 10654 archive_cmds_need_lc=no 10655 else 10656 archive_cmds_need_lc=yes 10657 fi 10658 allow_undefined_flag=$lt_save_allow_undefined_flag 10659 else 10660 cat conftest.err 1>&5 10661 fi 10662 $RM conftest* 10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 10664$as_echo "$archive_cmds_need_lc" >&6; } 10665 ;; 10666 esac 10667 fi 10668 ;; 10669esac 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10828$as_echo_n "checking dynamic linker characteristics... " >&6; } 10829 10830if test "$GCC" = yes; then 10831 case $host_os in 10832 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10833 *) lt_awk_arg="/^libraries:/" ;; 10834 esac 10835 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10836 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 10837 # if the path contains ";" then we assume it to be the separator 10838 # otherwise default to the standard path separator (i.e. ":") - it is 10839 # assumed that no part of a normal pathname contains ";" but that should 10840 # okay in the real world where ";" in dirpaths is itself problematic. 10841 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 10842 else 10843 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10844 fi 10845 # Ok, now we have the path, separated by spaces, we can step through it 10846 # and add multilib dir if necessary. 10847 lt_tmp_lt_search_path_spec= 10848 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10849 for lt_sys_path in $lt_search_path_spec; do 10850 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10851 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10852 else 10853 test -d "$lt_sys_path" && \ 10854 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10855 fi 10856 done 10857 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 10858BEGIN {RS=" "; FS="/|\n";} { 10859 lt_foo=""; 10860 lt_count=0; 10861 for (lt_i = NF; lt_i > 0; lt_i--) { 10862 if ($lt_i != "" && $lt_i != ".") { 10863 if ($lt_i == "..") { 10864 lt_count++; 10865 } else { 10866 if (lt_count == 0) { 10867 lt_foo="/" $lt_i lt_foo; 10868 } else { 10869 lt_count--; 10870 } 10871 } 10872 } 10873 } 10874 if (lt_foo != "") { lt_freq[lt_foo]++; } 10875 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10876}'` 10877 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 10878else 10879 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10880fi 10881library_names_spec= 10882libname_spec='lib$name' 10883soname_spec= 10884shrext_cmds=".so" 10885postinstall_cmds= 10886postuninstall_cmds= 10887finish_cmds= 10888finish_eval= 10889shlibpath_var= 10890shlibpath_overrides_runpath=unknown 10891version_type=none 10892dynamic_linker="$host_os ld.so" 10893sys_lib_dlsearch_path_spec="/lib /usr/lib" 10894need_lib_prefix=unknown 10895hardcode_into_libs=no 10896 10897# when you set need_version to no, make sure it does not cause -set_version 10898# flags to be left without arguments 10899need_version=unknown 10900 10901case $host_os in 10902aix3*) 10903 version_type=linux 10904 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10905 shlibpath_var=LIBPATH 10906 10907 # AIX 3 has no versioning support, so we append a major version to the name. 10908 soname_spec='${libname}${release}${shared_ext}$major' 10909 ;; 10910 10911aix[4-9]*) 10912 version_type=linux 10913 need_lib_prefix=no 10914 need_version=no 10915 hardcode_into_libs=yes 10916 if test "$host_cpu" = ia64; then 10917 # AIX 5 supports IA64 10918 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10919 shlibpath_var=LD_LIBRARY_PATH 10920 else 10921 # With GCC up to 2.95.x, collect2 would create an import file 10922 # for dependence libraries. The import file would start with 10923 # the line `#! .'. This would cause the generated library to 10924 # depend on `.', always an invalid library. This was fixed in 10925 # development snapshots of GCC prior to 3.0. 10926 case $host_os in 10927 aix4 | aix4.[01] | aix4.[01].*) 10928 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10929 echo ' yes ' 10930 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10931 : 10932 else 10933 can_build_shared=no 10934 fi 10935 ;; 10936 esac 10937 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10938 # soname into executable. Probably we can add versioning support to 10939 # collect2, so additional links can be useful in future. 10940 if test "$aix_use_runtimelinking" = yes; then 10941 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10942 # instead of lib<name>.a to let people know that these are not 10943 # typical AIX shared libraries. 10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10945 else 10946 # We preserve .a as extension for shared libraries through AIX4.2 10947 # and later when we are not doing run time linking. 10948 library_names_spec='${libname}${release}.a $libname.a' 10949 soname_spec='${libname}${release}${shared_ext}$major' 10950 fi 10951 shlibpath_var=LIBPATH 10952 fi 10953 ;; 10954 10955amigaos*) 10956 case $host_cpu in 10957 powerpc) 10958 # Since July 2007 AmigaOS4 officially supports .so libraries. 10959 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10961 ;; 10962 m68k) 10963 library_names_spec='$libname.ixlibrary $libname.a' 10964 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10965 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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' 10966 ;; 10967 esac 10968 ;; 10969 10970beos*) 10971 library_names_spec='${libname}${shared_ext}' 10972 dynamic_linker="$host_os ld.so" 10973 shlibpath_var=LIBRARY_PATH 10974 ;; 10975 10976bsdi[45]*) 10977 version_type=linux 10978 need_version=no 10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10980 soname_spec='${libname}${release}${shared_ext}$major' 10981 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10982 shlibpath_var=LD_LIBRARY_PATH 10983 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10984 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10985 # the default ld.so.conf also contains /usr/contrib/lib and 10986 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10987 # libtool to hard-code these into programs 10988 ;; 10989 10990cygwin* | mingw* | pw32* | cegcc*) 10991 version_type=windows 10992 shrext_cmds=".dll" 10993 need_version=no 10994 need_lib_prefix=no 10995 10996 case $GCC,$host_os in 10997 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 10998 library_names_spec='$libname.dll.a' 10999 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11000 postinstall_cmds='base_file=`basename \${file}`~ 11001 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11002 dldir=$destdir/`dirname \$dlpath`~ 11003 test -d \$dldir || mkdir -p \$dldir~ 11004 $install_prog $dir/$dlname \$dldir/$dlname~ 11005 chmod a+x \$dldir/$dlname~ 11006 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11007 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11008 fi' 11009 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11010 dlpath=$dir/\$dldll~ 11011 $RM \$dlpath' 11012 shlibpath_overrides_runpath=yes 11013 11014 case $host_os in 11015 cygwin*) 11016 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11017 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11018 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 11019 ;; 11020 mingw* | cegcc*) 11021 # MinGW DLLs use traditional 'lib' prefix 11022 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11023 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 11024 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11025 # It is most probably a Windows format PATH printed by 11026 # mingw gcc, but we are running on Cygwin. Gcc prints its search 11027 # path with ; separators, and with drive letters. We can handle the 11028 # drive letters (cygwin fileutils understands them), so leave them, 11029 # especially as we might pass files found there to a mingw objdump, 11030 # which wouldn't understand a cygwinified path. Ahh. 11031 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11032 else 11033 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11034 fi 11035 ;; 11036 pw32*) 11037 # pw32 DLLs use 'pw' prefix rather than 'lib' 11038 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11039 ;; 11040 esac 11041 ;; 11042 11043 *) 11044 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 11045 ;; 11046 esac 11047 dynamic_linker='Win32 ld.exe' 11048 # FIXME: first we should search . and the directory the executable is in 11049 shlibpath_var=PATH 11050 ;; 11051 11052darwin* | rhapsody*) 11053 dynamic_linker="$host_os dyld" 11054 version_type=darwin 11055 need_lib_prefix=no 11056 need_version=no 11057 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11058 soname_spec='${libname}${release}${major}$shared_ext' 11059 shlibpath_overrides_runpath=yes 11060 shlibpath_var=DYLD_LIBRARY_PATH 11061 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11062 11063 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11064 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11065 ;; 11066 11067dgux*) 11068 version_type=linux 11069 need_lib_prefix=no 11070 need_version=no 11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11072 soname_spec='${libname}${release}${shared_ext}$major' 11073 shlibpath_var=LD_LIBRARY_PATH 11074 ;; 11075 11076freebsd1*) 11077 dynamic_linker=no 11078 ;; 11079 11080freebsd* | dragonfly*) 11081 # DragonFly does not have aout. When/if they implement a new 11082 # versioning mechanism, adjust this. 11083 if test -x /usr/bin/objformat; then 11084 objformat=`/usr/bin/objformat` 11085 else 11086 case $host_os in 11087 freebsd[123]*) objformat=aout ;; 11088 *) objformat=elf ;; 11089 esac 11090 fi 11091 version_type=freebsd-$objformat 11092 case $version_type in 11093 freebsd-elf*) 11094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11095 need_version=no 11096 need_lib_prefix=no 11097 ;; 11098 freebsd-*) 11099 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11100 need_version=yes 11101 ;; 11102 esac 11103 shlibpath_var=LD_LIBRARY_PATH 11104 case $host_os in 11105 freebsd2*) 11106 shlibpath_overrides_runpath=yes 11107 ;; 11108 freebsd3.[01]* | freebsdelf3.[01]*) 11109 shlibpath_overrides_runpath=yes 11110 hardcode_into_libs=yes 11111 ;; 11112 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11113 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11114 shlibpath_overrides_runpath=no 11115 hardcode_into_libs=yes 11116 ;; 11117 *) # from 4.6 on, and DragonFly 11118 shlibpath_overrides_runpath=yes 11119 hardcode_into_libs=yes 11120 ;; 11121 esac 11122 ;; 11123 11124gnu*) 11125 version_type=linux 11126 need_lib_prefix=no 11127 need_version=no 11128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11129 soname_spec='${libname}${release}${shared_ext}$major' 11130 shlibpath_var=LD_LIBRARY_PATH 11131 hardcode_into_libs=yes 11132 ;; 11133 11134hpux9* | hpux10* | hpux11*) 11135 # Give a soname corresponding to the major version so that dld.sl refuses to 11136 # link against other versions. 11137 version_type=sunos 11138 need_lib_prefix=no 11139 need_version=no 11140 case $host_cpu in 11141 ia64*) 11142 shrext_cmds='.so' 11143 hardcode_into_libs=yes 11144 dynamic_linker="$host_os dld.so" 11145 shlibpath_var=LD_LIBRARY_PATH 11146 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11148 soname_spec='${libname}${release}${shared_ext}$major' 11149 if test "X$HPUX_IA64_MODE" = X32; then 11150 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11151 else 11152 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11153 fi 11154 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11155 ;; 11156 hppa*64*) 11157 shrext_cmds='.sl' 11158 hardcode_into_libs=yes 11159 dynamic_linker="$host_os dld.sl" 11160 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11161 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11163 soname_spec='${libname}${release}${shared_ext}$major' 11164 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11165 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11166 ;; 11167 *) 11168 shrext_cmds='.sl' 11169 dynamic_linker="$host_os dld.sl" 11170 shlibpath_var=SHLIB_PATH 11171 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11173 soname_spec='${libname}${release}${shared_ext}$major' 11174 ;; 11175 esac 11176 # HP-UX runs *really* slowly unless shared libraries are mode 555. 11177 postinstall_cmds='chmod 555 $lib' 11178 ;; 11179 11180interix[3-9]*) 11181 version_type=linux 11182 need_lib_prefix=no 11183 need_version=no 11184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11185 soname_spec='${libname}${release}${shared_ext}$major' 11186 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11187 shlibpath_var=LD_LIBRARY_PATH 11188 shlibpath_overrides_runpath=no 11189 hardcode_into_libs=yes 11190 ;; 11191 11192irix5* | irix6* | nonstopux*) 11193 case $host_os in 11194 nonstopux*) version_type=nonstopux ;; 11195 *) 11196 if test "$lt_cv_prog_gnu_ld" = yes; then 11197 version_type=linux 11198 else 11199 version_type=irix 11200 fi ;; 11201 esac 11202 need_lib_prefix=no 11203 need_version=no 11204 soname_spec='${libname}${release}${shared_ext}$major' 11205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11206 case $host_os in 11207 irix5* | nonstopux*) 11208 libsuff= shlibsuff= 11209 ;; 11210 *) 11211 case $LD in # libtool.m4 will add one of these switches to LD 11212 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11213 libsuff= shlibsuff= libmagic=32-bit;; 11214 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11215 libsuff=32 shlibsuff=N32 libmagic=N32;; 11216 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11217 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11218 *) libsuff= shlibsuff= libmagic=never-match;; 11219 esac 11220 ;; 11221 esac 11222 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11223 shlibpath_overrides_runpath=no 11224 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11225 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11226 hardcode_into_libs=yes 11227 ;; 11228 11229# No shared lib support for Linux oldld, aout, or coff. 11230linux*oldld* | linux*aout* | linux*coff*) 11231 dynamic_linker=no 11232 ;; 11233 11234# This must be Linux ELF. 11235linux* | k*bsd*-gnu) 11236 version_type=linux 11237 need_lib_prefix=no 11238 need_version=no 11239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11240 soname_spec='${libname}${release}${shared_ext}$major' 11241 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11242 shlibpath_var=LD_LIBRARY_PATH 11243 shlibpath_overrides_runpath=no 11244 # Some binutils ld are patched to set DT_RUNPATH 11245 save_LDFLAGS=$LDFLAGS 11246 save_libdir=$libdir 11247 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11248 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11250/* end confdefs.h. */ 11251 11252int 11253main () 11254{ 11255 11256 ; 11257 return 0; 11258} 11259_ACEOF 11260if ac_fn_c_try_link "$LINENO"; then : 11261 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11262 shlibpath_overrides_runpath=yes 11263fi 11264fi 11265rm -f core conftest.err conftest.$ac_objext \ 11266 conftest$ac_exeext conftest.$ac_ext 11267 LDFLAGS=$save_LDFLAGS 11268 libdir=$save_libdir 11269 11270 # This implies no fast_install, which is unacceptable. 11271 # Some rework will be needed to allow for fast_install 11272 # before this can be enabled. 11273 hardcode_into_libs=yes 11274 11275 # Add ABI-specific directories to the system library path. 11276 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11277 11278 # Append ld.so.conf contents to the search path 11279 if test -f /etc/ld.so.conf; then 11280 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;/^$/d' | tr '\n' ' '` 11281 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11282 fi 11283 11284 # We used to test for /lib/ld.so.1 and disable shared libraries on 11285 # powerpc, because MkLinux only supported shared libraries with the 11286 # GNU dynamic linker. Since this was broken with cross compilers, 11287 # most powerpc-linux boxes support dynamic linking these days and 11288 # people can always --disable-shared, the test was removed, and we 11289 # assume the GNU/Linux dynamic linker is in use. 11290 dynamic_linker='GNU/Linux ld.so' 11291 ;; 11292 11293netbsd*) 11294 version_type=sunos 11295 need_lib_prefix=no 11296 need_version=no 11297 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11299 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11300 dynamic_linker='NetBSD (a.out) ld.so' 11301 else 11302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11303 soname_spec='${libname}${release}${shared_ext}$major' 11304 dynamic_linker='NetBSD ld.elf_so' 11305 fi 11306 shlibpath_var=LD_LIBRARY_PATH 11307 shlibpath_overrides_runpath=yes 11308 hardcode_into_libs=yes 11309 ;; 11310 11311newsos6) 11312 version_type=linux 11313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11314 shlibpath_var=LD_LIBRARY_PATH 11315 shlibpath_overrides_runpath=yes 11316 ;; 11317 11318*nto* | *qnx*) 11319 version_type=qnx 11320 need_lib_prefix=no 11321 need_version=no 11322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11323 soname_spec='${libname}${release}${shared_ext}$major' 11324 shlibpath_var=LD_LIBRARY_PATH 11325 shlibpath_overrides_runpath=no 11326 hardcode_into_libs=yes 11327 dynamic_linker='ldqnx.so' 11328 ;; 11329 11330openbsd*) 11331 version_type=sunos 11332 sys_lib_dlsearch_path_spec="/usr/lib" 11333 need_lib_prefix=no 11334 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11335 case $host_os in 11336 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11337 *) need_version=no ;; 11338 esac 11339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11340 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11341 shlibpath_var=LD_LIBRARY_PATH 11342 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11343 case $host_os in 11344 openbsd2.[89] | openbsd2.[89].*) 11345 shlibpath_overrides_runpath=no 11346 ;; 11347 *) 11348 shlibpath_overrides_runpath=yes 11349 ;; 11350 esac 11351 else 11352 shlibpath_overrides_runpath=yes 11353 fi 11354 ;; 11355 11356os2*) 11357 libname_spec='$name' 11358 shrext_cmds=".dll" 11359 need_lib_prefix=no 11360 library_names_spec='$libname${shared_ext} $libname.a' 11361 dynamic_linker='OS/2 ld.exe' 11362 shlibpath_var=LIBPATH 11363 ;; 11364 11365osf3* | osf4* | osf5*) 11366 version_type=osf 11367 need_lib_prefix=no 11368 need_version=no 11369 soname_spec='${libname}${release}${shared_ext}$major' 11370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11371 shlibpath_var=LD_LIBRARY_PATH 11372 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11373 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11374 ;; 11375 11376rdos*) 11377 dynamic_linker=no 11378 ;; 11379 11380solaris*) 11381 version_type=linux 11382 need_lib_prefix=no 11383 need_version=no 11384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11385 soname_spec='${libname}${release}${shared_ext}$major' 11386 shlibpath_var=LD_LIBRARY_PATH 11387 shlibpath_overrides_runpath=yes 11388 hardcode_into_libs=yes 11389 # ldd complains unless libraries are executable 11390 postinstall_cmds='chmod +x $lib' 11391 ;; 11392 11393sunos4*) 11394 version_type=sunos 11395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11396 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11397 shlibpath_var=LD_LIBRARY_PATH 11398 shlibpath_overrides_runpath=yes 11399 if test "$with_gnu_ld" = yes; then 11400 need_lib_prefix=no 11401 fi 11402 need_version=yes 11403 ;; 11404 11405sysv4 | sysv4.3*) 11406 version_type=linux 11407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11408 soname_spec='${libname}${release}${shared_ext}$major' 11409 shlibpath_var=LD_LIBRARY_PATH 11410 case $host_vendor in 11411 sni) 11412 shlibpath_overrides_runpath=no 11413 need_lib_prefix=no 11414 runpath_var=LD_RUN_PATH 11415 ;; 11416 siemens) 11417 need_lib_prefix=no 11418 ;; 11419 motorola) 11420 need_lib_prefix=no 11421 need_version=no 11422 shlibpath_overrides_runpath=no 11423 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11424 ;; 11425 esac 11426 ;; 11427 11428sysv4*MP*) 11429 if test -d /usr/nec ;then 11430 version_type=linux 11431 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11432 soname_spec='$libname${shared_ext}.$major' 11433 shlibpath_var=LD_LIBRARY_PATH 11434 fi 11435 ;; 11436 11437sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11438 version_type=freebsd-elf 11439 need_lib_prefix=no 11440 need_version=no 11441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11442 soname_spec='${libname}${release}${shared_ext}$major' 11443 shlibpath_var=LD_LIBRARY_PATH 11444 shlibpath_overrides_runpath=yes 11445 hardcode_into_libs=yes 11446 if test "$with_gnu_ld" = yes; then 11447 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11448 else 11449 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11450 case $host_os in 11451 sco3.2v5*) 11452 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11453 ;; 11454 esac 11455 fi 11456 sys_lib_dlsearch_path_spec='/usr/lib' 11457 ;; 11458 11459tpf*) 11460 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11461 version_type=linux 11462 need_lib_prefix=no 11463 need_version=no 11464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11465 shlibpath_var=LD_LIBRARY_PATH 11466 shlibpath_overrides_runpath=no 11467 hardcode_into_libs=yes 11468 ;; 11469 11470uts4*) 11471 version_type=linux 11472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11473 soname_spec='${libname}${release}${shared_ext}$major' 11474 shlibpath_var=LD_LIBRARY_PATH 11475 ;; 11476 11477*) 11478 dynamic_linker=no 11479 ;; 11480esac 11481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11482$as_echo "$dynamic_linker" >&6; } 11483test "$dynamic_linker" = no && can_build_shared=no 11484 11485variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11486if test "$GCC" = yes; then 11487 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11488fi 11489 11490if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11491 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11492fi 11493if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11494 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11495fi 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11584$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11585hardcode_action= 11586if test -n "$hardcode_libdir_flag_spec" || 11587 test -n "$runpath_var" || 11588 test "X$hardcode_automatic" = "Xyes" ; then 11589 11590 # We can hardcode non-existent directories. 11591 if test "$hardcode_direct" != no && 11592 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11593 # have to relink, otherwise we might link with an installed library 11594 # when we should be linking with a yet-to-be-installed one 11595 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11596 test "$hardcode_minus_L" != no; then 11597 # Linking always hardcodes the temporary library directory. 11598 hardcode_action=relink 11599 else 11600 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11601 hardcode_action=immediate 11602 fi 11603else 11604 # We cannot hardcode anything, or else we can only hardcode existing 11605 # directories. 11606 hardcode_action=unsupported 11607fi 11608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11609$as_echo "$hardcode_action" >&6; } 11610 11611if test "$hardcode_action" = relink || 11612 test "$inherit_rpath" = yes; then 11613 # Fast installation is not supported 11614 enable_fast_install=no 11615elif test "$shlibpath_overrides_runpath" = yes || 11616 test "$enable_shared" = no; then 11617 # Fast installation is not necessary 11618 enable_fast_install=needless 11619fi 11620 11621 11622 11623 11624 11625 11626 if test "x$enable_dlopen" != xyes; then 11627 enable_dlopen=unknown 11628 enable_dlopen_self=unknown 11629 enable_dlopen_self_static=unknown 11630else 11631 lt_cv_dlopen=no 11632 lt_cv_dlopen_libs= 11633 11634 case $host_os in 11635 beos*) 11636 lt_cv_dlopen="load_add_on" 11637 lt_cv_dlopen_libs= 11638 lt_cv_dlopen_self=yes 11639 ;; 11640 11641 mingw* | pw32* | cegcc*) 11642 lt_cv_dlopen="LoadLibrary" 11643 lt_cv_dlopen_libs= 11644 ;; 11645 11646 cygwin*) 11647 lt_cv_dlopen="dlopen" 11648 lt_cv_dlopen_libs= 11649 ;; 11650 11651 darwin*) 11652 # if libdl is installed we need to link against it 11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11654$as_echo_n "checking for dlopen in -ldl... " >&6; } 11655if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11656 $as_echo_n "(cached) " >&6 11657else 11658 ac_check_lib_save_LIBS=$LIBS 11659LIBS="-ldl $LIBS" 11660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11661/* end confdefs.h. */ 11662 11663/* Override any GCC internal prototype to avoid an error. 11664 Use char because int might match the return type of a GCC 11665 builtin and then its argument prototype would still apply. */ 11666#ifdef __cplusplus 11667extern "C" 11668#endif 11669char dlopen (); 11670int 11671main () 11672{ 11673return dlopen (); 11674 ; 11675 return 0; 11676} 11677_ACEOF 11678if ac_fn_c_try_link "$LINENO"; then : 11679 ac_cv_lib_dl_dlopen=yes 11680else 11681 ac_cv_lib_dl_dlopen=no 11682fi 11683rm -f core conftest.err conftest.$ac_objext \ 11684 conftest$ac_exeext conftest.$ac_ext 11685LIBS=$ac_check_lib_save_LIBS 11686fi 11687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11688$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11689if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11690 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11691else 11692 11693 lt_cv_dlopen="dyld" 11694 lt_cv_dlopen_libs= 11695 lt_cv_dlopen_self=yes 11696 11697fi 11698 11699 ;; 11700 11701 *) 11702 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11703if test "x$ac_cv_func_shl_load" = x""yes; then : 11704 lt_cv_dlopen="shl_load" 11705else 11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11707$as_echo_n "checking for shl_load in -ldld... " >&6; } 11708if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 11709 $as_echo_n "(cached) " >&6 11710else 11711 ac_check_lib_save_LIBS=$LIBS 11712LIBS="-ldld $LIBS" 11713cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11714/* end confdefs.h. */ 11715 11716/* Override any GCC internal prototype to avoid an error. 11717 Use char because int might match the return type of a GCC 11718 builtin and then its argument prototype would still apply. */ 11719#ifdef __cplusplus 11720extern "C" 11721#endif 11722char shl_load (); 11723int 11724main () 11725{ 11726return shl_load (); 11727 ; 11728 return 0; 11729} 11730_ACEOF 11731if ac_fn_c_try_link "$LINENO"; then : 11732 ac_cv_lib_dld_shl_load=yes 11733else 11734 ac_cv_lib_dld_shl_load=no 11735fi 11736rm -f core conftest.err conftest.$ac_objext \ 11737 conftest$ac_exeext conftest.$ac_ext 11738LIBS=$ac_check_lib_save_LIBS 11739fi 11740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11741$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11742if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 11743 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11744else 11745 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11746if test "x$ac_cv_func_dlopen" = x""yes; then : 11747 lt_cv_dlopen="dlopen" 11748else 11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11750$as_echo_n "checking for dlopen in -ldl... " >&6; } 11751if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11752 $as_echo_n "(cached) " >&6 11753else 11754 ac_check_lib_save_LIBS=$LIBS 11755LIBS="-ldl $LIBS" 11756cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11757/* end confdefs.h. */ 11758 11759/* Override any GCC internal prototype to avoid an error. 11760 Use char because int might match the return type of a GCC 11761 builtin and then its argument prototype would still apply. */ 11762#ifdef __cplusplus 11763extern "C" 11764#endif 11765char dlopen (); 11766int 11767main () 11768{ 11769return dlopen (); 11770 ; 11771 return 0; 11772} 11773_ACEOF 11774if ac_fn_c_try_link "$LINENO"; then : 11775 ac_cv_lib_dl_dlopen=yes 11776else 11777 ac_cv_lib_dl_dlopen=no 11778fi 11779rm -f core conftest.err conftest.$ac_objext \ 11780 conftest$ac_exeext conftest.$ac_ext 11781LIBS=$ac_check_lib_save_LIBS 11782fi 11783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11784$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11785if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11786 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11787else 11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11789$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11790if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 11791 $as_echo_n "(cached) " >&6 11792else 11793 ac_check_lib_save_LIBS=$LIBS 11794LIBS="-lsvld $LIBS" 11795cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11796/* end confdefs.h. */ 11797 11798/* Override any GCC internal prototype to avoid an error. 11799 Use char because int might match the return type of a GCC 11800 builtin and then its argument prototype would still apply. */ 11801#ifdef __cplusplus 11802extern "C" 11803#endif 11804char dlopen (); 11805int 11806main () 11807{ 11808return dlopen (); 11809 ; 11810 return 0; 11811} 11812_ACEOF 11813if ac_fn_c_try_link "$LINENO"; then : 11814 ac_cv_lib_svld_dlopen=yes 11815else 11816 ac_cv_lib_svld_dlopen=no 11817fi 11818rm -f core conftest.err conftest.$ac_objext \ 11819 conftest$ac_exeext conftest.$ac_ext 11820LIBS=$ac_check_lib_save_LIBS 11821fi 11822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11823$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11824if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 11825 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11826else 11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11828$as_echo_n "checking for dld_link in -ldld... " >&6; } 11829if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 11830 $as_echo_n "(cached) " >&6 11831else 11832 ac_check_lib_save_LIBS=$LIBS 11833LIBS="-ldld $LIBS" 11834cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11835/* end confdefs.h. */ 11836 11837/* Override any GCC internal prototype to avoid an error. 11838 Use char because int might match the return type of a GCC 11839 builtin and then its argument prototype would still apply. */ 11840#ifdef __cplusplus 11841extern "C" 11842#endif 11843char dld_link (); 11844int 11845main () 11846{ 11847return dld_link (); 11848 ; 11849 return 0; 11850} 11851_ACEOF 11852if ac_fn_c_try_link "$LINENO"; then : 11853 ac_cv_lib_dld_dld_link=yes 11854else 11855 ac_cv_lib_dld_dld_link=no 11856fi 11857rm -f core conftest.err conftest.$ac_objext \ 11858 conftest$ac_exeext conftest.$ac_ext 11859LIBS=$ac_check_lib_save_LIBS 11860fi 11861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11862$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11863if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 11864 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11865fi 11866 11867 11868fi 11869 11870 11871fi 11872 11873 11874fi 11875 11876 11877fi 11878 11879 11880fi 11881 11882 ;; 11883 esac 11884 11885 if test "x$lt_cv_dlopen" != xno; then 11886 enable_dlopen=yes 11887 else 11888 enable_dlopen=no 11889 fi 11890 11891 case $lt_cv_dlopen in 11892 dlopen) 11893 save_CPPFLAGS="$CPPFLAGS" 11894 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11895 11896 save_LDFLAGS="$LDFLAGS" 11897 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11898 11899 save_LIBS="$LIBS" 11900 LIBS="$lt_cv_dlopen_libs $LIBS" 11901 11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11903$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11904if test "${lt_cv_dlopen_self+set}" = set; then : 11905 $as_echo_n "(cached) " >&6 11906else 11907 if test "$cross_compiling" = yes; then : 11908 lt_cv_dlopen_self=cross 11909else 11910 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11911 lt_status=$lt_dlunknown 11912 cat > conftest.$ac_ext <<_LT_EOF 11913#line 11913 "configure" 11914#include "confdefs.h" 11915 11916#if HAVE_DLFCN_H 11917#include <dlfcn.h> 11918#endif 11919 11920#include <stdio.h> 11921 11922#ifdef RTLD_GLOBAL 11923# define LT_DLGLOBAL RTLD_GLOBAL 11924#else 11925# ifdef DL_GLOBAL 11926# define LT_DLGLOBAL DL_GLOBAL 11927# else 11928# define LT_DLGLOBAL 0 11929# endif 11930#endif 11931 11932/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11933 find out it does not work in some platform. */ 11934#ifndef LT_DLLAZY_OR_NOW 11935# ifdef RTLD_LAZY 11936# define LT_DLLAZY_OR_NOW RTLD_LAZY 11937# else 11938# ifdef DL_LAZY 11939# define LT_DLLAZY_OR_NOW DL_LAZY 11940# else 11941# ifdef RTLD_NOW 11942# define LT_DLLAZY_OR_NOW RTLD_NOW 11943# else 11944# ifdef DL_NOW 11945# define LT_DLLAZY_OR_NOW DL_NOW 11946# else 11947# define LT_DLLAZY_OR_NOW 0 11948# endif 11949# endif 11950# endif 11951# endif 11952#endif 11953 11954void fnord() { int i=42;} 11955int main () 11956{ 11957 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11958 int status = $lt_dlunknown; 11959 11960 if (self) 11961 { 11962 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11963 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11964 /* dlclose (self); */ 11965 } 11966 else 11967 puts (dlerror ()); 11968 11969 return status; 11970} 11971_LT_EOF 11972 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11973 (eval $ac_link) 2>&5 11974 ac_status=$? 11975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11976 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11977 (./conftest; exit; ) >&5 2>/dev/null 11978 lt_status=$? 11979 case x$lt_status in 11980 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11981 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11982 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11983 esac 11984 else : 11985 # compilation failed 11986 lt_cv_dlopen_self=no 11987 fi 11988fi 11989rm -fr conftest* 11990 11991 11992fi 11993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11994$as_echo "$lt_cv_dlopen_self" >&6; } 11995 11996 if test "x$lt_cv_dlopen_self" = xyes; then 11997 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11999$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12000if test "${lt_cv_dlopen_self_static+set}" = set; then : 12001 $as_echo_n "(cached) " >&6 12002else 12003 if test "$cross_compiling" = yes; then : 12004 lt_cv_dlopen_self_static=cross 12005else 12006 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12007 lt_status=$lt_dlunknown 12008 cat > conftest.$ac_ext <<_LT_EOF 12009#line 12009 "configure" 12010#include "confdefs.h" 12011 12012#if HAVE_DLFCN_H 12013#include <dlfcn.h> 12014#endif 12015 12016#include <stdio.h> 12017 12018#ifdef RTLD_GLOBAL 12019# define LT_DLGLOBAL RTLD_GLOBAL 12020#else 12021# ifdef DL_GLOBAL 12022# define LT_DLGLOBAL DL_GLOBAL 12023# else 12024# define LT_DLGLOBAL 0 12025# endif 12026#endif 12027 12028/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12029 find out it does not work in some platform. */ 12030#ifndef LT_DLLAZY_OR_NOW 12031# ifdef RTLD_LAZY 12032# define LT_DLLAZY_OR_NOW RTLD_LAZY 12033# else 12034# ifdef DL_LAZY 12035# define LT_DLLAZY_OR_NOW DL_LAZY 12036# else 12037# ifdef RTLD_NOW 12038# define LT_DLLAZY_OR_NOW RTLD_NOW 12039# else 12040# ifdef DL_NOW 12041# define LT_DLLAZY_OR_NOW DL_NOW 12042# else 12043# define LT_DLLAZY_OR_NOW 0 12044# endif 12045# endif 12046# endif 12047# endif 12048#endif 12049 12050void fnord() { int i=42;} 12051int main () 12052{ 12053 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12054 int status = $lt_dlunknown; 12055 12056 if (self) 12057 { 12058 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12059 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12060 /* dlclose (self); */ 12061 } 12062 else 12063 puts (dlerror ()); 12064 12065 return status; 12066} 12067_LT_EOF 12068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12069 (eval $ac_link) 2>&5 12070 ac_status=$? 12071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12072 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12073 (./conftest; exit; ) >&5 2>/dev/null 12074 lt_status=$? 12075 case x$lt_status in 12076 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12077 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12078 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12079 esac 12080 else : 12081 # compilation failed 12082 lt_cv_dlopen_self_static=no 12083 fi 12084fi 12085rm -fr conftest* 12086 12087 12088fi 12089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12090$as_echo "$lt_cv_dlopen_self_static" >&6; } 12091 fi 12092 12093 CPPFLAGS="$save_CPPFLAGS" 12094 LDFLAGS="$save_LDFLAGS" 12095 LIBS="$save_LIBS" 12096 ;; 12097 esac 12098 12099 case $lt_cv_dlopen_self in 12100 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12101 *) enable_dlopen_self=unknown ;; 12102 esac 12103 12104 case $lt_cv_dlopen_self_static in 12105 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12106 *) enable_dlopen_self_static=unknown ;; 12107 esac 12108fi 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126striplib= 12127old_striplib= 12128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12129$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12130if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12131 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12132 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12134$as_echo "yes" >&6; } 12135else 12136# FIXME - insert some real tests, host_os isn't really good enough 12137 case $host_os in 12138 darwin*) 12139 if test -n "$STRIP" ; then 12140 striplib="$STRIP -x" 12141 old_striplib="$STRIP -S" 12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12143$as_echo "yes" >&6; } 12144 else 12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12146$as_echo "no" >&6; } 12147 fi 12148 ;; 12149 *) 12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12151$as_echo "no" >&6; } 12152 ;; 12153 esac 12154fi 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 # Report which library types will actually be built 12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12169$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12171$as_echo "$can_build_shared" >&6; } 12172 12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12174$as_echo_n "checking whether to build shared libraries... " >&6; } 12175 test "$can_build_shared" = "no" && enable_shared=no 12176 12177 # On AIX, shared libraries and static libraries use the same namespace, and 12178 # are all built from PIC. 12179 case $host_os in 12180 aix3*) 12181 test "$enable_shared" = yes && enable_static=no 12182 if test -n "$RANLIB"; then 12183 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12184 postinstall_cmds='$RANLIB $lib' 12185 fi 12186 ;; 12187 12188 aix[4-9]*) 12189 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12190 test "$enable_shared" = yes && enable_static=no 12191 fi 12192 ;; 12193 esac 12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12195$as_echo "$enable_shared" >&6; } 12196 12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12198$as_echo_n "checking whether to build static libraries... " >&6; } 12199 # Make sure either enable_shared or enable_static is yes. 12200 test "$enable_shared" = yes || enable_static=yes 12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12202$as_echo "$enable_static" >&6; } 12203 12204 12205 12206 12207fi 12208ac_ext=c 12209ac_cpp='$CPP $CPPFLAGS' 12210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12212ac_compiler_gnu=$ac_cv_c_compiler_gnu 12213 12214CC="$lt_save_CC" 12215 12216 12217ac_ext=cpp 12218ac_cpp='$CXXCPP $CPPFLAGS' 12219ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12220ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12221ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12222 12223archive_cmds_need_lc_CXX=no 12224allow_undefined_flag_CXX= 12225always_export_symbols_CXX=no 12226archive_expsym_cmds_CXX= 12227compiler_needs_object_CXX=no 12228export_dynamic_flag_spec_CXX= 12229hardcode_direct_CXX=no 12230hardcode_direct_absolute_CXX=no 12231hardcode_libdir_flag_spec_CXX= 12232hardcode_libdir_flag_spec_ld_CXX= 12233hardcode_libdir_separator_CXX= 12234hardcode_minus_L_CXX=no 12235hardcode_shlibpath_var_CXX=unsupported 12236hardcode_automatic_CXX=no 12237inherit_rpath_CXX=no 12238module_cmds_CXX= 12239module_expsym_cmds_CXX= 12240link_all_deplibs_CXX=unknown 12241old_archive_cmds_CXX=$old_archive_cmds 12242no_undefined_flag_CXX= 12243whole_archive_flag_spec_CXX= 12244enable_shared_with_static_runtimes_CXX=no 12245 12246# Source file extension for C++ test sources. 12247ac_ext=cpp 12248 12249# Object file extension for compiled C++ test sources. 12250objext=o 12251objext_CXX=$objext 12252 12253# No sense in running all these tests if we already determined that 12254# the CXX compiler isn't working. Some variables (like enable_shared) 12255# are currently assumed to apply to all compilers on this platform, 12256# and will be corrupted by setting them based on a non-working compiler. 12257if test "$_lt_caught_CXX_error" != yes; then 12258 # Code to be used in simple compile tests 12259 lt_simple_compile_test_code="int some_variable = 0;" 12260 12261 # Code to be used in simple link tests 12262 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 12263 12264 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 12265 12266 12267 12268 12269 12270 12271# If no C compiler was specified, use CC. 12272LTCC=${LTCC-"$CC"} 12273 12274# If no C compiler flags were specified, use CFLAGS. 12275LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 12276 12277# Allow CC to be a program name with arguments. 12278compiler=$CC 12279 12280 12281 # save warnings/boilerplate of simple test code 12282 ac_outfile=conftest.$ac_objext 12283echo "$lt_simple_compile_test_code" >conftest.$ac_ext 12284eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12285_lt_compiler_boilerplate=`cat conftest.err` 12286$RM conftest* 12287 12288 ac_outfile=conftest.$ac_objext 12289echo "$lt_simple_link_test_code" >conftest.$ac_ext 12290eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12291_lt_linker_boilerplate=`cat conftest.err` 12292$RM -r conftest* 12293 12294 12295 # Allow CC to be a program name with arguments. 12296 lt_save_CC=$CC 12297 lt_save_LD=$LD 12298 lt_save_GCC=$GCC 12299 GCC=$GXX 12300 lt_save_with_gnu_ld=$with_gnu_ld 12301 lt_save_path_LD=$lt_cv_path_LD 12302 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 12303 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 12304 else 12305 $as_unset lt_cv_prog_gnu_ld 12306 fi 12307 if test -n "${lt_cv_path_LDCXX+set}"; then 12308 lt_cv_path_LD=$lt_cv_path_LDCXX 12309 else 12310 $as_unset lt_cv_path_LD 12311 fi 12312 test -z "${LDCXX+set}" || LD=$LDCXX 12313 CC=${CXX-"c++"} 12314 compiler=$CC 12315 compiler_CXX=$CC 12316 for cc_temp in $compiler""; do 12317 case $cc_temp in 12318 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 12319 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 12320 \-*) ;; 12321 *) break;; 12322 esac 12323done 12324cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 12325 12326 12327 if test -n "$compiler"; then 12328 # We don't want -fno-exception when compiling C++ code, so set the 12329 # no_builtin_flag separately 12330 if test "$GXX" = yes; then 12331 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 12332 else 12333 lt_prog_compiler_no_builtin_flag_CXX= 12334 fi 12335 12336 if test "$GXX" = yes; then 12337 # Set up default GNU C++ configuration 12338 12339 12340 12341# Check whether --with-gnu-ld was given. 12342if test "${with_gnu_ld+set}" = set; then : 12343 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 12344else 12345 with_gnu_ld=no 12346fi 12347 12348ac_prog=ld 12349if test "$GCC" = yes; then 12350 # Check if gcc -print-prog-name=ld gives a path. 12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 12352$as_echo_n "checking for ld used by $CC... " >&6; } 12353 case $host in 12354 *-*-mingw*) 12355 # gcc leaves a trailing carriage return which upsets mingw 12356 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12357 *) 12358 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 12359 esac 12360 case $ac_prog in 12361 # Accept absolute paths. 12362 [\\/]* | ?:[\\/]*) 12363 re_direlt='/[^/][^/]*/\.\./' 12364 # Canonicalize the pathname of ld 12365 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 12366 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 12367 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 12368 done 12369 test -z "$LD" && LD="$ac_prog" 12370 ;; 12371 "") 12372 # If it fails, then pretend we aren't using GCC. 12373 ac_prog=ld 12374 ;; 12375 *) 12376 # If it is relative, then search for the first ld in PATH. 12377 with_gnu_ld=unknown 12378 ;; 12379 esac 12380elif test "$with_gnu_ld" = yes; then 12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 12382$as_echo_n "checking for GNU ld... " >&6; } 12383else 12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 12385$as_echo_n "checking for non-GNU ld... " >&6; } 12386fi 12387if test "${lt_cv_path_LD+set}" = set; then : 12388 $as_echo_n "(cached) " >&6 12389else 12390 if test -z "$LD"; then 12391 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 12392 for ac_dir in $PATH; do 12393 IFS="$lt_save_ifs" 12394 test -z "$ac_dir" && ac_dir=. 12395 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12396 lt_cv_path_LD="$ac_dir/$ac_prog" 12397 # Check to see if the program is GNU ld. I'd rather use --version, 12398 # but apparently some variants of GNU ld only accept -v. 12399 # Break only if it was the GNU/non-GNU ld that we prefer. 12400 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 12401 *GNU* | *'with BFD'*) 12402 test "$with_gnu_ld" != no && break 12403 ;; 12404 *) 12405 test "$with_gnu_ld" != yes && break 12406 ;; 12407 esac 12408 fi 12409 done 12410 IFS="$lt_save_ifs" 12411else 12412 lt_cv_path_LD="$LD" # Let the user override the test with a path. 12413fi 12414fi 12415 12416LD="$lt_cv_path_LD" 12417if test -n "$LD"; then 12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 12419$as_echo "$LD" >&6; } 12420else 12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12422$as_echo "no" >&6; } 12423fi 12424test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 12425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 12426$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 12427if test "${lt_cv_prog_gnu_ld+set}" = set; then : 12428 $as_echo_n "(cached) " >&6 12429else 12430 # I'd rather use --version here, but apparently some GNU lds only accept -v. 12431case `$LD -v 2>&1 </dev/null` in 12432*GNU* | *'with BFD'*) 12433 lt_cv_prog_gnu_ld=yes 12434 ;; 12435*) 12436 lt_cv_prog_gnu_ld=no 12437 ;; 12438esac 12439fi 12440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 12441$as_echo "$lt_cv_prog_gnu_ld" >&6; } 12442with_gnu_ld=$lt_cv_prog_gnu_ld 12443 12444 12445 12446 12447 12448 12449 12450 # Check if GNU C++ uses GNU ld as the underlying linker, since the 12451 # archiving commands below assume that GNU ld is being used. 12452 if test "$with_gnu_ld" = yes; then 12453 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12454 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 12455 12456 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12458 12459 # If archive_cmds runs LD, not CC, wlarc should be empty 12460 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 12461 # investigate it a little bit more. (MM) 12462 wlarc='${wl}' 12463 12464 # ancient GNU ld didn't support --whole-archive et. al. 12465 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 12466 $GREP 'no-whole-archive' > /dev/null; then 12467 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 12468 else 12469 whole_archive_flag_spec_CXX= 12470 fi 12471 else 12472 with_gnu_ld=no 12473 wlarc= 12474 12475 # A generic and very simple default shared library creation 12476 # command for GNU C++ for the case where it uses the native 12477 # linker, instead of GNU ld. If possible, this setting should 12478 # overridden to take advantage of the native linker features on 12479 # the platform it is being used on. 12480 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 12481 fi 12482 12483 # Commands to make compiler produce verbose output that lists 12484 # what "hidden" libraries, object files and flags are used when 12485 # linking a shared library. 12486 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 12487 12488 else 12489 GXX=no 12490 with_gnu_ld=no 12491 wlarc= 12492 fi 12493 12494 # PORTME: fill in a description of your system's C++ link characteristics 12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 12496$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 12497 ld_shlibs_CXX=yes 12498 case $host_os in 12499 aix3*) 12500 # FIXME: insert proper C++ library support 12501 ld_shlibs_CXX=no 12502 ;; 12503 aix[4-9]*) 12504 if test "$host_cpu" = ia64; then 12505 # On IA64, the linker does run time linking by default, so we don't 12506 # have to do anything special. 12507 aix_use_runtimelinking=no 12508 exp_sym_flag='-Bexport' 12509 no_entry_flag="" 12510 else 12511 aix_use_runtimelinking=no 12512 12513 # Test if we are trying to use run time linking or normal 12514 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 12515 # need to do runtime linking. 12516 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 12517 for ld_flag in $LDFLAGS; do 12518 case $ld_flag in 12519 *-brtl*) 12520 aix_use_runtimelinking=yes 12521 break 12522 ;; 12523 esac 12524 done 12525 ;; 12526 esac 12527 12528 exp_sym_flag='-bexport' 12529 no_entry_flag='-bnoentry' 12530 fi 12531 12532 # When large executables or shared objects are built, AIX ld can 12533 # have problems creating the table of contents. If linking a library 12534 # or program results in "error TOC overflow" add -mminimal-toc to 12535 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 12536 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 12537 12538 archive_cmds_CXX='' 12539 hardcode_direct_CXX=yes 12540 hardcode_direct_absolute_CXX=yes 12541 hardcode_libdir_separator_CXX=':' 12542 link_all_deplibs_CXX=yes 12543 file_list_spec_CXX='${wl}-f,' 12544 12545 if test "$GXX" = yes; then 12546 case $host_os in aix4.[012]|aix4.[012].*) 12547 # We only want to do this on AIX 4.2 and lower, the check 12548 # below for broken collect2 doesn't work under 4.3+ 12549 collect2name=`${CC} -print-prog-name=collect2` 12550 if test -f "$collect2name" && 12551 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 12552 then 12553 # We have reworked collect2 12554 : 12555 else 12556 # We have old collect2 12557 hardcode_direct_CXX=unsupported 12558 # It fails to find uninstalled libraries when the uninstalled 12559 # path is not listed in the libpath. Setting hardcode_minus_L 12560 # to unsupported forces relinking 12561 hardcode_minus_L_CXX=yes 12562 hardcode_libdir_flag_spec_CXX='-L$libdir' 12563 hardcode_libdir_separator_CXX= 12564 fi 12565 esac 12566 shared_flag='-shared' 12567 if test "$aix_use_runtimelinking" = yes; then 12568 shared_flag="$shared_flag "'${wl}-G' 12569 fi 12570 else 12571 # not using gcc 12572 if test "$host_cpu" = ia64; then 12573 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 12574 # chokes on -Wl,-G. The following line is correct: 12575 shared_flag='-G' 12576 else 12577 if test "$aix_use_runtimelinking" = yes; then 12578 shared_flag='${wl}-G' 12579 else 12580 shared_flag='${wl}-bM:SRE' 12581 fi 12582 fi 12583 fi 12584 12585 export_dynamic_flag_spec_CXX='${wl}-bexpall' 12586 # It seems that -bexpall does not export symbols beginning with 12587 # underscore (_), so it is better to generate a list of symbols to 12588 # export. 12589 always_export_symbols_CXX=yes 12590 if test "$aix_use_runtimelinking" = yes; then 12591 # Warning - without using the other runtime loading flags (-brtl), 12592 # -berok will link without error, but may produce a broken library. 12593 allow_undefined_flag_CXX='-berok' 12594 # Determine the default libpath from the value encoded in an empty 12595 # executable. 12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12597/* end confdefs.h. */ 12598 12599int 12600main () 12601{ 12602 12603 ; 12604 return 0; 12605} 12606_ACEOF 12607if ac_fn_cxx_try_link "$LINENO"; then : 12608 12609lt_aix_libpath_sed=' 12610 /Import File Strings/,/^$/ { 12611 /^0/ { 12612 s/^0 *\(.*\)$/\1/ 12613 p 12614 } 12615 }' 12616aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12617# Check for a 64-bit object if we didn't find anything. 12618if test -z "$aix_libpath"; then 12619 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12620fi 12621fi 12622rm -f core conftest.err conftest.$ac_objext \ 12623 conftest$ac_exeext conftest.$ac_ext 12624if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 12625 12626 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12627 12628 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 12629 else 12630 if test "$host_cpu" = ia64; then 12631 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 12632 allow_undefined_flag_CXX="-z nodefs" 12633 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 12634 else 12635 # Determine the default libpath from the value encoded in an 12636 # empty executable. 12637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12638/* end confdefs.h. */ 12639 12640int 12641main () 12642{ 12643 12644 ; 12645 return 0; 12646} 12647_ACEOF 12648if ac_fn_cxx_try_link "$LINENO"; then : 12649 12650lt_aix_libpath_sed=' 12651 /Import File Strings/,/^$/ { 12652 /^0/ { 12653 s/^0 *\(.*\)$/\1/ 12654 p 12655 } 12656 }' 12657aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12658# Check for a 64-bit object if we didn't find anything. 12659if test -z "$aix_libpath"; then 12660 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12661fi 12662fi 12663rm -f core conftest.err conftest.$ac_objext \ 12664 conftest$ac_exeext conftest.$ac_ext 12665if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 12666 12667 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12668 # Warning - without using the other run time loading flags, 12669 # -berok will link without error, but may produce a broken library. 12670 no_undefined_flag_CXX=' ${wl}-bernotok' 12671 allow_undefined_flag_CXX=' ${wl}-berok' 12672 # Exported symbols can be pulled into shared objects from archives 12673 whole_archive_flag_spec_CXX='$convenience' 12674 archive_cmds_need_lc_CXX=yes 12675 # This is similar to how AIX traditionally builds its shared 12676 # libraries. 12677 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 12678 fi 12679 fi 12680 ;; 12681 12682 beos*) 12683 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12684 allow_undefined_flag_CXX=unsupported 12685 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 12686 # support --undefined. This deserves some investigation. FIXME 12687 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12688 else 12689 ld_shlibs_CXX=no 12690 fi 12691 ;; 12692 12693 chorus*) 12694 case $cc_basename in 12695 *) 12696 # FIXME: insert proper C++ library support 12697 ld_shlibs_CXX=no 12698 ;; 12699 esac 12700 ;; 12701 12702 cygwin* | mingw* | pw32* | cegcc*) 12703 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 12704 # as there is no search path for DLLs. 12705 hardcode_libdir_flag_spec_CXX='-L$libdir' 12706 allow_undefined_flag_CXX=unsupported 12707 always_export_symbols_CXX=no 12708 enable_shared_with_static_runtimes_CXX=yes 12709 12710 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 12711 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 12712 # If the export-symbols file already is a .def file (1st line 12713 # is EXPORTS), use it as is; otherwise, prepend... 12714 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 12715 cp $export_symbols $output_objdir/$soname.def; 12716 else 12717 echo EXPORTS > $output_objdir/$soname.def; 12718 cat $export_symbols >> $output_objdir/$soname.def; 12719 fi~ 12720 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 12721 else 12722 ld_shlibs_CXX=no 12723 fi 12724 ;; 12725 darwin* | rhapsody*) 12726 12727 12728 archive_cmds_need_lc_CXX=no 12729 hardcode_direct_CXX=no 12730 hardcode_automatic_CXX=yes 12731 hardcode_shlibpath_var_CXX=unsupported 12732 whole_archive_flag_spec_CXX='' 12733 link_all_deplibs_CXX=yes 12734 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 12735 case $cc_basename in 12736 ifort*) _lt_dar_can_shared=yes ;; 12737 *) _lt_dar_can_shared=$GCC ;; 12738 esac 12739 if test "$_lt_dar_can_shared" = "yes"; then 12740 output_verbose_link_cmd=echo 12741 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 12742 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 12743 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 12744 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 12745 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 12746 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 12747 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 12748 fi 12749 12750 else 12751 ld_shlibs_CXX=no 12752 fi 12753 12754 ;; 12755 12756 dgux*) 12757 case $cc_basename in 12758 ec++*) 12759 # FIXME: insert proper C++ library support 12760 ld_shlibs_CXX=no 12761 ;; 12762 ghcx*) 12763 # Green Hills C++ Compiler 12764 # FIXME: insert proper C++ library support 12765 ld_shlibs_CXX=no 12766 ;; 12767 *) 12768 # FIXME: insert proper C++ library support 12769 ld_shlibs_CXX=no 12770 ;; 12771 esac 12772 ;; 12773 12774 freebsd[12]*) 12775 # C++ shared libraries reported to be fairly broken before 12776 # switch to ELF 12777 ld_shlibs_CXX=no 12778 ;; 12779 12780 freebsd-elf*) 12781 archive_cmds_need_lc_CXX=no 12782 ;; 12783 12784 freebsd* | dragonfly*) 12785 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 12786 # conventions 12787 ld_shlibs_CXX=yes 12788 ;; 12789 12790 gnu*) 12791 ;; 12792 12793 hpux9*) 12794 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 12795 hardcode_libdir_separator_CXX=: 12796 export_dynamic_flag_spec_CXX='${wl}-E' 12797 hardcode_direct_CXX=yes 12798 hardcode_minus_L_CXX=yes # Not in the search PATH, 12799 # but as the default 12800 # location of the library. 12801 12802 case $cc_basename in 12803 CC*) 12804 # FIXME: insert proper C++ library support 12805 ld_shlibs_CXX=no 12806 ;; 12807 aCC*) 12808 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 12809 # Commands to make compiler produce verbose output that lists 12810 # what "hidden" libraries, object files and flags are used when 12811 # linking a shared library. 12812 # 12813 # There doesn't appear to be a way to prevent this compiler from 12814 # explicitly linking system object files so we need to strip them 12815 # from the output so that they don't get included in the library 12816 # dependencies. 12817 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 12818 ;; 12819 *) 12820 if test "$GXX" = yes; then 12821 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 12822 else 12823 # FIXME: insert proper C++ library support 12824 ld_shlibs_CXX=no 12825 fi 12826 ;; 12827 esac 12828 ;; 12829 12830 hpux10*|hpux11*) 12831 if test $with_gnu_ld = no; then 12832 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 12833 hardcode_libdir_separator_CXX=: 12834 12835 case $host_cpu in 12836 hppa*64*|ia64*) 12837 ;; 12838 *) 12839 export_dynamic_flag_spec_CXX='${wl}-E' 12840 ;; 12841 esac 12842 fi 12843 case $host_cpu in 12844 hppa*64*|ia64*) 12845 hardcode_direct_CXX=no 12846 hardcode_shlibpath_var_CXX=no 12847 ;; 12848 *) 12849 hardcode_direct_CXX=yes 12850 hardcode_direct_absolute_CXX=yes 12851 hardcode_minus_L_CXX=yes # Not in the search PATH, 12852 # but as the default 12853 # location of the library. 12854 ;; 12855 esac 12856 12857 case $cc_basename in 12858 CC*) 12859 # FIXME: insert proper C++ library support 12860 ld_shlibs_CXX=no 12861 ;; 12862 aCC*) 12863 case $host_cpu in 12864 hppa*64*) 12865 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12866 ;; 12867 ia64*) 12868 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12869 ;; 12870 *) 12871 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12872 ;; 12873 esac 12874 # Commands to make compiler produce verbose output that lists 12875 # what "hidden" libraries, object files and flags are used when 12876 # linking a shared library. 12877 # 12878 # There doesn't appear to be a way to prevent this compiler from 12879 # explicitly linking system object files so we need to strip them 12880 # from the output so that they don't get included in the library 12881 # dependencies. 12882 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 12883 ;; 12884 *) 12885 if test "$GXX" = yes; then 12886 if test $with_gnu_ld = no; then 12887 case $host_cpu in 12888 hppa*64*) 12889 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12890 ;; 12891 ia64*) 12892 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12893 ;; 12894 *) 12895 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12896 ;; 12897 esac 12898 fi 12899 else 12900 # FIXME: insert proper C++ library support 12901 ld_shlibs_CXX=no 12902 fi 12903 ;; 12904 esac 12905 ;; 12906 12907 interix[3-9]*) 12908 hardcode_direct_CXX=no 12909 hardcode_shlibpath_var_CXX=no 12910 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12911 export_dynamic_flag_spec_CXX='${wl}-E' 12912 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 12913 # Instead, shared libraries are loaded at an image base (0x10000000 by 12914 # default) and relocated if they conflict, which is a slow very memory 12915 # consuming and fragmenting process. To avoid this, we pick a random, 12916 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 12917 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 12918 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 12919 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 12920 ;; 12921 irix5* | irix6*) 12922 case $cc_basename in 12923 CC*) 12924 # SGI C++ 12925 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 12926 12927 # Archives containing C++ object files must be created using 12928 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 12929 # necessary to make sure instantiated templates are included 12930 # in the archive. 12931 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 12932 ;; 12933 *) 12934 if test "$GXX" = yes; then 12935 if test "$with_gnu_ld" = no; then 12936 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 12937 else 12938 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' 12939 fi 12940 fi 12941 link_all_deplibs_CXX=yes 12942 ;; 12943 esac 12944 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12945 hardcode_libdir_separator_CXX=: 12946 inherit_rpath_CXX=yes 12947 ;; 12948 12949 linux* | k*bsd*-gnu) 12950 case $cc_basename in 12951 KCC*) 12952 # Kuck and Associates, Inc. (KAI) C++ Compiler 12953 12954 # KCC will only create a shared library if the output file 12955 # ends with ".so" (or ".sl" for HP-UX), so rename the library 12956 # to its proper name (with version) after linking. 12957 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 12958 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 12959 # Commands to make compiler produce verbose output that lists 12960 # what "hidden" libraries, object files and flags are used when 12961 # linking a shared library. 12962 # 12963 # There doesn't appear to be a way to prevent this compiler from 12964 # explicitly linking system object files so we need to strip them 12965 # from the output so that they don't get included in the library 12966 # dependencies. 12967 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 12968 12969 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12970 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12971 12972 # Archives containing C++ object files must be created using 12973 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 12974 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 12975 ;; 12976 icpc* | ecpc* ) 12977 # Intel C++ 12978 with_gnu_ld=yes 12979 # version 8.0 and above of icpc choke on multiply defined symbols 12980 # if we add $predep_objects and $postdep_objects, however 7.1 and 12981 # earlier do not add the objects themselves. 12982 case `$CC -V 2>&1` in 12983 *"Version 7."*) 12984 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12985 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 12986 ;; 12987 *) # Version 8.0 or newer 12988 tmp_idyn= 12989 case $host_cpu in 12990 ia64*) tmp_idyn=' -i_dynamic';; 12991 esac 12992 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12993 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 12994 ;; 12995 esac 12996 archive_cmds_need_lc_CXX=no 12997 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12998 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12999 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 13000 ;; 13001 pgCC* | pgcpp*) 13002 # Portland Group C++ compiler 13003 case `$CC -V` in 13004 *pgCC\ [1-5]* | *pgcpp\ [1-5]*) 13005 prelink_cmds_CXX='tpldir=Template.dir~ 13006 rm -rf $tpldir~ 13007 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 13008 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' 13009 old_archive_cmds_CXX='tpldir=Template.dir~ 13010 rm -rf $tpldir~ 13011 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 13012 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ 13013 $RANLIB $oldlib' 13014 archive_cmds_CXX='tpldir=Template.dir~ 13015 rm -rf $tpldir~ 13016 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13017 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13018 archive_expsym_cmds_CXX='tpldir=Template.dir~ 13019 rm -rf $tpldir~ 13020 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13021 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 13022 ;; 13023 *) # Version 6 will use weak symbols 13024 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13025 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 13026 ;; 13027 esac 13028 13029 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 13030 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13031 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 13032 ;; 13033 cxx*) 13034 # Compaq C++ 13035 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13036 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 13037 13038 runpath_var=LD_RUN_PATH 13039 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13040 hardcode_libdir_separator_CXX=: 13041 13042 # Commands to make compiler produce verbose output that lists 13043 # what "hidden" libraries, object files and flags are used when 13044 # linking a shared library. 13045 # 13046 # There doesn't appear to be a way to prevent this compiler from 13047 # explicitly linking system object files so we need to strip them 13048 # from the output so that they don't get included in the library 13049 # dependencies. 13050 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 13051 ;; 13052 xl*) 13053 # IBM XL 8.0 on PPC, with GNU ld 13054 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13055 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13056 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13057 if test "x$supports_anon_versioning" = xyes; then 13058 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 13059 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13060 echo "local: *; };" >> $output_objdir/$libname.ver~ 13061 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 13062 fi 13063 ;; 13064 *) 13065 case `$CC -V 2>&1 | sed 5q` in 13066 *Sun\ C*) 13067 # Sun C++ 5.9 13068 no_undefined_flag_CXX=' -zdefs' 13069 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13070 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 13071 hardcode_libdir_flag_spec_CXX='-R$libdir' 13072 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 13073 compiler_needs_object_CXX=yes 13074 13075 # Not sure whether something based on 13076 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 13077 # would be better. 13078 output_verbose_link_cmd='echo' 13079 13080 # Archives containing C++ object files must be created using 13081 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13082 # necessary to make sure instantiated templates are included 13083 # in the archive. 13084 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13085 ;; 13086 esac 13087 ;; 13088 esac 13089 ;; 13090 13091 lynxos*) 13092 # FIXME: insert proper C++ library support 13093 ld_shlibs_CXX=no 13094 ;; 13095 13096 m88k*) 13097 # FIXME: insert proper C++ library support 13098 ld_shlibs_CXX=no 13099 ;; 13100 13101 mvs*) 13102 case $cc_basename in 13103 cxx*) 13104 # FIXME: insert proper C++ library support 13105 ld_shlibs_CXX=no 13106 ;; 13107 *) 13108 # FIXME: insert proper C++ library support 13109 ld_shlibs_CXX=no 13110 ;; 13111 esac 13112 ;; 13113 13114 netbsd*) 13115 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13116 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 13117 wlarc= 13118 hardcode_libdir_flag_spec_CXX='-R$libdir' 13119 hardcode_direct_CXX=yes 13120 hardcode_shlibpath_var_CXX=no 13121 fi 13122 # Workaround some broken pre-1.5 toolchains 13123 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 13124 ;; 13125 13126 *nto* | *qnx*) 13127 ld_shlibs_CXX=yes 13128 ;; 13129 13130 openbsd2*) 13131 # C++ shared libraries are fairly broken 13132 ld_shlibs_CXX=no 13133 ;; 13134 13135 openbsd*) 13136 if test -f /usr/libexec/ld.so; then 13137 hardcode_direct_CXX=yes 13138 hardcode_shlibpath_var_CXX=no 13139 hardcode_direct_absolute_CXX=yes 13140 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13141 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13142 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 13143 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 13144 export_dynamic_flag_spec_CXX='${wl}-E' 13145 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13146 fi 13147 output_verbose_link_cmd=echo 13148 else 13149 ld_shlibs_CXX=no 13150 fi 13151 ;; 13152 13153 osf3* | osf4* | osf5*) 13154 case $cc_basename in 13155 KCC*) 13156 # Kuck and Associates, Inc. (KAI) C++ Compiler 13157 13158 # KCC will only create a shared library if the output file 13159 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13160 # to its proper name (with version) after linking. 13161 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13162 13163 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13164 hardcode_libdir_separator_CXX=: 13165 13166 # Archives containing C++ object files must be created using 13167 # the KAI C++ compiler. 13168 case $host in 13169 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 13170 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 13171 esac 13172 ;; 13173 RCC*) 13174 # Rational C++ 2.4.1 13175 # FIXME: insert proper C++ library support 13176 ld_shlibs_CXX=no 13177 ;; 13178 cxx*) 13179 case $host in 13180 osf3*) 13181 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13182 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 13183 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13184 ;; 13185 *) 13186 allow_undefined_flag_CXX=' -expect_unresolved \*' 13187 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 13188 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 13189 echo "-hidden">> $lib.exp~ 13190 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ 13191 $RM $lib.exp' 13192 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13193 ;; 13194 esac 13195 13196 hardcode_libdir_separator_CXX=: 13197 13198 # Commands to make compiler produce verbose output that lists 13199 # what "hidden" libraries, object files and flags are used when 13200 # linking a shared library. 13201 # 13202 # There doesn't appear to be a way to prevent this compiler from 13203 # explicitly linking system object files so we need to strip them 13204 # from the output so that they don't get included in the library 13205 # dependencies. 13206 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 13207 ;; 13208 *) 13209 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 13210 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13211 case $host in 13212 osf3*) 13213 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 13214 ;; 13215 *) 13216 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 13217 ;; 13218 esac 13219 13220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13221 hardcode_libdir_separator_CXX=: 13222 13223 # Commands to make compiler produce verbose output that lists 13224 # what "hidden" libraries, object files and flags are used when 13225 # linking a shared library. 13226 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 13227 13228 else 13229 # FIXME: insert proper C++ library support 13230 ld_shlibs_CXX=no 13231 fi 13232 ;; 13233 esac 13234 ;; 13235 13236 psos*) 13237 # FIXME: insert proper C++ library support 13238 ld_shlibs_CXX=no 13239 ;; 13240 13241 sunos4*) 13242 case $cc_basename in 13243 CC*) 13244 # Sun C++ 4.x 13245 # FIXME: insert proper C++ library support 13246 ld_shlibs_CXX=no 13247 ;; 13248 lcc*) 13249 # Lucid 13250 # FIXME: insert proper C++ library support 13251 ld_shlibs_CXX=no 13252 ;; 13253 *) 13254 # FIXME: insert proper C++ library support 13255 ld_shlibs_CXX=no 13256 ;; 13257 esac 13258 ;; 13259 13260 solaris*) 13261 case $cc_basename in 13262 CC*) 13263 # Sun C++ 4.2, 5.x and Centerline C++ 13264 archive_cmds_need_lc_CXX=yes 13265 no_undefined_flag_CXX=' -zdefs' 13266 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13267 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13268 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13269 13270 hardcode_libdir_flag_spec_CXX='-R$libdir' 13271 hardcode_shlibpath_var_CXX=no 13272 case $host_os in 13273 solaris2.[0-5] | solaris2.[0-5].*) ;; 13274 *) 13275 # The compiler driver will combine and reorder linker options, 13276 # but understands `-z linker_flag'. 13277 # Supported since Solaris 2.6 (maybe 2.5.1?) 13278 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 13279 ;; 13280 esac 13281 link_all_deplibs_CXX=yes 13282 13283 output_verbose_link_cmd='echo' 13284 13285 # Archives containing C++ object files must be created using 13286 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13287 # necessary to make sure instantiated templates are included 13288 # in the archive. 13289 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13290 ;; 13291 gcx*) 13292 # Green Hills C++ Compiler 13293 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13294 13295 # The C++ compiler must be used to create the archive. 13296 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 13297 ;; 13298 *) 13299 # GNU C++ compiler with Solaris linker 13300 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 13301 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 13302 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 13303 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13304 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13305 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13306 13307 # Commands to make compiler produce verbose output that lists 13308 # what "hidden" libraries, object files and flags are used when 13309 # linking a shared library. 13310 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 13311 else 13312 # g++ 2.7 appears to require `-G' NOT `-shared' on this 13313 # platform. 13314 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13315 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13316 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13317 13318 # Commands to make compiler produce verbose output that lists 13319 # what "hidden" libraries, object files and flags are used when 13320 # linking a shared library. 13321 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 13322 fi 13323 13324 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 13325 case $host_os in 13326 solaris2.[0-5] | solaris2.[0-5].*) ;; 13327 *) 13328 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 13329 ;; 13330 esac 13331 fi 13332 ;; 13333 esac 13334 ;; 13335 13336 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 13337 no_undefined_flag_CXX='${wl}-z,text' 13338 archive_cmds_need_lc_CXX=no 13339 hardcode_shlibpath_var_CXX=no 13340 runpath_var='LD_RUN_PATH' 13341 13342 case $cc_basename in 13343 CC*) 13344 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13345 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13346 ;; 13347 *) 13348 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13349 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13350 ;; 13351 esac 13352 ;; 13353 13354 sysv5* | sco3.2v5* | sco5v6*) 13355 # Note: We can NOT use -z defs as we might desire, because we do not 13356 # link with -lc, and that would cause any symbols used from libc to 13357 # always be unresolved, which means just about no library would 13358 # ever link correctly. If we're not using GNU ld we use -z text 13359 # though, which does catch some bad symbols but isn't as heavy-handed 13360 # as -z defs. 13361 no_undefined_flag_CXX='${wl}-z,text' 13362 allow_undefined_flag_CXX='${wl}-z,nodefs' 13363 archive_cmds_need_lc_CXX=no 13364 hardcode_shlibpath_var_CXX=no 13365 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 13366 hardcode_libdir_separator_CXX=':' 13367 link_all_deplibs_CXX=yes 13368 export_dynamic_flag_spec_CXX='${wl}-Bexport' 13369 runpath_var='LD_RUN_PATH' 13370 13371 case $cc_basename in 13372 CC*) 13373 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13374 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13375 ;; 13376 *) 13377 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13378 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13379 ;; 13380 esac 13381 ;; 13382 13383 tandem*) 13384 case $cc_basename in 13385 NCC*) 13386 # NonStop-UX NCC 3.20 13387 # FIXME: insert proper C++ library support 13388 ld_shlibs_CXX=no 13389 ;; 13390 *) 13391 # FIXME: insert proper C++ library support 13392 ld_shlibs_CXX=no 13393 ;; 13394 esac 13395 ;; 13396 13397 vxworks*) 13398 # FIXME: insert proper C++ library support 13399 ld_shlibs_CXX=no 13400 ;; 13401 13402 *) 13403 # FIXME: insert proper C++ library support 13404 ld_shlibs_CXX=no 13405 ;; 13406 esac 13407 13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 13409$as_echo "$ld_shlibs_CXX" >&6; } 13410 test "$ld_shlibs_CXX" = no && can_build_shared=no 13411 13412 GCC_CXX="$GXX" 13413 LD_CXX="$LD" 13414 13415 ## CAVEAT EMPTOR: 13416 ## There is no encapsulation within the following macros, do not change 13417 ## the running order or otherwise move them around unless you know exactly 13418 ## what you are doing... 13419 # Dependencies to place before and after the object being linked: 13420predep_objects_CXX= 13421postdep_objects_CXX= 13422predeps_CXX= 13423postdeps_CXX= 13424compiler_lib_search_path_CXX= 13425 13426cat > conftest.$ac_ext <<_LT_EOF 13427class Foo 13428{ 13429public: 13430 Foo (void) { a = 0; } 13431private: 13432 int a; 13433}; 13434_LT_EOF 13435 13436if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 13437 (eval $ac_compile) 2>&5 13438 ac_status=$? 13439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13440 test $ac_status = 0; }; then 13441 # Parse the compiler output and extract the necessary 13442 # objects, libraries and library flags. 13443 13444 # Sentinel used to keep track of whether or not we are before 13445 # the conftest object file. 13446 pre_test_object_deps_done=no 13447 13448 for p in `eval "$output_verbose_link_cmd"`; do 13449 case $p in 13450 13451 -L* | -R* | -l*) 13452 # Some compilers place space between "-{L,R}" and the path. 13453 # Remove the space. 13454 if test $p = "-L" || 13455 test $p = "-R"; then 13456 prev=$p 13457 continue 13458 else 13459 prev= 13460 fi 13461 13462 if test "$pre_test_object_deps_done" = no; then 13463 case $p in 13464 -L* | -R*) 13465 # Internal compiler library paths should come after those 13466 # provided the user. The postdeps already come after the 13467 # user supplied libs so there is no need to process them. 13468 if test -z "$compiler_lib_search_path_CXX"; then 13469 compiler_lib_search_path_CXX="${prev}${p}" 13470 else 13471 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 13472 fi 13473 ;; 13474 # The "-l" case would never come before the object being 13475 # linked, so don't bother handling this case. 13476 esac 13477 else 13478 if test -z "$postdeps_CXX"; then 13479 postdeps_CXX="${prev}${p}" 13480 else 13481 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 13482 fi 13483 fi 13484 ;; 13485 13486 *.$objext) 13487 # This assumes that the test object file only shows up 13488 # once in the compiler output. 13489 if test "$p" = "conftest.$objext"; then 13490 pre_test_object_deps_done=yes 13491 continue 13492 fi 13493 13494 if test "$pre_test_object_deps_done" = no; then 13495 if test -z "$predep_objects_CXX"; then 13496 predep_objects_CXX="$p" 13497 else 13498 predep_objects_CXX="$predep_objects_CXX $p" 13499 fi 13500 else 13501 if test -z "$postdep_objects_CXX"; then 13502 postdep_objects_CXX="$p" 13503 else 13504 postdep_objects_CXX="$postdep_objects_CXX $p" 13505 fi 13506 fi 13507 ;; 13508 13509 *) ;; # Ignore the rest. 13510 13511 esac 13512 done 13513 13514 # Clean up. 13515 rm -f a.out a.exe 13516else 13517 echo "libtool.m4: error: problem compiling CXX test program" 13518fi 13519 13520$RM -f confest.$objext 13521 13522# PORTME: override above test on systems where it is broken 13523case $host_os in 13524interix[3-9]*) 13525 # Interix 3.5 installs completely hosed .la files for C++, so rather than 13526 # hack all around it, let's just trust "g++" to DTRT. 13527 predep_objects_CXX= 13528 postdep_objects_CXX= 13529 postdeps_CXX= 13530 ;; 13531 13532linux*) 13533 case `$CC -V 2>&1 | sed 5q` in 13534 *Sun\ C*) 13535 # Sun C++ 5.9 13536 13537 # The more standards-conforming stlport4 library is 13538 # incompatible with the Cstd library. Avoid specifying 13539 # it if it's in CXXFLAGS. Ignore libCrun as 13540 # -library=stlport4 depends on it. 13541 case " $CXX $CXXFLAGS " in 13542 *" -library=stlport4 "*) 13543 solaris_use_stlport4=yes 13544 ;; 13545 esac 13546 13547 if test "$solaris_use_stlport4" != yes; then 13548 postdeps_CXX='-library=Cstd -library=Crun' 13549 fi 13550 ;; 13551 esac 13552 ;; 13553 13554solaris*) 13555 case $cc_basename in 13556 CC*) 13557 # The more standards-conforming stlport4 library is 13558 # incompatible with the Cstd library. Avoid specifying 13559 # it if it's in CXXFLAGS. Ignore libCrun as 13560 # -library=stlport4 depends on it. 13561 case " $CXX $CXXFLAGS " in 13562 *" -library=stlport4 "*) 13563 solaris_use_stlport4=yes 13564 ;; 13565 esac 13566 13567 # Adding this requires a known-good setup of shared libraries for 13568 # Sun compiler versions before 5.6, else PIC objects from an old 13569 # archive will be linked into the output, leading to subtle bugs. 13570 if test "$solaris_use_stlport4" != yes; then 13571 postdeps_CXX='-library=Cstd -library=Crun' 13572 fi 13573 ;; 13574 esac 13575 ;; 13576esac 13577 13578 13579case " $postdeps_CXX " in 13580*" -lc "*) archive_cmds_need_lc_CXX=no ;; 13581esac 13582 compiler_lib_search_dirs_CXX= 13583if test -n "${compiler_lib_search_path_CXX}"; then 13584 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 13585fi 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 lt_prog_compiler_wl_CXX= 13618lt_prog_compiler_pic_CXX= 13619lt_prog_compiler_static_CXX= 13620 13621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 13622$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 13623 13624 # C++ specific cases for pic, static, wl, etc. 13625 if test "$GXX" = yes; then 13626 lt_prog_compiler_wl_CXX='-Wl,' 13627 lt_prog_compiler_static_CXX='-static' 13628 13629 case $host_os in 13630 aix*) 13631 # All AIX code is PIC. 13632 if test "$host_cpu" = ia64; then 13633 # AIX 5 now supports IA64 processor 13634 lt_prog_compiler_static_CXX='-Bstatic' 13635 fi 13636 ;; 13637 13638 amigaos*) 13639 case $host_cpu in 13640 powerpc) 13641 # see comment about AmigaOS4 .so support 13642 lt_prog_compiler_pic_CXX='-fPIC' 13643 ;; 13644 m68k) 13645 # FIXME: we need at least 68020 code to build shared libraries, but 13646 # adding the `-m68020' flag to GCC prevents building anything better, 13647 # like `-m68040'. 13648 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 13649 ;; 13650 esac 13651 ;; 13652 13653 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 13654 # PIC is the default for these OSes. 13655 ;; 13656 mingw* | cygwin* | os2* | pw32* | cegcc*) 13657 # This hack is so that the source file can tell whether it is being 13658 # built for inclusion in a dll (and should export symbols for example). 13659 # Although the cygwin gcc ignores -fPIC, still need this for old-style 13660 # (--disable-auto-import) libraries 13661 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 13662 ;; 13663 darwin* | rhapsody*) 13664 # PIC is the default on this platform 13665 # Common symbols not allowed in MH_DYLIB files 13666 lt_prog_compiler_pic_CXX='-fno-common' 13667 ;; 13668 *djgpp*) 13669 # DJGPP does not support shared libraries at all 13670 lt_prog_compiler_pic_CXX= 13671 ;; 13672 interix[3-9]*) 13673 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 13674 # Instead, we relocate shared libraries at runtime. 13675 ;; 13676 sysv4*MP*) 13677 if test -d /usr/nec; then 13678 lt_prog_compiler_pic_CXX=-Kconform_pic 13679 fi 13680 ;; 13681 hpux*) 13682 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 13683 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 13684 # sets the default TLS model and affects inlining. 13685 case $host_cpu in 13686 hppa*64*) 13687 ;; 13688 *) 13689 lt_prog_compiler_pic_CXX='-fPIC' 13690 ;; 13691 esac 13692 ;; 13693 *qnx* | *nto*) 13694 # QNX uses GNU C++, but need to define -shared option too, otherwise 13695 # it will coredump. 13696 lt_prog_compiler_pic_CXX='-fPIC -shared' 13697 ;; 13698 *) 13699 lt_prog_compiler_pic_CXX='-fPIC' 13700 ;; 13701 esac 13702 else 13703 case $host_os in 13704 aix[4-9]*) 13705 # All AIX code is PIC. 13706 if test "$host_cpu" = ia64; then 13707 # AIX 5 now supports IA64 processor 13708 lt_prog_compiler_static_CXX='-Bstatic' 13709 else 13710 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 13711 fi 13712 ;; 13713 chorus*) 13714 case $cc_basename in 13715 cxch68*) 13716 # Green Hills C++ Compiler 13717 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 13718 ;; 13719 esac 13720 ;; 13721 dgux*) 13722 case $cc_basename in 13723 ec++*) 13724 lt_prog_compiler_pic_CXX='-KPIC' 13725 ;; 13726 ghcx*) 13727 # Green Hills C++ Compiler 13728 lt_prog_compiler_pic_CXX='-pic' 13729 ;; 13730 *) 13731 ;; 13732 esac 13733 ;; 13734 freebsd* | dragonfly*) 13735 # FreeBSD uses GNU C++ 13736 ;; 13737 hpux9* | hpux10* | hpux11*) 13738 case $cc_basename in 13739 CC*) 13740 lt_prog_compiler_wl_CXX='-Wl,' 13741 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 13742 if test "$host_cpu" != ia64; then 13743 lt_prog_compiler_pic_CXX='+Z' 13744 fi 13745 ;; 13746 aCC*) 13747 lt_prog_compiler_wl_CXX='-Wl,' 13748 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 13749 case $host_cpu in 13750 hppa*64*|ia64*) 13751 # +Z the default 13752 ;; 13753 *) 13754 lt_prog_compiler_pic_CXX='+Z' 13755 ;; 13756 esac 13757 ;; 13758 *) 13759 ;; 13760 esac 13761 ;; 13762 interix*) 13763 # This is c89, which is MS Visual C++ (no shared libs) 13764 # Anyone wants to do a port? 13765 ;; 13766 irix5* | irix6* | nonstopux*) 13767 case $cc_basename in 13768 CC*) 13769 lt_prog_compiler_wl_CXX='-Wl,' 13770 lt_prog_compiler_static_CXX='-non_shared' 13771 # CC pic flag -KPIC is the default. 13772 ;; 13773 *) 13774 ;; 13775 esac 13776 ;; 13777 linux* | k*bsd*-gnu) 13778 case $cc_basename in 13779 KCC*) 13780 # KAI C++ Compiler 13781 lt_prog_compiler_wl_CXX='--backend -Wl,' 13782 lt_prog_compiler_pic_CXX='-fPIC' 13783 ;; 13784 ecpc* ) 13785 # old Intel C++ for x86_64 which still supported -KPIC. 13786 lt_prog_compiler_wl_CXX='-Wl,' 13787 lt_prog_compiler_pic_CXX='-KPIC' 13788 lt_prog_compiler_static_CXX='-static' 13789 ;; 13790 icpc* ) 13791 # Intel C++, used to be incompatible with GCC. 13792 # ICC 10 doesn't accept -KPIC any more. 13793 lt_prog_compiler_wl_CXX='-Wl,' 13794 lt_prog_compiler_pic_CXX='-fPIC' 13795 lt_prog_compiler_static_CXX='-static' 13796 ;; 13797 pgCC* | pgcpp*) 13798 # Portland Group C++ compiler 13799 lt_prog_compiler_wl_CXX='-Wl,' 13800 lt_prog_compiler_pic_CXX='-fpic' 13801 lt_prog_compiler_static_CXX='-Bstatic' 13802 ;; 13803 cxx*) 13804 # Compaq C++ 13805 # Make sure the PIC flag is empty. It appears that all Alpha 13806 # Linux and Compaq Tru64 Unix objects are PIC. 13807 lt_prog_compiler_pic_CXX= 13808 lt_prog_compiler_static_CXX='-non_shared' 13809 ;; 13810 xlc* | xlC*) 13811 # IBM XL 8.0 on PPC 13812 lt_prog_compiler_wl_CXX='-Wl,' 13813 lt_prog_compiler_pic_CXX='-qpic' 13814 lt_prog_compiler_static_CXX='-qstaticlink' 13815 ;; 13816 *) 13817 case `$CC -V 2>&1 | sed 5q` in 13818 *Sun\ C*) 13819 # Sun C++ 5.9 13820 lt_prog_compiler_pic_CXX='-KPIC' 13821 lt_prog_compiler_static_CXX='-Bstatic' 13822 lt_prog_compiler_wl_CXX='-Qoption ld ' 13823 ;; 13824 esac 13825 ;; 13826 esac 13827 ;; 13828 lynxos*) 13829 ;; 13830 m88k*) 13831 ;; 13832 mvs*) 13833 case $cc_basename in 13834 cxx*) 13835 lt_prog_compiler_pic_CXX='-W c,exportall' 13836 ;; 13837 *) 13838 ;; 13839 esac 13840 ;; 13841 netbsd*) 13842 ;; 13843 *qnx* | *nto*) 13844 # QNX uses GNU C++, but need to define -shared option too, otherwise 13845 # it will coredump. 13846 lt_prog_compiler_pic_CXX='-fPIC -shared' 13847 ;; 13848 osf3* | osf4* | osf5*) 13849 case $cc_basename in 13850 KCC*) 13851 lt_prog_compiler_wl_CXX='--backend -Wl,' 13852 ;; 13853 RCC*) 13854 # Rational C++ 2.4.1 13855 lt_prog_compiler_pic_CXX='-pic' 13856 ;; 13857 cxx*) 13858 # Digital/Compaq C++ 13859 lt_prog_compiler_wl_CXX='-Wl,' 13860 # Make sure the PIC flag is empty. It appears that all Alpha 13861 # Linux and Compaq Tru64 Unix objects are PIC. 13862 lt_prog_compiler_pic_CXX= 13863 lt_prog_compiler_static_CXX='-non_shared' 13864 ;; 13865 *) 13866 ;; 13867 esac 13868 ;; 13869 psos*) 13870 ;; 13871 solaris*) 13872 case $cc_basename in 13873 CC*) 13874 # Sun C++ 4.2, 5.x and Centerline C++ 13875 lt_prog_compiler_pic_CXX='-KPIC' 13876 lt_prog_compiler_static_CXX='-Bstatic' 13877 lt_prog_compiler_wl_CXX='-Qoption ld ' 13878 ;; 13879 gcx*) 13880 # Green Hills C++ Compiler 13881 lt_prog_compiler_pic_CXX='-PIC' 13882 ;; 13883 *) 13884 ;; 13885 esac 13886 ;; 13887 sunos4*) 13888 case $cc_basename in 13889 CC*) 13890 # Sun C++ 4.x 13891 lt_prog_compiler_pic_CXX='-pic' 13892 lt_prog_compiler_static_CXX='-Bstatic' 13893 ;; 13894 lcc*) 13895 # Lucid 13896 lt_prog_compiler_pic_CXX='-pic' 13897 ;; 13898 *) 13899 ;; 13900 esac 13901 ;; 13902 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 13903 case $cc_basename in 13904 CC*) 13905 lt_prog_compiler_wl_CXX='-Wl,' 13906 lt_prog_compiler_pic_CXX='-KPIC' 13907 lt_prog_compiler_static_CXX='-Bstatic' 13908 ;; 13909 esac 13910 ;; 13911 tandem*) 13912 case $cc_basename in 13913 NCC*) 13914 # NonStop-UX NCC 3.20 13915 lt_prog_compiler_pic_CXX='-KPIC' 13916 ;; 13917 *) 13918 ;; 13919 esac 13920 ;; 13921 vxworks*) 13922 ;; 13923 *) 13924 lt_prog_compiler_can_build_shared_CXX=no 13925 ;; 13926 esac 13927 fi 13928 13929case $host_os in 13930 # For platforms which do not support PIC, -DPIC is meaningless: 13931 *djgpp*) 13932 lt_prog_compiler_pic_CXX= 13933 ;; 13934 *) 13935 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 13936 ;; 13937esac 13938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 13939$as_echo "$lt_prog_compiler_pic_CXX" >&6; } 13940 13941 13942 13943# 13944# Check to make sure the PIC flag actually works. 13945# 13946if test -n "$lt_prog_compiler_pic_CXX"; then 13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 13948$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 13949if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : 13950 $as_echo_n "(cached) " >&6 13951else 13952 lt_cv_prog_compiler_pic_works_CXX=no 13953 ac_outfile=conftest.$ac_objext 13954 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13955 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 13956 # Insert the option either (1) after the last *FLAGS variable, or 13957 # (2) before a word containing "conftest.", or (3) at the end. 13958 # Note that $ac_compile itself does not contain backslashes and begins 13959 # with a dollar sign (not a hyphen), so the echo should work correctly. 13960 # The option is referenced via a variable to avoid confusing sed. 13961 lt_compile=`echo "$ac_compile" | $SED \ 13962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13964 -e 's:$: $lt_compiler_flag:'` 13965 (eval echo "\"\$as_me:13965: $lt_compile\"" >&5) 13966 (eval "$lt_compile" 2>conftest.err) 13967 ac_status=$? 13968 cat conftest.err >&5 13969 echo "$as_me:13969: \$? = $ac_status" >&5 13970 if (exit $ac_status) && test -s "$ac_outfile"; then 13971 # The compiler can only warn and ignore the option if not recognized 13972 # So say no if there are warnings other than the usual output. 13973 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 13974 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13975 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 13976 lt_cv_prog_compiler_pic_works_CXX=yes 13977 fi 13978 fi 13979 $RM conftest* 13980 13981fi 13982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 13983$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 13984 13985if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 13986 case $lt_prog_compiler_pic_CXX in 13987 "" | " "*) ;; 13988 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 13989 esac 13990else 13991 lt_prog_compiler_pic_CXX= 13992 lt_prog_compiler_can_build_shared_CXX=no 13993fi 13994 13995fi 13996 13997 13998 13999# 14000# Check to make sure the static flag actually works. 14001# 14002wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 14003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14004$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14005if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : 14006 $as_echo_n "(cached) " >&6 14007else 14008 lt_cv_prog_compiler_static_works_CXX=no 14009 save_LDFLAGS="$LDFLAGS" 14010 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14011 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14012 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14013 # The linker can only warn and ignore the option if not recognized 14014 # So say no if there are warnings 14015 if test -s conftest.err; then 14016 # Append any errors to the config.log. 14017 cat conftest.err 1>&5 14018 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 14019 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14020 if diff conftest.exp conftest.er2 >/dev/null; then 14021 lt_cv_prog_compiler_static_works_CXX=yes 14022 fi 14023 else 14024 lt_cv_prog_compiler_static_works_CXX=yes 14025 fi 14026 fi 14027 $RM -r conftest* 14028 LDFLAGS="$save_LDFLAGS" 14029 14030fi 14031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 14032$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 14033 14034if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 14035 : 14036else 14037 lt_prog_compiler_static_CXX= 14038fi 14039 14040 14041 14042 14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14044$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14045if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 14046 $as_echo_n "(cached) " >&6 14047else 14048 lt_cv_prog_compiler_c_o_CXX=no 14049 $RM -r conftest 2>/dev/null 14050 mkdir conftest 14051 cd conftest 14052 mkdir out 14053 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14054 14055 lt_compiler_flag="-o out/conftest2.$ac_objext" 14056 # Insert the option either (1) after the last *FLAGS variable, or 14057 # (2) before a word containing "conftest.", or (3) at the end. 14058 # Note that $ac_compile itself does not contain backslashes and begins 14059 # with a dollar sign (not a hyphen), so the echo should work correctly. 14060 lt_compile=`echo "$ac_compile" | $SED \ 14061 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14062 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14063 -e 's:$: $lt_compiler_flag:'` 14064 (eval echo "\"\$as_me:14064: $lt_compile\"" >&5) 14065 (eval "$lt_compile" 2>out/conftest.err) 14066 ac_status=$? 14067 cat out/conftest.err >&5 14068 echo "$as_me:14068: \$? = $ac_status" >&5 14069 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14070 then 14071 # The compiler can only warn and ignore the option if not recognized 14072 # So say no if there are warnings 14073 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 14074 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14075 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14076 lt_cv_prog_compiler_c_o_CXX=yes 14077 fi 14078 fi 14079 chmod u+w . 2>&5 14080 $RM conftest* 14081 # SGI C++ compiler will create directory out/ii_files/ for 14082 # template instantiation 14083 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14084 $RM out/* && rmdir out 14085 cd .. 14086 $RM -r conftest 14087 $RM conftest* 14088 14089fi 14090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14091$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14092 14093 14094 14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14096$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14097if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 14098 $as_echo_n "(cached) " >&6 14099else 14100 lt_cv_prog_compiler_c_o_CXX=no 14101 $RM -r conftest 2>/dev/null 14102 mkdir conftest 14103 cd conftest 14104 mkdir out 14105 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14106 14107 lt_compiler_flag="-o out/conftest2.$ac_objext" 14108 # Insert the option either (1) after the last *FLAGS variable, or 14109 # (2) before a word containing "conftest.", or (3) at the end. 14110 # Note that $ac_compile itself does not contain backslashes and begins 14111 # with a dollar sign (not a hyphen), so the echo should work correctly. 14112 lt_compile=`echo "$ac_compile" | $SED \ 14113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14115 -e 's:$: $lt_compiler_flag:'` 14116 (eval echo "\"\$as_me:14116: $lt_compile\"" >&5) 14117 (eval "$lt_compile" 2>out/conftest.err) 14118 ac_status=$? 14119 cat out/conftest.err >&5 14120 echo "$as_me:14120: \$? = $ac_status" >&5 14121 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14122 then 14123 # The compiler can only warn and ignore the option if not recognized 14124 # So say no if there are warnings 14125 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 14126 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14127 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14128 lt_cv_prog_compiler_c_o_CXX=yes 14129 fi 14130 fi 14131 chmod u+w . 2>&5 14132 $RM conftest* 14133 # SGI C++ compiler will create directory out/ii_files/ for 14134 # template instantiation 14135 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14136 $RM out/* && rmdir out 14137 cd .. 14138 $RM -r conftest 14139 $RM conftest* 14140 14141fi 14142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14143$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14144 14145 14146 14147 14148hard_links="nottested" 14149if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 14150 # do not overwrite the value of need_locks provided by the user 14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 14152$as_echo_n "checking if we can lock with hard links... " >&6; } 14153 hard_links=yes 14154 $RM conftest* 14155 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14156 touch conftest.a 14157 ln conftest.a conftest.b 2>&5 || hard_links=no 14158 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14160$as_echo "$hard_links" >&6; } 14161 if test "$hard_links" = no; then 14162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 14163$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 14164 need_locks=warn 14165 fi 14166else 14167 need_locks=no 14168fi 14169 14170 14171 14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14173$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14174 14175 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14176 case $host_os in 14177 aix[4-9]*) 14178 # If we're using GNU nm, then we don't want the "-C" option. 14179 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14180 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14181 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 14182 else 14183 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 14184 fi 14185 ;; 14186 pw32*) 14187 export_symbols_cmds_CXX="$ltdll_cmds" 14188 ;; 14189 cygwin* | mingw* | cegcc*) 14190 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 14191 ;; 14192 *) 14193 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14194 ;; 14195 esac 14196 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14197 14198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14199$as_echo "$ld_shlibs_CXX" >&6; } 14200test "$ld_shlibs_CXX" = no && can_build_shared=no 14201 14202with_gnu_ld_CXX=$with_gnu_ld 14203 14204 14205 14206 14207 14208 14209# 14210# Do we need to explicitly link libc? 14211# 14212case "x$archive_cmds_need_lc_CXX" in 14213x|xyes) 14214 # Assume -lc should be added 14215 archive_cmds_need_lc_CXX=yes 14216 14217 if test "$enable_shared" = yes && test "$GCC" = yes; then 14218 case $archive_cmds_CXX in 14219 *'~'*) 14220 # FIXME: we may have to deal with multi-command sequences. 14221 ;; 14222 '$CC '*) 14223 # Test whether the compiler implicitly links with -lc since on some 14224 # systems, -lgcc has to come before -lc. If gcc already passes -lc 14225 # to ld, don't add -lc before -lgcc. 14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 14227$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 14228 $RM conftest* 14229 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14230 14231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14232 (eval $ac_compile) 2>&5 14233 ac_status=$? 14234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14235 test $ac_status = 0; } 2>conftest.err; then 14236 soname=conftest 14237 lib=conftest 14238 libobjs=conftest.$ac_objext 14239 deplibs= 14240 wl=$lt_prog_compiler_wl_CXX 14241 pic_flag=$lt_prog_compiler_pic_CXX 14242 compiler_flags=-v 14243 linker_flags=-v 14244 verstring= 14245 output_objdir=. 14246 libname=conftest 14247 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 14248 allow_undefined_flag_CXX= 14249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 14250 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 14251 ac_status=$? 14252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14253 test $ac_status = 0; } 14254 then 14255 archive_cmds_need_lc_CXX=no 14256 else 14257 archive_cmds_need_lc_CXX=yes 14258 fi 14259 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 14260 else 14261 cat conftest.err 1>&5 14262 fi 14263 $RM conftest* 14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 14265$as_echo "$archive_cmds_need_lc_CXX" >&6; } 14266 ;; 14267 esac 14268 fi 14269 ;; 14270esac 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 14336$as_echo_n "checking dynamic linker characteristics... " >&6; } 14337 14338library_names_spec= 14339libname_spec='lib$name' 14340soname_spec= 14341shrext_cmds=".so" 14342postinstall_cmds= 14343postuninstall_cmds= 14344finish_cmds= 14345finish_eval= 14346shlibpath_var= 14347shlibpath_overrides_runpath=unknown 14348version_type=none 14349dynamic_linker="$host_os ld.so" 14350sys_lib_dlsearch_path_spec="/lib /usr/lib" 14351need_lib_prefix=unknown 14352hardcode_into_libs=no 14353 14354# when you set need_version to no, make sure it does not cause -set_version 14355# flags to be left without arguments 14356need_version=unknown 14357 14358case $host_os in 14359aix3*) 14360 version_type=linux 14361 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 14362 shlibpath_var=LIBPATH 14363 14364 # AIX 3 has no versioning support, so we append a major version to the name. 14365 soname_spec='${libname}${release}${shared_ext}$major' 14366 ;; 14367 14368aix[4-9]*) 14369 version_type=linux 14370 need_lib_prefix=no 14371 need_version=no 14372 hardcode_into_libs=yes 14373 if test "$host_cpu" = ia64; then 14374 # AIX 5 supports IA64 14375 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 14376 shlibpath_var=LD_LIBRARY_PATH 14377 else 14378 # With GCC up to 2.95.x, collect2 would create an import file 14379 # for dependence libraries. The import file would start with 14380 # the line `#! .'. This would cause the generated library to 14381 # depend on `.', always an invalid library. This was fixed in 14382 # development snapshots of GCC prior to 3.0. 14383 case $host_os in 14384 aix4 | aix4.[01] | aix4.[01].*) 14385 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 14386 echo ' yes ' 14387 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 14388 : 14389 else 14390 can_build_shared=no 14391 fi 14392 ;; 14393 esac 14394 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 14395 # soname into executable. Probably we can add versioning support to 14396 # collect2, so additional links can be useful in future. 14397 if test "$aix_use_runtimelinking" = yes; then 14398 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 14399 # instead of lib<name>.a to let people know that these are not 14400 # typical AIX shared libraries. 14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14402 else 14403 # We preserve .a as extension for shared libraries through AIX4.2 14404 # and later when we are not doing run time linking. 14405 library_names_spec='${libname}${release}.a $libname.a' 14406 soname_spec='${libname}${release}${shared_ext}$major' 14407 fi 14408 shlibpath_var=LIBPATH 14409 fi 14410 ;; 14411 14412amigaos*) 14413 case $host_cpu in 14414 powerpc) 14415 # Since July 2007 AmigaOS4 officially supports .so libraries. 14416 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14418 ;; 14419 m68k) 14420 library_names_spec='$libname.ixlibrary $libname.a' 14421 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14422 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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' 14423 ;; 14424 esac 14425 ;; 14426 14427beos*) 14428 library_names_spec='${libname}${shared_ext}' 14429 dynamic_linker="$host_os ld.so" 14430 shlibpath_var=LIBRARY_PATH 14431 ;; 14432 14433bsdi[45]*) 14434 version_type=linux 14435 need_version=no 14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14437 soname_spec='${libname}${release}${shared_ext}$major' 14438 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 14439 shlibpath_var=LD_LIBRARY_PATH 14440 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 14441 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 14442 # the default ld.so.conf also contains /usr/contrib/lib and 14443 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 14444 # libtool to hard-code these into programs 14445 ;; 14446 14447cygwin* | mingw* | pw32* | cegcc*) 14448 version_type=windows 14449 shrext_cmds=".dll" 14450 need_version=no 14451 need_lib_prefix=no 14452 14453 case $GCC,$host_os in 14454 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 14455 library_names_spec='$libname.dll.a' 14456 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14457 postinstall_cmds='base_file=`basename \${file}`~ 14458 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 14459 dldir=$destdir/`dirname \$dlpath`~ 14460 test -d \$dldir || mkdir -p \$dldir~ 14461 $install_prog $dir/$dlname \$dldir/$dlname~ 14462 chmod a+x \$dldir/$dlname~ 14463 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 14464 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 14465 fi' 14466 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14467 dlpath=$dir/\$dldll~ 14468 $RM \$dlpath' 14469 shlibpath_overrides_runpath=yes 14470 14471 case $host_os in 14472 cygwin*) 14473 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14474 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14475 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 14476 ;; 14477 mingw* | cegcc*) 14478 # MinGW DLLs use traditional 'lib' prefix 14479 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14480 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 14481 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 14482 # It is most probably a Windows format PATH printed by 14483 # mingw gcc, but we are running on Cygwin. Gcc prints its search 14484 # path with ; separators, and with drive letters. We can handle the 14485 # drive letters (cygwin fileutils understands them), so leave them, 14486 # especially as we might pass files found there to a mingw objdump, 14487 # which wouldn't understand a cygwinified path. Ahh. 14488 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 14489 else 14490 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 14491 fi 14492 ;; 14493 pw32*) 14494 # pw32 DLLs use 'pw' prefix rather than 'lib' 14495 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14496 ;; 14497 esac 14498 ;; 14499 14500 *) 14501 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 14502 ;; 14503 esac 14504 dynamic_linker='Win32 ld.exe' 14505 # FIXME: first we should search . and the directory the executable is in 14506 shlibpath_var=PATH 14507 ;; 14508 14509darwin* | rhapsody*) 14510 dynamic_linker="$host_os dyld" 14511 version_type=darwin 14512 need_lib_prefix=no 14513 need_version=no 14514 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 14515 soname_spec='${libname}${release}${major}$shared_ext' 14516 shlibpath_overrides_runpath=yes 14517 shlibpath_var=DYLD_LIBRARY_PATH 14518 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 14519 14520 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 14521 ;; 14522 14523dgux*) 14524 version_type=linux 14525 need_lib_prefix=no 14526 need_version=no 14527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 14528 soname_spec='${libname}${release}${shared_ext}$major' 14529 shlibpath_var=LD_LIBRARY_PATH 14530 ;; 14531 14532freebsd1*) 14533 dynamic_linker=no 14534 ;; 14535 14536freebsd* | dragonfly*) 14537 # DragonFly does not have aout. When/if they implement a new 14538 # versioning mechanism, adjust this. 14539 if test -x /usr/bin/objformat; then 14540 objformat=`/usr/bin/objformat` 14541 else 14542 case $host_os in 14543 freebsd[123]*) objformat=aout ;; 14544 *) objformat=elf ;; 14545 esac 14546 fi 14547 version_type=freebsd-$objformat 14548 case $version_type in 14549 freebsd-elf*) 14550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 14551 need_version=no 14552 need_lib_prefix=no 14553 ;; 14554 freebsd-*) 14555 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 14556 need_version=yes 14557 ;; 14558 esac 14559 shlibpath_var=LD_LIBRARY_PATH 14560 case $host_os in 14561 freebsd2*) 14562 shlibpath_overrides_runpath=yes 14563 ;; 14564 freebsd3.[01]* | freebsdelf3.[01]*) 14565 shlibpath_overrides_runpath=yes 14566 hardcode_into_libs=yes 14567 ;; 14568 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 14569 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 14570 shlibpath_overrides_runpath=no 14571 hardcode_into_libs=yes 14572 ;; 14573 *) # from 4.6 on, and DragonFly 14574 shlibpath_overrides_runpath=yes 14575 hardcode_into_libs=yes 14576 ;; 14577 esac 14578 ;; 14579 14580gnu*) 14581 version_type=linux 14582 need_lib_prefix=no 14583 need_version=no 14584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 14585 soname_spec='${libname}${release}${shared_ext}$major' 14586 shlibpath_var=LD_LIBRARY_PATH 14587 hardcode_into_libs=yes 14588 ;; 14589 14590hpux9* | hpux10* | hpux11*) 14591 # Give a soname corresponding to the major version so that dld.sl refuses to 14592 # link against other versions. 14593 version_type=sunos 14594 need_lib_prefix=no 14595 need_version=no 14596 case $host_cpu in 14597 ia64*) 14598 shrext_cmds='.so' 14599 hardcode_into_libs=yes 14600 dynamic_linker="$host_os dld.so" 14601 shlibpath_var=LD_LIBRARY_PATH 14602 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14604 soname_spec='${libname}${release}${shared_ext}$major' 14605 if test "X$HPUX_IA64_MODE" = X32; then 14606 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 14607 else 14608 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 14609 fi 14610 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14611 ;; 14612 hppa*64*) 14613 shrext_cmds='.sl' 14614 hardcode_into_libs=yes 14615 dynamic_linker="$host_os dld.sl" 14616 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 14617 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14619 soname_spec='${libname}${release}${shared_ext}$major' 14620 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 14621 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14622 ;; 14623 *) 14624 shrext_cmds='.sl' 14625 dynamic_linker="$host_os dld.sl" 14626 shlibpath_var=SHLIB_PATH 14627 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 14628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14629 soname_spec='${libname}${release}${shared_ext}$major' 14630 ;; 14631 esac 14632 # HP-UX runs *really* slowly unless shared libraries are mode 555. 14633 postinstall_cmds='chmod 555 $lib' 14634 ;; 14635 14636interix[3-9]*) 14637 version_type=linux 14638 need_lib_prefix=no 14639 need_version=no 14640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14641 soname_spec='${libname}${release}${shared_ext}$major' 14642 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 14643 shlibpath_var=LD_LIBRARY_PATH 14644 shlibpath_overrides_runpath=no 14645 hardcode_into_libs=yes 14646 ;; 14647 14648irix5* | irix6* | nonstopux*) 14649 case $host_os in 14650 nonstopux*) version_type=nonstopux ;; 14651 *) 14652 if test "$lt_cv_prog_gnu_ld" = yes; then 14653 version_type=linux 14654 else 14655 version_type=irix 14656 fi ;; 14657 esac 14658 need_lib_prefix=no 14659 need_version=no 14660 soname_spec='${libname}${release}${shared_ext}$major' 14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 14662 case $host_os in 14663 irix5* | nonstopux*) 14664 libsuff= shlibsuff= 14665 ;; 14666 *) 14667 case $LD in # libtool.m4 will add one of these switches to LD 14668 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 14669 libsuff= shlibsuff= libmagic=32-bit;; 14670 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 14671 libsuff=32 shlibsuff=N32 libmagic=N32;; 14672 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 14673 libsuff=64 shlibsuff=64 libmagic=64-bit;; 14674 *) libsuff= shlibsuff= libmagic=never-match;; 14675 esac 14676 ;; 14677 esac 14678 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 14679 shlibpath_overrides_runpath=no 14680 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 14681 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 14682 hardcode_into_libs=yes 14683 ;; 14684 14685# No shared lib support for Linux oldld, aout, or coff. 14686linux*oldld* | linux*aout* | linux*coff*) 14687 dynamic_linker=no 14688 ;; 14689 14690# This must be Linux ELF. 14691linux* | k*bsd*-gnu) 14692 version_type=linux 14693 need_lib_prefix=no 14694 need_version=no 14695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14696 soname_spec='${libname}${release}${shared_ext}$major' 14697 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 14698 shlibpath_var=LD_LIBRARY_PATH 14699 shlibpath_overrides_runpath=no 14700 # Some binutils ld are patched to set DT_RUNPATH 14701 save_LDFLAGS=$LDFLAGS 14702 save_libdir=$libdir 14703 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 14704 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14706/* end confdefs.h. */ 14707 14708int 14709main () 14710{ 14711 14712 ; 14713 return 0; 14714} 14715_ACEOF 14716if ac_fn_cxx_try_link "$LINENO"; then : 14717 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 14718 shlibpath_overrides_runpath=yes 14719fi 14720fi 14721rm -f core conftest.err conftest.$ac_objext \ 14722 conftest$ac_exeext conftest.$ac_ext 14723 LDFLAGS=$save_LDFLAGS 14724 libdir=$save_libdir 14725 14726 # This implies no fast_install, which is unacceptable. 14727 # Some rework will be needed to allow for fast_install 14728 # before this can be enabled. 14729 hardcode_into_libs=yes 14730 14731 # Add ABI-specific directories to the system library path. 14732 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 14733 14734 # Append ld.so.conf contents to the search path 14735 if test -f /etc/ld.so.conf; then 14736 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;/^$/d' | tr '\n' ' '` 14737 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 14738 fi 14739 14740 # We used to test for /lib/ld.so.1 and disable shared libraries on 14741 # powerpc, because MkLinux only supported shared libraries with the 14742 # GNU dynamic linker. Since this was broken with cross compilers, 14743 # most powerpc-linux boxes support dynamic linking these days and 14744 # people can always --disable-shared, the test was removed, and we 14745 # assume the GNU/Linux dynamic linker is in use. 14746 dynamic_linker='GNU/Linux ld.so' 14747 ;; 14748 14749netbsd*) 14750 version_type=sunos 14751 need_lib_prefix=no 14752 need_version=no 14753 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14755 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14756 dynamic_linker='NetBSD (a.out) ld.so' 14757 else 14758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14759 soname_spec='${libname}${release}${shared_ext}$major' 14760 dynamic_linker='NetBSD ld.elf_so' 14761 fi 14762 shlibpath_var=LD_LIBRARY_PATH 14763 shlibpath_overrides_runpath=yes 14764 hardcode_into_libs=yes 14765 ;; 14766 14767newsos6) 14768 version_type=linux 14769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14770 shlibpath_var=LD_LIBRARY_PATH 14771 shlibpath_overrides_runpath=yes 14772 ;; 14773 14774*nto* | *qnx*) 14775 version_type=qnx 14776 need_lib_prefix=no 14777 need_version=no 14778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14779 soname_spec='${libname}${release}${shared_ext}$major' 14780 shlibpath_var=LD_LIBRARY_PATH 14781 shlibpath_overrides_runpath=no 14782 hardcode_into_libs=yes 14783 dynamic_linker='ldqnx.so' 14784 ;; 14785 14786openbsd*) 14787 version_type=sunos 14788 sys_lib_dlsearch_path_spec="/usr/lib" 14789 need_lib_prefix=no 14790 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 14791 case $host_os in 14792 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 14793 *) need_version=no ;; 14794 esac 14795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14796 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14797 shlibpath_var=LD_LIBRARY_PATH 14798 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14799 case $host_os in 14800 openbsd2.[89] | openbsd2.[89].*) 14801 shlibpath_overrides_runpath=no 14802 ;; 14803 *) 14804 shlibpath_overrides_runpath=yes 14805 ;; 14806 esac 14807 else 14808 shlibpath_overrides_runpath=yes 14809 fi 14810 ;; 14811 14812os2*) 14813 libname_spec='$name' 14814 shrext_cmds=".dll" 14815 need_lib_prefix=no 14816 library_names_spec='$libname${shared_ext} $libname.a' 14817 dynamic_linker='OS/2 ld.exe' 14818 shlibpath_var=LIBPATH 14819 ;; 14820 14821osf3* | osf4* | osf5*) 14822 version_type=osf 14823 need_lib_prefix=no 14824 need_version=no 14825 soname_spec='${libname}${release}${shared_ext}$major' 14826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14827 shlibpath_var=LD_LIBRARY_PATH 14828 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 14829 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 14830 ;; 14831 14832rdos*) 14833 dynamic_linker=no 14834 ;; 14835 14836solaris*) 14837 version_type=linux 14838 need_lib_prefix=no 14839 need_version=no 14840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14841 soname_spec='${libname}${release}${shared_ext}$major' 14842 shlibpath_var=LD_LIBRARY_PATH 14843 shlibpath_overrides_runpath=yes 14844 hardcode_into_libs=yes 14845 # ldd complains unless libraries are executable 14846 postinstall_cmds='chmod +x $lib' 14847 ;; 14848 14849sunos4*) 14850 version_type=sunos 14851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14852 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 14853 shlibpath_var=LD_LIBRARY_PATH 14854 shlibpath_overrides_runpath=yes 14855 if test "$with_gnu_ld" = yes; then 14856 need_lib_prefix=no 14857 fi 14858 need_version=yes 14859 ;; 14860 14861sysv4 | sysv4.3*) 14862 version_type=linux 14863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14864 soname_spec='${libname}${release}${shared_ext}$major' 14865 shlibpath_var=LD_LIBRARY_PATH 14866 case $host_vendor in 14867 sni) 14868 shlibpath_overrides_runpath=no 14869 need_lib_prefix=no 14870 runpath_var=LD_RUN_PATH 14871 ;; 14872 siemens) 14873 need_lib_prefix=no 14874 ;; 14875 motorola) 14876 need_lib_prefix=no 14877 need_version=no 14878 shlibpath_overrides_runpath=no 14879 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 14880 ;; 14881 esac 14882 ;; 14883 14884sysv4*MP*) 14885 if test -d /usr/nec ;then 14886 version_type=linux 14887 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 14888 soname_spec='$libname${shared_ext}.$major' 14889 shlibpath_var=LD_LIBRARY_PATH 14890 fi 14891 ;; 14892 14893sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 14894 version_type=freebsd-elf 14895 need_lib_prefix=no 14896 need_version=no 14897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 14898 soname_spec='${libname}${release}${shared_ext}$major' 14899 shlibpath_var=LD_LIBRARY_PATH 14900 shlibpath_overrides_runpath=yes 14901 hardcode_into_libs=yes 14902 if test "$with_gnu_ld" = yes; then 14903 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 14904 else 14905 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 14906 case $host_os in 14907 sco3.2v5*) 14908 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 14909 ;; 14910 esac 14911 fi 14912 sys_lib_dlsearch_path_spec='/usr/lib' 14913 ;; 14914 14915tpf*) 14916 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 14917 version_type=linux 14918 need_lib_prefix=no 14919 need_version=no 14920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14921 shlibpath_var=LD_LIBRARY_PATH 14922 shlibpath_overrides_runpath=no 14923 hardcode_into_libs=yes 14924 ;; 14925 14926uts4*) 14927 version_type=linux 14928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14929 soname_spec='${libname}${release}${shared_ext}$major' 14930 shlibpath_var=LD_LIBRARY_PATH 14931 ;; 14932 14933*) 14934 dynamic_linker=no 14935 ;; 14936esac 14937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 14938$as_echo "$dynamic_linker" >&6; } 14939test "$dynamic_linker" = no && can_build_shared=no 14940 14941variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 14942if test "$GCC" = yes; then 14943 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 14944fi 14945 14946if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 14947 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 14948fi 14949if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 14950 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 14951fi 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 14989$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 14990hardcode_action_CXX= 14991if test -n "$hardcode_libdir_flag_spec_CXX" || 14992 test -n "$runpath_var_CXX" || 14993 test "X$hardcode_automatic_CXX" = "Xyes" ; then 14994 14995 # We can hardcode non-existent directories. 14996 if test "$hardcode_direct_CXX" != no && 14997 # If the only mechanism to avoid hardcoding is shlibpath_var, we 14998 # have to relink, otherwise we might link with an installed library 14999 # when we should be linking with a yet-to-be-installed one 15000 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 15001 test "$hardcode_minus_L_CXX" != no; then 15002 # Linking always hardcodes the temporary library directory. 15003 hardcode_action_CXX=relink 15004 else 15005 # We can link without hardcoding, and we can hardcode nonexisting dirs. 15006 hardcode_action_CXX=immediate 15007 fi 15008else 15009 # We cannot hardcode anything, or else we can only hardcode existing 15010 # directories. 15011 hardcode_action_CXX=unsupported 15012fi 15013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 15014$as_echo "$hardcode_action_CXX" >&6; } 15015 15016if test "$hardcode_action_CXX" = relink || 15017 test "$inherit_rpath_CXX" = yes; then 15018 # Fast installation is not supported 15019 enable_fast_install=no 15020elif test "$shlibpath_overrides_runpath" = yes || 15021 test "$enable_shared" = no; then 15022 # Fast installation is not necessary 15023 enable_fast_install=needless 15024fi 15025 15026 15027 15028 15029 15030 15031 15032 fi # test -n "$compiler" 15033 15034 CC=$lt_save_CC 15035 LDCXX=$LD 15036 LD=$lt_save_LD 15037 GCC=$lt_save_GCC 15038 with_gnu_ld=$lt_save_with_gnu_ld 15039 lt_cv_path_LDCXX=$lt_cv_path_LD 15040 lt_cv_path_LD=$lt_save_path_LD 15041 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 15042 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 15043fi # test "$_lt_caught_CXX_error" != yes 15044 15045ac_ext=c 15046ac_cpp='$CPP $CPPFLAGS' 15047ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15048ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15049ac_compiler_gnu=$ac_cv_c_compiler_gnu 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 ac_config_commands="$ac_config_commands libtool" 15064 15065 15066 15067 15068# Only expand once: 15069 15070 15071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 15072$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 15073set x ${MAKE-make} 15074ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 15075if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 15076 $as_echo_n "(cached) " >&6 15077else 15078 cat >conftest.make <<\_ACEOF 15079SHELL = /bin/sh 15080all: 15081 @echo '@@@%%%=$(MAKE)=@@@%%%' 15082_ACEOF 15083# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 15084case `${MAKE-make} -f conftest.make 2>/dev/null` in 15085 *@@@%%%=?*=@@@%%%*) 15086 eval ac_cv_prog_make_${ac_make}_set=yes;; 15087 *) 15088 eval ac_cv_prog_make_${ac_make}_set=no;; 15089esac 15090rm -f conftest.make 15091fi 15092if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15094$as_echo "yes" >&6; } 15095 SET_MAKE= 15096else 15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15098$as_echo "no" >&6; } 15099 SET_MAKE="MAKE=${MAKE-make}" 15100fi 15101 15102 15103# Set default language to C++ 15104ac_ext=cpp 15105ac_cpp='$CXXCPP $CPPFLAGS' 15106ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15109 15110 15111 15112# Check whether --with-log was given. 15113if test "${with_log+set}" = set; then : 15114 withval=$with_log; 15115$as_echo "#define LOGGING /**/" >>confdefs.h 15116 15117 15118fi 15119 15120 15121# Provide --with-docdir 15122 15123# Check whether --with-docdir was given. 15124if test "${with_docdir+set}" = set; then : 15125 withval=$with_docdir; DOC_DIR="$withval" 15126else 15127 DOC_DIR="" 15128fi 15129 15130if test "x$DOC_DIR" != x; then 15131 docdir="$DOC_DIR" 15132else 15133 docdir="${datadir}/doc/$PACKAGE-$VERSION" 15134fi 15135 15136 15137# Checks for typedefs, structures, and compiler characteristics. 15138ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 15139if test "x$ac_cv_type_size_t" = x""yes; then : 15140 15141else 15142 15143cat >>confdefs.h <<_ACEOF 15144#define size_t unsigned int 15145_ACEOF 15146 15147fi 15148 15149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 15150$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 15151if test "${ac_cv_struct_tm+set}" = set; then : 15152 $as_echo_n "(cached) " >&6 15153else 15154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15155/* end confdefs.h. */ 15156#include <sys/types.h> 15157#include <time.h> 15158 15159int 15160main () 15161{ 15162struct tm tm; 15163 int *p = &tm.tm_sec; 15164 return !p; 15165 ; 15166 return 0; 15167} 15168_ACEOF 15169if ac_fn_cxx_try_compile "$LINENO"; then : 15170 ac_cv_struct_tm=time.h 15171else 15172 ac_cv_struct_tm=sys/time.h 15173fi 15174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15175fi 15176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 15177$as_echo "$ac_cv_struct_tm" >&6; } 15178if test $ac_cv_struct_tm = sys/time.h; then 15179 15180$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 15181 15182fi 15183 15184#AC_C_CONST 15185#AC_C_INLINE 15186 15187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5 15188$as_echo_n "checking if malloc debugging is wanted... " >&6; } 15189 15190# Check whether --with-dmalloc was given. 15191if test "${with_dmalloc+set}" = set; then : 15192 withval=$with_dmalloc; if test "$withval" = yes; then 15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15194$as_echo "yes" >&6; } 15195 15196$as_echo "#define WITH_DMALLOC 1" >>confdefs.h 15197 15198 LIBS="$LIBS -ldmalloc" 15199 LDFLAGS="$LDFLAGS -g" 15200else 15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15202$as_echo "no" >&6; } 15203fi 15204else 15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15206$as_echo "no" >&6; } 15207fi 15208 15209 15210 15211# Checks for header files 15212 15213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 15214$as_echo_n "checking for ANSI C header files... " >&6; } 15215if test "${ac_cv_header_stdc+set}" = set; then : 15216 $as_echo_n "(cached) " >&6 15217else 15218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15219/* end confdefs.h. */ 15220#include <stdlib.h> 15221#include <stdarg.h> 15222#include <string.h> 15223#include <float.h> 15224 15225int 15226main () 15227{ 15228 15229 ; 15230 return 0; 15231} 15232_ACEOF 15233if ac_fn_cxx_try_compile "$LINENO"; then : 15234 ac_cv_header_stdc=yes 15235else 15236 ac_cv_header_stdc=no 15237fi 15238rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15239 15240if test $ac_cv_header_stdc = yes; then 15241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15243/* end confdefs.h. */ 15244#include <string.h> 15245 15246_ACEOF 15247if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15248 $EGREP "memchr" >/dev/null 2>&1; then : 15249 15250else 15251 ac_cv_header_stdc=no 15252fi 15253rm -f conftest* 15254 15255fi 15256 15257if test $ac_cv_header_stdc = yes; then 15258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15260/* end confdefs.h. */ 15261#include <stdlib.h> 15262 15263_ACEOF 15264if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15265 $EGREP "free" >/dev/null 2>&1; then : 15266 15267else 15268 ac_cv_header_stdc=no 15269fi 15270rm -f conftest* 15271 15272fi 15273 15274if test $ac_cv_header_stdc = yes; then 15275 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 15276 if test "$cross_compiling" = yes; then : 15277 : 15278else 15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15280/* end confdefs.h. */ 15281#include <ctype.h> 15282#include <stdlib.h> 15283#if ((' ' & 0x0FF) == 0x020) 15284# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 15285# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 15286#else 15287# define ISLOWER(c) \ 15288 (('a' <= (c) && (c) <= 'i') \ 15289 || ('j' <= (c) && (c) <= 'r') \ 15290 || ('s' <= (c) && (c) <= 'z')) 15291# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 15292#endif 15293 15294#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 15295int 15296main () 15297{ 15298 int i; 15299 for (i = 0; i < 256; i++) 15300 if (XOR (islower (i), ISLOWER (i)) 15301 || toupper (i) != TOUPPER (i)) 15302 return 2; 15303 return 0; 15304} 15305_ACEOF 15306if ac_fn_cxx_try_run "$LINENO"; then : 15307 15308else 15309 ac_cv_header_stdc=no 15310fi 15311rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15312 conftest.$ac_objext conftest.beam conftest.$ac_ext 15313fi 15314 15315fi 15316fi 15317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 15318$as_echo "$ac_cv_header_stdc" >&6; } 15319if test $ac_cv_header_stdc = yes; then 15320 15321$as_echo "#define STDC_HEADERS 1" >>confdefs.h 15322 15323fi 15324 15325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 15326$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 15327if test "${ac_cv_header_time+set}" = set; then : 15328 $as_echo_n "(cached) " >&6 15329else 15330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15331/* end confdefs.h. */ 15332#include <sys/types.h> 15333#include <sys/time.h> 15334#include <time.h> 15335 15336int 15337main () 15338{ 15339if ((struct tm *) 0) 15340return 0; 15341 ; 15342 return 0; 15343} 15344_ACEOF 15345if ac_fn_cxx_try_compile "$LINENO"; then : 15346 ac_cv_header_time=yes 15347else 15348 ac_cv_header_time=no 15349fi 15350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15351fi 15352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 15353$as_echo "$ac_cv_header_time" >&6; } 15354if test $ac_cv_header_time = yes; then 15355 15356$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 15357 15358fi 15359 15360for ac_header in fstream \ 15361 iostream \ 15362 list \ 15363 vector \ 15364 string 15365do : 15366 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 15367ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 15368eval as_val=\$$as_ac_Header 15369 if test "x$as_val" = x""yes; then : 15370 cat >>confdefs.h <<_ACEOF 15371#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15372_ACEOF 15373 15374fi 15375 15376done 15377 15378 15379# Default compilation flags 15380if test -z "${CFLAGS}"; then 15381 CFLAGS="-g -Wall" 15382fi 15383 15384if test -z "${CXXFLAGS}"; then 15385 CXXFLAGS="-g -Wall" 15386fi 15387 15388for ac_header in getopt.h 15389do : 15390 ac_fn_cxx_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 15391if test "x$ac_cv_header_getopt_h" = x""yes; then : 15392 cat >>confdefs.h <<_ACEOF 15393#define HAVE_GETOPT_H 1 15394_ACEOF 15395 15396else 15397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: getopt.h missing" >&5 15398$as_echo "$as_me: WARNING: getopt.h missing" >&2;} 15399fi 15400 15401done 15402 15403for ac_func in getopt_long 15404do : 15405 ac_fn_cxx_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" 15406if test "x$ac_cv_func_getopt_long" = x""yes; then : 15407 cat >>confdefs.h <<_ACEOF 15408#define HAVE_GETOPT_LONG 1 15409_ACEOF 15410 15411$as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h 15412 15413else 15414 # FreeBSD has a gnugetopt library for this: 15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long in -lgnugetopt" >&5 15416$as_echo_n "checking for getopt_long in -lgnugetopt... " >&6; } 15417if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then : 15418 $as_echo_n "(cached) " >&6 15419else 15420 ac_check_lib_save_LIBS=$LIBS 15421LIBS="-lgnugetopt $LIBS" 15422cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15423/* end confdefs.h. */ 15424 15425/* Override any GCC internal prototype to avoid an error. 15426 Use char because int might match the return type of a GCC 15427 builtin and then its argument prototype would still apply. */ 15428#ifdef __cplusplus 15429extern "C" 15430#endif 15431char getopt_long (); 15432int 15433main () 15434{ 15435return getopt_long (); 15436 ; 15437 return 0; 15438} 15439_ACEOF 15440if ac_fn_cxx_try_link "$LINENO"; then : 15441 ac_cv_lib_gnugetopt_getopt_long=yes 15442else 15443 ac_cv_lib_gnugetopt_getopt_long=no 15444fi 15445rm -f core conftest.err conftest.$ac_objext \ 15446 conftest$ac_exeext conftest.$ac_ext 15447LIBS=$ac_check_lib_save_LIBS 15448fi 15449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 15450$as_echo "$ac_cv_lib_gnugetopt_getopt_long" >&6; } 15451if test "x$ac_cv_lib_gnugetopt_getopt_long" = x""yes; then : 15452 15453$as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h 15454 15455 LDFLAGS="$LDFLAGS -lgnugetopt" 15456 15457fi 15458 15459 15460fi 15461done 15462 15463 15464ac_ext=c 15465ac_cpp='$CPP $CPPFLAGS' 15466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15468ac_compiler_gnu=$ac_cv_c_compiler_gnu 15469 15470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_easy_init in -lcurl" >&5 15471$as_echo_n "checking for curl_easy_init in -lcurl... " >&6; } 15472if test "${ac_cv_lib_curl_curl_easy_init+set}" = set; then : 15473 $as_echo_n "(cached) " >&6 15474else 15475 ac_check_lib_save_LIBS=$LIBS 15476LIBS="-lcurl $LIBS" 15477cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15478/* end confdefs.h. */ 15479 15480/* Override any GCC internal prototype to avoid an error. 15481 Use char because int might match the return type of a GCC 15482 builtin and then its argument prototype would still apply. */ 15483#ifdef __cplusplus 15484extern "C" 15485#endif 15486char curl_easy_init (); 15487int 15488main () 15489{ 15490return curl_easy_init (); 15491 ; 15492 return 0; 15493} 15494_ACEOF 15495if ac_fn_c_try_link "$LINENO"; then : 15496 ac_cv_lib_curl_curl_easy_init=yes 15497else 15498 ac_cv_lib_curl_curl_easy_init=no 15499fi 15500rm -f core conftest.err conftest.$ac_objext \ 15501 conftest$ac_exeext conftest.$ac_ext 15502LIBS=$ac_check_lib_save_LIBS 15503fi 15504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_easy_init" >&5 15505$as_echo "$ac_cv_lib_curl_curl_easy_init" >&6; } 15506if test "x$ac_cv_lib_curl_curl_easy_init" = x""yes; then : 15507 15508$as_echo "#define WITH_CURL 1" >>confdefs.h 15509 LIBS="-lcurl $LIBS" 15510else 15511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: curl is needed for HTTP GET/POST" >&5 15512$as_echo "$as_me: WARNING: curl is needed for HTTP GET/POST" >&2;} 15513fi 15514 15515ac_ext=cpp 15516ac_cpp='$CXXCPP $CPPFLAGS' 15517ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15518ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15519ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15520 15521 15522 15523 15524 15525 # Check whether --enable-examples was given. 15526if test "${enable_examples+set}" = set; then : 15527 enableval=$enable_examples; build_examples="yes" 15528fi 15529 15530 15531 15532 if test "$build_examples" = yes; then 15533 EXAMPLES_TRUE= 15534 EXAMPLES_FALSE='#' 15535else 15536 EXAMPLES_TRUE='#' 15537 EXAMPLES_FALSE= 15538fi 15539 15540 15541ac_config_files="$ac_config_files Makefile docs/Makefile man/Makefile win32/Makefile win32/curl/Makefile win32/vs2005/Makefile win32/vs2008/Makefile src/Makefile src/xmlpull/Makefile src/schemaparser/Makefile src/wsdlparser/Makefile src/tools/Makefile examples/Makefile examples/print/Makefile examples/xml/Makefile examples/stocks/Makefile src/schemas/Makefile tests/Makefile tests/schema/Makefile tests/wsdl/Makefile" 15542 15543cat >confcache <<\_ACEOF 15544# This file is a shell script that caches the results of configure 15545# tests run on this system so they can be shared between configure 15546# scripts and configure runs, see configure's option --config-cache. 15547# It is not useful on other systems. If it contains results you don't 15548# want to keep, you may remove or edit it. 15549# 15550# config.status only pays attention to the cache file if you give it 15551# the --recheck option to rerun configure. 15552# 15553# `ac_cv_env_foo' variables (set or unset) will be overridden when 15554# loading this file, other *unset* `ac_cv_foo' will be assigned the 15555# following values. 15556 15557_ACEOF 15558 15559# The following way of writing the cache mishandles newlines in values, 15560# but we know of no workaround that is simple, portable, and efficient. 15561# So, we kill variables containing newlines. 15562# Ultrix sh set writes to stderr and can't be redirected directly, 15563# and sets the high bit in the cache file unless we assign to the vars. 15564( 15565 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 15566 eval ac_val=\$$ac_var 15567 case $ac_val in #( 15568 *${as_nl}*) 15569 case $ac_var in #( 15570 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 15571$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15572 esac 15573 case $ac_var in #( 15574 _ | IFS | as_nl) ;; #( 15575 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 15576 *) { eval $ac_var=; unset $ac_var;} ;; 15577 esac ;; 15578 esac 15579 done 15580 15581 (set) 2>&1 | 15582 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15583 *${as_nl}ac_space=\ *) 15584 # `set' does not quote correctly, so add quotes: double-quote 15585 # substitution turns \\\\ into \\, and sed turns \\ into \. 15586 sed -n \ 15587 "s/'/'\\\\''/g; 15588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 15589 ;; #( 15590 *) 15591 # `set' quotes correctly as required by POSIX, so do not add quotes. 15592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15593 ;; 15594 esac | 15595 sort 15596) | 15597 sed ' 15598 /^ac_cv_env_/b end 15599 t clear 15600 :clear 15601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 15602 t end 15603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15604 :end' >>confcache 15605if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15606 if test -w "$cache_file"; then 15607 test "x$cache_file" != "x/dev/null" && 15608 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15609$as_echo "$as_me: updating cache $cache_file" >&6;} 15610 cat confcache >$cache_file 15611 else 15612 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15613$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15614 fi 15615fi 15616rm -f confcache 15617 15618test "x$prefix" = xNONE && prefix=$ac_default_prefix 15619# Let make expand exec_prefix. 15620test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 15621 15622DEFS=-DHAVE_CONFIG_H 15623 15624ac_libobjs= 15625ac_ltlibobjs= 15626for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15627 # 1. Remove the extension, and $U if already installed. 15628 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15629 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15630 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15631 # will be set to the directory where LIBOBJS objects are built. 15632 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15633 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15634done 15635LIBOBJS=$ac_libobjs 15636 15637LTLIBOBJS=$ac_ltlibobjs 15638 15639 15640 if test -n "$EXEEXT"; then 15641 am__EXEEXT_TRUE= 15642 am__EXEEXT_FALSE='#' 15643else 15644 am__EXEEXT_TRUE='#' 15645 am__EXEEXT_FALSE= 15646fi 15647 15648if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 15649 as_fn_error "conditional \"AMDEP\" was never defined. 15650Usually this means the macro was only invoked conditionally." "$LINENO" 5 15651fi 15652if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 15653 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 15654Usually this means the macro was only invoked conditionally." "$LINENO" 5 15655fi 15656if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 15657 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 15658Usually this means the macro was only invoked conditionally." "$LINENO" 5 15659fi 15660if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15661 as_fn_error "conditional \"am__fastdepCC\" was never defined. 15662Usually this means the macro was only invoked conditionally." "$LINENO" 5 15663fi 15664if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 15665 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 15666Usually this means the macro was only invoked conditionally." "$LINENO" 5 15667fi 15668if test -z "${EXAMPLES_TRUE}" && test -z "${EXAMPLES_FALSE}"; then 15669 as_fn_error "conditional \"EXAMPLES\" was never defined. 15670Usually this means the macro was only invoked conditionally." "$LINENO" 5 15671fi 15672 15673: ${CONFIG_STATUS=./config.status} 15674ac_write_fail=0 15675ac_clean_files_save=$ac_clean_files 15676ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15677{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15678$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15679as_write_fail=0 15680cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15681#! $SHELL 15682# Generated by $as_me. 15683# Run this file to recreate the current configuration. 15684# Compiler output produced by configure, useful for debugging 15685# configure, is in config.log if it exists. 15686 15687debug=false 15688ac_cs_recheck=false 15689ac_cs_silent=false 15690 15691SHELL=\${CONFIG_SHELL-$SHELL} 15692export SHELL 15693_ASEOF 15694cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 15695## -------------------- ## 15696## M4sh Initialization. ## 15697## -------------------- ## 15698 15699# Be more Bourne compatible 15700DUALCASE=1; export DUALCASE # for MKS sh 15701if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15702 emulate sh 15703 NULLCMD=: 15704 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15705 # is contrary to our usage. Disable this feature. 15706 alias -g '${1+"$@"}'='"$@"' 15707 setopt NO_GLOB_SUBST 15708else 15709 case `(set -o) 2>/dev/null` in #( 15710 *posix*) : 15711 set -o posix ;; #( 15712 *) : 15713 ;; 15714esac 15715fi 15716 15717 15718as_nl=' 15719' 15720export as_nl 15721# Printing a long string crashes Solaris 7 /usr/bin/printf. 15722as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15723as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15724as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15725# Prefer a ksh shell builtin over an external printf program on Solaris, 15726# but without wasting forks for bash or zsh. 15727if test -z "$BASH_VERSION$ZSH_VERSION" \ 15728 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 15729 as_echo='print -r --' 15730 as_echo_n='print -rn --' 15731elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15732 as_echo='printf %s\n' 15733 as_echo_n='printf %s' 15734else 15735 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15736 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15737 as_echo_n='/usr/ucb/echo -n' 15738 else 15739 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15740 as_echo_n_body='eval 15741 arg=$1; 15742 case $arg in #( 15743 *"$as_nl"*) 15744 expr "X$arg" : "X\\(.*\\)$as_nl"; 15745 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15746 esac; 15747 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15748 ' 15749 export as_echo_n_body 15750 as_echo_n='sh -c $as_echo_n_body as_echo' 15751 fi 15752 export as_echo_body 15753 as_echo='sh -c $as_echo_body as_echo' 15754fi 15755 15756# The user is always right. 15757if test "${PATH_SEPARATOR+set}" != set; then 15758 PATH_SEPARATOR=: 15759 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15760 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15761 PATH_SEPARATOR=';' 15762 } 15763fi 15764 15765 15766# IFS 15767# We need space, tab and new line, in precisely that order. Quoting is 15768# there to prevent editors from complaining about space-tab. 15769# (If _AS_PATH_WALK were called with IFS unset, it would disable word 15770# splitting by setting IFS to empty value.) 15771IFS=" "" $as_nl" 15772 15773# Find who we are. Look in the path if we contain no directory separator. 15774case $0 in #(( 15775 *[\\/]* ) as_myself=$0 ;; 15776 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15777for as_dir in $PATH 15778do 15779 IFS=$as_save_IFS 15780 test -z "$as_dir" && as_dir=. 15781 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15782 done 15783IFS=$as_save_IFS 15784 15785 ;; 15786esac 15787# We did not find ourselves, most probably we were run as `sh COMMAND' 15788# in which case we are not to be found in the path. 15789if test "x$as_myself" = x; then 15790 as_myself=$0 15791fi 15792if test ! -f "$as_myself"; then 15793 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15794 exit 1 15795fi 15796 15797# Unset variables that we do not need and which cause bugs (e.g. in 15798# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 15799# suppresses any "Segmentation fault" message there. '((' could 15800# trigger a bug in pdksh 5.2.14. 15801for as_var in BASH_ENV ENV MAIL MAILPATH 15802do eval test x\${$as_var+set} = xset \ 15803 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15804done 15805PS1='$ ' 15806PS2='> ' 15807PS4='+ ' 15808 15809# NLS nuisances. 15810LC_ALL=C 15811export LC_ALL 15812LANGUAGE=C 15813export LANGUAGE 15814 15815# CDPATH. 15816(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15817 15818 15819# as_fn_error ERROR [LINENO LOG_FD] 15820# --------------------------------- 15821# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15822# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15823# script with status $?, using 1 if that was 0. 15824as_fn_error () 15825{ 15826 as_status=$?; test $as_status -eq 0 && as_status=1 15827 if test "$3"; then 15828 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15829 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 15830 fi 15831 $as_echo "$as_me: error: $1" >&2 15832 as_fn_exit $as_status 15833} # as_fn_error 15834 15835 15836# as_fn_set_status STATUS 15837# ----------------------- 15838# Set $? to STATUS, without forking. 15839as_fn_set_status () 15840{ 15841 return $1 15842} # as_fn_set_status 15843 15844# as_fn_exit STATUS 15845# ----------------- 15846# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 15847as_fn_exit () 15848{ 15849 set +e 15850 as_fn_set_status $1 15851 exit $1 15852} # as_fn_exit 15853 15854# as_fn_unset VAR 15855# --------------- 15856# Portably unset VAR. 15857as_fn_unset () 15858{ 15859 { eval $1=; unset $1;} 15860} 15861as_unset=as_fn_unset 15862# as_fn_append VAR VALUE 15863# ---------------------- 15864# Append the text in VALUE to the end of the definition contained in VAR. Take 15865# advantage of any shell optimizations that allow amortized linear growth over 15866# repeated appends, instead of the typical quadratic growth present in naive 15867# implementations. 15868if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15869 eval 'as_fn_append () 15870 { 15871 eval $1+=\$2 15872 }' 15873else 15874 as_fn_append () 15875 { 15876 eval $1=\$$1\$2 15877 } 15878fi # as_fn_append 15879 15880# as_fn_arith ARG... 15881# ------------------ 15882# Perform arithmetic evaluation on the ARGs, and store the result in the 15883# global $as_val. Take advantage of shells that can avoid forks. The arguments 15884# must be portable across $(()) and expr. 15885if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15886 eval 'as_fn_arith () 15887 { 15888 as_val=$(( $* )) 15889 }' 15890else 15891 as_fn_arith () 15892 { 15893 as_val=`expr "$@" || test $? -eq 1` 15894 } 15895fi # as_fn_arith 15896 15897 15898if expr a : '\(a\)' >/dev/null 2>&1 && 15899 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15900 as_expr=expr 15901else 15902 as_expr=false 15903fi 15904 15905if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15906 as_basename=basename 15907else 15908 as_basename=false 15909fi 15910 15911if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15912 as_dirname=dirname 15913else 15914 as_dirname=false 15915fi 15916 15917as_me=`$as_basename -- "$0" || 15918$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15919 X"$0" : 'X\(//\)$' \| \ 15920 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15921$as_echo X/"$0" | 15922 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15923 s//\1/ 15924 q 15925 } 15926 /^X\/\(\/\/\)$/{ 15927 s//\1/ 15928 q 15929 } 15930 /^X\/\(\/\).*/{ 15931 s//\1/ 15932 q 15933 } 15934 s/.*/./; q'` 15935 15936# Avoid depending upon Character Ranges. 15937as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15938as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15939as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15940as_cr_digits='0123456789' 15941as_cr_alnum=$as_cr_Letters$as_cr_digits 15942 15943ECHO_C= ECHO_N= ECHO_T= 15944case `echo -n x` in #((((( 15945-n*) 15946 case `echo 'xy\c'` in 15947 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15948 xy) ECHO_C='\c';; 15949 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 15950 ECHO_T=' ';; 15951 esac;; 15952*) 15953 ECHO_N='-n';; 15954esac 15955 15956rm -f conf$$ conf$$.exe conf$$.file 15957if test -d conf$$.dir; then 15958 rm -f conf$$.dir/conf$$.file 15959else 15960 rm -f conf$$.dir 15961 mkdir conf$$.dir 2>/dev/null 15962fi 15963if (echo >conf$$.file) 2>/dev/null; then 15964 if ln -s conf$$.file conf$$ 2>/dev/null; then 15965 as_ln_s='ln -s' 15966 # ... but there are two gotchas: 15967 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15968 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15969 # In both cases, we have to default to `cp -p'. 15970 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15971 as_ln_s='cp -p' 15972 elif ln conf$$.file conf$$ 2>/dev/null; then 15973 as_ln_s=ln 15974 else 15975 as_ln_s='cp -p' 15976 fi 15977else 15978 as_ln_s='cp -p' 15979fi 15980rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15981rmdir conf$$.dir 2>/dev/null 15982 15983 15984# as_fn_mkdir_p 15985# ------------- 15986# Create "$as_dir" as a directory, including parents if necessary. 15987as_fn_mkdir_p () 15988{ 15989 15990 case $as_dir in #( 15991 -*) as_dir=./$as_dir;; 15992 esac 15993 test -d "$as_dir" || eval $as_mkdir_p || { 15994 as_dirs= 15995 while :; do 15996 case $as_dir in #( 15997 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15998 *) as_qdir=$as_dir;; 15999 esac 16000 as_dirs="'$as_qdir' $as_dirs" 16001 as_dir=`$as_dirname -- "$as_dir" || 16002$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16003 X"$as_dir" : 'X\(//\)[^/]' \| \ 16004 X"$as_dir" : 'X\(//\)$' \| \ 16005 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16006$as_echo X"$as_dir" | 16007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16008 s//\1/ 16009 q 16010 } 16011 /^X\(\/\/\)[^/].*/{ 16012 s//\1/ 16013 q 16014 } 16015 /^X\(\/\/\)$/{ 16016 s//\1/ 16017 q 16018 } 16019 /^X\(\/\).*/{ 16020 s//\1/ 16021 q 16022 } 16023 s/.*/./; q'` 16024 test -d "$as_dir" && break 16025 done 16026 test -z "$as_dirs" || eval "mkdir $as_dirs" 16027 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 16028 16029 16030} # as_fn_mkdir_p 16031if mkdir -p . 2>/dev/null; then 16032 as_mkdir_p='mkdir -p "$as_dir"' 16033else 16034 test -d ./-p && rmdir ./-p 16035 as_mkdir_p=false 16036fi 16037 16038if test -x / >/dev/null 2>&1; then 16039 as_test_x='test -x' 16040else 16041 if ls -dL / >/dev/null 2>&1; then 16042 as_ls_L_option=L 16043 else 16044 as_ls_L_option= 16045 fi 16046 as_test_x=' 16047 eval sh -c '\'' 16048 if test -d "$1"; then 16049 test -d "$1/."; 16050 else 16051 case $1 in #( 16052 -*)set "./$1";; 16053 esac; 16054 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 16055 ???[sx]*):;;*)false;;esac;fi 16056 '\'' sh 16057 ' 16058fi 16059as_executable_p=$as_test_x 16060 16061# Sed expression to map a string onto a valid CPP name. 16062as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 16063 16064# Sed expression to map a string onto a valid variable name. 16065as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 16066 16067 16068exec 6>&1 16069## ----------------------------------- ## 16070## Main body of $CONFIG_STATUS script. ## 16071## ----------------------------------- ## 16072_ASEOF 16073test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 16074 16075cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16076# Save the log message, to keep $0 and so on meaningful, and to 16077# report actual input values of CONFIG_FILES etc. instead of their 16078# values after options handling. 16079ac_log=" 16080This file was extended by WSDLPull $as_me 1.24, which was 16081generated by GNU Autoconf 2.65. Invocation command line was 16082 16083 CONFIG_FILES = $CONFIG_FILES 16084 CONFIG_HEADERS = $CONFIG_HEADERS 16085 CONFIG_LINKS = $CONFIG_LINKS 16086 CONFIG_COMMANDS = $CONFIG_COMMANDS 16087 $ $0 $@ 16088 16089on `(hostname || uname -n) 2>/dev/null | sed 1q` 16090" 16091 16092_ACEOF 16093 16094case $ac_config_files in *" 16095"*) set x $ac_config_files; shift; ac_config_files=$*;; 16096esac 16097 16098case $ac_config_headers in *" 16099"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 16100esac 16101 16102 16103cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16104# Files that config.status was made for. 16105config_files="$ac_config_files" 16106config_headers="$ac_config_headers" 16107config_commands="$ac_config_commands" 16108 16109_ACEOF 16110 16111cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16112ac_cs_usage="\ 16113\`$as_me' instantiates files and other configuration actions 16114from templates according to the current configuration. Unless the files 16115and actions are specified as TAGs, all are instantiated by default. 16116 16117Usage: $0 [OPTION]... [TAG]... 16118 16119 -h, --help print this help, then exit 16120 -V, --version print version number and configuration settings, then exit 16121 --config print configuration, then exit 16122 -q, --quiet, --silent 16123 do not print progress messages 16124 -d, --debug don't remove temporary files 16125 --recheck update $as_me by reconfiguring in the same conditions 16126 --file=FILE[:TEMPLATE] 16127 instantiate the configuration file FILE 16128 --header=FILE[:TEMPLATE] 16129 instantiate the configuration header FILE 16130 16131Configuration files: 16132$config_files 16133 16134Configuration headers: 16135$config_headers 16136 16137Configuration commands: 16138$config_commands 16139 16140Report bugs to <vivek200120@users.sourceforge.net>." 16141 16142_ACEOF 16143cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16144ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16145ac_cs_version="\\ 16146WSDLPull config.status 1.24 16147configured by $0, generated by GNU Autoconf 2.65, 16148 with options \\"\$ac_cs_config\\" 16149 16150Copyright (C) 2009 Free Software Foundation, Inc. 16151This config.status script is free software; the Free Software Foundation 16152gives unlimited permission to copy, distribute and modify it." 16153 16154ac_pwd='$ac_pwd' 16155srcdir='$srcdir' 16156INSTALL='$INSTALL' 16157MKDIR_P='$MKDIR_P' 16158AWK='$AWK' 16159test -n "\$AWK" || AWK=awk 16160_ACEOF 16161 16162cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16163# The default lists apply if the user does not specify any file. 16164ac_need_defaults=: 16165while test $# != 0 16166do 16167 case $1 in 16168 --*=*) 16169 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16170 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 16171 ac_shift=: 16172 ;; 16173 *) 16174 ac_option=$1 16175 ac_optarg=$2 16176 ac_shift=shift 16177 ;; 16178 esac 16179 16180 case $ac_option in 16181 # Handling of the options. 16182 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16183 ac_cs_recheck=: ;; 16184 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16185 $as_echo "$ac_cs_version"; exit ;; 16186 --config | --confi | --conf | --con | --co | --c ) 16187 $as_echo "$ac_cs_config"; exit ;; 16188 --debug | --debu | --deb | --de | --d | -d ) 16189 debug=: ;; 16190 --file | --fil | --fi | --f ) 16191 $ac_shift 16192 case $ac_optarg in 16193 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16194 esac 16195 as_fn_append CONFIG_FILES " '$ac_optarg'" 16196 ac_need_defaults=false;; 16197 --header | --heade | --head | --hea ) 16198 $ac_shift 16199 case $ac_optarg in 16200 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16201 esac 16202 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 16203 ac_need_defaults=false;; 16204 --he | --h) 16205 # Conflict between --help and --header 16206 as_fn_error "ambiguous option: \`$1' 16207Try \`$0 --help' for more information.";; 16208 --help | --hel | -h ) 16209 $as_echo "$ac_cs_usage"; exit ;; 16210 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16211 | -silent | --silent | --silen | --sile | --sil | --si | --s) 16212 ac_cs_silent=: ;; 16213 16214 # This is an error. 16215 -*) as_fn_error "unrecognized option: \`$1' 16216Try \`$0 --help' for more information." ;; 16217 16218 *) as_fn_append ac_config_targets " $1" 16219 ac_need_defaults=false ;; 16220 16221 esac 16222 shift 16223done 16224 16225ac_configure_extra_args= 16226 16227if $ac_cs_silent; then 16228 exec 6>/dev/null 16229 ac_configure_extra_args="$ac_configure_extra_args --silent" 16230fi 16231 16232_ACEOF 16233cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16234if \$ac_cs_recheck; then 16235 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 16236 shift 16237 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 16238 CONFIG_SHELL='$SHELL' 16239 export CONFIG_SHELL 16240 exec "\$@" 16241fi 16242 16243_ACEOF 16244cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16245exec 5>>config.log 16246{ 16247 echo 16248 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 16249## Running $as_me. ## 16250_ASBOX 16251 $as_echo "$ac_log" 16252} >&5 16253 16254_ACEOF 16255cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16256# 16257# INIT-COMMANDS 16258# 16259AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 16260 16261 16262# The HP-UX ksh and POSIX shell print the target directory to stdout 16263# if CDPATH is set. 16264(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16265 16266sed_quote_subst='$sed_quote_subst' 16267double_quote_subst='$double_quote_subst' 16268delay_variable_subst='$delay_variable_subst' 16269enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 16270enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 16271macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 16272macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 16273pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 16274enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 16275host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 16276host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 16277host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 16278build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 16279build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 16280build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 16281SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 16282Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 16283GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 16284EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 16285FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 16286LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 16287NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 16288LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 16289max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 16290ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 16291exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 16292lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 16293lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 16294lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 16295reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 16296reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16297OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 16298deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 16299file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 16300AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 16301AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 16302STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 16303RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 16304old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16305old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16306old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16307CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 16308CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 16309compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 16310GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 16311lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 16312lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 16313lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' 16314lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 16315objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 16316SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 16317ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 16318MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 16319lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 16320lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 16321lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 16322lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 16323lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 16324need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 16325DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 16326NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 16327LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 16328OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 16329OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 16330libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 16331shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16332extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16333archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 16334enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 16335export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 16336whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 16337compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 16338old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16339old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16340archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16341archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16342module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16343module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16344with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 16345allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 16346no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 16347hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 16348hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 16349hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 16350hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 16351hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 16352hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 16353hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 16354hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 16355inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 16356link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 16357fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 16358always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 16359export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16360exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 16361include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 16362prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16363file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 16364variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 16365need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 16366need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 16367version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 16368runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 16369shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 16370shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 16371libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 16372library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 16373soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 16374postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16375postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16376finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 16377finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 16378hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 16379sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 16380sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 16381hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 16382enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 16383enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 16384enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 16385old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 16386striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 16387compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' 16388predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' 16389postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' 16390predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' 16391postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' 16392compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' 16393LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16394old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16395compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16396GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16397lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16398lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16399lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16400lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16401lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16402archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16403enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16404export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16405whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16406compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16407old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16408old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16409archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16410archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16411module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16412module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16413with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16414allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16415no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16416hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16417hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16418hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16419hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16420hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16421hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16422hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16423hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16424inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16425link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16426fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16427always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16428export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16429exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16430include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16431prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16432file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16433hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16434compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16435predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16436postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16437predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16438postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16439compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 16440 16441LTCC='$LTCC' 16442LTCFLAGS='$LTCFLAGS' 16443compiler='$compiler_DEFAULT' 16444 16445# Quote evaled strings. 16446for var in SED \ 16447GREP \ 16448EGREP \ 16449FGREP \ 16450LD \ 16451NM \ 16452LN_S \ 16453lt_SP2NL \ 16454lt_NL2SP \ 16455reload_flag \ 16456OBJDUMP \ 16457deplibs_check_method \ 16458file_magic_cmd \ 16459AR \ 16460AR_FLAGS \ 16461STRIP \ 16462RANLIB \ 16463CC \ 16464CFLAGS \ 16465compiler \ 16466lt_cv_sys_global_symbol_pipe \ 16467lt_cv_sys_global_symbol_to_cdecl \ 16468lt_cv_sys_global_symbol_to_c_name_address \ 16469lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 16470SHELL \ 16471ECHO \ 16472lt_prog_compiler_no_builtin_flag \ 16473lt_prog_compiler_wl \ 16474lt_prog_compiler_pic \ 16475lt_prog_compiler_static \ 16476lt_cv_prog_compiler_c_o \ 16477need_locks \ 16478DSYMUTIL \ 16479NMEDIT \ 16480LIPO \ 16481OTOOL \ 16482OTOOL64 \ 16483shrext_cmds \ 16484export_dynamic_flag_spec \ 16485whole_archive_flag_spec \ 16486compiler_needs_object \ 16487with_gnu_ld \ 16488allow_undefined_flag \ 16489no_undefined_flag \ 16490hardcode_libdir_flag_spec \ 16491hardcode_libdir_flag_spec_ld \ 16492hardcode_libdir_separator \ 16493fix_srcfile_path \ 16494exclude_expsyms \ 16495include_expsyms \ 16496file_list_spec \ 16497variables_saved_for_relink \ 16498libname_spec \ 16499library_names_spec \ 16500soname_spec \ 16501finish_eval \ 16502old_striplib \ 16503striplib \ 16504compiler_lib_search_dirs \ 16505predep_objects \ 16506postdep_objects \ 16507predeps \ 16508postdeps \ 16509compiler_lib_search_path \ 16510LD_CXX \ 16511compiler_CXX \ 16512lt_prog_compiler_no_builtin_flag_CXX \ 16513lt_prog_compiler_wl_CXX \ 16514lt_prog_compiler_pic_CXX \ 16515lt_prog_compiler_static_CXX \ 16516lt_cv_prog_compiler_c_o_CXX \ 16517export_dynamic_flag_spec_CXX \ 16518whole_archive_flag_spec_CXX \ 16519compiler_needs_object_CXX \ 16520with_gnu_ld_CXX \ 16521allow_undefined_flag_CXX \ 16522no_undefined_flag_CXX \ 16523hardcode_libdir_flag_spec_CXX \ 16524hardcode_libdir_flag_spec_ld_CXX \ 16525hardcode_libdir_separator_CXX \ 16526fix_srcfile_path_CXX \ 16527exclude_expsyms_CXX \ 16528include_expsyms_CXX \ 16529file_list_spec_CXX \ 16530compiler_lib_search_dirs_CXX \ 16531predep_objects_CXX \ 16532postdep_objects_CXX \ 16533predeps_CXX \ 16534postdeps_CXX \ 16535compiler_lib_search_path_CXX; do 16536 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 16537 *[\\\\\\\`\\"\\\$]*) 16538 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 16539 ;; 16540 *) 16541 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16542 ;; 16543 esac 16544done 16545 16546# Double-quote double-evaled strings. 16547for var in reload_cmds \ 16548old_postinstall_cmds \ 16549old_postuninstall_cmds \ 16550old_archive_cmds \ 16551extract_expsyms_cmds \ 16552old_archive_from_new_cmds \ 16553old_archive_from_expsyms_cmds \ 16554archive_cmds \ 16555archive_expsym_cmds \ 16556module_cmds \ 16557module_expsym_cmds \ 16558export_symbols_cmds \ 16559prelink_cmds \ 16560postinstall_cmds \ 16561postuninstall_cmds \ 16562finish_cmds \ 16563sys_lib_search_path_spec \ 16564sys_lib_dlsearch_path_spec \ 16565old_archive_cmds_CXX \ 16566old_archive_from_new_cmds_CXX \ 16567old_archive_from_expsyms_cmds_CXX \ 16568archive_cmds_CXX \ 16569archive_expsym_cmds_CXX \ 16570module_cmds_CXX \ 16571module_expsym_cmds_CXX \ 16572export_symbols_cmds_CXX \ 16573prelink_cmds_CXX; do 16574 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 16575 *[\\\\\\\`\\"\\\$]*) 16576 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 16577 ;; 16578 *) 16579 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16580 ;; 16581 esac 16582done 16583 16584# Fix-up fallback echo if it was mangled by the above quoting rules. 16585case \$lt_ECHO in 16586*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 16587 ;; 16588esac 16589 16590ac_aux_dir='$ac_aux_dir' 16591xsi_shell='$xsi_shell' 16592lt_shell_append='$lt_shell_append' 16593 16594# See if we are running on zsh, and set the options which allow our 16595# commands through without removal of \ escapes INIT. 16596if test -n "\${ZSH_VERSION+set}" ; then 16597 setopt NO_GLOB_SUBST 16598fi 16599 16600 16601 PACKAGE='$PACKAGE' 16602 VERSION='$VERSION' 16603 TIMESTAMP='$TIMESTAMP' 16604 RM='$RM' 16605 ofile='$ofile' 16606 16607 16608 16609 16610 16611 16612_ACEOF 16613 16614cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16615 16616# Handling of arguments. 16617for ac_config_target in $ac_config_targets 16618do 16619 case $ac_config_target in 16620 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 16621 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 16622 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 16623 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16624 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 16625 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 16626 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;; 16627 "win32/curl/Makefile") CONFIG_FILES="$CONFIG_FILES win32/curl/Makefile" ;; 16628 "win32/vs2005/Makefile") CONFIG_FILES="$CONFIG_FILES win32/vs2005/Makefile" ;; 16629 "win32/vs2008/Makefile") CONFIG_FILES="$CONFIG_FILES win32/vs2008/Makefile" ;; 16630 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 16631 "src/xmlpull/Makefile") CONFIG_FILES="$CONFIG_FILES src/xmlpull/Makefile" ;; 16632 "src/schemaparser/Makefile") CONFIG_FILES="$CONFIG_FILES src/schemaparser/Makefile" ;; 16633 "src/wsdlparser/Makefile") CONFIG_FILES="$CONFIG_FILES src/wsdlparser/Makefile" ;; 16634 "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;; 16635 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 16636 "examples/print/Makefile") CONFIG_FILES="$CONFIG_FILES examples/print/Makefile" ;; 16637 "examples/xml/Makefile") CONFIG_FILES="$CONFIG_FILES examples/xml/Makefile" ;; 16638 "examples/stocks/Makefile") CONFIG_FILES="$CONFIG_FILES examples/stocks/Makefile" ;; 16639 "src/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES src/schemas/Makefile" ;; 16640 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 16641 "tests/schema/Makefile") CONFIG_FILES="$CONFIG_FILES tests/schema/Makefile" ;; 16642 "tests/wsdl/Makefile") CONFIG_FILES="$CONFIG_FILES tests/wsdl/Makefile" ;; 16643 16644 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 16645 esac 16646done 16647 16648 16649# If the user did not use the arguments to specify the items to instantiate, 16650# then the envvar interface is used. Set only those that are not. 16651# We use the long form for the default assignment because of an extremely 16652# bizarre bug on SunOS 4.1.3. 16653if $ac_need_defaults; then 16654 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 16655 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 16656 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 16657fi 16658 16659# Have a temporary directory for convenience. Make it in the build tree 16660# simply because there is no reason against having it here, and in addition, 16661# creating and moving files from /tmp can sometimes cause problems. 16662# Hook for its removal unless debugging. 16663# Note that there is a small window in which the directory will not be cleaned: 16664# after its creation but before its name has been assigned to `$tmp'. 16665$debug || 16666{ 16667 tmp= 16668 trap 'exit_status=$? 16669 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 16670' 0 16671 trap 'as_fn_exit 1' 1 2 13 15 16672} 16673# Create a (secure) tmp directory for tmp files. 16674 16675{ 16676 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 16677 test -n "$tmp" && test -d "$tmp" 16678} || 16679{ 16680 tmp=./conf$$-$RANDOM 16681 (umask 077 && mkdir "$tmp") 16682} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 16683 16684# Set up the scripts for CONFIG_FILES section. 16685# No need to generate them if there are no CONFIG_FILES. 16686# This happens for instance with `./config.status config.h'. 16687if test -n "$CONFIG_FILES"; then 16688 16689 16690ac_cr=`echo X | tr X '\015'` 16691# On cygwin, bash can eat \r inside `` if the user requested igncr. 16692# But we know of no other shell where ac_cr would be empty at this 16693# point, so we can use a bashism as a fallback. 16694if test "x$ac_cr" = x; then 16695 eval ac_cr=\$\'\\r\' 16696fi 16697ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 16698if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 16699 ac_cs_awk_cr='\r' 16700else 16701 ac_cs_awk_cr=$ac_cr 16702fi 16703 16704echo 'BEGIN {' >"$tmp/subs1.awk" && 16705_ACEOF 16706 16707 16708{ 16709 echo "cat >conf$$subs.awk <<_ACEOF" && 16710 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 16711 echo "_ACEOF" 16712} >conf$$subs.sh || 16713 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 16714ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 16715ac_delim='%!_!# ' 16716for ac_last_try in false false false false false :; do 16717 . ./conf$$subs.sh || 16718 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 16719 16720 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 16721 if test $ac_delim_n = $ac_delim_num; then 16722 break 16723 elif $ac_last_try; then 16724 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 16725 else 16726 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16727 fi 16728done 16729rm -f conf$$subs.sh 16730 16731cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16732cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 16733_ACEOF 16734sed -n ' 16735h 16736s/^/S["/; s/!.*/"]=/ 16737p 16738g 16739s/^[^!]*!// 16740:repl 16741t repl 16742s/'"$ac_delim"'$// 16743t delim 16744:nl 16745h 16746s/\(.\{148\}\)..*/\1/ 16747t more1 16748s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 16749p 16750n 16751b repl 16752:more1 16753s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16754p 16755g 16756s/.\{148\}// 16757t nl 16758:delim 16759h 16760s/\(.\{148\}\)..*/\1/ 16761t more2 16762s/["\\]/\\&/g; s/^/"/; s/$/"/ 16763p 16764b 16765:more2 16766s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16767p 16768g 16769s/.\{148\}// 16770t delim 16771' <conf$$subs.awk | sed ' 16772/^[^""]/{ 16773 N 16774 s/\n// 16775} 16776' >>$CONFIG_STATUS || ac_write_fail=1 16777rm -f conf$$subs.awk 16778cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16779_ACAWK 16780cat >>"\$tmp/subs1.awk" <<_ACAWK && 16781 for (key in S) S_is_set[key] = 1 16782 FS = "" 16783 16784} 16785{ 16786 line = $ 0 16787 nfields = split(line, field, "@") 16788 substed = 0 16789 len = length(field[1]) 16790 for (i = 2; i < nfields; i++) { 16791 key = field[i] 16792 keylen = length(key) 16793 if (S_is_set[key]) { 16794 value = S[key] 16795 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 16796 len += length(value) + length(field[++i]) 16797 substed = 1 16798 } else 16799 len += 1 + keylen 16800 } 16801 16802 print line 16803} 16804 16805_ACAWK 16806_ACEOF 16807cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16808if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 16809 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 16810else 16811 cat 16812fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 16813 || as_fn_error "could not setup config files machinery" "$LINENO" 5 16814_ACEOF 16815 16816# VPATH may cause trouble with some makes, so we remove $(srcdir), 16817# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 16818# trailing colons and then remove the whole line if VPATH becomes empty 16819# (actually we leave an empty line to preserve line numbers). 16820if test "x$srcdir" = x.; then 16821 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 16822s/:*\$(srcdir):*/:/ 16823s/:*\${srcdir}:*/:/ 16824s/:*@srcdir@:*/:/ 16825s/^\([^=]*=[ ]*\):*/\1/ 16826s/:*$// 16827s/^[^=]*=[ ]*$// 16828}' 16829fi 16830 16831cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16832fi # test -n "$CONFIG_FILES" 16833 16834# Set up the scripts for CONFIG_HEADERS section. 16835# No need to generate them if there are no CONFIG_HEADERS. 16836# This happens for instance with `./config.status Makefile'. 16837if test -n "$CONFIG_HEADERS"; then 16838cat >"$tmp/defines.awk" <<\_ACAWK || 16839BEGIN { 16840_ACEOF 16841 16842# Transform confdefs.h into an awk script `defines.awk', embedded as 16843# here-document in config.status, that substitutes the proper values into 16844# config.h.in to produce config.h. 16845 16846# Create a delimiter string that does not exist in confdefs.h, to ease 16847# handling of long lines. 16848ac_delim='%!_!# ' 16849for ac_last_try in false false :; do 16850 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 16851 if test -z "$ac_t"; then 16852 break 16853 elif $ac_last_try; then 16854 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 16855 else 16856 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16857 fi 16858done 16859 16860# For the awk script, D is an array of macro values keyed by name, 16861# likewise P contains macro parameters if any. Preserve backslash 16862# newline sequences. 16863 16864ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16865sed -n ' 16866s/.\{148\}/&'"$ac_delim"'/g 16867t rset 16868:rset 16869s/^[ ]*#[ ]*define[ ][ ]*/ / 16870t def 16871d 16872:def 16873s/\\$// 16874t bsnl 16875s/["\\]/\\&/g 16876s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16877D["\1"]=" \3"/p 16878s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 16879d 16880:bsnl 16881s/["\\]/\\&/g 16882s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16883D["\1"]=" \3\\\\\\n"\\/p 16884t cont 16885s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 16886t cont 16887d 16888:cont 16889n 16890s/.\{148\}/&'"$ac_delim"'/g 16891t clear 16892:clear 16893s/\\$// 16894t bsnlc 16895s/["\\]/\\&/g; s/^/"/; s/$/"/p 16896d 16897:bsnlc 16898s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 16899b cont 16900' <confdefs.h | sed ' 16901s/'"$ac_delim"'/"\\\ 16902"/g' >>$CONFIG_STATUS || ac_write_fail=1 16903 16904cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16905 for (key in D) D_is_set[key] = 1 16906 FS = "" 16907} 16908/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 16909 line = \$ 0 16910 split(line, arg, " ") 16911 if (arg[1] == "#") { 16912 defundef = arg[2] 16913 mac1 = arg[3] 16914 } else { 16915 defundef = substr(arg[1], 2) 16916 mac1 = arg[2] 16917 } 16918 split(mac1, mac2, "(") #) 16919 macro = mac2[1] 16920 prefix = substr(line, 1, index(line, defundef) - 1) 16921 if (D_is_set[macro]) { 16922 # Preserve the white space surrounding the "#". 16923 print prefix "define", macro P[macro] D[macro] 16924 next 16925 } else { 16926 # Replace #undef with comments. This is necessary, for example, 16927 # in the case of _POSIX_SOURCE, which is predefined and required 16928 # on some systems where configure will not decide to define it. 16929 if (defundef == "undef") { 16930 print "/*", prefix defundef, macro, "*/" 16931 next 16932 } 16933 } 16934} 16935{ print } 16936_ACAWK 16937_ACEOF 16938cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16939 as_fn_error "could not setup config headers machinery" "$LINENO" 5 16940fi # test -n "$CONFIG_HEADERS" 16941 16942 16943eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16944shift 16945for ac_tag 16946do 16947 case $ac_tag in 16948 :[FHLC]) ac_mode=$ac_tag; continue;; 16949 esac 16950 case $ac_mode$ac_tag in 16951 :[FHL]*:*);; 16952 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 16953 :[FH]-) ac_tag=-:-;; 16954 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16955 esac 16956 ac_save_IFS=$IFS 16957 IFS=: 16958 set x $ac_tag 16959 IFS=$ac_save_IFS 16960 shift 16961 ac_file=$1 16962 shift 16963 16964 case $ac_mode in 16965 :L) ac_source=$1;; 16966 :[FH]) 16967 ac_file_inputs= 16968 for ac_f 16969 do 16970 case $ac_f in 16971 -) ac_f="$tmp/stdin";; 16972 *) # Look for the file first in the build tree, then in the source tree 16973 # (if the path is not absolute). The absolute path cannot be DOS-style, 16974 # because $ac_f cannot contain `:'. 16975 test -f "$ac_f" || 16976 case $ac_f in 16977 [\\/$]*) false;; 16978 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16979 esac || 16980 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16981 esac 16982 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16983 as_fn_append ac_file_inputs " '$ac_f'" 16984 done 16985 16986 # Let's still pretend it is `configure' which instantiates (i.e., don't 16987 # use $as_me), people would be surprised to read: 16988 # /* config.h. Generated by config.status. */ 16989 configure_input='Generated from '` 16990 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16991 `' by configure.' 16992 if test x"$ac_file" != x-; then 16993 configure_input="$ac_file. $configure_input" 16994 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16995$as_echo "$as_me: creating $ac_file" >&6;} 16996 fi 16997 # Neutralize special characters interpreted by sed in replacement strings. 16998 case $configure_input in #( 16999 *\&* | *\|* | *\\* ) 17000 ac_sed_conf_input=`$as_echo "$configure_input" | 17001 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17002 *) ac_sed_conf_input=$configure_input;; 17003 esac 17004 17005 case $ac_tag in 17006 *:-:* | *:-) cat >"$tmp/stdin" \ 17007 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 17008 esac 17009 ;; 17010 esac 17011 17012 ac_dir=`$as_dirname -- "$ac_file" || 17013$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17014 X"$ac_file" : 'X\(//\)[^/]' \| \ 17015 X"$ac_file" : 'X\(//\)$' \| \ 17016 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17017$as_echo X"$ac_file" | 17018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17019 s//\1/ 17020 q 17021 } 17022 /^X\(\/\/\)[^/].*/{ 17023 s//\1/ 17024 q 17025 } 17026 /^X\(\/\/\)$/{ 17027 s//\1/ 17028 q 17029 } 17030 /^X\(\/\).*/{ 17031 s//\1/ 17032 q 17033 } 17034 s/.*/./; q'` 17035 as_dir="$ac_dir"; as_fn_mkdir_p 17036 ac_builddir=. 17037 17038case "$ac_dir" in 17039.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17040*) 17041 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17042 # A ".." for each directory in $ac_dir_suffix. 17043 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17044 case $ac_top_builddir_sub in 17045 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17046 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17047 esac ;; 17048esac 17049ac_abs_top_builddir=$ac_pwd 17050ac_abs_builddir=$ac_pwd$ac_dir_suffix 17051# for backward compatibility: 17052ac_top_builddir=$ac_top_build_prefix 17053 17054case $srcdir in 17055 .) # We are building in place. 17056 ac_srcdir=. 17057 ac_top_srcdir=$ac_top_builddir_sub 17058 ac_abs_top_srcdir=$ac_pwd ;; 17059 [\\/]* | ?:[\\/]* ) # Absolute name. 17060 ac_srcdir=$srcdir$ac_dir_suffix; 17061 ac_top_srcdir=$srcdir 17062 ac_abs_top_srcdir=$srcdir ;; 17063 *) # Relative name. 17064 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17065 ac_top_srcdir=$ac_top_build_prefix$srcdir 17066 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17067esac 17068ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17069 17070 17071 case $ac_mode in 17072 :F) 17073 # 17074 # CONFIG_FILE 17075 # 17076 17077 case $INSTALL in 17078 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 17079 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 17080 esac 17081 ac_MKDIR_P=$MKDIR_P 17082 case $MKDIR_P in 17083 [\\/$]* | ?:[\\/]* ) ;; 17084 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 17085 esac 17086_ACEOF 17087 17088cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17089# If the template does not know about datarootdir, expand it. 17090# FIXME: This hack should be removed a few years after 2.60. 17091ac_datarootdir_hack=; ac_datarootdir_seen= 17092ac_sed_dataroot=' 17093/datarootdir/ { 17094 p 17095 q 17096} 17097/@datadir@/p 17098/@docdir@/p 17099/@infodir@/p 17100/@localedir@/p 17101/@mandir@/p' 17102case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17103*datarootdir*) ac_datarootdir_seen=yes;; 17104*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17106$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17107_ACEOF 17108cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17109 ac_datarootdir_hack=' 17110 s&@datadir@&$datadir&g 17111 s&@docdir@&$docdir&g 17112 s&@infodir@&$infodir&g 17113 s&@localedir@&$localedir&g 17114 s&@mandir@&$mandir&g 17115 s&\\\${datarootdir}&$datarootdir&g' ;; 17116esac 17117_ACEOF 17118 17119# Neutralize VPATH when `$srcdir' = `.'. 17120# Shell code in configure.ac might set extrasub. 17121# FIXME: do we really want to maintain this feature? 17122cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17123ac_sed_extra="$ac_vpsub 17124$extrasub 17125_ACEOF 17126cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17127:t 17128/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17129s|@configure_input@|$ac_sed_conf_input|;t t 17130s&@top_builddir@&$ac_top_builddir_sub&;t t 17131s&@top_build_prefix@&$ac_top_build_prefix&;t t 17132s&@srcdir@&$ac_srcdir&;t t 17133s&@abs_srcdir@&$ac_abs_srcdir&;t t 17134s&@top_srcdir@&$ac_top_srcdir&;t t 17135s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 17136s&@builddir@&$ac_builddir&;t t 17137s&@abs_builddir@&$ac_abs_builddir&;t t 17138s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 17139s&@INSTALL@&$ac_INSTALL&;t t 17140s&@MKDIR_P@&$ac_MKDIR_P&;t t 17141$ac_datarootdir_hack 17142" 17143eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 17144 || as_fn_error "could not create $ac_file" "$LINENO" 5 17145 17146test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17147 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17148 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17150which seems to be undefined. Please make sure it is defined." >&5 17151$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17152which seems to be undefined. Please make sure it is defined." >&2;} 17153 17154 rm -f "$tmp/stdin" 17155 case $ac_file in 17156 -) cat "$tmp/out" && rm -f "$tmp/out";; 17157 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 17158 esac \ 17159 || as_fn_error "could not create $ac_file" "$LINENO" 5 17160 ;; 17161 :H) 17162 # 17163 # CONFIG_HEADER 17164 # 17165 if test x"$ac_file" != x-; then 17166 { 17167 $as_echo "/* $configure_input */" \ 17168 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 17169 } >"$tmp/config.h" \ 17170 || as_fn_error "could not create $ac_file" "$LINENO" 5 17171 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 17172 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 17173$as_echo "$as_me: $ac_file is unchanged" >&6;} 17174 else 17175 rm -f "$ac_file" 17176 mv "$tmp/config.h" "$ac_file" \ 17177 || as_fn_error "could not create $ac_file" "$LINENO" 5 17178 fi 17179 else 17180 $as_echo "/* $configure_input */" \ 17181 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 17182 || as_fn_error "could not create -" "$LINENO" 5 17183 fi 17184# Compute "$ac_file"'s index in $config_headers. 17185_am_arg="$ac_file" 17186_am_stamp_count=1 17187for _am_header in $config_headers :; do 17188 case $_am_header in 17189 $_am_arg | $_am_arg:* ) 17190 break ;; 17191 * ) 17192 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 17193 esac 17194done 17195echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 17196$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17197 X"$_am_arg" : 'X\(//\)[^/]' \| \ 17198 X"$_am_arg" : 'X\(//\)$' \| \ 17199 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 17200$as_echo X"$_am_arg" | 17201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17202 s//\1/ 17203 q 17204 } 17205 /^X\(\/\/\)[^/].*/{ 17206 s//\1/ 17207 q 17208 } 17209 /^X\(\/\/\)$/{ 17210 s//\1/ 17211 q 17212 } 17213 /^X\(\/\).*/{ 17214 s//\1/ 17215 q 17216 } 17217 s/.*/./; q'`/stamp-h$_am_stamp_count 17218 ;; 17219 17220 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 17221$as_echo "$as_me: executing $ac_file commands" >&6;} 17222 ;; 17223 esac 17224 17225 17226 case $ac_file$ac_mode in 17227 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 17228 # Autoconf 2.62 quotes --file arguments for eval, but not when files 17229 # are listed without --file. Let's play safe and only enable the eval 17230 # if we detect the quoting. 17231 case $CONFIG_FILES in 17232 *\'*) eval set x "$CONFIG_FILES" ;; 17233 *) set x $CONFIG_FILES ;; 17234 esac 17235 shift 17236 for mf 17237 do 17238 # Strip MF so we end up with the name of the file. 17239 mf=`echo "$mf" | sed -e 's/:.*$//'` 17240 # Check whether this is an Automake generated Makefile or not. 17241 # We used to match only the files named `Makefile.in', but 17242 # some people rename them; so instead we look at the file content. 17243 # Grep'ing the first line is not enough: some people post-process 17244 # each Makefile.in and add a new line on top of each file to say so. 17245 # Grep'ing the whole file is not good either: AIX grep has a line 17246 # limit of 2048, but all sed's we know have understand at least 4000. 17247 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 17248 dirpart=`$as_dirname -- "$mf" || 17249$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17250 X"$mf" : 'X\(//\)[^/]' \| \ 17251 X"$mf" : 'X\(//\)$' \| \ 17252 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 17253$as_echo X"$mf" | 17254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17255 s//\1/ 17256 q 17257 } 17258 /^X\(\/\/\)[^/].*/{ 17259 s//\1/ 17260 q 17261 } 17262 /^X\(\/\/\)$/{ 17263 s//\1/ 17264 q 17265 } 17266 /^X\(\/\).*/{ 17267 s//\1/ 17268 q 17269 } 17270 s/.*/./; q'` 17271 else 17272 continue 17273 fi 17274 # Extract the definition of DEPDIR, am__include, and am__quote 17275 # from the Makefile without running `make'. 17276 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 17277 test -z "$DEPDIR" && continue 17278 am__include=`sed -n 's/^am__include = //p' < "$mf"` 17279 test -z "am__include" && continue 17280 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 17281 # When using ansi2knr, U may be empty or an underscore; expand it 17282 U=`sed -n 's/^U = //p' < "$mf"` 17283 # Find all dependency output files, they are included files with 17284 # $(DEPDIR) in their names. We invoke sed twice because it is the 17285 # simplest approach to changing $(DEPDIR) to its actual value in the 17286 # expansion. 17287 for file in `sed -n " 17288 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 17289 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 17290 # Make sure the directory exists. 17291 test -f "$dirpart/$file" && continue 17292 fdir=`$as_dirname -- "$file" || 17293$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17294 X"$file" : 'X\(//\)[^/]' \| \ 17295 X"$file" : 'X\(//\)$' \| \ 17296 X"$file" : 'X\(/\)' \| . 2>/dev/null || 17297$as_echo X"$file" | 17298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17299 s//\1/ 17300 q 17301 } 17302 /^X\(\/\/\)[^/].*/{ 17303 s//\1/ 17304 q 17305 } 17306 /^X\(\/\/\)$/{ 17307 s//\1/ 17308 q 17309 } 17310 /^X\(\/\).*/{ 17311 s//\1/ 17312 q 17313 } 17314 s/.*/./; q'` 17315 as_dir=$dirpart/$fdir; as_fn_mkdir_p 17316 # echo "creating $dirpart/$file" 17317 echo '# dummy' > "$dirpart/$file" 17318 done 17319 done 17320} 17321 ;; 17322 "libtool":C) 17323 17324 # See if we are running on zsh, and set the options which allow our 17325 # commands through without removal of \ escapes. 17326 if test -n "${ZSH_VERSION+set}" ; then 17327 setopt NO_GLOB_SUBST 17328 fi 17329 17330 cfgfile="${ofile}T" 17331 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 17332 $RM "$cfgfile" 17333 17334 cat <<_LT_EOF >> "$cfgfile" 17335#! $SHELL 17336 17337# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 17338# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 17339# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 17340# NOTE: Changes made to this file will be lost: look at ltmain.sh. 17341# 17342# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 17343# 2006, 2007, 2008 Free Software Foundation, Inc. 17344# Written by Gordon Matzigkeit, 1996 17345# 17346# This file is part of GNU Libtool. 17347# 17348# GNU Libtool is free software; you can redistribute it and/or 17349# modify it under the terms of the GNU General Public License as 17350# published by the Free Software Foundation; either version 2 of 17351# the License, or (at your option) any later version. 17352# 17353# As a special exception to the GNU General Public License, 17354# if you distribute this file as part of a program or library that 17355# is built using GNU Libtool, you may include this file under the 17356# same distribution terms that you use for the rest of that program. 17357# 17358# GNU Libtool is distributed in the hope that it will be useful, 17359# but WITHOUT ANY WARRANTY; without even the implied warranty of 17360# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17361# GNU General Public License for more details. 17362# 17363# You should have received a copy of the GNU General Public License 17364# along with GNU Libtool; see the file COPYING. If not, a copy 17365# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 17366# obtained by writing to the Free Software Foundation, Inc., 17367# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17368 17369 17370# The names of the tagged configurations supported by this script. 17371available_tags="CXX " 17372 17373# ### BEGIN LIBTOOL CONFIG 17374 17375# Whether or not to build shared libraries. 17376build_libtool_libs=$enable_shared 17377 17378# Whether or not to build static libraries. 17379build_old_libs=$enable_static 17380 17381# Which release of libtool.m4 was used? 17382macro_version=$macro_version 17383macro_revision=$macro_revision 17384 17385# What type of objects to build. 17386pic_mode=$pic_mode 17387 17388# Whether or not to optimize for fast installation. 17389fast_install=$enable_fast_install 17390 17391# The host system. 17392host_alias=$host_alias 17393host=$host 17394host_os=$host_os 17395 17396# The build system. 17397build_alias=$build_alias 17398build=$build 17399build_os=$build_os 17400 17401# A sed program that does not truncate output. 17402SED=$lt_SED 17403 17404# Sed that helps us avoid accidentally triggering echo(1) options like -n. 17405Xsed="\$SED -e 1s/^X//" 17406 17407# A grep program that handles long lines. 17408GREP=$lt_GREP 17409 17410# An ERE matcher. 17411EGREP=$lt_EGREP 17412 17413# A literal string matcher. 17414FGREP=$lt_FGREP 17415 17416# A BSD- or MS-compatible name lister. 17417NM=$lt_NM 17418 17419# Whether we need soft or hard links. 17420LN_S=$lt_LN_S 17421 17422# What is the maximum length of a command? 17423max_cmd_len=$max_cmd_len 17424 17425# Object file suffix (normally "o"). 17426objext=$ac_objext 17427 17428# Executable file suffix (normally ""). 17429exeext=$exeext 17430 17431# whether the shell understands "unset". 17432lt_unset=$lt_unset 17433 17434# turn spaces into newlines. 17435SP2NL=$lt_lt_SP2NL 17436 17437# turn newlines into spaces. 17438NL2SP=$lt_lt_NL2SP 17439 17440# How to create reloadable object files. 17441reload_flag=$lt_reload_flag 17442reload_cmds=$lt_reload_cmds 17443 17444# An object symbol dumper. 17445OBJDUMP=$lt_OBJDUMP 17446 17447# Method to check whether dependent libraries are shared objects. 17448deplibs_check_method=$lt_deplibs_check_method 17449 17450# Command to use when deplibs_check_method == "file_magic". 17451file_magic_cmd=$lt_file_magic_cmd 17452 17453# The archiver. 17454AR=$lt_AR 17455AR_FLAGS=$lt_AR_FLAGS 17456 17457# A symbol stripping program. 17458STRIP=$lt_STRIP 17459 17460# Commands used to install an old-style archive. 17461RANLIB=$lt_RANLIB 17462old_postinstall_cmds=$lt_old_postinstall_cmds 17463old_postuninstall_cmds=$lt_old_postuninstall_cmds 17464 17465# A C compiler. 17466LTCC=$lt_CC 17467 17468# LTCC compiler flags. 17469LTCFLAGS=$lt_CFLAGS 17470 17471# Take the output of nm and produce a listing of raw symbols and C names. 17472global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 17473 17474# Transform the output of nm in a proper C declaration. 17475global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 17476 17477# Transform the output of nm in a C name address pair. 17478global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 17479 17480# Transform the output of nm in a C name address pair when lib prefix is needed. 17481global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 17482 17483# The name of the directory that contains temporary libtool files. 17484objdir=$objdir 17485 17486# Shell to use when invoking shell scripts. 17487SHELL=$lt_SHELL 17488 17489# An echo program that does not interpret backslashes. 17490ECHO=$lt_ECHO 17491 17492# Used to examine libraries when file_magic_cmd begins with "file". 17493MAGIC_CMD=$MAGIC_CMD 17494 17495# Must we lock files when doing compilation? 17496need_locks=$lt_need_locks 17497 17498# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 17499DSYMUTIL=$lt_DSYMUTIL 17500 17501# Tool to change global to local symbols on Mac OS X. 17502NMEDIT=$lt_NMEDIT 17503 17504# Tool to manipulate fat objects and archives on Mac OS X. 17505LIPO=$lt_LIPO 17506 17507# ldd/readelf like tool for Mach-O binaries on Mac OS X. 17508OTOOL=$lt_OTOOL 17509 17510# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 17511OTOOL64=$lt_OTOOL64 17512 17513# Old archive suffix (normally "a"). 17514libext=$libext 17515 17516# Shared library suffix (normally ".so"). 17517shrext_cmds=$lt_shrext_cmds 17518 17519# The commands to extract the exported symbol list from a shared archive. 17520extract_expsyms_cmds=$lt_extract_expsyms_cmds 17521 17522# Variables whose values should be saved in libtool wrapper scripts and 17523# restored at link time. 17524variables_saved_for_relink=$lt_variables_saved_for_relink 17525 17526# Do we need the "lib" prefix for modules? 17527need_lib_prefix=$need_lib_prefix 17528 17529# Do we need a version for libraries? 17530need_version=$need_version 17531 17532# Library versioning type. 17533version_type=$version_type 17534 17535# Shared library runtime path variable. 17536runpath_var=$runpath_var 17537 17538# Shared library path variable. 17539shlibpath_var=$shlibpath_var 17540 17541# Is shlibpath searched before the hard-coded library search path? 17542shlibpath_overrides_runpath=$shlibpath_overrides_runpath 17543 17544# Format of library name prefix. 17545libname_spec=$lt_libname_spec 17546 17547# List of archive names. First name is the real one, the rest are links. 17548# The last name is the one that the linker finds with -lNAME 17549library_names_spec=$lt_library_names_spec 17550 17551# The coded name of the library, if different from the real name. 17552soname_spec=$lt_soname_spec 17553 17554# Command to use after installation of a shared archive. 17555postinstall_cmds=$lt_postinstall_cmds 17556 17557# Command to use after uninstallation of a shared archive. 17558postuninstall_cmds=$lt_postuninstall_cmds 17559 17560# Commands used to finish a libtool library installation in a directory. 17561finish_cmds=$lt_finish_cmds 17562 17563# As "finish_cmds", except a single script fragment to be evaled but 17564# not shown. 17565finish_eval=$lt_finish_eval 17566 17567# Whether we should hardcode library paths into libraries. 17568hardcode_into_libs=$hardcode_into_libs 17569 17570# Compile-time system search path for libraries. 17571sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 17572 17573# Run-time system search path for libraries. 17574sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 17575 17576# Whether dlopen is supported. 17577dlopen_support=$enable_dlopen 17578 17579# Whether dlopen of programs is supported. 17580dlopen_self=$enable_dlopen_self 17581 17582# Whether dlopen of statically linked programs is supported. 17583dlopen_self_static=$enable_dlopen_self_static 17584 17585# Commands to strip libraries. 17586old_striplib=$lt_old_striplib 17587striplib=$lt_striplib 17588 17589 17590# The linker used to build libraries. 17591LD=$lt_LD 17592 17593# Commands used to build an old-style archive. 17594old_archive_cmds=$lt_old_archive_cmds 17595 17596# A language specific compiler. 17597CC=$lt_compiler 17598 17599# Is the compiler the GNU compiler? 17600with_gcc=$GCC 17601 17602# Compiler flag to turn off builtin functions. 17603no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 17604 17605# How to pass a linker flag through the compiler. 17606wl=$lt_lt_prog_compiler_wl 17607 17608# Additional compiler flags for building library objects. 17609pic_flag=$lt_lt_prog_compiler_pic 17610 17611# Compiler flag to prevent dynamic linking. 17612link_static_flag=$lt_lt_prog_compiler_static 17613 17614# Does compiler simultaneously support -c and -o options? 17615compiler_c_o=$lt_lt_cv_prog_compiler_c_o 17616 17617# Whether or not to add -lc for building shared libraries. 17618build_libtool_need_lc=$archive_cmds_need_lc 17619 17620# Whether or not to disallow shared libs when runtime libs are static. 17621allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 17622 17623# Compiler flag to allow reflexive dlopens. 17624export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 17625 17626# Compiler flag to generate shared objects directly from archives. 17627whole_archive_flag_spec=$lt_whole_archive_flag_spec 17628 17629# Whether the compiler copes with passing no objects directly. 17630compiler_needs_object=$lt_compiler_needs_object 17631 17632# Create an old-style archive from a shared archive. 17633old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 17634 17635# Create a temporary old-style archive to link instead of a shared archive. 17636old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 17637 17638# Commands used to build a shared archive. 17639archive_cmds=$lt_archive_cmds 17640archive_expsym_cmds=$lt_archive_expsym_cmds 17641 17642# Commands used to build a loadable module if different from building 17643# a shared archive. 17644module_cmds=$lt_module_cmds 17645module_expsym_cmds=$lt_module_expsym_cmds 17646 17647# Whether we are building with GNU ld or not. 17648with_gnu_ld=$lt_with_gnu_ld 17649 17650# Flag that allows shared libraries with undefined symbols to be built. 17651allow_undefined_flag=$lt_allow_undefined_flag 17652 17653# Flag that enforces no undefined symbols. 17654no_undefined_flag=$lt_no_undefined_flag 17655 17656# Flag to hardcode \$libdir into a binary during linking. 17657# This must work even if \$libdir does not exist 17658hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 17659 17660# If ld is used when linking, flag to hardcode \$libdir into a binary 17661# during linking. This must work even if \$libdir does not exist. 17662hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 17663 17664# Whether we need a single "-rpath" flag with a separated argument. 17665hardcode_libdir_separator=$lt_hardcode_libdir_separator 17666 17667# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 17668# DIR into the resulting binary. 17669hardcode_direct=$hardcode_direct 17670 17671# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 17672# DIR into the resulting binary and the resulting library dependency is 17673# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 17674# library is relocated. 17675hardcode_direct_absolute=$hardcode_direct_absolute 17676 17677# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 17678# into the resulting binary. 17679hardcode_minus_L=$hardcode_minus_L 17680 17681# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 17682# into the resulting binary. 17683hardcode_shlibpath_var=$hardcode_shlibpath_var 17684 17685# Set to "yes" if building a shared library automatically hardcodes DIR 17686# into the library and all subsequent libraries and executables linked 17687# against it. 17688hardcode_automatic=$hardcode_automatic 17689 17690# Set to yes if linker adds runtime paths of dependent libraries 17691# to runtime path list. 17692inherit_rpath=$inherit_rpath 17693 17694# Whether libtool must link a program against all its dependency libraries. 17695link_all_deplibs=$link_all_deplibs 17696 17697# Fix the shell variable \$srcfile for the compiler. 17698fix_srcfile_path=$lt_fix_srcfile_path 17699 17700# Set to "yes" if exported symbols are required. 17701always_export_symbols=$always_export_symbols 17702 17703# The commands to list exported symbols. 17704export_symbols_cmds=$lt_export_symbols_cmds 17705 17706# Symbols that should not be listed in the preloaded symbols. 17707exclude_expsyms=$lt_exclude_expsyms 17708 17709# Symbols that must always be exported. 17710include_expsyms=$lt_include_expsyms 17711 17712# Commands necessary for linking programs (against libraries) with templates. 17713prelink_cmds=$lt_prelink_cmds 17714 17715# Specify filename containing input files. 17716file_list_spec=$lt_file_list_spec 17717 17718# How to hardcode a shared library path into an executable. 17719hardcode_action=$hardcode_action 17720 17721# The directories searched by this compiler when creating a shared library. 17722compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 17723 17724# Dependencies to place before and after the objects being linked to 17725# create a shared library. 17726predep_objects=$lt_predep_objects 17727postdep_objects=$lt_postdep_objects 17728predeps=$lt_predeps 17729postdeps=$lt_postdeps 17730 17731# The library search path used internally by the compiler when linking 17732# a shared library. 17733compiler_lib_search_path=$lt_compiler_lib_search_path 17734 17735# ### END LIBTOOL CONFIG 17736 17737_LT_EOF 17738 17739 case $host_os in 17740 aix3*) 17741 cat <<\_LT_EOF >> "$cfgfile" 17742# AIX sometimes has problems with the GCC collect2 program. For some 17743# reason, if we set the COLLECT_NAMES environment variable, the problems 17744# vanish in a puff of smoke. 17745if test "X${COLLECT_NAMES+set}" != Xset; then 17746 COLLECT_NAMES= 17747 export COLLECT_NAMES 17748fi 17749_LT_EOF 17750 ;; 17751 esac 17752 17753 17754ltmain="$ac_aux_dir/ltmain.sh" 17755 17756 17757 # We use sed instead of cat because bash on DJGPP gets confused if 17758 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17759 # text mode, it properly converts lines to CR/LF. This bash problem 17760 # is reportedly fixed, but why not run on old versions too? 17761 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 17762 || (rm -f "$cfgfile"; exit 1) 17763 17764 case $xsi_shell in 17765 yes) 17766 cat << \_LT_EOF >> "$cfgfile" 17767 17768# func_dirname file append nondir_replacement 17769# Compute the dirname of FILE. If nonempty, add APPEND to the result, 17770# otherwise set result to NONDIR_REPLACEMENT. 17771func_dirname () 17772{ 17773 case ${1} in 17774 */*) func_dirname_result="${1%/*}${2}" ;; 17775 * ) func_dirname_result="${3}" ;; 17776 esac 17777} 17778 17779# func_basename file 17780func_basename () 17781{ 17782 func_basename_result="${1##*/}" 17783} 17784 17785# func_dirname_and_basename file append nondir_replacement 17786# perform func_basename and func_dirname in a single function 17787# call: 17788# dirname: Compute the dirname of FILE. If nonempty, 17789# add APPEND to the result, otherwise set result 17790# to NONDIR_REPLACEMENT. 17791# value returned in "$func_dirname_result" 17792# basename: Compute filename of FILE. 17793# value retuned in "$func_basename_result" 17794# Implementation must be kept synchronized with func_dirname 17795# and func_basename. For efficiency, we do not delegate to 17796# those functions but instead duplicate the functionality here. 17797func_dirname_and_basename () 17798{ 17799 case ${1} in 17800 */*) func_dirname_result="${1%/*}${2}" ;; 17801 * ) func_dirname_result="${3}" ;; 17802 esac 17803 func_basename_result="${1##*/}" 17804} 17805 17806# func_stripname prefix suffix name 17807# strip PREFIX and SUFFIX off of NAME. 17808# PREFIX and SUFFIX must not contain globbing or regex special 17809# characters, hashes, percent signs, but SUFFIX may contain a leading 17810# dot (in which case that matches only a dot). 17811func_stripname () 17812{ 17813 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 17814 # positional parameters, so assign one to ordinary parameter first. 17815 func_stripname_result=${3} 17816 func_stripname_result=${func_stripname_result#"${1}"} 17817 func_stripname_result=${func_stripname_result%"${2}"} 17818} 17819 17820# func_opt_split 17821func_opt_split () 17822{ 17823 func_opt_split_opt=${1%%=*} 17824 func_opt_split_arg=${1#*=} 17825} 17826 17827# func_lo2o object 17828func_lo2o () 17829{ 17830 case ${1} in 17831 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 17832 *) func_lo2o_result=${1} ;; 17833 esac 17834} 17835 17836# func_xform libobj-or-source 17837func_xform () 17838{ 17839 func_xform_result=${1%.*}.lo 17840} 17841 17842# func_arith arithmetic-term... 17843func_arith () 17844{ 17845 func_arith_result=$(( $* )) 17846} 17847 17848# func_len string 17849# STRING may not start with a hyphen. 17850func_len () 17851{ 17852 func_len_result=${#1} 17853} 17854 17855_LT_EOF 17856 ;; 17857 *) # Bourne compatible functions. 17858 cat << \_LT_EOF >> "$cfgfile" 17859 17860# func_dirname file append nondir_replacement 17861# Compute the dirname of FILE. If nonempty, add APPEND to the result, 17862# otherwise set result to NONDIR_REPLACEMENT. 17863func_dirname () 17864{ 17865 # Extract subdirectory from the argument. 17866 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 17867 if test "X$func_dirname_result" = "X${1}"; then 17868 func_dirname_result="${3}" 17869 else 17870 func_dirname_result="$func_dirname_result${2}" 17871 fi 17872} 17873 17874# func_basename file 17875func_basename () 17876{ 17877 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 17878} 17879 17880 17881# func_stripname prefix suffix name 17882# strip PREFIX and SUFFIX off of NAME. 17883# PREFIX and SUFFIX must not contain globbing or regex special 17884# characters, hashes, percent signs, but SUFFIX may contain a leading 17885# dot (in which case that matches only a dot). 17886# func_strip_suffix prefix name 17887func_stripname () 17888{ 17889 case ${2} in 17890 .*) func_stripname_result=`$ECHO "X${3}" \ 17891 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 17892 *) func_stripname_result=`$ECHO "X${3}" \ 17893 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 17894 esac 17895} 17896 17897# sed scripts: 17898my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 17899my_sed_long_arg='1s/^-[^=]*=//' 17900 17901# func_opt_split 17902func_opt_split () 17903{ 17904 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 17905 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 17906} 17907 17908# func_lo2o object 17909func_lo2o () 17910{ 17911 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 17912} 17913 17914# func_xform libobj-or-source 17915func_xform () 17916{ 17917 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 17918} 17919 17920# func_arith arithmetic-term... 17921func_arith () 17922{ 17923 func_arith_result=`expr "$@"` 17924} 17925 17926# func_len string 17927# STRING may not start with a hyphen. 17928func_len () 17929{ 17930 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 17931} 17932 17933_LT_EOF 17934esac 17935 17936case $lt_shell_append in 17937 yes) 17938 cat << \_LT_EOF >> "$cfgfile" 17939 17940# func_append var value 17941# Append VALUE to the end of shell variable VAR. 17942func_append () 17943{ 17944 eval "$1+=\$2" 17945} 17946_LT_EOF 17947 ;; 17948 *) 17949 cat << \_LT_EOF >> "$cfgfile" 17950 17951# func_append var value 17952# Append VALUE to the end of shell variable VAR. 17953func_append () 17954{ 17955 eval "$1=\$$1\$2" 17956} 17957 17958_LT_EOF 17959 ;; 17960 esac 17961 17962 17963 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 17964 || (rm -f "$cfgfile"; exit 1) 17965 17966 mv -f "$cfgfile" "$ofile" || 17967 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17968 chmod +x "$ofile" 17969 17970 17971 cat <<_LT_EOF >> "$ofile" 17972 17973# ### BEGIN LIBTOOL TAG CONFIG: CXX 17974 17975# The linker used to build libraries. 17976LD=$lt_LD_CXX 17977 17978# Commands used to build an old-style archive. 17979old_archive_cmds=$lt_old_archive_cmds_CXX 17980 17981# A language specific compiler. 17982CC=$lt_compiler_CXX 17983 17984# Is the compiler the GNU compiler? 17985with_gcc=$GCC_CXX 17986 17987# Compiler flag to turn off builtin functions. 17988no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 17989 17990# How to pass a linker flag through the compiler. 17991wl=$lt_lt_prog_compiler_wl_CXX 17992 17993# Additional compiler flags for building library objects. 17994pic_flag=$lt_lt_prog_compiler_pic_CXX 17995 17996# Compiler flag to prevent dynamic linking. 17997link_static_flag=$lt_lt_prog_compiler_static_CXX 17998 17999# Does compiler simultaneously support -c and -o options? 18000compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 18001 18002# Whether or not to add -lc for building shared libraries. 18003build_libtool_need_lc=$archive_cmds_need_lc_CXX 18004 18005# Whether or not to disallow shared libs when runtime libs are static. 18006allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 18007 18008# Compiler flag to allow reflexive dlopens. 18009export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 18010 18011# Compiler flag to generate shared objects directly from archives. 18012whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 18013 18014# Whether the compiler copes with passing no objects directly. 18015compiler_needs_object=$lt_compiler_needs_object_CXX 18016 18017# Create an old-style archive from a shared archive. 18018old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 18019 18020# Create a temporary old-style archive to link instead of a shared archive. 18021old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 18022 18023# Commands used to build a shared archive. 18024archive_cmds=$lt_archive_cmds_CXX 18025archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 18026 18027# Commands used to build a loadable module if different from building 18028# a shared archive. 18029module_cmds=$lt_module_cmds_CXX 18030module_expsym_cmds=$lt_module_expsym_cmds_CXX 18031 18032# Whether we are building with GNU ld or not. 18033with_gnu_ld=$lt_with_gnu_ld_CXX 18034 18035# Flag that allows shared libraries with undefined symbols to be built. 18036allow_undefined_flag=$lt_allow_undefined_flag_CXX 18037 18038# Flag that enforces no undefined symbols. 18039no_undefined_flag=$lt_no_undefined_flag_CXX 18040 18041# Flag to hardcode \$libdir into a binary during linking. 18042# This must work even if \$libdir does not exist 18043hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 18044 18045# If ld is used when linking, flag to hardcode \$libdir into a binary 18046# during linking. This must work even if \$libdir does not exist. 18047hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX 18048 18049# Whether we need a single "-rpath" flag with a separated argument. 18050hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 18051 18052# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 18053# DIR into the resulting binary. 18054hardcode_direct=$hardcode_direct_CXX 18055 18056# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 18057# DIR into the resulting binary and the resulting library dependency is 18058# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 18059# library is relocated. 18060hardcode_direct_absolute=$hardcode_direct_absolute_CXX 18061 18062# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18063# into the resulting binary. 18064hardcode_minus_L=$hardcode_minus_L_CXX 18065 18066# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18067# into the resulting binary. 18068hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 18069 18070# Set to "yes" if building a shared library automatically hardcodes DIR 18071# into the library and all subsequent libraries and executables linked 18072# against it. 18073hardcode_automatic=$hardcode_automatic_CXX 18074 18075# Set to yes if linker adds runtime paths of dependent libraries 18076# to runtime path list. 18077inherit_rpath=$inherit_rpath_CXX 18078 18079# Whether libtool must link a program against all its dependency libraries. 18080link_all_deplibs=$link_all_deplibs_CXX 18081 18082# Fix the shell variable \$srcfile for the compiler. 18083fix_srcfile_path=$lt_fix_srcfile_path_CXX 18084 18085# Set to "yes" if exported symbols are required. 18086always_export_symbols=$always_export_symbols_CXX 18087 18088# The commands to list exported symbols. 18089export_symbols_cmds=$lt_export_symbols_cmds_CXX 18090 18091# Symbols that should not be listed in the preloaded symbols. 18092exclude_expsyms=$lt_exclude_expsyms_CXX 18093 18094# Symbols that must always be exported. 18095include_expsyms=$lt_include_expsyms_CXX 18096 18097# Commands necessary for linking programs (against libraries) with templates. 18098prelink_cmds=$lt_prelink_cmds_CXX 18099 18100# Specify filename containing input files. 18101file_list_spec=$lt_file_list_spec_CXX 18102 18103# How to hardcode a shared library path into an executable. 18104hardcode_action=$hardcode_action_CXX 18105 18106# The directories searched by this compiler when creating a shared library. 18107compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 18108 18109# Dependencies to place before and after the objects being linked to 18110# create a shared library. 18111predep_objects=$lt_predep_objects_CXX 18112postdep_objects=$lt_postdep_objects_CXX 18113predeps=$lt_predeps_CXX 18114postdeps=$lt_postdeps_CXX 18115 18116# The library search path used internally by the compiler when linking 18117# a shared library. 18118compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 18119 18120# ### END LIBTOOL TAG CONFIG: CXX 18121_LT_EOF 18122 18123 ;; 18124 18125 esac 18126done # for ac_tag 18127 18128 18129as_fn_exit 0 18130_ACEOF 18131ac_clean_files=$ac_clean_files_save 18132 18133test $ac_write_fail = 0 || 18134 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 18135 18136 18137# configure is writing to config.log, and then calls config.status. 18138# config.status does its own redirection, appending to config.log. 18139# Unfortunately, on DOS this fails, as config.log is still kept open 18140# by configure, so config.status won't be able to write to it; its 18141# output is simply discarded. So we exec the FD to /dev/null, 18142# effectively closing config.log, so it can be properly (re)opened and 18143# appended to by config.status. When coming back to configure, we 18144# need to make the FD available again. 18145if test "$no_create" != yes; then 18146 ac_cs_success=: 18147 ac_config_status_args= 18148 test "$silent" = yes && 18149 ac_config_status_args="$ac_config_status_args --quiet" 18150 exec 5>/dev/null 18151 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18152 exec 5>>config.log 18153 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18154 # would make configure fail if this is the last instruction. 18155 $ac_cs_success || as_fn_exit $? 18156fi 18157if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18159$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18160fi 18161 18162 18163echo " 18164------------------------------------------------------------------------------ 18165$PACKAGE-$VERSION library configuration: 18166------------------------------------------------------------------------------ 18167 18168Directories: 18169 - prefix ............ : ${prefix} 18170 - exec_prefix ....... : ${exec_prefix} 18171 - includedir ........ : ${includedir} 18172 - libdir ............ : ${libdir} 18173 - docdir ............ : ${docdir} 18174 - mandir ............ : ${mandir} 18175 - infodir ........... : ${infodir} 18176 18177Switches: 18178 - exceptions ........ : ${enable_exceptions} 18179 - use-nls ........... : ${USE_NLS} 18180 - info-doc .......... : ${enable_info_doc} 18181 - html-doc .......... : ${enable_html_doc} 18182 - shared ............ : ${enable_shared} 18183 - static ............ : ${enable_static} 18184 18185Documentation tools: 18186 - texinfo ........... : ${texinfo_ok} 18187 - doxygen ........... : ${doxygen_ok} 18188 - latex ............. : ${latex_ok} 18189 - dvips ............. : ${dvips_ok} 18190 - ghostscript ....... : ${gs_ok} 18191 18192Testing tools: 18193 - diff .............. : ${diff_ok} 18194 - sed ............... : ${sed_ok} 18195 18196Compiler/linker flags/libs/defs: 18197 - CXX ............... : ${CXX} 18198 - CFLAGS ............ : ${CFLAGS} 18199 - CXXFLAGS .......... : ${CXXFLAGS} 18200 - CPPFLAGS .......... : ${CPPFLAGS} 18201 - LDFLAGS ........... : ${LDFLAGS} 18202 - LIBS .............. : ${LIBS} 18203 18204External libraries: 18205 - CPPUNIT ........... : 18206 o CPPUNIT_VERSION . : ${CPPUNIT_VERSION} 18207 o CPPUNIT_CFLAGS .. : ${CPPUNIT_CFLAGS} 18208 o CPPUNIT_LIBS .... : ${CPPUNIT_LIBS} 18209 18210------------------------------------------------------------------------------ 18211Now type 'make && make install' to build and install $PACKAGE-$VERSION library 18212------------------------------------------------------------------------------ 18213" 18214