1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libunibreak 4.3. 4# 5# Report bugs to <wuyongwei@gmail.com>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: wuyongwei@gmail.com about your system, including any 279$0: error possibly output before this message. Then install 280$0: a modern shell, or manually run the script under such a 281$0: shell if you do have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='libunibreak' 592PACKAGE_TARNAME='libunibreak' 593PACKAGE_VERSION='4.3' 594PACKAGE_STRING='libunibreak 4.3' 595PACKAGE_BUGREPORT='wuyongwei@gmail.com' 596PACKAGE_URL='' 597 598ac_unique_file="src/linebreak.c" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639CPP 640LT_SYS_LIBRARY_PATH 641OTOOL64 642OTOOL 643LIPO 644NMEDIT 645DSYMUTIL 646MANIFEST_TOOL 647RANLIB 648ac_ct_AR 649AR 650DLLTOOL 651OBJDUMP 652NM 653ac_ct_DUMPBIN 654DUMPBIN 655LD 656FGREP 657EGREP 658GREP 659SED 660host_os 661host_vendor 662host_cpu 663host 664build_os 665build_vendor 666build_cpu 667build 668LIBTOOL 669LN_S 670am__fastdepCC_FALSE 671am__fastdepCC_TRUE 672CCDEPMODE 673am__nodep 674AMDEPBACKSLASH 675AMDEP_FALSE 676AMDEP_TRUE 677am__include 678DEPDIR 679OBJEXT 680EXEEXT 681ac_ct_CC 682CPPFLAGS 683LDFLAGS 684CFLAGS 685CC 686AM_BACKSLASH 687AM_DEFAULT_VERBOSITY 688AM_DEFAULT_V 689AM_V 690am__untar 691am__tar 692AMTAR 693am__leading_dot 694SET_MAKE 695AWK 696mkdir_p 697MKDIR_P 698INSTALL_STRIP_PROGRAM 699STRIP 700install_sh 701MAKEINFO 702AUTOHEADER 703AUTOMAKE 704AUTOCONF 705ACLOCAL 706VERSION 707PACKAGE 708CYGPATH_W 709am__isrc 710INSTALL_DATA 711INSTALL_SCRIPT 712INSTALL_PROGRAM 713target_alias 714host_alias 715build_alias 716LIBS 717ECHO_T 718ECHO_N 719ECHO_C 720DEFS 721mandir 722localedir 723libdir 724psdir 725pdfdir 726dvidir 727htmldir 728infodir 729docdir 730oldincludedir 731includedir 732localstatedir 733sharedstatedir 734sysconfdir 735datadir 736datarootdir 737libexecdir 738sbindir 739bindir 740program_transform_name 741prefix 742exec_prefix 743PACKAGE_URL 744PACKAGE_BUGREPORT 745PACKAGE_STRING 746PACKAGE_VERSION 747PACKAGE_TARNAME 748PACKAGE_NAME 749PATH_SEPARATOR 750SHELL 751am__quote' 752ac_subst_files='' 753ac_user_opts=' 754enable_option_checking 755enable_silent_rules 756enable_dependency_tracking 757enable_shared 758enable_static 759with_pic 760enable_fast_install 761with_aix_soname 762with_gnu_ld 763with_sysroot 764enable_libtool_lock 765' 766 ac_precious_vars='build_alias 767host_alias 768target_alias 769CC 770CFLAGS 771LDFLAGS 772LIBS 773CPPFLAGS 774LT_SYS_LIBRARY_PATH 775CPP' 776 777 778# Initialize some variables set by options. 779ac_init_help= 780ac_init_version=false 781ac_unrecognized_opts= 782ac_unrecognized_sep= 783# The variables have the same names as the options, with 784# dashes changed to underlines. 785cache_file=/dev/null 786exec_prefix=NONE 787no_create= 788no_recursion= 789prefix=NONE 790program_prefix=NONE 791program_suffix=NONE 792program_transform_name=s,x,x, 793silent= 794site= 795srcdir= 796verbose= 797x_includes=NONE 798x_libraries=NONE 799 800# Installation directory options. 801# These are left unexpanded so users can "make install exec_prefix=/foo" 802# and all the variables that are supposed to be based on exec_prefix 803# by default will actually change. 804# Use braces instead of parens because sh, perl, etc. also accept them. 805# (The list follows the same order as the GNU Coding Standards.) 806bindir='${exec_prefix}/bin' 807sbindir='${exec_prefix}/sbin' 808libexecdir='${exec_prefix}/libexec' 809datarootdir='${prefix}/share' 810datadir='${datarootdir}' 811sysconfdir='${prefix}/etc' 812sharedstatedir='${prefix}/com' 813localstatedir='${prefix}/var' 814includedir='${prefix}/include' 815oldincludedir='/usr/include' 816docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 817infodir='${datarootdir}/info' 818htmldir='${docdir}' 819dvidir='${docdir}' 820pdfdir='${docdir}' 821psdir='${docdir}' 822libdir='${exec_prefix}/lib' 823localedir='${datarootdir}/locale' 824mandir='${datarootdir}/man' 825 826ac_prev= 827ac_dashdash= 828for ac_option 829do 830 # If the previous option needs an argument, assign it. 831 if test -n "$ac_prev"; then 832 eval $ac_prev=\$ac_option 833 ac_prev= 834 continue 835 fi 836 837 case $ac_option in 838 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 839 *=) ac_optarg= ;; 840 *) ac_optarg=yes ;; 841 esac 842 843 # Accept the important Cygnus configure options, so we can diagnose typos. 844 845 case $ac_dashdash$ac_option in 846 --) 847 ac_dashdash=yes ;; 848 849 -bindir | --bindir | --bindi | --bind | --bin | --bi) 850 ac_prev=bindir ;; 851 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 852 bindir=$ac_optarg ;; 853 854 -build | --build | --buil | --bui | --bu) 855 ac_prev=build_alias ;; 856 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 857 build_alias=$ac_optarg ;; 858 859 -cache-file | --cache-file | --cache-fil | --cache-fi \ 860 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 861 ac_prev=cache_file ;; 862 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 863 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 864 cache_file=$ac_optarg ;; 865 866 --config-cache | -C) 867 cache_file=config.cache ;; 868 869 -datadir | --datadir | --datadi | --datad) 870 ac_prev=datadir ;; 871 -datadir=* | --datadir=* | --datadi=* | --datad=*) 872 datadir=$ac_optarg ;; 873 874 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 875 | --dataroo | --dataro | --datar) 876 ac_prev=datarootdir ;; 877 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 878 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 879 datarootdir=$ac_optarg ;; 880 881 -disable-* | --disable-*) 882 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 883 # Reject names that are not valid shell variable names. 884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 885 as_fn_error $? "invalid feature name: $ac_useropt" 886 ac_useropt_orig=$ac_useropt 887 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 888 case $ac_user_opts in 889 *" 890"enable_$ac_useropt" 891"*) ;; 892 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 893 ac_unrecognized_sep=', ';; 894 esac 895 eval enable_$ac_useropt=no ;; 896 897 -docdir | --docdir | --docdi | --doc | --do) 898 ac_prev=docdir ;; 899 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 900 docdir=$ac_optarg ;; 901 902 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 903 ac_prev=dvidir ;; 904 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 905 dvidir=$ac_optarg ;; 906 907 -enable-* | --enable-*) 908 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 909 # Reject names that are not valid shell variable names. 910 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 911 as_fn_error $? "invalid feature name: $ac_useropt" 912 ac_useropt_orig=$ac_useropt 913 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 914 case $ac_user_opts in 915 *" 916"enable_$ac_useropt" 917"*) ;; 918 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 919 ac_unrecognized_sep=', ';; 920 esac 921 eval enable_$ac_useropt=\$ac_optarg ;; 922 923 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 924 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 925 | --exec | --exe | --ex) 926 ac_prev=exec_prefix ;; 927 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 928 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 929 | --exec=* | --exe=* | --ex=*) 930 exec_prefix=$ac_optarg ;; 931 932 -gas | --gas | --ga | --g) 933 # Obsolete; use --with-gas. 934 with_gas=yes ;; 935 936 -help | --help | --hel | --he | -h) 937 ac_init_help=long ;; 938 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 939 ac_init_help=recursive ;; 940 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 941 ac_init_help=short ;; 942 943 -host | --host | --hos | --ho) 944 ac_prev=host_alias ;; 945 -host=* | --host=* | --hos=* | --ho=*) 946 host_alias=$ac_optarg ;; 947 948 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 949 ac_prev=htmldir ;; 950 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 951 | --ht=*) 952 htmldir=$ac_optarg ;; 953 954 -includedir | --includedir | --includedi | --included | --include \ 955 | --includ | --inclu | --incl | --inc) 956 ac_prev=includedir ;; 957 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 958 | --includ=* | --inclu=* | --incl=* | --inc=*) 959 includedir=$ac_optarg ;; 960 961 -infodir | --infodir | --infodi | --infod | --info | --inf) 962 ac_prev=infodir ;; 963 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 964 infodir=$ac_optarg ;; 965 966 -libdir | --libdir | --libdi | --libd) 967 ac_prev=libdir ;; 968 -libdir=* | --libdir=* | --libdi=* | --libd=*) 969 libdir=$ac_optarg ;; 970 971 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 972 | --libexe | --libex | --libe) 973 ac_prev=libexecdir ;; 974 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 975 | --libexe=* | --libex=* | --libe=*) 976 libexecdir=$ac_optarg ;; 977 978 -localedir | --localedir | --localedi | --localed | --locale) 979 ac_prev=localedir ;; 980 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 981 localedir=$ac_optarg ;; 982 983 -localstatedir | --localstatedir | --localstatedi | --localstated \ 984 | --localstate | --localstat | --localsta | --localst | --locals) 985 ac_prev=localstatedir ;; 986 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 987 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 988 localstatedir=$ac_optarg ;; 989 990 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 991 ac_prev=mandir ;; 992 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 993 mandir=$ac_optarg ;; 994 995 -nfp | --nfp | --nf) 996 # Obsolete; use --without-fp. 997 with_fp=no ;; 998 999 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1000 | --no-cr | --no-c | -n) 1001 no_create=yes ;; 1002 1003 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1004 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1005 no_recursion=yes ;; 1006 1007 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1008 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1009 | --oldin | --oldi | --old | --ol | --o) 1010 ac_prev=oldincludedir ;; 1011 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1012 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1013 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1014 oldincludedir=$ac_optarg ;; 1015 1016 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1017 ac_prev=prefix ;; 1018 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1019 prefix=$ac_optarg ;; 1020 1021 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1022 | --program-pre | --program-pr | --program-p) 1023 ac_prev=program_prefix ;; 1024 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1025 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1026 program_prefix=$ac_optarg ;; 1027 1028 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1029 | --program-suf | --program-su | --program-s) 1030 ac_prev=program_suffix ;; 1031 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1032 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1033 program_suffix=$ac_optarg ;; 1034 1035 -program-transform-name | --program-transform-name \ 1036 | --program-transform-nam | --program-transform-na \ 1037 | --program-transform-n | --program-transform- \ 1038 | --program-transform | --program-transfor \ 1039 | --program-transfo | --program-transf \ 1040 | --program-trans | --program-tran \ 1041 | --progr-tra | --program-tr | --program-t) 1042 ac_prev=program_transform_name ;; 1043 -program-transform-name=* | --program-transform-name=* \ 1044 | --program-transform-nam=* | --program-transform-na=* \ 1045 | --program-transform-n=* | --program-transform-=* \ 1046 | --program-transform=* | --program-transfor=* \ 1047 | --program-transfo=* | --program-transf=* \ 1048 | --program-trans=* | --program-tran=* \ 1049 | --progr-tra=* | --program-tr=* | --program-t=*) 1050 program_transform_name=$ac_optarg ;; 1051 1052 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1053 ac_prev=pdfdir ;; 1054 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1055 pdfdir=$ac_optarg ;; 1056 1057 -psdir | --psdir | --psdi | --psd | --ps) 1058 ac_prev=psdir ;; 1059 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1060 psdir=$ac_optarg ;; 1061 1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1063 | -silent | --silent | --silen | --sile | --sil) 1064 silent=yes ;; 1065 1066 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1067 ac_prev=sbindir ;; 1068 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1069 | --sbi=* | --sb=*) 1070 sbindir=$ac_optarg ;; 1071 1072 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1073 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1074 | --sharedst | --shareds | --shared | --share | --shar \ 1075 | --sha | --sh) 1076 ac_prev=sharedstatedir ;; 1077 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1078 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1079 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1080 | --sha=* | --sh=*) 1081 sharedstatedir=$ac_optarg ;; 1082 1083 -site | --site | --sit) 1084 ac_prev=site ;; 1085 -site=* | --site=* | --sit=*) 1086 site=$ac_optarg ;; 1087 1088 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1089 ac_prev=srcdir ;; 1090 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1091 srcdir=$ac_optarg ;; 1092 1093 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1094 | --syscon | --sysco | --sysc | --sys | --sy) 1095 ac_prev=sysconfdir ;; 1096 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1097 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1098 sysconfdir=$ac_optarg ;; 1099 1100 -target | --target | --targe | --targ | --tar | --ta | --t) 1101 ac_prev=target_alias ;; 1102 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1103 target_alias=$ac_optarg ;; 1104 1105 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1106 verbose=yes ;; 1107 1108 -version | --version | --versio | --versi | --vers | -V) 1109 ac_init_version=: ;; 1110 1111 -with-* | --with-*) 1112 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1113 # Reject names that are not valid shell variable names. 1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1115 as_fn_error $? "invalid package name: $ac_useropt" 1116 ac_useropt_orig=$ac_useropt 1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1118 case $ac_user_opts in 1119 *" 1120"with_$ac_useropt" 1121"*) ;; 1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1123 ac_unrecognized_sep=', ';; 1124 esac 1125 eval with_$ac_useropt=\$ac_optarg ;; 1126 1127 -without-* | --without-*) 1128 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1129 # Reject names that are not valid shell variable names. 1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1131 as_fn_error $? "invalid package name: $ac_useropt" 1132 ac_useropt_orig=$ac_useropt 1133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1134 case $ac_user_opts in 1135 *" 1136"with_$ac_useropt" 1137"*) ;; 1138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1139 ac_unrecognized_sep=', ';; 1140 esac 1141 eval with_$ac_useropt=no ;; 1142 1143 --x) 1144 # Obsolete; use --with-x. 1145 with_x=yes ;; 1146 1147 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1148 | --x-incl | --x-inc | --x-in | --x-i) 1149 ac_prev=x_includes ;; 1150 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1151 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1152 x_includes=$ac_optarg ;; 1153 1154 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1155 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1156 ac_prev=x_libraries ;; 1157 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1158 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1159 x_libraries=$ac_optarg ;; 1160 1161 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1162Try \`$0 --help' for more information" 1163 ;; 1164 1165 *=*) 1166 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1167 # Reject names that are not valid shell variable names. 1168 case $ac_envvar in #( 1169 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1170 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1171 esac 1172 eval $ac_envvar=\$ac_optarg 1173 export $ac_envvar ;; 1174 1175 *) 1176 # FIXME: should be removed in autoconf 3.0. 1177 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1178 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1179 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1180 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1181 ;; 1182 1183 esac 1184done 1185 1186if test -n "$ac_prev"; then 1187 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1188 as_fn_error $? "missing argument to $ac_option" 1189fi 1190 1191if test -n "$ac_unrecognized_opts"; then 1192 case $enable_option_checking in 1193 no) ;; 1194 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1195 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1196 esac 1197fi 1198 1199# Check all directory arguments for consistency. 1200for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1201 datadir sysconfdir sharedstatedir localstatedir includedir \ 1202 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1203 libdir localedir mandir 1204do 1205 eval ac_val=\$$ac_var 1206 # Remove trailing slashes. 1207 case $ac_val in 1208 */ ) 1209 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1210 eval $ac_var=\$ac_val;; 1211 esac 1212 # Be sure to have absolute directory names. 1213 case $ac_val in 1214 [\\/$]* | ?:[\\/]* ) continue;; 1215 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1216 esac 1217 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1218done 1219 1220# There might be people who depend on the old broken behavior: `$host' 1221# used to hold the argument of --host etc. 1222# FIXME: To remove some day. 1223build=$build_alias 1224host=$host_alias 1225target=$target_alias 1226 1227# FIXME: To remove some day. 1228if test "x$host_alias" != x; then 1229 if test "x$build_alias" = x; then 1230 cross_compiling=maybe 1231 elif test "x$build_alias" != "x$host_alias"; then 1232 cross_compiling=yes 1233 fi 1234fi 1235 1236ac_tool_prefix= 1237test -n "$host_alias" && ac_tool_prefix=$host_alias- 1238 1239test "$silent" = yes && exec 6>/dev/null 1240 1241 1242ac_pwd=`pwd` && test -n "$ac_pwd" && 1243ac_ls_di=`ls -di .` && 1244ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1245 as_fn_error $? "working directory cannot be determined" 1246test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1247 as_fn_error $? "pwd does not report name of working directory" 1248 1249 1250# Find the source files, if location was not specified. 1251if test -z "$srcdir"; then 1252 ac_srcdir_defaulted=yes 1253 # Try the directory containing this script, then the parent directory. 1254 ac_confdir=`$as_dirname -- "$as_myself" || 1255$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1256 X"$as_myself" : 'X\(//\)[^/]' \| \ 1257 X"$as_myself" : 'X\(//\)$' \| \ 1258 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1259$as_echo X"$as_myself" | 1260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1261 s//\1/ 1262 q 1263 } 1264 /^X\(\/\/\)[^/].*/{ 1265 s//\1/ 1266 q 1267 } 1268 /^X\(\/\/\)$/{ 1269 s//\1/ 1270 q 1271 } 1272 /^X\(\/\).*/{ 1273 s//\1/ 1274 q 1275 } 1276 s/.*/./; q'` 1277 srcdir=$ac_confdir 1278 if test ! -r "$srcdir/$ac_unique_file"; then 1279 srcdir=.. 1280 fi 1281else 1282 ac_srcdir_defaulted=no 1283fi 1284if test ! -r "$srcdir/$ac_unique_file"; then 1285 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1286 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1287fi 1288ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1289ac_abs_confdir=`( 1290 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1291 pwd)` 1292# When building in place, set srcdir=. 1293if test "$ac_abs_confdir" = "$ac_pwd"; then 1294 srcdir=. 1295fi 1296# Remove unnecessary trailing slashes from srcdir. 1297# Double slashes in file names in object file debugging info 1298# mess up M-x gdb in Emacs. 1299case $srcdir in 1300*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1301esac 1302for ac_var in $ac_precious_vars; do 1303 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1304 eval ac_env_${ac_var}_value=\$${ac_var} 1305 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1306 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1307done 1308 1309# 1310# Report the --help message. 1311# 1312if test "$ac_init_help" = "long"; then 1313 # Omit some internal or obsolete options to make the list less imposing. 1314 # This message is too long to be a string in the A/UX 3.1 sh. 1315 cat <<_ACEOF 1316\`configure' configures libunibreak 4.3 to adapt to many kinds of systems. 1317 1318Usage: $0 [OPTION]... [VAR=VALUE]... 1319 1320To assign environment variables (e.g., CC, CFLAGS...), specify them as 1321VAR=VALUE. See below for descriptions of some of the useful variables. 1322 1323Defaults for the options are specified in brackets. 1324 1325Configuration: 1326 -h, --help display this help and exit 1327 --help=short display options specific to this package 1328 --help=recursive display the short help of all the included packages 1329 -V, --version display version information and exit 1330 -q, --quiet, --silent do not print \`checking ...' messages 1331 --cache-file=FILE cache test results in FILE [disabled] 1332 -C, --config-cache alias for \`--cache-file=config.cache' 1333 -n, --no-create do not create output files 1334 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1335 1336Installation directories: 1337 --prefix=PREFIX install architecture-independent files in PREFIX 1338 [$ac_default_prefix] 1339 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1340 [PREFIX] 1341 1342By default, \`make install' will install all the files in 1343\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1344an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1345for instance \`--prefix=\$HOME'. 1346 1347For better control, use the options below. 1348 1349Fine tuning of the installation directories: 1350 --bindir=DIR user executables [EPREFIX/bin] 1351 --sbindir=DIR system admin executables [EPREFIX/sbin] 1352 --libexecdir=DIR program executables [EPREFIX/libexec] 1353 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1354 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1355 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1356 --libdir=DIR object code libraries [EPREFIX/lib] 1357 --includedir=DIR C header files [PREFIX/include] 1358 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1359 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1360 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1361 --infodir=DIR info documentation [DATAROOTDIR/info] 1362 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1363 --mandir=DIR man documentation [DATAROOTDIR/man] 1364 --docdir=DIR documentation root [DATAROOTDIR/doc/libunibreak] 1365 --htmldir=DIR html documentation [DOCDIR] 1366 --dvidir=DIR dvi documentation [DOCDIR] 1367 --pdfdir=DIR pdf documentation [DOCDIR] 1368 --psdir=DIR ps documentation [DOCDIR] 1369_ACEOF 1370 1371 cat <<\_ACEOF 1372 1373Program names: 1374 --program-prefix=PREFIX prepend PREFIX to installed program names 1375 --program-suffix=SUFFIX append SUFFIX to installed program names 1376 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1377 1378System types: 1379 --build=BUILD configure for building on BUILD [guessed] 1380 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1381_ACEOF 1382fi 1383 1384if test -n "$ac_init_help"; then 1385 case $ac_init_help in 1386 short | recursive ) echo "Configuration of libunibreak 4.3:";; 1387 esac 1388 cat <<\_ACEOF 1389 1390Optional Features: 1391 --disable-option-checking ignore unrecognized --enable/--with options 1392 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1393 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1394 --enable-silent-rules less verbose build output (undo: "make V=1") 1395 --disable-silent-rules verbose build output (undo: "make V=0") 1396 --enable-dependency-tracking 1397 do not reject slow dependency extractors 1398 --disable-dependency-tracking 1399 speeds up one-time build 1400 --enable-shared[=PKGS] build shared libraries [default=yes] 1401 --enable-static[=PKGS] build static libraries [default=yes] 1402 --enable-fast-install[=PKGS] 1403 optimize for fast installation [default=yes] 1404 --disable-libtool-lock avoid locking (might break parallel builds) 1405 1406Optional Packages: 1407 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1408 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1409 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1410 both] 1411 --with-aix-soname=aix|svr4|both 1412 shared library versioning (aka "SONAME") variant to 1413 provide on AIX, [default=aix]. 1414 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1415 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1416 compiler's sysroot if not specified). 1417 1418Some influential environment variables: 1419 CC C compiler command 1420 CFLAGS C compiler flags 1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1422 nonstandard directory <lib dir> 1423 LIBS libraries to pass to the linker, e.g. -l<library> 1424 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1425 you have headers in a nonstandard directory <include dir> 1426 LT_SYS_LIBRARY_PATH 1427 User-defined run-time library search path. 1428 CPP C preprocessor 1429 1430Use these variables to override the choices made by `configure' or to help 1431it to find libraries and programs with nonstandard names/locations. 1432 1433Report bugs to <wuyongwei@gmail.com>. 1434_ACEOF 1435ac_status=$? 1436fi 1437 1438if test "$ac_init_help" = "recursive"; then 1439 # If there are subdirs, report their specific --help. 1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1441 test -d "$ac_dir" || 1442 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1443 continue 1444 ac_builddir=. 1445 1446case "$ac_dir" in 1447.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1448*) 1449 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1450 # A ".." for each directory in $ac_dir_suffix. 1451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1452 case $ac_top_builddir_sub in 1453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1455 esac ;; 1456esac 1457ac_abs_top_builddir=$ac_pwd 1458ac_abs_builddir=$ac_pwd$ac_dir_suffix 1459# for backward compatibility: 1460ac_top_builddir=$ac_top_build_prefix 1461 1462case $srcdir in 1463 .) # We are building in place. 1464 ac_srcdir=. 1465 ac_top_srcdir=$ac_top_builddir_sub 1466 ac_abs_top_srcdir=$ac_pwd ;; 1467 [\\/]* | ?:[\\/]* ) # Absolute name. 1468 ac_srcdir=$srcdir$ac_dir_suffix; 1469 ac_top_srcdir=$srcdir 1470 ac_abs_top_srcdir=$srcdir ;; 1471 *) # Relative name. 1472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1473 ac_top_srcdir=$ac_top_build_prefix$srcdir 1474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1475esac 1476ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1477 1478 cd "$ac_dir" || { ac_status=$?; continue; } 1479 # Check for guested configure. 1480 if test -f "$ac_srcdir/configure.gnu"; then 1481 echo && 1482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1483 elif test -f "$ac_srcdir/configure"; then 1484 echo && 1485 $SHELL "$ac_srcdir/configure" --help=recursive 1486 else 1487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1488 fi || ac_status=$? 1489 cd "$ac_pwd" || { ac_status=$?; break; } 1490 done 1491fi 1492 1493test -n "$ac_init_help" && exit $ac_status 1494if $ac_init_version; then 1495 cat <<\_ACEOF 1496libunibreak configure 4.3 1497generated by GNU Autoconf 2.69 1498 1499Copyright (C) 2012 Free Software Foundation, Inc. 1500This configure script is free software; the Free Software Foundation 1501gives unlimited permission to copy, distribute and modify it. 1502_ACEOF 1503 exit 1504fi 1505 1506## ------------------------ ## 1507## Autoconf initialization. ## 1508## ------------------------ ## 1509 1510# ac_fn_c_try_compile LINENO 1511# -------------------------- 1512# Try to compile conftest.$ac_ext, and return whether this succeeded. 1513ac_fn_c_try_compile () 1514{ 1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1516 rm -f conftest.$ac_objext 1517 if { { ac_try="$ac_compile" 1518case "(($ac_try" in 1519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1520 *) ac_try_echo=$ac_try;; 1521esac 1522eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1523$as_echo "$ac_try_echo"; } >&5 1524 (eval "$ac_compile") 2>conftest.err 1525 ac_status=$? 1526 if test -s conftest.err; then 1527 grep -v '^ *+' conftest.err >conftest.er1 1528 cat conftest.er1 >&5 1529 mv -f conftest.er1 conftest.err 1530 fi 1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1532 test $ac_status = 0; } && { 1533 test -z "$ac_c_werror_flag" || 1534 test ! -s conftest.err 1535 } && test -s conftest.$ac_objext; then : 1536 ac_retval=0 1537else 1538 $as_echo "$as_me: failed program was:" >&5 1539sed 's/^/| /' conftest.$ac_ext >&5 1540 1541 ac_retval=1 1542fi 1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1544 as_fn_set_status $ac_retval 1545 1546} # ac_fn_c_try_compile 1547 1548# ac_fn_c_try_link LINENO 1549# ----------------------- 1550# Try to link conftest.$ac_ext, and return whether this succeeded. 1551ac_fn_c_try_link () 1552{ 1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1554 rm -f conftest.$ac_objext conftest$ac_exeext 1555 if { { ac_try="$ac_link" 1556case "(($ac_try" in 1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1558 *) ac_try_echo=$ac_try;; 1559esac 1560eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1561$as_echo "$ac_try_echo"; } >&5 1562 (eval "$ac_link") 2>conftest.err 1563 ac_status=$? 1564 if test -s conftest.err; then 1565 grep -v '^ *+' conftest.err >conftest.er1 1566 cat conftest.er1 >&5 1567 mv -f conftest.er1 conftest.err 1568 fi 1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1570 test $ac_status = 0; } && { 1571 test -z "$ac_c_werror_flag" || 1572 test ! -s conftest.err 1573 } && test -s conftest$ac_exeext && { 1574 test "$cross_compiling" = yes || 1575 test -x conftest$ac_exeext 1576 }; then : 1577 ac_retval=0 1578else 1579 $as_echo "$as_me: failed program was:" >&5 1580sed 's/^/| /' conftest.$ac_ext >&5 1581 1582 ac_retval=1 1583fi 1584 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1585 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1586 # interfere with the next link command; also delete a directory that is 1587 # left behind by Apple's compiler. We do this before executing the actions. 1588 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1590 as_fn_set_status $ac_retval 1591 1592} # ac_fn_c_try_link 1593 1594# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1595# ------------------------------------------------------- 1596# Tests whether HEADER exists and can be compiled using the include files in 1597# INCLUDES, setting the cache variable VAR accordingly. 1598ac_fn_c_check_header_compile () 1599{ 1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1602$as_echo_n "checking for $2... " >&6; } 1603if eval \${$3+:} false; then : 1604 $as_echo_n "(cached) " >&6 1605else 1606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1607/* end confdefs.h. */ 1608$4 1609#include <$2> 1610_ACEOF 1611if ac_fn_c_try_compile "$LINENO"; then : 1612 eval "$3=yes" 1613else 1614 eval "$3=no" 1615fi 1616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1617fi 1618eval ac_res=\$$3 1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1620$as_echo "$ac_res" >&6; } 1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1622 1623} # ac_fn_c_check_header_compile 1624 1625# ac_fn_c_try_cpp LINENO 1626# ---------------------- 1627# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1628ac_fn_c_try_cpp () 1629{ 1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1631 if { { ac_try="$ac_cpp conftest.$ac_ext" 1632case "(($ac_try" in 1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1634 *) ac_try_echo=$ac_try;; 1635esac 1636eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1637$as_echo "$ac_try_echo"; } >&5 1638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1639 ac_status=$? 1640 if test -s conftest.err; then 1641 grep -v '^ *+' conftest.err >conftest.er1 1642 cat conftest.er1 >&5 1643 mv -f conftest.er1 conftest.err 1644 fi 1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1646 test $ac_status = 0; } > conftest.i && { 1647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1648 test ! -s conftest.err 1649 }; then : 1650 ac_retval=0 1651else 1652 $as_echo "$as_me: failed program was:" >&5 1653sed 's/^/| /' conftest.$ac_ext >&5 1654 1655 ac_retval=1 1656fi 1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1658 as_fn_set_status $ac_retval 1659 1660} # ac_fn_c_try_cpp 1661 1662# ac_fn_c_try_run LINENO 1663# ---------------------- 1664# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1665# that executables *can* be run. 1666ac_fn_c_try_run () 1667{ 1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1669 if { { ac_try="$ac_link" 1670case "(($ac_try" in 1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1672 *) ac_try_echo=$ac_try;; 1673esac 1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1675$as_echo "$ac_try_echo"; } >&5 1676 (eval "$ac_link") 2>&5 1677 ac_status=$? 1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1679 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1680 { { case "(($ac_try" in 1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1682 *) ac_try_echo=$ac_try;; 1683esac 1684eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1685$as_echo "$ac_try_echo"; } >&5 1686 (eval "$ac_try") 2>&5 1687 ac_status=$? 1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1689 test $ac_status = 0; }; }; then : 1690 ac_retval=0 1691else 1692 $as_echo "$as_me: program exited with status $ac_status" >&5 1693 $as_echo "$as_me: failed program was:" >&5 1694sed 's/^/| /' conftest.$ac_ext >&5 1695 1696 ac_retval=$ac_status 1697fi 1698 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1700 as_fn_set_status $ac_retval 1701 1702} # ac_fn_c_try_run 1703 1704# ac_fn_c_check_func LINENO FUNC VAR 1705# ---------------------------------- 1706# Tests whether FUNC exists, setting the cache variable VAR accordingly 1707ac_fn_c_check_func () 1708{ 1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1711$as_echo_n "checking for $2... " >&6; } 1712if eval \${$3+:} false; then : 1713 $as_echo_n "(cached) " >&6 1714else 1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1716/* end confdefs.h. */ 1717/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1718 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1719#define $2 innocuous_$2 1720 1721/* System header to define __stub macros and hopefully few prototypes, 1722 which can conflict with char $2 (); below. 1723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1724 <limits.h> exists even on freestanding compilers. */ 1725 1726#ifdef __STDC__ 1727# include <limits.h> 1728#else 1729# include <assert.h> 1730#endif 1731 1732#undef $2 1733 1734/* Override any GCC internal prototype to avoid an error. 1735 Use char because int might match the return type of a GCC 1736 builtin and then its argument prototype would still apply. */ 1737#ifdef __cplusplus 1738extern "C" 1739#endif 1740char $2 (); 1741/* The GNU C library defines this for functions which it implements 1742 to always fail with ENOSYS. Some functions are actually named 1743 something starting with __ and the normal name is an alias. */ 1744#if defined __stub_$2 || defined __stub___$2 1745choke me 1746#endif 1747 1748int 1749main () 1750{ 1751return $2 (); 1752 ; 1753 return 0; 1754} 1755_ACEOF 1756if ac_fn_c_try_link "$LINENO"; then : 1757 eval "$3=yes" 1758else 1759 eval "$3=no" 1760fi 1761rm -f core conftest.err conftest.$ac_objext \ 1762 conftest$ac_exeext conftest.$ac_ext 1763fi 1764eval ac_res=\$$3 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1766$as_echo "$ac_res" >&6; } 1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1768 1769} # ac_fn_c_check_func 1770cat >config.log <<_ACEOF 1771This file contains any messages produced by compilers while 1772running configure, to aid debugging if configure makes a mistake. 1773 1774It was created by libunibreak $as_me 4.3, which was 1775generated by GNU Autoconf 2.69. Invocation command line was 1776 1777 $ $0 $@ 1778 1779_ACEOF 1780exec 5>>config.log 1781{ 1782cat <<_ASUNAME 1783## --------- ## 1784## Platform. ## 1785## --------- ## 1786 1787hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1788uname -m = `(uname -m) 2>/dev/null || echo unknown` 1789uname -r = `(uname -r) 2>/dev/null || echo unknown` 1790uname -s = `(uname -s) 2>/dev/null || echo unknown` 1791uname -v = `(uname -v) 2>/dev/null || echo unknown` 1792 1793/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1794/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1795 1796/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1797/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1798/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1799/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1800/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1801/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1802/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1803 1804_ASUNAME 1805 1806as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1807for as_dir in $PATH 1808do 1809 IFS=$as_save_IFS 1810 test -z "$as_dir" && as_dir=. 1811 $as_echo "PATH: $as_dir" 1812 done 1813IFS=$as_save_IFS 1814 1815} >&5 1816 1817cat >&5 <<_ACEOF 1818 1819 1820## ----------- ## 1821## Core tests. ## 1822## ----------- ## 1823 1824_ACEOF 1825 1826 1827# Keep a trace of the command line. 1828# Strip out --no-create and --no-recursion so they do not pile up. 1829# Strip out --silent because we don't want to record it for future runs. 1830# Also quote any args containing shell meta-characters. 1831# Make two passes to allow for proper duplicate-argument suppression. 1832ac_configure_args= 1833ac_configure_args0= 1834ac_configure_args1= 1835ac_must_keep_next=false 1836for ac_pass in 1 2 1837do 1838 for ac_arg 1839 do 1840 case $ac_arg in 1841 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1842 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1843 | -silent | --silent | --silen | --sile | --sil) 1844 continue ;; 1845 *\'*) 1846 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1847 esac 1848 case $ac_pass in 1849 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1850 2) 1851 as_fn_append ac_configure_args1 " '$ac_arg'" 1852 if test $ac_must_keep_next = true; then 1853 ac_must_keep_next=false # Got value, back to normal. 1854 else 1855 case $ac_arg in 1856 *=* | --config-cache | -C | -disable-* | --disable-* \ 1857 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1858 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1859 | -with-* | --with-* | -without-* | --without-* | --x) 1860 case "$ac_configure_args0 " in 1861 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1862 esac 1863 ;; 1864 -* ) ac_must_keep_next=true ;; 1865 esac 1866 fi 1867 as_fn_append ac_configure_args " '$ac_arg'" 1868 ;; 1869 esac 1870 done 1871done 1872{ ac_configure_args0=; unset ac_configure_args0;} 1873{ ac_configure_args1=; unset ac_configure_args1;} 1874 1875# When interrupted or exit'd, cleanup temporary files, and complete 1876# config.log. We remove comments because anyway the quotes in there 1877# would cause problems or look ugly. 1878# WARNING: Use '\'' to represent an apostrophe within the trap. 1879# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1880trap 'exit_status=$? 1881 # Save into config.log some information that might help in debugging. 1882 { 1883 echo 1884 1885 $as_echo "## ---------------- ## 1886## Cache variables. ## 1887## ---------------- ##" 1888 echo 1889 # The following way of writing the cache mishandles newlines in values, 1890( 1891 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1892 eval ac_val=\$$ac_var 1893 case $ac_val in #( 1894 *${as_nl}*) 1895 case $ac_var in #( 1896 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1897$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1898 esac 1899 case $ac_var in #( 1900 _ | IFS | as_nl) ;; #( 1901 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1902 *) { eval $ac_var=; unset $ac_var;} ;; 1903 esac ;; 1904 esac 1905 done 1906 (set) 2>&1 | 1907 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1908 *${as_nl}ac_space=\ *) 1909 sed -n \ 1910 "s/'\''/'\''\\\\'\'''\''/g; 1911 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1912 ;; #( 1913 *) 1914 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1915 ;; 1916 esac | 1917 sort 1918) 1919 echo 1920 1921 $as_echo "## ----------------- ## 1922## Output variables. ## 1923## ----------------- ##" 1924 echo 1925 for ac_var in $ac_subst_vars 1926 do 1927 eval ac_val=\$$ac_var 1928 case $ac_val in 1929 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1930 esac 1931 $as_echo "$ac_var='\''$ac_val'\''" 1932 done | sort 1933 echo 1934 1935 if test -n "$ac_subst_files"; then 1936 $as_echo "## ------------------- ## 1937## File substitutions. ## 1938## ------------------- ##" 1939 echo 1940 for ac_var in $ac_subst_files 1941 do 1942 eval ac_val=\$$ac_var 1943 case $ac_val in 1944 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1945 esac 1946 $as_echo "$ac_var='\''$ac_val'\''" 1947 done | sort 1948 echo 1949 fi 1950 1951 if test -s confdefs.h; then 1952 $as_echo "## ----------- ## 1953## confdefs.h. ## 1954## ----------- ##" 1955 echo 1956 cat confdefs.h 1957 echo 1958 fi 1959 test "$ac_signal" != 0 && 1960 $as_echo "$as_me: caught signal $ac_signal" 1961 $as_echo "$as_me: exit $exit_status" 1962 } >&5 1963 rm -f core *.core core.conftest.* && 1964 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1965 exit $exit_status 1966' 0 1967for ac_signal in 1 2 13 15; do 1968 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1969done 1970ac_signal=0 1971 1972# confdefs.h avoids OS command line length limits that DEFS can exceed. 1973rm -f -r conftest* confdefs.h 1974 1975$as_echo "/* confdefs.h */" > confdefs.h 1976 1977# Predefined preprocessor variables. 1978 1979cat >>confdefs.h <<_ACEOF 1980#define PACKAGE_NAME "$PACKAGE_NAME" 1981_ACEOF 1982 1983cat >>confdefs.h <<_ACEOF 1984#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1985_ACEOF 1986 1987cat >>confdefs.h <<_ACEOF 1988#define PACKAGE_VERSION "$PACKAGE_VERSION" 1989_ACEOF 1990 1991cat >>confdefs.h <<_ACEOF 1992#define PACKAGE_STRING "$PACKAGE_STRING" 1993_ACEOF 1994 1995cat >>confdefs.h <<_ACEOF 1996#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1997_ACEOF 1998 1999cat >>confdefs.h <<_ACEOF 2000#define PACKAGE_URL "$PACKAGE_URL" 2001_ACEOF 2002 2003 2004# Let the site file select an alternate cache file if it wants to. 2005# Prefer an explicitly selected file to automatically selected ones. 2006ac_site_file1=NONE 2007ac_site_file2=NONE 2008if test -n "$CONFIG_SITE"; then 2009 # We do not want a PATH search for config.site. 2010 case $CONFIG_SITE in #(( 2011 -*) ac_site_file1=./$CONFIG_SITE;; 2012 */*) ac_site_file1=$CONFIG_SITE;; 2013 *) ac_site_file1=./$CONFIG_SITE;; 2014 esac 2015elif test "x$prefix" != xNONE; then 2016 ac_site_file1=$prefix/share/config.site 2017 ac_site_file2=$prefix/etc/config.site 2018else 2019 ac_site_file1=$ac_default_prefix/share/config.site 2020 ac_site_file2=$ac_default_prefix/etc/config.site 2021fi 2022for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2023do 2024 test "x$ac_site_file" = xNONE && continue 2025 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2026 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2027$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2028 sed 's/^/| /' "$ac_site_file" >&5 2029 . "$ac_site_file" \ 2030 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2031$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2032as_fn_error $? "failed to load site script $ac_site_file 2033See \`config.log' for more details" "$LINENO" 5; } 2034 fi 2035done 2036 2037if test -r "$cache_file"; then 2038 # Some versions of bash will fail to source /dev/null (special files 2039 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2040 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2042$as_echo "$as_me: loading cache $cache_file" >&6;} 2043 case $cache_file in 2044 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2045 *) . "./$cache_file";; 2046 esac 2047 fi 2048else 2049 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2050$as_echo "$as_me: creating cache $cache_file" >&6;} 2051 >$cache_file 2052fi 2053 2054# Check that the precious variables saved in the cache have kept the same 2055# value. 2056ac_cache_corrupted=false 2057for ac_var in $ac_precious_vars; do 2058 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2059 eval ac_new_set=\$ac_env_${ac_var}_set 2060 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2061 eval ac_new_val=\$ac_env_${ac_var}_value 2062 case $ac_old_set,$ac_new_set in 2063 set,) 2064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2065$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2066 ac_cache_corrupted=: ;; 2067 ,set) 2068 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2069$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2070 ac_cache_corrupted=: ;; 2071 ,);; 2072 *) 2073 if test "x$ac_old_val" != "x$ac_new_val"; then 2074 # differences in whitespace do not lead to failure. 2075 ac_old_val_w=`echo x $ac_old_val` 2076 ac_new_val_w=`echo x $ac_new_val` 2077 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2079$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2080 ac_cache_corrupted=: 2081 else 2082 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2083$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2084 eval $ac_var=\$ac_old_val 2085 fi 2086 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2087$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2088 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2089$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2090 fi;; 2091 esac 2092 # Pass precious variables to config.status. 2093 if test "$ac_new_set" = set; then 2094 case $ac_new_val in 2095 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2096 *) ac_arg=$ac_var=$ac_new_val ;; 2097 esac 2098 case " $ac_configure_args " in 2099 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2100 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2101 esac 2102 fi 2103done 2104if $ac_cache_corrupted; then 2105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2106$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2108$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2109 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2110fi 2111## -------------------- ## 2112## Main body of script. ## 2113## -------------------- ## 2114 2115ac_ext=c 2116ac_cpp='$CPP $CPPFLAGS' 2117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2119ac_compiler_gnu=$ac_cv_c_compiler_gnu 2120 2121 2122 2123 2124ac_config_headers="$ac_config_headers config.h" 2125 2126am__api_version='1.16' 2127 2128ac_aux_dir= 2129for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2130 if test -f "$ac_dir/install-sh"; then 2131 ac_aux_dir=$ac_dir 2132 ac_install_sh="$ac_aux_dir/install-sh -c" 2133 break 2134 elif test -f "$ac_dir/install.sh"; then 2135 ac_aux_dir=$ac_dir 2136 ac_install_sh="$ac_aux_dir/install.sh -c" 2137 break 2138 elif test -f "$ac_dir/shtool"; then 2139 ac_aux_dir=$ac_dir 2140 ac_install_sh="$ac_aux_dir/shtool install -c" 2141 break 2142 fi 2143done 2144if test -z "$ac_aux_dir"; then 2145 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2146fi 2147 2148# These three variables are undocumented and unsupported, 2149# and are intended to be withdrawn in a future Autoconf release. 2150# They can cause serious problems if a builder's source tree is in a directory 2151# whose full name contains unusual characters. 2152ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2153ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2154ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2155 2156 2157# Find a good install program. We prefer a C program (faster), 2158# so one script is as good as another. But avoid the broken or 2159# incompatible versions: 2160# SysV /etc/install, /usr/sbin/install 2161# SunOS /usr/etc/install 2162# IRIX /sbin/install 2163# AIX /bin/install 2164# AmigaOS /C/install, which installs bootblocks on floppy discs 2165# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2166# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2167# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2168# OS/2's system install, which has a completely different semantic 2169# ./install, which can be erroneously created by make from ./install.sh. 2170# Reject install programs that cannot install multiple files. 2171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2172$as_echo_n "checking for a BSD-compatible install... " >&6; } 2173if test -z "$INSTALL"; then 2174if ${ac_cv_path_install+:} false; then : 2175 $as_echo_n "(cached) " >&6 2176else 2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2178for as_dir in $PATH 2179do 2180 IFS=$as_save_IFS 2181 test -z "$as_dir" && as_dir=. 2182 # Account for people who put trailing slashes in PATH elements. 2183case $as_dir/ in #(( 2184 ./ | .// | /[cC]/* | \ 2185 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2186 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2187 /usr/ucb/* ) ;; 2188 *) 2189 # OSF1 and SCO ODT 3.0 have their own names for install. 2190 # Don't use installbsd from OSF since it installs stuff as root 2191 # by default. 2192 for ac_prog in ginstall scoinst install; do 2193 for ac_exec_ext in '' $ac_executable_extensions; do 2194 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2195 if test $ac_prog = install && 2196 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2197 # AIX install. It has an incompatible calling convention. 2198 : 2199 elif test $ac_prog = install && 2200 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2201 # program-specific install script used by HP pwplus--don't use. 2202 : 2203 else 2204 rm -rf conftest.one conftest.two conftest.dir 2205 echo one > conftest.one 2206 echo two > conftest.two 2207 mkdir conftest.dir 2208 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2209 test -s conftest.one && test -s conftest.two && 2210 test -s conftest.dir/conftest.one && 2211 test -s conftest.dir/conftest.two 2212 then 2213 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2214 break 3 2215 fi 2216 fi 2217 fi 2218 done 2219 done 2220 ;; 2221esac 2222 2223 done 2224IFS=$as_save_IFS 2225 2226rm -rf conftest.one conftest.two conftest.dir 2227 2228fi 2229 if test "${ac_cv_path_install+set}" = set; then 2230 INSTALL=$ac_cv_path_install 2231 else 2232 # As a last resort, use the slow shell script. Don't cache a 2233 # value for INSTALL within a source directory, because that will 2234 # break other packages using the cache if that directory is 2235 # removed, or if the value is a relative name. 2236 INSTALL=$ac_install_sh 2237 fi 2238fi 2239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2240$as_echo "$INSTALL" >&6; } 2241 2242# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2243# It thinks the first close brace ends the variable substitution. 2244test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2245 2246test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2247 2248test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2249 2250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2251$as_echo_n "checking whether build environment is sane... " >&6; } 2252# Reject unsafe characters in $srcdir or the absolute working directory 2253# name. Accept space and tab only in the latter. 2254am_lf=' 2255' 2256case `pwd` in 2257 *[\\\"\#\$\&\'\`$am_lf]*) 2258 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2259esac 2260case $srcdir in 2261 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2262 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2263esac 2264 2265# Do 'set' in a subshell so we don't clobber the current shell's 2266# arguments. Must try -L first in case configure is actually a 2267# symlink; some systems play weird games with the mod time of symlinks 2268# (eg FreeBSD returns the mod time of the symlink's containing 2269# directory). 2270if ( 2271 am_has_slept=no 2272 for am_try in 1 2; do 2273 echo "timestamp, slept: $am_has_slept" > conftest.file 2274 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2275 if test "$*" = "X"; then 2276 # -L didn't work. 2277 set X `ls -t "$srcdir/configure" conftest.file` 2278 fi 2279 if test "$*" != "X $srcdir/configure conftest.file" \ 2280 && test "$*" != "X conftest.file $srcdir/configure"; then 2281 2282 # If neither matched, then we have a broken ls. This can happen 2283 # if, for instance, CONFIG_SHELL is bash and it inherits a 2284 # broken ls alias from the environment. This has actually 2285 # happened. Such a system could not be considered "sane". 2286 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2287 alias in your environment" "$LINENO" 5 2288 fi 2289 if test "$2" = conftest.file || test $am_try -eq 2; then 2290 break 2291 fi 2292 # Just in case. 2293 sleep 1 2294 am_has_slept=yes 2295 done 2296 test "$2" = conftest.file 2297 ) 2298then 2299 # Ok. 2300 : 2301else 2302 as_fn_error $? "newly created file is older than distributed files! 2303Check your system clock" "$LINENO" 5 2304fi 2305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2306$as_echo "yes" >&6; } 2307# If we didn't sleep, we still need to ensure time stamps of config.status and 2308# generated files are strictly newer. 2309am_sleep_pid= 2310if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2311 ( sleep 1 ) & 2312 am_sleep_pid=$! 2313fi 2314 2315rm -f conftest.file 2316 2317test "$program_prefix" != NONE && 2318 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2319# Use a double $ so make ignores it. 2320test "$program_suffix" != NONE && 2321 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2322# Double any \ or $. 2323# By default was `s,x,x', remove it if useless. 2324ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2325program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2326 2327# Expand $ac_aux_dir to an absolute path. 2328am_aux_dir=`cd "$ac_aux_dir" && pwd` 2329 2330if test x"${MISSING+set}" != xset; then 2331 case $am_aux_dir in 2332 *\ * | *\ *) 2333 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2334 *) 2335 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2336 esac 2337fi 2338# Use eval to expand $SHELL 2339if eval "$MISSING --is-lightweight"; then 2340 am_missing_run="$MISSING " 2341else 2342 am_missing_run= 2343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2344$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2345fi 2346 2347if test x"${install_sh+set}" != xset; then 2348 case $am_aux_dir in 2349 *\ * | *\ *) 2350 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2351 *) 2352 install_sh="\${SHELL} $am_aux_dir/install-sh" 2353 esac 2354fi 2355 2356# Installed binaries are usually stripped using 'strip' when the user 2357# run "make install-strip". However 'strip' might not be the right 2358# tool to use in cross-compilation environments, therefore Automake 2359# will honor the 'STRIP' environment variable to overrule this program. 2360if test "$cross_compiling" != no; then 2361 if test -n "$ac_tool_prefix"; then 2362 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2363set dummy ${ac_tool_prefix}strip; ac_word=$2 2364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2365$as_echo_n "checking for $ac_word... " >&6; } 2366if ${ac_cv_prog_STRIP+:} false; then : 2367 $as_echo_n "(cached) " >&6 2368else 2369 if test -n "$STRIP"; then 2370 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2371else 2372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2373for as_dir in $PATH 2374do 2375 IFS=$as_save_IFS 2376 test -z "$as_dir" && as_dir=. 2377 for ac_exec_ext in '' $ac_executable_extensions; do 2378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2379 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2381 break 2 2382 fi 2383done 2384 done 2385IFS=$as_save_IFS 2386 2387fi 2388fi 2389STRIP=$ac_cv_prog_STRIP 2390if test -n "$STRIP"; then 2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2392$as_echo "$STRIP" >&6; } 2393else 2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2395$as_echo "no" >&6; } 2396fi 2397 2398 2399fi 2400if test -z "$ac_cv_prog_STRIP"; then 2401 ac_ct_STRIP=$STRIP 2402 # Extract the first word of "strip", so it can be a program name with args. 2403set dummy strip; ac_word=$2 2404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2405$as_echo_n "checking for $ac_word... " >&6; } 2406if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2407 $as_echo_n "(cached) " >&6 2408else 2409 if test -n "$ac_ct_STRIP"; then 2410 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2411else 2412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2413for as_dir in $PATH 2414do 2415 IFS=$as_save_IFS 2416 test -z "$as_dir" && as_dir=. 2417 for ac_exec_ext in '' $ac_executable_extensions; do 2418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2419 ac_cv_prog_ac_ct_STRIP="strip" 2420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2421 break 2 2422 fi 2423done 2424 done 2425IFS=$as_save_IFS 2426 2427fi 2428fi 2429ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2430if test -n "$ac_ct_STRIP"; then 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2432$as_echo "$ac_ct_STRIP" >&6; } 2433else 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2435$as_echo "no" >&6; } 2436fi 2437 2438 if test "x$ac_ct_STRIP" = x; then 2439 STRIP=":" 2440 else 2441 case $cross_compiling:$ac_tool_warned in 2442yes:) 2443{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2444$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2445ac_tool_warned=yes ;; 2446esac 2447 STRIP=$ac_ct_STRIP 2448 fi 2449else 2450 STRIP="$ac_cv_prog_STRIP" 2451fi 2452 2453fi 2454INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2455 2456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2457$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2458if test -z "$MKDIR_P"; then 2459 if ${ac_cv_path_mkdir+:} false; then : 2460 $as_echo_n "(cached) " >&6 2461else 2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2463for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2464do 2465 IFS=$as_save_IFS 2466 test -z "$as_dir" && as_dir=. 2467 for ac_prog in mkdir gmkdir; do 2468 for ac_exec_ext in '' $ac_executable_extensions; do 2469 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2470 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2471 'mkdir (GNU coreutils) '* | \ 2472 'mkdir (coreutils) '* | \ 2473 'mkdir (fileutils) '4.1*) 2474 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2475 break 3;; 2476 esac 2477 done 2478 done 2479 done 2480IFS=$as_save_IFS 2481 2482fi 2483 2484 test -d ./--version && rmdir ./--version 2485 if test "${ac_cv_path_mkdir+set}" = set; then 2486 MKDIR_P="$ac_cv_path_mkdir -p" 2487 else 2488 # As a last resort, use the slow shell script. Don't cache a 2489 # value for MKDIR_P within a source directory, because that will 2490 # break other packages using the cache if that directory is 2491 # removed, or if the value is a relative name. 2492 MKDIR_P="$ac_install_sh -d" 2493 fi 2494fi 2495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2496$as_echo "$MKDIR_P" >&6; } 2497 2498for ac_prog in gawk mawk nawk awk 2499do 2500 # Extract the first word of "$ac_prog", so it can be a program name with args. 2501set dummy $ac_prog; ac_word=$2 2502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2503$as_echo_n "checking for $ac_word... " >&6; } 2504if ${ac_cv_prog_AWK+:} false; then : 2505 $as_echo_n "(cached) " >&6 2506else 2507 if test -n "$AWK"; then 2508 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2509else 2510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2511for as_dir in $PATH 2512do 2513 IFS=$as_save_IFS 2514 test -z "$as_dir" && as_dir=. 2515 for ac_exec_ext in '' $ac_executable_extensions; do 2516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2517 ac_cv_prog_AWK="$ac_prog" 2518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2519 break 2 2520 fi 2521done 2522 done 2523IFS=$as_save_IFS 2524 2525fi 2526fi 2527AWK=$ac_cv_prog_AWK 2528if test -n "$AWK"; then 2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2530$as_echo "$AWK" >&6; } 2531else 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2533$as_echo "no" >&6; } 2534fi 2535 2536 2537 test -n "$AWK" && break 2538done 2539 2540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2541$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2542set x ${MAKE-make} 2543ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2544if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2545 $as_echo_n "(cached) " >&6 2546else 2547 cat >conftest.make <<\_ACEOF 2548SHELL = /bin/sh 2549all: 2550 @echo '@@@%%%=$(MAKE)=@@@%%%' 2551_ACEOF 2552# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2553case `${MAKE-make} -f conftest.make 2>/dev/null` in 2554 *@@@%%%=?*=@@@%%%*) 2555 eval ac_cv_prog_make_${ac_make}_set=yes;; 2556 *) 2557 eval ac_cv_prog_make_${ac_make}_set=no;; 2558esac 2559rm -f conftest.make 2560fi 2561if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2563$as_echo "yes" >&6; } 2564 SET_MAKE= 2565else 2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2567$as_echo "no" >&6; } 2568 SET_MAKE="MAKE=${MAKE-make}" 2569fi 2570 2571rm -rf .tst 2>/dev/null 2572mkdir .tst 2>/dev/null 2573if test -d .tst; then 2574 am__leading_dot=. 2575else 2576 am__leading_dot=_ 2577fi 2578rmdir .tst 2>/dev/null 2579 2580# Check whether --enable-silent-rules was given. 2581if test "${enable_silent_rules+set}" = set; then : 2582 enableval=$enable_silent_rules; 2583fi 2584 2585case $enable_silent_rules in # ((( 2586 yes) AM_DEFAULT_VERBOSITY=0;; 2587 no) AM_DEFAULT_VERBOSITY=1;; 2588 *) AM_DEFAULT_VERBOSITY=1;; 2589esac 2590am_make=${MAKE-make} 2591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2592$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2593if ${am_cv_make_support_nested_variables+:} false; then : 2594 $as_echo_n "(cached) " >&6 2595else 2596 if $as_echo 'TRUE=$(BAR$(V)) 2597BAR0=false 2598BAR1=true 2599V=1 2600am__doit: 2601 @$(TRUE) 2602.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2603 am_cv_make_support_nested_variables=yes 2604else 2605 am_cv_make_support_nested_variables=no 2606fi 2607fi 2608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2609$as_echo "$am_cv_make_support_nested_variables" >&6; } 2610if test $am_cv_make_support_nested_variables = yes; then 2611 AM_V='$(V)' 2612 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2613else 2614 AM_V=$AM_DEFAULT_VERBOSITY 2615 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2616fi 2617AM_BACKSLASH='\' 2618 2619if test "`cd $srcdir && pwd`" != "`pwd`"; then 2620 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2621 # is not polluted with repeated "-I." 2622 am__isrc=' -I$(srcdir)' 2623 # test to see if srcdir already configured 2624 if test -f $srcdir/config.status; then 2625 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2626 fi 2627fi 2628 2629# test whether we have cygpath 2630if test -z "$CYGPATH_W"; then 2631 if (cygpath --version) >/dev/null 2>/dev/null; then 2632 CYGPATH_W='cygpath -w' 2633 else 2634 CYGPATH_W=echo 2635 fi 2636fi 2637 2638 2639# Define the identity of the package. 2640 PACKAGE='libunibreak' 2641 VERSION='4.3' 2642 2643 2644cat >>confdefs.h <<_ACEOF 2645#define PACKAGE "$PACKAGE" 2646_ACEOF 2647 2648 2649cat >>confdefs.h <<_ACEOF 2650#define VERSION "$VERSION" 2651_ACEOF 2652 2653# Some tools Automake needs. 2654 2655ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2656 2657 2658AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2659 2660 2661AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2662 2663 2664AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2665 2666 2667MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2668 2669# For better backward compatibility. To be removed once Automake 1.9.x 2670# dies out for good. For more background, see: 2671# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2672# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2673mkdir_p='$(MKDIR_P)' 2674 2675# We need awk for the "check" target (and possibly the TAP driver). The 2676# system "awk" is bad on some platforms. 2677# Always define AMTAR for backward compatibility. Yes, it's still used 2678# in the wild :-( We should find a proper way to deprecate it ... 2679AMTAR='$${TAR-tar}' 2680 2681 2682# We'll loop over all known methods to create a tar archive until one works. 2683_am_tools='gnutar pax cpio none' 2684 2685am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2686 2687 2688 2689 2690 2691 2692# POSIX will say in a future version that running "rm -f" with no argument 2693# is OK; and we want to be able to make that assumption in our Makefile 2694# recipes. So use an aggressive probe to check that the usage we want is 2695# actually supported "in the wild" to an acceptable degree. 2696# See automake bug#10828. 2697# To make any issue more visible, cause the running configure to be aborted 2698# by default if the 'rm' program in use doesn't match our expectations; the 2699# user can still override this though. 2700if rm -f && rm -fr && rm -rf; then : OK; else 2701 cat >&2 <<'END' 2702Oops! 2703 2704Your 'rm' program seems unable to run without file operands specified 2705on the command line, even when the '-f' option is present. This is contrary 2706to the behaviour of most rm programs out there, and not conforming with 2707the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2708 2709Please tell bug-automake@gnu.org about your system, including the value 2710of your $PATH and any error possibly output before this message. This 2711can help us improve future automake versions. 2712 2713END 2714 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2715 echo 'Configuration will proceed anyway, since you have set the' >&2 2716 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2717 echo >&2 2718 else 2719 cat >&2 <<'END' 2720Aborting the configuration process, to ensure you take notice of the issue. 2721 2722You can download and install GNU coreutils to get an 'rm' implementation 2723that behaves properly: <https://www.gnu.org/software/coreutils/>. 2724 2725If you want to complete the configuration process using your problematic 2726'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2727to "yes", and re-run configure. 2728 2729END 2730 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2731 fi 2732fi 2733 2734 2735ac_ext=c 2736ac_cpp='$CPP $CPPFLAGS' 2737ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2738ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2739ac_compiler_gnu=$ac_cv_c_compiler_gnu 2740if test -n "$ac_tool_prefix"; then 2741 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2742set dummy ${ac_tool_prefix}gcc; ac_word=$2 2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2744$as_echo_n "checking for $ac_word... " >&6; } 2745if ${ac_cv_prog_CC+:} false; then : 2746 $as_echo_n "(cached) " >&6 2747else 2748 if test -n "$CC"; then 2749 ac_cv_prog_CC="$CC" # Let the user override the test. 2750else 2751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2752for as_dir in $PATH 2753do 2754 IFS=$as_save_IFS 2755 test -z "$as_dir" && as_dir=. 2756 for ac_exec_ext in '' $ac_executable_extensions; do 2757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2758 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2760 break 2 2761 fi 2762done 2763 done 2764IFS=$as_save_IFS 2765 2766fi 2767fi 2768CC=$ac_cv_prog_CC 2769if test -n "$CC"; then 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2771$as_echo "$CC" >&6; } 2772else 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2774$as_echo "no" >&6; } 2775fi 2776 2777 2778fi 2779if test -z "$ac_cv_prog_CC"; then 2780 ac_ct_CC=$CC 2781 # Extract the first word of "gcc", so it can be a program name with args. 2782set dummy gcc; ac_word=$2 2783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2784$as_echo_n "checking for $ac_word... " >&6; } 2785if ${ac_cv_prog_ac_ct_CC+:} false; then : 2786 $as_echo_n "(cached) " >&6 2787else 2788 if test -n "$ac_ct_CC"; then 2789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2790else 2791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2792for as_dir in $PATH 2793do 2794 IFS=$as_save_IFS 2795 test -z "$as_dir" && as_dir=. 2796 for ac_exec_ext in '' $ac_executable_extensions; do 2797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2798 ac_cv_prog_ac_ct_CC="gcc" 2799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2800 break 2 2801 fi 2802done 2803 done 2804IFS=$as_save_IFS 2805 2806fi 2807fi 2808ac_ct_CC=$ac_cv_prog_ac_ct_CC 2809if test -n "$ac_ct_CC"; then 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2811$as_echo "$ac_ct_CC" >&6; } 2812else 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2814$as_echo "no" >&6; } 2815fi 2816 2817 if test "x$ac_ct_CC" = x; then 2818 CC="" 2819 else 2820 case $cross_compiling:$ac_tool_warned in 2821yes:) 2822{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2823$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2824ac_tool_warned=yes ;; 2825esac 2826 CC=$ac_ct_CC 2827 fi 2828else 2829 CC="$ac_cv_prog_CC" 2830fi 2831 2832if test -z "$CC"; then 2833 if test -n "$ac_tool_prefix"; then 2834 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2835set dummy ${ac_tool_prefix}cc; ac_word=$2 2836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2837$as_echo_n "checking for $ac_word... " >&6; } 2838if ${ac_cv_prog_CC+:} false; then : 2839 $as_echo_n "(cached) " >&6 2840else 2841 if test -n "$CC"; then 2842 ac_cv_prog_CC="$CC" # Let the user override the test. 2843else 2844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2845for as_dir in $PATH 2846do 2847 IFS=$as_save_IFS 2848 test -z "$as_dir" && as_dir=. 2849 for ac_exec_ext in '' $ac_executable_extensions; do 2850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2851 ac_cv_prog_CC="${ac_tool_prefix}cc" 2852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2853 break 2 2854 fi 2855done 2856 done 2857IFS=$as_save_IFS 2858 2859fi 2860fi 2861CC=$ac_cv_prog_CC 2862if test -n "$CC"; then 2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2864$as_echo "$CC" >&6; } 2865else 2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2867$as_echo "no" >&6; } 2868fi 2869 2870 2871 fi 2872fi 2873if test -z "$CC"; then 2874 # Extract the first word of "cc", so it can be a program name with args. 2875set dummy cc; ac_word=$2 2876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2877$as_echo_n "checking for $ac_word... " >&6; } 2878if ${ac_cv_prog_CC+:} false; then : 2879 $as_echo_n "(cached) " >&6 2880else 2881 if test -n "$CC"; then 2882 ac_cv_prog_CC="$CC" # Let the user override the test. 2883else 2884 ac_prog_rejected=no 2885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2886for as_dir in $PATH 2887do 2888 IFS=$as_save_IFS 2889 test -z "$as_dir" && as_dir=. 2890 for ac_exec_ext in '' $ac_executable_extensions; do 2891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2892 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2893 ac_prog_rejected=yes 2894 continue 2895 fi 2896 ac_cv_prog_CC="cc" 2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2898 break 2 2899 fi 2900done 2901 done 2902IFS=$as_save_IFS 2903 2904if test $ac_prog_rejected = yes; then 2905 # We found a bogon in the path, so make sure we never use it. 2906 set dummy $ac_cv_prog_CC 2907 shift 2908 if test $# != 0; then 2909 # We chose a different compiler from the bogus one. 2910 # However, it has the same basename, so the bogon will be chosen 2911 # first if we set CC to just the basename; use the full file name. 2912 shift 2913 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2914 fi 2915fi 2916fi 2917fi 2918CC=$ac_cv_prog_CC 2919if test -n "$CC"; then 2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2921$as_echo "$CC" >&6; } 2922else 2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2924$as_echo "no" >&6; } 2925fi 2926 2927 2928fi 2929if test -z "$CC"; then 2930 if test -n "$ac_tool_prefix"; then 2931 for ac_prog in cl.exe 2932 do 2933 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2934set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2936$as_echo_n "checking for $ac_word... " >&6; } 2937if ${ac_cv_prog_CC+:} false; then : 2938 $as_echo_n "(cached) " >&6 2939else 2940 if test -n "$CC"; then 2941 ac_cv_prog_CC="$CC" # Let the user override the test. 2942else 2943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2944for as_dir in $PATH 2945do 2946 IFS=$as_save_IFS 2947 test -z "$as_dir" && as_dir=. 2948 for ac_exec_ext in '' $ac_executable_extensions; do 2949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2950 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2952 break 2 2953 fi 2954done 2955 done 2956IFS=$as_save_IFS 2957 2958fi 2959fi 2960CC=$ac_cv_prog_CC 2961if test -n "$CC"; then 2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2963$as_echo "$CC" >&6; } 2964else 2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2966$as_echo "no" >&6; } 2967fi 2968 2969 2970 test -n "$CC" && break 2971 done 2972fi 2973if test -z "$CC"; then 2974 ac_ct_CC=$CC 2975 for ac_prog in cl.exe 2976do 2977 # Extract the first word of "$ac_prog", so it can be a program name with args. 2978set dummy $ac_prog; ac_word=$2 2979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2980$as_echo_n "checking for $ac_word... " >&6; } 2981if ${ac_cv_prog_ac_ct_CC+:} false; then : 2982 $as_echo_n "(cached) " >&6 2983else 2984 if test -n "$ac_ct_CC"; then 2985 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2986else 2987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2988for as_dir in $PATH 2989do 2990 IFS=$as_save_IFS 2991 test -z "$as_dir" && as_dir=. 2992 for ac_exec_ext in '' $ac_executable_extensions; do 2993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2994 ac_cv_prog_ac_ct_CC="$ac_prog" 2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2996 break 2 2997 fi 2998done 2999 done 3000IFS=$as_save_IFS 3001 3002fi 3003fi 3004ac_ct_CC=$ac_cv_prog_ac_ct_CC 3005if test -n "$ac_ct_CC"; then 3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3007$as_echo "$ac_ct_CC" >&6; } 3008else 3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3010$as_echo "no" >&6; } 3011fi 3012 3013 3014 test -n "$ac_ct_CC" && break 3015done 3016 3017 if test "x$ac_ct_CC" = x; then 3018 CC="" 3019 else 3020 case $cross_compiling:$ac_tool_warned in 3021yes:) 3022{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3023$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3024ac_tool_warned=yes ;; 3025esac 3026 CC=$ac_ct_CC 3027 fi 3028fi 3029 3030fi 3031 3032 3033test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3034$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3035as_fn_error $? "no acceptable C compiler found in \$PATH 3036See \`config.log' for more details" "$LINENO" 5; } 3037 3038# Provide some information about the compiler. 3039$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3040set X $ac_compile 3041ac_compiler=$2 3042for ac_option in --version -v -V -qversion; do 3043 { { ac_try="$ac_compiler $ac_option >&5" 3044case "(($ac_try" in 3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3046 *) ac_try_echo=$ac_try;; 3047esac 3048eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3049$as_echo "$ac_try_echo"; } >&5 3050 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3051 ac_status=$? 3052 if test -s conftest.err; then 3053 sed '10a\ 3054... rest of stderr output deleted ... 3055 10q' conftest.err >conftest.er1 3056 cat conftest.er1 >&5 3057 fi 3058 rm -f conftest.er1 conftest.err 3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3060 test $ac_status = 0; } 3061done 3062 3063cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3064/* end confdefs.h. */ 3065 3066int 3067main () 3068{ 3069 3070 ; 3071 return 0; 3072} 3073_ACEOF 3074ac_clean_files_save=$ac_clean_files 3075ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3076# Try to create an executable without -o first, disregard a.out. 3077# It will help us diagnose broken compilers, and finding out an intuition 3078# of exeext. 3079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3080$as_echo_n "checking whether the C compiler works... " >&6; } 3081ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3082 3083# The possible output files: 3084ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3085 3086ac_rmfiles= 3087for ac_file in $ac_files 3088do 3089 case $ac_file in 3090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3091 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3092 esac 3093done 3094rm -f $ac_rmfiles 3095 3096if { { ac_try="$ac_link_default" 3097case "(($ac_try" in 3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3099 *) ac_try_echo=$ac_try;; 3100esac 3101eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3102$as_echo "$ac_try_echo"; } >&5 3103 (eval "$ac_link_default") 2>&5 3104 ac_status=$? 3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3106 test $ac_status = 0; }; then : 3107 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3108# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3109# in a Makefile. We should not override ac_cv_exeext if it was cached, 3110# so that the user can short-circuit this test for compilers unknown to 3111# Autoconf. 3112for ac_file in $ac_files '' 3113do 3114 test -f "$ac_file" || continue 3115 case $ac_file in 3116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3117 ;; 3118 [ab].out ) 3119 # We found the default executable, but exeext='' is most 3120 # certainly right. 3121 break;; 3122 *.* ) 3123 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3124 then :; else 3125 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3126 fi 3127 # We set ac_cv_exeext here because the later test for it is not 3128 # safe: cross compilers may not add the suffix if given an `-o' 3129 # argument, so we may need to know it at that point already. 3130 # Even if this section looks crufty: it has the advantage of 3131 # actually working. 3132 break;; 3133 * ) 3134 break;; 3135 esac 3136done 3137test "$ac_cv_exeext" = no && ac_cv_exeext= 3138 3139else 3140 ac_file='' 3141fi 3142if test -z "$ac_file"; then : 3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3144$as_echo "no" >&6; } 3145$as_echo "$as_me: failed program was:" >&5 3146sed 's/^/| /' conftest.$ac_ext >&5 3147 3148{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3149$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3150as_fn_error 77 "C compiler cannot create executables 3151See \`config.log' for more details" "$LINENO" 5; } 3152else 3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3154$as_echo "yes" >&6; } 3155fi 3156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3157$as_echo_n "checking for C compiler default output file name... " >&6; } 3158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3159$as_echo "$ac_file" >&6; } 3160ac_exeext=$ac_cv_exeext 3161 3162rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3163ac_clean_files=$ac_clean_files_save 3164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3165$as_echo_n "checking for suffix of executables... " >&6; } 3166if { { ac_try="$ac_link" 3167case "(($ac_try" in 3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3169 *) ac_try_echo=$ac_try;; 3170esac 3171eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3172$as_echo "$ac_try_echo"; } >&5 3173 (eval "$ac_link") 2>&5 3174 ac_status=$? 3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3176 test $ac_status = 0; }; then : 3177 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3178# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3179# work properly (i.e., refer to `conftest.exe'), while it won't with 3180# `rm'. 3181for ac_file in conftest.exe conftest conftest.*; do 3182 test -f "$ac_file" || continue 3183 case $ac_file in 3184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3185 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3186 break;; 3187 * ) break;; 3188 esac 3189done 3190else 3191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3192$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3193as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3194See \`config.log' for more details" "$LINENO" 5; } 3195fi 3196rm -f conftest conftest$ac_cv_exeext 3197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3198$as_echo "$ac_cv_exeext" >&6; } 3199 3200rm -f conftest.$ac_ext 3201EXEEXT=$ac_cv_exeext 3202ac_exeext=$EXEEXT 3203cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3204/* end confdefs.h. */ 3205#include <stdio.h> 3206int 3207main () 3208{ 3209FILE *f = fopen ("conftest.out", "w"); 3210 return ferror (f) || fclose (f) != 0; 3211 3212 ; 3213 return 0; 3214} 3215_ACEOF 3216ac_clean_files="$ac_clean_files conftest.out" 3217# Check that the compiler produces executables we can run. If not, either 3218# the compiler is broken, or we cross compile. 3219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3220$as_echo_n "checking whether we are cross compiling... " >&6; } 3221if test "$cross_compiling" != yes; then 3222 { { ac_try="$ac_link" 3223case "(($ac_try" in 3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3225 *) ac_try_echo=$ac_try;; 3226esac 3227eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3228$as_echo "$ac_try_echo"; } >&5 3229 (eval "$ac_link") 2>&5 3230 ac_status=$? 3231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3232 test $ac_status = 0; } 3233 if { ac_try='./conftest$ac_cv_exeext' 3234 { { case "(($ac_try" in 3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3236 *) ac_try_echo=$ac_try;; 3237esac 3238eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3239$as_echo "$ac_try_echo"; } >&5 3240 (eval "$ac_try") 2>&5 3241 ac_status=$? 3242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3243 test $ac_status = 0; }; }; then 3244 cross_compiling=no 3245 else 3246 if test "$cross_compiling" = maybe; then 3247 cross_compiling=yes 3248 else 3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3250$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3251as_fn_error $? "cannot run C compiled programs. 3252If you meant to cross compile, use \`--host'. 3253See \`config.log' for more details" "$LINENO" 5; } 3254 fi 3255 fi 3256fi 3257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3258$as_echo "$cross_compiling" >&6; } 3259 3260rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3261ac_clean_files=$ac_clean_files_save 3262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3263$as_echo_n "checking for suffix of object files... " >&6; } 3264if ${ac_cv_objext+:} false; then : 3265 $as_echo_n "(cached) " >&6 3266else 3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3268/* end confdefs.h. */ 3269 3270int 3271main () 3272{ 3273 3274 ; 3275 return 0; 3276} 3277_ACEOF 3278rm -f conftest.o conftest.obj 3279if { { ac_try="$ac_compile" 3280case "(($ac_try" in 3281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3282 *) ac_try_echo=$ac_try;; 3283esac 3284eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3285$as_echo "$ac_try_echo"; } >&5 3286 (eval "$ac_compile") 2>&5 3287 ac_status=$? 3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3289 test $ac_status = 0; }; then : 3290 for ac_file in conftest.o conftest.obj conftest.*; do 3291 test -f "$ac_file" || continue; 3292 case $ac_file in 3293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3294 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3295 break;; 3296 esac 3297done 3298else 3299 $as_echo "$as_me: failed program was:" >&5 3300sed 's/^/| /' conftest.$ac_ext >&5 3301 3302{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3303$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3304as_fn_error $? "cannot compute suffix of object files: cannot compile 3305See \`config.log' for more details" "$LINENO" 5; } 3306fi 3307rm -f conftest.$ac_cv_objext conftest.$ac_ext 3308fi 3309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3310$as_echo "$ac_cv_objext" >&6; } 3311OBJEXT=$ac_cv_objext 3312ac_objext=$OBJEXT 3313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3314$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3315if ${ac_cv_c_compiler_gnu+:} false; then : 3316 $as_echo_n "(cached) " >&6 3317else 3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3319/* end confdefs.h. */ 3320 3321int 3322main () 3323{ 3324#ifndef __GNUC__ 3325 choke me 3326#endif 3327 3328 ; 3329 return 0; 3330} 3331_ACEOF 3332if ac_fn_c_try_compile "$LINENO"; then : 3333 ac_compiler_gnu=yes 3334else 3335 ac_compiler_gnu=no 3336fi 3337rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3338ac_cv_c_compiler_gnu=$ac_compiler_gnu 3339 3340fi 3341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3342$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3343if test $ac_compiler_gnu = yes; then 3344 GCC=yes 3345else 3346 GCC= 3347fi 3348ac_test_CFLAGS=${CFLAGS+set} 3349ac_save_CFLAGS=$CFLAGS 3350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3351$as_echo_n "checking whether $CC accepts -g... " >&6; } 3352if ${ac_cv_prog_cc_g+:} false; then : 3353 $as_echo_n "(cached) " >&6 3354else 3355 ac_save_c_werror_flag=$ac_c_werror_flag 3356 ac_c_werror_flag=yes 3357 ac_cv_prog_cc_g=no 3358 CFLAGS="-g" 3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3360/* end confdefs.h. */ 3361 3362int 3363main () 3364{ 3365 3366 ; 3367 return 0; 3368} 3369_ACEOF 3370if ac_fn_c_try_compile "$LINENO"; then : 3371 ac_cv_prog_cc_g=yes 3372else 3373 CFLAGS="" 3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3375/* end confdefs.h. */ 3376 3377int 3378main () 3379{ 3380 3381 ; 3382 return 0; 3383} 3384_ACEOF 3385if ac_fn_c_try_compile "$LINENO"; then : 3386 3387else 3388 ac_c_werror_flag=$ac_save_c_werror_flag 3389 CFLAGS="-g" 3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3391/* end confdefs.h. */ 3392 3393int 3394main () 3395{ 3396 3397 ; 3398 return 0; 3399} 3400_ACEOF 3401if ac_fn_c_try_compile "$LINENO"; then : 3402 ac_cv_prog_cc_g=yes 3403fi 3404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3405fi 3406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3407fi 3408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3409 ac_c_werror_flag=$ac_save_c_werror_flag 3410fi 3411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3412$as_echo "$ac_cv_prog_cc_g" >&6; } 3413if test "$ac_test_CFLAGS" = set; then 3414 CFLAGS=$ac_save_CFLAGS 3415elif test $ac_cv_prog_cc_g = yes; then 3416 if test "$GCC" = yes; then 3417 CFLAGS="-g -O2" 3418 else 3419 CFLAGS="-g" 3420 fi 3421else 3422 if test "$GCC" = yes; then 3423 CFLAGS="-O2" 3424 else 3425 CFLAGS= 3426 fi 3427fi 3428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3429$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3430if ${ac_cv_prog_cc_c89+:} false; then : 3431 $as_echo_n "(cached) " >&6 3432else 3433 ac_cv_prog_cc_c89=no 3434ac_save_CC=$CC 3435cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3436/* end confdefs.h. */ 3437#include <stdarg.h> 3438#include <stdio.h> 3439struct stat; 3440/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3441struct buf { int x; }; 3442FILE * (*rcsopen) (struct buf *, struct stat *, int); 3443static char *e (p, i) 3444 char **p; 3445 int i; 3446{ 3447 return p[i]; 3448} 3449static char *f (char * (*g) (char **, int), char **p, ...) 3450{ 3451 char *s; 3452 va_list v; 3453 va_start (v,p); 3454 s = g (p, va_arg (v,int)); 3455 va_end (v); 3456 return s; 3457} 3458 3459/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3460 function prototypes and stuff, but not '\xHH' hex character constants. 3461 These don't provoke an error unfortunately, instead are silently treated 3462 as 'x'. The following induces an error, until -std is added to get 3463 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3464 array size at least. It's necessary to write '\x00'==0 to get something 3465 that's true only with -std. */ 3466int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3467 3468/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3469 inside strings and character constants. */ 3470#define FOO(x) 'x' 3471int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3472 3473int test (int i, double x); 3474struct s1 {int (*f) (int a);}; 3475struct s2 {int (*f) (double a);}; 3476int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3477int argc; 3478char **argv; 3479int 3480main () 3481{ 3482return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3483 ; 3484 return 0; 3485} 3486_ACEOF 3487for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3488 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3489do 3490 CC="$ac_save_CC $ac_arg" 3491 if ac_fn_c_try_compile "$LINENO"; then : 3492 ac_cv_prog_cc_c89=$ac_arg 3493fi 3494rm -f core conftest.err conftest.$ac_objext 3495 test "x$ac_cv_prog_cc_c89" != "xno" && break 3496done 3497rm -f conftest.$ac_ext 3498CC=$ac_save_CC 3499 3500fi 3501# AC_CACHE_VAL 3502case "x$ac_cv_prog_cc_c89" in 3503 x) 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3505$as_echo "none needed" >&6; } ;; 3506 xno) 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3508$as_echo "unsupported" >&6; } ;; 3509 *) 3510 CC="$CC $ac_cv_prog_cc_c89" 3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3512$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3513esac 3514if test "x$ac_cv_prog_cc_c89" != xno; then : 3515 3516fi 3517 3518ac_ext=c 3519ac_cpp='$CPP $CPPFLAGS' 3520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3522ac_compiler_gnu=$ac_cv_c_compiler_gnu 3523 3524ac_ext=c 3525ac_cpp='$CPP $CPPFLAGS' 3526ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3527ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3528ac_compiler_gnu=$ac_cv_c_compiler_gnu 3529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3530$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3531if ${am_cv_prog_cc_c_o+:} false; then : 3532 $as_echo_n "(cached) " >&6 3533else 3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3535/* end confdefs.h. */ 3536 3537int 3538main () 3539{ 3540 3541 ; 3542 return 0; 3543} 3544_ACEOF 3545 # Make sure it works both with $CC and with simple cc. 3546 # Following AC_PROG_CC_C_O, we do the test twice because some 3547 # compilers refuse to overwrite an existing .o file with -o, 3548 # though they will create one. 3549 am_cv_prog_cc_c_o=yes 3550 for am_i in 1 2; do 3551 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3552 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3553 ac_status=$? 3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3555 (exit $ac_status); } \ 3556 && test -f conftest2.$ac_objext; then 3557 : OK 3558 else 3559 am_cv_prog_cc_c_o=no 3560 break 3561 fi 3562 done 3563 rm -f core conftest* 3564 unset am_i 3565fi 3566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3567$as_echo "$am_cv_prog_cc_c_o" >&6; } 3568if test "$am_cv_prog_cc_c_o" != yes; then 3569 # Losing compiler, so override with the script. 3570 # FIXME: It is wrong to rewrite CC. 3571 # But if we don't then we get into trouble of one sort or another. 3572 # A longer-term fix would be to have automake use am__CC in this case, 3573 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3574 CC="$am_aux_dir/compile $CC" 3575fi 3576ac_ext=c 3577ac_cpp='$CPP $CPPFLAGS' 3578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3580ac_compiler_gnu=$ac_cv_c_compiler_gnu 3581 3582DEPDIR="${am__leading_dot}deps" 3583 3584ac_config_commands="$ac_config_commands depfiles" 3585 3586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3587$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3588cat > confinc.mk << 'END' 3589am__doit: 3590 @echo this is the am__doit target >confinc.out 3591.PHONY: am__doit 3592END 3593am__include="#" 3594am__quote= 3595# BSD make does it like this. 3596echo '.include "confinc.mk" # ignored' > confmf.BSD 3597# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3598echo 'include confinc.mk # ignored' > confmf.GNU 3599_am_result=no 3600for s in GNU BSD; do 3601 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3602 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3603 ac_status=$? 3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3605 (exit $ac_status); } 3606 case $?:`cat confinc.out 2>/dev/null` in #( 3607 '0:this is the am__doit target') : 3608 case $s in #( 3609 BSD) : 3610 am__include='.include' am__quote='"' ;; #( 3611 *) : 3612 am__include='include' am__quote='' ;; 3613esac ;; #( 3614 *) : 3615 ;; 3616esac 3617 if test "$am__include" != "#"; then 3618 _am_result="yes ($s style)" 3619 break 3620 fi 3621done 3622rm -f confinc.* confmf.* 3623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3624$as_echo "${_am_result}" >&6; } 3625 3626# Check whether --enable-dependency-tracking was given. 3627if test "${enable_dependency_tracking+set}" = set; then : 3628 enableval=$enable_dependency_tracking; 3629fi 3630 3631if test "x$enable_dependency_tracking" != xno; then 3632 am_depcomp="$ac_aux_dir/depcomp" 3633 AMDEPBACKSLASH='\' 3634 am__nodep='_no' 3635fi 3636 if test "x$enable_dependency_tracking" != xno; then 3637 AMDEP_TRUE= 3638 AMDEP_FALSE='#' 3639else 3640 AMDEP_TRUE='#' 3641 AMDEP_FALSE= 3642fi 3643 3644 3645 3646depcc="$CC" am_compiler_list= 3647 3648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3649$as_echo_n "checking dependency style of $depcc... " >&6; } 3650if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3651 $as_echo_n "(cached) " >&6 3652else 3653 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3654 # We make a subdir and do the tests there. Otherwise we can end up 3655 # making bogus files that we don't know about and never remove. For 3656 # instance it was reported that on HP-UX the gcc test will end up 3657 # making a dummy file named 'D' -- because '-MD' means "put the output 3658 # in D". 3659 rm -rf conftest.dir 3660 mkdir conftest.dir 3661 # Copy depcomp to subdir because otherwise we won't find it if we're 3662 # using a relative directory. 3663 cp "$am_depcomp" conftest.dir 3664 cd conftest.dir 3665 # We will build objects and dependencies in a subdirectory because 3666 # it helps to detect inapplicable dependency modes. For instance 3667 # both Tru64's cc and ICC support -MD to output dependencies as a 3668 # side effect of compilation, but ICC will put the dependencies in 3669 # the current directory while Tru64 will put them in the object 3670 # directory. 3671 mkdir sub 3672 3673 am_cv_CC_dependencies_compiler_type=none 3674 if test "$am_compiler_list" = ""; then 3675 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3676 fi 3677 am__universal=false 3678 case " $depcc " in #( 3679 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3680 esac 3681 3682 for depmode in $am_compiler_list; do 3683 # Setup a source with many dependencies, because some compilers 3684 # like to wrap large dependency lists on column 80 (with \), and 3685 # we should not choose a depcomp mode which is confused by this. 3686 # 3687 # We need to recreate these files for each test, as the compiler may 3688 # overwrite some of them when testing with obscure command lines. 3689 # This happens at least with the AIX C compiler. 3690 : > sub/conftest.c 3691 for i in 1 2 3 4 5 6; do 3692 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3693 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3694 # Solaris 10 /bin/sh. 3695 echo '/* dummy */' > sub/conftst$i.h 3696 done 3697 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3698 3699 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3700 # mode. It turns out that the SunPro C++ compiler does not properly 3701 # handle '-M -o', and we need to detect this. Also, some Intel 3702 # versions had trouble with output in subdirs. 3703 am__obj=sub/conftest.${OBJEXT-o} 3704 am__minus_obj="-o $am__obj" 3705 case $depmode in 3706 gcc) 3707 # This depmode causes a compiler race in universal mode. 3708 test "$am__universal" = false || continue 3709 ;; 3710 nosideeffect) 3711 # After this tag, mechanisms are not by side-effect, so they'll 3712 # only be used when explicitly requested. 3713 if test "x$enable_dependency_tracking" = xyes; then 3714 continue 3715 else 3716 break 3717 fi 3718 ;; 3719 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3720 # This compiler won't grok '-c -o', but also, the minuso test has 3721 # not run yet. These depmodes are late enough in the game, and 3722 # so weak that their functioning should not be impacted. 3723 am__obj=conftest.${OBJEXT-o} 3724 am__minus_obj= 3725 ;; 3726 none) break ;; 3727 esac 3728 if depmode=$depmode \ 3729 source=sub/conftest.c object=$am__obj \ 3730 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3731 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3732 >/dev/null 2>conftest.err && 3733 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3734 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3735 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3736 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3737 # icc doesn't choke on unknown options, it will just issue warnings 3738 # or remarks (even with -Werror). So we grep stderr for any message 3739 # that says an option was ignored or not supported. 3740 # When given -MP, icc 7.0 and 7.1 complain thusly: 3741 # icc: Command line warning: ignoring option '-M'; no argument required 3742 # The diagnosis changed in icc 8.0: 3743 # icc: Command line remark: option '-MP' not supported 3744 if (grep 'ignoring option' conftest.err || 3745 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3746 am_cv_CC_dependencies_compiler_type=$depmode 3747 break 3748 fi 3749 fi 3750 done 3751 3752 cd .. 3753 rm -rf conftest.dir 3754else 3755 am_cv_CC_dependencies_compiler_type=none 3756fi 3757 3758fi 3759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3760$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3761CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3762 3763 if 3764 test "x$enable_dependency_tracking" != xno \ 3765 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3766 am__fastdepCC_TRUE= 3767 am__fastdepCC_FALSE='#' 3768else 3769 am__fastdepCC_TRUE='#' 3770 am__fastdepCC_FALSE= 3771fi 3772 3773 3774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3775$as_echo_n "checking whether ln -s works... " >&6; } 3776LN_S=$as_ln_s 3777if test "$LN_S" = "ln -s"; then 3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3779$as_echo "yes" >&6; } 3780else 3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3782$as_echo "no, using $LN_S" >&6; } 3783fi 3784 3785 3786case `pwd` in 3787 *\ * | *\ *) 3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3789$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3790esac 3791 3792 3793 3794macro_version='2.4.6' 3795macro_revision='2.4.6' 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809ltmain=$ac_aux_dir/ltmain.sh 3810 3811# Make sure we can run config.sub. 3812$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3813 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3814 3815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3816$as_echo_n "checking build system type... " >&6; } 3817if ${ac_cv_build+:} false; then : 3818 $as_echo_n "(cached) " >&6 3819else 3820 ac_build_alias=$build_alias 3821test "x$ac_build_alias" = x && 3822 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3823test "x$ac_build_alias" = x && 3824 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3825ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3826 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3827 3828fi 3829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3830$as_echo "$ac_cv_build" >&6; } 3831case $ac_cv_build in 3832*-*-*) ;; 3833*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3834esac 3835build=$ac_cv_build 3836ac_save_IFS=$IFS; IFS='-' 3837set x $ac_cv_build 3838shift 3839build_cpu=$1 3840build_vendor=$2 3841shift; shift 3842# Remember, the first character of IFS is used to create $*, 3843# except with old shells: 3844build_os=$* 3845IFS=$ac_save_IFS 3846case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3847 3848 3849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3850$as_echo_n "checking host system type... " >&6; } 3851if ${ac_cv_host+:} false; then : 3852 $as_echo_n "(cached) " >&6 3853else 3854 if test "x$host_alias" = x; then 3855 ac_cv_host=$ac_cv_build 3856else 3857 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3858 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3859fi 3860 3861fi 3862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3863$as_echo "$ac_cv_host" >&6; } 3864case $ac_cv_host in 3865*-*-*) ;; 3866*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3867esac 3868host=$ac_cv_host 3869ac_save_IFS=$IFS; IFS='-' 3870set x $ac_cv_host 3871shift 3872host_cpu=$1 3873host_vendor=$2 3874shift; shift 3875# Remember, the first character of IFS is used to create $*, 3876# except with old shells: 3877host_os=$* 3878IFS=$ac_save_IFS 3879case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3880 3881 3882# Backslashify metacharacters that are still active within 3883# double-quoted strings. 3884sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3885 3886# Same as above, but do not quote variable references. 3887double_quote_subst='s/\(["`\\]\)/\\\1/g' 3888 3889# Sed substitution to delay expansion of an escaped shell variable in a 3890# double_quote_subst'ed string. 3891delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3892 3893# Sed substitution to delay expansion of an escaped single quote. 3894delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3895 3896# Sed substitution to avoid accidental globbing in evaled expressions 3897no_glob_subst='s/\*/\\\*/g' 3898 3899ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3900ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3901ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3902 3903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3904$as_echo_n "checking how to print strings... " >&6; } 3905# Test print first, because it will be a builtin if present. 3906if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3907 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3908 ECHO='print -r --' 3909elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3910 ECHO='printf %s\n' 3911else 3912 # Use this function as a fallback that always works. 3913 func_fallback_echo () 3914 { 3915 eval 'cat <<_LTECHO_EOF 3916$1 3917_LTECHO_EOF' 3918 } 3919 ECHO='func_fallback_echo' 3920fi 3921 3922# func_echo_all arg... 3923# Invoke $ECHO with all args, space-separated. 3924func_echo_all () 3925{ 3926 $ECHO "" 3927} 3928 3929case $ECHO in 3930 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3931$as_echo "printf" >&6; } ;; 3932 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3933$as_echo "print -r" >&6; } ;; 3934 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3935$as_echo "cat" >&6; } ;; 3936esac 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3952$as_echo_n "checking for a sed that does not truncate output... " >&6; } 3953if ${ac_cv_path_SED+:} false; then : 3954 $as_echo_n "(cached) " >&6 3955else 3956 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3957 for ac_i in 1 2 3 4 5 6 7; do 3958 ac_script="$ac_script$as_nl$ac_script" 3959 done 3960 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3961 { ac_script=; unset ac_script;} 3962 if test -z "$SED"; then 3963 ac_path_SED_found=false 3964 # Loop through the user's path and test for each of PROGNAME-LIST 3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3966for as_dir in $PATH 3967do 3968 IFS=$as_save_IFS 3969 test -z "$as_dir" && as_dir=. 3970 for ac_prog in sed gsed; do 3971 for ac_exec_ext in '' $ac_executable_extensions; do 3972 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 3973 as_fn_executable_p "$ac_path_SED" || continue 3974# Check for GNU ac_path_SED and select it if it is found. 3975 # Check for GNU $ac_path_SED 3976case `"$ac_path_SED" --version 2>&1` in 3977*GNU*) 3978 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3979*) 3980 ac_count=0 3981 $as_echo_n 0123456789 >"conftest.in" 3982 while : 3983 do 3984 cat "conftest.in" "conftest.in" >"conftest.tmp" 3985 mv "conftest.tmp" "conftest.in" 3986 cp "conftest.in" "conftest.nl" 3987 $as_echo '' >> "conftest.nl" 3988 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3989 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3990 as_fn_arith $ac_count + 1 && ac_count=$as_val 3991 if test $ac_count -gt ${ac_path_SED_max-0}; then 3992 # Best one so far, save it but keep looking for a better one 3993 ac_cv_path_SED="$ac_path_SED" 3994 ac_path_SED_max=$ac_count 3995 fi 3996 # 10*(2^10) chars as input seems more than enough 3997 test $ac_count -gt 10 && break 3998 done 3999 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4000esac 4001 4002 $ac_path_SED_found && break 3 4003 done 4004 done 4005 done 4006IFS=$as_save_IFS 4007 if test -z "$ac_cv_path_SED"; then 4008 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4009 fi 4010else 4011 ac_cv_path_SED=$SED 4012fi 4013 4014fi 4015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4016$as_echo "$ac_cv_path_SED" >&6; } 4017 SED="$ac_cv_path_SED" 4018 rm -f conftest.sed 4019 4020test -z "$SED" && SED=sed 4021Xsed="$SED -e 1s/^X//" 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4034$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4035if ${ac_cv_path_GREP+:} false; then : 4036 $as_echo_n "(cached) " >&6 4037else 4038 if test -z "$GREP"; then 4039 ac_path_GREP_found=false 4040 # Loop through the user's path and test for each of PROGNAME-LIST 4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4042for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4043do 4044 IFS=$as_save_IFS 4045 test -z "$as_dir" && as_dir=. 4046 for ac_prog in grep ggrep; do 4047 for ac_exec_ext in '' $ac_executable_extensions; do 4048 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4049 as_fn_executable_p "$ac_path_GREP" || continue 4050# Check for GNU ac_path_GREP and select it if it is found. 4051 # Check for GNU $ac_path_GREP 4052case `"$ac_path_GREP" --version 2>&1` in 4053*GNU*) 4054 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4055*) 4056 ac_count=0 4057 $as_echo_n 0123456789 >"conftest.in" 4058 while : 4059 do 4060 cat "conftest.in" "conftest.in" >"conftest.tmp" 4061 mv "conftest.tmp" "conftest.in" 4062 cp "conftest.in" "conftest.nl" 4063 $as_echo 'GREP' >> "conftest.nl" 4064 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4065 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4066 as_fn_arith $ac_count + 1 && ac_count=$as_val 4067 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4068 # Best one so far, save it but keep looking for a better one 4069 ac_cv_path_GREP="$ac_path_GREP" 4070 ac_path_GREP_max=$ac_count 4071 fi 4072 # 10*(2^10) chars as input seems more than enough 4073 test $ac_count -gt 10 && break 4074 done 4075 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4076esac 4077 4078 $ac_path_GREP_found && break 3 4079 done 4080 done 4081 done 4082IFS=$as_save_IFS 4083 if test -z "$ac_cv_path_GREP"; then 4084 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4085 fi 4086else 4087 ac_cv_path_GREP=$GREP 4088fi 4089 4090fi 4091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4092$as_echo "$ac_cv_path_GREP" >&6; } 4093 GREP="$ac_cv_path_GREP" 4094 4095 4096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4097$as_echo_n "checking for egrep... " >&6; } 4098if ${ac_cv_path_EGREP+:} false; then : 4099 $as_echo_n "(cached) " >&6 4100else 4101 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4102 then ac_cv_path_EGREP="$GREP -E" 4103 else 4104 if test -z "$EGREP"; then 4105 ac_path_EGREP_found=false 4106 # Loop through the user's path and test for each of PROGNAME-LIST 4107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4108for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4109do 4110 IFS=$as_save_IFS 4111 test -z "$as_dir" && as_dir=. 4112 for ac_prog in egrep; do 4113 for ac_exec_ext in '' $ac_executable_extensions; do 4114 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4115 as_fn_executable_p "$ac_path_EGREP" || continue 4116# Check for GNU ac_path_EGREP and select it if it is found. 4117 # Check for GNU $ac_path_EGREP 4118case `"$ac_path_EGREP" --version 2>&1` in 4119*GNU*) 4120 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4121*) 4122 ac_count=0 4123 $as_echo_n 0123456789 >"conftest.in" 4124 while : 4125 do 4126 cat "conftest.in" "conftest.in" >"conftest.tmp" 4127 mv "conftest.tmp" "conftest.in" 4128 cp "conftest.in" "conftest.nl" 4129 $as_echo 'EGREP' >> "conftest.nl" 4130 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4131 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4132 as_fn_arith $ac_count + 1 && ac_count=$as_val 4133 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4134 # Best one so far, save it but keep looking for a better one 4135 ac_cv_path_EGREP="$ac_path_EGREP" 4136 ac_path_EGREP_max=$ac_count 4137 fi 4138 # 10*(2^10) chars as input seems more than enough 4139 test $ac_count -gt 10 && break 4140 done 4141 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4142esac 4143 4144 $ac_path_EGREP_found && break 3 4145 done 4146 done 4147 done 4148IFS=$as_save_IFS 4149 if test -z "$ac_cv_path_EGREP"; then 4150 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4151 fi 4152else 4153 ac_cv_path_EGREP=$EGREP 4154fi 4155 4156 fi 4157fi 4158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4159$as_echo "$ac_cv_path_EGREP" >&6; } 4160 EGREP="$ac_cv_path_EGREP" 4161 4162 4163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4164$as_echo_n "checking for fgrep... " >&6; } 4165if ${ac_cv_path_FGREP+:} false; then : 4166 $as_echo_n "(cached) " >&6 4167else 4168 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4169 then ac_cv_path_FGREP="$GREP -F" 4170 else 4171 if test -z "$FGREP"; then 4172 ac_path_FGREP_found=false 4173 # Loop through the user's path and test for each of PROGNAME-LIST 4174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4175for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4176do 4177 IFS=$as_save_IFS 4178 test -z "$as_dir" && as_dir=. 4179 for ac_prog in fgrep; do 4180 for ac_exec_ext in '' $ac_executable_extensions; do 4181 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4182 as_fn_executable_p "$ac_path_FGREP" || continue 4183# Check for GNU ac_path_FGREP and select it if it is found. 4184 # Check for GNU $ac_path_FGREP 4185case `"$ac_path_FGREP" --version 2>&1` in 4186*GNU*) 4187 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4188*) 4189 ac_count=0 4190 $as_echo_n 0123456789 >"conftest.in" 4191 while : 4192 do 4193 cat "conftest.in" "conftest.in" >"conftest.tmp" 4194 mv "conftest.tmp" "conftest.in" 4195 cp "conftest.in" "conftest.nl" 4196 $as_echo 'FGREP' >> "conftest.nl" 4197 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4198 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4199 as_fn_arith $ac_count + 1 && ac_count=$as_val 4200 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4201 # Best one so far, save it but keep looking for a better one 4202 ac_cv_path_FGREP="$ac_path_FGREP" 4203 ac_path_FGREP_max=$ac_count 4204 fi 4205 # 10*(2^10) chars as input seems more than enough 4206 test $ac_count -gt 10 && break 4207 done 4208 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4209esac 4210 4211 $ac_path_FGREP_found && break 3 4212 done 4213 done 4214 done 4215IFS=$as_save_IFS 4216 if test -z "$ac_cv_path_FGREP"; then 4217 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4218 fi 4219else 4220 ac_cv_path_FGREP=$FGREP 4221fi 4222 4223 fi 4224fi 4225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4226$as_echo "$ac_cv_path_FGREP" >&6; } 4227 FGREP="$ac_cv_path_FGREP" 4228 4229 4230test -z "$GREP" && GREP=grep 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250# Check whether --with-gnu-ld was given. 4251if test "${with_gnu_ld+set}" = set; then : 4252 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4253else 4254 with_gnu_ld=no 4255fi 4256 4257ac_prog=ld 4258if test yes = "$GCC"; then 4259 # Check if gcc -print-prog-name=ld gives a path. 4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4261$as_echo_n "checking for ld used by $CC... " >&6; } 4262 case $host in 4263 *-*-mingw*) 4264 # gcc leaves a trailing carriage return, which upsets mingw 4265 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4266 *) 4267 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4268 esac 4269 case $ac_prog in 4270 # Accept absolute paths. 4271 [\\/]* | ?:[\\/]*) 4272 re_direlt='/[^/][^/]*/\.\./' 4273 # Canonicalize the pathname of ld 4274 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4275 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4276 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4277 done 4278 test -z "$LD" && LD=$ac_prog 4279 ;; 4280 "") 4281 # If it fails, then pretend we aren't using GCC. 4282 ac_prog=ld 4283 ;; 4284 *) 4285 # If it is relative, then search for the first ld in PATH. 4286 with_gnu_ld=unknown 4287 ;; 4288 esac 4289elif test yes = "$with_gnu_ld"; then 4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4291$as_echo_n "checking for GNU ld... " >&6; } 4292else 4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4294$as_echo_n "checking for non-GNU ld... " >&6; } 4295fi 4296if ${lt_cv_path_LD+:} false; then : 4297 $as_echo_n "(cached) " >&6 4298else 4299 if test -z "$LD"; then 4300 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4301 for ac_dir in $PATH; do 4302 IFS=$lt_save_ifs 4303 test -z "$ac_dir" && ac_dir=. 4304 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4305 lt_cv_path_LD=$ac_dir/$ac_prog 4306 # Check to see if the program is GNU ld. I'd rather use --version, 4307 # but apparently some variants of GNU ld only accept -v. 4308 # Break only if it was the GNU/non-GNU ld that we prefer. 4309 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4310 *GNU* | *'with BFD'*) 4311 test no != "$with_gnu_ld" && break 4312 ;; 4313 *) 4314 test yes != "$with_gnu_ld" && break 4315 ;; 4316 esac 4317 fi 4318 done 4319 IFS=$lt_save_ifs 4320else 4321 lt_cv_path_LD=$LD # Let the user override the test with a path. 4322fi 4323fi 4324 4325LD=$lt_cv_path_LD 4326if test -n "$LD"; then 4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4328$as_echo "$LD" >&6; } 4329else 4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4331$as_echo "no" >&6; } 4332fi 4333test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4335$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4336if ${lt_cv_prog_gnu_ld+:} false; then : 4337 $as_echo_n "(cached) " >&6 4338else 4339 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4340case `$LD -v 2>&1 </dev/null` in 4341*GNU* | *'with BFD'*) 4342 lt_cv_prog_gnu_ld=yes 4343 ;; 4344*) 4345 lt_cv_prog_gnu_ld=no 4346 ;; 4347esac 4348fi 4349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4350$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4351with_gnu_ld=$lt_cv_prog_gnu_ld 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4362$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4363if ${lt_cv_path_NM+:} false; then : 4364 $as_echo_n "(cached) " >&6 4365else 4366 if test -n "$NM"; then 4367 # Let the user override the test. 4368 lt_cv_path_NM=$NM 4369else 4370 lt_nm_to_check=${ac_tool_prefix}nm 4371 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4372 lt_nm_to_check="$lt_nm_to_check nm" 4373 fi 4374 for lt_tmp_nm in $lt_nm_to_check; do 4375 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4376 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4377 IFS=$lt_save_ifs 4378 test -z "$ac_dir" && ac_dir=. 4379 tmp_nm=$ac_dir/$lt_tmp_nm 4380 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4381 # Check to see if the nm accepts a BSD-compat flag. 4382 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4383 # nm: unknown option "B" ignored 4384 # Tru64's nm complains that /dev/null is an invalid object file 4385 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4386 case $build_os in 4387 mingw*) lt_bad_file=conftest.nm/nofile ;; 4388 *) lt_bad_file=/dev/null ;; 4389 esac 4390 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4391 *$lt_bad_file* | *'Invalid file or object type'*) 4392 lt_cv_path_NM="$tmp_nm -B" 4393 break 2 4394 ;; 4395 *) 4396 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4397 */dev/null*) 4398 lt_cv_path_NM="$tmp_nm -p" 4399 break 2 4400 ;; 4401 *) 4402 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4403 continue # so that we can try to find one that supports BSD flags 4404 ;; 4405 esac 4406 ;; 4407 esac 4408 fi 4409 done 4410 IFS=$lt_save_ifs 4411 done 4412 : ${lt_cv_path_NM=no} 4413fi 4414fi 4415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4416$as_echo "$lt_cv_path_NM" >&6; } 4417if test no != "$lt_cv_path_NM"; then 4418 NM=$lt_cv_path_NM 4419else 4420 # Didn't find any BSD compatible name lister, look for dumpbin. 4421 if test -n "$DUMPBIN"; then : 4422 # Let the user override the test. 4423 else 4424 if test -n "$ac_tool_prefix"; then 4425 for ac_prog in dumpbin "link -dump" 4426 do 4427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4428set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4430$as_echo_n "checking for $ac_word... " >&6; } 4431if ${ac_cv_prog_DUMPBIN+:} false; then : 4432 $as_echo_n "(cached) " >&6 4433else 4434 if test -n "$DUMPBIN"; then 4435 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4436else 4437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4438for as_dir in $PATH 4439do 4440 IFS=$as_save_IFS 4441 test -z "$as_dir" && as_dir=. 4442 for ac_exec_ext in '' $ac_executable_extensions; do 4443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4444 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4446 break 2 4447 fi 4448done 4449 done 4450IFS=$as_save_IFS 4451 4452fi 4453fi 4454DUMPBIN=$ac_cv_prog_DUMPBIN 4455if test -n "$DUMPBIN"; then 4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4457$as_echo "$DUMPBIN" >&6; } 4458else 4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4460$as_echo "no" >&6; } 4461fi 4462 4463 4464 test -n "$DUMPBIN" && break 4465 done 4466fi 4467if test -z "$DUMPBIN"; then 4468 ac_ct_DUMPBIN=$DUMPBIN 4469 for ac_prog in dumpbin "link -dump" 4470do 4471 # Extract the first word of "$ac_prog", so it can be a program name with args. 4472set dummy $ac_prog; ac_word=$2 4473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4474$as_echo_n "checking for $ac_word... " >&6; } 4475if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4476 $as_echo_n "(cached) " >&6 4477else 4478 if test -n "$ac_ct_DUMPBIN"; then 4479 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4480else 4481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4482for as_dir in $PATH 4483do 4484 IFS=$as_save_IFS 4485 test -z "$as_dir" && as_dir=. 4486 for ac_exec_ext in '' $ac_executable_extensions; do 4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4488 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4490 break 2 4491 fi 4492done 4493 done 4494IFS=$as_save_IFS 4495 4496fi 4497fi 4498ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4499if test -n "$ac_ct_DUMPBIN"; then 4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4501$as_echo "$ac_ct_DUMPBIN" >&6; } 4502else 4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4504$as_echo "no" >&6; } 4505fi 4506 4507 4508 test -n "$ac_ct_DUMPBIN" && break 4509done 4510 4511 if test "x$ac_ct_DUMPBIN" = x; then 4512 DUMPBIN=":" 4513 else 4514 case $cross_compiling:$ac_tool_warned in 4515yes:) 4516{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4517$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4518ac_tool_warned=yes ;; 4519esac 4520 DUMPBIN=$ac_ct_DUMPBIN 4521 fi 4522fi 4523 4524 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4525 *COFF*) 4526 DUMPBIN="$DUMPBIN -symbols -headers" 4527 ;; 4528 *) 4529 DUMPBIN=: 4530 ;; 4531 esac 4532 fi 4533 4534 if test : != "$DUMPBIN"; then 4535 NM=$DUMPBIN 4536 fi 4537fi 4538test -z "$NM" && NM=nm 4539 4540 4541 4542 4543 4544 4545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4546$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4547if ${lt_cv_nm_interface+:} false; then : 4548 $as_echo_n "(cached) " >&6 4549else 4550 lt_cv_nm_interface="BSD nm" 4551 echo "int some_variable = 0;" > conftest.$ac_ext 4552 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4553 (eval "$ac_compile" 2>conftest.err) 4554 cat conftest.err >&5 4555 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4556 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4557 cat conftest.err >&5 4558 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4559 cat conftest.out >&5 4560 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4561 lt_cv_nm_interface="MS dumpbin" 4562 fi 4563 rm -f conftest* 4564fi 4565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4566$as_echo "$lt_cv_nm_interface" >&6; } 4567 4568# find the maximum length of command line arguments 4569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4570$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4571if ${lt_cv_sys_max_cmd_len+:} false; then : 4572 $as_echo_n "(cached) " >&6 4573else 4574 i=0 4575 teststring=ABCD 4576 4577 case $build_os in 4578 msdosdjgpp*) 4579 # On DJGPP, this test can blow up pretty badly due to problems in libc 4580 # (any single argument exceeding 2000 bytes causes a buffer overrun 4581 # during glob expansion). Even if it were fixed, the result of this 4582 # check would be larger than it should be. 4583 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4584 ;; 4585 4586 gnu*) 4587 # Under GNU Hurd, this test is not required because there is 4588 # no limit to the length of command line arguments. 4589 # Libtool will interpret -1 as no limit whatsoever 4590 lt_cv_sys_max_cmd_len=-1; 4591 ;; 4592 4593 cygwin* | mingw* | cegcc*) 4594 # On Win9x/ME, this test blows up -- it succeeds, but takes 4595 # about 5 minutes as the teststring grows exponentially. 4596 # Worse, since 9x/ME are not pre-emptively multitasking, 4597 # you end up with a "frozen" computer, even though with patience 4598 # the test eventually succeeds (with a max line length of 256k). 4599 # Instead, let's just punt: use the minimum linelength reported by 4600 # all of the supported platforms: 8192 (on NT/2K/XP). 4601 lt_cv_sys_max_cmd_len=8192; 4602 ;; 4603 4604 mint*) 4605 # On MiNT this can take a long time and run out of memory. 4606 lt_cv_sys_max_cmd_len=8192; 4607 ;; 4608 4609 amigaos*) 4610 # On AmigaOS with pdksh, this test takes hours, literally. 4611 # So we just punt and use a minimum line length of 8192. 4612 lt_cv_sys_max_cmd_len=8192; 4613 ;; 4614 4615 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4616 # This has been around since 386BSD, at least. Likely further. 4617 if test -x /sbin/sysctl; then 4618 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4619 elif test -x /usr/sbin/sysctl; then 4620 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4621 else 4622 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4623 fi 4624 # And add a safety zone 4625 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4626 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4627 ;; 4628 4629 interix*) 4630 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4631 lt_cv_sys_max_cmd_len=196608 4632 ;; 4633 4634 os2*) 4635 # The test takes a long time on OS/2. 4636 lt_cv_sys_max_cmd_len=8192 4637 ;; 4638 4639 osf*) 4640 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4641 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4642 # nice to cause kernel panics so lets avoid the loop below. 4643 # First set a reasonable default. 4644 lt_cv_sys_max_cmd_len=16384 4645 # 4646 if test -x /sbin/sysconfig; then 4647 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4648 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4649 esac 4650 fi 4651 ;; 4652 sco3.2v5*) 4653 lt_cv_sys_max_cmd_len=102400 4654 ;; 4655 sysv5* | sco5v6* | sysv4.2uw2*) 4656 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4657 if test -n "$kargmax"; then 4658 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4659 else 4660 lt_cv_sys_max_cmd_len=32768 4661 fi 4662 ;; 4663 *) 4664 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4665 if test -n "$lt_cv_sys_max_cmd_len" && \ 4666 test undefined != "$lt_cv_sys_max_cmd_len"; then 4667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4668 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4669 else 4670 # Make teststring a little bigger before we do anything with it. 4671 # a 1K string should be a reasonable start. 4672 for i in 1 2 3 4 5 6 7 8; do 4673 teststring=$teststring$teststring 4674 done 4675 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4676 # If test is not a shell built-in, we'll probably end up computing a 4677 # maximum length that is only half of the actual maximum length, but 4678 # we can't tell. 4679 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4680 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4681 test 17 != "$i" # 1/2 MB should be enough 4682 do 4683 i=`expr $i + 1` 4684 teststring=$teststring$teststring 4685 done 4686 # Only check the string length outside the loop. 4687 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4688 teststring= 4689 # Add a significant safety factor because C++ compilers can tack on 4690 # massive amounts of additional arguments before passing them to the 4691 # linker. It appears as though 1/2 is a usable value. 4692 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4693 fi 4694 ;; 4695 esac 4696 4697fi 4698 4699if test -n "$lt_cv_sys_max_cmd_len"; then 4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4701$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4702else 4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4704$as_echo "none" >&6; } 4705fi 4706max_cmd_len=$lt_cv_sys_max_cmd_len 4707 4708 4709 4710 4711 4712 4713: ${CP="cp -f"} 4714: ${MV="mv -f"} 4715: ${RM="rm -f"} 4716 4717if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4718 lt_unset=unset 4719else 4720 lt_unset=false 4721fi 4722 4723 4724 4725 4726 4727# test EBCDIC or ASCII 4728case `echo X|tr X '\101'` in 4729 A) # ASCII based system 4730 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4731 lt_SP2NL='tr \040 \012' 4732 lt_NL2SP='tr \015\012 \040\040' 4733 ;; 4734 *) # EBCDIC based system 4735 lt_SP2NL='tr \100 \n' 4736 lt_NL2SP='tr \r\n \100\100' 4737 ;; 4738esac 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4749$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4750if ${lt_cv_to_host_file_cmd+:} false; then : 4751 $as_echo_n "(cached) " >&6 4752else 4753 case $host in 4754 *-*-mingw* ) 4755 case $build in 4756 *-*-mingw* ) # actually msys 4757 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4758 ;; 4759 *-*-cygwin* ) 4760 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4761 ;; 4762 * ) # otherwise, assume *nix 4763 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4764 ;; 4765 esac 4766 ;; 4767 *-*-cygwin* ) 4768 case $build in 4769 *-*-mingw* ) # actually msys 4770 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4771 ;; 4772 *-*-cygwin* ) 4773 lt_cv_to_host_file_cmd=func_convert_file_noop 4774 ;; 4775 * ) # otherwise, assume *nix 4776 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4777 ;; 4778 esac 4779 ;; 4780 * ) # unhandled hosts (and "normal" native builds) 4781 lt_cv_to_host_file_cmd=func_convert_file_noop 4782 ;; 4783esac 4784 4785fi 4786 4787to_host_file_cmd=$lt_cv_to_host_file_cmd 4788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4789$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4790 4791 4792 4793 4794 4795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4796$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4797if ${lt_cv_to_tool_file_cmd+:} false; then : 4798 $as_echo_n "(cached) " >&6 4799else 4800 #assume ordinary cross tools, or native build. 4801lt_cv_to_tool_file_cmd=func_convert_file_noop 4802case $host in 4803 *-*-mingw* ) 4804 case $build in 4805 *-*-mingw* ) # actually msys 4806 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4807 ;; 4808 esac 4809 ;; 4810esac 4811 4812fi 4813 4814to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4816$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4817 4818 4819 4820 4821 4822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4823$as_echo_n "checking for $LD option to reload object files... " >&6; } 4824if ${lt_cv_ld_reload_flag+:} false; then : 4825 $as_echo_n "(cached) " >&6 4826else 4827 lt_cv_ld_reload_flag='-r' 4828fi 4829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4830$as_echo "$lt_cv_ld_reload_flag" >&6; } 4831reload_flag=$lt_cv_ld_reload_flag 4832case $reload_flag in 4833"" | " "*) ;; 4834*) reload_flag=" $reload_flag" ;; 4835esac 4836reload_cmds='$LD$reload_flag -o $output$reload_objs' 4837case $host_os in 4838 cygwin* | mingw* | pw32* | cegcc*) 4839 if test yes != "$GCC"; then 4840 reload_cmds=false 4841 fi 4842 ;; 4843 darwin*) 4844 if test yes = "$GCC"; then 4845 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 4846 else 4847 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4848 fi 4849 ;; 4850esac 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860if test -n "$ac_tool_prefix"; then 4861 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4862set dummy ${ac_tool_prefix}objdump; ac_word=$2 4863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4864$as_echo_n "checking for $ac_word... " >&6; } 4865if ${ac_cv_prog_OBJDUMP+:} false; then : 4866 $as_echo_n "(cached) " >&6 4867else 4868 if test -n "$OBJDUMP"; then 4869 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4870else 4871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4872for as_dir in $PATH 4873do 4874 IFS=$as_save_IFS 4875 test -z "$as_dir" && as_dir=. 4876 for ac_exec_ext in '' $ac_executable_extensions; do 4877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4878 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4880 break 2 4881 fi 4882done 4883 done 4884IFS=$as_save_IFS 4885 4886fi 4887fi 4888OBJDUMP=$ac_cv_prog_OBJDUMP 4889if test -n "$OBJDUMP"; then 4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4891$as_echo "$OBJDUMP" >&6; } 4892else 4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4894$as_echo "no" >&6; } 4895fi 4896 4897 4898fi 4899if test -z "$ac_cv_prog_OBJDUMP"; then 4900 ac_ct_OBJDUMP=$OBJDUMP 4901 # Extract the first word of "objdump", so it can be a program name with args. 4902set dummy objdump; ac_word=$2 4903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4904$as_echo_n "checking for $ac_word... " >&6; } 4905if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4906 $as_echo_n "(cached) " >&6 4907else 4908 if test -n "$ac_ct_OBJDUMP"; then 4909 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4910else 4911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4912for as_dir in $PATH 4913do 4914 IFS=$as_save_IFS 4915 test -z "$as_dir" && as_dir=. 4916 for ac_exec_ext in '' $ac_executable_extensions; do 4917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4918 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4920 break 2 4921 fi 4922done 4923 done 4924IFS=$as_save_IFS 4925 4926fi 4927fi 4928ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4929if test -n "$ac_ct_OBJDUMP"; then 4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4931$as_echo "$ac_ct_OBJDUMP" >&6; } 4932else 4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4934$as_echo "no" >&6; } 4935fi 4936 4937 if test "x$ac_ct_OBJDUMP" = x; then 4938 OBJDUMP="false" 4939 else 4940 case $cross_compiling:$ac_tool_warned in 4941yes:) 4942{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4943$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4944ac_tool_warned=yes ;; 4945esac 4946 OBJDUMP=$ac_ct_OBJDUMP 4947 fi 4948else 4949 OBJDUMP="$ac_cv_prog_OBJDUMP" 4950fi 4951 4952test -z "$OBJDUMP" && OBJDUMP=objdump 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4963$as_echo_n "checking how to recognize dependent libraries... " >&6; } 4964if ${lt_cv_deplibs_check_method+:} false; then : 4965 $as_echo_n "(cached) " >&6 4966else 4967 lt_cv_file_magic_cmd='$MAGIC_CMD' 4968lt_cv_file_magic_test_file= 4969lt_cv_deplibs_check_method='unknown' 4970# Need to set the preceding variable on all platforms that support 4971# interlibrary dependencies. 4972# 'none' -- dependencies not supported. 4973# 'unknown' -- same as none, but documents that we really don't know. 4974# 'pass_all' -- all dependencies passed with no checks. 4975# 'test_compile' -- check by making test program. 4976# 'file_magic [[regex]]' -- check by looking for files in library path 4977# that responds to the $file_magic_cmd with a given extended regex. 4978# If you have 'file' or equivalent on your system and you're not sure 4979# whether 'pass_all' will *always* work, you probably want this one. 4980 4981case $host_os in 4982aix[4-9]*) 4983 lt_cv_deplibs_check_method=pass_all 4984 ;; 4985 4986beos*) 4987 lt_cv_deplibs_check_method=pass_all 4988 ;; 4989 4990bsdi[45]*) 4991 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4992 lt_cv_file_magic_cmd='/usr/bin/file -L' 4993 lt_cv_file_magic_test_file=/shlib/libc.so 4994 ;; 4995 4996cygwin*) 4997 # func_win32_libid is a shell function defined in ltmain.sh 4998 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4999 lt_cv_file_magic_cmd='func_win32_libid' 5000 ;; 5001 5002mingw* | pw32*) 5003 # Base MSYS/MinGW do not provide the 'file' command needed by 5004 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5005 # unless we find 'file', for example because we are cross-compiling. 5006 if ( file / ) >/dev/null 2>&1; then 5007 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5008 lt_cv_file_magic_cmd='func_win32_libid' 5009 else 5010 # Keep this pattern in sync with the one in func_win32_libid. 5011 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5012 lt_cv_file_magic_cmd='$OBJDUMP -f' 5013 fi 5014 ;; 5015 5016cegcc*) 5017 # use the weaker test based on 'objdump'. See mingw*. 5018 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5019 lt_cv_file_magic_cmd='$OBJDUMP -f' 5020 ;; 5021 5022darwin* | rhapsody*) 5023 lt_cv_deplibs_check_method=pass_all 5024 ;; 5025 5026freebsd* | dragonfly*) 5027 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5028 case $host_cpu in 5029 i*86 ) 5030 # Not sure whether the presence of OpenBSD here was a mistake. 5031 # Let's accept both of them until this is cleared up. 5032 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5033 lt_cv_file_magic_cmd=/usr/bin/file 5034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5035 ;; 5036 esac 5037 else 5038 lt_cv_deplibs_check_method=pass_all 5039 fi 5040 ;; 5041 5042haiku*) 5043 lt_cv_deplibs_check_method=pass_all 5044 ;; 5045 5046hpux10.20* | hpux11*) 5047 lt_cv_file_magic_cmd=/usr/bin/file 5048 case $host_cpu in 5049 ia64*) 5050 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5051 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5052 ;; 5053 hppa*64*) 5054 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]' 5055 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5056 ;; 5057 *) 5058 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5059 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5060 ;; 5061 esac 5062 ;; 5063 5064interix[3-9]*) 5065 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5067 ;; 5068 5069irix5* | irix6* | nonstopux*) 5070 case $LD in 5071 *-32|*"-32 ") libmagic=32-bit;; 5072 *-n32|*"-n32 ") libmagic=N32;; 5073 *-64|*"-64 ") libmagic=64-bit;; 5074 *) libmagic=never-match;; 5075 esac 5076 lt_cv_deplibs_check_method=pass_all 5077 ;; 5078 5079# This must be glibc/ELF. 5080linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5081 lt_cv_deplibs_check_method=pass_all 5082 ;; 5083 5084netbsd*) 5085 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5086 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5087 else 5088 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5089 fi 5090 ;; 5091 5092newos6*) 5093 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5094 lt_cv_file_magic_cmd=/usr/bin/file 5095 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5096 ;; 5097 5098*nto* | *qnx*) 5099 lt_cv_deplibs_check_method=pass_all 5100 ;; 5101 5102openbsd* | bitrig*) 5103 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5104 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5105 else 5106 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5107 fi 5108 ;; 5109 5110osf3* | osf4* | osf5*) 5111 lt_cv_deplibs_check_method=pass_all 5112 ;; 5113 5114rdos*) 5115 lt_cv_deplibs_check_method=pass_all 5116 ;; 5117 5118solaris*) 5119 lt_cv_deplibs_check_method=pass_all 5120 ;; 5121 5122sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5123 lt_cv_deplibs_check_method=pass_all 5124 ;; 5125 5126sysv4 | sysv4.3*) 5127 case $host_vendor in 5128 motorola) 5129 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]' 5130 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5131 ;; 5132 ncr) 5133 lt_cv_deplibs_check_method=pass_all 5134 ;; 5135 sequent) 5136 lt_cv_file_magic_cmd='/bin/file' 5137 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5138 ;; 5139 sni) 5140 lt_cv_file_magic_cmd='/bin/file' 5141 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5142 lt_cv_file_magic_test_file=/lib/libc.so 5143 ;; 5144 siemens) 5145 lt_cv_deplibs_check_method=pass_all 5146 ;; 5147 pc) 5148 lt_cv_deplibs_check_method=pass_all 5149 ;; 5150 esac 5151 ;; 5152 5153tpf*) 5154 lt_cv_deplibs_check_method=pass_all 5155 ;; 5156os2*) 5157 lt_cv_deplibs_check_method=pass_all 5158 ;; 5159esac 5160 5161fi 5162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5163$as_echo "$lt_cv_deplibs_check_method" >&6; } 5164 5165file_magic_glob= 5166want_nocaseglob=no 5167if test "$build" = "$host"; then 5168 case $host_os in 5169 mingw* | pw32*) 5170 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5171 want_nocaseglob=yes 5172 else 5173 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5174 fi 5175 ;; 5176 esac 5177fi 5178 5179file_magic_cmd=$lt_cv_file_magic_cmd 5180deplibs_check_method=$lt_cv_deplibs_check_method 5181test -z "$deplibs_check_method" && deplibs_check_method=unknown 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204if test -n "$ac_tool_prefix"; then 5205 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5206set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5208$as_echo_n "checking for $ac_word... " >&6; } 5209if ${ac_cv_prog_DLLTOOL+:} false; then : 5210 $as_echo_n "(cached) " >&6 5211else 5212 if test -n "$DLLTOOL"; then 5213 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5214else 5215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5216for as_dir in $PATH 5217do 5218 IFS=$as_save_IFS 5219 test -z "$as_dir" && as_dir=. 5220 for ac_exec_ext in '' $ac_executable_extensions; do 5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5222 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5224 break 2 5225 fi 5226done 5227 done 5228IFS=$as_save_IFS 5229 5230fi 5231fi 5232DLLTOOL=$ac_cv_prog_DLLTOOL 5233if test -n "$DLLTOOL"; then 5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5235$as_echo "$DLLTOOL" >&6; } 5236else 5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5238$as_echo "no" >&6; } 5239fi 5240 5241 5242fi 5243if test -z "$ac_cv_prog_DLLTOOL"; then 5244 ac_ct_DLLTOOL=$DLLTOOL 5245 # Extract the first word of "dlltool", so it can be a program name with args. 5246set dummy dlltool; ac_word=$2 5247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5248$as_echo_n "checking for $ac_word... " >&6; } 5249if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5250 $as_echo_n "(cached) " >&6 5251else 5252 if test -n "$ac_ct_DLLTOOL"; then 5253 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5254else 5255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5256for as_dir in $PATH 5257do 5258 IFS=$as_save_IFS 5259 test -z "$as_dir" && as_dir=. 5260 for ac_exec_ext in '' $ac_executable_extensions; do 5261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5262 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5264 break 2 5265 fi 5266done 5267 done 5268IFS=$as_save_IFS 5269 5270fi 5271fi 5272ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5273if test -n "$ac_ct_DLLTOOL"; then 5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5275$as_echo "$ac_ct_DLLTOOL" >&6; } 5276else 5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5278$as_echo "no" >&6; } 5279fi 5280 5281 if test "x$ac_ct_DLLTOOL" = x; then 5282 DLLTOOL="false" 5283 else 5284 case $cross_compiling:$ac_tool_warned in 5285yes:) 5286{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5287$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5288ac_tool_warned=yes ;; 5289esac 5290 DLLTOOL=$ac_ct_DLLTOOL 5291 fi 5292else 5293 DLLTOOL="$ac_cv_prog_DLLTOOL" 5294fi 5295 5296test -z "$DLLTOOL" && DLLTOOL=dlltool 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5308$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5309if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5310 $as_echo_n "(cached) " >&6 5311else 5312 lt_cv_sharedlib_from_linklib_cmd='unknown' 5313 5314case $host_os in 5315cygwin* | mingw* | pw32* | cegcc*) 5316 # two different shell functions defined in ltmain.sh; 5317 # decide which one to use based on capabilities of $DLLTOOL 5318 case `$DLLTOOL --help 2>&1` in 5319 *--identify-strict*) 5320 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5321 ;; 5322 *) 5323 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5324 ;; 5325 esac 5326 ;; 5327*) 5328 # fallback: assume linklib IS sharedlib 5329 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5330 ;; 5331esac 5332 5333fi 5334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5335$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5336sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5337test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5338 5339 5340 5341 5342 5343 5344 5345 5346if test -n "$ac_tool_prefix"; then 5347 for ac_prog in ar 5348 do 5349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5350set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5352$as_echo_n "checking for $ac_word... " >&6; } 5353if ${ac_cv_prog_AR+:} false; then : 5354 $as_echo_n "(cached) " >&6 5355else 5356 if test -n "$AR"; then 5357 ac_cv_prog_AR="$AR" # Let the user override the test. 5358else 5359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5360for as_dir in $PATH 5361do 5362 IFS=$as_save_IFS 5363 test -z "$as_dir" && as_dir=. 5364 for ac_exec_ext in '' $ac_executable_extensions; do 5365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5366 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5368 break 2 5369 fi 5370done 5371 done 5372IFS=$as_save_IFS 5373 5374fi 5375fi 5376AR=$ac_cv_prog_AR 5377if test -n "$AR"; then 5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5379$as_echo "$AR" >&6; } 5380else 5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5382$as_echo "no" >&6; } 5383fi 5384 5385 5386 test -n "$AR" && break 5387 done 5388fi 5389if test -z "$AR"; then 5390 ac_ct_AR=$AR 5391 for ac_prog in ar 5392do 5393 # Extract the first word of "$ac_prog", so it can be a program name with args. 5394set dummy $ac_prog; ac_word=$2 5395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5396$as_echo_n "checking for $ac_word... " >&6; } 5397if ${ac_cv_prog_ac_ct_AR+:} false; then : 5398 $as_echo_n "(cached) " >&6 5399else 5400 if test -n "$ac_ct_AR"; then 5401 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5402else 5403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5404for as_dir in $PATH 5405do 5406 IFS=$as_save_IFS 5407 test -z "$as_dir" && as_dir=. 5408 for ac_exec_ext in '' $ac_executable_extensions; do 5409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5410 ac_cv_prog_ac_ct_AR="$ac_prog" 5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5412 break 2 5413 fi 5414done 5415 done 5416IFS=$as_save_IFS 5417 5418fi 5419fi 5420ac_ct_AR=$ac_cv_prog_ac_ct_AR 5421if test -n "$ac_ct_AR"; then 5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5423$as_echo "$ac_ct_AR" >&6; } 5424else 5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5426$as_echo "no" >&6; } 5427fi 5428 5429 5430 test -n "$ac_ct_AR" && break 5431done 5432 5433 if test "x$ac_ct_AR" = x; then 5434 AR="false" 5435 else 5436 case $cross_compiling:$ac_tool_warned in 5437yes:) 5438{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5439$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5440ac_tool_warned=yes ;; 5441esac 5442 AR=$ac_ct_AR 5443 fi 5444fi 5445 5446: ${AR=ar} 5447: ${AR_FLAGS=cru} 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5460$as_echo_n "checking for archiver @FILE support... " >&6; } 5461if ${lt_cv_ar_at_file+:} false; then : 5462 $as_echo_n "(cached) " >&6 5463else 5464 lt_cv_ar_at_file=no 5465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5466/* end confdefs.h. */ 5467 5468int 5469main () 5470{ 5471 5472 ; 5473 return 0; 5474} 5475_ACEOF 5476if ac_fn_c_try_compile "$LINENO"; then : 5477 echo conftest.$ac_objext > conftest.lst 5478 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5479 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5480 (eval $lt_ar_try) 2>&5 5481 ac_status=$? 5482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5483 test $ac_status = 0; } 5484 if test 0 -eq "$ac_status"; then 5485 # Ensure the archiver fails upon bogus file names. 5486 rm -f conftest.$ac_objext libconftest.a 5487 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5488 (eval $lt_ar_try) 2>&5 5489 ac_status=$? 5490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5491 test $ac_status = 0; } 5492 if test 0 -ne "$ac_status"; then 5493 lt_cv_ar_at_file=@ 5494 fi 5495 fi 5496 rm -f conftest.* libconftest.a 5497 5498fi 5499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5500 5501fi 5502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5503$as_echo "$lt_cv_ar_at_file" >&6; } 5504 5505if test no = "$lt_cv_ar_at_file"; then 5506 archiver_list_spec= 5507else 5508 archiver_list_spec=$lt_cv_ar_at_file 5509fi 5510 5511 5512 5513 5514 5515 5516 5517if test -n "$ac_tool_prefix"; then 5518 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5519set dummy ${ac_tool_prefix}strip; ac_word=$2 5520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5521$as_echo_n "checking for $ac_word... " >&6; } 5522if ${ac_cv_prog_STRIP+:} false; then : 5523 $as_echo_n "(cached) " >&6 5524else 5525 if test -n "$STRIP"; then 5526 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5527else 5528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5529for as_dir in $PATH 5530do 5531 IFS=$as_save_IFS 5532 test -z "$as_dir" && as_dir=. 5533 for ac_exec_ext in '' $ac_executable_extensions; do 5534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5535 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5537 break 2 5538 fi 5539done 5540 done 5541IFS=$as_save_IFS 5542 5543fi 5544fi 5545STRIP=$ac_cv_prog_STRIP 5546if test -n "$STRIP"; then 5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5548$as_echo "$STRIP" >&6; } 5549else 5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5551$as_echo "no" >&6; } 5552fi 5553 5554 5555fi 5556if test -z "$ac_cv_prog_STRIP"; then 5557 ac_ct_STRIP=$STRIP 5558 # Extract the first word of "strip", so it can be a program name with args. 5559set dummy strip; ac_word=$2 5560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5561$as_echo_n "checking for $ac_word... " >&6; } 5562if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5563 $as_echo_n "(cached) " >&6 5564else 5565 if test -n "$ac_ct_STRIP"; then 5566 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5567else 5568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5569for as_dir in $PATH 5570do 5571 IFS=$as_save_IFS 5572 test -z "$as_dir" && as_dir=. 5573 for ac_exec_ext in '' $ac_executable_extensions; do 5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5575 ac_cv_prog_ac_ct_STRIP="strip" 5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5577 break 2 5578 fi 5579done 5580 done 5581IFS=$as_save_IFS 5582 5583fi 5584fi 5585ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5586if test -n "$ac_ct_STRIP"; then 5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5588$as_echo "$ac_ct_STRIP" >&6; } 5589else 5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5591$as_echo "no" >&6; } 5592fi 5593 5594 if test "x$ac_ct_STRIP" = x; then 5595 STRIP=":" 5596 else 5597 case $cross_compiling:$ac_tool_warned in 5598yes:) 5599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5601ac_tool_warned=yes ;; 5602esac 5603 STRIP=$ac_ct_STRIP 5604 fi 5605else 5606 STRIP="$ac_cv_prog_STRIP" 5607fi 5608 5609test -z "$STRIP" && STRIP=: 5610 5611 5612 5613 5614 5615 5616if test -n "$ac_tool_prefix"; then 5617 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5618set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5620$as_echo_n "checking for $ac_word... " >&6; } 5621if ${ac_cv_prog_RANLIB+:} false; then : 5622 $as_echo_n "(cached) " >&6 5623else 5624 if test -n "$RANLIB"; then 5625 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5626else 5627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5628for as_dir in $PATH 5629do 5630 IFS=$as_save_IFS 5631 test -z "$as_dir" && as_dir=. 5632 for ac_exec_ext in '' $ac_executable_extensions; do 5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5634 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5636 break 2 5637 fi 5638done 5639 done 5640IFS=$as_save_IFS 5641 5642fi 5643fi 5644RANLIB=$ac_cv_prog_RANLIB 5645if test -n "$RANLIB"; then 5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5647$as_echo "$RANLIB" >&6; } 5648else 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5650$as_echo "no" >&6; } 5651fi 5652 5653 5654fi 5655if test -z "$ac_cv_prog_RANLIB"; then 5656 ac_ct_RANLIB=$RANLIB 5657 # Extract the first word of "ranlib", so it can be a program name with args. 5658set dummy ranlib; ac_word=$2 5659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5660$as_echo_n "checking for $ac_word... " >&6; } 5661if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5662 $as_echo_n "(cached) " >&6 5663else 5664 if test -n "$ac_ct_RANLIB"; then 5665 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5666else 5667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5668for as_dir in $PATH 5669do 5670 IFS=$as_save_IFS 5671 test -z "$as_dir" && as_dir=. 5672 for ac_exec_ext in '' $ac_executable_extensions; do 5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5674 ac_cv_prog_ac_ct_RANLIB="ranlib" 5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5676 break 2 5677 fi 5678done 5679 done 5680IFS=$as_save_IFS 5681 5682fi 5683fi 5684ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5685if test -n "$ac_ct_RANLIB"; then 5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5687$as_echo "$ac_ct_RANLIB" >&6; } 5688else 5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5690$as_echo "no" >&6; } 5691fi 5692 5693 if test "x$ac_ct_RANLIB" = x; then 5694 RANLIB=":" 5695 else 5696 case $cross_compiling:$ac_tool_warned in 5697yes:) 5698{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5699$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5700ac_tool_warned=yes ;; 5701esac 5702 RANLIB=$ac_ct_RANLIB 5703 fi 5704else 5705 RANLIB="$ac_cv_prog_RANLIB" 5706fi 5707 5708test -z "$RANLIB" && RANLIB=: 5709 5710 5711 5712 5713 5714 5715# Determine commands to create old-style static archives. 5716old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5717old_postinstall_cmds='chmod 644 $oldlib' 5718old_postuninstall_cmds= 5719 5720if test -n "$RANLIB"; then 5721 case $host_os in 5722 bitrig* | openbsd*) 5723 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5724 ;; 5725 *) 5726 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5727 ;; 5728 esac 5729 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5730fi 5731 5732case $host_os in 5733 darwin*) 5734 lock_old_archive_extraction=yes ;; 5735 *) 5736 lock_old_archive_extraction=no ;; 5737esac 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777# If no C compiler was specified, use CC. 5778LTCC=${LTCC-"$CC"} 5779 5780# If no C compiler flags were specified, use CFLAGS. 5781LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5782 5783# Allow CC to be a program name with arguments. 5784compiler=$CC 5785 5786 5787# Check for command to grab the raw symbol name followed by C symbol from nm. 5788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5789$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5790if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5791 $as_echo_n "(cached) " >&6 5792else 5793 5794# These are sane defaults that work on at least a few old systems. 5795# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5796 5797# Character class describing NM global symbol codes. 5798symcode='[BCDEGRST]' 5799 5800# Regexp to match symbols that can be accessed directly from C. 5801sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5802 5803# Define system-specific variables. 5804case $host_os in 5805aix*) 5806 symcode='[BCDT]' 5807 ;; 5808cygwin* | mingw* | pw32* | cegcc*) 5809 symcode='[ABCDGISTW]' 5810 ;; 5811hpux*) 5812 if test ia64 = "$host_cpu"; then 5813 symcode='[ABCDEGRST]' 5814 fi 5815 ;; 5816irix* | nonstopux*) 5817 symcode='[BCDEGRST]' 5818 ;; 5819osf*) 5820 symcode='[BCDEGQRST]' 5821 ;; 5822solaris*) 5823 symcode='[BDRT]' 5824 ;; 5825sco3.2v5*) 5826 symcode='[DT]' 5827 ;; 5828sysv4.2uw2*) 5829 symcode='[DT]' 5830 ;; 5831sysv5* | sco5v6* | unixware* | OpenUNIX*) 5832 symcode='[ABDT]' 5833 ;; 5834sysv4) 5835 symcode='[DFNSTU]' 5836 ;; 5837esac 5838 5839# If we're using GNU nm, then use its standard symbol codes. 5840case `$NM -V 2>&1` in 5841*GNU* | *'with BFD'*) 5842 symcode='[ABCDGIRSTW]' ;; 5843esac 5844 5845if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5846 # Gets list of data symbols to import. 5847 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 5848 # Adjust the below global symbol transforms to fixup imported variables. 5849 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 5850 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 5851 lt_c_name_lib_hook="\ 5852 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 5853 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 5854else 5855 # Disable hooks by default. 5856 lt_cv_sys_global_symbol_to_import= 5857 lt_cdecl_hook= 5858 lt_c_name_hook= 5859 lt_c_name_lib_hook= 5860fi 5861 5862# Transform an extracted symbol line into a proper C declaration. 5863# Some systems (esp. on ia64) link data and code symbols differently, 5864# so use this general approach. 5865lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 5866$lt_cdecl_hook\ 5867" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 5868" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 5869 5870# Transform an extracted symbol line into symbol name and symbol address 5871lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 5872$lt_c_name_hook\ 5873" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 5874" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 5875 5876# Transform an extracted symbol line into symbol name with lib prefix and 5877# symbol address. 5878lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 5879$lt_c_name_lib_hook\ 5880" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 5881" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 5882" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 5883 5884# Handle CRLF in mingw tool chain 5885opt_cr= 5886case $build_os in 5887mingw*) 5888 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5889 ;; 5890esac 5891 5892# Try without a prefix underscore, then with it. 5893for ac_symprfx in "" "_"; do 5894 5895 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5896 symxfrm="\\1 $ac_symprfx\\2 \\2" 5897 5898 # Write the raw and C identifiers. 5899 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5900 # Fake it for dumpbin and say T for any non-static function, 5901 # D for any global variable and I for any imported variable. 5902 # Also find C++ and __fastcall symbols from MSVC++, 5903 # which start with @ or ?. 5904 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5905" {last_section=section; section=\$ 3};"\ 5906" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 5907" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5908" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 5909" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 5910" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 5911" \$ 0!~/External *\|/{next};"\ 5912" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5913" {if(hide[section]) next};"\ 5914" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 5915" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 5916" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 5917" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 5918" ' prfx=^$ac_symprfx" 5919 else 5920 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5921 fi 5922 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 5923 5924 # Check to see that the pipe works correctly. 5925 pipe_works=no 5926 5927 rm -f conftest* 5928 cat > conftest.$ac_ext <<_LT_EOF 5929#ifdef __cplusplus 5930extern "C" { 5931#endif 5932char nm_test_var; 5933void nm_test_func(void); 5934void nm_test_func(void){} 5935#ifdef __cplusplus 5936} 5937#endif 5938int main(){nm_test_var='a';nm_test_func();return(0);} 5939_LT_EOF 5940 5941 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5942 (eval $ac_compile) 2>&5 5943 ac_status=$? 5944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5945 test $ac_status = 0; }; then 5946 # Now try to grab the symbols. 5947 nlist=conftest.nm 5948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 5949 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 5950 ac_status=$? 5951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5952 test $ac_status = 0; } && test -s "$nlist"; then 5953 # Try sorting and uniquifying the output. 5954 if sort "$nlist" | uniq > "$nlist"T; then 5955 mv -f "$nlist"T "$nlist" 5956 else 5957 rm -f "$nlist"T 5958 fi 5959 5960 # Make sure that we snagged all the symbols we need. 5961 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5962 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5963 cat <<_LT_EOF > conftest.$ac_ext 5964/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 5965#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 5966/* DATA imports from DLLs on WIN32 can't be const, because runtime 5967 relocations are performed -- see ld's documentation on pseudo-relocs. */ 5968# define LT_DLSYM_CONST 5969#elif defined __osf__ 5970/* This system does not cope well with relocations in const data. */ 5971# define LT_DLSYM_CONST 5972#else 5973# define LT_DLSYM_CONST const 5974#endif 5975 5976#ifdef __cplusplus 5977extern "C" { 5978#endif 5979 5980_LT_EOF 5981 # Now generate the symbol file. 5982 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5983 5984 cat <<_LT_EOF >> conftest.$ac_ext 5985 5986/* The mapping between symbol names and symbols. */ 5987LT_DLSYM_CONST struct { 5988 const char *name; 5989 void *address; 5990} 5991lt__PROGRAM__LTX_preloaded_symbols[] = 5992{ 5993 { "@PROGRAM@", (void *) 0 }, 5994_LT_EOF 5995 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5996 cat <<\_LT_EOF >> conftest.$ac_ext 5997 {0, (void *) 0} 5998}; 5999 6000/* This works around a problem in FreeBSD linker */ 6001#ifdef FREEBSD_WORKAROUND 6002static const void *lt_preloaded_setup() { 6003 return lt__PROGRAM__LTX_preloaded_symbols; 6004} 6005#endif 6006 6007#ifdef __cplusplus 6008} 6009#endif 6010_LT_EOF 6011 # Now try linking the two files. 6012 mv conftest.$ac_objext conftstm.$ac_objext 6013 lt_globsym_save_LIBS=$LIBS 6014 lt_globsym_save_CFLAGS=$CFLAGS 6015 LIBS=conftstm.$ac_objext 6016 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6018 (eval $ac_link) 2>&5 6019 ac_status=$? 6020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6021 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6022 pipe_works=yes 6023 fi 6024 LIBS=$lt_globsym_save_LIBS 6025 CFLAGS=$lt_globsym_save_CFLAGS 6026 else 6027 echo "cannot find nm_test_func in $nlist" >&5 6028 fi 6029 else 6030 echo "cannot find nm_test_var in $nlist" >&5 6031 fi 6032 else 6033 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6034 fi 6035 else 6036 echo "$progname: failed program was:" >&5 6037 cat conftest.$ac_ext >&5 6038 fi 6039 rm -rf conftest* conftst* 6040 6041 # Do not use the global_symbol_pipe unless it works. 6042 if test yes = "$pipe_works"; then 6043 break 6044 else 6045 lt_cv_sys_global_symbol_pipe= 6046 fi 6047done 6048 6049fi 6050 6051if test -z "$lt_cv_sys_global_symbol_pipe"; then 6052 lt_cv_sys_global_symbol_to_cdecl= 6053fi 6054if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6056$as_echo "failed" >&6; } 6057else 6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6059$as_echo "ok" >&6; } 6060fi 6061 6062# Response file support. 6063if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6064 nm_file_list_spec='@' 6065elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6066 nm_file_list_spec='@' 6067fi 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6106$as_echo_n "checking for sysroot... " >&6; } 6107 6108# Check whether --with-sysroot was given. 6109if test "${with_sysroot+set}" = set; then : 6110 withval=$with_sysroot; 6111else 6112 with_sysroot=no 6113fi 6114 6115 6116lt_sysroot= 6117case $with_sysroot in #( 6118 yes) 6119 if test yes = "$GCC"; then 6120 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6121 fi 6122 ;; #( 6123 /*) 6124 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6125 ;; #( 6126 no|'') 6127 ;; #( 6128 *) 6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6130$as_echo "$with_sysroot" >&6; } 6131 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6132 ;; 6133esac 6134 6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6136$as_echo "${lt_sysroot:-no}" >&6; } 6137 6138 6139 6140 6141 6142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6143$as_echo_n "checking for a working dd... " >&6; } 6144if ${ac_cv_path_lt_DD+:} false; then : 6145 $as_echo_n "(cached) " >&6 6146else 6147 printf 0123456789abcdef0123456789abcdef >conftest.i 6148cat conftest.i conftest.i >conftest2.i 6149: ${lt_DD:=$DD} 6150if test -z "$lt_DD"; then 6151 ac_path_lt_DD_found=false 6152 # Loop through the user's path and test for each of PROGNAME-LIST 6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6154for as_dir in $PATH 6155do 6156 IFS=$as_save_IFS 6157 test -z "$as_dir" && as_dir=. 6158 for ac_prog in dd; do 6159 for ac_exec_ext in '' $ac_executable_extensions; do 6160 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6161 as_fn_executable_p "$ac_path_lt_DD" || continue 6162if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6163 cmp -s conftest.i conftest.out \ 6164 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6165fi 6166 $ac_path_lt_DD_found && break 3 6167 done 6168 done 6169 done 6170IFS=$as_save_IFS 6171 if test -z "$ac_cv_path_lt_DD"; then 6172 : 6173 fi 6174else 6175 ac_cv_path_lt_DD=$lt_DD 6176fi 6177 6178rm -f conftest.i conftest2.i conftest.out 6179fi 6180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6181$as_echo "$ac_cv_path_lt_DD" >&6; } 6182 6183 6184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6185$as_echo_n "checking how to truncate binary pipes... " >&6; } 6186if ${lt_cv_truncate_bin+:} false; then : 6187 $as_echo_n "(cached) " >&6 6188else 6189 printf 0123456789abcdef0123456789abcdef >conftest.i 6190cat conftest.i conftest.i >conftest2.i 6191lt_cv_truncate_bin= 6192if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6193 cmp -s conftest.i conftest.out \ 6194 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6195fi 6196rm -f conftest.i conftest2.i conftest.out 6197test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6198fi 6199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6200$as_echo "$lt_cv_truncate_bin" >&6; } 6201 6202 6203 6204 6205 6206 6207 6208# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6209func_cc_basename () 6210{ 6211 for cc_temp in $*""; do 6212 case $cc_temp in 6213 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6214 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6215 \-*) ;; 6216 *) break;; 6217 esac 6218 done 6219 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6220} 6221 6222# Check whether --enable-libtool-lock was given. 6223if test "${enable_libtool_lock+set}" = set; then : 6224 enableval=$enable_libtool_lock; 6225fi 6226 6227test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6228 6229# Some flags need to be propagated to the compiler or linker for good 6230# libtool support. 6231case $host in 6232ia64-*-hpux*) 6233 # Find out what ABI is being produced by ac_compile, and set mode 6234 # options accordingly. 6235 echo 'int i;' > conftest.$ac_ext 6236 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6237 (eval $ac_compile) 2>&5 6238 ac_status=$? 6239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6240 test $ac_status = 0; }; then 6241 case `/usr/bin/file conftest.$ac_objext` in 6242 *ELF-32*) 6243 HPUX_IA64_MODE=32 6244 ;; 6245 *ELF-64*) 6246 HPUX_IA64_MODE=64 6247 ;; 6248 esac 6249 fi 6250 rm -rf conftest* 6251 ;; 6252*-*-irix6*) 6253 # Find out what ABI is being produced by ac_compile, and set linker 6254 # options accordingly. 6255 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6257 (eval $ac_compile) 2>&5 6258 ac_status=$? 6259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6260 test $ac_status = 0; }; then 6261 if test yes = "$lt_cv_prog_gnu_ld"; then 6262 case `/usr/bin/file conftest.$ac_objext` in 6263 *32-bit*) 6264 LD="${LD-ld} -melf32bsmip" 6265 ;; 6266 *N32*) 6267 LD="${LD-ld} -melf32bmipn32" 6268 ;; 6269 *64-bit*) 6270 LD="${LD-ld} -melf64bmip" 6271 ;; 6272 esac 6273 else 6274 case `/usr/bin/file conftest.$ac_objext` in 6275 *32-bit*) 6276 LD="${LD-ld} -32" 6277 ;; 6278 *N32*) 6279 LD="${LD-ld} -n32" 6280 ;; 6281 *64-bit*) 6282 LD="${LD-ld} -64" 6283 ;; 6284 esac 6285 fi 6286 fi 6287 rm -rf conftest* 6288 ;; 6289 6290mips64*-*linux*) 6291 # Find out what ABI is being produced by ac_compile, and set linker 6292 # options accordingly. 6293 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6295 (eval $ac_compile) 2>&5 6296 ac_status=$? 6297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6298 test $ac_status = 0; }; then 6299 emul=elf 6300 case `/usr/bin/file conftest.$ac_objext` in 6301 *32-bit*) 6302 emul="${emul}32" 6303 ;; 6304 *64-bit*) 6305 emul="${emul}64" 6306 ;; 6307 esac 6308 case `/usr/bin/file conftest.$ac_objext` in 6309 *MSB*) 6310 emul="${emul}btsmip" 6311 ;; 6312 *LSB*) 6313 emul="${emul}ltsmip" 6314 ;; 6315 esac 6316 case `/usr/bin/file conftest.$ac_objext` in 6317 *N32*) 6318 emul="${emul}n32" 6319 ;; 6320 esac 6321 LD="${LD-ld} -m $emul" 6322 fi 6323 rm -rf conftest* 6324 ;; 6325 6326x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6327s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6328 # Find out what ABI is being produced by ac_compile, and set linker 6329 # options accordingly. Note that the listed cases only cover the 6330 # situations where additional linker options are needed (such as when 6331 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6332 # vice versa); the common cases where no linker options are needed do 6333 # not appear in the list. 6334 echo 'int i;' > conftest.$ac_ext 6335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6336 (eval $ac_compile) 2>&5 6337 ac_status=$? 6338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6339 test $ac_status = 0; }; then 6340 case `/usr/bin/file conftest.o` in 6341 *32-bit*) 6342 case $host in 6343 x86_64-*kfreebsd*-gnu) 6344 LD="${LD-ld} -m elf_i386_fbsd" 6345 ;; 6346 x86_64-*linux*) 6347 case `/usr/bin/file conftest.o` in 6348 *x86-64*) 6349 LD="${LD-ld} -m elf32_x86_64" 6350 ;; 6351 *) 6352 LD="${LD-ld} -m elf_i386" 6353 ;; 6354 esac 6355 ;; 6356 powerpc64le-*linux*) 6357 LD="${LD-ld} -m elf32lppclinux" 6358 ;; 6359 powerpc64-*linux*) 6360 LD="${LD-ld} -m elf32ppclinux" 6361 ;; 6362 s390x-*linux*) 6363 LD="${LD-ld} -m elf_s390" 6364 ;; 6365 sparc64-*linux*) 6366 LD="${LD-ld} -m elf32_sparc" 6367 ;; 6368 esac 6369 ;; 6370 *64-bit*) 6371 case $host in 6372 x86_64-*kfreebsd*-gnu) 6373 LD="${LD-ld} -m elf_x86_64_fbsd" 6374 ;; 6375 x86_64-*linux*) 6376 LD="${LD-ld} -m elf_x86_64" 6377 ;; 6378 powerpcle-*linux*) 6379 LD="${LD-ld} -m elf64lppc" 6380 ;; 6381 powerpc-*linux*) 6382 LD="${LD-ld} -m elf64ppc" 6383 ;; 6384 s390*-*linux*|s390*-*tpf*) 6385 LD="${LD-ld} -m elf64_s390" 6386 ;; 6387 sparc*-*linux*) 6388 LD="${LD-ld} -m elf64_sparc" 6389 ;; 6390 esac 6391 ;; 6392 esac 6393 fi 6394 rm -rf conftest* 6395 ;; 6396 6397*-*-sco3.2v5*) 6398 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6399 SAVE_CFLAGS=$CFLAGS 6400 CFLAGS="$CFLAGS -belf" 6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6402$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6403if ${lt_cv_cc_needs_belf+:} false; then : 6404 $as_echo_n "(cached) " >&6 6405else 6406 ac_ext=c 6407ac_cpp='$CPP $CPPFLAGS' 6408ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6409ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6410ac_compiler_gnu=$ac_cv_c_compiler_gnu 6411 6412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6413/* end confdefs.h. */ 6414 6415int 6416main () 6417{ 6418 6419 ; 6420 return 0; 6421} 6422_ACEOF 6423if ac_fn_c_try_link "$LINENO"; then : 6424 lt_cv_cc_needs_belf=yes 6425else 6426 lt_cv_cc_needs_belf=no 6427fi 6428rm -f core conftest.err conftest.$ac_objext \ 6429 conftest$ac_exeext conftest.$ac_ext 6430 ac_ext=c 6431ac_cpp='$CPP $CPPFLAGS' 6432ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6433ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6434ac_compiler_gnu=$ac_cv_c_compiler_gnu 6435 6436fi 6437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6438$as_echo "$lt_cv_cc_needs_belf" >&6; } 6439 if test yes != "$lt_cv_cc_needs_belf"; then 6440 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6441 CFLAGS=$SAVE_CFLAGS 6442 fi 6443 ;; 6444*-*solaris*) 6445 # Find out what ABI is being produced by ac_compile, and set linker 6446 # options accordingly. 6447 echo 'int i;' > conftest.$ac_ext 6448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6449 (eval $ac_compile) 2>&5 6450 ac_status=$? 6451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6452 test $ac_status = 0; }; then 6453 case `/usr/bin/file conftest.o` in 6454 *64-bit*) 6455 case $lt_cv_prog_gnu_ld in 6456 yes*) 6457 case $host in 6458 i?86-*-solaris*|x86_64-*-solaris*) 6459 LD="${LD-ld} -m elf_x86_64" 6460 ;; 6461 sparc*-*-solaris*) 6462 LD="${LD-ld} -m elf64_sparc" 6463 ;; 6464 esac 6465 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6466 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6467 LD=${LD-ld}_sol2 6468 fi 6469 ;; 6470 *) 6471 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6472 LD="${LD-ld} -64" 6473 fi 6474 ;; 6475 esac 6476 ;; 6477 esac 6478 fi 6479 rm -rf conftest* 6480 ;; 6481esac 6482 6483need_locks=$enable_libtool_lock 6484 6485if test -n "$ac_tool_prefix"; then 6486 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6487set dummy ${ac_tool_prefix}mt; ac_word=$2 6488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6489$as_echo_n "checking for $ac_word... " >&6; } 6490if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6491 $as_echo_n "(cached) " >&6 6492else 6493 if test -n "$MANIFEST_TOOL"; then 6494 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6495else 6496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6497for as_dir in $PATH 6498do 6499 IFS=$as_save_IFS 6500 test -z "$as_dir" && as_dir=. 6501 for ac_exec_ext in '' $ac_executable_extensions; do 6502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6503 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6505 break 2 6506 fi 6507done 6508 done 6509IFS=$as_save_IFS 6510 6511fi 6512fi 6513MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6514if test -n "$MANIFEST_TOOL"; then 6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6516$as_echo "$MANIFEST_TOOL" >&6; } 6517else 6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6519$as_echo "no" >&6; } 6520fi 6521 6522 6523fi 6524if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6525 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6526 # Extract the first word of "mt", so it can be a program name with args. 6527set dummy mt; ac_word=$2 6528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6529$as_echo_n "checking for $ac_word... " >&6; } 6530if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6531 $as_echo_n "(cached) " >&6 6532else 6533 if test -n "$ac_ct_MANIFEST_TOOL"; then 6534 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6535else 6536as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6537for as_dir in $PATH 6538do 6539 IFS=$as_save_IFS 6540 test -z "$as_dir" && as_dir=. 6541 for ac_exec_ext in '' $ac_executable_extensions; do 6542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6543 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6545 break 2 6546 fi 6547done 6548 done 6549IFS=$as_save_IFS 6550 6551fi 6552fi 6553ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6554if test -n "$ac_ct_MANIFEST_TOOL"; then 6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6556$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6557else 6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6559$as_echo "no" >&6; } 6560fi 6561 6562 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6563 MANIFEST_TOOL=":" 6564 else 6565 case $cross_compiling:$ac_tool_warned in 6566yes:) 6567{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6568$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6569ac_tool_warned=yes ;; 6570esac 6571 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6572 fi 6573else 6574 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6575fi 6576 6577test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6579$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6580if ${lt_cv_path_mainfest_tool+:} false; then : 6581 $as_echo_n "(cached) " >&6 6582else 6583 lt_cv_path_mainfest_tool=no 6584 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6585 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6586 cat conftest.err >&5 6587 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6588 lt_cv_path_mainfest_tool=yes 6589 fi 6590 rm -f conftest* 6591fi 6592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6593$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6594if test yes != "$lt_cv_path_mainfest_tool"; then 6595 MANIFEST_TOOL=: 6596fi 6597 6598 6599 6600 6601 6602 6603 case $host_os in 6604 rhapsody* | darwin*) 6605 if test -n "$ac_tool_prefix"; then 6606 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6607set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6609$as_echo_n "checking for $ac_word... " >&6; } 6610if ${ac_cv_prog_DSYMUTIL+:} false; then : 6611 $as_echo_n "(cached) " >&6 6612else 6613 if test -n "$DSYMUTIL"; then 6614 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6615else 6616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6617for as_dir in $PATH 6618do 6619 IFS=$as_save_IFS 6620 test -z "$as_dir" && as_dir=. 6621 for ac_exec_ext in '' $ac_executable_extensions; do 6622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6623 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6625 break 2 6626 fi 6627done 6628 done 6629IFS=$as_save_IFS 6630 6631fi 6632fi 6633DSYMUTIL=$ac_cv_prog_DSYMUTIL 6634if test -n "$DSYMUTIL"; then 6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6636$as_echo "$DSYMUTIL" >&6; } 6637else 6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6639$as_echo "no" >&6; } 6640fi 6641 6642 6643fi 6644if test -z "$ac_cv_prog_DSYMUTIL"; then 6645 ac_ct_DSYMUTIL=$DSYMUTIL 6646 # Extract the first word of "dsymutil", so it can be a program name with args. 6647set dummy dsymutil; ac_word=$2 6648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6649$as_echo_n "checking for $ac_word... " >&6; } 6650if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6651 $as_echo_n "(cached) " >&6 6652else 6653 if test -n "$ac_ct_DSYMUTIL"; then 6654 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6655else 6656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6657for as_dir in $PATH 6658do 6659 IFS=$as_save_IFS 6660 test -z "$as_dir" && as_dir=. 6661 for ac_exec_ext in '' $ac_executable_extensions; do 6662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6663 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6665 break 2 6666 fi 6667done 6668 done 6669IFS=$as_save_IFS 6670 6671fi 6672fi 6673ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6674if test -n "$ac_ct_DSYMUTIL"; then 6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6676$as_echo "$ac_ct_DSYMUTIL" >&6; } 6677else 6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6679$as_echo "no" >&6; } 6680fi 6681 6682 if test "x$ac_ct_DSYMUTIL" = x; then 6683 DSYMUTIL=":" 6684 else 6685 case $cross_compiling:$ac_tool_warned in 6686yes:) 6687{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6688$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6689ac_tool_warned=yes ;; 6690esac 6691 DSYMUTIL=$ac_ct_DSYMUTIL 6692 fi 6693else 6694 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6695fi 6696 6697 if test -n "$ac_tool_prefix"; then 6698 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6699set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6701$as_echo_n "checking for $ac_word... " >&6; } 6702if ${ac_cv_prog_NMEDIT+:} false; then : 6703 $as_echo_n "(cached) " >&6 6704else 6705 if test -n "$NMEDIT"; then 6706 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6707else 6708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6709for as_dir in $PATH 6710do 6711 IFS=$as_save_IFS 6712 test -z "$as_dir" && as_dir=. 6713 for ac_exec_ext in '' $ac_executable_extensions; do 6714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6715 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6717 break 2 6718 fi 6719done 6720 done 6721IFS=$as_save_IFS 6722 6723fi 6724fi 6725NMEDIT=$ac_cv_prog_NMEDIT 6726if test -n "$NMEDIT"; then 6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6728$as_echo "$NMEDIT" >&6; } 6729else 6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6731$as_echo "no" >&6; } 6732fi 6733 6734 6735fi 6736if test -z "$ac_cv_prog_NMEDIT"; then 6737 ac_ct_NMEDIT=$NMEDIT 6738 # Extract the first word of "nmedit", so it can be a program name with args. 6739set dummy nmedit; ac_word=$2 6740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6741$as_echo_n "checking for $ac_word... " >&6; } 6742if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6743 $as_echo_n "(cached) " >&6 6744else 6745 if test -n "$ac_ct_NMEDIT"; then 6746 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6747else 6748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6749for as_dir in $PATH 6750do 6751 IFS=$as_save_IFS 6752 test -z "$as_dir" && as_dir=. 6753 for ac_exec_ext in '' $ac_executable_extensions; do 6754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6755 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6757 break 2 6758 fi 6759done 6760 done 6761IFS=$as_save_IFS 6762 6763fi 6764fi 6765ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6766if test -n "$ac_ct_NMEDIT"; then 6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6768$as_echo "$ac_ct_NMEDIT" >&6; } 6769else 6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6771$as_echo "no" >&6; } 6772fi 6773 6774 if test "x$ac_ct_NMEDIT" = x; then 6775 NMEDIT=":" 6776 else 6777 case $cross_compiling:$ac_tool_warned in 6778yes:) 6779{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6780$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6781ac_tool_warned=yes ;; 6782esac 6783 NMEDIT=$ac_ct_NMEDIT 6784 fi 6785else 6786 NMEDIT="$ac_cv_prog_NMEDIT" 6787fi 6788 6789 if test -n "$ac_tool_prefix"; then 6790 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6791set dummy ${ac_tool_prefix}lipo; ac_word=$2 6792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6793$as_echo_n "checking for $ac_word... " >&6; } 6794if ${ac_cv_prog_LIPO+:} false; then : 6795 $as_echo_n "(cached) " >&6 6796else 6797 if test -n "$LIPO"; then 6798 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6799else 6800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6801for as_dir in $PATH 6802do 6803 IFS=$as_save_IFS 6804 test -z "$as_dir" && as_dir=. 6805 for ac_exec_ext in '' $ac_executable_extensions; do 6806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6807 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6809 break 2 6810 fi 6811done 6812 done 6813IFS=$as_save_IFS 6814 6815fi 6816fi 6817LIPO=$ac_cv_prog_LIPO 6818if test -n "$LIPO"; then 6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6820$as_echo "$LIPO" >&6; } 6821else 6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6823$as_echo "no" >&6; } 6824fi 6825 6826 6827fi 6828if test -z "$ac_cv_prog_LIPO"; then 6829 ac_ct_LIPO=$LIPO 6830 # Extract the first word of "lipo", so it can be a program name with args. 6831set dummy lipo; ac_word=$2 6832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6833$as_echo_n "checking for $ac_word... " >&6; } 6834if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6835 $as_echo_n "(cached) " >&6 6836else 6837 if test -n "$ac_ct_LIPO"; then 6838 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6839else 6840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6841for as_dir in $PATH 6842do 6843 IFS=$as_save_IFS 6844 test -z "$as_dir" && as_dir=. 6845 for ac_exec_ext in '' $ac_executable_extensions; do 6846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6847 ac_cv_prog_ac_ct_LIPO="lipo" 6848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6849 break 2 6850 fi 6851done 6852 done 6853IFS=$as_save_IFS 6854 6855fi 6856fi 6857ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6858if test -n "$ac_ct_LIPO"; then 6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6860$as_echo "$ac_ct_LIPO" >&6; } 6861else 6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6863$as_echo "no" >&6; } 6864fi 6865 6866 if test "x$ac_ct_LIPO" = x; then 6867 LIPO=":" 6868 else 6869 case $cross_compiling:$ac_tool_warned in 6870yes:) 6871{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6872$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6873ac_tool_warned=yes ;; 6874esac 6875 LIPO=$ac_ct_LIPO 6876 fi 6877else 6878 LIPO="$ac_cv_prog_LIPO" 6879fi 6880 6881 if test -n "$ac_tool_prefix"; then 6882 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6883set dummy ${ac_tool_prefix}otool; ac_word=$2 6884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6885$as_echo_n "checking for $ac_word... " >&6; } 6886if ${ac_cv_prog_OTOOL+:} false; then : 6887 $as_echo_n "(cached) " >&6 6888else 6889 if test -n "$OTOOL"; then 6890 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6891else 6892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6893for as_dir in $PATH 6894do 6895 IFS=$as_save_IFS 6896 test -z "$as_dir" && as_dir=. 6897 for ac_exec_ext in '' $ac_executable_extensions; do 6898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6899 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6901 break 2 6902 fi 6903done 6904 done 6905IFS=$as_save_IFS 6906 6907fi 6908fi 6909OTOOL=$ac_cv_prog_OTOOL 6910if test -n "$OTOOL"; then 6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6912$as_echo "$OTOOL" >&6; } 6913else 6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6915$as_echo "no" >&6; } 6916fi 6917 6918 6919fi 6920if test -z "$ac_cv_prog_OTOOL"; then 6921 ac_ct_OTOOL=$OTOOL 6922 # Extract the first word of "otool", so it can be a program name with args. 6923set dummy otool; ac_word=$2 6924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6925$as_echo_n "checking for $ac_word... " >&6; } 6926if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6927 $as_echo_n "(cached) " >&6 6928else 6929 if test -n "$ac_ct_OTOOL"; then 6930 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6931else 6932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6933for as_dir in $PATH 6934do 6935 IFS=$as_save_IFS 6936 test -z "$as_dir" && as_dir=. 6937 for ac_exec_ext in '' $ac_executable_extensions; do 6938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6939 ac_cv_prog_ac_ct_OTOOL="otool" 6940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6941 break 2 6942 fi 6943done 6944 done 6945IFS=$as_save_IFS 6946 6947fi 6948fi 6949ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6950if test -n "$ac_ct_OTOOL"; then 6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6952$as_echo "$ac_ct_OTOOL" >&6; } 6953else 6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6955$as_echo "no" >&6; } 6956fi 6957 6958 if test "x$ac_ct_OTOOL" = x; then 6959 OTOOL=":" 6960 else 6961 case $cross_compiling:$ac_tool_warned in 6962yes:) 6963{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6964$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6965ac_tool_warned=yes ;; 6966esac 6967 OTOOL=$ac_ct_OTOOL 6968 fi 6969else 6970 OTOOL="$ac_cv_prog_OTOOL" 6971fi 6972 6973 if test -n "$ac_tool_prefix"; then 6974 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6975set dummy ${ac_tool_prefix}otool64; ac_word=$2 6976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6977$as_echo_n "checking for $ac_word... " >&6; } 6978if ${ac_cv_prog_OTOOL64+:} false; then : 6979 $as_echo_n "(cached) " >&6 6980else 6981 if test -n "$OTOOL64"; then 6982 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6983else 6984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6985for as_dir in $PATH 6986do 6987 IFS=$as_save_IFS 6988 test -z "$as_dir" && as_dir=. 6989 for ac_exec_ext in '' $ac_executable_extensions; do 6990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6991 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6993 break 2 6994 fi 6995done 6996 done 6997IFS=$as_save_IFS 6998 6999fi 7000fi 7001OTOOL64=$ac_cv_prog_OTOOL64 7002if test -n "$OTOOL64"; then 7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7004$as_echo "$OTOOL64" >&6; } 7005else 7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7007$as_echo "no" >&6; } 7008fi 7009 7010 7011fi 7012if test -z "$ac_cv_prog_OTOOL64"; then 7013 ac_ct_OTOOL64=$OTOOL64 7014 # Extract the first word of "otool64", so it can be a program name with args. 7015set dummy otool64; ac_word=$2 7016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7017$as_echo_n "checking for $ac_word... " >&6; } 7018if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7019 $as_echo_n "(cached) " >&6 7020else 7021 if test -n "$ac_ct_OTOOL64"; then 7022 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7023else 7024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7025for as_dir in $PATH 7026do 7027 IFS=$as_save_IFS 7028 test -z "$as_dir" && as_dir=. 7029 for ac_exec_ext in '' $ac_executable_extensions; do 7030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7031 ac_cv_prog_ac_ct_OTOOL64="otool64" 7032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7033 break 2 7034 fi 7035done 7036 done 7037IFS=$as_save_IFS 7038 7039fi 7040fi 7041ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7042if test -n "$ac_ct_OTOOL64"; then 7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7044$as_echo "$ac_ct_OTOOL64" >&6; } 7045else 7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7047$as_echo "no" >&6; } 7048fi 7049 7050 if test "x$ac_ct_OTOOL64" = x; then 7051 OTOOL64=":" 7052 else 7053 case $cross_compiling:$ac_tool_warned in 7054yes:) 7055{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7056$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7057ac_tool_warned=yes ;; 7058esac 7059 OTOOL64=$ac_ct_OTOOL64 7060 fi 7061else 7062 OTOOL64="$ac_cv_prog_OTOOL64" 7063fi 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7092$as_echo_n "checking for -single_module linker flag... " >&6; } 7093if ${lt_cv_apple_cc_single_mod+:} false; then : 7094 $as_echo_n "(cached) " >&6 7095else 7096 lt_cv_apple_cc_single_mod=no 7097 if test -z "$LT_MULTI_MODULE"; then 7098 # By default we will add the -single_module flag. You can override 7099 # by either setting the environment variable LT_MULTI_MODULE 7100 # non-empty at configure time, or by adding -multi_module to the 7101 # link flags. 7102 rm -rf libconftest.dylib* 7103 echo "int foo(void){return 1;}" > conftest.c 7104 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7105-dynamiclib -Wl,-single_module conftest.c" >&5 7106 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7107 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7108 _lt_result=$? 7109 # If there is a non-empty error log, and "single_module" 7110 # appears in it, assume the flag caused a linker warning 7111 if test -s conftest.err && $GREP single_module conftest.err; then 7112 cat conftest.err >&5 7113 # Otherwise, if the output was created with a 0 exit code from 7114 # the compiler, it worked. 7115 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7116 lt_cv_apple_cc_single_mod=yes 7117 else 7118 cat conftest.err >&5 7119 fi 7120 rm -rf libconftest.dylib* 7121 rm -f conftest.* 7122 fi 7123fi 7124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7125$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7126 7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7128$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7129if ${lt_cv_ld_exported_symbols_list+:} false; then : 7130 $as_echo_n "(cached) " >&6 7131else 7132 lt_cv_ld_exported_symbols_list=no 7133 save_LDFLAGS=$LDFLAGS 7134 echo "_main" > conftest.sym 7135 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7137/* end confdefs.h. */ 7138 7139int 7140main () 7141{ 7142 7143 ; 7144 return 0; 7145} 7146_ACEOF 7147if ac_fn_c_try_link "$LINENO"; then : 7148 lt_cv_ld_exported_symbols_list=yes 7149else 7150 lt_cv_ld_exported_symbols_list=no 7151fi 7152rm -f core conftest.err conftest.$ac_objext \ 7153 conftest$ac_exeext conftest.$ac_ext 7154 LDFLAGS=$save_LDFLAGS 7155 7156fi 7157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7158$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7159 7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7161$as_echo_n "checking for -force_load linker flag... " >&6; } 7162if ${lt_cv_ld_force_load+:} false; then : 7163 $as_echo_n "(cached) " >&6 7164else 7165 lt_cv_ld_force_load=no 7166 cat > conftest.c << _LT_EOF 7167int forced_loaded() { return 2;} 7168_LT_EOF 7169 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7170 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7171 echo "$AR cru libconftest.a conftest.o" >&5 7172 $AR cru libconftest.a conftest.o 2>&5 7173 echo "$RANLIB libconftest.a" >&5 7174 $RANLIB libconftest.a 2>&5 7175 cat > conftest.c << _LT_EOF 7176int main() { return 0;} 7177_LT_EOF 7178 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7179 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7180 _lt_result=$? 7181 if test -s conftest.err && $GREP force_load conftest.err; then 7182 cat conftest.err >&5 7183 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7184 lt_cv_ld_force_load=yes 7185 else 7186 cat conftest.err >&5 7187 fi 7188 rm -f conftest.err libconftest.a conftest conftest.c 7189 rm -rf conftest.dSYM 7190 7191fi 7192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7193$as_echo "$lt_cv_ld_force_load" >&6; } 7194 case $host_os in 7195 rhapsody* | darwin1.[012]) 7196 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7197 darwin1.*) 7198 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7199 darwin*) # darwin 5.x on 7200 # if running on 10.5 or later, the deployment target defaults 7201 # to the OS version, if on x86, and 10.4, the deployment 7202 # target defaults to 10.4. Don't you love it? 7203 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7204 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7205 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7206 10.[012][,.]*) 7207 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7208 10.*) 7209 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7210 esac 7211 ;; 7212 esac 7213 if test yes = "$lt_cv_apple_cc_single_mod"; then 7214 _lt_dar_single_mod='$single_module' 7215 fi 7216 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7217 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7218 else 7219 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7220 fi 7221 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7222 _lt_dsymutil='~$DSYMUTIL $lib || :' 7223 else 7224 _lt_dsymutil= 7225 fi 7226 ;; 7227 esac 7228 7229# func_munge_path_list VARIABLE PATH 7230# ----------------------------------- 7231# VARIABLE is name of variable containing _space_ separated list of 7232# directories to be munged by the contents of PATH, which is string 7233# having a format: 7234# "DIR[:DIR]:" 7235# string "DIR[ DIR]" will be prepended to VARIABLE 7236# ":DIR[:DIR]" 7237# string "DIR[ DIR]" will be appended to VARIABLE 7238# "DIRP[:DIRP]::[DIRA:]DIRA" 7239# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7240# "DIRA[ DIRA]" will be appended to VARIABLE 7241# "DIR[:DIR]" 7242# VARIABLE will be replaced by "DIR[ DIR]" 7243func_munge_path_list () 7244{ 7245 case x$2 in 7246 x) 7247 ;; 7248 *:) 7249 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7250 ;; 7251 x:*) 7252 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7253 ;; 7254 *::*) 7255 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7256 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7257 ;; 7258 *) 7259 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7260 ;; 7261 esac 7262} 7263 7264ac_ext=c 7265ac_cpp='$CPP $CPPFLAGS' 7266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7268ac_compiler_gnu=$ac_cv_c_compiler_gnu 7269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7270$as_echo_n "checking how to run the C preprocessor... " >&6; } 7271# On Suns, sometimes $CPP names a directory. 7272if test -n "$CPP" && test -d "$CPP"; then 7273 CPP= 7274fi 7275if test -z "$CPP"; then 7276 if ${ac_cv_prog_CPP+:} false; then : 7277 $as_echo_n "(cached) " >&6 7278else 7279 # Double quotes because CPP needs to be expanded 7280 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7281 do 7282 ac_preproc_ok=false 7283for ac_c_preproc_warn_flag in '' yes 7284do 7285 # Use a header file that comes with gcc, so configuring glibc 7286 # with a fresh cross-compiler works. 7287 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7288 # <limits.h> exists even on freestanding compilers. 7289 # On the NeXT, cc -E runs the code through the compiler's parser, 7290 # not just through cpp. "Syntax error" is here to catch this case. 7291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7292/* end confdefs.h. */ 7293#ifdef __STDC__ 7294# include <limits.h> 7295#else 7296# include <assert.h> 7297#endif 7298 Syntax error 7299_ACEOF 7300if ac_fn_c_try_cpp "$LINENO"; then : 7301 7302else 7303 # Broken: fails on valid input. 7304continue 7305fi 7306rm -f conftest.err conftest.i conftest.$ac_ext 7307 7308 # OK, works on sane cases. Now check whether nonexistent headers 7309 # can be detected and how. 7310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7311/* end confdefs.h. */ 7312#include <ac_nonexistent.h> 7313_ACEOF 7314if ac_fn_c_try_cpp "$LINENO"; then : 7315 # Broken: success on invalid input. 7316continue 7317else 7318 # Passes both tests. 7319ac_preproc_ok=: 7320break 7321fi 7322rm -f conftest.err conftest.i conftest.$ac_ext 7323 7324done 7325# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7326rm -f conftest.i conftest.err conftest.$ac_ext 7327if $ac_preproc_ok; then : 7328 break 7329fi 7330 7331 done 7332 ac_cv_prog_CPP=$CPP 7333 7334fi 7335 CPP=$ac_cv_prog_CPP 7336else 7337 ac_cv_prog_CPP=$CPP 7338fi 7339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7340$as_echo "$CPP" >&6; } 7341ac_preproc_ok=false 7342for ac_c_preproc_warn_flag in '' yes 7343do 7344 # Use a header file that comes with gcc, so configuring glibc 7345 # with a fresh cross-compiler works. 7346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7347 # <limits.h> exists even on freestanding compilers. 7348 # On the NeXT, cc -E runs the code through the compiler's parser, 7349 # not just through cpp. "Syntax error" is here to catch this case. 7350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7351/* end confdefs.h. */ 7352#ifdef __STDC__ 7353# include <limits.h> 7354#else 7355# include <assert.h> 7356#endif 7357 Syntax error 7358_ACEOF 7359if ac_fn_c_try_cpp "$LINENO"; then : 7360 7361else 7362 # Broken: fails on valid input. 7363continue 7364fi 7365rm -f conftest.err conftest.i conftest.$ac_ext 7366 7367 # OK, works on sane cases. Now check whether nonexistent headers 7368 # can be detected and how. 7369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7370/* end confdefs.h. */ 7371#include <ac_nonexistent.h> 7372_ACEOF 7373if ac_fn_c_try_cpp "$LINENO"; then : 7374 # Broken: success on invalid input. 7375continue 7376else 7377 # Passes both tests. 7378ac_preproc_ok=: 7379break 7380fi 7381rm -f conftest.err conftest.i conftest.$ac_ext 7382 7383done 7384# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7385rm -f conftest.i conftest.err conftest.$ac_ext 7386if $ac_preproc_ok; then : 7387 7388else 7389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7390$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7391as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7392See \`config.log' for more details" "$LINENO" 5; } 7393fi 7394 7395ac_ext=c 7396ac_cpp='$CPP $CPPFLAGS' 7397ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7398ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7399ac_compiler_gnu=$ac_cv_c_compiler_gnu 7400 7401 7402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7403$as_echo_n "checking for ANSI C header files... " >&6; } 7404if ${ac_cv_header_stdc+:} false; then : 7405 $as_echo_n "(cached) " >&6 7406else 7407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7408/* end confdefs.h. */ 7409#include <stdlib.h> 7410#include <stdarg.h> 7411#include <string.h> 7412#include <float.h> 7413 7414int 7415main () 7416{ 7417 7418 ; 7419 return 0; 7420} 7421_ACEOF 7422if ac_fn_c_try_compile "$LINENO"; then : 7423 ac_cv_header_stdc=yes 7424else 7425 ac_cv_header_stdc=no 7426fi 7427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7428 7429if test $ac_cv_header_stdc = yes; then 7430 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7432/* end confdefs.h. */ 7433#include <string.h> 7434 7435_ACEOF 7436if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7437 $EGREP "memchr" >/dev/null 2>&1; then : 7438 7439else 7440 ac_cv_header_stdc=no 7441fi 7442rm -f conftest* 7443 7444fi 7445 7446if test $ac_cv_header_stdc = yes; then 7447 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7449/* end confdefs.h. */ 7450#include <stdlib.h> 7451 7452_ACEOF 7453if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7454 $EGREP "free" >/dev/null 2>&1; then : 7455 7456else 7457 ac_cv_header_stdc=no 7458fi 7459rm -f conftest* 7460 7461fi 7462 7463if test $ac_cv_header_stdc = yes; then 7464 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7465 if test "$cross_compiling" = yes; then : 7466 : 7467else 7468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7469/* end confdefs.h. */ 7470#include <ctype.h> 7471#include <stdlib.h> 7472#if ((' ' & 0x0FF) == 0x020) 7473# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7474# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7475#else 7476# define ISLOWER(c) \ 7477 (('a' <= (c) && (c) <= 'i') \ 7478 || ('j' <= (c) && (c) <= 'r') \ 7479 || ('s' <= (c) && (c) <= 'z')) 7480# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7481#endif 7482 7483#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7484int 7485main () 7486{ 7487 int i; 7488 for (i = 0; i < 256; i++) 7489 if (XOR (islower (i), ISLOWER (i)) 7490 || toupper (i) != TOUPPER (i)) 7491 return 2; 7492 return 0; 7493} 7494_ACEOF 7495if ac_fn_c_try_run "$LINENO"; then : 7496 7497else 7498 ac_cv_header_stdc=no 7499fi 7500rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7501 conftest.$ac_objext conftest.beam conftest.$ac_ext 7502fi 7503 7504fi 7505fi 7506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7507$as_echo "$ac_cv_header_stdc" >&6; } 7508if test $ac_cv_header_stdc = yes; then 7509 7510$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7511 7512fi 7513 7514# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7515for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7516 inttypes.h stdint.h unistd.h 7517do : 7518 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7519ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7520" 7521if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7522 cat >>confdefs.h <<_ACEOF 7523#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7524_ACEOF 7525 7526fi 7527 7528done 7529 7530 7531for ac_header in dlfcn.h 7532do : 7533 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7534" 7535if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7536 cat >>confdefs.h <<_ACEOF 7537#define HAVE_DLFCN_H 1 7538_ACEOF 7539 7540fi 7541 7542done 7543 7544 7545 7546 7547 7548# Set options 7549 7550 7551 7552 enable_dlopen=no 7553 7554 7555 enable_win32_dll=no 7556 7557 7558 # Check whether --enable-shared was given. 7559if test "${enable_shared+set}" = set; then : 7560 enableval=$enable_shared; p=${PACKAGE-default} 7561 case $enableval in 7562 yes) enable_shared=yes ;; 7563 no) enable_shared=no ;; 7564 *) 7565 enable_shared=no 7566 # Look at the argument we got. We use all the common list separators. 7567 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7568 for pkg in $enableval; do 7569 IFS=$lt_save_ifs 7570 if test "X$pkg" = "X$p"; then 7571 enable_shared=yes 7572 fi 7573 done 7574 IFS=$lt_save_ifs 7575 ;; 7576 esac 7577else 7578 enable_shared=yes 7579fi 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 # Check whether --enable-static was given. 7590if test "${enable_static+set}" = set; then : 7591 enableval=$enable_static; p=${PACKAGE-default} 7592 case $enableval in 7593 yes) enable_static=yes ;; 7594 no) enable_static=no ;; 7595 *) 7596 enable_static=no 7597 # Look at the argument we got. We use all the common list separators. 7598 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7599 for pkg in $enableval; do 7600 IFS=$lt_save_ifs 7601 if test "X$pkg" = "X$p"; then 7602 enable_static=yes 7603 fi 7604 done 7605 IFS=$lt_save_ifs 7606 ;; 7607 esac 7608else 7609 enable_static=yes 7610fi 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621# Check whether --with-pic was given. 7622if test "${with_pic+set}" = set; then : 7623 withval=$with_pic; lt_p=${PACKAGE-default} 7624 case $withval in 7625 yes|no) pic_mode=$withval ;; 7626 *) 7627 pic_mode=default 7628 # Look at the argument we got. We use all the common list separators. 7629 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7630 for lt_pkg in $withval; do 7631 IFS=$lt_save_ifs 7632 if test "X$lt_pkg" = "X$lt_p"; then 7633 pic_mode=yes 7634 fi 7635 done 7636 IFS=$lt_save_ifs 7637 ;; 7638 esac 7639else 7640 pic_mode=default 7641fi 7642 7643 7644 7645 7646 7647 7648 7649 7650 # Check whether --enable-fast-install was given. 7651if test "${enable_fast_install+set}" = set; then : 7652 enableval=$enable_fast_install; p=${PACKAGE-default} 7653 case $enableval in 7654 yes) enable_fast_install=yes ;; 7655 no) enable_fast_install=no ;; 7656 *) 7657 enable_fast_install=no 7658 # Look at the argument we got. We use all the common list separators. 7659 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7660 for pkg in $enableval; do 7661 IFS=$lt_save_ifs 7662 if test "X$pkg" = "X$p"; then 7663 enable_fast_install=yes 7664 fi 7665 done 7666 IFS=$lt_save_ifs 7667 ;; 7668 esac 7669else 7670 enable_fast_install=yes 7671fi 7672 7673 7674 7675 7676 7677 7678 7679 7680 shared_archive_member_spec= 7681case $host,$enable_shared in 7682power*-*-aix[5-9]*,yes) 7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 7684$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 7685 7686# Check whether --with-aix-soname was given. 7687if test "${with_aix_soname+set}" = set; then : 7688 withval=$with_aix_soname; case $withval in 7689 aix|svr4|both) 7690 ;; 7691 *) 7692 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 7693 ;; 7694 esac 7695 lt_cv_with_aix_soname=$with_aix_soname 7696else 7697 if ${lt_cv_with_aix_soname+:} false; then : 7698 $as_echo_n "(cached) " >&6 7699else 7700 lt_cv_with_aix_soname=aix 7701fi 7702 7703 with_aix_soname=$lt_cv_with_aix_soname 7704fi 7705 7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 7707$as_echo "$with_aix_soname" >&6; } 7708 if test aix != "$with_aix_soname"; then 7709 # For the AIX way of multilib, we name the shared archive member 7710 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 7711 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 7712 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 7713 # the AIX toolchain works better with OBJECT_MODE set (default 32). 7714 if test 64 = "${OBJECT_MODE-32}"; then 7715 shared_archive_member_spec=shr_64 7716 else 7717 shared_archive_member_spec=shr 7718 fi 7719 fi 7720 ;; 7721*) 7722 with_aix_soname=aix 7723 ;; 7724esac 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735# This can be used to rebuild libtool when needed 7736LIBTOOL_DEPS=$ltmain 7737 7738# Always use our own libtool. 7739LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770test -z "$LN_S" && LN_S="ln -s" 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785if test -n "${ZSH_VERSION+set}"; then 7786 setopt NO_GLOB_SUBST 7787fi 7788 7789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7790$as_echo_n "checking for objdir... " >&6; } 7791if ${lt_cv_objdir+:} false; then : 7792 $as_echo_n "(cached) " >&6 7793else 7794 rm -f .libs 2>/dev/null 7795mkdir .libs 2>/dev/null 7796if test -d .libs; then 7797 lt_cv_objdir=.libs 7798else 7799 # MS-DOS does not allow filenames that begin with a dot. 7800 lt_cv_objdir=_libs 7801fi 7802rmdir .libs 2>/dev/null 7803fi 7804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7805$as_echo "$lt_cv_objdir" >&6; } 7806objdir=$lt_cv_objdir 7807 7808 7809 7810 7811 7812cat >>confdefs.h <<_ACEOF 7813#define LT_OBJDIR "$lt_cv_objdir/" 7814_ACEOF 7815 7816 7817 7818 7819case $host_os in 7820aix3*) 7821 # AIX sometimes has problems with the GCC collect2 program. For some 7822 # reason, if we set the COLLECT_NAMES environment variable, the problems 7823 # vanish in a puff of smoke. 7824 if test set != "${COLLECT_NAMES+set}"; then 7825 COLLECT_NAMES= 7826 export COLLECT_NAMES 7827 fi 7828 ;; 7829esac 7830 7831# Global variables: 7832ofile=libtool 7833can_build_shared=yes 7834 7835# All known linkers require a '.a' archive for static linking (except MSVC, 7836# which needs '.lib'). 7837libext=a 7838 7839with_gnu_ld=$lt_cv_prog_gnu_ld 7840 7841old_CC=$CC 7842old_CFLAGS=$CFLAGS 7843 7844# Set sane defaults for various variables 7845test -z "$CC" && CC=cc 7846test -z "$LTCC" && LTCC=$CC 7847test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7848test -z "$LD" && LD=ld 7849test -z "$ac_objext" && ac_objext=o 7850 7851func_cc_basename $compiler 7852cc_basename=$func_cc_basename_result 7853 7854 7855# Only perform the check for file, if the check method requires it 7856test -z "$MAGIC_CMD" && MAGIC_CMD=file 7857case $deplibs_check_method in 7858file_magic*) 7859 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7861$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7862if ${lt_cv_path_MAGIC_CMD+:} false; then : 7863 $as_echo_n "(cached) " >&6 7864else 7865 case $MAGIC_CMD in 7866[\\/*] | ?:[\\/]*) 7867 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 7868 ;; 7869*) 7870 lt_save_MAGIC_CMD=$MAGIC_CMD 7871 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7872 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7873 for ac_dir in $ac_dummy; do 7874 IFS=$lt_save_ifs 7875 test -z "$ac_dir" && ac_dir=. 7876 if test -f "$ac_dir/${ac_tool_prefix}file"; then 7877 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 7878 if test -n "$file_magic_test_file"; then 7879 case $deplibs_check_method in 7880 "file_magic "*) 7881 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7882 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7883 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7884 $EGREP "$file_magic_regex" > /dev/null; then 7885 : 7886 else 7887 cat <<_LT_EOF 1>&2 7888 7889*** Warning: the command libtool uses to detect shared libraries, 7890*** $file_magic_cmd, produces output that libtool cannot recognize. 7891*** The result is that libtool may fail to recognize shared libraries 7892*** as such. This will affect the creation of libtool libraries that 7893*** depend on shared libraries, but programs linked with such libtool 7894*** libraries will work regardless of this problem. Nevertheless, you 7895*** may want to report the problem to your system manager and/or to 7896*** bug-libtool@gnu.org 7897 7898_LT_EOF 7899 fi ;; 7900 esac 7901 fi 7902 break 7903 fi 7904 done 7905 IFS=$lt_save_ifs 7906 MAGIC_CMD=$lt_save_MAGIC_CMD 7907 ;; 7908esac 7909fi 7910 7911MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7912if test -n "$MAGIC_CMD"; then 7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7914$as_echo "$MAGIC_CMD" >&6; } 7915else 7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7917$as_echo "no" >&6; } 7918fi 7919 7920 7921 7922 7923 7924if test -z "$lt_cv_path_MAGIC_CMD"; then 7925 if test -n "$ac_tool_prefix"; then 7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7927$as_echo_n "checking for file... " >&6; } 7928if ${lt_cv_path_MAGIC_CMD+:} false; then : 7929 $as_echo_n "(cached) " >&6 7930else 7931 case $MAGIC_CMD in 7932[\\/*] | ?:[\\/]*) 7933 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 7934 ;; 7935*) 7936 lt_save_MAGIC_CMD=$MAGIC_CMD 7937 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7938 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7939 for ac_dir in $ac_dummy; do 7940 IFS=$lt_save_ifs 7941 test -z "$ac_dir" && ac_dir=. 7942 if test -f "$ac_dir/file"; then 7943 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 7944 if test -n "$file_magic_test_file"; then 7945 case $deplibs_check_method in 7946 "file_magic "*) 7947 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7948 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7949 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7950 $EGREP "$file_magic_regex" > /dev/null; then 7951 : 7952 else 7953 cat <<_LT_EOF 1>&2 7954 7955*** Warning: the command libtool uses to detect shared libraries, 7956*** $file_magic_cmd, produces output that libtool cannot recognize. 7957*** The result is that libtool may fail to recognize shared libraries 7958*** as such. This will affect the creation of libtool libraries that 7959*** depend on shared libraries, but programs linked with such libtool 7960*** libraries will work regardless of this problem. Nevertheless, you 7961*** may want to report the problem to your system manager and/or to 7962*** bug-libtool@gnu.org 7963 7964_LT_EOF 7965 fi ;; 7966 esac 7967 fi 7968 break 7969 fi 7970 done 7971 IFS=$lt_save_ifs 7972 MAGIC_CMD=$lt_save_MAGIC_CMD 7973 ;; 7974esac 7975fi 7976 7977MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7978if test -n "$MAGIC_CMD"; then 7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7980$as_echo "$MAGIC_CMD" >&6; } 7981else 7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7983$as_echo "no" >&6; } 7984fi 7985 7986 7987 else 7988 MAGIC_CMD=: 7989 fi 7990fi 7991 7992 fi 7993 ;; 7994esac 7995 7996# Use C for the default configuration in the libtool script 7997 7998lt_save_CC=$CC 7999ac_ext=c 8000ac_cpp='$CPP $CPPFLAGS' 8001ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8002ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8003ac_compiler_gnu=$ac_cv_c_compiler_gnu 8004 8005 8006# Source file extension for C test sources. 8007ac_ext=c 8008 8009# Object file extension for compiled C test sources. 8010objext=o 8011objext=$objext 8012 8013# Code to be used in simple compile tests 8014lt_simple_compile_test_code="int some_variable = 0;" 8015 8016# Code to be used in simple link tests 8017lt_simple_link_test_code='int main(){return(0);}' 8018 8019 8020 8021 8022 8023 8024 8025# If no C compiler was specified, use CC. 8026LTCC=${LTCC-"$CC"} 8027 8028# If no C compiler flags were specified, use CFLAGS. 8029LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8030 8031# Allow CC to be a program name with arguments. 8032compiler=$CC 8033 8034# Save the default compiler, since it gets overwritten when the other 8035# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8036compiler_DEFAULT=$CC 8037 8038# save warnings/boilerplate of simple test code 8039ac_outfile=conftest.$ac_objext 8040echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8041eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8042_lt_compiler_boilerplate=`cat conftest.err` 8043$RM conftest* 8044 8045ac_outfile=conftest.$ac_objext 8046echo "$lt_simple_link_test_code" >conftest.$ac_ext 8047eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8048_lt_linker_boilerplate=`cat conftest.err` 8049$RM -r conftest* 8050 8051 8052## CAVEAT EMPTOR: 8053## There is no encapsulation within the following macros, do not change 8054## the running order or otherwise move them around unless you know exactly 8055## what you are doing... 8056if test -n "$compiler"; then 8057 8058lt_prog_compiler_no_builtin_flag= 8059 8060if test yes = "$GCC"; then 8061 case $cc_basename in 8062 nvcc*) 8063 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8064 *) 8065 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8066 esac 8067 8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8069$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8070if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8071 $as_echo_n "(cached) " >&6 8072else 8073 lt_cv_prog_compiler_rtti_exceptions=no 8074 ac_outfile=conftest.$ac_objext 8075 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8076 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8077 # Insert the option either (1) after the last *FLAGS variable, or 8078 # (2) before a word containing "conftest.", or (3) at the end. 8079 # Note that $ac_compile itself does not contain backslashes and begins 8080 # with a dollar sign (not a hyphen), so the echo should work correctly. 8081 # The option is referenced via a variable to avoid confusing sed. 8082 lt_compile=`echo "$ac_compile" | $SED \ 8083 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8084 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8085 -e 's:$: $lt_compiler_flag:'` 8086 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8087 (eval "$lt_compile" 2>conftest.err) 8088 ac_status=$? 8089 cat conftest.err >&5 8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8091 if (exit $ac_status) && test -s "$ac_outfile"; then 8092 # The compiler can only warn and ignore the option if not recognized 8093 # So say no if there are warnings other than the usual output. 8094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8095 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8096 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8097 lt_cv_prog_compiler_rtti_exceptions=yes 8098 fi 8099 fi 8100 $RM conftest* 8101 8102fi 8103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8104$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8105 8106if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8107 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8108else 8109 : 8110fi 8111 8112fi 8113 8114 8115 8116 8117 8118 8119 lt_prog_compiler_wl= 8120lt_prog_compiler_pic= 8121lt_prog_compiler_static= 8122 8123 8124 if test yes = "$GCC"; then 8125 lt_prog_compiler_wl='-Wl,' 8126 lt_prog_compiler_static='-static' 8127 8128 case $host_os in 8129 aix*) 8130 # All AIX code is PIC. 8131 if test ia64 = "$host_cpu"; then 8132 # AIX 5 now supports IA64 processor 8133 lt_prog_compiler_static='-Bstatic' 8134 fi 8135 lt_prog_compiler_pic='-fPIC' 8136 ;; 8137 8138 amigaos*) 8139 case $host_cpu in 8140 powerpc) 8141 # see comment about AmigaOS4 .so support 8142 lt_prog_compiler_pic='-fPIC' 8143 ;; 8144 m68k) 8145 # FIXME: we need at least 68020 code to build shared libraries, but 8146 # adding the '-m68020' flag to GCC prevents building anything better, 8147 # like '-m68040'. 8148 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8149 ;; 8150 esac 8151 ;; 8152 8153 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8154 # PIC is the default for these OSes. 8155 ;; 8156 8157 mingw* | cygwin* | pw32* | os2* | cegcc*) 8158 # This hack is so that the source file can tell whether it is being 8159 # built for inclusion in a dll (and should export symbols for example). 8160 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8161 # (--disable-auto-import) libraries 8162 lt_prog_compiler_pic='-DDLL_EXPORT' 8163 case $host_os in 8164 os2*) 8165 lt_prog_compiler_static='$wl-static' 8166 ;; 8167 esac 8168 ;; 8169 8170 darwin* | rhapsody*) 8171 # PIC is the default on this platform 8172 # Common symbols not allowed in MH_DYLIB files 8173 lt_prog_compiler_pic='-fno-common' 8174 ;; 8175 8176 haiku*) 8177 # PIC is the default for Haiku. 8178 # The "-static" flag exists, but is broken. 8179 lt_prog_compiler_static= 8180 ;; 8181 8182 hpux*) 8183 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8184 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8185 # sets the default TLS model and affects inlining. 8186 case $host_cpu in 8187 hppa*64*) 8188 # +Z the default 8189 ;; 8190 *) 8191 lt_prog_compiler_pic='-fPIC' 8192 ;; 8193 esac 8194 ;; 8195 8196 interix[3-9]*) 8197 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8198 # Instead, we relocate shared libraries at runtime. 8199 ;; 8200 8201 msdosdjgpp*) 8202 # Just because we use GCC doesn't mean we suddenly get shared libraries 8203 # on systems that don't support them. 8204 lt_prog_compiler_can_build_shared=no 8205 enable_shared=no 8206 ;; 8207 8208 *nto* | *qnx*) 8209 # QNX uses GNU C++, but need to define -shared option too, otherwise 8210 # it will coredump. 8211 lt_prog_compiler_pic='-fPIC -shared' 8212 ;; 8213 8214 sysv4*MP*) 8215 if test -d /usr/nec; then 8216 lt_prog_compiler_pic=-Kconform_pic 8217 fi 8218 ;; 8219 8220 *) 8221 lt_prog_compiler_pic='-fPIC' 8222 ;; 8223 esac 8224 8225 case $cc_basename in 8226 nvcc*) # Cuda Compiler Driver 2.2 8227 lt_prog_compiler_wl='-Xlinker ' 8228 if test -n "$lt_prog_compiler_pic"; then 8229 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8230 fi 8231 ;; 8232 esac 8233 else 8234 # PORTME Check for flag to pass linker flags through the system compiler. 8235 case $host_os in 8236 aix*) 8237 lt_prog_compiler_wl='-Wl,' 8238 if test ia64 = "$host_cpu"; then 8239 # AIX 5 now supports IA64 processor 8240 lt_prog_compiler_static='-Bstatic' 8241 else 8242 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8243 fi 8244 ;; 8245 8246 darwin* | rhapsody*) 8247 # PIC is the default on this platform 8248 # Common symbols not allowed in MH_DYLIB files 8249 lt_prog_compiler_pic='-fno-common' 8250 case $cc_basename in 8251 nagfor*) 8252 # NAG Fortran compiler 8253 lt_prog_compiler_wl='-Wl,-Wl,,' 8254 lt_prog_compiler_pic='-PIC' 8255 lt_prog_compiler_static='-Bstatic' 8256 ;; 8257 esac 8258 ;; 8259 8260 mingw* | cygwin* | pw32* | os2* | cegcc*) 8261 # This hack is so that the source file can tell whether it is being 8262 # built for inclusion in a dll (and should export symbols for example). 8263 lt_prog_compiler_pic='-DDLL_EXPORT' 8264 case $host_os in 8265 os2*) 8266 lt_prog_compiler_static='$wl-static' 8267 ;; 8268 esac 8269 ;; 8270 8271 hpux9* | hpux10* | hpux11*) 8272 lt_prog_compiler_wl='-Wl,' 8273 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8274 # not for PA HP-UX. 8275 case $host_cpu in 8276 hppa*64*|ia64*) 8277 # +Z the default 8278 ;; 8279 *) 8280 lt_prog_compiler_pic='+Z' 8281 ;; 8282 esac 8283 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8284 lt_prog_compiler_static='$wl-a ${wl}archive' 8285 ;; 8286 8287 irix5* | irix6* | nonstopux*) 8288 lt_prog_compiler_wl='-Wl,' 8289 # PIC (with -KPIC) is the default. 8290 lt_prog_compiler_static='-non_shared' 8291 ;; 8292 8293 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8294 case $cc_basename in 8295 # old Intel for x86_64, which still supported -KPIC. 8296 ecc*) 8297 lt_prog_compiler_wl='-Wl,' 8298 lt_prog_compiler_pic='-KPIC' 8299 lt_prog_compiler_static='-static' 8300 ;; 8301 # icc used to be incompatible with GCC. 8302 # ICC 10 doesn't accept -KPIC any more. 8303 icc* | ifort*) 8304 lt_prog_compiler_wl='-Wl,' 8305 lt_prog_compiler_pic='-fPIC' 8306 lt_prog_compiler_static='-static' 8307 ;; 8308 # Lahey Fortran 8.1. 8309 lf95*) 8310 lt_prog_compiler_wl='-Wl,' 8311 lt_prog_compiler_pic='--shared' 8312 lt_prog_compiler_static='--static' 8313 ;; 8314 nagfor*) 8315 # NAG Fortran compiler 8316 lt_prog_compiler_wl='-Wl,-Wl,,' 8317 lt_prog_compiler_pic='-PIC' 8318 lt_prog_compiler_static='-Bstatic' 8319 ;; 8320 tcc*) 8321 # Fabrice Bellard et al's Tiny C Compiler 8322 lt_prog_compiler_wl='-Wl,' 8323 lt_prog_compiler_pic='-fPIC' 8324 lt_prog_compiler_static='-static' 8325 ;; 8326 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8327 # Portland Group compilers (*not* the Pentium gcc compiler, 8328 # which looks to be a dead project) 8329 lt_prog_compiler_wl='-Wl,' 8330 lt_prog_compiler_pic='-fpic' 8331 lt_prog_compiler_static='-Bstatic' 8332 ;; 8333 ccc*) 8334 lt_prog_compiler_wl='-Wl,' 8335 # All Alpha code is PIC. 8336 lt_prog_compiler_static='-non_shared' 8337 ;; 8338 xl* | bgxl* | bgf* | mpixl*) 8339 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8340 lt_prog_compiler_wl='-Wl,' 8341 lt_prog_compiler_pic='-qpic' 8342 lt_prog_compiler_static='-qstaticlink' 8343 ;; 8344 *) 8345 case `$CC -V 2>&1 | sed 5q` in 8346 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8347 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8348 lt_prog_compiler_pic='-KPIC' 8349 lt_prog_compiler_static='-Bstatic' 8350 lt_prog_compiler_wl='' 8351 ;; 8352 *Sun\ F* | *Sun*Fortran*) 8353 lt_prog_compiler_pic='-KPIC' 8354 lt_prog_compiler_static='-Bstatic' 8355 lt_prog_compiler_wl='-Qoption ld ' 8356 ;; 8357 *Sun\ C*) 8358 # Sun C 5.9 8359 lt_prog_compiler_pic='-KPIC' 8360 lt_prog_compiler_static='-Bstatic' 8361 lt_prog_compiler_wl='-Wl,' 8362 ;; 8363 *Intel*\ [CF]*Compiler*) 8364 lt_prog_compiler_wl='-Wl,' 8365 lt_prog_compiler_pic='-fPIC' 8366 lt_prog_compiler_static='-static' 8367 ;; 8368 *Portland\ Group*) 8369 lt_prog_compiler_wl='-Wl,' 8370 lt_prog_compiler_pic='-fpic' 8371 lt_prog_compiler_static='-Bstatic' 8372 ;; 8373 esac 8374 ;; 8375 esac 8376 ;; 8377 8378 newsos6) 8379 lt_prog_compiler_pic='-KPIC' 8380 lt_prog_compiler_static='-Bstatic' 8381 ;; 8382 8383 *nto* | *qnx*) 8384 # QNX uses GNU C++, but need to define -shared option too, otherwise 8385 # it will coredump. 8386 lt_prog_compiler_pic='-fPIC -shared' 8387 ;; 8388 8389 osf3* | osf4* | osf5*) 8390 lt_prog_compiler_wl='-Wl,' 8391 # All OSF/1 code is PIC. 8392 lt_prog_compiler_static='-non_shared' 8393 ;; 8394 8395 rdos*) 8396 lt_prog_compiler_static='-non_shared' 8397 ;; 8398 8399 solaris*) 8400 lt_prog_compiler_pic='-KPIC' 8401 lt_prog_compiler_static='-Bstatic' 8402 case $cc_basename in 8403 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8404 lt_prog_compiler_wl='-Qoption ld ';; 8405 *) 8406 lt_prog_compiler_wl='-Wl,';; 8407 esac 8408 ;; 8409 8410 sunos4*) 8411 lt_prog_compiler_wl='-Qoption ld ' 8412 lt_prog_compiler_pic='-PIC' 8413 lt_prog_compiler_static='-Bstatic' 8414 ;; 8415 8416 sysv4 | sysv4.2uw2* | sysv4.3*) 8417 lt_prog_compiler_wl='-Wl,' 8418 lt_prog_compiler_pic='-KPIC' 8419 lt_prog_compiler_static='-Bstatic' 8420 ;; 8421 8422 sysv4*MP*) 8423 if test -d /usr/nec; then 8424 lt_prog_compiler_pic='-Kconform_pic' 8425 lt_prog_compiler_static='-Bstatic' 8426 fi 8427 ;; 8428 8429 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8430 lt_prog_compiler_wl='-Wl,' 8431 lt_prog_compiler_pic='-KPIC' 8432 lt_prog_compiler_static='-Bstatic' 8433 ;; 8434 8435 unicos*) 8436 lt_prog_compiler_wl='-Wl,' 8437 lt_prog_compiler_can_build_shared=no 8438 ;; 8439 8440 uts4*) 8441 lt_prog_compiler_pic='-pic' 8442 lt_prog_compiler_static='-Bstatic' 8443 ;; 8444 8445 *) 8446 lt_prog_compiler_can_build_shared=no 8447 ;; 8448 esac 8449 fi 8450 8451case $host_os in 8452 # For platforms that do not support PIC, -DPIC is meaningless: 8453 *djgpp*) 8454 lt_prog_compiler_pic= 8455 ;; 8456 *) 8457 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8458 ;; 8459esac 8460 8461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8462$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8463if ${lt_cv_prog_compiler_pic+:} false; then : 8464 $as_echo_n "(cached) " >&6 8465else 8466 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8467fi 8468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8469$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8470lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8471 8472# 8473# Check to make sure the PIC flag actually works. 8474# 8475if test -n "$lt_prog_compiler_pic"; then 8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8477$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8478if ${lt_cv_prog_compiler_pic_works+:} false; then : 8479 $as_echo_n "(cached) " >&6 8480else 8481 lt_cv_prog_compiler_pic_works=no 8482 ac_outfile=conftest.$ac_objext 8483 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8484 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8485 # Insert the option either (1) after the last *FLAGS variable, or 8486 # (2) before a word containing "conftest.", or (3) at the end. 8487 # Note that $ac_compile itself does not contain backslashes and begins 8488 # with a dollar sign (not a hyphen), so the echo should work correctly. 8489 # The option is referenced via a variable to avoid confusing sed. 8490 lt_compile=`echo "$ac_compile" | $SED \ 8491 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8492 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8493 -e 's:$: $lt_compiler_flag:'` 8494 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8495 (eval "$lt_compile" 2>conftest.err) 8496 ac_status=$? 8497 cat conftest.err >&5 8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8499 if (exit $ac_status) && test -s "$ac_outfile"; then 8500 # The compiler can only warn and ignore the option if not recognized 8501 # So say no if there are warnings other than the usual output. 8502 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8503 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8504 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8505 lt_cv_prog_compiler_pic_works=yes 8506 fi 8507 fi 8508 $RM conftest* 8509 8510fi 8511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8512$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8513 8514if test yes = "$lt_cv_prog_compiler_pic_works"; then 8515 case $lt_prog_compiler_pic in 8516 "" | " "*) ;; 8517 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8518 esac 8519else 8520 lt_prog_compiler_pic= 8521 lt_prog_compiler_can_build_shared=no 8522fi 8523 8524fi 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536# 8537# Check to make sure the static flag actually works. 8538# 8539wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8541$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8542if ${lt_cv_prog_compiler_static_works+:} false; then : 8543 $as_echo_n "(cached) " >&6 8544else 8545 lt_cv_prog_compiler_static_works=no 8546 save_LDFLAGS=$LDFLAGS 8547 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8548 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8549 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8550 # The linker can only warn and ignore the option if not recognized 8551 # So say no if there are warnings 8552 if test -s conftest.err; then 8553 # Append any errors to the config.log. 8554 cat conftest.err 1>&5 8555 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8556 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8557 if diff conftest.exp conftest.er2 >/dev/null; then 8558 lt_cv_prog_compiler_static_works=yes 8559 fi 8560 else 8561 lt_cv_prog_compiler_static_works=yes 8562 fi 8563 fi 8564 $RM -r conftest* 8565 LDFLAGS=$save_LDFLAGS 8566 8567fi 8568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8569$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8570 8571if test yes = "$lt_cv_prog_compiler_static_works"; then 8572 : 8573else 8574 lt_prog_compiler_static= 8575fi 8576 8577 8578 8579 8580 8581 8582 8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8584$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8585if ${lt_cv_prog_compiler_c_o+:} false; then : 8586 $as_echo_n "(cached) " >&6 8587else 8588 lt_cv_prog_compiler_c_o=no 8589 $RM -r conftest 2>/dev/null 8590 mkdir conftest 8591 cd conftest 8592 mkdir out 8593 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8594 8595 lt_compiler_flag="-o out/conftest2.$ac_objext" 8596 # Insert the option either (1) after the last *FLAGS variable, or 8597 # (2) before a word containing "conftest.", or (3) at the end. 8598 # Note that $ac_compile itself does not contain backslashes and begins 8599 # with a dollar sign (not a hyphen), so the echo should work correctly. 8600 lt_compile=`echo "$ac_compile" | $SED \ 8601 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8603 -e 's:$: $lt_compiler_flag:'` 8604 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8605 (eval "$lt_compile" 2>out/conftest.err) 8606 ac_status=$? 8607 cat out/conftest.err >&5 8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8609 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8610 then 8611 # The compiler can only warn and ignore the option if not recognized 8612 # So say no if there are warnings 8613 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8614 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8615 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8616 lt_cv_prog_compiler_c_o=yes 8617 fi 8618 fi 8619 chmod u+w . 2>&5 8620 $RM conftest* 8621 # SGI C++ compiler will create directory out/ii_files/ for 8622 # template instantiation 8623 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8624 $RM out/* && rmdir out 8625 cd .. 8626 $RM -r conftest 8627 $RM conftest* 8628 8629fi 8630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8631$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8632 8633 8634 8635 8636 8637 8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8639$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8640if ${lt_cv_prog_compiler_c_o+:} false; then : 8641 $as_echo_n "(cached) " >&6 8642else 8643 lt_cv_prog_compiler_c_o=no 8644 $RM -r conftest 2>/dev/null 8645 mkdir conftest 8646 cd conftest 8647 mkdir out 8648 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8649 8650 lt_compiler_flag="-o out/conftest2.$ac_objext" 8651 # Insert the option either (1) after the last *FLAGS variable, or 8652 # (2) before a word containing "conftest.", or (3) at the end. 8653 # Note that $ac_compile itself does not contain backslashes and begins 8654 # with a dollar sign (not a hyphen), so the echo should work correctly. 8655 lt_compile=`echo "$ac_compile" | $SED \ 8656 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8657 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8658 -e 's:$: $lt_compiler_flag:'` 8659 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8660 (eval "$lt_compile" 2>out/conftest.err) 8661 ac_status=$? 8662 cat out/conftest.err >&5 8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8664 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8665 then 8666 # The compiler can only warn and ignore the option if not recognized 8667 # So say no if there are warnings 8668 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8669 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8670 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8671 lt_cv_prog_compiler_c_o=yes 8672 fi 8673 fi 8674 chmod u+w . 2>&5 8675 $RM conftest* 8676 # SGI C++ compiler will create directory out/ii_files/ for 8677 # template instantiation 8678 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8679 $RM out/* && rmdir out 8680 cd .. 8681 $RM -r conftest 8682 $RM conftest* 8683 8684fi 8685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8686$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8687 8688 8689 8690 8691hard_links=nottested 8692if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 8693 # do not overwrite the value of need_locks provided by the user 8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8695$as_echo_n "checking if we can lock with hard links... " >&6; } 8696 hard_links=yes 8697 $RM conftest* 8698 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8699 touch conftest.a 8700 ln conftest.a conftest.b 2>&5 || hard_links=no 8701 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8703$as_echo "$hard_links" >&6; } 8704 if test no = "$hard_links"; then 8705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 8706$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 8707 need_locks=warn 8708 fi 8709else 8710 need_locks=no 8711fi 8712 8713 8714 8715 8716 8717 8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8719$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8720 8721 runpath_var= 8722 allow_undefined_flag= 8723 always_export_symbols=no 8724 archive_cmds= 8725 archive_expsym_cmds= 8726 compiler_needs_object=no 8727 enable_shared_with_static_runtimes=no 8728 export_dynamic_flag_spec= 8729 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8730 hardcode_automatic=no 8731 hardcode_direct=no 8732 hardcode_direct_absolute=no 8733 hardcode_libdir_flag_spec= 8734 hardcode_libdir_separator= 8735 hardcode_minus_L=no 8736 hardcode_shlibpath_var=unsupported 8737 inherit_rpath=no 8738 link_all_deplibs=unknown 8739 module_cmds= 8740 module_expsym_cmds= 8741 old_archive_from_new_cmds= 8742 old_archive_from_expsyms_cmds= 8743 thread_safe_flag_spec= 8744 whole_archive_flag_spec= 8745 # include_expsyms should be a list of space-separated symbols to be *always* 8746 # included in the symbol list 8747 include_expsyms= 8748 # exclude_expsyms can be an extended regexp of symbols to exclude 8749 # it will be wrapped by ' (' and ')$', so one must not match beginning or 8750 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 8751 # as well as any symbol that contains 'd'. 8752 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8753 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8754 # platforms (ab)use it in PIC code, but their linkers get confused if 8755 # the symbol is explicitly referenced. Since portable code cannot 8756 # rely on this symbol name, it's probably fine to never include it in 8757 # preloaded symbol tables. 8758 # Exclude shared library initialization/finalization symbols. 8759 extract_expsyms_cmds= 8760 8761 case $host_os in 8762 cygwin* | mingw* | pw32* | cegcc*) 8763 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8764 # When not using gcc, we currently assume that we are using 8765 # Microsoft Visual C++. 8766 if test yes != "$GCC"; then 8767 with_gnu_ld=no 8768 fi 8769 ;; 8770 interix*) 8771 # we just hope/assume this is gcc and not c89 (= MSVC++) 8772 with_gnu_ld=yes 8773 ;; 8774 openbsd* | bitrig*) 8775 with_gnu_ld=no 8776 ;; 8777 esac 8778 8779 ld_shlibs=yes 8780 8781 # On some targets, GNU ld is compatible enough with the native linker 8782 # that we're better off using the native interface for both. 8783 lt_use_gnu_ld_interface=no 8784 if test yes = "$with_gnu_ld"; then 8785 case $host_os in 8786 aix*) 8787 # The AIX port of GNU ld has always aspired to compatibility 8788 # with the native linker. However, as the warning in the GNU ld 8789 # block says, versions before 2.19.5* couldn't really create working 8790 # shared libraries, regardless of the interface used. 8791 case `$LD -v 2>&1` in 8792 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8793 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8794 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8795 *) 8796 lt_use_gnu_ld_interface=yes 8797 ;; 8798 esac 8799 ;; 8800 *) 8801 lt_use_gnu_ld_interface=yes 8802 ;; 8803 esac 8804 fi 8805 8806 if test yes = "$lt_use_gnu_ld_interface"; then 8807 # If archive_cmds runs LD, not CC, wlarc should be empty 8808 wlarc='$wl' 8809 8810 # Set some defaults for GNU ld with shared library support. These 8811 # are reset later if shared libraries are not supported. Putting them 8812 # here allows them to be overridden if necessary. 8813 runpath_var=LD_RUN_PATH 8814 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8815 export_dynamic_flag_spec='$wl--export-dynamic' 8816 # ancient GNU ld didn't support --whole-archive et. al. 8817 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8818 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 8819 else 8820 whole_archive_flag_spec= 8821 fi 8822 supports_anon_versioning=no 8823 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 8824 *GNU\ gold*) supports_anon_versioning=yes ;; 8825 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8826 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8827 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8828 *\ 2.11.*) ;; # other 2.11 versions 8829 *) supports_anon_versioning=yes ;; 8830 esac 8831 8832 # See if GNU ld supports shared libraries. 8833 case $host_os in 8834 aix[3-9]*) 8835 # On AIX/PPC, the GNU linker is very broken 8836 if test ia64 != "$host_cpu"; then 8837 ld_shlibs=no 8838 cat <<_LT_EOF 1>&2 8839 8840*** Warning: the GNU linker, at least up to release 2.19, is reported 8841*** to be unable to reliably create shared libraries on AIX. 8842*** Therefore, libtool is disabling shared libraries support. If you 8843*** really care for shared libraries, you may want to install binutils 8844*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8845*** You will then need to restart the configuration process. 8846 8847_LT_EOF 8848 fi 8849 ;; 8850 8851 amigaos*) 8852 case $host_cpu in 8853 powerpc) 8854 # see comment about AmigaOS4 .so support 8855 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8856 archive_expsym_cmds='' 8857 ;; 8858 m68k) 8859 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)' 8860 hardcode_libdir_flag_spec='-L$libdir' 8861 hardcode_minus_L=yes 8862 ;; 8863 esac 8864 ;; 8865 8866 beos*) 8867 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8868 allow_undefined_flag=unsupported 8869 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8870 # support --undefined. This deserves some investigation. FIXME 8871 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8872 else 8873 ld_shlibs=no 8874 fi 8875 ;; 8876 8877 cygwin* | mingw* | pw32* | cegcc*) 8878 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8879 # as there is no search path for DLLs. 8880 hardcode_libdir_flag_spec='-L$libdir' 8881 export_dynamic_flag_spec='$wl--export-all-symbols' 8882 allow_undefined_flag=unsupported 8883 always_export_symbols=no 8884 enable_shared_with_static_runtimes=yes 8885 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 8886 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8887 8888 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8889 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8890 # If the export-symbols file already is a .def file, use it as 8891 # is; otherwise, prepend EXPORTS... 8892 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 8893 cp $export_symbols $output_objdir/$soname.def; 8894 else 8895 echo EXPORTS > $output_objdir/$soname.def; 8896 cat $export_symbols >> $output_objdir/$soname.def; 8897 fi~ 8898 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8899 else 8900 ld_shlibs=no 8901 fi 8902 ;; 8903 8904 haiku*) 8905 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8906 link_all_deplibs=yes 8907 ;; 8908 8909 os2*) 8910 hardcode_libdir_flag_spec='-L$libdir' 8911 hardcode_minus_L=yes 8912 allow_undefined_flag=unsupported 8913 shrext_cmds=.dll 8914 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 8915 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 8916 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 8917 $ECHO EXPORTS >> $output_objdir/$libname.def~ 8918 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 8919 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 8920 emximp -o $lib $output_objdir/$libname.def' 8921 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 8922 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 8923 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 8924 $ECHO EXPORTS >> $output_objdir/$libname.def~ 8925 prefix_cmds="$SED"~ 8926 if test EXPORTS = "`$SED 1q $export_symbols`"; then 8927 prefix_cmds="$prefix_cmds -e 1d"; 8928 fi~ 8929 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 8930 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 8931 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 8932 emximp -o $lib $output_objdir/$libname.def' 8933 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 8934 enable_shared_with_static_runtimes=yes 8935 ;; 8936 8937 interix[3-9]*) 8938 hardcode_direct=no 8939 hardcode_shlibpath_var=no 8940 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 8941 export_dynamic_flag_spec='$wl-E' 8942 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8943 # Instead, shared libraries are loaded at an image base (0x10000000 by 8944 # default) and relocated if they conflict, which is a slow very memory 8945 # consuming and fragmenting process. To avoid this, we pick a random, 8946 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8947 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8948 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8949 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' 8950 ;; 8951 8952 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8953 tmp_diet=no 8954 if test linux-dietlibc = "$host_os"; then 8955 case $cc_basename in 8956 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8957 esac 8958 fi 8959 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8960 && test no = "$tmp_diet" 8961 then 8962 tmp_addflag=' $pic_flag' 8963 tmp_sharedflag='-shared' 8964 case $cc_basename,$host_cpu in 8965 pgcc*) # Portland Group C compiler 8966 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' 8967 tmp_addflag=' $pic_flag' 8968 ;; 8969 pgf77* | pgf90* | pgf95* | pgfortran*) 8970 # Portland Group f77 and f90 compilers 8971 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' 8972 tmp_addflag=' $pic_flag -Mnomain' ;; 8973 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8974 tmp_addflag=' -i_dynamic' ;; 8975 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8976 tmp_addflag=' -i_dynamic -nofor_main' ;; 8977 ifc* | ifort*) # Intel Fortran compiler 8978 tmp_addflag=' -nofor_main' ;; 8979 lf95*) # Lahey Fortran 8.1 8980 whole_archive_flag_spec= 8981 tmp_sharedflag='--shared' ;; 8982 nagfor*) # NAGFOR 5.3 8983 tmp_sharedflag='-Wl,-shared' ;; 8984 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8985 tmp_sharedflag='-qmkshrobj' 8986 tmp_addflag= ;; 8987 nvcc*) # Cuda Compiler Driver 2.2 8988 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' 8989 compiler_needs_object=yes 8990 ;; 8991 esac 8992 case `$CC -V 2>&1 | sed 5q` in 8993 *Sun\ C*) # Sun C 5.9 8994 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' 8995 compiler_needs_object=yes 8996 tmp_sharedflag='-G' ;; 8997 *Sun\ F*) # Sun Fortran 8.3 8998 tmp_sharedflag='-G' ;; 8999 esac 9000 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9001 9002 if test yes = "$supports_anon_versioning"; then 9003 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9004 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9005 echo "local: *; };" >> $output_objdir/$libname.ver~ 9006 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9007 fi 9008 9009 case $cc_basename in 9010 tcc*) 9011 export_dynamic_flag_spec='-rdynamic' 9012 ;; 9013 xlf* | bgf* | bgxlf* | mpixlf*) 9014 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9015 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9016 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9017 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9018 if test yes = "$supports_anon_versioning"; then 9019 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9020 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9021 echo "local: *; };" >> $output_objdir/$libname.ver~ 9022 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9023 fi 9024 ;; 9025 esac 9026 else 9027 ld_shlibs=no 9028 fi 9029 ;; 9030 9031 netbsd*) 9032 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9033 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9034 wlarc= 9035 else 9036 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9037 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9038 fi 9039 ;; 9040 9041 solaris*) 9042 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9043 ld_shlibs=no 9044 cat <<_LT_EOF 1>&2 9045 9046*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9047*** create shared libraries on Solaris systems. Therefore, libtool 9048*** is disabling shared libraries support. We urge you to upgrade GNU 9049*** binutils to release 2.9.1 or newer. Another option is to modify 9050*** your PATH or compiler configuration so that the native linker is 9051*** used, and then restart. 9052 9053_LT_EOF 9054 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9055 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9056 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9057 else 9058 ld_shlibs=no 9059 fi 9060 ;; 9061 9062 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9063 case `$LD -v 2>&1` in 9064 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9065 ld_shlibs=no 9066 cat <<_LT_EOF 1>&2 9067 9068*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9069*** reliably create shared libraries on SCO systems. Therefore, libtool 9070*** is disabling shared libraries support. We urge you to upgrade GNU 9071*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9072*** your PATH or compiler configuration so that the native linker is 9073*** used, and then restart. 9074 9075_LT_EOF 9076 ;; 9077 *) 9078 # For security reasons, it is highly recommended that you always 9079 # use absolute paths for naming shared libraries, and exclude the 9080 # DT_RUNPATH tag from executables and libraries. But doing so 9081 # requires that you compile everything twice, which is a pain. 9082 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9083 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9084 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9085 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9086 else 9087 ld_shlibs=no 9088 fi 9089 ;; 9090 esac 9091 ;; 9092 9093 sunos4*) 9094 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9095 wlarc= 9096 hardcode_direct=yes 9097 hardcode_shlibpath_var=no 9098 ;; 9099 9100 *) 9101 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9102 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9103 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9104 else 9105 ld_shlibs=no 9106 fi 9107 ;; 9108 esac 9109 9110 if test no = "$ld_shlibs"; then 9111 runpath_var= 9112 hardcode_libdir_flag_spec= 9113 export_dynamic_flag_spec= 9114 whole_archive_flag_spec= 9115 fi 9116 else 9117 # PORTME fill in a description of your system's linker (not GNU ld) 9118 case $host_os in 9119 aix3*) 9120 allow_undefined_flag=unsupported 9121 always_export_symbols=yes 9122 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' 9123 # Note: this linker hardcodes the directories in LIBPATH if there 9124 # are no directories specified by -L. 9125 hardcode_minus_L=yes 9126 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9127 # Neither direct hardcoding nor static linking is supported with a 9128 # broken collect2. 9129 hardcode_direct=unsupported 9130 fi 9131 ;; 9132 9133 aix[4-9]*) 9134 if test ia64 = "$host_cpu"; then 9135 # On IA64, the linker does run time linking by default, so we don't 9136 # have to do anything special. 9137 aix_use_runtimelinking=no 9138 exp_sym_flag='-Bexport' 9139 no_entry_flag= 9140 else 9141 # If we're using GNU nm, then we don't want the "-C" option. 9142 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9143 # Without the "-l" option, or with the "-B" option, AIX nm treats 9144 # weak defined symbols like other global defined symbols, whereas 9145 # GNU nm marks them as "W". 9146 # While the 'weak' keyword is ignored in the Export File, we need 9147 # it in the Import File for the 'aix-soname' feature, so we have 9148 # to replace the "-B" option with "-P" for AIX nm. 9149 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9150 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 9151 else 9152 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9153 fi 9154 aix_use_runtimelinking=no 9155 9156 # Test if we are trying to use run time linking or normal 9157 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9158 # have runtime linking enabled, and use it for executables. 9159 # For shared libraries, we enable/disable runtime linking 9160 # depending on the kind of the shared library created - 9161 # when "with_aix_soname,aix_use_runtimelinking" is: 9162 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9163 # "aix,yes" lib.so shared, rtl:yes, for executables 9164 # lib.a static archive 9165 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9166 # lib.a(lib.so.V) shared, rtl:no, for executables 9167 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9168 # lib.a(lib.so.V) shared, rtl:no 9169 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9170 # lib.a static archive 9171 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9172 for ld_flag in $LDFLAGS; do 9173 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9174 aix_use_runtimelinking=yes 9175 break 9176 fi 9177 done 9178 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9179 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9180 # so we don't have lib.a shared libs to link our executables. 9181 # We have to force runtime linking in this case. 9182 aix_use_runtimelinking=yes 9183 LDFLAGS="$LDFLAGS -Wl,-brtl" 9184 fi 9185 ;; 9186 esac 9187 9188 exp_sym_flag='-bexport' 9189 no_entry_flag='-bnoentry' 9190 fi 9191 9192 # When large executables or shared objects are built, AIX ld can 9193 # have problems creating the table of contents. If linking a library 9194 # or program results in "error TOC overflow" add -mminimal-toc to 9195 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9196 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9197 9198 archive_cmds='' 9199 hardcode_direct=yes 9200 hardcode_direct_absolute=yes 9201 hardcode_libdir_separator=':' 9202 link_all_deplibs=yes 9203 file_list_spec='$wl-f,' 9204 case $with_aix_soname,$aix_use_runtimelinking in 9205 aix,*) ;; # traditional, no import file 9206 svr4,* | *,yes) # use import file 9207 # The Import File defines what to hardcode. 9208 hardcode_direct=no 9209 hardcode_direct_absolute=no 9210 ;; 9211 esac 9212 9213 if test yes = "$GCC"; then 9214 case $host_os in aix4.[012]|aix4.[012].*) 9215 # We only want to do this on AIX 4.2 and lower, the check 9216 # below for broken collect2 doesn't work under 4.3+ 9217 collect2name=`$CC -print-prog-name=collect2` 9218 if test -f "$collect2name" && 9219 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9220 then 9221 # We have reworked collect2 9222 : 9223 else 9224 # We have old collect2 9225 hardcode_direct=unsupported 9226 # It fails to find uninstalled libraries when the uninstalled 9227 # path is not listed in the libpath. Setting hardcode_minus_L 9228 # to unsupported forces relinking 9229 hardcode_minus_L=yes 9230 hardcode_libdir_flag_spec='-L$libdir' 9231 hardcode_libdir_separator= 9232 fi 9233 ;; 9234 esac 9235 shared_flag='-shared' 9236 if test yes = "$aix_use_runtimelinking"; then 9237 shared_flag="$shared_flag "'$wl-G' 9238 fi 9239 # Need to ensure runtime linking is disabled for the traditional 9240 # shared library, or the linker may eventually find shared libraries 9241 # /with/ Import File - we do not want to mix them. 9242 shared_flag_aix='-shared' 9243 shared_flag_svr4='-shared $wl-G' 9244 else 9245 # not using gcc 9246 if test ia64 = "$host_cpu"; then 9247 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9248 # chokes on -Wl,-G. The following line is correct: 9249 shared_flag='-G' 9250 else 9251 if test yes = "$aix_use_runtimelinking"; then 9252 shared_flag='$wl-G' 9253 else 9254 shared_flag='$wl-bM:SRE' 9255 fi 9256 shared_flag_aix='$wl-bM:SRE' 9257 shared_flag_svr4='$wl-G' 9258 fi 9259 fi 9260 9261 export_dynamic_flag_spec='$wl-bexpall' 9262 # It seems that -bexpall does not export symbols beginning with 9263 # underscore (_), so it is better to generate a list of symbols to export. 9264 always_export_symbols=yes 9265 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9266 # Warning - without using the other runtime loading flags (-brtl), 9267 # -berok will link without error, but may produce a broken library. 9268 allow_undefined_flag='-berok' 9269 # Determine the default libpath from the value encoded in an 9270 # empty executable. 9271 if test set = "${lt_cv_aix_libpath+set}"; then 9272 aix_libpath=$lt_cv_aix_libpath 9273else 9274 if ${lt_cv_aix_libpath_+:} false; then : 9275 $as_echo_n "(cached) " >&6 9276else 9277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9278/* end confdefs.h. */ 9279 9280int 9281main () 9282{ 9283 9284 ; 9285 return 0; 9286} 9287_ACEOF 9288if ac_fn_c_try_link "$LINENO"; then : 9289 9290 lt_aix_libpath_sed=' 9291 /Import File Strings/,/^$/ { 9292 /^0/ { 9293 s/^0 *\([^ ]*\) *$/\1/ 9294 p 9295 } 9296 }' 9297 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9298 # Check for a 64-bit object if we didn't find anything. 9299 if test -z "$lt_cv_aix_libpath_"; then 9300 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9301 fi 9302fi 9303rm -f core conftest.err conftest.$ac_objext \ 9304 conftest$ac_exeext conftest.$ac_ext 9305 if test -z "$lt_cv_aix_libpath_"; then 9306 lt_cv_aix_libpath_=/usr/lib:/lib 9307 fi 9308 9309fi 9310 9311 aix_libpath=$lt_cv_aix_libpath_ 9312fi 9313 9314 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9315 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 9316 else 9317 if test ia64 = "$host_cpu"; then 9318 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9319 allow_undefined_flag="-z nodefs" 9320 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" 9321 else 9322 # Determine the default libpath from the value encoded in an 9323 # empty executable. 9324 if test set = "${lt_cv_aix_libpath+set}"; then 9325 aix_libpath=$lt_cv_aix_libpath 9326else 9327 if ${lt_cv_aix_libpath_+:} false; then : 9328 $as_echo_n "(cached) " >&6 9329else 9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9331/* end confdefs.h. */ 9332 9333int 9334main () 9335{ 9336 9337 ; 9338 return 0; 9339} 9340_ACEOF 9341if ac_fn_c_try_link "$LINENO"; then : 9342 9343 lt_aix_libpath_sed=' 9344 /Import File Strings/,/^$/ { 9345 /^0/ { 9346 s/^0 *\([^ ]*\) *$/\1/ 9347 p 9348 } 9349 }' 9350 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9351 # Check for a 64-bit object if we didn't find anything. 9352 if test -z "$lt_cv_aix_libpath_"; then 9353 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9354 fi 9355fi 9356rm -f core conftest.err conftest.$ac_objext \ 9357 conftest$ac_exeext conftest.$ac_ext 9358 if test -z "$lt_cv_aix_libpath_"; then 9359 lt_cv_aix_libpath_=/usr/lib:/lib 9360 fi 9361 9362fi 9363 9364 aix_libpath=$lt_cv_aix_libpath_ 9365fi 9366 9367 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9368 # Warning - without using the other run time loading flags, 9369 # -berok will link without error, but may produce a broken library. 9370 no_undefined_flag=' $wl-bernotok' 9371 allow_undefined_flag=' $wl-berok' 9372 if test yes = "$with_gnu_ld"; then 9373 # We only use this code for GNU lds that support --whole-archive. 9374 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9375 else 9376 # Exported symbols can be pulled into shared objects from archives 9377 whole_archive_flag_spec='$convenience' 9378 fi 9379 archive_cmds_need_lc=yes 9380 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9381 # -brtl affects multiple linker settings, -berok does not and is overridden later 9382 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9383 if test svr4 != "$with_aix_soname"; then 9384 # This is similar to how AIX traditionally builds its shared libraries. 9385 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 9386 fi 9387 if test aix != "$with_aix_soname"; then 9388 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 9389 else 9390 # used by -dlpreopen to get the symbols 9391 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9392 fi 9393 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9394 fi 9395 fi 9396 ;; 9397 9398 amigaos*) 9399 case $host_cpu in 9400 powerpc) 9401 # see comment about AmigaOS4 .so support 9402 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9403 archive_expsym_cmds='' 9404 ;; 9405 m68k) 9406 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)' 9407 hardcode_libdir_flag_spec='-L$libdir' 9408 hardcode_minus_L=yes 9409 ;; 9410 esac 9411 ;; 9412 9413 bsdi[45]*) 9414 export_dynamic_flag_spec=-rdynamic 9415 ;; 9416 9417 cygwin* | mingw* | pw32* | cegcc*) 9418 # When not using gcc, we currently assume that we are using 9419 # Microsoft Visual C++. 9420 # hardcode_libdir_flag_spec is actually meaningless, as there is 9421 # no search path for DLLs. 9422 case $cc_basename in 9423 cl*) 9424 # Native MSVC 9425 hardcode_libdir_flag_spec=' ' 9426 allow_undefined_flag=unsupported 9427 always_export_symbols=yes 9428 file_list_spec='@' 9429 # Tell ltmain to make .lib files, not .a files. 9430 libext=lib 9431 # Tell ltmain to make .dll files, not .so files. 9432 shrext_cmds=.dll 9433 # FIXME: Setting linknames here is a bad hack. 9434 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9435 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9436 cp "$export_symbols" "$output_objdir/$soname.def"; 9437 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9438 else 9439 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9440 fi~ 9441 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9442 linknames=' 9443 # The linker will not automatically build a static lib if we build a DLL. 9444 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9445 enable_shared_with_static_runtimes=yes 9446 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9447 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9448 # Don't use ranlib 9449 old_postinstall_cmds='chmod 644 $oldlib' 9450 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9451 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9452 case $lt_outputfile in 9453 *.exe|*.EXE) ;; 9454 *) 9455 lt_outputfile=$lt_outputfile.exe 9456 lt_tool_outputfile=$lt_tool_outputfile.exe 9457 ;; 9458 esac~ 9459 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9460 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9461 $RM "$lt_outputfile.manifest"; 9462 fi' 9463 ;; 9464 *) 9465 # Assume MSVC wrapper 9466 hardcode_libdir_flag_spec=' ' 9467 allow_undefined_flag=unsupported 9468 # Tell ltmain to make .lib files, not .a files. 9469 libext=lib 9470 # Tell ltmain to make .dll files, not .so files. 9471 shrext_cmds=.dll 9472 # FIXME: Setting linknames here is a bad hack. 9473 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9474 # The linker will automatically build a .lib file if we build a DLL. 9475 old_archive_from_new_cmds='true' 9476 # FIXME: Should let the user specify the lib program. 9477 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9478 enable_shared_with_static_runtimes=yes 9479 ;; 9480 esac 9481 ;; 9482 9483 darwin* | rhapsody*) 9484 9485 9486 archive_cmds_need_lc=no 9487 hardcode_direct=no 9488 hardcode_automatic=yes 9489 hardcode_shlibpath_var=unsupported 9490 if test yes = "$lt_cv_ld_force_load"; then 9491 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\"`' 9492 9493 else 9494 whole_archive_flag_spec='' 9495 fi 9496 link_all_deplibs=yes 9497 allow_undefined_flag=$_lt_dar_allow_undefined 9498 case $cc_basename in 9499 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9500 *) _lt_dar_can_shared=$GCC ;; 9501 esac 9502 if test yes = "$_lt_dar_can_shared"; then 9503 output_verbose_link_cmd=func_echo_all 9504 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9505 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9506 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" 9507 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" 9508 9509 else 9510 ld_shlibs=no 9511 fi 9512 9513 ;; 9514 9515 dgux*) 9516 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9517 hardcode_libdir_flag_spec='-L$libdir' 9518 hardcode_shlibpath_var=no 9519 ;; 9520 9521 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9522 # support. Future versions do this automatically, but an explicit c++rt0.o 9523 # does not break anything, and helps significantly (at the cost of a little 9524 # extra space). 9525 freebsd2.2*) 9526 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9527 hardcode_libdir_flag_spec='-R$libdir' 9528 hardcode_direct=yes 9529 hardcode_shlibpath_var=no 9530 ;; 9531 9532 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9533 freebsd2.*) 9534 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9535 hardcode_direct=yes 9536 hardcode_minus_L=yes 9537 hardcode_shlibpath_var=no 9538 ;; 9539 9540 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9541 freebsd* | dragonfly*) 9542 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9543 hardcode_libdir_flag_spec='-R$libdir' 9544 hardcode_direct=yes 9545 hardcode_shlibpath_var=no 9546 ;; 9547 9548 hpux9*) 9549 if test yes = "$GCC"; then 9550 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 9551 else 9552 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 9553 fi 9554 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9555 hardcode_libdir_separator=: 9556 hardcode_direct=yes 9557 9558 # hardcode_minus_L: Not really in the search PATH, 9559 # but as the default location of the library. 9560 hardcode_minus_L=yes 9561 export_dynamic_flag_spec='$wl-E' 9562 ;; 9563 9564 hpux10*) 9565 if test yes,no = "$GCC,$with_gnu_ld"; then 9566 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9567 else 9568 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9569 fi 9570 if test no = "$with_gnu_ld"; then 9571 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9572 hardcode_libdir_separator=: 9573 hardcode_direct=yes 9574 hardcode_direct_absolute=yes 9575 export_dynamic_flag_spec='$wl-E' 9576 # hardcode_minus_L: Not really in the search PATH, 9577 # but as the default location of the library. 9578 hardcode_minus_L=yes 9579 fi 9580 ;; 9581 9582 hpux11*) 9583 if test yes,no = "$GCC,$with_gnu_ld"; then 9584 case $host_cpu in 9585 hppa*64*) 9586 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9587 ;; 9588 ia64*) 9589 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9590 ;; 9591 *) 9592 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9593 ;; 9594 esac 9595 else 9596 case $host_cpu in 9597 hppa*64*) 9598 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9599 ;; 9600 ia64*) 9601 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9602 ;; 9603 *) 9604 9605 # Older versions of the 11.00 compiler do not understand -b yet 9606 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9608$as_echo_n "checking if $CC understands -b... " >&6; } 9609if ${lt_cv_prog_compiler__b+:} false; then : 9610 $as_echo_n "(cached) " >&6 9611else 9612 lt_cv_prog_compiler__b=no 9613 save_LDFLAGS=$LDFLAGS 9614 LDFLAGS="$LDFLAGS -b" 9615 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9616 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9617 # The linker can only warn and ignore the option if not recognized 9618 # So say no if there are warnings 9619 if test -s conftest.err; then 9620 # Append any errors to the config.log. 9621 cat conftest.err 1>&5 9622 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9623 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9624 if diff conftest.exp conftest.er2 >/dev/null; then 9625 lt_cv_prog_compiler__b=yes 9626 fi 9627 else 9628 lt_cv_prog_compiler__b=yes 9629 fi 9630 fi 9631 $RM -r conftest* 9632 LDFLAGS=$save_LDFLAGS 9633 9634fi 9635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9636$as_echo "$lt_cv_prog_compiler__b" >&6; } 9637 9638if test yes = "$lt_cv_prog_compiler__b"; then 9639 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9640else 9641 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9642fi 9643 9644 ;; 9645 esac 9646 fi 9647 if test no = "$with_gnu_ld"; then 9648 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9649 hardcode_libdir_separator=: 9650 9651 case $host_cpu in 9652 hppa*64*|ia64*) 9653 hardcode_direct=no 9654 hardcode_shlibpath_var=no 9655 ;; 9656 *) 9657 hardcode_direct=yes 9658 hardcode_direct_absolute=yes 9659 export_dynamic_flag_spec='$wl-E' 9660 9661 # hardcode_minus_L: Not really in the search PATH, 9662 # but as the default location of the library. 9663 hardcode_minus_L=yes 9664 ;; 9665 esac 9666 fi 9667 ;; 9668 9669 irix5* | irix6* | nonstopux*) 9670 if test yes = "$GCC"; then 9671 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 9672 # Try to use the -exported_symbol ld option, if it does not 9673 # work, assume that -exports_file does not work either and 9674 # implicitly export all symbols. 9675 # This should be the same for all languages, so no per-tag cache variable. 9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9677$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9678if ${lt_cv_irix_exported_symbol+:} false; then : 9679 $as_echo_n "(cached) " >&6 9680else 9681 save_LDFLAGS=$LDFLAGS 9682 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 9683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9684/* end confdefs.h. */ 9685int foo (void) { return 0; } 9686_ACEOF 9687if ac_fn_c_try_link "$LINENO"; then : 9688 lt_cv_irix_exported_symbol=yes 9689else 9690 lt_cv_irix_exported_symbol=no 9691fi 9692rm -f core conftest.err conftest.$ac_objext \ 9693 conftest$ac_exeext conftest.$ac_ext 9694 LDFLAGS=$save_LDFLAGS 9695fi 9696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9697$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9698 if test yes = "$lt_cv_irix_exported_symbol"; then 9699 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' 9700 fi 9701 else 9702 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' 9703 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' 9704 fi 9705 archive_cmds_need_lc='no' 9706 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9707 hardcode_libdir_separator=: 9708 inherit_rpath=yes 9709 link_all_deplibs=yes 9710 ;; 9711 9712 linux*) 9713 case $cc_basename in 9714 tcc*) 9715 # Fabrice Bellard et al's Tiny C Compiler 9716 ld_shlibs=yes 9717 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9718 ;; 9719 esac 9720 ;; 9721 9722 netbsd*) 9723 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9724 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9725 else 9726 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9727 fi 9728 hardcode_libdir_flag_spec='-R$libdir' 9729 hardcode_direct=yes 9730 hardcode_shlibpath_var=no 9731 ;; 9732 9733 newsos6) 9734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9735 hardcode_direct=yes 9736 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9737 hardcode_libdir_separator=: 9738 hardcode_shlibpath_var=no 9739 ;; 9740 9741 *nto* | *qnx*) 9742 ;; 9743 9744 openbsd* | bitrig*) 9745 if test -f /usr/libexec/ld.so; then 9746 hardcode_direct=yes 9747 hardcode_shlibpath_var=no 9748 hardcode_direct_absolute=yes 9749 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 9750 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9751 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 9752 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9753 export_dynamic_flag_spec='$wl-E' 9754 else 9755 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9756 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9757 fi 9758 else 9759 ld_shlibs=no 9760 fi 9761 ;; 9762 9763 os2*) 9764 hardcode_libdir_flag_spec='-L$libdir' 9765 hardcode_minus_L=yes 9766 allow_undefined_flag=unsupported 9767 shrext_cmds=.dll 9768 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9769 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9770 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9771 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9772 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9773 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9774 emximp -o $lib $output_objdir/$libname.def' 9775 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9776 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9777 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9778 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9779 prefix_cmds="$SED"~ 9780 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9781 prefix_cmds="$prefix_cmds -e 1d"; 9782 fi~ 9783 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9784 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9785 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9786 emximp -o $lib $output_objdir/$libname.def' 9787 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9788 enable_shared_with_static_runtimes=yes 9789 ;; 9790 9791 osf3*) 9792 if test yes = "$GCC"; then 9793 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9794 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' 9795 else 9796 allow_undefined_flag=' -expect_unresolved \*' 9797 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' 9798 fi 9799 archive_cmds_need_lc='no' 9800 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9801 hardcode_libdir_separator=: 9802 ;; 9803 9804 osf4* | osf5*) # as osf3* with the addition of -msym flag 9805 if test yes = "$GCC"; then 9806 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9807 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 9808 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9809 else 9810 allow_undefined_flag=' -expect_unresolved \*' 9811 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' 9812 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~ 9813 $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' 9814 9815 # Both c and cxx compiler support -rpath directly 9816 hardcode_libdir_flag_spec='-rpath $libdir' 9817 fi 9818 archive_cmds_need_lc='no' 9819 hardcode_libdir_separator=: 9820 ;; 9821 9822 solaris*) 9823 no_undefined_flag=' -z defs' 9824 if test yes = "$GCC"; then 9825 wlarc='$wl' 9826 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9827 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9828 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9829 else 9830 case `$CC -V 2>&1` in 9831 *"Compilers 5.0"*) 9832 wlarc='' 9833 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 9834 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9835 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9836 ;; 9837 *) 9838 wlarc='$wl' 9839 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9840 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9841 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9842 ;; 9843 esac 9844 fi 9845 hardcode_libdir_flag_spec='-R$libdir' 9846 hardcode_shlibpath_var=no 9847 case $host_os in 9848 solaris2.[0-5] | solaris2.[0-5].*) ;; 9849 *) 9850 # The compiler driver will combine and reorder linker options, 9851 # but understands '-z linker_flag'. GCC discards it without '$wl', 9852 # but is careful enough not to reorder. 9853 # Supported since Solaris 2.6 (maybe 2.5.1?) 9854 if test yes = "$GCC"; then 9855 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 9856 else 9857 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9858 fi 9859 ;; 9860 esac 9861 link_all_deplibs=yes 9862 ;; 9863 9864 sunos4*) 9865 if test sequent = "$host_vendor"; then 9866 # Use $CC to link under sequent, because it throws in some extra .o 9867 # files that make .init and .fini sections work. 9868 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9869 else 9870 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9871 fi 9872 hardcode_libdir_flag_spec='-L$libdir' 9873 hardcode_direct=yes 9874 hardcode_minus_L=yes 9875 hardcode_shlibpath_var=no 9876 ;; 9877 9878 sysv4) 9879 case $host_vendor in 9880 sni) 9881 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9882 hardcode_direct=yes # is this really true??? 9883 ;; 9884 siemens) 9885 ## LD is ld it makes a PLAMLIB 9886 ## CC just makes a GrossModule. 9887 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9888 reload_cmds='$CC -r -o $output$reload_objs' 9889 hardcode_direct=no 9890 ;; 9891 motorola) 9892 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9893 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9894 ;; 9895 esac 9896 runpath_var='LD_RUN_PATH' 9897 hardcode_shlibpath_var=no 9898 ;; 9899 9900 sysv4.3*) 9901 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9902 hardcode_shlibpath_var=no 9903 export_dynamic_flag_spec='-Bexport' 9904 ;; 9905 9906 sysv4*MP*) 9907 if test -d /usr/nec; then 9908 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9909 hardcode_shlibpath_var=no 9910 runpath_var=LD_RUN_PATH 9911 hardcode_runpath_var=yes 9912 ld_shlibs=yes 9913 fi 9914 ;; 9915 9916 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9917 no_undefined_flag='$wl-z,text' 9918 archive_cmds_need_lc=no 9919 hardcode_shlibpath_var=no 9920 runpath_var='LD_RUN_PATH' 9921 9922 if test yes = "$GCC"; then 9923 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9924 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9925 else 9926 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9927 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9928 fi 9929 ;; 9930 9931 sysv5* | sco3.2v5* | sco5v6*) 9932 # Note: We CANNOT use -z defs as we might desire, because we do not 9933 # link with -lc, and that would cause any symbols used from libc to 9934 # always be unresolved, which means just about no library would 9935 # ever link correctly. If we're not using GNU ld we use -z text 9936 # though, which does catch some bad symbols but isn't as heavy-handed 9937 # as -z defs. 9938 no_undefined_flag='$wl-z,text' 9939 allow_undefined_flag='$wl-z,nodefs' 9940 archive_cmds_need_lc=no 9941 hardcode_shlibpath_var=no 9942 hardcode_libdir_flag_spec='$wl-R,$libdir' 9943 hardcode_libdir_separator=':' 9944 link_all_deplibs=yes 9945 export_dynamic_flag_spec='$wl-Bexport' 9946 runpath_var='LD_RUN_PATH' 9947 9948 if test yes = "$GCC"; then 9949 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9950 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9951 else 9952 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9953 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9954 fi 9955 ;; 9956 9957 uts4*) 9958 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9959 hardcode_libdir_flag_spec='-L$libdir' 9960 hardcode_shlibpath_var=no 9961 ;; 9962 9963 *) 9964 ld_shlibs=no 9965 ;; 9966 esac 9967 9968 if test sni = "$host_vendor"; then 9969 case $host in 9970 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9971 export_dynamic_flag_spec='$wl-Blargedynsym' 9972 ;; 9973 esac 9974 fi 9975 fi 9976 9977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9978$as_echo "$ld_shlibs" >&6; } 9979test no = "$ld_shlibs" && can_build_shared=no 9980 9981with_gnu_ld=$with_gnu_ld 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997# 9998# Do we need to explicitly link libc? 9999# 10000case "x$archive_cmds_need_lc" in 10001x|xyes) 10002 # Assume -lc should be added 10003 archive_cmds_need_lc=yes 10004 10005 if test yes,yes = "$GCC,$enable_shared"; then 10006 case $archive_cmds in 10007 *'~'*) 10008 # FIXME: we may have to deal with multi-command sequences. 10009 ;; 10010 '$CC '*) 10011 # Test whether the compiler implicitly links with -lc since on some 10012 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10013 # to ld, don't add -lc before -lgcc. 10014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10015$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10016if ${lt_cv_archive_cmds_need_lc+:} false; then : 10017 $as_echo_n "(cached) " >&6 10018else 10019 $RM conftest* 10020 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10021 10022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10023 (eval $ac_compile) 2>&5 10024 ac_status=$? 10025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10026 test $ac_status = 0; } 2>conftest.err; then 10027 soname=conftest 10028 lib=conftest 10029 libobjs=conftest.$ac_objext 10030 deplibs= 10031 wl=$lt_prog_compiler_wl 10032 pic_flag=$lt_prog_compiler_pic 10033 compiler_flags=-v 10034 linker_flags=-v 10035 verstring= 10036 output_objdir=. 10037 libname=conftest 10038 lt_save_allow_undefined_flag=$allow_undefined_flag 10039 allow_undefined_flag= 10040 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10041 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10042 ac_status=$? 10043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10044 test $ac_status = 0; } 10045 then 10046 lt_cv_archive_cmds_need_lc=no 10047 else 10048 lt_cv_archive_cmds_need_lc=yes 10049 fi 10050 allow_undefined_flag=$lt_save_allow_undefined_flag 10051 else 10052 cat conftest.err 1>&5 10053 fi 10054 $RM conftest* 10055 10056fi 10057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10058$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10059 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10060 ;; 10061 esac 10062 fi 10063 ;; 10064esac 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10218$as_echo_n "checking dynamic linker characteristics... " >&6; } 10219 10220if test yes = "$GCC"; then 10221 case $host_os in 10222 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10223 *) lt_awk_arg='/^libraries:/' ;; 10224 esac 10225 case $host_os in 10226 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10227 *) lt_sed_strip_eq='s|=/|/|g' ;; 10228 esac 10229 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10230 case $lt_search_path_spec in 10231 *\;*) 10232 # if the path contains ";" then we assume it to be the separator 10233 # otherwise default to the standard path separator (i.e. ":") - it is 10234 # assumed that no part of a normal pathname contains ";" but that should 10235 # okay in the real world where ";" in dirpaths is itself problematic. 10236 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10237 ;; 10238 *) 10239 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10240 ;; 10241 esac 10242 # Ok, now we have the path, separated by spaces, we can step through it 10243 # and add multilib dir if necessary... 10244 lt_tmp_lt_search_path_spec= 10245 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10246 # ...but if some path component already ends with the multilib dir we assume 10247 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10248 case "$lt_multi_os_dir; $lt_search_path_spec " in 10249 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10250 lt_multi_os_dir= 10251 ;; 10252 esac 10253 for lt_sys_path in $lt_search_path_spec; do 10254 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10255 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10256 elif test -n "$lt_multi_os_dir"; then 10257 test -d "$lt_sys_path" && \ 10258 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10259 fi 10260 done 10261 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10262BEGIN {RS = " "; FS = "/|\n";} { 10263 lt_foo = ""; 10264 lt_count = 0; 10265 for (lt_i = NF; lt_i > 0; lt_i--) { 10266 if ($lt_i != "" && $lt_i != ".") { 10267 if ($lt_i == "..") { 10268 lt_count++; 10269 } else { 10270 if (lt_count == 0) { 10271 lt_foo = "/" $lt_i lt_foo; 10272 } else { 10273 lt_count--; 10274 } 10275 } 10276 } 10277 } 10278 if (lt_foo != "") { lt_freq[lt_foo]++; } 10279 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10280}'` 10281 # AWK program above erroneously prepends '/' to C:/dos/paths 10282 # for these hosts. 10283 case $host_os in 10284 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10285 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10286 esac 10287 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10288else 10289 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10290fi 10291library_names_spec= 10292libname_spec='lib$name' 10293soname_spec= 10294shrext_cmds=.so 10295postinstall_cmds= 10296postuninstall_cmds= 10297finish_cmds= 10298finish_eval= 10299shlibpath_var= 10300shlibpath_overrides_runpath=unknown 10301version_type=none 10302dynamic_linker="$host_os ld.so" 10303sys_lib_dlsearch_path_spec="/lib /usr/lib" 10304need_lib_prefix=unknown 10305hardcode_into_libs=no 10306 10307# when you set need_version to no, make sure it does not cause -set_version 10308# flags to be left without arguments 10309need_version=unknown 10310 10311 10312 10313case $host_os in 10314aix3*) 10315 version_type=linux # correct to gnu/linux during the next big refactor 10316 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10317 shlibpath_var=LIBPATH 10318 10319 # AIX 3 has no versioning support, so we append a major version to the name. 10320 soname_spec='$libname$release$shared_ext$major' 10321 ;; 10322 10323aix[4-9]*) 10324 version_type=linux # correct to gnu/linux during the next big refactor 10325 need_lib_prefix=no 10326 need_version=no 10327 hardcode_into_libs=yes 10328 if test ia64 = "$host_cpu"; then 10329 # AIX 5 supports IA64 10330 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10331 shlibpath_var=LD_LIBRARY_PATH 10332 else 10333 # With GCC up to 2.95.x, collect2 would create an import file 10334 # for dependence libraries. The import file would start with 10335 # the line '#! .'. This would cause the generated library to 10336 # depend on '.', always an invalid library. This was fixed in 10337 # development snapshots of GCC prior to 3.0. 10338 case $host_os in 10339 aix4 | aix4.[01] | aix4.[01].*) 10340 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10341 echo ' yes ' 10342 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10343 : 10344 else 10345 can_build_shared=no 10346 fi 10347 ;; 10348 esac 10349 # Using Import Files as archive members, it is possible to support 10350 # filename-based versioning of shared library archives on AIX. While 10351 # this would work for both with and without runtime linking, it will 10352 # prevent static linking of such archives. So we do filename-based 10353 # shared library versioning with .so extension only, which is used 10354 # when both runtime linking and shared linking is enabled. 10355 # Unfortunately, runtime linking may impact performance, so we do 10356 # not want this to be the default eventually. Also, we use the 10357 # versioned .so libs for executables only if there is the -brtl 10358 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10359 # To allow for filename-based versioning support, we need to create 10360 # libNAME.so.V as an archive file, containing: 10361 # *) an Import File, referring to the versioned filename of the 10362 # archive as well as the shared archive member, telling the 10363 # bitwidth (32 or 64) of that shared object, and providing the 10364 # list of exported symbols of that shared object, eventually 10365 # decorated with the 'weak' keyword 10366 # *) the shared object with the F_LOADONLY flag set, to really avoid 10367 # it being seen by the linker. 10368 # At run time we better use the real file rather than another symlink, 10369 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10370 10371 case $with_aix_soname,$aix_use_runtimelinking in 10372 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10373 # soname into executable. Probably we can add versioning support to 10374 # collect2, so additional links can be useful in future. 10375 aix,yes) # traditional libtool 10376 dynamic_linker='AIX unversionable lib.so' 10377 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10378 # instead of lib<name>.a to let people know that these are not 10379 # typical AIX shared libraries. 10380 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10381 ;; 10382 aix,no) # traditional AIX only 10383 dynamic_linker='AIX lib.a(lib.so.V)' 10384 # We preserve .a as extension for shared libraries through AIX4.2 10385 # and later when we are not doing run time linking. 10386 library_names_spec='$libname$release.a $libname.a' 10387 soname_spec='$libname$release$shared_ext$major' 10388 ;; 10389 svr4,*) # full svr4 only 10390 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10391 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10392 # We do not specify a path in Import Files, so LIBPATH fires. 10393 shlibpath_overrides_runpath=yes 10394 ;; 10395 *,yes) # both, prefer svr4 10396 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10397 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10398 # unpreferred sharedlib libNAME.a needs extra handling 10399 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 10400 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 10401 # We do not specify a path in Import Files, so LIBPATH fires. 10402 shlibpath_overrides_runpath=yes 10403 ;; 10404 *,no) # both, prefer aix 10405 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10406 library_names_spec='$libname$release.a $libname.a' 10407 soname_spec='$libname$release$shared_ext$major' 10408 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10409 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 10410 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 10411 ;; 10412 esac 10413 shlibpath_var=LIBPATH 10414 fi 10415 ;; 10416 10417amigaos*) 10418 case $host_cpu in 10419 powerpc) 10420 # Since July 2007 AmigaOS4 officially supports .so libraries. 10421 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10422 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10423 ;; 10424 m68k) 10425 library_names_spec='$libname.ixlibrary $libname.a' 10426 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10427 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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' 10428 ;; 10429 esac 10430 ;; 10431 10432beos*) 10433 library_names_spec='$libname$shared_ext' 10434 dynamic_linker="$host_os ld.so" 10435 shlibpath_var=LIBRARY_PATH 10436 ;; 10437 10438bsdi[45]*) 10439 version_type=linux # correct to gnu/linux during the next big refactor 10440 need_version=no 10441 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10442 soname_spec='$libname$release$shared_ext$major' 10443 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10444 shlibpath_var=LD_LIBRARY_PATH 10445 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10446 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10447 # the default ld.so.conf also contains /usr/contrib/lib and 10448 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10449 # libtool to hard-code these into programs 10450 ;; 10451 10452cygwin* | mingw* | pw32* | cegcc*) 10453 version_type=windows 10454 shrext_cmds=.dll 10455 need_version=no 10456 need_lib_prefix=no 10457 10458 case $GCC,$cc_basename in 10459 yes,*) 10460 # gcc 10461 library_names_spec='$libname.dll.a' 10462 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10463 postinstall_cmds='base_file=`basename \$file`~ 10464 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10465 dldir=$destdir/`dirname \$dlpath`~ 10466 test -d \$dldir || mkdir -p \$dldir~ 10467 $install_prog $dir/$dlname \$dldir/$dlname~ 10468 chmod a+x \$dldir/$dlname~ 10469 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10470 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10471 fi' 10472 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10473 dlpath=$dir/\$dldll~ 10474 $RM \$dlpath' 10475 shlibpath_overrides_runpath=yes 10476 10477 case $host_os in 10478 cygwin*) 10479 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10480 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10481 10482 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10483 ;; 10484 mingw* | cegcc*) 10485 # MinGW DLLs use traditional 'lib' prefix 10486 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10487 ;; 10488 pw32*) 10489 # pw32 DLLs use 'pw' prefix rather than 'lib' 10490 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10491 ;; 10492 esac 10493 dynamic_linker='Win32 ld.exe' 10494 ;; 10495 10496 *,cl*) 10497 # Native MSVC 10498 libname_spec='$name' 10499 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10500 library_names_spec='$libname.dll.lib' 10501 10502 case $build_os in 10503 mingw*) 10504 sys_lib_search_path_spec= 10505 lt_save_ifs=$IFS 10506 IFS=';' 10507 for lt_path in $LIB 10508 do 10509 IFS=$lt_save_ifs 10510 # Let DOS variable expansion print the short 8.3 style file name. 10511 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10512 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10513 done 10514 IFS=$lt_save_ifs 10515 # Convert to MSYS style. 10516 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10517 ;; 10518 cygwin*) 10519 # Convert to unix form, then to dos form, then back to unix form 10520 # but this time dos style (no spaces!) so that the unix form looks 10521 # like /cygdrive/c/PROGRA~1:/cygdr... 10522 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10523 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10524 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10525 ;; 10526 *) 10527 sys_lib_search_path_spec=$LIB 10528 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10529 # It is most probably a Windows format PATH. 10530 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10531 else 10532 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10533 fi 10534 # FIXME: find the short name or the path components, as spaces are 10535 # common. (e.g. "Program Files" -> "PROGRA~1") 10536 ;; 10537 esac 10538 10539 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10540 postinstall_cmds='base_file=`basename \$file`~ 10541 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10542 dldir=$destdir/`dirname \$dlpath`~ 10543 test -d \$dldir || mkdir -p \$dldir~ 10544 $install_prog $dir/$dlname \$dldir/$dlname' 10545 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10546 dlpath=$dir/\$dldll~ 10547 $RM \$dlpath' 10548 shlibpath_overrides_runpath=yes 10549 dynamic_linker='Win32 link.exe' 10550 ;; 10551 10552 *) 10553 # Assume MSVC wrapper 10554 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10555 dynamic_linker='Win32 ld.exe' 10556 ;; 10557 esac 10558 # FIXME: first we should search . and the directory the executable is in 10559 shlibpath_var=PATH 10560 ;; 10561 10562darwin* | rhapsody*) 10563 dynamic_linker="$host_os dyld" 10564 version_type=darwin 10565 need_lib_prefix=no 10566 need_version=no 10567 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10568 soname_spec='$libname$release$major$shared_ext' 10569 shlibpath_overrides_runpath=yes 10570 shlibpath_var=DYLD_LIBRARY_PATH 10571 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10572 10573 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10574 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10575 ;; 10576 10577dgux*) 10578 version_type=linux # correct to gnu/linux during the next big refactor 10579 need_lib_prefix=no 10580 need_version=no 10581 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10582 soname_spec='$libname$release$shared_ext$major' 10583 shlibpath_var=LD_LIBRARY_PATH 10584 ;; 10585 10586freebsd* | dragonfly*) 10587 # DragonFly does not have aout. When/if they implement a new 10588 # versioning mechanism, adjust this. 10589 if test -x /usr/bin/objformat; then 10590 objformat=`/usr/bin/objformat` 10591 else 10592 case $host_os in 10593 freebsd[23].*) objformat=aout ;; 10594 *) objformat=elf ;; 10595 esac 10596 fi 10597 version_type=freebsd-$objformat 10598 case $version_type in 10599 freebsd-elf*) 10600 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10601 soname_spec='$libname$release$shared_ext$major' 10602 need_version=no 10603 need_lib_prefix=no 10604 ;; 10605 freebsd-*) 10606 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10607 need_version=yes 10608 ;; 10609 esac 10610 shlibpath_var=LD_LIBRARY_PATH 10611 case $host_os in 10612 freebsd2.*) 10613 shlibpath_overrides_runpath=yes 10614 ;; 10615 freebsd3.[01]* | freebsdelf3.[01]*) 10616 shlibpath_overrides_runpath=yes 10617 hardcode_into_libs=yes 10618 ;; 10619 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10620 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10621 shlibpath_overrides_runpath=no 10622 hardcode_into_libs=yes 10623 ;; 10624 *) # from 4.6 on, and DragonFly 10625 shlibpath_overrides_runpath=yes 10626 hardcode_into_libs=yes 10627 ;; 10628 esac 10629 ;; 10630 10631haiku*) 10632 version_type=linux # correct to gnu/linux during the next big refactor 10633 need_lib_prefix=no 10634 need_version=no 10635 dynamic_linker="$host_os runtime_loader" 10636 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10637 soname_spec='$libname$release$shared_ext$major' 10638 shlibpath_var=LIBRARY_PATH 10639 shlibpath_overrides_runpath=no 10640 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10641 hardcode_into_libs=yes 10642 ;; 10643 10644hpux9* | hpux10* | hpux11*) 10645 # Give a soname corresponding to the major version so that dld.sl refuses to 10646 # link against other versions. 10647 version_type=sunos 10648 need_lib_prefix=no 10649 need_version=no 10650 case $host_cpu in 10651 ia64*) 10652 shrext_cmds='.so' 10653 hardcode_into_libs=yes 10654 dynamic_linker="$host_os dld.so" 10655 shlibpath_var=LD_LIBRARY_PATH 10656 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10657 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10658 soname_spec='$libname$release$shared_ext$major' 10659 if test 32 = "$HPUX_IA64_MODE"; then 10660 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10661 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 10662 else 10663 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10664 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 10665 fi 10666 ;; 10667 hppa*64*) 10668 shrext_cmds='.sl' 10669 hardcode_into_libs=yes 10670 dynamic_linker="$host_os dld.sl" 10671 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10672 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10673 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10674 soname_spec='$libname$release$shared_ext$major' 10675 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10676 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10677 ;; 10678 *) 10679 shrext_cmds='.sl' 10680 dynamic_linker="$host_os dld.sl" 10681 shlibpath_var=SHLIB_PATH 10682 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10683 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10684 soname_spec='$libname$release$shared_ext$major' 10685 ;; 10686 esac 10687 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10688 postinstall_cmds='chmod 555 $lib' 10689 # or fails outright, so override atomically: 10690 install_override_mode=555 10691 ;; 10692 10693interix[3-9]*) 10694 version_type=linux # correct to gnu/linux during the next big refactor 10695 need_lib_prefix=no 10696 need_version=no 10697 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10698 soname_spec='$libname$release$shared_ext$major' 10699 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10700 shlibpath_var=LD_LIBRARY_PATH 10701 shlibpath_overrides_runpath=no 10702 hardcode_into_libs=yes 10703 ;; 10704 10705irix5* | irix6* | nonstopux*) 10706 case $host_os in 10707 nonstopux*) version_type=nonstopux ;; 10708 *) 10709 if test yes = "$lt_cv_prog_gnu_ld"; then 10710 version_type=linux # correct to gnu/linux during the next big refactor 10711 else 10712 version_type=irix 10713 fi ;; 10714 esac 10715 need_lib_prefix=no 10716 need_version=no 10717 soname_spec='$libname$release$shared_ext$major' 10718 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 10719 case $host_os in 10720 irix5* | nonstopux*) 10721 libsuff= shlibsuff= 10722 ;; 10723 *) 10724 case $LD in # libtool.m4 will add one of these switches to LD 10725 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10726 libsuff= shlibsuff= libmagic=32-bit;; 10727 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10728 libsuff=32 shlibsuff=N32 libmagic=N32;; 10729 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10730 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10731 *) libsuff= shlibsuff= libmagic=never-match;; 10732 esac 10733 ;; 10734 esac 10735 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10736 shlibpath_overrides_runpath=no 10737 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 10738 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 10739 hardcode_into_libs=yes 10740 ;; 10741 10742# No shared lib support for Linux oldld, aout, or coff. 10743linux*oldld* | linux*aout* | linux*coff*) 10744 dynamic_linker=no 10745 ;; 10746 10747linux*android*) 10748 version_type=none # Android doesn't support versioned libraries. 10749 need_lib_prefix=no 10750 need_version=no 10751 library_names_spec='$libname$release$shared_ext' 10752 soname_spec='$libname$release$shared_ext' 10753 finish_cmds= 10754 shlibpath_var=LD_LIBRARY_PATH 10755 shlibpath_overrides_runpath=yes 10756 10757 # This implies no fast_install, which is unacceptable. 10758 # Some rework will be needed to allow for fast_install 10759 # before this can be enabled. 10760 hardcode_into_libs=yes 10761 10762 dynamic_linker='Android linker' 10763 # Don't embed -rpath directories since the linker doesn't support them. 10764 hardcode_libdir_flag_spec='-L$libdir' 10765 ;; 10766 10767# This must be glibc/ELF. 10768linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10769 version_type=linux # correct to gnu/linux during the next big refactor 10770 need_lib_prefix=no 10771 need_version=no 10772 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10773 soname_spec='$libname$release$shared_ext$major' 10774 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10775 shlibpath_var=LD_LIBRARY_PATH 10776 shlibpath_overrides_runpath=no 10777 10778 # Some binutils ld are patched to set DT_RUNPATH 10779 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10780 $as_echo_n "(cached) " >&6 10781else 10782 lt_cv_shlibpath_overrides_runpath=no 10783 save_LDFLAGS=$LDFLAGS 10784 save_libdir=$libdir 10785 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10786 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10788/* end confdefs.h. */ 10789 10790int 10791main () 10792{ 10793 10794 ; 10795 return 0; 10796} 10797_ACEOF 10798if ac_fn_c_try_link "$LINENO"; then : 10799 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10800 lt_cv_shlibpath_overrides_runpath=yes 10801fi 10802fi 10803rm -f core conftest.err conftest.$ac_objext \ 10804 conftest$ac_exeext conftest.$ac_ext 10805 LDFLAGS=$save_LDFLAGS 10806 libdir=$save_libdir 10807 10808fi 10809 10810 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10811 10812 # This implies no fast_install, which is unacceptable. 10813 # Some rework will be needed to allow for fast_install 10814 # before this can be enabled. 10815 hardcode_into_libs=yes 10816 10817 # Ideally, we could use ldconfig to report *all* directores which are 10818 # searched for libraries, however this is still not possible. Aside from not 10819 # being certain /sbin/ldconfig is available, command 10820 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 10821 # even though it is searched at run-time. Try to do the best guess by 10822 # appending ld.so.conf contents (and includes) to the search path. 10823 if test -f /etc/ld.so.conf; then 10824 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' ' '` 10825 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10826 fi 10827 10828 # We used to test for /lib/ld.so.1 and disable shared libraries on 10829 # powerpc, because MkLinux only supported shared libraries with the 10830 # GNU dynamic linker. Since this was broken with cross compilers, 10831 # most powerpc-linux boxes support dynamic linking these days and 10832 # people can always --disable-shared, the test was removed, and we 10833 # assume the GNU/Linux dynamic linker is in use. 10834 dynamic_linker='GNU/Linux ld.so' 10835 ;; 10836 10837netbsd*) 10838 version_type=sunos 10839 need_lib_prefix=no 10840 need_version=no 10841 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10842 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10843 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10844 dynamic_linker='NetBSD (a.out) ld.so' 10845 else 10846 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10847 soname_spec='$libname$release$shared_ext$major' 10848 dynamic_linker='NetBSD ld.elf_so' 10849 fi 10850 shlibpath_var=LD_LIBRARY_PATH 10851 shlibpath_overrides_runpath=yes 10852 hardcode_into_libs=yes 10853 ;; 10854 10855newsos6) 10856 version_type=linux # correct to gnu/linux during the next big refactor 10857 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10858 shlibpath_var=LD_LIBRARY_PATH 10859 shlibpath_overrides_runpath=yes 10860 ;; 10861 10862*nto* | *qnx*) 10863 version_type=qnx 10864 need_lib_prefix=no 10865 need_version=no 10866 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10867 soname_spec='$libname$release$shared_ext$major' 10868 shlibpath_var=LD_LIBRARY_PATH 10869 shlibpath_overrides_runpath=no 10870 hardcode_into_libs=yes 10871 dynamic_linker='ldqnx.so' 10872 ;; 10873 10874openbsd* | bitrig*) 10875 version_type=sunos 10876 sys_lib_dlsearch_path_spec=/usr/lib 10877 need_lib_prefix=no 10878 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10879 need_version=no 10880 else 10881 need_version=yes 10882 fi 10883 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10884 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10885 shlibpath_var=LD_LIBRARY_PATH 10886 shlibpath_overrides_runpath=yes 10887 ;; 10888 10889os2*) 10890 libname_spec='$name' 10891 version_type=windows 10892 shrext_cmds=.dll 10893 need_version=no 10894 need_lib_prefix=no 10895 # OS/2 can only load a DLL with a base name of 8 characters or less. 10896 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 10897 v=$($ECHO $release$versuffix | tr -d .-); 10898 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 10899 $ECHO $n$v`$shared_ext' 10900 library_names_spec='${libname}_dll.$libext' 10901 dynamic_linker='OS/2 ld.exe' 10902 shlibpath_var=BEGINLIBPATH 10903 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10904 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10905 postinstall_cmds='base_file=`basename \$file`~ 10906 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 10907 dldir=$destdir/`dirname \$dlpath`~ 10908 test -d \$dldir || mkdir -p \$dldir~ 10909 $install_prog $dir/$dlname \$dldir/$dlname~ 10910 chmod a+x \$dldir/$dlname~ 10911 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10912 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10913 fi' 10914 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 10915 dlpath=$dir/\$dldll~ 10916 $RM \$dlpath' 10917 ;; 10918 10919osf3* | osf4* | osf5*) 10920 version_type=osf 10921 need_lib_prefix=no 10922 need_version=no 10923 soname_spec='$libname$release$shared_ext$major' 10924 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10925 shlibpath_var=LD_LIBRARY_PATH 10926 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10927 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10928 ;; 10929 10930rdos*) 10931 dynamic_linker=no 10932 ;; 10933 10934solaris*) 10935 version_type=linux # correct to gnu/linux during the next big refactor 10936 need_lib_prefix=no 10937 need_version=no 10938 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10939 soname_spec='$libname$release$shared_ext$major' 10940 shlibpath_var=LD_LIBRARY_PATH 10941 shlibpath_overrides_runpath=yes 10942 hardcode_into_libs=yes 10943 # ldd complains unless libraries are executable 10944 postinstall_cmds='chmod +x $lib' 10945 ;; 10946 10947sunos4*) 10948 version_type=sunos 10949 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10950 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10951 shlibpath_var=LD_LIBRARY_PATH 10952 shlibpath_overrides_runpath=yes 10953 if test yes = "$with_gnu_ld"; then 10954 need_lib_prefix=no 10955 fi 10956 need_version=yes 10957 ;; 10958 10959sysv4 | sysv4.3*) 10960 version_type=linux # correct to gnu/linux during the next big refactor 10961 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10962 soname_spec='$libname$release$shared_ext$major' 10963 shlibpath_var=LD_LIBRARY_PATH 10964 case $host_vendor in 10965 sni) 10966 shlibpath_overrides_runpath=no 10967 need_lib_prefix=no 10968 runpath_var=LD_RUN_PATH 10969 ;; 10970 siemens) 10971 need_lib_prefix=no 10972 ;; 10973 motorola) 10974 need_lib_prefix=no 10975 need_version=no 10976 shlibpath_overrides_runpath=no 10977 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10978 ;; 10979 esac 10980 ;; 10981 10982sysv4*MP*) 10983 if test -d /usr/nec; then 10984 version_type=linux # correct to gnu/linux during the next big refactor 10985 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 10986 soname_spec='$libname$shared_ext.$major' 10987 shlibpath_var=LD_LIBRARY_PATH 10988 fi 10989 ;; 10990 10991sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10992 version_type=sco 10993 need_lib_prefix=no 10994 need_version=no 10995 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 10996 soname_spec='$libname$release$shared_ext$major' 10997 shlibpath_var=LD_LIBRARY_PATH 10998 shlibpath_overrides_runpath=yes 10999 hardcode_into_libs=yes 11000 if test yes = "$with_gnu_ld"; then 11001 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11002 else 11003 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11004 case $host_os in 11005 sco3.2v5*) 11006 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11007 ;; 11008 esac 11009 fi 11010 sys_lib_dlsearch_path_spec='/usr/lib' 11011 ;; 11012 11013tpf*) 11014 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11015 version_type=linux # correct to gnu/linux during the next big refactor 11016 need_lib_prefix=no 11017 need_version=no 11018 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11019 shlibpath_var=LD_LIBRARY_PATH 11020 shlibpath_overrides_runpath=no 11021 hardcode_into_libs=yes 11022 ;; 11023 11024uts4*) 11025 version_type=linux # correct to gnu/linux during the next big refactor 11026 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11027 soname_spec='$libname$release$shared_ext$major' 11028 shlibpath_var=LD_LIBRARY_PATH 11029 ;; 11030 11031*) 11032 dynamic_linker=no 11033 ;; 11034esac 11035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11036$as_echo "$dynamic_linker" >&6; } 11037test no = "$dynamic_linker" && can_build_shared=no 11038 11039variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11040if test yes = "$GCC"; then 11041 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11042fi 11043 11044if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11045 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11046fi 11047 11048if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11049 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11050fi 11051 11052# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11053configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11054 11055# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11056func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11057 11058# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11059configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11158$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11159hardcode_action= 11160if test -n "$hardcode_libdir_flag_spec" || 11161 test -n "$runpath_var" || 11162 test yes = "$hardcode_automatic"; then 11163 11164 # We can hardcode non-existent directories. 11165 if test no != "$hardcode_direct" && 11166 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11167 # have to relink, otherwise we might link with an installed library 11168 # when we should be linking with a yet-to-be-installed one 11169 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11170 test no != "$hardcode_minus_L"; then 11171 # Linking always hardcodes the temporary library directory. 11172 hardcode_action=relink 11173 else 11174 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11175 hardcode_action=immediate 11176 fi 11177else 11178 # We cannot hardcode anything, or else we can only hardcode existing 11179 # directories. 11180 hardcode_action=unsupported 11181fi 11182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11183$as_echo "$hardcode_action" >&6; } 11184 11185if test relink = "$hardcode_action" || 11186 test yes = "$inherit_rpath"; then 11187 # Fast installation is not supported 11188 enable_fast_install=no 11189elif test yes = "$shlibpath_overrides_runpath" || 11190 test no = "$enable_shared"; then 11191 # Fast installation is not necessary 11192 enable_fast_install=needless 11193fi 11194 11195 11196 11197 11198 11199 11200 if test yes != "$enable_dlopen"; then 11201 enable_dlopen=unknown 11202 enable_dlopen_self=unknown 11203 enable_dlopen_self_static=unknown 11204else 11205 lt_cv_dlopen=no 11206 lt_cv_dlopen_libs= 11207 11208 case $host_os in 11209 beos*) 11210 lt_cv_dlopen=load_add_on 11211 lt_cv_dlopen_libs= 11212 lt_cv_dlopen_self=yes 11213 ;; 11214 11215 mingw* | pw32* | cegcc*) 11216 lt_cv_dlopen=LoadLibrary 11217 lt_cv_dlopen_libs= 11218 ;; 11219 11220 cygwin*) 11221 lt_cv_dlopen=dlopen 11222 lt_cv_dlopen_libs= 11223 ;; 11224 11225 darwin*) 11226 # if libdl is installed we need to link against it 11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11228$as_echo_n "checking for dlopen in -ldl... " >&6; } 11229if ${ac_cv_lib_dl_dlopen+:} false; then : 11230 $as_echo_n "(cached) " >&6 11231else 11232 ac_check_lib_save_LIBS=$LIBS 11233LIBS="-ldl $LIBS" 11234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11235/* end confdefs.h. */ 11236 11237/* Override any GCC internal prototype to avoid an error. 11238 Use char because int might match the return type of a GCC 11239 builtin and then its argument prototype would still apply. */ 11240#ifdef __cplusplus 11241extern "C" 11242#endif 11243char dlopen (); 11244int 11245main () 11246{ 11247return dlopen (); 11248 ; 11249 return 0; 11250} 11251_ACEOF 11252if ac_fn_c_try_link "$LINENO"; then : 11253 ac_cv_lib_dl_dlopen=yes 11254else 11255 ac_cv_lib_dl_dlopen=no 11256fi 11257rm -f core conftest.err conftest.$ac_objext \ 11258 conftest$ac_exeext conftest.$ac_ext 11259LIBS=$ac_check_lib_save_LIBS 11260fi 11261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11262$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11263if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11264 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11265else 11266 11267 lt_cv_dlopen=dyld 11268 lt_cv_dlopen_libs= 11269 lt_cv_dlopen_self=yes 11270 11271fi 11272 11273 ;; 11274 11275 tpf*) 11276 # Don't try to run any link tests for TPF. We know it's impossible 11277 # because TPF is a cross-compiler, and we know how we open DSOs. 11278 lt_cv_dlopen=dlopen 11279 lt_cv_dlopen_libs= 11280 lt_cv_dlopen_self=no 11281 ;; 11282 11283 *) 11284 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11285if test "x$ac_cv_func_shl_load" = xyes; then : 11286 lt_cv_dlopen=shl_load 11287else 11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11289$as_echo_n "checking for shl_load in -ldld... " >&6; } 11290if ${ac_cv_lib_dld_shl_load+:} false; then : 11291 $as_echo_n "(cached) " >&6 11292else 11293 ac_check_lib_save_LIBS=$LIBS 11294LIBS="-ldld $LIBS" 11295cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11296/* end confdefs.h. */ 11297 11298/* Override any GCC internal prototype to avoid an error. 11299 Use char because int might match the return type of a GCC 11300 builtin and then its argument prototype would still apply. */ 11301#ifdef __cplusplus 11302extern "C" 11303#endif 11304char shl_load (); 11305int 11306main () 11307{ 11308return shl_load (); 11309 ; 11310 return 0; 11311} 11312_ACEOF 11313if ac_fn_c_try_link "$LINENO"; then : 11314 ac_cv_lib_dld_shl_load=yes 11315else 11316 ac_cv_lib_dld_shl_load=no 11317fi 11318rm -f core conftest.err conftest.$ac_objext \ 11319 conftest$ac_exeext conftest.$ac_ext 11320LIBS=$ac_check_lib_save_LIBS 11321fi 11322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11323$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11324if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11325 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11326else 11327 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11328if test "x$ac_cv_func_dlopen" = xyes; then : 11329 lt_cv_dlopen=dlopen 11330else 11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11332$as_echo_n "checking for dlopen in -ldl... " >&6; } 11333if ${ac_cv_lib_dl_dlopen+:} false; then : 11334 $as_echo_n "(cached) " >&6 11335else 11336 ac_check_lib_save_LIBS=$LIBS 11337LIBS="-ldl $LIBS" 11338cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11339/* end confdefs.h. */ 11340 11341/* Override any GCC internal prototype to avoid an error. 11342 Use char because int might match the return type of a GCC 11343 builtin and then its argument prototype would still apply. */ 11344#ifdef __cplusplus 11345extern "C" 11346#endif 11347char dlopen (); 11348int 11349main () 11350{ 11351return dlopen (); 11352 ; 11353 return 0; 11354} 11355_ACEOF 11356if ac_fn_c_try_link "$LINENO"; then : 11357 ac_cv_lib_dl_dlopen=yes 11358else 11359 ac_cv_lib_dl_dlopen=no 11360fi 11361rm -f core conftest.err conftest.$ac_objext \ 11362 conftest$ac_exeext conftest.$ac_ext 11363LIBS=$ac_check_lib_save_LIBS 11364fi 11365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11366$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11367if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11368 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11369else 11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11371$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11372if ${ac_cv_lib_svld_dlopen+:} false; then : 11373 $as_echo_n "(cached) " >&6 11374else 11375 ac_check_lib_save_LIBS=$LIBS 11376LIBS="-lsvld $LIBS" 11377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11378/* end confdefs.h. */ 11379 11380/* Override any GCC internal prototype to avoid an error. 11381 Use char because int might match the return type of a GCC 11382 builtin and then its argument prototype would still apply. */ 11383#ifdef __cplusplus 11384extern "C" 11385#endif 11386char dlopen (); 11387int 11388main () 11389{ 11390return dlopen (); 11391 ; 11392 return 0; 11393} 11394_ACEOF 11395if ac_fn_c_try_link "$LINENO"; then : 11396 ac_cv_lib_svld_dlopen=yes 11397else 11398 ac_cv_lib_svld_dlopen=no 11399fi 11400rm -f core conftest.err conftest.$ac_objext \ 11401 conftest$ac_exeext conftest.$ac_ext 11402LIBS=$ac_check_lib_save_LIBS 11403fi 11404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11405$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11406if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11407 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11408else 11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11410$as_echo_n "checking for dld_link in -ldld... " >&6; } 11411if ${ac_cv_lib_dld_dld_link+:} false; then : 11412 $as_echo_n "(cached) " >&6 11413else 11414 ac_check_lib_save_LIBS=$LIBS 11415LIBS="-ldld $LIBS" 11416cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11417/* end confdefs.h. */ 11418 11419/* Override any GCC internal prototype to avoid an error. 11420 Use char because int might match the return type of a GCC 11421 builtin and then its argument prototype would still apply. */ 11422#ifdef __cplusplus 11423extern "C" 11424#endif 11425char dld_link (); 11426int 11427main () 11428{ 11429return dld_link (); 11430 ; 11431 return 0; 11432} 11433_ACEOF 11434if ac_fn_c_try_link "$LINENO"; then : 11435 ac_cv_lib_dld_dld_link=yes 11436else 11437 ac_cv_lib_dld_dld_link=no 11438fi 11439rm -f core conftest.err conftest.$ac_objext \ 11440 conftest$ac_exeext conftest.$ac_ext 11441LIBS=$ac_check_lib_save_LIBS 11442fi 11443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11444$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11445if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11446 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11447fi 11448 11449 11450fi 11451 11452 11453fi 11454 11455 11456fi 11457 11458 11459fi 11460 11461 11462fi 11463 11464 ;; 11465 esac 11466 11467 if test no = "$lt_cv_dlopen"; then 11468 enable_dlopen=no 11469 else 11470 enable_dlopen=yes 11471 fi 11472 11473 case $lt_cv_dlopen in 11474 dlopen) 11475 save_CPPFLAGS=$CPPFLAGS 11476 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11477 11478 save_LDFLAGS=$LDFLAGS 11479 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11480 11481 save_LIBS=$LIBS 11482 LIBS="$lt_cv_dlopen_libs $LIBS" 11483 11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11485$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11486if ${lt_cv_dlopen_self+:} false; then : 11487 $as_echo_n "(cached) " >&6 11488else 11489 if test yes = "$cross_compiling"; then : 11490 lt_cv_dlopen_self=cross 11491else 11492 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11493 lt_status=$lt_dlunknown 11494 cat > conftest.$ac_ext <<_LT_EOF 11495#line $LINENO "configure" 11496#include "confdefs.h" 11497 11498#if HAVE_DLFCN_H 11499#include <dlfcn.h> 11500#endif 11501 11502#include <stdio.h> 11503 11504#ifdef RTLD_GLOBAL 11505# define LT_DLGLOBAL RTLD_GLOBAL 11506#else 11507# ifdef DL_GLOBAL 11508# define LT_DLGLOBAL DL_GLOBAL 11509# else 11510# define LT_DLGLOBAL 0 11511# endif 11512#endif 11513 11514/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11515 find out it does not work in some platform. */ 11516#ifndef LT_DLLAZY_OR_NOW 11517# ifdef RTLD_LAZY 11518# define LT_DLLAZY_OR_NOW RTLD_LAZY 11519# else 11520# ifdef DL_LAZY 11521# define LT_DLLAZY_OR_NOW DL_LAZY 11522# else 11523# ifdef RTLD_NOW 11524# define LT_DLLAZY_OR_NOW RTLD_NOW 11525# else 11526# ifdef DL_NOW 11527# define LT_DLLAZY_OR_NOW DL_NOW 11528# else 11529# define LT_DLLAZY_OR_NOW 0 11530# endif 11531# endif 11532# endif 11533# endif 11534#endif 11535 11536/* When -fvisibility=hidden is used, assume the code has been annotated 11537 correspondingly for the symbols needed. */ 11538#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11539int fnord () __attribute__((visibility("default"))); 11540#endif 11541 11542int fnord () { return 42; } 11543int main () 11544{ 11545 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11546 int status = $lt_dlunknown; 11547 11548 if (self) 11549 { 11550 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11551 else 11552 { 11553 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11554 else puts (dlerror ()); 11555 } 11556 /* dlclose (self); */ 11557 } 11558 else 11559 puts (dlerror ()); 11560 11561 return status; 11562} 11563_LT_EOF 11564 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11565 (eval $ac_link) 2>&5 11566 ac_status=$? 11567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11568 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11569 (./conftest; exit; ) >&5 2>/dev/null 11570 lt_status=$? 11571 case x$lt_status in 11572 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11573 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11574 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11575 esac 11576 else : 11577 # compilation failed 11578 lt_cv_dlopen_self=no 11579 fi 11580fi 11581rm -fr conftest* 11582 11583 11584fi 11585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11586$as_echo "$lt_cv_dlopen_self" >&6; } 11587 11588 if test yes = "$lt_cv_dlopen_self"; then 11589 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11591$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11592if ${lt_cv_dlopen_self_static+:} false; then : 11593 $as_echo_n "(cached) " >&6 11594else 11595 if test yes = "$cross_compiling"; then : 11596 lt_cv_dlopen_self_static=cross 11597else 11598 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11599 lt_status=$lt_dlunknown 11600 cat > conftest.$ac_ext <<_LT_EOF 11601#line $LINENO "configure" 11602#include "confdefs.h" 11603 11604#if HAVE_DLFCN_H 11605#include <dlfcn.h> 11606#endif 11607 11608#include <stdio.h> 11609 11610#ifdef RTLD_GLOBAL 11611# define LT_DLGLOBAL RTLD_GLOBAL 11612#else 11613# ifdef DL_GLOBAL 11614# define LT_DLGLOBAL DL_GLOBAL 11615# else 11616# define LT_DLGLOBAL 0 11617# endif 11618#endif 11619 11620/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11621 find out it does not work in some platform. */ 11622#ifndef LT_DLLAZY_OR_NOW 11623# ifdef RTLD_LAZY 11624# define LT_DLLAZY_OR_NOW RTLD_LAZY 11625# else 11626# ifdef DL_LAZY 11627# define LT_DLLAZY_OR_NOW DL_LAZY 11628# else 11629# ifdef RTLD_NOW 11630# define LT_DLLAZY_OR_NOW RTLD_NOW 11631# else 11632# ifdef DL_NOW 11633# define LT_DLLAZY_OR_NOW DL_NOW 11634# else 11635# define LT_DLLAZY_OR_NOW 0 11636# endif 11637# endif 11638# endif 11639# endif 11640#endif 11641 11642/* When -fvisibility=hidden is used, assume the code has been annotated 11643 correspondingly for the symbols needed. */ 11644#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11645int fnord () __attribute__((visibility("default"))); 11646#endif 11647 11648int fnord () { return 42; } 11649int main () 11650{ 11651 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11652 int status = $lt_dlunknown; 11653 11654 if (self) 11655 { 11656 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11657 else 11658 { 11659 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11660 else puts (dlerror ()); 11661 } 11662 /* dlclose (self); */ 11663 } 11664 else 11665 puts (dlerror ()); 11666 11667 return status; 11668} 11669_LT_EOF 11670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11671 (eval $ac_link) 2>&5 11672 ac_status=$? 11673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11674 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11675 (./conftest; exit; ) >&5 2>/dev/null 11676 lt_status=$? 11677 case x$lt_status in 11678 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11679 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11680 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11681 esac 11682 else : 11683 # compilation failed 11684 lt_cv_dlopen_self_static=no 11685 fi 11686fi 11687rm -fr conftest* 11688 11689 11690fi 11691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11692$as_echo "$lt_cv_dlopen_self_static" >&6; } 11693 fi 11694 11695 CPPFLAGS=$save_CPPFLAGS 11696 LDFLAGS=$save_LDFLAGS 11697 LIBS=$save_LIBS 11698 ;; 11699 esac 11700 11701 case $lt_cv_dlopen_self in 11702 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11703 *) enable_dlopen_self=unknown ;; 11704 esac 11705 11706 case $lt_cv_dlopen_self_static in 11707 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11708 *) enable_dlopen_self_static=unknown ;; 11709 esac 11710fi 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728striplib= 11729old_striplib= 11730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11731$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11732if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11733 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11734 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11736$as_echo "yes" >&6; } 11737else 11738# FIXME - insert some real tests, host_os isn't really good enough 11739 case $host_os in 11740 darwin*) 11741 if test -n "$STRIP"; then 11742 striplib="$STRIP -x" 11743 old_striplib="$STRIP -S" 11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11745$as_echo "yes" >&6; } 11746 else 11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11748$as_echo "no" >&6; } 11749 fi 11750 ;; 11751 *) 11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11753$as_echo "no" >&6; } 11754 ;; 11755 esac 11756fi 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 # Report what library types will actually be built 11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11771$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11773$as_echo "$can_build_shared" >&6; } 11774 11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11776$as_echo_n "checking whether to build shared libraries... " >&6; } 11777 test no = "$can_build_shared" && enable_shared=no 11778 11779 # On AIX, shared libraries and static libraries use the same namespace, and 11780 # are all built from PIC. 11781 case $host_os in 11782 aix3*) 11783 test yes = "$enable_shared" && enable_static=no 11784 if test -n "$RANLIB"; then 11785 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11786 postinstall_cmds='$RANLIB $lib' 11787 fi 11788 ;; 11789 11790 aix[4-9]*) 11791 if test ia64 != "$host_cpu"; then 11792 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 11793 yes,aix,yes) ;; # shared object as lib.so file only 11794 yes,svr4,*) ;; # shared object as lib.so archive member only 11795 yes,*) enable_static=no ;; # shared object in lib.a archive as well 11796 esac 11797 fi 11798 ;; 11799 esac 11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11801$as_echo "$enable_shared" >&6; } 11802 11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11804$as_echo_n "checking whether to build static libraries... " >&6; } 11805 # Make sure either enable_shared or enable_static is yes. 11806 test yes = "$enable_shared" || enable_static=yes 11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11808$as_echo "$enable_static" >&6; } 11809 11810 11811 11812 11813fi 11814ac_ext=c 11815ac_cpp='$CPP $CPPFLAGS' 11816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11818ac_compiler_gnu=$ac_cv_c_compiler_gnu 11819 11820CC=$lt_save_CC 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 ac_config_commands="$ac_config_commands libtool" 11837 11838 11839 11840 11841# Only expand once: 11842 11843 11844ac_config_files="$ac_config_files Makefile src/Makefile" 11845 11846ac_config_files="$ac_config_files libunibreak.pc" 11847 11848cat >confcache <<\_ACEOF 11849# This file is a shell script that caches the results of configure 11850# tests run on this system so they can be shared between configure 11851# scripts and configure runs, see configure's option --config-cache. 11852# It is not useful on other systems. If it contains results you don't 11853# want to keep, you may remove or edit it. 11854# 11855# config.status only pays attention to the cache file if you give it 11856# the --recheck option to rerun configure. 11857# 11858# `ac_cv_env_foo' variables (set or unset) will be overridden when 11859# loading this file, other *unset* `ac_cv_foo' will be assigned the 11860# following values. 11861 11862_ACEOF 11863 11864# The following way of writing the cache mishandles newlines in values, 11865# but we know of no workaround that is simple, portable, and efficient. 11866# So, we kill variables containing newlines. 11867# Ultrix sh set writes to stderr and can't be redirected directly, 11868# and sets the high bit in the cache file unless we assign to the vars. 11869( 11870 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11871 eval ac_val=\$$ac_var 11872 case $ac_val in #( 11873 *${as_nl}*) 11874 case $ac_var in #( 11875 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11876$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11877 esac 11878 case $ac_var in #( 11879 _ | IFS | as_nl) ;; #( 11880 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 11881 *) { eval $ac_var=; unset $ac_var;} ;; 11882 esac ;; 11883 esac 11884 done 11885 11886 (set) 2>&1 | 11887 case $as_nl`(ac_space=' '; set) 2>&1` in #( 11888 *${as_nl}ac_space=\ *) 11889 # `set' does not quote correctly, so add quotes: double-quote 11890 # substitution turns \\\\ into \\, and sed turns \\ into \. 11891 sed -n \ 11892 "s/'/'\\\\''/g; 11893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11894 ;; #( 11895 *) 11896 # `set' quotes correctly as required by POSIX, so do not add quotes. 11897 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11898 ;; 11899 esac | 11900 sort 11901) | 11902 sed ' 11903 /^ac_cv_env_/b end 11904 t clear 11905 :clear 11906 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11907 t end 11908 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11909 :end' >>confcache 11910if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11911 if test -w "$cache_file"; then 11912 if test "x$cache_file" != "x/dev/null"; then 11913 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11914$as_echo "$as_me: updating cache $cache_file" >&6;} 11915 if test ! -f "$cache_file" || test -h "$cache_file"; then 11916 cat confcache >"$cache_file" 11917 else 11918 case $cache_file in #( 11919 */* | ?:*) 11920 mv -f confcache "$cache_file"$$ && 11921 mv -f "$cache_file"$$ "$cache_file" ;; #( 11922 *) 11923 mv -f confcache "$cache_file" ;; 11924 esac 11925 fi 11926 fi 11927 else 11928 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11929$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11930 fi 11931fi 11932rm -f confcache 11933 11934test "x$prefix" = xNONE && prefix=$ac_default_prefix 11935# Let make expand exec_prefix. 11936test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11937 11938DEFS=-DHAVE_CONFIG_H 11939 11940ac_libobjs= 11941ac_ltlibobjs= 11942U= 11943for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11944 # 1. Remove the extension, and $U if already installed. 11945 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11946 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11947 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11948 # will be set to the directory where LIBOBJS objects are built. 11949 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11950 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 11951done 11952LIBOBJS=$ac_libobjs 11953 11954LTLIBOBJS=$ac_ltlibobjs 11955 11956 11957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 11958$as_echo_n "checking that generated files are newer than configure... " >&6; } 11959 if test -n "$am_sleep_pid"; then 11960 # Hide warnings about reused PIDs. 11961 wait $am_sleep_pid 2>/dev/null 11962 fi 11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 11964$as_echo "done" >&6; } 11965 if test -n "$EXEEXT"; then 11966 am__EXEEXT_TRUE= 11967 am__EXEEXT_FALSE='#' 11968else 11969 am__EXEEXT_TRUE='#' 11970 am__EXEEXT_FALSE= 11971fi 11972 11973if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 11974 as_fn_error $? "conditional \"AMDEP\" was never defined. 11975Usually this means the macro was only invoked conditionally." "$LINENO" 5 11976fi 11977if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11978 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 11979Usually this means the macro was only invoked conditionally." "$LINENO" 5 11980fi 11981 11982: "${CONFIG_STATUS=./config.status}" 11983ac_write_fail=0 11984ac_clean_files_save=$ac_clean_files 11985ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11986{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11987$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11988as_write_fail=0 11989cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 11990#! $SHELL 11991# Generated by $as_me. 11992# Run this file to recreate the current configuration. 11993# Compiler output produced by configure, useful for debugging 11994# configure, is in config.log if it exists. 11995 11996debug=false 11997ac_cs_recheck=false 11998ac_cs_silent=false 11999 12000SHELL=\${CONFIG_SHELL-$SHELL} 12001export SHELL 12002_ASEOF 12003cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12004## -------------------- ## 12005## M4sh Initialization. ## 12006## -------------------- ## 12007 12008# Be more Bourne compatible 12009DUALCASE=1; export DUALCASE # for MKS sh 12010if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12011 emulate sh 12012 NULLCMD=: 12013 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12014 # is contrary to our usage. Disable this feature. 12015 alias -g '${1+"$@"}'='"$@"' 12016 setopt NO_GLOB_SUBST 12017else 12018 case `(set -o) 2>/dev/null` in #( 12019 *posix*) : 12020 set -o posix ;; #( 12021 *) : 12022 ;; 12023esac 12024fi 12025 12026 12027as_nl=' 12028' 12029export as_nl 12030# Printing a long string crashes Solaris 7 /usr/bin/printf. 12031as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12032as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12033as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12034# Prefer a ksh shell builtin over an external printf program on Solaris, 12035# but without wasting forks for bash or zsh. 12036if test -z "$BASH_VERSION$ZSH_VERSION" \ 12037 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12038 as_echo='print -r --' 12039 as_echo_n='print -rn --' 12040elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12041 as_echo='printf %s\n' 12042 as_echo_n='printf %s' 12043else 12044 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12045 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12046 as_echo_n='/usr/ucb/echo -n' 12047 else 12048 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12049 as_echo_n_body='eval 12050 arg=$1; 12051 case $arg in #( 12052 *"$as_nl"*) 12053 expr "X$arg" : "X\\(.*\\)$as_nl"; 12054 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12055 esac; 12056 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12057 ' 12058 export as_echo_n_body 12059 as_echo_n='sh -c $as_echo_n_body as_echo' 12060 fi 12061 export as_echo_body 12062 as_echo='sh -c $as_echo_body as_echo' 12063fi 12064 12065# The user is always right. 12066if test "${PATH_SEPARATOR+set}" != set; then 12067 PATH_SEPARATOR=: 12068 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12069 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12070 PATH_SEPARATOR=';' 12071 } 12072fi 12073 12074 12075# IFS 12076# We need space, tab and new line, in precisely that order. Quoting is 12077# there to prevent editors from complaining about space-tab. 12078# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12079# splitting by setting IFS to empty value.) 12080IFS=" "" $as_nl" 12081 12082# Find who we are. Look in the path if we contain no directory separator. 12083as_myself= 12084case $0 in #(( 12085 *[\\/]* ) as_myself=$0 ;; 12086 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12087for as_dir in $PATH 12088do 12089 IFS=$as_save_IFS 12090 test -z "$as_dir" && as_dir=. 12091 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12092 done 12093IFS=$as_save_IFS 12094 12095 ;; 12096esac 12097# We did not find ourselves, most probably we were run as `sh COMMAND' 12098# in which case we are not to be found in the path. 12099if test "x$as_myself" = x; then 12100 as_myself=$0 12101fi 12102if test ! -f "$as_myself"; then 12103 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12104 exit 1 12105fi 12106 12107# Unset variables that we do not need and which cause bugs (e.g. in 12108# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12109# suppresses any "Segmentation fault" message there. '((' could 12110# trigger a bug in pdksh 5.2.14. 12111for as_var in BASH_ENV ENV MAIL MAILPATH 12112do eval test x\${$as_var+set} = xset \ 12113 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12114done 12115PS1='$ ' 12116PS2='> ' 12117PS4='+ ' 12118 12119# NLS nuisances. 12120LC_ALL=C 12121export LC_ALL 12122LANGUAGE=C 12123export LANGUAGE 12124 12125# CDPATH. 12126(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12127 12128 12129# as_fn_error STATUS ERROR [LINENO LOG_FD] 12130# ---------------------------------------- 12131# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12132# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12133# script with STATUS, using 1 if that was 0. 12134as_fn_error () 12135{ 12136 as_status=$1; test $as_status -eq 0 && as_status=1 12137 if test "$4"; then 12138 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12139 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12140 fi 12141 $as_echo "$as_me: error: $2" >&2 12142 as_fn_exit $as_status 12143} # as_fn_error 12144 12145 12146# as_fn_set_status STATUS 12147# ----------------------- 12148# Set $? to STATUS, without forking. 12149as_fn_set_status () 12150{ 12151 return $1 12152} # as_fn_set_status 12153 12154# as_fn_exit STATUS 12155# ----------------- 12156# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12157as_fn_exit () 12158{ 12159 set +e 12160 as_fn_set_status $1 12161 exit $1 12162} # as_fn_exit 12163 12164# as_fn_unset VAR 12165# --------------- 12166# Portably unset VAR. 12167as_fn_unset () 12168{ 12169 { eval $1=; unset $1;} 12170} 12171as_unset=as_fn_unset 12172# as_fn_append VAR VALUE 12173# ---------------------- 12174# Append the text in VALUE to the end of the definition contained in VAR. Take 12175# advantage of any shell optimizations that allow amortized linear growth over 12176# repeated appends, instead of the typical quadratic growth present in naive 12177# implementations. 12178if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12179 eval 'as_fn_append () 12180 { 12181 eval $1+=\$2 12182 }' 12183else 12184 as_fn_append () 12185 { 12186 eval $1=\$$1\$2 12187 } 12188fi # as_fn_append 12189 12190# as_fn_arith ARG... 12191# ------------------ 12192# Perform arithmetic evaluation on the ARGs, and store the result in the 12193# global $as_val. Take advantage of shells that can avoid forks. The arguments 12194# must be portable across $(()) and expr. 12195if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12196 eval 'as_fn_arith () 12197 { 12198 as_val=$(( $* )) 12199 }' 12200else 12201 as_fn_arith () 12202 { 12203 as_val=`expr "$@" || test $? -eq 1` 12204 } 12205fi # as_fn_arith 12206 12207 12208if expr a : '\(a\)' >/dev/null 2>&1 && 12209 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12210 as_expr=expr 12211else 12212 as_expr=false 12213fi 12214 12215if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12216 as_basename=basename 12217else 12218 as_basename=false 12219fi 12220 12221if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12222 as_dirname=dirname 12223else 12224 as_dirname=false 12225fi 12226 12227as_me=`$as_basename -- "$0" || 12228$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12229 X"$0" : 'X\(//\)$' \| \ 12230 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12231$as_echo X/"$0" | 12232 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12233 s//\1/ 12234 q 12235 } 12236 /^X\/\(\/\/\)$/{ 12237 s//\1/ 12238 q 12239 } 12240 /^X\/\(\/\).*/{ 12241 s//\1/ 12242 q 12243 } 12244 s/.*/./; q'` 12245 12246# Avoid depending upon Character Ranges. 12247as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12248as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12249as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12250as_cr_digits='0123456789' 12251as_cr_alnum=$as_cr_Letters$as_cr_digits 12252 12253ECHO_C= ECHO_N= ECHO_T= 12254case `echo -n x` in #((((( 12255-n*) 12256 case `echo 'xy\c'` in 12257 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12258 xy) ECHO_C='\c';; 12259 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12260 ECHO_T=' ';; 12261 esac;; 12262*) 12263 ECHO_N='-n';; 12264esac 12265 12266rm -f conf$$ conf$$.exe conf$$.file 12267if test -d conf$$.dir; then 12268 rm -f conf$$.dir/conf$$.file 12269else 12270 rm -f conf$$.dir 12271 mkdir conf$$.dir 2>/dev/null 12272fi 12273if (echo >conf$$.file) 2>/dev/null; then 12274 if ln -s conf$$.file conf$$ 2>/dev/null; then 12275 as_ln_s='ln -s' 12276 # ... but there are two gotchas: 12277 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12278 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12279 # In both cases, we have to default to `cp -pR'. 12280 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12281 as_ln_s='cp -pR' 12282 elif ln conf$$.file conf$$ 2>/dev/null; then 12283 as_ln_s=ln 12284 else 12285 as_ln_s='cp -pR' 12286 fi 12287else 12288 as_ln_s='cp -pR' 12289fi 12290rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12291rmdir conf$$.dir 2>/dev/null 12292 12293 12294# as_fn_mkdir_p 12295# ------------- 12296# Create "$as_dir" as a directory, including parents if necessary. 12297as_fn_mkdir_p () 12298{ 12299 12300 case $as_dir in #( 12301 -*) as_dir=./$as_dir;; 12302 esac 12303 test -d "$as_dir" || eval $as_mkdir_p || { 12304 as_dirs= 12305 while :; do 12306 case $as_dir in #( 12307 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12308 *) as_qdir=$as_dir;; 12309 esac 12310 as_dirs="'$as_qdir' $as_dirs" 12311 as_dir=`$as_dirname -- "$as_dir" || 12312$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12313 X"$as_dir" : 'X\(//\)[^/]' \| \ 12314 X"$as_dir" : 'X\(//\)$' \| \ 12315 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12316$as_echo X"$as_dir" | 12317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12318 s//\1/ 12319 q 12320 } 12321 /^X\(\/\/\)[^/].*/{ 12322 s//\1/ 12323 q 12324 } 12325 /^X\(\/\/\)$/{ 12326 s//\1/ 12327 q 12328 } 12329 /^X\(\/\).*/{ 12330 s//\1/ 12331 q 12332 } 12333 s/.*/./; q'` 12334 test -d "$as_dir" && break 12335 done 12336 test -z "$as_dirs" || eval "mkdir $as_dirs" 12337 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12338 12339 12340} # as_fn_mkdir_p 12341if mkdir -p . 2>/dev/null; then 12342 as_mkdir_p='mkdir -p "$as_dir"' 12343else 12344 test -d ./-p && rmdir ./-p 12345 as_mkdir_p=false 12346fi 12347 12348 12349# as_fn_executable_p FILE 12350# ----------------------- 12351# Test if FILE is an executable regular file. 12352as_fn_executable_p () 12353{ 12354 test -f "$1" && test -x "$1" 12355} # as_fn_executable_p 12356as_test_x='test -x' 12357as_executable_p=as_fn_executable_p 12358 12359# Sed expression to map a string onto a valid CPP name. 12360as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12361 12362# Sed expression to map a string onto a valid variable name. 12363as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12364 12365 12366exec 6>&1 12367## ----------------------------------- ## 12368## Main body of $CONFIG_STATUS script. ## 12369## ----------------------------------- ## 12370_ASEOF 12371test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12372 12373cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12374# Save the log message, to keep $0 and so on meaningful, and to 12375# report actual input values of CONFIG_FILES etc. instead of their 12376# values after options handling. 12377ac_log=" 12378This file was extended by libunibreak $as_me 4.3, which was 12379generated by GNU Autoconf 2.69. Invocation command line was 12380 12381 CONFIG_FILES = $CONFIG_FILES 12382 CONFIG_HEADERS = $CONFIG_HEADERS 12383 CONFIG_LINKS = $CONFIG_LINKS 12384 CONFIG_COMMANDS = $CONFIG_COMMANDS 12385 $ $0 $@ 12386 12387on `(hostname || uname -n) 2>/dev/null | sed 1q` 12388" 12389 12390_ACEOF 12391 12392case $ac_config_files in *" 12393"*) set x $ac_config_files; shift; ac_config_files=$*;; 12394esac 12395 12396case $ac_config_headers in *" 12397"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 12398esac 12399 12400 12401cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12402# Files that config.status was made for. 12403config_files="$ac_config_files" 12404config_headers="$ac_config_headers" 12405config_commands="$ac_config_commands" 12406 12407_ACEOF 12408 12409cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12410ac_cs_usage="\ 12411\`$as_me' instantiates files and other configuration actions 12412from templates according to the current configuration. Unless the files 12413and actions are specified as TAGs, all are instantiated by default. 12414 12415Usage: $0 [OPTION]... [TAG]... 12416 12417 -h, --help print this help, then exit 12418 -V, --version print version number and configuration settings, then exit 12419 --config print configuration, then exit 12420 -q, --quiet, --silent 12421 do not print progress messages 12422 -d, --debug don't remove temporary files 12423 --recheck update $as_me by reconfiguring in the same conditions 12424 --file=FILE[:TEMPLATE] 12425 instantiate the configuration file FILE 12426 --header=FILE[:TEMPLATE] 12427 instantiate the configuration header FILE 12428 12429Configuration files: 12430$config_files 12431 12432Configuration headers: 12433$config_headers 12434 12435Configuration commands: 12436$config_commands 12437 12438Report bugs to <wuyongwei@gmail.com>." 12439 12440_ACEOF 12441cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12442ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12443ac_cs_version="\\ 12444libunibreak config.status 4.3 12445configured by $0, generated by GNU Autoconf 2.69, 12446 with options \\"\$ac_cs_config\\" 12447 12448Copyright (C) 2012 Free Software Foundation, Inc. 12449This config.status script is free software; the Free Software Foundation 12450gives unlimited permission to copy, distribute and modify it." 12451 12452ac_pwd='$ac_pwd' 12453srcdir='$srcdir' 12454INSTALL='$INSTALL' 12455MKDIR_P='$MKDIR_P' 12456AWK='$AWK' 12457test -n "\$AWK" || AWK=awk 12458_ACEOF 12459 12460cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12461# The default lists apply if the user does not specify any file. 12462ac_need_defaults=: 12463while test $# != 0 12464do 12465 case $1 in 12466 --*=?*) 12467 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12468 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12469 ac_shift=: 12470 ;; 12471 --*=) 12472 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12473 ac_optarg= 12474 ac_shift=: 12475 ;; 12476 *) 12477 ac_option=$1 12478 ac_optarg=$2 12479 ac_shift=shift 12480 ;; 12481 esac 12482 12483 case $ac_option in 12484 # Handling of the options. 12485 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12486 ac_cs_recheck=: ;; 12487 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12488 $as_echo "$ac_cs_version"; exit ;; 12489 --config | --confi | --conf | --con | --co | --c ) 12490 $as_echo "$ac_cs_config"; exit ;; 12491 --debug | --debu | --deb | --de | --d | -d ) 12492 debug=: ;; 12493 --file | --fil | --fi | --f ) 12494 $ac_shift 12495 case $ac_optarg in 12496 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12497 '') as_fn_error $? "missing file argument" ;; 12498 esac 12499 as_fn_append CONFIG_FILES " '$ac_optarg'" 12500 ac_need_defaults=false;; 12501 --header | --heade | --head | --hea ) 12502 $ac_shift 12503 case $ac_optarg in 12504 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12505 esac 12506 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 12507 ac_need_defaults=false;; 12508 --he | --h) 12509 # Conflict between --help and --header 12510 as_fn_error $? "ambiguous option: \`$1' 12511Try \`$0 --help' for more information.";; 12512 --help | --hel | -h ) 12513 $as_echo "$ac_cs_usage"; exit ;; 12514 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12515 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12516 ac_cs_silent=: ;; 12517 12518 # This is an error. 12519 -*) as_fn_error $? "unrecognized option: \`$1' 12520Try \`$0 --help' for more information." ;; 12521 12522 *) as_fn_append ac_config_targets " $1" 12523 ac_need_defaults=false ;; 12524 12525 esac 12526 shift 12527done 12528 12529ac_configure_extra_args= 12530 12531if $ac_cs_silent; then 12532 exec 6>/dev/null 12533 ac_configure_extra_args="$ac_configure_extra_args --silent" 12534fi 12535 12536_ACEOF 12537cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12538if \$ac_cs_recheck; then 12539 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12540 shift 12541 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12542 CONFIG_SHELL='$SHELL' 12543 export CONFIG_SHELL 12544 exec "\$@" 12545fi 12546 12547_ACEOF 12548cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12549exec 5>>config.log 12550{ 12551 echo 12552 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12553## Running $as_me. ## 12554_ASBOX 12555 $as_echo "$ac_log" 12556} >&5 12557 12558_ACEOF 12559cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12560# 12561# INIT-COMMANDS 12562# 12563AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 12564 12565 12566# The HP-UX ksh and POSIX shell print the target directory to stdout 12567# if CDPATH is set. 12568(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12569 12570sed_quote_subst='$sed_quote_subst' 12571double_quote_subst='$double_quote_subst' 12572delay_variable_subst='$delay_variable_subst' 12573macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 12574macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 12575enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 12576enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 12577pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 12578enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 12579shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 12580SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 12581ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 12582PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 12583host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 12584host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 12585host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 12586build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 12587build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 12588build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 12589SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 12590Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 12591GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 12592EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 12593FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 12594LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 12595NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 12596LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 12597max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 12598ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 12599exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 12600lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12601lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12602lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12603lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 12604lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 12605reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 12606reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 12607OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 12608deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 12609file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 12610file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 12611want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 12612DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 12613sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 12614AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 12615AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 12616archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 12617STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12618RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12619old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12620old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12621old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 12622lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 12623CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 12624CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 12625compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 12626GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 12627lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 12628lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12629lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 12630lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12631lt_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"`' 12632lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 12633nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 12634lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 12635lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 12636objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 12637MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 12638lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 12639lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 12640lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 12641lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 12642lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 12643need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 12644MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 12645DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12646NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12647LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12648OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 12649OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 12650libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 12651shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 12652extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12653archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 12654enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 12655export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 12656whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 12657compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 12658old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 12659old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12660archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 12661archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12662module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 12663module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12664with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 12665allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 12666no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 12667hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 12668hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 12669hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 12670hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 12671hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 12672hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 12673hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12674inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12675link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12676always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 12677export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 12678exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 12679include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 12680prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 12681postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 12682file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12683variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12684need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12685need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 12686version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 12687runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 12688shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 12689shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 12690libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 12691library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 12692soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 12693install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 12694postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12695postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12696finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 12697finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 12698hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 12699sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 12700configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 12701configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 12702hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 12703enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 12704enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 12705enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 12706old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 12707striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 12708 12709LTCC='$LTCC' 12710LTCFLAGS='$LTCFLAGS' 12711compiler='$compiler_DEFAULT' 12712 12713# A function that is used when there is no print builtin or printf. 12714func_fallback_echo () 12715{ 12716 eval 'cat <<_LTECHO_EOF 12717\$1 12718_LTECHO_EOF' 12719} 12720 12721# Quote evaled strings. 12722for var in SHELL \ 12723ECHO \ 12724PATH_SEPARATOR \ 12725SED \ 12726GREP \ 12727EGREP \ 12728FGREP \ 12729LD \ 12730NM \ 12731LN_S \ 12732lt_SP2NL \ 12733lt_NL2SP \ 12734reload_flag \ 12735OBJDUMP \ 12736deplibs_check_method \ 12737file_magic_cmd \ 12738file_magic_glob \ 12739want_nocaseglob \ 12740DLLTOOL \ 12741sharedlib_from_linklib_cmd \ 12742AR \ 12743AR_FLAGS \ 12744archiver_list_spec \ 12745STRIP \ 12746RANLIB \ 12747CC \ 12748CFLAGS \ 12749compiler \ 12750lt_cv_sys_global_symbol_pipe \ 12751lt_cv_sys_global_symbol_to_cdecl \ 12752lt_cv_sys_global_symbol_to_import \ 12753lt_cv_sys_global_symbol_to_c_name_address \ 12754lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12755lt_cv_nm_interface \ 12756nm_file_list_spec \ 12757lt_cv_truncate_bin \ 12758lt_prog_compiler_no_builtin_flag \ 12759lt_prog_compiler_pic \ 12760lt_prog_compiler_wl \ 12761lt_prog_compiler_static \ 12762lt_cv_prog_compiler_c_o \ 12763need_locks \ 12764MANIFEST_TOOL \ 12765DSYMUTIL \ 12766NMEDIT \ 12767LIPO \ 12768OTOOL \ 12769OTOOL64 \ 12770shrext_cmds \ 12771export_dynamic_flag_spec \ 12772whole_archive_flag_spec \ 12773compiler_needs_object \ 12774with_gnu_ld \ 12775allow_undefined_flag \ 12776no_undefined_flag \ 12777hardcode_libdir_flag_spec \ 12778hardcode_libdir_separator \ 12779exclude_expsyms \ 12780include_expsyms \ 12781file_list_spec \ 12782variables_saved_for_relink \ 12783libname_spec \ 12784library_names_spec \ 12785soname_spec \ 12786install_override_mode \ 12787finish_eval \ 12788old_striplib \ 12789striplib; do 12790 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12791 *[\\\\\\\`\\"\\\$]*) 12792 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 12793 ;; 12794 *) 12795 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12796 ;; 12797 esac 12798done 12799 12800# Double-quote double-evaled strings. 12801for var in reload_cmds \ 12802old_postinstall_cmds \ 12803old_postuninstall_cmds \ 12804old_archive_cmds \ 12805extract_expsyms_cmds \ 12806old_archive_from_new_cmds \ 12807old_archive_from_expsyms_cmds \ 12808archive_cmds \ 12809archive_expsym_cmds \ 12810module_cmds \ 12811module_expsym_cmds \ 12812export_symbols_cmds \ 12813prelink_cmds \ 12814postlink_cmds \ 12815postinstall_cmds \ 12816postuninstall_cmds \ 12817finish_cmds \ 12818sys_lib_search_path_spec \ 12819configure_time_dlsearch_path \ 12820configure_time_lt_sys_library_path; do 12821 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12822 *[\\\\\\\`\\"\\\$]*) 12823 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 12824 ;; 12825 *) 12826 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12827 ;; 12828 esac 12829done 12830 12831ac_aux_dir='$ac_aux_dir' 12832 12833# See if we are running on zsh, and set the options that allow our 12834# commands through without removal of \ escapes INIT. 12835if test -n "\${ZSH_VERSION+set}"; then 12836 setopt NO_GLOB_SUBST 12837fi 12838 12839 12840 PACKAGE='$PACKAGE' 12841 VERSION='$VERSION' 12842 RM='$RM' 12843 ofile='$ofile' 12844 12845 12846 12847 12848_ACEOF 12849 12850cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12851 12852# Handling of arguments. 12853for ac_config_target in $ac_config_targets 12854do 12855 case $ac_config_target in 12856 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 12857 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12858 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12859 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12860 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12861 "libunibreak.pc") CONFIG_FILES="$CONFIG_FILES libunibreak.pc" ;; 12862 12863 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12864 esac 12865done 12866 12867 12868# If the user did not use the arguments to specify the items to instantiate, 12869# then the envvar interface is used. Set only those that are not. 12870# We use the long form for the default assignment because of an extremely 12871# bizarre bug on SunOS 4.1.3. 12872if $ac_need_defaults; then 12873 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 12874 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 12875 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 12876fi 12877 12878# Have a temporary directory for convenience. Make it in the build tree 12879# simply because there is no reason against having it here, and in addition, 12880# creating and moving files from /tmp can sometimes cause problems. 12881# Hook for its removal unless debugging. 12882# Note that there is a small window in which the directory will not be cleaned: 12883# after its creation but before its name has been assigned to `$tmp'. 12884$debug || 12885{ 12886 tmp= ac_tmp= 12887 trap 'exit_status=$? 12888 : "${ac_tmp:=$tmp}" 12889 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 12890' 0 12891 trap 'as_fn_exit 1' 1 2 13 15 12892} 12893# Create a (secure) tmp directory for tmp files. 12894 12895{ 12896 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12897 test -d "$tmp" 12898} || 12899{ 12900 tmp=./conf$$-$RANDOM 12901 (umask 077 && mkdir "$tmp") 12902} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 12903ac_tmp=$tmp 12904 12905# Set up the scripts for CONFIG_FILES section. 12906# No need to generate them if there are no CONFIG_FILES. 12907# This happens for instance with `./config.status config.h'. 12908if test -n "$CONFIG_FILES"; then 12909 12910 12911ac_cr=`echo X | tr X '\015'` 12912# On cygwin, bash can eat \r inside `` if the user requested igncr. 12913# But we know of no other shell where ac_cr would be empty at this 12914# point, so we can use a bashism as a fallback. 12915if test "x$ac_cr" = x; then 12916 eval ac_cr=\$\'\\r\' 12917fi 12918ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12919if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12920 ac_cs_awk_cr='\\r' 12921else 12922 ac_cs_awk_cr=$ac_cr 12923fi 12924 12925echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 12926_ACEOF 12927 12928 12929{ 12930 echo "cat >conf$$subs.awk <<_ACEOF" && 12931 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 12932 echo "_ACEOF" 12933} >conf$$subs.sh || 12934 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12935ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 12936ac_delim='%!_!# ' 12937for ac_last_try in false false false false false :; do 12938 . ./conf$$subs.sh || 12939 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12940 12941 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 12942 if test $ac_delim_n = $ac_delim_num; then 12943 break 12944 elif $ac_last_try; then 12945 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12946 else 12947 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12948 fi 12949done 12950rm -f conf$$subs.sh 12951 12952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12953cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 12954_ACEOF 12955sed -n ' 12956h 12957s/^/S["/; s/!.*/"]=/ 12958p 12959g 12960s/^[^!]*!// 12961:repl 12962t repl 12963s/'"$ac_delim"'$// 12964t delim 12965:nl 12966h 12967s/\(.\{148\}\)..*/\1/ 12968t more1 12969s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 12970p 12971n 12972b repl 12973:more1 12974s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12975p 12976g 12977s/.\{148\}// 12978t nl 12979:delim 12980h 12981s/\(.\{148\}\)..*/\1/ 12982t more2 12983s/["\\]/\\&/g; s/^/"/; s/$/"/ 12984p 12985b 12986:more2 12987s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12988p 12989g 12990s/.\{148\}// 12991t delim 12992' <conf$$subs.awk | sed ' 12993/^[^""]/{ 12994 N 12995 s/\n// 12996} 12997' >>$CONFIG_STATUS || ac_write_fail=1 12998rm -f conf$$subs.awk 12999cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13000_ACAWK 13001cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13002 for (key in S) S_is_set[key] = 1 13003 FS = "" 13004 13005} 13006{ 13007 line = $ 0 13008 nfields = split(line, field, "@") 13009 substed = 0 13010 len = length(field[1]) 13011 for (i = 2; i < nfields; i++) { 13012 key = field[i] 13013 keylen = length(key) 13014 if (S_is_set[key]) { 13015 value = S[key] 13016 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13017 len += length(value) + length(field[++i]) 13018 substed = 1 13019 } else 13020 len += 1 + keylen 13021 } 13022 13023 print line 13024} 13025 13026_ACAWK 13027_ACEOF 13028cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13029if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13030 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13031else 13032 cat 13033fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13034 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13035_ACEOF 13036 13037# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13038# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13039# trailing colons and then remove the whole line if VPATH becomes empty 13040# (actually we leave an empty line to preserve line numbers). 13041if test "x$srcdir" = x.; then 13042 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13043h 13044s/// 13045s/^/:/ 13046s/[ ]*$/:/ 13047s/:\$(srcdir):/:/g 13048s/:\${srcdir}:/:/g 13049s/:@srcdir@:/:/g 13050s/^:*// 13051s/:*$// 13052x 13053s/\(=[ ]*\).*/\1/ 13054G 13055s/\n// 13056s/^[^=]*=[ ]*$// 13057}' 13058fi 13059 13060cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13061fi # test -n "$CONFIG_FILES" 13062 13063# Set up the scripts for CONFIG_HEADERS section. 13064# No need to generate them if there are no CONFIG_HEADERS. 13065# This happens for instance with `./config.status Makefile'. 13066if test -n "$CONFIG_HEADERS"; then 13067cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13068BEGIN { 13069_ACEOF 13070 13071# Transform confdefs.h into an awk script `defines.awk', embedded as 13072# here-document in config.status, that substitutes the proper values into 13073# config.h.in to produce config.h. 13074 13075# Create a delimiter string that does not exist in confdefs.h, to ease 13076# handling of long lines. 13077ac_delim='%!_!# ' 13078for ac_last_try in false false :; do 13079 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13080 if test -z "$ac_tt"; then 13081 break 13082 elif $ac_last_try; then 13083 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13084 else 13085 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13086 fi 13087done 13088 13089# For the awk script, D is an array of macro values keyed by name, 13090# likewise P contains macro parameters if any. Preserve backslash 13091# newline sequences. 13092 13093ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13094sed -n ' 13095s/.\{148\}/&'"$ac_delim"'/g 13096t rset 13097:rset 13098s/^[ ]*#[ ]*define[ ][ ]*/ / 13099t def 13100d 13101:def 13102s/\\$// 13103t bsnl 13104s/["\\]/\\&/g 13105s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13106D["\1"]=" \3"/p 13107s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13108d 13109:bsnl 13110s/["\\]/\\&/g 13111s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13112D["\1"]=" \3\\\\\\n"\\/p 13113t cont 13114s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13115t cont 13116d 13117:cont 13118n 13119s/.\{148\}/&'"$ac_delim"'/g 13120t clear 13121:clear 13122s/\\$// 13123t bsnlc 13124s/["\\]/\\&/g; s/^/"/; s/$/"/p 13125d 13126:bsnlc 13127s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13128b cont 13129' <confdefs.h | sed ' 13130s/'"$ac_delim"'/"\\\ 13131"/g' >>$CONFIG_STATUS || ac_write_fail=1 13132 13133cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13134 for (key in D) D_is_set[key] = 1 13135 FS = "" 13136} 13137/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13138 line = \$ 0 13139 split(line, arg, " ") 13140 if (arg[1] == "#") { 13141 defundef = arg[2] 13142 mac1 = arg[3] 13143 } else { 13144 defundef = substr(arg[1], 2) 13145 mac1 = arg[2] 13146 } 13147 split(mac1, mac2, "(") #) 13148 macro = mac2[1] 13149 prefix = substr(line, 1, index(line, defundef) - 1) 13150 if (D_is_set[macro]) { 13151 # Preserve the white space surrounding the "#". 13152 print prefix "define", macro P[macro] D[macro] 13153 next 13154 } else { 13155 # Replace #undef with comments. This is necessary, for example, 13156 # in the case of _POSIX_SOURCE, which is predefined and required 13157 # on some systems where configure will not decide to define it. 13158 if (defundef == "undef") { 13159 print "/*", prefix defundef, macro, "*/" 13160 next 13161 } 13162 } 13163} 13164{ print } 13165_ACAWK 13166_ACEOF 13167cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13168 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13169fi # test -n "$CONFIG_HEADERS" 13170 13171 13172eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13173shift 13174for ac_tag 13175do 13176 case $ac_tag in 13177 :[FHLC]) ac_mode=$ac_tag; continue;; 13178 esac 13179 case $ac_mode$ac_tag in 13180 :[FHL]*:*);; 13181 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13182 :[FH]-) ac_tag=-:-;; 13183 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13184 esac 13185 ac_save_IFS=$IFS 13186 IFS=: 13187 set x $ac_tag 13188 IFS=$ac_save_IFS 13189 shift 13190 ac_file=$1 13191 shift 13192 13193 case $ac_mode in 13194 :L) ac_source=$1;; 13195 :[FH]) 13196 ac_file_inputs= 13197 for ac_f 13198 do 13199 case $ac_f in 13200 -) ac_f="$ac_tmp/stdin";; 13201 *) # Look for the file first in the build tree, then in the source tree 13202 # (if the path is not absolute). The absolute path cannot be DOS-style, 13203 # because $ac_f cannot contain `:'. 13204 test -f "$ac_f" || 13205 case $ac_f in 13206 [\\/$]*) false;; 13207 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13208 esac || 13209 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13210 esac 13211 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13212 as_fn_append ac_file_inputs " '$ac_f'" 13213 done 13214 13215 # Let's still pretend it is `configure' which instantiates (i.e., don't 13216 # use $as_me), people would be surprised to read: 13217 # /* config.h. Generated by config.status. */ 13218 configure_input='Generated from '` 13219 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13220 `' by configure.' 13221 if test x"$ac_file" != x-; then 13222 configure_input="$ac_file. $configure_input" 13223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13224$as_echo "$as_me: creating $ac_file" >&6;} 13225 fi 13226 # Neutralize special characters interpreted by sed in replacement strings. 13227 case $configure_input in #( 13228 *\&* | *\|* | *\\* ) 13229 ac_sed_conf_input=`$as_echo "$configure_input" | 13230 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13231 *) ac_sed_conf_input=$configure_input;; 13232 esac 13233 13234 case $ac_tag in 13235 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13237 esac 13238 ;; 13239 esac 13240 13241 ac_dir=`$as_dirname -- "$ac_file" || 13242$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13243 X"$ac_file" : 'X\(//\)[^/]' \| \ 13244 X"$ac_file" : 'X\(//\)$' \| \ 13245 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13246$as_echo X"$ac_file" | 13247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13248 s//\1/ 13249 q 13250 } 13251 /^X\(\/\/\)[^/].*/{ 13252 s//\1/ 13253 q 13254 } 13255 /^X\(\/\/\)$/{ 13256 s//\1/ 13257 q 13258 } 13259 /^X\(\/\).*/{ 13260 s//\1/ 13261 q 13262 } 13263 s/.*/./; q'` 13264 as_dir="$ac_dir"; as_fn_mkdir_p 13265 ac_builddir=. 13266 13267case "$ac_dir" in 13268.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13269*) 13270 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13271 # A ".." for each directory in $ac_dir_suffix. 13272 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13273 case $ac_top_builddir_sub in 13274 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13275 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13276 esac ;; 13277esac 13278ac_abs_top_builddir=$ac_pwd 13279ac_abs_builddir=$ac_pwd$ac_dir_suffix 13280# for backward compatibility: 13281ac_top_builddir=$ac_top_build_prefix 13282 13283case $srcdir in 13284 .) # We are building in place. 13285 ac_srcdir=. 13286 ac_top_srcdir=$ac_top_builddir_sub 13287 ac_abs_top_srcdir=$ac_pwd ;; 13288 [\\/]* | ?:[\\/]* ) # Absolute name. 13289 ac_srcdir=$srcdir$ac_dir_suffix; 13290 ac_top_srcdir=$srcdir 13291 ac_abs_top_srcdir=$srcdir ;; 13292 *) # Relative name. 13293 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13294 ac_top_srcdir=$ac_top_build_prefix$srcdir 13295 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13296esac 13297ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13298 13299 13300 case $ac_mode in 13301 :F) 13302 # 13303 # CONFIG_FILE 13304 # 13305 13306 case $INSTALL in 13307 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13308 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13309 esac 13310 ac_MKDIR_P=$MKDIR_P 13311 case $MKDIR_P in 13312 [\\/$]* | ?:[\\/]* ) ;; 13313 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13314 esac 13315_ACEOF 13316 13317cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13318# If the template does not know about datarootdir, expand it. 13319# FIXME: This hack should be removed a few years after 2.60. 13320ac_datarootdir_hack=; ac_datarootdir_seen= 13321ac_sed_dataroot=' 13322/datarootdir/ { 13323 p 13324 q 13325} 13326/@datadir@/p 13327/@docdir@/p 13328/@infodir@/p 13329/@localedir@/p 13330/@mandir@/p' 13331case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13332*datarootdir*) ac_datarootdir_seen=yes;; 13333*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13335$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13336_ACEOF 13337cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13338 ac_datarootdir_hack=' 13339 s&@datadir@&$datadir&g 13340 s&@docdir@&$docdir&g 13341 s&@infodir@&$infodir&g 13342 s&@localedir@&$localedir&g 13343 s&@mandir@&$mandir&g 13344 s&\\\${datarootdir}&$datarootdir&g' ;; 13345esac 13346_ACEOF 13347 13348# Neutralize VPATH when `$srcdir' = `.'. 13349# Shell code in configure.ac might set extrasub. 13350# FIXME: do we really want to maintain this feature? 13351cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13352ac_sed_extra="$ac_vpsub 13353$extrasub 13354_ACEOF 13355cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13356:t 13357/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13358s|@configure_input@|$ac_sed_conf_input|;t t 13359s&@top_builddir@&$ac_top_builddir_sub&;t t 13360s&@top_build_prefix@&$ac_top_build_prefix&;t t 13361s&@srcdir@&$ac_srcdir&;t t 13362s&@abs_srcdir@&$ac_abs_srcdir&;t t 13363s&@top_srcdir@&$ac_top_srcdir&;t t 13364s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13365s&@builddir@&$ac_builddir&;t t 13366s&@abs_builddir@&$ac_abs_builddir&;t t 13367s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13368s&@INSTALL@&$ac_INSTALL&;t t 13369s&@MKDIR_P@&$ac_MKDIR_P&;t t 13370$ac_datarootdir_hack 13371" 13372eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 13373 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13374 13375test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13376 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 13377 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 13378 "$ac_tmp/out"`; test -z "$ac_out"; } && 13379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13380which seems to be undefined. Please make sure it is defined" >&5 13381$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13382which seems to be undefined. Please make sure it is defined" >&2;} 13383 13384 rm -f "$ac_tmp/stdin" 13385 case $ac_file in 13386 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 13387 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13388 esac \ 13389 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13390 ;; 13391 :H) 13392 # 13393 # CONFIG_HEADER 13394 # 13395 if test x"$ac_file" != x-; then 13396 { 13397 $as_echo "/* $configure_input */" \ 13398 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 13399 } >"$ac_tmp/config.h" \ 13400 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13401 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 13402 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13403$as_echo "$as_me: $ac_file is unchanged" >&6;} 13404 else 13405 rm -f "$ac_file" 13406 mv "$ac_tmp/config.h" "$ac_file" \ 13407 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13408 fi 13409 else 13410 $as_echo "/* $configure_input */" \ 13411 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 13412 || as_fn_error $? "could not create -" "$LINENO" 5 13413 fi 13414# Compute "$ac_file"'s index in $config_headers. 13415_am_arg="$ac_file" 13416_am_stamp_count=1 13417for _am_header in $config_headers :; do 13418 case $_am_header in 13419 $_am_arg | $_am_arg:* ) 13420 break ;; 13421 * ) 13422 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 13423 esac 13424done 13425echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 13426$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13427 X"$_am_arg" : 'X\(//\)[^/]' \| \ 13428 X"$_am_arg" : 'X\(//\)$' \| \ 13429 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 13430$as_echo X"$_am_arg" | 13431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13432 s//\1/ 13433 q 13434 } 13435 /^X\(\/\/\)[^/].*/{ 13436 s//\1/ 13437 q 13438 } 13439 /^X\(\/\/\)$/{ 13440 s//\1/ 13441 q 13442 } 13443 /^X\(\/\).*/{ 13444 s//\1/ 13445 q 13446 } 13447 s/.*/./; q'`/stamp-h$_am_stamp_count 13448 ;; 13449 13450 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 13451$as_echo "$as_me: executing $ac_file commands" >&6;} 13452 ;; 13453 esac 13454 13455 13456 case $ac_file$ac_mode in 13457 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13458 # Older Autoconf quotes --file arguments for eval, but not when files 13459 # are listed without --file. Let's play safe and only enable the eval 13460 # if we detect the quoting. 13461 # TODO: see whether this extra hack can be removed once we start 13462 # requiring Autoconf 2.70 or later. 13463 case $CONFIG_FILES in #( 13464 *\'*) : 13465 eval set x "$CONFIG_FILES" ;; #( 13466 *) : 13467 set x $CONFIG_FILES ;; #( 13468 *) : 13469 ;; 13470esac 13471 shift 13472 # Used to flag and report bootstrapping failures. 13473 am_rc=0 13474 for am_mf 13475 do 13476 # Strip MF so we end up with the name of the file. 13477 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 13478 # Check whether this is an Automake generated Makefile which includes 13479 # dependency-tracking related rules and includes. 13480 # Grep'ing the whole file directly is not great: AIX grep has a line 13481 # limit of 2048, but all sed's we know have understand at least 4000. 13482 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 13483 || continue 13484 am_dirpart=`$as_dirname -- "$am_mf" || 13485$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13486 X"$am_mf" : 'X\(//\)[^/]' \| \ 13487 X"$am_mf" : 'X\(//\)$' \| \ 13488 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 13489$as_echo X"$am_mf" | 13490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13491 s//\1/ 13492 q 13493 } 13494 /^X\(\/\/\)[^/].*/{ 13495 s//\1/ 13496 q 13497 } 13498 /^X\(\/\/\)$/{ 13499 s//\1/ 13500 q 13501 } 13502 /^X\(\/\).*/{ 13503 s//\1/ 13504 q 13505 } 13506 s/.*/./; q'` 13507 am_filepart=`$as_basename -- "$am_mf" || 13508$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 13509 X"$am_mf" : 'X\(//\)$' \| \ 13510 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 13511$as_echo X/"$am_mf" | 13512 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13513 s//\1/ 13514 q 13515 } 13516 /^X\/\(\/\/\)$/{ 13517 s//\1/ 13518 q 13519 } 13520 /^X\/\(\/\).*/{ 13521 s//\1/ 13522 q 13523 } 13524 s/.*/./; q'` 13525 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 13526 && sed -e '/# am--include-marker/d' "$am_filepart" \ 13527 | $MAKE -f - am--depfiles" >&5 13528 (cd "$am_dirpart" \ 13529 && sed -e '/# am--include-marker/d' "$am_filepart" \ 13530 | $MAKE -f - am--depfiles) >&5 2>&5 13531 ac_status=$? 13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13533 (exit $ac_status); } || am_rc=$? 13534 done 13535 if test $am_rc -ne 0; then 13536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13538as_fn_error $? "Something went wrong bootstrapping makefile fragments 13539 for automatic dependency tracking. If GNU make was not used, consider 13540 re-running the configure script with MAKE=\"gmake\" (or whatever is 13541 necessary). You can also try re-running configure with the 13542 '--disable-dependency-tracking' option to at least be able to build 13543 the package (albeit without support for automatic dependency tracking). 13544See \`config.log' for more details" "$LINENO" 5; } 13545 fi 13546 { am_dirpart=; unset am_dirpart;} 13547 { am_filepart=; unset am_filepart;} 13548 { am_mf=; unset am_mf;} 13549 { am_rc=; unset am_rc;} 13550 rm -f conftest-deps.mk 13551} 13552 ;; 13553 "libtool":C) 13554 13555 # See if we are running on zsh, and set the options that allow our 13556 # commands through without removal of \ escapes. 13557 if test -n "${ZSH_VERSION+set}"; then 13558 setopt NO_GLOB_SUBST 13559 fi 13560 13561 cfgfile=${ofile}T 13562 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13563 $RM "$cfgfile" 13564 13565 cat <<_LT_EOF >> "$cfgfile" 13566#! $SHELL 13567# Generated automatically by $as_me ($PACKAGE) $VERSION 13568# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13569# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13570 13571# Provide generalized library-building support services. 13572# Written by Gordon Matzigkeit, 1996 13573 13574# Copyright (C) 2014 Free Software Foundation, Inc. 13575# This is free software; see the source for copying conditions. There is NO 13576# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 13577 13578# GNU Libtool is free software; you can redistribute it and/or modify 13579# it under the terms of the GNU General Public License as published by 13580# the Free Software Foundation; either version 2 of of the License, or 13581# (at your option) any later version. 13582# 13583# As a special exception to the GNU General Public License, if you 13584# distribute this file as part of a program or library that is built 13585# using GNU Libtool, you may include this file under the same 13586# distribution terms that you use for the rest of that program. 13587# 13588# GNU Libtool is distributed in the hope that it will be useful, but 13589# WITHOUT ANY WARRANTY; without even the implied warranty of 13590# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13591# GNU General Public License for more details. 13592# 13593# You should have received a copy of the GNU General Public License 13594# along with this program. If not, see <http://www.gnu.org/licenses/>. 13595 13596 13597# The names of the tagged configurations supported by this script. 13598available_tags='' 13599 13600# Configured defaults for sys_lib_dlsearch_path munging. 13601: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 13602 13603# ### BEGIN LIBTOOL CONFIG 13604 13605# Which release of libtool.m4 was used? 13606macro_version=$macro_version 13607macro_revision=$macro_revision 13608 13609# Whether or not to build shared libraries. 13610build_libtool_libs=$enable_shared 13611 13612# Whether or not to build static libraries. 13613build_old_libs=$enable_static 13614 13615# What type of objects to build. 13616pic_mode=$pic_mode 13617 13618# Whether or not to optimize for fast installation. 13619fast_install=$enable_fast_install 13620 13621# Shared archive member basename,for filename based shared library versioning on AIX. 13622shared_archive_member_spec=$shared_archive_member_spec 13623 13624# Shell to use when invoking shell scripts. 13625SHELL=$lt_SHELL 13626 13627# An echo program that protects backslashes. 13628ECHO=$lt_ECHO 13629 13630# The PATH separator for the build system. 13631PATH_SEPARATOR=$lt_PATH_SEPARATOR 13632 13633# The host system. 13634host_alias=$host_alias 13635host=$host 13636host_os=$host_os 13637 13638# The build system. 13639build_alias=$build_alias 13640build=$build 13641build_os=$build_os 13642 13643# A sed program that does not truncate output. 13644SED=$lt_SED 13645 13646# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13647Xsed="\$SED -e 1s/^X//" 13648 13649# A grep program that handles long lines. 13650GREP=$lt_GREP 13651 13652# An ERE matcher. 13653EGREP=$lt_EGREP 13654 13655# A literal string matcher. 13656FGREP=$lt_FGREP 13657 13658# A BSD- or MS-compatible name lister. 13659NM=$lt_NM 13660 13661# Whether we need soft or hard links. 13662LN_S=$lt_LN_S 13663 13664# What is the maximum length of a command? 13665max_cmd_len=$max_cmd_len 13666 13667# Object file suffix (normally "o"). 13668objext=$ac_objext 13669 13670# Executable file suffix (normally ""). 13671exeext=$exeext 13672 13673# whether the shell understands "unset". 13674lt_unset=$lt_unset 13675 13676# turn spaces into newlines. 13677SP2NL=$lt_lt_SP2NL 13678 13679# turn newlines into spaces. 13680NL2SP=$lt_lt_NL2SP 13681 13682# convert \$build file names to \$host format. 13683to_host_file_cmd=$lt_cv_to_host_file_cmd 13684 13685# convert \$build files to toolchain format. 13686to_tool_file_cmd=$lt_cv_to_tool_file_cmd 13687 13688# An object symbol dumper. 13689OBJDUMP=$lt_OBJDUMP 13690 13691# Method to check whether dependent libraries are shared objects. 13692deplibs_check_method=$lt_deplibs_check_method 13693 13694# Command to use when deplibs_check_method = "file_magic". 13695file_magic_cmd=$lt_file_magic_cmd 13696 13697# How to find potential files when deplibs_check_method = "file_magic". 13698file_magic_glob=$lt_file_magic_glob 13699 13700# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 13701want_nocaseglob=$lt_want_nocaseglob 13702 13703# DLL creation program. 13704DLLTOOL=$lt_DLLTOOL 13705 13706# Command to associate shared and link libraries. 13707sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 13708 13709# The archiver. 13710AR=$lt_AR 13711 13712# Flags to create an archive. 13713AR_FLAGS=$lt_AR_FLAGS 13714 13715# How to feed a file listing to the archiver. 13716archiver_list_spec=$lt_archiver_list_spec 13717 13718# A symbol stripping program. 13719STRIP=$lt_STRIP 13720 13721# Commands used to install an old-style archive. 13722RANLIB=$lt_RANLIB 13723old_postinstall_cmds=$lt_old_postinstall_cmds 13724old_postuninstall_cmds=$lt_old_postuninstall_cmds 13725 13726# Whether to use a lock for old archive extraction. 13727lock_old_archive_extraction=$lock_old_archive_extraction 13728 13729# A C compiler. 13730LTCC=$lt_CC 13731 13732# LTCC compiler flags. 13733LTCFLAGS=$lt_CFLAGS 13734 13735# Take the output of nm and produce a listing of raw symbols and C names. 13736global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13737 13738# Transform the output of nm in a proper C declaration. 13739global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13740 13741# Transform the output of nm into a list of symbols to manually relocate. 13742global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 13743 13744# Transform the output of nm in a C name address pair. 13745global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13746 13747# Transform the output of nm in a C name address pair when lib prefix is needed. 13748global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13749 13750# The name lister interface. 13751nm_interface=$lt_lt_cv_nm_interface 13752 13753# Specify filename containing input files for \$NM. 13754nm_file_list_spec=$lt_nm_file_list_spec 13755 13756# The root where to search for dependent libraries,and where our libraries should be installed. 13757lt_sysroot=$lt_sysroot 13758 13759# Command to truncate a binary pipe. 13760lt_truncate_bin=$lt_lt_cv_truncate_bin 13761 13762# The name of the directory that contains temporary libtool files. 13763objdir=$objdir 13764 13765# Used to examine libraries when file_magic_cmd begins with "file". 13766MAGIC_CMD=$MAGIC_CMD 13767 13768# Must we lock files when doing compilation? 13769need_locks=$lt_need_locks 13770 13771# Manifest tool. 13772MANIFEST_TOOL=$lt_MANIFEST_TOOL 13773 13774# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13775DSYMUTIL=$lt_DSYMUTIL 13776 13777# Tool to change global to local symbols on Mac OS X. 13778NMEDIT=$lt_NMEDIT 13779 13780# Tool to manipulate fat objects and archives on Mac OS X. 13781LIPO=$lt_LIPO 13782 13783# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13784OTOOL=$lt_OTOOL 13785 13786# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13787OTOOL64=$lt_OTOOL64 13788 13789# Old archive suffix (normally "a"). 13790libext=$libext 13791 13792# Shared library suffix (normally ".so"). 13793shrext_cmds=$lt_shrext_cmds 13794 13795# The commands to extract the exported symbol list from a shared archive. 13796extract_expsyms_cmds=$lt_extract_expsyms_cmds 13797 13798# Variables whose values should be saved in libtool wrapper scripts and 13799# restored at link time. 13800variables_saved_for_relink=$lt_variables_saved_for_relink 13801 13802# Do we need the "lib" prefix for modules? 13803need_lib_prefix=$need_lib_prefix 13804 13805# Do we need a version for libraries? 13806need_version=$need_version 13807 13808# Library versioning type. 13809version_type=$version_type 13810 13811# Shared library runtime path variable. 13812runpath_var=$runpath_var 13813 13814# Shared library path variable. 13815shlibpath_var=$shlibpath_var 13816 13817# Is shlibpath searched before the hard-coded library search path? 13818shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13819 13820# Format of library name prefix. 13821libname_spec=$lt_libname_spec 13822 13823# List of archive names. First name is the real one, the rest are links. 13824# The last name is the one that the linker finds with -lNAME 13825library_names_spec=$lt_library_names_spec 13826 13827# The coded name of the library, if different from the real name. 13828soname_spec=$lt_soname_spec 13829 13830# Permission mode override for installation of shared libraries. 13831install_override_mode=$lt_install_override_mode 13832 13833# Command to use after installation of a shared archive. 13834postinstall_cmds=$lt_postinstall_cmds 13835 13836# Command to use after uninstallation of a shared archive. 13837postuninstall_cmds=$lt_postuninstall_cmds 13838 13839# Commands used to finish a libtool library installation in a directory. 13840finish_cmds=$lt_finish_cmds 13841 13842# As "finish_cmds", except a single script fragment to be evaled but 13843# not shown. 13844finish_eval=$lt_finish_eval 13845 13846# Whether we should hardcode library paths into libraries. 13847hardcode_into_libs=$hardcode_into_libs 13848 13849# Compile-time system search path for libraries. 13850sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13851 13852# Detected run-time system search path for libraries. 13853sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 13854 13855# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 13856configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 13857 13858# Whether dlopen is supported. 13859dlopen_support=$enable_dlopen 13860 13861# Whether dlopen of programs is supported. 13862dlopen_self=$enable_dlopen_self 13863 13864# Whether dlopen of statically linked programs is supported. 13865dlopen_self_static=$enable_dlopen_self_static 13866 13867# Commands to strip libraries. 13868old_striplib=$lt_old_striplib 13869striplib=$lt_striplib 13870 13871 13872# The linker used to build libraries. 13873LD=$lt_LD 13874 13875# How to create reloadable object files. 13876reload_flag=$lt_reload_flag 13877reload_cmds=$lt_reload_cmds 13878 13879# Commands used to build an old-style archive. 13880old_archive_cmds=$lt_old_archive_cmds 13881 13882# A language specific compiler. 13883CC=$lt_compiler 13884 13885# Is the compiler the GNU compiler? 13886with_gcc=$GCC 13887 13888# Compiler flag to turn off builtin functions. 13889no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13890 13891# Additional compiler flags for building library objects. 13892pic_flag=$lt_lt_prog_compiler_pic 13893 13894# How to pass a linker flag through the compiler. 13895wl=$lt_lt_prog_compiler_wl 13896 13897# Compiler flag to prevent dynamic linking. 13898link_static_flag=$lt_lt_prog_compiler_static 13899 13900# Does compiler simultaneously support -c and -o options? 13901compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13902 13903# Whether or not to add -lc for building shared libraries. 13904build_libtool_need_lc=$archive_cmds_need_lc 13905 13906# Whether or not to disallow shared libs when runtime libs are static. 13907allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13908 13909# Compiler flag to allow reflexive dlopens. 13910export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13911 13912# Compiler flag to generate shared objects directly from archives. 13913whole_archive_flag_spec=$lt_whole_archive_flag_spec 13914 13915# Whether the compiler copes with passing no objects directly. 13916compiler_needs_object=$lt_compiler_needs_object 13917 13918# Create an old-style archive from a shared archive. 13919old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13920 13921# Create a temporary old-style archive to link instead of a shared archive. 13922old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13923 13924# Commands used to build a shared archive. 13925archive_cmds=$lt_archive_cmds 13926archive_expsym_cmds=$lt_archive_expsym_cmds 13927 13928# Commands used to build a loadable module if different from building 13929# a shared archive. 13930module_cmds=$lt_module_cmds 13931module_expsym_cmds=$lt_module_expsym_cmds 13932 13933# Whether we are building with GNU ld or not. 13934with_gnu_ld=$lt_with_gnu_ld 13935 13936# Flag that allows shared libraries with undefined symbols to be built. 13937allow_undefined_flag=$lt_allow_undefined_flag 13938 13939# Flag that enforces no undefined symbols. 13940no_undefined_flag=$lt_no_undefined_flag 13941 13942# Flag to hardcode \$libdir into a binary during linking. 13943# This must work even if \$libdir does not exist 13944hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13945 13946# Whether we need a single "-rpath" flag with a separated argument. 13947hardcode_libdir_separator=$lt_hardcode_libdir_separator 13948 13949# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 13950# DIR into the resulting binary. 13951hardcode_direct=$hardcode_direct 13952 13953# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 13954# DIR into the resulting binary and the resulting library dependency is 13955# "absolute",i.e impossible to change by setting \$shlibpath_var if the 13956# library is relocated. 13957hardcode_direct_absolute=$hardcode_direct_absolute 13958 13959# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13960# into the resulting binary. 13961hardcode_minus_L=$hardcode_minus_L 13962 13963# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13964# into the resulting binary. 13965hardcode_shlibpath_var=$hardcode_shlibpath_var 13966 13967# Set to "yes" if building a shared library automatically hardcodes DIR 13968# into the library and all subsequent libraries and executables linked 13969# against it. 13970hardcode_automatic=$hardcode_automatic 13971 13972# Set to yes if linker adds runtime paths of dependent libraries 13973# to runtime path list. 13974inherit_rpath=$inherit_rpath 13975 13976# Whether libtool must link a program against all its dependency libraries. 13977link_all_deplibs=$link_all_deplibs 13978 13979# Set to "yes" if exported symbols are required. 13980always_export_symbols=$always_export_symbols 13981 13982# The commands to list exported symbols. 13983export_symbols_cmds=$lt_export_symbols_cmds 13984 13985# Symbols that should not be listed in the preloaded symbols. 13986exclude_expsyms=$lt_exclude_expsyms 13987 13988# Symbols that must always be exported. 13989include_expsyms=$lt_include_expsyms 13990 13991# Commands necessary for linking programs (against libraries) with templates. 13992prelink_cmds=$lt_prelink_cmds 13993 13994# Commands necessary for finishing linking programs. 13995postlink_cmds=$lt_postlink_cmds 13996 13997# Specify filename containing input files. 13998file_list_spec=$lt_file_list_spec 13999 14000# How to hardcode a shared library path into an executable. 14001hardcode_action=$hardcode_action 14002 14003# ### END LIBTOOL CONFIG 14004 14005_LT_EOF 14006 14007 cat <<'_LT_EOF' >> "$cfgfile" 14008 14009# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 14010 14011# func_munge_path_list VARIABLE PATH 14012# ----------------------------------- 14013# VARIABLE is name of variable containing _space_ separated list of 14014# directories to be munged by the contents of PATH, which is string 14015# having a format: 14016# "DIR[:DIR]:" 14017# string "DIR[ DIR]" will be prepended to VARIABLE 14018# ":DIR[:DIR]" 14019# string "DIR[ DIR]" will be appended to VARIABLE 14020# "DIRP[:DIRP]::[DIRA:]DIRA" 14021# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 14022# "DIRA[ DIRA]" will be appended to VARIABLE 14023# "DIR[:DIR]" 14024# VARIABLE will be replaced by "DIR[ DIR]" 14025func_munge_path_list () 14026{ 14027 case x$2 in 14028 x) 14029 ;; 14030 *:) 14031 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 14032 ;; 14033 x:*) 14034 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 14035 ;; 14036 *::*) 14037 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14038 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 14039 ;; 14040 *) 14041 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 14042 ;; 14043 esac 14044} 14045 14046 14047# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14048func_cc_basename () 14049{ 14050 for cc_temp in $*""; do 14051 case $cc_temp in 14052 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14053 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14054 \-*) ;; 14055 *) break;; 14056 esac 14057 done 14058 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 14059} 14060 14061 14062# ### END FUNCTIONS SHARED WITH CONFIGURE 14063 14064_LT_EOF 14065 14066 case $host_os in 14067 aix3*) 14068 cat <<\_LT_EOF >> "$cfgfile" 14069# AIX sometimes has problems with the GCC collect2 program. For some 14070# reason, if we set the COLLECT_NAMES environment variable, the problems 14071# vanish in a puff of smoke. 14072if test set != "${COLLECT_NAMES+set}"; then 14073 COLLECT_NAMES= 14074 export COLLECT_NAMES 14075fi 14076_LT_EOF 14077 ;; 14078 esac 14079 14080 14081ltmain=$ac_aux_dir/ltmain.sh 14082 14083 14084 # We use sed instead of cat because bash on DJGPP gets confused if 14085 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14086 # text mode, it properly converts lines to CR/LF. This bash problem 14087 # is reportedly fixed, but why not run on old versions too? 14088 sed '$q' "$ltmain" >> "$cfgfile" \ 14089 || (rm -f "$cfgfile"; exit 1) 14090 14091 mv -f "$cfgfile" "$ofile" || 14092 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14093 chmod +x "$ofile" 14094 14095 ;; 14096 14097 esac 14098done # for ac_tag 14099 14100 14101as_fn_exit 0 14102_ACEOF 14103ac_clean_files=$ac_clean_files_save 14104 14105test $ac_write_fail = 0 || 14106 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14107 14108 14109# configure is writing to config.log, and then calls config.status. 14110# config.status does its own redirection, appending to config.log. 14111# Unfortunately, on DOS this fails, as config.log is still kept open 14112# by configure, so config.status won't be able to write to it; its 14113# output is simply discarded. So we exec the FD to /dev/null, 14114# effectively closing config.log, so it can be properly (re)opened and 14115# appended to by config.status. When coming back to configure, we 14116# need to make the FD available again. 14117if test "$no_create" != yes; then 14118 ac_cs_success=: 14119 ac_config_status_args= 14120 test "$silent" = yes && 14121 ac_config_status_args="$ac_config_status_args --quiet" 14122 exec 5>/dev/null 14123 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14124 exec 5>>config.log 14125 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14126 # would make configure fail if this is the last instruction. 14127 $ac_cs_success || as_fn_exit 1 14128fi 14129if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14131$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14132fi 14133 14134