1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.66 for random128 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 176test \$(( 1 + 1 )) = 2 || exit 1 177 178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 182 PATH=/empty FPATH=/empty; export PATH FPATH 183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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='random128' 564PACKAGE_TARNAME='random128' 565PACKAGE_VERSION='0.10' 566PACKAGE_STRING='random128 0.10' 567PACKAGE_BUGREPORT='courier-users@lists.sourceforge.net' 568PACKAGE_URL='' 569 570ac_unique_file="random128.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 611OTOOL64 612OTOOL 613LIPO 614NMEDIT 615DSYMUTIL 616RANLIB 617AR 618OBJDUMP 619NM 620ac_ct_DUMPBIN 621DUMPBIN 622LD 623FGREP 624SED 625host_os 626host_vendor 627host_cpu 628host 629build_os 630build_vendor 631build_cpu 632build 633LIBTOOL 634W 635PS 636LN_S 637EGREP 638GREP 639CPP 640am__fastdepCC_FALSE 641am__fastdepCC_TRUE 642CCDEPMODE 643AMDEPBACKSLASH 644AMDEP_FALSE 645AMDEP_TRUE 646am__quote 647am__include 648DEPDIR 649OBJEXT 650EXEEXT 651ac_ct_CC 652CPPFLAGS 653LDFLAGS 654CFLAGS 655CC 656am__untar 657am__tar 658AMTAR 659am__leading_dot 660SET_MAKE 661AWK 662mkdir_p 663MKDIR_P 664INSTALL_STRIP_PROGRAM 665STRIP 666install_sh 667MAKEINFO 668AUTOHEADER 669AUTOMAKE 670AUTOCONF 671ACLOCAL 672VERSION 673PACKAGE 674CYGPATH_W 675am__isrc 676INSTALL_DATA 677INSTALL_SCRIPT 678INSTALL_PROGRAM 679target_alias 680host_alias 681build_alias 682LIBS 683ECHO_T 684ECHO_N 685ECHO_C 686DEFS 687mandir 688localedir 689libdir 690psdir 691pdfdir 692dvidir 693htmldir 694infodir 695docdir 696oldincludedir 697includedir 698localstatedir 699sharedstatedir 700sysconfdir 701datadir 702datarootdir 703libexecdir 704sbindir 705bindir 706program_transform_name 707prefix 708exec_prefix 709PACKAGE_URL 710PACKAGE_BUGREPORT 711PACKAGE_STRING 712PACKAGE_VERSION 713PACKAGE_TARNAME 714PACKAGE_NAME 715PATH_SEPARATOR 716SHELL' 717ac_subst_files='' 718ac_user_opts=' 719enable_option_checking 720enable_dependency_tracking 721enable_shared 722enable_static 723with_pic 724enable_fast_install 725with_gnu_ld 726enable_libtool_lock 727with_random 728' 729 ac_precious_vars='build_alias 730host_alias 731target_alias 732CC 733CFLAGS 734LDFLAGS 735LIBS 736CPPFLAGS 737CPP' 738 739 740# Initialize some variables set by options. 741ac_init_help= 742ac_init_version=false 743ac_unrecognized_opts= 744ac_unrecognized_sep= 745# The variables have the same names as the options, with 746# dashes changed to underlines. 747cache_file=/dev/null 748exec_prefix=NONE 749no_create= 750no_recursion= 751prefix=NONE 752program_prefix=NONE 753program_suffix=NONE 754program_transform_name=s,x,x, 755silent= 756site= 757srcdir= 758verbose= 759x_includes=NONE 760x_libraries=NONE 761 762# Installation directory options. 763# These are left unexpanded so users can "make install exec_prefix=/foo" 764# and all the variables that are supposed to be based on exec_prefix 765# by default will actually change. 766# Use braces instead of parens because sh, perl, etc. also accept them. 767# (The list follows the same order as the GNU Coding Standards.) 768bindir='${exec_prefix}/bin' 769sbindir='${exec_prefix}/sbin' 770libexecdir='${exec_prefix}/libexec' 771datarootdir='${prefix}/share' 772datadir='${datarootdir}' 773sysconfdir='${prefix}/etc' 774sharedstatedir='${prefix}/com' 775localstatedir='${prefix}/var' 776includedir='${prefix}/include' 777oldincludedir='/usr/include' 778docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 779infodir='${datarootdir}/info' 780htmldir='${docdir}' 781dvidir='${docdir}' 782pdfdir='${docdir}' 783psdir='${docdir}' 784libdir='${exec_prefix}/lib' 785localedir='${datarootdir}/locale' 786mandir='${datarootdir}/man' 787 788ac_prev= 789ac_dashdash= 790for ac_option 791do 792 # If the previous option needs an argument, assign it. 793 if test -n "$ac_prev"; then 794 eval $ac_prev=\$ac_option 795 ac_prev= 796 continue 797 fi 798 799 case $ac_option in 800 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 801 *) ac_optarg=yes ;; 802 esac 803 804 # Accept the important Cygnus configure options, so we can diagnose typos. 805 806 case $ac_dashdash$ac_option in 807 --) 808 ac_dashdash=yes ;; 809 810 -bindir | --bindir | --bindi | --bind | --bin | --bi) 811 ac_prev=bindir ;; 812 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 813 bindir=$ac_optarg ;; 814 815 -build | --build | --buil | --bui | --bu) 816 ac_prev=build_alias ;; 817 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 818 build_alias=$ac_optarg ;; 819 820 -cache-file | --cache-file | --cache-fil | --cache-fi \ 821 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 822 ac_prev=cache_file ;; 823 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 824 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 825 cache_file=$ac_optarg ;; 826 827 --config-cache | -C) 828 cache_file=config.cache ;; 829 830 -datadir | --datadir | --datadi | --datad) 831 ac_prev=datadir ;; 832 -datadir=* | --datadir=* | --datadi=* | --datad=*) 833 datadir=$ac_optarg ;; 834 835 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 836 | --dataroo | --dataro | --datar) 837 ac_prev=datarootdir ;; 838 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 839 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 840 datarootdir=$ac_optarg ;; 841 842 -disable-* | --disable-*) 843 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 844 # Reject names that are not valid shell variable names. 845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 846 as_fn_error $? "invalid feature name: $ac_useropt" 847 ac_useropt_orig=$ac_useropt 848 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 849 case $ac_user_opts in 850 *" 851"enable_$ac_useropt" 852"*) ;; 853 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 854 ac_unrecognized_sep=', ';; 855 esac 856 eval enable_$ac_useropt=no ;; 857 858 -docdir | --docdir | --docdi | --doc | --do) 859 ac_prev=docdir ;; 860 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 861 docdir=$ac_optarg ;; 862 863 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 864 ac_prev=dvidir ;; 865 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 866 dvidir=$ac_optarg ;; 867 868 -enable-* | --enable-*) 869 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 870 # Reject names that are not valid shell variable names. 871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 872 as_fn_error $? "invalid feature name: $ac_useropt" 873 ac_useropt_orig=$ac_useropt 874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 875 case $ac_user_opts in 876 *" 877"enable_$ac_useropt" 878"*) ;; 879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 880 ac_unrecognized_sep=', ';; 881 esac 882 eval enable_$ac_useropt=\$ac_optarg ;; 883 884 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 885 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 886 | --exec | --exe | --ex) 887 ac_prev=exec_prefix ;; 888 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 889 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 890 | --exec=* | --exe=* | --ex=*) 891 exec_prefix=$ac_optarg ;; 892 893 -gas | --gas | --ga | --g) 894 # Obsolete; use --with-gas. 895 with_gas=yes ;; 896 897 -help | --help | --hel | --he | -h) 898 ac_init_help=long ;; 899 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 900 ac_init_help=recursive ;; 901 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 902 ac_init_help=short ;; 903 904 -host | --host | --hos | --ho) 905 ac_prev=host_alias ;; 906 -host=* | --host=* | --hos=* | --ho=*) 907 host_alias=$ac_optarg ;; 908 909 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 910 ac_prev=htmldir ;; 911 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 912 | --ht=*) 913 htmldir=$ac_optarg ;; 914 915 -includedir | --includedir | --includedi | --included | --include \ 916 | --includ | --inclu | --incl | --inc) 917 ac_prev=includedir ;; 918 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 919 | --includ=* | --inclu=* | --incl=* | --inc=*) 920 includedir=$ac_optarg ;; 921 922 -infodir | --infodir | --infodi | --infod | --info | --inf) 923 ac_prev=infodir ;; 924 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 925 infodir=$ac_optarg ;; 926 927 -libdir | --libdir | --libdi | --libd) 928 ac_prev=libdir ;; 929 -libdir=* | --libdir=* | --libdi=* | --libd=*) 930 libdir=$ac_optarg ;; 931 932 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 933 | --libexe | --libex | --libe) 934 ac_prev=libexecdir ;; 935 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 936 | --libexe=* | --libex=* | --libe=*) 937 libexecdir=$ac_optarg ;; 938 939 -localedir | --localedir | --localedi | --localed | --locale) 940 ac_prev=localedir ;; 941 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 942 localedir=$ac_optarg ;; 943 944 -localstatedir | --localstatedir | --localstatedi | --localstated \ 945 | --localstate | --localstat | --localsta | --localst | --locals) 946 ac_prev=localstatedir ;; 947 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 948 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 949 localstatedir=$ac_optarg ;; 950 951 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 952 ac_prev=mandir ;; 953 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 954 mandir=$ac_optarg ;; 955 956 -nfp | --nfp | --nf) 957 # Obsolete; use --without-fp. 958 with_fp=no ;; 959 960 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 961 | --no-cr | --no-c | -n) 962 no_create=yes ;; 963 964 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 965 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 966 no_recursion=yes ;; 967 968 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 969 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 970 | --oldin | --oldi | --old | --ol | --o) 971 ac_prev=oldincludedir ;; 972 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 973 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 974 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 975 oldincludedir=$ac_optarg ;; 976 977 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 978 ac_prev=prefix ;; 979 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 980 prefix=$ac_optarg ;; 981 982 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 983 | --program-pre | --program-pr | --program-p) 984 ac_prev=program_prefix ;; 985 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 986 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 987 program_prefix=$ac_optarg ;; 988 989 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 990 | --program-suf | --program-su | --program-s) 991 ac_prev=program_suffix ;; 992 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 993 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 994 program_suffix=$ac_optarg ;; 995 996 -program-transform-name | --program-transform-name \ 997 | --program-transform-nam | --program-transform-na \ 998 | --program-transform-n | --program-transform- \ 999 | --program-transform | --program-transfor \ 1000 | --program-transfo | --program-transf \ 1001 | --program-trans | --program-tran \ 1002 | --progr-tra | --program-tr | --program-t) 1003 ac_prev=program_transform_name ;; 1004 -program-transform-name=* | --program-transform-name=* \ 1005 | --program-transform-nam=* | --program-transform-na=* \ 1006 | --program-transform-n=* | --program-transform-=* \ 1007 | --program-transform=* | --program-transfor=* \ 1008 | --program-transfo=* | --program-transf=* \ 1009 | --program-trans=* | --program-tran=* \ 1010 | --progr-tra=* | --program-tr=* | --program-t=*) 1011 program_transform_name=$ac_optarg ;; 1012 1013 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1014 ac_prev=pdfdir ;; 1015 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1016 pdfdir=$ac_optarg ;; 1017 1018 -psdir | --psdir | --psdi | --psd | --ps) 1019 ac_prev=psdir ;; 1020 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1021 psdir=$ac_optarg ;; 1022 1023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1024 | -silent | --silent | --silen | --sile | --sil) 1025 silent=yes ;; 1026 1027 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1028 ac_prev=sbindir ;; 1029 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1030 | --sbi=* | --sb=*) 1031 sbindir=$ac_optarg ;; 1032 1033 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1034 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1035 | --sharedst | --shareds | --shared | --share | --shar \ 1036 | --sha | --sh) 1037 ac_prev=sharedstatedir ;; 1038 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1039 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1040 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1041 | --sha=* | --sh=*) 1042 sharedstatedir=$ac_optarg ;; 1043 1044 -site | --site | --sit) 1045 ac_prev=site ;; 1046 -site=* | --site=* | --sit=*) 1047 site=$ac_optarg ;; 1048 1049 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1050 ac_prev=srcdir ;; 1051 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1052 srcdir=$ac_optarg ;; 1053 1054 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1055 | --syscon | --sysco | --sysc | --sys | --sy) 1056 ac_prev=sysconfdir ;; 1057 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1058 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1059 sysconfdir=$ac_optarg ;; 1060 1061 -target | --target | --targe | --targ | --tar | --ta | --t) 1062 ac_prev=target_alias ;; 1063 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1064 target_alias=$ac_optarg ;; 1065 1066 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1067 verbose=yes ;; 1068 1069 -version | --version | --versio | --versi | --vers | -V) 1070 ac_init_version=: ;; 1071 1072 -with-* | --with-*) 1073 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1074 # Reject names that are not valid shell variable names. 1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1076 as_fn_error $? "invalid package name: $ac_useropt" 1077 ac_useropt_orig=$ac_useropt 1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1079 case $ac_user_opts in 1080 *" 1081"with_$ac_useropt" 1082"*) ;; 1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1084 ac_unrecognized_sep=', ';; 1085 esac 1086 eval with_$ac_useropt=\$ac_optarg ;; 1087 1088 -without-* | --without-*) 1089 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1090 # Reject names that are not valid shell variable names. 1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1092 as_fn_error $? "invalid package name: $ac_useropt" 1093 ac_useropt_orig=$ac_useropt 1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1095 case $ac_user_opts in 1096 *" 1097"with_$ac_useropt" 1098"*) ;; 1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1100 ac_unrecognized_sep=', ';; 1101 esac 1102 eval with_$ac_useropt=no ;; 1103 1104 --x) 1105 # Obsolete; use --with-x. 1106 with_x=yes ;; 1107 1108 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1109 | --x-incl | --x-inc | --x-in | --x-i) 1110 ac_prev=x_includes ;; 1111 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1112 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1113 x_includes=$ac_optarg ;; 1114 1115 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1116 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1117 ac_prev=x_libraries ;; 1118 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1119 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1120 x_libraries=$ac_optarg ;; 1121 1122 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1123Try \`$0 --help' for more information" 1124 ;; 1125 1126 *=*) 1127 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1128 # Reject names that are not valid shell variable names. 1129 case $ac_envvar in #( 1130 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1131 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1132 esac 1133 eval $ac_envvar=\$ac_optarg 1134 export $ac_envvar ;; 1135 1136 *) 1137 # FIXME: should be removed in autoconf 3.0. 1138 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1139 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1140 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1141 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1142 ;; 1143 1144 esac 1145done 1146 1147if test -n "$ac_prev"; then 1148 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1149 as_fn_error $? "missing argument to $ac_option" 1150fi 1151 1152if test -n "$ac_unrecognized_opts"; then 1153 case $enable_option_checking in 1154 no) ;; 1155 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1156 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1157 esac 1158fi 1159 1160# Check all directory arguments for consistency. 1161for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1162 datadir sysconfdir sharedstatedir localstatedir includedir \ 1163 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1164 libdir localedir mandir 1165do 1166 eval ac_val=\$$ac_var 1167 # Remove trailing slashes. 1168 case $ac_val in 1169 */ ) 1170 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1171 eval $ac_var=\$ac_val;; 1172 esac 1173 # Be sure to have absolute directory names. 1174 case $ac_val in 1175 [\\/$]* | ?:[\\/]* ) continue;; 1176 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1177 esac 1178 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1179done 1180 1181# There might be people who depend on the old broken behavior: `$host' 1182# used to hold the argument of --host etc. 1183# FIXME: To remove some day. 1184build=$build_alias 1185host=$host_alias 1186target=$target_alias 1187 1188# FIXME: To remove some day. 1189if test "x$host_alias" != x; then 1190 if test "x$build_alias" = x; then 1191 cross_compiling=maybe 1192 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1193 If a cross compiler is detected then cross compile mode will be used" >&2 1194 elif test "x$build_alias" != "x$host_alias"; then 1195 cross_compiling=yes 1196 fi 1197fi 1198 1199ac_tool_prefix= 1200test -n "$host_alias" && ac_tool_prefix=$host_alias- 1201 1202test "$silent" = yes && exec 6>/dev/null 1203 1204 1205ac_pwd=`pwd` && test -n "$ac_pwd" && 1206ac_ls_di=`ls -di .` && 1207ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1208 as_fn_error $? "working directory cannot be determined" 1209test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1210 as_fn_error $? "pwd does not report name of working directory" 1211 1212 1213# Find the source files, if location was not specified. 1214if test -z "$srcdir"; then 1215 ac_srcdir_defaulted=yes 1216 # Try the directory containing this script, then the parent directory. 1217 ac_confdir=`$as_dirname -- "$as_myself" || 1218$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1219 X"$as_myself" : 'X\(//\)[^/]' \| \ 1220 X"$as_myself" : 'X\(//\)$' \| \ 1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1222$as_echo X"$as_myself" | 1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1224 s//\1/ 1225 q 1226 } 1227 /^X\(\/\/\)[^/].*/{ 1228 s//\1/ 1229 q 1230 } 1231 /^X\(\/\/\)$/{ 1232 s//\1/ 1233 q 1234 } 1235 /^X\(\/\).*/{ 1236 s//\1/ 1237 q 1238 } 1239 s/.*/./; q'` 1240 srcdir=$ac_confdir 1241 if test ! -r "$srcdir/$ac_unique_file"; then 1242 srcdir=.. 1243 fi 1244else 1245 ac_srcdir_defaulted=no 1246fi 1247if test ! -r "$srcdir/$ac_unique_file"; then 1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1249 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1250fi 1251ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1252ac_abs_confdir=`( 1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1254 pwd)` 1255# When building in place, set srcdir=. 1256if test "$ac_abs_confdir" = "$ac_pwd"; then 1257 srcdir=. 1258fi 1259# Remove unnecessary trailing slashes from srcdir. 1260# Double slashes in file names in object file debugging info 1261# mess up M-x gdb in Emacs. 1262case $srcdir in 1263*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1264esac 1265for ac_var in $ac_precious_vars; do 1266 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1267 eval ac_env_${ac_var}_value=\$${ac_var} 1268 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1269 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1270done 1271 1272# 1273# Report the --help message. 1274# 1275if test "$ac_init_help" = "long"; then 1276 # Omit some internal or obsolete options to make the list less imposing. 1277 # This message is too long to be a string in the A/UX 3.1 sh. 1278 cat <<_ACEOF 1279\`configure' configures random128 0.10 to adapt to many kinds of systems. 1280 1281Usage: $0 [OPTION]... [VAR=VALUE]... 1282 1283To assign environment variables (e.g., CC, CFLAGS...), specify them as 1284VAR=VALUE. See below for descriptions of some of the useful variables. 1285 1286Defaults for the options are specified in brackets. 1287 1288Configuration: 1289 -h, --help display this help and exit 1290 --help=short display options specific to this package 1291 --help=recursive display the short help of all the included packages 1292 -V, --version display version information and exit 1293 -q, --quiet, --silent do not print \`checking ...' messages 1294 --cache-file=FILE cache test results in FILE [disabled] 1295 -C, --config-cache alias for \`--cache-file=config.cache' 1296 -n, --no-create do not create output files 1297 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1298 1299Installation directories: 1300 --prefix=PREFIX install architecture-independent files in PREFIX 1301 [$ac_default_prefix] 1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1303 [PREFIX] 1304 1305By default, \`make install' will install all the files in 1306\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1307an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1308for instance \`--prefix=\$HOME'. 1309 1310For better control, use the options below. 1311 1312Fine tuning of the installation directories: 1313 --bindir=DIR user executables [EPREFIX/bin] 1314 --sbindir=DIR system admin executables [EPREFIX/sbin] 1315 --libexecdir=DIR program executables [EPREFIX/libexec] 1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1319 --libdir=DIR object code libraries [EPREFIX/lib] 1320 --includedir=DIR C header files [PREFIX/include] 1321 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1322 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1323 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1324 --infodir=DIR info documentation [DATAROOTDIR/info] 1325 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1326 --mandir=DIR man documentation [DATAROOTDIR/man] 1327 --docdir=DIR documentation root [DATAROOTDIR/doc/random128] 1328 --htmldir=DIR html documentation [DOCDIR] 1329 --dvidir=DIR dvi documentation [DOCDIR] 1330 --pdfdir=DIR pdf documentation [DOCDIR] 1331 --psdir=DIR ps documentation [DOCDIR] 1332_ACEOF 1333 1334 cat <<\_ACEOF 1335 1336Program names: 1337 --program-prefix=PREFIX prepend PREFIX to installed program names 1338 --program-suffix=SUFFIX append SUFFIX to installed program names 1339 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1340 1341System types: 1342 --build=BUILD configure for building on BUILD [guessed] 1343 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1344_ACEOF 1345fi 1346 1347if test -n "$ac_init_help"; then 1348 case $ac_init_help in 1349 short | recursive ) echo "Configuration of random128 0.10:";; 1350 esac 1351 cat <<\_ACEOF 1352 1353Optional Features: 1354 --disable-option-checking ignore unrecognized --enable/--with options 1355 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1356 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1357 --disable-dependency-tracking speeds up one-time build 1358 --enable-dependency-tracking do not reject slow dependency extractors 1359 --enable-shared[=PKGS] build shared libraries [default=yes] 1360 --enable-static[=PKGS] build static libraries [default=yes] 1361 --enable-fast-install[=PKGS] 1362 optimize for fast installation [default=yes] 1363 --disable-libtool-lock avoid locking (might break parallel builds) 1364 1365Optional Packages: 1366 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1367 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1368 --with-pic try to use only PIC/non-PIC objects [default=use 1369 both] 1370 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1371 --with-random=/dev/urandom - location of the system random file generator 1372--without-random - there is no system random file generator 1373 1374Some influential environment variables: 1375 CC C compiler command 1376 CFLAGS C compiler flags 1377 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1378 nonstandard directory <lib dir> 1379 LIBS libraries to pass to the linker, e.g. -l<library> 1380 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1381 you have headers in a nonstandard directory <include dir> 1382 CPP C preprocessor 1383 1384Use these variables to override the choices made by `configure' or to help 1385it to find libraries and programs with nonstandard names/locations. 1386 1387Report bugs to <courier-users@lists.sourceforge.net>. 1388_ACEOF 1389ac_status=$? 1390fi 1391 1392if test "$ac_init_help" = "recursive"; then 1393 # If there are subdirs, report their specific --help. 1394 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1395 test -d "$ac_dir" || 1396 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1397 continue 1398 ac_builddir=. 1399 1400case "$ac_dir" in 1401.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1402*) 1403 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1404 # A ".." for each directory in $ac_dir_suffix. 1405 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1406 case $ac_top_builddir_sub in 1407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1409 esac ;; 1410esac 1411ac_abs_top_builddir=$ac_pwd 1412ac_abs_builddir=$ac_pwd$ac_dir_suffix 1413# for backward compatibility: 1414ac_top_builddir=$ac_top_build_prefix 1415 1416case $srcdir in 1417 .) # We are building in place. 1418 ac_srcdir=. 1419 ac_top_srcdir=$ac_top_builddir_sub 1420 ac_abs_top_srcdir=$ac_pwd ;; 1421 [\\/]* | ?:[\\/]* ) # Absolute name. 1422 ac_srcdir=$srcdir$ac_dir_suffix; 1423 ac_top_srcdir=$srcdir 1424 ac_abs_top_srcdir=$srcdir ;; 1425 *) # Relative name. 1426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1427 ac_top_srcdir=$ac_top_build_prefix$srcdir 1428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1429esac 1430ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1431 1432 cd "$ac_dir" || { ac_status=$?; continue; } 1433 # Check for guested configure. 1434 if test -f "$ac_srcdir/configure.gnu"; then 1435 echo && 1436 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1437 elif test -f "$ac_srcdir/configure"; then 1438 echo && 1439 $SHELL "$ac_srcdir/configure" --help=recursive 1440 else 1441 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1442 fi || ac_status=$? 1443 cd "$ac_pwd" || { ac_status=$?; break; } 1444 done 1445fi 1446 1447test -n "$ac_init_help" && exit $ac_status 1448if $ac_init_version; then 1449 cat <<\_ACEOF 1450random128 configure 0.10 1451generated by GNU Autoconf 2.66 1452 1453Copyright (C) 2010 Free Software Foundation, Inc. 1454This configure script is free software; the Free Software Foundation 1455gives unlimited permission to copy, distribute and modify it. 1456_ACEOF 1457 exit 1458fi 1459 1460## ------------------------ ## 1461## Autoconf initialization. ## 1462## ------------------------ ## 1463 1464# ac_fn_c_try_compile LINENO 1465# -------------------------- 1466# Try to compile conftest.$ac_ext, and return whether this succeeded. 1467ac_fn_c_try_compile () 1468{ 1469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1470 rm -f conftest.$ac_objext 1471 if { { ac_try="$ac_compile" 1472case "(($ac_try" in 1473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1474 *) ac_try_echo=$ac_try;; 1475esac 1476eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1477$as_echo "$ac_try_echo"; } >&5 1478 (eval "$ac_compile") 2>conftest.err 1479 ac_status=$? 1480 if test -s conftest.err; then 1481 grep -v '^ *+' conftest.err >conftest.er1 1482 cat conftest.er1 >&5 1483 mv -f conftest.er1 conftest.err 1484 fi 1485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1486 test $ac_status = 0; } && { 1487 test -z "$ac_c_werror_flag" || 1488 test ! -s conftest.err 1489 } && test -s conftest.$ac_objext; then : 1490 ac_retval=0 1491else 1492 $as_echo "$as_me: failed program was:" >&5 1493sed 's/^/| /' conftest.$ac_ext >&5 1494 1495 ac_retval=1 1496fi 1497 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1498 as_fn_set_status $ac_retval 1499 1500} # ac_fn_c_try_compile 1501 1502# ac_fn_c_try_cpp LINENO 1503# ---------------------- 1504# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1505ac_fn_c_try_cpp () 1506{ 1507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1508 if { { ac_try="$ac_cpp conftest.$ac_ext" 1509case "(($ac_try" in 1510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1511 *) ac_try_echo=$ac_try;; 1512esac 1513eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1514$as_echo "$ac_try_echo"; } >&5 1515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1516 ac_status=$? 1517 if test -s conftest.err; then 1518 grep -v '^ *+' conftest.err >conftest.er1 1519 cat conftest.er1 >&5 1520 mv -f conftest.er1 conftest.err 1521 fi 1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1523 test $ac_status = 0; } >/dev/null && { 1524 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1525 test ! -s conftest.err 1526 }; then : 1527 ac_retval=0 1528else 1529 $as_echo "$as_me: failed program was:" >&5 1530sed 's/^/| /' conftest.$ac_ext >&5 1531 1532 ac_retval=1 1533fi 1534 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1535 as_fn_set_status $ac_retval 1536 1537} # ac_fn_c_try_cpp 1538 1539# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1540# ------------------------------------------------------- 1541# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1542# the include files in INCLUDES and setting the cache variable VAR 1543# accordingly. 1544ac_fn_c_check_header_mongrel () 1545{ 1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1547 if eval "test \"\${$3+set}\"" = set; then : 1548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1549$as_echo_n "checking for $2... " >&6; } 1550if eval "test \"\${$3+set}\"" = set; then : 1551 $as_echo_n "(cached) " >&6 1552fi 1553eval ac_res=\$$3 1554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1555$as_echo "$ac_res" >&6; } 1556else 1557 # Is the header compilable? 1558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1559$as_echo_n "checking $2 usability... " >&6; } 1560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1561/* end confdefs.h. */ 1562$4 1563#include <$2> 1564_ACEOF 1565if ac_fn_c_try_compile "$LINENO"; then : 1566 ac_header_compiler=yes 1567else 1568 ac_header_compiler=no 1569fi 1570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1572$as_echo "$ac_header_compiler" >&6; } 1573 1574# Is the header present? 1575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1576$as_echo_n "checking $2 presence... " >&6; } 1577cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1578/* end confdefs.h. */ 1579#include <$2> 1580_ACEOF 1581if ac_fn_c_try_cpp "$LINENO"; then : 1582 ac_header_preproc=yes 1583else 1584 ac_header_preproc=no 1585fi 1586rm -f conftest.err conftest.$ac_ext 1587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1588$as_echo "$ac_header_preproc" >&6; } 1589 1590# So? What about this header? 1591case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1592 yes:no: ) 1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1594$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1596$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1597 ;; 1598 no:yes:* ) 1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1600$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1602$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1604$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1606$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1608$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1609( $as_echo "## -------------------------------------------------- ## 1610## Report this to courier-users@lists.sourceforge.net ## 1611## -------------------------------------------------- ##" 1612 ) | sed "s/^/$as_me: WARNING: /" >&2 1613 ;; 1614esac 1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1616$as_echo_n "checking for $2... " >&6; } 1617if eval "test \"\${$3+set}\"" = set; then : 1618 $as_echo_n "(cached) " >&6 1619else 1620 eval "$3=\$ac_header_compiler" 1621fi 1622eval ac_res=\$$3 1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1624$as_echo "$ac_res" >&6; } 1625fi 1626 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1627 1628} # ac_fn_c_check_header_mongrel 1629 1630# ac_fn_c_try_run LINENO 1631# ---------------------- 1632# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1633# that executables *can* be run. 1634ac_fn_c_try_run () 1635{ 1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1637 if { { ac_try="$ac_link" 1638case "(($ac_try" in 1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1640 *) ac_try_echo=$ac_try;; 1641esac 1642eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1643$as_echo "$ac_try_echo"; } >&5 1644 (eval "$ac_link") 2>&5 1645 ac_status=$? 1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1647 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1648 { { case "(($ac_try" in 1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1650 *) ac_try_echo=$ac_try;; 1651esac 1652eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1653$as_echo "$ac_try_echo"; } >&5 1654 (eval "$ac_try") 2>&5 1655 ac_status=$? 1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1657 test $ac_status = 0; }; }; then : 1658 ac_retval=0 1659else 1660 $as_echo "$as_me: program exited with status $ac_status" >&5 1661 $as_echo "$as_me: failed program was:" >&5 1662sed 's/^/| /' conftest.$ac_ext >&5 1663 1664 ac_retval=$ac_status 1665fi 1666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1667 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1668 as_fn_set_status $ac_retval 1669 1670} # ac_fn_c_try_run 1671 1672# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1673# ------------------------------------------------------- 1674# Tests whether HEADER exists and can be compiled using the include files in 1675# INCLUDES, setting the cache variable VAR accordingly. 1676ac_fn_c_check_header_compile () 1677{ 1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1680$as_echo_n "checking for $2... " >&6; } 1681if eval "test \"\${$3+set}\"" = set; then : 1682 $as_echo_n "(cached) " >&6 1683else 1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1685/* end confdefs.h. */ 1686$4 1687#include <$2> 1688_ACEOF 1689if ac_fn_c_try_compile "$LINENO"; then : 1690 eval "$3=yes" 1691else 1692 eval "$3=no" 1693fi 1694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1695fi 1696eval ac_res=\$$3 1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1698$as_echo "$ac_res" >&6; } 1699 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1700 1701} # ac_fn_c_check_header_compile 1702 1703# ac_fn_c_try_link LINENO 1704# ----------------------- 1705# Try to link conftest.$ac_ext, and return whether this succeeded. 1706ac_fn_c_try_link () 1707{ 1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1709 rm -f conftest.$ac_objext conftest$ac_exeext 1710 if { { ac_try="$ac_link" 1711case "(($ac_try" in 1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1713 *) ac_try_echo=$ac_try;; 1714esac 1715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1716$as_echo "$ac_try_echo"; } >&5 1717 (eval "$ac_link") 2>conftest.err 1718 ac_status=$? 1719 if test -s conftest.err; then 1720 grep -v '^ *+' conftest.err >conftest.er1 1721 cat conftest.er1 >&5 1722 mv -f conftest.er1 conftest.err 1723 fi 1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1725 test $ac_status = 0; } && { 1726 test -z "$ac_c_werror_flag" || 1727 test ! -s conftest.err 1728 } && test -s conftest$ac_exeext && { 1729 test "$cross_compiling" = yes || 1730 $as_test_x conftest$ac_exeext 1731 }; then : 1732 ac_retval=0 1733else 1734 $as_echo "$as_me: failed program was:" >&5 1735sed 's/^/| /' conftest.$ac_ext >&5 1736 1737 ac_retval=1 1738fi 1739 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1740 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1741 # interfere with the next link command; also delete a directory that is 1742 # left behind by Apple's compiler. We do this before executing the actions. 1743 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1745 as_fn_set_status $ac_retval 1746 1747} # ac_fn_c_try_link 1748 1749# ac_fn_c_check_func LINENO FUNC VAR 1750# ---------------------------------- 1751# Tests whether FUNC exists, setting the cache variable VAR accordingly 1752ac_fn_c_check_func () 1753{ 1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1756$as_echo_n "checking for $2... " >&6; } 1757if eval "test \"\${$3+set}\"" = set; then : 1758 $as_echo_n "(cached) " >&6 1759else 1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1761/* end confdefs.h. */ 1762/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1763 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1764#define $2 innocuous_$2 1765 1766/* System header to define __stub macros and hopefully few prototypes, 1767 which can conflict with char $2 (); below. 1768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1769 <limits.h> exists even on freestanding compilers. */ 1770 1771#ifdef __STDC__ 1772# include <limits.h> 1773#else 1774# include <assert.h> 1775#endif 1776 1777#undef $2 1778 1779/* Override any GCC internal prototype to avoid an error. 1780 Use char because int might match the return type of a GCC 1781 builtin and then its argument prototype would still apply. */ 1782#ifdef __cplusplus 1783extern "C" 1784#endif 1785char $2 (); 1786/* The GNU C library defines this for functions which it implements 1787 to always fail with ENOSYS. Some functions are actually named 1788 something starting with __ and the normal name is an alias. */ 1789#if defined __stub_$2 || defined __stub___$2 1790choke me 1791#endif 1792 1793int 1794main () 1795{ 1796return $2 (); 1797 ; 1798 return 0; 1799} 1800_ACEOF 1801if ac_fn_c_try_link "$LINENO"; then : 1802 eval "$3=yes" 1803else 1804 eval "$3=no" 1805fi 1806rm -f core conftest.err conftest.$ac_objext \ 1807 conftest$ac_exeext conftest.$ac_ext 1808fi 1809eval ac_res=\$$3 1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1811$as_echo "$ac_res" >&6; } 1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1813 1814} # ac_fn_c_check_func 1815 1816# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1817# ------------------------------------------- 1818# Tests whether TYPE exists after having included INCLUDES, setting cache 1819# variable VAR accordingly. 1820ac_fn_c_check_type () 1821{ 1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1824$as_echo_n "checking for $2... " >&6; } 1825if eval "test \"\${$3+set}\"" = set; then : 1826 $as_echo_n "(cached) " >&6 1827else 1828 eval "$3=no" 1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1830/* end confdefs.h. */ 1831$4 1832int 1833main () 1834{ 1835if (sizeof ($2)) 1836 return 0; 1837 ; 1838 return 0; 1839} 1840_ACEOF 1841if ac_fn_c_try_compile "$LINENO"; then : 1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1843/* end confdefs.h. */ 1844$4 1845int 1846main () 1847{ 1848if (sizeof (($2))) 1849 return 0; 1850 ; 1851 return 0; 1852} 1853_ACEOF 1854if ac_fn_c_try_compile "$LINENO"; then : 1855 1856else 1857 eval "$3=yes" 1858fi 1859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1860fi 1861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1862fi 1863eval ac_res=\$$3 1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1865$as_echo "$ac_res" >&6; } 1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1867 1868} # ac_fn_c_check_type 1869cat >config.log <<_ACEOF 1870This file contains any messages produced by compilers while 1871running configure, to aid debugging if configure makes a mistake. 1872 1873It was created by random128 $as_me 0.10, which was 1874generated by GNU Autoconf 2.66. Invocation command line was 1875 1876 $ $0 $@ 1877 1878_ACEOF 1879exec 5>>config.log 1880{ 1881cat <<_ASUNAME 1882## --------- ## 1883## Platform. ## 1884## --------- ## 1885 1886hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1887uname -m = `(uname -m) 2>/dev/null || echo unknown` 1888uname -r = `(uname -r) 2>/dev/null || echo unknown` 1889uname -s = `(uname -s) 2>/dev/null || echo unknown` 1890uname -v = `(uname -v) 2>/dev/null || echo unknown` 1891 1892/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1893/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1894 1895/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1896/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1897/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1898/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1899/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1900/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1901/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1902 1903_ASUNAME 1904 1905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1906for as_dir in $PATH 1907do 1908 IFS=$as_save_IFS 1909 test -z "$as_dir" && as_dir=. 1910 $as_echo "PATH: $as_dir" 1911 done 1912IFS=$as_save_IFS 1913 1914} >&5 1915 1916cat >&5 <<_ACEOF 1917 1918 1919## ----------- ## 1920## Core tests. ## 1921## ----------- ## 1922 1923_ACEOF 1924 1925 1926# Keep a trace of the command line. 1927# Strip out --no-create and --no-recursion so they do not pile up. 1928# Strip out --silent because we don't want to record it for future runs. 1929# Also quote any args containing shell meta-characters. 1930# Make two passes to allow for proper duplicate-argument suppression. 1931ac_configure_args= 1932ac_configure_args0= 1933ac_configure_args1= 1934ac_must_keep_next=false 1935for ac_pass in 1 2 1936do 1937 for ac_arg 1938 do 1939 case $ac_arg in 1940 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1941 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1942 | -silent | --silent | --silen | --sile | --sil) 1943 continue ;; 1944 *\'*) 1945 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1946 esac 1947 case $ac_pass in 1948 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1949 2) 1950 as_fn_append ac_configure_args1 " '$ac_arg'" 1951 if test $ac_must_keep_next = true; then 1952 ac_must_keep_next=false # Got value, back to normal. 1953 else 1954 case $ac_arg in 1955 *=* | --config-cache | -C | -disable-* | --disable-* \ 1956 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1957 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1958 | -with-* | --with-* | -without-* | --without-* | --x) 1959 case "$ac_configure_args0 " in 1960 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1961 esac 1962 ;; 1963 -* ) ac_must_keep_next=true ;; 1964 esac 1965 fi 1966 as_fn_append ac_configure_args " '$ac_arg'" 1967 ;; 1968 esac 1969 done 1970done 1971{ ac_configure_args0=; unset ac_configure_args0;} 1972{ ac_configure_args1=; unset ac_configure_args1;} 1973 1974# When interrupted or exit'd, cleanup temporary files, and complete 1975# config.log. We remove comments because anyway the quotes in there 1976# would cause problems or look ugly. 1977# WARNING: Use '\'' to represent an apostrophe within the trap. 1978# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1979trap 'exit_status=$? 1980 # Save into config.log some information that might help in debugging. 1981 { 1982 echo 1983 1984 $as_echo "## ---------------- ## 1985## Cache variables. ## 1986## ---------------- ##" 1987 echo 1988 # The following way of writing the cache mishandles newlines in values, 1989( 1990 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1991 eval ac_val=\$$ac_var 1992 case $ac_val in #( 1993 *${as_nl}*) 1994 case $ac_var in #( 1995 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1996$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1997 esac 1998 case $ac_var in #( 1999 _ | IFS | as_nl) ;; #( 2000 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2001 *) { eval $ac_var=; unset $ac_var;} ;; 2002 esac ;; 2003 esac 2004 done 2005 (set) 2>&1 | 2006 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2007 *${as_nl}ac_space=\ *) 2008 sed -n \ 2009 "s/'\''/'\''\\\\'\'''\''/g; 2010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2011 ;; #( 2012 *) 2013 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2014 ;; 2015 esac | 2016 sort 2017) 2018 echo 2019 2020 $as_echo "## ----------------- ## 2021## Output variables. ## 2022## ----------------- ##" 2023 echo 2024 for ac_var in $ac_subst_vars 2025 do 2026 eval ac_val=\$$ac_var 2027 case $ac_val in 2028 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2029 esac 2030 $as_echo "$ac_var='\''$ac_val'\''" 2031 done | sort 2032 echo 2033 2034 if test -n "$ac_subst_files"; then 2035 $as_echo "## ------------------- ## 2036## File substitutions. ## 2037## ------------------- ##" 2038 echo 2039 for ac_var in $ac_subst_files 2040 do 2041 eval ac_val=\$$ac_var 2042 case $ac_val in 2043 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2044 esac 2045 $as_echo "$ac_var='\''$ac_val'\''" 2046 done | sort 2047 echo 2048 fi 2049 2050 if test -s confdefs.h; then 2051 $as_echo "## ----------- ## 2052## confdefs.h. ## 2053## ----------- ##" 2054 echo 2055 cat confdefs.h 2056 echo 2057 fi 2058 test "$ac_signal" != 0 && 2059 $as_echo "$as_me: caught signal $ac_signal" 2060 $as_echo "$as_me: exit $exit_status" 2061 } >&5 2062 rm -f core *.core core.conftest.* && 2063 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2064 exit $exit_status 2065' 0 2066for ac_signal in 1 2 13 15; do 2067 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2068done 2069ac_signal=0 2070 2071# confdefs.h avoids OS command line length limits that DEFS can exceed. 2072rm -f -r conftest* confdefs.h 2073 2074$as_echo "/* confdefs.h */" > confdefs.h 2075 2076# Predefined preprocessor variables. 2077 2078cat >>confdefs.h <<_ACEOF 2079#define PACKAGE_NAME "$PACKAGE_NAME" 2080_ACEOF 2081 2082cat >>confdefs.h <<_ACEOF 2083#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2084_ACEOF 2085 2086cat >>confdefs.h <<_ACEOF 2087#define PACKAGE_VERSION "$PACKAGE_VERSION" 2088_ACEOF 2089 2090cat >>confdefs.h <<_ACEOF 2091#define PACKAGE_STRING "$PACKAGE_STRING" 2092_ACEOF 2093 2094cat >>confdefs.h <<_ACEOF 2095#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2096_ACEOF 2097 2098cat >>confdefs.h <<_ACEOF 2099#define PACKAGE_URL "$PACKAGE_URL" 2100_ACEOF 2101 2102 2103# Let the site file select an alternate cache file if it wants to. 2104# Prefer an explicitly selected file to automatically selected ones. 2105ac_site_file1=NONE 2106ac_site_file2=NONE 2107if test -n "$CONFIG_SITE"; then 2108 # We do not want a PATH search for config.site. 2109 case $CONFIG_SITE in #(( 2110 -*) ac_site_file1=./$CONFIG_SITE;; 2111 */*) ac_site_file1=$CONFIG_SITE;; 2112 *) ac_site_file1=./$CONFIG_SITE;; 2113 esac 2114elif test "x$prefix" != xNONE; then 2115 ac_site_file1=$prefix/share/config.site 2116 ac_site_file2=$prefix/etc/config.site 2117else 2118 ac_site_file1=$ac_default_prefix/share/config.site 2119 ac_site_file2=$ac_default_prefix/etc/config.site 2120fi 2121for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2122do 2123 test "x$ac_site_file" = xNONE && continue 2124 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2125 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2126$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2127 sed 's/^/| /' "$ac_site_file" >&5 2128 . "$ac_site_file" \ 2129 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2130$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2131as_fn_error $? "failed to load site script $ac_site_file 2132See \`config.log' for more details" "$LINENO" 5; } 2133 fi 2134done 2135 2136if test -r "$cache_file"; then 2137 # Some versions of bash will fail to source /dev/null (special files 2138 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2139 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2140 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2141$as_echo "$as_me: loading cache $cache_file" >&6;} 2142 case $cache_file in 2143 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2144 *) . "./$cache_file";; 2145 esac 2146 fi 2147else 2148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2149$as_echo "$as_me: creating cache $cache_file" >&6;} 2150 >$cache_file 2151fi 2152 2153# Check that the precious variables saved in the cache have kept the same 2154# value. 2155ac_cache_corrupted=false 2156for ac_var in $ac_precious_vars; do 2157 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2158 eval ac_new_set=\$ac_env_${ac_var}_set 2159 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2160 eval ac_new_val=\$ac_env_${ac_var}_value 2161 case $ac_old_set,$ac_new_set in 2162 set,) 2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2164$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2165 ac_cache_corrupted=: ;; 2166 ,set) 2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2168$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2169 ac_cache_corrupted=: ;; 2170 ,);; 2171 *) 2172 if test "x$ac_old_val" != "x$ac_new_val"; then 2173 # differences in whitespace do not lead to failure. 2174 ac_old_val_w=`echo x $ac_old_val` 2175 ac_new_val_w=`echo x $ac_new_val` 2176 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2178$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2179 ac_cache_corrupted=: 2180 else 2181 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2182$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2183 eval $ac_var=\$ac_old_val 2184 fi 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2186$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2188$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2189 fi;; 2190 esac 2191 # Pass precious variables to config.status. 2192 if test "$ac_new_set" = set; then 2193 case $ac_new_val in 2194 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2195 *) ac_arg=$ac_var=$ac_new_val ;; 2196 esac 2197 case " $ac_configure_args " in 2198 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2199 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2200 esac 2201 fi 2202done 2203if $ac_cache_corrupted; then 2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2207$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2208 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2209fi 2210## -------------------- ## 2211## Main body of script. ## 2212## -------------------- ## 2213 2214ac_ext=c 2215ac_cpp='$CPP $CPPFLAGS' 2216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2218ac_compiler_gnu=$ac_cv_c_compiler_gnu 2219 2220 2221 2222>confdefs.h # Kill PACKAGE_ macros 2223 2224 2225am__api_version='1.11' 2226 2227ac_aux_dir= 2228for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2229 if test -f "$ac_dir/install-sh"; then 2230 ac_aux_dir=$ac_dir 2231 ac_install_sh="$ac_aux_dir/install-sh -c" 2232 break 2233 elif test -f "$ac_dir/install.sh"; then 2234 ac_aux_dir=$ac_dir 2235 ac_install_sh="$ac_aux_dir/install.sh -c" 2236 break 2237 elif test -f "$ac_dir/shtool"; then 2238 ac_aux_dir=$ac_dir 2239 ac_install_sh="$ac_aux_dir/shtool install -c" 2240 break 2241 fi 2242done 2243if test -z "$ac_aux_dir"; then 2244 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2245fi 2246 2247# These three variables are undocumented and unsupported, 2248# and are intended to be withdrawn in a future Autoconf release. 2249# They can cause serious problems if a builder's source tree is in a directory 2250# whose full name contains unusual characters. 2251ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2252ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2253ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2254 2255 2256# Find a good install program. We prefer a C program (faster), 2257# so one script is as good as another. But avoid the broken or 2258# incompatible versions: 2259# SysV /etc/install, /usr/sbin/install 2260# SunOS /usr/etc/install 2261# IRIX /sbin/install 2262# AIX /bin/install 2263# AmigaOS /C/install, which installs bootblocks on floppy discs 2264# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2265# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2266# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2267# OS/2's system install, which has a completely different semantic 2268# ./install, which can be erroneously created by make from ./install.sh. 2269# Reject install programs that cannot install multiple files. 2270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2271$as_echo_n "checking for a BSD-compatible install... " >&6; } 2272if test -z "$INSTALL"; then 2273if test "${ac_cv_path_install+set}" = set; then : 2274 $as_echo_n "(cached) " >&6 2275else 2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2277for as_dir in $PATH 2278do 2279 IFS=$as_save_IFS 2280 test -z "$as_dir" && as_dir=. 2281 # Account for people who put trailing slashes in PATH elements. 2282case $as_dir/ in #(( 2283 ./ | .// | /[cC]/* | \ 2284 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2285 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2286 /usr/ucb/* ) ;; 2287 *) 2288 # OSF1 and SCO ODT 3.0 have their own names for install. 2289 # Don't use installbsd from OSF since it installs stuff as root 2290 # by default. 2291 for ac_prog in ginstall scoinst install; do 2292 for ac_exec_ext in '' $ac_executable_extensions; do 2293 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2294 if test $ac_prog = install && 2295 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2296 # AIX install. It has an incompatible calling convention. 2297 : 2298 elif test $ac_prog = install && 2299 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2300 # program-specific install script used by HP pwplus--don't use. 2301 : 2302 else 2303 rm -rf conftest.one conftest.two conftest.dir 2304 echo one > conftest.one 2305 echo two > conftest.two 2306 mkdir conftest.dir 2307 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2308 test -s conftest.one && test -s conftest.two && 2309 test -s conftest.dir/conftest.one && 2310 test -s conftest.dir/conftest.two 2311 then 2312 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2313 break 3 2314 fi 2315 fi 2316 fi 2317 done 2318 done 2319 ;; 2320esac 2321 2322 done 2323IFS=$as_save_IFS 2324 2325rm -rf conftest.one conftest.two conftest.dir 2326 2327fi 2328 if test "${ac_cv_path_install+set}" = set; then 2329 INSTALL=$ac_cv_path_install 2330 else 2331 # As a last resort, use the slow shell script. Don't cache a 2332 # value for INSTALL within a source directory, because that will 2333 # break other packages using the cache if that directory is 2334 # removed, or if the value is a relative name. 2335 INSTALL=$ac_install_sh 2336 fi 2337fi 2338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2339$as_echo "$INSTALL" >&6; } 2340 2341# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2342# It thinks the first close brace ends the variable substitution. 2343test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2344 2345test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2346 2347test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2348 2349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2350$as_echo_n "checking whether build environment is sane... " >&6; } 2351# Just in case 2352sleep 1 2353echo timestamp > conftest.file 2354# Reject unsafe characters in $srcdir or the absolute working directory 2355# name. Accept space and tab only in the latter. 2356am_lf=' 2357' 2358case `pwd` in 2359 *[\\\"\#\$\&\'\`$am_lf]*) 2360 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2361esac 2362case $srcdir in 2363 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2364 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2365esac 2366 2367# Do `set' in a subshell so we don't clobber the current shell's 2368# arguments. Must try -L first in case configure is actually a 2369# symlink; some systems play weird games with the mod time of symlinks 2370# (eg FreeBSD returns the mod time of the symlink's containing 2371# directory). 2372if ( 2373 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2374 if test "$*" = "X"; then 2375 # -L didn't work. 2376 set X `ls -t "$srcdir/configure" conftest.file` 2377 fi 2378 rm -f conftest.file 2379 if test "$*" != "X $srcdir/configure conftest.file" \ 2380 && test "$*" != "X conftest.file $srcdir/configure"; then 2381 2382 # If neither matched, then we have a broken ls. This can happen 2383 # if, for instance, CONFIG_SHELL is bash and it inherits a 2384 # broken ls alias from the environment. This has actually 2385 # happened. Such a system could not be considered "sane". 2386 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2387alias in your environment" "$LINENO" 5 2388 fi 2389 2390 test "$2" = conftest.file 2391 ) 2392then 2393 # Ok. 2394 : 2395else 2396 as_fn_error $? "newly created file is older than distributed files! 2397Check your system clock" "$LINENO" 5 2398fi 2399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2400$as_echo "yes" >&6; } 2401test "$program_prefix" != NONE && 2402 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2403# Use a double $ so make ignores it. 2404test "$program_suffix" != NONE && 2405 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2406# Double any \ or $. 2407# By default was `s,x,x', remove it if useless. 2408ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2409program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2410 2411# expand $ac_aux_dir to an absolute path 2412am_aux_dir=`cd $ac_aux_dir && pwd` 2413 2414if test x"${MISSING+set}" != xset; then 2415 case $am_aux_dir in 2416 *\ * | *\ *) 2417 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2418 *) 2419 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2420 esac 2421fi 2422# Use eval to expand $SHELL 2423if eval "$MISSING --run true"; then 2424 am_missing_run="$MISSING --run " 2425else 2426 am_missing_run= 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2428$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2429fi 2430 2431if test x"${install_sh}" != xset; then 2432 case $am_aux_dir in 2433 *\ * | *\ *) 2434 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2435 *) 2436 install_sh="\${SHELL} $am_aux_dir/install-sh" 2437 esac 2438fi 2439 2440# Installed binaries are usually stripped using `strip' when the user 2441# run `make install-strip'. However `strip' might not be the right 2442# tool to use in cross-compilation environments, therefore Automake 2443# will honor the `STRIP' environment variable to overrule this program. 2444if test "$cross_compiling" != no; then 2445 if test -n "$ac_tool_prefix"; then 2446 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2447set dummy ${ac_tool_prefix}strip; ac_word=$2 2448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2449$as_echo_n "checking for $ac_word... " >&6; } 2450if test "${ac_cv_prog_STRIP+set}" = set; then : 2451 $as_echo_n "(cached) " >&6 2452else 2453 if test -n "$STRIP"; then 2454 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2455else 2456as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2457for as_dir in $PATH 2458do 2459 IFS=$as_save_IFS 2460 test -z "$as_dir" && as_dir=. 2461 for ac_exec_ext in '' $ac_executable_extensions; do 2462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2463 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2465 break 2 2466 fi 2467done 2468 done 2469IFS=$as_save_IFS 2470 2471fi 2472fi 2473STRIP=$ac_cv_prog_STRIP 2474if test -n "$STRIP"; then 2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2476$as_echo "$STRIP" >&6; } 2477else 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2479$as_echo "no" >&6; } 2480fi 2481 2482 2483fi 2484if test -z "$ac_cv_prog_STRIP"; then 2485 ac_ct_STRIP=$STRIP 2486 # Extract the first word of "strip", so it can be a program name with args. 2487set dummy strip; ac_word=$2 2488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2489$as_echo_n "checking for $ac_word... " >&6; } 2490if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2491 $as_echo_n "(cached) " >&6 2492else 2493 if test -n "$ac_ct_STRIP"; then 2494 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2495else 2496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2497for as_dir in $PATH 2498do 2499 IFS=$as_save_IFS 2500 test -z "$as_dir" && as_dir=. 2501 for ac_exec_ext in '' $ac_executable_extensions; do 2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2503 ac_cv_prog_ac_ct_STRIP="strip" 2504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2505 break 2 2506 fi 2507done 2508 done 2509IFS=$as_save_IFS 2510 2511fi 2512fi 2513ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2514if test -n "$ac_ct_STRIP"; then 2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2516$as_echo "$ac_ct_STRIP" >&6; } 2517else 2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2519$as_echo "no" >&6; } 2520fi 2521 2522 if test "x$ac_ct_STRIP" = x; then 2523 STRIP=":" 2524 else 2525 case $cross_compiling:$ac_tool_warned in 2526yes:) 2527{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2528$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2529ac_tool_warned=yes ;; 2530esac 2531 STRIP=$ac_ct_STRIP 2532 fi 2533else 2534 STRIP="$ac_cv_prog_STRIP" 2535fi 2536 2537fi 2538INSTALL_STRIP_PROGRAM="install -s -m 555 -s" 2539 2540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2541$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2542if test -z "$MKDIR_P"; then 2543 if test "${ac_cv_path_mkdir+set}" = set; then : 2544 $as_echo_n "(cached) " >&6 2545else 2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2547for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2548do 2549 IFS=$as_save_IFS 2550 test -z "$as_dir" && as_dir=. 2551 for ac_prog in mkdir gmkdir; do 2552 for ac_exec_ext in '' $ac_executable_extensions; do 2553 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2554 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2555 'mkdir (GNU coreutils) '* | \ 2556 'mkdir (coreutils) '* | \ 2557 'mkdir (fileutils) '4.1*) 2558 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2559 break 3;; 2560 esac 2561 done 2562 done 2563 done 2564IFS=$as_save_IFS 2565 2566fi 2567 2568 test -d ./--version && rmdir ./--version 2569 if test "${ac_cv_path_mkdir+set}" = set; then 2570 MKDIR_P="$ac_cv_path_mkdir -p" 2571 else 2572 # As a last resort, use the slow shell script. Don't cache a 2573 # value for MKDIR_P within a source directory, because that will 2574 # break other packages using the cache if that directory is 2575 # removed, or if the value is a relative name. 2576 MKDIR_P="$ac_install_sh -d" 2577 fi 2578fi 2579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2580$as_echo "$MKDIR_P" >&6; } 2581 2582mkdir_p="$MKDIR_P" 2583case $mkdir_p in 2584 [\\/$]* | ?:[\\/]*) ;; 2585 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2586esac 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 2630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2631$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2632set x ${MAKE-make} 2633ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2634if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 2635 $as_echo_n "(cached) " >&6 2636else 2637 cat >conftest.make <<\_ACEOF 2638SHELL = /bin/sh 2639all: 2640 @echo '@@@%%%=$(MAKE)=@@@%%%' 2641_ACEOF 2642# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2643case `${MAKE-make} -f conftest.make 2>/dev/null` in 2644 *@@@%%%=?*=@@@%%%*) 2645 eval ac_cv_prog_make_${ac_make}_set=yes;; 2646 *) 2647 eval ac_cv_prog_make_${ac_make}_set=no;; 2648esac 2649rm -f conftest.make 2650fi 2651if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2653$as_echo "yes" >&6; } 2654 SET_MAKE= 2655else 2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2657$as_echo "no" >&6; } 2658 SET_MAKE="MAKE=${MAKE-make}" 2659fi 2660 2661rm -rf .tst 2>/dev/null 2662mkdir .tst 2>/dev/null 2663if test -d .tst; then 2664 am__leading_dot=. 2665else 2666 am__leading_dot=_ 2667fi 2668rmdir .tst 2>/dev/null 2669 2670if test "`cd $srcdir && pwd`" != "`pwd`"; then 2671 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2672 # is not polluted with repeated "-I." 2673 am__isrc=' -I$(srcdir)' 2674 # test to see if srcdir already configured 2675 if test -f $srcdir/config.status; then 2676 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2677 fi 2678fi 2679 2680# test whether we have cygpath 2681if test -z "$CYGPATH_W"; then 2682 if (cygpath --version) >/dev/null 2>/dev/null; then 2683 CYGPATH_W='cygpath -w' 2684 else 2685 CYGPATH_W=echo 2686 fi 2687fi 2688 2689 2690# Define the identity of the package. 2691 PACKAGE='random128' 2692 VERSION='0.10' 2693 2694 2695# Some tools Automake needs. 2696 2697ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2698 2699 2700AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2701 2702 2703AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2704 2705 2706AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2707 2708 2709MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2710 2711# We need awk for the "check" target. The system "awk" is bad on 2712# some platforms. 2713# Always define AMTAR for backward compatibility. 2714 2715AMTAR=${AMTAR-"${am_missing_run}tar"} 2716 2717am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2718 2719 2720 2721 2722 2723LPATH="$PATH:/usr/local/bin" 2724 2725 2726ac_config_headers="$ac_config_headers config.h" 2727 2728DEPDIR="${am__leading_dot}deps" 2729 2730ac_config_commands="$ac_config_commands depfiles" 2731 2732 2733am_make=${MAKE-make} 2734cat > confinc << 'END' 2735am__doit: 2736 @echo this is the am__doit target 2737.PHONY: am__doit 2738END 2739# If we don't find an include directive, just comment out the code. 2740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2741$as_echo_n "checking for style of include used by $am_make... " >&6; } 2742am__include="#" 2743am__quote= 2744_am_result=none 2745# First try GNU make style include. 2746echo "include confinc" > confmf 2747# Ignore all kinds of additional output from `make'. 2748case `$am_make -s -f confmf 2> /dev/null` in #( 2749*the\ am__doit\ target*) 2750 am__include=include 2751 am__quote= 2752 _am_result=GNU 2753 ;; 2754esac 2755# Now try BSD make style include. 2756if test "$am__include" = "#"; then 2757 echo '.include "confinc"' > confmf 2758 case `$am_make -s -f confmf 2> /dev/null` in #( 2759 *the\ am__doit\ target*) 2760 am__include=.include 2761 am__quote="\"" 2762 _am_result=BSD 2763 ;; 2764 esac 2765fi 2766 2767 2768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2769$as_echo "$_am_result" >&6; } 2770rm -f confinc confmf 2771 2772# Check whether --enable-dependency-tracking was given. 2773if test "${enable_dependency_tracking+set}" = set; then : 2774 enableval=$enable_dependency_tracking; 2775fi 2776 2777if test "x$enable_dependency_tracking" != xno; then 2778 am_depcomp="$ac_aux_dir/depcomp" 2779 AMDEPBACKSLASH='\' 2780fi 2781 if test "x$enable_dependency_tracking" != xno; then 2782 AMDEP_TRUE= 2783 AMDEP_FALSE='#' 2784else 2785 AMDEP_TRUE='#' 2786 AMDEP_FALSE= 2787fi 2788 2789 2790ac_ext=c 2791ac_cpp='$CPP $CPPFLAGS' 2792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2794ac_compiler_gnu=$ac_cv_c_compiler_gnu 2795if test -n "$ac_tool_prefix"; then 2796 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2797set dummy ${ac_tool_prefix}gcc; ac_word=$2 2798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2799$as_echo_n "checking for $ac_word... " >&6; } 2800if test "${ac_cv_prog_CC+set}" = set; then : 2801 $as_echo_n "(cached) " >&6 2802else 2803 if test -n "$CC"; then 2804 ac_cv_prog_CC="$CC" # Let the user override the test. 2805else 2806as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2807for as_dir in $PATH 2808do 2809 IFS=$as_save_IFS 2810 test -z "$as_dir" && as_dir=. 2811 for ac_exec_ext in '' $ac_executable_extensions; do 2812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2813 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2815 break 2 2816 fi 2817done 2818 done 2819IFS=$as_save_IFS 2820 2821fi 2822fi 2823CC=$ac_cv_prog_CC 2824if test -n "$CC"; then 2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2826$as_echo "$CC" >&6; } 2827else 2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2829$as_echo "no" >&6; } 2830fi 2831 2832 2833fi 2834if test -z "$ac_cv_prog_CC"; then 2835 ac_ct_CC=$CC 2836 # Extract the first word of "gcc", so it can be a program name with args. 2837set dummy gcc; ac_word=$2 2838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2839$as_echo_n "checking for $ac_word... " >&6; } 2840if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2841 $as_echo_n "(cached) " >&6 2842else 2843 if test -n "$ac_ct_CC"; then 2844 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2845else 2846as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2847for as_dir in $PATH 2848do 2849 IFS=$as_save_IFS 2850 test -z "$as_dir" && as_dir=. 2851 for ac_exec_ext in '' $ac_executable_extensions; do 2852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2853 ac_cv_prog_ac_ct_CC="gcc" 2854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2855 break 2 2856 fi 2857done 2858 done 2859IFS=$as_save_IFS 2860 2861fi 2862fi 2863ac_ct_CC=$ac_cv_prog_ac_ct_CC 2864if test -n "$ac_ct_CC"; then 2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2866$as_echo "$ac_ct_CC" >&6; } 2867else 2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2869$as_echo "no" >&6; } 2870fi 2871 2872 if test "x$ac_ct_CC" = x; then 2873 CC="" 2874 else 2875 case $cross_compiling:$ac_tool_warned in 2876yes:) 2877{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2878$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2879ac_tool_warned=yes ;; 2880esac 2881 CC=$ac_ct_CC 2882 fi 2883else 2884 CC="$ac_cv_prog_CC" 2885fi 2886 2887if test -z "$CC"; then 2888 if test -n "$ac_tool_prefix"; then 2889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2890set dummy ${ac_tool_prefix}cc; ac_word=$2 2891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2892$as_echo_n "checking for $ac_word... " >&6; } 2893if test "${ac_cv_prog_CC+set}" = set; then : 2894 $as_echo_n "(cached) " >&6 2895else 2896 if test -n "$CC"; then 2897 ac_cv_prog_CC="$CC" # Let the user override the test. 2898else 2899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2900for as_dir in $PATH 2901do 2902 IFS=$as_save_IFS 2903 test -z "$as_dir" && as_dir=. 2904 for ac_exec_ext in '' $ac_executable_extensions; do 2905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2906 ac_cv_prog_CC="${ac_tool_prefix}cc" 2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2908 break 2 2909 fi 2910done 2911 done 2912IFS=$as_save_IFS 2913 2914fi 2915fi 2916CC=$ac_cv_prog_CC 2917if test -n "$CC"; then 2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2919$as_echo "$CC" >&6; } 2920else 2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2922$as_echo "no" >&6; } 2923fi 2924 2925 2926 fi 2927fi 2928if test -z "$CC"; then 2929 # Extract the first word of "cc", so it can be a program name with args. 2930set dummy cc; ac_word=$2 2931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2932$as_echo_n "checking for $ac_word... " >&6; } 2933if test "${ac_cv_prog_CC+set}" = set; then : 2934 $as_echo_n "(cached) " >&6 2935else 2936 if test -n "$CC"; then 2937 ac_cv_prog_CC="$CC" # Let the user override the test. 2938else 2939 ac_prog_rejected=no 2940as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2941for as_dir in $PATH 2942do 2943 IFS=$as_save_IFS 2944 test -z "$as_dir" && as_dir=. 2945 for ac_exec_ext in '' $ac_executable_extensions; do 2946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2948 ac_prog_rejected=yes 2949 continue 2950 fi 2951 ac_cv_prog_CC="cc" 2952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2953 break 2 2954 fi 2955done 2956 done 2957IFS=$as_save_IFS 2958 2959if test $ac_prog_rejected = yes; then 2960 # We found a bogon in the path, so make sure we never use it. 2961 set dummy $ac_cv_prog_CC 2962 shift 2963 if test $# != 0; then 2964 # We chose a different compiler from the bogus one. 2965 # However, it has the same basename, so the bogon will be chosen 2966 # first if we set CC to just the basename; use the full file name. 2967 shift 2968 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2969 fi 2970fi 2971fi 2972fi 2973CC=$ac_cv_prog_CC 2974if test -n "$CC"; then 2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2976$as_echo "$CC" >&6; } 2977else 2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2979$as_echo "no" >&6; } 2980fi 2981 2982 2983fi 2984if test -z "$CC"; then 2985 if test -n "$ac_tool_prefix"; then 2986 for ac_prog in cl.exe 2987 do 2988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2989set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2991$as_echo_n "checking for $ac_word... " >&6; } 2992if test "${ac_cv_prog_CC+set}" = set; then : 2993 $as_echo_n "(cached) " >&6 2994else 2995 if test -n "$CC"; then 2996 ac_cv_prog_CC="$CC" # Let the user override the test. 2997else 2998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2999for as_dir in $PATH 3000do 3001 IFS=$as_save_IFS 3002 test -z "$as_dir" && as_dir=. 3003 for ac_exec_ext in '' $ac_executable_extensions; do 3004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3005 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3007 break 2 3008 fi 3009done 3010 done 3011IFS=$as_save_IFS 3012 3013fi 3014fi 3015CC=$ac_cv_prog_CC 3016if test -n "$CC"; then 3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3018$as_echo "$CC" >&6; } 3019else 3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3021$as_echo "no" >&6; } 3022fi 3023 3024 3025 test -n "$CC" && break 3026 done 3027fi 3028if test -z "$CC"; then 3029 ac_ct_CC=$CC 3030 for ac_prog in cl.exe 3031do 3032 # Extract the first word of "$ac_prog", so it can be a program name with args. 3033set dummy $ac_prog; ac_word=$2 3034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3035$as_echo_n "checking for $ac_word... " >&6; } 3036if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3037 $as_echo_n "(cached) " >&6 3038else 3039 if test -n "$ac_ct_CC"; then 3040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3041else 3042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3043for as_dir in $PATH 3044do 3045 IFS=$as_save_IFS 3046 test -z "$as_dir" && as_dir=. 3047 for ac_exec_ext in '' $ac_executable_extensions; do 3048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3049 ac_cv_prog_ac_ct_CC="$ac_prog" 3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3051 break 2 3052 fi 3053done 3054 done 3055IFS=$as_save_IFS 3056 3057fi 3058fi 3059ac_ct_CC=$ac_cv_prog_ac_ct_CC 3060if test -n "$ac_ct_CC"; then 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3062$as_echo "$ac_ct_CC" >&6; } 3063else 3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3065$as_echo "no" >&6; } 3066fi 3067 3068 3069 test -n "$ac_ct_CC" && break 3070done 3071 3072 if test "x$ac_ct_CC" = x; then 3073 CC="" 3074 else 3075 case $cross_compiling:$ac_tool_warned in 3076yes:) 3077{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3078$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3079ac_tool_warned=yes ;; 3080esac 3081 CC=$ac_ct_CC 3082 fi 3083fi 3084 3085fi 3086 3087 3088test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3089$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3090as_fn_error $? "no acceptable C compiler found in \$PATH 3091See \`config.log' for more details" "$LINENO" 5; } 3092 3093# Provide some information about the compiler. 3094$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3095set X $ac_compile 3096ac_compiler=$2 3097for ac_option in --version -v -V -qversion; do 3098 { { ac_try="$ac_compiler $ac_option >&5" 3099case "(($ac_try" in 3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3101 *) ac_try_echo=$ac_try;; 3102esac 3103eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3104$as_echo "$ac_try_echo"; } >&5 3105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3106 ac_status=$? 3107 if test -s conftest.err; then 3108 sed '10a\ 3109... rest of stderr output deleted ... 3110 10q' conftest.err >conftest.er1 3111 cat conftest.er1 >&5 3112 fi 3113 rm -f conftest.er1 conftest.err 3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3115 test $ac_status = 0; } 3116done 3117 3118cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3119/* end confdefs.h. */ 3120 3121int 3122main () 3123{ 3124 3125 ; 3126 return 0; 3127} 3128_ACEOF 3129ac_clean_files_save=$ac_clean_files 3130ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3131# Try to create an executable without -o first, disregard a.out. 3132# It will help us diagnose broken compilers, and finding out an intuition 3133# of exeext. 3134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3135$as_echo_n "checking whether the C compiler works... " >&6; } 3136ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3137 3138# The possible output files: 3139ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3140 3141ac_rmfiles= 3142for ac_file in $ac_files 3143do 3144 case $ac_file in 3145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3146 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3147 esac 3148done 3149rm -f $ac_rmfiles 3150 3151if { { ac_try="$ac_link_default" 3152case "(($ac_try" in 3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3154 *) ac_try_echo=$ac_try;; 3155esac 3156eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3157$as_echo "$ac_try_echo"; } >&5 3158 (eval "$ac_link_default") 2>&5 3159 ac_status=$? 3160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3161 test $ac_status = 0; }; then : 3162 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3163# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3164# in a Makefile. We should not override ac_cv_exeext if it was cached, 3165# so that the user can short-circuit this test for compilers unknown to 3166# Autoconf. 3167for ac_file in $ac_files '' 3168do 3169 test -f "$ac_file" || continue 3170 case $ac_file in 3171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3172 ;; 3173 [ab].out ) 3174 # We found the default executable, but exeext='' is most 3175 # certainly right. 3176 break;; 3177 *.* ) 3178 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3179 then :; else 3180 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3181 fi 3182 # We set ac_cv_exeext here because the later test for it is not 3183 # safe: cross compilers may not add the suffix if given an `-o' 3184 # argument, so we may need to know it at that point already. 3185 # Even if this section looks crufty: it has the advantage of 3186 # actually working. 3187 break;; 3188 * ) 3189 break;; 3190 esac 3191done 3192test "$ac_cv_exeext" = no && ac_cv_exeext= 3193 3194else 3195 ac_file='' 3196fi 3197if test -z "$ac_file"; then : 3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3199$as_echo "no" >&6; } 3200$as_echo "$as_me: failed program was:" >&5 3201sed 's/^/| /' conftest.$ac_ext >&5 3202 3203{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3205as_fn_error 77 "C compiler cannot create executables 3206See \`config.log' for more details" "$LINENO" 5; } 3207else 3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3209$as_echo "yes" >&6; } 3210fi 3211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3212$as_echo_n "checking for C compiler default output file name... " >&6; } 3213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3214$as_echo "$ac_file" >&6; } 3215ac_exeext=$ac_cv_exeext 3216 3217rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3218ac_clean_files=$ac_clean_files_save 3219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3220$as_echo_n "checking for suffix of executables... " >&6; } 3221if { { ac_try="$ac_link" 3222case "(($ac_try" in 3223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3224 *) ac_try_echo=$ac_try;; 3225esac 3226eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3227$as_echo "$ac_try_echo"; } >&5 3228 (eval "$ac_link") 2>&5 3229 ac_status=$? 3230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3231 test $ac_status = 0; }; then : 3232 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3233# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3234# work properly (i.e., refer to `conftest.exe'), while it won't with 3235# `rm'. 3236for ac_file in conftest.exe conftest conftest.*; do 3237 test -f "$ac_file" || continue 3238 case $ac_file in 3239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3240 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3241 break;; 3242 * ) break;; 3243 esac 3244done 3245else 3246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3247$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3248as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3249See \`config.log' for more details" "$LINENO" 5; } 3250fi 3251rm -f conftest conftest$ac_cv_exeext 3252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3253$as_echo "$ac_cv_exeext" >&6; } 3254 3255rm -f conftest.$ac_ext 3256EXEEXT=$ac_cv_exeext 3257ac_exeext=$EXEEXT 3258cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3259/* end confdefs.h. */ 3260#include <stdio.h> 3261int 3262main () 3263{ 3264FILE *f = fopen ("conftest.out", "w"); 3265 return ferror (f) || fclose (f) != 0; 3266 3267 ; 3268 return 0; 3269} 3270_ACEOF 3271ac_clean_files="$ac_clean_files conftest.out" 3272# Check that the compiler produces executables we can run. If not, either 3273# the compiler is broken, or we cross compile. 3274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3275$as_echo_n "checking whether we are cross compiling... " >&6; } 3276if test "$cross_compiling" != yes; then 3277 { { ac_try="$ac_link" 3278case "(($ac_try" in 3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3280 *) ac_try_echo=$ac_try;; 3281esac 3282eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3283$as_echo "$ac_try_echo"; } >&5 3284 (eval "$ac_link") 2>&5 3285 ac_status=$? 3286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3287 test $ac_status = 0; } 3288 if { ac_try='./conftest$ac_cv_exeext' 3289 { { case "(($ac_try" in 3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3291 *) ac_try_echo=$ac_try;; 3292esac 3293eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3294$as_echo "$ac_try_echo"; } >&5 3295 (eval "$ac_try") 2>&5 3296 ac_status=$? 3297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3298 test $ac_status = 0; }; }; then 3299 cross_compiling=no 3300 else 3301 if test "$cross_compiling" = maybe; then 3302 cross_compiling=yes 3303 else 3304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3305$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3306as_fn_error $? "cannot run C compiled programs. 3307If you meant to cross compile, use \`--host'. 3308See \`config.log' for more details" "$LINENO" 5; } 3309 fi 3310 fi 3311fi 3312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3313$as_echo "$cross_compiling" >&6; } 3314 3315rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3316ac_clean_files=$ac_clean_files_save 3317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3318$as_echo_n "checking for suffix of object files... " >&6; } 3319if test "${ac_cv_objext+set}" = set; then : 3320 $as_echo_n "(cached) " >&6 3321else 3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3323/* end confdefs.h. */ 3324 3325int 3326main () 3327{ 3328 3329 ; 3330 return 0; 3331} 3332_ACEOF 3333rm -f conftest.o conftest.obj 3334if { { ac_try="$ac_compile" 3335case "(($ac_try" in 3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3337 *) ac_try_echo=$ac_try;; 3338esac 3339eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3340$as_echo "$ac_try_echo"; } >&5 3341 (eval "$ac_compile") 2>&5 3342 ac_status=$? 3343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3344 test $ac_status = 0; }; then : 3345 for ac_file in conftest.o conftest.obj conftest.*; do 3346 test -f "$ac_file" || continue; 3347 case $ac_file in 3348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3349 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3350 break;; 3351 esac 3352done 3353else 3354 $as_echo "$as_me: failed program was:" >&5 3355sed 's/^/| /' conftest.$ac_ext >&5 3356 3357{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3358$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3359as_fn_error $? "cannot compute suffix of object files: cannot compile 3360See \`config.log' for more details" "$LINENO" 5; } 3361fi 3362rm -f conftest.$ac_cv_objext conftest.$ac_ext 3363fi 3364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3365$as_echo "$ac_cv_objext" >&6; } 3366OBJEXT=$ac_cv_objext 3367ac_objext=$OBJEXT 3368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3369$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3370if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3371 $as_echo_n "(cached) " >&6 3372else 3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3374/* end confdefs.h. */ 3375 3376int 3377main () 3378{ 3379#ifndef __GNUC__ 3380 choke me 3381#endif 3382 3383 ; 3384 return 0; 3385} 3386_ACEOF 3387if ac_fn_c_try_compile "$LINENO"; then : 3388 ac_compiler_gnu=yes 3389else 3390 ac_compiler_gnu=no 3391fi 3392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3393ac_cv_c_compiler_gnu=$ac_compiler_gnu 3394 3395fi 3396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3397$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3398if test $ac_compiler_gnu = yes; then 3399 GCC=yes 3400else 3401 GCC= 3402fi 3403ac_test_CFLAGS=${CFLAGS+set} 3404ac_save_CFLAGS=$CFLAGS 3405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3406$as_echo_n "checking whether $CC accepts -g... " >&6; } 3407if test "${ac_cv_prog_cc_g+set}" = set; then : 3408 $as_echo_n "(cached) " >&6 3409else 3410 ac_save_c_werror_flag=$ac_c_werror_flag 3411 ac_c_werror_flag=yes 3412 ac_cv_prog_cc_g=no 3413 CFLAGS="-g" 3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3415/* end confdefs.h. */ 3416 3417int 3418main () 3419{ 3420 3421 ; 3422 return 0; 3423} 3424_ACEOF 3425if ac_fn_c_try_compile "$LINENO"; then : 3426 ac_cv_prog_cc_g=yes 3427else 3428 CFLAGS="" 3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3430/* end confdefs.h. */ 3431 3432int 3433main () 3434{ 3435 3436 ; 3437 return 0; 3438} 3439_ACEOF 3440if ac_fn_c_try_compile "$LINENO"; then : 3441 3442else 3443 ac_c_werror_flag=$ac_save_c_werror_flag 3444 CFLAGS="-g" 3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3446/* end confdefs.h. */ 3447 3448int 3449main () 3450{ 3451 3452 ; 3453 return 0; 3454} 3455_ACEOF 3456if ac_fn_c_try_compile "$LINENO"; then : 3457 ac_cv_prog_cc_g=yes 3458fi 3459rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3460fi 3461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3462fi 3463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3464 ac_c_werror_flag=$ac_save_c_werror_flag 3465fi 3466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3467$as_echo "$ac_cv_prog_cc_g" >&6; } 3468if test "$ac_test_CFLAGS" = set; then 3469 CFLAGS=$ac_save_CFLAGS 3470elif test $ac_cv_prog_cc_g = yes; then 3471 if test "$GCC" = yes; then 3472 CFLAGS="-g -O2" 3473 else 3474 CFLAGS="-g" 3475 fi 3476else 3477 if test "$GCC" = yes; then 3478 CFLAGS="-O2" 3479 else 3480 CFLAGS= 3481 fi 3482fi 3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3484$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3485if test "${ac_cv_prog_cc_c89+set}" = set; then : 3486 $as_echo_n "(cached) " >&6 3487else 3488 ac_cv_prog_cc_c89=no 3489ac_save_CC=$CC 3490cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3491/* end confdefs.h. */ 3492#include <stdarg.h> 3493#include <stdio.h> 3494#include <sys/types.h> 3495#include <sys/stat.h> 3496/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3497struct buf { int x; }; 3498FILE * (*rcsopen) (struct buf *, struct stat *, int); 3499static char *e (p, i) 3500 char **p; 3501 int i; 3502{ 3503 return p[i]; 3504} 3505static char *f (char * (*g) (char **, int), char **p, ...) 3506{ 3507 char *s; 3508 va_list v; 3509 va_start (v,p); 3510 s = g (p, va_arg (v,int)); 3511 va_end (v); 3512 return s; 3513} 3514 3515/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3516 function prototypes and stuff, but not '\xHH' hex character constants. 3517 These don't provoke an error unfortunately, instead are silently treated 3518 as 'x'. The following induces an error, until -std is added to get 3519 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3520 array size at least. It's necessary to write '\x00'==0 to get something 3521 that's true only with -std. */ 3522int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3523 3524/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3525 inside strings and character constants. */ 3526#define FOO(x) 'x' 3527int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3528 3529int test (int i, double x); 3530struct s1 {int (*f) (int a);}; 3531struct s2 {int (*f) (double a);}; 3532int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3533int argc; 3534char **argv; 3535int 3536main () 3537{ 3538return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3539 ; 3540 return 0; 3541} 3542_ACEOF 3543for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3544 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3545do 3546 CC="$ac_save_CC $ac_arg" 3547 if ac_fn_c_try_compile "$LINENO"; then : 3548 ac_cv_prog_cc_c89=$ac_arg 3549fi 3550rm -f core conftest.err conftest.$ac_objext 3551 test "x$ac_cv_prog_cc_c89" != "xno" && break 3552done 3553rm -f conftest.$ac_ext 3554CC=$ac_save_CC 3555 3556fi 3557# AC_CACHE_VAL 3558case "x$ac_cv_prog_cc_c89" in 3559 x) 3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3561$as_echo "none needed" >&6; } ;; 3562 xno) 3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3564$as_echo "unsupported" >&6; } ;; 3565 *) 3566 CC="$CC $ac_cv_prog_cc_c89" 3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3568$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3569esac 3570if test "x$ac_cv_prog_cc_c89" != xno; then : 3571 3572fi 3573 3574ac_ext=c 3575ac_cpp='$CPP $CPPFLAGS' 3576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3578ac_compiler_gnu=$ac_cv_c_compiler_gnu 3579 3580depcc="$CC" am_compiler_list= 3581 3582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3583$as_echo_n "checking dependency style of $depcc... " >&6; } 3584if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3585 $as_echo_n "(cached) " >&6 3586else 3587 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3588 # We make a subdir and do the tests there. Otherwise we can end up 3589 # making bogus files that we don't know about and never remove. For 3590 # instance it was reported that on HP-UX the gcc test will end up 3591 # making a dummy file named `D' -- because `-MD' means `put the output 3592 # in D'. 3593 mkdir conftest.dir 3594 # Copy depcomp to subdir because otherwise we won't find it if we're 3595 # using a relative directory. 3596 cp "$am_depcomp" conftest.dir 3597 cd conftest.dir 3598 # We will build objects and dependencies in a subdirectory because 3599 # it helps to detect inapplicable dependency modes. For instance 3600 # both Tru64's cc and ICC support -MD to output dependencies as a 3601 # side effect of compilation, but ICC will put the dependencies in 3602 # the current directory while Tru64 will put them in the object 3603 # directory. 3604 mkdir sub 3605 3606 am_cv_CC_dependencies_compiler_type=none 3607 if test "$am_compiler_list" = ""; then 3608 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3609 fi 3610 am__universal=false 3611 case " $depcc " in #( 3612 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3613 esac 3614 3615 for depmode in $am_compiler_list; do 3616 # Setup a source with many dependencies, because some compilers 3617 # like to wrap large dependency lists on column 80 (with \), and 3618 # we should not choose a depcomp mode which is confused by this. 3619 # 3620 # We need to recreate these files for each test, as the compiler may 3621 # overwrite some of them when testing with obscure command lines. 3622 # This happens at least with the AIX C compiler. 3623 : > sub/conftest.c 3624 for i in 1 2 3 4 5 6; do 3625 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3626 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3627 # Solaris 8's {/usr,}/bin/sh. 3628 touch sub/conftst$i.h 3629 done 3630 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3631 3632 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3633 # mode. It turns out that the SunPro C++ compiler does not properly 3634 # handle `-M -o', and we need to detect this. Also, some Intel 3635 # versions had trouble with output in subdirs 3636 am__obj=sub/conftest.${OBJEXT-o} 3637 am__minus_obj="-o $am__obj" 3638 case $depmode in 3639 gcc) 3640 # This depmode causes a compiler race in universal mode. 3641 test "$am__universal" = false || continue 3642 ;; 3643 nosideeffect) 3644 # after this tag, mechanisms are not by side-effect, so they'll 3645 # only be used when explicitly requested 3646 if test "x$enable_dependency_tracking" = xyes; then 3647 continue 3648 else 3649 break 3650 fi 3651 ;; 3652 msvisualcpp | msvcmsys) 3653 # This compiler won't grok `-c -o', but also, the minuso test has 3654 # not run yet. These depmodes are late enough in the game, and 3655 # so weak that their functioning should not be impacted. 3656 am__obj=conftest.${OBJEXT-o} 3657 am__minus_obj= 3658 ;; 3659 none) break ;; 3660 esac 3661 if depmode=$depmode \ 3662 source=sub/conftest.c object=$am__obj \ 3663 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3664 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3665 >/dev/null 2>conftest.err && 3666 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3667 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3668 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3669 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3670 # icc doesn't choke on unknown options, it will just issue warnings 3671 # or remarks (even with -Werror). So we grep stderr for any message 3672 # that says an option was ignored or not supported. 3673 # When given -MP, icc 7.0 and 7.1 complain thusly: 3674 # icc: Command line warning: ignoring option '-M'; no argument required 3675 # The diagnosis changed in icc 8.0: 3676 # icc: Command line remark: option '-MP' not supported 3677 if (grep 'ignoring option' conftest.err || 3678 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3679 am_cv_CC_dependencies_compiler_type=$depmode 3680 break 3681 fi 3682 fi 3683 done 3684 3685 cd .. 3686 rm -rf conftest.dir 3687else 3688 am_cv_CC_dependencies_compiler_type=none 3689fi 3690 3691fi 3692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3693$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3694CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3695 3696 if 3697 test "x$enable_dependency_tracking" != xno \ 3698 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3699 am__fastdepCC_TRUE= 3700 am__fastdepCC_FALSE='#' 3701else 3702 am__fastdepCC_TRUE='#' 3703 am__fastdepCC_FALSE= 3704fi 3705 3706 3707 3708ac_ext=c 3709ac_cpp='$CPP $CPPFLAGS' 3710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3712ac_compiler_gnu=$ac_cv_c_compiler_gnu 3713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3714$as_echo_n "checking how to run the C preprocessor... " >&6; } 3715# On Suns, sometimes $CPP names a directory. 3716if test -n "$CPP" && test -d "$CPP"; then 3717 CPP= 3718fi 3719if test -z "$CPP"; then 3720 if test "${ac_cv_prog_CPP+set}" = set; then : 3721 $as_echo_n "(cached) " >&6 3722else 3723 # Double quotes because CPP needs to be expanded 3724 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3725 do 3726 ac_preproc_ok=false 3727for ac_c_preproc_warn_flag in '' yes 3728do 3729 # Use a header file that comes with gcc, so configuring glibc 3730 # with a fresh cross-compiler works. 3731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3732 # <limits.h> exists even on freestanding compilers. 3733 # On the NeXT, cc -E runs the code through the compiler's parser, 3734 # not just through cpp. "Syntax error" is here to catch this case. 3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3736/* end confdefs.h. */ 3737#ifdef __STDC__ 3738# include <limits.h> 3739#else 3740# include <assert.h> 3741#endif 3742 Syntax error 3743_ACEOF 3744if ac_fn_c_try_cpp "$LINENO"; then : 3745 3746else 3747 # Broken: fails on valid input. 3748continue 3749fi 3750rm -f conftest.err conftest.$ac_ext 3751 3752 # OK, works on sane cases. Now check whether nonexistent headers 3753 # can be detected and how. 3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3755/* end confdefs.h. */ 3756#include <ac_nonexistent.h> 3757_ACEOF 3758if ac_fn_c_try_cpp "$LINENO"; then : 3759 # Broken: success on invalid input. 3760continue 3761else 3762 # Passes both tests. 3763ac_preproc_ok=: 3764break 3765fi 3766rm -f conftest.err conftest.$ac_ext 3767 3768done 3769# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3770rm -f conftest.err conftest.$ac_ext 3771if $ac_preproc_ok; then : 3772 break 3773fi 3774 3775 done 3776 ac_cv_prog_CPP=$CPP 3777 3778fi 3779 CPP=$ac_cv_prog_CPP 3780else 3781 ac_cv_prog_CPP=$CPP 3782fi 3783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3784$as_echo "$CPP" >&6; } 3785ac_preproc_ok=false 3786for ac_c_preproc_warn_flag in '' yes 3787do 3788 # Use a header file that comes with gcc, so configuring glibc 3789 # with a fresh cross-compiler works. 3790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3791 # <limits.h> exists even on freestanding compilers. 3792 # On the NeXT, cc -E runs the code through the compiler's parser, 3793 # not just through cpp. "Syntax error" is here to catch this case. 3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3795/* end confdefs.h. */ 3796#ifdef __STDC__ 3797# include <limits.h> 3798#else 3799# include <assert.h> 3800#endif 3801 Syntax error 3802_ACEOF 3803if ac_fn_c_try_cpp "$LINENO"; then : 3804 3805else 3806 # Broken: fails on valid input. 3807continue 3808fi 3809rm -f conftest.err conftest.$ac_ext 3810 3811 # OK, works on sane cases. Now check whether nonexistent headers 3812 # can be detected and how. 3813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3814/* end confdefs.h. */ 3815#include <ac_nonexistent.h> 3816_ACEOF 3817if ac_fn_c_try_cpp "$LINENO"; then : 3818 # Broken: success on invalid input. 3819continue 3820else 3821 # Passes both tests. 3822ac_preproc_ok=: 3823break 3824fi 3825rm -f conftest.err conftest.$ac_ext 3826 3827done 3828# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3829rm -f conftest.err conftest.$ac_ext 3830if $ac_preproc_ok; then : 3831 3832else 3833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3834$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3835as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3836See \`config.log' for more details" "$LINENO" 5; } 3837fi 3838 3839ac_ext=c 3840ac_cpp='$CPP $CPPFLAGS' 3841ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3842ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3843ac_compiler_gnu=$ac_cv_c_compiler_gnu 3844 3845 3846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3847$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3848if test "${ac_cv_path_GREP+set}" = set; then : 3849 $as_echo_n "(cached) " >&6 3850else 3851 if test -z "$GREP"; then 3852 ac_path_GREP_found=false 3853 # Loop through the user's path and test for each of PROGNAME-LIST 3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3855for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3856do 3857 IFS=$as_save_IFS 3858 test -z "$as_dir" && as_dir=. 3859 for ac_prog in grep ggrep; do 3860 for ac_exec_ext in '' $ac_executable_extensions; do 3861 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3862 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3863# Check for GNU ac_path_GREP and select it if it is found. 3864 # Check for GNU $ac_path_GREP 3865case `"$ac_path_GREP" --version 2>&1` in 3866*GNU*) 3867 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3868*) 3869 ac_count=0 3870 $as_echo_n 0123456789 >"conftest.in" 3871 while : 3872 do 3873 cat "conftest.in" "conftest.in" >"conftest.tmp" 3874 mv "conftest.tmp" "conftest.in" 3875 cp "conftest.in" "conftest.nl" 3876 $as_echo 'GREP' >> "conftest.nl" 3877 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3878 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3879 as_fn_arith $ac_count + 1 && ac_count=$as_val 3880 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3881 # Best one so far, save it but keep looking for a better one 3882 ac_cv_path_GREP="$ac_path_GREP" 3883 ac_path_GREP_max=$ac_count 3884 fi 3885 # 10*(2^10) chars as input seems more than enough 3886 test $ac_count -gt 10 && break 3887 done 3888 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3889esac 3890 3891 $ac_path_GREP_found && break 3 3892 done 3893 done 3894 done 3895IFS=$as_save_IFS 3896 if test -z "$ac_cv_path_GREP"; then 3897 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3898 fi 3899else 3900 ac_cv_path_GREP=$GREP 3901fi 3902 3903fi 3904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3905$as_echo "$ac_cv_path_GREP" >&6; } 3906 GREP="$ac_cv_path_GREP" 3907 3908 3909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3910$as_echo_n "checking for egrep... " >&6; } 3911if test "${ac_cv_path_EGREP+set}" = set; then : 3912 $as_echo_n "(cached) " >&6 3913else 3914 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3915 then ac_cv_path_EGREP="$GREP -E" 3916 else 3917 if test -z "$EGREP"; then 3918 ac_path_EGREP_found=false 3919 # Loop through the user's path and test for each of PROGNAME-LIST 3920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3921for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3922do 3923 IFS=$as_save_IFS 3924 test -z "$as_dir" && as_dir=. 3925 for ac_prog in egrep; do 3926 for ac_exec_ext in '' $ac_executable_extensions; do 3927 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3928 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3929# Check for GNU ac_path_EGREP and select it if it is found. 3930 # Check for GNU $ac_path_EGREP 3931case `"$ac_path_EGREP" --version 2>&1` in 3932*GNU*) 3933 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3934*) 3935 ac_count=0 3936 $as_echo_n 0123456789 >"conftest.in" 3937 while : 3938 do 3939 cat "conftest.in" "conftest.in" >"conftest.tmp" 3940 mv "conftest.tmp" "conftest.in" 3941 cp "conftest.in" "conftest.nl" 3942 $as_echo 'EGREP' >> "conftest.nl" 3943 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3944 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3945 as_fn_arith $ac_count + 1 && ac_count=$as_val 3946 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3947 # Best one so far, save it but keep looking for a better one 3948 ac_cv_path_EGREP="$ac_path_EGREP" 3949 ac_path_EGREP_max=$ac_count 3950 fi 3951 # 10*(2^10) chars as input seems more than enough 3952 test $ac_count -gt 10 && break 3953 done 3954 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3955esac 3956 3957 $ac_path_EGREP_found && break 3 3958 done 3959 done 3960 done 3961IFS=$as_save_IFS 3962 if test -z "$ac_cv_path_EGREP"; then 3963 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3964 fi 3965else 3966 ac_cv_path_EGREP=$EGREP 3967fi 3968 3969 fi 3970fi 3971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3972$as_echo "$ac_cv_path_EGREP" >&6; } 3973 EGREP="$ac_cv_path_EGREP" 3974 3975 3976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3977$as_echo_n "checking for ANSI C header files... " >&6; } 3978if test "${ac_cv_header_stdc+set}" = set; then : 3979 $as_echo_n "(cached) " >&6 3980else 3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3982/* end confdefs.h. */ 3983#include <stdlib.h> 3984#include <stdarg.h> 3985#include <string.h> 3986#include <float.h> 3987 3988int 3989main () 3990{ 3991 3992 ; 3993 return 0; 3994} 3995_ACEOF 3996if ac_fn_c_try_compile "$LINENO"; then : 3997 ac_cv_header_stdc=yes 3998else 3999 ac_cv_header_stdc=no 4000fi 4001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4002 4003if test $ac_cv_header_stdc = yes; then 4004 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4006/* end confdefs.h. */ 4007#include <string.h> 4008 4009_ACEOF 4010if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4011 $EGREP "memchr" >/dev/null 2>&1; then : 4012 4013else 4014 ac_cv_header_stdc=no 4015fi 4016rm -f conftest* 4017 4018fi 4019 4020if test $ac_cv_header_stdc = yes; then 4021 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4023/* end confdefs.h. */ 4024#include <stdlib.h> 4025 4026_ACEOF 4027if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4028 $EGREP "free" >/dev/null 2>&1; then : 4029 4030else 4031 ac_cv_header_stdc=no 4032fi 4033rm -f conftest* 4034 4035fi 4036 4037if test $ac_cv_header_stdc = yes; then 4038 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4039 if test "$cross_compiling" = yes; then : 4040 : 4041else 4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4043/* end confdefs.h. */ 4044#include <ctype.h> 4045#include <stdlib.h> 4046#if ((' ' & 0x0FF) == 0x020) 4047# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4048# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4049#else 4050# define ISLOWER(c) \ 4051 (('a' <= (c) && (c) <= 'i') \ 4052 || ('j' <= (c) && (c) <= 'r') \ 4053 || ('s' <= (c) && (c) <= 'z')) 4054# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4055#endif 4056 4057#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4058int 4059main () 4060{ 4061 int i; 4062 for (i = 0; i < 256; i++) 4063 if (XOR (islower (i), ISLOWER (i)) 4064 || toupper (i) != TOUPPER (i)) 4065 return 2; 4066 return 0; 4067} 4068_ACEOF 4069if ac_fn_c_try_run "$LINENO"; then : 4070 4071else 4072 ac_cv_header_stdc=no 4073fi 4074rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4075 conftest.$ac_objext conftest.beam conftest.$ac_ext 4076fi 4077 4078fi 4079fi 4080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4081$as_echo "$ac_cv_header_stdc" >&6; } 4082if test $ac_cv_header_stdc = yes; then 4083 4084$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4085 4086fi 4087 4088# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4089for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4090 inttypes.h stdint.h unistd.h 4091do : 4092 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4093ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4094" 4095if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4096 cat >>confdefs.h <<_ACEOF 4097#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4098_ACEOF 4099 4100fi 4101 4102done 4103 4104 4105 4106 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4107if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4108 MINIX=yes 4109else 4110 MINIX= 4111fi 4112 4113 4114 if test "$MINIX" = yes; then 4115 4116$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4117 4118 4119$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4120 4121 4122$as_echo "#define _MINIX 1" >>confdefs.h 4123 4124 fi 4125 4126 4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4128$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4129if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4130 $as_echo_n "(cached) " >&6 4131else 4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4133/* end confdefs.h. */ 4134 4135# define __EXTENSIONS__ 1 4136 $ac_includes_default 4137int 4138main () 4139{ 4140 4141 ; 4142 return 0; 4143} 4144_ACEOF 4145if ac_fn_c_try_compile "$LINENO"; then : 4146 ac_cv_safe_to_define___extensions__=yes 4147else 4148 ac_cv_safe_to_define___extensions__=no 4149fi 4150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4151fi 4152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4153$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4154 test $ac_cv_safe_to_define___extensions__ = yes && 4155 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4156 4157 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4158 4159 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4160 4161 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4162 4163 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4164 4165 4166 4167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4168$as_echo_n "checking whether ln -s works... " >&6; } 4169LN_S=$as_ln_s 4170if test "$LN_S" = "ln -s"; then 4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4172$as_echo "yes" >&6; } 4173else 4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4175$as_echo "no, using $LN_S" >&6; } 4176fi 4177 4178ac_ext=c 4179ac_cpp='$CPP $CPPFLAGS' 4180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4182ac_compiler_gnu=$ac_cv_c_compiler_gnu 4183if test -n "$ac_tool_prefix"; then 4184 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4185set dummy ${ac_tool_prefix}gcc; ac_word=$2 4186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4187$as_echo_n "checking for $ac_word... " >&6; } 4188if test "${ac_cv_prog_CC+set}" = set; then : 4189 $as_echo_n "(cached) " >&6 4190else 4191 if test -n "$CC"; then 4192 ac_cv_prog_CC="$CC" # Let the user override the test. 4193else 4194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4195for as_dir in $PATH 4196do 4197 IFS=$as_save_IFS 4198 test -z "$as_dir" && as_dir=. 4199 for ac_exec_ext in '' $ac_executable_extensions; do 4200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4201 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4203 break 2 4204 fi 4205done 4206 done 4207IFS=$as_save_IFS 4208 4209fi 4210fi 4211CC=$ac_cv_prog_CC 4212if test -n "$CC"; then 4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4214$as_echo "$CC" >&6; } 4215else 4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4217$as_echo "no" >&6; } 4218fi 4219 4220 4221fi 4222if test -z "$ac_cv_prog_CC"; then 4223 ac_ct_CC=$CC 4224 # Extract the first word of "gcc", so it can be a program name with args. 4225set dummy gcc; ac_word=$2 4226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4227$as_echo_n "checking for $ac_word... " >&6; } 4228if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4229 $as_echo_n "(cached) " >&6 4230else 4231 if test -n "$ac_ct_CC"; then 4232 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4233else 4234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4235for as_dir in $PATH 4236do 4237 IFS=$as_save_IFS 4238 test -z "$as_dir" && as_dir=. 4239 for ac_exec_ext in '' $ac_executable_extensions; do 4240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4241 ac_cv_prog_ac_ct_CC="gcc" 4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4243 break 2 4244 fi 4245done 4246 done 4247IFS=$as_save_IFS 4248 4249fi 4250fi 4251ac_ct_CC=$ac_cv_prog_ac_ct_CC 4252if test -n "$ac_ct_CC"; then 4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4254$as_echo "$ac_ct_CC" >&6; } 4255else 4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4257$as_echo "no" >&6; } 4258fi 4259 4260 if test "x$ac_ct_CC" = x; then 4261 CC="" 4262 else 4263 case $cross_compiling:$ac_tool_warned in 4264yes:) 4265{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4266$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4267ac_tool_warned=yes ;; 4268esac 4269 CC=$ac_ct_CC 4270 fi 4271else 4272 CC="$ac_cv_prog_CC" 4273fi 4274 4275if test -z "$CC"; then 4276 if test -n "$ac_tool_prefix"; then 4277 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4278set dummy ${ac_tool_prefix}cc; ac_word=$2 4279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4280$as_echo_n "checking for $ac_word... " >&6; } 4281if test "${ac_cv_prog_CC+set}" = set; then : 4282 $as_echo_n "(cached) " >&6 4283else 4284 if test -n "$CC"; then 4285 ac_cv_prog_CC="$CC" # Let the user override the test. 4286else 4287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4288for as_dir in $PATH 4289do 4290 IFS=$as_save_IFS 4291 test -z "$as_dir" && as_dir=. 4292 for ac_exec_ext in '' $ac_executable_extensions; do 4293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4294 ac_cv_prog_CC="${ac_tool_prefix}cc" 4295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4296 break 2 4297 fi 4298done 4299 done 4300IFS=$as_save_IFS 4301 4302fi 4303fi 4304CC=$ac_cv_prog_CC 4305if test -n "$CC"; then 4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4307$as_echo "$CC" >&6; } 4308else 4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4310$as_echo "no" >&6; } 4311fi 4312 4313 4314 fi 4315fi 4316if test -z "$CC"; then 4317 # Extract the first word of "cc", so it can be a program name with args. 4318set dummy cc; ac_word=$2 4319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4320$as_echo_n "checking for $ac_word... " >&6; } 4321if test "${ac_cv_prog_CC+set}" = set; then : 4322 $as_echo_n "(cached) " >&6 4323else 4324 if test -n "$CC"; then 4325 ac_cv_prog_CC="$CC" # Let the user override the test. 4326else 4327 ac_prog_rejected=no 4328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4329for as_dir in $PATH 4330do 4331 IFS=$as_save_IFS 4332 test -z "$as_dir" && as_dir=. 4333 for ac_exec_ext in '' $ac_executable_extensions; do 4334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4335 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4336 ac_prog_rejected=yes 4337 continue 4338 fi 4339 ac_cv_prog_CC="cc" 4340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4341 break 2 4342 fi 4343done 4344 done 4345IFS=$as_save_IFS 4346 4347if test $ac_prog_rejected = yes; then 4348 # We found a bogon in the path, so make sure we never use it. 4349 set dummy $ac_cv_prog_CC 4350 shift 4351 if test $# != 0; then 4352 # We chose a different compiler from the bogus one. 4353 # However, it has the same basename, so the bogon will be chosen 4354 # first if we set CC to just the basename; use the full file name. 4355 shift 4356 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4357 fi 4358fi 4359fi 4360fi 4361CC=$ac_cv_prog_CC 4362if test -n "$CC"; then 4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4364$as_echo "$CC" >&6; } 4365else 4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4367$as_echo "no" >&6; } 4368fi 4369 4370 4371fi 4372if test -z "$CC"; then 4373 if test -n "$ac_tool_prefix"; then 4374 for ac_prog in cl.exe 4375 do 4376 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4377set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4379$as_echo_n "checking for $ac_word... " >&6; } 4380if test "${ac_cv_prog_CC+set}" = set; then : 4381 $as_echo_n "(cached) " >&6 4382else 4383 if test -n "$CC"; then 4384 ac_cv_prog_CC="$CC" # Let the user override the test. 4385else 4386as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4387for as_dir in $PATH 4388do 4389 IFS=$as_save_IFS 4390 test -z "$as_dir" && as_dir=. 4391 for ac_exec_ext in '' $ac_executable_extensions; do 4392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4393 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4395 break 2 4396 fi 4397done 4398 done 4399IFS=$as_save_IFS 4400 4401fi 4402fi 4403CC=$ac_cv_prog_CC 4404if test -n "$CC"; then 4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4406$as_echo "$CC" >&6; } 4407else 4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4409$as_echo "no" >&6; } 4410fi 4411 4412 4413 test -n "$CC" && break 4414 done 4415fi 4416if test -z "$CC"; then 4417 ac_ct_CC=$CC 4418 for ac_prog in cl.exe 4419do 4420 # Extract the first word of "$ac_prog", so it can be a program name with args. 4421set dummy $ac_prog; ac_word=$2 4422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4423$as_echo_n "checking for $ac_word... " >&6; } 4424if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4425 $as_echo_n "(cached) " >&6 4426else 4427 if test -n "$ac_ct_CC"; then 4428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4429else 4430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4431for as_dir in $PATH 4432do 4433 IFS=$as_save_IFS 4434 test -z "$as_dir" && as_dir=. 4435 for ac_exec_ext in '' $ac_executable_extensions; do 4436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4437 ac_cv_prog_ac_ct_CC="$ac_prog" 4438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4439 break 2 4440 fi 4441done 4442 done 4443IFS=$as_save_IFS 4444 4445fi 4446fi 4447ac_ct_CC=$ac_cv_prog_ac_ct_CC 4448if test -n "$ac_ct_CC"; then 4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4450$as_echo "$ac_ct_CC" >&6; } 4451else 4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4453$as_echo "no" >&6; } 4454fi 4455 4456 4457 test -n "$ac_ct_CC" && break 4458done 4459 4460 if test "x$ac_ct_CC" = x; then 4461 CC="" 4462 else 4463 case $cross_compiling:$ac_tool_warned in 4464yes:) 4465{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4466$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4467ac_tool_warned=yes ;; 4468esac 4469 CC=$ac_ct_CC 4470 fi 4471fi 4472 4473fi 4474 4475 4476test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4477$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4478as_fn_error $? "no acceptable C compiler found in \$PATH 4479See \`config.log' for more details" "$LINENO" 5; } 4480 4481# Provide some information about the compiler. 4482$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4483set X $ac_compile 4484ac_compiler=$2 4485for ac_option in --version -v -V -qversion; do 4486 { { ac_try="$ac_compiler $ac_option >&5" 4487case "(($ac_try" in 4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4489 *) ac_try_echo=$ac_try;; 4490esac 4491eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4492$as_echo "$ac_try_echo"; } >&5 4493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4494 ac_status=$? 4495 if test -s conftest.err; then 4496 sed '10a\ 4497... rest of stderr output deleted ... 4498 10q' conftest.err >conftest.er1 4499 cat conftest.er1 >&5 4500 fi 4501 rm -f conftest.er1 conftest.err 4502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4503 test $ac_status = 0; } 4504done 4505 4506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4507$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4508if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4509 $as_echo_n "(cached) " >&6 4510else 4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4512/* end confdefs.h. */ 4513 4514int 4515main () 4516{ 4517#ifndef __GNUC__ 4518 choke me 4519#endif 4520 4521 ; 4522 return 0; 4523} 4524_ACEOF 4525if ac_fn_c_try_compile "$LINENO"; then : 4526 ac_compiler_gnu=yes 4527else 4528 ac_compiler_gnu=no 4529fi 4530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4531ac_cv_c_compiler_gnu=$ac_compiler_gnu 4532 4533fi 4534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4535$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4536if test $ac_compiler_gnu = yes; then 4537 GCC=yes 4538else 4539 GCC= 4540fi 4541ac_test_CFLAGS=${CFLAGS+set} 4542ac_save_CFLAGS=$CFLAGS 4543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4544$as_echo_n "checking whether $CC accepts -g... " >&6; } 4545if test "${ac_cv_prog_cc_g+set}" = set; then : 4546 $as_echo_n "(cached) " >&6 4547else 4548 ac_save_c_werror_flag=$ac_c_werror_flag 4549 ac_c_werror_flag=yes 4550 ac_cv_prog_cc_g=no 4551 CFLAGS="-g" 4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4553/* end confdefs.h. */ 4554 4555int 4556main () 4557{ 4558 4559 ; 4560 return 0; 4561} 4562_ACEOF 4563if ac_fn_c_try_compile "$LINENO"; then : 4564 ac_cv_prog_cc_g=yes 4565else 4566 CFLAGS="" 4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4568/* end confdefs.h. */ 4569 4570int 4571main () 4572{ 4573 4574 ; 4575 return 0; 4576} 4577_ACEOF 4578if ac_fn_c_try_compile "$LINENO"; then : 4579 4580else 4581 ac_c_werror_flag=$ac_save_c_werror_flag 4582 CFLAGS="-g" 4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4584/* end confdefs.h. */ 4585 4586int 4587main () 4588{ 4589 4590 ; 4591 return 0; 4592} 4593_ACEOF 4594if ac_fn_c_try_compile "$LINENO"; then : 4595 ac_cv_prog_cc_g=yes 4596fi 4597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4598fi 4599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4600fi 4601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4602 ac_c_werror_flag=$ac_save_c_werror_flag 4603fi 4604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4605$as_echo "$ac_cv_prog_cc_g" >&6; } 4606if test "$ac_test_CFLAGS" = set; then 4607 CFLAGS=$ac_save_CFLAGS 4608elif test $ac_cv_prog_cc_g = yes; then 4609 if test "$GCC" = yes; then 4610 CFLAGS="-g -O2" 4611 else 4612 CFLAGS="-g" 4613 fi 4614else 4615 if test "$GCC" = yes; then 4616 CFLAGS="-O2" 4617 else 4618 CFLAGS= 4619 fi 4620fi 4621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4622$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4623if test "${ac_cv_prog_cc_c89+set}" = set; then : 4624 $as_echo_n "(cached) " >&6 4625else 4626 ac_cv_prog_cc_c89=no 4627ac_save_CC=$CC 4628cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4629/* end confdefs.h. */ 4630#include <stdarg.h> 4631#include <stdio.h> 4632#include <sys/types.h> 4633#include <sys/stat.h> 4634/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4635struct buf { int x; }; 4636FILE * (*rcsopen) (struct buf *, struct stat *, int); 4637static char *e (p, i) 4638 char **p; 4639 int i; 4640{ 4641 return p[i]; 4642} 4643static char *f (char * (*g) (char **, int), char **p, ...) 4644{ 4645 char *s; 4646 va_list v; 4647 va_start (v,p); 4648 s = g (p, va_arg (v,int)); 4649 va_end (v); 4650 return s; 4651} 4652 4653/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4654 function prototypes and stuff, but not '\xHH' hex character constants. 4655 These don't provoke an error unfortunately, instead are silently treated 4656 as 'x'. The following induces an error, until -std is added to get 4657 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4658 array size at least. It's necessary to write '\x00'==0 to get something 4659 that's true only with -std. */ 4660int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4661 4662/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4663 inside strings and character constants. */ 4664#define FOO(x) 'x' 4665int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4666 4667int test (int i, double x); 4668struct s1 {int (*f) (int a);}; 4669struct s2 {int (*f) (double a);}; 4670int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4671int argc; 4672char **argv; 4673int 4674main () 4675{ 4676return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4677 ; 4678 return 0; 4679} 4680_ACEOF 4681for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4682 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4683do 4684 CC="$ac_save_CC $ac_arg" 4685 if ac_fn_c_try_compile "$LINENO"; then : 4686 ac_cv_prog_cc_c89=$ac_arg 4687fi 4688rm -f core conftest.err conftest.$ac_objext 4689 test "x$ac_cv_prog_cc_c89" != "xno" && break 4690done 4691rm -f conftest.$ac_ext 4692CC=$ac_save_CC 4693 4694fi 4695# AC_CACHE_VAL 4696case "x$ac_cv_prog_cc_c89" in 4697 x) 4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4699$as_echo "none needed" >&6; } ;; 4700 xno) 4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4702$as_echo "unsupported" >&6; } ;; 4703 *) 4704 CC="$CC $ac_cv_prog_cc_c89" 4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4706$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4707esac 4708if test "x$ac_cv_prog_cc_c89" != xno; then : 4709 4710fi 4711 4712ac_ext=c 4713ac_cpp='$CPP $CPPFLAGS' 4714ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4715ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4716ac_compiler_gnu=$ac_cv_c_compiler_gnu 4717 4718depcc="$CC" am_compiler_list= 4719 4720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4721$as_echo_n "checking dependency style of $depcc... " >&6; } 4722if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4723 $as_echo_n "(cached) " >&6 4724else 4725 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4726 # We make a subdir and do the tests there. Otherwise we can end up 4727 # making bogus files that we don't know about and never remove. For 4728 # instance it was reported that on HP-UX the gcc test will end up 4729 # making a dummy file named `D' -- because `-MD' means `put the output 4730 # in D'. 4731 mkdir conftest.dir 4732 # Copy depcomp to subdir because otherwise we won't find it if we're 4733 # using a relative directory. 4734 cp "$am_depcomp" conftest.dir 4735 cd conftest.dir 4736 # We will build objects and dependencies in a subdirectory because 4737 # it helps to detect inapplicable dependency modes. For instance 4738 # both Tru64's cc and ICC support -MD to output dependencies as a 4739 # side effect of compilation, but ICC will put the dependencies in 4740 # the current directory while Tru64 will put them in the object 4741 # directory. 4742 mkdir sub 4743 4744 am_cv_CC_dependencies_compiler_type=none 4745 if test "$am_compiler_list" = ""; then 4746 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4747 fi 4748 am__universal=false 4749 case " $depcc " in #( 4750 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4751 esac 4752 4753 for depmode in $am_compiler_list; do 4754 # Setup a source with many dependencies, because some compilers 4755 # like to wrap large dependency lists on column 80 (with \), and 4756 # we should not choose a depcomp mode which is confused by this. 4757 # 4758 # We need to recreate these files for each test, as the compiler may 4759 # overwrite some of them when testing with obscure command lines. 4760 # This happens at least with the AIX C compiler. 4761 : > sub/conftest.c 4762 for i in 1 2 3 4 5 6; do 4763 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4764 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4765 # Solaris 8's {/usr,}/bin/sh. 4766 touch sub/conftst$i.h 4767 done 4768 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4769 4770 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4771 # mode. It turns out that the SunPro C++ compiler does not properly 4772 # handle `-M -o', and we need to detect this. Also, some Intel 4773 # versions had trouble with output in subdirs 4774 am__obj=sub/conftest.${OBJEXT-o} 4775 am__minus_obj="-o $am__obj" 4776 case $depmode in 4777 gcc) 4778 # This depmode causes a compiler race in universal mode. 4779 test "$am__universal" = false || continue 4780 ;; 4781 nosideeffect) 4782 # after this tag, mechanisms are not by side-effect, so they'll 4783 # only be used when explicitly requested 4784 if test "x$enable_dependency_tracking" = xyes; then 4785 continue 4786 else 4787 break 4788 fi 4789 ;; 4790 msvisualcpp | msvcmsys) 4791 # This compiler won't grok `-c -o', but also, the minuso test has 4792 # not run yet. These depmodes are late enough in the game, and 4793 # so weak that their functioning should not be impacted. 4794 am__obj=conftest.${OBJEXT-o} 4795 am__minus_obj= 4796 ;; 4797 none) break ;; 4798 esac 4799 if depmode=$depmode \ 4800 source=sub/conftest.c object=$am__obj \ 4801 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4802 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4803 >/dev/null 2>conftest.err && 4804 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4805 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4806 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4807 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4808 # icc doesn't choke on unknown options, it will just issue warnings 4809 # or remarks (even with -Werror). So we grep stderr for any message 4810 # that says an option was ignored or not supported. 4811 # When given -MP, icc 7.0 and 7.1 complain thusly: 4812 # icc: Command line warning: ignoring option '-M'; no argument required 4813 # The diagnosis changed in icc 8.0: 4814 # icc: Command line remark: option '-MP' not supported 4815 if (grep 'ignoring option' conftest.err || 4816 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4817 am_cv_CC_dependencies_compiler_type=$depmode 4818 break 4819 fi 4820 fi 4821 done 4822 4823 cd .. 4824 rm -rf conftest.dir 4825else 4826 am_cv_CC_dependencies_compiler_type=none 4827fi 4828 4829fi 4830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4831$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4832CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4833 4834 if 4835 test "x$enable_dependency_tracking" != xno \ 4836 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4837 am__fastdepCC_TRUE= 4838 am__fastdepCC_FALSE='#' 4839else 4840 am__fastdepCC_TRUE='#' 4841 am__fastdepCC_FALSE= 4842fi 4843 4844 4845for ac_prog in ps 4846do 4847 # Extract the first word of "$ac_prog", so it can be a program name with args. 4848set dummy $ac_prog; ac_word=$2 4849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4850$as_echo_n "checking for $ac_word... " >&6; } 4851if test "${ac_cv_path_PS+set}" = set; then : 4852 $as_echo_n "(cached) " >&6 4853else 4854 case $PS in 4855 [\\/]* | ?:[\\/]*) 4856 ac_cv_path_PS="$PS" # Let the user override the test with a path. 4857 ;; 4858 *) 4859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4860for as_dir in $LPATH 4861do 4862 IFS=$as_save_IFS 4863 test -z "$as_dir" && as_dir=. 4864 for ac_exec_ext in '' $ac_executable_extensions; do 4865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4866 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" 4867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4868 break 2 4869 fi 4870done 4871 done 4872IFS=$as_save_IFS 4873 4874 ;; 4875esac 4876fi 4877PS=$ac_cv_path_PS 4878if test -n "$PS"; then 4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS" >&5 4880$as_echo "$PS" >&6; } 4881else 4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4883$as_echo "no" >&6; } 4884fi 4885 4886 4887 test -n "$PS" && break 4888done 4889test -n "$PS" || PS="ps" 4890 4891for ac_prog in w 4892do 4893 # Extract the first word of "$ac_prog", so it can be a program name with args. 4894set dummy $ac_prog; ac_word=$2 4895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4896$as_echo_n "checking for $ac_word... " >&6; } 4897if test "${ac_cv_path_W+set}" = set; then : 4898 $as_echo_n "(cached) " >&6 4899else 4900 case $W in 4901 [\\/]* | ?:[\\/]*) 4902 ac_cv_path_W="$W" # Let the user override the test with a path. 4903 ;; 4904 *) 4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4906for as_dir in $LPATH 4907do 4908 IFS=$as_save_IFS 4909 test -z "$as_dir" && as_dir=. 4910 for ac_exec_ext in '' $ac_executable_extensions; do 4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4912 ac_cv_path_W="$as_dir/$ac_word$ac_exec_ext" 4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4914 break 2 4915 fi 4916done 4917 done 4918IFS=$as_save_IFS 4919 4920 ;; 4921esac 4922fi 4923W=$ac_cv_path_W 4924if test -n "$W"; then 4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $W" >&5 4926$as_echo "$W" >&6; } 4927else 4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4929$as_echo "no" >&6; } 4930fi 4931 4932 4933 test -n "$W" && break 4934done 4935test -n "$W" || W="w" 4936 4937case `pwd` in 4938 *\ * | *\ *) 4939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4940$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4941esac 4942 4943 4944 4945macro_version='2.2.10' 4946macro_revision='1.3175' 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960ltmain="$ac_aux_dir/ltmain.sh" 4961 4962# Make sure we can run config.sub. 4963$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4964 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4965 4966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4967$as_echo_n "checking build system type... " >&6; } 4968if test "${ac_cv_build+set}" = set; then : 4969 $as_echo_n "(cached) " >&6 4970else 4971 ac_build_alias=$build_alias 4972test "x$ac_build_alias" = x && 4973 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4974test "x$ac_build_alias" = x && 4975 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4976ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4977 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4978 4979fi 4980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4981$as_echo "$ac_cv_build" >&6; } 4982case $ac_cv_build in 4983*-*-*) ;; 4984*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4985esac 4986build=$ac_cv_build 4987ac_save_IFS=$IFS; IFS='-' 4988set x $ac_cv_build 4989shift 4990build_cpu=$1 4991build_vendor=$2 4992shift; shift 4993# Remember, the first character of IFS is used to create $*, 4994# except with old shells: 4995build_os=$* 4996IFS=$ac_save_IFS 4997case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4998 4999 5000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 5001$as_echo_n "checking host system type... " >&6; } 5002if test "${ac_cv_host+set}" = set; then : 5003 $as_echo_n "(cached) " >&6 5004else 5005 if test "x$host_alias" = x; then 5006 ac_cv_host=$ac_cv_build 5007else 5008 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5009 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5010fi 5011 5012fi 5013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 5014$as_echo "$ac_cv_host" >&6; } 5015case $ac_cv_host in 5016*-*-*) ;; 5017*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 5018esac 5019host=$ac_cv_host 5020ac_save_IFS=$IFS; IFS='-' 5021set x $ac_cv_host 5022shift 5023host_cpu=$1 5024host_vendor=$2 5025shift; shift 5026# Remember, the first character of IFS is used to create $*, 5027# except with old shells: 5028host_os=$* 5029IFS=$ac_save_IFS 5030case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 5031 5032 5033# Backslashify metacharacters that are still active within 5034# double-quoted strings. 5035sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5036 5037# Same as above, but do not quote variable references. 5038double_quote_subst='s/\(["`\\]\)/\\\1/g' 5039 5040# Sed substitution to delay expansion of an escaped shell variable in a 5041# double_quote_subst'ed string. 5042delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5043 5044# Sed substitution to delay expansion of an escaped single quote. 5045delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5046 5047# Sed substitution to avoid accidental globbing in evaled expressions 5048no_glob_subst='s/\*/\\\*/g' 5049 5050ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5051ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5052ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5053 5054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5055$as_echo_n "checking how to print strings... " >&6; } 5056# Test print first, because it will be a builtin if present. 5057if test "X`print -r -- -n 2>/dev/null`" = X-n && \ 5058 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5059 ECHO='print -r --' 5060elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5061 ECHO='printf %s\n' 5062else 5063 # Use this function as a fallback that always works. 5064 func_fallback_echo () 5065 { 5066 eval 'cat <<_LTECHO_EOF 5067$1 5068_LTECHO_EOF' 5069 } 5070 ECHO='func_fallback_echo' 5071fi 5072 5073# func_echo_all arg... 5074# Invoke $ECHO with all args, space-separated. 5075func_echo_all () 5076{ 5077 $ECHO "" 5078} 5079 5080case "$ECHO" in 5081 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5082$as_echo "printf" >&6; } ;; 5083 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5084$as_echo "print -r" >&6; } ;; 5085 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5086$as_echo "cat" >&6; } ;; 5087esac 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5103$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5104if test "${ac_cv_path_SED+set}" = set; then : 5105 $as_echo_n "(cached) " >&6 5106else 5107 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5108 for ac_i in 1 2 3 4 5 6 7; do 5109 ac_script="$ac_script$as_nl$ac_script" 5110 done 5111 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5112 { ac_script=; unset ac_script;} 5113 if test -z "$SED"; then 5114 ac_path_SED_found=false 5115 # Loop through the user's path and test for each of PROGNAME-LIST 5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5117for as_dir in $PATH 5118do 5119 IFS=$as_save_IFS 5120 test -z "$as_dir" && as_dir=. 5121 for ac_prog in sed gsed; do 5122 for ac_exec_ext in '' $ac_executable_extensions; do 5123 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5124 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 5125# Check for GNU ac_path_SED and select it if it is found. 5126 # Check for GNU $ac_path_SED 5127case `"$ac_path_SED" --version 2>&1` in 5128*GNU*) 5129 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5130*) 5131 ac_count=0 5132 $as_echo_n 0123456789 >"conftest.in" 5133 while : 5134 do 5135 cat "conftest.in" "conftest.in" >"conftest.tmp" 5136 mv "conftest.tmp" "conftest.in" 5137 cp "conftest.in" "conftest.nl" 5138 $as_echo '' >> "conftest.nl" 5139 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5141 as_fn_arith $ac_count + 1 && ac_count=$as_val 5142 if test $ac_count -gt ${ac_path_SED_max-0}; then 5143 # Best one so far, save it but keep looking for a better one 5144 ac_cv_path_SED="$ac_path_SED" 5145 ac_path_SED_max=$ac_count 5146 fi 5147 # 10*(2^10) chars as input seems more than enough 5148 test $ac_count -gt 10 && break 5149 done 5150 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5151esac 5152 5153 $ac_path_SED_found && break 3 5154 done 5155 done 5156 done 5157IFS=$as_save_IFS 5158 if test -z "$ac_cv_path_SED"; then 5159 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5160 fi 5161else 5162 ac_cv_path_SED=$SED 5163fi 5164 5165fi 5166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5167$as_echo "$ac_cv_path_SED" >&6; } 5168 SED="$ac_cv_path_SED" 5169 rm -f conftest.sed 5170 5171test -z "$SED" && SED=sed 5172Xsed="$SED -e 1s/^X//" 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5185$as_echo_n "checking for fgrep... " >&6; } 5186if test "${ac_cv_path_FGREP+set}" = set; then : 5187 $as_echo_n "(cached) " >&6 5188else 5189 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5190 then ac_cv_path_FGREP="$GREP -F" 5191 else 5192 if test -z "$FGREP"; then 5193 ac_path_FGREP_found=false 5194 # Loop through the user's path and test for each of PROGNAME-LIST 5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5196for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5197do 5198 IFS=$as_save_IFS 5199 test -z "$as_dir" && as_dir=. 5200 for ac_prog in fgrep; do 5201 for ac_exec_ext in '' $ac_executable_extensions; do 5202 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5203 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5204# Check for GNU ac_path_FGREP and select it if it is found. 5205 # Check for GNU $ac_path_FGREP 5206case `"$ac_path_FGREP" --version 2>&1` in 5207*GNU*) 5208 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5209*) 5210 ac_count=0 5211 $as_echo_n 0123456789 >"conftest.in" 5212 while : 5213 do 5214 cat "conftest.in" "conftest.in" >"conftest.tmp" 5215 mv "conftest.tmp" "conftest.in" 5216 cp "conftest.in" "conftest.nl" 5217 $as_echo 'FGREP' >> "conftest.nl" 5218 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5219 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5220 as_fn_arith $ac_count + 1 && ac_count=$as_val 5221 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5222 # Best one so far, save it but keep looking for a better one 5223 ac_cv_path_FGREP="$ac_path_FGREP" 5224 ac_path_FGREP_max=$ac_count 5225 fi 5226 # 10*(2^10) chars as input seems more than enough 5227 test $ac_count -gt 10 && break 5228 done 5229 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5230esac 5231 5232 $ac_path_FGREP_found && break 3 5233 done 5234 done 5235 done 5236IFS=$as_save_IFS 5237 if test -z "$ac_cv_path_FGREP"; then 5238 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5239 fi 5240else 5241 ac_cv_path_FGREP=$FGREP 5242fi 5243 5244 fi 5245fi 5246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5247$as_echo "$ac_cv_path_FGREP" >&6; } 5248 FGREP="$ac_cv_path_FGREP" 5249 5250 5251test -z "$GREP" && GREP=grep 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271# Check whether --with-gnu-ld was given. 5272if test "${with_gnu_ld+set}" = set; then : 5273 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5274else 5275 with_gnu_ld=no 5276fi 5277 5278ac_prog=ld 5279if test "$GCC" = yes; then 5280 # Check if gcc -print-prog-name=ld gives a path. 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5282$as_echo_n "checking for ld used by $CC... " >&6; } 5283 case $host in 5284 *-*-mingw*) 5285 # gcc leaves a trailing carriage return which upsets mingw 5286 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5287 *) 5288 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5289 esac 5290 case $ac_prog in 5291 # Accept absolute paths. 5292 [\\/]* | ?:[\\/]*) 5293 re_direlt='/[^/][^/]*/\.\./' 5294 # Canonicalize the pathname of ld 5295 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5296 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5297 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5298 done 5299 test -z "$LD" && LD="$ac_prog" 5300 ;; 5301 "") 5302 # If it fails, then pretend we aren't using GCC. 5303 ac_prog=ld 5304 ;; 5305 *) 5306 # If it is relative, then search for the first ld in PATH. 5307 with_gnu_ld=unknown 5308 ;; 5309 esac 5310elif test "$with_gnu_ld" = yes; then 5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5312$as_echo_n "checking for GNU ld... " >&6; } 5313else 5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5315$as_echo_n "checking for non-GNU ld... " >&6; } 5316fi 5317if test "${lt_cv_path_LD+set}" = set; then : 5318 $as_echo_n "(cached) " >&6 5319else 5320 if test -z "$LD"; then 5321 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5322 for ac_dir in $PATH; do 5323 IFS="$lt_save_ifs" 5324 test -z "$ac_dir" && ac_dir=. 5325 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5326 lt_cv_path_LD="$ac_dir/$ac_prog" 5327 # Check to see if the program is GNU ld. I'd rather use --version, 5328 # but apparently some variants of GNU ld only accept -v. 5329 # Break only if it was the GNU/non-GNU ld that we prefer. 5330 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5331 *GNU* | *'with BFD'*) 5332 test "$with_gnu_ld" != no && break 5333 ;; 5334 *) 5335 test "$with_gnu_ld" != yes && break 5336 ;; 5337 esac 5338 fi 5339 done 5340 IFS="$lt_save_ifs" 5341else 5342 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5343fi 5344fi 5345 5346LD="$lt_cv_path_LD" 5347if test -n "$LD"; then 5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5349$as_echo "$LD" >&6; } 5350else 5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5352$as_echo "no" >&6; } 5353fi 5354test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5356$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5357if test "${lt_cv_prog_gnu_ld+set}" = set; then : 5358 $as_echo_n "(cached) " >&6 5359else 5360 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5361case `$LD -v 2>&1 </dev/null` in 5362*GNU* | *'with BFD'*) 5363 lt_cv_prog_gnu_ld=yes 5364 ;; 5365*) 5366 lt_cv_prog_gnu_ld=no 5367 ;; 5368esac 5369fi 5370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5371$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5372with_gnu_ld=$lt_cv_prog_gnu_ld 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5383$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5384if test "${lt_cv_path_NM+set}" = set; then : 5385 $as_echo_n "(cached) " >&6 5386else 5387 if test -n "$NM"; then 5388 # Let the user override the test. 5389 lt_cv_path_NM="$NM" 5390else 5391 lt_nm_to_check="${ac_tool_prefix}nm" 5392 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5393 lt_nm_to_check="$lt_nm_to_check nm" 5394 fi 5395 for lt_tmp_nm in $lt_nm_to_check; do 5396 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5397 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5398 IFS="$lt_save_ifs" 5399 test -z "$ac_dir" && ac_dir=. 5400 tmp_nm="$ac_dir/$lt_tmp_nm" 5401 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5402 # Check to see if the nm accepts a BSD-compat flag. 5403 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5404 # nm: unknown option "B" ignored 5405 # Tru64's nm complains that /dev/null is an invalid object file 5406 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5407 */dev/null* | *'Invalid file or object type'*) 5408 lt_cv_path_NM="$tmp_nm -B" 5409 break 5410 ;; 5411 *) 5412 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5413 */dev/null*) 5414 lt_cv_path_NM="$tmp_nm -p" 5415 break 5416 ;; 5417 *) 5418 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5419 continue # so that we can try to find one that supports BSD flags 5420 ;; 5421 esac 5422 ;; 5423 esac 5424 fi 5425 done 5426 IFS="$lt_save_ifs" 5427 done 5428 : ${lt_cv_path_NM=no} 5429fi 5430fi 5431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5432$as_echo "$lt_cv_path_NM" >&6; } 5433if test "$lt_cv_path_NM" != "no"; then 5434 NM="$lt_cv_path_NM" 5435else 5436 # Didn't find any BSD compatible name lister, look for dumpbin. 5437 if test -n "$DUMPBIN"; then : 5438 # Let the user override the test. 5439 else 5440 if test -n "$ac_tool_prefix"; then 5441 for ac_prog in dumpbin "link -dump" 5442 do 5443 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5444set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5446$as_echo_n "checking for $ac_word... " >&6; } 5447if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 5448 $as_echo_n "(cached) " >&6 5449else 5450 if test -n "$DUMPBIN"; then 5451 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5452else 5453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5454for as_dir in $PATH 5455do 5456 IFS=$as_save_IFS 5457 test -z "$as_dir" && as_dir=. 5458 for ac_exec_ext in '' $ac_executable_extensions; do 5459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5460 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5462 break 2 5463 fi 5464done 5465 done 5466IFS=$as_save_IFS 5467 5468fi 5469fi 5470DUMPBIN=$ac_cv_prog_DUMPBIN 5471if test -n "$DUMPBIN"; then 5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5473$as_echo "$DUMPBIN" >&6; } 5474else 5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5476$as_echo "no" >&6; } 5477fi 5478 5479 5480 test -n "$DUMPBIN" && break 5481 done 5482fi 5483if test -z "$DUMPBIN"; then 5484 ac_ct_DUMPBIN=$DUMPBIN 5485 for ac_prog in dumpbin "link -dump" 5486do 5487 # Extract the first word of "$ac_prog", so it can be a program name with args. 5488set dummy $ac_prog; ac_word=$2 5489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5490$as_echo_n "checking for $ac_word... " >&6; } 5491if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 5492 $as_echo_n "(cached) " >&6 5493else 5494 if test -n "$ac_ct_DUMPBIN"; then 5495 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5496else 5497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5498for as_dir in $PATH 5499do 5500 IFS=$as_save_IFS 5501 test -z "$as_dir" && as_dir=. 5502 for ac_exec_ext in '' $ac_executable_extensions; do 5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5504 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5506 break 2 5507 fi 5508done 5509 done 5510IFS=$as_save_IFS 5511 5512fi 5513fi 5514ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5515if test -n "$ac_ct_DUMPBIN"; then 5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5517$as_echo "$ac_ct_DUMPBIN" >&6; } 5518else 5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5520$as_echo "no" >&6; } 5521fi 5522 5523 5524 test -n "$ac_ct_DUMPBIN" && break 5525done 5526 5527 if test "x$ac_ct_DUMPBIN" = x; then 5528 DUMPBIN=":" 5529 else 5530 case $cross_compiling:$ac_tool_warned in 5531yes:) 5532{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5533$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5534ac_tool_warned=yes ;; 5535esac 5536 DUMPBIN=$ac_ct_DUMPBIN 5537 fi 5538fi 5539 5540 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5541 *COFF*) 5542 DUMPBIN="$DUMPBIN -symbols" 5543 ;; 5544 *) 5545 DUMPBIN=: 5546 ;; 5547 esac 5548 fi 5549 5550 if test "$DUMPBIN" != ":"; then 5551 NM="$DUMPBIN" 5552 fi 5553fi 5554test -z "$NM" && NM=nm 5555 5556 5557 5558 5559 5560 5561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5562$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5563if test "${lt_cv_nm_interface+set}" = set; then : 5564 $as_echo_n "(cached) " >&6 5565else 5566 lt_cv_nm_interface="BSD nm" 5567 echo "int some_variable = 0;" > conftest.$ac_ext 5568 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5569 (eval "$ac_compile" 2>conftest.err) 5570 cat conftest.err >&5 5571 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5572 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5573 cat conftest.err >&5 5574 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5575 cat conftest.out >&5 5576 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5577 lt_cv_nm_interface="MS dumpbin" 5578 fi 5579 rm -f conftest* 5580fi 5581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5582$as_echo "$lt_cv_nm_interface" >&6; } 5583 5584# find the maximum length of command line arguments 5585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5586$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5587if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 5588 $as_echo_n "(cached) " >&6 5589else 5590 i=0 5591 teststring="ABCD" 5592 5593 case $build_os in 5594 msdosdjgpp*) 5595 # On DJGPP, this test can blow up pretty badly due to problems in libc 5596 # (any single argument exceeding 2000 bytes causes a buffer overrun 5597 # during glob expansion). Even if it were fixed, the result of this 5598 # check would be larger than it should be. 5599 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5600 ;; 5601 5602 gnu*) 5603 # Under GNU Hurd, this test is not required because there is 5604 # no limit to the length of command line arguments. 5605 # Libtool will interpret -1 as no limit whatsoever 5606 lt_cv_sys_max_cmd_len=-1; 5607 ;; 5608 5609 cygwin* | mingw* | cegcc*) 5610 # On Win9x/ME, this test blows up -- it succeeds, but takes 5611 # about 5 minutes as the teststring grows exponentially. 5612 # Worse, since 9x/ME are not pre-emptively multitasking, 5613 # you end up with a "frozen" computer, even though with patience 5614 # the test eventually succeeds (with a max line length of 256k). 5615 # Instead, let's just punt: use the minimum linelength reported by 5616 # all of the supported platforms: 8192 (on NT/2K/XP). 5617 lt_cv_sys_max_cmd_len=8192; 5618 ;; 5619 5620 mint*) 5621 # On MiNT this can take a long time and run out of memory. 5622 lt_cv_sys_max_cmd_len=8192; 5623 ;; 5624 5625 amigaos*) 5626 # On AmigaOS with pdksh, this test takes hours, literally. 5627 # So we just punt and use a minimum line length of 8192. 5628 lt_cv_sys_max_cmd_len=8192; 5629 ;; 5630 5631 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5632 # This has been around since 386BSD, at least. Likely further. 5633 if test -x /sbin/sysctl; then 5634 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5635 elif test -x /usr/sbin/sysctl; then 5636 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5637 else 5638 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5639 fi 5640 # And add a safety zone 5641 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5643 ;; 5644 5645 interix*) 5646 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5647 lt_cv_sys_max_cmd_len=196608 5648 ;; 5649 5650 osf*) 5651 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5652 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5653 # nice to cause kernel panics so lets avoid the loop below. 5654 # First set a reasonable default. 5655 lt_cv_sys_max_cmd_len=16384 5656 # 5657 if test -x /sbin/sysconfig; then 5658 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5659 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5660 esac 5661 fi 5662 ;; 5663 sco3.2v5*) 5664 lt_cv_sys_max_cmd_len=102400 5665 ;; 5666 sysv5* | sco5v6* | sysv4.2uw2*) 5667 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5668 if test -n "$kargmax"; then 5669 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5670 else 5671 lt_cv_sys_max_cmd_len=32768 5672 fi 5673 ;; 5674 *) 5675 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5676 if test -n "$lt_cv_sys_max_cmd_len"; then 5677 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5678 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5679 else 5680 # Make teststring a little bigger before we do anything with it. 5681 # a 1K string should be a reasonable start. 5682 for i in 1 2 3 4 5 6 7 8 ; do 5683 teststring=$teststring$teststring 5684 done 5685 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5686 # If test is not a shell built-in, we'll probably end up computing a 5687 # maximum length that is only half of the actual maximum length, but 5688 # we can't tell. 5689 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ 5690 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5691 test $i != 17 # 1/2 MB should be enough 5692 do 5693 i=`expr $i + 1` 5694 teststring=$teststring$teststring 5695 done 5696 # Only check the string length outside the loop. 5697 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5698 teststring= 5699 # Add a significant safety factor because C++ compilers can tack on 5700 # massive amounts of additional arguments before passing them to the 5701 # linker. It appears as though 1/2 is a usable value. 5702 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5703 fi 5704 ;; 5705 esac 5706 5707fi 5708 5709if test -n $lt_cv_sys_max_cmd_len ; then 5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5711$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5712else 5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5714$as_echo "none" >&6; } 5715fi 5716max_cmd_len=$lt_cv_sys_max_cmd_len 5717 5718 5719 5720 5721 5722 5723: ${CP="cp -f"} 5724: ${MV="mv -f"} 5725: ${RM="rm -f"} 5726 5727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5728$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5729# Try some XSI features 5730xsi_shell=no 5731( _lt_dummy="a/b/c" 5732 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5733 = c,a/b,, \ 5734 && eval 'test $(( 1 + 1 )) -eq 2 \ 5735 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5736 && xsi_shell=yes 5737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5738$as_echo "$xsi_shell" >&6; } 5739 5740 5741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5742$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5743lt_shell_append=no 5744( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5745 >/dev/null 2>&1 \ 5746 && lt_shell_append=yes 5747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5748$as_echo "$lt_shell_append" >&6; } 5749 5750 5751if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5752 lt_unset=unset 5753else 5754 lt_unset=false 5755fi 5756 5757 5758 5759 5760 5761# test EBCDIC or ASCII 5762case `echo X|tr X '\101'` in 5763 A) # ASCII based system 5764 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5765 lt_SP2NL='tr \040 \012' 5766 lt_NL2SP='tr \015\012 \040\040' 5767 ;; 5768 *) # EBCDIC based system 5769 lt_SP2NL='tr \100 \n' 5770 lt_NL2SP='tr \r\n \100\100' 5771 ;; 5772esac 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5783$as_echo_n "checking for $LD option to reload object files... " >&6; } 5784if test "${lt_cv_ld_reload_flag+set}" = set; then : 5785 $as_echo_n "(cached) " >&6 5786else 5787 lt_cv_ld_reload_flag='-r' 5788fi 5789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5790$as_echo "$lt_cv_ld_reload_flag" >&6; } 5791reload_flag=$lt_cv_ld_reload_flag 5792case $reload_flag in 5793"" | " "*) ;; 5794*) reload_flag=" $reload_flag" ;; 5795esac 5796reload_cmds='$LD$reload_flag -o $output$reload_objs' 5797case $host_os in 5798 darwin*) 5799 if test "$GCC" = yes; then 5800 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5801 else 5802 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5803 fi 5804 ;; 5805esac 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815if test -n "$ac_tool_prefix"; then 5816 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5817set dummy ${ac_tool_prefix}objdump; ac_word=$2 5818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5819$as_echo_n "checking for $ac_word... " >&6; } 5820if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 5821 $as_echo_n "(cached) " >&6 5822else 5823 if test -n "$OBJDUMP"; then 5824 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5825else 5826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5827for as_dir in $PATH 5828do 5829 IFS=$as_save_IFS 5830 test -z "$as_dir" && as_dir=. 5831 for ac_exec_ext in '' $ac_executable_extensions; do 5832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5833 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5835 break 2 5836 fi 5837done 5838 done 5839IFS=$as_save_IFS 5840 5841fi 5842fi 5843OBJDUMP=$ac_cv_prog_OBJDUMP 5844if test -n "$OBJDUMP"; then 5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5846$as_echo "$OBJDUMP" >&6; } 5847else 5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5849$as_echo "no" >&6; } 5850fi 5851 5852 5853fi 5854if test -z "$ac_cv_prog_OBJDUMP"; then 5855 ac_ct_OBJDUMP=$OBJDUMP 5856 # Extract the first word of "objdump", so it can be a program name with args. 5857set dummy objdump; ac_word=$2 5858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5859$as_echo_n "checking for $ac_word... " >&6; } 5860if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 5861 $as_echo_n "(cached) " >&6 5862else 5863 if test -n "$ac_ct_OBJDUMP"; then 5864 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5865else 5866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5867for as_dir in $PATH 5868do 5869 IFS=$as_save_IFS 5870 test -z "$as_dir" && as_dir=. 5871 for ac_exec_ext in '' $ac_executable_extensions; do 5872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5873 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5875 break 2 5876 fi 5877done 5878 done 5879IFS=$as_save_IFS 5880 5881fi 5882fi 5883ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5884if test -n "$ac_ct_OBJDUMP"; then 5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5886$as_echo "$ac_ct_OBJDUMP" >&6; } 5887else 5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5889$as_echo "no" >&6; } 5890fi 5891 5892 if test "x$ac_ct_OBJDUMP" = x; then 5893 OBJDUMP="false" 5894 else 5895 case $cross_compiling:$ac_tool_warned in 5896yes:) 5897{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5898$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5899ac_tool_warned=yes ;; 5900esac 5901 OBJDUMP=$ac_ct_OBJDUMP 5902 fi 5903else 5904 OBJDUMP="$ac_cv_prog_OBJDUMP" 5905fi 5906 5907test -z "$OBJDUMP" && OBJDUMP=objdump 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5918$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5919if test "${lt_cv_deplibs_check_method+set}" = set; then : 5920 $as_echo_n "(cached) " >&6 5921else 5922 lt_cv_file_magic_cmd='$MAGIC_CMD' 5923lt_cv_file_magic_test_file= 5924lt_cv_deplibs_check_method='unknown' 5925# Need to set the preceding variable on all platforms that support 5926# interlibrary dependencies. 5927# 'none' -- dependencies not supported. 5928# `unknown' -- same as none, but documents that we really don't know. 5929# 'pass_all' -- all dependencies passed with no checks. 5930# 'test_compile' -- check by making test program. 5931# 'file_magic [[regex]]' -- check by looking for files in library path 5932# which responds to the $file_magic_cmd with a given extended regex. 5933# If you have `file' or equivalent on your system and you're not sure 5934# whether `pass_all' will *always* work, you probably want this one. 5935 5936case $host_os in 5937aix[4-9]*) 5938 lt_cv_deplibs_check_method=pass_all 5939 ;; 5940 5941beos*) 5942 lt_cv_deplibs_check_method=pass_all 5943 ;; 5944 5945bsdi[45]*) 5946 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5947 lt_cv_file_magic_cmd='/usr/bin/file -L' 5948 lt_cv_file_magic_test_file=/shlib/libc.so 5949 ;; 5950 5951cygwin*) 5952 # func_win32_libid is a shell function defined in ltmain.sh 5953 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5954 lt_cv_file_magic_cmd='func_win32_libid' 5955 ;; 5956 5957mingw* | pw32*) 5958 # Base MSYS/MinGW do not provide the 'file' command needed by 5959 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5960 # unless we find 'file', for example because we are cross-compiling. 5961 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5962 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5963 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5964 lt_cv_file_magic_cmd='func_win32_libid' 5965 else 5966 # Keep this pattern in sync with the one in func_win32_libid. 5967 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5968 lt_cv_file_magic_cmd='$OBJDUMP -f' 5969 fi 5970 ;; 5971 5972cegcc*) 5973 # use the weaker test based on 'objdump'. See mingw*. 5974 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5975 lt_cv_file_magic_cmd='$OBJDUMP -f' 5976 ;; 5977 5978darwin* | rhapsody*) 5979 lt_cv_deplibs_check_method=pass_all 5980 ;; 5981 5982freebsd* | dragonfly*) 5983 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5984 case $host_cpu in 5985 i*86 ) 5986 # Not sure whether the presence of OpenBSD here was a mistake. 5987 # Let's accept both of them until this is cleared up. 5988 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5989 lt_cv_file_magic_cmd=/usr/bin/file 5990 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5991 ;; 5992 esac 5993 else 5994 lt_cv_deplibs_check_method=pass_all 5995 fi 5996 ;; 5997 5998gnu*) 5999 lt_cv_deplibs_check_method=pass_all 6000 ;; 6001 6002haiku*) 6003 lt_cv_deplibs_check_method=pass_all 6004 ;; 6005 6006hpux10.20* | hpux11*) 6007 lt_cv_file_magic_cmd=/usr/bin/file 6008 case $host_cpu in 6009 ia64*) 6010 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6011 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6012 ;; 6013 hppa*64*) 6014 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]' 6015 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6016 ;; 6017 *) 6018 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6019 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6020 ;; 6021 esac 6022 ;; 6023 6024interix[3-9]*) 6025 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6026 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6027 ;; 6028 6029irix5* | irix6* | nonstopux*) 6030 case $LD in 6031 *-32|*"-32 ") libmagic=32-bit;; 6032 *-n32|*"-n32 ") libmagic=N32;; 6033 *-64|*"-64 ") libmagic=64-bit;; 6034 *) libmagic=never-match;; 6035 esac 6036 lt_cv_deplibs_check_method=pass_all 6037 ;; 6038 6039# This must be Linux ELF. 6040linux* | k*bsd*-gnu | kopensolaris*-gnu) 6041 lt_cv_deplibs_check_method=pass_all 6042 ;; 6043 6044netbsd*) 6045 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6046 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6047 else 6048 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6049 fi 6050 ;; 6051 6052newos6*) 6053 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6054 lt_cv_file_magic_cmd=/usr/bin/file 6055 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6056 ;; 6057 6058*nto* | *qnx*) 6059 lt_cv_deplibs_check_method=pass_all 6060 ;; 6061 6062openbsd*) 6063 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6065 else 6066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6067 fi 6068 ;; 6069 6070osf3* | osf4* | osf5*) 6071 lt_cv_deplibs_check_method=pass_all 6072 ;; 6073 6074rdos*) 6075 lt_cv_deplibs_check_method=pass_all 6076 ;; 6077 6078solaris*) 6079 lt_cv_deplibs_check_method=pass_all 6080 ;; 6081 6082sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6083 lt_cv_deplibs_check_method=pass_all 6084 ;; 6085 6086sysv4 | sysv4.3*) 6087 case $host_vendor in 6088 motorola) 6089 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]' 6090 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6091 ;; 6092 ncr) 6093 lt_cv_deplibs_check_method=pass_all 6094 ;; 6095 sequent) 6096 lt_cv_file_magic_cmd='/bin/file' 6097 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6098 ;; 6099 sni) 6100 lt_cv_file_magic_cmd='/bin/file' 6101 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6102 lt_cv_file_magic_test_file=/lib/libc.so 6103 ;; 6104 siemens) 6105 lt_cv_deplibs_check_method=pass_all 6106 ;; 6107 pc) 6108 lt_cv_deplibs_check_method=pass_all 6109 ;; 6110 esac 6111 ;; 6112 6113tpf*) 6114 lt_cv_deplibs_check_method=pass_all 6115 ;; 6116esac 6117 6118fi 6119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6120$as_echo "$lt_cv_deplibs_check_method" >&6; } 6121file_magic_cmd=$lt_cv_file_magic_cmd 6122deplibs_check_method=$lt_cv_deplibs_check_method 6123test -z "$deplibs_check_method" && deplibs_check_method=unknown 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136if test -n "$ac_tool_prefix"; then 6137 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6138set dummy ${ac_tool_prefix}ar; ac_word=$2 6139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6140$as_echo_n "checking for $ac_word... " >&6; } 6141if test "${ac_cv_prog_AR+set}" = set; then : 6142 $as_echo_n "(cached) " >&6 6143else 6144 if test -n "$AR"; then 6145 ac_cv_prog_AR="$AR" # Let the user override the test. 6146else 6147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6148for as_dir in $PATH 6149do 6150 IFS=$as_save_IFS 6151 test -z "$as_dir" && as_dir=. 6152 for ac_exec_ext in '' $ac_executable_extensions; do 6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6154 ac_cv_prog_AR="${ac_tool_prefix}ar" 6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6156 break 2 6157 fi 6158done 6159 done 6160IFS=$as_save_IFS 6161 6162fi 6163fi 6164AR=$ac_cv_prog_AR 6165if test -n "$AR"; then 6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6167$as_echo "$AR" >&6; } 6168else 6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6170$as_echo "no" >&6; } 6171fi 6172 6173 6174fi 6175if test -z "$ac_cv_prog_AR"; then 6176 ac_ct_AR=$AR 6177 # Extract the first word of "ar", so it can be a program name with args. 6178set dummy ar; ac_word=$2 6179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6180$as_echo_n "checking for $ac_word... " >&6; } 6181if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 6182 $as_echo_n "(cached) " >&6 6183else 6184 if test -n "$ac_ct_AR"; then 6185 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6186else 6187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6188for as_dir in $PATH 6189do 6190 IFS=$as_save_IFS 6191 test -z "$as_dir" && as_dir=. 6192 for ac_exec_ext in '' $ac_executable_extensions; do 6193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6194 ac_cv_prog_ac_ct_AR="ar" 6195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6196 break 2 6197 fi 6198done 6199 done 6200IFS=$as_save_IFS 6201 6202fi 6203fi 6204ac_ct_AR=$ac_cv_prog_ac_ct_AR 6205if test -n "$ac_ct_AR"; then 6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6207$as_echo "$ac_ct_AR" >&6; } 6208else 6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6210$as_echo "no" >&6; } 6211fi 6212 6213 if test "x$ac_ct_AR" = x; then 6214 AR="false" 6215 else 6216 case $cross_compiling:$ac_tool_warned in 6217yes:) 6218{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6219$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6220ac_tool_warned=yes ;; 6221esac 6222 AR=$ac_ct_AR 6223 fi 6224else 6225 AR="$ac_cv_prog_AR" 6226fi 6227 6228test -z "$AR" && AR=ar 6229test -z "$AR_FLAGS" && AR_FLAGS=cru 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241if test -n "$ac_tool_prefix"; then 6242 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6243set dummy ${ac_tool_prefix}strip; ac_word=$2 6244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6245$as_echo_n "checking for $ac_word... " >&6; } 6246if test "${ac_cv_prog_STRIP+set}" = set; then : 6247 $as_echo_n "(cached) " >&6 6248else 6249 if test -n "$STRIP"; then 6250 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6251else 6252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6253for as_dir in $PATH 6254do 6255 IFS=$as_save_IFS 6256 test -z "$as_dir" && as_dir=. 6257 for ac_exec_ext in '' $ac_executable_extensions; do 6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6259 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6261 break 2 6262 fi 6263done 6264 done 6265IFS=$as_save_IFS 6266 6267fi 6268fi 6269STRIP=$ac_cv_prog_STRIP 6270if test -n "$STRIP"; then 6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6272$as_echo "$STRIP" >&6; } 6273else 6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6275$as_echo "no" >&6; } 6276fi 6277 6278 6279fi 6280if test -z "$ac_cv_prog_STRIP"; then 6281 ac_ct_STRIP=$STRIP 6282 # Extract the first word of "strip", so it can be a program name with args. 6283set dummy strip; ac_word=$2 6284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6285$as_echo_n "checking for $ac_word... " >&6; } 6286if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 6287 $as_echo_n "(cached) " >&6 6288else 6289 if test -n "$ac_ct_STRIP"; then 6290 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6291else 6292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6293for as_dir in $PATH 6294do 6295 IFS=$as_save_IFS 6296 test -z "$as_dir" && as_dir=. 6297 for ac_exec_ext in '' $ac_executable_extensions; do 6298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6299 ac_cv_prog_ac_ct_STRIP="strip" 6300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6301 break 2 6302 fi 6303done 6304 done 6305IFS=$as_save_IFS 6306 6307fi 6308fi 6309ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6310if test -n "$ac_ct_STRIP"; then 6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6312$as_echo "$ac_ct_STRIP" >&6; } 6313else 6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6315$as_echo "no" >&6; } 6316fi 6317 6318 if test "x$ac_ct_STRIP" = x; then 6319 STRIP=":" 6320 else 6321 case $cross_compiling:$ac_tool_warned in 6322yes:) 6323{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6324$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6325ac_tool_warned=yes ;; 6326esac 6327 STRIP=$ac_ct_STRIP 6328 fi 6329else 6330 STRIP="$ac_cv_prog_STRIP" 6331fi 6332 6333test -z "$STRIP" && STRIP=: 6334 6335 6336 6337 6338 6339 6340if test -n "$ac_tool_prefix"; then 6341 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6342set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6344$as_echo_n "checking for $ac_word... " >&6; } 6345if test "${ac_cv_prog_RANLIB+set}" = set; then : 6346 $as_echo_n "(cached) " >&6 6347else 6348 if test -n "$RANLIB"; then 6349 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6350else 6351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6352for as_dir in $PATH 6353do 6354 IFS=$as_save_IFS 6355 test -z "$as_dir" && as_dir=. 6356 for ac_exec_ext in '' $ac_executable_extensions; do 6357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6358 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6360 break 2 6361 fi 6362done 6363 done 6364IFS=$as_save_IFS 6365 6366fi 6367fi 6368RANLIB=$ac_cv_prog_RANLIB 6369if test -n "$RANLIB"; then 6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6371$as_echo "$RANLIB" >&6; } 6372else 6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6374$as_echo "no" >&6; } 6375fi 6376 6377 6378fi 6379if test -z "$ac_cv_prog_RANLIB"; then 6380 ac_ct_RANLIB=$RANLIB 6381 # Extract the first word of "ranlib", so it can be a program name with args. 6382set dummy ranlib; ac_word=$2 6383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6384$as_echo_n "checking for $ac_word... " >&6; } 6385if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6386 $as_echo_n "(cached) " >&6 6387else 6388 if test -n "$ac_ct_RANLIB"; then 6389 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6390else 6391as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6392for as_dir in $PATH 6393do 6394 IFS=$as_save_IFS 6395 test -z "$as_dir" && as_dir=. 6396 for ac_exec_ext in '' $ac_executable_extensions; do 6397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6398 ac_cv_prog_ac_ct_RANLIB="ranlib" 6399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6400 break 2 6401 fi 6402done 6403 done 6404IFS=$as_save_IFS 6405 6406fi 6407fi 6408ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6409if test -n "$ac_ct_RANLIB"; then 6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6411$as_echo "$ac_ct_RANLIB" >&6; } 6412else 6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6414$as_echo "no" >&6; } 6415fi 6416 6417 if test "x$ac_ct_RANLIB" = x; then 6418 RANLIB=":" 6419 else 6420 case $cross_compiling:$ac_tool_warned in 6421yes:) 6422{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6423$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6424ac_tool_warned=yes ;; 6425esac 6426 RANLIB=$ac_ct_RANLIB 6427 fi 6428else 6429 RANLIB="$ac_cv_prog_RANLIB" 6430fi 6431 6432test -z "$RANLIB" && RANLIB=: 6433 6434 6435 6436 6437 6438 6439# Determine commands to create old-style static archives. 6440old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6441old_postinstall_cmds='chmod 644 $oldlib' 6442old_postuninstall_cmds= 6443 6444if test -n "$RANLIB"; then 6445 case $host_os in 6446 openbsd*) 6447 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 6448 ;; 6449 *) 6450 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 6451 ;; 6452 esac 6453 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 6454fi 6455 6456case $host_os in 6457 darwin*) 6458 lock_old_archive_extraction=yes ;; 6459 *) 6460 lock_old_archive_extraction=no ;; 6461esac 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501# If no C compiler was specified, use CC. 6502LTCC=${LTCC-"$CC"} 6503 6504# If no C compiler flags were specified, use CFLAGS. 6505LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6506 6507# Allow CC to be a program name with arguments. 6508compiler=$CC 6509 6510 6511# Check for command to grab the raw symbol name followed by C symbol from nm. 6512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6513$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6514if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 6515 $as_echo_n "(cached) " >&6 6516else 6517 6518# These are sane defaults that work on at least a few old systems. 6519# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6520 6521# Character class describing NM global symbol codes. 6522symcode='[BCDEGRST]' 6523 6524# Regexp to match symbols that can be accessed directly from C. 6525sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6526 6527# Define system-specific variables. 6528case $host_os in 6529aix*) 6530 symcode='[BCDT]' 6531 ;; 6532cygwin* | mingw* | pw32* | cegcc*) 6533 symcode='[ABCDGISTW]' 6534 ;; 6535hpux*) 6536 if test "$host_cpu" = ia64; then 6537 symcode='[ABCDEGRST]' 6538 fi 6539 ;; 6540irix* | nonstopux*) 6541 symcode='[BCDEGRST]' 6542 ;; 6543osf*) 6544 symcode='[BCDEGQRST]' 6545 ;; 6546solaris*) 6547 symcode='[BDRT]' 6548 ;; 6549sco3.2v5*) 6550 symcode='[DT]' 6551 ;; 6552sysv4.2uw2*) 6553 symcode='[DT]' 6554 ;; 6555sysv5* | sco5v6* | unixware* | OpenUNIX*) 6556 symcode='[ABDT]' 6557 ;; 6558sysv4) 6559 symcode='[DFNSTU]' 6560 ;; 6561esac 6562 6563# If we're using GNU nm, then use its standard symbol codes. 6564case `$NM -V 2>&1` in 6565*GNU* | *'with BFD'*) 6566 symcode='[ABCDGIRSTW]' ;; 6567esac 6568 6569# Transform an extracted symbol line into a proper C declaration. 6570# Some systems (esp. on ia64) link data and code symbols differently, 6571# so use this general approach. 6572lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6573 6574# Transform an extracted symbol line into symbol name and symbol address 6575lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6576lt_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'" 6577 6578# Handle CRLF in mingw tool chain 6579opt_cr= 6580case $build_os in 6581mingw*) 6582 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6583 ;; 6584esac 6585 6586# Try without a prefix underscore, then with it. 6587for ac_symprfx in "" "_"; do 6588 6589 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6590 symxfrm="\\1 $ac_symprfx\\2 \\2" 6591 6592 # Write the raw and C identifiers. 6593 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6594 # Fake it for dumpbin and say T for any non-static function 6595 # and D for any global variable. 6596 # Also find C++ and __fastcall symbols from MSVC++, 6597 # which start with @ or ?. 6598 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6599" {last_section=section; section=\$ 3};"\ 6600" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6601" \$ 0!~/External *\|/{next};"\ 6602" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6603" {if(hide[section]) next};"\ 6604" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6605" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6606" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6607" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6608" ' prfx=^$ac_symprfx" 6609 else 6610 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6611 fi 6612 6613 # Check to see that the pipe works correctly. 6614 pipe_works=no 6615 6616 rm -f conftest* 6617 cat > conftest.$ac_ext <<_LT_EOF 6618#ifdef __cplusplus 6619extern "C" { 6620#endif 6621char nm_test_var; 6622void nm_test_func(void); 6623void nm_test_func(void){} 6624#ifdef __cplusplus 6625} 6626#endif 6627int main(){nm_test_var='a';nm_test_func();return(0);} 6628_LT_EOF 6629 6630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6631 (eval $ac_compile) 2>&5 6632 ac_status=$? 6633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6634 test $ac_status = 0; }; then 6635 # Now try to grab the symbols. 6636 nlist=conftest.nm 6637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6638 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6639 ac_status=$? 6640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6641 test $ac_status = 0; } && test -s "$nlist"; then 6642 # Try sorting and uniquifying the output. 6643 if sort "$nlist" | uniq > "$nlist"T; then 6644 mv -f "$nlist"T "$nlist" 6645 else 6646 rm -f "$nlist"T 6647 fi 6648 6649 # Make sure that we snagged all the symbols we need. 6650 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6651 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6652 cat <<_LT_EOF > conftest.$ac_ext 6653#ifdef __cplusplus 6654extern "C" { 6655#endif 6656 6657_LT_EOF 6658 # Now generate the symbol file. 6659 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6660 6661 cat <<_LT_EOF >> conftest.$ac_ext 6662 6663/* The mapping between symbol names and symbols. */ 6664const struct { 6665 const char *name; 6666 void *address; 6667} 6668lt__PROGRAM__LTX_preloaded_symbols[] = 6669{ 6670 { "@PROGRAM@", (void *) 0 }, 6671_LT_EOF 6672 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6673 cat <<\_LT_EOF >> conftest.$ac_ext 6674 {0, (void *) 0} 6675}; 6676 6677/* This works around a problem in FreeBSD linker */ 6678#ifdef FREEBSD_WORKAROUND 6679static const void *lt_preloaded_setup() { 6680 return lt__PROGRAM__LTX_preloaded_symbols; 6681} 6682#endif 6683 6684#ifdef __cplusplus 6685} 6686#endif 6687_LT_EOF 6688 # Now try linking the two files. 6689 mv conftest.$ac_objext conftstm.$ac_objext 6690 lt_save_LIBS="$LIBS" 6691 lt_save_CFLAGS="$CFLAGS" 6692 LIBS="conftstm.$ac_objext" 6693 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6695 (eval $ac_link) 2>&5 6696 ac_status=$? 6697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6698 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6699 pipe_works=yes 6700 fi 6701 LIBS="$lt_save_LIBS" 6702 CFLAGS="$lt_save_CFLAGS" 6703 else 6704 echo "cannot find nm_test_func in $nlist" >&5 6705 fi 6706 else 6707 echo "cannot find nm_test_var in $nlist" >&5 6708 fi 6709 else 6710 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6711 fi 6712 else 6713 echo "$progname: failed program was:" >&5 6714 cat conftest.$ac_ext >&5 6715 fi 6716 rm -rf conftest* conftst* 6717 6718 # Do not use the global_symbol_pipe unless it works. 6719 if test "$pipe_works" = yes; then 6720 break 6721 else 6722 lt_cv_sys_global_symbol_pipe= 6723 fi 6724done 6725 6726fi 6727 6728if test -z "$lt_cv_sys_global_symbol_pipe"; then 6729 lt_cv_sys_global_symbol_to_cdecl= 6730fi 6731if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6733$as_echo "failed" >&6; } 6734else 6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6736$as_echo "ok" >&6; } 6737fi 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760# Check whether --enable-libtool-lock was given. 6761if test "${enable_libtool_lock+set}" = set; then : 6762 enableval=$enable_libtool_lock; 6763fi 6764 6765test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6766 6767# Some flags need to be propagated to the compiler or linker for good 6768# libtool support. 6769case $host in 6770ia64-*-hpux*) 6771 # Find out which ABI we are using. 6772 echo 'int i;' > conftest.$ac_ext 6773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6774 (eval $ac_compile) 2>&5 6775 ac_status=$? 6776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6777 test $ac_status = 0; }; then 6778 case `/usr/bin/file conftest.$ac_objext` in 6779 *ELF-32*) 6780 HPUX_IA64_MODE="32" 6781 ;; 6782 *ELF-64*) 6783 HPUX_IA64_MODE="64" 6784 ;; 6785 esac 6786 fi 6787 rm -rf conftest* 6788 ;; 6789*-*-irix6*) 6790 # Find out which ABI we are using. 6791 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6793 (eval $ac_compile) 2>&5 6794 ac_status=$? 6795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6796 test $ac_status = 0; }; then 6797 if test "$lt_cv_prog_gnu_ld" = yes; then 6798 case `/usr/bin/file conftest.$ac_objext` in 6799 *32-bit*) 6800 LD="${LD-ld} -melf32bsmip" 6801 ;; 6802 *N32*) 6803 LD="${LD-ld} -melf32bmipn32" 6804 ;; 6805 *64-bit*) 6806 LD="${LD-ld} -melf64bmip" 6807 ;; 6808 esac 6809 else 6810 case `/usr/bin/file conftest.$ac_objext` in 6811 *32-bit*) 6812 LD="${LD-ld} -32" 6813 ;; 6814 *N32*) 6815 LD="${LD-ld} -n32" 6816 ;; 6817 *64-bit*) 6818 LD="${LD-ld} -64" 6819 ;; 6820 esac 6821 fi 6822 fi 6823 rm -rf conftest* 6824 ;; 6825 6826x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6827s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6828 # Find out which ABI we are using. 6829 echo 'int i;' > conftest.$ac_ext 6830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6831 (eval $ac_compile) 2>&5 6832 ac_status=$? 6833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6834 test $ac_status = 0; }; then 6835 case `/usr/bin/file conftest.o` in 6836 *32-bit*) 6837 case $host in 6838 x86_64-*kfreebsd*-gnu) 6839 LD="${LD-ld} -m elf_i386_fbsd" 6840 ;; 6841 x86_64-*linux*) 6842 LD="${LD-ld} -m elf_i386" 6843 ;; 6844 ppc64-*linux*|powerpc64-*linux*) 6845 LD="${LD-ld} -m elf32ppclinux" 6846 ;; 6847 s390x-*linux*) 6848 LD="${LD-ld} -m elf_s390" 6849 ;; 6850 sparc64-*linux*) 6851 LD="${LD-ld} -m elf32_sparc" 6852 ;; 6853 esac 6854 ;; 6855 *64-bit*) 6856 case $host in 6857 x86_64-*kfreebsd*-gnu) 6858 LD="${LD-ld} -m elf_x86_64_fbsd" 6859 ;; 6860 x86_64-*linux*) 6861 LD="${LD-ld} -m elf_x86_64" 6862 ;; 6863 ppc*-*linux*|powerpc*-*linux*) 6864 LD="${LD-ld} -m elf64ppc" 6865 ;; 6866 s390*-*linux*|s390*-*tpf*) 6867 LD="${LD-ld} -m elf64_s390" 6868 ;; 6869 sparc*-*linux*) 6870 LD="${LD-ld} -m elf64_sparc" 6871 ;; 6872 esac 6873 ;; 6874 esac 6875 fi 6876 rm -rf conftest* 6877 ;; 6878 6879*-*-sco3.2v5*) 6880 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6881 SAVE_CFLAGS="$CFLAGS" 6882 CFLAGS="$CFLAGS -belf" 6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6884$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6885if test "${lt_cv_cc_needs_belf+set}" = set; then : 6886 $as_echo_n "(cached) " >&6 6887else 6888 ac_ext=c 6889ac_cpp='$CPP $CPPFLAGS' 6890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6892ac_compiler_gnu=$ac_cv_c_compiler_gnu 6893 6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6895/* end confdefs.h. */ 6896 6897int 6898main () 6899{ 6900 6901 ; 6902 return 0; 6903} 6904_ACEOF 6905if ac_fn_c_try_link "$LINENO"; then : 6906 lt_cv_cc_needs_belf=yes 6907else 6908 lt_cv_cc_needs_belf=no 6909fi 6910rm -f core conftest.err conftest.$ac_objext \ 6911 conftest$ac_exeext conftest.$ac_ext 6912 ac_ext=c 6913ac_cpp='$CPP $CPPFLAGS' 6914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6916ac_compiler_gnu=$ac_cv_c_compiler_gnu 6917 6918fi 6919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6920$as_echo "$lt_cv_cc_needs_belf" >&6; } 6921 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6922 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6923 CFLAGS="$SAVE_CFLAGS" 6924 fi 6925 ;; 6926sparc*-*solaris*) 6927 # Find out which ABI we are using. 6928 echo 'int i;' > conftest.$ac_ext 6929 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6930 (eval $ac_compile) 2>&5 6931 ac_status=$? 6932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6933 test $ac_status = 0; }; then 6934 case `/usr/bin/file conftest.o` in 6935 *64-bit*) 6936 case $lt_cv_prog_gnu_ld in 6937 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6938 *) 6939 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6940 LD="${LD-ld} -64" 6941 fi 6942 ;; 6943 esac 6944 ;; 6945 esac 6946 fi 6947 rm -rf conftest* 6948 ;; 6949esac 6950 6951need_locks="$enable_libtool_lock" 6952 6953 6954 case $host_os in 6955 rhapsody* | darwin*) 6956 if test -n "$ac_tool_prefix"; then 6957 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6958set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6960$as_echo_n "checking for $ac_word... " >&6; } 6961if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 6962 $as_echo_n "(cached) " >&6 6963else 6964 if test -n "$DSYMUTIL"; then 6965 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6966else 6967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6968for as_dir in $PATH 6969do 6970 IFS=$as_save_IFS 6971 test -z "$as_dir" && as_dir=. 6972 for ac_exec_ext in '' $ac_executable_extensions; do 6973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6974 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6976 break 2 6977 fi 6978done 6979 done 6980IFS=$as_save_IFS 6981 6982fi 6983fi 6984DSYMUTIL=$ac_cv_prog_DSYMUTIL 6985if test -n "$DSYMUTIL"; then 6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6987$as_echo "$DSYMUTIL" >&6; } 6988else 6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6990$as_echo "no" >&6; } 6991fi 6992 6993 6994fi 6995if test -z "$ac_cv_prog_DSYMUTIL"; then 6996 ac_ct_DSYMUTIL=$DSYMUTIL 6997 # Extract the first word of "dsymutil", so it can be a program name with args. 6998set dummy dsymutil; ac_word=$2 6999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7000$as_echo_n "checking for $ac_word... " >&6; } 7001if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 7002 $as_echo_n "(cached) " >&6 7003else 7004 if test -n "$ac_ct_DSYMUTIL"; then 7005 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7006else 7007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7008for as_dir in $PATH 7009do 7010 IFS=$as_save_IFS 7011 test -z "$as_dir" && as_dir=. 7012 for ac_exec_ext in '' $ac_executable_extensions; do 7013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7014 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7016 break 2 7017 fi 7018done 7019 done 7020IFS=$as_save_IFS 7021 7022fi 7023fi 7024ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7025if test -n "$ac_ct_DSYMUTIL"; then 7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7027$as_echo "$ac_ct_DSYMUTIL" >&6; } 7028else 7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7030$as_echo "no" >&6; } 7031fi 7032 7033 if test "x$ac_ct_DSYMUTIL" = x; then 7034 DSYMUTIL=":" 7035 else 7036 case $cross_compiling:$ac_tool_warned in 7037yes:) 7038{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7039$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7040ac_tool_warned=yes ;; 7041esac 7042 DSYMUTIL=$ac_ct_DSYMUTIL 7043 fi 7044else 7045 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7046fi 7047 7048 if test -n "$ac_tool_prefix"; then 7049 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7050set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7052$as_echo_n "checking for $ac_word... " >&6; } 7053if test "${ac_cv_prog_NMEDIT+set}" = set; then : 7054 $as_echo_n "(cached) " >&6 7055else 7056 if test -n "$NMEDIT"; then 7057 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7058else 7059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7060for as_dir in $PATH 7061do 7062 IFS=$as_save_IFS 7063 test -z "$as_dir" && as_dir=. 7064 for ac_exec_ext in '' $ac_executable_extensions; do 7065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7066 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7068 break 2 7069 fi 7070done 7071 done 7072IFS=$as_save_IFS 7073 7074fi 7075fi 7076NMEDIT=$ac_cv_prog_NMEDIT 7077if test -n "$NMEDIT"; then 7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7079$as_echo "$NMEDIT" >&6; } 7080else 7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7082$as_echo "no" >&6; } 7083fi 7084 7085 7086fi 7087if test -z "$ac_cv_prog_NMEDIT"; then 7088 ac_ct_NMEDIT=$NMEDIT 7089 # Extract the first word of "nmedit", so it can be a program name with args. 7090set dummy nmedit; ac_word=$2 7091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7092$as_echo_n "checking for $ac_word... " >&6; } 7093if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 7094 $as_echo_n "(cached) " >&6 7095else 7096 if test -n "$ac_ct_NMEDIT"; then 7097 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7098else 7099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7100for as_dir in $PATH 7101do 7102 IFS=$as_save_IFS 7103 test -z "$as_dir" && as_dir=. 7104 for ac_exec_ext in '' $ac_executable_extensions; do 7105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7106 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7108 break 2 7109 fi 7110done 7111 done 7112IFS=$as_save_IFS 7113 7114fi 7115fi 7116ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7117if test -n "$ac_ct_NMEDIT"; then 7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7119$as_echo "$ac_ct_NMEDIT" >&6; } 7120else 7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7122$as_echo "no" >&6; } 7123fi 7124 7125 if test "x$ac_ct_NMEDIT" = x; then 7126 NMEDIT=":" 7127 else 7128 case $cross_compiling:$ac_tool_warned in 7129yes:) 7130{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7131$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7132ac_tool_warned=yes ;; 7133esac 7134 NMEDIT=$ac_ct_NMEDIT 7135 fi 7136else 7137 NMEDIT="$ac_cv_prog_NMEDIT" 7138fi 7139 7140 if test -n "$ac_tool_prefix"; then 7141 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7142set dummy ${ac_tool_prefix}lipo; ac_word=$2 7143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7144$as_echo_n "checking for $ac_word... " >&6; } 7145if test "${ac_cv_prog_LIPO+set}" = set; then : 7146 $as_echo_n "(cached) " >&6 7147else 7148 if test -n "$LIPO"; then 7149 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7150else 7151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7152for as_dir in $PATH 7153do 7154 IFS=$as_save_IFS 7155 test -z "$as_dir" && as_dir=. 7156 for ac_exec_ext in '' $ac_executable_extensions; do 7157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7158 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7160 break 2 7161 fi 7162done 7163 done 7164IFS=$as_save_IFS 7165 7166fi 7167fi 7168LIPO=$ac_cv_prog_LIPO 7169if test -n "$LIPO"; then 7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7171$as_echo "$LIPO" >&6; } 7172else 7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7174$as_echo "no" >&6; } 7175fi 7176 7177 7178fi 7179if test -z "$ac_cv_prog_LIPO"; then 7180 ac_ct_LIPO=$LIPO 7181 # Extract the first word of "lipo", so it can be a program name with args. 7182set dummy lipo; ac_word=$2 7183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7184$as_echo_n "checking for $ac_word... " >&6; } 7185if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 7186 $as_echo_n "(cached) " >&6 7187else 7188 if test -n "$ac_ct_LIPO"; then 7189 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7190else 7191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7192for as_dir in $PATH 7193do 7194 IFS=$as_save_IFS 7195 test -z "$as_dir" && as_dir=. 7196 for ac_exec_ext in '' $ac_executable_extensions; do 7197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7198 ac_cv_prog_ac_ct_LIPO="lipo" 7199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7200 break 2 7201 fi 7202done 7203 done 7204IFS=$as_save_IFS 7205 7206fi 7207fi 7208ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7209if test -n "$ac_ct_LIPO"; then 7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7211$as_echo "$ac_ct_LIPO" >&6; } 7212else 7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7214$as_echo "no" >&6; } 7215fi 7216 7217 if test "x$ac_ct_LIPO" = x; then 7218 LIPO=":" 7219 else 7220 case $cross_compiling:$ac_tool_warned in 7221yes:) 7222{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7223$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7224ac_tool_warned=yes ;; 7225esac 7226 LIPO=$ac_ct_LIPO 7227 fi 7228else 7229 LIPO="$ac_cv_prog_LIPO" 7230fi 7231 7232 if test -n "$ac_tool_prefix"; then 7233 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7234set dummy ${ac_tool_prefix}otool; ac_word=$2 7235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7236$as_echo_n "checking for $ac_word... " >&6; } 7237if test "${ac_cv_prog_OTOOL+set}" = set; then : 7238 $as_echo_n "(cached) " >&6 7239else 7240 if test -n "$OTOOL"; then 7241 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7242else 7243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7244for as_dir in $PATH 7245do 7246 IFS=$as_save_IFS 7247 test -z "$as_dir" && as_dir=. 7248 for ac_exec_ext in '' $ac_executable_extensions; do 7249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7250 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7252 break 2 7253 fi 7254done 7255 done 7256IFS=$as_save_IFS 7257 7258fi 7259fi 7260OTOOL=$ac_cv_prog_OTOOL 7261if test -n "$OTOOL"; then 7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7263$as_echo "$OTOOL" >&6; } 7264else 7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7266$as_echo "no" >&6; } 7267fi 7268 7269 7270fi 7271if test -z "$ac_cv_prog_OTOOL"; then 7272 ac_ct_OTOOL=$OTOOL 7273 # Extract the first word of "otool", so it can be a program name with args. 7274set dummy otool; ac_word=$2 7275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7276$as_echo_n "checking for $ac_word... " >&6; } 7277if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 7278 $as_echo_n "(cached) " >&6 7279else 7280 if test -n "$ac_ct_OTOOL"; then 7281 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7282else 7283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7284for as_dir in $PATH 7285do 7286 IFS=$as_save_IFS 7287 test -z "$as_dir" && as_dir=. 7288 for ac_exec_ext in '' $ac_executable_extensions; do 7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7290 ac_cv_prog_ac_ct_OTOOL="otool" 7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7292 break 2 7293 fi 7294done 7295 done 7296IFS=$as_save_IFS 7297 7298fi 7299fi 7300ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7301if test -n "$ac_ct_OTOOL"; then 7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7303$as_echo "$ac_ct_OTOOL" >&6; } 7304else 7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7306$as_echo "no" >&6; } 7307fi 7308 7309 if test "x$ac_ct_OTOOL" = x; then 7310 OTOOL=":" 7311 else 7312 case $cross_compiling:$ac_tool_warned in 7313yes:) 7314{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7315$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7316ac_tool_warned=yes ;; 7317esac 7318 OTOOL=$ac_ct_OTOOL 7319 fi 7320else 7321 OTOOL="$ac_cv_prog_OTOOL" 7322fi 7323 7324 if test -n "$ac_tool_prefix"; then 7325 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7326set dummy ${ac_tool_prefix}otool64; ac_word=$2 7327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7328$as_echo_n "checking for $ac_word... " >&6; } 7329if test "${ac_cv_prog_OTOOL64+set}" = set; then : 7330 $as_echo_n "(cached) " >&6 7331else 7332 if test -n "$OTOOL64"; then 7333 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7334else 7335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7336for as_dir in $PATH 7337do 7338 IFS=$as_save_IFS 7339 test -z "$as_dir" && as_dir=. 7340 for ac_exec_ext in '' $ac_executable_extensions; do 7341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7342 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7344 break 2 7345 fi 7346done 7347 done 7348IFS=$as_save_IFS 7349 7350fi 7351fi 7352OTOOL64=$ac_cv_prog_OTOOL64 7353if test -n "$OTOOL64"; then 7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7355$as_echo "$OTOOL64" >&6; } 7356else 7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7358$as_echo "no" >&6; } 7359fi 7360 7361 7362fi 7363if test -z "$ac_cv_prog_OTOOL64"; then 7364 ac_ct_OTOOL64=$OTOOL64 7365 # Extract the first word of "otool64", so it can be a program name with args. 7366set dummy otool64; ac_word=$2 7367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7368$as_echo_n "checking for $ac_word... " >&6; } 7369if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 7370 $as_echo_n "(cached) " >&6 7371else 7372 if test -n "$ac_ct_OTOOL64"; then 7373 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7374else 7375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7376for as_dir in $PATH 7377do 7378 IFS=$as_save_IFS 7379 test -z "$as_dir" && as_dir=. 7380 for ac_exec_ext in '' $ac_executable_extensions; do 7381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7382 ac_cv_prog_ac_ct_OTOOL64="otool64" 7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7384 break 2 7385 fi 7386done 7387 done 7388IFS=$as_save_IFS 7389 7390fi 7391fi 7392ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7393if test -n "$ac_ct_OTOOL64"; then 7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7395$as_echo "$ac_ct_OTOOL64" >&6; } 7396else 7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7398$as_echo "no" >&6; } 7399fi 7400 7401 if test "x$ac_ct_OTOOL64" = x; then 7402 OTOOL64=":" 7403 else 7404 case $cross_compiling:$ac_tool_warned in 7405yes:) 7406{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7407$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7408ac_tool_warned=yes ;; 7409esac 7410 OTOOL64=$ac_ct_OTOOL64 7411 fi 7412else 7413 OTOOL64="$ac_cv_prog_OTOOL64" 7414fi 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7443$as_echo_n "checking for -single_module linker flag... " >&6; } 7444if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 7445 $as_echo_n "(cached) " >&6 7446else 7447 lt_cv_apple_cc_single_mod=no 7448 if test -z "${LT_MULTI_MODULE}"; then 7449 # By default we will add the -single_module flag. You can override 7450 # by either setting the environment variable LT_MULTI_MODULE 7451 # non-empty at configure time, or by adding -multi_module to the 7452 # link flags. 7453 rm -rf libconftest.dylib* 7454 echo "int foo(void){return 1;}" > conftest.c 7455 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7456-dynamiclib -Wl,-single_module conftest.c" >&5 7457 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7458 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7459 _lt_result=$? 7460 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 7461 lt_cv_apple_cc_single_mod=yes 7462 else 7463 cat conftest.err >&5 7464 fi 7465 rm -rf libconftest.dylib* 7466 rm -f conftest.* 7467 fi 7468fi 7469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7470$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7472$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7473if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 7474 $as_echo_n "(cached) " >&6 7475else 7476 lt_cv_ld_exported_symbols_list=no 7477 save_LDFLAGS=$LDFLAGS 7478 echo "_main" > conftest.sym 7479 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7481/* end confdefs.h. */ 7482 7483int 7484main () 7485{ 7486 7487 ; 7488 return 0; 7489} 7490_ACEOF 7491if ac_fn_c_try_link "$LINENO"; then : 7492 lt_cv_ld_exported_symbols_list=yes 7493else 7494 lt_cv_ld_exported_symbols_list=no 7495fi 7496rm -f core conftest.err conftest.$ac_objext \ 7497 conftest$ac_exeext conftest.$ac_ext 7498 LDFLAGS="$save_LDFLAGS" 7499 7500fi 7501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7502$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7504$as_echo_n "checking for -force_load linker flag... " >&6; } 7505if test "${lt_cv_ld_force_load+set}" = set; then : 7506 $as_echo_n "(cached) " >&6 7507else 7508 lt_cv_ld_force_load=no 7509 cat > conftest.c << _LT_EOF 7510int forced_loaded() { return 2;} 7511_LT_EOF 7512 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7513 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7514 echo "$AR cru libconftest.a conftest.o" >&5 7515 $AR cru libconftest.a conftest.o 2>&5 7516 echo "$RANLIB libconftest.a" >&5 7517 $RANLIB libconftest.a 2>&5 7518 cat > conftest.c << _LT_EOF 7519int main() { return 0;} 7520_LT_EOF 7521 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7522 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7523 _lt_result=$? 7524 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then 7525 lt_cv_ld_force_load=yes 7526 else 7527 cat conftest.err >&5 7528 fi 7529 rm -f conftest.err libconftest.a conftest conftest.c 7530 rm -rf conftest.dSYM 7531 7532fi 7533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7534$as_echo "$lt_cv_ld_force_load" >&6; } 7535 case $host_os in 7536 rhapsody* | darwin1.[012]) 7537 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7538 darwin1.*) 7539 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7540 darwin*) # darwin 5.x on 7541 # if running on 10.5 or later, the deployment target defaults 7542 # to the OS version, if on x86, and 10.4, the deployment 7543 # target defaults to 10.4. Don't you love it? 7544 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7545 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7546 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7547 10.[012]*) 7548 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7549 10.*) 7550 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7551 esac 7552 ;; 7553 esac 7554 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7555 _lt_dar_single_mod='$single_module' 7556 fi 7557 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7558 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7559 else 7560 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7561 fi 7562 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7563 _lt_dsymutil='~$DSYMUTIL $lib || :' 7564 else 7565 _lt_dsymutil= 7566 fi 7567 ;; 7568 esac 7569 7570for ac_header in dlfcn.h 7571do : 7572 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7573" 7574if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7575 cat >>confdefs.h <<_ACEOF 7576#define HAVE_DLFCN_H 1 7577_ACEOF 7578 7579fi 7580 7581done 7582 7583 7584 7585 7586 7587# Set options 7588 7589 7590 7591 enable_dlopen=no 7592 7593 7594 enable_win32_dll=no 7595 7596 7597 # Check whether --enable-shared was given. 7598if test "${enable_shared+set}" = set; then : 7599 enableval=$enable_shared; p=${PACKAGE-default} 7600 case $enableval in 7601 yes) enable_shared=yes ;; 7602 no) enable_shared=no ;; 7603 *) 7604 enable_shared=no 7605 # Look at the argument we got. We use all the common list separators. 7606 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7607 for pkg in $enableval; do 7608 IFS="$lt_save_ifs" 7609 if test "X$pkg" = "X$p"; then 7610 enable_shared=yes 7611 fi 7612 done 7613 IFS="$lt_save_ifs" 7614 ;; 7615 esac 7616else 7617 enable_shared=yes 7618fi 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 # Check whether --enable-static was given. 7629if test "${enable_static+set}" = set; then : 7630 enableval=$enable_static; p=${PACKAGE-default} 7631 case $enableval in 7632 yes) enable_static=yes ;; 7633 no) enable_static=no ;; 7634 *) 7635 enable_static=no 7636 # Look at the argument we got. We use all the common list separators. 7637 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7638 for pkg in $enableval; do 7639 IFS="$lt_save_ifs" 7640 if test "X$pkg" = "X$p"; then 7641 enable_static=yes 7642 fi 7643 done 7644 IFS="$lt_save_ifs" 7645 ;; 7646 esac 7647else 7648 enable_static=yes 7649fi 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660# Check whether --with-pic was given. 7661if test "${with_pic+set}" = set; then : 7662 withval=$with_pic; pic_mode="$withval" 7663else 7664 pic_mode=default 7665fi 7666 7667 7668test -z "$pic_mode" && pic_mode=default 7669 7670 7671 7672 7673 7674 7675 7676 # Check whether --enable-fast-install was given. 7677if test "${enable_fast_install+set}" = set; then : 7678 enableval=$enable_fast_install; p=${PACKAGE-default} 7679 case $enableval in 7680 yes) enable_fast_install=yes ;; 7681 no) enable_fast_install=no ;; 7682 *) 7683 enable_fast_install=no 7684 # Look at the argument we got. We use all the common list separators. 7685 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7686 for pkg in $enableval; do 7687 IFS="$lt_save_ifs" 7688 if test "X$pkg" = "X$p"; then 7689 enable_fast_install=yes 7690 fi 7691 done 7692 IFS="$lt_save_ifs" 7693 ;; 7694 esac 7695else 7696 enable_fast_install=yes 7697fi 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709# This can be used to rebuild libtool when needed 7710LIBTOOL_DEPS="$ltmain" 7711 7712# Always use our own libtool. 7713LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740test -z "$LN_S" && LN_S="ln -s" 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755if test -n "${ZSH_VERSION+set}" ; then 7756 setopt NO_GLOB_SUBST 7757fi 7758 7759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7760$as_echo_n "checking for objdir... " >&6; } 7761if test "${lt_cv_objdir+set}" = set; then : 7762 $as_echo_n "(cached) " >&6 7763else 7764 rm -f .libs 2>/dev/null 7765mkdir .libs 2>/dev/null 7766if test -d .libs; then 7767 lt_cv_objdir=.libs 7768else 7769 # MS-DOS does not allow filenames that begin with a dot. 7770 lt_cv_objdir=_libs 7771fi 7772rmdir .libs 2>/dev/null 7773fi 7774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7775$as_echo "$lt_cv_objdir" >&6; } 7776objdir=$lt_cv_objdir 7777 7778 7779 7780 7781 7782cat >>confdefs.h <<_ACEOF 7783#define LT_OBJDIR "$lt_cv_objdir/" 7784_ACEOF 7785 7786 7787 7788 7789case $host_os in 7790aix3*) 7791 # AIX sometimes has problems with the GCC collect2 program. For some 7792 # reason, if we set the COLLECT_NAMES environment variable, the problems 7793 # vanish in a puff of smoke. 7794 if test "X${COLLECT_NAMES+set}" != Xset; then 7795 COLLECT_NAMES= 7796 export COLLECT_NAMES 7797 fi 7798 ;; 7799esac 7800 7801# Global variables: 7802ofile=libtool 7803can_build_shared=yes 7804 7805# All known linkers require a `.a' archive for static linking (except MSVC, 7806# which needs '.lib'). 7807libext=a 7808 7809with_gnu_ld="$lt_cv_prog_gnu_ld" 7810 7811old_CC="$CC" 7812old_CFLAGS="$CFLAGS" 7813 7814# Set sane defaults for various variables 7815test -z "$CC" && CC=cc 7816test -z "$LTCC" && LTCC=$CC 7817test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7818test -z "$LD" && LD=ld 7819test -z "$ac_objext" && ac_objext=o 7820 7821for cc_temp in $compiler""; do 7822 case $cc_temp in 7823 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7824 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7825 \-*) ;; 7826 *) break;; 7827 esac 7828done 7829cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7830 7831 7832# Only perform the check for file, if the check method requires it 7833test -z "$MAGIC_CMD" && MAGIC_CMD=file 7834case $deplibs_check_method in 7835file_magic*) 7836 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7838$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7839if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7840 $as_echo_n "(cached) " >&6 7841else 7842 case $MAGIC_CMD in 7843[\\/*] | ?:[\\/]*) 7844 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7845 ;; 7846*) 7847 lt_save_MAGIC_CMD="$MAGIC_CMD" 7848 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7849 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7850 for ac_dir in $ac_dummy; do 7851 IFS="$lt_save_ifs" 7852 test -z "$ac_dir" && ac_dir=. 7853 if test -f $ac_dir/${ac_tool_prefix}file; then 7854 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7855 if test -n "$file_magic_test_file"; then 7856 case $deplibs_check_method in 7857 "file_magic "*) 7858 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7859 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7860 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7861 $EGREP "$file_magic_regex" > /dev/null; then 7862 : 7863 else 7864 cat <<_LT_EOF 1>&2 7865 7866*** Warning: the command libtool uses to detect shared libraries, 7867*** $file_magic_cmd, produces output that libtool cannot recognize. 7868*** The result is that libtool may fail to recognize shared libraries 7869*** as such. This will affect the creation of libtool libraries that 7870*** depend on shared libraries, but programs linked with such libtool 7871*** libraries will work regardless of this problem. Nevertheless, you 7872*** may want to report the problem to your system manager and/or to 7873*** bug-libtool@gnu.org 7874 7875_LT_EOF 7876 fi ;; 7877 esac 7878 fi 7879 break 7880 fi 7881 done 7882 IFS="$lt_save_ifs" 7883 MAGIC_CMD="$lt_save_MAGIC_CMD" 7884 ;; 7885esac 7886fi 7887 7888MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7889if test -n "$MAGIC_CMD"; then 7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7891$as_echo "$MAGIC_CMD" >&6; } 7892else 7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7894$as_echo "no" >&6; } 7895fi 7896 7897 7898 7899 7900 7901if test -z "$lt_cv_path_MAGIC_CMD"; then 7902 if test -n "$ac_tool_prefix"; then 7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7904$as_echo_n "checking for file... " >&6; } 7905if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7906 $as_echo_n "(cached) " >&6 7907else 7908 case $MAGIC_CMD in 7909[\\/*] | ?:[\\/]*) 7910 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7911 ;; 7912*) 7913 lt_save_MAGIC_CMD="$MAGIC_CMD" 7914 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7915 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7916 for ac_dir in $ac_dummy; do 7917 IFS="$lt_save_ifs" 7918 test -z "$ac_dir" && ac_dir=. 7919 if test -f $ac_dir/file; then 7920 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7921 if test -n "$file_magic_test_file"; then 7922 case $deplibs_check_method in 7923 "file_magic "*) 7924 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7925 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7926 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7927 $EGREP "$file_magic_regex" > /dev/null; then 7928 : 7929 else 7930 cat <<_LT_EOF 1>&2 7931 7932*** Warning: the command libtool uses to detect shared libraries, 7933*** $file_magic_cmd, produces output that libtool cannot recognize. 7934*** The result is that libtool may fail to recognize shared libraries 7935*** as such. This will affect the creation of libtool libraries that 7936*** depend on shared libraries, but programs linked with such libtool 7937*** libraries will work regardless of this problem. Nevertheless, you 7938*** may want to report the problem to your system manager and/or to 7939*** bug-libtool@gnu.org 7940 7941_LT_EOF 7942 fi ;; 7943 esac 7944 fi 7945 break 7946 fi 7947 done 7948 IFS="$lt_save_ifs" 7949 MAGIC_CMD="$lt_save_MAGIC_CMD" 7950 ;; 7951esac 7952fi 7953 7954MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7955if test -n "$MAGIC_CMD"; then 7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7957$as_echo "$MAGIC_CMD" >&6; } 7958else 7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7960$as_echo "no" >&6; } 7961fi 7962 7963 7964 else 7965 MAGIC_CMD=: 7966 fi 7967fi 7968 7969 fi 7970 ;; 7971esac 7972 7973# Use C for the default configuration in the libtool script 7974 7975lt_save_CC="$CC" 7976ac_ext=c 7977ac_cpp='$CPP $CPPFLAGS' 7978ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7979ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7980ac_compiler_gnu=$ac_cv_c_compiler_gnu 7981 7982 7983# Source file extension for C test sources. 7984ac_ext=c 7985 7986# Object file extension for compiled C test sources. 7987objext=o 7988objext=$objext 7989 7990# Code to be used in simple compile tests 7991lt_simple_compile_test_code="int some_variable = 0;" 7992 7993# Code to be used in simple link tests 7994lt_simple_link_test_code='int main(){return(0);}' 7995 7996 7997 7998 7999 8000 8001 8002# If no C compiler was specified, use CC. 8003LTCC=${LTCC-"$CC"} 8004 8005# If no C compiler flags were specified, use CFLAGS. 8006LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8007 8008# Allow CC to be a program name with arguments. 8009compiler=$CC 8010 8011# Save the default compiler, since it gets overwritten when the other 8012# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8013compiler_DEFAULT=$CC 8014 8015# save warnings/boilerplate of simple test code 8016ac_outfile=conftest.$ac_objext 8017echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8018eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8019_lt_compiler_boilerplate=`cat conftest.err` 8020$RM conftest* 8021 8022ac_outfile=conftest.$ac_objext 8023echo "$lt_simple_link_test_code" >conftest.$ac_ext 8024eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8025_lt_linker_boilerplate=`cat conftest.err` 8026$RM -r conftest* 8027 8028 8029if test -n "$compiler"; then 8030 8031lt_prog_compiler_no_builtin_flag= 8032 8033if test "$GCC" = yes; then 8034 case $cc_basename in 8035 nvcc*) 8036 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8037 *) 8038 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8039 esac 8040 8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8042$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8043if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 8044 $as_echo_n "(cached) " >&6 8045else 8046 lt_cv_prog_compiler_rtti_exceptions=no 8047 ac_outfile=conftest.$ac_objext 8048 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8049 lt_compiler_flag="-fno-rtti -fno-exceptions" 8050 # Insert the option either (1) after the last *FLAGS variable, or 8051 # (2) before a word containing "conftest.", or (3) at the end. 8052 # Note that $ac_compile itself does not contain backslashes and begins 8053 # with a dollar sign (not a hyphen), so the echo should work correctly. 8054 # The option is referenced via a variable to avoid confusing sed. 8055 lt_compile=`echo "$ac_compile" | $SED \ 8056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8058 -e 's:$: $lt_compiler_flag:'` 8059 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8060 (eval "$lt_compile" 2>conftest.err) 8061 ac_status=$? 8062 cat conftest.err >&5 8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8064 if (exit $ac_status) && test -s "$ac_outfile"; then 8065 # The compiler can only warn and ignore the option if not recognized 8066 # So say no if there are warnings other than the usual output. 8067 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8068 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8069 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8070 lt_cv_prog_compiler_rtti_exceptions=yes 8071 fi 8072 fi 8073 $RM conftest* 8074 8075fi 8076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8077$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8078 8079if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8080 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8081else 8082 : 8083fi 8084 8085fi 8086 8087 8088 8089 8090 8091 8092 lt_prog_compiler_wl= 8093lt_prog_compiler_pic= 8094lt_prog_compiler_static= 8095 8096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8097$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8098 8099 if test "$GCC" = yes; then 8100 lt_prog_compiler_wl='-Wl,' 8101 lt_prog_compiler_static='-static' 8102 8103 case $host_os in 8104 aix*) 8105 # All AIX code is PIC. 8106 if test "$host_cpu" = ia64; then 8107 # AIX 5 now supports IA64 processor 8108 lt_prog_compiler_static='-Bstatic' 8109 fi 8110 ;; 8111 8112 amigaos*) 8113 case $host_cpu in 8114 powerpc) 8115 # see comment about AmigaOS4 .so support 8116 lt_prog_compiler_pic='-fPIC' 8117 ;; 8118 m68k) 8119 # FIXME: we need at least 68020 code to build shared libraries, but 8120 # adding the `-m68020' flag to GCC prevents building anything better, 8121 # like `-m68040'. 8122 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8123 ;; 8124 esac 8125 ;; 8126 8127 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8128 # PIC is the default for these OSes. 8129 ;; 8130 8131 mingw* | cygwin* | pw32* | os2* | cegcc*) 8132 # This hack is so that the source file can tell whether it is being 8133 # built for inclusion in a dll (and should export symbols for example). 8134 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8135 # (--disable-auto-import) libraries 8136 lt_prog_compiler_pic='-DDLL_EXPORT' 8137 ;; 8138 8139 darwin* | rhapsody*) 8140 # PIC is the default on this platform 8141 # Common symbols not allowed in MH_DYLIB files 8142 lt_prog_compiler_pic='-fno-common' 8143 ;; 8144 8145 haiku*) 8146 # PIC is the default for Haiku. 8147 # The "-static" flag exists, but is broken. 8148 lt_prog_compiler_static= 8149 ;; 8150 8151 hpux*) 8152 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8153 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8154 # sets the default TLS model and affects inlining. 8155 case $host_cpu in 8156 hppa*64*) 8157 # +Z the default 8158 ;; 8159 *) 8160 lt_prog_compiler_pic='-fPIC' 8161 ;; 8162 esac 8163 ;; 8164 8165 interix[3-9]*) 8166 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8167 # Instead, we relocate shared libraries at runtime. 8168 ;; 8169 8170 msdosdjgpp*) 8171 # Just because we use GCC doesn't mean we suddenly get shared libraries 8172 # on systems that don't support them. 8173 lt_prog_compiler_can_build_shared=no 8174 enable_shared=no 8175 ;; 8176 8177 *nto* | *qnx*) 8178 # QNX uses GNU C++, but need to define -shared option too, otherwise 8179 # it will coredump. 8180 lt_prog_compiler_pic='-fPIC -shared' 8181 ;; 8182 8183 sysv4*MP*) 8184 if test -d /usr/nec; then 8185 lt_prog_compiler_pic=-Kconform_pic 8186 fi 8187 ;; 8188 8189 *) 8190 lt_prog_compiler_pic='-fPIC' 8191 ;; 8192 esac 8193 8194 case $cc_basename in 8195 nvcc*) # Cuda Compiler Driver 2.2 8196 lt_prog_compiler_wl='-Xlinker ' 8197 lt_prog_compiler_pic='-Xcompiler -fPIC' 8198 ;; 8199 esac 8200 else 8201 # PORTME Check for flag to pass linker flags through the system compiler. 8202 case $host_os in 8203 aix*) 8204 lt_prog_compiler_wl='-Wl,' 8205 if test "$host_cpu" = ia64; then 8206 # AIX 5 now supports IA64 processor 8207 lt_prog_compiler_static='-Bstatic' 8208 else 8209 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8210 fi 8211 ;; 8212 8213 mingw* | cygwin* | pw32* | os2* | cegcc*) 8214 # This hack is so that the source file can tell whether it is being 8215 # built for inclusion in a dll (and should export symbols for example). 8216 lt_prog_compiler_pic='-DDLL_EXPORT' 8217 ;; 8218 8219 hpux9* | hpux10* | hpux11*) 8220 lt_prog_compiler_wl='-Wl,' 8221 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8222 # not for PA HP-UX. 8223 case $host_cpu in 8224 hppa*64*|ia64*) 8225 # +Z the default 8226 ;; 8227 *) 8228 lt_prog_compiler_pic='+Z' 8229 ;; 8230 esac 8231 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8232 lt_prog_compiler_static='${wl}-a ${wl}archive' 8233 ;; 8234 8235 irix5* | irix6* | nonstopux*) 8236 lt_prog_compiler_wl='-Wl,' 8237 # PIC (with -KPIC) is the default. 8238 lt_prog_compiler_static='-non_shared' 8239 ;; 8240 8241 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8242 case $cc_basename in 8243 # old Intel for x86_64 which still supported -KPIC. 8244 ecc*) 8245 lt_prog_compiler_wl='-Wl,' 8246 lt_prog_compiler_pic='-KPIC' 8247 lt_prog_compiler_static='-static' 8248 ;; 8249 # icc used to be incompatible with GCC. 8250 # ICC 10 doesn't accept -KPIC any more. 8251 icc* | ifort*) 8252 lt_prog_compiler_wl='-Wl,' 8253 lt_prog_compiler_pic='-fPIC' 8254 lt_prog_compiler_static='-static' 8255 ;; 8256 # Lahey Fortran 8.1. 8257 lf95*) 8258 lt_prog_compiler_wl='-Wl,' 8259 lt_prog_compiler_pic='--shared' 8260 lt_prog_compiler_static='--static' 8261 ;; 8262 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8263 # Portland Group compilers (*not* the Pentium gcc compiler, 8264 # which looks to be a dead project) 8265 lt_prog_compiler_wl='-Wl,' 8266 lt_prog_compiler_pic='-fpic' 8267 lt_prog_compiler_static='-Bstatic' 8268 ;; 8269 ccc*) 8270 lt_prog_compiler_wl='-Wl,' 8271 # All Alpha code is PIC. 8272 lt_prog_compiler_static='-non_shared' 8273 ;; 8274 xl* | bgxl* | bgf* | mpixl*) 8275 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8276 lt_prog_compiler_wl='-Wl,' 8277 lt_prog_compiler_pic='-qpic' 8278 lt_prog_compiler_static='-qstaticlink' 8279 ;; 8280 *) 8281 case `$CC -V 2>&1 | sed 5q` in 8282 *Sun\ F* | *Sun*Fortran*) 8283 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8284 lt_prog_compiler_pic='-KPIC' 8285 lt_prog_compiler_static='-Bstatic' 8286 lt_prog_compiler_wl='' 8287 ;; 8288 *Sun\ C*) 8289 # Sun C 5.9 8290 lt_prog_compiler_pic='-KPIC' 8291 lt_prog_compiler_static='-Bstatic' 8292 lt_prog_compiler_wl='-Wl,' 8293 ;; 8294 esac 8295 ;; 8296 esac 8297 ;; 8298 8299 newsos6) 8300 lt_prog_compiler_pic='-KPIC' 8301 lt_prog_compiler_static='-Bstatic' 8302 ;; 8303 8304 *nto* | *qnx*) 8305 # QNX uses GNU C++, but need to define -shared option too, otherwise 8306 # it will coredump. 8307 lt_prog_compiler_pic='-fPIC -shared' 8308 ;; 8309 8310 osf3* | osf4* | osf5*) 8311 lt_prog_compiler_wl='-Wl,' 8312 # All OSF/1 code is PIC. 8313 lt_prog_compiler_static='-non_shared' 8314 ;; 8315 8316 rdos*) 8317 lt_prog_compiler_static='-non_shared' 8318 ;; 8319 8320 solaris*) 8321 lt_prog_compiler_pic='-KPIC' 8322 lt_prog_compiler_static='-Bstatic' 8323 case $cc_basename in 8324 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8325 lt_prog_compiler_wl='-Qoption ld ';; 8326 *) 8327 lt_prog_compiler_wl='-Wl,';; 8328 esac 8329 ;; 8330 8331 sunos4*) 8332 lt_prog_compiler_wl='-Qoption ld ' 8333 lt_prog_compiler_pic='-PIC' 8334 lt_prog_compiler_static='-Bstatic' 8335 ;; 8336 8337 sysv4 | sysv4.2uw2* | sysv4.3*) 8338 lt_prog_compiler_wl='-Wl,' 8339 lt_prog_compiler_pic='-KPIC' 8340 lt_prog_compiler_static='-Bstatic' 8341 ;; 8342 8343 sysv4*MP*) 8344 if test -d /usr/nec ;then 8345 lt_prog_compiler_pic='-Kconform_pic' 8346 lt_prog_compiler_static='-Bstatic' 8347 fi 8348 ;; 8349 8350 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8351 lt_prog_compiler_wl='-Wl,' 8352 lt_prog_compiler_pic='-KPIC' 8353 lt_prog_compiler_static='-Bstatic' 8354 ;; 8355 8356 unicos*) 8357 lt_prog_compiler_wl='-Wl,' 8358 lt_prog_compiler_can_build_shared=no 8359 ;; 8360 8361 uts4*) 8362 lt_prog_compiler_pic='-pic' 8363 lt_prog_compiler_static='-Bstatic' 8364 ;; 8365 8366 *) 8367 lt_prog_compiler_can_build_shared=no 8368 ;; 8369 esac 8370 fi 8371 8372case $host_os in 8373 # For platforms which do not support PIC, -DPIC is meaningless: 8374 *djgpp*) 8375 lt_prog_compiler_pic= 8376 ;; 8377 *) 8378 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8379 ;; 8380esac 8381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 8382$as_echo "$lt_prog_compiler_pic" >&6; } 8383 8384 8385 8386 8387 8388 8389# 8390# Check to make sure the PIC flag actually works. 8391# 8392if test -n "$lt_prog_compiler_pic"; then 8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8394$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8395if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 8396 $as_echo_n "(cached) " >&6 8397else 8398 lt_cv_prog_compiler_pic_works=no 8399 ac_outfile=conftest.$ac_objext 8400 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8401 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8402 # Insert the option either (1) after the last *FLAGS variable, or 8403 # (2) before a word containing "conftest.", or (3) at the end. 8404 # Note that $ac_compile itself does not contain backslashes and begins 8405 # with a dollar sign (not a hyphen), so the echo should work correctly. 8406 # The option is referenced via a variable to avoid confusing sed. 8407 lt_compile=`echo "$ac_compile" | $SED \ 8408 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8410 -e 's:$: $lt_compiler_flag:'` 8411 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8412 (eval "$lt_compile" 2>conftest.err) 8413 ac_status=$? 8414 cat conftest.err >&5 8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8416 if (exit $ac_status) && test -s "$ac_outfile"; then 8417 # The compiler can only warn and ignore the option if not recognized 8418 # So say no if there are warnings other than the usual output. 8419 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8420 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8421 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8422 lt_cv_prog_compiler_pic_works=yes 8423 fi 8424 fi 8425 $RM conftest* 8426 8427fi 8428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8429$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8430 8431if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8432 case $lt_prog_compiler_pic in 8433 "" | " "*) ;; 8434 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8435 esac 8436else 8437 lt_prog_compiler_pic= 8438 lt_prog_compiler_can_build_shared=no 8439fi 8440 8441fi 8442 8443 8444 8445 8446 8447 8448# 8449# Check to make sure the static flag actually works. 8450# 8451wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8453$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8454if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 8455 $as_echo_n "(cached) " >&6 8456else 8457 lt_cv_prog_compiler_static_works=no 8458 save_LDFLAGS="$LDFLAGS" 8459 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 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_static_works=yes 8471 fi 8472 else 8473 lt_cv_prog_compiler_static_works=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_static_works" >&5 8481$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8482 8483if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8484 : 8485else 8486 lt_prog_compiler_static= 8487fi 8488 8489 8490 8491 8492 8493 8494 8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8496$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8497if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8498 $as_echo_n "(cached) " >&6 8499else 8500 lt_cv_prog_compiler_c_o=no 8501 $RM -r conftest 2>/dev/null 8502 mkdir conftest 8503 cd conftest 8504 mkdir out 8505 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8506 8507 lt_compiler_flag="-o out/conftest2.$ac_objext" 8508 # Insert the option either (1) after the last *FLAGS variable, or 8509 # (2) before a word containing "conftest.", or (3) at the end. 8510 # Note that $ac_compile itself does not contain backslashes and begins 8511 # with a dollar sign (not a hyphen), so the echo should work correctly. 8512 lt_compile=`echo "$ac_compile" | $SED \ 8513 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8515 -e 's:$: $lt_compiler_flag:'` 8516 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8517 (eval "$lt_compile" 2>out/conftest.err) 8518 ac_status=$? 8519 cat out/conftest.err >&5 8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8521 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8522 then 8523 # The compiler can only warn and ignore the option if not recognized 8524 # So say no if there are warnings 8525 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8526 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8527 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8528 lt_cv_prog_compiler_c_o=yes 8529 fi 8530 fi 8531 chmod u+w . 2>&5 8532 $RM conftest* 8533 # SGI C++ compiler will create directory out/ii_files/ for 8534 # template instantiation 8535 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8536 $RM out/* && rmdir out 8537 cd .. 8538 $RM -r conftest 8539 $RM conftest* 8540 8541fi 8542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8543$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8544 8545 8546 8547 8548 8549 8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8551$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8552if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8553 $as_echo_n "(cached) " >&6 8554else 8555 lt_cv_prog_compiler_c_o=no 8556 $RM -r conftest 2>/dev/null 8557 mkdir conftest 8558 cd conftest 8559 mkdir out 8560 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8561 8562 lt_compiler_flag="-o out/conftest2.$ac_objext" 8563 # Insert the option either (1) after the last *FLAGS variable, or 8564 # (2) before a word containing "conftest.", or (3) at the end. 8565 # Note that $ac_compile itself does not contain backslashes and begins 8566 # with a dollar sign (not a hyphen), so the echo should work correctly. 8567 lt_compile=`echo "$ac_compile" | $SED \ 8568 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8569 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8570 -e 's:$: $lt_compiler_flag:'` 8571 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8572 (eval "$lt_compile" 2>out/conftest.err) 8573 ac_status=$? 8574 cat out/conftest.err >&5 8575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8576 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8577 then 8578 # The compiler can only warn and ignore the option if not recognized 8579 # So say no if there are warnings 8580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8581 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8582 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8583 lt_cv_prog_compiler_c_o=yes 8584 fi 8585 fi 8586 chmod u+w . 2>&5 8587 $RM conftest* 8588 # SGI C++ compiler will create directory out/ii_files/ for 8589 # template instantiation 8590 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8591 $RM out/* && rmdir out 8592 cd .. 8593 $RM -r conftest 8594 $RM conftest* 8595 8596fi 8597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8598$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8599 8600 8601 8602 8603hard_links="nottested" 8604if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8605 # do not overwrite the value of need_locks provided by the user 8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8607$as_echo_n "checking if we can lock with hard links... " >&6; } 8608 hard_links=yes 8609 $RM conftest* 8610 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8611 touch conftest.a 8612 ln conftest.a conftest.b 2>&5 || hard_links=no 8613 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8615$as_echo "$hard_links" >&6; } 8616 if test "$hard_links" = no; then 8617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8618$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8619 need_locks=warn 8620 fi 8621else 8622 need_locks=no 8623fi 8624 8625 8626 8627 8628 8629 8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8631$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8632 8633 runpath_var= 8634 allow_undefined_flag= 8635 always_export_symbols=no 8636 archive_cmds= 8637 archive_expsym_cmds= 8638 compiler_needs_object=no 8639 enable_shared_with_static_runtimes=no 8640 export_dynamic_flag_spec= 8641 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8642 hardcode_automatic=no 8643 hardcode_direct=no 8644 hardcode_direct_absolute=no 8645 hardcode_libdir_flag_spec= 8646 hardcode_libdir_flag_spec_ld= 8647 hardcode_libdir_separator= 8648 hardcode_minus_L=no 8649 hardcode_shlibpath_var=unsupported 8650 inherit_rpath=no 8651 link_all_deplibs=unknown 8652 module_cmds= 8653 module_expsym_cmds= 8654 old_archive_from_new_cmds= 8655 old_archive_from_expsyms_cmds= 8656 thread_safe_flag_spec= 8657 whole_archive_flag_spec= 8658 # include_expsyms should be a list of space-separated symbols to be *always* 8659 # included in the symbol list 8660 include_expsyms= 8661 # exclude_expsyms can be an extended regexp of symbols to exclude 8662 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8663 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8664 # as well as any symbol that contains `d'. 8665 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8666 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8667 # platforms (ab)use it in PIC code, but their linkers get confused if 8668 # the symbol is explicitly referenced. Since portable code cannot 8669 # rely on this symbol name, it's probably fine to never include it in 8670 # preloaded symbol tables. 8671 # Exclude shared library initialization/finalization symbols. 8672 extract_expsyms_cmds= 8673 8674 case $host_os in 8675 cygwin* | mingw* | pw32* | cegcc*) 8676 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8677 # When not using gcc, we currently assume that we are using 8678 # Microsoft Visual C++. 8679 if test "$GCC" != yes; then 8680 with_gnu_ld=no 8681 fi 8682 ;; 8683 interix*) 8684 # we just hope/assume this is gcc and not c89 (= MSVC++) 8685 with_gnu_ld=yes 8686 ;; 8687 openbsd*) 8688 with_gnu_ld=no 8689 ;; 8690 esac 8691 8692 ld_shlibs=yes 8693 8694 # On some targets, GNU ld is compatible enough with the native linker 8695 # that we're better off using the native interface for both. 8696 lt_use_gnu_ld_interface=no 8697 if test "$with_gnu_ld" = yes; then 8698 case $host_os in 8699 aix*) 8700 # The AIX port of GNU ld has always aspired to compatibility 8701 # with the native linker. However, as the warning in the GNU ld 8702 # block says, versions before 2.19.5* couldn't really create working 8703 # shared libraries, regardless of the interface used. 8704 case `$LD -v 2>&1` in 8705 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8706 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8707 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8708 *) 8709 lt_use_gnu_ld_interface=yes 8710 ;; 8711 esac 8712 ;; 8713 *) 8714 lt_use_gnu_ld_interface=yes 8715 ;; 8716 esac 8717 fi 8718 8719 if test "$lt_use_gnu_ld_interface" = yes; then 8720 # If archive_cmds runs LD, not CC, wlarc should be empty 8721 wlarc='${wl}' 8722 8723 # Set some defaults for GNU ld with shared library support. These 8724 # are reset later if shared libraries are not supported. Putting them 8725 # here allows them to be overridden if necessary. 8726 runpath_var=LD_RUN_PATH 8727 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8728 export_dynamic_flag_spec='${wl}--export-dynamic' 8729 # ancient GNU ld didn't support --whole-archive et. al. 8730 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8731 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8732 else 8733 whole_archive_flag_spec= 8734 fi 8735 supports_anon_versioning=no 8736 case `$LD -v 2>&1` in 8737 *GNU\ gold*) supports_anon_versioning=yes ;; 8738 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8739 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8740 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8741 *\ 2.11.*) ;; # other 2.11 versions 8742 *) supports_anon_versioning=yes ;; 8743 esac 8744 8745 # See if GNU ld supports shared libraries. 8746 case $host_os in 8747 aix[3-9]*) 8748 # On AIX/PPC, the GNU linker is very broken 8749 if test "$host_cpu" != ia64; then 8750 ld_shlibs=no 8751 cat <<_LT_EOF 1>&2 8752 8753*** Warning: the GNU linker, at least up to release 2.19, is reported 8754*** to be unable to reliably create shared libraries on AIX. 8755*** Therefore, libtool is disabling shared libraries support. If you 8756*** really care for shared libraries, you may want to install binutils 8757*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8758*** You will then need to restart the configuration process. 8759 8760_LT_EOF 8761 fi 8762 ;; 8763 8764 amigaos*) 8765 case $host_cpu in 8766 powerpc) 8767 # see comment about AmigaOS4 .so support 8768 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8769 archive_expsym_cmds='' 8770 ;; 8771 m68k) 8772 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)' 8773 hardcode_libdir_flag_spec='-L$libdir' 8774 hardcode_minus_L=yes 8775 ;; 8776 esac 8777 ;; 8778 8779 beos*) 8780 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8781 allow_undefined_flag=unsupported 8782 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8783 # support --undefined. This deserves some investigation. FIXME 8784 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8785 else 8786 ld_shlibs=no 8787 fi 8788 ;; 8789 8790 cygwin* | mingw* | pw32* | cegcc*) 8791 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8792 # as there is no search path for DLLs. 8793 hardcode_libdir_flag_spec='-L$libdir' 8794 export_dynamic_flag_spec='${wl}--export-all-symbols' 8795 allow_undefined_flag=unsupported 8796 always_export_symbols=no 8797 enable_shared_with_static_runtimes=yes 8798 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8799 8800 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8801 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8802 # If the export-symbols file already is a .def file (1st line 8803 # is EXPORTS), use it as is; otherwise, prepend... 8804 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8805 cp $export_symbols $output_objdir/$soname.def; 8806 else 8807 echo EXPORTS > $output_objdir/$soname.def; 8808 cat $export_symbols >> $output_objdir/$soname.def; 8809 fi~ 8810 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8811 else 8812 ld_shlibs=no 8813 fi 8814 ;; 8815 8816 haiku*) 8817 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8818 link_all_deplibs=yes 8819 ;; 8820 8821 interix[3-9]*) 8822 hardcode_direct=no 8823 hardcode_shlibpath_var=no 8824 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8825 export_dynamic_flag_spec='${wl}-E' 8826 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8827 # Instead, shared libraries are loaded at an image base (0x10000000 by 8828 # default) and relocated if they conflict, which is a slow very memory 8829 # consuming and fragmenting process. To avoid this, we pick a random, 8830 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8831 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8832 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8833 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' 8834 ;; 8835 8836 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8837 tmp_diet=no 8838 if test "$host_os" = linux-dietlibc; then 8839 case $cc_basename in 8840 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8841 esac 8842 fi 8843 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8844 && test "$tmp_diet" = no 8845 then 8846 tmp_addflag= 8847 tmp_sharedflag='-shared' 8848 case $cc_basename,$host_cpu in 8849 pgcc*) # Portland Group C compiler 8850 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' 8851 tmp_addflag=' $pic_flag' 8852 ;; 8853 pgf77* | pgf90* | pgf95* | pgfortran*) 8854 # Portland Group f77 and f90 compilers 8855 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' 8856 tmp_addflag=' $pic_flag -Mnomain' ;; 8857 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8858 tmp_addflag=' -i_dynamic' ;; 8859 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8860 tmp_addflag=' -i_dynamic -nofor_main' ;; 8861 ifc* | ifort*) # Intel Fortran compiler 8862 tmp_addflag=' -nofor_main' ;; 8863 lf95*) # Lahey Fortran 8.1 8864 whole_archive_flag_spec= 8865 tmp_sharedflag='--shared' ;; 8866 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8867 tmp_sharedflag='-qmkshrobj' 8868 tmp_addflag= ;; 8869 nvcc*) # Cuda Compiler Driver 2.2 8870 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' 8871 compiler_needs_object=yes 8872 ;; 8873 esac 8874 case `$CC -V 2>&1 | sed 5q` in 8875 *Sun\ C*) # Sun C 5.9 8876 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' 8877 compiler_needs_object=yes 8878 tmp_sharedflag='-G' ;; 8879 *Sun\ F*) # Sun Fortran 8.3 8880 tmp_sharedflag='-G' ;; 8881 esac 8882 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8883 8884 if test "x$supports_anon_versioning" = xyes; then 8885 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8886 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8887 echo "local: *; };" >> $output_objdir/$libname.ver~ 8888 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8889 fi 8890 8891 case $cc_basename in 8892 xlf* | bgf* | bgxlf* | mpixlf*) 8893 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8894 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8895 hardcode_libdir_flag_spec= 8896 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8897 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8898 if test "x$supports_anon_versioning" = xyes; then 8899 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8900 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8901 echo "local: *; };" >> $output_objdir/$libname.ver~ 8902 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8903 fi 8904 ;; 8905 esac 8906 else 8907 ld_shlibs=no 8908 fi 8909 ;; 8910 8911 netbsd*) 8912 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8913 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8914 wlarc= 8915 else 8916 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8917 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8918 fi 8919 ;; 8920 8921 solaris*) 8922 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8923 ld_shlibs=no 8924 cat <<_LT_EOF 1>&2 8925 8926*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8927*** create shared libraries on Solaris systems. Therefore, libtool 8928*** is disabling shared libraries support. We urge you to upgrade GNU 8929*** binutils to release 2.9.1 or newer. Another option is to modify 8930*** your PATH or compiler configuration so that the native linker is 8931*** used, and then restart. 8932 8933_LT_EOF 8934 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8935 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8936 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8937 else 8938 ld_shlibs=no 8939 fi 8940 ;; 8941 8942 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8943 case `$LD -v 2>&1` in 8944 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8945 ld_shlibs=no 8946 cat <<_LT_EOF 1>&2 8947 8948*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8949*** reliably create shared libraries on SCO systems. Therefore, libtool 8950*** is disabling shared libraries support. We urge you to upgrade GNU 8951*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8952*** your PATH or compiler configuration so that the native linker is 8953*** used, and then restart. 8954 8955_LT_EOF 8956 ;; 8957 *) 8958 # For security reasons, it is highly recommended that you always 8959 # use absolute paths for naming shared libraries, and exclude the 8960 # DT_RUNPATH tag from executables and libraries. But doing so 8961 # requires that you compile everything twice, which is a pain. 8962 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8963 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8964 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8965 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8966 else 8967 ld_shlibs=no 8968 fi 8969 ;; 8970 esac 8971 ;; 8972 8973 sunos4*) 8974 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8975 wlarc= 8976 hardcode_direct=yes 8977 hardcode_shlibpath_var=no 8978 ;; 8979 8980 *) 8981 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8982 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8983 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8984 else 8985 ld_shlibs=no 8986 fi 8987 ;; 8988 esac 8989 8990 if test "$ld_shlibs" = no; then 8991 runpath_var= 8992 hardcode_libdir_flag_spec= 8993 export_dynamic_flag_spec= 8994 whole_archive_flag_spec= 8995 fi 8996 else 8997 # PORTME fill in a description of your system's linker (not GNU ld) 8998 case $host_os in 8999 aix3*) 9000 allow_undefined_flag=unsupported 9001 always_export_symbols=yes 9002 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' 9003 # Note: this linker hardcodes the directories in LIBPATH if there 9004 # are no directories specified by -L. 9005 hardcode_minus_L=yes 9006 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9007 # Neither direct hardcoding nor static linking is supported with a 9008 # broken collect2. 9009 hardcode_direct=unsupported 9010 fi 9011 ;; 9012 9013 aix[4-9]*) 9014 if test "$host_cpu" = ia64; then 9015 # On IA64, the linker does run time linking by default, so we don't 9016 # have to do anything special. 9017 aix_use_runtimelinking=no 9018 exp_sym_flag='-Bexport' 9019 no_entry_flag="" 9020 else 9021 # If we're using GNU nm, then we don't want the "-C" option. 9022 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9023 # Also, AIX nm treats weak defined symbols like other global 9024 # defined symbols, whereas GNU nm marks them as "W". 9025 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9026 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' 9027 else 9028 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' 9029 fi 9030 aix_use_runtimelinking=no 9031 9032 # Test if we are trying to use run time linking or normal 9033 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9034 # need to do runtime linking. 9035 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9036 for ld_flag in $LDFLAGS; do 9037 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9038 aix_use_runtimelinking=yes 9039 break 9040 fi 9041 done 9042 ;; 9043 esac 9044 9045 exp_sym_flag='-bexport' 9046 no_entry_flag='-bnoentry' 9047 fi 9048 9049 # When large executables or shared objects are built, AIX ld can 9050 # have problems creating the table of contents. If linking a library 9051 # or program results in "error TOC overflow" add -mminimal-toc to 9052 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9053 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9054 9055 archive_cmds='' 9056 hardcode_direct=yes 9057 hardcode_direct_absolute=yes 9058 hardcode_libdir_separator=':' 9059 link_all_deplibs=yes 9060 file_list_spec='${wl}-f,' 9061 9062 if test "$GCC" = yes; then 9063 case $host_os in aix4.[012]|aix4.[012].*) 9064 # We only want to do this on AIX 4.2 and lower, the check 9065 # below for broken collect2 doesn't work under 4.3+ 9066 collect2name=`${CC} -print-prog-name=collect2` 9067 if test -f "$collect2name" && 9068 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9069 then 9070 # We have reworked collect2 9071 : 9072 else 9073 # We have old collect2 9074 hardcode_direct=unsupported 9075 # It fails to find uninstalled libraries when the uninstalled 9076 # path is not listed in the libpath. Setting hardcode_minus_L 9077 # to unsupported forces relinking 9078 hardcode_minus_L=yes 9079 hardcode_libdir_flag_spec='-L$libdir' 9080 hardcode_libdir_separator= 9081 fi 9082 ;; 9083 esac 9084 shared_flag='-shared' 9085 if test "$aix_use_runtimelinking" = yes; then 9086 shared_flag="$shared_flag "'${wl}-G' 9087 fi 9088 else 9089 # not using gcc 9090 if test "$host_cpu" = ia64; then 9091 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9092 # chokes on -Wl,-G. The following line is correct: 9093 shared_flag='-G' 9094 else 9095 if test "$aix_use_runtimelinking" = yes; then 9096 shared_flag='${wl}-G' 9097 else 9098 shared_flag='${wl}-bM:SRE' 9099 fi 9100 fi 9101 fi 9102 9103 export_dynamic_flag_spec='${wl}-bexpall' 9104 # It seems that -bexpall does not export symbols beginning with 9105 # underscore (_), so it is better to generate a list of symbols to export. 9106 always_export_symbols=yes 9107 if test "$aix_use_runtimelinking" = yes; then 9108 # Warning - without using the other runtime loading flags (-brtl), 9109 # -berok will link without error, but may produce a broken library. 9110 allow_undefined_flag='-berok' 9111 # Determine the default libpath from the value encoded in an 9112 # empty executable. 9113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9114/* end confdefs.h. */ 9115 9116int 9117main () 9118{ 9119 9120 ; 9121 return 0; 9122} 9123_ACEOF 9124if ac_fn_c_try_link "$LINENO"; then : 9125 9126lt_aix_libpath_sed=' 9127 /Import File Strings/,/^$/ { 9128 /^0/ { 9129 s/^0 *\(.*\)$/\1/ 9130 p 9131 } 9132 }' 9133aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9134# Check for a 64-bit object if we didn't find anything. 9135if test -z "$aix_libpath"; then 9136 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9137fi 9138fi 9139rm -f core conftest.err conftest.$ac_objext \ 9140 conftest$ac_exeext conftest.$ac_ext 9141if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9142 9143 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9144 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" 9145 else 9146 if test "$host_cpu" = ia64; then 9147 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9148 allow_undefined_flag="-z nodefs" 9149 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" 9150 else 9151 # Determine the default libpath from the value encoded in an 9152 # empty executable. 9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9154/* end confdefs.h. */ 9155 9156int 9157main () 9158{ 9159 9160 ; 9161 return 0; 9162} 9163_ACEOF 9164if ac_fn_c_try_link "$LINENO"; then : 9165 9166lt_aix_libpath_sed=' 9167 /Import File Strings/,/^$/ { 9168 /^0/ { 9169 s/^0 *\(.*\)$/\1/ 9170 p 9171 } 9172 }' 9173aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9174# Check for a 64-bit object if we didn't find anything. 9175if test -z "$aix_libpath"; then 9176 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9177fi 9178fi 9179rm -f core conftest.err conftest.$ac_objext \ 9180 conftest$ac_exeext conftest.$ac_ext 9181if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9182 9183 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9184 # Warning - without using the other run time loading flags, 9185 # -berok will link without error, but may produce a broken library. 9186 no_undefined_flag=' ${wl}-bernotok' 9187 allow_undefined_flag=' ${wl}-berok' 9188 if test "$with_gnu_ld" = yes; then 9189 # We only use this code for GNU lds that support --whole-archive. 9190 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9191 else 9192 # Exported symbols can be pulled into shared objects from archives 9193 whole_archive_flag_spec='$convenience' 9194 fi 9195 archive_cmds_need_lc=yes 9196 # This is similar to how AIX traditionally builds its shared libraries. 9197 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' 9198 fi 9199 fi 9200 ;; 9201 9202 amigaos*) 9203 case $host_cpu in 9204 powerpc) 9205 # see comment about AmigaOS4 .so support 9206 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9207 archive_expsym_cmds='' 9208 ;; 9209 m68k) 9210 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)' 9211 hardcode_libdir_flag_spec='-L$libdir' 9212 hardcode_minus_L=yes 9213 ;; 9214 esac 9215 ;; 9216 9217 bsdi[45]*) 9218 export_dynamic_flag_spec=-rdynamic 9219 ;; 9220 9221 cygwin* | mingw* | pw32* | cegcc*) 9222 # When not using gcc, we currently assume that we are using 9223 # Microsoft Visual C++. 9224 # hardcode_libdir_flag_spec is actually meaningless, as there is 9225 # no search path for DLLs. 9226 hardcode_libdir_flag_spec=' ' 9227 allow_undefined_flag=unsupported 9228 # Tell ltmain to make .lib files, not .a files. 9229 libext=lib 9230 # Tell ltmain to make .dll files, not .so files. 9231 shrext_cmds=".dll" 9232 # FIXME: Setting linknames here is a bad hack. 9233 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9234 # The linker will automatically build a .lib file if we build a DLL. 9235 old_archive_from_new_cmds='true' 9236 # FIXME: Should let the user specify the lib program. 9237 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9238 fix_srcfile_path='`cygpath -w "$srcfile"`' 9239 enable_shared_with_static_runtimes=yes 9240 ;; 9241 9242 darwin* | rhapsody*) 9243 9244 9245 archive_cmds_need_lc=no 9246 hardcode_direct=no 9247 hardcode_automatic=yes 9248 hardcode_shlibpath_var=unsupported 9249 if test "$lt_cv_ld_force_load" = "yes"; then 9250 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\"`' 9251 else 9252 whole_archive_flag_spec='' 9253 fi 9254 link_all_deplibs=yes 9255 allow_undefined_flag="$_lt_dar_allow_undefined" 9256 case $cc_basename in 9257 ifort*) _lt_dar_can_shared=yes ;; 9258 *) _lt_dar_can_shared=$GCC ;; 9259 esac 9260 if test "$_lt_dar_can_shared" = "yes"; then 9261 output_verbose_link_cmd=func_echo_all 9262 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9263 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9264 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}" 9265 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}" 9266 9267 else 9268 ld_shlibs=no 9269 fi 9270 9271 ;; 9272 9273 dgux*) 9274 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9275 hardcode_libdir_flag_spec='-L$libdir' 9276 hardcode_shlibpath_var=no 9277 ;; 9278 9279 freebsd1*) 9280 ld_shlibs=no 9281 ;; 9282 9283 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9284 # support. Future versions do this automatically, but an explicit c++rt0.o 9285 # does not break anything, and helps significantly (at the cost of a little 9286 # extra space). 9287 freebsd2.2*) 9288 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9289 hardcode_libdir_flag_spec='-R$libdir' 9290 hardcode_direct=yes 9291 hardcode_shlibpath_var=no 9292 ;; 9293 9294 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9295 freebsd2*) 9296 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9297 hardcode_direct=yes 9298 hardcode_minus_L=yes 9299 hardcode_shlibpath_var=no 9300 ;; 9301 9302 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9303 freebsd* | dragonfly*) 9304 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9305 hardcode_libdir_flag_spec='-R$libdir' 9306 hardcode_direct=yes 9307 hardcode_shlibpath_var=no 9308 ;; 9309 9310 hpux9*) 9311 if test "$GCC" = yes; then 9312 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' 9313 else 9314 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' 9315 fi 9316 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9317 hardcode_libdir_separator=: 9318 hardcode_direct=yes 9319 9320 # hardcode_minus_L: Not really in the search PATH, 9321 # but as the default location of the library. 9322 hardcode_minus_L=yes 9323 export_dynamic_flag_spec='${wl}-E' 9324 ;; 9325 9326 hpux10*) 9327 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9328 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9329 else 9330 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9331 fi 9332 if test "$with_gnu_ld" = no; then 9333 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9334 hardcode_libdir_flag_spec_ld='+b $libdir' 9335 hardcode_libdir_separator=: 9336 hardcode_direct=yes 9337 hardcode_direct_absolute=yes 9338 export_dynamic_flag_spec='${wl}-E' 9339 # hardcode_minus_L: Not really in the search PATH, 9340 # but as the default location of the library. 9341 hardcode_minus_L=yes 9342 fi 9343 ;; 9344 9345 hpux11*) 9346 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9347 case $host_cpu in 9348 hppa*64*) 9349 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9350 ;; 9351 ia64*) 9352 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9353 ;; 9354 *) 9355 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9356 ;; 9357 esac 9358 else 9359 case $host_cpu in 9360 hppa*64*) 9361 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9362 ;; 9363 ia64*) 9364 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9365 ;; 9366 *) 9367 9368 # Older versions of the 11.00 compiler do not understand -b yet 9369 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9371$as_echo_n "checking if $CC understands -b... " >&6; } 9372if test "${lt_cv_prog_compiler__b+set}" = set; then : 9373 $as_echo_n "(cached) " >&6 9374else 9375 lt_cv_prog_compiler__b=no 9376 save_LDFLAGS="$LDFLAGS" 9377 LDFLAGS="$LDFLAGS -b" 9378 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9379 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9380 # The linker can only warn and ignore the option if not recognized 9381 # So say no if there are warnings 9382 if test -s conftest.err; then 9383 # Append any errors to the config.log. 9384 cat conftest.err 1>&5 9385 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9386 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9387 if diff conftest.exp conftest.er2 >/dev/null; then 9388 lt_cv_prog_compiler__b=yes 9389 fi 9390 else 9391 lt_cv_prog_compiler__b=yes 9392 fi 9393 fi 9394 $RM -r conftest* 9395 LDFLAGS="$save_LDFLAGS" 9396 9397fi 9398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9399$as_echo "$lt_cv_prog_compiler__b" >&6; } 9400 9401if test x"$lt_cv_prog_compiler__b" = xyes; then 9402 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9403else 9404 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9405fi 9406 9407 ;; 9408 esac 9409 fi 9410 if test "$with_gnu_ld" = no; then 9411 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9412 hardcode_libdir_separator=: 9413 9414 case $host_cpu in 9415 hppa*64*|ia64*) 9416 hardcode_direct=no 9417 hardcode_shlibpath_var=no 9418 ;; 9419 *) 9420 hardcode_direct=yes 9421 hardcode_direct_absolute=yes 9422 export_dynamic_flag_spec='${wl}-E' 9423 9424 # hardcode_minus_L: Not really in the search PATH, 9425 # but as the default location of the library. 9426 hardcode_minus_L=yes 9427 ;; 9428 esac 9429 fi 9430 ;; 9431 9432 irix5* | irix6* | nonstopux*) 9433 if test "$GCC" = yes; then 9434 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' 9435 # Try to use the -exported_symbol ld option, if it does not 9436 # work, assume that -exports_file does not work either and 9437 # implicitly export all symbols. 9438 save_LDFLAGS="$LDFLAGS" 9439 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9441/* end confdefs.h. */ 9442int foo(void) {} 9443_ACEOF 9444if ac_fn_c_try_link "$LINENO"; then : 9445 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' 9446 9447fi 9448rm -f core conftest.err conftest.$ac_objext \ 9449 conftest$ac_exeext conftest.$ac_ext 9450 LDFLAGS="$save_LDFLAGS" 9451 else 9452 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' 9453 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' 9454 fi 9455 archive_cmds_need_lc='no' 9456 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9457 hardcode_libdir_separator=: 9458 inherit_rpath=yes 9459 link_all_deplibs=yes 9460 ;; 9461 9462 netbsd*) 9463 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9464 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9465 else 9466 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9467 fi 9468 hardcode_libdir_flag_spec='-R$libdir' 9469 hardcode_direct=yes 9470 hardcode_shlibpath_var=no 9471 ;; 9472 9473 newsos6) 9474 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9475 hardcode_direct=yes 9476 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9477 hardcode_libdir_separator=: 9478 hardcode_shlibpath_var=no 9479 ;; 9480 9481 *nto* | *qnx*) 9482 ;; 9483 9484 openbsd*) 9485 if test -f /usr/libexec/ld.so; then 9486 hardcode_direct=yes 9487 hardcode_shlibpath_var=no 9488 hardcode_direct_absolute=yes 9489 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9490 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9491 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9492 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9493 export_dynamic_flag_spec='${wl}-E' 9494 else 9495 case $host_os in 9496 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9497 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9498 hardcode_libdir_flag_spec='-R$libdir' 9499 ;; 9500 *) 9501 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9502 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9503 ;; 9504 esac 9505 fi 9506 else 9507 ld_shlibs=no 9508 fi 9509 ;; 9510 9511 os2*) 9512 hardcode_libdir_flag_spec='-L$libdir' 9513 hardcode_minus_L=yes 9514 allow_undefined_flag=unsupported 9515 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' 9516 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9517 ;; 9518 9519 osf3*) 9520 if test "$GCC" = yes; then 9521 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9522 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' 9523 else 9524 allow_undefined_flag=' -expect_unresolved \*' 9525 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' 9526 fi 9527 archive_cmds_need_lc='no' 9528 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9529 hardcode_libdir_separator=: 9530 ;; 9531 9532 osf4* | osf5*) # as osf3* with the addition of -msym flag 9533 if test "$GCC" = yes; then 9534 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9535 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' 9536 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9537 else 9538 allow_undefined_flag=' -expect_unresolved \*' 9539 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' 9540 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~ 9541 $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' 9542 9543 # Both c and cxx compiler support -rpath directly 9544 hardcode_libdir_flag_spec='-rpath $libdir' 9545 fi 9546 archive_cmds_need_lc='no' 9547 hardcode_libdir_separator=: 9548 ;; 9549 9550 solaris*) 9551 no_undefined_flag=' -z defs' 9552 if test "$GCC" = yes; then 9553 wlarc='${wl}' 9554 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9555 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9556 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9557 else 9558 case `$CC -V 2>&1` in 9559 *"Compilers 5.0"*) 9560 wlarc='' 9561 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9562 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9563 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9564 ;; 9565 *) 9566 wlarc='${wl}' 9567 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9568 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9569 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9570 ;; 9571 esac 9572 fi 9573 hardcode_libdir_flag_spec='-R$libdir' 9574 hardcode_shlibpath_var=no 9575 case $host_os in 9576 solaris2.[0-5] | solaris2.[0-5].*) ;; 9577 *) 9578 # The compiler driver will combine and reorder linker options, 9579 # but understands `-z linker_flag'. GCC discards it without `$wl', 9580 # but is careful enough not to reorder. 9581 # Supported since Solaris 2.6 (maybe 2.5.1?) 9582 if test "$GCC" = yes; then 9583 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9584 else 9585 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9586 fi 9587 ;; 9588 esac 9589 link_all_deplibs=yes 9590 ;; 9591 9592 sunos4*) 9593 if test "x$host_vendor" = xsequent; then 9594 # Use $CC to link under sequent, because it throws in some extra .o 9595 # files that make .init and .fini sections work. 9596 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9597 else 9598 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9599 fi 9600 hardcode_libdir_flag_spec='-L$libdir' 9601 hardcode_direct=yes 9602 hardcode_minus_L=yes 9603 hardcode_shlibpath_var=no 9604 ;; 9605 9606 sysv4) 9607 case $host_vendor in 9608 sni) 9609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9610 hardcode_direct=yes # is this really true??? 9611 ;; 9612 siemens) 9613 ## LD is ld it makes a PLAMLIB 9614 ## CC just makes a GrossModule. 9615 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9616 reload_cmds='$CC -r -o $output$reload_objs' 9617 hardcode_direct=no 9618 ;; 9619 motorola) 9620 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9621 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9622 ;; 9623 esac 9624 runpath_var='LD_RUN_PATH' 9625 hardcode_shlibpath_var=no 9626 ;; 9627 9628 sysv4.3*) 9629 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9630 hardcode_shlibpath_var=no 9631 export_dynamic_flag_spec='-Bexport' 9632 ;; 9633 9634 sysv4*MP*) 9635 if test -d /usr/nec; then 9636 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9637 hardcode_shlibpath_var=no 9638 runpath_var=LD_RUN_PATH 9639 hardcode_runpath_var=yes 9640 ld_shlibs=yes 9641 fi 9642 ;; 9643 9644 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9645 no_undefined_flag='${wl}-z,text' 9646 archive_cmds_need_lc=no 9647 hardcode_shlibpath_var=no 9648 runpath_var='LD_RUN_PATH' 9649 9650 if test "$GCC" = yes; then 9651 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9652 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9653 else 9654 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9655 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9656 fi 9657 ;; 9658 9659 sysv5* | sco3.2v5* | sco5v6*) 9660 # Note: We can NOT use -z defs as we might desire, because we do not 9661 # link with -lc, and that would cause any symbols used from libc to 9662 # always be unresolved, which means just about no library would 9663 # ever link correctly. If we're not using GNU ld we use -z text 9664 # though, which does catch some bad symbols but isn't as heavy-handed 9665 # as -z defs. 9666 no_undefined_flag='${wl}-z,text' 9667 allow_undefined_flag='${wl}-z,nodefs' 9668 archive_cmds_need_lc=no 9669 hardcode_shlibpath_var=no 9670 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9671 hardcode_libdir_separator=':' 9672 link_all_deplibs=yes 9673 export_dynamic_flag_spec='${wl}-Bexport' 9674 runpath_var='LD_RUN_PATH' 9675 9676 if test "$GCC" = yes; then 9677 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9678 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9679 else 9680 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9681 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9682 fi 9683 ;; 9684 9685 uts4*) 9686 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9687 hardcode_libdir_flag_spec='-L$libdir' 9688 hardcode_shlibpath_var=no 9689 ;; 9690 9691 *) 9692 ld_shlibs=no 9693 ;; 9694 esac 9695 9696 if test x$host_vendor = xsni; then 9697 case $host in 9698 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9699 export_dynamic_flag_spec='${wl}-Blargedynsym' 9700 ;; 9701 esac 9702 fi 9703 fi 9704 9705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9706$as_echo "$ld_shlibs" >&6; } 9707test "$ld_shlibs" = no && can_build_shared=no 9708 9709with_gnu_ld=$with_gnu_ld 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725# 9726# Do we need to explicitly link libc? 9727# 9728case "x$archive_cmds_need_lc" in 9729x|xyes) 9730 # Assume -lc should be added 9731 archive_cmds_need_lc=yes 9732 9733 if test "$enable_shared" = yes && test "$GCC" = yes; then 9734 case $archive_cmds in 9735 *'~'*) 9736 # FIXME: we may have to deal with multi-command sequences. 9737 ;; 9738 '$CC '*) 9739 # Test whether the compiler implicitly links with -lc since on some 9740 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9741 # to ld, don't add -lc before -lgcc. 9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9743$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9744if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : 9745 $as_echo_n "(cached) " >&6 9746else 9747 $RM conftest* 9748 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9749 9750 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9751 (eval $ac_compile) 2>&5 9752 ac_status=$? 9753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9754 test $ac_status = 0; } 2>conftest.err; then 9755 soname=conftest 9756 lib=conftest 9757 libobjs=conftest.$ac_objext 9758 deplibs= 9759 wl=$lt_prog_compiler_wl 9760 pic_flag=$lt_prog_compiler_pic 9761 compiler_flags=-v 9762 linker_flags=-v 9763 verstring= 9764 output_objdir=. 9765 libname=conftest 9766 lt_save_allow_undefined_flag=$allow_undefined_flag 9767 allow_undefined_flag= 9768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9769 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9770 ac_status=$? 9771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9772 test $ac_status = 0; } 9773 then 9774 lt_cv_archive_cmds_need_lc=no 9775 else 9776 lt_cv_archive_cmds_need_lc=yes 9777 fi 9778 allow_undefined_flag=$lt_save_allow_undefined_flag 9779 else 9780 cat conftest.err 1>&5 9781 fi 9782 $RM conftest* 9783 9784fi 9785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9786$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9787 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9788 ;; 9789 esac 9790 fi 9791 ;; 9792esac 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 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9951$as_echo_n "checking dynamic linker characteristics... " >&6; } 9952 9953if test "$GCC" = yes; then 9954 case $host_os in 9955 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9956 *) lt_awk_arg="/^libraries:/" ;; 9957 esac 9958 case $host_os in 9959 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 9960 *) lt_sed_strip_eq="s,=/,/,g" ;; 9961 esac 9962 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9963 case $lt_search_path_spec in 9964 *\;*) 9965 # if the path contains ";" then we assume it to be the separator 9966 # otherwise default to the standard path separator (i.e. ":") - it is 9967 # assumed that no part of a normal pathname contains ";" but that should 9968 # okay in the real world where ";" in dirpaths is itself problematic. 9969 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 9970 ;; 9971 *) 9972 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 9973 ;; 9974 esac 9975 # Ok, now we have the path, separated by spaces, we can step through it 9976 # and add multilib dir if necessary. 9977 lt_tmp_lt_search_path_spec= 9978 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9979 for lt_sys_path in $lt_search_path_spec; do 9980 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9981 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9982 else 9983 test -d "$lt_sys_path" && \ 9984 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9985 fi 9986 done 9987 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 9988BEGIN {RS=" "; FS="/|\n";} { 9989 lt_foo=""; 9990 lt_count=0; 9991 for (lt_i = NF; lt_i > 0; lt_i--) { 9992 if ($lt_i != "" && $lt_i != ".") { 9993 if ($lt_i == "..") { 9994 lt_count++; 9995 } else { 9996 if (lt_count == 0) { 9997 lt_foo="/" $lt_i lt_foo; 9998 } else { 9999 lt_count--; 10000 } 10001 } 10002 } 10003 } 10004 if (lt_foo != "") { lt_freq[lt_foo]++; } 10005 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10006}'` 10007 # AWK program above erroneously prepends '/' to C:/dos/paths 10008 # for these hosts. 10009 case $host_os in 10010 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10011 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10012 esac 10013 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10014else 10015 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10016fi 10017library_names_spec= 10018libname_spec='lib$name' 10019soname_spec= 10020shrext_cmds=".so" 10021postinstall_cmds= 10022postuninstall_cmds= 10023finish_cmds= 10024finish_eval= 10025shlibpath_var= 10026shlibpath_overrides_runpath=unknown 10027version_type=none 10028dynamic_linker="$host_os ld.so" 10029sys_lib_dlsearch_path_spec="/lib /usr/lib" 10030need_lib_prefix=unknown 10031hardcode_into_libs=no 10032 10033# when you set need_version to no, make sure it does not cause -set_version 10034# flags to be left without arguments 10035need_version=unknown 10036 10037case $host_os in 10038aix3*) 10039 version_type=linux 10040 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10041 shlibpath_var=LIBPATH 10042 10043 # AIX 3 has no versioning support, so we append a major version to the name. 10044 soname_spec='${libname}${release}${shared_ext}$major' 10045 ;; 10046 10047aix[4-9]*) 10048 version_type=linux 10049 need_lib_prefix=no 10050 need_version=no 10051 hardcode_into_libs=yes 10052 if test "$host_cpu" = ia64; then 10053 # AIX 5 supports IA64 10054 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10055 shlibpath_var=LD_LIBRARY_PATH 10056 else 10057 # With GCC up to 2.95.x, collect2 would create an import file 10058 # for dependence libraries. The import file would start with 10059 # the line `#! .'. This would cause the generated library to 10060 # depend on `.', always an invalid library. This was fixed in 10061 # development snapshots of GCC prior to 3.0. 10062 case $host_os in 10063 aix4 | aix4.[01] | aix4.[01].*) 10064 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10065 echo ' yes ' 10066 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10067 : 10068 else 10069 can_build_shared=no 10070 fi 10071 ;; 10072 esac 10073 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10074 # soname into executable. Probably we can add versioning support to 10075 # collect2, so additional links can be useful in future. 10076 if test "$aix_use_runtimelinking" = yes; then 10077 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10078 # instead of lib<name>.a to let people know that these are not 10079 # typical AIX shared libraries. 10080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10081 else 10082 # We preserve .a as extension for shared libraries through AIX4.2 10083 # and later when we are not doing run time linking. 10084 library_names_spec='${libname}${release}.a $libname.a' 10085 soname_spec='${libname}${release}${shared_ext}$major' 10086 fi 10087 shlibpath_var=LIBPATH 10088 fi 10089 ;; 10090 10091amigaos*) 10092 case $host_cpu in 10093 powerpc) 10094 # Since July 2007 AmigaOS4 officially supports .so libraries. 10095 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10097 ;; 10098 m68k) 10099 library_names_spec='$libname.ixlibrary $libname.a' 10100 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10101 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' 10102 ;; 10103 esac 10104 ;; 10105 10106beos*) 10107 library_names_spec='${libname}${shared_ext}' 10108 dynamic_linker="$host_os ld.so" 10109 shlibpath_var=LIBRARY_PATH 10110 ;; 10111 10112bsdi[45]*) 10113 version_type=linux 10114 need_version=no 10115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10116 soname_spec='${libname}${release}${shared_ext}$major' 10117 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10118 shlibpath_var=LD_LIBRARY_PATH 10119 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10120 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10121 # the default ld.so.conf also contains /usr/contrib/lib and 10122 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10123 # libtool to hard-code these into programs 10124 ;; 10125 10126cygwin* | mingw* | pw32* | cegcc*) 10127 version_type=windows 10128 shrext_cmds=".dll" 10129 need_version=no 10130 need_lib_prefix=no 10131 10132 case $GCC,$host_os in 10133 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 10134 library_names_spec='$libname.dll.a' 10135 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10136 postinstall_cmds='base_file=`basename \${file}`~ 10137 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10138 dldir=$destdir/`dirname \$dlpath`~ 10139 test -d \$dldir || mkdir -p \$dldir~ 10140 $install_prog $dir/$dlname \$dldir/$dlname~ 10141 chmod a+x \$dldir/$dlname~ 10142 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10143 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10144 fi' 10145 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10146 dlpath=$dir/\$dldll~ 10147 $RM \$dlpath' 10148 shlibpath_overrides_runpath=yes 10149 10150 case $host_os in 10151 cygwin*) 10152 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10153 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10154 10155 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10156 ;; 10157 mingw* | cegcc*) 10158 # MinGW DLLs use traditional 'lib' prefix 10159 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10160 ;; 10161 pw32*) 10162 # pw32 DLLs use 'pw' prefix rather than 'lib' 10163 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10164 ;; 10165 esac 10166 ;; 10167 10168 *) 10169 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10170 ;; 10171 esac 10172 dynamic_linker='Win32 ld.exe' 10173 # FIXME: first we should search . and the directory the executable is in 10174 shlibpath_var=PATH 10175 ;; 10176 10177darwin* | rhapsody*) 10178 dynamic_linker="$host_os dyld" 10179 version_type=darwin 10180 need_lib_prefix=no 10181 need_version=no 10182 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10183 soname_spec='${libname}${release}${major}$shared_ext' 10184 shlibpath_overrides_runpath=yes 10185 shlibpath_var=DYLD_LIBRARY_PATH 10186 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10187 10188 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10189 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10190 ;; 10191 10192dgux*) 10193 version_type=linux 10194 need_lib_prefix=no 10195 need_version=no 10196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10197 soname_spec='${libname}${release}${shared_ext}$major' 10198 shlibpath_var=LD_LIBRARY_PATH 10199 ;; 10200 10201freebsd1*) 10202 dynamic_linker=no 10203 ;; 10204 10205freebsd* | dragonfly*) 10206 # DragonFly does not have aout. When/if they implement a new 10207 # versioning mechanism, adjust this. 10208 if test -x /usr/bin/objformat; then 10209 objformat=`/usr/bin/objformat` 10210 else 10211 case $host_os in 10212 freebsd[123]*) objformat=aout ;; 10213 *) objformat=elf ;; 10214 esac 10215 fi 10216 version_type=freebsd-$objformat 10217 case $version_type in 10218 freebsd-elf*) 10219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10220 need_version=no 10221 need_lib_prefix=no 10222 ;; 10223 freebsd-*) 10224 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10225 need_version=yes 10226 ;; 10227 esac 10228 shlibpath_var=LD_LIBRARY_PATH 10229 case $host_os in 10230 freebsd2*) 10231 shlibpath_overrides_runpath=yes 10232 ;; 10233 freebsd3.[01]* | freebsdelf3.[01]*) 10234 shlibpath_overrides_runpath=yes 10235 hardcode_into_libs=yes 10236 ;; 10237 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10238 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10239 shlibpath_overrides_runpath=no 10240 hardcode_into_libs=yes 10241 ;; 10242 *) # from 4.6 on, and DragonFly 10243 shlibpath_overrides_runpath=yes 10244 hardcode_into_libs=yes 10245 ;; 10246 esac 10247 ;; 10248 10249gnu*) 10250 version_type=linux 10251 need_lib_prefix=no 10252 need_version=no 10253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10254 soname_spec='${libname}${release}${shared_ext}$major' 10255 shlibpath_var=LD_LIBRARY_PATH 10256 hardcode_into_libs=yes 10257 ;; 10258 10259haiku*) 10260 version_type=linux 10261 need_lib_prefix=no 10262 need_version=no 10263 dynamic_linker="$host_os runtime_loader" 10264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10265 soname_spec='${libname}${release}${shared_ext}$major' 10266 shlibpath_var=LIBRARY_PATH 10267 shlibpath_overrides_runpath=yes 10268 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10269 hardcode_into_libs=yes 10270 ;; 10271 10272hpux9* | hpux10* | hpux11*) 10273 # Give a soname corresponding to the major version so that dld.sl refuses to 10274 # link against other versions. 10275 version_type=sunos 10276 need_lib_prefix=no 10277 need_version=no 10278 case $host_cpu in 10279 ia64*) 10280 shrext_cmds='.so' 10281 hardcode_into_libs=yes 10282 dynamic_linker="$host_os dld.so" 10283 shlibpath_var=LD_LIBRARY_PATH 10284 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10286 soname_spec='${libname}${release}${shared_ext}$major' 10287 if test "X$HPUX_IA64_MODE" = X32; then 10288 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10289 else 10290 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10291 fi 10292 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10293 ;; 10294 hppa*64*) 10295 shrext_cmds='.sl' 10296 hardcode_into_libs=yes 10297 dynamic_linker="$host_os dld.sl" 10298 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10299 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10301 soname_spec='${libname}${release}${shared_ext}$major' 10302 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10303 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10304 ;; 10305 *) 10306 shrext_cmds='.sl' 10307 dynamic_linker="$host_os dld.sl" 10308 shlibpath_var=SHLIB_PATH 10309 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10311 soname_spec='${libname}${release}${shared_ext}$major' 10312 ;; 10313 esac 10314 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10315 postinstall_cmds='chmod 555 $lib' 10316 # or fails outright, so override atomically: 10317 install_override_mode=555 10318 ;; 10319 10320interix[3-9]*) 10321 version_type=linux 10322 need_lib_prefix=no 10323 need_version=no 10324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10325 soname_spec='${libname}${release}${shared_ext}$major' 10326 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10327 shlibpath_var=LD_LIBRARY_PATH 10328 shlibpath_overrides_runpath=no 10329 hardcode_into_libs=yes 10330 ;; 10331 10332irix5* | irix6* | nonstopux*) 10333 case $host_os in 10334 nonstopux*) version_type=nonstopux ;; 10335 *) 10336 if test "$lt_cv_prog_gnu_ld" = yes; then 10337 version_type=linux 10338 else 10339 version_type=irix 10340 fi ;; 10341 esac 10342 need_lib_prefix=no 10343 need_version=no 10344 soname_spec='${libname}${release}${shared_ext}$major' 10345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10346 case $host_os in 10347 irix5* | nonstopux*) 10348 libsuff= shlibsuff= 10349 ;; 10350 *) 10351 case $LD in # libtool.m4 will add one of these switches to LD 10352 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10353 libsuff= shlibsuff= libmagic=32-bit;; 10354 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10355 libsuff=32 shlibsuff=N32 libmagic=N32;; 10356 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10357 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10358 *) libsuff= shlibsuff= libmagic=never-match;; 10359 esac 10360 ;; 10361 esac 10362 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10363 shlibpath_overrides_runpath=no 10364 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10365 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10366 hardcode_into_libs=yes 10367 ;; 10368 10369# No shared lib support for Linux oldld, aout, or coff. 10370linux*oldld* | linux*aout* | linux*coff*) 10371 dynamic_linker=no 10372 ;; 10373 10374# This must be Linux ELF. 10375linux* | k*bsd*-gnu | kopensolaris*-gnu) 10376 version_type=linux 10377 need_lib_prefix=no 10378 need_version=no 10379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10380 soname_spec='${libname}${release}${shared_ext}$major' 10381 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10382 shlibpath_var=LD_LIBRARY_PATH 10383 shlibpath_overrides_runpath=no 10384 10385 # Some binutils ld are patched to set DT_RUNPATH 10386 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : 10387 $as_echo_n "(cached) " >&6 10388else 10389 lt_cv_shlibpath_overrides_runpath=no 10390 save_LDFLAGS=$LDFLAGS 10391 save_libdir=$libdir 10392 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10393 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10395/* end confdefs.h. */ 10396 10397int 10398main () 10399{ 10400 10401 ; 10402 return 0; 10403} 10404_ACEOF 10405if ac_fn_c_try_link "$LINENO"; then : 10406 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10407 lt_cv_shlibpath_overrides_runpath=yes 10408fi 10409fi 10410rm -f core conftest.err conftest.$ac_objext \ 10411 conftest$ac_exeext conftest.$ac_ext 10412 LDFLAGS=$save_LDFLAGS 10413 libdir=$save_libdir 10414 10415fi 10416 10417 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10418 10419 # This implies no fast_install, which is unacceptable. 10420 # Some rework will be needed to allow for fast_install 10421 # before this can be enabled. 10422 hardcode_into_libs=yes 10423 10424 # Add ABI-specific directories to the system library path. 10425 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 10426 10427 # Append ld.so.conf contents to the search path 10428 if test -f /etc/ld.so.conf; then 10429 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' ' '` 10430 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 10431 10432 fi 10433 10434 # We used to test for /lib/ld.so.1 and disable shared libraries on 10435 # powerpc, because MkLinux only supported shared libraries with the 10436 # GNU dynamic linker. Since this was broken with cross compilers, 10437 # most powerpc-linux boxes support dynamic linking these days and 10438 # people can always --disable-shared, the test was removed, and we 10439 # assume the GNU/Linux dynamic linker is in use. 10440 dynamic_linker='GNU/Linux ld.so' 10441 ;; 10442 10443netbsd*) 10444 version_type=sunos 10445 need_lib_prefix=no 10446 need_version=no 10447 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10449 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10450 dynamic_linker='NetBSD (a.out) ld.so' 10451 else 10452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10453 soname_spec='${libname}${release}${shared_ext}$major' 10454 dynamic_linker='NetBSD ld.elf_so' 10455 fi 10456 shlibpath_var=LD_LIBRARY_PATH 10457 shlibpath_overrides_runpath=yes 10458 hardcode_into_libs=yes 10459 ;; 10460 10461newsos6) 10462 version_type=linux 10463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10464 shlibpath_var=LD_LIBRARY_PATH 10465 shlibpath_overrides_runpath=yes 10466 ;; 10467 10468*nto* | *qnx*) 10469 version_type=qnx 10470 need_lib_prefix=no 10471 need_version=no 10472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10473 soname_spec='${libname}${release}${shared_ext}$major' 10474 shlibpath_var=LD_LIBRARY_PATH 10475 shlibpath_overrides_runpath=no 10476 hardcode_into_libs=yes 10477 dynamic_linker='ldqnx.so' 10478 ;; 10479 10480openbsd*) 10481 version_type=sunos 10482 sys_lib_dlsearch_path_spec="/usr/lib" 10483 need_lib_prefix=no 10484 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10485 case $host_os in 10486 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10487 *) need_version=no ;; 10488 esac 10489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10490 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10491 shlibpath_var=LD_LIBRARY_PATH 10492 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10493 case $host_os in 10494 openbsd2.[89] | openbsd2.[89].*) 10495 shlibpath_overrides_runpath=no 10496 ;; 10497 *) 10498 shlibpath_overrides_runpath=yes 10499 ;; 10500 esac 10501 else 10502 shlibpath_overrides_runpath=yes 10503 fi 10504 ;; 10505 10506os2*) 10507 libname_spec='$name' 10508 shrext_cmds=".dll" 10509 need_lib_prefix=no 10510 library_names_spec='$libname${shared_ext} $libname.a' 10511 dynamic_linker='OS/2 ld.exe' 10512 shlibpath_var=LIBPATH 10513 ;; 10514 10515osf3* | osf4* | osf5*) 10516 version_type=osf 10517 need_lib_prefix=no 10518 need_version=no 10519 soname_spec='${libname}${release}${shared_ext}$major' 10520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10521 shlibpath_var=LD_LIBRARY_PATH 10522 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10523 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10524 ;; 10525 10526rdos*) 10527 dynamic_linker=no 10528 ;; 10529 10530solaris*) 10531 version_type=linux 10532 need_lib_prefix=no 10533 need_version=no 10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10535 soname_spec='${libname}${release}${shared_ext}$major' 10536 shlibpath_var=LD_LIBRARY_PATH 10537 shlibpath_overrides_runpath=yes 10538 hardcode_into_libs=yes 10539 # ldd complains unless libraries are executable 10540 postinstall_cmds='chmod +x $lib' 10541 ;; 10542 10543sunos4*) 10544 version_type=sunos 10545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10546 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10547 shlibpath_var=LD_LIBRARY_PATH 10548 shlibpath_overrides_runpath=yes 10549 if test "$with_gnu_ld" = yes; then 10550 need_lib_prefix=no 10551 fi 10552 need_version=yes 10553 ;; 10554 10555sysv4 | sysv4.3*) 10556 version_type=linux 10557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10558 soname_spec='${libname}${release}${shared_ext}$major' 10559 shlibpath_var=LD_LIBRARY_PATH 10560 case $host_vendor in 10561 sni) 10562 shlibpath_overrides_runpath=no 10563 need_lib_prefix=no 10564 runpath_var=LD_RUN_PATH 10565 ;; 10566 siemens) 10567 need_lib_prefix=no 10568 ;; 10569 motorola) 10570 need_lib_prefix=no 10571 need_version=no 10572 shlibpath_overrides_runpath=no 10573 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10574 ;; 10575 esac 10576 ;; 10577 10578sysv4*MP*) 10579 if test -d /usr/nec ;then 10580 version_type=linux 10581 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10582 soname_spec='$libname${shared_ext}.$major' 10583 shlibpath_var=LD_LIBRARY_PATH 10584 fi 10585 ;; 10586 10587sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10588 version_type=freebsd-elf 10589 need_lib_prefix=no 10590 need_version=no 10591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10592 soname_spec='${libname}${release}${shared_ext}$major' 10593 shlibpath_var=LD_LIBRARY_PATH 10594 shlibpath_overrides_runpath=yes 10595 hardcode_into_libs=yes 10596 if test "$with_gnu_ld" = yes; then 10597 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10598 else 10599 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10600 case $host_os in 10601 sco3.2v5*) 10602 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10603 ;; 10604 esac 10605 fi 10606 sys_lib_dlsearch_path_spec='/usr/lib' 10607 ;; 10608 10609tpf*) 10610 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10611 version_type=linux 10612 need_lib_prefix=no 10613 need_version=no 10614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10615 shlibpath_var=LD_LIBRARY_PATH 10616 shlibpath_overrides_runpath=no 10617 hardcode_into_libs=yes 10618 ;; 10619 10620uts4*) 10621 version_type=linux 10622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10623 soname_spec='${libname}${release}${shared_ext}$major' 10624 shlibpath_var=LD_LIBRARY_PATH 10625 ;; 10626 10627*) 10628 dynamic_linker=no 10629 ;; 10630esac 10631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10632$as_echo "$dynamic_linker" >&6; } 10633test "$dynamic_linker" = no && can_build_shared=no 10634 10635variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10636if test "$GCC" = yes; then 10637 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10638fi 10639 10640if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10641 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10642fi 10643if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10644 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10645fi 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10739$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10740hardcode_action= 10741if test -n "$hardcode_libdir_flag_spec" || 10742 test -n "$runpath_var" || 10743 test "X$hardcode_automatic" = "Xyes" ; then 10744 10745 # We can hardcode non-existent directories. 10746 if test "$hardcode_direct" != no && 10747 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10748 # have to relink, otherwise we might link with an installed library 10749 # when we should be linking with a yet-to-be-installed one 10750 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10751 test "$hardcode_minus_L" != no; then 10752 # Linking always hardcodes the temporary library directory. 10753 hardcode_action=relink 10754 else 10755 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10756 hardcode_action=immediate 10757 fi 10758else 10759 # We cannot hardcode anything, or else we can only hardcode existing 10760 # directories. 10761 hardcode_action=unsupported 10762fi 10763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10764$as_echo "$hardcode_action" >&6; } 10765 10766if test "$hardcode_action" = relink || 10767 test "$inherit_rpath" = yes; then 10768 # Fast installation is not supported 10769 enable_fast_install=no 10770elif test "$shlibpath_overrides_runpath" = yes || 10771 test "$enable_shared" = no; then 10772 # Fast installation is not necessary 10773 enable_fast_install=needless 10774fi 10775 10776 10777 10778 10779 10780 10781 if test "x$enable_dlopen" != xyes; then 10782 enable_dlopen=unknown 10783 enable_dlopen_self=unknown 10784 enable_dlopen_self_static=unknown 10785else 10786 lt_cv_dlopen=no 10787 lt_cv_dlopen_libs= 10788 10789 case $host_os in 10790 beos*) 10791 lt_cv_dlopen="load_add_on" 10792 lt_cv_dlopen_libs= 10793 lt_cv_dlopen_self=yes 10794 ;; 10795 10796 mingw* | pw32* | cegcc*) 10797 lt_cv_dlopen="LoadLibrary" 10798 lt_cv_dlopen_libs= 10799 ;; 10800 10801 cygwin*) 10802 lt_cv_dlopen="dlopen" 10803 lt_cv_dlopen_libs= 10804 ;; 10805 10806 darwin*) 10807 # if libdl is installed we need to link against it 10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10809$as_echo_n "checking for dlopen in -ldl... " >&6; } 10810if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10811 $as_echo_n "(cached) " >&6 10812else 10813 ac_check_lib_save_LIBS=$LIBS 10814LIBS="-ldl $LIBS" 10815cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10816/* end confdefs.h. */ 10817 10818/* Override any GCC internal prototype to avoid an error. 10819 Use char because int might match the return type of a GCC 10820 builtin and then its argument prototype would still apply. */ 10821#ifdef __cplusplus 10822extern "C" 10823#endif 10824char dlopen (); 10825int 10826main () 10827{ 10828return dlopen (); 10829 ; 10830 return 0; 10831} 10832_ACEOF 10833if ac_fn_c_try_link "$LINENO"; then : 10834 ac_cv_lib_dl_dlopen=yes 10835else 10836 ac_cv_lib_dl_dlopen=no 10837fi 10838rm -f core conftest.err conftest.$ac_objext \ 10839 conftest$ac_exeext conftest.$ac_ext 10840LIBS=$ac_check_lib_save_LIBS 10841fi 10842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10843$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10844if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10845 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10846else 10847 10848 lt_cv_dlopen="dyld" 10849 lt_cv_dlopen_libs= 10850 lt_cv_dlopen_self=yes 10851 10852fi 10853 10854 ;; 10855 10856 *) 10857 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10858if test "x$ac_cv_func_shl_load" = x""yes; then : 10859 lt_cv_dlopen="shl_load" 10860else 10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10862$as_echo_n "checking for shl_load in -ldld... " >&6; } 10863if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 10864 $as_echo_n "(cached) " >&6 10865else 10866 ac_check_lib_save_LIBS=$LIBS 10867LIBS="-ldld $LIBS" 10868cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10869/* end confdefs.h. */ 10870 10871/* Override any GCC internal prototype to avoid an error. 10872 Use char because int might match the return type of a GCC 10873 builtin and then its argument prototype would still apply. */ 10874#ifdef __cplusplus 10875extern "C" 10876#endif 10877char shl_load (); 10878int 10879main () 10880{ 10881return shl_load (); 10882 ; 10883 return 0; 10884} 10885_ACEOF 10886if ac_fn_c_try_link "$LINENO"; then : 10887 ac_cv_lib_dld_shl_load=yes 10888else 10889 ac_cv_lib_dld_shl_load=no 10890fi 10891rm -f core conftest.err conftest.$ac_objext \ 10892 conftest$ac_exeext conftest.$ac_ext 10893LIBS=$ac_check_lib_save_LIBS 10894fi 10895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10896$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10897if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 10898 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10899else 10900 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10901if test "x$ac_cv_func_dlopen" = x""yes; then : 10902 lt_cv_dlopen="dlopen" 10903else 10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10905$as_echo_n "checking for dlopen in -ldl... " >&6; } 10906if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10907 $as_echo_n "(cached) " >&6 10908else 10909 ac_check_lib_save_LIBS=$LIBS 10910LIBS="-ldl $LIBS" 10911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10912/* end confdefs.h. */ 10913 10914/* Override any GCC internal prototype to avoid an error. 10915 Use char because int might match the return type of a GCC 10916 builtin and then its argument prototype would still apply. */ 10917#ifdef __cplusplus 10918extern "C" 10919#endif 10920char dlopen (); 10921int 10922main () 10923{ 10924return dlopen (); 10925 ; 10926 return 0; 10927} 10928_ACEOF 10929if ac_fn_c_try_link "$LINENO"; then : 10930 ac_cv_lib_dl_dlopen=yes 10931else 10932 ac_cv_lib_dl_dlopen=no 10933fi 10934rm -f core conftest.err conftest.$ac_objext \ 10935 conftest$ac_exeext conftest.$ac_ext 10936LIBS=$ac_check_lib_save_LIBS 10937fi 10938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10939$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10940if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10941 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10942else 10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10944$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10945if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 10946 $as_echo_n "(cached) " >&6 10947else 10948 ac_check_lib_save_LIBS=$LIBS 10949LIBS="-lsvld $LIBS" 10950cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10951/* end confdefs.h. */ 10952 10953/* Override any GCC internal prototype to avoid an error. 10954 Use char because int might match the return type of a GCC 10955 builtin and then its argument prototype would still apply. */ 10956#ifdef __cplusplus 10957extern "C" 10958#endif 10959char dlopen (); 10960int 10961main () 10962{ 10963return dlopen (); 10964 ; 10965 return 0; 10966} 10967_ACEOF 10968if ac_fn_c_try_link "$LINENO"; then : 10969 ac_cv_lib_svld_dlopen=yes 10970else 10971 ac_cv_lib_svld_dlopen=no 10972fi 10973rm -f core conftest.err conftest.$ac_objext \ 10974 conftest$ac_exeext conftest.$ac_ext 10975LIBS=$ac_check_lib_save_LIBS 10976fi 10977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10978$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10979if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 10980 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10981else 10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10983$as_echo_n "checking for dld_link in -ldld... " >&6; } 10984if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 10985 $as_echo_n "(cached) " >&6 10986else 10987 ac_check_lib_save_LIBS=$LIBS 10988LIBS="-ldld $LIBS" 10989cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10990/* end confdefs.h. */ 10991 10992/* Override any GCC internal prototype to avoid an error. 10993 Use char because int might match the return type of a GCC 10994 builtin and then its argument prototype would still apply. */ 10995#ifdef __cplusplus 10996extern "C" 10997#endif 10998char dld_link (); 10999int 11000main () 11001{ 11002return dld_link (); 11003 ; 11004 return 0; 11005} 11006_ACEOF 11007if ac_fn_c_try_link "$LINENO"; then : 11008 ac_cv_lib_dld_dld_link=yes 11009else 11010 ac_cv_lib_dld_dld_link=no 11011fi 11012rm -f core conftest.err conftest.$ac_objext \ 11013 conftest$ac_exeext conftest.$ac_ext 11014LIBS=$ac_check_lib_save_LIBS 11015fi 11016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11017$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11018if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 11019 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11020fi 11021 11022 11023fi 11024 11025 11026fi 11027 11028 11029fi 11030 11031 11032fi 11033 11034 11035fi 11036 11037 ;; 11038 esac 11039 11040 if test "x$lt_cv_dlopen" != xno; then 11041 enable_dlopen=yes 11042 else 11043 enable_dlopen=no 11044 fi 11045 11046 case $lt_cv_dlopen in 11047 dlopen) 11048 save_CPPFLAGS="$CPPFLAGS" 11049 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11050 11051 save_LDFLAGS="$LDFLAGS" 11052 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11053 11054 save_LIBS="$LIBS" 11055 LIBS="$lt_cv_dlopen_libs $LIBS" 11056 11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11058$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11059if test "${lt_cv_dlopen_self+set}" = set; then : 11060 $as_echo_n "(cached) " >&6 11061else 11062 if test "$cross_compiling" = yes; then : 11063 lt_cv_dlopen_self=cross 11064else 11065 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11066 lt_status=$lt_dlunknown 11067 cat > conftest.$ac_ext <<_LT_EOF 11068#line $LINENO "configure" 11069#include "confdefs.h" 11070 11071#if HAVE_DLFCN_H 11072#include <dlfcn.h> 11073#endif 11074 11075#include <stdio.h> 11076 11077#ifdef RTLD_GLOBAL 11078# define LT_DLGLOBAL RTLD_GLOBAL 11079#else 11080# ifdef DL_GLOBAL 11081# define LT_DLGLOBAL DL_GLOBAL 11082# else 11083# define LT_DLGLOBAL 0 11084# endif 11085#endif 11086 11087/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11088 find out it does not work in some platform. */ 11089#ifndef LT_DLLAZY_OR_NOW 11090# ifdef RTLD_LAZY 11091# define LT_DLLAZY_OR_NOW RTLD_LAZY 11092# else 11093# ifdef DL_LAZY 11094# define LT_DLLAZY_OR_NOW DL_LAZY 11095# else 11096# ifdef RTLD_NOW 11097# define LT_DLLAZY_OR_NOW RTLD_NOW 11098# else 11099# ifdef DL_NOW 11100# define LT_DLLAZY_OR_NOW DL_NOW 11101# else 11102# define LT_DLLAZY_OR_NOW 0 11103# endif 11104# endif 11105# endif 11106# endif 11107#endif 11108 11109/* When -fvisbility=hidden is used, assume the code has been annotated 11110 correspondingly for the symbols needed. */ 11111#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11112void fnord () __attribute__((visibility("default"))); 11113#endif 11114 11115void fnord () { int i=42; } 11116int main () 11117{ 11118 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11119 int status = $lt_dlunknown; 11120 11121 if (self) 11122 { 11123 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11124 else 11125 { 11126 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11127 else puts (dlerror ()); 11128 } 11129 /* dlclose (self); */ 11130 } 11131 else 11132 puts (dlerror ()); 11133 11134 return status; 11135} 11136_LT_EOF 11137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11138 (eval $ac_link) 2>&5 11139 ac_status=$? 11140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11141 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11142 (./conftest; exit; ) >&5 2>/dev/null 11143 lt_status=$? 11144 case x$lt_status in 11145 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11146 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11147 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11148 esac 11149 else : 11150 # compilation failed 11151 lt_cv_dlopen_self=no 11152 fi 11153fi 11154rm -fr conftest* 11155 11156 11157fi 11158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11159$as_echo "$lt_cv_dlopen_self" >&6; } 11160 11161 if test "x$lt_cv_dlopen_self" = xyes; then 11162 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11164$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11165if test "${lt_cv_dlopen_self_static+set}" = set; then : 11166 $as_echo_n "(cached) " >&6 11167else 11168 if test "$cross_compiling" = yes; then : 11169 lt_cv_dlopen_self_static=cross 11170else 11171 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11172 lt_status=$lt_dlunknown 11173 cat > conftest.$ac_ext <<_LT_EOF 11174#line $LINENO "configure" 11175#include "confdefs.h" 11176 11177#if HAVE_DLFCN_H 11178#include <dlfcn.h> 11179#endif 11180 11181#include <stdio.h> 11182 11183#ifdef RTLD_GLOBAL 11184# define LT_DLGLOBAL RTLD_GLOBAL 11185#else 11186# ifdef DL_GLOBAL 11187# define LT_DLGLOBAL DL_GLOBAL 11188# else 11189# define LT_DLGLOBAL 0 11190# endif 11191#endif 11192 11193/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11194 find out it does not work in some platform. */ 11195#ifndef LT_DLLAZY_OR_NOW 11196# ifdef RTLD_LAZY 11197# define LT_DLLAZY_OR_NOW RTLD_LAZY 11198# else 11199# ifdef DL_LAZY 11200# define LT_DLLAZY_OR_NOW DL_LAZY 11201# else 11202# ifdef RTLD_NOW 11203# define LT_DLLAZY_OR_NOW RTLD_NOW 11204# else 11205# ifdef DL_NOW 11206# define LT_DLLAZY_OR_NOW DL_NOW 11207# else 11208# define LT_DLLAZY_OR_NOW 0 11209# endif 11210# endif 11211# endif 11212# endif 11213#endif 11214 11215/* When -fvisbility=hidden is used, assume the code has been annotated 11216 correspondingly for the symbols needed. */ 11217#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11218void fnord () __attribute__((visibility("default"))); 11219#endif 11220 11221void fnord () { int i=42; } 11222int main () 11223{ 11224 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11225 int status = $lt_dlunknown; 11226 11227 if (self) 11228 { 11229 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11230 else 11231 { 11232 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11233 else puts (dlerror ()); 11234 } 11235 /* dlclose (self); */ 11236 } 11237 else 11238 puts (dlerror ()); 11239 11240 return status; 11241} 11242_LT_EOF 11243 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11244 (eval $ac_link) 2>&5 11245 ac_status=$? 11246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11247 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11248 (./conftest; exit; ) >&5 2>/dev/null 11249 lt_status=$? 11250 case x$lt_status in 11251 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11252 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11253 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11254 esac 11255 else : 11256 # compilation failed 11257 lt_cv_dlopen_self_static=no 11258 fi 11259fi 11260rm -fr conftest* 11261 11262 11263fi 11264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11265$as_echo "$lt_cv_dlopen_self_static" >&6; } 11266 fi 11267 11268 CPPFLAGS="$save_CPPFLAGS" 11269 LDFLAGS="$save_LDFLAGS" 11270 LIBS="$save_LIBS" 11271 ;; 11272 esac 11273 11274 case $lt_cv_dlopen_self in 11275 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11276 *) enable_dlopen_self=unknown ;; 11277 esac 11278 11279 case $lt_cv_dlopen_self_static in 11280 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11281 *) enable_dlopen_self_static=unknown ;; 11282 esac 11283fi 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301striplib= 11302old_striplib= 11303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11304$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11305if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11306 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11307 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11309$as_echo "yes" >&6; } 11310else 11311# FIXME - insert some real tests, host_os isn't really good enough 11312 case $host_os in 11313 darwin*) 11314 if test -n "$STRIP" ; then 11315 striplib="$STRIP -x" 11316 old_striplib="$STRIP -S" 11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11318$as_echo "yes" >&6; } 11319 else 11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11321$as_echo "no" >&6; } 11322 fi 11323 ;; 11324 *) 11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11326$as_echo "no" >&6; } 11327 ;; 11328 esac 11329fi 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 # Report which library types will actually be built 11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11344$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11346$as_echo "$can_build_shared" >&6; } 11347 11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11349$as_echo_n "checking whether to build shared libraries... " >&6; } 11350 test "$can_build_shared" = "no" && enable_shared=no 11351 11352 # On AIX, shared libraries and static libraries use the same namespace, and 11353 # are all built from PIC. 11354 case $host_os in 11355 aix3*) 11356 test "$enable_shared" = yes && enable_static=no 11357 if test -n "$RANLIB"; then 11358 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11359 postinstall_cmds='$RANLIB $lib' 11360 fi 11361 ;; 11362 11363 aix[4-9]*) 11364 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11365 test "$enable_shared" = yes && enable_static=no 11366 fi 11367 ;; 11368 esac 11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11370$as_echo "$enable_shared" >&6; } 11371 11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11373$as_echo_n "checking whether to build static libraries... " >&6; } 11374 # Make sure either enable_shared or enable_static is yes. 11375 test "$enable_shared" = yes || enable_static=yes 11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11377$as_echo "$enable_static" >&6; } 11378 11379 11380 11381 11382fi 11383ac_ext=c 11384ac_cpp='$CPP $CPPFLAGS' 11385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11387ac_compiler_gnu=$ac_cv_c_compiler_gnu 11388 11389CC="$lt_save_CC" 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 ac_config_commands="$ac_config_commands libtool" 11404 11405 11406 11407 11408# Only expand once: 11409 11410 11411 11412if test "$PS" = "ps" 11413then 11414 as_fn_error $? "Cannot find pathname to ps" "$LINENO" 5 11415fi 11416 11417if test x$GXX = xyes 11418then 11419 CFLAGS="-Wall $CFLAGS" 11420fi 11421 11422CFLAGS="-I.. -I$srcdir/.. $CFLAGS" 11423 11424 11425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 11426$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 11427if test "${ac_cv_header_sys_wait_h+set}" = set; then : 11428 $as_echo_n "(cached) " >&6 11429else 11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11431/* end confdefs.h. */ 11432#include <sys/types.h> 11433#include <sys/wait.h> 11434#ifndef WEXITSTATUS 11435# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) 11436#endif 11437#ifndef WIFEXITED 11438# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 11439#endif 11440 11441int 11442main () 11443{ 11444 int s; 11445 wait (&s); 11446 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 11447 ; 11448 return 0; 11449} 11450_ACEOF 11451if ac_fn_c_try_compile "$LINENO"; then : 11452 ac_cv_header_sys_wait_h=yes 11453else 11454 ac_cv_header_sys_wait_h=no 11455fi 11456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11457fi 11458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 11459$as_echo "$ac_cv_header_sys_wait_h" >&6; } 11460if test $ac_cv_header_sys_wait_h = yes; then 11461 11462$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h 11463 11464fi 11465 11466for ac_header in unistd.h fcntl.h 11467do : 11468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11469ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11470if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11471 cat >>confdefs.h <<_ACEOF 11472#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11473_ACEOF 11474 11475fi 11476 11477done 11478 11479 11480ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 11481if test "x$ac_cv_type_pid_t" = x""yes; then : 11482 11483else 11484 11485cat >>confdefs.h <<_ACEOF 11486#define pid_t int 11487_ACEOF 11488 11489fi 11490 11491 11492 11493# Check whether --with-random was given. 11494if test "${with_random+set}" = set; then : 11495 withval=$with_random; random="$withval" 11496else 11497 random="y" 11498fi 11499 11500 11501case "$random" in 11502/*) 11503 ;; 11504y*|1*) 11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for random source" >&5 11506$as_echo_n "checking for random source... " >&6; } 11507if test "${random_cv_RANDOM+set}" = set; then : 11508 $as_echo_n "(cached) " >&6 11509else 11510 if test -c /dev/urandom 11511 then 11512 random_cv_RANDOM=/dev/urandom 11513 else 11514 if test -c /dev/random 11515 then 11516 random_cv_RANDOM=/dev/random 11517 else 11518 random_cv_RANDOM="none" 11519 fi 11520 fi 11521 11522fi 11523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $random_cv_RANDOM" >&5 11524$as_echo "$random_cv_RANDOM" >&6; } 11525 random="$random_cv_RANDOM" 11526 ;; 11527*) 11528 random="none" 11529 ;; 11530esac 11531 11532if test "$random" != "none" 11533then 11534 11535cat >>confdefs.h <<_ACEOF 11536#define RANDOM "$random" 11537_ACEOF 11538 11539fi 11540 11541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for some good options for ps" >&5 11542$as_echo_n "checking for some good options for ps... " >&6; } 11543if test "${random_cv_PS_OPTIONS+set}" = set; then : 11544 $as_echo_n "(cached) " >&6 11545else 11546 for opts in -Afl -Afw -Af -Al -afl -afw -af -al Afl Afw Af Al afl afw af al 11547 do 11548 ps $opts >/dev/null 2>/dev/null || continue 11549 break 11550 done 11551 random_cv_PS_OPTIONS="$opts" 11552 11553fi 11554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $random_cv_PS_OPTIONS" >&5 11555$as_echo "$random_cv_PS_OPTIONS" >&6; } 11556 11557 11558cat >>confdefs.h <<_ACEOF 11559#define PS_OPTIONS "$random_cv_PS_OPTIONS" 11560_ACEOF 11561 11562 11563cat >>confdefs.h <<_ACEOF 11564#define PS "$PS" 11565_ACEOF 11566 11567 11568if test "$W" != "w" 11569then 11570 11571cat >>confdefs.h <<_ACEOF 11572#define W "$w" 11573_ACEOF 11574 11575fi 11576 11577ac_config_files="$ac_config_files Makefile" 11578 11579cat >confcache <<\_ACEOF 11580# This file is a shell script that caches the results of configure 11581# tests run on this system so they can be shared between configure 11582# scripts and configure runs, see configure's option --config-cache. 11583# It is not useful on other systems. If it contains results you don't 11584# want to keep, you may remove or edit it. 11585# 11586# config.status only pays attention to the cache file if you give it 11587# the --recheck option to rerun configure. 11588# 11589# `ac_cv_env_foo' variables (set or unset) will be overridden when 11590# loading this file, other *unset* `ac_cv_foo' will be assigned the 11591# following values. 11592 11593_ACEOF 11594 11595# The following way of writing the cache mishandles newlines in values, 11596# but we know of no workaround that is simple, portable, and efficient. 11597# So, we kill variables containing newlines. 11598# Ultrix sh set writes to stderr and can't be redirected directly, 11599# and sets the high bit in the cache file unless we assign to the vars. 11600( 11601 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11602 eval ac_val=\$$ac_var 11603 case $ac_val in #( 11604 *${as_nl}*) 11605 case $ac_var in #( 11606 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11607$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11608 esac 11609 case $ac_var in #( 11610 _ | IFS | as_nl) ;; #( 11611 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 11612 *) { eval $ac_var=; unset $ac_var;} ;; 11613 esac ;; 11614 esac 11615 done 11616 11617 (set) 2>&1 | 11618 case $as_nl`(ac_space=' '; set) 2>&1` in #( 11619 *${as_nl}ac_space=\ *) 11620 # `set' does not quote correctly, so add quotes: double-quote 11621 # substitution turns \\\\ into \\, and sed turns \\ into \. 11622 sed -n \ 11623 "s/'/'\\\\''/g; 11624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11625 ;; #( 11626 *) 11627 # `set' quotes correctly as required by POSIX, so do not add quotes. 11628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11629 ;; 11630 esac | 11631 sort 11632) | 11633 sed ' 11634 /^ac_cv_env_/b end 11635 t clear 11636 :clear 11637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11638 t end 11639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11640 :end' >>confcache 11641if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11642 if test -w "$cache_file"; then 11643 test "x$cache_file" != "x/dev/null" && 11644 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11645$as_echo "$as_me: updating cache $cache_file" >&6;} 11646 cat confcache >$cache_file 11647 else 11648 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11649$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11650 fi 11651fi 11652rm -f confcache 11653 11654test "x$prefix" = xNONE && prefix=$ac_default_prefix 11655# Let make expand exec_prefix. 11656test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11657 11658DEFS=-DHAVE_CONFIG_H 11659 11660ac_libobjs= 11661ac_ltlibobjs= 11662U= 11663for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11664 # 1. Remove the extension, and $U if already installed. 11665 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11666 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11667 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11668 # will be set to the directory where LIBOBJS objects are built. 11669 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11670 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 11671done 11672LIBOBJS=$ac_libobjs 11673 11674LTLIBOBJS=$ac_ltlibobjs 11675 11676 11677 if test -n "$EXEEXT"; then 11678 am__EXEEXT_TRUE= 11679 am__EXEEXT_FALSE='#' 11680else 11681 am__EXEEXT_TRUE='#' 11682 am__EXEEXT_FALSE= 11683fi 11684 11685if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 11686 as_fn_error $? "conditional \"AMDEP\" was never defined. 11687Usually this means the macro was only invoked conditionally." "$LINENO" 5 11688fi 11689if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11690 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 11691Usually this means the macro was only invoked conditionally." "$LINENO" 5 11692fi 11693if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11694 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 11695Usually this means the macro was only invoked conditionally." "$LINENO" 5 11696fi 11697 11698: ${CONFIG_STATUS=./config.status} 11699ac_write_fail=0 11700ac_clean_files_save=$ac_clean_files 11701ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11702{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11703$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11704as_write_fail=0 11705cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 11706#! $SHELL 11707# Generated by $as_me. 11708# Run this file to recreate the current configuration. 11709# Compiler output produced by configure, useful for debugging 11710# configure, is in config.log if it exists. 11711 11712debug=false 11713ac_cs_recheck=false 11714ac_cs_silent=false 11715 11716SHELL=\${CONFIG_SHELL-$SHELL} 11717export SHELL 11718_ASEOF 11719cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 11720## -------------------- ## 11721## M4sh Initialization. ## 11722## -------------------- ## 11723 11724# Be more Bourne compatible 11725DUALCASE=1; export DUALCASE # for MKS sh 11726if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11727 emulate sh 11728 NULLCMD=: 11729 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 11730 # is contrary to our usage. Disable this feature. 11731 alias -g '${1+"$@"}'='"$@"' 11732 setopt NO_GLOB_SUBST 11733else 11734 case `(set -o) 2>/dev/null` in #( 11735 *posix*) : 11736 set -o posix ;; #( 11737 *) : 11738 ;; 11739esac 11740fi 11741 11742 11743as_nl=' 11744' 11745export as_nl 11746# Printing a long string crashes Solaris 7 /usr/bin/printf. 11747as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 11748as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 11749as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 11750# Prefer a ksh shell builtin over an external printf program on Solaris, 11751# but without wasting forks for bash or zsh. 11752if test -z "$BASH_VERSION$ZSH_VERSION" \ 11753 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 11754 as_echo='print -r --' 11755 as_echo_n='print -rn --' 11756elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 11757 as_echo='printf %s\n' 11758 as_echo_n='printf %s' 11759else 11760 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 11761 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 11762 as_echo_n='/usr/ucb/echo -n' 11763 else 11764 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 11765 as_echo_n_body='eval 11766 arg=$1; 11767 case $arg in #( 11768 *"$as_nl"*) 11769 expr "X$arg" : "X\\(.*\\)$as_nl"; 11770 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 11771 esac; 11772 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 11773 ' 11774 export as_echo_n_body 11775 as_echo_n='sh -c $as_echo_n_body as_echo' 11776 fi 11777 export as_echo_body 11778 as_echo='sh -c $as_echo_body as_echo' 11779fi 11780 11781# The user is always right. 11782if test "${PATH_SEPARATOR+set}" != set; then 11783 PATH_SEPARATOR=: 11784 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 11785 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 11786 PATH_SEPARATOR=';' 11787 } 11788fi 11789 11790 11791# IFS 11792# We need space, tab and new line, in precisely that order. Quoting is 11793# there to prevent editors from complaining about space-tab. 11794# (If _AS_PATH_WALK were called with IFS unset, it would disable word 11795# splitting by setting IFS to empty value.) 11796IFS=" "" $as_nl" 11797 11798# Find who we are. Look in the path if we contain no directory separator. 11799case $0 in #(( 11800 *[\\/]* ) as_myself=$0 ;; 11801 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11802for as_dir in $PATH 11803do 11804 IFS=$as_save_IFS 11805 test -z "$as_dir" && as_dir=. 11806 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11807 done 11808IFS=$as_save_IFS 11809 11810 ;; 11811esac 11812# We did not find ourselves, most probably we were run as `sh COMMAND' 11813# in which case we are not to be found in the path. 11814if test "x$as_myself" = x; then 11815 as_myself=$0 11816fi 11817if test ! -f "$as_myself"; then 11818 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11819 exit 1 11820fi 11821 11822# Unset variables that we do not need and which cause bugs (e.g. in 11823# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 11824# suppresses any "Segmentation fault" message there. '((' could 11825# trigger a bug in pdksh 5.2.14. 11826for as_var in BASH_ENV ENV MAIL MAILPATH 11827do eval test x\${$as_var+set} = xset \ 11828 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11829done 11830PS1='$ ' 11831PS2='> ' 11832PS4='+ ' 11833 11834# NLS nuisances. 11835LC_ALL=C 11836export LC_ALL 11837LANGUAGE=C 11838export LANGUAGE 11839 11840# CDPATH. 11841(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11842 11843 11844# as_fn_error STATUS ERROR [LINENO LOG_FD] 11845# ---------------------------------------- 11846# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 11847# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 11848# script with STATUS, using 1 if that was 0. 11849as_fn_error () 11850{ 11851 as_status=$1; test $as_status -eq 0 && as_status=1 11852 if test "$4"; then 11853 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 11854 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 11855 fi 11856 $as_echo "$as_me: error: $2" >&2 11857 as_fn_exit $as_status 11858} # as_fn_error 11859 11860 11861# as_fn_set_status STATUS 11862# ----------------------- 11863# Set $? to STATUS, without forking. 11864as_fn_set_status () 11865{ 11866 return $1 11867} # as_fn_set_status 11868 11869# as_fn_exit STATUS 11870# ----------------- 11871# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 11872as_fn_exit () 11873{ 11874 set +e 11875 as_fn_set_status $1 11876 exit $1 11877} # as_fn_exit 11878 11879# as_fn_unset VAR 11880# --------------- 11881# Portably unset VAR. 11882as_fn_unset () 11883{ 11884 { eval $1=; unset $1;} 11885} 11886as_unset=as_fn_unset 11887# as_fn_append VAR VALUE 11888# ---------------------- 11889# Append the text in VALUE to the end of the definition contained in VAR. Take 11890# advantage of any shell optimizations that allow amortized linear growth over 11891# repeated appends, instead of the typical quadratic growth present in naive 11892# implementations. 11893if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11894 eval 'as_fn_append () 11895 { 11896 eval $1+=\$2 11897 }' 11898else 11899 as_fn_append () 11900 { 11901 eval $1=\$$1\$2 11902 } 11903fi # as_fn_append 11904 11905# as_fn_arith ARG... 11906# ------------------ 11907# Perform arithmetic evaluation on the ARGs, and store the result in the 11908# global $as_val. Take advantage of shells that can avoid forks. The arguments 11909# must be portable across $(()) and expr. 11910if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11911 eval 'as_fn_arith () 11912 { 11913 as_val=$(( $* )) 11914 }' 11915else 11916 as_fn_arith () 11917 { 11918 as_val=`expr "$@" || test $? -eq 1` 11919 } 11920fi # as_fn_arith 11921 11922 11923if expr a : '\(a\)' >/dev/null 2>&1 && 11924 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11925 as_expr=expr 11926else 11927 as_expr=false 11928fi 11929 11930if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 11931 as_basename=basename 11932else 11933 as_basename=false 11934fi 11935 11936if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 11937 as_dirname=dirname 11938else 11939 as_dirname=false 11940fi 11941 11942as_me=`$as_basename -- "$0" || 11943$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11944 X"$0" : 'X\(//\)$' \| \ 11945 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11946$as_echo X/"$0" | 11947 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11948 s//\1/ 11949 q 11950 } 11951 /^X\/\(\/\/\)$/{ 11952 s//\1/ 11953 q 11954 } 11955 /^X\/\(\/\).*/{ 11956 s//\1/ 11957 q 11958 } 11959 s/.*/./; q'` 11960 11961# Avoid depending upon Character Ranges. 11962as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11963as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 11964as_cr_Letters=$as_cr_letters$as_cr_LETTERS 11965as_cr_digits='0123456789' 11966as_cr_alnum=$as_cr_Letters$as_cr_digits 11967 11968ECHO_C= ECHO_N= ECHO_T= 11969case `echo -n x` in #((((( 11970-n*) 11971 case `echo 'xy\c'` in 11972 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 11973 xy) ECHO_C='\c';; 11974 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 11975 ECHO_T=' ';; 11976 esac;; 11977*) 11978 ECHO_N='-n';; 11979esac 11980 11981rm -f conf$$ conf$$.exe conf$$.file 11982if test -d conf$$.dir; then 11983 rm -f conf$$.dir/conf$$.file 11984else 11985 rm -f conf$$.dir 11986 mkdir conf$$.dir 2>/dev/null 11987fi 11988if (echo >conf$$.file) 2>/dev/null; then 11989 if ln -s conf$$.file conf$$ 2>/dev/null; then 11990 as_ln_s='ln -s' 11991 # ... but there are two gotchas: 11992 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11993 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11994 # In both cases, we have to default to `cp -p'. 11995 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11996 as_ln_s='cp -p' 11997 elif ln conf$$.file conf$$ 2>/dev/null; then 11998 as_ln_s=ln 11999 else 12000 as_ln_s='cp -p' 12001 fi 12002else 12003 as_ln_s='cp -p' 12004fi 12005rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12006rmdir conf$$.dir 2>/dev/null 12007 12008 12009# as_fn_mkdir_p 12010# ------------- 12011# Create "$as_dir" as a directory, including parents if necessary. 12012as_fn_mkdir_p () 12013{ 12014 12015 case $as_dir in #( 12016 -*) as_dir=./$as_dir;; 12017 esac 12018 test -d "$as_dir" || eval $as_mkdir_p || { 12019 as_dirs= 12020 while :; do 12021 case $as_dir in #( 12022 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12023 *) as_qdir=$as_dir;; 12024 esac 12025 as_dirs="'$as_qdir' $as_dirs" 12026 as_dir=`$as_dirname -- "$as_dir" || 12027$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12028 X"$as_dir" : 'X\(//\)[^/]' \| \ 12029 X"$as_dir" : 'X\(//\)$' \| \ 12030 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12031$as_echo X"$as_dir" | 12032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12033 s//\1/ 12034 q 12035 } 12036 /^X\(\/\/\)[^/].*/{ 12037 s//\1/ 12038 q 12039 } 12040 /^X\(\/\/\)$/{ 12041 s//\1/ 12042 q 12043 } 12044 /^X\(\/\).*/{ 12045 s//\1/ 12046 q 12047 } 12048 s/.*/./; q'` 12049 test -d "$as_dir" && break 12050 done 12051 test -z "$as_dirs" || eval "mkdir $as_dirs" 12052 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12053 12054 12055} # as_fn_mkdir_p 12056if mkdir -p . 2>/dev/null; then 12057 as_mkdir_p='mkdir -p "$as_dir"' 12058else 12059 test -d ./-p && rmdir ./-p 12060 as_mkdir_p=false 12061fi 12062 12063if test -x / >/dev/null 2>&1; then 12064 as_test_x='test -x' 12065else 12066 if ls -dL / >/dev/null 2>&1; then 12067 as_ls_L_option=L 12068 else 12069 as_ls_L_option= 12070 fi 12071 as_test_x=' 12072 eval sh -c '\'' 12073 if test -d "$1"; then 12074 test -d "$1/."; 12075 else 12076 case $1 in #( 12077 -*)set "./$1";; 12078 esac; 12079 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 12080 ???[sx]*):;;*)false;;esac;fi 12081 '\'' sh 12082 ' 12083fi 12084as_executable_p=$as_test_x 12085 12086# Sed expression to map a string onto a valid CPP name. 12087as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12088 12089# Sed expression to map a string onto a valid variable name. 12090as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12091 12092 12093exec 6>&1 12094## ----------------------------------- ## 12095## Main body of $CONFIG_STATUS script. ## 12096## ----------------------------------- ## 12097_ASEOF 12098test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12099 12100cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12101# Save the log message, to keep $0 and so on meaningful, and to 12102# report actual input values of CONFIG_FILES etc. instead of their 12103# values after options handling. 12104ac_log=" 12105This file was extended by random128 $as_me 0.10, which was 12106generated by GNU Autoconf 2.66. Invocation command line was 12107 12108 CONFIG_FILES = $CONFIG_FILES 12109 CONFIG_HEADERS = $CONFIG_HEADERS 12110 CONFIG_LINKS = $CONFIG_LINKS 12111 CONFIG_COMMANDS = $CONFIG_COMMANDS 12112 $ $0 $@ 12113 12114on `(hostname || uname -n) 2>/dev/null | sed 1q` 12115" 12116 12117_ACEOF 12118 12119case $ac_config_files in *" 12120"*) set x $ac_config_files; shift; ac_config_files=$*;; 12121esac 12122 12123case $ac_config_headers in *" 12124"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 12125esac 12126 12127 12128cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12129# Files that config.status was made for. 12130config_files="$ac_config_files" 12131config_headers="$ac_config_headers" 12132config_commands="$ac_config_commands" 12133 12134_ACEOF 12135 12136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12137ac_cs_usage="\ 12138\`$as_me' instantiates files and other configuration actions 12139from templates according to the current configuration. Unless the files 12140and actions are specified as TAGs, all are instantiated by default. 12141 12142Usage: $0 [OPTION]... [TAG]... 12143 12144 -h, --help print this help, then exit 12145 -V, --version print version number and configuration settings, then exit 12146 --config print configuration, then exit 12147 -q, --quiet, --silent 12148 do not print progress messages 12149 -d, --debug don't remove temporary files 12150 --recheck update $as_me by reconfiguring in the same conditions 12151 --file=FILE[:TEMPLATE] 12152 instantiate the configuration file FILE 12153 --header=FILE[:TEMPLATE] 12154 instantiate the configuration header FILE 12155 12156Configuration files: 12157$config_files 12158 12159Configuration headers: 12160$config_headers 12161 12162Configuration commands: 12163$config_commands 12164 12165Report bugs to <courier-users@lists.sourceforge.net>." 12166 12167_ACEOF 12168cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12169ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12170ac_cs_version="\\ 12171random128 config.status 0.10 12172configured by $0, generated by GNU Autoconf 2.66, 12173 with options \\"\$ac_cs_config\\" 12174 12175Copyright (C) 2010 Free Software Foundation, Inc. 12176This config.status script is free software; the Free Software Foundation 12177gives unlimited permission to copy, distribute and modify it." 12178 12179ac_pwd='$ac_pwd' 12180srcdir='$srcdir' 12181INSTALL='$INSTALL' 12182MKDIR_P='$MKDIR_P' 12183AWK='$AWK' 12184test -n "\$AWK" || AWK=awk 12185_ACEOF 12186 12187cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12188# The default lists apply if the user does not specify any file. 12189ac_need_defaults=: 12190while test $# != 0 12191do 12192 case $1 in 12193 --*=*) 12194 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12195 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12196 ac_shift=: 12197 ;; 12198 *) 12199 ac_option=$1 12200 ac_optarg=$2 12201 ac_shift=shift 12202 ;; 12203 esac 12204 12205 case $ac_option in 12206 # Handling of the options. 12207 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12208 ac_cs_recheck=: ;; 12209 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12210 $as_echo "$ac_cs_version"; exit ;; 12211 --config | --confi | --conf | --con | --co | --c ) 12212 $as_echo "$ac_cs_config"; exit ;; 12213 --debug | --debu | --deb | --de | --d | -d ) 12214 debug=: ;; 12215 --file | --fil | --fi | --f ) 12216 $ac_shift 12217 case $ac_optarg in 12218 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12219 esac 12220 as_fn_append CONFIG_FILES " '$ac_optarg'" 12221 ac_need_defaults=false;; 12222 --header | --heade | --head | --hea ) 12223 $ac_shift 12224 case $ac_optarg in 12225 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12226 esac 12227 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 12228 ac_need_defaults=false;; 12229 --he | --h) 12230 # Conflict between --help and --header 12231 as_fn_error $? "ambiguous option: \`$1' 12232Try \`$0 --help' for more information.";; 12233 --help | --hel | -h ) 12234 $as_echo "$ac_cs_usage"; exit ;; 12235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12236 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12237 ac_cs_silent=: ;; 12238 12239 # This is an error. 12240 -*) as_fn_error $? "unrecognized option: \`$1' 12241Try \`$0 --help' for more information." ;; 12242 12243 *) as_fn_append ac_config_targets " $1" 12244 ac_need_defaults=false ;; 12245 12246 esac 12247 shift 12248done 12249 12250ac_configure_extra_args= 12251 12252if $ac_cs_silent; then 12253 exec 6>/dev/null 12254 ac_configure_extra_args="$ac_configure_extra_args --silent" 12255fi 12256 12257_ACEOF 12258cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12259if \$ac_cs_recheck; then 12260 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12261 shift 12262 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12263 CONFIG_SHELL='$SHELL' 12264 export CONFIG_SHELL 12265 exec "\$@" 12266fi 12267 12268_ACEOF 12269cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12270exec 5>>config.log 12271{ 12272 echo 12273 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12274## Running $as_me. ## 12275_ASBOX 12276 $as_echo "$ac_log" 12277} >&5 12278 12279_ACEOF 12280cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12281# 12282# INIT-COMMANDS 12283# 12284AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12285 12286 12287# The HP-UX ksh and POSIX shell print the target directory to stdout 12288# if CDPATH is set. 12289(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12290 12291sed_quote_subst='$sed_quote_subst' 12292double_quote_subst='$double_quote_subst' 12293delay_variable_subst='$delay_variable_subst' 12294macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 12295macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 12296enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 12297enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 12298pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 12299enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 12300SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 12301ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 12302host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 12303host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 12304host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 12305build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 12306build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 12307build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 12308SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 12309Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 12310GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 12311EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 12312FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 12313LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 12314NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 12315LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 12316max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 12317ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 12318exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 12319lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12320lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12321lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12322reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 12323reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 12324OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 12325deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 12326file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 12327AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 12328AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 12329STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12330RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12331old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12332old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12333old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 12334lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 12335CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 12336CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 12337compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 12338GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 12339lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 12340lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12341lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12342lt_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"`' 12343objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 12344MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 12345lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 12346lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 12347lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 12348lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 12349lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 12350need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 12351DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12352NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12353LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12354OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 12355OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 12356libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 12357shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 12358extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12359archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 12360enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 12361export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 12362whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 12363compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 12364old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 12365old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12366archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 12367archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12368module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 12369module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12370with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 12371allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 12372no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 12373hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 12374hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' 12375hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 12376hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 12377hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 12378hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 12379hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 12380hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12381inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12382link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12383fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`' 12384always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 12385export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 12386exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 12387include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 12388prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 12389file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12390variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12391need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12392need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 12393version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 12394runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 12395shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 12396shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 12397libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 12398library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 12399soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 12400install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 12401postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12402postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12403finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 12404finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 12405hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 12406sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 12407sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 12408hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 12409enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 12410enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 12411enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 12412old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 12413striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 12414 12415LTCC='$LTCC' 12416LTCFLAGS='$LTCFLAGS' 12417compiler='$compiler_DEFAULT' 12418 12419# A function that is used when there is no print builtin or printf. 12420func_fallback_echo () 12421{ 12422 eval 'cat <<_LTECHO_EOF 12423\$1 12424_LTECHO_EOF' 12425} 12426 12427# Quote evaled strings. 12428for var in SHELL \ 12429ECHO \ 12430SED \ 12431GREP \ 12432EGREP \ 12433FGREP \ 12434LD \ 12435NM \ 12436LN_S \ 12437lt_SP2NL \ 12438lt_NL2SP \ 12439reload_flag \ 12440OBJDUMP \ 12441deplibs_check_method \ 12442file_magic_cmd \ 12443AR \ 12444AR_FLAGS \ 12445STRIP \ 12446RANLIB \ 12447CC \ 12448CFLAGS \ 12449compiler \ 12450lt_cv_sys_global_symbol_pipe \ 12451lt_cv_sys_global_symbol_to_cdecl \ 12452lt_cv_sys_global_symbol_to_c_name_address \ 12453lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12454lt_prog_compiler_no_builtin_flag \ 12455lt_prog_compiler_wl \ 12456lt_prog_compiler_pic \ 12457lt_prog_compiler_static \ 12458lt_cv_prog_compiler_c_o \ 12459need_locks \ 12460DSYMUTIL \ 12461NMEDIT \ 12462LIPO \ 12463OTOOL \ 12464OTOOL64 \ 12465shrext_cmds \ 12466export_dynamic_flag_spec \ 12467whole_archive_flag_spec \ 12468compiler_needs_object \ 12469with_gnu_ld \ 12470allow_undefined_flag \ 12471no_undefined_flag \ 12472hardcode_libdir_flag_spec \ 12473hardcode_libdir_flag_spec_ld \ 12474hardcode_libdir_separator \ 12475fix_srcfile_path \ 12476exclude_expsyms \ 12477include_expsyms \ 12478file_list_spec \ 12479variables_saved_for_relink \ 12480libname_spec \ 12481library_names_spec \ 12482soname_spec \ 12483install_override_mode \ 12484finish_eval \ 12485old_striplib \ 12486striplib; do 12487 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12488 *[\\\\\\\`\\"\\\$]*) 12489 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 12490 ;; 12491 *) 12492 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12493 ;; 12494 esac 12495done 12496 12497# Double-quote double-evaled strings. 12498for var in reload_cmds \ 12499old_postinstall_cmds \ 12500old_postuninstall_cmds \ 12501old_archive_cmds \ 12502extract_expsyms_cmds \ 12503old_archive_from_new_cmds \ 12504old_archive_from_expsyms_cmds \ 12505archive_cmds \ 12506archive_expsym_cmds \ 12507module_cmds \ 12508module_expsym_cmds \ 12509export_symbols_cmds \ 12510prelink_cmds \ 12511postinstall_cmds \ 12512postuninstall_cmds \ 12513finish_cmds \ 12514sys_lib_search_path_spec \ 12515sys_lib_dlsearch_path_spec; do 12516 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12517 *[\\\\\\\`\\"\\\$]*) 12518 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 12519 ;; 12520 *) 12521 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12522 ;; 12523 esac 12524done 12525 12526ac_aux_dir='$ac_aux_dir' 12527xsi_shell='$xsi_shell' 12528lt_shell_append='$lt_shell_append' 12529 12530# See if we are running on zsh, and set the options which allow our 12531# commands through without removal of \ escapes INIT. 12532if test -n "\${ZSH_VERSION+set}" ; then 12533 setopt NO_GLOB_SUBST 12534fi 12535 12536 12537 PACKAGE='$PACKAGE' 12538 VERSION='$VERSION' 12539 TIMESTAMP='$TIMESTAMP' 12540 RM='$RM' 12541 ofile='$ofile' 12542 12543 12544 12545 12546_ACEOF 12547 12548cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12549 12550# Handling of arguments. 12551for ac_config_target in $ac_config_targets 12552do 12553 case $ac_config_target in 12554 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 12555 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12556 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12557 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12558 12559 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12560 esac 12561done 12562 12563 12564# If the user did not use the arguments to specify the items to instantiate, 12565# then the envvar interface is used. Set only those that are not. 12566# We use the long form for the default assignment because of an extremely 12567# bizarre bug on SunOS 4.1.3. 12568if $ac_need_defaults; then 12569 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 12570 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 12571 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 12572fi 12573 12574# Have a temporary directory for convenience. Make it in the build tree 12575# simply because there is no reason against having it here, and in addition, 12576# creating and moving files from /tmp can sometimes cause problems. 12577# Hook for its removal unless debugging. 12578# Note that there is a small window in which the directory will not be cleaned: 12579# after its creation but before its name has been assigned to `$tmp'. 12580$debug || 12581{ 12582 tmp= 12583 trap 'exit_status=$? 12584 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 12585' 0 12586 trap 'as_fn_exit 1' 1 2 13 15 12587} 12588# Create a (secure) tmp directory for tmp files. 12589 12590{ 12591 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12592 test -n "$tmp" && test -d "$tmp" 12593} || 12594{ 12595 tmp=./conf$$-$RANDOM 12596 (umask 077 && mkdir "$tmp") 12597} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 12598 12599# Set up the scripts for CONFIG_FILES section. 12600# No need to generate them if there are no CONFIG_FILES. 12601# This happens for instance with `./config.status config.h'. 12602if test -n "$CONFIG_FILES"; then 12603 12604 12605ac_cr=`echo X | tr X '\015'` 12606# On cygwin, bash can eat \r inside `` if the user requested igncr. 12607# But we know of no other shell where ac_cr would be empty at this 12608# point, so we can use a bashism as a fallback. 12609if test "x$ac_cr" = x; then 12610 eval ac_cr=\$\'\\r\' 12611fi 12612ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12613if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12614 ac_cs_awk_cr='\\r' 12615else 12616 ac_cs_awk_cr=$ac_cr 12617fi 12618 12619echo 'BEGIN {' >"$tmp/subs1.awk" && 12620_ACEOF 12621 12622 12623{ 12624 echo "cat >conf$$subs.awk <<_ACEOF" && 12625 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 12626 echo "_ACEOF" 12627} >conf$$subs.sh || 12628 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12629ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 12630ac_delim='%!_!# ' 12631for ac_last_try in false false false false false :; do 12632 . ./conf$$subs.sh || 12633 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12634 12635 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 12636 if test $ac_delim_n = $ac_delim_num; then 12637 break 12638 elif $ac_last_try; then 12639 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12640 else 12641 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12642 fi 12643done 12644rm -f conf$$subs.sh 12645 12646cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12647cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 12648_ACEOF 12649sed -n ' 12650h 12651s/^/S["/; s/!.*/"]=/ 12652p 12653g 12654s/^[^!]*!// 12655:repl 12656t repl 12657s/'"$ac_delim"'$// 12658t delim 12659:nl 12660h 12661s/\(.\{148\}\)..*/\1/ 12662t more1 12663s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 12664p 12665n 12666b repl 12667:more1 12668s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12669p 12670g 12671s/.\{148\}// 12672t nl 12673:delim 12674h 12675s/\(.\{148\}\)..*/\1/ 12676t more2 12677s/["\\]/\\&/g; s/^/"/; s/$/"/ 12678p 12679b 12680:more2 12681s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12682p 12683g 12684s/.\{148\}// 12685t delim 12686' <conf$$subs.awk | sed ' 12687/^[^""]/{ 12688 N 12689 s/\n// 12690} 12691' >>$CONFIG_STATUS || ac_write_fail=1 12692rm -f conf$$subs.awk 12693cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12694_ACAWK 12695cat >>"\$tmp/subs1.awk" <<_ACAWK && 12696 for (key in S) S_is_set[key] = 1 12697 FS = "" 12698 12699} 12700{ 12701 line = $ 0 12702 nfields = split(line, field, "@") 12703 substed = 0 12704 len = length(field[1]) 12705 for (i = 2; i < nfields; i++) { 12706 key = field[i] 12707 keylen = length(key) 12708 if (S_is_set[key]) { 12709 value = S[key] 12710 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 12711 len += length(value) + length(field[++i]) 12712 substed = 1 12713 } else 12714 len += 1 + keylen 12715 } 12716 12717 print line 12718} 12719 12720_ACAWK 12721_ACEOF 12722cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12723if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 12724 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 12725else 12726 cat 12727fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 12728 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 12729_ACEOF 12730 12731# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 12732# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 12733# trailing colons and then remove the whole line if VPATH becomes empty 12734# (actually we leave an empty line to preserve line numbers). 12735if test "x$srcdir" = x.; then 12736 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 12737h 12738s/// 12739s/^/:/ 12740s/[ ]*$/:/ 12741s/:\$(srcdir):/:/g 12742s/:\${srcdir}:/:/g 12743s/:@srcdir@:/:/g 12744s/^:*// 12745s/:*$// 12746x 12747s/\(=[ ]*\).*/\1/ 12748G 12749s/\n// 12750s/^[^=]*=[ ]*$// 12751}' 12752fi 12753 12754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12755fi # test -n "$CONFIG_FILES" 12756 12757# Set up the scripts for CONFIG_HEADERS section. 12758# No need to generate them if there are no CONFIG_HEADERS. 12759# This happens for instance with `./config.status Makefile'. 12760if test -n "$CONFIG_HEADERS"; then 12761cat >"$tmp/defines.awk" <<\_ACAWK || 12762BEGIN { 12763_ACEOF 12764 12765# Transform confdefs.h into an awk script `defines.awk', embedded as 12766# here-document in config.status, that substitutes the proper values into 12767# config.h.in to produce config.h. 12768 12769# Create a delimiter string that does not exist in confdefs.h, to ease 12770# handling of long lines. 12771ac_delim='%!_!# ' 12772for ac_last_try in false false :; do 12773 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 12774 if test -z "$ac_t"; then 12775 break 12776 elif $ac_last_try; then 12777 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 12778 else 12779 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12780 fi 12781done 12782 12783# For the awk script, D is an array of macro values keyed by name, 12784# likewise P contains macro parameters if any. Preserve backslash 12785# newline sequences. 12786 12787ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 12788sed -n ' 12789s/.\{148\}/&'"$ac_delim"'/g 12790t rset 12791:rset 12792s/^[ ]*#[ ]*define[ ][ ]*/ / 12793t def 12794d 12795:def 12796s/\\$// 12797t bsnl 12798s/["\\]/\\&/g 12799s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12800D["\1"]=" \3"/p 12801s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 12802d 12803:bsnl 12804s/["\\]/\\&/g 12805s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12806D["\1"]=" \3\\\\\\n"\\/p 12807t cont 12808s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 12809t cont 12810d 12811:cont 12812n 12813s/.\{148\}/&'"$ac_delim"'/g 12814t clear 12815:clear 12816s/\\$// 12817t bsnlc 12818s/["\\]/\\&/g; s/^/"/; s/$/"/p 12819d 12820:bsnlc 12821s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 12822b cont 12823' <confdefs.h | sed ' 12824s/'"$ac_delim"'/"\\\ 12825"/g' >>$CONFIG_STATUS || ac_write_fail=1 12826 12827cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12828 for (key in D) D_is_set[key] = 1 12829 FS = "" 12830} 12831/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 12832 line = \$ 0 12833 split(line, arg, " ") 12834 if (arg[1] == "#") { 12835 defundef = arg[2] 12836 mac1 = arg[3] 12837 } else { 12838 defundef = substr(arg[1], 2) 12839 mac1 = arg[2] 12840 } 12841 split(mac1, mac2, "(") #) 12842 macro = mac2[1] 12843 prefix = substr(line, 1, index(line, defundef) - 1) 12844 if (D_is_set[macro]) { 12845 # Preserve the white space surrounding the "#". 12846 print prefix "define", macro P[macro] D[macro] 12847 next 12848 } else { 12849 # Replace #undef with comments. This is necessary, for example, 12850 # in the case of _POSIX_SOURCE, which is predefined and required 12851 # on some systems where configure will not decide to define it. 12852 if (defundef == "undef") { 12853 print "/*", prefix defundef, macro, "*/" 12854 next 12855 } 12856 } 12857} 12858{ print } 12859_ACAWK 12860_ACEOF 12861cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12862 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 12863fi # test -n "$CONFIG_HEADERS" 12864 12865 12866eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 12867shift 12868for ac_tag 12869do 12870 case $ac_tag in 12871 :[FHLC]) ac_mode=$ac_tag; continue;; 12872 esac 12873 case $ac_mode$ac_tag in 12874 :[FHL]*:*);; 12875 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 12876 :[FH]-) ac_tag=-:-;; 12877 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 12878 esac 12879 ac_save_IFS=$IFS 12880 IFS=: 12881 set x $ac_tag 12882 IFS=$ac_save_IFS 12883 shift 12884 ac_file=$1 12885 shift 12886 12887 case $ac_mode in 12888 :L) ac_source=$1;; 12889 :[FH]) 12890 ac_file_inputs= 12891 for ac_f 12892 do 12893 case $ac_f in 12894 -) ac_f="$tmp/stdin";; 12895 *) # Look for the file first in the build tree, then in the source tree 12896 # (if the path is not absolute). The absolute path cannot be DOS-style, 12897 # because $ac_f cannot contain `:'. 12898 test -f "$ac_f" || 12899 case $ac_f in 12900 [\\/$]*) false;; 12901 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 12902 esac || 12903 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 12904 esac 12905 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12906 as_fn_append ac_file_inputs " '$ac_f'" 12907 done 12908 12909 # Let's still pretend it is `configure' which instantiates (i.e., don't 12910 # use $as_me), people would be surprised to read: 12911 # /* config.h. Generated by config.status. */ 12912 configure_input='Generated from '` 12913 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 12914 `' by configure.' 12915 if test x"$ac_file" != x-; then 12916 configure_input="$ac_file. $configure_input" 12917 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 12918$as_echo "$as_me: creating $ac_file" >&6;} 12919 fi 12920 # Neutralize special characters interpreted by sed in replacement strings. 12921 case $configure_input in #( 12922 *\&* | *\|* | *\\* ) 12923 ac_sed_conf_input=`$as_echo "$configure_input" | 12924 sed 's/[\\\\&|]/\\\\&/g'`;; #( 12925 *) ac_sed_conf_input=$configure_input;; 12926 esac 12927 12928 case $ac_tag in 12929 *:-:* | *:-) cat >"$tmp/stdin" \ 12930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 12931 esac 12932 ;; 12933 esac 12934 12935 ac_dir=`$as_dirname -- "$ac_file" || 12936$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12937 X"$ac_file" : 'X\(//\)[^/]' \| \ 12938 X"$ac_file" : 'X\(//\)$' \| \ 12939 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 12940$as_echo X"$ac_file" | 12941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12942 s//\1/ 12943 q 12944 } 12945 /^X\(\/\/\)[^/].*/{ 12946 s//\1/ 12947 q 12948 } 12949 /^X\(\/\/\)$/{ 12950 s//\1/ 12951 q 12952 } 12953 /^X\(\/\).*/{ 12954 s//\1/ 12955 q 12956 } 12957 s/.*/./; q'` 12958 as_dir="$ac_dir"; as_fn_mkdir_p 12959 ac_builddir=. 12960 12961case "$ac_dir" in 12962.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 12963*) 12964 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 12965 # A ".." for each directory in $ac_dir_suffix. 12966 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 12967 case $ac_top_builddir_sub in 12968 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 12969 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 12970 esac ;; 12971esac 12972ac_abs_top_builddir=$ac_pwd 12973ac_abs_builddir=$ac_pwd$ac_dir_suffix 12974# for backward compatibility: 12975ac_top_builddir=$ac_top_build_prefix 12976 12977case $srcdir in 12978 .) # We are building in place. 12979 ac_srcdir=. 12980 ac_top_srcdir=$ac_top_builddir_sub 12981 ac_abs_top_srcdir=$ac_pwd ;; 12982 [\\/]* | ?:[\\/]* ) # Absolute name. 12983 ac_srcdir=$srcdir$ac_dir_suffix; 12984 ac_top_srcdir=$srcdir 12985 ac_abs_top_srcdir=$srcdir ;; 12986 *) # Relative name. 12987 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 12988 ac_top_srcdir=$ac_top_build_prefix$srcdir 12989 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 12990esac 12991ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 12992 12993 12994 case $ac_mode in 12995 :F) 12996 # 12997 # CONFIG_FILE 12998 # 12999 13000 case $INSTALL in 13001 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13002 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13003 esac 13004 ac_MKDIR_P=$MKDIR_P 13005 case $MKDIR_P in 13006 [\\/$]* | ?:[\\/]* ) ;; 13007 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13008 esac 13009_ACEOF 13010 13011cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13012# If the template does not know about datarootdir, expand it. 13013# FIXME: This hack should be removed a few years after 2.60. 13014ac_datarootdir_hack=; ac_datarootdir_seen= 13015ac_sed_dataroot=' 13016/datarootdir/ { 13017 p 13018 q 13019} 13020/@datadir@/p 13021/@docdir@/p 13022/@infodir@/p 13023/@localedir@/p 13024/@mandir@/p' 13025case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13026*datarootdir*) ac_datarootdir_seen=yes;; 13027*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13029$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13030_ACEOF 13031cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13032 ac_datarootdir_hack=' 13033 s&@datadir@&$datadir&g 13034 s&@docdir@&$docdir&g 13035 s&@infodir@&$infodir&g 13036 s&@localedir@&$localedir&g 13037 s&@mandir@&$mandir&g 13038 s&\\\${datarootdir}&$datarootdir&g' ;; 13039esac 13040_ACEOF 13041 13042# Neutralize VPATH when `$srcdir' = `.'. 13043# Shell code in configure.ac might set extrasub. 13044# FIXME: do we really want to maintain this feature? 13045cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13046ac_sed_extra="$ac_vpsub 13047$extrasub 13048_ACEOF 13049cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13050:t 13051/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13052s|@configure_input@|$ac_sed_conf_input|;t t 13053s&@top_builddir@&$ac_top_builddir_sub&;t t 13054s&@top_build_prefix@&$ac_top_build_prefix&;t t 13055s&@srcdir@&$ac_srcdir&;t t 13056s&@abs_srcdir@&$ac_abs_srcdir&;t t 13057s&@top_srcdir@&$ac_top_srcdir&;t t 13058s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13059s&@builddir@&$ac_builddir&;t t 13060s&@abs_builddir@&$ac_abs_builddir&;t t 13061s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13062s&@INSTALL@&$ac_INSTALL&;t t 13063s&@MKDIR_P@&$ac_MKDIR_P&;t t 13064$ac_datarootdir_hack 13065" 13066eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 13067 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13068 13069test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13070 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13071 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13073which seems to be undefined. Please make sure it is defined" >&5 13074$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13075which seems to be undefined. Please make sure it is defined" >&2;} 13076 13077 rm -f "$tmp/stdin" 13078 case $ac_file in 13079 -) cat "$tmp/out" && rm -f "$tmp/out";; 13080 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 13081 esac \ 13082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13083 ;; 13084 :H) 13085 # 13086 # CONFIG_HEADER 13087 # 13088 if test x"$ac_file" != x-; then 13089 { 13090 $as_echo "/* $configure_input */" \ 13091 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 13092 } >"$tmp/config.h" \ 13093 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13094 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 13095 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13096$as_echo "$as_me: $ac_file is unchanged" >&6;} 13097 else 13098 rm -f "$ac_file" 13099 mv "$tmp/config.h" "$ac_file" \ 13100 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13101 fi 13102 else 13103 $as_echo "/* $configure_input */" \ 13104 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 13105 || as_fn_error $? "could not create -" "$LINENO" 5 13106 fi 13107# Compute "$ac_file"'s index in $config_headers. 13108_am_arg="$ac_file" 13109_am_stamp_count=1 13110for _am_header in $config_headers :; do 13111 case $_am_header in 13112 $_am_arg | $_am_arg:* ) 13113 break ;; 13114 * ) 13115 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 13116 esac 13117done 13118echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 13119$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13120 X"$_am_arg" : 'X\(//\)[^/]' \| \ 13121 X"$_am_arg" : 'X\(//\)$' \| \ 13122 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 13123$as_echo X"$_am_arg" | 13124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13125 s//\1/ 13126 q 13127 } 13128 /^X\(\/\/\)[^/].*/{ 13129 s//\1/ 13130 q 13131 } 13132 /^X\(\/\/\)$/{ 13133 s//\1/ 13134 q 13135 } 13136 /^X\(\/\).*/{ 13137 s//\1/ 13138 q 13139 } 13140 s/.*/./; q'`/stamp-h$_am_stamp_count 13141 ;; 13142 13143 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 13144$as_echo "$as_me: executing $ac_file commands" >&6;} 13145 ;; 13146 esac 13147 13148 13149 case $ac_file$ac_mode in 13150 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13151 # Autoconf 2.62 quotes --file arguments for eval, but not when files 13152 # are listed without --file. Let's play safe and only enable the eval 13153 # if we detect the quoting. 13154 case $CONFIG_FILES in 13155 *\'*) eval set x "$CONFIG_FILES" ;; 13156 *) set x $CONFIG_FILES ;; 13157 esac 13158 shift 13159 for mf 13160 do 13161 # Strip MF so we end up with the name of the file. 13162 mf=`echo "$mf" | sed -e 's/:.*$//'` 13163 # Check whether this is an Automake generated Makefile or not. 13164 # We used to match only the files named `Makefile.in', but 13165 # some people rename them; so instead we look at the file content. 13166 # Grep'ing the first line is not enough: some people post-process 13167 # each Makefile.in and add a new line on top of each file to say so. 13168 # Grep'ing the whole file is not good either: AIX grep has a line 13169 # limit of 2048, but all sed's we know have understand at least 4000. 13170 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13171 dirpart=`$as_dirname -- "$mf" || 13172$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13173 X"$mf" : 'X\(//\)[^/]' \| \ 13174 X"$mf" : 'X\(//\)$' \| \ 13175 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13176$as_echo X"$mf" | 13177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13178 s//\1/ 13179 q 13180 } 13181 /^X\(\/\/\)[^/].*/{ 13182 s//\1/ 13183 q 13184 } 13185 /^X\(\/\/\)$/{ 13186 s//\1/ 13187 q 13188 } 13189 /^X\(\/\).*/{ 13190 s//\1/ 13191 q 13192 } 13193 s/.*/./; q'` 13194 else 13195 continue 13196 fi 13197 # Extract the definition of DEPDIR, am__include, and am__quote 13198 # from the Makefile without running `make'. 13199 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13200 test -z "$DEPDIR" && continue 13201 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13202 test -z "am__include" && continue 13203 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13204 # When using ansi2knr, U may be empty or an underscore; expand it 13205 U=`sed -n 's/^U = //p' < "$mf"` 13206 # Find all dependency output files, they are included files with 13207 # $(DEPDIR) in their names. We invoke sed twice because it is the 13208 # simplest approach to changing $(DEPDIR) to its actual value in the 13209 # expansion. 13210 for file in `sed -n " 13211 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13212 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 13213 # Make sure the directory exists. 13214 test -f "$dirpart/$file" && continue 13215 fdir=`$as_dirname -- "$file" || 13216$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13217 X"$file" : 'X\(//\)[^/]' \| \ 13218 X"$file" : 'X\(//\)$' \| \ 13219 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13220$as_echo X"$file" | 13221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13222 s//\1/ 13223 q 13224 } 13225 /^X\(\/\/\)[^/].*/{ 13226 s//\1/ 13227 q 13228 } 13229 /^X\(\/\/\)$/{ 13230 s//\1/ 13231 q 13232 } 13233 /^X\(\/\).*/{ 13234 s//\1/ 13235 q 13236 } 13237 s/.*/./; q'` 13238 as_dir=$dirpart/$fdir; as_fn_mkdir_p 13239 # echo "creating $dirpart/$file" 13240 echo '# dummy' > "$dirpart/$file" 13241 done 13242 done 13243} 13244 ;; 13245 "libtool":C) 13246 13247 # See if we are running on zsh, and set the options which allow our 13248 # commands through without removal of \ escapes. 13249 if test -n "${ZSH_VERSION+set}" ; then 13250 setopt NO_GLOB_SUBST 13251 fi 13252 13253 cfgfile="${ofile}T" 13254 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13255 $RM "$cfgfile" 13256 13257 cat <<_LT_EOF >> "$cfgfile" 13258#! $SHELL 13259 13260# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13261# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13262# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13263# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13264# 13265# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13266# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, 13267# Inc. 13268# Written by Gordon Matzigkeit, 1996 13269# 13270# This file is part of GNU Libtool. 13271# 13272# GNU Libtool is free software; you can redistribute it and/or 13273# modify it under the terms of the GNU General Public License as 13274# published by the Free Software Foundation; either version 2 of 13275# the License, or (at your option) any later version. 13276# 13277# As a special exception to the GNU General Public License, 13278# if you distribute this file as part of a program or library that 13279# is built using GNU Libtool, you may include this file under the 13280# same distribution terms that you use for the rest of that program. 13281# 13282# GNU Libtool is distributed in the hope that it will be useful, 13283# but WITHOUT ANY WARRANTY; without even the implied warranty of 13284# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13285# GNU General Public License for more details. 13286# 13287# You should have received a copy of the GNU General Public License 13288# along with GNU Libtool; see the file COPYING. If not, a copy 13289# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13290# obtained by writing to the Free Software Foundation, Inc., 13291# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13292 13293 13294# The names of the tagged configurations supported by this script. 13295available_tags="" 13296 13297# ### BEGIN LIBTOOL CONFIG 13298 13299# Which release of libtool.m4 was used? 13300macro_version=$macro_version 13301macro_revision=$macro_revision 13302 13303# Whether or not to build shared libraries. 13304build_libtool_libs=$enable_shared 13305 13306# Whether or not to build static libraries. 13307build_old_libs=$enable_static 13308 13309# What type of objects to build. 13310pic_mode=$pic_mode 13311 13312# Whether or not to optimize for fast installation. 13313fast_install=$enable_fast_install 13314 13315# Shell to use when invoking shell scripts. 13316SHELL=$lt_SHELL 13317 13318# An echo program that protects backslashes. 13319ECHO=$lt_ECHO 13320 13321# The host system. 13322host_alias=$host_alias 13323host=$host 13324host_os=$host_os 13325 13326# The build system. 13327build_alias=$build_alias 13328build=$build 13329build_os=$build_os 13330 13331# A sed program that does not truncate output. 13332SED=$lt_SED 13333 13334# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13335Xsed="\$SED -e 1s/^X//" 13336 13337# A grep program that handles long lines. 13338GREP=$lt_GREP 13339 13340# An ERE matcher. 13341EGREP=$lt_EGREP 13342 13343# A literal string matcher. 13344FGREP=$lt_FGREP 13345 13346# A BSD- or MS-compatible name lister. 13347NM=$lt_NM 13348 13349# Whether we need soft or hard links. 13350LN_S=$lt_LN_S 13351 13352# What is the maximum length of a command? 13353max_cmd_len=$max_cmd_len 13354 13355# Object file suffix (normally "o"). 13356objext=$ac_objext 13357 13358# Executable file suffix (normally ""). 13359exeext=$exeext 13360 13361# whether the shell understands "unset". 13362lt_unset=$lt_unset 13363 13364# turn spaces into newlines. 13365SP2NL=$lt_lt_SP2NL 13366 13367# turn newlines into spaces. 13368NL2SP=$lt_lt_NL2SP 13369 13370# An object symbol dumper. 13371OBJDUMP=$lt_OBJDUMP 13372 13373# Method to check whether dependent libraries are shared objects. 13374deplibs_check_method=$lt_deplibs_check_method 13375 13376# Command to use when deplibs_check_method == "file_magic". 13377file_magic_cmd=$lt_file_magic_cmd 13378 13379# The archiver. 13380AR=$lt_AR 13381AR_FLAGS=$lt_AR_FLAGS 13382 13383# A symbol stripping program. 13384STRIP=$lt_STRIP 13385 13386# Commands used to install an old-style archive. 13387RANLIB=$lt_RANLIB 13388old_postinstall_cmds=$lt_old_postinstall_cmds 13389old_postuninstall_cmds=$lt_old_postuninstall_cmds 13390 13391# Whether to use a lock for old archive extraction. 13392lock_old_archive_extraction=$lock_old_archive_extraction 13393 13394# A C compiler. 13395LTCC=$lt_CC 13396 13397# LTCC compiler flags. 13398LTCFLAGS=$lt_CFLAGS 13399 13400# Take the output of nm and produce a listing of raw symbols and C names. 13401global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13402 13403# Transform the output of nm in a proper C declaration. 13404global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13405 13406# Transform the output of nm in a C name address pair. 13407global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13408 13409# Transform the output of nm in a C name address pair when lib prefix is needed. 13410global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13411 13412# The name of the directory that contains temporary libtool files. 13413objdir=$objdir 13414 13415# Used to examine libraries when file_magic_cmd begins with "file". 13416MAGIC_CMD=$MAGIC_CMD 13417 13418# Must we lock files when doing compilation? 13419need_locks=$lt_need_locks 13420 13421# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13422DSYMUTIL=$lt_DSYMUTIL 13423 13424# Tool to change global to local symbols on Mac OS X. 13425NMEDIT=$lt_NMEDIT 13426 13427# Tool to manipulate fat objects and archives on Mac OS X. 13428LIPO=$lt_LIPO 13429 13430# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13431OTOOL=$lt_OTOOL 13432 13433# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13434OTOOL64=$lt_OTOOL64 13435 13436# Old archive suffix (normally "a"). 13437libext=$libext 13438 13439# Shared library suffix (normally ".so"). 13440shrext_cmds=$lt_shrext_cmds 13441 13442# The commands to extract the exported symbol list from a shared archive. 13443extract_expsyms_cmds=$lt_extract_expsyms_cmds 13444 13445# Variables whose values should be saved in libtool wrapper scripts and 13446# restored at link time. 13447variables_saved_for_relink=$lt_variables_saved_for_relink 13448 13449# Do we need the "lib" prefix for modules? 13450need_lib_prefix=$need_lib_prefix 13451 13452# Do we need a version for libraries? 13453need_version=$need_version 13454 13455# Library versioning type. 13456version_type=$version_type 13457 13458# Shared library runtime path variable. 13459runpath_var=$runpath_var 13460 13461# Shared library path variable. 13462shlibpath_var=$shlibpath_var 13463 13464# Is shlibpath searched before the hard-coded library search path? 13465shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13466 13467# Format of library name prefix. 13468libname_spec=$lt_libname_spec 13469 13470# List of archive names. First name is the real one, the rest are links. 13471# The last name is the one that the linker finds with -lNAME 13472library_names_spec=$lt_library_names_spec 13473 13474# The coded name of the library, if different from the real name. 13475soname_spec=$lt_soname_spec 13476 13477# Permission mode override for installation of shared libraries. 13478install_override_mode=$lt_install_override_mode 13479 13480# Command to use after installation of a shared archive. 13481postinstall_cmds=$lt_postinstall_cmds 13482 13483# Command to use after uninstallation of a shared archive. 13484postuninstall_cmds=$lt_postuninstall_cmds 13485 13486# Commands used to finish a libtool library installation in a directory. 13487finish_cmds=$lt_finish_cmds 13488 13489# As "finish_cmds", except a single script fragment to be evaled but 13490# not shown. 13491finish_eval=$lt_finish_eval 13492 13493# Whether we should hardcode library paths into libraries. 13494hardcode_into_libs=$hardcode_into_libs 13495 13496# Compile-time system search path for libraries. 13497sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13498 13499# Run-time system search path for libraries. 13500sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 13501 13502# Whether dlopen is supported. 13503dlopen_support=$enable_dlopen 13504 13505# Whether dlopen of programs is supported. 13506dlopen_self=$enable_dlopen_self 13507 13508# Whether dlopen of statically linked programs is supported. 13509dlopen_self_static=$enable_dlopen_self_static 13510 13511# Commands to strip libraries. 13512old_striplib=$lt_old_striplib 13513striplib=$lt_striplib 13514 13515 13516# The linker used to build libraries. 13517LD=$lt_LD 13518 13519# How to create reloadable object files. 13520reload_flag=$lt_reload_flag 13521reload_cmds=$lt_reload_cmds 13522 13523# Commands used to build an old-style archive. 13524old_archive_cmds=$lt_old_archive_cmds 13525 13526# A language specific compiler. 13527CC=$lt_compiler 13528 13529# Is the compiler the GNU compiler? 13530with_gcc=$GCC 13531 13532# Compiler flag to turn off builtin functions. 13533no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13534 13535# How to pass a linker flag through the compiler. 13536wl=$lt_lt_prog_compiler_wl 13537 13538# Additional compiler flags for building library objects. 13539pic_flag=$lt_lt_prog_compiler_pic 13540 13541# Compiler flag to prevent dynamic linking. 13542link_static_flag=$lt_lt_prog_compiler_static 13543 13544# Does compiler simultaneously support -c and -o options? 13545compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13546 13547# Whether or not to add -lc for building shared libraries. 13548build_libtool_need_lc=$archive_cmds_need_lc 13549 13550# Whether or not to disallow shared libs when runtime libs are static. 13551allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13552 13553# Compiler flag to allow reflexive dlopens. 13554export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13555 13556# Compiler flag to generate shared objects directly from archives. 13557whole_archive_flag_spec=$lt_whole_archive_flag_spec 13558 13559# Whether the compiler copes with passing no objects directly. 13560compiler_needs_object=$lt_compiler_needs_object 13561 13562# Create an old-style archive from a shared archive. 13563old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13564 13565# Create a temporary old-style archive to link instead of a shared archive. 13566old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13567 13568# Commands used to build a shared archive. 13569archive_cmds=$lt_archive_cmds 13570archive_expsym_cmds=$lt_archive_expsym_cmds 13571 13572# Commands used to build a loadable module if different from building 13573# a shared archive. 13574module_cmds=$lt_module_cmds 13575module_expsym_cmds=$lt_module_expsym_cmds 13576 13577# Whether we are building with GNU ld or not. 13578with_gnu_ld=$lt_with_gnu_ld 13579 13580# Flag that allows shared libraries with undefined symbols to be built. 13581allow_undefined_flag=$lt_allow_undefined_flag 13582 13583# Flag that enforces no undefined symbols. 13584no_undefined_flag=$lt_no_undefined_flag 13585 13586# Flag to hardcode \$libdir into a binary during linking. 13587# This must work even if \$libdir does not exist 13588hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13589 13590# If ld is used when linking, flag to hardcode \$libdir into a binary 13591# during linking. This must work even if \$libdir does not exist. 13592hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 13593 13594# Whether we need a single "-rpath" flag with a separated argument. 13595hardcode_libdir_separator=$lt_hardcode_libdir_separator 13596 13597# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13598# DIR into the resulting binary. 13599hardcode_direct=$hardcode_direct 13600 13601# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13602# DIR into the resulting binary and the resulting library dependency is 13603# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 13604# library is relocated. 13605hardcode_direct_absolute=$hardcode_direct_absolute 13606 13607# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13608# into the resulting binary. 13609hardcode_minus_L=$hardcode_minus_L 13610 13611# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13612# into the resulting binary. 13613hardcode_shlibpath_var=$hardcode_shlibpath_var 13614 13615# Set to "yes" if building a shared library automatically hardcodes DIR 13616# into the library and all subsequent libraries and executables linked 13617# against it. 13618hardcode_automatic=$hardcode_automatic 13619 13620# Set to yes if linker adds runtime paths of dependent libraries 13621# to runtime path list. 13622inherit_rpath=$inherit_rpath 13623 13624# Whether libtool must link a program against all its dependency libraries. 13625link_all_deplibs=$link_all_deplibs 13626 13627# Fix the shell variable \$srcfile for the compiler. 13628fix_srcfile_path=$lt_fix_srcfile_path 13629 13630# Set to "yes" if exported symbols are required. 13631always_export_symbols=$always_export_symbols 13632 13633# The commands to list exported symbols. 13634export_symbols_cmds=$lt_export_symbols_cmds 13635 13636# Symbols that should not be listed in the preloaded symbols. 13637exclude_expsyms=$lt_exclude_expsyms 13638 13639# Symbols that must always be exported. 13640include_expsyms=$lt_include_expsyms 13641 13642# Commands necessary for linking programs (against libraries) with templates. 13643prelink_cmds=$lt_prelink_cmds 13644 13645# Specify filename containing input files. 13646file_list_spec=$lt_file_list_spec 13647 13648# How to hardcode a shared library path into an executable. 13649hardcode_action=$hardcode_action 13650 13651# ### END LIBTOOL CONFIG 13652 13653_LT_EOF 13654 13655 case $host_os in 13656 aix3*) 13657 cat <<\_LT_EOF >> "$cfgfile" 13658# AIX sometimes has problems with the GCC collect2 program. For some 13659# reason, if we set the COLLECT_NAMES environment variable, the problems 13660# vanish in a puff of smoke. 13661if test "X${COLLECT_NAMES+set}" != Xset; then 13662 COLLECT_NAMES= 13663 export COLLECT_NAMES 13664fi 13665_LT_EOF 13666 ;; 13667 esac 13668 13669 13670ltmain="$ac_aux_dir/ltmain.sh" 13671 13672 13673 # We use sed instead of cat because bash on DJGPP gets confused if 13674 # if finds mixed CR/LF and LF-only lines. Since sed operates in 13675 # text mode, it properly converts lines to CR/LF. This bash problem 13676 # is reportedly fixed, but why not run on old versions too? 13677 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 13678 || (rm -f "$cfgfile"; exit 1) 13679 13680 case $xsi_shell in 13681 yes) 13682 cat << \_LT_EOF >> "$cfgfile" 13683 13684# func_dirname file append nondir_replacement 13685# Compute the dirname of FILE. If nonempty, add APPEND to the result, 13686# otherwise set result to NONDIR_REPLACEMENT. 13687func_dirname () 13688{ 13689 case ${1} in 13690 */*) func_dirname_result="${1%/*}${2}" ;; 13691 * ) func_dirname_result="${3}" ;; 13692 esac 13693} 13694 13695# func_basename file 13696func_basename () 13697{ 13698 func_basename_result="${1##*/}" 13699} 13700 13701# func_dirname_and_basename file append nondir_replacement 13702# perform func_basename and func_dirname in a single function 13703# call: 13704# dirname: Compute the dirname of FILE. If nonempty, 13705# add APPEND to the result, otherwise set result 13706# to NONDIR_REPLACEMENT. 13707# value returned in "$func_dirname_result" 13708# basename: Compute filename of FILE. 13709# value retuned in "$func_basename_result" 13710# Implementation must be kept synchronized with func_dirname 13711# and func_basename. For efficiency, we do not delegate to 13712# those functions but instead duplicate the functionality here. 13713func_dirname_and_basename () 13714{ 13715 case ${1} in 13716 */*) func_dirname_result="${1%/*}${2}" ;; 13717 * ) func_dirname_result="${3}" ;; 13718 esac 13719 func_basename_result="${1##*/}" 13720} 13721 13722# func_stripname prefix suffix name 13723# strip PREFIX and SUFFIX off of NAME. 13724# PREFIX and SUFFIX must not contain globbing or regex special 13725# characters, hashes, percent signs, but SUFFIX may contain a leading 13726# dot (in which case that matches only a dot). 13727func_stripname () 13728{ 13729 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 13730 # positional parameters, so assign one to ordinary parameter first. 13731 func_stripname_result=${3} 13732 func_stripname_result=${func_stripname_result#"${1}"} 13733 func_stripname_result=${func_stripname_result%"${2}"} 13734} 13735 13736# func_opt_split 13737func_opt_split () 13738{ 13739 func_opt_split_opt=${1%%=*} 13740 func_opt_split_arg=${1#*=} 13741} 13742 13743# func_lo2o object 13744func_lo2o () 13745{ 13746 case ${1} in 13747 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 13748 *) func_lo2o_result=${1} ;; 13749 esac 13750} 13751 13752# func_xform libobj-or-source 13753func_xform () 13754{ 13755 func_xform_result=${1%.*}.lo 13756} 13757 13758# func_arith arithmetic-term... 13759func_arith () 13760{ 13761 func_arith_result=$(( $* )) 13762} 13763 13764# func_len string 13765# STRING may not start with a hyphen. 13766func_len () 13767{ 13768 func_len_result=${#1} 13769} 13770 13771_LT_EOF 13772 ;; 13773 *) # Bourne compatible functions. 13774 cat << \_LT_EOF >> "$cfgfile" 13775 13776# func_dirname file append nondir_replacement 13777# Compute the dirname of FILE. If nonempty, add APPEND to the result, 13778# otherwise set result to NONDIR_REPLACEMENT. 13779func_dirname () 13780{ 13781 # Extract subdirectory from the argument. 13782 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` 13783 if test "X$func_dirname_result" = "X${1}"; then 13784 func_dirname_result="${3}" 13785 else 13786 func_dirname_result="$func_dirname_result${2}" 13787 fi 13788} 13789 13790# func_basename file 13791func_basename () 13792{ 13793 func_basename_result=`$ECHO "${1}" | $SED "$basename"` 13794} 13795 13796 13797# func_stripname prefix suffix name 13798# strip PREFIX and SUFFIX off of NAME. 13799# PREFIX and SUFFIX must not contain globbing or regex special 13800# characters, hashes, percent signs, but SUFFIX may contain a leading 13801# dot (in which case that matches only a dot). 13802# func_strip_suffix prefix name 13803func_stripname () 13804{ 13805 case ${2} in 13806 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 13807 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 13808 esac 13809} 13810 13811# sed scripts: 13812my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 13813my_sed_long_arg='1s/^-[^=]*=//' 13814 13815# func_opt_split 13816func_opt_split () 13817{ 13818 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` 13819 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` 13820} 13821 13822# func_lo2o object 13823func_lo2o () 13824{ 13825 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` 13826} 13827 13828# func_xform libobj-or-source 13829func_xform () 13830{ 13831 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` 13832} 13833 13834# func_arith arithmetic-term... 13835func_arith () 13836{ 13837 func_arith_result=`expr "$@"` 13838} 13839 13840# func_len string 13841# STRING may not start with a hyphen. 13842func_len () 13843{ 13844 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 13845} 13846 13847_LT_EOF 13848esac 13849 13850case $lt_shell_append in 13851 yes) 13852 cat << \_LT_EOF >> "$cfgfile" 13853 13854# func_append var value 13855# Append VALUE to the end of shell variable VAR. 13856func_append () 13857{ 13858 eval "$1+=\$2" 13859} 13860_LT_EOF 13861 ;; 13862 *) 13863 cat << \_LT_EOF >> "$cfgfile" 13864 13865# func_append var value 13866# Append VALUE to the end of shell variable VAR. 13867func_append () 13868{ 13869 eval "$1=\$$1\$2" 13870} 13871 13872_LT_EOF 13873 ;; 13874 esac 13875 13876 13877 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 13878 || (rm -f "$cfgfile"; exit 1) 13879 13880 mv -f "$cfgfile" "$ofile" || 13881 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 13882 chmod +x "$ofile" 13883 13884 ;; 13885 13886 esac 13887done # for ac_tag 13888 13889 13890as_fn_exit 0 13891_ACEOF 13892ac_clean_files=$ac_clean_files_save 13893 13894test $ac_write_fail = 0 || 13895 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 13896 13897 13898# configure is writing to config.log, and then calls config.status. 13899# config.status does its own redirection, appending to config.log. 13900# Unfortunately, on DOS this fails, as config.log is still kept open 13901# by configure, so config.status won't be able to write to it; its 13902# output is simply discarded. So we exec the FD to /dev/null, 13903# effectively closing config.log, so it can be properly (re)opened and 13904# appended to by config.status. When coming back to configure, we 13905# need to make the FD available again. 13906if test "$no_create" != yes; then 13907 ac_cs_success=: 13908 ac_config_status_args= 13909 test "$silent" = yes && 13910 ac_config_status_args="$ac_config_status_args --quiet" 13911 exec 5>/dev/null 13912 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 13913 exec 5>>config.log 13914 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13915 # would make configure fail if this is the last instruction. 13916 $ac_cs_success || as_fn_exit 1 13917fi 13918if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 13919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 13920$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 13921fi 13922 13923