1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.66 for perlfilter 0.10. 4# 5# Report bugs to <courier-users@lists.sourceforge.net>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152esac 153fi 154" 155 as_required="as_fn_return () { (exit \$1); } 156as_fn_success () { as_fn_return 0; } 157as_fn_failure () { as_fn_return 1; } 158as_fn_ret_success () { return 0; } 159as_fn_ret_failure () { return 1; } 160 161exitcode=0 162as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168else 169 exitcode=1; echo positional parameters were not saved. 170fi 171test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176 177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 181 PATH=/empty FPATH=/empty; export PATH FPATH 182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 184test \$(( 1 + 1 )) = 2 || exit 1" 185 if (eval "$as_required") 2>/dev/null; then : 186 as_have_required=yes 187else 188 as_have_required=no 189fi 190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 191 192else 193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 194as_found=false 195for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 196do 197 IFS=$as_save_IFS 198 test -z "$as_dir" && as_dir=. 199 as_found=: 200 case $as_dir in #( 201 /*) 202 for as_base in sh bash ksh sh5; do 203 # Try only shells that exist, to save several forks. 204 as_shell=$as_dir/$as_base 205 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 207 CONFIG_SHELL=$as_shell as_have_required=yes 208 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 209 break 2 210fi 211fi 212 done;; 213 esac 214 as_found=false 215done 216$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 217 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 218 CONFIG_SHELL=$SHELL as_have_required=yes 219fi; } 220IFS=$as_save_IFS 221 222 223 if test "x$CONFIG_SHELL" != x; then : 224 # We cannot yet assume a decent shell, so we have to provide a 225 # neutralization value for shells without unset; and this also 226 # works around shells that cannot unset nonexistent variables. 227 BASH_ENV=/dev/null 228 ENV=/dev/null 229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 230 export CONFIG_SHELL 231 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 232fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242$0: courier-users@lists.sourceforge.net about your system, 243$0: including any error possibly output before this 244$0: message. Then install a modern shell, or manually run 245$0: the script under such a shell if you do have one." 246 fi 247 exit 1 248fi 249fi 250fi 251SHELL=${CONFIG_SHELL-/bin/sh} 252export SHELL 253# Unset more variables known to interfere with behavior of common tools. 254CLICOLOR_FORCE= GREP_OPTIONS= 255unset CLICOLOR_FORCE GREP_OPTIONS 256 257## --------------------- ## 258## M4sh Shell Functions. ## 259## --------------------- ## 260# as_fn_unset VAR 261# --------------- 262# Portably unset VAR. 263as_fn_unset () 264{ 265 { eval $1=; unset $1;} 266} 267as_unset=as_fn_unset 268 269# as_fn_set_status STATUS 270# ----------------------- 271# Set $? to STATUS, without forking. 272as_fn_set_status () 273{ 274 return $1 275} # as_fn_set_status 276 277# as_fn_exit STATUS 278# ----------------- 279# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280as_fn_exit () 281{ 282 set +e 283 as_fn_set_status $1 284 exit $1 285} # as_fn_exit 286 287# as_fn_mkdir_p 288# ------------- 289# Create "$as_dir" as a directory, including parents if necessary. 290as_fn_mkdir_p () 291{ 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309$as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333} # as_fn_mkdir_p 334# as_fn_append VAR VALUE 335# ---------------------- 336# Append the text in VALUE to the end of the definition contained in VAR. Take 337# advantage of any shell optimizations that allow amortized linear growth over 338# repeated appends, instead of the typical quadratic growth present in naive 339# implementations. 340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350fi # as_fn_append 351 352# as_fn_arith ARG... 353# ------------------ 354# Perform arithmetic evaluation on the ARGs, and store the result in the 355# global $as_val. Take advantage of shells that can avoid forks. The arguments 356# must be portable across $(()) and expr. 357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367fi # as_fn_arith 368 369 370# as_fn_error STATUS ERROR [LINENO LOG_FD] 371# ---------------------------------------- 372# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374# script with STATUS, using 1 if that was 0. 375as_fn_error () 376{ 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384} # as_fn_error 385 386if expr a : '\(a\)' >/dev/null 2>&1 && 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then 388 as_expr=expr 389else 390 as_expr=false 391fi 392 393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 394 as_basename=basename 395else 396 as_basename=false 397fi 398 399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401else 402 as_dirname=false 403fi 404 405as_me=`$as_basename -- "$0" || 406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 407 X"$0" : 'X\(//\)$' \| \ 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 409$as_echo X/"$0" | 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 411 s//\1/ 412 q 413 } 414 /^X\/\(\/\/\)$/{ 415 s//\1/ 416 q 417 } 418 /^X\/\(\/\).*/{ 419 s//\1/ 420 q 421 } 422 s/.*/./; q'` 423 424# Avoid depending upon Character Ranges. 425as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428as_cr_digits='0123456789' 429as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 437 sed -n ' 438 p 439 /[$]LINENO/= 440 ' <$as_myself | 441 sed ' 442 s/[$]LINENO.*/&-/ 443 t lineno 444 b 445 :lineno 446 N 447 :loop 448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 449 t loop 450 s/-\n.*// 451 ' >$as_me.lineno && 452 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 455 # Don't try to exec as it changes $[0], causing all sort of problems 456 # (the dirname of $[0] is not the place where we might find the 457 # original and so on. Autoconf is especially sensitive to this). 458 . "./$as_me.lineno" 459 # Exit status is that of the last command. 460 exit 461} 462 463ECHO_C= ECHO_N= ECHO_T= 464case `echo -n x` in #((((( 465-n*) 466 case `echo 'xy\c'` in 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 471 esac;; 472*) 473 ECHO_N='-n';; 474esac 475 476rm -f conf$$ conf$$.exe conf$$.file 477if test -d conf$$.dir; then 478 rm -f conf$$.dir/conf$$.file 479else 480 rm -f conf$$.dir 481 mkdir conf$$.dir 2>/dev/null 482fi 483if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 495 as_ln_s='cp -p' 496 fi 497else 498 as_ln_s='cp -p' 499fi 500rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 501rmdir conf$$.dir 2>/dev/null 502 503if mkdir -p . 2>/dev/null; then 504 as_mkdir_p='mkdir -p "$as_dir"' 505else 506 test -d ./-p && rmdir ./-p 507 as_mkdir_p=false 508fi 509 510if test -x / >/dev/null 2>&1; then 511 as_test_x='test -x' 512else 513 if ls -dL / >/dev/null 2>&1; then 514 as_ls_L_option=L 515 else 516 as_ls_L_option= 517 fi 518 as_test_x=' 519 eval sh -c '\'' 520 if test -d "$1"; then 521 test -d "$1/."; 522 else 523 case $1 in #( 524 -*)set "./$1";; 525 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 527 ???[sx]*):;;*)false;;esac;fi 528 '\'' sh 529 ' 530fi 531as_executable_p=$as_test_x 532 533# Sed expression to map a string onto a valid CPP name. 534as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 535 536# Sed expression to map a string onto a valid variable name. 537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 538 539SHELL=${CONFIG_SHELL-/bin/sh} 540 541 542test -n "$DJDIR" || exec 7<&0 </dev/null 543exec 6>&1 544 545# Name of the host. 546# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 547# so uname gets run too. 548ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 549 550# 551# Initializations. 552# 553ac_default_prefix=/usr/local 554ac_clean_files= 555ac_config_libobj_dir=. 556LIBOBJS= 557cross_compiling=no 558subdirs= 559MFLAGS= 560MAKEFLAGS= 561 562# Identity of this package. 563PACKAGE_NAME='perlfilter' 564PACKAGE_TARNAME='perlfilter' 565PACKAGE_VERSION='0.10' 566PACKAGE_STRING='perlfilter 0.10' 567PACKAGE_BUGREPORT='courier-users@lists.sourceforge.net' 568PACKAGE_URL='' 569 570ac_unique_file="perlfilter.c" 571# Factoring default headers for most tests. 572ac_includes_default="\ 573#include <stdio.h> 574#ifdef HAVE_SYS_TYPES_H 575# include <sys/types.h> 576#endif 577#ifdef HAVE_SYS_STAT_H 578# include <sys/stat.h> 579#endif 580#ifdef STDC_HEADERS 581# include <stdlib.h> 582# include <stddef.h> 583#else 584# ifdef HAVE_STDLIB_H 585# include <stdlib.h> 586# endif 587#endif 588#ifdef HAVE_STRING_H 589# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 590# include <memory.h> 591# endif 592# include <string.h> 593#endif 594#ifdef HAVE_STRINGS_H 595# include <strings.h> 596#endif 597#ifdef HAVE_INTTYPES_H 598# include <inttypes.h> 599#endif 600#ifdef HAVE_STDINT_H 601# include <stdint.h> 602#endif 603#ifdef HAVE_UNISTD_H 604# include <unistd.h> 605#endif" 606 607ac_subst_vars='am__EXEEXT_FALSE 608am__EXEEXT_TRUE 609LTLIBOBJS 610LIBOBJS 611mailgroup 612mailuser 613perlfilter_prog 614PERL_LDFLAGS 615PERL 616CPP 617OTOOL64 618OTOOL 619LIPO 620NMEDIT 621DSYMUTIL 622RANLIB 623AR 624OBJDUMP 625NM 626ac_ct_DUMPBIN 627DUMPBIN 628LD 629FGREP 630EGREP 631GREP 632SED 633host_os 634host_vendor 635host_cpu 636host 637build_os 638build_vendor 639build_cpu 640build 641LIBTOOL 642LN_S 643am__fastdepCC_FALSE 644am__fastdepCC_TRUE 645CCDEPMODE 646AMDEPBACKSLASH 647AMDEP_FALSE 648AMDEP_TRUE 649am__quote 650am__include 651DEPDIR 652OBJEXT 653EXEEXT 654ac_ct_CC 655CPPFLAGS 656LDFLAGS 657CFLAGS 658CC 659am__untar 660am__tar 661AMTAR 662am__leading_dot 663SET_MAKE 664AWK 665mkdir_p 666MKDIR_P 667INSTALL_STRIP_PROGRAM 668STRIP 669install_sh 670MAKEINFO 671AUTOHEADER 672AUTOMAKE 673AUTOCONF 674ACLOCAL 675VERSION 676PACKAGE 677CYGPATH_W 678am__isrc 679INSTALL_DATA 680INSTALL_SCRIPT 681INSTALL_PROGRAM 682target_alias 683host_alias 684build_alias 685LIBS 686ECHO_T 687ECHO_N 688ECHO_C 689DEFS 690mandir 691localedir 692libdir 693psdir 694pdfdir 695dvidir 696htmldir 697infodir 698docdir 699oldincludedir 700includedir 701localstatedir 702sharedstatedir 703sysconfdir 704datadir 705datarootdir 706libexecdir 707sbindir 708bindir 709program_transform_name 710prefix 711exec_prefix 712PACKAGE_URL 713PACKAGE_BUGREPORT 714PACKAGE_STRING 715PACKAGE_VERSION 716PACKAGE_TARNAME 717PACKAGE_NAME 718PATH_SEPARATOR 719SHELL' 720ac_subst_files='' 721ac_user_opts=' 722enable_option_checking 723enable_dependency_tracking 724enable_shared 725enable_static 726with_pic 727enable_fast_install 728with_gnu_ld 729enable_libtool_lock 730with_perlfilter 731with_mailuser 732with_mailgroup 733' 734 ac_precious_vars='build_alias 735host_alias 736target_alias 737CC 738CFLAGS 739LDFLAGS 740LIBS 741CPPFLAGS 742CPP' 743 744 745# Initialize some variables set by options. 746ac_init_help= 747ac_init_version=false 748ac_unrecognized_opts= 749ac_unrecognized_sep= 750# The variables have the same names as the options, with 751# dashes changed to underlines. 752cache_file=/dev/null 753exec_prefix=NONE 754no_create= 755no_recursion= 756prefix=NONE 757program_prefix=NONE 758program_suffix=NONE 759program_transform_name=s,x,x, 760silent= 761site= 762srcdir= 763verbose= 764x_includes=NONE 765x_libraries=NONE 766 767# Installation directory options. 768# These are left unexpanded so users can "make install exec_prefix=/foo" 769# and all the variables that are supposed to be based on exec_prefix 770# by default will actually change. 771# Use braces instead of parens because sh, perl, etc. also accept them. 772# (The list follows the same order as the GNU Coding Standards.) 773bindir='${exec_prefix}/bin' 774sbindir='${exec_prefix}/sbin' 775libexecdir='${exec_prefix}/libexec' 776datarootdir='${prefix}/share' 777datadir='${datarootdir}' 778sysconfdir='${prefix}/etc' 779sharedstatedir='${prefix}/com' 780localstatedir='${prefix}/var' 781includedir='${prefix}/include' 782oldincludedir='/usr/include' 783docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 784infodir='${datarootdir}/info' 785htmldir='${docdir}' 786dvidir='${docdir}' 787pdfdir='${docdir}' 788psdir='${docdir}' 789libdir='${exec_prefix}/lib' 790localedir='${datarootdir}/locale' 791mandir='${datarootdir}/man' 792 793ac_prev= 794ac_dashdash= 795for ac_option 796do 797 # If the previous option needs an argument, assign it. 798 if test -n "$ac_prev"; then 799 eval $ac_prev=\$ac_option 800 ac_prev= 801 continue 802 fi 803 804 case $ac_option in 805 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 806 *) ac_optarg=yes ;; 807 esac 808 809 # Accept the important Cygnus configure options, so we can diagnose typos. 810 811 case $ac_dashdash$ac_option in 812 --) 813 ac_dashdash=yes ;; 814 815 -bindir | --bindir | --bindi | --bind | --bin | --bi) 816 ac_prev=bindir ;; 817 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 818 bindir=$ac_optarg ;; 819 820 -build | --build | --buil | --bui | --bu) 821 ac_prev=build_alias ;; 822 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 823 build_alias=$ac_optarg ;; 824 825 -cache-file | --cache-file | --cache-fil | --cache-fi \ 826 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 827 ac_prev=cache_file ;; 828 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 829 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 830 cache_file=$ac_optarg ;; 831 832 --config-cache | -C) 833 cache_file=config.cache ;; 834 835 -datadir | --datadir | --datadi | --datad) 836 ac_prev=datadir ;; 837 -datadir=* | --datadir=* | --datadi=* | --datad=*) 838 datadir=$ac_optarg ;; 839 840 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 841 | --dataroo | --dataro | --datar) 842 ac_prev=datarootdir ;; 843 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 844 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 845 datarootdir=$ac_optarg ;; 846 847 -disable-* | --disable-*) 848 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 849 # Reject names that are not valid shell variable names. 850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 851 as_fn_error $? "invalid feature name: $ac_useropt" 852 ac_useropt_orig=$ac_useropt 853 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 854 case $ac_user_opts in 855 *" 856"enable_$ac_useropt" 857"*) ;; 858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 859 ac_unrecognized_sep=', ';; 860 esac 861 eval enable_$ac_useropt=no ;; 862 863 -docdir | --docdir | --docdi | --doc | --do) 864 ac_prev=docdir ;; 865 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 866 docdir=$ac_optarg ;; 867 868 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 869 ac_prev=dvidir ;; 870 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 871 dvidir=$ac_optarg ;; 872 873 -enable-* | --enable-*) 874 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 875 # Reject names that are not valid shell variable names. 876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 877 as_fn_error $? "invalid feature name: $ac_useropt" 878 ac_useropt_orig=$ac_useropt 879 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 880 case $ac_user_opts in 881 *" 882"enable_$ac_useropt" 883"*) ;; 884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 885 ac_unrecognized_sep=', ';; 886 esac 887 eval enable_$ac_useropt=\$ac_optarg ;; 888 889 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 890 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 891 | --exec | --exe | --ex) 892 ac_prev=exec_prefix ;; 893 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 894 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 895 | --exec=* | --exe=* | --ex=*) 896 exec_prefix=$ac_optarg ;; 897 898 -gas | --gas | --ga | --g) 899 # Obsolete; use --with-gas. 900 with_gas=yes ;; 901 902 -help | --help | --hel | --he | -h) 903 ac_init_help=long ;; 904 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 905 ac_init_help=recursive ;; 906 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 907 ac_init_help=short ;; 908 909 -host | --host | --hos | --ho) 910 ac_prev=host_alias ;; 911 -host=* | --host=* | --hos=* | --ho=*) 912 host_alias=$ac_optarg ;; 913 914 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 915 ac_prev=htmldir ;; 916 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 917 | --ht=*) 918 htmldir=$ac_optarg ;; 919 920 -includedir | --includedir | --includedi | --included | --include \ 921 | --includ | --inclu | --incl | --inc) 922 ac_prev=includedir ;; 923 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 924 | --includ=* | --inclu=* | --incl=* | --inc=*) 925 includedir=$ac_optarg ;; 926 927 -infodir | --infodir | --infodi | --infod | --info | --inf) 928 ac_prev=infodir ;; 929 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 930 infodir=$ac_optarg ;; 931 932 -libdir | --libdir | --libdi | --libd) 933 ac_prev=libdir ;; 934 -libdir=* | --libdir=* | --libdi=* | --libd=*) 935 libdir=$ac_optarg ;; 936 937 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 938 | --libexe | --libex | --libe) 939 ac_prev=libexecdir ;; 940 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 941 | --libexe=* | --libex=* | --libe=*) 942 libexecdir=$ac_optarg ;; 943 944 -localedir | --localedir | --localedi | --localed | --locale) 945 ac_prev=localedir ;; 946 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 947 localedir=$ac_optarg ;; 948 949 -localstatedir | --localstatedir | --localstatedi | --localstated \ 950 | --localstate | --localstat | --localsta | --localst | --locals) 951 ac_prev=localstatedir ;; 952 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 953 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 954 localstatedir=$ac_optarg ;; 955 956 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 957 ac_prev=mandir ;; 958 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 959 mandir=$ac_optarg ;; 960 961 -nfp | --nfp | --nf) 962 # Obsolete; use --without-fp. 963 with_fp=no ;; 964 965 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 966 | --no-cr | --no-c | -n) 967 no_create=yes ;; 968 969 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 970 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 971 no_recursion=yes ;; 972 973 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 974 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 975 | --oldin | --oldi | --old | --ol | --o) 976 ac_prev=oldincludedir ;; 977 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 978 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 979 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 980 oldincludedir=$ac_optarg ;; 981 982 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 983 ac_prev=prefix ;; 984 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 985 prefix=$ac_optarg ;; 986 987 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 988 | --program-pre | --program-pr | --program-p) 989 ac_prev=program_prefix ;; 990 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 991 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 992 program_prefix=$ac_optarg ;; 993 994 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 995 | --program-suf | --program-su | --program-s) 996 ac_prev=program_suffix ;; 997 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 998 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 999 program_suffix=$ac_optarg ;; 1000 1001 -program-transform-name | --program-transform-name \ 1002 | --program-transform-nam | --program-transform-na \ 1003 | --program-transform-n | --program-transform- \ 1004 | --program-transform | --program-transfor \ 1005 | --program-transfo | --program-transf \ 1006 | --program-trans | --program-tran \ 1007 | --progr-tra | --program-tr | --program-t) 1008 ac_prev=program_transform_name ;; 1009 -program-transform-name=* | --program-transform-name=* \ 1010 | --program-transform-nam=* | --program-transform-na=* \ 1011 | --program-transform-n=* | --program-transform-=* \ 1012 | --program-transform=* | --program-transfor=* \ 1013 | --program-transfo=* | --program-transf=* \ 1014 | --program-trans=* | --program-tran=* \ 1015 | --progr-tra=* | --program-tr=* | --program-t=*) 1016 program_transform_name=$ac_optarg ;; 1017 1018 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1019 ac_prev=pdfdir ;; 1020 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1021 pdfdir=$ac_optarg ;; 1022 1023 -psdir | --psdir | --psdi | --psd | --ps) 1024 ac_prev=psdir ;; 1025 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1026 psdir=$ac_optarg ;; 1027 1028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1029 | -silent | --silent | --silen | --sile | --sil) 1030 silent=yes ;; 1031 1032 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1033 ac_prev=sbindir ;; 1034 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1035 | --sbi=* | --sb=*) 1036 sbindir=$ac_optarg ;; 1037 1038 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1039 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1040 | --sharedst | --shareds | --shared | --share | --shar \ 1041 | --sha | --sh) 1042 ac_prev=sharedstatedir ;; 1043 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1044 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1045 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1046 | --sha=* | --sh=*) 1047 sharedstatedir=$ac_optarg ;; 1048 1049 -site | --site | --sit) 1050 ac_prev=site ;; 1051 -site=* | --site=* | --sit=*) 1052 site=$ac_optarg ;; 1053 1054 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1055 ac_prev=srcdir ;; 1056 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1057 srcdir=$ac_optarg ;; 1058 1059 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1060 | --syscon | --sysco | --sysc | --sys | --sy) 1061 ac_prev=sysconfdir ;; 1062 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1063 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1064 sysconfdir=$ac_optarg ;; 1065 1066 -target | --target | --targe | --targ | --tar | --ta | --t) 1067 ac_prev=target_alias ;; 1068 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1069 target_alias=$ac_optarg ;; 1070 1071 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1072 verbose=yes ;; 1073 1074 -version | --version | --versio | --versi | --vers | -V) 1075 ac_init_version=: ;; 1076 1077 -with-* | --with-*) 1078 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1079 # Reject names that are not valid shell variable names. 1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1081 as_fn_error $? "invalid package name: $ac_useropt" 1082 ac_useropt_orig=$ac_useropt 1083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1084 case $ac_user_opts in 1085 *" 1086"with_$ac_useropt" 1087"*) ;; 1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1089 ac_unrecognized_sep=', ';; 1090 esac 1091 eval with_$ac_useropt=\$ac_optarg ;; 1092 1093 -without-* | --without-*) 1094 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1095 # Reject names that are not valid shell variable names. 1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1097 as_fn_error $? "invalid package name: $ac_useropt" 1098 ac_useropt_orig=$ac_useropt 1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1100 case $ac_user_opts in 1101 *" 1102"with_$ac_useropt" 1103"*) ;; 1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1105 ac_unrecognized_sep=', ';; 1106 esac 1107 eval with_$ac_useropt=no ;; 1108 1109 --x) 1110 # Obsolete; use --with-x. 1111 with_x=yes ;; 1112 1113 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1114 | --x-incl | --x-inc | --x-in | --x-i) 1115 ac_prev=x_includes ;; 1116 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1117 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1118 x_includes=$ac_optarg ;; 1119 1120 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1121 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1122 ac_prev=x_libraries ;; 1123 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1124 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1125 x_libraries=$ac_optarg ;; 1126 1127 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1128Try \`$0 --help' for more information" 1129 ;; 1130 1131 *=*) 1132 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1133 # Reject names that are not valid shell variable names. 1134 case $ac_envvar in #( 1135 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1136 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1137 esac 1138 eval $ac_envvar=\$ac_optarg 1139 export $ac_envvar ;; 1140 1141 *) 1142 # FIXME: should be removed in autoconf 3.0. 1143 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1144 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1145 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1146 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1147 ;; 1148 1149 esac 1150done 1151 1152if test -n "$ac_prev"; then 1153 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1154 as_fn_error $? "missing argument to $ac_option" 1155fi 1156 1157if test -n "$ac_unrecognized_opts"; then 1158 case $enable_option_checking in 1159 no) ;; 1160 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1161 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1162 esac 1163fi 1164 1165# Check all directory arguments for consistency. 1166for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1167 datadir sysconfdir sharedstatedir localstatedir includedir \ 1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1169 libdir localedir mandir 1170do 1171 eval ac_val=\$$ac_var 1172 # Remove trailing slashes. 1173 case $ac_val in 1174 */ ) 1175 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1176 eval $ac_var=\$ac_val;; 1177 esac 1178 # Be sure to have absolute directory names. 1179 case $ac_val in 1180 [\\/$]* | ?:[\\/]* ) continue;; 1181 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1182 esac 1183 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1184done 1185 1186# There might be people who depend on the old broken behavior: `$host' 1187# used to hold the argument of --host etc. 1188# FIXME: To remove some day. 1189build=$build_alias 1190host=$host_alias 1191target=$target_alias 1192 1193# FIXME: To remove some day. 1194if test "x$host_alias" != x; then 1195 if test "x$build_alias" = x; then 1196 cross_compiling=maybe 1197 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1198 If a cross compiler is detected then cross compile mode will be used" >&2 1199 elif test "x$build_alias" != "x$host_alias"; then 1200 cross_compiling=yes 1201 fi 1202fi 1203 1204ac_tool_prefix= 1205test -n "$host_alias" && ac_tool_prefix=$host_alias- 1206 1207test "$silent" = yes && exec 6>/dev/null 1208 1209 1210ac_pwd=`pwd` && test -n "$ac_pwd" && 1211ac_ls_di=`ls -di .` && 1212ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1213 as_fn_error $? "working directory cannot be determined" 1214test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1215 as_fn_error $? "pwd does not report name of working directory" 1216 1217 1218# Find the source files, if location was not specified. 1219if test -z "$srcdir"; then 1220 ac_srcdir_defaulted=yes 1221 # Try the directory containing this script, then the parent directory. 1222 ac_confdir=`$as_dirname -- "$as_myself" || 1223$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1224 X"$as_myself" : 'X\(//\)[^/]' \| \ 1225 X"$as_myself" : 'X\(//\)$' \| \ 1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1227$as_echo X"$as_myself" | 1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1229 s//\1/ 1230 q 1231 } 1232 /^X\(\/\/\)[^/].*/{ 1233 s//\1/ 1234 q 1235 } 1236 /^X\(\/\/\)$/{ 1237 s//\1/ 1238 q 1239 } 1240 /^X\(\/\).*/{ 1241 s//\1/ 1242 q 1243 } 1244 s/.*/./; q'` 1245 srcdir=$ac_confdir 1246 if test ! -r "$srcdir/$ac_unique_file"; then 1247 srcdir=.. 1248 fi 1249else 1250 ac_srcdir_defaulted=no 1251fi 1252if test ! -r "$srcdir/$ac_unique_file"; then 1253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1254 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1255fi 1256ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1257ac_abs_confdir=`( 1258 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1259 pwd)` 1260# When building in place, set srcdir=. 1261if test "$ac_abs_confdir" = "$ac_pwd"; then 1262 srcdir=. 1263fi 1264# Remove unnecessary trailing slashes from srcdir. 1265# Double slashes in file names in object file debugging info 1266# mess up M-x gdb in Emacs. 1267case $srcdir in 1268*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1269esac 1270for ac_var in $ac_precious_vars; do 1271 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1272 eval ac_env_${ac_var}_value=\$${ac_var} 1273 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1274 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1275done 1276 1277# 1278# Report the --help message. 1279# 1280if test "$ac_init_help" = "long"; then 1281 # Omit some internal or obsolete options to make the list less imposing. 1282 # This message is too long to be a string in the A/UX 3.1 sh. 1283 cat <<_ACEOF 1284\`configure' configures perlfilter 0.10 to adapt to many kinds of systems. 1285 1286Usage: $0 [OPTION]... [VAR=VALUE]... 1287 1288To assign environment variables (e.g., CC, CFLAGS...), specify them as 1289VAR=VALUE. See below for descriptions of some of the useful variables. 1290 1291Defaults for the options are specified in brackets. 1292 1293Configuration: 1294 -h, --help display this help and exit 1295 --help=short display options specific to this package 1296 --help=recursive display the short help of all the included packages 1297 -V, --version display version information and exit 1298 -q, --quiet, --silent do not print \`checking ...' messages 1299 --cache-file=FILE cache test results in FILE [disabled] 1300 -C, --config-cache alias for \`--cache-file=config.cache' 1301 -n, --no-create do not create output files 1302 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1303 1304Installation directories: 1305 --prefix=PREFIX install architecture-independent files in PREFIX 1306 [$ac_default_prefix] 1307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1308 [PREFIX] 1309 1310By default, \`make install' will install all the files in 1311\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1312an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1313for instance \`--prefix=\$HOME'. 1314 1315For better control, use the options below. 1316 1317Fine tuning of the installation directories: 1318 --bindir=DIR user executables [EPREFIX/bin] 1319 --sbindir=DIR system admin executables [EPREFIX/sbin] 1320 --libexecdir=DIR program executables [EPREFIX/libexec] 1321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1324 --libdir=DIR object code libraries [EPREFIX/lib] 1325 --includedir=DIR C header files [PREFIX/include] 1326 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1327 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1328 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1329 --infodir=DIR info documentation [DATAROOTDIR/info] 1330 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1331 --mandir=DIR man documentation [DATAROOTDIR/man] 1332 --docdir=DIR documentation root [DATAROOTDIR/doc/perlfilter] 1333 --htmldir=DIR html documentation [DOCDIR] 1334 --dvidir=DIR dvi documentation [DOCDIR] 1335 --pdfdir=DIR pdf documentation [DOCDIR] 1336 --psdir=DIR ps documentation [DOCDIR] 1337_ACEOF 1338 1339 cat <<\_ACEOF 1340 1341Program names: 1342 --program-prefix=PREFIX prepend PREFIX to installed program names 1343 --program-suffix=SUFFIX append SUFFIX to installed program names 1344 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1345 1346System types: 1347 --build=BUILD configure for building on BUILD [guessed] 1348 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1349_ACEOF 1350fi 1351 1352if test -n "$ac_init_help"; then 1353 case $ac_init_help in 1354 short | recursive ) echo "Configuration of perlfilter 0.10:";; 1355 esac 1356 cat <<\_ACEOF 1357 1358Optional Features: 1359 --disable-option-checking ignore unrecognized --enable/--with options 1360 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1361 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1362 --disable-dependency-tracking speeds up one-time build 1363 --enable-dependency-tracking do not reject slow dependency extractors 1364 --enable-shared[=PKGS] build shared libraries [default=yes] 1365 --enable-static[=PKGS] build static libraries [default=yes] 1366 --enable-fast-install[=PKGS] 1367 optimize for fast installation [default=yes] 1368 --disable-libtool-lock avoid locking (might break parallel builds) 1369 1370Optional Packages: 1371 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1372 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1373 --with-pic try to use only PIC/non-PIC objects [default=use 1374 both] 1375 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1376 --without-perlfilter -- do not compile perlfilter 1377 1378 1379Some influential environment variables: 1380 CC C compiler command 1381 CFLAGS C compiler flags 1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1383 nonstandard directory <lib dir> 1384 LIBS libraries to pass to the linker, e.g. -l<library> 1385 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1386 you have headers in a nonstandard directory <include dir> 1387 CPP C preprocessor 1388 1389Use these variables to override the choices made by `configure' or to help 1390it to find libraries and programs with nonstandard names/locations. 1391 1392Report bugs to <courier-users@lists.sourceforge.net>. 1393_ACEOF 1394ac_status=$? 1395fi 1396 1397if test "$ac_init_help" = "recursive"; then 1398 # If there are subdirs, report their specific --help. 1399 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1400 test -d "$ac_dir" || 1401 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1402 continue 1403 ac_builddir=. 1404 1405case "$ac_dir" in 1406.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1407*) 1408 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1409 # A ".." for each directory in $ac_dir_suffix. 1410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1411 case $ac_top_builddir_sub in 1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1414 esac ;; 1415esac 1416ac_abs_top_builddir=$ac_pwd 1417ac_abs_builddir=$ac_pwd$ac_dir_suffix 1418# for backward compatibility: 1419ac_top_builddir=$ac_top_build_prefix 1420 1421case $srcdir in 1422 .) # We are building in place. 1423 ac_srcdir=. 1424 ac_top_srcdir=$ac_top_builddir_sub 1425 ac_abs_top_srcdir=$ac_pwd ;; 1426 [\\/]* | ?:[\\/]* ) # Absolute name. 1427 ac_srcdir=$srcdir$ac_dir_suffix; 1428 ac_top_srcdir=$srcdir 1429 ac_abs_top_srcdir=$srcdir ;; 1430 *) # Relative name. 1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1432 ac_top_srcdir=$ac_top_build_prefix$srcdir 1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1434esac 1435ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1436 1437 cd "$ac_dir" || { ac_status=$?; continue; } 1438 # Check for guested configure. 1439 if test -f "$ac_srcdir/configure.gnu"; then 1440 echo && 1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1442 elif test -f "$ac_srcdir/configure"; then 1443 echo && 1444 $SHELL "$ac_srcdir/configure" --help=recursive 1445 else 1446 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1447 fi || ac_status=$? 1448 cd "$ac_pwd" || { ac_status=$?; break; } 1449 done 1450fi 1451 1452test -n "$ac_init_help" && exit $ac_status 1453if $ac_init_version; then 1454 cat <<\_ACEOF 1455perlfilter configure 0.10 1456generated by GNU Autoconf 2.66 1457 1458Copyright (C) 2010 Free Software Foundation, Inc. 1459This configure script is free software; the Free Software Foundation 1460gives unlimited permission to copy, distribute and modify it. 1461_ACEOF 1462 exit 1463fi 1464 1465## ------------------------ ## 1466## Autoconf initialization. ## 1467## ------------------------ ## 1468 1469# ac_fn_c_try_compile LINENO 1470# -------------------------- 1471# Try to compile conftest.$ac_ext, and return whether this succeeded. 1472ac_fn_c_try_compile () 1473{ 1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1475 rm -f conftest.$ac_objext 1476 if { { ac_try="$ac_compile" 1477case "(($ac_try" in 1478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1479 *) ac_try_echo=$ac_try;; 1480esac 1481eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1482$as_echo "$ac_try_echo"; } >&5 1483 (eval "$ac_compile") 2>conftest.err 1484 ac_status=$? 1485 if test -s conftest.err; then 1486 grep -v '^ *+' conftest.err >conftest.er1 1487 cat conftest.er1 >&5 1488 mv -f conftest.er1 conftest.err 1489 fi 1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1491 test $ac_status = 0; } && { 1492 test -z "$ac_c_werror_flag" || 1493 test ! -s conftest.err 1494 } && test -s conftest.$ac_objext; then : 1495 ac_retval=0 1496else 1497 $as_echo "$as_me: failed program was:" >&5 1498sed 's/^/| /' conftest.$ac_ext >&5 1499 1500 ac_retval=1 1501fi 1502 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1503 as_fn_set_status $ac_retval 1504 1505} # ac_fn_c_try_compile 1506 1507# ac_fn_c_try_link LINENO 1508# ----------------------- 1509# Try to link conftest.$ac_ext, and return whether this succeeded. 1510ac_fn_c_try_link () 1511{ 1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1513 rm -f conftest.$ac_objext conftest$ac_exeext 1514 if { { ac_try="$ac_link" 1515case "(($ac_try" in 1516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1517 *) ac_try_echo=$ac_try;; 1518esac 1519eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1520$as_echo "$ac_try_echo"; } >&5 1521 (eval "$ac_link") 2>conftest.err 1522 ac_status=$? 1523 if test -s conftest.err; then 1524 grep -v '^ *+' conftest.err >conftest.er1 1525 cat conftest.er1 >&5 1526 mv -f conftest.er1 conftest.err 1527 fi 1528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1529 test $ac_status = 0; } && { 1530 test -z "$ac_c_werror_flag" || 1531 test ! -s conftest.err 1532 } && test -s conftest$ac_exeext && { 1533 test "$cross_compiling" = yes || 1534 $as_test_x conftest$ac_exeext 1535 }; then : 1536 ac_retval=0 1537else 1538 $as_echo "$as_me: failed program was:" >&5 1539sed 's/^/| /' conftest.$ac_ext >&5 1540 1541 ac_retval=1 1542fi 1543 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1544 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1545 # interfere with the next link command; also delete a directory that is 1546 # left behind by Apple's compiler. We do this before executing the actions. 1547 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1548 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1549 as_fn_set_status $ac_retval 1550 1551} # ac_fn_c_try_link 1552 1553# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1554# ------------------------------------------------------- 1555# Tests whether HEADER exists and can be compiled using the include files in 1556# INCLUDES, setting the cache variable VAR accordingly. 1557ac_fn_c_check_header_compile () 1558{ 1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1561$as_echo_n "checking for $2... " >&6; } 1562if eval "test \"\${$3+set}\"" = set; then : 1563 $as_echo_n "(cached) " >&6 1564else 1565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1566/* end confdefs.h. */ 1567$4 1568#include <$2> 1569_ACEOF 1570if ac_fn_c_try_compile "$LINENO"; then : 1571 eval "$3=yes" 1572else 1573 eval "$3=no" 1574fi 1575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1576fi 1577eval ac_res=\$$3 1578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1579$as_echo "$ac_res" >&6; } 1580 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1581 1582} # ac_fn_c_check_header_compile 1583 1584# ac_fn_c_try_cpp LINENO 1585# ---------------------- 1586# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1587ac_fn_c_try_cpp () 1588{ 1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1590 if { { ac_try="$ac_cpp conftest.$ac_ext" 1591case "(($ac_try" in 1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1593 *) ac_try_echo=$ac_try;; 1594esac 1595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1596$as_echo "$ac_try_echo"; } >&5 1597 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1598 ac_status=$? 1599 if test -s conftest.err; then 1600 grep -v '^ *+' conftest.err >conftest.er1 1601 cat conftest.er1 >&5 1602 mv -f conftest.er1 conftest.err 1603 fi 1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1605 test $ac_status = 0; } >/dev/null && { 1606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1607 test ! -s conftest.err 1608 }; then : 1609 ac_retval=0 1610else 1611 $as_echo "$as_me: failed program was:" >&5 1612sed 's/^/| /' conftest.$ac_ext >&5 1613 1614 ac_retval=1 1615fi 1616 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1617 as_fn_set_status $ac_retval 1618 1619} # ac_fn_c_try_cpp 1620 1621# ac_fn_c_try_run LINENO 1622# ---------------------- 1623# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1624# that executables *can* be run. 1625ac_fn_c_try_run () 1626{ 1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1628 if { { ac_try="$ac_link" 1629case "(($ac_try" in 1630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1631 *) ac_try_echo=$ac_try;; 1632esac 1633eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1634$as_echo "$ac_try_echo"; } >&5 1635 (eval "$ac_link") 2>&5 1636 ac_status=$? 1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1638 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1639 { { case "(($ac_try" in 1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1641 *) ac_try_echo=$ac_try;; 1642esac 1643eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1644$as_echo "$ac_try_echo"; } >&5 1645 (eval "$ac_try") 2>&5 1646 ac_status=$? 1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1648 test $ac_status = 0; }; }; then : 1649 ac_retval=0 1650else 1651 $as_echo "$as_me: program exited with status $ac_status" >&5 1652 $as_echo "$as_me: failed program was:" >&5 1653sed 's/^/| /' conftest.$ac_ext >&5 1654 1655 ac_retval=$ac_status 1656fi 1657 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1658 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1659 as_fn_set_status $ac_retval 1660 1661} # ac_fn_c_try_run 1662 1663# ac_fn_c_check_func LINENO FUNC VAR 1664# ---------------------------------- 1665# Tests whether FUNC exists, setting the cache variable VAR accordingly 1666ac_fn_c_check_func () 1667{ 1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1670$as_echo_n "checking for $2... " >&6; } 1671if eval "test \"\${$3+set}\"" = set; then : 1672 $as_echo_n "(cached) " >&6 1673else 1674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1675/* end confdefs.h. */ 1676/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1677 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1678#define $2 innocuous_$2 1679 1680/* System header to define __stub macros and hopefully few prototypes, 1681 which can conflict with char $2 (); below. 1682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1683 <limits.h> exists even on freestanding compilers. */ 1684 1685#ifdef __STDC__ 1686# include <limits.h> 1687#else 1688# include <assert.h> 1689#endif 1690 1691#undef $2 1692 1693/* Override any GCC internal prototype to avoid an error. 1694 Use char because int might match the return type of a GCC 1695 builtin and then its argument prototype would still apply. */ 1696#ifdef __cplusplus 1697extern "C" 1698#endif 1699char $2 (); 1700/* The GNU C library defines this for functions which it implements 1701 to always fail with ENOSYS. Some functions are actually named 1702 something starting with __ and the normal name is an alias. */ 1703#if defined __stub_$2 || defined __stub___$2 1704choke me 1705#endif 1706 1707int 1708main () 1709{ 1710return $2 (); 1711 ; 1712 return 0; 1713} 1714_ACEOF 1715if ac_fn_c_try_link "$LINENO"; then : 1716 eval "$3=yes" 1717else 1718 eval "$3=no" 1719fi 1720rm -f core conftest.err conftest.$ac_objext \ 1721 conftest$ac_exeext conftest.$ac_ext 1722fi 1723eval ac_res=\$$3 1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1725$as_echo "$ac_res" >&6; } 1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1727 1728} # ac_fn_c_check_func 1729cat >config.log <<_ACEOF 1730This file contains any messages produced by compilers while 1731running configure, to aid debugging if configure makes a mistake. 1732 1733It was created by perlfilter $as_me 0.10, which was 1734generated by GNU Autoconf 2.66. Invocation command line was 1735 1736 $ $0 $@ 1737 1738_ACEOF 1739exec 5>>config.log 1740{ 1741cat <<_ASUNAME 1742## --------- ## 1743## Platform. ## 1744## --------- ## 1745 1746hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1747uname -m = `(uname -m) 2>/dev/null || echo unknown` 1748uname -r = `(uname -r) 2>/dev/null || echo unknown` 1749uname -s = `(uname -s) 2>/dev/null || echo unknown` 1750uname -v = `(uname -v) 2>/dev/null || echo unknown` 1751 1752/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1753/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1754 1755/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1756/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1757/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1758/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1759/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1760/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1761/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1762 1763_ASUNAME 1764 1765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1766for as_dir in $PATH 1767do 1768 IFS=$as_save_IFS 1769 test -z "$as_dir" && as_dir=. 1770 $as_echo "PATH: $as_dir" 1771 done 1772IFS=$as_save_IFS 1773 1774} >&5 1775 1776cat >&5 <<_ACEOF 1777 1778 1779## ----------- ## 1780## Core tests. ## 1781## ----------- ## 1782 1783_ACEOF 1784 1785 1786# Keep a trace of the command line. 1787# Strip out --no-create and --no-recursion so they do not pile up. 1788# Strip out --silent because we don't want to record it for future runs. 1789# Also quote any args containing shell meta-characters. 1790# Make two passes to allow for proper duplicate-argument suppression. 1791ac_configure_args= 1792ac_configure_args0= 1793ac_configure_args1= 1794ac_must_keep_next=false 1795for ac_pass in 1 2 1796do 1797 for ac_arg 1798 do 1799 case $ac_arg in 1800 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1801 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1802 | -silent | --silent | --silen | --sile | --sil) 1803 continue ;; 1804 *\'*) 1805 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1806 esac 1807 case $ac_pass in 1808 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1809 2) 1810 as_fn_append ac_configure_args1 " '$ac_arg'" 1811 if test $ac_must_keep_next = true; then 1812 ac_must_keep_next=false # Got value, back to normal. 1813 else 1814 case $ac_arg in 1815 *=* | --config-cache | -C | -disable-* | --disable-* \ 1816 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1817 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1818 | -with-* | --with-* | -without-* | --without-* | --x) 1819 case "$ac_configure_args0 " in 1820 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1821 esac 1822 ;; 1823 -* ) ac_must_keep_next=true ;; 1824 esac 1825 fi 1826 as_fn_append ac_configure_args " '$ac_arg'" 1827 ;; 1828 esac 1829 done 1830done 1831{ ac_configure_args0=; unset ac_configure_args0;} 1832{ ac_configure_args1=; unset ac_configure_args1;} 1833 1834# When interrupted or exit'd, cleanup temporary files, and complete 1835# config.log. We remove comments because anyway the quotes in there 1836# would cause problems or look ugly. 1837# WARNING: Use '\'' to represent an apostrophe within the trap. 1838# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1839trap 'exit_status=$? 1840 # Save into config.log some information that might help in debugging. 1841 { 1842 echo 1843 1844 $as_echo "## ---------------- ## 1845## Cache variables. ## 1846## ---------------- ##" 1847 echo 1848 # The following way of writing the cache mishandles newlines in values, 1849( 1850 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1851 eval ac_val=\$$ac_var 1852 case $ac_val in #( 1853 *${as_nl}*) 1854 case $ac_var in #( 1855 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1856$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1857 esac 1858 case $ac_var in #( 1859 _ | IFS | as_nl) ;; #( 1860 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1861 *) { eval $ac_var=; unset $ac_var;} ;; 1862 esac ;; 1863 esac 1864 done 1865 (set) 2>&1 | 1866 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1867 *${as_nl}ac_space=\ *) 1868 sed -n \ 1869 "s/'\''/'\''\\\\'\'''\''/g; 1870 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1871 ;; #( 1872 *) 1873 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1874 ;; 1875 esac | 1876 sort 1877) 1878 echo 1879 1880 $as_echo "## ----------------- ## 1881## Output variables. ## 1882## ----------------- ##" 1883 echo 1884 for ac_var in $ac_subst_vars 1885 do 1886 eval ac_val=\$$ac_var 1887 case $ac_val in 1888 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1889 esac 1890 $as_echo "$ac_var='\''$ac_val'\''" 1891 done | sort 1892 echo 1893 1894 if test -n "$ac_subst_files"; then 1895 $as_echo "## ------------------- ## 1896## File substitutions. ## 1897## ------------------- ##" 1898 echo 1899 for ac_var in $ac_subst_files 1900 do 1901 eval ac_val=\$$ac_var 1902 case $ac_val in 1903 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1904 esac 1905 $as_echo "$ac_var='\''$ac_val'\''" 1906 done | sort 1907 echo 1908 fi 1909 1910 if test -s confdefs.h; then 1911 $as_echo "## ----------- ## 1912## confdefs.h. ## 1913## ----------- ##" 1914 echo 1915 cat confdefs.h 1916 echo 1917 fi 1918 test "$ac_signal" != 0 && 1919 $as_echo "$as_me: caught signal $ac_signal" 1920 $as_echo "$as_me: exit $exit_status" 1921 } >&5 1922 rm -f core *.core core.conftest.* && 1923 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1924 exit $exit_status 1925' 0 1926for ac_signal in 1 2 13 15; do 1927 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1928done 1929ac_signal=0 1930 1931# confdefs.h avoids OS command line length limits that DEFS can exceed. 1932rm -f -r conftest* confdefs.h 1933 1934$as_echo "/* confdefs.h */" > confdefs.h 1935 1936# Predefined preprocessor variables. 1937 1938cat >>confdefs.h <<_ACEOF 1939#define PACKAGE_NAME "$PACKAGE_NAME" 1940_ACEOF 1941 1942cat >>confdefs.h <<_ACEOF 1943#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1944_ACEOF 1945 1946cat >>confdefs.h <<_ACEOF 1947#define PACKAGE_VERSION "$PACKAGE_VERSION" 1948_ACEOF 1949 1950cat >>confdefs.h <<_ACEOF 1951#define PACKAGE_STRING "$PACKAGE_STRING" 1952_ACEOF 1953 1954cat >>confdefs.h <<_ACEOF 1955#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1956_ACEOF 1957 1958cat >>confdefs.h <<_ACEOF 1959#define PACKAGE_URL "$PACKAGE_URL" 1960_ACEOF 1961 1962 1963# Let the site file select an alternate cache file if it wants to. 1964# Prefer an explicitly selected file to automatically selected ones. 1965ac_site_file1=NONE 1966ac_site_file2=NONE 1967if test -n "$CONFIG_SITE"; then 1968 # We do not want a PATH search for config.site. 1969 case $CONFIG_SITE in #(( 1970 -*) ac_site_file1=./$CONFIG_SITE;; 1971 */*) ac_site_file1=$CONFIG_SITE;; 1972 *) ac_site_file1=./$CONFIG_SITE;; 1973 esac 1974elif test "x$prefix" != xNONE; then 1975 ac_site_file1=$prefix/share/config.site 1976 ac_site_file2=$prefix/etc/config.site 1977else 1978 ac_site_file1=$ac_default_prefix/share/config.site 1979 ac_site_file2=$ac_default_prefix/etc/config.site 1980fi 1981for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1982do 1983 test "x$ac_site_file" = xNONE && continue 1984 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1986$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1987 sed 's/^/| /' "$ac_site_file" >&5 1988 . "$ac_site_file" \ 1989 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1990$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1991as_fn_error $? "failed to load site script $ac_site_file 1992See \`config.log' for more details" "$LINENO" 5; } 1993 fi 1994done 1995 1996if test -r "$cache_file"; then 1997 # Some versions of bash will fail to source /dev/null (special files 1998 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1999 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2000 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2001$as_echo "$as_me: loading cache $cache_file" >&6;} 2002 case $cache_file in 2003 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2004 *) . "./$cache_file";; 2005 esac 2006 fi 2007else 2008 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2009$as_echo "$as_me: creating cache $cache_file" >&6;} 2010 >$cache_file 2011fi 2012 2013# Check that the precious variables saved in the cache have kept the same 2014# value. 2015ac_cache_corrupted=false 2016for ac_var in $ac_precious_vars; do 2017 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2018 eval ac_new_set=\$ac_env_${ac_var}_set 2019 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2020 eval ac_new_val=\$ac_env_${ac_var}_value 2021 case $ac_old_set,$ac_new_set in 2022 set,) 2023 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2024$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2025 ac_cache_corrupted=: ;; 2026 ,set) 2027 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2028$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2029 ac_cache_corrupted=: ;; 2030 ,);; 2031 *) 2032 if test "x$ac_old_val" != "x$ac_new_val"; then 2033 # differences in whitespace do not lead to failure. 2034 ac_old_val_w=`echo x $ac_old_val` 2035 ac_new_val_w=`echo x $ac_new_val` 2036 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2037 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2038$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2039 ac_cache_corrupted=: 2040 else 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2042$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2043 eval $ac_var=\$ac_old_val 2044 fi 2045 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2046$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2047 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2048$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2049 fi;; 2050 esac 2051 # Pass precious variables to config.status. 2052 if test "$ac_new_set" = set; then 2053 case $ac_new_val in 2054 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2055 *) ac_arg=$ac_var=$ac_new_val ;; 2056 esac 2057 case " $ac_configure_args " in 2058 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2059 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2060 esac 2061 fi 2062done 2063if $ac_cache_corrupted; then 2064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2065$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2067$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2068 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2069fi 2070## -------------------- ## 2071## Main body of script. ## 2072## -------------------- ## 2073 2074ac_ext=c 2075ac_cpp='$CPP $CPPFLAGS' 2076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2078ac_compiler_gnu=$ac_cv_c_compiler_gnu 2079 2080 2081 2082>confdefs.h # Kill PACKAGE_ macros 2083 2084 2085ac_aux_dir= 2086for ac_dir in ../../.. "$srcdir"/../../..; do 2087 if test -f "$ac_dir/install-sh"; then 2088 ac_aux_dir=$ac_dir 2089 ac_install_sh="$ac_aux_dir/install-sh -c" 2090 break 2091 elif test -f "$ac_dir/install.sh"; then 2092 ac_aux_dir=$ac_dir 2093 ac_install_sh="$ac_aux_dir/install.sh -c" 2094 break 2095 elif test -f "$ac_dir/shtool"; then 2096 ac_aux_dir=$ac_dir 2097 ac_install_sh="$ac_aux_dir/shtool install -c" 2098 break 2099 fi 2100done 2101if test -z "$ac_aux_dir"; then 2102 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../.. \"$srcdir\"/../../.." "$LINENO" 5 2103fi 2104 2105# These three variables are undocumented and unsupported, 2106# and are intended to be withdrawn in a future Autoconf release. 2107# They can cause serious problems if a builder's source tree is in a directory 2108# whose full name contains unusual characters. 2109ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2110ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2111ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2112 2113 2114am__api_version='1.11' 2115 2116# Find a good install program. We prefer a C program (faster), 2117# so one script is as good as another. But avoid the broken or 2118# incompatible versions: 2119# SysV /etc/install, /usr/sbin/install 2120# SunOS /usr/etc/install 2121# IRIX /sbin/install 2122# AIX /bin/install 2123# AmigaOS /C/install, which installs bootblocks on floppy discs 2124# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2125# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2126# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2127# OS/2's system install, which has a completely different semantic 2128# ./install, which can be erroneously created by make from ./install.sh. 2129# Reject install programs that cannot install multiple files. 2130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2131$as_echo_n "checking for a BSD-compatible install... " >&6; } 2132if test -z "$INSTALL"; then 2133if test "${ac_cv_path_install+set}" = set; then : 2134 $as_echo_n "(cached) " >&6 2135else 2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2137for as_dir in $PATH 2138do 2139 IFS=$as_save_IFS 2140 test -z "$as_dir" && as_dir=. 2141 # Account for people who put trailing slashes in PATH elements. 2142case $as_dir/ in #(( 2143 ./ | .// | /[cC]/* | \ 2144 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2145 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2146 /usr/ucb/* ) ;; 2147 *) 2148 # OSF1 and SCO ODT 3.0 have their own names for install. 2149 # Don't use installbsd from OSF since it installs stuff as root 2150 # by default. 2151 for ac_prog in ginstall scoinst install; do 2152 for ac_exec_ext in '' $ac_executable_extensions; do 2153 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2154 if test $ac_prog = install && 2155 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2156 # AIX install. It has an incompatible calling convention. 2157 : 2158 elif test $ac_prog = install && 2159 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2160 # program-specific install script used by HP pwplus--don't use. 2161 : 2162 else 2163 rm -rf conftest.one conftest.two conftest.dir 2164 echo one > conftest.one 2165 echo two > conftest.two 2166 mkdir conftest.dir 2167 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2168 test -s conftest.one && test -s conftest.two && 2169 test -s conftest.dir/conftest.one && 2170 test -s conftest.dir/conftest.two 2171 then 2172 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2173 break 3 2174 fi 2175 fi 2176 fi 2177 done 2178 done 2179 ;; 2180esac 2181 2182 done 2183IFS=$as_save_IFS 2184 2185rm -rf conftest.one conftest.two conftest.dir 2186 2187fi 2188 if test "${ac_cv_path_install+set}" = set; then 2189 INSTALL=$ac_cv_path_install 2190 else 2191 # As a last resort, use the slow shell script. Don't cache a 2192 # value for INSTALL within a source directory, because that will 2193 # break other packages using the cache if that directory is 2194 # removed, or if the value is a relative name. 2195 INSTALL=$ac_install_sh 2196 fi 2197fi 2198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2199$as_echo "$INSTALL" >&6; } 2200 2201# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2202# It thinks the first close brace ends the variable substitution. 2203test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2204 2205test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2206 2207test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2208 2209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2210$as_echo_n "checking whether build environment is sane... " >&6; } 2211# Just in case 2212sleep 1 2213echo timestamp > conftest.file 2214# Reject unsafe characters in $srcdir or the absolute working directory 2215# name. Accept space and tab only in the latter. 2216am_lf=' 2217' 2218case `pwd` in 2219 *[\\\"\#\$\&\'\`$am_lf]*) 2220 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2221esac 2222case $srcdir in 2223 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2224 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2225esac 2226 2227# Do `set' in a subshell so we don't clobber the current shell's 2228# arguments. Must try -L first in case configure is actually a 2229# symlink; some systems play weird games with the mod time of symlinks 2230# (eg FreeBSD returns the mod time of the symlink's containing 2231# directory). 2232if ( 2233 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2234 if test "$*" = "X"; then 2235 # -L didn't work. 2236 set X `ls -t "$srcdir/configure" conftest.file` 2237 fi 2238 rm -f conftest.file 2239 if test "$*" != "X $srcdir/configure conftest.file" \ 2240 && test "$*" != "X conftest.file $srcdir/configure"; then 2241 2242 # If neither matched, then we have a broken ls. This can happen 2243 # if, for instance, CONFIG_SHELL is bash and it inherits a 2244 # broken ls alias from the environment. This has actually 2245 # happened. Such a system could not be considered "sane". 2246 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2247alias in your environment" "$LINENO" 5 2248 fi 2249 2250 test "$2" = conftest.file 2251 ) 2252then 2253 # Ok. 2254 : 2255else 2256 as_fn_error $? "newly created file is older than distributed files! 2257Check your system clock" "$LINENO" 5 2258fi 2259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2260$as_echo "yes" >&6; } 2261test "$program_prefix" != NONE && 2262 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2263# Use a double $ so make ignores it. 2264test "$program_suffix" != NONE && 2265 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2266# Double any \ or $. 2267# By default was `s,x,x', remove it if useless. 2268ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2269program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2270 2271# expand $ac_aux_dir to an absolute path 2272am_aux_dir=`cd $ac_aux_dir && pwd` 2273 2274if test x"${MISSING+set}" != xset; then 2275 case $am_aux_dir in 2276 *\ * | *\ *) 2277 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2278 *) 2279 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2280 esac 2281fi 2282# Use eval to expand $SHELL 2283if eval "$MISSING --run true"; then 2284 am_missing_run="$MISSING --run " 2285else 2286 am_missing_run= 2287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2288$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2289fi 2290 2291if test x"${install_sh}" != xset; then 2292 case $am_aux_dir in 2293 *\ * | *\ *) 2294 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2295 *) 2296 install_sh="\${SHELL} $am_aux_dir/install-sh" 2297 esac 2298fi 2299 2300# Installed binaries are usually stripped using `strip' when the user 2301# run `make install-strip'. However `strip' might not be the right 2302# tool to use in cross-compilation environments, therefore Automake 2303# will honor the `STRIP' environment variable to overrule this program. 2304if test "$cross_compiling" != no; then 2305 if test -n "$ac_tool_prefix"; then 2306 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2307set dummy ${ac_tool_prefix}strip; ac_word=$2 2308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2309$as_echo_n "checking for $ac_word... " >&6; } 2310if test "${ac_cv_prog_STRIP+set}" = set; then : 2311 $as_echo_n "(cached) " >&6 2312else 2313 if test -n "$STRIP"; then 2314 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2315else 2316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2317for as_dir in $PATH 2318do 2319 IFS=$as_save_IFS 2320 test -z "$as_dir" && as_dir=. 2321 for ac_exec_ext in '' $ac_executable_extensions; do 2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2323 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2325 break 2 2326 fi 2327done 2328 done 2329IFS=$as_save_IFS 2330 2331fi 2332fi 2333STRIP=$ac_cv_prog_STRIP 2334if test -n "$STRIP"; then 2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2336$as_echo "$STRIP" >&6; } 2337else 2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2339$as_echo "no" >&6; } 2340fi 2341 2342 2343fi 2344if test -z "$ac_cv_prog_STRIP"; then 2345 ac_ct_STRIP=$STRIP 2346 # Extract the first word of "strip", so it can be a program name with args. 2347set dummy strip; ac_word=$2 2348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2349$as_echo_n "checking for $ac_word... " >&6; } 2350if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2351 $as_echo_n "(cached) " >&6 2352else 2353 if test -n "$ac_ct_STRIP"; then 2354 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2355else 2356as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2357for as_dir in $PATH 2358do 2359 IFS=$as_save_IFS 2360 test -z "$as_dir" && as_dir=. 2361 for ac_exec_ext in '' $ac_executable_extensions; do 2362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2363 ac_cv_prog_ac_ct_STRIP="strip" 2364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2365 break 2 2366 fi 2367done 2368 done 2369IFS=$as_save_IFS 2370 2371fi 2372fi 2373ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2374if test -n "$ac_ct_STRIP"; then 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2376$as_echo "$ac_ct_STRIP" >&6; } 2377else 2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2379$as_echo "no" >&6; } 2380fi 2381 2382 if test "x$ac_ct_STRIP" = x; then 2383 STRIP=":" 2384 else 2385 case $cross_compiling:$ac_tool_warned in 2386yes:) 2387{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2388$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2389ac_tool_warned=yes ;; 2390esac 2391 STRIP=$ac_ct_STRIP 2392 fi 2393else 2394 STRIP="$ac_cv_prog_STRIP" 2395fi 2396 2397fi 2398INSTALL_STRIP_PROGRAM="install -s -m 555 -s" 2399 2400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2401$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2402if test -z "$MKDIR_P"; then 2403 if test "${ac_cv_path_mkdir+set}" = set; then : 2404 $as_echo_n "(cached) " >&6 2405else 2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2407for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2408do 2409 IFS=$as_save_IFS 2410 test -z "$as_dir" && as_dir=. 2411 for ac_prog in mkdir gmkdir; do 2412 for ac_exec_ext in '' $ac_executable_extensions; do 2413 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2414 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2415 'mkdir (GNU coreutils) '* | \ 2416 'mkdir (coreutils) '* | \ 2417 'mkdir (fileutils) '4.1*) 2418 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2419 break 3;; 2420 esac 2421 done 2422 done 2423 done 2424IFS=$as_save_IFS 2425 2426fi 2427 2428 test -d ./--version && rmdir ./--version 2429 if test "${ac_cv_path_mkdir+set}" = set; then 2430 MKDIR_P="$ac_cv_path_mkdir -p" 2431 else 2432 # As a last resort, use the slow shell script. Don't cache a 2433 # value for MKDIR_P within a source directory, because that will 2434 # break other packages using the cache if that directory is 2435 # removed, or if the value is a relative name. 2436 MKDIR_P="$ac_install_sh -d" 2437 fi 2438fi 2439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2440$as_echo "$MKDIR_P" >&6; } 2441 2442mkdir_p="$MKDIR_P" 2443case $mkdir_p in 2444 [\\/$]* | ?:[\\/]*) ;; 2445 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2446esac 2447 2448for ac_prog in gawk mawk nawk awk 2449do 2450 # Extract the first word of "$ac_prog", so it can be a program name with args. 2451set dummy $ac_prog; ac_word=$2 2452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2453$as_echo_n "checking for $ac_word... " >&6; } 2454if test "${ac_cv_prog_AWK+set}" = set; then : 2455 $as_echo_n "(cached) " >&6 2456else 2457 if test -n "$AWK"; then 2458 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2459else 2460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2461for as_dir in $PATH 2462do 2463 IFS=$as_save_IFS 2464 test -z "$as_dir" && as_dir=. 2465 for ac_exec_ext in '' $ac_executable_extensions; do 2466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2467 ac_cv_prog_AWK="$ac_prog" 2468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2469 break 2 2470 fi 2471done 2472 done 2473IFS=$as_save_IFS 2474 2475fi 2476fi 2477AWK=$ac_cv_prog_AWK 2478if test -n "$AWK"; then 2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2480$as_echo "$AWK" >&6; } 2481else 2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2483$as_echo "no" >&6; } 2484fi 2485 2486 2487 test -n "$AWK" && break 2488done 2489 2490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2491$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2492set x ${MAKE-make} 2493ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2494if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 2495 $as_echo_n "(cached) " >&6 2496else 2497 cat >conftest.make <<\_ACEOF 2498SHELL = /bin/sh 2499all: 2500 @echo '@@@%%%=$(MAKE)=@@@%%%' 2501_ACEOF 2502# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2503case `${MAKE-make} -f conftest.make 2>/dev/null` in 2504 *@@@%%%=?*=@@@%%%*) 2505 eval ac_cv_prog_make_${ac_make}_set=yes;; 2506 *) 2507 eval ac_cv_prog_make_${ac_make}_set=no;; 2508esac 2509rm -f conftest.make 2510fi 2511if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2513$as_echo "yes" >&6; } 2514 SET_MAKE= 2515else 2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2517$as_echo "no" >&6; } 2518 SET_MAKE="MAKE=${MAKE-make}" 2519fi 2520 2521rm -rf .tst 2>/dev/null 2522mkdir .tst 2>/dev/null 2523if test -d .tst; then 2524 am__leading_dot=. 2525else 2526 am__leading_dot=_ 2527fi 2528rmdir .tst 2>/dev/null 2529 2530if test "`cd $srcdir && pwd`" != "`pwd`"; then 2531 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2532 # is not polluted with repeated "-I." 2533 am__isrc=' -I$(srcdir)' 2534 # test to see if srcdir already configured 2535 if test -f $srcdir/config.status; then 2536 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2537 fi 2538fi 2539 2540# test whether we have cygpath 2541if test -z "$CYGPATH_W"; then 2542 if (cygpath --version) >/dev/null 2>/dev/null; then 2543 CYGPATH_W='cygpath -w' 2544 else 2545 CYGPATH_W=echo 2546 fi 2547fi 2548 2549 2550# Define the identity of the package. 2551 PACKAGE='perlfilter' 2552 VERSION='0.10' 2553 2554 2555# Some tools Automake needs. 2556 2557ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2558 2559 2560AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2561 2562 2563AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2564 2565 2566AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2567 2568 2569MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2570 2571# We need awk for the "check" target. The system "awk" is bad on 2572# some platforms. 2573# Always define AMTAR for backward compatibility. 2574 2575AMTAR=${AMTAR-"${am_missing_run}tar"} 2576 2577am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2578 2579 2580 2581 2582 2583LPATH="$PATH:/usr/local/bin" 2584 2585ac_config_headers="$ac_config_headers config.h" 2586 2587 2588for ac_prog in gawk mawk nawk awk 2589do 2590 # Extract the first word of "$ac_prog", so it can be a program name with args. 2591set dummy $ac_prog; ac_word=$2 2592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2593$as_echo_n "checking for $ac_word... " >&6; } 2594if test "${ac_cv_prog_AWK+set}" = set; then : 2595 $as_echo_n "(cached) " >&6 2596else 2597 if test -n "$AWK"; then 2598 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2599else 2600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2601for as_dir in $PATH 2602do 2603 IFS=$as_save_IFS 2604 test -z "$as_dir" && as_dir=. 2605 for ac_exec_ext in '' $ac_executable_extensions; do 2606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2607 ac_cv_prog_AWK="$ac_prog" 2608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2609 break 2 2610 fi 2611done 2612 done 2613IFS=$as_save_IFS 2614 2615fi 2616fi 2617AWK=$ac_cv_prog_AWK 2618if test -n "$AWK"; then 2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2620$as_echo "$AWK" >&6; } 2621else 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2623$as_echo "no" >&6; } 2624fi 2625 2626 2627 test -n "$AWK" && break 2628done 2629 2630ac_ext=c 2631ac_cpp='$CPP $CPPFLAGS' 2632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2634ac_compiler_gnu=$ac_cv_c_compiler_gnu 2635if test -n "$ac_tool_prefix"; then 2636 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2637set dummy ${ac_tool_prefix}gcc; ac_word=$2 2638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2639$as_echo_n "checking for $ac_word... " >&6; } 2640if test "${ac_cv_prog_CC+set}" = set; then : 2641 $as_echo_n "(cached) " >&6 2642else 2643 if test -n "$CC"; then 2644 ac_cv_prog_CC="$CC" # Let the user override the test. 2645else 2646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2647for as_dir in $PATH 2648do 2649 IFS=$as_save_IFS 2650 test -z "$as_dir" && as_dir=. 2651 for ac_exec_ext in '' $ac_executable_extensions; do 2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2653 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2655 break 2 2656 fi 2657done 2658 done 2659IFS=$as_save_IFS 2660 2661fi 2662fi 2663CC=$ac_cv_prog_CC 2664if test -n "$CC"; then 2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2666$as_echo "$CC" >&6; } 2667else 2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2669$as_echo "no" >&6; } 2670fi 2671 2672 2673fi 2674if test -z "$ac_cv_prog_CC"; then 2675 ac_ct_CC=$CC 2676 # Extract the first word of "gcc", so it can be a program name with args. 2677set dummy gcc; ac_word=$2 2678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2679$as_echo_n "checking for $ac_word... " >&6; } 2680if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2681 $as_echo_n "(cached) " >&6 2682else 2683 if test -n "$ac_ct_CC"; then 2684 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2685else 2686as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2687for as_dir in $PATH 2688do 2689 IFS=$as_save_IFS 2690 test -z "$as_dir" && as_dir=. 2691 for ac_exec_ext in '' $ac_executable_extensions; do 2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2693 ac_cv_prog_ac_ct_CC="gcc" 2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2695 break 2 2696 fi 2697done 2698 done 2699IFS=$as_save_IFS 2700 2701fi 2702fi 2703ac_ct_CC=$ac_cv_prog_ac_ct_CC 2704if test -n "$ac_ct_CC"; then 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2706$as_echo "$ac_ct_CC" >&6; } 2707else 2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2709$as_echo "no" >&6; } 2710fi 2711 2712 if test "x$ac_ct_CC" = x; then 2713 CC="" 2714 else 2715 case $cross_compiling:$ac_tool_warned in 2716yes:) 2717{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2718$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2719ac_tool_warned=yes ;; 2720esac 2721 CC=$ac_ct_CC 2722 fi 2723else 2724 CC="$ac_cv_prog_CC" 2725fi 2726 2727if test -z "$CC"; then 2728 if test -n "$ac_tool_prefix"; then 2729 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2730set dummy ${ac_tool_prefix}cc; ac_word=$2 2731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2732$as_echo_n "checking for $ac_word... " >&6; } 2733if test "${ac_cv_prog_CC+set}" = set; then : 2734 $as_echo_n "(cached) " >&6 2735else 2736 if test -n "$CC"; then 2737 ac_cv_prog_CC="$CC" # Let the user override the test. 2738else 2739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2740for as_dir in $PATH 2741do 2742 IFS=$as_save_IFS 2743 test -z "$as_dir" && as_dir=. 2744 for ac_exec_ext in '' $ac_executable_extensions; do 2745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2746 ac_cv_prog_CC="${ac_tool_prefix}cc" 2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2748 break 2 2749 fi 2750done 2751 done 2752IFS=$as_save_IFS 2753 2754fi 2755fi 2756CC=$ac_cv_prog_CC 2757if test -n "$CC"; then 2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2759$as_echo "$CC" >&6; } 2760else 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2762$as_echo "no" >&6; } 2763fi 2764 2765 2766 fi 2767fi 2768if test -z "$CC"; then 2769 # Extract the first word of "cc", so it can be a program name with args. 2770set dummy cc; ac_word=$2 2771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2772$as_echo_n "checking for $ac_word... " >&6; } 2773if test "${ac_cv_prog_CC+set}" = set; then : 2774 $as_echo_n "(cached) " >&6 2775else 2776 if test -n "$CC"; then 2777 ac_cv_prog_CC="$CC" # Let the user override the test. 2778else 2779 ac_prog_rejected=no 2780as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2781for as_dir in $PATH 2782do 2783 IFS=$as_save_IFS 2784 test -z "$as_dir" && as_dir=. 2785 for ac_exec_ext in '' $ac_executable_extensions; do 2786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2787 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2788 ac_prog_rejected=yes 2789 continue 2790 fi 2791 ac_cv_prog_CC="cc" 2792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2793 break 2 2794 fi 2795done 2796 done 2797IFS=$as_save_IFS 2798 2799if test $ac_prog_rejected = yes; then 2800 # We found a bogon in the path, so make sure we never use it. 2801 set dummy $ac_cv_prog_CC 2802 shift 2803 if test $# != 0; then 2804 # We chose a different compiler from the bogus one. 2805 # However, it has the same basename, so the bogon will be chosen 2806 # first if we set CC to just the basename; use the full file name. 2807 shift 2808 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2809 fi 2810fi 2811fi 2812fi 2813CC=$ac_cv_prog_CC 2814if test -n "$CC"; then 2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2816$as_echo "$CC" >&6; } 2817else 2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2819$as_echo "no" >&6; } 2820fi 2821 2822 2823fi 2824if test -z "$CC"; then 2825 if test -n "$ac_tool_prefix"; then 2826 for ac_prog in cl.exe 2827 do 2828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2829set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2831$as_echo_n "checking for $ac_word... " >&6; } 2832if test "${ac_cv_prog_CC+set}" = set; then : 2833 $as_echo_n "(cached) " >&6 2834else 2835 if test -n "$CC"; then 2836 ac_cv_prog_CC="$CC" # Let the user override the test. 2837else 2838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2839for as_dir in $PATH 2840do 2841 IFS=$as_save_IFS 2842 test -z "$as_dir" && as_dir=. 2843 for ac_exec_ext in '' $ac_executable_extensions; do 2844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2845 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2847 break 2 2848 fi 2849done 2850 done 2851IFS=$as_save_IFS 2852 2853fi 2854fi 2855CC=$ac_cv_prog_CC 2856if test -n "$CC"; then 2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2858$as_echo "$CC" >&6; } 2859else 2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2861$as_echo "no" >&6; } 2862fi 2863 2864 2865 test -n "$CC" && break 2866 done 2867fi 2868if test -z "$CC"; then 2869 ac_ct_CC=$CC 2870 for ac_prog in cl.exe 2871do 2872 # Extract the first word of "$ac_prog", so it can be a program name with args. 2873set dummy $ac_prog; ac_word=$2 2874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2875$as_echo_n "checking for $ac_word... " >&6; } 2876if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2877 $as_echo_n "(cached) " >&6 2878else 2879 if test -n "$ac_ct_CC"; then 2880 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2881else 2882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2883for as_dir in $PATH 2884do 2885 IFS=$as_save_IFS 2886 test -z "$as_dir" && as_dir=. 2887 for ac_exec_ext in '' $ac_executable_extensions; do 2888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2889 ac_cv_prog_ac_ct_CC="$ac_prog" 2890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2891 break 2 2892 fi 2893done 2894 done 2895IFS=$as_save_IFS 2896 2897fi 2898fi 2899ac_ct_CC=$ac_cv_prog_ac_ct_CC 2900if test -n "$ac_ct_CC"; then 2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2902$as_echo "$ac_ct_CC" >&6; } 2903else 2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2905$as_echo "no" >&6; } 2906fi 2907 2908 2909 test -n "$ac_ct_CC" && break 2910done 2911 2912 if test "x$ac_ct_CC" = x; then 2913 CC="" 2914 else 2915 case $cross_compiling:$ac_tool_warned in 2916yes:) 2917{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2918$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2919ac_tool_warned=yes ;; 2920esac 2921 CC=$ac_ct_CC 2922 fi 2923fi 2924 2925fi 2926 2927 2928test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2929$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2930as_fn_error $? "no acceptable C compiler found in \$PATH 2931See \`config.log' for more details" "$LINENO" 5; } 2932 2933# Provide some information about the compiler. 2934$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2935set X $ac_compile 2936ac_compiler=$2 2937for ac_option in --version -v -V -qversion; do 2938 { { ac_try="$ac_compiler $ac_option >&5" 2939case "(($ac_try" in 2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2941 *) ac_try_echo=$ac_try;; 2942esac 2943eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2944$as_echo "$ac_try_echo"; } >&5 2945 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2946 ac_status=$? 2947 if test -s conftest.err; then 2948 sed '10a\ 2949... rest of stderr output deleted ... 2950 10q' conftest.err >conftest.er1 2951 cat conftest.er1 >&5 2952 fi 2953 rm -f conftest.er1 conftest.err 2954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2955 test $ac_status = 0; } 2956done 2957 2958cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2959/* end confdefs.h. */ 2960 2961int 2962main () 2963{ 2964 2965 ; 2966 return 0; 2967} 2968_ACEOF 2969ac_clean_files_save=$ac_clean_files 2970ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2971# Try to create an executable without -o first, disregard a.out. 2972# It will help us diagnose broken compilers, and finding out an intuition 2973# of exeext. 2974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2975$as_echo_n "checking whether the C compiler works... " >&6; } 2976ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2977 2978# The possible output files: 2979ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2980 2981ac_rmfiles= 2982for ac_file in $ac_files 2983do 2984 case $ac_file in 2985 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2986 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2987 esac 2988done 2989rm -f $ac_rmfiles 2990 2991if { { ac_try="$ac_link_default" 2992case "(($ac_try" in 2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2994 *) ac_try_echo=$ac_try;; 2995esac 2996eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2997$as_echo "$ac_try_echo"; } >&5 2998 (eval "$ac_link_default") 2>&5 2999 ac_status=$? 3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3001 test $ac_status = 0; }; then : 3002 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3003# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3004# in a Makefile. We should not override ac_cv_exeext if it was cached, 3005# so that the user can short-circuit this test for compilers unknown to 3006# Autoconf. 3007for ac_file in $ac_files '' 3008do 3009 test -f "$ac_file" || continue 3010 case $ac_file in 3011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3012 ;; 3013 [ab].out ) 3014 # We found the default executable, but exeext='' is most 3015 # certainly right. 3016 break;; 3017 *.* ) 3018 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3019 then :; else 3020 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3021 fi 3022 # We set ac_cv_exeext here because the later test for it is not 3023 # safe: cross compilers may not add the suffix if given an `-o' 3024 # argument, so we may need to know it at that point already. 3025 # Even if this section looks crufty: it has the advantage of 3026 # actually working. 3027 break;; 3028 * ) 3029 break;; 3030 esac 3031done 3032test "$ac_cv_exeext" = no && ac_cv_exeext= 3033 3034else 3035 ac_file='' 3036fi 3037if test -z "$ac_file"; then : 3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3039$as_echo "no" >&6; } 3040$as_echo "$as_me: failed program was:" >&5 3041sed 's/^/| /' conftest.$ac_ext >&5 3042 3043{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3044$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3045as_fn_error 77 "C compiler cannot create executables 3046See \`config.log' for more details" "$LINENO" 5; } 3047else 3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3049$as_echo "yes" >&6; } 3050fi 3051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3052$as_echo_n "checking for C compiler default output file name... " >&6; } 3053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3054$as_echo "$ac_file" >&6; } 3055ac_exeext=$ac_cv_exeext 3056 3057rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3058ac_clean_files=$ac_clean_files_save 3059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3060$as_echo_n "checking for suffix of executables... " >&6; } 3061if { { ac_try="$ac_link" 3062case "(($ac_try" in 3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3064 *) ac_try_echo=$ac_try;; 3065esac 3066eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3067$as_echo "$ac_try_echo"; } >&5 3068 (eval "$ac_link") 2>&5 3069 ac_status=$? 3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3071 test $ac_status = 0; }; then : 3072 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3073# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3074# work properly (i.e., refer to `conftest.exe'), while it won't with 3075# `rm'. 3076for ac_file in conftest.exe conftest conftest.*; do 3077 test -f "$ac_file" || continue 3078 case $ac_file in 3079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3080 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3081 break;; 3082 * ) break;; 3083 esac 3084done 3085else 3086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3087$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3088as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3089See \`config.log' for more details" "$LINENO" 5; } 3090fi 3091rm -f conftest conftest$ac_cv_exeext 3092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3093$as_echo "$ac_cv_exeext" >&6; } 3094 3095rm -f conftest.$ac_ext 3096EXEEXT=$ac_cv_exeext 3097ac_exeext=$EXEEXT 3098cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3099/* end confdefs.h. */ 3100#include <stdio.h> 3101int 3102main () 3103{ 3104FILE *f = fopen ("conftest.out", "w"); 3105 return ferror (f) || fclose (f) != 0; 3106 3107 ; 3108 return 0; 3109} 3110_ACEOF 3111ac_clean_files="$ac_clean_files conftest.out" 3112# Check that the compiler produces executables we can run. If not, either 3113# the compiler is broken, or we cross compile. 3114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3115$as_echo_n "checking whether we are cross compiling... " >&6; } 3116if test "$cross_compiling" != yes; then 3117 { { ac_try="$ac_link" 3118case "(($ac_try" in 3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3120 *) ac_try_echo=$ac_try;; 3121esac 3122eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3123$as_echo "$ac_try_echo"; } >&5 3124 (eval "$ac_link") 2>&5 3125 ac_status=$? 3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3127 test $ac_status = 0; } 3128 if { ac_try='./conftest$ac_cv_exeext' 3129 { { case "(($ac_try" in 3130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3131 *) ac_try_echo=$ac_try;; 3132esac 3133eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3134$as_echo "$ac_try_echo"; } >&5 3135 (eval "$ac_try") 2>&5 3136 ac_status=$? 3137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3138 test $ac_status = 0; }; }; then 3139 cross_compiling=no 3140 else 3141 if test "$cross_compiling" = maybe; then 3142 cross_compiling=yes 3143 else 3144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3145$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3146as_fn_error $? "cannot run C compiled programs. 3147If you meant to cross compile, use \`--host'. 3148See \`config.log' for more details" "$LINENO" 5; } 3149 fi 3150 fi 3151fi 3152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3153$as_echo "$cross_compiling" >&6; } 3154 3155rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3156ac_clean_files=$ac_clean_files_save 3157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3158$as_echo_n "checking for suffix of object files... " >&6; } 3159if test "${ac_cv_objext+set}" = set; then : 3160 $as_echo_n "(cached) " >&6 3161else 3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3163/* end confdefs.h. */ 3164 3165int 3166main () 3167{ 3168 3169 ; 3170 return 0; 3171} 3172_ACEOF 3173rm -f conftest.o conftest.obj 3174if { { ac_try="$ac_compile" 3175case "(($ac_try" in 3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3177 *) ac_try_echo=$ac_try;; 3178esac 3179eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3180$as_echo "$ac_try_echo"; } >&5 3181 (eval "$ac_compile") 2>&5 3182 ac_status=$? 3183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3184 test $ac_status = 0; }; then : 3185 for ac_file in conftest.o conftest.obj conftest.*; do 3186 test -f "$ac_file" || continue; 3187 case $ac_file in 3188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3190 break;; 3191 esac 3192done 3193else 3194 $as_echo "$as_me: failed program was:" >&5 3195sed 's/^/| /' conftest.$ac_ext >&5 3196 3197{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3198$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3199as_fn_error $? "cannot compute suffix of object files: cannot compile 3200See \`config.log' for more details" "$LINENO" 5; } 3201fi 3202rm -f conftest.$ac_cv_objext conftest.$ac_ext 3203fi 3204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3205$as_echo "$ac_cv_objext" >&6; } 3206OBJEXT=$ac_cv_objext 3207ac_objext=$OBJEXT 3208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3209$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3210if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3211 $as_echo_n "(cached) " >&6 3212else 3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3214/* end confdefs.h. */ 3215 3216int 3217main () 3218{ 3219#ifndef __GNUC__ 3220 choke me 3221#endif 3222 3223 ; 3224 return 0; 3225} 3226_ACEOF 3227if ac_fn_c_try_compile "$LINENO"; then : 3228 ac_compiler_gnu=yes 3229else 3230 ac_compiler_gnu=no 3231fi 3232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3233ac_cv_c_compiler_gnu=$ac_compiler_gnu 3234 3235fi 3236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3237$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3238if test $ac_compiler_gnu = yes; then 3239 GCC=yes 3240else 3241 GCC= 3242fi 3243ac_test_CFLAGS=${CFLAGS+set} 3244ac_save_CFLAGS=$CFLAGS 3245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3246$as_echo_n "checking whether $CC accepts -g... " >&6; } 3247if test "${ac_cv_prog_cc_g+set}" = set; then : 3248 $as_echo_n "(cached) " >&6 3249else 3250 ac_save_c_werror_flag=$ac_c_werror_flag 3251 ac_c_werror_flag=yes 3252 ac_cv_prog_cc_g=no 3253 CFLAGS="-g" 3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3255/* end confdefs.h. */ 3256 3257int 3258main () 3259{ 3260 3261 ; 3262 return 0; 3263} 3264_ACEOF 3265if ac_fn_c_try_compile "$LINENO"; then : 3266 ac_cv_prog_cc_g=yes 3267else 3268 CFLAGS="" 3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3270/* end confdefs.h. */ 3271 3272int 3273main () 3274{ 3275 3276 ; 3277 return 0; 3278} 3279_ACEOF 3280if ac_fn_c_try_compile "$LINENO"; then : 3281 3282else 3283 ac_c_werror_flag=$ac_save_c_werror_flag 3284 CFLAGS="-g" 3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3286/* end confdefs.h. */ 3287 3288int 3289main () 3290{ 3291 3292 ; 3293 return 0; 3294} 3295_ACEOF 3296if ac_fn_c_try_compile "$LINENO"; then : 3297 ac_cv_prog_cc_g=yes 3298fi 3299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3300fi 3301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3302fi 3303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3304 ac_c_werror_flag=$ac_save_c_werror_flag 3305fi 3306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3307$as_echo "$ac_cv_prog_cc_g" >&6; } 3308if test "$ac_test_CFLAGS" = set; then 3309 CFLAGS=$ac_save_CFLAGS 3310elif test $ac_cv_prog_cc_g = yes; then 3311 if test "$GCC" = yes; then 3312 CFLAGS="-g -O2" 3313 else 3314 CFLAGS="-g" 3315 fi 3316else 3317 if test "$GCC" = yes; then 3318 CFLAGS="-O2" 3319 else 3320 CFLAGS= 3321 fi 3322fi 3323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3324$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3325if test "${ac_cv_prog_cc_c89+set}" = set; then : 3326 $as_echo_n "(cached) " >&6 3327else 3328 ac_cv_prog_cc_c89=no 3329ac_save_CC=$CC 3330cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3331/* end confdefs.h. */ 3332#include <stdarg.h> 3333#include <stdio.h> 3334#include <sys/types.h> 3335#include <sys/stat.h> 3336/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3337struct buf { int x; }; 3338FILE * (*rcsopen) (struct buf *, struct stat *, int); 3339static char *e (p, i) 3340 char **p; 3341 int i; 3342{ 3343 return p[i]; 3344} 3345static char *f (char * (*g) (char **, int), char **p, ...) 3346{ 3347 char *s; 3348 va_list v; 3349 va_start (v,p); 3350 s = g (p, va_arg (v,int)); 3351 va_end (v); 3352 return s; 3353} 3354 3355/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3356 function prototypes and stuff, but not '\xHH' hex character constants. 3357 These don't provoke an error unfortunately, instead are silently treated 3358 as 'x'. The following induces an error, until -std is added to get 3359 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3360 array size at least. It's necessary to write '\x00'==0 to get something 3361 that's true only with -std. */ 3362int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3363 3364/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3365 inside strings and character constants. */ 3366#define FOO(x) 'x' 3367int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3368 3369int test (int i, double x); 3370struct s1 {int (*f) (int a);}; 3371struct s2 {int (*f) (double a);}; 3372int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3373int argc; 3374char **argv; 3375int 3376main () 3377{ 3378return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3379 ; 3380 return 0; 3381} 3382_ACEOF 3383for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3384 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3385do 3386 CC="$ac_save_CC $ac_arg" 3387 if ac_fn_c_try_compile "$LINENO"; then : 3388 ac_cv_prog_cc_c89=$ac_arg 3389fi 3390rm -f core conftest.err conftest.$ac_objext 3391 test "x$ac_cv_prog_cc_c89" != "xno" && break 3392done 3393rm -f conftest.$ac_ext 3394CC=$ac_save_CC 3395 3396fi 3397# AC_CACHE_VAL 3398case "x$ac_cv_prog_cc_c89" in 3399 x) 3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3401$as_echo "none needed" >&6; } ;; 3402 xno) 3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3404$as_echo "unsupported" >&6; } ;; 3405 *) 3406 CC="$CC $ac_cv_prog_cc_c89" 3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3408$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3409esac 3410if test "x$ac_cv_prog_cc_c89" != xno; then : 3411 3412fi 3413 3414ac_ext=c 3415ac_cpp='$CPP $CPPFLAGS' 3416ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3417ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3418ac_compiler_gnu=$ac_cv_c_compiler_gnu 3419DEPDIR="${am__leading_dot}deps" 3420 3421ac_config_commands="$ac_config_commands depfiles" 3422 3423 3424am_make=${MAKE-make} 3425cat > confinc << 'END' 3426am__doit: 3427 @echo this is the am__doit target 3428.PHONY: am__doit 3429END 3430# If we don't find an include directive, just comment out the code. 3431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3432$as_echo_n "checking for style of include used by $am_make... " >&6; } 3433am__include="#" 3434am__quote= 3435_am_result=none 3436# First try GNU make style include. 3437echo "include confinc" > confmf 3438# Ignore all kinds of additional output from `make'. 3439case `$am_make -s -f confmf 2> /dev/null` in #( 3440*the\ am__doit\ target*) 3441 am__include=include 3442 am__quote= 3443 _am_result=GNU 3444 ;; 3445esac 3446# Now try BSD make style include. 3447if test "$am__include" = "#"; then 3448 echo '.include "confinc"' > confmf 3449 case `$am_make -s -f confmf 2> /dev/null` in #( 3450 *the\ am__doit\ target*) 3451 am__include=.include 3452 am__quote="\"" 3453 _am_result=BSD 3454 ;; 3455 esac 3456fi 3457 3458 3459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3460$as_echo "$_am_result" >&6; } 3461rm -f confinc confmf 3462 3463# Check whether --enable-dependency-tracking was given. 3464if test "${enable_dependency_tracking+set}" = set; then : 3465 enableval=$enable_dependency_tracking; 3466fi 3467 3468if test "x$enable_dependency_tracking" != xno; then 3469 am_depcomp="$ac_aux_dir/depcomp" 3470 AMDEPBACKSLASH='\' 3471fi 3472 if test "x$enable_dependency_tracking" != xno; then 3473 AMDEP_TRUE= 3474 AMDEP_FALSE='#' 3475else 3476 AMDEP_TRUE='#' 3477 AMDEP_FALSE= 3478fi 3479 3480 3481 3482depcc="$CC" am_compiler_list= 3483 3484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3485$as_echo_n "checking dependency style of $depcc... " >&6; } 3486if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3487 $as_echo_n "(cached) " >&6 3488else 3489 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3490 # We make a subdir and do the tests there. Otherwise we can end up 3491 # making bogus files that we don't know about and never remove. For 3492 # instance it was reported that on HP-UX the gcc test will end up 3493 # making a dummy file named `D' -- because `-MD' means `put the output 3494 # in D'. 3495 mkdir conftest.dir 3496 # Copy depcomp to subdir because otherwise we won't find it if we're 3497 # using a relative directory. 3498 cp "$am_depcomp" conftest.dir 3499 cd conftest.dir 3500 # We will build objects and dependencies in a subdirectory because 3501 # it helps to detect inapplicable dependency modes. For instance 3502 # both Tru64's cc and ICC support -MD to output dependencies as a 3503 # side effect of compilation, but ICC will put the dependencies in 3504 # the current directory while Tru64 will put them in the object 3505 # directory. 3506 mkdir sub 3507 3508 am_cv_CC_dependencies_compiler_type=none 3509 if test "$am_compiler_list" = ""; then 3510 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3511 fi 3512 am__universal=false 3513 case " $depcc " in #( 3514 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3515 esac 3516 3517 for depmode in $am_compiler_list; do 3518 # Setup a source with many dependencies, because some compilers 3519 # like to wrap large dependency lists on column 80 (with \), and 3520 # we should not choose a depcomp mode which is confused by this. 3521 # 3522 # We need to recreate these files for each test, as the compiler may 3523 # overwrite some of them when testing with obscure command lines. 3524 # This happens at least with the AIX C compiler. 3525 : > sub/conftest.c 3526 for i in 1 2 3 4 5 6; do 3527 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3528 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3529 # Solaris 8's {/usr,}/bin/sh. 3530 touch sub/conftst$i.h 3531 done 3532 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3533 3534 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3535 # mode. It turns out that the SunPro C++ compiler does not properly 3536 # handle `-M -o', and we need to detect this. Also, some Intel 3537 # versions had trouble with output in subdirs 3538 am__obj=sub/conftest.${OBJEXT-o} 3539 am__minus_obj="-o $am__obj" 3540 case $depmode in 3541 gcc) 3542 # This depmode causes a compiler race in universal mode. 3543 test "$am__universal" = false || continue 3544 ;; 3545 nosideeffect) 3546 # after this tag, mechanisms are not by side-effect, so they'll 3547 # only be used when explicitly requested 3548 if test "x$enable_dependency_tracking" = xyes; then 3549 continue 3550 else 3551 break 3552 fi 3553 ;; 3554 msvisualcpp | msvcmsys) 3555 # This compiler won't grok `-c -o', but also, the minuso test has 3556 # not run yet. These depmodes are late enough in the game, and 3557 # so weak that their functioning should not be impacted. 3558 am__obj=conftest.${OBJEXT-o} 3559 am__minus_obj= 3560 ;; 3561 none) break ;; 3562 esac 3563 if depmode=$depmode \ 3564 source=sub/conftest.c object=$am__obj \ 3565 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3566 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3567 >/dev/null 2>conftest.err && 3568 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3569 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3570 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3571 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3572 # icc doesn't choke on unknown options, it will just issue warnings 3573 # or remarks (even with -Werror). So we grep stderr for any message 3574 # that says an option was ignored or not supported. 3575 # When given -MP, icc 7.0 and 7.1 complain thusly: 3576 # icc: Command line warning: ignoring option '-M'; no argument required 3577 # The diagnosis changed in icc 8.0: 3578 # icc: Command line remark: option '-MP' not supported 3579 if (grep 'ignoring option' conftest.err || 3580 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3581 am_cv_CC_dependencies_compiler_type=$depmode 3582 break 3583 fi 3584 fi 3585 done 3586 3587 cd .. 3588 rm -rf conftest.dir 3589else 3590 am_cv_CC_dependencies_compiler_type=none 3591fi 3592 3593fi 3594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3595$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3596CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3597 3598 if 3599 test "x$enable_dependency_tracking" != xno \ 3600 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3601 am__fastdepCC_TRUE= 3602 am__fastdepCC_FALSE='#' 3603else 3604 am__fastdepCC_TRUE='#' 3605 am__fastdepCC_FALSE= 3606fi 3607 3608 3609 3610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3611$as_echo_n "checking whether ln -s works... " >&6; } 3612LN_S=$as_ln_s 3613if test "$LN_S" = "ln -s"; then 3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3615$as_echo "yes" >&6; } 3616else 3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3618$as_echo "no, using $LN_S" >&6; } 3619fi 3620 3621case `pwd` in 3622 *\ * | *\ *) 3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3624$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3625esac 3626 3627 3628 3629macro_version='2.2.10' 3630macro_revision='1.3175' 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644ltmain="$ac_aux_dir/ltmain.sh" 3645 3646# Make sure we can run config.sub. 3647$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3648 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3649 3650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3651$as_echo_n "checking build system type... " >&6; } 3652if test "${ac_cv_build+set}" = set; then : 3653 $as_echo_n "(cached) " >&6 3654else 3655 ac_build_alias=$build_alias 3656test "x$ac_build_alias" = x && 3657 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3658test "x$ac_build_alias" = x && 3659 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3660ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3661 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3662 3663fi 3664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3665$as_echo "$ac_cv_build" >&6; } 3666case $ac_cv_build in 3667*-*-*) ;; 3668*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3669esac 3670build=$ac_cv_build 3671ac_save_IFS=$IFS; IFS='-' 3672set x $ac_cv_build 3673shift 3674build_cpu=$1 3675build_vendor=$2 3676shift; shift 3677# Remember, the first character of IFS is used to create $*, 3678# except with old shells: 3679build_os=$* 3680IFS=$ac_save_IFS 3681case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3682 3683 3684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3685$as_echo_n "checking host system type... " >&6; } 3686if test "${ac_cv_host+set}" = set; then : 3687 $as_echo_n "(cached) " >&6 3688else 3689 if test "x$host_alias" = x; then 3690 ac_cv_host=$ac_cv_build 3691else 3692 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3693 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3694fi 3695 3696fi 3697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3698$as_echo "$ac_cv_host" >&6; } 3699case $ac_cv_host in 3700*-*-*) ;; 3701*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3702esac 3703host=$ac_cv_host 3704ac_save_IFS=$IFS; IFS='-' 3705set x $ac_cv_host 3706shift 3707host_cpu=$1 3708host_vendor=$2 3709shift; shift 3710# Remember, the first character of IFS is used to create $*, 3711# except with old shells: 3712host_os=$* 3713IFS=$ac_save_IFS 3714case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3715 3716 3717# Backslashify metacharacters that are still active within 3718# double-quoted strings. 3719sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3720 3721# Same as above, but do not quote variable references. 3722double_quote_subst='s/\(["`\\]\)/\\\1/g' 3723 3724# Sed substitution to delay expansion of an escaped shell variable in a 3725# double_quote_subst'ed string. 3726delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3727 3728# Sed substitution to delay expansion of an escaped single quote. 3729delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3730 3731# Sed substitution to avoid accidental globbing in evaled expressions 3732no_glob_subst='s/\*/\\\*/g' 3733 3734ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3735ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3736ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3737 3738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3739$as_echo_n "checking how to print strings... " >&6; } 3740# Test print first, because it will be a builtin if present. 3741if test "X`print -r -- -n 2>/dev/null`" = X-n && \ 3742 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3743 ECHO='print -r --' 3744elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3745 ECHO='printf %s\n' 3746else 3747 # Use this function as a fallback that always works. 3748 func_fallback_echo () 3749 { 3750 eval 'cat <<_LTECHO_EOF 3751$1 3752_LTECHO_EOF' 3753 } 3754 ECHO='func_fallback_echo' 3755fi 3756 3757# func_echo_all arg... 3758# Invoke $ECHO with all args, space-separated. 3759func_echo_all () 3760{ 3761 $ECHO "" 3762} 3763 3764case "$ECHO" in 3765 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3766$as_echo "printf" >&6; } ;; 3767 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3768$as_echo "print -r" >&6; } ;; 3769 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3770$as_echo "cat" >&6; } ;; 3771esac 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3787$as_echo_n "checking for a sed that does not truncate output... " >&6; } 3788if test "${ac_cv_path_SED+set}" = set; then : 3789 $as_echo_n "(cached) " >&6 3790else 3791 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3792 for ac_i in 1 2 3 4 5 6 7; do 3793 ac_script="$ac_script$as_nl$ac_script" 3794 done 3795 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3796 { ac_script=; unset ac_script;} 3797 if test -z "$SED"; then 3798 ac_path_SED_found=false 3799 # Loop through the user's path and test for each of PROGNAME-LIST 3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3801for as_dir in $PATH 3802do 3803 IFS=$as_save_IFS 3804 test -z "$as_dir" && as_dir=. 3805 for ac_prog in sed gsed; do 3806 for ac_exec_ext in '' $ac_executable_extensions; do 3807 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 3808 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 3809# Check for GNU ac_path_SED and select it if it is found. 3810 # Check for GNU $ac_path_SED 3811case `"$ac_path_SED" --version 2>&1` in 3812*GNU*) 3813 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3814*) 3815 ac_count=0 3816 $as_echo_n 0123456789 >"conftest.in" 3817 while : 3818 do 3819 cat "conftest.in" "conftest.in" >"conftest.tmp" 3820 mv "conftest.tmp" "conftest.in" 3821 cp "conftest.in" "conftest.nl" 3822 $as_echo '' >> "conftest.nl" 3823 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3825 as_fn_arith $ac_count + 1 && ac_count=$as_val 3826 if test $ac_count -gt ${ac_path_SED_max-0}; then 3827 # Best one so far, save it but keep looking for a better one 3828 ac_cv_path_SED="$ac_path_SED" 3829 ac_path_SED_max=$ac_count 3830 fi 3831 # 10*(2^10) chars as input seems more than enough 3832 test $ac_count -gt 10 && break 3833 done 3834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3835esac 3836 3837 $ac_path_SED_found && break 3 3838 done 3839 done 3840 done 3841IFS=$as_save_IFS 3842 if test -z "$ac_cv_path_SED"; then 3843 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 3844 fi 3845else 3846 ac_cv_path_SED=$SED 3847fi 3848 3849fi 3850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 3851$as_echo "$ac_cv_path_SED" >&6; } 3852 SED="$ac_cv_path_SED" 3853 rm -f conftest.sed 3854 3855test -z "$SED" && SED=sed 3856Xsed="$SED -e 1s/^X//" 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3869$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3870if test "${ac_cv_path_GREP+set}" = set; then : 3871 $as_echo_n "(cached) " >&6 3872else 3873 if test -z "$GREP"; then 3874 ac_path_GREP_found=false 3875 # Loop through the user's path and test for each of PROGNAME-LIST 3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3877for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3878do 3879 IFS=$as_save_IFS 3880 test -z "$as_dir" && as_dir=. 3881 for ac_prog in grep ggrep; do 3882 for ac_exec_ext in '' $ac_executable_extensions; do 3883 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3884 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3885# Check for GNU ac_path_GREP and select it if it is found. 3886 # Check for GNU $ac_path_GREP 3887case `"$ac_path_GREP" --version 2>&1` in 3888*GNU*) 3889 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3890*) 3891 ac_count=0 3892 $as_echo_n 0123456789 >"conftest.in" 3893 while : 3894 do 3895 cat "conftest.in" "conftest.in" >"conftest.tmp" 3896 mv "conftest.tmp" "conftest.in" 3897 cp "conftest.in" "conftest.nl" 3898 $as_echo 'GREP' >> "conftest.nl" 3899 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3900 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3901 as_fn_arith $ac_count + 1 && ac_count=$as_val 3902 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3903 # Best one so far, save it but keep looking for a better one 3904 ac_cv_path_GREP="$ac_path_GREP" 3905 ac_path_GREP_max=$ac_count 3906 fi 3907 # 10*(2^10) chars as input seems more than enough 3908 test $ac_count -gt 10 && break 3909 done 3910 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3911esac 3912 3913 $ac_path_GREP_found && break 3 3914 done 3915 done 3916 done 3917IFS=$as_save_IFS 3918 if test -z "$ac_cv_path_GREP"; then 3919 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3920 fi 3921else 3922 ac_cv_path_GREP=$GREP 3923fi 3924 3925fi 3926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3927$as_echo "$ac_cv_path_GREP" >&6; } 3928 GREP="$ac_cv_path_GREP" 3929 3930 3931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3932$as_echo_n "checking for egrep... " >&6; } 3933if test "${ac_cv_path_EGREP+set}" = set; then : 3934 $as_echo_n "(cached) " >&6 3935else 3936 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3937 then ac_cv_path_EGREP="$GREP -E" 3938 else 3939 if test -z "$EGREP"; then 3940 ac_path_EGREP_found=false 3941 # Loop through the user's path and test for each of PROGNAME-LIST 3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3943for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3944do 3945 IFS=$as_save_IFS 3946 test -z "$as_dir" && as_dir=. 3947 for ac_prog in egrep; do 3948 for ac_exec_ext in '' $ac_executable_extensions; do 3949 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3950 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3951# Check for GNU ac_path_EGREP and select it if it is found. 3952 # Check for GNU $ac_path_EGREP 3953case `"$ac_path_EGREP" --version 2>&1` in 3954*GNU*) 3955 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3956*) 3957 ac_count=0 3958 $as_echo_n 0123456789 >"conftest.in" 3959 while : 3960 do 3961 cat "conftest.in" "conftest.in" >"conftest.tmp" 3962 mv "conftest.tmp" "conftest.in" 3963 cp "conftest.in" "conftest.nl" 3964 $as_echo 'EGREP' >> "conftest.nl" 3965 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3966 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3967 as_fn_arith $ac_count + 1 && ac_count=$as_val 3968 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3969 # Best one so far, save it but keep looking for a better one 3970 ac_cv_path_EGREP="$ac_path_EGREP" 3971 ac_path_EGREP_max=$ac_count 3972 fi 3973 # 10*(2^10) chars as input seems more than enough 3974 test $ac_count -gt 10 && break 3975 done 3976 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3977esac 3978 3979 $ac_path_EGREP_found && break 3 3980 done 3981 done 3982 done 3983IFS=$as_save_IFS 3984 if test -z "$ac_cv_path_EGREP"; then 3985 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3986 fi 3987else 3988 ac_cv_path_EGREP=$EGREP 3989fi 3990 3991 fi 3992fi 3993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3994$as_echo "$ac_cv_path_EGREP" >&6; } 3995 EGREP="$ac_cv_path_EGREP" 3996 3997 3998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 3999$as_echo_n "checking for fgrep... " >&6; } 4000if test "${ac_cv_path_FGREP+set}" = set; then : 4001 $as_echo_n "(cached) " >&6 4002else 4003 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4004 then ac_cv_path_FGREP="$GREP -F" 4005 else 4006 if test -z "$FGREP"; then 4007 ac_path_FGREP_found=false 4008 # Loop through the user's path and test for each of PROGNAME-LIST 4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4010for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4011do 4012 IFS=$as_save_IFS 4013 test -z "$as_dir" && as_dir=. 4014 for ac_prog in fgrep; do 4015 for ac_exec_ext in '' $ac_executable_extensions; do 4016 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4017 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4018# Check for GNU ac_path_FGREP and select it if it is found. 4019 # Check for GNU $ac_path_FGREP 4020case `"$ac_path_FGREP" --version 2>&1` in 4021*GNU*) 4022 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4023*) 4024 ac_count=0 4025 $as_echo_n 0123456789 >"conftest.in" 4026 while : 4027 do 4028 cat "conftest.in" "conftest.in" >"conftest.tmp" 4029 mv "conftest.tmp" "conftest.in" 4030 cp "conftest.in" "conftest.nl" 4031 $as_echo 'FGREP' >> "conftest.nl" 4032 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4033 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4034 as_fn_arith $ac_count + 1 && ac_count=$as_val 4035 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4036 # Best one so far, save it but keep looking for a better one 4037 ac_cv_path_FGREP="$ac_path_FGREP" 4038 ac_path_FGREP_max=$ac_count 4039 fi 4040 # 10*(2^10) chars as input seems more than enough 4041 test $ac_count -gt 10 && break 4042 done 4043 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4044esac 4045 4046 $ac_path_FGREP_found && break 3 4047 done 4048 done 4049 done 4050IFS=$as_save_IFS 4051 if test -z "$ac_cv_path_FGREP"; then 4052 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4053 fi 4054else 4055 ac_cv_path_FGREP=$FGREP 4056fi 4057 4058 fi 4059fi 4060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4061$as_echo "$ac_cv_path_FGREP" >&6; } 4062 FGREP="$ac_cv_path_FGREP" 4063 4064 4065test -z "$GREP" && GREP=grep 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085# Check whether --with-gnu-ld was given. 4086if test "${with_gnu_ld+set}" = set; then : 4087 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4088else 4089 with_gnu_ld=no 4090fi 4091 4092ac_prog=ld 4093if test "$GCC" = yes; then 4094 # Check if gcc -print-prog-name=ld gives a path. 4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4096$as_echo_n "checking for ld used by $CC... " >&6; } 4097 case $host in 4098 *-*-mingw*) 4099 # gcc leaves a trailing carriage return which upsets mingw 4100 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4101 *) 4102 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4103 esac 4104 case $ac_prog in 4105 # Accept absolute paths. 4106 [\\/]* | ?:[\\/]*) 4107 re_direlt='/[^/][^/]*/\.\./' 4108 # Canonicalize the pathname of ld 4109 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4110 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4111 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4112 done 4113 test -z "$LD" && LD="$ac_prog" 4114 ;; 4115 "") 4116 # If it fails, then pretend we aren't using GCC. 4117 ac_prog=ld 4118 ;; 4119 *) 4120 # If it is relative, then search for the first ld in PATH. 4121 with_gnu_ld=unknown 4122 ;; 4123 esac 4124elif test "$with_gnu_ld" = yes; then 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4126$as_echo_n "checking for GNU ld... " >&6; } 4127else 4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4129$as_echo_n "checking for non-GNU ld... " >&6; } 4130fi 4131if test "${lt_cv_path_LD+set}" = set; then : 4132 $as_echo_n "(cached) " >&6 4133else 4134 if test -z "$LD"; then 4135 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4136 for ac_dir in $PATH; do 4137 IFS="$lt_save_ifs" 4138 test -z "$ac_dir" && ac_dir=. 4139 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4140 lt_cv_path_LD="$ac_dir/$ac_prog" 4141 # Check to see if the program is GNU ld. I'd rather use --version, 4142 # but apparently some variants of GNU ld only accept -v. 4143 # Break only if it was the GNU/non-GNU ld that we prefer. 4144 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4145 *GNU* | *'with BFD'*) 4146 test "$with_gnu_ld" != no && break 4147 ;; 4148 *) 4149 test "$with_gnu_ld" != yes && break 4150 ;; 4151 esac 4152 fi 4153 done 4154 IFS="$lt_save_ifs" 4155else 4156 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4157fi 4158fi 4159 4160LD="$lt_cv_path_LD" 4161if test -n "$LD"; then 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4163$as_echo "$LD" >&6; } 4164else 4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4166$as_echo "no" >&6; } 4167fi 4168test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4170$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4171if test "${lt_cv_prog_gnu_ld+set}" = set; then : 4172 $as_echo_n "(cached) " >&6 4173else 4174 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4175case `$LD -v 2>&1 </dev/null` in 4176*GNU* | *'with BFD'*) 4177 lt_cv_prog_gnu_ld=yes 4178 ;; 4179*) 4180 lt_cv_prog_gnu_ld=no 4181 ;; 4182esac 4183fi 4184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4185$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4186with_gnu_ld=$lt_cv_prog_gnu_ld 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4197$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4198if test "${lt_cv_path_NM+set}" = set; then : 4199 $as_echo_n "(cached) " >&6 4200else 4201 if test -n "$NM"; then 4202 # Let the user override the test. 4203 lt_cv_path_NM="$NM" 4204else 4205 lt_nm_to_check="${ac_tool_prefix}nm" 4206 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4207 lt_nm_to_check="$lt_nm_to_check nm" 4208 fi 4209 for lt_tmp_nm in $lt_nm_to_check; do 4210 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4211 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4212 IFS="$lt_save_ifs" 4213 test -z "$ac_dir" && ac_dir=. 4214 tmp_nm="$ac_dir/$lt_tmp_nm" 4215 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4216 # Check to see if the nm accepts a BSD-compat flag. 4217 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4218 # nm: unknown option "B" ignored 4219 # Tru64's nm complains that /dev/null is an invalid object file 4220 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4221 */dev/null* | *'Invalid file or object type'*) 4222 lt_cv_path_NM="$tmp_nm -B" 4223 break 4224 ;; 4225 *) 4226 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4227 */dev/null*) 4228 lt_cv_path_NM="$tmp_nm -p" 4229 break 4230 ;; 4231 *) 4232 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4233 continue # so that we can try to find one that supports BSD flags 4234 ;; 4235 esac 4236 ;; 4237 esac 4238 fi 4239 done 4240 IFS="$lt_save_ifs" 4241 done 4242 : ${lt_cv_path_NM=no} 4243fi 4244fi 4245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4246$as_echo "$lt_cv_path_NM" >&6; } 4247if test "$lt_cv_path_NM" != "no"; then 4248 NM="$lt_cv_path_NM" 4249else 4250 # Didn't find any BSD compatible name lister, look for dumpbin. 4251 if test -n "$DUMPBIN"; then : 4252 # Let the user override the test. 4253 else 4254 if test -n "$ac_tool_prefix"; then 4255 for ac_prog in dumpbin "link -dump" 4256 do 4257 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4258set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4260$as_echo_n "checking for $ac_word... " >&6; } 4261if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 4262 $as_echo_n "(cached) " >&6 4263else 4264 if test -n "$DUMPBIN"; then 4265 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4266else 4267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4268for as_dir in $PATH 4269do 4270 IFS=$as_save_IFS 4271 test -z "$as_dir" && as_dir=. 4272 for ac_exec_ext in '' $ac_executable_extensions; do 4273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4274 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4276 break 2 4277 fi 4278done 4279 done 4280IFS=$as_save_IFS 4281 4282fi 4283fi 4284DUMPBIN=$ac_cv_prog_DUMPBIN 4285if test -n "$DUMPBIN"; then 4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4287$as_echo "$DUMPBIN" >&6; } 4288else 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4290$as_echo "no" >&6; } 4291fi 4292 4293 4294 test -n "$DUMPBIN" && break 4295 done 4296fi 4297if test -z "$DUMPBIN"; then 4298 ac_ct_DUMPBIN=$DUMPBIN 4299 for ac_prog in dumpbin "link -dump" 4300do 4301 # Extract the first word of "$ac_prog", so it can be a program name with args. 4302set dummy $ac_prog; ac_word=$2 4303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4304$as_echo_n "checking for $ac_word... " >&6; } 4305if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 4306 $as_echo_n "(cached) " >&6 4307else 4308 if test -n "$ac_ct_DUMPBIN"; then 4309 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4310else 4311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4312for as_dir in $PATH 4313do 4314 IFS=$as_save_IFS 4315 test -z "$as_dir" && as_dir=. 4316 for ac_exec_ext in '' $ac_executable_extensions; do 4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4318 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4320 break 2 4321 fi 4322done 4323 done 4324IFS=$as_save_IFS 4325 4326fi 4327fi 4328ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4329if test -n "$ac_ct_DUMPBIN"; then 4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4331$as_echo "$ac_ct_DUMPBIN" >&6; } 4332else 4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4334$as_echo "no" >&6; } 4335fi 4336 4337 4338 test -n "$ac_ct_DUMPBIN" && break 4339done 4340 4341 if test "x$ac_ct_DUMPBIN" = x; then 4342 DUMPBIN=":" 4343 else 4344 case $cross_compiling:$ac_tool_warned in 4345yes:) 4346{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4347$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4348ac_tool_warned=yes ;; 4349esac 4350 DUMPBIN=$ac_ct_DUMPBIN 4351 fi 4352fi 4353 4354 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4355 *COFF*) 4356 DUMPBIN="$DUMPBIN -symbols" 4357 ;; 4358 *) 4359 DUMPBIN=: 4360 ;; 4361 esac 4362 fi 4363 4364 if test "$DUMPBIN" != ":"; then 4365 NM="$DUMPBIN" 4366 fi 4367fi 4368test -z "$NM" && NM=nm 4369 4370 4371 4372 4373 4374 4375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4376$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4377if test "${lt_cv_nm_interface+set}" = set; then : 4378 $as_echo_n "(cached) " >&6 4379else 4380 lt_cv_nm_interface="BSD nm" 4381 echo "int some_variable = 0;" > conftest.$ac_ext 4382 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4383 (eval "$ac_compile" 2>conftest.err) 4384 cat conftest.err >&5 4385 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4386 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4387 cat conftest.err >&5 4388 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4389 cat conftest.out >&5 4390 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4391 lt_cv_nm_interface="MS dumpbin" 4392 fi 4393 rm -f conftest* 4394fi 4395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4396$as_echo "$lt_cv_nm_interface" >&6; } 4397 4398# find the maximum length of command line arguments 4399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4400$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4401if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 4402 $as_echo_n "(cached) " >&6 4403else 4404 i=0 4405 teststring="ABCD" 4406 4407 case $build_os in 4408 msdosdjgpp*) 4409 # On DJGPP, this test can blow up pretty badly due to problems in libc 4410 # (any single argument exceeding 2000 bytes causes a buffer overrun 4411 # during glob expansion). Even if it were fixed, the result of this 4412 # check would be larger than it should be. 4413 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4414 ;; 4415 4416 gnu*) 4417 # Under GNU Hurd, this test is not required because there is 4418 # no limit to the length of command line arguments. 4419 # Libtool will interpret -1 as no limit whatsoever 4420 lt_cv_sys_max_cmd_len=-1; 4421 ;; 4422 4423 cygwin* | mingw* | cegcc*) 4424 # On Win9x/ME, this test blows up -- it succeeds, but takes 4425 # about 5 minutes as the teststring grows exponentially. 4426 # Worse, since 9x/ME are not pre-emptively multitasking, 4427 # you end up with a "frozen" computer, even though with patience 4428 # the test eventually succeeds (with a max line length of 256k). 4429 # Instead, let's just punt: use the minimum linelength reported by 4430 # all of the supported platforms: 8192 (on NT/2K/XP). 4431 lt_cv_sys_max_cmd_len=8192; 4432 ;; 4433 4434 mint*) 4435 # On MiNT this can take a long time and run out of memory. 4436 lt_cv_sys_max_cmd_len=8192; 4437 ;; 4438 4439 amigaos*) 4440 # On AmigaOS with pdksh, this test takes hours, literally. 4441 # So we just punt and use a minimum line length of 8192. 4442 lt_cv_sys_max_cmd_len=8192; 4443 ;; 4444 4445 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4446 # This has been around since 386BSD, at least. Likely further. 4447 if test -x /sbin/sysctl; then 4448 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4449 elif test -x /usr/sbin/sysctl; then 4450 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4451 else 4452 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4453 fi 4454 # And add a safety zone 4455 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4456 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4457 ;; 4458 4459 interix*) 4460 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4461 lt_cv_sys_max_cmd_len=196608 4462 ;; 4463 4464 osf*) 4465 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4466 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4467 # nice to cause kernel panics so lets avoid the loop below. 4468 # First set a reasonable default. 4469 lt_cv_sys_max_cmd_len=16384 4470 # 4471 if test -x /sbin/sysconfig; then 4472 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4473 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4474 esac 4475 fi 4476 ;; 4477 sco3.2v5*) 4478 lt_cv_sys_max_cmd_len=102400 4479 ;; 4480 sysv5* | sco5v6* | sysv4.2uw2*) 4481 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4482 if test -n "$kargmax"; then 4483 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4484 else 4485 lt_cv_sys_max_cmd_len=32768 4486 fi 4487 ;; 4488 *) 4489 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4490 if test -n "$lt_cv_sys_max_cmd_len"; then 4491 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4492 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4493 else 4494 # Make teststring a little bigger before we do anything with it. 4495 # a 1K string should be a reasonable start. 4496 for i in 1 2 3 4 5 6 7 8 ; do 4497 teststring=$teststring$teststring 4498 done 4499 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4500 # If test is not a shell built-in, we'll probably end up computing a 4501 # maximum length that is only half of the actual maximum length, but 4502 # we can't tell. 4503 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ 4504 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4505 test $i != 17 # 1/2 MB should be enough 4506 do 4507 i=`expr $i + 1` 4508 teststring=$teststring$teststring 4509 done 4510 # Only check the string length outside the loop. 4511 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4512 teststring= 4513 # Add a significant safety factor because C++ compilers can tack on 4514 # massive amounts of additional arguments before passing them to the 4515 # linker. It appears as though 1/2 is a usable value. 4516 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4517 fi 4518 ;; 4519 esac 4520 4521fi 4522 4523if test -n $lt_cv_sys_max_cmd_len ; then 4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4525$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4526else 4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4528$as_echo "none" >&6; } 4529fi 4530max_cmd_len=$lt_cv_sys_max_cmd_len 4531 4532 4533 4534 4535 4536 4537: ${CP="cp -f"} 4538: ${MV="mv -f"} 4539: ${RM="rm -f"} 4540 4541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4542$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4543# Try some XSI features 4544xsi_shell=no 4545( _lt_dummy="a/b/c" 4546 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 4547 = c,a/b,, \ 4548 && eval 'test $(( 1 + 1 )) -eq 2 \ 4549 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4550 && xsi_shell=yes 4551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4552$as_echo "$xsi_shell" >&6; } 4553 4554 4555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4556$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4557lt_shell_append=no 4558( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4559 >/dev/null 2>&1 \ 4560 && lt_shell_append=yes 4561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4562$as_echo "$lt_shell_append" >&6; } 4563 4564 4565if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4566 lt_unset=unset 4567else 4568 lt_unset=false 4569fi 4570 4571 4572 4573 4574 4575# test EBCDIC or ASCII 4576case `echo X|tr X '\101'` in 4577 A) # ASCII based system 4578 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4579 lt_SP2NL='tr \040 \012' 4580 lt_NL2SP='tr \015\012 \040\040' 4581 ;; 4582 *) # EBCDIC based system 4583 lt_SP2NL='tr \100 \n' 4584 lt_NL2SP='tr \r\n \100\100' 4585 ;; 4586esac 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4597$as_echo_n "checking for $LD option to reload object files... " >&6; } 4598if test "${lt_cv_ld_reload_flag+set}" = set; then : 4599 $as_echo_n "(cached) " >&6 4600else 4601 lt_cv_ld_reload_flag='-r' 4602fi 4603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4604$as_echo "$lt_cv_ld_reload_flag" >&6; } 4605reload_flag=$lt_cv_ld_reload_flag 4606case $reload_flag in 4607"" | " "*) ;; 4608*) reload_flag=" $reload_flag" ;; 4609esac 4610reload_cmds='$LD$reload_flag -o $output$reload_objs' 4611case $host_os in 4612 darwin*) 4613 if test "$GCC" = yes; then 4614 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4615 else 4616 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4617 fi 4618 ;; 4619esac 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629if test -n "$ac_tool_prefix"; then 4630 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4631set dummy ${ac_tool_prefix}objdump; ac_word=$2 4632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4633$as_echo_n "checking for $ac_word... " >&6; } 4634if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 4635 $as_echo_n "(cached) " >&6 4636else 4637 if test -n "$OBJDUMP"; then 4638 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4639else 4640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4641for as_dir in $PATH 4642do 4643 IFS=$as_save_IFS 4644 test -z "$as_dir" && as_dir=. 4645 for ac_exec_ext in '' $ac_executable_extensions; do 4646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4647 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4649 break 2 4650 fi 4651done 4652 done 4653IFS=$as_save_IFS 4654 4655fi 4656fi 4657OBJDUMP=$ac_cv_prog_OBJDUMP 4658if test -n "$OBJDUMP"; then 4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4660$as_echo "$OBJDUMP" >&6; } 4661else 4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4663$as_echo "no" >&6; } 4664fi 4665 4666 4667fi 4668if test -z "$ac_cv_prog_OBJDUMP"; then 4669 ac_ct_OBJDUMP=$OBJDUMP 4670 # Extract the first word of "objdump", so it can be a program name with args. 4671set dummy objdump; ac_word=$2 4672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4673$as_echo_n "checking for $ac_word... " >&6; } 4674if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 4675 $as_echo_n "(cached) " >&6 4676else 4677 if test -n "$ac_ct_OBJDUMP"; then 4678 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4679else 4680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4681for as_dir in $PATH 4682do 4683 IFS=$as_save_IFS 4684 test -z "$as_dir" && as_dir=. 4685 for ac_exec_ext in '' $ac_executable_extensions; do 4686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4687 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4689 break 2 4690 fi 4691done 4692 done 4693IFS=$as_save_IFS 4694 4695fi 4696fi 4697ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4698if test -n "$ac_ct_OBJDUMP"; then 4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4700$as_echo "$ac_ct_OBJDUMP" >&6; } 4701else 4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4703$as_echo "no" >&6; } 4704fi 4705 4706 if test "x$ac_ct_OBJDUMP" = x; then 4707 OBJDUMP="false" 4708 else 4709 case $cross_compiling:$ac_tool_warned in 4710yes:) 4711{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4712$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4713ac_tool_warned=yes ;; 4714esac 4715 OBJDUMP=$ac_ct_OBJDUMP 4716 fi 4717else 4718 OBJDUMP="$ac_cv_prog_OBJDUMP" 4719fi 4720 4721test -z "$OBJDUMP" && OBJDUMP=objdump 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4732$as_echo_n "checking how to recognize dependent libraries... " >&6; } 4733if test "${lt_cv_deplibs_check_method+set}" = set; then : 4734 $as_echo_n "(cached) " >&6 4735else 4736 lt_cv_file_magic_cmd='$MAGIC_CMD' 4737lt_cv_file_magic_test_file= 4738lt_cv_deplibs_check_method='unknown' 4739# Need to set the preceding variable on all platforms that support 4740# interlibrary dependencies. 4741# 'none' -- dependencies not supported. 4742# `unknown' -- same as none, but documents that we really don't know. 4743# 'pass_all' -- all dependencies passed with no checks. 4744# 'test_compile' -- check by making test program. 4745# 'file_magic [[regex]]' -- check by looking for files in library path 4746# which responds to the $file_magic_cmd with a given extended regex. 4747# If you have `file' or equivalent on your system and you're not sure 4748# whether `pass_all' will *always* work, you probably want this one. 4749 4750case $host_os in 4751aix[4-9]*) 4752 lt_cv_deplibs_check_method=pass_all 4753 ;; 4754 4755beos*) 4756 lt_cv_deplibs_check_method=pass_all 4757 ;; 4758 4759bsdi[45]*) 4760 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4761 lt_cv_file_magic_cmd='/usr/bin/file -L' 4762 lt_cv_file_magic_test_file=/shlib/libc.so 4763 ;; 4764 4765cygwin*) 4766 # func_win32_libid is a shell function defined in ltmain.sh 4767 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4768 lt_cv_file_magic_cmd='func_win32_libid' 4769 ;; 4770 4771mingw* | pw32*) 4772 # Base MSYS/MinGW do not provide the 'file' command needed by 4773 # func_win32_libid shell function, so use a weaker test based on 'objdump', 4774 # unless we find 'file', for example because we are cross-compiling. 4775 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 4776 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 4777 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4778 lt_cv_file_magic_cmd='func_win32_libid' 4779 else 4780 # Keep this pattern in sync with the one in func_win32_libid. 4781 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 4782 lt_cv_file_magic_cmd='$OBJDUMP -f' 4783 fi 4784 ;; 4785 4786cegcc*) 4787 # use the weaker test based on 'objdump'. See mingw*. 4788 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 4789 lt_cv_file_magic_cmd='$OBJDUMP -f' 4790 ;; 4791 4792darwin* | rhapsody*) 4793 lt_cv_deplibs_check_method=pass_all 4794 ;; 4795 4796freebsd* | dragonfly*) 4797 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4798 case $host_cpu in 4799 i*86 ) 4800 # Not sure whether the presence of OpenBSD here was a mistake. 4801 # Let's accept both of them until this is cleared up. 4802 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4803 lt_cv_file_magic_cmd=/usr/bin/file 4804 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 4805 ;; 4806 esac 4807 else 4808 lt_cv_deplibs_check_method=pass_all 4809 fi 4810 ;; 4811 4812gnu*) 4813 lt_cv_deplibs_check_method=pass_all 4814 ;; 4815 4816haiku*) 4817 lt_cv_deplibs_check_method=pass_all 4818 ;; 4819 4820hpux10.20* | hpux11*) 4821 lt_cv_file_magic_cmd=/usr/bin/file 4822 case $host_cpu in 4823 ia64*) 4824 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 4825 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4826 ;; 4827 hppa*64*) 4828 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' 4829 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 4830 ;; 4831 *) 4832 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 4833 lt_cv_file_magic_test_file=/usr/lib/libc.sl 4834 ;; 4835 esac 4836 ;; 4837 4838interix[3-9]*) 4839 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 4840 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 4841 ;; 4842 4843irix5* | irix6* | nonstopux*) 4844 case $LD in 4845 *-32|*"-32 ") libmagic=32-bit;; 4846 *-n32|*"-n32 ") libmagic=N32;; 4847 *-64|*"-64 ") libmagic=64-bit;; 4848 *) libmagic=never-match;; 4849 esac 4850 lt_cv_deplibs_check_method=pass_all 4851 ;; 4852 4853# This must be Linux ELF. 4854linux* | k*bsd*-gnu | kopensolaris*-gnu) 4855 lt_cv_deplibs_check_method=pass_all 4856 ;; 4857 4858netbsd*) 4859 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4860 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4861 else 4862 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 4863 fi 4864 ;; 4865 4866newos6*) 4867 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 4868 lt_cv_file_magic_cmd=/usr/bin/file 4869 lt_cv_file_magic_test_file=/usr/lib/libnls.so 4870 ;; 4871 4872*nto* | *qnx*) 4873 lt_cv_deplibs_check_method=pass_all 4874 ;; 4875 4876openbsd*) 4877 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 4878 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 4879 else 4880 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4881 fi 4882 ;; 4883 4884osf3* | osf4* | osf5*) 4885 lt_cv_deplibs_check_method=pass_all 4886 ;; 4887 4888rdos*) 4889 lt_cv_deplibs_check_method=pass_all 4890 ;; 4891 4892solaris*) 4893 lt_cv_deplibs_check_method=pass_all 4894 ;; 4895 4896sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 4897 lt_cv_deplibs_check_method=pass_all 4898 ;; 4899 4900sysv4 | sysv4.3*) 4901 case $host_vendor in 4902 motorola) 4903 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]' 4904 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 4905 ;; 4906 ncr) 4907 lt_cv_deplibs_check_method=pass_all 4908 ;; 4909 sequent) 4910 lt_cv_file_magic_cmd='/bin/file' 4911 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 4912 ;; 4913 sni) 4914 lt_cv_file_magic_cmd='/bin/file' 4915 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 4916 lt_cv_file_magic_test_file=/lib/libc.so 4917 ;; 4918 siemens) 4919 lt_cv_deplibs_check_method=pass_all 4920 ;; 4921 pc) 4922 lt_cv_deplibs_check_method=pass_all 4923 ;; 4924 esac 4925 ;; 4926 4927tpf*) 4928 lt_cv_deplibs_check_method=pass_all 4929 ;; 4930esac 4931 4932fi 4933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 4934$as_echo "$lt_cv_deplibs_check_method" >&6; } 4935file_magic_cmd=$lt_cv_file_magic_cmd 4936deplibs_check_method=$lt_cv_deplibs_check_method 4937test -z "$deplibs_check_method" && deplibs_check_method=unknown 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950if test -n "$ac_tool_prefix"; then 4951 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 4952set dummy ${ac_tool_prefix}ar; ac_word=$2 4953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4954$as_echo_n "checking for $ac_word... " >&6; } 4955if test "${ac_cv_prog_AR+set}" = set; then : 4956 $as_echo_n "(cached) " >&6 4957else 4958 if test -n "$AR"; then 4959 ac_cv_prog_AR="$AR" # Let the user override the test. 4960else 4961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4962for as_dir in $PATH 4963do 4964 IFS=$as_save_IFS 4965 test -z "$as_dir" && as_dir=. 4966 for ac_exec_ext in '' $ac_executable_extensions; do 4967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4968 ac_cv_prog_AR="${ac_tool_prefix}ar" 4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4970 break 2 4971 fi 4972done 4973 done 4974IFS=$as_save_IFS 4975 4976fi 4977fi 4978AR=$ac_cv_prog_AR 4979if test -n "$AR"; then 4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4981$as_echo "$AR" >&6; } 4982else 4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4984$as_echo "no" >&6; } 4985fi 4986 4987 4988fi 4989if test -z "$ac_cv_prog_AR"; then 4990 ac_ct_AR=$AR 4991 # Extract the first word of "ar", so it can be a program name with args. 4992set dummy ar; ac_word=$2 4993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4994$as_echo_n "checking for $ac_word... " >&6; } 4995if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 4996 $as_echo_n "(cached) " >&6 4997else 4998 if test -n "$ac_ct_AR"; then 4999 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5000else 5001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5002for as_dir in $PATH 5003do 5004 IFS=$as_save_IFS 5005 test -z "$as_dir" && as_dir=. 5006 for ac_exec_ext in '' $ac_executable_extensions; do 5007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5008 ac_cv_prog_ac_ct_AR="ar" 5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5010 break 2 5011 fi 5012done 5013 done 5014IFS=$as_save_IFS 5015 5016fi 5017fi 5018ac_ct_AR=$ac_cv_prog_ac_ct_AR 5019if test -n "$ac_ct_AR"; then 5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5021$as_echo "$ac_ct_AR" >&6; } 5022else 5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5024$as_echo "no" >&6; } 5025fi 5026 5027 if test "x$ac_ct_AR" = x; then 5028 AR="false" 5029 else 5030 case $cross_compiling:$ac_tool_warned in 5031yes:) 5032{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5033$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5034ac_tool_warned=yes ;; 5035esac 5036 AR=$ac_ct_AR 5037 fi 5038else 5039 AR="$ac_cv_prog_AR" 5040fi 5041 5042test -z "$AR" && AR=ar 5043test -z "$AR_FLAGS" && AR_FLAGS=cru 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055if test -n "$ac_tool_prefix"; then 5056 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5057set dummy ${ac_tool_prefix}strip; ac_word=$2 5058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5059$as_echo_n "checking for $ac_word... " >&6; } 5060if test "${ac_cv_prog_STRIP+set}" = set; then : 5061 $as_echo_n "(cached) " >&6 5062else 5063 if test -n "$STRIP"; then 5064 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5065else 5066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5067for as_dir in $PATH 5068do 5069 IFS=$as_save_IFS 5070 test -z "$as_dir" && as_dir=. 5071 for ac_exec_ext in '' $ac_executable_extensions; do 5072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5073 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5075 break 2 5076 fi 5077done 5078 done 5079IFS=$as_save_IFS 5080 5081fi 5082fi 5083STRIP=$ac_cv_prog_STRIP 5084if test -n "$STRIP"; then 5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5086$as_echo "$STRIP" >&6; } 5087else 5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5089$as_echo "no" >&6; } 5090fi 5091 5092 5093fi 5094if test -z "$ac_cv_prog_STRIP"; then 5095 ac_ct_STRIP=$STRIP 5096 # Extract the first word of "strip", so it can be a program name with args. 5097set dummy strip; ac_word=$2 5098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5099$as_echo_n "checking for $ac_word... " >&6; } 5100if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 5101 $as_echo_n "(cached) " >&6 5102else 5103 if test -n "$ac_ct_STRIP"; then 5104 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5105else 5106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5107for as_dir in $PATH 5108do 5109 IFS=$as_save_IFS 5110 test -z "$as_dir" && as_dir=. 5111 for ac_exec_ext in '' $ac_executable_extensions; do 5112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5113 ac_cv_prog_ac_ct_STRIP="strip" 5114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5115 break 2 5116 fi 5117done 5118 done 5119IFS=$as_save_IFS 5120 5121fi 5122fi 5123ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5124if test -n "$ac_ct_STRIP"; then 5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5126$as_echo "$ac_ct_STRIP" >&6; } 5127else 5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5129$as_echo "no" >&6; } 5130fi 5131 5132 if test "x$ac_ct_STRIP" = x; then 5133 STRIP=":" 5134 else 5135 case $cross_compiling:$ac_tool_warned in 5136yes:) 5137{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5138$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5139ac_tool_warned=yes ;; 5140esac 5141 STRIP=$ac_ct_STRIP 5142 fi 5143else 5144 STRIP="$ac_cv_prog_STRIP" 5145fi 5146 5147test -z "$STRIP" && STRIP=: 5148 5149 5150 5151 5152 5153 5154if test -n "$ac_tool_prefix"; then 5155 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5156set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5158$as_echo_n "checking for $ac_word... " >&6; } 5159if test "${ac_cv_prog_RANLIB+set}" = set; then : 5160 $as_echo_n "(cached) " >&6 5161else 5162 if test -n "$RANLIB"; then 5163 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5164else 5165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5166for as_dir in $PATH 5167do 5168 IFS=$as_save_IFS 5169 test -z "$as_dir" && as_dir=. 5170 for ac_exec_ext in '' $ac_executable_extensions; do 5171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5172 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5174 break 2 5175 fi 5176done 5177 done 5178IFS=$as_save_IFS 5179 5180fi 5181fi 5182RANLIB=$ac_cv_prog_RANLIB 5183if test -n "$RANLIB"; then 5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5185$as_echo "$RANLIB" >&6; } 5186else 5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5188$as_echo "no" >&6; } 5189fi 5190 5191 5192fi 5193if test -z "$ac_cv_prog_RANLIB"; then 5194 ac_ct_RANLIB=$RANLIB 5195 # Extract the first word of "ranlib", so it can be a program name with args. 5196set dummy ranlib; ac_word=$2 5197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5198$as_echo_n "checking for $ac_word... " >&6; } 5199if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5200 $as_echo_n "(cached) " >&6 5201else 5202 if test -n "$ac_ct_RANLIB"; then 5203 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5204else 5205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5206for as_dir in $PATH 5207do 5208 IFS=$as_save_IFS 5209 test -z "$as_dir" && as_dir=. 5210 for ac_exec_ext in '' $ac_executable_extensions; do 5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5212 ac_cv_prog_ac_ct_RANLIB="ranlib" 5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5214 break 2 5215 fi 5216done 5217 done 5218IFS=$as_save_IFS 5219 5220fi 5221fi 5222ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5223if test -n "$ac_ct_RANLIB"; then 5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5225$as_echo "$ac_ct_RANLIB" >&6; } 5226else 5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5228$as_echo "no" >&6; } 5229fi 5230 5231 if test "x$ac_ct_RANLIB" = x; then 5232 RANLIB=":" 5233 else 5234 case $cross_compiling:$ac_tool_warned in 5235yes:) 5236{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5237$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5238ac_tool_warned=yes ;; 5239esac 5240 RANLIB=$ac_ct_RANLIB 5241 fi 5242else 5243 RANLIB="$ac_cv_prog_RANLIB" 5244fi 5245 5246test -z "$RANLIB" && RANLIB=: 5247 5248 5249 5250 5251 5252 5253# Determine commands to create old-style static archives. 5254old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5255old_postinstall_cmds='chmod 644 $oldlib' 5256old_postuninstall_cmds= 5257 5258if test -n "$RANLIB"; then 5259 case $host_os in 5260 openbsd*) 5261 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5262 ;; 5263 *) 5264 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5265 ;; 5266 esac 5267 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5268fi 5269 5270case $host_os in 5271 darwin*) 5272 lock_old_archive_extraction=yes ;; 5273 *) 5274 lock_old_archive_extraction=no ;; 5275esac 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315# If no C compiler was specified, use CC. 5316LTCC=${LTCC-"$CC"} 5317 5318# If no C compiler flags were specified, use CFLAGS. 5319LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5320 5321# Allow CC to be a program name with arguments. 5322compiler=$CC 5323 5324 5325# Check for command to grab the raw symbol name followed by C symbol from nm. 5326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5327$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5328if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 5329 $as_echo_n "(cached) " >&6 5330else 5331 5332# These are sane defaults that work on at least a few old systems. 5333# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5334 5335# Character class describing NM global symbol codes. 5336symcode='[BCDEGRST]' 5337 5338# Regexp to match symbols that can be accessed directly from C. 5339sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5340 5341# Define system-specific variables. 5342case $host_os in 5343aix*) 5344 symcode='[BCDT]' 5345 ;; 5346cygwin* | mingw* | pw32* | cegcc*) 5347 symcode='[ABCDGISTW]' 5348 ;; 5349hpux*) 5350 if test "$host_cpu" = ia64; then 5351 symcode='[ABCDEGRST]' 5352 fi 5353 ;; 5354irix* | nonstopux*) 5355 symcode='[BCDEGRST]' 5356 ;; 5357osf*) 5358 symcode='[BCDEGQRST]' 5359 ;; 5360solaris*) 5361 symcode='[BDRT]' 5362 ;; 5363sco3.2v5*) 5364 symcode='[DT]' 5365 ;; 5366sysv4.2uw2*) 5367 symcode='[DT]' 5368 ;; 5369sysv5* | sco5v6* | unixware* | OpenUNIX*) 5370 symcode='[ABDT]' 5371 ;; 5372sysv4) 5373 symcode='[DFNSTU]' 5374 ;; 5375esac 5376 5377# If we're using GNU nm, then use its standard symbol codes. 5378case `$NM -V 2>&1` in 5379*GNU* | *'with BFD'*) 5380 symcode='[ABCDGIRSTW]' ;; 5381esac 5382 5383# Transform an extracted symbol line into a proper C declaration. 5384# Some systems (esp. on ia64) link data and code symbols differently, 5385# so use this general approach. 5386lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5387 5388# Transform an extracted symbol line into symbol name and symbol address 5389lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5390lt_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'" 5391 5392# Handle CRLF in mingw tool chain 5393opt_cr= 5394case $build_os in 5395mingw*) 5396 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5397 ;; 5398esac 5399 5400# Try without a prefix underscore, then with it. 5401for ac_symprfx in "" "_"; do 5402 5403 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5404 symxfrm="\\1 $ac_symprfx\\2 \\2" 5405 5406 # Write the raw and C identifiers. 5407 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5408 # Fake it for dumpbin and say T for any non-static function 5409 # and D for any global variable. 5410 # Also find C++ and __fastcall symbols from MSVC++, 5411 # which start with @ or ?. 5412 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5413" {last_section=section; section=\$ 3};"\ 5414" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5415" \$ 0!~/External *\|/{next};"\ 5416" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5417" {if(hide[section]) next};"\ 5418" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5419" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5420" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5421" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5422" ' prfx=^$ac_symprfx" 5423 else 5424 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5425 fi 5426 5427 # Check to see that the pipe works correctly. 5428 pipe_works=no 5429 5430 rm -f conftest* 5431 cat > conftest.$ac_ext <<_LT_EOF 5432#ifdef __cplusplus 5433extern "C" { 5434#endif 5435char nm_test_var; 5436void nm_test_func(void); 5437void nm_test_func(void){} 5438#ifdef __cplusplus 5439} 5440#endif 5441int main(){nm_test_var='a';nm_test_func();return(0);} 5442_LT_EOF 5443 5444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5445 (eval $ac_compile) 2>&5 5446 ac_status=$? 5447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5448 test $ac_status = 0; }; then 5449 # Now try to grab the symbols. 5450 nlist=conftest.nm 5451 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 5452 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 5453 ac_status=$? 5454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5455 test $ac_status = 0; } && test -s "$nlist"; then 5456 # Try sorting and uniquifying the output. 5457 if sort "$nlist" | uniq > "$nlist"T; then 5458 mv -f "$nlist"T "$nlist" 5459 else 5460 rm -f "$nlist"T 5461 fi 5462 5463 # Make sure that we snagged all the symbols we need. 5464 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5465 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5466 cat <<_LT_EOF > conftest.$ac_ext 5467#ifdef __cplusplus 5468extern "C" { 5469#endif 5470 5471_LT_EOF 5472 # Now generate the symbol file. 5473 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5474 5475 cat <<_LT_EOF >> conftest.$ac_ext 5476 5477/* The mapping between symbol names and symbols. */ 5478const struct { 5479 const char *name; 5480 void *address; 5481} 5482lt__PROGRAM__LTX_preloaded_symbols[] = 5483{ 5484 { "@PROGRAM@", (void *) 0 }, 5485_LT_EOF 5486 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5487 cat <<\_LT_EOF >> conftest.$ac_ext 5488 {0, (void *) 0} 5489}; 5490 5491/* This works around a problem in FreeBSD linker */ 5492#ifdef FREEBSD_WORKAROUND 5493static const void *lt_preloaded_setup() { 5494 return lt__PROGRAM__LTX_preloaded_symbols; 5495} 5496#endif 5497 5498#ifdef __cplusplus 5499} 5500#endif 5501_LT_EOF 5502 # Now try linking the two files. 5503 mv conftest.$ac_objext conftstm.$ac_objext 5504 lt_save_LIBS="$LIBS" 5505 lt_save_CFLAGS="$CFLAGS" 5506 LIBS="conftstm.$ac_objext" 5507 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 5509 (eval $ac_link) 2>&5 5510 ac_status=$? 5511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5512 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 5513 pipe_works=yes 5514 fi 5515 LIBS="$lt_save_LIBS" 5516 CFLAGS="$lt_save_CFLAGS" 5517 else 5518 echo "cannot find nm_test_func in $nlist" >&5 5519 fi 5520 else 5521 echo "cannot find nm_test_var in $nlist" >&5 5522 fi 5523 else 5524 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5525 fi 5526 else 5527 echo "$progname: failed program was:" >&5 5528 cat conftest.$ac_ext >&5 5529 fi 5530 rm -rf conftest* conftst* 5531 5532 # Do not use the global_symbol_pipe unless it works. 5533 if test "$pipe_works" = yes; then 5534 break 5535 else 5536 lt_cv_sys_global_symbol_pipe= 5537 fi 5538done 5539 5540fi 5541 5542if test -z "$lt_cv_sys_global_symbol_pipe"; then 5543 lt_cv_sys_global_symbol_to_cdecl= 5544fi 5545if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 5547$as_echo "failed" >&6; } 5548else 5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 5550$as_echo "ok" >&6; } 5551fi 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575# Check whether --enable-libtool-lock was given. 5576if test "${enable_libtool_lock+set}" = set; then : 5577 enableval=$enable_libtool_lock; 5578fi 5579 5580test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 5581 5582# Some flags need to be propagated to the compiler or linker for good 5583# libtool support. 5584case $host in 5585ia64-*-hpux*) 5586 # Find out which ABI we are using. 5587 echo 'int i;' > conftest.$ac_ext 5588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5589 (eval $ac_compile) 2>&5 5590 ac_status=$? 5591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5592 test $ac_status = 0; }; then 5593 case `/usr/bin/file conftest.$ac_objext` in 5594 *ELF-32*) 5595 HPUX_IA64_MODE="32" 5596 ;; 5597 *ELF-64*) 5598 HPUX_IA64_MODE="64" 5599 ;; 5600 esac 5601 fi 5602 rm -rf conftest* 5603 ;; 5604*-*-irix6*) 5605 # Find out which ABI we are using. 5606 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 5607 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5608 (eval $ac_compile) 2>&5 5609 ac_status=$? 5610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5611 test $ac_status = 0; }; then 5612 if test "$lt_cv_prog_gnu_ld" = yes; then 5613 case `/usr/bin/file conftest.$ac_objext` in 5614 *32-bit*) 5615 LD="${LD-ld} -melf32bsmip" 5616 ;; 5617 *N32*) 5618 LD="${LD-ld} -melf32bmipn32" 5619 ;; 5620 *64-bit*) 5621 LD="${LD-ld} -melf64bmip" 5622 ;; 5623 esac 5624 else 5625 case `/usr/bin/file conftest.$ac_objext` in 5626 *32-bit*) 5627 LD="${LD-ld} -32" 5628 ;; 5629 *N32*) 5630 LD="${LD-ld} -n32" 5631 ;; 5632 *64-bit*) 5633 LD="${LD-ld} -64" 5634 ;; 5635 esac 5636 fi 5637 fi 5638 rm -rf conftest* 5639 ;; 5640 5641x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 5642s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 5643 # Find out which ABI we are using. 5644 echo 'int i;' > conftest.$ac_ext 5645 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5646 (eval $ac_compile) 2>&5 5647 ac_status=$? 5648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5649 test $ac_status = 0; }; then 5650 case `/usr/bin/file conftest.o` in 5651 *32-bit*) 5652 case $host in 5653 x86_64-*kfreebsd*-gnu) 5654 LD="${LD-ld} -m elf_i386_fbsd" 5655 ;; 5656 x86_64-*linux*) 5657 LD="${LD-ld} -m elf_i386" 5658 ;; 5659 ppc64-*linux*|powerpc64-*linux*) 5660 LD="${LD-ld} -m elf32ppclinux" 5661 ;; 5662 s390x-*linux*) 5663 LD="${LD-ld} -m elf_s390" 5664 ;; 5665 sparc64-*linux*) 5666 LD="${LD-ld} -m elf32_sparc" 5667 ;; 5668 esac 5669 ;; 5670 *64-bit*) 5671 case $host in 5672 x86_64-*kfreebsd*-gnu) 5673 LD="${LD-ld} -m elf_x86_64_fbsd" 5674 ;; 5675 x86_64-*linux*) 5676 LD="${LD-ld} -m elf_x86_64" 5677 ;; 5678 ppc*-*linux*|powerpc*-*linux*) 5679 LD="${LD-ld} -m elf64ppc" 5680 ;; 5681 s390*-*linux*|s390*-*tpf*) 5682 LD="${LD-ld} -m elf64_s390" 5683 ;; 5684 sparc*-*linux*) 5685 LD="${LD-ld} -m elf64_sparc" 5686 ;; 5687 esac 5688 ;; 5689 esac 5690 fi 5691 rm -rf conftest* 5692 ;; 5693 5694*-*-sco3.2v5*) 5695 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 5696 SAVE_CFLAGS="$CFLAGS" 5697 CFLAGS="$CFLAGS -belf" 5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 5699$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 5700if test "${lt_cv_cc_needs_belf+set}" = set; then : 5701 $as_echo_n "(cached) " >&6 5702else 5703 ac_ext=c 5704ac_cpp='$CPP $CPPFLAGS' 5705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5707ac_compiler_gnu=$ac_cv_c_compiler_gnu 5708 5709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5710/* end confdefs.h. */ 5711 5712int 5713main () 5714{ 5715 5716 ; 5717 return 0; 5718} 5719_ACEOF 5720if ac_fn_c_try_link "$LINENO"; then : 5721 lt_cv_cc_needs_belf=yes 5722else 5723 lt_cv_cc_needs_belf=no 5724fi 5725rm -f core conftest.err conftest.$ac_objext \ 5726 conftest$ac_exeext conftest.$ac_ext 5727 ac_ext=c 5728ac_cpp='$CPP $CPPFLAGS' 5729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5731ac_compiler_gnu=$ac_cv_c_compiler_gnu 5732 5733fi 5734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 5735$as_echo "$lt_cv_cc_needs_belf" >&6; } 5736 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 5737 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 5738 CFLAGS="$SAVE_CFLAGS" 5739 fi 5740 ;; 5741sparc*-*solaris*) 5742 # Find out which ABI we are using. 5743 echo 'int i;' > conftest.$ac_ext 5744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5745 (eval $ac_compile) 2>&5 5746 ac_status=$? 5747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5748 test $ac_status = 0; }; then 5749 case `/usr/bin/file conftest.o` in 5750 *64-bit*) 5751 case $lt_cv_prog_gnu_ld in 5752 yes*) LD="${LD-ld} -m elf64_sparc" ;; 5753 *) 5754 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 5755 LD="${LD-ld} -64" 5756 fi 5757 ;; 5758 esac 5759 ;; 5760 esac 5761 fi 5762 rm -rf conftest* 5763 ;; 5764esac 5765 5766need_locks="$enable_libtool_lock" 5767 5768 5769 case $host_os in 5770 rhapsody* | darwin*) 5771 if test -n "$ac_tool_prefix"; then 5772 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 5773set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 5774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5775$as_echo_n "checking for $ac_word... " >&6; } 5776if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 5777 $as_echo_n "(cached) " >&6 5778else 5779 if test -n "$DSYMUTIL"; then 5780 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 5781else 5782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5783for as_dir in $PATH 5784do 5785 IFS=$as_save_IFS 5786 test -z "$as_dir" && as_dir=. 5787 for ac_exec_ext in '' $ac_executable_extensions; do 5788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5789 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5791 break 2 5792 fi 5793done 5794 done 5795IFS=$as_save_IFS 5796 5797fi 5798fi 5799DSYMUTIL=$ac_cv_prog_DSYMUTIL 5800if test -n "$DSYMUTIL"; then 5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 5802$as_echo "$DSYMUTIL" >&6; } 5803else 5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5805$as_echo "no" >&6; } 5806fi 5807 5808 5809fi 5810if test -z "$ac_cv_prog_DSYMUTIL"; then 5811 ac_ct_DSYMUTIL=$DSYMUTIL 5812 # Extract the first word of "dsymutil", so it can be a program name with args. 5813set dummy dsymutil; ac_word=$2 5814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5815$as_echo_n "checking for $ac_word... " >&6; } 5816if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 5817 $as_echo_n "(cached) " >&6 5818else 5819 if test -n "$ac_ct_DSYMUTIL"; then 5820 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 5821else 5822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5823for as_dir in $PATH 5824do 5825 IFS=$as_save_IFS 5826 test -z "$as_dir" && as_dir=. 5827 for ac_exec_ext in '' $ac_executable_extensions; do 5828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5829 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5831 break 2 5832 fi 5833done 5834 done 5835IFS=$as_save_IFS 5836 5837fi 5838fi 5839ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 5840if test -n "$ac_ct_DSYMUTIL"; then 5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 5842$as_echo "$ac_ct_DSYMUTIL" >&6; } 5843else 5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5845$as_echo "no" >&6; } 5846fi 5847 5848 if test "x$ac_ct_DSYMUTIL" = x; then 5849 DSYMUTIL=":" 5850 else 5851 case $cross_compiling:$ac_tool_warned in 5852yes:) 5853{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5854$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5855ac_tool_warned=yes ;; 5856esac 5857 DSYMUTIL=$ac_ct_DSYMUTIL 5858 fi 5859else 5860 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 5861fi 5862 5863 if test -n "$ac_tool_prefix"; then 5864 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 5865set dummy ${ac_tool_prefix}nmedit; ac_word=$2 5866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5867$as_echo_n "checking for $ac_word... " >&6; } 5868if test "${ac_cv_prog_NMEDIT+set}" = set; then : 5869 $as_echo_n "(cached) " >&6 5870else 5871 if test -n "$NMEDIT"; then 5872 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 5873else 5874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5875for as_dir in $PATH 5876do 5877 IFS=$as_save_IFS 5878 test -z "$as_dir" && as_dir=. 5879 for ac_exec_ext in '' $ac_executable_extensions; do 5880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5881 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5883 break 2 5884 fi 5885done 5886 done 5887IFS=$as_save_IFS 5888 5889fi 5890fi 5891NMEDIT=$ac_cv_prog_NMEDIT 5892if test -n "$NMEDIT"; then 5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 5894$as_echo "$NMEDIT" >&6; } 5895else 5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5897$as_echo "no" >&6; } 5898fi 5899 5900 5901fi 5902if test -z "$ac_cv_prog_NMEDIT"; then 5903 ac_ct_NMEDIT=$NMEDIT 5904 # Extract the first word of "nmedit", so it can be a program name with args. 5905set dummy nmedit; ac_word=$2 5906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5907$as_echo_n "checking for $ac_word... " >&6; } 5908if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 5909 $as_echo_n "(cached) " >&6 5910else 5911 if test -n "$ac_ct_NMEDIT"; then 5912 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 5913else 5914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5915for as_dir in $PATH 5916do 5917 IFS=$as_save_IFS 5918 test -z "$as_dir" && as_dir=. 5919 for ac_exec_ext in '' $ac_executable_extensions; do 5920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5921 ac_cv_prog_ac_ct_NMEDIT="nmedit" 5922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5923 break 2 5924 fi 5925done 5926 done 5927IFS=$as_save_IFS 5928 5929fi 5930fi 5931ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 5932if test -n "$ac_ct_NMEDIT"; then 5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 5934$as_echo "$ac_ct_NMEDIT" >&6; } 5935else 5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5937$as_echo "no" >&6; } 5938fi 5939 5940 if test "x$ac_ct_NMEDIT" = x; then 5941 NMEDIT=":" 5942 else 5943 case $cross_compiling:$ac_tool_warned in 5944yes:) 5945{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5946$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5947ac_tool_warned=yes ;; 5948esac 5949 NMEDIT=$ac_ct_NMEDIT 5950 fi 5951else 5952 NMEDIT="$ac_cv_prog_NMEDIT" 5953fi 5954 5955 if test -n "$ac_tool_prefix"; then 5956 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 5957set dummy ${ac_tool_prefix}lipo; ac_word=$2 5958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5959$as_echo_n "checking for $ac_word... " >&6; } 5960if test "${ac_cv_prog_LIPO+set}" = set; then : 5961 $as_echo_n "(cached) " >&6 5962else 5963 if test -n "$LIPO"; then 5964 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 5965else 5966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5967for as_dir in $PATH 5968do 5969 IFS=$as_save_IFS 5970 test -z "$as_dir" && as_dir=. 5971 for ac_exec_ext in '' $ac_executable_extensions; do 5972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5973 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5975 break 2 5976 fi 5977done 5978 done 5979IFS=$as_save_IFS 5980 5981fi 5982fi 5983LIPO=$ac_cv_prog_LIPO 5984if test -n "$LIPO"; then 5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 5986$as_echo "$LIPO" >&6; } 5987else 5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5989$as_echo "no" >&6; } 5990fi 5991 5992 5993fi 5994if test -z "$ac_cv_prog_LIPO"; then 5995 ac_ct_LIPO=$LIPO 5996 # Extract the first word of "lipo", so it can be a program name with args. 5997set dummy lipo; ac_word=$2 5998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5999$as_echo_n "checking for $ac_word... " >&6; } 6000if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 6001 $as_echo_n "(cached) " >&6 6002else 6003 if test -n "$ac_ct_LIPO"; then 6004 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6005else 6006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6007for as_dir in $PATH 6008do 6009 IFS=$as_save_IFS 6010 test -z "$as_dir" && as_dir=. 6011 for ac_exec_ext in '' $ac_executable_extensions; do 6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6013 ac_cv_prog_ac_ct_LIPO="lipo" 6014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6015 break 2 6016 fi 6017done 6018 done 6019IFS=$as_save_IFS 6020 6021fi 6022fi 6023ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6024if test -n "$ac_ct_LIPO"; then 6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6026$as_echo "$ac_ct_LIPO" >&6; } 6027else 6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6029$as_echo "no" >&6; } 6030fi 6031 6032 if test "x$ac_ct_LIPO" = x; then 6033 LIPO=":" 6034 else 6035 case $cross_compiling:$ac_tool_warned in 6036yes:) 6037{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6038$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6039ac_tool_warned=yes ;; 6040esac 6041 LIPO=$ac_ct_LIPO 6042 fi 6043else 6044 LIPO="$ac_cv_prog_LIPO" 6045fi 6046 6047 if test -n "$ac_tool_prefix"; then 6048 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6049set dummy ${ac_tool_prefix}otool; ac_word=$2 6050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6051$as_echo_n "checking for $ac_word... " >&6; } 6052if test "${ac_cv_prog_OTOOL+set}" = set; then : 6053 $as_echo_n "(cached) " >&6 6054else 6055 if test -n "$OTOOL"; then 6056 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6057else 6058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6059for as_dir in $PATH 6060do 6061 IFS=$as_save_IFS 6062 test -z "$as_dir" && as_dir=. 6063 for ac_exec_ext in '' $ac_executable_extensions; do 6064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6065 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6067 break 2 6068 fi 6069done 6070 done 6071IFS=$as_save_IFS 6072 6073fi 6074fi 6075OTOOL=$ac_cv_prog_OTOOL 6076if test -n "$OTOOL"; then 6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6078$as_echo "$OTOOL" >&6; } 6079else 6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6081$as_echo "no" >&6; } 6082fi 6083 6084 6085fi 6086if test -z "$ac_cv_prog_OTOOL"; then 6087 ac_ct_OTOOL=$OTOOL 6088 # Extract the first word of "otool", so it can be a program name with args. 6089set dummy otool; ac_word=$2 6090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6091$as_echo_n "checking for $ac_word... " >&6; } 6092if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 6093 $as_echo_n "(cached) " >&6 6094else 6095 if test -n "$ac_ct_OTOOL"; then 6096 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6097else 6098as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6099for as_dir in $PATH 6100do 6101 IFS=$as_save_IFS 6102 test -z "$as_dir" && as_dir=. 6103 for ac_exec_ext in '' $ac_executable_extensions; do 6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6105 ac_cv_prog_ac_ct_OTOOL="otool" 6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6107 break 2 6108 fi 6109done 6110 done 6111IFS=$as_save_IFS 6112 6113fi 6114fi 6115ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6116if test -n "$ac_ct_OTOOL"; then 6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6118$as_echo "$ac_ct_OTOOL" >&6; } 6119else 6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6121$as_echo "no" >&6; } 6122fi 6123 6124 if test "x$ac_ct_OTOOL" = x; then 6125 OTOOL=":" 6126 else 6127 case $cross_compiling:$ac_tool_warned in 6128yes:) 6129{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6130$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6131ac_tool_warned=yes ;; 6132esac 6133 OTOOL=$ac_ct_OTOOL 6134 fi 6135else 6136 OTOOL="$ac_cv_prog_OTOOL" 6137fi 6138 6139 if test -n "$ac_tool_prefix"; then 6140 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6141set dummy ${ac_tool_prefix}otool64; ac_word=$2 6142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6143$as_echo_n "checking for $ac_word... " >&6; } 6144if test "${ac_cv_prog_OTOOL64+set}" = set; then : 6145 $as_echo_n "(cached) " >&6 6146else 6147 if test -n "$OTOOL64"; then 6148 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6149else 6150as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6151for as_dir in $PATH 6152do 6153 IFS=$as_save_IFS 6154 test -z "$as_dir" && as_dir=. 6155 for ac_exec_ext in '' $ac_executable_extensions; do 6156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6157 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6159 break 2 6160 fi 6161done 6162 done 6163IFS=$as_save_IFS 6164 6165fi 6166fi 6167OTOOL64=$ac_cv_prog_OTOOL64 6168if test -n "$OTOOL64"; then 6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6170$as_echo "$OTOOL64" >&6; } 6171else 6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6173$as_echo "no" >&6; } 6174fi 6175 6176 6177fi 6178if test -z "$ac_cv_prog_OTOOL64"; then 6179 ac_ct_OTOOL64=$OTOOL64 6180 # Extract the first word of "otool64", so it can be a program name with args. 6181set dummy otool64; ac_word=$2 6182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6183$as_echo_n "checking for $ac_word... " >&6; } 6184if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 6185 $as_echo_n "(cached) " >&6 6186else 6187 if test -n "$ac_ct_OTOOL64"; then 6188 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6189else 6190as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6191for as_dir in $PATH 6192do 6193 IFS=$as_save_IFS 6194 test -z "$as_dir" && as_dir=. 6195 for ac_exec_ext in '' $ac_executable_extensions; do 6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6197 ac_cv_prog_ac_ct_OTOOL64="otool64" 6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6199 break 2 6200 fi 6201done 6202 done 6203IFS=$as_save_IFS 6204 6205fi 6206fi 6207ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6208if test -n "$ac_ct_OTOOL64"; then 6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6210$as_echo "$ac_ct_OTOOL64" >&6; } 6211else 6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6213$as_echo "no" >&6; } 6214fi 6215 6216 if test "x$ac_ct_OTOOL64" = x; then 6217 OTOOL64=":" 6218 else 6219 case $cross_compiling:$ac_tool_warned in 6220yes:) 6221{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6222$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6223ac_tool_warned=yes ;; 6224esac 6225 OTOOL64=$ac_ct_OTOOL64 6226 fi 6227else 6228 OTOOL64="$ac_cv_prog_OTOOL64" 6229fi 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6258$as_echo_n "checking for -single_module linker flag... " >&6; } 6259if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 6260 $as_echo_n "(cached) " >&6 6261else 6262 lt_cv_apple_cc_single_mod=no 6263 if test -z "${LT_MULTI_MODULE}"; then 6264 # By default we will add the -single_module flag. You can override 6265 # by either setting the environment variable LT_MULTI_MODULE 6266 # non-empty at configure time, or by adding -multi_module to the 6267 # link flags. 6268 rm -rf libconftest.dylib* 6269 echo "int foo(void){return 1;}" > conftest.c 6270 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6271-dynamiclib -Wl,-single_module conftest.c" >&5 6272 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6273 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6274 _lt_result=$? 6275 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6276 lt_cv_apple_cc_single_mod=yes 6277 else 6278 cat conftest.err >&5 6279 fi 6280 rm -rf libconftest.dylib* 6281 rm -f conftest.* 6282 fi 6283fi 6284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6285$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6287$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6288if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 6289 $as_echo_n "(cached) " >&6 6290else 6291 lt_cv_ld_exported_symbols_list=no 6292 save_LDFLAGS=$LDFLAGS 6293 echo "_main" > conftest.sym 6294 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6296/* end confdefs.h. */ 6297 6298int 6299main () 6300{ 6301 6302 ; 6303 return 0; 6304} 6305_ACEOF 6306if ac_fn_c_try_link "$LINENO"; then : 6307 lt_cv_ld_exported_symbols_list=yes 6308else 6309 lt_cv_ld_exported_symbols_list=no 6310fi 6311rm -f core conftest.err conftest.$ac_objext \ 6312 conftest$ac_exeext conftest.$ac_ext 6313 LDFLAGS="$save_LDFLAGS" 6314 6315fi 6316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6317$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 6319$as_echo_n "checking for -force_load linker flag... " >&6; } 6320if test "${lt_cv_ld_force_load+set}" = set; then : 6321 $as_echo_n "(cached) " >&6 6322else 6323 lt_cv_ld_force_load=no 6324 cat > conftest.c << _LT_EOF 6325int forced_loaded() { return 2;} 6326_LT_EOF 6327 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 6328 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 6329 echo "$AR cru libconftest.a conftest.o" >&5 6330 $AR cru libconftest.a conftest.o 2>&5 6331 echo "$RANLIB libconftest.a" >&5 6332 $RANLIB libconftest.a 2>&5 6333 cat > conftest.c << _LT_EOF 6334int main() { return 0;} 6335_LT_EOF 6336 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 6337 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 6338 _lt_result=$? 6339 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then 6340 lt_cv_ld_force_load=yes 6341 else 6342 cat conftest.err >&5 6343 fi 6344 rm -f conftest.err libconftest.a conftest conftest.c 6345 rm -rf conftest.dSYM 6346 6347fi 6348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 6349$as_echo "$lt_cv_ld_force_load" >&6; } 6350 case $host_os in 6351 rhapsody* | darwin1.[012]) 6352 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6353 darwin1.*) 6354 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6355 darwin*) # darwin 5.x on 6356 # if running on 10.5 or later, the deployment target defaults 6357 # to the OS version, if on x86, and 10.4, the deployment 6358 # target defaults to 10.4. Don't you love it? 6359 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6360 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6361 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6362 10.[012]*) 6363 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6364 10.*) 6365 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6366 esac 6367 ;; 6368 esac 6369 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6370 _lt_dar_single_mod='$single_module' 6371 fi 6372 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6373 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6374 else 6375 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6376 fi 6377 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 6378 _lt_dsymutil='~$DSYMUTIL $lib || :' 6379 else 6380 _lt_dsymutil= 6381 fi 6382 ;; 6383 esac 6384 6385ac_ext=c 6386ac_cpp='$CPP $CPPFLAGS' 6387ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6388ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6389ac_compiler_gnu=$ac_cv_c_compiler_gnu 6390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6391$as_echo_n "checking how to run the C preprocessor... " >&6; } 6392# On Suns, sometimes $CPP names a directory. 6393if test -n "$CPP" && test -d "$CPP"; then 6394 CPP= 6395fi 6396if test -z "$CPP"; then 6397 if test "${ac_cv_prog_CPP+set}" = set; then : 6398 $as_echo_n "(cached) " >&6 6399else 6400 # Double quotes because CPP needs to be expanded 6401 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6402 do 6403 ac_preproc_ok=false 6404for ac_c_preproc_warn_flag in '' yes 6405do 6406 # Use a header file that comes with gcc, so configuring glibc 6407 # with a fresh cross-compiler works. 6408 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6409 # <limits.h> exists even on freestanding compilers. 6410 # On the NeXT, cc -E runs the code through the compiler's parser, 6411 # not just through cpp. "Syntax error" is here to catch this case. 6412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6413/* end confdefs.h. */ 6414#ifdef __STDC__ 6415# include <limits.h> 6416#else 6417# include <assert.h> 6418#endif 6419 Syntax error 6420_ACEOF 6421if ac_fn_c_try_cpp "$LINENO"; then : 6422 6423else 6424 # Broken: fails on valid input. 6425continue 6426fi 6427rm -f conftest.err conftest.$ac_ext 6428 6429 # OK, works on sane cases. Now check whether nonexistent headers 6430 # can be detected and how. 6431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6432/* end confdefs.h. */ 6433#include <ac_nonexistent.h> 6434_ACEOF 6435if ac_fn_c_try_cpp "$LINENO"; then : 6436 # Broken: success on invalid input. 6437continue 6438else 6439 # Passes both tests. 6440ac_preproc_ok=: 6441break 6442fi 6443rm -f conftest.err conftest.$ac_ext 6444 6445done 6446# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6447rm -f conftest.err conftest.$ac_ext 6448if $ac_preproc_ok; then : 6449 break 6450fi 6451 6452 done 6453 ac_cv_prog_CPP=$CPP 6454 6455fi 6456 CPP=$ac_cv_prog_CPP 6457else 6458 ac_cv_prog_CPP=$CPP 6459fi 6460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 6461$as_echo "$CPP" >&6; } 6462ac_preproc_ok=false 6463for ac_c_preproc_warn_flag in '' yes 6464do 6465 # Use a header file that comes with gcc, so configuring glibc 6466 # with a fresh cross-compiler works. 6467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6468 # <limits.h> exists even on freestanding compilers. 6469 # On the NeXT, cc -E runs the code through the compiler's parser, 6470 # not just through cpp. "Syntax error" is here to catch this case. 6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6472/* end confdefs.h. */ 6473#ifdef __STDC__ 6474# include <limits.h> 6475#else 6476# include <assert.h> 6477#endif 6478 Syntax error 6479_ACEOF 6480if ac_fn_c_try_cpp "$LINENO"; then : 6481 6482else 6483 # Broken: fails on valid input. 6484continue 6485fi 6486rm -f conftest.err conftest.$ac_ext 6487 6488 # OK, works on sane cases. Now check whether nonexistent headers 6489 # can be detected and how. 6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6491/* end confdefs.h. */ 6492#include <ac_nonexistent.h> 6493_ACEOF 6494if ac_fn_c_try_cpp "$LINENO"; then : 6495 # Broken: success on invalid input. 6496continue 6497else 6498 # Passes both tests. 6499ac_preproc_ok=: 6500break 6501fi 6502rm -f conftest.err conftest.$ac_ext 6503 6504done 6505# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6506rm -f conftest.err conftest.$ac_ext 6507if $ac_preproc_ok; then : 6508 6509else 6510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6512as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6513See \`config.log' for more details" "$LINENO" 5; } 6514fi 6515 6516ac_ext=c 6517ac_cpp='$CPP $CPPFLAGS' 6518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6520ac_compiler_gnu=$ac_cv_c_compiler_gnu 6521 6522 6523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6524$as_echo_n "checking for ANSI C header files... " >&6; } 6525if test "${ac_cv_header_stdc+set}" = set; then : 6526 $as_echo_n "(cached) " >&6 6527else 6528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6529/* end confdefs.h. */ 6530#include <stdlib.h> 6531#include <stdarg.h> 6532#include <string.h> 6533#include <float.h> 6534 6535int 6536main () 6537{ 6538 6539 ; 6540 return 0; 6541} 6542_ACEOF 6543if ac_fn_c_try_compile "$LINENO"; then : 6544 ac_cv_header_stdc=yes 6545else 6546 ac_cv_header_stdc=no 6547fi 6548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6549 6550if test $ac_cv_header_stdc = yes; then 6551 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6553/* end confdefs.h. */ 6554#include <string.h> 6555 6556_ACEOF 6557if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6558 $EGREP "memchr" >/dev/null 2>&1; then : 6559 6560else 6561 ac_cv_header_stdc=no 6562fi 6563rm -f conftest* 6564 6565fi 6566 6567if test $ac_cv_header_stdc = yes; then 6568 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6570/* end confdefs.h. */ 6571#include <stdlib.h> 6572 6573_ACEOF 6574if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6575 $EGREP "free" >/dev/null 2>&1; then : 6576 6577else 6578 ac_cv_header_stdc=no 6579fi 6580rm -f conftest* 6581 6582fi 6583 6584if test $ac_cv_header_stdc = yes; then 6585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6586 if test "$cross_compiling" = yes; then : 6587 : 6588else 6589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6590/* end confdefs.h. */ 6591#include <ctype.h> 6592#include <stdlib.h> 6593#if ((' ' & 0x0FF) == 0x020) 6594# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6595# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6596#else 6597# define ISLOWER(c) \ 6598 (('a' <= (c) && (c) <= 'i') \ 6599 || ('j' <= (c) && (c) <= 'r') \ 6600 || ('s' <= (c) && (c) <= 'z')) 6601# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6602#endif 6603 6604#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6605int 6606main () 6607{ 6608 int i; 6609 for (i = 0; i < 256; i++) 6610 if (XOR (islower (i), ISLOWER (i)) 6611 || toupper (i) != TOUPPER (i)) 6612 return 2; 6613 return 0; 6614} 6615_ACEOF 6616if ac_fn_c_try_run "$LINENO"; then : 6617 6618else 6619 ac_cv_header_stdc=no 6620fi 6621rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6622 conftest.$ac_objext conftest.beam conftest.$ac_ext 6623fi 6624 6625fi 6626fi 6627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6628$as_echo "$ac_cv_header_stdc" >&6; } 6629if test $ac_cv_header_stdc = yes; then 6630 6631$as_echo "#define STDC_HEADERS 1" >>confdefs.h 6632 6633fi 6634 6635# On IRIX 5.3, sys/types and inttypes.h are conflicting. 6636for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6637 inttypes.h stdint.h unistd.h 6638do : 6639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6640ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 6641" 6642if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6643 cat >>confdefs.h <<_ACEOF 6644#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6645_ACEOF 6646 6647fi 6648 6649done 6650 6651 6652for ac_header in dlfcn.h 6653do : 6654 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 6655" 6656if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 6657 cat >>confdefs.h <<_ACEOF 6658#define HAVE_DLFCN_H 1 6659_ACEOF 6660 6661fi 6662 6663done 6664 6665 6666 6667 6668 6669# Set options 6670 6671 6672 6673 enable_dlopen=no 6674 6675 6676 enable_win32_dll=no 6677 6678 6679 # Check whether --enable-shared was given. 6680if test "${enable_shared+set}" = set; then : 6681 enableval=$enable_shared; p=${PACKAGE-default} 6682 case $enableval in 6683 yes) enable_shared=yes ;; 6684 no) enable_shared=no ;; 6685 *) 6686 enable_shared=no 6687 # Look at the argument we got. We use all the common list separators. 6688 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6689 for pkg in $enableval; do 6690 IFS="$lt_save_ifs" 6691 if test "X$pkg" = "X$p"; then 6692 enable_shared=yes 6693 fi 6694 done 6695 IFS="$lt_save_ifs" 6696 ;; 6697 esac 6698else 6699 enable_shared=yes 6700fi 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 # Check whether --enable-static was given. 6711if test "${enable_static+set}" = set; then : 6712 enableval=$enable_static; p=${PACKAGE-default} 6713 case $enableval in 6714 yes) enable_static=yes ;; 6715 no) enable_static=no ;; 6716 *) 6717 enable_static=no 6718 # Look at the argument we got. We use all the common list separators. 6719 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6720 for pkg in $enableval; do 6721 IFS="$lt_save_ifs" 6722 if test "X$pkg" = "X$p"; then 6723 enable_static=yes 6724 fi 6725 done 6726 IFS="$lt_save_ifs" 6727 ;; 6728 esac 6729else 6730 enable_static=yes 6731fi 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742# Check whether --with-pic was given. 6743if test "${with_pic+set}" = set; then : 6744 withval=$with_pic; pic_mode="$withval" 6745else 6746 pic_mode=default 6747fi 6748 6749 6750test -z "$pic_mode" && pic_mode=default 6751 6752 6753 6754 6755 6756 6757 6758 # Check whether --enable-fast-install was given. 6759if test "${enable_fast_install+set}" = set; then : 6760 enableval=$enable_fast_install; p=${PACKAGE-default} 6761 case $enableval in 6762 yes) enable_fast_install=yes ;; 6763 no) enable_fast_install=no ;; 6764 *) 6765 enable_fast_install=no 6766 # Look at the argument we got. We use all the common list separators. 6767 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6768 for pkg in $enableval; do 6769 IFS="$lt_save_ifs" 6770 if test "X$pkg" = "X$p"; then 6771 enable_fast_install=yes 6772 fi 6773 done 6774 IFS="$lt_save_ifs" 6775 ;; 6776 esac 6777else 6778 enable_fast_install=yes 6779fi 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791# This can be used to rebuild libtool when needed 6792LIBTOOL_DEPS="$ltmain" 6793 6794# Always use our own libtool. 6795LIBTOOL='$(SHELL) $(top_builddir)/libtool' 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822test -z "$LN_S" && LN_S="ln -s" 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837if test -n "${ZSH_VERSION+set}" ; then 6838 setopt NO_GLOB_SUBST 6839fi 6840 6841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 6842$as_echo_n "checking for objdir... " >&6; } 6843if test "${lt_cv_objdir+set}" = set; then : 6844 $as_echo_n "(cached) " >&6 6845else 6846 rm -f .libs 2>/dev/null 6847mkdir .libs 2>/dev/null 6848if test -d .libs; then 6849 lt_cv_objdir=.libs 6850else 6851 # MS-DOS does not allow filenames that begin with a dot. 6852 lt_cv_objdir=_libs 6853fi 6854rmdir .libs 2>/dev/null 6855fi 6856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 6857$as_echo "$lt_cv_objdir" >&6; } 6858objdir=$lt_cv_objdir 6859 6860 6861 6862 6863 6864cat >>confdefs.h <<_ACEOF 6865#define LT_OBJDIR "$lt_cv_objdir/" 6866_ACEOF 6867 6868 6869 6870 6871case $host_os in 6872aix3*) 6873 # AIX sometimes has problems with the GCC collect2 program. For some 6874 # reason, if we set the COLLECT_NAMES environment variable, the problems 6875 # vanish in a puff of smoke. 6876 if test "X${COLLECT_NAMES+set}" != Xset; then 6877 COLLECT_NAMES= 6878 export COLLECT_NAMES 6879 fi 6880 ;; 6881esac 6882 6883# Global variables: 6884ofile=libtool 6885can_build_shared=yes 6886 6887# All known linkers require a `.a' archive for static linking (except MSVC, 6888# which needs '.lib'). 6889libext=a 6890 6891with_gnu_ld="$lt_cv_prog_gnu_ld" 6892 6893old_CC="$CC" 6894old_CFLAGS="$CFLAGS" 6895 6896# Set sane defaults for various variables 6897test -z "$CC" && CC=cc 6898test -z "$LTCC" && LTCC=$CC 6899test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 6900test -z "$LD" && LD=ld 6901test -z "$ac_objext" && ac_objext=o 6902 6903for cc_temp in $compiler""; do 6904 case $cc_temp in 6905 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6906 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6907 \-*) ;; 6908 *) break;; 6909 esac 6910done 6911cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6912 6913 6914# Only perform the check for file, if the check method requires it 6915test -z "$MAGIC_CMD" && MAGIC_CMD=file 6916case $deplibs_check_method in 6917file_magic*) 6918 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 6920$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 6921if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 6922 $as_echo_n "(cached) " >&6 6923else 6924 case $MAGIC_CMD in 6925[\\/*] | ?:[\\/]*) 6926 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 6927 ;; 6928*) 6929 lt_save_MAGIC_CMD="$MAGIC_CMD" 6930 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6931 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 6932 for ac_dir in $ac_dummy; do 6933 IFS="$lt_save_ifs" 6934 test -z "$ac_dir" && ac_dir=. 6935 if test -f $ac_dir/${ac_tool_prefix}file; then 6936 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 6937 if test -n "$file_magic_test_file"; then 6938 case $deplibs_check_method in 6939 "file_magic "*) 6940 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 6941 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 6942 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 6943 $EGREP "$file_magic_regex" > /dev/null; then 6944 : 6945 else 6946 cat <<_LT_EOF 1>&2 6947 6948*** Warning: the command libtool uses to detect shared libraries, 6949*** $file_magic_cmd, produces output that libtool cannot recognize. 6950*** The result is that libtool may fail to recognize shared libraries 6951*** as such. This will affect the creation of libtool libraries that 6952*** depend on shared libraries, but programs linked with such libtool 6953*** libraries will work regardless of this problem. Nevertheless, you 6954*** may want to report the problem to your system manager and/or to 6955*** bug-libtool@gnu.org 6956 6957_LT_EOF 6958 fi ;; 6959 esac 6960 fi 6961 break 6962 fi 6963 done 6964 IFS="$lt_save_ifs" 6965 MAGIC_CMD="$lt_save_MAGIC_CMD" 6966 ;; 6967esac 6968fi 6969 6970MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 6971if test -n "$MAGIC_CMD"; then 6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 6973$as_echo "$MAGIC_CMD" >&6; } 6974else 6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6976$as_echo "no" >&6; } 6977fi 6978 6979 6980 6981 6982 6983if test -z "$lt_cv_path_MAGIC_CMD"; then 6984 if test -n "$ac_tool_prefix"; then 6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 6986$as_echo_n "checking for file... " >&6; } 6987if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 6988 $as_echo_n "(cached) " >&6 6989else 6990 case $MAGIC_CMD in 6991[\\/*] | ?:[\\/]*) 6992 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 6993 ;; 6994*) 6995 lt_save_MAGIC_CMD="$MAGIC_CMD" 6996 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6997 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 6998 for ac_dir in $ac_dummy; do 6999 IFS="$lt_save_ifs" 7000 test -z "$ac_dir" && ac_dir=. 7001 if test -f $ac_dir/file; then 7002 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7003 if test -n "$file_magic_test_file"; then 7004 case $deplibs_check_method in 7005 "file_magic "*) 7006 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7007 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7008 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7009 $EGREP "$file_magic_regex" > /dev/null; then 7010 : 7011 else 7012 cat <<_LT_EOF 1>&2 7013 7014*** Warning: the command libtool uses to detect shared libraries, 7015*** $file_magic_cmd, produces output that libtool cannot recognize. 7016*** The result is that libtool may fail to recognize shared libraries 7017*** as such. This will affect the creation of libtool libraries that 7018*** depend on shared libraries, but programs linked with such libtool 7019*** libraries will work regardless of this problem. Nevertheless, you 7020*** may want to report the problem to your system manager and/or to 7021*** bug-libtool@gnu.org 7022 7023_LT_EOF 7024 fi ;; 7025 esac 7026 fi 7027 break 7028 fi 7029 done 7030 IFS="$lt_save_ifs" 7031 MAGIC_CMD="$lt_save_MAGIC_CMD" 7032 ;; 7033esac 7034fi 7035 7036MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7037if test -n "$MAGIC_CMD"; then 7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7039$as_echo "$MAGIC_CMD" >&6; } 7040else 7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7042$as_echo "no" >&6; } 7043fi 7044 7045 7046 else 7047 MAGIC_CMD=: 7048 fi 7049fi 7050 7051 fi 7052 ;; 7053esac 7054 7055# Use C for the default configuration in the libtool script 7056 7057lt_save_CC="$CC" 7058ac_ext=c 7059ac_cpp='$CPP $CPPFLAGS' 7060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7062ac_compiler_gnu=$ac_cv_c_compiler_gnu 7063 7064 7065# Source file extension for C test sources. 7066ac_ext=c 7067 7068# Object file extension for compiled C test sources. 7069objext=o 7070objext=$objext 7071 7072# Code to be used in simple compile tests 7073lt_simple_compile_test_code="int some_variable = 0;" 7074 7075# Code to be used in simple link tests 7076lt_simple_link_test_code='int main(){return(0);}' 7077 7078 7079 7080 7081 7082 7083 7084# If no C compiler was specified, use CC. 7085LTCC=${LTCC-"$CC"} 7086 7087# If no C compiler flags were specified, use CFLAGS. 7088LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7089 7090# Allow CC to be a program name with arguments. 7091compiler=$CC 7092 7093# Save the default compiler, since it gets overwritten when the other 7094# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7095compiler_DEFAULT=$CC 7096 7097# save warnings/boilerplate of simple test code 7098ac_outfile=conftest.$ac_objext 7099echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7100eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7101_lt_compiler_boilerplate=`cat conftest.err` 7102$RM conftest* 7103 7104ac_outfile=conftest.$ac_objext 7105echo "$lt_simple_link_test_code" >conftest.$ac_ext 7106eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7107_lt_linker_boilerplate=`cat conftest.err` 7108$RM -r conftest* 7109 7110 7111if test -n "$compiler"; then 7112 7113lt_prog_compiler_no_builtin_flag= 7114 7115if test "$GCC" = yes; then 7116 case $cc_basename in 7117 nvcc*) 7118 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7119 *) 7120 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7121 esac 7122 7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7124$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7125if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 7126 $as_echo_n "(cached) " >&6 7127else 7128 lt_cv_prog_compiler_rtti_exceptions=no 7129 ac_outfile=conftest.$ac_objext 7130 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7131 lt_compiler_flag="-fno-rtti -fno-exceptions" 7132 # Insert the option either (1) after the last *FLAGS variable, or 7133 # (2) before a word containing "conftest.", or (3) at the end. 7134 # Note that $ac_compile itself does not contain backslashes and begins 7135 # with a dollar sign (not a hyphen), so the echo should work correctly. 7136 # The option is referenced via a variable to avoid confusing sed. 7137 lt_compile=`echo "$ac_compile" | $SED \ 7138 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7139 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7140 -e 's:$: $lt_compiler_flag:'` 7141 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7142 (eval "$lt_compile" 2>conftest.err) 7143 ac_status=$? 7144 cat conftest.err >&5 7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7146 if (exit $ac_status) && test -s "$ac_outfile"; then 7147 # The compiler can only warn and ignore the option if not recognized 7148 # So say no if there are warnings other than the usual output. 7149 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7150 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7151 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7152 lt_cv_prog_compiler_rtti_exceptions=yes 7153 fi 7154 fi 7155 $RM conftest* 7156 7157fi 7158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7159$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7160 7161if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7162 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7163else 7164 : 7165fi 7166 7167fi 7168 7169 7170 7171 7172 7173 7174 lt_prog_compiler_wl= 7175lt_prog_compiler_pic= 7176lt_prog_compiler_static= 7177 7178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 7179$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7180 7181 if test "$GCC" = yes; then 7182 lt_prog_compiler_wl='-Wl,' 7183 lt_prog_compiler_static='-static' 7184 7185 case $host_os in 7186 aix*) 7187 # All AIX code is PIC. 7188 if test "$host_cpu" = ia64; then 7189 # AIX 5 now supports IA64 processor 7190 lt_prog_compiler_static='-Bstatic' 7191 fi 7192 ;; 7193 7194 amigaos*) 7195 case $host_cpu in 7196 powerpc) 7197 # see comment about AmigaOS4 .so support 7198 lt_prog_compiler_pic='-fPIC' 7199 ;; 7200 m68k) 7201 # FIXME: we need at least 68020 code to build shared libraries, but 7202 # adding the `-m68020' flag to GCC prevents building anything better, 7203 # like `-m68040'. 7204 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7205 ;; 7206 esac 7207 ;; 7208 7209 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7210 # PIC is the default for these OSes. 7211 ;; 7212 7213 mingw* | cygwin* | pw32* | os2* | cegcc*) 7214 # This hack is so that the source file can tell whether it is being 7215 # built for inclusion in a dll (and should export symbols for example). 7216 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7217 # (--disable-auto-import) libraries 7218 lt_prog_compiler_pic='-DDLL_EXPORT' 7219 ;; 7220 7221 darwin* | rhapsody*) 7222 # PIC is the default on this platform 7223 # Common symbols not allowed in MH_DYLIB files 7224 lt_prog_compiler_pic='-fno-common' 7225 ;; 7226 7227 haiku*) 7228 # PIC is the default for Haiku. 7229 # The "-static" flag exists, but is broken. 7230 lt_prog_compiler_static= 7231 ;; 7232 7233 hpux*) 7234 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7235 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7236 # sets the default TLS model and affects inlining. 7237 case $host_cpu in 7238 hppa*64*) 7239 # +Z the default 7240 ;; 7241 *) 7242 lt_prog_compiler_pic='-fPIC' 7243 ;; 7244 esac 7245 ;; 7246 7247 interix[3-9]*) 7248 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7249 # Instead, we relocate shared libraries at runtime. 7250 ;; 7251 7252 msdosdjgpp*) 7253 # Just because we use GCC doesn't mean we suddenly get shared libraries 7254 # on systems that don't support them. 7255 lt_prog_compiler_can_build_shared=no 7256 enable_shared=no 7257 ;; 7258 7259 *nto* | *qnx*) 7260 # QNX uses GNU C++, but need to define -shared option too, otherwise 7261 # it will coredump. 7262 lt_prog_compiler_pic='-fPIC -shared' 7263 ;; 7264 7265 sysv4*MP*) 7266 if test -d /usr/nec; then 7267 lt_prog_compiler_pic=-Kconform_pic 7268 fi 7269 ;; 7270 7271 *) 7272 lt_prog_compiler_pic='-fPIC' 7273 ;; 7274 esac 7275 7276 case $cc_basename in 7277 nvcc*) # Cuda Compiler Driver 2.2 7278 lt_prog_compiler_wl='-Xlinker ' 7279 lt_prog_compiler_pic='-Xcompiler -fPIC' 7280 ;; 7281 esac 7282 else 7283 # PORTME Check for flag to pass linker flags through the system compiler. 7284 case $host_os in 7285 aix*) 7286 lt_prog_compiler_wl='-Wl,' 7287 if test "$host_cpu" = ia64; then 7288 # AIX 5 now supports IA64 processor 7289 lt_prog_compiler_static='-Bstatic' 7290 else 7291 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7292 fi 7293 ;; 7294 7295 mingw* | cygwin* | pw32* | os2* | cegcc*) 7296 # This hack is so that the source file can tell whether it is being 7297 # built for inclusion in a dll (and should export symbols for example). 7298 lt_prog_compiler_pic='-DDLL_EXPORT' 7299 ;; 7300 7301 hpux9* | hpux10* | hpux11*) 7302 lt_prog_compiler_wl='-Wl,' 7303 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7304 # not for PA HP-UX. 7305 case $host_cpu in 7306 hppa*64*|ia64*) 7307 # +Z the default 7308 ;; 7309 *) 7310 lt_prog_compiler_pic='+Z' 7311 ;; 7312 esac 7313 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7314 lt_prog_compiler_static='${wl}-a ${wl}archive' 7315 ;; 7316 7317 irix5* | irix6* | nonstopux*) 7318 lt_prog_compiler_wl='-Wl,' 7319 # PIC (with -KPIC) is the default. 7320 lt_prog_compiler_static='-non_shared' 7321 ;; 7322 7323 linux* | k*bsd*-gnu | kopensolaris*-gnu) 7324 case $cc_basename in 7325 # old Intel for x86_64 which still supported -KPIC. 7326 ecc*) 7327 lt_prog_compiler_wl='-Wl,' 7328 lt_prog_compiler_pic='-KPIC' 7329 lt_prog_compiler_static='-static' 7330 ;; 7331 # icc used to be incompatible with GCC. 7332 # ICC 10 doesn't accept -KPIC any more. 7333 icc* | ifort*) 7334 lt_prog_compiler_wl='-Wl,' 7335 lt_prog_compiler_pic='-fPIC' 7336 lt_prog_compiler_static='-static' 7337 ;; 7338 # Lahey Fortran 8.1. 7339 lf95*) 7340 lt_prog_compiler_wl='-Wl,' 7341 lt_prog_compiler_pic='--shared' 7342 lt_prog_compiler_static='--static' 7343 ;; 7344 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 7345 # Portland Group compilers (*not* the Pentium gcc compiler, 7346 # which looks to be a dead project) 7347 lt_prog_compiler_wl='-Wl,' 7348 lt_prog_compiler_pic='-fpic' 7349 lt_prog_compiler_static='-Bstatic' 7350 ;; 7351 ccc*) 7352 lt_prog_compiler_wl='-Wl,' 7353 # All Alpha code is PIC. 7354 lt_prog_compiler_static='-non_shared' 7355 ;; 7356 xl* | bgxl* | bgf* | mpixl*) 7357 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 7358 lt_prog_compiler_wl='-Wl,' 7359 lt_prog_compiler_pic='-qpic' 7360 lt_prog_compiler_static='-qstaticlink' 7361 ;; 7362 *) 7363 case `$CC -V 2>&1 | sed 5q` in 7364 *Sun\ F* | *Sun*Fortran*) 7365 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7366 lt_prog_compiler_pic='-KPIC' 7367 lt_prog_compiler_static='-Bstatic' 7368 lt_prog_compiler_wl='' 7369 ;; 7370 *Sun\ C*) 7371 # Sun C 5.9 7372 lt_prog_compiler_pic='-KPIC' 7373 lt_prog_compiler_static='-Bstatic' 7374 lt_prog_compiler_wl='-Wl,' 7375 ;; 7376 esac 7377 ;; 7378 esac 7379 ;; 7380 7381 newsos6) 7382 lt_prog_compiler_pic='-KPIC' 7383 lt_prog_compiler_static='-Bstatic' 7384 ;; 7385 7386 *nto* | *qnx*) 7387 # QNX uses GNU C++, but need to define -shared option too, otherwise 7388 # it will coredump. 7389 lt_prog_compiler_pic='-fPIC -shared' 7390 ;; 7391 7392 osf3* | osf4* | osf5*) 7393 lt_prog_compiler_wl='-Wl,' 7394 # All OSF/1 code is PIC. 7395 lt_prog_compiler_static='-non_shared' 7396 ;; 7397 7398 rdos*) 7399 lt_prog_compiler_static='-non_shared' 7400 ;; 7401 7402 solaris*) 7403 lt_prog_compiler_pic='-KPIC' 7404 lt_prog_compiler_static='-Bstatic' 7405 case $cc_basename in 7406 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 7407 lt_prog_compiler_wl='-Qoption ld ';; 7408 *) 7409 lt_prog_compiler_wl='-Wl,';; 7410 esac 7411 ;; 7412 7413 sunos4*) 7414 lt_prog_compiler_wl='-Qoption ld ' 7415 lt_prog_compiler_pic='-PIC' 7416 lt_prog_compiler_static='-Bstatic' 7417 ;; 7418 7419 sysv4 | sysv4.2uw2* | sysv4.3*) 7420 lt_prog_compiler_wl='-Wl,' 7421 lt_prog_compiler_pic='-KPIC' 7422 lt_prog_compiler_static='-Bstatic' 7423 ;; 7424 7425 sysv4*MP*) 7426 if test -d /usr/nec ;then 7427 lt_prog_compiler_pic='-Kconform_pic' 7428 lt_prog_compiler_static='-Bstatic' 7429 fi 7430 ;; 7431 7432 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7433 lt_prog_compiler_wl='-Wl,' 7434 lt_prog_compiler_pic='-KPIC' 7435 lt_prog_compiler_static='-Bstatic' 7436 ;; 7437 7438 unicos*) 7439 lt_prog_compiler_wl='-Wl,' 7440 lt_prog_compiler_can_build_shared=no 7441 ;; 7442 7443 uts4*) 7444 lt_prog_compiler_pic='-pic' 7445 lt_prog_compiler_static='-Bstatic' 7446 ;; 7447 7448 *) 7449 lt_prog_compiler_can_build_shared=no 7450 ;; 7451 esac 7452 fi 7453 7454case $host_os in 7455 # For platforms which do not support PIC, -DPIC is meaningless: 7456 *djgpp*) 7457 lt_prog_compiler_pic= 7458 ;; 7459 *) 7460 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7461 ;; 7462esac 7463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 7464$as_echo "$lt_prog_compiler_pic" >&6; } 7465 7466 7467 7468 7469 7470 7471# 7472# Check to make sure the PIC flag actually works. 7473# 7474if test -n "$lt_prog_compiler_pic"; then 7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7476$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 7477if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 7478 $as_echo_n "(cached) " >&6 7479else 7480 lt_cv_prog_compiler_pic_works=no 7481 ac_outfile=conftest.$ac_objext 7482 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7483 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 7484 # Insert the option either (1) after the last *FLAGS variable, or 7485 # (2) before a word containing "conftest.", or (3) at the end. 7486 # Note that $ac_compile itself does not contain backslashes and begins 7487 # with a dollar sign (not a hyphen), so the echo should work correctly. 7488 # The option is referenced via a variable to avoid confusing sed. 7489 lt_compile=`echo "$ac_compile" | $SED \ 7490 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7492 -e 's:$: $lt_compiler_flag:'` 7493 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7494 (eval "$lt_compile" 2>conftest.err) 7495 ac_status=$? 7496 cat conftest.err >&5 7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7498 if (exit $ac_status) && test -s "$ac_outfile"; then 7499 # The compiler can only warn and ignore the option if not recognized 7500 # So say no if there are warnings other than the usual output. 7501 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7502 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7503 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7504 lt_cv_prog_compiler_pic_works=yes 7505 fi 7506 fi 7507 $RM conftest* 7508 7509fi 7510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 7511$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 7512 7513if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 7514 case $lt_prog_compiler_pic in 7515 "" | " "*) ;; 7516 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7517 esac 7518else 7519 lt_prog_compiler_pic= 7520 lt_prog_compiler_can_build_shared=no 7521fi 7522 7523fi 7524 7525 7526 7527 7528 7529 7530# 7531# Check to make sure the static flag actually works. 7532# 7533wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 7534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 7535$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 7536if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 7537 $as_echo_n "(cached) " >&6 7538else 7539 lt_cv_prog_compiler_static_works=no 7540 save_LDFLAGS="$LDFLAGS" 7541 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 7542 echo "$lt_simple_link_test_code" > conftest.$ac_ext 7543 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 7544 # The linker can only warn and ignore the option if not recognized 7545 # So say no if there are warnings 7546 if test -s conftest.err; then 7547 # Append any errors to the config.log. 7548 cat conftest.err 1>&5 7549 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 7550 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7551 if diff conftest.exp conftest.er2 >/dev/null; then 7552 lt_cv_prog_compiler_static_works=yes 7553 fi 7554 else 7555 lt_cv_prog_compiler_static_works=yes 7556 fi 7557 fi 7558 $RM -r conftest* 7559 LDFLAGS="$save_LDFLAGS" 7560 7561fi 7562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 7563$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 7564 7565if test x"$lt_cv_prog_compiler_static_works" = xyes; then 7566 : 7567else 7568 lt_prog_compiler_static= 7569fi 7570 7571 7572 7573 7574 7575 7576 7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 7578$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 7579if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 7580 $as_echo_n "(cached) " >&6 7581else 7582 lt_cv_prog_compiler_c_o=no 7583 $RM -r conftest 2>/dev/null 7584 mkdir conftest 7585 cd conftest 7586 mkdir out 7587 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7588 7589 lt_compiler_flag="-o out/conftest2.$ac_objext" 7590 # Insert the option either (1) after the last *FLAGS variable, or 7591 # (2) before a word containing "conftest.", or (3) at the end. 7592 # Note that $ac_compile itself does not contain backslashes and begins 7593 # with a dollar sign (not a hyphen), so the echo should work correctly. 7594 lt_compile=`echo "$ac_compile" | $SED \ 7595 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7597 -e 's:$: $lt_compiler_flag:'` 7598 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7599 (eval "$lt_compile" 2>out/conftest.err) 7600 ac_status=$? 7601 cat out/conftest.err >&5 7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7603 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7604 then 7605 # The compiler can only warn and ignore the option if not recognized 7606 # So say no if there are warnings 7607 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 7608 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7609 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7610 lt_cv_prog_compiler_c_o=yes 7611 fi 7612 fi 7613 chmod u+w . 2>&5 7614 $RM conftest* 7615 # SGI C++ compiler will create directory out/ii_files/ for 7616 # template instantiation 7617 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 7618 $RM out/* && rmdir out 7619 cd .. 7620 $RM -r conftest 7621 $RM conftest* 7622 7623fi 7624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 7625$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 7626 7627 7628 7629 7630 7631 7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 7633$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 7634if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 7635 $as_echo_n "(cached) " >&6 7636else 7637 lt_cv_prog_compiler_c_o=no 7638 $RM -r conftest 2>/dev/null 7639 mkdir conftest 7640 cd conftest 7641 mkdir out 7642 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7643 7644 lt_compiler_flag="-o out/conftest2.$ac_objext" 7645 # Insert the option either (1) after the last *FLAGS variable, or 7646 # (2) before a word containing "conftest.", or (3) at the end. 7647 # Note that $ac_compile itself does not contain backslashes and begins 7648 # with a dollar sign (not a hyphen), so the echo should work correctly. 7649 lt_compile=`echo "$ac_compile" | $SED \ 7650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7652 -e 's:$: $lt_compiler_flag:'` 7653 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7654 (eval "$lt_compile" 2>out/conftest.err) 7655 ac_status=$? 7656 cat out/conftest.err >&5 7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7658 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7659 then 7660 # The compiler can only warn and ignore the option if not recognized 7661 # So say no if there are warnings 7662 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 7663 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7664 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7665 lt_cv_prog_compiler_c_o=yes 7666 fi 7667 fi 7668 chmod u+w . 2>&5 7669 $RM conftest* 7670 # SGI C++ compiler will create directory out/ii_files/ for 7671 # template instantiation 7672 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 7673 $RM out/* && rmdir out 7674 cd .. 7675 $RM -r conftest 7676 $RM conftest* 7677 7678fi 7679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 7680$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 7681 7682 7683 7684 7685hard_links="nottested" 7686if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 7687 # do not overwrite the value of need_locks provided by the user 7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 7689$as_echo_n "checking if we can lock with hard links... " >&6; } 7690 hard_links=yes 7691 $RM conftest* 7692 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7693 touch conftest.a 7694 ln conftest.a conftest.b 2>&5 || hard_links=no 7695 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 7697$as_echo "$hard_links" >&6; } 7698 if test "$hard_links" = no; then 7699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 7700$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 7701 need_locks=warn 7702 fi 7703else 7704 need_locks=no 7705fi 7706 7707 7708 7709 7710 7711 7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 7713$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 7714 7715 runpath_var= 7716 allow_undefined_flag= 7717 always_export_symbols=no 7718 archive_cmds= 7719 archive_expsym_cmds= 7720 compiler_needs_object=no 7721 enable_shared_with_static_runtimes=no 7722 export_dynamic_flag_spec= 7723 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 7724 hardcode_automatic=no 7725 hardcode_direct=no 7726 hardcode_direct_absolute=no 7727 hardcode_libdir_flag_spec= 7728 hardcode_libdir_flag_spec_ld= 7729 hardcode_libdir_separator= 7730 hardcode_minus_L=no 7731 hardcode_shlibpath_var=unsupported 7732 inherit_rpath=no 7733 link_all_deplibs=unknown 7734 module_cmds= 7735 module_expsym_cmds= 7736 old_archive_from_new_cmds= 7737 old_archive_from_expsyms_cmds= 7738 thread_safe_flag_spec= 7739 whole_archive_flag_spec= 7740 # include_expsyms should be a list of space-separated symbols to be *always* 7741 # included in the symbol list 7742 include_expsyms= 7743 # exclude_expsyms can be an extended regexp of symbols to exclude 7744 # it will be wrapped by ` (' and `)$', so one must not match beginning or 7745 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 7746 # as well as any symbol that contains `d'. 7747 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 7748 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 7749 # platforms (ab)use it in PIC code, but their linkers get confused if 7750 # the symbol is explicitly referenced. Since portable code cannot 7751 # rely on this symbol name, it's probably fine to never include it in 7752 # preloaded symbol tables. 7753 # Exclude shared library initialization/finalization symbols. 7754 extract_expsyms_cmds= 7755 7756 case $host_os in 7757 cygwin* | mingw* | pw32* | cegcc*) 7758 # FIXME: the MSVC++ port hasn't been tested in a loooong time 7759 # When not using gcc, we currently assume that we are using 7760 # Microsoft Visual C++. 7761 if test "$GCC" != yes; then 7762 with_gnu_ld=no 7763 fi 7764 ;; 7765 interix*) 7766 # we just hope/assume this is gcc and not c89 (= MSVC++) 7767 with_gnu_ld=yes 7768 ;; 7769 openbsd*) 7770 with_gnu_ld=no 7771 ;; 7772 esac 7773 7774 ld_shlibs=yes 7775 7776 # On some targets, GNU ld is compatible enough with the native linker 7777 # that we're better off using the native interface for both. 7778 lt_use_gnu_ld_interface=no 7779 if test "$with_gnu_ld" = yes; then 7780 case $host_os in 7781 aix*) 7782 # The AIX port of GNU ld has always aspired to compatibility 7783 # with the native linker. However, as the warning in the GNU ld 7784 # block says, versions before 2.19.5* couldn't really create working 7785 # shared libraries, regardless of the interface used. 7786 case `$LD -v 2>&1` in 7787 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 7788 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 7789 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 7790 *) 7791 lt_use_gnu_ld_interface=yes 7792 ;; 7793 esac 7794 ;; 7795 *) 7796 lt_use_gnu_ld_interface=yes 7797 ;; 7798 esac 7799 fi 7800 7801 if test "$lt_use_gnu_ld_interface" = yes; then 7802 # If archive_cmds runs LD, not CC, wlarc should be empty 7803 wlarc='${wl}' 7804 7805 # Set some defaults for GNU ld with shared library support. These 7806 # are reset later if shared libraries are not supported. Putting them 7807 # here allows them to be overridden if necessary. 7808 runpath_var=LD_RUN_PATH 7809 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 7810 export_dynamic_flag_spec='${wl}--export-dynamic' 7811 # ancient GNU ld didn't support --whole-archive et. al. 7812 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 7813 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 7814 else 7815 whole_archive_flag_spec= 7816 fi 7817 supports_anon_versioning=no 7818 case `$LD -v 2>&1` in 7819 *GNU\ gold*) supports_anon_versioning=yes ;; 7820 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 7821 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 7822 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 7823 *\ 2.11.*) ;; # other 2.11 versions 7824 *) supports_anon_versioning=yes ;; 7825 esac 7826 7827 # See if GNU ld supports shared libraries. 7828 case $host_os in 7829 aix[3-9]*) 7830 # On AIX/PPC, the GNU linker is very broken 7831 if test "$host_cpu" != ia64; then 7832 ld_shlibs=no 7833 cat <<_LT_EOF 1>&2 7834 7835*** Warning: the GNU linker, at least up to release 2.19, is reported 7836*** to be unable to reliably create shared libraries on AIX. 7837*** Therefore, libtool is disabling shared libraries support. If you 7838*** really care for shared libraries, you may want to install binutils 7839*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 7840*** You will then need to restart the configuration process. 7841 7842_LT_EOF 7843 fi 7844 ;; 7845 7846 amigaos*) 7847 case $host_cpu in 7848 powerpc) 7849 # see comment about AmigaOS4 .so support 7850 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7851 archive_expsym_cmds='' 7852 ;; 7853 m68k) 7854 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)' 7855 hardcode_libdir_flag_spec='-L$libdir' 7856 hardcode_minus_L=yes 7857 ;; 7858 esac 7859 ;; 7860 7861 beos*) 7862 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 7863 allow_undefined_flag=unsupported 7864 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 7865 # support --undefined. This deserves some investigation. FIXME 7866 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7867 else 7868 ld_shlibs=no 7869 fi 7870 ;; 7871 7872 cygwin* | mingw* | pw32* | cegcc*) 7873 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 7874 # as there is no search path for DLLs. 7875 hardcode_libdir_flag_spec='-L$libdir' 7876 export_dynamic_flag_spec='${wl}--export-all-symbols' 7877 allow_undefined_flag=unsupported 7878 always_export_symbols=no 7879 enable_shared_with_static_runtimes=yes 7880 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 7881 7882 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 7883 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 7884 # If the export-symbols file already is a .def file (1st line 7885 # is EXPORTS), use it as is; otherwise, prepend... 7886 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 7887 cp $export_symbols $output_objdir/$soname.def; 7888 else 7889 echo EXPORTS > $output_objdir/$soname.def; 7890 cat $export_symbols >> $output_objdir/$soname.def; 7891 fi~ 7892 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 7893 else 7894 ld_shlibs=no 7895 fi 7896 ;; 7897 7898 haiku*) 7899 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7900 link_all_deplibs=yes 7901 ;; 7902 7903 interix[3-9]*) 7904 hardcode_direct=no 7905 hardcode_shlibpath_var=no 7906 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 7907 export_dynamic_flag_spec='${wl}-E' 7908 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 7909 # Instead, shared libraries are loaded at an image base (0x10000000 by 7910 # default) and relocated if they conflict, which is a slow very memory 7911 # consuming and fragmenting process. To avoid this, we pick a random, 7912 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 7913 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 7914 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 7915 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' 7916 ;; 7917 7918 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 7919 tmp_diet=no 7920 if test "$host_os" = linux-dietlibc; then 7921 case $cc_basename in 7922 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 7923 esac 7924 fi 7925 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 7926 && test "$tmp_diet" = no 7927 then 7928 tmp_addflag= 7929 tmp_sharedflag='-shared' 7930 case $cc_basename,$host_cpu in 7931 pgcc*) # Portland Group C compiler 7932 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 7933 tmp_addflag=' $pic_flag' 7934 ;; 7935 pgf77* | pgf90* | pgf95* | pgfortran*) 7936 # Portland Group f77 and f90 compilers 7937 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 7938 tmp_addflag=' $pic_flag -Mnomain' ;; 7939 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 7940 tmp_addflag=' -i_dynamic' ;; 7941 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 7942 tmp_addflag=' -i_dynamic -nofor_main' ;; 7943 ifc* | ifort*) # Intel Fortran compiler 7944 tmp_addflag=' -nofor_main' ;; 7945 lf95*) # Lahey Fortran 8.1 7946 whole_archive_flag_spec= 7947 tmp_sharedflag='--shared' ;; 7948 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 7949 tmp_sharedflag='-qmkshrobj' 7950 tmp_addflag= ;; 7951 nvcc*) # Cuda Compiler Driver 2.2 7952 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 7953 compiler_needs_object=yes 7954 ;; 7955 esac 7956 case `$CC -V 2>&1 | sed 5q` in 7957 *Sun\ C*) # Sun C 5.9 7958 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 7959 compiler_needs_object=yes 7960 tmp_sharedflag='-G' ;; 7961 *Sun\ F*) # Sun Fortran 8.3 7962 tmp_sharedflag='-G' ;; 7963 esac 7964 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7965 7966 if test "x$supports_anon_versioning" = xyes; then 7967 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 7968 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 7969 echo "local: *; };" >> $output_objdir/$libname.ver~ 7970 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 7971 fi 7972 7973 case $cc_basename in 7974 xlf* | bgf* | bgxlf* | mpixlf*) 7975 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 7976 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 7977 hardcode_libdir_flag_spec= 7978 hardcode_libdir_flag_spec_ld='-rpath $libdir' 7979 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 7980 if test "x$supports_anon_versioning" = xyes; then 7981 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 7982 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 7983 echo "local: *; };" >> $output_objdir/$libname.ver~ 7984 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 7985 fi 7986 ;; 7987 esac 7988 else 7989 ld_shlibs=no 7990 fi 7991 ;; 7992 7993 netbsd*) 7994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 7995 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 7996 wlarc= 7997 else 7998 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7999 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8000 fi 8001 ;; 8002 8003 solaris*) 8004 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8005 ld_shlibs=no 8006 cat <<_LT_EOF 1>&2 8007 8008*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8009*** create shared libraries on Solaris systems. Therefore, libtool 8010*** is disabling shared libraries support. We urge you to upgrade GNU 8011*** binutils to release 2.9.1 or newer. Another option is to modify 8012*** your PATH or compiler configuration so that the native linker is 8013*** used, and then restart. 8014 8015_LT_EOF 8016 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8017 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8018 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8019 else 8020 ld_shlibs=no 8021 fi 8022 ;; 8023 8024 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8025 case `$LD -v 2>&1` in 8026 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8027 ld_shlibs=no 8028 cat <<_LT_EOF 1>&2 8029 8030*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8031*** reliably create shared libraries on SCO systems. Therefore, libtool 8032*** is disabling shared libraries support. We urge you to upgrade GNU 8033*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8034*** your PATH or compiler configuration so that the native linker is 8035*** used, and then restart. 8036 8037_LT_EOF 8038 ;; 8039 *) 8040 # For security reasons, it is highly recommended that you always 8041 # use absolute paths for naming shared libraries, and exclude the 8042 # DT_RUNPATH tag from executables and libraries. But doing so 8043 # requires that you compile everything twice, which is a pain. 8044 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8045 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8046 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8047 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8048 else 8049 ld_shlibs=no 8050 fi 8051 ;; 8052 esac 8053 ;; 8054 8055 sunos4*) 8056 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8057 wlarc= 8058 hardcode_direct=yes 8059 hardcode_shlibpath_var=no 8060 ;; 8061 8062 *) 8063 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8064 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8065 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8066 else 8067 ld_shlibs=no 8068 fi 8069 ;; 8070 esac 8071 8072 if test "$ld_shlibs" = no; then 8073 runpath_var= 8074 hardcode_libdir_flag_spec= 8075 export_dynamic_flag_spec= 8076 whole_archive_flag_spec= 8077 fi 8078 else 8079 # PORTME fill in a description of your system's linker (not GNU ld) 8080 case $host_os in 8081 aix3*) 8082 allow_undefined_flag=unsupported 8083 always_export_symbols=yes 8084 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' 8085 # Note: this linker hardcodes the directories in LIBPATH if there 8086 # are no directories specified by -L. 8087 hardcode_minus_L=yes 8088 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8089 # Neither direct hardcoding nor static linking is supported with a 8090 # broken collect2. 8091 hardcode_direct=unsupported 8092 fi 8093 ;; 8094 8095 aix[4-9]*) 8096 if test "$host_cpu" = ia64; then 8097 # On IA64, the linker does run time linking by default, so we don't 8098 # have to do anything special. 8099 aix_use_runtimelinking=no 8100 exp_sym_flag='-Bexport' 8101 no_entry_flag="" 8102 else 8103 # If we're using GNU nm, then we don't want the "-C" option. 8104 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8105 # Also, AIX nm treats weak defined symbols like other global 8106 # defined symbols, whereas GNU nm marks them as "W". 8107 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8108 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8109 else 8110 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' 8111 fi 8112 aix_use_runtimelinking=no 8113 8114 # Test if we are trying to use run time linking or normal 8115 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8116 # need to do runtime linking. 8117 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8118 for ld_flag in $LDFLAGS; do 8119 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8120 aix_use_runtimelinking=yes 8121 break 8122 fi 8123 done 8124 ;; 8125 esac 8126 8127 exp_sym_flag='-bexport' 8128 no_entry_flag='-bnoentry' 8129 fi 8130 8131 # When large executables or shared objects are built, AIX ld can 8132 # have problems creating the table of contents. If linking a library 8133 # or program results in "error TOC overflow" add -mminimal-toc to 8134 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8135 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8136 8137 archive_cmds='' 8138 hardcode_direct=yes 8139 hardcode_direct_absolute=yes 8140 hardcode_libdir_separator=':' 8141 link_all_deplibs=yes 8142 file_list_spec='${wl}-f,' 8143 8144 if test "$GCC" = yes; then 8145 case $host_os in aix4.[012]|aix4.[012].*) 8146 # We only want to do this on AIX 4.2 and lower, the check 8147 # below for broken collect2 doesn't work under 4.3+ 8148 collect2name=`${CC} -print-prog-name=collect2` 8149 if test -f "$collect2name" && 8150 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8151 then 8152 # We have reworked collect2 8153 : 8154 else 8155 # We have old collect2 8156 hardcode_direct=unsupported 8157 # It fails to find uninstalled libraries when the uninstalled 8158 # path is not listed in the libpath. Setting hardcode_minus_L 8159 # to unsupported forces relinking 8160 hardcode_minus_L=yes 8161 hardcode_libdir_flag_spec='-L$libdir' 8162 hardcode_libdir_separator= 8163 fi 8164 ;; 8165 esac 8166 shared_flag='-shared' 8167 if test "$aix_use_runtimelinking" = yes; then 8168 shared_flag="$shared_flag "'${wl}-G' 8169 fi 8170 else 8171 # not using gcc 8172 if test "$host_cpu" = ia64; then 8173 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8174 # chokes on -Wl,-G. The following line is correct: 8175 shared_flag='-G' 8176 else 8177 if test "$aix_use_runtimelinking" = yes; then 8178 shared_flag='${wl}-G' 8179 else 8180 shared_flag='${wl}-bM:SRE' 8181 fi 8182 fi 8183 fi 8184 8185 export_dynamic_flag_spec='${wl}-bexpall' 8186 # It seems that -bexpall does not export symbols beginning with 8187 # underscore (_), so it is better to generate a list of symbols to export. 8188 always_export_symbols=yes 8189 if test "$aix_use_runtimelinking" = yes; then 8190 # Warning - without using the other runtime loading flags (-brtl), 8191 # -berok will link without error, but may produce a broken library. 8192 allow_undefined_flag='-berok' 8193 # Determine the default libpath from the value encoded in an 8194 # empty executable. 8195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8196/* end confdefs.h. */ 8197 8198int 8199main () 8200{ 8201 8202 ; 8203 return 0; 8204} 8205_ACEOF 8206if ac_fn_c_try_link "$LINENO"; then : 8207 8208lt_aix_libpath_sed=' 8209 /Import File Strings/,/^$/ { 8210 /^0/ { 8211 s/^0 *\(.*\)$/\1/ 8212 p 8213 } 8214 }' 8215aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8216# Check for a 64-bit object if we didn't find anything. 8217if test -z "$aix_libpath"; then 8218 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8219fi 8220fi 8221rm -f core conftest.err conftest.$ac_objext \ 8222 conftest$ac_exeext conftest.$ac_ext 8223if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8224 8225 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8226 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 8227 else 8228 if test "$host_cpu" = ia64; then 8229 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8230 allow_undefined_flag="-z nodefs" 8231 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" 8232 else 8233 # Determine the default libpath from the value encoded in an 8234 # empty executable. 8235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8236/* end confdefs.h. */ 8237 8238int 8239main () 8240{ 8241 8242 ; 8243 return 0; 8244} 8245_ACEOF 8246if ac_fn_c_try_link "$LINENO"; then : 8247 8248lt_aix_libpath_sed=' 8249 /Import File Strings/,/^$/ { 8250 /^0/ { 8251 s/^0 *\(.*\)$/\1/ 8252 p 8253 } 8254 }' 8255aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8256# Check for a 64-bit object if we didn't find anything. 8257if test -z "$aix_libpath"; then 8258 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8259fi 8260fi 8261rm -f core conftest.err conftest.$ac_objext \ 8262 conftest$ac_exeext conftest.$ac_ext 8263if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8264 8265 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8266 # Warning - without using the other run time loading flags, 8267 # -berok will link without error, but may produce a broken library. 8268 no_undefined_flag=' ${wl}-bernotok' 8269 allow_undefined_flag=' ${wl}-berok' 8270 if test "$with_gnu_ld" = yes; then 8271 # We only use this code for GNU lds that support --whole-archive. 8272 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 8273 else 8274 # Exported symbols can be pulled into shared objects from archives 8275 whole_archive_flag_spec='$convenience' 8276 fi 8277 archive_cmds_need_lc=yes 8278 # This is similar to how AIX traditionally builds its shared libraries. 8279 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' 8280 fi 8281 fi 8282 ;; 8283 8284 amigaos*) 8285 case $host_cpu in 8286 powerpc) 8287 # see comment about AmigaOS4 .so support 8288 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8289 archive_expsym_cmds='' 8290 ;; 8291 m68k) 8292 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)' 8293 hardcode_libdir_flag_spec='-L$libdir' 8294 hardcode_minus_L=yes 8295 ;; 8296 esac 8297 ;; 8298 8299 bsdi[45]*) 8300 export_dynamic_flag_spec=-rdynamic 8301 ;; 8302 8303 cygwin* | mingw* | pw32* | cegcc*) 8304 # When not using gcc, we currently assume that we are using 8305 # Microsoft Visual C++. 8306 # hardcode_libdir_flag_spec is actually meaningless, as there is 8307 # no search path for DLLs. 8308 hardcode_libdir_flag_spec=' ' 8309 allow_undefined_flag=unsupported 8310 # Tell ltmain to make .lib files, not .a files. 8311 libext=lib 8312 # Tell ltmain to make .dll files, not .so files. 8313 shrext_cmds=".dll" 8314 # FIXME: Setting linknames here is a bad hack. 8315 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 8316 # The linker will automatically build a .lib file if we build a DLL. 8317 old_archive_from_new_cmds='true' 8318 # FIXME: Should let the user specify the lib program. 8319 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8320 fix_srcfile_path='`cygpath -w "$srcfile"`' 8321 enable_shared_with_static_runtimes=yes 8322 ;; 8323 8324 darwin* | rhapsody*) 8325 8326 8327 archive_cmds_need_lc=no 8328 hardcode_direct=no 8329 hardcode_automatic=yes 8330 hardcode_shlibpath_var=unsupported 8331 if test "$lt_cv_ld_force_load" = "yes"; then 8332 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 8333 else 8334 whole_archive_flag_spec='' 8335 fi 8336 link_all_deplibs=yes 8337 allow_undefined_flag="$_lt_dar_allow_undefined" 8338 case $cc_basename in 8339 ifort*) _lt_dar_can_shared=yes ;; 8340 *) _lt_dar_can_shared=$GCC ;; 8341 esac 8342 if test "$_lt_dar_can_shared" = "yes"; then 8343 output_verbose_link_cmd=func_echo_all 8344 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8345 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8346 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}" 8347 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}" 8348 8349 else 8350 ld_shlibs=no 8351 fi 8352 8353 ;; 8354 8355 dgux*) 8356 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8357 hardcode_libdir_flag_spec='-L$libdir' 8358 hardcode_shlibpath_var=no 8359 ;; 8360 8361 freebsd1*) 8362 ld_shlibs=no 8363 ;; 8364 8365 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8366 # support. Future versions do this automatically, but an explicit c++rt0.o 8367 # does not break anything, and helps significantly (at the cost of a little 8368 # extra space). 8369 freebsd2.2*) 8370 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8371 hardcode_libdir_flag_spec='-R$libdir' 8372 hardcode_direct=yes 8373 hardcode_shlibpath_var=no 8374 ;; 8375 8376 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8377 freebsd2*) 8378 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8379 hardcode_direct=yes 8380 hardcode_minus_L=yes 8381 hardcode_shlibpath_var=no 8382 ;; 8383 8384 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8385 freebsd* | dragonfly*) 8386 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8387 hardcode_libdir_flag_spec='-R$libdir' 8388 hardcode_direct=yes 8389 hardcode_shlibpath_var=no 8390 ;; 8391 8392 hpux9*) 8393 if test "$GCC" = yes; then 8394 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' 8395 else 8396 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' 8397 fi 8398 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8399 hardcode_libdir_separator=: 8400 hardcode_direct=yes 8401 8402 # hardcode_minus_L: Not really in the search PATH, 8403 # but as the default location of the library. 8404 hardcode_minus_L=yes 8405 export_dynamic_flag_spec='${wl}-E' 8406 ;; 8407 8408 hpux10*) 8409 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 8410 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8411 else 8412 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8413 fi 8414 if test "$with_gnu_ld" = no; then 8415 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8416 hardcode_libdir_flag_spec_ld='+b $libdir' 8417 hardcode_libdir_separator=: 8418 hardcode_direct=yes 8419 hardcode_direct_absolute=yes 8420 export_dynamic_flag_spec='${wl}-E' 8421 # hardcode_minus_L: Not really in the search PATH, 8422 # but as the default location of the library. 8423 hardcode_minus_L=yes 8424 fi 8425 ;; 8426 8427 hpux11*) 8428 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 8429 case $host_cpu in 8430 hppa*64*) 8431 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8432 ;; 8433 ia64*) 8434 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8435 ;; 8436 *) 8437 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8438 ;; 8439 esac 8440 else 8441 case $host_cpu in 8442 hppa*64*) 8443 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8444 ;; 8445 ia64*) 8446 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8447 ;; 8448 *) 8449 8450 # Older versions of the 11.00 compiler do not understand -b yet 8451 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 8453$as_echo_n "checking if $CC understands -b... " >&6; } 8454if test "${lt_cv_prog_compiler__b+set}" = set; then : 8455 $as_echo_n "(cached) " >&6 8456else 8457 lt_cv_prog_compiler__b=no 8458 save_LDFLAGS="$LDFLAGS" 8459 LDFLAGS="$LDFLAGS -b" 8460 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8461 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8462 # The linker can only warn and ignore the option if not recognized 8463 # So say no if there are warnings 8464 if test -s conftest.err; then 8465 # Append any errors to the config.log. 8466 cat conftest.err 1>&5 8467 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8468 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8469 if diff conftest.exp conftest.er2 >/dev/null; then 8470 lt_cv_prog_compiler__b=yes 8471 fi 8472 else 8473 lt_cv_prog_compiler__b=yes 8474 fi 8475 fi 8476 $RM -r conftest* 8477 LDFLAGS="$save_LDFLAGS" 8478 8479fi 8480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 8481$as_echo "$lt_cv_prog_compiler__b" >&6; } 8482 8483if test x"$lt_cv_prog_compiler__b" = xyes; then 8484 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8485else 8486 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8487fi 8488 8489 ;; 8490 esac 8491 fi 8492 if test "$with_gnu_ld" = no; then 8493 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8494 hardcode_libdir_separator=: 8495 8496 case $host_cpu in 8497 hppa*64*|ia64*) 8498 hardcode_direct=no 8499 hardcode_shlibpath_var=no 8500 ;; 8501 *) 8502 hardcode_direct=yes 8503 hardcode_direct_absolute=yes 8504 export_dynamic_flag_spec='${wl}-E' 8505 8506 # hardcode_minus_L: Not really in the search PATH, 8507 # but as the default location of the library. 8508 hardcode_minus_L=yes 8509 ;; 8510 esac 8511 fi 8512 ;; 8513 8514 irix5* | irix6* | nonstopux*) 8515 if test "$GCC" = yes; then 8516 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 8517 # Try to use the -exported_symbol ld option, if it does not 8518 # work, assume that -exports_file does not work either and 8519 # implicitly export all symbols. 8520 save_LDFLAGS="$LDFLAGS" 8521 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 8522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8523/* end confdefs.h. */ 8524int foo(void) {} 8525_ACEOF 8526if ac_fn_c_try_link "$LINENO"; then : 8527 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 8528 8529fi 8530rm -f core conftest.err conftest.$ac_objext \ 8531 conftest$ac_exeext conftest.$ac_ext 8532 LDFLAGS="$save_LDFLAGS" 8533 else 8534 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 8535 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 8536 fi 8537 archive_cmds_need_lc='no' 8538 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8539 hardcode_libdir_separator=: 8540 inherit_rpath=yes 8541 link_all_deplibs=yes 8542 ;; 8543 8544 netbsd*) 8545 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8546 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 8547 else 8548 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 8549 fi 8550 hardcode_libdir_flag_spec='-R$libdir' 8551 hardcode_direct=yes 8552 hardcode_shlibpath_var=no 8553 ;; 8554 8555 newsos6) 8556 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8557 hardcode_direct=yes 8558 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8559 hardcode_libdir_separator=: 8560 hardcode_shlibpath_var=no 8561 ;; 8562 8563 *nto* | *qnx*) 8564 ;; 8565 8566 openbsd*) 8567 if test -f /usr/libexec/ld.so; then 8568 hardcode_direct=yes 8569 hardcode_shlibpath_var=no 8570 hardcode_direct_absolute=yes 8571 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 8572 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8573 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 8574 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8575 export_dynamic_flag_spec='${wl}-E' 8576 else 8577 case $host_os in 8578 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 8579 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8580 hardcode_libdir_flag_spec='-R$libdir' 8581 ;; 8582 *) 8583 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8584 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8585 ;; 8586 esac 8587 fi 8588 else 8589 ld_shlibs=no 8590 fi 8591 ;; 8592 8593 os2*) 8594 hardcode_libdir_flag_spec='-L$libdir' 8595 hardcode_minus_L=yes 8596 allow_undefined_flag=unsupported 8597 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' 8598 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 8599 ;; 8600 8601 osf3*) 8602 if test "$GCC" = yes; then 8603 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8604 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 8605 else 8606 allow_undefined_flag=' -expect_unresolved \*' 8607 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 8608 fi 8609 archive_cmds_need_lc='no' 8610 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8611 hardcode_libdir_separator=: 8612 ;; 8613 8614 osf4* | osf5*) # as osf3* with the addition of -msym flag 8615 if test "$GCC" = yes; then 8616 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8617 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 8618 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8619 else 8620 allow_undefined_flag=' -expect_unresolved \*' 8621 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 8622 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~ 8623 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 8624 8625 # Both c and cxx compiler support -rpath directly 8626 hardcode_libdir_flag_spec='-rpath $libdir' 8627 fi 8628 archive_cmds_need_lc='no' 8629 hardcode_libdir_separator=: 8630 ;; 8631 8632 solaris*) 8633 no_undefined_flag=' -z defs' 8634 if test "$GCC" = yes; then 8635 wlarc='${wl}' 8636 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8637 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8638 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8639 else 8640 case `$CC -V 2>&1` in 8641 *"Compilers 5.0"*) 8642 wlarc='' 8643 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 8644 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8645 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 8646 ;; 8647 *) 8648 wlarc='${wl}' 8649 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 8650 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8651 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8652 ;; 8653 esac 8654 fi 8655 hardcode_libdir_flag_spec='-R$libdir' 8656 hardcode_shlibpath_var=no 8657 case $host_os in 8658 solaris2.[0-5] | solaris2.[0-5].*) ;; 8659 *) 8660 # The compiler driver will combine and reorder linker options, 8661 # but understands `-z linker_flag'. GCC discards it without `$wl', 8662 # but is careful enough not to reorder. 8663 # Supported since Solaris 2.6 (maybe 2.5.1?) 8664 if test "$GCC" = yes; then 8665 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 8666 else 8667 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 8668 fi 8669 ;; 8670 esac 8671 link_all_deplibs=yes 8672 ;; 8673 8674 sunos4*) 8675 if test "x$host_vendor" = xsequent; then 8676 # Use $CC to link under sequent, because it throws in some extra .o 8677 # files that make .init and .fini sections work. 8678 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 8679 else 8680 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 8681 fi 8682 hardcode_libdir_flag_spec='-L$libdir' 8683 hardcode_direct=yes 8684 hardcode_minus_L=yes 8685 hardcode_shlibpath_var=no 8686 ;; 8687 8688 sysv4) 8689 case $host_vendor in 8690 sni) 8691 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8692 hardcode_direct=yes # is this really true??? 8693 ;; 8694 siemens) 8695 ## LD is ld it makes a PLAMLIB 8696 ## CC just makes a GrossModule. 8697 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 8698 reload_cmds='$CC -r -o $output$reload_objs' 8699 hardcode_direct=no 8700 ;; 8701 motorola) 8702 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8703 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 8704 ;; 8705 esac 8706 runpath_var='LD_RUN_PATH' 8707 hardcode_shlibpath_var=no 8708 ;; 8709 8710 sysv4.3*) 8711 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8712 hardcode_shlibpath_var=no 8713 export_dynamic_flag_spec='-Bexport' 8714 ;; 8715 8716 sysv4*MP*) 8717 if test -d /usr/nec; then 8718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8719 hardcode_shlibpath_var=no 8720 runpath_var=LD_RUN_PATH 8721 hardcode_runpath_var=yes 8722 ld_shlibs=yes 8723 fi 8724 ;; 8725 8726 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 8727 no_undefined_flag='${wl}-z,text' 8728 archive_cmds_need_lc=no 8729 hardcode_shlibpath_var=no 8730 runpath_var='LD_RUN_PATH' 8731 8732 if test "$GCC" = yes; then 8733 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8734 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8735 else 8736 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8737 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8738 fi 8739 ;; 8740 8741 sysv5* | sco3.2v5* | sco5v6*) 8742 # Note: We can NOT use -z defs as we might desire, because we do not 8743 # link with -lc, and that would cause any symbols used from libc to 8744 # always be unresolved, which means just about no library would 8745 # ever link correctly. If we're not using GNU ld we use -z text 8746 # though, which does catch some bad symbols but isn't as heavy-handed 8747 # as -z defs. 8748 no_undefined_flag='${wl}-z,text' 8749 allow_undefined_flag='${wl}-z,nodefs' 8750 archive_cmds_need_lc=no 8751 hardcode_shlibpath_var=no 8752 hardcode_libdir_flag_spec='${wl}-R,$libdir' 8753 hardcode_libdir_separator=':' 8754 link_all_deplibs=yes 8755 export_dynamic_flag_spec='${wl}-Bexport' 8756 runpath_var='LD_RUN_PATH' 8757 8758 if test "$GCC" = yes; then 8759 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8760 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8761 else 8762 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8763 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8764 fi 8765 ;; 8766 8767 uts4*) 8768 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8769 hardcode_libdir_flag_spec='-L$libdir' 8770 hardcode_shlibpath_var=no 8771 ;; 8772 8773 *) 8774 ld_shlibs=no 8775 ;; 8776 esac 8777 8778 if test x$host_vendor = xsni; then 8779 case $host in 8780 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 8781 export_dynamic_flag_spec='${wl}-Blargedynsym' 8782 ;; 8783 esac 8784 fi 8785 fi 8786 8787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 8788$as_echo "$ld_shlibs" >&6; } 8789test "$ld_shlibs" = no && can_build_shared=no 8790 8791with_gnu_ld=$with_gnu_ld 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807# 8808# Do we need to explicitly link libc? 8809# 8810case "x$archive_cmds_need_lc" in 8811x|xyes) 8812 # Assume -lc should be added 8813 archive_cmds_need_lc=yes 8814 8815 if test "$enable_shared" = yes && test "$GCC" = yes; then 8816 case $archive_cmds in 8817 *'~'*) 8818 # FIXME: we may have to deal with multi-command sequences. 8819 ;; 8820 '$CC '*) 8821 # Test whether the compiler implicitly links with -lc since on some 8822 # systems, -lgcc has to come before -lc. If gcc already passes -lc 8823 # to ld, don't add -lc before -lgcc. 8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 8825$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 8826if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : 8827 $as_echo_n "(cached) " >&6 8828else 8829 $RM conftest* 8830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8831 8832 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8833 (eval $ac_compile) 2>&5 8834 ac_status=$? 8835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8836 test $ac_status = 0; } 2>conftest.err; then 8837 soname=conftest 8838 lib=conftest 8839 libobjs=conftest.$ac_objext 8840 deplibs= 8841 wl=$lt_prog_compiler_wl 8842 pic_flag=$lt_prog_compiler_pic 8843 compiler_flags=-v 8844 linker_flags=-v 8845 verstring= 8846 output_objdir=. 8847 libname=conftest 8848 lt_save_allow_undefined_flag=$allow_undefined_flag 8849 allow_undefined_flag= 8850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 8851 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 8852 ac_status=$? 8853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8854 test $ac_status = 0; } 8855 then 8856 lt_cv_archive_cmds_need_lc=no 8857 else 8858 lt_cv_archive_cmds_need_lc=yes 8859 fi 8860 allow_undefined_flag=$lt_save_allow_undefined_flag 8861 else 8862 cat conftest.err 1>&5 8863 fi 8864 $RM conftest* 8865 8866fi 8867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 8868$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 8869 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 8870 ;; 8871 esac 8872 fi 8873 ;; 8874esac 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9033$as_echo_n "checking dynamic linker characteristics... " >&6; } 9034 9035if test "$GCC" = yes; then 9036 case $host_os in 9037 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9038 *) lt_awk_arg="/^libraries:/" ;; 9039 esac 9040 case $host_os in 9041 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 9042 *) lt_sed_strip_eq="s,=/,/,g" ;; 9043 esac 9044 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9045 case $lt_search_path_spec in 9046 *\;*) 9047 # if the path contains ";" then we assume it to be the separator 9048 # otherwise default to the standard path separator (i.e. ":") - it is 9049 # assumed that no part of a normal pathname contains ";" but that should 9050 # okay in the real world where ";" in dirpaths is itself problematic. 9051 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 9052 ;; 9053 *) 9054 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 9055 ;; 9056 esac 9057 # Ok, now we have the path, separated by spaces, we can step through it 9058 # and add multilib dir if necessary. 9059 lt_tmp_lt_search_path_spec= 9060 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9061 for lt_sys_path in $lt_search_path_spec; do 9062 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9063 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9064 else 9065 test -d "$lt_sys_path" && \ 9066 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9067 fi 9068 done 9069 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 9070BEGIN {RS=" "; FS="/|\n";} { 9071 lt_foo=""; 9072 lt_count=0; 9073 for (lt_i = NF; lt_i > 0; lt_i--) { 9074 if ($lt_i != "" && $lt_i != ".") { 9075 if ($lt_i == "..") { 9076 lt_count++; 9077 } else { 9078 if (lt_count == 0) { 9079 lt_foo="/" $lt_i lt_foo; 9080 } else { 9081 lt_count--; 9082 } 9083 } 9084 } 9085 } 9086 if (lt_foo != "") { lt_freq[lt_foo]++; } 9087 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9088}'` 9089 # AWK program above erroneously prepends '/' to C:/dos/paths 9090 # for these hosts. 9091 case $host_os in 9092 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 9093 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 9094 esac 9095 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 9096else 9097 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9098fi 9099library_names_spec= 9100libname_spec='lib$name' 9101soname_spec= 9102shrext_cmds=".so" 9103postinstall_cmds= 9104postuninstall_cmds= 9105finish_cmds= 9106finish_eval= 9107shlibpath_var= 9108shlibpath_overrides_runpath=unknown 9109version_type=none 9110dynamic_linker="$host_os ld.so" 9111sys_lib_dlsearch_path_spec="/lib /usr/lib" 9112need_lib_prefix=unknown 9113hardcode_into_libs=no 9114 9115# when you set need_version to no, make sure it does not cause -set_version 9116# flags to be left without arguments 9117need_version=unknown 9118 9119case $host_os in 9120aix3*) 9121 version_type=linux 9122 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9123 shlibpath_var=LIBPATH 9124 9125 # AIX 3 has no versioning support, so we append a major version to the name. 9126 soname_spec='${libname}${release}${shared_ext}$major' 9127 ;; 9128 9129aix[4-9]*) 9130 version_type=linux 9131 need_lib_prefix=no 9132 need_version=no 9133 hardcode_into_libs=yes 9134 if test "$host_cpu" = ia64; then 9135 # AIX 5 supports IA64 9136 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9137 shlibpath_var=LD_LIBRARY_PATH 9138 else 9139 # With GCC up to 2.95.x, collect2 would create an import file 9140 # for dependence libraries. The import file would start with 9141 # the line `#! .'. This would cause the generated library to 9142 # depend on `.', always an invalid library. This was fixed in 9143 # development snapshots of GCC prior to 3.0. 9144 case $host_os in 9145 aix4 | aix4.[01] | aix4.[01].*) 9146 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9147 echo ' yes ' 9148 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9149 : 9150 else 9151 can_build_shared=no 9152 fi 9153 ;; 9154 esac 9155 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9156 # soname into executable. Probably we can add versioning support to 9157 # collect2, so additional links can be useful in future. 9158 if test "$aix_use_runtimelinking" = yes; then 9159 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9160 # instead of lib<name>.a to let people know that these are not 9161 # typical AIX shared libraries. 9162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9163 else 9164 # We preserve .a as extension for shared libraries through AIX4.2 9165 # and later when we are not doing run time linking. 9166 library_names_spec='${libname}${release}.a $libname.a' 9167 soname_spec='${libname}${release}${shared_ext}$major' 9168 fi 9169 shlibpath_var=LIBPATH 9170 fi 9171 ;; 9172 9173amigaos*) 9174 case $host_cpu in 9175 powerpc) 9176 # Since July 2007 AmigaOS4 officially supports .so libraries. 9177 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9179 ;; 9180 m68k) 9181 library_names_spec='$libname.ixlibrary $libname.a' 9182 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9183 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 9184 ;; 9185 esac 9186 ;; 9187 9188beos*) 9189 library_names_spec='${libname}${shared_ext}' 9190 dynamic_linker="$host_os ld.so" 9191 shlibpath_var=LIBRARY_PATH 9192 ;; 9193 9194bsdi[45]*) 9195 version_type=linux 9196 need_version=no 9197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9198 soname_spec='${libname}${release}${shared_ext}$major' 9199 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9200 shlibpath_var=LD_LIBRARY_PATH 9201 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9202 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9203 # the default ld.so.conf also contains /usr/contrib/lib and 9204 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9205 # libtool to hard-code these into programs 9206 ;; 9207 9208cygwin* | mingw* | pw32* | cegcc*) 9209 version_type=windows 9210 shrext_cmds=".dll" 9211 need_version=no 9212 need_lib_prefix=no 9213 9214 case $GCC,$host_os in 9215 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9216 library_names_spec='$libname.dll.a' 9217 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9218 postinstall_cmds='base_file=`basename \${file}`~ 9219 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9220 dldir=$destdir/`dirname \$dlpath`~ 9221 test -d \$dldir || mkdir -p \$dldir~ 9222 $install_prog $dir/$dlname \$dldir/$dlname~ 9223 chmod a+x \$dldir/$dlname~ 9224 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9225 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9226 fi' 9227 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9228 dlpath=$dir/\$dldll~ 9229 $RM \$dlpath' 9230 shlibpath_overrides_runpath=yes 9231 9232 case $host_os in 9233 cygwin*) 9234 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9235 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9236 9237 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 9238 ;; 9239 mingw* | cegcc*) 9240 # MinGW DLLs use traditional 'lib' prefix 9241 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9242 ;; 9243 pw32*) 9244 # pw32 DLLs use 'pw' prefix rather than 'lib' 9245 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9246 ;; 9247 esac 9248 ;; 9249 9250 *) 9251 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9252 ;; 9253 esac 9254 dynamic_linker='Win32 ld.exe' 9255 # FIXME: first we should search . and the directory the executable is in 9256 shlibpath_var=PATH 9257 ;; 9258 9259darwin* | rhapsody*) 9260 dynamic_linker="$host_os dyld" 9261 version_type=darwin 9262 need_lib_prefix=no 9263 need_version=no 9264 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9265 soname_spec='${libname}${release}${major}$shared_ext' 9266 shlibpath_overrides_runpath=yes 9267 shlibpath_var=DYLD_LIBRARY_PATH 9268 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9269 9270 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9271 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9272 ;; 9273 9274dgux*) 9275 version_type=linux 9276 need_lib_prefix=no 9277 need_version=no 9278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9279 soname_spec='${libname}${release}${shared_ext}$major' 9280 shlibpath_var=LD_LIBRARY_PATH 9281 ;; 9282 9283freebsd1*) 9284 dynamic_linker=no 9285 ;; 9286 9287freebsd* | dragonfly*) 9288 # DragonFly does not have aout. When/if they implement a new 9289 # versioning mechanism, adjust this. 9290 if test -x /usr/bin/objformat; then 9291 objformat=`/usr/bin/objformat` 9292 else 9293 case $host_os in 9294 freebsd[123]*) objformat=aout ;; 9295 *) objformat=elf ;; 9296 esac 9297 fi 9298 version_type=freebsd-$objformat 9299 case $version_type in 9300 freebsd-elf*) 9301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9302 need_version=no 9303 need_lib_prefix=no 9304 ;; 9305 freebsd-*) 9306 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9307 need_version=yes 9308 ;; 9309 esac 9310 shlibpath_var=LD_LIBRARY_PATH 9311 case $host_os in 9312 freebsd2*) 9313 shlibpath_overrides_runpath=yes 9314 ;; 9315 freebsd3.[01]* | freebsdelf3.[01]*) 9316 shlibpath_overrides_runpath=yes 9317 hardcode_into_libs=yes 9318 ;; 9319 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9320 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9321 shlibpath_overrides_runpath=no 9322 hardcode_into_libs=yes 9323 ;; 9324 *) # from 4.6 on, and DragonFly 9325 shlibpath_overrides_runpath=yes 9326 hardcode_into_libs=yes 9327 ;; 9328 esac 9329 ;; 9330 9331gnu*) 9332 version_type=linux 9333 need_lib_prefix=no 9334 need_version=no 9335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9336 soname_spec='${libname}${release}${shared_ext}$major' 9337 shlibpath_var=LD_LIBRARY_PATH 9338 hardcode_into_libs=yes 9339 ;; 9340 9341haiku*) 9342 version_type=linux 9343 need_lib_prefix=no 9344 need_version=no 9345 dynamic_linker="$host_os runtime_loader" 9346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9347 soname_spec='${libname}${release}${shared_ext}$major' 9348 shlibpath_var=LIBRARY_PATH 9349 shlibpath_overrides_runpath=yes 9350 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 9351 hardcode_into_libs=yes 9352 ;; 9353 9354hpux9* | hpux10* | hpux11*) 9355 # Give a soname corresponding to the major version so that dld.sl refuses to 9356 # link against other versions. 9357 version_type=sunos 9358 need_lib_prefix=no 9359 need_version=no 9360 case $host_cpu in 9361 ia64*) 9362 shrext_cmds='.so' 9363 hardcode_into_libs=yes 9364 dynamic_linker="$host_os dld.so" 9365 shlibpath_var=LD_LIBRARY_PATH 9366 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9368 soname_spec='${libname}${release}${shared_ext}$major' 9369 if test "X$HPUX_IA64_MODE" = X32; then 9370 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9371 else 9372 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9373 fi 9374 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9375 ;; 9376 hppa*64*) 9377 shrext_cmds='.sl' 9378 hardcode_into_libs=yes 9379 dynamic_linker="$host_os dld.sl" 9380 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9381 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9383 soname_spec='${libname}${release}${shared_ext}$major' 9384 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9385 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9386 ;; 9387 *) 9388 shrext_cmds='.sl' 9389 dynamic_linker="$host_os dld.sl" 9390 shlibpath_var=SHLIB_PATH 9391 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9393 soname_spec='${libname}${release}${shared_ext}$major' 9394 ;; 9395 esac 9396 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 9397 postinstall_cmds='chmod 555 $lib' 9398 # or fails outright, so override atomically: 9399 install_override_mode=555 9400 ;; 9401 9402interix[3-9]*) 9403 version_type=linux 9404 need_lib_prefix=no 9405 need_version=no 9406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9407 soname_spec='${libname}${release}${shared_ext}$major' 9408 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9409 shlibpath_var=LD_LIBRARY_PATH 9410 shlibpath_overrides_runpath=no 9411 hardcode_into_libs=yes 9412 ;; 9413 9414irix5* | irix6* | nonstopux*) 9415 case $host_os in 9416 nonstopux*) version_type=nonstopux ;; 9417 *) 9418 if test "$lt_cv_prog_gnu_ld" = yes; then 9419 version_type=linux 9420 else 9421 version_type=irix 9422 fi ;; 9423 esac 9424 need_lib_prefix=no 9425 need_version=no 9426 soname_spec='${libname}${release}${shared_ext}$major' 9427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9428 case $host_os in 9429 irix5* | nonstopux*) 9430 libsuff= shlibsuff= 9431 ;; 9432 *) 9433 case $LD in # libtool.m4 will add one of these switches to LD 9434 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9435 libsuff= shlibsuff= libmagic=32-bit;; 9436 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9437 libsuff=32 shlibsuff=N32 libmagic=N32;; 9438 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9439 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9440 *) libsuff= shlibsuff= libmagic=never-match;; 9441 esac 9442 ;; 9443 esac 9444 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9445 shlibpath_overrides_runpath=no 9446 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9447 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9448 hardcode_into_libs=yes 9449 ;; 9450 9451# No shared lib support for Linux oldld, aout, or coff. 9452linux*oldld* | linux*aout* | linux*coff*) 9453 dynamic_linker=no 9454 ;; 9455 9456# This must be Linux ELF. 9457linux* | k*bsd*-gnu | kopensolaris*-gnu) 9458 version_type=linux 9459 need_lib_prefix=no 9460 need_version=no 9461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9462 soname_spec='${libname}${release}${shared_ext}$major' 9463 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9464 shlibpath_var=LD_LIBRARY_PATH 9465 shlibpath_overrides_runpath=no 9466 9467 # Some binutils ld are patched to set DT_RUNPATH 9468 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : 9469 $as_echo_n "(cached) " >&6 9470else 9471 lt_cv_shlibpath_overrides_runpath=no 9472 save_LDFLAGS=$LDFLAGS 9473 save_libdir=$libdir 9474 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 9475 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9477/* end confdefs.h. */ 9478 9479int 9480main () 9481{ 9482 9483 ; 9484 return 0; 9485} 9486_ACEOF 9487if ac_fn_c_try_link "$LINENO"; then : 9488 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 9489 lt_cv_shlibpath_overrides_runpath=yes 9490fi 9491fi 9492rm -f core conftest.err conftest.$ac_objext \ 9493 conftest$ac_exeext conftest.$ac_ext 9494 LDFLAGS=$save_LDFLAGS 9495 libdir=$save_libdir 9496 9497fi 9498 9499 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 9500 9501 # This implies no fast_install, which is unacceptable. 9502 # Some rework will be needed to allow for fast_install 9503 # before this can be enabled. 9504 hardcode_into_libs=yes 9505 9506 # Add ABI-specific directories to the system library path. 9507 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 9508 9509 # Append ld.so.conf contents to the search path 9510 if test -f /etc/ld.so.conf; then 9511 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 9512 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 9513 9514 fi 9515 9516 # We used to test for /lib/ld.so.1 and disable shared libraries on 9517 # powerpc, because MkLinux only supported shared libraries with the 9518 # GNU dynamic linker. Since this was broken with cross compilers, 9519 # most powerpc-linux boxes support dynamic linking these days and 9520 # people can always --disable-shared, the test was removed, and we 9521 # assume the GNU/Linux dynamic linker is in use. 9522 dynamic_linker='GNU/Linux ld.so' 9523 ;; 9524 9525netbsd*) 9526 version_type=sunos 9527 need_lib_prefix=no 9528 need_version=no 9529 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9531 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9532 dynamic_linker='NetBSD (a.out) ld.so' 9533 else 9534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9535 soname_spec='${libname}${release}${shared_ext}$major' 9536 dynamic_linker='NetBSD ld.elf_so' 9537 fi 9538 shlibpath_var=LD_LIBRARY_PATH 9539 shlibpath_overrides_runpath=yes 9540 hardcode_into_libs=yes 9541 ;; 9542 9543newsos6) 9544 version_type=linux 9545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9546 shlibpath_var=LD_LIBRARY_PATH 9547 shlibpath_overrides_runpath=yes 9548 ;; 9549 9550*nto* | *qnx*) 9551 version_type=qnx 9552 need_lib_prefix=no 9553 need_version=no 9554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9555 soname_spec='${libname}${release}${shared_ext}$major' 9556 shlibpath_var=LD_LIBRARY_PATH 9557 shlibpath_overrides_runpath=no 9558 hardcode_into_libs=yes 9559 dynamic_linker='ldqnx.so' 9560 ;; 9561 9562openbsd*) 9563 version_type=sunos 9564 sys_lib_dlsearch_path_spec="/usr/lib" 9565 need_lib_prefix=no 9566 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 9567 case $host_os in 9568 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 9569 *) need_version=no ;; 9570 esac 9571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9572 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9573 shlibpath_var=LD_LIBRARY_PATH 9574 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9575 case $host_os in 9576 openbsd2.[89] | openbsd2.[89].*) 9577 shlibpath_overrides_runpath=no 9578 ;; 9579 *) 9580 shlibpath_overrides_runpath=yes 9581 ;; 9582 esac 9583 else 9584 shlibpath_overrides_runpath=yes 9585 fi 9586 ;; 9587 9588os2*) 9589 libname_spec='$name' 9590 shrext_cmds=".dll" 9591 need_lib_prefix=no 9592 library_names_spec='$libname${shared_ext} $libname.a' 9593 dynamic_linker='OS/2 ld.exe' 9594 shlibpath_var=LIBPATH 9595 ;; 9596 9597osf3* | osf4* | osf5*) 9598 version_type=osf 9599 need_lib_prefix=no 9600 need_version=no 9601 soname_spec='${libname}${release}${shared_ext}$major' 9602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9603 shlibpath_var=LD_LIBRARY_PATH 9604 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 9605 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 9606 ;; 9607 9608rdos*) 9609 dynamic_linker=no 9610 ;; 9611 9612solaris*) 9613 version_type=linux 9614 need_lib_prefix=no 9615 need_version=no 9616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9617 soname_spec='${libname}${release}${shared_ext}$major' 9618 shlibpath_var=LD_LIBRARY_PATH 9619 shlibpath_overrides_runpath=yes 9620 hardcode_into_libs=yes 9621 # ldd complains unless libraries are executable 9622 postinstall_cmds='chmod +x $lib' 9623 ;; 9624 9625sunos4*) 9626 version_type=sunos 9627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9628 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 9629 shlibpath_var=LD_LIBRARY_PATH 9630 shlibpath_overrides_runpath=yes 9631 if test "$with_gnu_ld" = yes; then 9632 need_lib_prefix=no 9633 fi 9634 need_version=yes 9635 ;; 9636 9637sysv4 | sysv4.3*) 9638 version_type=linux 9639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9640 soname_spec='${libname}${release}${shared_ext}$major' 9641 shlibpath_var=LD_LIBRARY_PATH 9642 case $host_vendor in 9643 sni) 9644 shlibpath_overrides_runpath=no 9645 need_lib_prefix=no 9646 runpath_var=LD_RUN_PATH 9647 ;; 9648 siemens) 9649 need_lib_prefix=no 9650 ;; 9651 motorola) 9652 need_lib_prefix=no 9653 need_version=no 9654 shlibpath_overrides_runpath=no 9655 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 9656 ;; 9657 esac 9658 ;; 9659 9660sysv4*MP*) 9661 if test -d /usr/nec ;then 9662 version_type=linux 9663 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 9664 soname_spec='$libname${shared_ext}.$major' 9665 shlibpath_var=LD_LIBRARY_PATH 9666 fi 9667 ;; 9668 9669sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 9670 version_type=freebsd-elf 9671 need_lib_prefix=no 9672 need_version=no 9673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9674 soname_spec='${libname}${release}${shared_ext}$major' 9675 shlibpath_var=LD_LIBRARY_PATH 9676 shlibpath_overrides_runpath=yes 9677 hardcode_into_libs=yes 9678 if test "$with_gnu_ld" = yes; then 9679 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 9680 else 9681 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 9682 case $host_os in 9683 sco3.2v5*) 9684 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 9685 ;; 9686 esac 9687 fi 9688 sys_lib_dlsearch_path_spec='/usr/lib' 9689 ;; 9690 9691tpf*) 9692 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 9693 version_type=linux 9694 need_lib_prefix=no 9695 need_version=no 9696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9697 shlibpath_var=LD_LIBRARY_PATH 9698 shlibpath_overrides_runpath=no 9699 hardcode_into_libs=yes 9700 ;; 9701 9702uts4*) 9703 version_type=linux 9704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9705 soname_spec='${libname}${release}${shared_ext}$major' 9706 shlibpath_var=LD_LIBRARY_PATH 9707 ;; 9708 9709*) 9710 dynamic_linker=no 9711 ;; 9712esac 9713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 9714$as_echo "$dynamic_linker" >&6; } 9715test "$dynamic_linker" = no && can_build_shared=no 9716 9717variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 9718if test "$GCC" = yes; then 9719 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 9720fi 9721 9722if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 9723 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 9724fi 9725if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 9726 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 9727fi 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 9821$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 9822hardcode_action= 9823if test -n "$hardcode_libdir_flag_spec" || 9824 test -n "$runpath_var" || 9825 test "X$hardcode_automatic" = "Xyes" ; then 9826 9827 # We can hardcode non-existent directories. 9828 if test "$hardcode_direct" != no && 9829 # If the only mechanism to avoid hardcoding is shlibpath_var, we 9830 # have to relink, otherwise we might link with an installed library 9831 # when we should be linking with a yet-to-be-installed one 9832 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 9833 test "$hardcode_minus_L" != no; then 9834 # Linking always hardcodes the temporary library directory. 9835 hardcode_action=relink 9836 else 9837 # We can link without hardcoding, and we can hardcode nonexisting dirs. 9838 hardcode_action=immediate 9839 fi 9840else 9841 # We cannot hardcode anything, or else we can only hardcode existing 9842 # directories. 9843 hardcode_action=unsupported 9844fi 9845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 9846$as_echo "$hardcode_action" >&6; } 9847 9848if test "$hardcode_action" = relink || 9849 test "$inherit_rpath" = yes; then 9850 # Fast installation is not supported 9851 enable_fast_install=no 9852elif test "$shlibpath_overrides_runpath" = yes || 9853 test "$enable_shared" = no; then 9854 # Fast installation is not necessary 9855 enable_fast_install=needless 9856fi 9857 9858 9859 9860 9861 9862 9863 if test "x$enable_dlopen" != xyes; then 9864 enable_dlopen=unknown 9865 enable_dlopen_self=unknown 9866 enable_dlopen_self_static=unknown 9867else 9868 lt_cv_dlopen=no 9869 lt_cv_dlopen_libs= 9870 9871 case $host_os in 9872 beos*) 9873 lt_cv_dlopen="load_add_on" 9874 lt_cv_dlopen_libs= 9875 lt_cv_dlopen_self=yes 9876 ;; 9877 9878 mingw* | pw32* | cegcc*) 9879 lt_cv_dlopen="LoadLibrary" 9880 lt_cv_dlopen_libs= 9881 ;; 9882 9883 cygwin*) 9884 lt_cv_dlopen="dlopen" 9885 lt_cv_dlopen_libs= 9886 ;; 9887 9888 darwin*) 9889 # if libdl is installed we need to link against it 9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 9891$as_echo_n "checking for dlopen in -ldl... " >&6; } 9892if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 9893 $as_echo_n "(cached) " >&6 9894else 9895 ac_check_lib_save_LIBS=$LIBS 9896LIBS="-ldl $LIBS" 9897cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9898/* end confdefs.h. */ 9899 9900/* Override any GCC internal prototype to avoid an error. 9901 Use char because int might match the return type of a GCC 9902 builtin and then its argument prototype would still apply. */ 9903#ifdef __cplusplus 9904extern "C" 9905#endif 9906char dlopen (); 9907int 9908main () 9909{ 9910return dlopen (); 9911 ; 9912 return 0; 9913} 9914_ACEOF 9915if ac_fn_c_try_link "$LINENO"; then : 9916 ac_cv_lib_dl_dlopen=yes 9917else 9918 ac_cv_lib_dl_dlopen=no 9919fi 9920rm -f core conftest.err conftest.$ac_objext \ 9921 conftest$ac_exeext conftest.$ac_ext 9922LIBS=$ac_check_lib_save_LIBS 9923fi 9924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 9925$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 9926if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 9927 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 9928else 9929 9930 lt_cv_dlopen="dyld" 9931 lt_cv_dlopen_libs= 9932 lt_cv_dlopen_self=yes 9933 9934fi 9935 9936 ;; 9937 9938 *) 9939 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 9940if test "x$ac_cv_func_shl_load" = x""yes; then : 9941 lt_cv_dlopen="shl_load" 9942else 9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 9944$as_echo_n "checking for shl_load in -ldld... " >&6; } 9945if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 9946 $as_echo_n "(cached) " >&6 9947else 9948 ac_check_lib_save_LIBS=$LIBS 9949LIBS="-ldld $LIBS" 9950cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9951/* end confdefs.h. */ 9952 9953/* Override any GCC internal prototype to avoid an error. 9954 Use char because int might match the return type of a GCC 9955 builtin and then its argument prototype would still apply. */ 9956#ifdef __cplusplus 9957extern "C" 9958#endif 9959char shl_load (); 9960int 9961main () 9962{ 9963return shl_load (); 9964 ; 9965 return 0; 9966} 9967_ACEOF 9968if ac_fn_c_try_link "$LINENO"; then : 9969 ac_cv_lib_dld_shl_load=yes 9970else 9971 ac_cv_lib_dld_shl_load=no 9972fi 9973rm -f core conftest.err conftest.$ac_objext \ 9974 conftest$ac_exeext conftest.$ac_ext 9975LIBS=$ac_check_lib_save_LIBS 9976fi 9977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 9978$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 9979if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 9980 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 9981else 9982 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 9983if test "x$ac_cv_func_dlopen" = x""yes; then : 9984 lt_cv_dlopen="dlopen" 9985else 9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 9987$as_echo_n "checking for dlopen in -ldl... " >&6; } 9988if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 9989 $as_echo_n "(cached) " >&6 9990else 9991 ac_check_lib_save_LIBS=$LIBS 9992LIBS="-ldl $LIBS" 9993cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9994/* end confdefs.h. */ 9995 9996/* Override any GCC internal prototype to avoid an error. 9997 Use char because int might match the return type of a GCC 9998 builtin and then its argument prototype would still apply. */ 9999#ifdef __cplusplus 10000extern "C" 10001#endif 10002char dlopen (); 10003int 10004main () 10005{ 10006return dlopen (); 10007 ; 10008 return 0; 10009} 10010_ACEOF 10011if ac_fn_c_try_link "$LINENO"; then : 10012 ac_cv_lib_dl_dlopen=yes 10013else 10014 ac_cv_lib_dl_dlopen=no 10015fi 10016rm -f core conftest.err conftest.$ac_objext \ 10017 conftest$ac_exeext conftest.$ac_ext 10018LIBS=$ac_check_lib_save_LIBS 10019fi 10020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10021$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10022if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10023 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10024else 10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10026$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10027if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 10028 $as_echo_n "(cached) " >&6 10029else 10030 ac_check_lib_save_LIBS=$LIBS 10031LIBS="-lsvld $LIBS" 10032cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10033/* end confdefs.h. */ 10034 10035/* Override any GCC internal prototype to avoid an error. 10036 Use char because int might match the return type of a GCC 10037 builtin and then its argument prototype would still apply. */ 10038#ifdef __cplusplus 10039extern "C" 10040#endif 10041char dlopen (); 10042int 10043main () 10044{ 10045return dlopen (); 10046 ; 10047 return 0; 10048} 10049_ACEOF 10050if ac_fn_c_try_link "$LINENO"; then : 10051 ac_cv_lib_svld_dlopen=yes 10052else 10053 ac_cv_lib_svld_dlopen=no 10054fi 10055rm -f core conftest.err conftest.$ac_objext \ 10056 conftest$ac_exeext conftest.$ac_ext 10057LIBS=$ac_check_lib_save_LIBS 10058fi 10059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10060$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10061if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 10062 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10063else 10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10065$as_echo_n "checking for dld_link in -ldld... " >&6; } 10066if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 10067 $as_echo_n "(cached) " >&6 10068else 10069 ac_check_lib_save_LIBS=$LIBS 10070LIBS="-ldld $LIBS" 10071cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10072/* end confdefs.h. */ 10073 10074/* Override any GCC internal prototype to avoid an error. 10075 Use char because int might match the return type of a GCC 10076 builtin and then its argument prototype would still apply. */ 10077#ifdef __cplusplus 10078extern "C" 10079#endif 10080char dld_link (); 10081int 10082main () 10083{ 10084return dld_link (); 10085 ; 10086 return 0; 10087} 10088_ACEOF 10089if ac_fn_c_try_link "$LINENO"; then : 10090 ac_cv_lib_dld_dld_link=yes 10091else 10092 ac_cv_lib_dld_dld_link=no 10093fi 10094rm -f core conftest.err conftest.$ac_objext \ 10095 conftest$ac_exeext conftest.$ac_ext 10096LIBS=$ac_check_lib_save_LIBS 10097fi 10098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10099$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10100if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 10101 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10102fi 10103 10104 10105fi 10106 10107 10108fi 10109 10110 10111fi 10112 10113 10114fi 10115 10116 10117fi 10118 10119 ;; 10120 esac 10121 10122 if test "x$lt_cv_dlopen" != xno; then 10123 enable_dlopen=yes 10124 else 10125 enable_dlopen=no 10126 fi 10127 10128 case $lt_cv_dlopen in 10129 dlopen) 10130 save_CPPFLAGS="$CPPFLAGS" 10131 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10132 10133 save_LDFLAGS="$LDFLAGS" 10134 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10135 10136 save_LIBS="$LIBS" 10137 LIBS="$lt_cv_dlopen_libs $LIBS" 10138 10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10140$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10141if test "${lt_cv_dlopen_self+set}" = set; then : 10142 $as_echo_n "(cached) " >&6 10143else 10144 if test "$cross_compiling" = yes; then : 10145 lt_cv_dlopen_self=cross 10146else 10147 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10148 lt_status=$lt_dlunknown 10149 cat > conftest.$ac_ext <<_LT_EOF 10150#line $LINENO "configure" 10151#include "confdefs.h" 10152 10153#if HAVE_DLFCN_H 10154#include <dlfcn.h> 10155#endif 10156 10157#include <stdio.h> 10158 10159#ifdef RTLD_GLOBAL 10160# define LT_DLGLOBAL RTLD_GLOBAL 10161#else 10162# ifdef DL_GLOBAL 10163# define LT_DLGLOBAL DL_GLOBAL 10164# else 10165# define LT_DLGLOBAL 0 10166# endif 10167#endif 10168 10169/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10170 find out it does not work in some platform. */ 10171#ifndef LT_DLLAZY_OR_NOW 10172# ifdef RTLD_LAZY 10173# define LT_DLLAZY_OR_NOW RTLD_LAZY 10174# else 10175# ifdef DL_LAZY 10176# define LT_DLLAZY_OR_NOW DL_LAZY 10177# else 10178# ifdef RTLD_NOW 10179# define LT_DLLAZY_OR_NOW RTLD_NOW 10180# else 10181# ifdef DL_NOW 10182# define LT_DLLAZY_OR_NOW DL_NOW 10183# else 10184# define LT_DLLAZY_OR_NOW 0 10185# endif 10186# endif 10187# endif 10188# endif 10189#endif 10190 10191/* When -fvisbility=hidden is used, assume the code has been annotated 10192 correspondingly for the symbols needed. */ 10193#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 10194void fnord () __attribute__((visibility("default"))); 10195#endif 10196 10197void fnord () { int i=42; } 10198int main () 10199{ 10200 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10201 int status = $lt_dlunknown; 10202 10203 if (self) 10204 { 10205 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10206 else 10207 { 10208 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10209 else puts (dlerror ()); 10210 } 10211 /* dlclose (self); */ 10212 } 10213 else 10214 puts (dlerror ()); 10215 10216 return status; 10217} 10218_LT_EOF 10219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10220 (eval $ac_link) 2>&5 10221 ac_status=$? 10222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10223 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10224 (./conftest; exit; ) >&5 2>/dev/null 10225 lt_status=$? 10226 case x$lt_status in 10227 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10228 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10229 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10230 esac 10231 else : 10232 # compilation failed 10233 lt_cv_dlopen_self=no 10234 fi 10235fi 10236rm -fr conftest* 10237 10238 10239fi 10240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 10241$as_echo "$lt_cv_dlopen_self" >&6; } 10242 10243 if test "x$lt_cv_dlopen_self" = xyes; then 10244 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 10246$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10247if test "${lt_cv_dlopen_self_static+set}" = set; then : 10248 $as_echo_n "(cached) " >&6 10249else 10250 if test "$cross_compiling" = yes; then : 10251 lt_cv_dlopen_self_static=cross 10252else 10253 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10254 lt_status=$lt_dlunknown 10255 cat > conftest.$ac_ext <<_LT_EOF 10256#line $LINENO "configure" 10257#include "confdefs.h" 10258 10259#if HAVE_DLFCN_H 10260#include <dlfcn.h> 10261#endif 10262 10263#include <stdio.h> 10264 10265#ifdef RTLD_GLOBAL 10266# define LT_DLGLOBAL RTLD_GLOBAL 10267#else 10268# ifdef DL_GLOBAL 10269# define LT_DLGLOBAL DL_GLOBAL 10270# else 10271# define LT_DLGLOBAL 0 10272# endif 10273#endif 10274 10275/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10276 find out it does not work in some platform. */ 10277#ifndef LT_DLLAZY_OR_NOW 10278# ifdef RTLD_LAZY 10279# define LT_DLLAZY_OR_NOW RTLD_LAZY 10280# else 10281# ifdef DL_LAZY 10282# define LT_DLLAZY_OR_NOW DL_LAZY 10283# else 10284# ifdef RTLD_NOW 10285# define LT_DLLAZY_OR_NOW RTLD_NOW 10286# else 10287# ifdef DL_NOW 10288# define LT_DLLAZY_OR_NOW DL_NOW 10289# else 10290# define LT_DLLAZY_OR_NOW 0 10291# endif 10292# endif 10293# endif 10294# endif 10295#endif 10296 10297/* When -fvisbility=hidden is used, assume the code has been annotated 10298 correspondingly for the symbols needed. */ 10299#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 10300void fnord () __attribute__((visibility("default"))); 10301#endif 10302 10303void fnord () { int i=42; } 10304int main () 10305{ 10306 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10307 int status = $lt_dlunknown; 10308 10309 if (self) 10310 { 10311 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10312 else 10313 { 10314 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10315 else puts (dlerror ()); 10316 } 10317 /* dlclose (self); */ 10318 } 10319 else 10320 puts (dlerror ()); 10321 10322 return status; 10323} 10324_LT_EOF 10325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10326 (eval $ac_link) 2>&5 10327 ac_status=$? 10328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10329 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10330 (./conftest; exit; ) >&5 2>/dev/null 10331 lt_status=$? 10332 case x$lt_status in 10333 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10334 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10335 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10336 esac 10337 else : 10338 # compilation failed 10339 lt_cv_dlopen_self_static=no 10340 fi 10341fi 10342rm -fr conftest* 10343 10344 10345fi 10346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 10347$as_echo "$lt_cv_dlopen_self_static" >&6; } 10348 fi 10349 10350 CPPFLAGS="$save_CPPFLAGS" 10351 LDFLAGS="$save_LDFLAGS" 10352 LIBS="$save_LIBS" 10353 ;; 10354 esac 10355 10356 case $lt_cv_dlopen_self in 10357 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 10358 *) enable_dlopen_self=unknown ;; 10359 esac 10360 10361 case $lt_cv_dlopen_self_static in 10362 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10363 *) enable_dlopen_self_static=unknown ;; 10364 esac 10365fi 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383striplib= 10384old_striplib= 10385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 10386$as_echo_n "checking whether stripping libraries is possible... " >&6; } 10387if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 10388 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10389 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10391$as_echo "yes" >&6; } 10392else 10393# FIXME - insert some real tests, host_os isn't really good enough 10394 case $host_os in 10395 darwin*) 10396 if test -n "$STRIP" ; then 10397 striplib="$STRIP -x" 10398 old_striplib="$STRIP -S" 10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10400$as_echo "yes" >&6; } 10401 else 10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10403$as_echo "no" >&6; } 10404 fi 10405 ;; 10406 *) 10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10408$as_echo "no" >&6; } 10409 ;; 10410 esac 10411fi 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 # Report which library types will actually be built 10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 10426$as_echo_n "checking if libtool supports shared libraries... " >&6; } 10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 10428$as_echo "$can_build_shared" >&6; } 10429 10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 10431$as_echo_n "checking whether to build shared libraries... " >&6; } 10432 test "$can_build_shared" = "no" && enable_shared=no 10433 10434 # On AIX, shared libraries and static libraries use the same namespace, and 10435 # are all built from PIC. 10436 case $host_os in 10437 aix3*) 10438 test "$enable_shared" = yes && enable_static=no 10439 if test -n "$RANLIB"; then 10440 archive_cmds="$archive_cmds~\$RANLIB \$lib" 10441 postinstall_cmds='$RANLIB $lib' 10442 fi 10443 ;; 10444 10445 aix[4-9]*) 10446 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10447 test "$enable_shared" = yes && enable_static=no 10448 fi 10449 ;; 10450 esac 10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 10452$as_echo "$enable_shared" >&6; } 10453 10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 10455$as_echo_n "checking whether to build static libraries... " >&6; } 10456 # Make sure either enable_shared or enable_static is yes. 10457 test "$enable_shared" = yes || enable_static=yes 10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 10459$as_echo "$enable_static" >&6; } 10460 10461 10462 10463 10464fi 10465ac_ext=c 10466ac_cpp='$CPP $CPPFLAGS' 10467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10469ac_compiler_gnu=$ac_cv_c_compiler_gnu 10470 10471CC="$lt_save_CC" 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 ac_config_commands="$ac_config_commands libtool" 10486 10487 10488 10489 10490# Only expand once: 10491 10492 10493 10494for ac_prog in perl5 perl 10495do 10496 # Extract the first word of "$ac_prog", so it can be a program name with args. 10497set dummy $ac_prog; ac_word=$2 10498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10499$as_echo_n "checking for $ac_word... " >&6; } 10500if test "${ac_cv_path_PERL+set}" = set; then : 10501 $as_echo_n "(cached) " >&6 10502else 10503 case $PERL in 10504 [\\/]* | ?:[\\/]*) 10505 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 10506 ;; 10507 *) 10508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10509for as_dir in $LPATH 10510do 10511 IFS=$as_save_IFS 10512 test -z "$as_dir" && as_dir=. 10513 for ac_exec_ext in '' $ac_executable_extensions; do 10514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10515 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 10516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10517 break 2 10518 fi 10519done 10520 done 10521IFS=$as_save_IFS 10522 10523 ;; 10524esac 10525fi 10526PERL=$ac_cv_path_PERL 10527if test -n "$PERL"; then 10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 10529$as_echo "$PERL" >&6; } 10530else 10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10532$as_echo "no" >&6; } 10533fi 10534 10535 10536 test -n "$PERL" && break 10537done 10538test -n "$PERL" || PERL="perl" 10539 10540 10541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking embedded perl interpreter C flags" >&5 10542$as_echo_n "checking embedded perl interpreter C flags... " >&6; } 10543if test "${ac_cv_perl_ccflags+set}" = set; then : 10544 $as_echo_n "(cached) " >&6 10545else 10546 10547 if test "$PERL" = "perl" 10548 then 10549 ac_cv_perl_ccflags=none 10550 else 10551 ac_cv_perl_ccflags="`$PERL -MExtUtils::Embed -e ccopts`" 10552 if test "$ac_cv_perl_ccflags" = "" 10553 then 10554 ac_cv_perl_ccflags="none" 10555 fi 10556 fi 10557 10558fi 10559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_perl_ccflags" >&5 10560$as_echo "$ac_cv_perl_ccflags" >&6; } 10561 10562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking embedded perl interpreter linker flags" >&5 10563$as_echo_n "checking embedded perl interpreter linker flags... " >&6; } 10564if test "${ac_cv_perl_ldflags+set}" = set; then : 10565 $as_echo_n "(cached) " >&6 10566else 10567 10568 if test "$PERL" = "perl" 10569 then 10570 ac_cv_perl_ldflags=none 10571 else 10572 ac_cv_perl_ldflags="`$PERL -MExtUtils::Embed -e ldopts`" 10573 if test "$ac_cv_perl_ldflags" = "" 10574 then 10575 ac_cv_perl_ldflags="none" 10576 fi 10577 fi 10578 10579fi 10580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_perl_ldflags" >&5 10581$as_echo "$ac_cv_perl_ldflags" >&6; } 10582 10583if test "$PERL" = "perl" 10584then 10585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find perl interpreter." >&5 10586$as_echo "$as_me: WARNING: Cannot find perl interpreter." >&2;} 10587else 10588if test "$ac_cv_perl_ldflags" = "none" 10589then 10590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find perl embedded interpreter." >&5 10591$as_echo "$as_me: WARNING: Cannot find perl embedded interpreter." >&2;} 10592else 10593 10594 if test "$ac_cv_perl_ccflags" != "none" 10595 then 10596 CFLAGS="$CFLAGS $ac_cv_perl_ccflags" 10597 fi 10598 PERL_LDFLAGS="$ac_cv_perl_ldflags" 10599 perlfilter_prog="perlfilter" 10600fi 10601fi 10602 10603 10604# Check whether --with-perlfilter was given. 10605if test "${with_perlfilter+set}" = set; then : 10606 withval=$with_perlfilter; withperlfilter="$withval" 10607else 10608 withperlfilter=yes 10609fi 10610 10611 10612if test "$withperlfilter" = "no" 10613then 10614 perlfilter_prog="" 10615fi 10616 10617 10618 10619 10620 10621# Check whether --with-mailuser was given. 10622if test "${with_mailuser+set}" = set; then : 10623 withval=$with_mailuser; mailuser="$withval" 10624fi 10625 10626 10627# Check whether --with-mailgroup was given. 10628if test "${with_mailgroup+set}" = set; then : 10629 withval=$with_mailgroup; mailgroup="$withval" 10630fi 10631 10632 10633 10634 10635 10636 10637 10638 10639CFLAGS="-I${srcdir}/.. -I.. -I${srcdir}/../.. -I../.. -I${srcdir}/../../.. -I ../../.. $CFLAGS" 10640 10641INSTALL_SCRIPT='${INSTALL} -m 500' 10642ac_config_files="$ac_config_files Makefile" 10643 10644cat >confcache <<\_ACEOF 10645# This file is a shell script that caches the results of configure 10646# tests run on this system so they can be shared between configure 10647# scripts and configure runs, see configure's option --config-cache. 10648# It is not useful on other systems. If it contains results you don't 10649# want to keep, you may remove or edit it. 10650# 10651# config.status only pays attention to the cache file if you give it 10652# the --recheck option to rerun configure. 10653# 10654# `ac_cv_env_foo' variables (set or unset) will be overridden when 10655# loading this file, other *unset* `ac_cv_foo' will be assigned the 10656# following values. 10657 10658_ACEOF 10659 10660# The following way of writing the cache mishandles newlines in values, 10661# but we know of no workaround that is simple, portable, and efficient. 10662# So, we kill variables containing newlines. 10663# Ultrix sh set writes to stderr and can't be redirected directly, 10664# and sets the high bit in the cache file unless we assign to the vars. 10665( 10666 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 10667 eval ac_val=\$$ac_var 10668 case $ac_val in #( 10669 *${as_nl}*) 10670 case $ac_var in #( 10671 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10672$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10673 esac 10674 case $ac_var in #( 10675 _ | IFS | as_nl) ;; #( 10676 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 10677 *) { eval $ac_var=; unset $ac_var;} ;; 10678 esac ;; 10679 esac 10680 done 10681 10682 (set) 2>&1 | 10683 case $as_nl`(ac_space=' '; set) 2>&1` in #( 10684 *${as_nl}ac_space=\ *) 10685 # `set' does not quote correctly, so add quotes: double-quote 10686 # substitution turns \\\\ into \\, and sed turns \\ into \. 10687 sed -n \ 10688 "s/'/'\\\\''/g; 10689 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 10690 ;; #( 10691 *) 10692 # `set' quotes correctly as required by POSIX, so do not add quotes. 10693 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 10694 ;; 10695 esac | 10696 sort 10697) | 10698 sed ' 10699 /^ac_cv_env_/b end 10700 t clear 10701 :clear 10702 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 10703 t end 10704 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 10705 :end' >>confcache 10706if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 10707 if test -w "$cache_file"; then 10708 test "x$cache_file" != "x/dev/null" && 10709 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 10710$as_echo "$as_me: updating cache $cache_file" >&6;} 10711 cat confcache >$cache_file 10712 else 10713 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 10714$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 10715 fi 10716fi 10717rm -f confcache 10718 10719test "x$prefix" = xNONE && prefix=$ac_default_prefix 10720# Let make expand exec_prefix. 10721test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 10722 10723DEFS=-DHAVE_CONFIG_H 10724 10725ac_libobjs= 10726ac_ltlibobjs= 10727U= 10728for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10729 # 1. Remove the extension, and $U if already installed. 10730 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10731 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 10732 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10733 # will be set to the directory where LIBOBJS objects are built. 10734 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 10735 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 10736done 10737LIBOBJS=$ac_libobjs 10738 10739LTLIBOBJS=$ac_ltlibobjs 10740 10741 10742 if test -n "$EXEEXT"; then 10743 am__EXEEXT_TRUE= 10744 am__EXEEXT_FALSE='#' 10745else 10746 am__EXEEXT_TRUE='#' 10747 am__EXEEXT_FALSE= 10748fi 10749 10750if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 10751 as_fn_error $? "conditional \"AMDEP\" was never defined. 10752Usually this means the macro was only invoked conditionally." "$LINENO" 5 10753fi 10754if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 10755 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 10756Usually this means the macro was only invoked conditionally." "$LINENO" 5 10757fi 10758 10759: ${CONFIG_STATUS=./config.status} 10760ac_write_fail=0 10761ac_clean_files_save=$ac_clean_files 10762ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10763{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 10764$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 10765as_write_fail=0 10766cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 10767#! $SHELL 10768# Generated by $as_me. 10769# Run this file to recreate the current configuration. 10770# Compiler output produced by configure, useful for debugging 10771# configure, is in config.log if it exists. 10772 10773debug=false 10774ac_cs_recheck=false 10775ac_cs_silent=false 10776 10777SHELL=\${CONFIG_SHELL-$SHELL} 10778export SHELL 10779_ASEOF 10780cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 10781## -------------------- ## 10782## M4sh Initialization. ## 10783## -------------------- ## 10784 10785# Be more Bourne compatible 10786DUALCASE=1; export DUALCASE # for MKS sh 10787if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 10788 emulate sh 10789 NULLCMD=: 10790 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 10791 # is contrary to our usage. Disable this feature. 10792 alias -g '${1+"$@"}'='"$@"' 10793 setopt NO_GLOB_SUBST 10794else 10795 case `(set -o) 2>/dev/null` in #( 10796 *posix*) : 10797 set -o posix ;; #( 10798 *) : 10799 ;; 10800esac 10801fi 10802 10803 10804as_nl=' 10805' 10806export as_nl 10807# Printing a long string crashes Solaris 7 /usr/bin/printf. 10808as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 10809as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10810as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10811# Prefer a ksh shell builtin over an external printf program on Solaris, 10812# but without wasting forks for bash or zsh. 10813if test -z "$BASH_VERSION$ZSH_VERSION" \ 10814 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10815 as_echo='print -r --' 10816 as_echo_n='print -rn --' 10817elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10818 as_echo='printf %s\n' 10819 as_echo_n='printf %s' 10820else 10821 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 10822 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 10823 as_echo_n='/usr/ucb/echo -n' 10824 else 10825 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 10826 as_echo_n_body='eval 10827 arg=$1; 10828 case $arg in #( 10829 *"$as_nl"*) 10830 expr "X$arg" : "X\\(.*\\)$as_nl"; 10831 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10832 esac; 10833 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 10834 ' 10835 export as_echo_n_body 10836 as_echo_n='sh -c $as_echo_n_body as_echo' 10837 fi 10838 export as_echo_body 10839 as_echo='sh -c $as_echo_body as_echo' 10840fi 10841 10842# The user is always right. 10843if test "${PATH_SEPARATOR+set}" != set; then 10844 PATH_SEPARATOR=: 10845 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10846 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 10847 PATH_SEPARATOR=';' 10848 } 10849fi 10850 10851 10852# IFS 10853# We need space, tab and new line, in precisely that order. Quoting is 10854# there to prevent editors from complaining about space-tab. 10855# (If _AS_PATH_WALK were called with IFS unset, it would disable word 10856# splitting by setting IFS to empty value.) 10857IFS=" "" $as_nl" 10858 10859# Find who we are. Look in the path if we contain no directory separator. 10860case $0 in #(( 10861 *[\\/]* ) as_myself=$0 ;; 10862 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10863for as_dir in $PATH 10864do 10865 IFS=$as_save_IFS 10866 test -z "$as_dir" && as_dir=. 10867 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10868 done 10869IFS=$as_save_IFS 10870 10871 ;; 10872esac 10873# We did not find ourselves, most probably we were run as `sh COMMAND' 10874# in which case we are not to be found in the path. 10875if test "x$as_myself" = x; then 10876 as_myself=$0 10877fi 10878if test ! -f "$as_myself"; then 10879 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10880 exit 1 10881fi 10882 10883# Unset variables that we do not need and which cause bugs (e.g. in 10884# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10885# suppresses any "Segmentation fault" message there. '((' could 10886# trigger a bug in pdksh 5.2.14. 10887for as_var in BASH_ENV ENV MAIL MAILPATH 10888do eval test x\${$as_var+set} = xset \ 10889 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 10890done 10891PS1='$ ' 10892PS2='> ' 10893PS4='+ ' 10894 10895# NLS nuisances. 10896LC_ALL=C 10897export LC_ALL 10898LANGUAGE=C 10899export LANGUAGE 10900 10901# CDPATH. 10902(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10903 10904 10905# as_fn_error STATUS ERROR [LINENO LOG_FD] 10906# ---------------------------------------- 10907# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 10908# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 10909# script with STATUS, using 1 if that was 0. 10910as_fn_error () 10911{ 10912 as_status=$1; test $as_status -eq 0 && as_status=1 10913 if test "$4"; then 10914 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10915 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10916 fi 10917 $as_echo "$as_me: error: $2" >&2 10918 as_fn_exit $as_status 10919} # as_fn_error 10920 10921 10922# as_fn_set_status STATUS 10923# ----------------------- 10924# Set $? to STATUS, without forking. 10925as_fn_set_status () 10926{ 10927 return $1 10928} # as_fn_set_status 10929 10930# as_fn_exit STATUS 10931# ----------------- 10932# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 10933as_fn_exit () 10934{ 10935 set +e 10936 as_fn_set_status $1 10937 exit $1 10938} # as_fn_exit 10939 10940# as_fn_unset VAR 10941# --------------- 10942# Portably unset VAR. 10943as_fn_unset () 10944{ 10945 { eval $1=; unset $1;} 10946} 10947as_unset=as_fn_unset 10948# as_fn_append VAR VALUE 10949# ---------------------- 10950# Append the text in VALUE to the end of the definition contained in VAR. Take 10951# advantage of any shell optimizations that allow amortized linear growth over 10952# repeated appends, instead of the typical quadratic growth present in naive 10953# implementations. 10954if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 10955 eval 'as_fn_append () 10956 { 10957 eval $1+=\$2 10958 }' 10959else 10960 as_fn_append () 10961 { 10962 eval $1=\$$1\$2 10963 } 10964fi # as_fn_append 10965 10966# as_fn_arith ARG... 10967# ------------------ 10968# Perform arithmetic evaluation on the ARGs, and store the result in the 10969# global $as_val. Take advantage of shells that can avoid forks. The arguments 10970# must be portable across $(()) and expr. 10971if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 10972 eval 'as_fn_arith () 10973 { 10974 as_val=$(( $* )) 10975 }' 10976else 10977 as_fn_arith () 10978 { 10979 as_val=`expr "$@" || test $? -eq 1` 10980 } 10981fi # as_fn_arith 10982 10983 10984if expr a : '\(a\)' >/dev/null 2>&1 && 10985 test "X`expr 00001 : '.*\(...\)'`" = X001; then 10986 as_expr=expr 10987else 10988 as_expr=false 10989fi 10990 10991if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 10992 as_basename=basename 10993else 10994 as_basename=false 10995fi 10996 10997if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10998 as_dirname=dirname 10999else 11000 as_dirname=false 11001fi 11002 11003as_me=`$as_basename -- "$0" || 11004$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11005 X"$0" : 'X\(//\)$' \| \ 11006 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11007$as_echo X/"$0" | 11008 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11009 s//\1/ 11010 q 11011 } 11012 /^X\/\(\/\/\)$/{ 11013 s//\1/ 11014 q 11015 } 11016 /^X\/\(\/\).*/{ 11017 s//\1/ 11018 q 11019 } 11020 s/.*/./; q'` 11021 11022# Avoid depending upon Character Ranges. 11023as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11024as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 11025as_cr_Letters=$as_cr_letters$as_cr_LETTERS 11026as_cr_digits='0123456789' 11027as_cr_alnum=$as_cr_Letters$as_cr_digits 11028 11029ECHO_C= ECHO_N= ECHO_T= 11030case `echo -n x` in #((((( 11031-n*) 11032 case `echo 'xy\c'` in 11033 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 11034 xy) ECHO_C='\c';; 11035 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 11036 ECHO_T=' ';; 11037 esac;; 11038*) 11039 ECHO_N='-n';; 11040esac 11041 11042rm -f conf$$ conf$$.exe conf$$.file 11043if test -d conf$$.dir; then 11044 rm -f conf$$.dir/conf$$.file 11045else 11046 rm -f conf$$.dir 11047 mkdir conf$$.dir 2>/dev/null 11048fi 11049if (echo >conf$$.file) 2>/dev/null; then 11050 if ln -s conf$$.file conf$$ 2>/dev/null; then 11051 as_ln_s='ln -s' 11052 # ... but there are two gotchas: 11053 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11054 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11055 # In both cases, we have to default to `cp -p'. 11056 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11057 as_ln_s='cp -p' 11058 elif ln conf$$.file conf$$ 2>/dev/null; then 11059 as_ln_s=ln 11060 else 11061 as_ln_s='cp -p' 11062 fi 11063else 11064 as_ln_s='cp -p' 11065fi 11066rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 11067rmdir conf$$.dir 2>/dev/null 11068 11069 11070# as_fn_mkdir_p 11071# ------------- 11072# Create "$as_dir" as a directory, including parents if necessary. 11073as_fn_mkdir_p () 11074{ 11075 11076 case $as_dir in #( 11077 -*) as_dir=./$as_dir;; 11078 esac 11079 test -d "$as_dir" || eval $as_mkdir_p || { 11080 as_dirs= 11081 while :; do 11082 case $as_dir in #( 11083 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11084 *) as_qdir=$as_dir;; 11085 esac 11086 as_dirs="'$as_qdir' $as_dirs" 11087 as_dir=`$as_dirname -- "$as_dir" || 11088$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11089 X"$as_dir" : 'X\(//\)[^/]' \| \ 11090 X"$as_dir" : 'X\(//\)$' \| \ 11091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11092$as_echo X"$as_dir" | 11093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11094 s//\1/ 11095 q 11096 } 11097 /^X\(\/\/\)[^/].*/{ 11098 s//\1/ 11099 q 11100 } 11101 /^X\(\/\/\)$/{ 11102 s//\1/ 11103 q 11104 } 11105 /^X\(\/\).*/{ 11106 s//\1/ 11107 q 11108 } 11109 s/.*/./; q'` 11110 test -d "$as_dir" && break 11111 done 11112 test -z "$as_dirs" || eval "mkdir $as_dirs" 11113 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 11114 11115 11116} # as_fn_mkdir_p 11117if mkdir -p . 2>/dev/null; then 11118 as_mkdir_p='mkdir -p "$as_dir"' 11119else 11120 test -d ./-p && rmdir ./-p 11121 as_mkdir_p=false 11122fi 11123 11124if test -x / >/dev/null 2>&1; then 11125 as_test_x='test -x' 11126else 11127 if ls -dL / >/dev/null 2>&1; then 11128 as_ls_L_option=L 11129 else 11130 as_ls_L_option= 11131 fi 11132 as_test_x=' 11133 eval sh -c '\'' 11134 if test -d "$1"; then 11135 test -d "$1/."; 11136 else 11137 case $1 in #( 11138 -*)set "./$1";; 11139 esac; 11140 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 11141 ???[sx]*):;;*)false;;esac;fi 11142 '\'' sh 11143 ' 11144fi 11145as_executable_p=$as_test_x 11146 11147# Sed expression to map a string onto a valid CPP name. 11148as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 11149 11150# Sed expression to map a string onto a valid variable name. 11151as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 11152 11153 11154exec 6>&1 11155## ----------------------------------- ## 11156## Main body of $CONFIG_STATUS script. ## 11157## ----------------------------------- ## 11158_ASEOF 11159test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 11160 11161cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11162# Save the log message, to keep $0 and so on meaningful, and to 11163# report actual input values of CONFIG_FILES etc. instead of their 11164# values after options handling. 11165ac_log=" 11166This file was extended by perlfilter $as_me 0.10, which was 11167generated by GNU Autoconf 2.66. Invocation command line was 11168 11169 CONFIG_FILES = $CONFIG_FILES 11170 CONFIG_HEADERS = $CONFIG_HEADERS 11171 CONFIG_LINKS = $CONFIG_LINKS 11172 CONFIG_COMMANDS = $CONFIG_COMMANDS 11173 $ $0 $@ 11174 11175on `(hostname || uname -n) 2>/dev/null | sed 1q` 11176" 11177 11178_ACEOF 11179 11180case $ac_config_files in *" 11181"*) set x $ac_config_files; shift; ac_config_files=$*;; 11182esac 11183 11184case $ac_config_headers in *" 11185"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 11186esac 11187 11188 11189cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11190# Files that config.status was made for. 11191config_files="$ac_config_files" 11192config_headers="$ac_config_headers" 11193config_commands="$ac_config_commands" 11194 11195_ACEOF 11196 11197cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11198ac_cs_usage="\ 11199\`$as_me' instantiates files and other configuration actions 11200from templates according to the current configuration. Unless the files 11201and actions are specified as TAGs, all are instantiated by default. 11202 11203Usage: $0 [OPTION]... [TAG]... 11204 11205 -h, --help print this help, then exit 11206 -V, --version print version number and configuration settings, then exit 11207 --config print configuration, then exit 11208 -q, --quiet, --silent 11209 do not print progress messages 11210 -d, --debug don't remove temporary files 11211 --recheck update $as_me by reconfiguring in the same conditions 11212 --file=FILE[:TEMPLATE] 11213 instantiate the configuration file FILE 11214 --header=FILE[:TEMPLATE] 11215 instantiate the configuration header FILE 11216 11217Configuration files: 11218$config_files 11219 11220Configuration headers: 11221$config_headers 11222 11223Configuration commands: 11224$config_commands 11225 11226Report bugs to <courier-users@lists.sourceforge.net>." 11227 11228_ACEOF 11229cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11230ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11231ac_cs_version="\\ 11232perlfilter config.status 0.10 11233configured by $0, generated by GNU Autoconf 2.66, 11234 with options \\"\$ac_cs_config\\" 11235 11236Copyright (C) 2010 Free Software Foundation, Inc. 11237This config.status script is free software; the Free Software Foundation 11238gives unlimited permission to copy, distribute and modify it." 11239 11240ac_pwd='$ac_pwd' 11241srcdir='$srcdir' 11242INSTALL='$INSTALL' 11243MKDIR_P='$MKDIR_P' 11244AWK='$AWK' 11245test -n "\$AWK" || AWK=awk 11246_ACEOF 11247 11248cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11249# The default lists apply if the user does not specify any file. 11250ac_need_defaults=: 11251while test $# != 0 11252do 11253 case $1 in 11254 --*=*) 11255 ac_option=`expr "X$1" : 'X\([^=]*\)='` 11256 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 11257 ac_shift=: 11258 ;; 11259 *) 11260 ac_option=$1 11261 ac_optarg=$2 11262 ac_shift=shift 11263 ;; 11264 esac 11265 11266 case $ac_option in 11267 # Handling of the options. 11268 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11269 ac_cs_recheck=: ;; 11270 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11271 $as_echo "$ac_cs_version"; exit ;; 11272 --config | --confi | --conf | --con | --co | --c ) 11273 $as_echo "$ac_cs_config"; exit ;; 11274 --debug | --debu | --deb | --de | --d | -d ) 11275 debug=: ;; 11276 --file | --fil | --fi | --f ) 11277 $ac_shift 11278 case $ac_optarg in 11279 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11280 esac 11281 as_fn_append CONFIG_FILES " '$ac_optarg'" 11282 ac_need_defaults=false;; 11283 --header | --heade | --head | --hea ) 11284 $ac_shift 11285 case $ac_optarg in 11286 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11287 esac 11288 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 11289 ac_need_defaults=false;; 11290 --he | --h) 11291 # Conflict between --help and --header 11292 as_fn_error $? "ambiguous option: \`$1' 11293Try \`$0 --help' for more information.";; 11294 --help | --hel | -h ) 11295 $as_echo "$ac_cs_usage"; exit ;; 11296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11297 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11298 ac_cs_silent=: ;; 11299 11300 # This is an error. 11301 -*) as_fn_error $? "unrecognized option: \`$1' 11302Try \`$0 --help' for more information." ;; 11303 11304 *) as_fn_append ac_config_targets " $1" 11305 ac_need_defaults=false ;; 11306 11307 esac 11308 shift 11309done 11310 11311ac_configure_extra_args= 11312 11313if $ac_cs_silent; then 11314 exec 6>/dev/null 11315 ac_configure_extra_args="$ac_configure_extra_args --silent" 11316fi 11317 11318_ACEOF 11319cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11320if \$ac_cs_recheck; then 11321 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11322 shift 11323 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 11324 CONFIG_SHELL='$SHELL' 11325 export CONFIG_SHELL 11326 exec "\$@" 11327fi 11328 11329_ACEOF 11330cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11331exec 5>>config.log 11332{ 11333 echo 11334 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11335## Running $as_me. ## 11336_ASBOX 11337 $as_echo "$ac_log" 11338} >&5 11339 11340_ACEOF 11341cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11342# 11343# INIT-COMMANDS 11344# 11345AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 11346 11347 11348# The HP-UX ksh and POSIX shell print the target directory to stdout 11349# if CDPATH is set. 11350(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11351 11352sed_quote_subst='$sed_quote_subst' 11353double_quote_subst='$double_quote_subst' 11354delay_variable_subst='$delay_variable_subst' 11355macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 11356macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 11357enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 11358enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 11359pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 11360enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 11361SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 11362ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 11363host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 11364host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 11365host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 11366build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 11367build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 11368build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 11369SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 11370Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 11371GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 11372EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 11373FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 11374LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 11375NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 11376LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 11377max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 11378ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 11379exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 11380lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 11381lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 11382lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 11383reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 11384reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 11385OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 11386deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 11387file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 11388AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 11389AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 11390STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 11391RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 11392old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 11393old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 11394old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 11395lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 11396CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 11397CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 11398compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 11399GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 11400lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 11401lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 11402lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 11403lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 11404objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 11405MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 11406lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 11407lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 11408lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 11409lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 11410lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 11411need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 11412DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 11413NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 11414LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 11415OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 11416OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 11417libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 11418shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 11419extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 11420archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 11421enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 11422export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 11423whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 11424compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 11425old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 11426old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 11427archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 11428archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 11429module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 11430module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 11431with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 11432allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 11433no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 11434hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 11435hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' 11436hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 11437hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 11438hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 11439hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 11440hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 11441hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 11442inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 11443link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 11444fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`' 11445always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 11446export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 11447exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 11448include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 11449prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 11450file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 11451variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 11452need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 11453need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 11454version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 11455runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 11456shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 11457shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 11458libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 11459library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 11460soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 11461install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 11462postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 11463postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 11464finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 11465finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 11466hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 11467sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 11468sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 11469hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 11470enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 11471enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 11472enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 11473old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 11474striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 11475 11476LTCC='$LTCC' 11477LTCFLAGS='$LTCFLAGS' 11478compiler='$compiler_DEFAULT' 11479 11480# A function that is used when there is no print builtin or printf. 11481func_fallback_echo () 11482{ 11483 eval 'cat <<_LTECHO_EOF 11484\$1 11485_LTECHO_EOF' 11486} 11487 11488# Quote evaled strings. 11489for var in SHELL \ 11490ECHO \ 11491SED \ 11492GREP \ 11493EGREP \ 11494FGREP \ 11495LD \ 11496NM \ 11497LN_S \ 11498lt_SP2NL \ 11499lt_NL2SP \ 11500reload_flag \ 11501OBJDUMP \ 11502deplibs_check_method \ 11503file_magic_cmd \ 11504AR \ 11505AR_FLAGS \ 11506STRIP \ 11507RANLIB \ 11508CC \ 11509CFLAGS \ 11510compiler \ 11511lt_cv_sys_global_symbol_pipe \ 11512lt_cv_sys_global_symbol_to_cdecl \ 11513lt_cv_sys_global_symbol_to_c_name_address \ 11514lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 11515lt_prog_compiler_no_builtin_flag \ 11516lt_prog_compiler_wl \ 11517lt_prog_compiler_pic \ 11518lt_prog_compiler_static \ 11519lt_cv_prog_compiler_c_o \ 11520need_locks \ 11521DSYMUTIL \ 11522NMEDIT \ 11523LIPO \ 11524OTOOL \ 11525OTOOL64 \ 11526shrext_cmds \ 11527export_dynamic_flag_spec \ 11528whole_archive_flag_spec \ 11529compiler_needs_object \ 11530with_gnu_ld \ 11531allow_undefined_flag \ 11532no_undefined_flag \ 11533hardcode_libdir_flag_spec \ 11534hardcode_libdir_flag_spec_ld \ 11535hardcode_libdir_separator \ 11536fix_srcfile_path \ 11537exclude_expsyms \ 11538include_expsyms \ 11539file_list_spec \ 11540variables_saved_for_relink \ 11541libname_spec \ 11542library_names_spec \ 11543soname_spec \ 11544install_override_mode \ 11545finish_eval \ 11546old_striplib \ 11547striplib; do 11548 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 11549 *[\\\\\\\`\\"\\\$]*) 11550 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 11551 ;; 11552 *) 11553 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 11554 ;; 11555 esac 11556done 11557 11558# Double-quote double-evaled strings. 11559for var in reload_cmds \ 11560old_postinstall_cmds \ 11561old_postuninstall_cmds \ 11562old_archive_cmds \ 11563extract_expsyms_cmds \ 11564old_archive_from_new_cmds \ 11565old_archive_from_expsyms_cmds \ 11566archive_cmds \ 11567archive_expsym_cmds \ 11568module_cmds \ 11569module_expsym_cmds \ 11570export_symbols_cmds \ 11571prelink_cmds \ 11572postinstall_cmds \ 11573postuninstall_cmds \ 11574finish_cmds \ 11575sys_lib_search_path_spec \ 11576sys_lib_dlsearch_path_spec; do 11577 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 11578 *[\\\\\\\`\\"\\\$]*) 11579 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 11580 ;; 11581 *) 11582 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 11583 ;; 11584 esac 11585done 11586 11587ac_aux_dir='$ac_aux_dir' 11588xsi_shell='$xsi_shell' 11589lt_shell_append='$lt_shell_append' 11590 11591# See if we are running on zsh, and set the options which allow our 11592# commands through without removal of \ escapes INIT. 11593if test -n "\${ZSH_VERSION+set}" ; then 11594 setopt NO_GLOB_SUBST 11595fi 11596 11597 11598 PACKAGE='$PACKAGE' 11599 VERSION='$VERSION' 11600 TIMESTAMP='$TIMESTAMP' 11601 RM='$RM' 11602 ofile='$ofile' 11603 11604 11605 11606 11607_ACEOF 11608 11609cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11610 11611# Handling of arguments. 11612for ac_config_target in $ac_config_targets 11613do 11614 case $ac_config_target in 11615 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 11616 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 11617 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 11618 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 11619 11620 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 11621 esac 11622done 11623 11624 11625# If the user did not use the arguments to specify the items to instantiate, 11626# then the envvar interface is used. Set only those that are not. 11627# We use the long form for the default assignment because of an extremely 11628# bizarre bug on SunOS 4.1.3. 11629if $ac_need_defaults; then 11630 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11631 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 11632 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11633fi 11634 11635# Have a temporary directory for convenience. Make it in the build tree 11636# simply because there is no reason against having it here, and in addition, 11637# creating and moving files from /tmp can sometimes cause problems. 11638# Hook for its removal unless debugging. 11639# Note that there is a small window in which the directory will not be cleaned: 11640# after its creation but before its name has been assigned to `$tmp'. 11641$debug || 11642{ 11643 tmp= 11644 trap 'exit_status=$? 11645 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 11646' 0 11647 trap 'as_fn_exit 1' 1 2 13 15 11648} 11649# Create a (secure) tmp directory for tmp files. 11650 11651{ 11652 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 11653 test -n "$tmp" && test -d "$tmp" 11654} || 11655{ 11656 tmp=./conf$$-$RANDOM 11657 (umask 077 && mkdir "$tmp") 11658} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 11659 11660# Set up the scripts for CONFIG_FILES section. 11661# No need to generate them if there are no CONFIG_FILES. 11662# This happens for instance with `./config.status config.h'. 11663if test -n "$CONFIG_FILES"; then 11664 11665 11666ac_cr=`echo X | tr X '\015'` 11667# On cygwin, bash can eat \r inside `` if the user requested igncr. 11668# But we know of no other shell where ac_cr would be empty at this 11669# point, so we can use a bashism as a fallback. 11670if test "x$ac_cr" = x; then 11671 eval ac_cr=\$\'\\r\' 11672fi 11673ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 11674if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 11675 ac_cs_awk_cr='\\r' 11676else 11677 ac_cs_awk_cr=$ac_cr 11678fi 11679 11680echo 'BEGIN {' >"$tmp/subs1.awk" && 11681_ACEOF 11682 11683 11684{ 11685 echo "cat >conf$$subs.awk <<_ACEOF" && 11686 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 11687 echo "_ACEOF" 11688} >conf$$subs.sh || 11689 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11690ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 11691ac_delim='%!_!# ' 11692for ac_last_try in false false false false false :; do 11693 . ./conf$$subs.sh || 11694 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11695 11696 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 11697 if test $ac_delim_n = $ac_delim_num; then 11698 break 11699 elif $ac_last_try; then 11700 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11701 else 11702 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11703 fi 11704done 11705rm -f conf$$subs.sh 11706 11707cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11708cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 11709_ACEOF 11710sed -n ' 11711h 11712s/^/S["/; s/!.*/"]=/ 11713p 11714g 11715s/^[^!]*!// 11716:repl 11717t repl 11718s/'"$ac_delim"'$// 11719t delim 11720:nl 11721h 11722s/\(.\{148\}\)..*/\1/ 11723t more1 11724s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 11725p 11726n 11727b repl 11728:more1 11729s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 11730p 11731g 11732s/.\{148\}// 11733t nl 11734:delim 11735h 11736s/\(.\{148\}\)..*/\1/ 11737t more2 11738s/["\\]/\\&/g; s/^/"/; s/$/"/ 11739p 11740b 11741:more2 11742s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 11743p 11744g 11745s/.\{148\}// 11746t delim 11747' <conf$$subs.awk | sed ' 11748/^[^""]/{ 11749 N 11750 s/\n// 11751} 11752' >>$CONFIG_STATUS || ac_write_fail=1 11753rm -f conf$$subs.awk 11754cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11755_ACAWK 11756cat >>"\$tmp/subs1.awk" <<_ACAWK && 11757 for (key in S) S_is_set[key] = 1 11758 FS = "" 11759 11760} 11761{ 11762 line = $ 0 11763 nfields = split(line, field, "@") 11764 substed = 0 11765 len = length(field[1]) 11766 for (i = 2; i < nfields; i++) { 11767 key = field[i] 11768 keylen = length(key) 11769 if (S_is_set[key]) { 11770 value = S[key] 11771 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 11772 len += length(value) + length(field[++i]) 11773 substed = 1 11774 } else 11775 len += 1 + keylen 11776 } 11777 11778 print line 11779} 11780 11781_ACAWK 11782_ACEOF 11783cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11784if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 11785 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 11786else 11787 cat 11788fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 11789 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 11790_ACEOF 11791 11792# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 11793# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 11794# trailing colons and then remove the whole line if VPATH becomes empty 11795# (actually we leave an empty line to preserve line numbers). 11796if test "x$srcdir" = x.; then 11797 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 11798h 11799s/// 11800s/^/:/ 11801s/[ ]*$/:/ 11802s/:\$(srcdir):/:/g 11803s/:\${srcdir}:/:/g 11804s/:@srcdir@:/:/g 11805s/^:*// 11806s/:*$// 11807x 11808s/\(=[ ]*\).*/\1/ 11809G 11810s/\n// 11811s/^[^=]*=[ ]*$// 11812}' 11813fi 11814 11815cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11816fi # test -n "$CONFIG_FILES" 11817 11818# Set up the scripts for CONFIG_HEADERS section. 11819# No need to generate them if there are no CONFIG_HEADERS. 11820# This happens for instance with `./config.status Makefile'. 11821if test -n "$CONFIG_HEADERS"; then 11822cat >"$tmp/defines.awk" <<\_ACAWK || 11823BEGIN { 11824_ACEOF 11825 11826# Transform confdefs.h into an awk script `defines.awk', embedded as 11827# here-document in config.status, that substitutes the proper values into 11828# config.h.in to produce config.h. 11829 11830# Create a delimiter string that does not exist in confdefs.h, to ease 11831# handling of long lines. 11832ac_delim='%!_!# ' 11833for ac_last_try in false false :; do 11834 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 11835 if test -z "$ac_t"; then 11836 break 11837 elif $ac_last_try; then 11838 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 11839 else 11840 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11841 fi 11842done 11843 11844# For the awk script, D is an array of macro values keyed by name, 11845# likewise P contains macro parameters if any. Preserve backslash 11846# newline sequences. 11847 11848ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 11849sed -n ' 11850s/.\{148\}/&'"$ac_delim"'/g 11851t rset 11852:rset 11853s/^[ ]*#[ ]*define[ ][ ]*/ / 11854t def 11855d 11856:def 11857s/\\$// 11858t bsnl 11859s/["\\]/\\&/g 11860s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 11861D["\1"]=" \3"/p 11862s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 11863d 11864:bsnl 11865s/["\\]/\\&/g 11866s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 11867D["\1"]=" \3\\\\\\n"\\/p 11868t cont 11869s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 11870t cont 11871d 11872:cont 11873n 11874s/.\{148\}/&'"$ac_delim"'/g 11875t clear 11876:clear 11877s/\\$// 11878t bsnlc 11879s/["\\]/\\&/g; s/^/"/; s/$/"/p 11880d 11881:bsnlc 11882s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 11883b cont 11884' <confdefs.h | sed ' 11885s/'"$ac_delim"'/"\\\ 11886"/g' >>$CONFIG_STATUS || ac_write_fail=1 11887 11888cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11889 for (key in D) D_is_set[key] = 1 11890 FS = "" 11891} 11892/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 11893 line = \$ 0 11894 split(line, arg, " ") 11895 if (arg[1] == "#") { 11896 defundef = arg[2] 11897 mac1 = arg[3] 11898 } else { 11899 defundef = substr(arg[1], 2) 11900 mac1 = arg[2] 11901 } 11902 split(mac1, mac2, "(") #) 11903 macro = mac2[1] 11904 prefix = substr(line, 1, index(line, defundef) - 1) 11905 if (D_is_set[macro]) { 11906 # Preserve the white space surrounding the "#". 11907 print prefix "define", macro P[macro] D[macro] 11908 next 11909 } else { 11910 # Replace #undef with comments. This is necessary, for example, 11911 # in the case of _POSIX_SOURCE, which is predefined and required 11912 # on some systems where configure will not decide to define it. 11913 if (defundef == "undef") { 11914 print "/*", prefix defundef, macro, "*/" 11915 next 11916 } 11917 } 11918} 11919{ print } 11920_ACAWK 11921_ACEOF 11922cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11923 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 11924fi # test -n "$CONFIG_HEADERS" 11925 11926 11927eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 11928shift 11929for ac_tag 11930do 11931 case $ac_tag in 11932 :[FHLC]) ac_mode=$ac_tag; continue;; 11933 esac 11934 case $ac_mode$ac_tag in 11935 :[FHL]*:*);; 11936 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 11937 :[FH]-) ac_tag=-:-;; 11938 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 11939 esac 11940 ac_save_IFS=$IFS 11941 IFS=: 11942 set x $ac_tag 11943 IFS=$ac_save_IFS 11944 shift 11945 ac_file=$1 11946 shift 11947 11948 case $ac_mode in 11949 :L) ac_source=$1;; 11950 :[FH]) 11951 ac_file_inputs= 11952 for ac_f 11953 do 11954 case $ac_f in 11955 -) ac_f="$tmp/stdin";; 11956 *) # Look for the file first in the build tree, then in the source tree 11957 # (if the path is not absolute). The absolute path cannot be DOS-style, 11958 # because $ac_f cannot contain `:'. 11959 test -f "$ac_f" || 11960 case $ac_f in 11961 [\\/$]*) false;; 11962 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 11963 esac || 11964 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 11965 esac 11966 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11967 as_fn_append ac_file_inputs " '$ac_f'" 11968 done 11969 11970 # Let's still pretend it is `configure' which instantiates (i.e., don't 11971 # use $as_me), people would be surprised to read: 11972 # /* config.h. Generated by config.status. */ 11973 configure_input='Generated from '` 11974 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 11975 `' by configure.' 11976 if test x"$ac_file" != x-; then 11977 configure_input="$ac_file. $configure_input" 11978 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 11979$as_echo "$as_me: creating $ac_file" >&6;} 11980 fi 11981 # Neutralize special characters interpreted by sed in replacement strings. 11982 case $configure_input in #( 11983 *\&* | *\|* | *\\* ) 11984 ac_sed_conf_input=`$as_echo "$configure_input" | 11985 sed 's/[\\\\&|]/\\\\&/g'`;; #( 11986 *) ac_sed_conf_input=$configure_input;; 11987 esac 11988 11989 case $ac_tag in 11990 *:-:* | *:-) cat >"$tmp/stdin" \ 11991 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 11992 esac 11993 ;; 11994 esac 11995 11996 ac_dir=`$as_dirname -- "$ac_file" || 11997$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11998 X"$ac_file" : 'X\(//\)[^/]' \| \ 11999 X"$ac_file" : 'X\(//\)$' \| \ 12000 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 12001$as_echo X"$ac_file" | 12002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12003 s//\1/ 12004 q 12005 } 12006 /^X\(\/\/\)[^/].*/{ 12007 s//\1/ 12008 q 12009 } 12010 /^X\(\/\/\)$/{ 12011 s//\1/ 12012 q 12013 } 12014 /^X\(\/\).*/{ 12015 s//\1/ 12016 q 12017 } 12018 s/.*/./; q'` 12019 as_dir="$ac_dir"; as_fn_mkdir_p 12020 ac_builddir=. 12021 12022case "$ac_dir" in 12023.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 12024*) 12025 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 12026 # A ".." for each directory in $ac_dir_suffix. 12027 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 12028 case $ac_top_builddir_sub in 12029 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 12030 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 12031 esac ;; 12032esac 12033ac_abs_top_builddir=$ac_pwd 12034ac_abs_builddir=$ac_pwd$ac_dir_suffix 12035# for backward compatibility: 12036ac_top_builddir=$ac_top_build_prefix 12037 12038case $srcdir in 12039 .) # We are building in place. 12040 ac_srcdir=. 12041 ac_top_srcdir=$ac_top_builddir_sub 12042 ac_abs_top_srcdir=$ac_pwd ;; 12043 [\\/]* | ?:[\\/]* ) # Absolute name. 12044 ac_srcdir=$srcdir$ac_dir_suffix; 12045 ac_top_srcdir=$srcdir 12046 ac_abs_top_srcdir=$srcdir ;; 12047 *) # Relative name. 12048 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 12049 ac_top_srcdir=$ac_top_build_prefix$srcdir 12050 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 12051esac 12052ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 12053 12054 12055 case $ac_mode in 12056 :F) 12057 # 12058 # CONFIG_FILE 12059 # 12060 12061 case $INSTALL in 12062 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 12063 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 12064 esac 12065 ac_MKDIR_P=$MKDIR_P 12066 case $MKDIR_P in 12067 [\\/$]* | ?:[\\/]* ) ;; 12068 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 12069 esac 12070_ACEOF 12071 12072cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12073# If the template does not know about datarootdir, expand it. 12074# FIXME: This hack should be removed a few years after 2.60. 12075ac_datarootdir_hack=; ac_datarootdir_seen= 12076ac_sed_dataroot=' 12077/datarootdir/ { 12078 p 12079 q 12080} 12081/@datadir@/p 12082/@docdir@/p 12083/@infodir@/p 12084/@localedir@/p 12085/@mandir@/p' 12086case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 12087*datarootdir*) ac_datarootdir_seen=yes;; 12088*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 12089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 12090$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 12091_ACEOF 12092cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12093 ac_datarootdir_hack=' 12094 s&@datadir@&$datadir&g 12095 s&@docdir@&$docdir&g 12096 s&@infodir@&$infodir&g 12097 s&@localedir@&$localedir&g 12098 s&@mandir@&$mandir&g 12099 s&\\\${datarootdir}&$datarootdir&g' ;; 12100esac 12101_ACEOF 12102 12103# Neutralize VPATH when `$srcdir' = `.'. 12104# Shell code in configure.ac might set extrasub. 12105# FIXME: do we really want to maintain this feature? 12106cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12107ac_sed_extra="$ac_vpsub 12108$extrasub 12109_ACEOF 12110cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12111:t 12112/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 12113s|@configure_input@|$ac_sed_conf_input|;t t 12114s&@top_builddir@&$ac_top_builddir_sub&;t t 12115s&@top_build_prefix@&$ac_top_build_prefix&;t t 12116s&@srcdir@&$ac_srcdir&;t t 12117s&@abs_srcdir@&$ac_abs_srcdir&;t t 12118s&@top_srcdir@&$ac_top_srcdir&;t t 12119s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 12120s&@builddir@&$ac_builddir&;t t 12121s&@abs_builddir@&$ac_abs_builddir&;t t 12122s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 12123s&@INSTALL@&$ac_INSTALL&;t t 12124s&@MKDIR_P@&$ac_MKDIR_P&;t t 12125$ac_datarootdir_hack 12126" 12127eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 12128 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12129 12130test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12131 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 12132 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 12133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12134which seems to be undefined. Please make sure it is defined" >&5 12135$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12136which seems to be undefined. Please make sure it is defined" >&2;} 12137 12138 rm -f "$tmp/stdin" 12139 case $ac_file in 12140 -) cat "$tmp/out" && rm -f "$tmp/out";; 12141 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 12142 esac \ 12143 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12144 ;; 12145 :H) 12146 # 12147 # CONFIG_HEADER 12148 # 12149 if test x"$ac_file" != x-; then 12150 { 12151 $as_echo "/* $configure_input */" \ 12152 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 12153 } >"$tmp/config.h" \ 12154 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12155 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 12156 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12157$as_echo "$as_me: $ac_file is unchanged" >&6;} 12158 else 12159 rm -f "$ac_file" 12160 mv "$tmp/config.h" "$ac_file" \ 12161 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12162 fi 12163 else 12164 $as_echo "/* $configure_input */" \ 12165 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 12166 || as_fn_error $? "could not create -" "$LINENO" 5 12167 fi 12168# Compute "$ac_file"'s index in $config_headers. 12169_am_arg="$ac_file" 12170_am_stamp_count=1 12171for _am_header in $config_headers :; do 12172 case $_am_header in 12173 $_am_arg | $_am_arg:* ) 12174 break ;; 12175 * ) 12176 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 12177 esac 12178done 12179echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 12180$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12181 X"$_am_arg" : 'X\(//\)[^/]' \| \ 12182 X"$_am_arg" : 'X\(//\)$' \| \ 12183 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 12184$as_echo X"$_am_arg" | 12185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12186 s//\1/ 12187 q 12188 } 12189 /^X\(\/\/\)[^/].*/{ 12190 s//\1/ 12191 q 12192 } 12193 /^X\(\/\/\)$/{ 12194 s//\1/ 12195 q 12196 } 12197 /^X\(\/\).*/{ 12198 s//\1/ 12199 q 12200 } 12201 s/.*/./; q'`/stamp-h$_am_stamp_count 12202 ;; 12203 12204 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12205$as_echo "$as_me: executing $ac_file commands" >&6;} 12206 ;; 12207 esac 12208 12209 12210 case $ac_file$ac_mode in 12211 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 12212 # Autoconf 2.62 quotes --file arguments for eval, but not when files 12213 # are listed without --file. Let's play safe and only enable the eval 12214 # if we detect the quoting. 12215 case $CONFIG_FILES in 12216 *\'*) eval set x "$CONFIG_FILES" ;; 12217 *) set x $CONFIG_FILES ;; 12218 esac 12219 shift 12220 for mf 12221 do 12222 # Strip MF so we end up with the name of the file. 12223 mf=`echo "$mf" | sed -e 's/:.*$//'` 12224 # Check whether this is an Automake generated Makefile or not. 12225 # We used to match only the files named `Makefile.in', but 12226 # some people rename them; so instead we look at the file content. 12227 # Grep'ing the first line is not enough: some people post-process 12228 # each Makefile.in and add a new line on top of each file to say so. 12229 # Grep'ing the whole file is not good either: AIX grep has a line 12230 # limit of 2048, but all sed's we know have understand at least 4000. 12231 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 12232 dirpart=`$as_dirname -- "$mf" || 12233$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12234 X"$mf" : 'X\(//\)[^/]' \| \ 12235 X"$mf" : 'X\(//\)$' \| \ 12236 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 12237$as_echo X"$mf" | 12238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12239 s//\1/ 12240 q 12241 } 12242 /^X\(\/\/\)[^/].*/{ 12243 s//\1/ 12244 q 12245 } 12246 /^X\(\/\/\)$/{ 12247 s//\1/ 12248 q 12249 } 12250 /^X\(\/\).*/{ 12251 s//\1/ 12252 q 12253 } 12254 s/.*/./; q'` 12255 else 12256 continue 12257 fi 12258 # Extract the definition of DEPDIR, am__include, and am__quote 12259 # from the Makefile without running `make'. 12260 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 12261 test -z "$DEPDIR" && continue 12262 am__include=`sed -n 's/^am__include = //p' < "$mf"` 12263 test -z "am__include" && continue 12264 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 12265 # When using ansi2knr, U may be empty or an underscore; expand it 12266 U=`sed -n 's/^U = //p' < "$mf"` 12267 # Find all dependency output files, they are included files with 12268 # $(DEPDIR) in their names. We invoke sed twice because it is the 12269 # simplest approach to changing $(DEPDIR) to its actual value in the 12270 # expansion. 12271 for file in `sed -n " 12272 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 12273 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 12274 # Make sure the directory exists. 12275 test -f "$dirpart/$file" && continue 12276 fdir=`$as_dirname -- "$file" || 12277$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12278 X"$file" : 'X\(//\)[^/]' \| \ 12279 X"$file" : 'X\(//\)$' \| \ 12280 X"$file" : 'X\(/\)' \| . 2>/dev/null || 12281$as_echo X"$file" | 12282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12283 s//\1/ 12284 q 12285 } 12286 /^X\(\/\/\)[^/].*/{ 12287 s//\1/ 12288 q 12289 } 12290 /^X\(\/\/\)$/{ 12291 s//\1/ 12292 q 12293 } 12294 /^X\(\/\).*/{ 12295 s//\1/ 12296 q 12297 } 12298 s/.*/./; q'` 12299 as_dir=$dirpart/$fdir; as_fn_mkdir_p 12300 # echo "creating $dirpart/$file" 12301 echo '# dummy' > "$dirpart/$file" 12302 done 12303 done 12304} 12305 ;; 12306 "libtool":C) 12307 12308 # See if we are running on zsh, and set the options which allow our 12309 # commands through without removal of \ escapes. 12310 if test -n "${ZSH_VERSION+set}" ; then 12311 setopt NO_GLOB_SUBST 12312 fi 12313 12314 cfgfile="${ofile}T" 12315 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 12316 $RM "$cfgfile" 12317 12318 cat <<_LT_EOF >> "$cfgfile" 12319#! $SHELL 12320 12321# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 12322# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 12323# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 12324# NOTE: Changes made to this file will be lost: look at ltmain.sh. 12325# 12326# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 12327# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, 12328# Inc. 12329# Written by Gordon Matzigkeit, 1996 12330# 12331# This file is part of GNU Libtool. 12332# 12333# GNU Libtool is free software; you can redistribute it and/or 12334# modify it under the terms of the GNU General Public License as 12335# published by the Free Software Foundation; either version 2 of 12336# the License, or (at your option) any later version. 12337# 12338# As a special exception to the GNU General Public License, 12339# if you distribute this file as part of a program or library that 12340# is built using GNU Libtool, you may include this file under the 12341# same distribution terms that you use for the rest of that program. 12342# 12343# GNU Libtool is distributed in the hope that it will be useful, 12344# but WITHOUT ANY WARRANTY; without even the implied warranty of 12345# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12346# GNU General Public License for more details. 12347# 12348# You should have received a copy of the GNU General Public License 12349# along with GNU Libtool; see the file COPYING. If not, a copy 12350# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 12351# obtained by writing to the Free Software Foundation, Inc., 12352# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 12353 12354 12355# The names of the tagged configurations supported by this script. 12356available_tags="" 12357 12358# ### BEGIN LIBTOOL CONFIG 12359 12360# Which release of libtool.m4 was used? 12361macro_version=$macro_version 12362macro_revision=$macro_revision 12363 12364# Whether or not to build shared libraries. 12365build_libtool_libs=$enable_shared 12366 12367# Whether or not to build static libraries. 12368build_old_libs=$enable_static 12369 12370# What type of objects to build. 12371pic_mode=$pic_mode 12372 12373# Whether or not to optimize for fast installation. 12374fast_install=$enable_fast_install 12375 12376# Shell to use when invoking shell scripts. 12377SHELL=$lt_SHELL 12378 12379# An echo program that protects backslashes. 12380ECHO=$lt_ECHO 12381 12382# The host system. 12383host_alias=$host_alias 12384host=$host 12385host_os=$host_os 12386 12387# The build system. 12388build_alias=$build_alias 12389build=$build 12390build_os=$build_os 12391 12392# A sed program that does not truncate output. 12393SED=$lt_SED 12394 12395# Sed that helps us avoid accidentally triggering echo(1) options like -n. 12396Xsed="\$SED -e 1s/^X//" 12397 12398# A grep program that handles long lines. 12399GREP=$lt_GREP 12400 12401# An ERE matcher. 12402EGREP=$lt_EGREP 12403 12404# A literal string matcher. 12405FGREP=$lt_FGREP 12406 12407# A BSD- or MS-compatible name lister. 12408NM=$lt_NM 12409 12410# Whether we need soft or hard links. 12411LN_S=$lt_LN_S 12412 12413# What is the maximum length of a command? 12414max_cmd_len=$max_cmd_len 12415 12416# Object file suffix (normally "o"). 12417objext=$ac_objext 12418 12419# Executable file suffix (normally ""). 12420exeext=$exeext 12421 12422# whether the shell understands "unset". 12423lt_unset=$lt_unset 12424 12425# turn spaces into newlines. 12426SP2NL=$lt_lt_SP2NL 12427 12428# turn newlines into spaces. 12429NL2SP=$lt_lt_NL2SP 12430 12431# An object symbol dumper. 12432OBJDUMP=$lt_OBJDUMP 12433 12434# Method to check whether dependent libraries are shared objects. 12435deplibs_check_method=$lt_deplibs_check_method 12436 12437# Command to use when deplibs_check_method == "file_magic". 12438file_magic_cmd=$lt_file_magic_cmd 12439 12440# The archiver. 12441AR=$lt_AR 12442AR_FLAGS=$lt_AR_FLAGS 12443 12444# A symbol stripping program. 12445STRIP=$lt_STRIP 12446 12447# Commands used to install an old-style archive. 12448RANLIB=$lt_RANLIB 12449old_postinstall_cmds=$lt_old_postinstall_cmds 12450old_postuninstall_cmds=$lt_old_postuninstall_cmds 12451 12452# Whether to use a lock for old archive extraction. 12453lock_old_archive_extraction=$lock_old_archive_extraction 12454 12455# A C compiler. 12456LTCC=$lt_CC 12457 12458# LTCC compiler flags. 12459LTCFLAGS=$lt_CFLAGS 12460 12461# Take the output of nm and produce a listing of raw symbols and C names. 12462global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 12463 12464# Transform the output of nm in a proper C declaration. 12465global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 12466 12467# Transform the output of nm in a C name address pair. 12468global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 12469 12470# Transform the output of nm in a C name address pair when lib prefix is needed. 12471global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 12472 12473# The name of the directory that contains temporary libtool files. 12474objdir=$objdir 12475 12476# Used to examine libraries when file_magic_cmd begins with "file". 12477MAGIC_CMD=$MAGIC_CMD 12478 12479# Must we lock files when doing compilation? 12480need_locks=$lt_need_locks 12481 12482# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 12483DSYMUTIL=$lt_DSYMUTIL 12484 12485# Tool to change global to local symbols on Mac OS X. 12486NMEDIT=$lt_NMEDIT 12487 12488# Tool to manipulate fat objects and archives on Mac OS X. 12489LIPO=$lt_LIPO 12490 12491# ldd/readelf like tool for Mach-O binaries on Mac OS X. 12492OTOOL=$lt_OTOOL 12493 12494# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 12495OTOOL64=$lt_OTOOL64 12496 12497# Old archive suffix (normally "a"). 12498libext=$libext 12499 12500# Shared library suffix (normally ".so"). 12501shrext_cmds=$lt_shrext_cmds 12502 12503# The commands to extract the exported symbol list from a shared archive. 12504extract_expsyms_cmds=$lt_extract_expsyms_cmds 12505 12506# Variables whose values should be saved in libtool wrapper scripts and 12507# restored at link time. 12508variables_saved_for_relink=$lt_variables_saved_for_relink 12509 12510# Do we need the "lib" prefix for modules? 12511need_lib_prefix=$need_lib_prefix 12512 12513# Do we need a version for libraries? 12514need_version=$need_version 12515 12516# Library versioning type. 12517version_type=$version_type 12518 12519# Shared library runtime path variable. 12520runpath_var=$runpath_var 12521 12522# Shared library path variable. 12523shlibpath_var=$shlibpath_var 12524 12525# Is shlibpath searched before the hard-coded library search path? 12526shlibpath_overrides_runpath=$shlibpath_overrides_runpath 12527 12528# Format of library name prefix. 12529libname_spec=$lt_libname_spec 12530 12531# List of archive names. First name is the real one, the rest are links. 12532# The last name is the one that the linker finds with -lNAME 12533library_names_spec=$lt_library_names_spec 12534 12535# The coded name of the library, if different from the real name. 12536soname_spec=$lt_soname_spec 12537 12538# Permission mode override for installation of shared libraries. 12539install_override_mode=$lt_install_override_mode 12540 12541# Command to use after installation of a shared archive. 12542postinstall_cmds=$lt_postinstall_cmds 12543 12544# Command to use after uninstallation of a shared archive. 12545postuninstall_cmds=$lt_postuninstall_cmds 12546 12547# Commands used to finish a libtool library installation in a directory. 12548finish_cmds=$lt_finish_cmds 12549 12550# As "finish_cmds", except a single script fragment to be evaled but 12551# not shown. 12552finish_eval=$lt_finish_eval 12553 12554# Whether we should hardcode library paths into libraries. 12555hardcode_into_libs=$hardcode_into_libs 12556 12557# Compile-time system search path for libraries. 12558sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 12559 12560# Run-time system search path for libraries. 12561sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 12562 12563# Whether dlopen is supported. 12564dlopen_support=$enable_dlopen 12565 12566# Whether dlopen of programs is supported. 12567dlopen_self=$enable_dlopen_self 12568 12569# Whether dlopen of statically linked programs is supported. 12570dlopen_self_static=$enable_dlopen_self_static 12571 12572# Commands to strip libraries. 12573old_striplib=$lt_old_striplib 12574striplib=$lt_striplib 12575 12576 12577# The linker used to build libraries. 12578LD=$lt_LD 12579 12580# How to create reloadable object files. 12581reload_flag=$lt_reload_flag 12582reload_cmds=$lt_reload_cmds 12583 12584# Commands used to build an old-style archive. 12585old_archive_cmds=$lt_old_archive_cmds 12586 12587# A language specific compiler. 12588CC=$lt_compiler 12589 12590# Is the compiler the GNU compiler? 12591with_gcc=$GCC 12592 12593# Compiler flag to turn off builtin functions. 12594no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 12595 12596# How to pass a linker flag through the compiler. 12597wl=$lt_lt_prog_compiler_wl 12598 12599# Additional compiler flags for building library objects. 12600pic_flag=$lt_lt_prog_compiler_pic 12601 12602# Compiler flag to prevent dynamic linking. 12603link_static_flag=$lt_lt_prog_compiler_static 12604 12605# Does compiler simultaneously support -c and -o options? 12606compiler_c_o=$lt_lt_cv_prog_compiler_c_o 12607 12608# Whether or not to add -lc for building shared libraries. 12609build_libtool_need_lc=$archive_cmds_need_lc 12610 12611# Whether or not to disallow shared libs when runtime libs are static. 12612allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 12613 12614# Compiler flag to allow reflexive dlopens. 12615export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 12616 12617# Compiler flag to generate shared objects directly from archives. 12618whole_archive_flag_spec=$lt_whole_archive_flag_spec 12619 12620# Whether the compiler copes with passing no objects directly. 12621compiler_needs_object=$lt_compiler_needs_object 12622 12623# Create an old-style archive from a shared archive. 12624old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 12625 12626# Create a temporary old-style archive to link instead of a shared archive. 12627old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 12628 12629# Commands used to build a shared archive. 12630archive_cmds=$lt_archive_cmds 12631archive_expsym_cmds=$lt_archive_expsym_cmds 12632 12633# Commands used to build a loadable module if different from building 12634# a shared archive. 12635module_cmds=$lt_module_cmds 12636module_expsym_cmds=$lt_module_expsym_cmds 12637 12638# Whether we are building with GNU ld or not. 12639with_gnu_ld=$lt_with_gnu_ld 12640 12641# Flag that allows shared libraries with undefined symbols to be built. 12642allow_undefined_flag=$lt_allow_undefined_flag 12643 12644# Flag that enforces no undefined symbols. 12645no_undefined_flag=$lt_no_undefined_flag 12646 12647# Flag to hardcode \$libdir into a binary during linking. 12648# This must work even if \$libdir does not exist 12649hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 12650 12651# If ld is used when linking, flag to hardcode \$libdir into a binary 12652# during linking. This must work even if \$libdir does not exist. 12653hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 12654 12655# Whether we need a single "-rpath" flag with a separated argument. 12656hardcode_libdir_separator=$lt_hardcode_libdir_separator 12657 12658# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 12659# DIR into the resulting binary. 12660hardcode_direct=$hardcode_direct 12661 12662# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 12663# DIR into the resulting binary and the resulting library dependency is 12664# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 12665# library is relocated. 12666hardcode_direct_absolute=$hardcode_direct_absolute 12667 12668# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 12669# into the resulting binary. 12670hardcode_minus_L=$hardcode_minus_L 12671 12672# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 12673# into the resulting binary. 12674hardcode_shlibpath_var=$hardcode_shlibpath_var 12675 12676# Set to "yes" if building a shared library automatically hardcodes DIR 12677# into the library and all subsequent libraries and executables linked 12678# against it. 12679hardcode_automatic=$hardcode_automatic 12680 12681# Set to yes if linker adds runtime paths of dependent libraries 12682# to runtime path list. 12683inherit_rpath=$inherit_rpath 12684 12685# Whether libtool must link a program against all its dependency libraries. 12686link_all_deplibs=$link_all_deplibs 12687 12688# Fix the shell variable \$srcfile for the compiler. 12689fix_srcfile_path=$lt_fix_srcfile_path 12690 12691# Set to "yes" if exported symbols are required. 12692always_export_symbols=$always_export_symbols 12693 12694# The commands to list exported symbols. 12695export_symbols_cmds=$lt_export_symbols_cmds 12696 12697# Symbols that should not be listed in the preloaded symbols. 12698exclude_expsyms=$lt_exclude_expsyms 12699 12700# Symbols that must always be exported. 12701include_expsyms=$lt_include_expsyms 12702 12703# Commands necessary for linking programs (against libraries) with templates. 12704prelink_cmds=$lt_prelink_cmds 12705 12706# Specify filename containing input files. 12707file_list_spec=$lt_file_list_spec 12708 12709# How to hardcode a shared library path into an executable. 12710hardcode_action=$hardcode_action 12711 12712# ### END LIBTOOL CONFIG 12713 12714_LT_EOF 12715 12716 case $host_os in 12717 aix3*) 12718 cat <<\_LT_EOF >> "$cfgfile" 12719# AIX sometimes has problems with the GCC collect2 program. For some 12720# reason, if we set the COLLECT_NAMES environment variable, the problems 12721# vanish in a puff of smoke. 12722if test "X${COLLECT_NAMES+set}" != Xset; then 12723 COLLECT_NAMES= 12724 export COLLECT_NAMES 12725fi 12726_LT_EOF 12727 ;; 12728 esac 12729 12730 12731ltmain="$ac_aux_dir/ltmain.sh" 12732 12733 12734 # We use sed instead of cat because bash on DJGPP gets confused if 12735 # if finds mixed CR/LF and LF-only lines. Since sed operates in 12736 # text mode, it properly converts lines to CR/LF. This bash problem 12737 # is reportedly fixed, but why not run on old versions too? 12738 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 12739 || (rm -f "$cfgfile"; exit 1) 12740 12741 case $xsi_shell in 12742 yes) 12743 cat << \_LT_EOF >> "$cfgfile" 12744 12745# func_dirname file append nondir_replacement 12746# Compute the dirname of FILE. If nonempty, add APPEND to the result, 12747# otherwise set result to NONDIR_REPLACEMENT. 12748func_dirname () 12749{ 12750 case ${1} in 12751 */*) func_dirname_result="${1%/*}${2}" ;; 12752 * ) func_dirname_result="${3}" ;; 12753 esac 12754} 12755 12756# func_basename file 12757func_basename () 12758{ 12759 func_basename_result="${1##*/}" 12760} 12761 12762# func_dirname_and_basename file append nondir_replacement 12763# perform func_basename and func_dirname in a single function 12764# call: 12765# dirname: Compute the dirname of FILE. If nonempty, 12766# add APPEND to the result, otherwise set result 12767# to NONDIR_REPLACEMENT. 12768# value returned in "$func_dirname_result" 12769# basename: Compute filename of FILE. 12770# value retuned in "$func_basename_result" 12771# Implementation must be kept synchronized with func_dirname 12772# and func_basename. For efficiency, we do not delegate to 12773# those functions but instead duplicate the functionality here. 12774func_dirname_and_basename () 12775{ 12776 case ${1} in 12777 */*) func_dirname_result="${1%/*}${2}" ;; 12778 * ) func_dirname_result="${3}" ;; 12779 esac 12780 func_basename_result="${1##*/}" 12781} 12782 12783# func_stripname prefix suffix name 12784# strip PREFIX and SUFFIX off of NAME. 12785# PREFIX and SUFFIX must not contain globbing or regex special 12786# characters, hashes, percent signs, but SUFFIX may contain a leading 12787# dot (in which case that matches only a dot). 12788func_stripname () 12789{ 12790 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 12791 # positional parameters, so assign one to ordinary parameter first. 12792 func_stripname_result=${3} 12793 func_stripname_result=${func_stripname_result#"${1}"} 12794 func_stripname_result=${func_stripname_result%"${2}"} 12795} 12796 12797# func_opt_split 12798func_opt_split () 12799{ 12800 func_opt_split_opt=${1%%=*} 12801 func_opt_split_arg=${1#*=} 12802} 12803 12804# func_lo2o object 12805func_lo2o () 12806{ 12807 case ${1} in 12808 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 12809 *) func_lo2o_result=${1} ;; 12810 esac 12811} 12812 12813# func_xform libobj-or-source 12814func_xform () 12815{ 12816 func_xform_result=${1%.*}.lo 12817} 12818 12819# func_arith arithmetic-term... 12820func_arith () 12821{ 12822 func_arith_result=$(( $* )) 12823} 12824 12825# func_len string 12826# STRING may not start with a hyphen. 12827func_len () 12828{ 12829 func_len_result=${#1} 12830} 12831 12832_LT_EOF 12833 ;; 12834 *) # Bourne compatible functions. 12835 cat << \_LT_EOF >> "$cfgfile" 12836 12837# func_dirname file append nondir_replacement 12838# Compute the dirname of FILE. If nonempty, add APPEND to the result, 12839# otherwise set result to NONDIR_REPLACEMENT. 12840func_dirname () 12841{ 12842 # Extract subdirectory from the argument. 12843 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` 12844 if test "X$func_dirname_result" = "X${1}"; then 12845 func_dirname_result="${3}" 12846 else 12847 func_dirname_result="$func_dirname_result${2}" 12848 fi 12849} 12850 12851# func_basename file 12852func_basename () 12853{ 12854 func_basename_result=`$ECHO "${1}" | $SED "$basename"` 12855} 12856 12857 12858# func_stripname prefix suffix name 12859# strip PREFIX and SUFFIX off of NAME. 12860# PREFIX and SUFFIX must not contain globbing or regex special 12861# characters, hashes, percent signs, but SUFFIX may contain a leading 12862# dot (in which case that matches only a dot). 12863# func_strip_suffix prefix name 12864func_stripname () 12865{ 12866 case ${2} in 12867 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 12868 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 12869 esac 12870} 12871 12872# sed scripts: 12873my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 12874my_sed_long_arg='1s/^-[^=]*=//' 12875 12876# func_opt_split 12877func_opt_split () 12878{ 12879 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` 12880 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` 12881} 12882 12883# func_lo2o object 12884func_lo2o () 12885{ 12886 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` 12887} 12888 12889# func_xform libobj-or-source 12890func_xform () 12891{ 12892 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` 12893} 12894 12895# func_arith arithmetic-term... 12896func_arith () 12897{ 12898 func_arith_result=`expr "$@"` 12899} 12900 12901# func_len string 12902# STRING may not start with a hyphen. 12903func_len () 12904{ 12905 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 12906} 12907 12908_LT_EOF 12909esac 12910 12911case $lt_shell_append in 12912 yes) 12913 cat << \_LT_EOF >> "$cfgfile" 12914 12915# func_append var value 12916# Append VALUE to the end of shell variable VAR. 12917func_append () 12918{ 12919 eval "$1+=\$2" 12920} 12921_LT_EOF 12922 ;; 12923 *) 12924 cat << \_LT_EOF >> "$cfgfile" 12925 12926# func_append var value 12927# Append VALUE to the end of shell variable VAR. 12928func_append () 12929{ 12930 eval "$1=\$$1\$2" 12931} 12932 12933_LT_EOF 12934 ;; 12935 esac 12936 12937 12938 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 12939 || (rm -f "$cfgfile"; exit 1) 12940 12941 mv -f "$cfgfile" "$ofile" || 12942 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 12943 chmod +x "$ofile" 12944 12945 ;; 12946 12947 esac 12948done # for ac_tag 12949 12950 12951as_fn_exit 0 12952_ACEOF 12953ac_clean_files=$ac_clean_files_save 12954 12955test $ac_write_fail = 0 || 12956 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 12957 12958 12959# configure is writing to config.log, and then calls config.status. 12960# config.status does its own redirection, appending to config.log. 12961# Unfortunately, on DOS this fails, as config.log is still kept open 12962# by configure, so config.status won't be able to write to it; its 12963# output is simply discarded. So we exec the FD to /dev/null, 12964# effectively closing config.log, so it can be properly (re)opened and 12965# appended to by config.status. When coming back to configure, we 12966# need to make the FD available again. 12967if test "$no_create" != yes; then 12968 ac_cs_success=: 12969 ac_config_status_args= 12970 test "$silent" = yes && 12971 ac_config_status_args="$ac_config_status_args --quiet" 12972 exec 5>/dev/null 12973 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 12974 exec 5>>config.log 12975 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 12976 # would make configure fail if this is the last instruction. 12977 $ac_cs_success || as_fn_exit 1 12978fi 12979if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 12980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12981$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12982fi 12983 12984