1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for dvi2tty (TeX Live) 5.3.4. 4# 5# Report bugs to <tex-k@tug.org>. 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 tex-k@tug.org 278$0: about your system, including any error possibly output 279$0: before this message. Then install a modern shell, or 280$0: manually run the script under such a shell if you do 281$0: 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='dvi2tty (TeX Live)' 592PACKAGE_TARNAME='dvi2tty--tex-live-' 593PACKAGE_VERSION='5.3.4' 594PACKAGE_STRING='dvi2tty (TeX Live) 5.3.4' 595PACKAGE_BUGREPORT='tex-k@tug.org' 596PACKAGE_URL='' 597 598ac_unique_file="dvi2tty-5.3.4/dvi2tty.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 639DVI2TTY_TREE 640PTEXENC_RULE 641PTEXENC_DEPEND 642PTEXENC_LIBS 643PTEXENC_INCLUDES 644KPATHSEA_RULE 645KPATHSEA_DEPEND 646KPATHSEA_LIBS 647KPATHSEA_INCLUDES 648PKG_CONFIG 649CPP 650LT_SYS_LIBRARY_PATH 651OTOOL64 652OTOOL 653LIPO 654NMEDIT 655DSYMUTIL 656MANIFEST_TOOL 657RANLIB 658ac_ct_AR 659AR 660LN_S 661NM 662ac_ct_DUMPBIN 663DUMPBIN 664LD 665FGREP 666EGREP 667GREP 668SED 669host_os 670host_vendor 671host_cpu 672host 673build_os 674build_vendor 675build_cpu 676build 677LIBTOOL 678OBJDUMP 679DLLTOOL 680AS 681WARNING_CFLAGS 682am__fastdepCC_FALSE 683am__fastdepCC_TRUE 684CCDEPMODE 685am__nodep 686AMDEPBACKSLASH 687AMDEP_FALSE 688AMDEP_TRUE 689am__quote 690am__include 691DEPDIR 692OBJEXT 693EXEEXT 694ac_ct_CC 695CPPFLAGS 696LDFLAGS 697CFLAGS 698CC 699MAINT 700MAINTAINER_MODE_FALSE 701MAINTAINER_MODE_TRUE 702AM_BACKSLASH 703AM_DEFAULT_VERBOSITY 704AM_DEFAULT_V 705AM_V 706am__untar 707am__tar 708AMTAR 709am__leading_dot 710SET_MAKE 711AWK 712mkdir_p 713MKDIR_P 714INSTALL_STRIP_PROGRAM 715STRIP 716install_sh 717MAKEINFO 718AUTOHEADER 719AUTOMAKE 720AUTOCONF 721ACLOCAL 722VERSION 723PACKAGE 724CYGPATH_W 725am__isrc 726INSTALL_DATA 727INSTALL_SCRIPT 728INSTALL_PROGRAM 729target_alias 730host_alias 731build_alias 732LIBS 733ECHO_T 734ECHO_N 735ECHO_C 736DEFS 737mandir 738localedir 739libdir 740psdir 741pdfdir 742dvidir 743htmldir 744infodir 745docdir 746oldincludedir 747includedir 748localstatedir 749sharedstatedir 750sysconfdir 751datadir 752datarootdir 753libexecdir 754sbindir 755bindir 756program_transform_name 757prefix 758exec_prefix 759PACKAGE_URL 760PACKAGE_BUGREPORT 761PACKAGE_STRING 762PACKAGE_VERSION 763PACKAGE_TARNAME 764PACKAGE_NAME 765PATH_SEPARATOR 766SHELL' 767ac_subst_files='' 768ac_user_opts=' 769enable_option_checking 770enable_silent_rules 771enable_maintainer_mode 772enable_dependency_tracking 773enable_compiler_warnings 774enable_shared 775enable_static 776with_pic 777enable_fast_install 778with_aix_soname 779with_gnu_ld 780with_sysroot 781enable_libtool_lock 782enable_largefile 783with_system_kpathsea 784with_system_ptexenc 785' 786 ac_precious_vars='build_alias 787host_alias 788target_alias 789CC 790CFLAGS 791LDFLAGS 792LIBS 793CPPFLAGS 794LT_SYS_LIBRARY_PATH 795CPP' 796 797 798# Initialize some variables set by options. 799ac_init_help= 800ac_init_version=false 801ac_unrecognized_opts= 802ac_unrecognized_sep= 803# The variables have the same names as the options, with 804# dashes changed to underlines. 805cache_file=/dev/null 806exec_prefix=NONE 807no_create= 808no_recursion= 809prefix=NONE 810program_prefix=NONE 811program_suffix=NONE 812program_transform_name=s,x,x, 813silent= 814site= 815srcdir= 816verbose= 817x_includes=NONE 818x_libraries=NONE 819 820# Installation directory options. 821# These are left unexpanded so users can "make install exec_prefix=/foo" 822# and all the variables that are supposed to be based on exec_prefix 823# by default will actually change. 824# Use braces instead of parens because sh, perl, etc. also accept them. 825# (The list follows the same order as the GNU Coding Standards.) 826bindir='${exec_prefix}/bin' 827sbindir='${exec_prefix}/sbin' 828libexecdir='${exec_prefix}/libexec' 829datarootdir='${prefix}/share' 830datadir='${datarootdir}' 831sysconfdir='${prefix}/etc' 832sharedstatedir='${prefix}/com' 833localstatedir='${prefix}/var' 834includedir='${prefix}/include' 835oldincludedir='/usr/include' 836docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 837infodir='${datarootdir}/info' 838htmldir='${docdir}' 839dvidir='${docdir}' 840pdfdir='${docdir}' 841psdir='${docdir}' 842libdir='${exec_prefix}/lib' 843localedir='${datarootdir}/locale' 844mandir='${datarootdir}/man' 845 846ac_prev= 847ac_dashdash= 848for ac_option 849do 850 # If the previous option needs an argument, assign it. 851 if test -n "$ac_prev"; then 852 eval $ac_prev=\$ac_option 853 ac_prev= 854 continue 855 fi 856 857 case $ac_option in 858 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 859 *=) ac_optarg= ;; 860 *) ac_optarg=yes ;; 861 esac 862 863 # Accept the important Cygnus configure options, so we can diagnose typos. 864 865 case $ac_dashdash$ac_option in 866 --) 867 ac_dashdash=yes ;; 868 869 -bindir | --bindir | --bindi | --bind | --bin | --bi) 870 ac_prev=bindir ;; 871 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 872 bindir=$ac_optarg ;; 873 874 -build | --build | --buil | --bui | --bu) 875 ac_prev=build_alias ;; 876 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 877 build_alias=$ac_optarg ;; 878 879 -cache-file | --cache-file | --cache-fil | --cache-fi \ 880 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 881 ac_prev=cache_file ;; 882 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 883 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 884 cache_file=$ac_optarg ;; 885 886 --config-cache | -C) 887 cache_file=config.cache ;; 888 889 -datadir | --datadir | --datadi | --datad) 890 ac_prev=datadir ;; 891 -datadir=* | --datadir=* | --datadi=* | --datad=*) 892 datadir=$ac_optarg ;; 893 894 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 895 | --dataroo | --dataro | --datar) 896 ac_prev=datarootdir ;; 897 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 898 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 899 datarootdir=$ac_optarg ;; 900 901 -disable-* | --disable-*) 902 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 903 # Reject names that are not valid shell variable names. 904 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 905 as_fn_error $? "invalid feature name: $ac_useropt" 906 ac_useropt_orig=$ac_useropt 907 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 908 case $ac_user_opts in 909 *" 910"enable_$ac_useropt" 911"*) ;; 912 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 913 ac_unrecognized_sep=', ';; 914 esac 915 eval enable_$ac_useropt=no ;; 916 917 -docdir | --docdir | --docdi | --doc | --do) 918 ac_prev=docdir ;; 919 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 920 docdir=$ac_optarg ;; 921 922 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 923 ac_prev=dvidir ;; 924 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 925 dvidir=$ac_optarg ;; 926 927 -enable-* | --enable-*) 928 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 929 # Reject names that are not valid shell variable names. 930 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 931 as_fn_error $? "invalid feature name: $ac_useropt" 932 ac_useropt_orig=$ac_useropt 933 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 934 case $ac_user_opts in 935 *" 936"enable_$ac_useropt" 937"*) ;; 938 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 939 ac_unrecognized_sep=', ';; 940 esac 941 eval enable_$ac_useropt=\$ac_optarg ;; 942 943 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 944 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 945 | --exec | --exe | --ex) 946 ac_prev=exec_prefix ;; 947 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 948 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 949 | --exec=* | --exe=* | --ex=*) 950 exec_prefix=$ac_optarg ;; 951 952 -gas | --gas | --ga | --g) 953 # Obsolete; use --with-gas. 954 with_gas=yes ;; 955 956 -help | --help | --hel | --he | -h) 957 ac_init_help=long ;; 958 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 959 ac_init_help=recursive ;; 960 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 961 ac_init_help=short ;; 962 963 -host | --host | --hos | --ho) 964 ac_prev=host_alias ;; 965 -host=* | --host=* | --hos=* | --ho=*) 966 host_alias=$ac_optarg ;; 967 968 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 969 ac_prev=htmldir ;; 970 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 971 | --ht=*) 972 htmldir=$ac_optarg ;; 973 974 -includedir | --includedir | --includedi | --included | --include \ 975 | --includ | --inclu | --incl | --inc) 976 ac_prev=includedir ;; 977 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 978 | --includ=* | --inclu=* | --incl=* | --inc=*) 979 includedir=$ac_optarg ;; 980 981 -infodir | --infodir | --infodi | --infod | --info | --inf) 982 ac_prev=infodir ;; 983 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 984 infodir=$ac_optarg ;; 985 986 -libdir | --libdir | --libdi | --libd) 987 ac_prev=libdir ;; 988 -libdir=* | --libdir=* | --libdi=* | --libd=*) 989 libdir=$ac_optarg ;; 990 991 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 992 | --libexe | --libex | --libe) 993 ac_prev=libexecdir ;; 994 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 995 | --libexe=* | --libex=* | --libe=*) 996 libexecdir=$ac_optarg ;; 997 998 -localedir | --localedir | --localedi | --localed | --locale) 999 ac_prev=localedir ;; 1000 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1001 localedir=$ac_optarg ;; 1002 1003 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1004 | --localstate | --localstat | --localsta | --localst | --locals) 1005 ac_prev=localstatedir ;; 1006 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1007 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1008 localstatedir=$ac_optarg ;; 1009 1010 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1011 ac_prev=mandir ;; 1012 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1013 mandir=$ac_optarg ;; 1014 1015 -nfp | --nfp | --nf) 1016 # Obsolete; use --without-fp. 1017 with_fp=no ;; 1018 1019 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1020 | --no-cr | --no-c | -n) 1021 no_create=yes ;; 1022 1023 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1024 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1025 no_recursion=yes ;; 1026 1027 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1028 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1029 | --oldin | --oldi | --old | --ol | --o) 1030 ac_prev=oldincludedir ;; 1031 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1032 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1033 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1034 oldincludedir=$ac_optarg ;; 1035 1036 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1037 ac_prev=prefix ;; 1038 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1039 prefix=$ac_optarg ;; 1040 1041 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1042 | --program-pre | --program-pr | --program-p) 1043 ac_prev=program_prefix ;; 1044 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1045 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1046 program_prefix=$ac_optarg ;; 1047 1048 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1049 | --program-suf | --program-su | --program-s) 1050 ac_prev=program_suffix ;; 1051 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1052 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1053 program_suffix=$ac_optarg ;; 1054 1055 -program-transform-name | --program-transform-name \ 1056 | --program-transform-nam | --program-transform-na \ 1057 | --program-transform-n | --program-transform- \ 1058 | --program-transform | --program-transfor \ 1059 | --program-transfo | --program-transf \ 1060 | --program-trans | --program-tran \ 1061 | --progr-tra | --program-tr | --program-t) 1062 ac_prev=program_transform_name ;; 1063 -program-transform-name=* | --program-transform-name=* \ 1064 | --program-transform-nam=* | --program-transform-na=* \ 1065 | --program-transform-n=* | --program-transform-=* \ 1066 | --program-transform=* | --program-transfor=* \ 1067 | --program-transfo=* | --program-transf=* \ 1068 | --program-trans=* | --program-tran=* \ 1069 | --progr-tra=* | --program-tr=* | --program-t=*) 1070 program_transform_name=$ac_optarg ;; 1071 1072 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1073 ac_prev=pdfdir ;; 1074 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1075 pdfdir=$ac_optarg ;; 1076 1077 -psdir | --psdir | --psdi | --psd | --ps) 1078 ac_prev=psdir ;; 1079 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1080 psdir=$ac_optarg ;; 1081 1082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1083 | -silent | --silent | --silen | --sile | --sil) 1084 silent=yes ;; 1085 1086 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1087 ac_prev=sbindir ;; 1088 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1089 | --sbi=* | --sb=*) 1090 sbindir=$ac_optarg ;; 1091 1092 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1093 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1094 | --sharedst | --shareds | --shared | --share | --shar \ 1095 | --sha | --sh) 1096 ac_prev=sharedstatedir ;; 1097 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1098 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1099 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1100 | --sha=* | --sh=*) 1101 sharedstatedir=$ac_optarg ;; 1102 1103 -site | --site | --sit) 1104 ac_prev=site ;; 1105 -site=* | --site=* | --sit=*) 1106 site=$ac_optarg ;; 1107 1108 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1109 ac_prev=srcdir ;; 1110 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1111 srcdir=$ac_optarg ;; 1112 1113 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1114 | --syscon | --sysco | --sysc | --sys | --sy) 1115 ac_prev=sysconfdir ;; 1116 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1117 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1118 sysconfdir=$ac_optarg ;; 1119 1120 -target | --target | --targe | --targ | --tar | --ta | --t) 1121 ac_prev=target_alias ;; 1122 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1123 target_alias=$ac_optarg ;; 1124 1125 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1126 verbose=yes ;; 1127 1128 -version | --version | --versio | --versi | --vers | -V) 1129 ac_init_version=: ;; 1130 1131 -with-* | --with-*) 1132 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1133 # Reject names that are not valid shell variable names. 1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1135 as_fn_error $? "invalid package name: $ac_useropt" 1136 ac_useropt_orig=$ac_useropt 1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1138 case $ac_user_opts in 1139 *" 1140"with_$ac_useropt" 1141"*) ;; 1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1143 ac_unrecognized_sep=', ';; 1144 esac 1145 eval with_$ac_useropt=\$ac_optarg ;; 1146 1147 -without-* | --without-*) 1148 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1149 # Reject names that are not valid shell variable names. 1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1151 as_fn_error $? "invalid package name: $ac_useropt" 1152 ac_useropt_orig=$ac_useropt 1153 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1154 case $ac_user_opts in 1155 *" 1156"with_$ac_useropt" 1157"*) ;; 1158 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1159 ac_unrecognized_sep=', ';; 1160 esac 1161 eval with_$ac_useropt=no ;; 1162 1163 --x) 1164 # Obsolete; use --with-x. 1165 with_x=yes ;; 1166 1167 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1168 | --x-incl | --x-inc | --x-in | --x-i) 1169 ac_prev=x_includes ;; 1170 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1171 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1172 x_includes=$ac_optarg ;; 1173 1174 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1175 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1176 ac_prev=x_libraries ;; 1177 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1178 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1179 x_libraries=$ac_optarg ;; 1180 1181 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1182Try \`$0 --help' for more information" 1183 ;; 1184 1185 *=*) 1186 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1187 # Reject names that are not valid shell variable names. 1188 case $ac_envvar in #( 1189 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1190 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1191 esac 1192 eval $ac_envvar=\$ac_optarg 1193 export $ac_envvar ;; 1194 1195 *) 1196 # FIXME: should be removed in autoconf 3.0. 1197 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1198 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1199 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1200 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1201 ;; 1202 1203 esac 1204done 1205 1206if test -n "$ac_prev"; then 1207 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1208 as_fn_error $? "missing argument to $ac_option" 1209fi 1210 1211if test -n "$ac_unrecognized_opts"; then 1212 case $enable_option_checking in 1213 no) ;; 1214 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1215 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1216 esac 1217fi 1218 1219# Check all directory arguments for consistency. 1220for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1221 datadir sysconfdir sharedstatedir localstatedir includedir \ 1222 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1223 libdir localedir mandir 1224do 1225 eval ac_val=\$$ac_var 1226 # Remove trailing slashes. 1227 case $ac_val in 1228 */ ) 1229 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1230 eval $ac_var=\$ac_val;; 1231 esac 1232 # Be sure to have absolute directory names. 1233 case $ac_val in 1234 [\\/$]* | ?:[\\/]* ) continue;; 1235 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1236 esac 1237 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1238done 1239 1240# There might be people who depend on the old broken behavior: `$host' 1241# used to hold the argument of --host etc. 1242# FIXME: To remove some day. 1243build=$build_alias 1244host=$host_alias 1245target=$target_alias 1246 1247# FIXME: To remove some day. 1248if test "x$host_alias" != x; then 1249 if test "x$build_alias" = x; then 1250 cross_compiling=maybe 1251 elif test "x$build_alias" != "x$host_alias"; then 1252 cross_compiling=yes 1253 fi 1254fi 1255 1256ac_tool_prefix= 1257test -n "$host_alias" && ac_tool_prefix=$host_alias- 1258 1259test "$silent" = yes && exec 6>/dev/null 1260 1261 1262ac_pwd=`pwd` && test -n "$ac_pwd" && 1263ac_ls_di=`ls -di .` && 1264ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1265 as_fn_error $? "working directory cannot be determined" 1266test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1267 as_fn_error $? "pwd does not report name of working directory" 1268 1269 1270# Find the source files, if location was not specified. 1271if test -z "$srcdir"; then 1272 ac_srcdir_defaulted=yes 1273 # Try the directory containing this script, then the parent directory. 1274 ac_confdir=`$as_dirname -- "$as_myself" || 1275$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1276 X"$as_myself" : 'X\(//\)[^/]' \| \ 1277 X"$as_myself" : 'X\(//\)$' \| \ 1278 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1279$as_echo X"$as_myself" | 1280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1281 s//\1/ 1282 q 1283 } 1284 /^X\(\/\/\)[^/].*/{ 1285 s//\1/ 1286 q 1287 } 1288 /^X\(\/\/\)$/{ 1289 s//\1/ 1290 q 1291 } 1292 /^X\(\/\).*/{ 1293 s//\1/ 1294 q 1295 } 1296 s/.*/./; q'` 1297 srcdir=$ac_confdir 1298 if test ! -r "$srcdir/$ac_unique_file"; then 1299 srcdir=.. 1300 fi 1301else 1302 ac_srcdir_defaulted=no 1303fi 1304if test ! -r "$srcdir/$ac_unique_file"; then 1305 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1306 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1307fi 1308ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1309ac_abs_confdir=`( 1310 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1311 pwd)` 1312# When building in place, set srcdir=. 1313if test "$ac_abs_confdir" = "$ac_pwd"; then 1314 srcdir=. 1315fi 1316# Remove unnecessary trailing slashes from srcdir. 1317# Double slashes in file names in object file debugging info 1318# mess up M-x gdb in Emacs. 1319case $srcdir in 1320*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1321esac 1322for ac_var in $ac_precious_vars; do 1323 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1324 eval ac_env_${ac_var}_value=\$${ac_var} 1325 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1326 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1327done 1328 1329# 1330# Report the --help message. 1331# 1332if test "$ac_init_help" = "long"; then 1333 # Omit some internal or obsolete options to make the list less imposing. 1334 # This message is too long to be a string in the A/UX 3.1 sh. 1335 cat <<_ACEOF 1336\`configure' configures dvi2tty (TeX Live) 5.3.4 to adapt to many kinds of systems. 1337 1338Usage: $0 [OPTION]... [VAR=VALUE]... 1339 1340To assign environment variables (e.g., CC, CFLAGS...), specify them as 1341VAR=VALUE. See below for descriptions of some of the useful variables. 1342 1343Defaults for the options are specified in brackets. 1344 1345Configuration: 1346 -h, --help display this help and exit 1347 --help=short display options specific to this package 1348 --help=recursive display the short help of all the included packages 1349 -V, --version display version information and exit 1350 -q, --quiet, --silent do not print \`checking ...' messages 1351 --cache-file=FILE cache test results in FILE [disabled] 1352 -C, --config-cache alias for \`--cache-file=config.cache' 1353 -n, --no-create do not create output files 1354 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1355 1356Installation directories: 1357 --prefix=PREFIX install architecture-independent files in PREFIX 1358 [$ac_default_prefix] 1359 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1360 [PREFIX] 1361 1362By default, \`make install' will install all the files in 1363\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1364an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1365for instance \`--prefix=\$HOME'. 1366 1367For better control, use the options below. 1368 1369Fine tuning of the installation directories: 1370 --bindir=DIR user executables [EPREFIX/bin] 1371 --sbindir=DIR system admin executables [EPREFIX/sbin] 1372 --libexecdir=DIR program executables [EPREFIX/libexec] 1373 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1374 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1375 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1376 --libdir=DIR object code libraries [EPREFIX/lib] 1377 --includedir=DIR C header files [PREFIX/include] 1378 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1379 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1380 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1381 --infodir=DIR info documentation [DATAROOTDIR/info] 1382 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1383 --mandir=DIR man documentation [DATAROOTDIR/man] 1384 --docdir=DIR documentation root 1385 [DATAROOTDIR/doc/dvi2tty--tex-live-] 1386 --htmldir=DIR html documentation [DOCDIR] 1387 --dvidir=DIR dvi documentation [DOCDIR] 1388 --pdfdir=DIR pdf documentation [DOCDIR] 1389 --psdir=DIR ps documentation [DOCDIR] 1390_ACEOF 1391 1392 cat <<\_ACEOF 1393 1394Program names: 1395 --program-prefix=PREFIX prepend PREFIX to installed program names 1396 --program-suffix=SUFFIX append SUFFIX to installed program names 1397 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1398 1399System types: 1400 --build=BUILD configure for building on BUILD [guessed] 1401 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1402_ACEOF 1403fi 1404 1405if test -n "$ac_init_help"; then 1406 case $ac_init_help in 1407 short | recursive ) echo "Configuration of dvi2tty (TeX Live) 5.3.4:";; 1408 esac 1409 cat <<\_ACEOF 1410 1411Optional Features: 1412 --disable-option-checking ignore unrecognized --enable/--with options 1413 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1414 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1415 --enable-silent-rules less verbose build output (undo: "make V=1") 1416 --disable-silent-rules verbose build output (undo: "make V=0") 1417 --enable-maintainer-mode 1418 enable make rules and dependencies not useful (and 1419 sometimes confusing) to the casual installer 1420 --enable-dependency-tracking 1421 do not reject slow dependency extractors 1422 --disable-dependency-tracking 1423 speeds up one-time build 1424 --enable-compiler-warnings=[no|min|yes|max|all] 1425 Turn on compiler warnings [default: yes if 1426 maintainer-mode, min otherwise] 1427 --enable-shared[=PKGS] build shared libraries [default=yes] 1428 --enable-static[=PKGS] build static libraries [default=yes] 1429 --enable-fast-install[=PKGS] 1430 optimize for fast installation [default=yes] 1431 --disable-libtool-lock avoid locking (might break parallel builds) 1432 --disable-largefile omit support for large files 1433 1434Optional Packages: 1435 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1436 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1437 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1438 both] 1439 --with-aix-soname=aix|svr4|both 1440 shared library versioning (aka "SONAME") variant to 1441 provide on AIX, [default=aix]. 1442 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1443 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1444 compiler's sysroot if not specified). 1445 --with-system-kpathsea use installed kpathsea headers and library (requires 1446 pkg-config) 1447 --with-system-ptexenc use installed ptexenc headers and library (requires 1448 pkg-config) 1449 1450Some influential environment variables: 1451 CC C compiler command 1452 CFLAGS C compiler flags 1453 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1454 nonstandard directory <lib dir> 1455 LIBS libraries to pass to the linker, e.g. -l<library> 1456 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1457 you have headers in a nonstandard directory <include dir> 1458 LT_SYS_LIBRARY_PATH 1459 User-defined run-time library search path. 1460 CPP C preprocessor 1461 1462Use these variables to override the choices made by `configure' or to help 1463it to find libraries and programs with nonstandard names/locations. 1464 1465Report bugs to <tex-k@tug.org>. 1466_ACEOF 1467ac_status=$? 1468fi 1469 1470if test "$ac_init_help" = "recursive"; then 1471 # If there are subdirs, report their specific --help. 1472 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1473 test -d "$ac_dir" || 1474 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1475 continue 1476 ac_builddir=. 1477 1478case "$ac_dir" in 1479.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1480*) 1481 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1482 # A ".." for each directory in $ac_dir_suffix. 1483 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1484 case $ac_top_builddir_sub in 1485 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1486 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1487 esac ;; 1488esac 1489ac_abs_top_builddir=$ac_pwd 1490ac_abs_builddir=$ac_pwd$ac_dir_suffix 1491# for backward compatibility: 1492ac_top_builddir=$ac_top_build_prefix 1493 1494case $srcdir in 1495 .) # We are building in place. 1496 ac_srcdir=. 1497 ac_top_srcdir=$ac_top_builddir_sub 1498 ac_abs_top_srcdir=$ac_pwd ;; 1499 [\\/]* | ?:[\\/]* ) # Absolute name. 1500 ac_srcdir=$srcdir$ac_dir_suffix; 1501 ac_top_srcdir=$srcdir 1502 ac_abs_top_srcdir=$srcdir ;; 1503 *) # Relative name. 1504 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1505 ac_top_srcdir=$ac_top_build_prefix$srcdir 1506 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1507esac 1508ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1509 1510 cd "$ac_dir" || { ac_status=$?; continue; } 1511 # Check for guested configure. 1512 if test -f "$ac_srcdir/configure.gnu"; then 1513 echo && 1514 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1515 elif test -f "$ac_srcdir/configure"; then 1516 echo && 1517 $SHELL "$ac_srcdir/configure" --help=recursive 1518 else 1519 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1520 fi || ac_status=$? 1521 cd "$ac_pwd" || { ac_status=$?; break; } 1522 done 1523fi 1524 1525test -n "$ac_init_help" && exit $ac_status 1526if $ac_init_version; then 1527 cat <<\_ACEOF 1528dvi2tty (TeX Live) configure 5.3.4 1529generated by GNU Autoconf 2.69 1530 1531Copyright (C) 2012 Free Software Foundation, Inc. 1532This configure script is free software; the Free Software Foundation 1533gives unlimited permission to copy, distribute and modify it. 1534_ACEOF 1535 exit 1536fi 1537 1538## ------------------------ ## 1539## Autoconf initialization. ## 1540## ------------------------ ## 1541 1542# ac_fn_c_try_compile LINENO 1543# -------------------------- 1544# Try to compile conftest.$ac_ext, and return whether this succeeded. 1545ac_fn_c_try_compile () 1546{ 1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1548 rm -f conftest.$ac_objext 1549 if { { ac_try="$ac_compile" 1550case "(($ac_try" in 1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1552 *) ac_try_echo=$ac_try;; 1553esac 1554eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1555$as_echo "$ac_try_echo"; } >&5 1556 (eval "$ac_compile") 2>conftest.err 1557 ac_status=$? 1558 if test -s conftest.err; then 1559 grep -v '^ *+' conftest.err >conftest.er1 1560 cat conftest.er1 >&5 1561 mv -f conftest.er1 conftest.err 1562 fi 1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1564 test $ac_status = 0; } && { 1565 test -z "$ac_c_werror_flag" || 1566 test ! -s conftest.err 1567 } && test -s conftest.$ac_objext; then : 1568 ac_retval=0 1569else 1570 $as_echo "$as_me: failed program was:" >&5 1571sed 's/^/| /' conftest.$ac_ext >&5 1572 1573 ac_retval=1 1574fi 1575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1576 as_fn_set_status $ac_retval 1577 1578} # ac_fn_c_try_compile 1579 1580# ac_fn_c_try_link LINENO 1581# ----------------------- 1582# Try to link conftest.$ac_ext, and return whether this succeeded. 1583ac_fn_c_try_link () 1584{ 1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1586 rm -f conftest.$ac_objext conftest$ac_exeext 1587 if { { ac_try="$ac_link" 1588case "(($ac_try" in 1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1590 *) ac_try_echo=$ac_try;; 1591esac 1592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1593$as_echo "$ac_try_echo"; } >&5 1594 (eval "$ac_link") 2>conftest.err 1595 ac_status=$? 1596 if test -s conftest.err; then 1597 grep -v '^ *+' conftest.err >conftest.er1 1598 cat conftest.er1 >&5 1599 mv -f conftest.er1 conftest.err 1600 fi 1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1602 test $ac_status = 0; } && { 1603 test -z "$ac_c_werror_flag" || 1604 test ! -s conftest.err 1605 } && test -s conftest$ac_exeext && { 1606 test "$cross_compiling" = yes || 1607 test -x conftest$ac_exeext 1608 }; then : 1609 ac_retval=0 1610else 1611 $as_echo "$as_me: failed program was:" >&5 1612sed 's/^/| /' conftest.$ac_ext >&5 1613 1614 ac_retval=1 1615fi 1616 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1617 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1618 # interfere with the next link command; also delete a directory that is 1619 # left behind by Apple's compiler. We do this before executing the actions. 1620 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1622 as_fn_set_status $ac_retval 1623 1624} # ac_fn_c_try_link 1625 1626# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1627# ------------------------------------------------------- 1628# Tests whether HEADER exists and can be compiled using the include files in 1629# INCLUDES, setting the cache variable VAR accordingly. 1630ac_fn_c_check_header_compile () 1631{ 1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1634$as_echo_n "checking for $2... " >&6; } 1635if eval \${$3+:} false; then : 1636 $as_echo_n "(cached) " >&6 1637else 1638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1639/* end confdefs.h. */ 1640$4 1641#include <$2> 1642_ACEOF 1643if ac_fn_c_try_compile "$LINENO"; then : 1644 eval "$3=yes" 1645else 1646 eval "$3=no" 1647fi 1648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1649fi 1650eval ac_res=\$$3 1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1652$as_echo "$ac_res" >&6; } 1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1654 1655} # ac_fn_c_check_header_compile 1656 1657# ac_fn_c_try_cpp LINENO 1658# ---------------------- 1659# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1660ac_fn_c_try_cpp () 1661{ 1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1663 if { { ac_try="$ac_cpp conftest.$ac_ext" 1664case "(($ac_try" in 1665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1666 *) ac_try_echo=$ac_try;; 1667esac 1668eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1669$as_echo "$ac_try_echo"; } >&5 1670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1671 ac_status=$? 1672 if test -s conftest.err; then 1673 grep -v '^ *+' conftest.err >conftest.er1 1674 cat conftest.er1 >&5 1675 mv -f conftest.er1 conftest.err 1676 fi 1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1678 test $ac_status = 0; } > conftest.i && { 1679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1680 test ! -s conftest.err 1681 }; then : 1682 ac_retval=0 1683else 1684 $as_echo "$as_me: failed program was:" >&5 1685sed 's/^/| /' conftest.$ac_ext >&5 1686 1687 ac_retval=1 1688fi 1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1690 as_fn_set_status $ac_retval 1691 1692} # ac_fn_c_try_cpp 1693 1694# ac_fn_c_try_run LINENO 1695# ---------------------- 1696# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1697# that executables *can* be run. 1698ac_fn_c_try_run () 1699{ 1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1701 if { { ac_try="$ac_link" 1702case "(($ac_try" in 1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1704 *) ac_try_echo=$ac_try;; 1705esac 1706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1707$as_echo "$ac_try_echo"; } >&5 1708 (eval "$ac_link") 2>&5 1709 ac_status=$? 1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1711 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1712 { { case "(($ac_try" in 1713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1714 *) ac_try_echo=$ac_try;; 1715esac 1716eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1717$as_echo "$ac_try_echo"; } >&5 1718 (eval "$ac_try") 2>&5 1719 ac_status=$? 1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1721 test $ac_status = 0; }; }; then : 1722 ac_retval=0 1723else 1724 $as_echo "$as_me: program exited with status $ac_status" >&5 1725 $as_echo "$as_me: failed program was:" >&5 1726sed 's/^/| /' conftest.$ac_ext >&5 1727 1728 ac_retval=$ac_status 1729fi 1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1732 as_fn_set_status $ac_retval 1733 1734} # ac_fn_c_try_run 1735 1736# ac_fn_c_check_func LINENO FUNC VAR 1737# ---------------------------------- 1738# Tests whether FUNC exists, setting the cache variable VAR accordingly 1739ac_fn_c_check_func () 1740{ 1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1743$as_echo_n "checking for $2... " >&6; } 1744if eval \${$3+:} false; then : 1745 $as_echo_n "(cached) " >&6 1746else 1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1748/* end confdefs.h. */ 1749/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1750 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1751#define $2 innocuous_$2 1752 1753/* System header to define __stub macros and hopefully few prototypes, 1754 which can conflict with char $2 (); below. 1755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1756 <limits.h> exists even on freestanding compilers. */ 1757 1758#ifdef __STDC__ 1759# include <limits.h> 1760#else 1761# include <assert.h> 1762#endif 1763 1764#undef $2 1765 1766/* Override any GCC internal prototype to avoid an error. 1767 Use char because int might match the return type of a GCC 1768 builtin and then its argument prototype would still apply. */ 1769#ifdef __cplusplus 1770extern "C" 1771#endif 1772char $2 (); 1773/* The GNU C library defines this for functions which it implements 1774 to always fail with ENOSYS. Some functions are actually named 1775 something starting with __ and the normal name is an alias. */ 1776#if defined __stub_$2 || defined __stub___$2 1777choke me 1778#endif 1779 1780int 1781main () 1782{ 1783return $2 (); 1784 ; 1785 return 0; 1786} 1787_ACEOF 1788if ac_fn_c_try_link "$LINENO"; then : 1789 eval "$3=yes" 1790else 1791 eval "$3=no" 1792fi 1793rm -f core conftest.err conftest.$ac_objext \ 1794 conftest$ac_exeext conftest.$ac_ext 1795fi 1796eval ac_res=\$$3 1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1798$as_echo "$ac_res" >&6; } 1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1800 1801} # ac_fn_c_check_func 1802 1803# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1804# ------------------------------------------------------- 1805# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1806# the include files in INCLUDES and setting the cache variable VAR 1807# accordingly. 1808ac_fn_c_check_header_mongrel () 1809{ 1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1811 if eval \${$3+:} false; then : 1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1813$as_echo_n "checking for $2... " >&6; } 1814if eval \${$3+:} false; then : 1815 $as_echo_n "(cached) " >&6 1816fi 1817eval ac_res=\$$3 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1819$as_echo "$ac_res" >&6; } 1820else 1821 # Is the header compilable? 1822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1823$as_echo_n "checking $2 usability... " >&6; } 1824cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1825/* end confdefs.h. */ 1826$4 1827#include <$2> 1828_ACEOF 1829if ac_fn_c_try_compile "$LINENO"; then : 1830 ac_header_compiler=yes 1831else 1832 ac_header_compiler=no 1833fi 1834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1836$as_echo "$ac_header_compiler" >&6; } 1837 1838# Is the header present? 1839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1840$as_echo_n "checking $2 presence... " >&6; } 1841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1842/* end confdefs.h. */ 1843#include <$2> 1844_ACEOF 1845if ac_fn_c_try_cpp "$LINENO"; then : 1846 ac_header_preproc=yes 1847else 1848 ac_header_preproc=no 1849fi 1850rm -f conftest.err conftest.i conftest.$ac_ext 1851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1852$as_echo "$ac_header_preproc" >&6; } 1853 1854# So? What about this header? 1855case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1856 yes:no: ) 1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1858$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1860$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1861 ;; 1862 no:yes:* ) 1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1864$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1866$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1868$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1870$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1872$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1873( $as_echo "## ---------------------------- ## 1874## Report this to tex-k@tug.org ## 1875## ---------------------------- ##" 1876 ) | sed "s/^/$as_me: WARNING: /" >&2 1877 ;; 1878esac 1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1880$as_echo_n "checking for $2... " >&6; } 1881if eval \${$3+:} false; then : 1882 $as_echo_n "(cached) " >&6 1883else 1884 eval "$3=\$ac_header_compiler" 1885fi 1886eval ac_res=\$$3 1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1888$as_echo "$ac_res" >&6; } 1889fi 1890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1891 1892} # ac_fn_c_check_header_mongrel 1893 1894# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1895# ------------------------------------------- 1896# Tests whether TYPE exists after having included INCLUDES, setting cache 1897# variable VAR accordingly. 1898ac_fn_c_check_type () 1899{ 1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1902$as_echo_n "checking for $2... " >&6; } 1903if eval \${$3+:} false; then : 1904 $as_echo_n "(cached) " >&6 1905else 1906 eval "$3=no" 1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1908/* end confdefs.h. */ 1909$4 1910int 1911main () 1912{ 1913if (sizeof ($2)) 1914 return 0; 1915 ; 1916 return 0; 1917} 1918_ACEOF 1919if ac_fn_c_try_compile "$LINENO"; then : 1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1921/* end confdefs.h. */ 1922$4 1923int 1924main () 1925{ 1926if (sizeof (($2))) 1927 return 0; 1928 ; 1929 return 0; 1930} 1931_ACEOF 1932if ac_fn_c_try_compile "$LINENO"; then : 1933 1934else 1935 eval "$3=yes" 1936fi 1937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1938fi 1939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1940fi 1941eval ac_res=\$$3 1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1943$as_echo "$ac_res" >&6; } 1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1945 1946} # ac_fn_c_check_type 1947 1948# ac_fn_c_find_intX_t LINENO BITS VAR 1949# ----------------------------------- 1950# Finds a signed integer type with width BITS, setting cache variable VAR 1951# accordingly. 1952ac_fn_c_find_intX_t () 1953{ 1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1956$as_echo_n "checking for int$2_t... " >&6; } 1957if eval \${$3+:} false; then : 1958 $as_echo_n "(cached) " >&6 1959else 1960 eval "$3=no" 1961 # Order is important - never check a type that is potentially smaller 1962 # than half of the expected target width. 1963 for ac_type in int$2_t 'int' 'long int' \ 1964 'long long int' 'short int' 'signed char'; do 1965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1966/* end confdefs.h. */ 1967$ac_includes_default 1968 enum { N = $2 / 2 - 1 }; 1969int 1970main () 1971{ 1972static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 1973test_array [0] = 0; 1974return test_array [0]; 1975 1976 ; 1977 return 0; 1978} 1979_ACEOF 1980if ac_fn_c_try_compile "$LINENO"; then : 1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1982/* end confdefs.h. */ 1983$ac_includes_default 1984 enum { N = $2 / 2 - 1 }; 1985int 1986main () 1987{ 1988static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 1989 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 1990test_array [0] = 0; 1991return test_array [0]; 1992 1993 ; 1994 return 0; 1995} 1996_ACEOF 1997if ac_fn_c_try_compile "$LINENO"; then : 1998 1999else 2000 case $ac_type in #( 2001 int$2_t) : 2002 eval "$3=yes" ;; #( 2003 *) : 2004 eval "$3=\$ac_type" ;; 2005esac 2006fi 2007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2008fi 2009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2010 if eval test \"x\$"$3"\" = x"no"; then : 2011 2012else 2013 break 2014fi 2015 done 2016fi 2017eval ac_res=\$$3 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2019$as_echo "$ac_res" >&6; } 2020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2021 2022} # ac_fn_c_find_intX_t 2023 2024# ac_fn_c_find_uintX_t LINENO BITS VAR 2025# ------------------------------------ 2026# Finds an unsigned integer type with width BITS, setting cache variable VAR 2027# accordingly. 2028ac_fn_c_find_uintX_t () 2029{ 2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2032$as_echo_n "checking for uint$2_t... " >&6; } 2033if eval \${$3+:} false; then : 2034 $as_echo_n "(cached) " >&6 2035else 2036 eval "$3=no" 2037 # Order is important - never check a type that is potentially smaller 2038 # than half of the expected target width. 2039 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 2040 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2042/* end confdefs.h. */ 2043$ac_includes_default 2044int 2045main () 2046{ 2047static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2048test_array [0] = 0; 2049return test_array [0]; 2050 2051 ; 2052 return 0; 2053} 2054_ACEOF 2055if ac_fn_c_try_compile "$LINENO"; then : 2056 case $ac_type in #( 2057 uint$2_t) : 2058 eval "$3=yes" ;; #( 2059 *) : 2060 eval "$3=\$ac_type" ;; 2061esac 2062fi 2063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2064 if eval test \"x\$"$3"\" = x"no"; then : 2065 2066else 2067 break 2068fi 2069 done 2070fi 2071eval ac_res=\$$3 2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2073$as_echo "$ac_res" >&6; } 2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2075 2076} # ac_fn_c_find_uintX_t 2077 2078# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2079# ---------------------------------------------------- 2080# Tries to find if the field MEMBER exists in type AGGR, after including 2081# INCLUDES, setting cache variable VAR accordingly. 2082ac_fn_c_check_member () 2083{ 2084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2086$as_echo_n "checking for $2.$3... " >&6; } 2087if eval \${$4+:} false; then : 2088 $as_echo_n "(cached) " >&6 2089else 2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2091/* end confdefs.h. */ 2092$5 2093int 2094main () 2095{ 2096static $2 ac_aggr; 2097if (ac_aggr.$3) 2098return 0; 2099 ; 2100 return 0; 2101} 2102_ACEOF 2103if ac_fn_c_try_compile "$LINENO"; then : 2104 eval "$4=yes" 2105else 2106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2107/* end confdefs.h. */ 2108$5 2109int 2110main () 2111{ 2112static $2 ac_aggr; 2113if (sizeof ac_aggr.$3) 2114return 0; 2115 ; 2116 return 0; 2117} 2118_ACEOF 2119if ac_fn_c_try_compile "$LINENO"; then : 2120 eval "$4=yes" 2121else 2122 eval "$4=no" 2123fi 2124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2125fi 2126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2127fi 2128eval ac_res=\$$4 2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2130$as_echo "$ac_res" >&6; } 2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2132 2133} # ac_fn_c_check_member 2134cat >config.log <<_ACEOF 2135This file contains any messages produced by compilers while 2136running configure, to aid debugging if configure makes a mistake. 2137 2138It was created by dvi2tty (TeX Live) $as_me 5.3.4, which was 2139generated by GNU Autoconf 2.69. Invocation command line was 2140 2141 $ $0 $@ 2142 2143_ACEOF 2144exec 5>>config.log 2145{ 2146cat <<_ASUNAME 2147## --------- ## 2148## Platform. ## 2149## --------- ## 2150 2151hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2152uname -m = `(uname -m) 2>/dev/null || echo unknown` 2153uname -r = `(uname -r) 2>/dev/null || echo unknown` 2154uname -s = `(uname -s) 2>/dev/null || echo unknown` 2155uname -v = `(uname -v) 2>/dev/null || echo unknown` 2156 2157/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2158/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2159 2160/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2161/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2162/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2163/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2164/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2165/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2166/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2167 2168_ASUNAME 2169 2170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2171for as_dir in $PATH 2172do 2173 IFS=$as_save_IFS 2174 test -z "$as_dir" && as_dir=. 2175 $as_echo "PATH: $as_dir" 2176 done 2177IFS=$as_save_IFS 2178 2179} >&5 2180 2181cat >&5 <<_ACEOF 2182 2183 2184## ----------- ## 2185## Core tests. ## 2186## ----------- ## 2187 2188_ACEOF 2189 2190 2191# Keep a trace of the command line. 2192# Strip out --no-create and --no-recursion so they do not pile up. 2193# Strip out --silent because we don't want to record it for future runs. 2194# Also quote any args containing shell meta-characters. 2195# Make two passes to allow for proper duplicate-argument suppression. 2196ac_configure_args= 2197ac_configure_args0= 2198ac_configure_args1= 2199ac_must_keep_next=false 2200for ac_pass in 1 2 2201do 2202 for ac_arg 2203 do 2204 case $ac_arg in 2205 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2206 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2207 | -silent | --silent | --silen | --sile | --sil) 2208 continue ;; 2209 *\'*) 2210 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2211 esac 2212 case $ac_pass in 2213 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2214 2) 2215 as_fn_append ac_configure_args1 " '$ac_arg'" 2216 if test $ac_must_keep_next = true; then 2217 ac_must_keep_next=false # Got value, back to normal. 2218 else 2219 case $ac_arg in 2220 *=* | --config-cache | -C | -disable-* | --disable-* \ 2221 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2222 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2223 | -with-* | --with-* | -without-* | --without-* | --x) 2224 case "$ac_configure_args0 " in 2225 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2226 esac 2227 ;; 2228 -* ) ac_must_keep_next=true ;; 2229 esac 2230 fi 2231 as_fn_append ac_configure_args " '$ac_arg'" 2232 ;; 2233 esac 2234 done 2235done 2236{ ac_configure_args0=; unset ac_configure_args0;} 2237{ ac_configure_args1=; unset ac_configure_args1;} 2238 2239# When interrupted or exit'd, cleanup temporary files, and complete 2240# config.log. We remove comments because anyway the quotes in there 2241# would cause problems or look ugly. 2242# WARNING: Use '\'' to represent an apostrophe within the trap. 2243# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2244trap 'exit_status=$? 2245 # Save into config.log some information that might help in debugging. 2246 { 2247 echo 2248 2249 $as_echo "## ---------------- ## 2250## Cache variables. ## 2251## ---------------- ##" 2252 echo 2253 # The following way of writing the cache mishandles newlines in values, 2254( 2255 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2256 eval ac_val=\$$ac_var 2257 case $ac_val in #( 2258 *${as_nl}*) 2259 case $ac_var in #( 2260 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2261$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2262 esac 2263 case $ac_var in #( 2264 _ | IFS | as_nl) ;; #( 2265 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2266 *) { eval $ac_var=; unset $ac_var;} ;; 2267 esac ;; 2268 esac 2269 done 2270 (set) 2>&1 | 2271 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2272 *${as_nl}ac_space=\ *) 2273 sed -n \ 2274 "s/'\''/'\''\\\\'\'''\''/g; 2275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2276 ;; #( 2277 *) 2278 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2279 ;; 2280 esac | 2281 sort 2282) 2283 echo 2284 2285 $as_echo "## ----------------- ## 2286## Output variables. ## 2287## ----------------- ##" 2288 echo 2289 for ac_var in $ac_subst_vars 2290 do 2291 eval ac_val=\$$ac_var 2292 case $ac_val in 2293 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2294 esac 2295 $as_echo "$ac_var='\''$ac_val'\''" 2296 done | sort 2297 echo 2298 2299 if test -n "$ac_subst_files"; then 2300 $as_echo "## ------------------- ## 2301## File substitutions. ## 2302## ------------------- ##" 2303 echo 2304 for ac_var in $ac_subst_files 2305 do 2306 eval ac_val=\$$ac_var 2307 case $ac_val in 2308 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2309 esac 2310 $as_echo "$ac_var='\''$ac_val'\''" 2311 done | sort 2312 echo 2313 fi 2314 2315 if test -s confdefs.h; then 2316 $as_echo "## ----------- ## 2317## confdefs.h. ## 2318## ----------- ##" 2319 echo 2320 cat confdefs.h 2321 echo 2322 fi 2323 test "$ac_signal" != 0 && 2324 $as_echo "$as_me: caught signal $ac_signal" 2325 $as_echo "$as_me: exit $exit_status" 2326 } >&5 2327 rm -f core *.core core.conftest.* && 2328 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2329 exit $exit_status 2330' 0 2331for ac_signal in 1 2 13 15; do 2332 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2333done 2334ac_signal=0 2335 2336# confdefs.h avoids OS command line length limits that DEFS can exceed. 2337rm -f -r conftest* confdefs.h 2338 2339$as_echo "/* confdefs.h */" > confdefs.h 2340 2341# Predefined preprocessor variables. 2342 2343cat >>confdefs.h <<_ACEOF 2344#define PACKAGE_NAME "$PACKAGE_NAME" 2345_ACEOF 2346 2347cat >>confdefs.h <<_ACEOF 2348#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2349_ACEOF 2350 2351cat >>confdefs.h <<_ACEOF 2352#define PACKAGE_VERSION "$PACKAGE_VERSION" 2353_ACEOF 2354 2355cat >>confdefs.h <<_ACEOF 2356#define PACKAGE_STRING "$PACKAGE_STRING" 2357_ACEOF 2358 2359cat >>confdefs.h <<_ACEOF 2360#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2361_ACEOF 2362 2363cat >>confdefs.h <<_ACEOF 2364#define PACKAGE_URL "$PACKAGE_URL" 2365_ACEOF 2366 2367 2368# Let the site file select an alternate cache file if it wants to. 2369# Prefer an explicitly selected file to automatically selected ones. 2370ac_site_file1=NONE 2371ac_site_file2=NONE 2372if test -n "$CONFIG_SITE"; then 2373 # We do not want a PATH search for config.site. 2374 case $CONFIG_SITE in #(( 2375 -*) ac_site_file1=./$CONFIG_SITE;; 2376 */*) ac_site_file1=$CONFIG_SITE;; 2377 *) ac_site_file1=./$CONFIG_SITE;; 2378 esac 2379elif test "x$prefix" != xNONE; then 2380 ac_site_file1=$prefix/share/config.site 2381 ac_site_file2=$prefix/etc/config.site 2382else 2383 ac_site_file1=$ac_default_prefix/share/config.site 2384 ac_site_file2=$ac_default_prefix/etc/config.site 2385fi 2386for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2387do 2388 test "x$ac_site_file" = xNONE && continue 2389 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2390 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2391$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2392 sed 's/^/| /' "$ac_site_file" >&5 2393 . "$ac_site_file" \ 2394 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2395$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2396as_fn_error $? "failed to load site script $ac_site_file 2397See \`config.log' for more details" "$LINENO" 5; } 2398 fi 2399done 2400 2401if test -r "$cache_file"; then 2402 # Some versions of bash will fail to source /dev/null (special files 2403 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2404 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2405 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2406$as_echo "$as_me: loading cache $cache_file" >&6;} 2407 case $cache_file in 2408 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2409 *) . "./$cache_file";; 2410 esac 2411 fi 2412else 2413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2414$as_echo "$as_me: creating cache $cache_file" >&6;} 2415 >$cache_file 2416fi 2417 2418# Check that the precious variables saved in the cache have kept the same 2419# value. 2420ac_cache_corrupted=false 2421for ac_var in $ac_precious_vars; do 2422 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2423 eval ac_new_set=\$ac_env_${ac_var}_set 2424 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2425 eval ac_new_val=\$ac_env_${ac_var}_value 2426 case $ac_old_set,$ac_new_set in 2427 set,) 2428 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2429$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2430 ac_cache_corrupted=: ;; 2431 ,set) 2432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2433$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2434 ac_cache_corrupted=: ;; 2435 ,);; 2436 *) 2437 if test "x$ac_old_val" != "x$ac_new_val"; then 2438 # differences in whitespace do not lead to failure. 2439 ac_old_val_w=`echo x $ac_old_val` 2440 ac_new_val_w=`echo x $ac_new_val` 2441 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2442 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2443$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2444 ac_cache_corrupted=: 2445 else 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2447$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2448 eval $ac_var=\$ac_old_val 2449 fi 2450 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2451$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2452 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2453$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2454 fi;; 2455 esac 2456 # Pass precious variables to config.status. 2457 if test "$ac_new_set" = set; then 2458 case $ac_new_val in 2459 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2460 *) ac_arg=$ac_var=$ac_new_val ;; 2461 esac 2462 case " $ac_configure_args " in 2463 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2464 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2465 esac 2466 fi 2467done 2468if $ac_cache_corrupted; then 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2470$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2472$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2473 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2474fi 2475## -------------------- ## 2476## Main body of script. ## 2477## -------------------- ## 2478 2479ac_ext=c 2480ac_cpp='$CPP $CPPFLAGS' 2481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2483ac_compiler_gnu=$ac_cv_c_compiler_gnu 2484 2485 2486 2487 2488ac_aux_dir= 2489for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do 2490 if test -f "$ac_dir/install-sh"; then 2491 ac_aux_dir=$ac_dir 2492 ac_install_sh="$ac_aux_dir/install-sh -c" 2493 break 2494 elif test -f "$ac_dir/install.sh"; then 2495 ac_aux_dir=$ac_dir 2496 ac_install_sh="$ac_aux_dir/install.sh -c" 2497 break 2498 elif test -f "$ac_dir/shtool"; then 2499 ac_aux_dir=$ac_dir 2500 ac_install_sh="$ac_aux_dir/shtool install -c" 2501 break 2502 fi 2503done 2504if test -z "$ac_aux_dir"; then 2505 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5 2506fi 2507 2508# These three variables are undocumented and unsupported, 2509# and are intended to be withdrawn in a future Autoconf release. 2510# They can cause serious problems if a builder's source tree is in a directory 2511# whose full name contains unusual characters. 2512ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2513ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2514ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2515 2516 2517 2518 2519am__api_version='1.15' 2520 2521# Find a good install program. We prefer a C program (faster), 2522# so one script is as good as another. But avoid the broken or 2523# incompatible versions: 2524# SysV /etc/install, /usr/sbin/install 2525# SunOS /usr/etc/install 2526# IRIX /sbin/install 2527# AIX /bin/install 2528# AmigaOS /C/install, which installs bootblocks on floppy discs 2529# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2530# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2531# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2532# OS/2's system install, which has a completely different semantic 2533# ./install, which can be erroneously created by make from ./install.sh. 2534# Reject install programs that cannot install multiple files. 2535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2536$as_echo_n "checking for a BSD-compatible install... " >&6; } 2537if test -z "$INSTALL"; then 2538if ${ac_cv_path_install+:} false; then : 2539 $as_echo_n "(cached) " >&6 2540else 2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2542for as_dir in $PATH 2543do 2544 IFS=$as_save_IFS 2545 test -z "$as_dir" && as_dir=. 2546 # Account for people who put trailing slashes in PATH elements. 2547case $as_dir/ in #(( 2548 ./ | .// | /[cC]/* | \ 2549 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2550 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2551 /usr/ucb/* ) ;; 2552 *) 2553 # OSF1 and SCO ODT 3.0 have their own names for install. 2554 # Don't use installbsd from OSF since it installs stuff as root 2555 # by default. 2556 for ac_prog in ginstall scoinst install; do 2557 for ac_exec_ext in '' $ac_executable_extensions; do 2558 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2559 if test $ac_prog = install && 2560 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2561 # AIX install. It has an incompatible calling convention. 2562 : 2563 elif test $ac_prog = install && 2564 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2565 # program-specific install script used by HP pwplus--don't use. 2566 : 2567 else 2568 rm -rf conftest.one conftest.two conftest.dir 2569 echo one > conftest.one 2570 echo two > conftest.two 2571 mkdir conftest.dir 2572 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2573 test -s conftest.one && test -s conftest.two && 2574 test -s conftest.dir/conftest.one && 2575 test -s conftest.dir/conftest.two 2576 then 2577 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2578 break 3 2579 fi 2580 fi 2581 fi 2582 done 2583 done 2584 ;; 2585esac 2586 2587 done 2588IFS=$as_save_IFS 2589 2590rm -rf conftest.one conftest.two conftest.dir 2591 2592fi 2593 if test "${ac_cv_path_install+set}" = set; then 2594 INSTALL=$ac_cv_path_install 2595 else 2596 # As a last resort, use the slow shell script. Don't cache a 2597 # value for INSTALL within a source directory, because that will 2598 # break other packages using the cache if that directory is 2599 # removed, or if the value is a relative name. 2600 INSTALL=$ac_install_sh 2601 fi 2602fi 2603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2604$as_echo "$INSTALL" >&6; } 2605 2606# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2607# It thinks the first close brace ends the variable substitution. 2608test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2609 2610test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2611 2612test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2613 2614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2615$as_echo_n "checking whether build environment is sane... " >&6; } 2616# Reject unsafe characters in $srcdir or the absolute working directory 2617# name. Accept space and tab only in the latter. 2618am_lf=' 2619' 2620case `pwd` in 2621 *[\\\"\#\$\&\'\`$am_lf]*) 2622 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2623esac 2624case $srcdir in 2625 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2626 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2627esac 2628 2629# Do 'set' in a subshell so we don't clobber the current shell's 2630# arguments. Must try -L first in case configure is actually a 2631# symlink; some systems play weird games with the mod time of symlinks 2632# (eg FreeBSD returns the mod time of the symlink's containing 2633# directory). 2634if ( 2635 am_has_slept=no 2636 for am_try in 1 2; do 2637 echo "timestamp, slept: $am_has_slept" > conftest.file 2638 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2639 if test "$*" = "X"; then 2640 # -L didn't work. 2641 set X `ls -t "$srcdir/configure" conftest.file` 2642 fi 2643 if test "$*" != "X $srcdir/configure conftest.file" \ 2644 && test "$*" != "X conftest.file $srcdir/configure"; then 2645 2646 # If neither matched, then we have a broken ls. This can happen 2647 # if, for instance, CONFIG_SHELL is bash and it inherits a 2648 # broken ls alias from the environment. This has actually 2649 # happened. Such a system could not be considered "sane". 2650 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2651 alias in your environment" "$LINENO" 5 2652 fi 2653 if test "$2" = conftest.file || test $am_try -eq 2; then 2654 break 2655 fi 2656 # Just in case. 2657 sleep 1 2658 am_has_slept=yes 2659 done 2660 test "$2" = conftest.file 2661 ) 2662then 2663 # Ok. 2664 : 2665else 2666 as_fn_error $? "newly created file is older than distributed files! 2667Check your system clock" "$LINENO" 5 2668fi 2669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2670$as_echo "yes" >&6; } 2671# If we didn't sleep, we still need to ensure time stamps of config.status and 2672# generated files are strictly newer. 2673am_sleep_pid= 2674if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2675 ( sleep 1 ) & 2676 am_sleep_pid=$! 2677fi 2678 2679rm -f conftest.file 2680 2681test "$program_prefix" != NONE && 2682 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2683# Use a double $ so make ignores it. 2684test "$program_suffix" != NONE && 2685 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2686# Double any \ or $. 2687# By default was `s,x,x', remove it if useless. 2688ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2689program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2690 2691# Expand $ac_aux_dir to an absolute path. 2692am_aux_dir=`cd "$ac_aux_dir" && pwd` 2693 2694if test x"${MISSING+set}" != xset; then 2695 case $am_aux_dir in 2696 *\ * | *\ *) 2697 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2698 *) 2699 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2700 esac 2701fi 2702# Use eval to expand $SHELL 2703if eval "$MISSING --is-lightweight"; then 2704 am_missing_run="$MISSING " 2705else 2706 am_missing_run= 2707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2708$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2709fi 2710 2711if test x"${install_sh+set}" != xset; then 2712 case $am_aux_dir in 2713 *\ * | *\ *) 2714 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2715 *) 2716 install_sh="\${SHELL} $am_aux_dir/install-sh" 2717 esac 2718fi 2719 2720# Installed binaries are usually stripped using 'strip' when the user 2721# run "make install-strip". However 'strip' might not be the right 2722# tool to use in cross-compilation environments, therefore Automake 2723# will honor the 'STRIP' environment variable to overrule this program. 2724if test "$cross_compiling" != no; then 2725 if test -n "$ac_tool_prefix"; then 2726 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2727set dummy ${ac_tool_prefix}strip; ac_word=$2 2728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2729$as_echo_n "checking for $ac_word... " >&6; } 2730if ${ac_cv_prog_STRIP+:} false; then : 2731 $as_echo_n "(cached) " >&6 2732else 2733 if test -n "$STRIP"; then 2734 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2735else 2736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2737for as_dir in $PATH 2738do 2739 IFS=$as_save_IFS 2740 test -z "$as_dir" && as_dir=. 2741 for ac_exec_ext in '' $ac_executable_extensions; do 2742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2743 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2745 break 2 2746 fi 2747done 2748 done 2749IFS=$as_save_IFS 2750 2751fi 2752fi 2753STRIP=$ac_cv_prog_STRIP 2754if test -n "$STRIP"; then 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2756$as_echo "$STRIP" >&6; } 2757else 2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2759$as_echo "no" >&6; } 2760fi 2761 2762 2763fi 2764if test -z "$ac_cv_prog_STRIP"; then 2765 ac_ct_STRIP=$STRIP 2766 # Extract the first word of "strip", so it can be a program name with args. 2767set dummy strip; ac_word=$2 2768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2769$as_echo_n "checking for $ac_word... " >&6; } 2770if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2771 $as_echo_n "(cached) " >&6 2772else 2773 if test -n "$ac_ct_STRIP"; then 2774 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2775else 2776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2777for as_dir in $PATH 2778do 2779 IFS=$as_save_IFS 2780 test -z "$as_dir" && as_dir=. 2781 for ac_exec_ext in '' $ac_executable_extensions; do 2782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2783 ac_cv_prog_ac_ct_STRIP="strip" 2784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2785 break 2 2786 fi 2787done 2788 done 2789IFS=$as_save_IFS 2790 2791fi 2792fi 2793ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2794if test -n "$ac_ct_STRIP"; then 2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2796$as_echo "$ac_ct_STRIP" >&6; } 2797else 2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2799$as_echo "no" >&6; } 2800fi 2801 2802 if test "x$ac_ct_STRIP" = x; then 2803 STRIP=":" 2804 else 2805 case $cross_compiling:$ac_tool_warned in 2806yes:) 2807{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2808$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2809ac_tool_warned=yes ;; 2810esac 2811 STRIP=$ac_ct_STRIP 2812 fi 2813else 2814 STRIP="$ac_cv_prog_STRIP" 2815fi 2816 2817fi 2818INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2819 2820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2821$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2822if test -z "$MKDIR_P"; then 2823 if ${ac_cv_path_mkdir+:} false; then : 2824 $as_echo_n "(cached) " >&6 2825else 2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2827for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2828do 2829 IFS=$as_save_IFS 2830 test -z "$as_dir" && as_dir=. 2831 for ac_prog in mkdir gmkdir; do 2832 for ac_exec_ext in '' $ac_executable_extensions; do 2833 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2834 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2835 'mkdir (GNU coreutils) '* | \ 2836 'mkdir (coreutils) '* | \ 2837 'mkdir (fileutils) '4.1*) 2838 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2839 break 3;; 2840 esac 2841 done 2842 done 2843 done 2844IFS=$as_save_IFS 2845 2846fi 2847 2848 test -d ./--version && rmdir ./--version 2849 if test "${ac_cv_path_mkdir+set}" = set; then 2850 MKDIR_P="$ac_cv_path_mkdir -p" 2851 else 2852 # As a last resort, use the slow shell script. Don't cache a 2853 # value for MKDIR_P within a source directory, because that will 2854 # break other packages using the cache if that directory is 2855 # removed, or if the value is a relative name. 2856 MKDIR_P="$ac_install_sh -d" 2857 fi 2858fi 2859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2860$as_echo "$MKDIR_P" >&6; } 2861 2862for ac_prog in gawk mawk nawk awk 2863do 2864 # Extract the first word of "$ac_prog", so it can be a program name with args. 2865set dummy $ac_prog; ac_word=$2 2866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2867$as_echo_n "checking for $ac_word... " >&6; } 2868if ${ac_cv_prog_AWK+:} false; then : 2869 $as_echo_n "(cached) " >&6 2870else 2871 if test -n "$AWK"; then 2872 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2873else 2874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2875for as_dir in $PATH 2876do 2877 IFS=$as_save_IFS 2878 test -z "$as_dir" && as_dir=. 2879 for ac_exec_ext in '' $ac_executable_extensions; do 2880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2881 ac_cv_prog_AWK="$ac_prog" 2882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2883 break 2 2884 fi 2885done 2886 done 2887IFS=$as_save_IFS 2888 2889fi 2890fi 2891AWK=$ac_cv_prog_AWK 2892if test -n "$AWK"; then 2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2894$as_echo "$AWK" >&6; } 2895else 2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2897$as_echo "no" >&6; } 2898fi 2899 2900 2901 test -n "$AWK" && break 2902done 2903 2904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2905$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2906set x ${MAKE-make} 2907ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2908if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2909 $as_echo_n "(cached) " >&6 2910else 2911 cat >conftest.make <<\_ACEOF 2912SHELL = /bin/sh 2913all: 2914 @echo '@@@%%%=$(MAKE)=@@@%%%' 2915_ACEOF 2916# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2917case `${MAKE-make} -f conftest.make 2>/dev/null` in 2918 *@@@%%%=?*=@@@%%%*) 2919 eval ac_cv_prog_make_${ac_make}_set=yes;; 2920 *) 2921 eval ac_cv_prog_make_${ac_make}_set=no;; 2922esac 2923rm -f conftest.make 2924fi 2925if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2927$as_echo "yes" >&6; } 2928 SET_MAKE= 2929else 2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2931$as_echo "no" >&6; } 2932 SET_MAKE="MAKE=${MAKE-make}" 2933fi 2934 2935rm -rf .tst 2>/dev/null 2936mkdir .tst 2>/dev/null 2937if test -d .tst; then 2938 am__leading_dot=. 2939else 2940 am__leading_dot=_ 2941fi 2942rmdir .tst 2>/dev/null 2943 2944# Check whether --enable-silent-rules was given. 2945if test "${enable_silent_rules+set}" = set; then : 2946 enableval=$enable_silent_rules; 2947fi 2948 2949case $enable_silent_rules in # ((( 2950 yes) AM_DEFAULT_VERBOSITY=0;; 2951 no) AM_DEFAULT_VERBOSITY=1;; 2952 *) AM_DEFAULT_VERBOSITY=1;; 2953esac 2954am_make=${MAKE-make} 2955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2956$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2957if ${am_cv_make_support_nested_variables+:} false; then : 2958 $as_echo_n "(cached) " >&6 2959else 2960 if $as_echo 'TRUE=$(BAR$(V)) 2961BAR0=false 2962BAR1=true 2963V=1 2964am__doit: 2965 @$(TRUE) 2966.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2967 am_cv_make_support_nested_variables=yes 2968else 2969 am_cv_make_support_nested_variables=no 2970fi 2971fi 2972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2973$as_echo "$am_cv_make_support_nested_variables" >&6; } 2974if test $am_cv_make_support_nested_variables = yes; then 2975 AM_V='$(V)' 2976 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2977else 2978 AM_V=$AM_DEFAULT_VERBOSITY 2979 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2980fi 2981AM_BACKSLASH='\' 2982 2983DEPDIR="${am__leading_dot}deps" 2984 2985ac_config_commands="$ac_config_commands depfiles" 2986 2987 2988am_make=${MAKE-make} 2989cat > confinc << 'END' 2990am__doit: 2991 @echo this is the am__doit target 2992.PHONY: am__doit 2993END 2994# If we don't find an include directive, just comment out the code. 2995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2996$as_echo_n "checking for style of include used by $am_make... " >&6; } 2997am__include="#" 2998am__quote= 2999_am_result=none 3000# First try GNU make style include. 3001echo "include confinc" > confmf 3002# Ignore all kinds of additional output from 'make'. 3003case `$am_make -s -f confmf 2> /dev/null` in #( 3004*the\ am__doit\ target*) 3005 am__include=include 3006 am__quote= 3007 _am_result=GNU 3008 ;; 3009esac 3010# Now try BSD make style include. 3011if test "$am__include" = "#"; then 3012 echo '.include "confinc"' > confmf 3013 case `$am_make -s -f confmf 2> /dev/null` in #( 3014 *the\ am__doit\ target*) 3015 am__include=.include 3016 am__quote="\"" 3017 _am_result=BSD 3018 ;; 3019 esac 3020fi 3021 3022 3023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3024$as_echo "$_am_result" >&6; } 3025rm -f confinc confmf 3026 3027# Check whether --enable-dependency-tracking was given. 3028if test "${enable_dependency_tracking+set}" = set; then : 3029 enableval=$enable_dependency_tracking; 3030fi 3031 3032if test "x$enable_dependency_tracking" != xno; then 3033 am_depcomp="$ac_aux_dir/depcomp" 3034 AMDEPBACKSLASH='\' 3035 am__nodep='_no' 3036fi 3037 if test "x$enable_dependency_tracking" != xno; then 3038 AMDEP_TRUE= 3039 AMDEP_FALSE='#' 3040else 3041 AMDEP_TRUE='#' 3042 AMDEP_FALSE= 3043fi 3044 3045 3046ac_ext=c 3047ac_cpp='$CPP $CPPFLAGS' 3048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3050ac_compiler_gnu=$ac_cv_c_compiler_gnu 3051if test -n "$ac_tool_prefix"; then 3052 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3053set dummy ${ac_tool_prefix}gcc; ac_word=$2 3054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3055$as_echo_n "checking for $ac_word... " >&6; } 3056if ${ac_cv_prog_CC+:} false; then : 3057 $as_echo_n "(cached) " >&6 3058else 3059 if test -n "$CC"; then 3060 ac_cv_prog_CC="$CC" # Let the user override the test. 3061else 3062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3063for as_dir in $PATH 3064do 3065 IFS=$as_save_IFS 3066 test -z "$as_dir" && as_dir=. 3067 for ac_exec_ext in '' $ac_executable_extensions; do 3068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3069 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3071 break 2 3072 fi 3073done 3074 done 3075IFS=$as_save_IFS 3076 3077fi 3078fi 3079CC=$ac_cv_prog_CC 3080if test -n "$CC"; then 3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3082$as_echo "$CC" >&6; } 3083else 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3085$as_echo "no" >&6; } 3086fi 3087 3088 3089fi 3090if test -z "$ac_cv_prog_CC"; then 3091 ac_ct_CC=$CC 3092 # Extract the first word of "gcc", so it can be a program name with args. 3093set dummy gcc; ac_word=$2 3094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3095$as_echo_n "checking for $ac_word... " >&6; } 3096if ${ac_cv_prog_ac_ct_CC+:} false; then : 3097 $as_echo_n "(cached) " >&6 3098else 3099 if test -n "$ac_ct_CC"; then 3100 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3101else 3102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3103for as_dir in $PATH 3104do 3105 IFS=$as_save_IFS 3106 test -z "$as_dir" && as_dir=. 3107 for ac_exec_ext in '' $ac_executable_extensions; do 3108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3109 ac_cv_prog_ac_ct_CC="gcc" 3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3111 break 2 3112 fi 3113done 3114 done 3115IFS=$as_save_IFS 3116 3117fi 3118fi 3119ac_ct_CC=$ac_cv_prog_ac_ct_CC 3120if test -n "$ac_ct_CC"; then 3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3122$as_echo "$ac_ct_CC" >&6; } 3123else 3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3125$as_echo "no" >&6; } 3126fi 3127 3128 if test "x$ac_ct_CC" = x; then 3129 CC="" 3130 else 3131 case $cross_compiling:$ac_tool_warned in 3132yes:) 3133{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3134$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3135ac_tool_warned=yes ;; 3136esac 3137 CC=$ac_ct_CC 3138 fi 3139else 3140 CC="$ac_cv_prog_CC" 3141fi 3142 3143if test -z "$CC"; then 3144 if test -n "$ac_tool_prefix"; then 3145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3146set dummy ${ac_tool_prefix}cc; ac_word=$2 3147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3148$as_echo_n "checking for $ac_word... " >&6; } 3149if ${ac_cv_prog_CC+:} false; then : 3150 $as_echo_n "(cached) " >&6 3151else 3152 if test -n "$CC"; then 3153 ac_cv_prog_CC="$CC" # Let the user override the test. 3154else 3155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3156for as_dir in $PATH 3157do 3158 IFS=$as_save_IFS 3159 test -z "$as_dir" && as_dir=. 3160 for ac_exec_ext in '' $ac_executable_extensions; do 3161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3162 ac_cv_prog_CC="${ac_tool_prefix}cc" 3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3164 break 2 3165 fi 3166done 3167 done 3168IFS=$as_save_IFS 3169 3170fi 3171fi 3172CC=$ac_cv_prog_CC 3173if test -n "$CC"; then 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3175$as_echo "$CC" >&6; } 3176else 3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3178$as_echo "no" >&6; } 3179fi 3180 3181 3182 fi 3183fi 3184if test -z "$CC"; then 3185 # Extract the first word of "cc", so it can be a program name with args. 3186set dummy cc; ac_word=$2 3187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3188$as_echo_n "checking for $ac_word... " >&6; } 3189if ${ac_cv_prog_CC+:} false; then : 3190 $as_echo_n "(cached) " >&6 3191else 3192 if test -n "$CC"; then 3193 ac_cv_prog_CC="$CC" # Let the user override the test. 3194else 3195 ac_prog_rejected=no 3196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3197for as_dir in $PATH 3198do 3199 IFS=$as_save_IFS 3200 test -z "$as_dir" && as_dir=. 3201 for ac_exec_ext in '' $ac_executable_extensions; do 3202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3203 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3204 ac_prog_rejected=yes 3205 continue 3206 fi 3207 ac_cv_prog_CC="cc" 3208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3209 break 2 3210 fi 3211done 3212 done 3213IFS=$as_save_IFS 3214 3215if test $ac_prog_rejected = yes; then 3216 # We found a bogon in the path, so make sure we never use it. 3217 set dummy $ac_cv_prog_CC 3218 shift 3219 if test $# != 0; then 3220 # We chose a different compiler from the bogus one. 3221 # However, it has the same basename, so the bogon will be chosen 3222 # first if we set CC to just the basename; use the full file name. 3223 shift 3224 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3225 fi 3226fi 3227fi 3228fi 3229CC=$ac_cv_prog_CC 3230if test -n "$CC"; then 3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3232$as_echo "$CC" >&6; } 3233else 3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3235$as_echo "no" >&6; } 3236fi 3237 3238 3239fi 3240if test -z "$CC"; then 3241 if test -n "$ac_tool_prefix"; then 3242 for ac_prog in cl.exe 3243 do 3244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3245set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3247$as_echo_n "checking for $ac_word... " >&6; } 3248if ${ac_cv_prog_CC+:} false; then : 3249 $as_echo_n "(cached) " >&6 3250else 3251 if test -n "$CC"; then 3252 ac_cv_prog_CC="$CC" # Let the user override the test. 3253else 3254as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3255for as_dir in $PATH 3256do 3257 IFS=$as_save_IFS 3258 test -z "$as_dir" && as_dir=. 3259 for ac_exec_ext in '' $ac_executable_extensions; do 3260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3261 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3263 break 2 3264 fi 3265done 3266 done 3267IFS=$as_save_IFS 3268 3269fi 3270fi 3271CC=$ac_cv_prog_CC 3272if test -n "$CC"; then 3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3274$as_echo "$CC" >&6; } 3275else 3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3277$as_echo "no" >&6; } 3278fi 3279 3280 3281 test -n "$CC" && break 3282 done 3283fi 3284if test -z "$CC"; then 3285 ac_ct_CC=$CC 3286 for ac_prog in cl.exe 3287do 3288 # Extract the first word of "$ac_prog", so it can be a program name with args. 3289set dummy $ac_prog; ac_word=$2 3290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3291$as_echo_n "checking for $ac_word... " >&6; } 3292if ${ac_cv_prog_ac_ct_CC+:} false; then : 3293 $as_echo_n "(cached) " >&6 3294else 3295 if test -n "$ac_ct_CC"; then 3296 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3297else 3298as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3299for as_dir in $PATH 3300do 3301 IFS=$as_save_IFS 3302 test -z "$as_dir" && as_dir=. 3303 for ac_exec_ext in '' $ac_executable_extensions; do 3304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3305 ac_cv_prog_ac_ct_CC="$ac_prog" 3306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3307 break 2 3308 fi 3309done 3310 done 3311IFS=$as_save_IFS 3312 3313fi 3314fi 3315ac_ct_CC=$ac_cv_prog_ac_ct_CC 3316if test -n "$ac_ct_CC"; then 3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3318$as_echo "$ac_ct_CC" >&6; } 3319else 3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3321$as_echo "no" >&6; } 3322fi 3323 3324 3325 test -n "$ac_ct_CC" && break 3326done 3327 3328 if test "x$ac_ct_CC" = x; then 3329 CC="" 3330 else 3331 case $cross_compiling:$ac_tool_warned in 3332yes:) 3333{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3334$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3335ac_tool_warned=yes ;; 3336esac 3337 CC=$ac_ct_CC 3338 fi 3339fi 3340 3341fi 3342 3343 3344test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3345$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3346as_fn_error $? "no acceptable C compiler found in \$PATH 3347See \`config.log' for more details" "$LINENO" 5; } 3348 3349# Provide some information about the compiler. 3350$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3351set X $ac_compile 3352ac_compiler=$2 3353for ac_option in --version -v -V -qversion; do 3354 { { ac_try="$ac_compiler $ac_option >&5" 3355case "(($ac_try" in 3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3357 *) ac_try_echo=$ac_try;; 3358esac 3359eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3360$as_echo "$ac_try_echo"; } >&5 3361 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3362 ac_status=$? 3363 if test -s conftest.err; then 3364 sed '10a\ 3365... rest of stderr output deleted ... 3366 10q' conftest.err >conftest.er1 3367 cat conftest.er1 >&5 3368 fi 3369 rm -f conftest.er1 conftest.err 3370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3371 test $ac_status = 0; } 3372done 3373 3374cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3375/* end confdefs.h. */ 3376 3377int 3378main () 3379{ 3380 3381 ; 3382 return 0; 3383} 3384_ACEOF 3385ac_clean_files_save=$ac_clean_files 3386ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3387# Try to create an executable without -o first, disregard a.out. 3388# It will help us diagnose broken compilers, and finding out an intuition 3389# of exeext. 3390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3391$as_echo_n "checking whether the C compiler works... " >&6; } 3392ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3393 3394# The possible output files: 3395ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3396 3397ac_rmfiles= 3398for ac_file in $ac_files 3399do 3400 case $ac_file in 3401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3402 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3403 esac 3404done 3405rm -f $ac_rmfiles 3406 3407if { { ac_try="$ac_link_default" 3408case "(($ac_try" in 3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3410 *) ac_try_echo=$ac_try;; 3411esac 3412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3413$as_echo "$ac_try_echo"; } >&5 3414 (eval "$ac_link_default") 2>&5 3415 ac_status=$? 3416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3417 test $ac_status = 0; }; then : 3418 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3419# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3420# in a Makefile. We should not override ac_cv_exeext if it was cached, 3421# so that the user can short-circuit this test for compilers unknown to 3422# Autoconf. 3423for ac_file in $ac_files '' 3424do 3425 test -f "$ac_file" || continue 3426 case $ac_file in 3427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3428 ;; 3429 [ab].out ) 3430 # We found the default executable, but exeext='' is most 3431 # certainly right. 3432 break;; 3433 *.* ) 3434 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3435 then :; else 3436 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3437 fi 3438 # We set ac_cv_exeext here because the later test for it is not 3439 # safe: cross compilers may not add the suffix if given an `-o' 3440 # argument, so we may need to know it at that point already. 3441 # Even if this section looks crufty: it has the advantage of 3442 # actually working. 3443 break;; 3444 * ) 3445 break;; 3446 esac 3447done 3448test "$ac_cv_exeext" = no && ac_cv_exeext= 3449 3450else 3451 ac_file='' 3452fi 3453if test -z "$ac_file"; then : 3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3455$as_echo "no" >&6; } 3456$as_echo "$as_me: failed program was:" >&5 3457sed 's/^/| /' conftest.$ac_ext >&5 3458 3459{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3460$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3461as_fn_error 77 "C compiler cannot create executables 3462See \`config.log' for more details" "$LINENO" 5; } 3463else 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3465$as_echo "yes" >&6; } 3466fi 3467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3468$as_echo_n "checking for C compiler default output file name... " >&6; } 3469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3470$as_echo "$ac_file" >&6; } 3471ac_exeext=$ac_cv_exeext 3472 3473rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3474ac_clean_files=$ac_clean_files_save 3475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3476$as_echo_n "checking for suffix of executables... " >&6; } 3477if { { ac_try="$ac_link" 3478case "(($ac_try" in 3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3480 *) ac_try_echo=$ac_try;; 3481esac 3482eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3483$as_echo "$ac_try_echo"; } >&5 3484 (eval "$ac_link") 2>&5 3485 ac_status=$? 3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3487 test $ac_status = 0; }; then : 3488 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3489# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3490# work properly (i.e., refer to `conftest.exe'), while it won't with 3491# `rm'. 3492for ac_file in conftest.exe conftest conftest.*; do 3493 test -f "$ac_file" || continue 3494 case $ac_file in 3495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3496 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3497 break;; 3498 * ) break;; 3499 esac 3500done 3501else 3502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3503$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3504as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3505See \`config.log' for more details" "$LINENO" 5; } 3506fi 3507rm -f conftest conftest$ac_cv_exeext 3508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3509$as_echo "$ac_cv_exeext" >&6; } 3510 3511rm -f conftest.$ac_ext 3512EXEEXT=$ac_cv_exeext 3513ac_exeext=$EXEEXT 3514cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3515/* end confdefs.h. */ 3516#include <stdio.h> 3517int 3518main () 3519{ 3520FILE *f = fopen ("conftest.out", "w"); 3521 return ferror (f) || fclose (f) != 0; 3522 3523 ; 3524 return 0; 3525} 3526_ACEOF 3527ac_clean_files="$ac_clean_files conftest.out" 3528# Check that the compiler produces executables we can run. If not, either 3529# the compiler is broken, or we cross compile. 3530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3531$as_echo_n "checking whether we are cross compiling... " >&6; } 3532if test "$cross_compiling" != yes; then 3533 { { ac_try="$ac_link" 3534case "(($ac_try" in 3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3536 *) ac_try_echo=$ac_try;; 3537esac 3538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3539$as_echo "$ac_try_echo"; } >&5 3540 (eval "$ac_link") 2>&5 3541 ac_status=$? 3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3543 test $ac_status = 0; } 3544 if { ac_try='./conftest$ac_cv_exeext' 3545 { { case "(($ac_try" in 3546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3547 *) ac_try_echo=$ac_try;; 3548esac 3549eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3550$as_echo "$ac_try_echo"; } >&5 3551 (eval "$ac_try") 2>&5 3552 ac_status=$? 3553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3554 test $ac_status = 0; }; }; then 3555 cross_compiling=no 3556 else 3557 if test "$cross_compiling" = maybe; then 3558 cross_compiling=yes 3559 else 3560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3561$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3562as_fn_error $? "cannot run C compiled programs. 3563If you meant to cross compile, use \`--host'. 3564See \`config.log' for more details" "$LINENO" 5; } 3565 fi 3566 fi 3567fi 3568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3569$as_echo "$cross_compiling" >&6; } 3570 3571rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3572ac_clean_files=$ac_clean_files_save 3573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3574$as_echo_n "checking for suffix of object files... " >&6; } 3575if ${ac_cv_objext+:} false; then : 3576 $as_echo_n "(cached) " >&6 3577else 3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3579/* end confdefs.h. */ 3580 3581int 3582main () 3583{ 3584 3585 ; 3586 return 0; 3587} 3588_ACEOF 3589rm -f conftest.o conftest.obj 3590if { { ac_try="$ac_compile" 3591case "(($ac_try" in 3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3593 *) ac_try_echo=$ac_try;; 3594esac 3595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3596$as_echo "$ac_try_echo"; } >&5 3597 (eval "$ac_compile") 2>&5 3598 ac_status=$? 3599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3600 test $ac_status = 0; }; then : 3601 for ac_file in conftest.o conftest.obj conftest.*; do 3602 test -f "$ac_file" || continue; 3603 case $ac_file in 3604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3605 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3606 break;; 3607 esac 3608done 3609else 3610 $as_echo "$as_me: failed program was:" >&5 3611sed 's/^/| /' conftest.$ac_ext >&5 3612 3613{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3614$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3615as_fn_error $? "cannot compute suffix of object files: cannot compile 3616See \`config.log' for more details" "$LINENO" 5; } 3617fi 3618rm -f conftest.$ac_cv_objext conftest.$ac_ext 3619fi 3620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3621$as_echo "$ac_cv_objext" >&6; } 3622OBJEXT=$ac_cv_objext 3623ac_objext=$OBJEXT 3624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3625$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3626if ${ac_cv_c_compiler_gnu+:} false; then : 3627 $as_echo_n "(cached) " >&6 3628else 3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3630/* end confdefs.h. */ 3631 3632int 3633main () 3634{ 3635#ifndef __GNUC__ 3636 choke me 3637#endif 3638 3639 ; 3640 return 0; 3641} 3642_ACEOF 3643if ac_fn_c_try_compile "$LINENO"; then : 3644 ac_compiler_gnu=yes 3645else 3646 ac_compiler_gnu=no 3647fi 3648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3649ac_cv_c_compiler_gnu=$ac_compiler_gnu 3650 3651fi 3652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3653$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3654if test $ac_compiler_gnu = yes; then 3655 GCC=yes 3656else 3657 GCC= 3658fi 3659ac_test_CFLAGS=${CFLAGS+set} 3660ac_save_CFLAGS=$CFLAGS 3661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3662$as_echo_n "checking whether $CC accepts -g... " >&6; } 3663if ${ac_cv_prog_cc_g+:} false; then : 3664 $as_echo_n "(cached) " >&6 3665else 3666 ac_save_c_werror_flag=$ac_c_werror_flag 3667 ac_c_werror_flag=yes 3668 ac_cv_prog_cc_g=no 3669 CFLAGS="-g" 3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3671/* end confdefs.h. */ 3672 3673int 3674main () 3675{ 3676 3677 ; 3678 return 0; 3679} 3680_ACEOF 3681if ac_fn_c_try_compile "$LINENO"; then : 3682 ac_cv_prog_cc_g=yes 3683else 3684 CFLAGS="" 3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3686/* end confdefs.h. */ 3687 3688int 3689main () 3690{ 3691 3692 ; 3693 return 0; 3694} 3695_ACEOF 3696if ac_fn_c_try_compile "$LINENO"; then : 3697 3698else 3699 ac_c_werror_flag=$ac_save_c_werror_flag 3700 CFLAGS="-g" 3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3702/* end confdefs.h. */ 3703 3704int 3705main () 3706{ 3707 3708 ; 3709 return 0; 3710} 3711_ACEOF 3712if ac_fn_c_try_compile "$LINENO"; then : 3713 ac_cv_prog_cc_g=yes 3714fi 3715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3716fi 3717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3718fi 3719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3720 ac_c_werror_flag=$ac_save_c_werror_flag 3721fi 3722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3723$as_echo "$ac_cv_prog_cc_g" >&6; } 3724if test "$ac_test_CFLAGS" = set; then 3725 CFLAGS=$ac_save_CFLAGS 3726elif test $ac_cv_prog_cc_g = yes; then 3727 if test "$GCC" = yes; then 3728 CFLAGS="-g -O2" 3729 else 3730 CFLAGS="-g" 3731 fi 3732else 3733 if test "$GCC" = yes; then 3734 CFLAGS="-O2" 3735 else 3736 CFLAGS= 3737 fi 3738fi 3739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3740$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3741if ${ac_cv_prog_cc_c89+:} false; then : 3742 $as_echo_n "(cached) " >&6 3743else 3744 ac_cv_prog_cc_c89=no 3745ac_save_CC=$CC 3746cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3747/* end confdefs.h. */ 3748#include <stdarg.h> 3749#include <stdio.h> 3750struct stat; 3751/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3752struct buf { int x; }; 3753FILE * (*rcsopen) (struct buf *, struct stat *, int); 3754static char *e (p, i) 3755 char **p; 3756 int i; 3757{ 3758 return p[i]; 3759} 3760static char *f (char * (*g) (char **, int), char **p, ...) 3761{ 3762 char *s; 3763 va_list v; 3764 va_start (v,p); 3765 s = g (p, va_arg (v,int)); 3766 va_end (v); 3767 return s; 3768} 3769 3770/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3771 function prototypes and stuff, but not '\xHH' hex character constants. 3772 These don't provoke an error unfortunately, instead are silently treated 3773 as 'x'. The following induces an error, until -std is added to get 3774 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3775 array size at least. It's necessary to write '\x00'==0 to get something 3776 that's true only with -std. */ 3777int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3778 3779/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3780 inside strings and character constants. */ 3781#define FOO(x) 'x' 3782int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3783 3784int test (int i, double x); 3785struct s1 {int (*f) (int a);}; 3786struct s2 {int (*f) (double a);}; 3787int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3788int argc; 3789char **argv; 3790int 3791main () 3792{ 3793return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3794 ; 3795 return 0; 3796} 3797_ACEOF 3798for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3799 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3800do 3801 CC="$ac_save_CC $ac_arg" 3802 if ac_fn_c_try_compile "$LINENO"; then : 3803 ac_cv_prog_cc_c89=$ac_arg 3804fi 3805rm -f core conftest.err conftest.$ac_objext 3806 test "x$ac_cv_prog_cc_c89" != "xno" && break 3807done 3808rm -f conftest.$ac_ext 3809CC=$ac_save_CC 3810 3811fi 3812# AC_CACHE_VAL 3813case "x$ac_cv_prog_cc_c89" in 3814 x) 3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3816$as_echo "none needed" >&6; } ;; 3817 xno) 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3819$as_echo "unsupported" >&6; } ;; 3820 *) 3821 CC="$CC $ac_cv_prog_cc_c89" 3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3823$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3824esac 3825if test "x$ac_cv_prog_cc_c89" != xno; then : 3826 3827fi 3828 3829ac_ext=c 3830ac_cpp='$CPP $CPPFLAGS' 3831ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3832ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3833ac_compiler_gnu=$ac_cv_c_compiler_gnu 3834 3835ac_ext=c 3836ac_cpp='$CPP $CPPFLAGS' 3837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3839ac_compiler_gnu=$ac_cv_c_compiler_gnu 3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3841$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3842if ${am_cv_prog_cc_c_o+:} false; then : 3843 $as_echo_n "(cached) " >&6 3844else 3845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3846/* end confdefs.h. */ 3847 3848int 3849main () 3850{ 3851 3852 ; 3853 return 0; 3854} 3855_ACEOF 3856 # Make sure it works both with $CC and with simple cc. 3857 # Following AC_PROG_CC_C_O, we do the test twice because some 3858 # compilers refuse to overwrite an existing .o file with -o, 3859 # though they will create one. 3860 am_cv_prog_cc_c_o=yes 3861 for am_i in 1 2; do 3862 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3863 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3864 ac_status=$? 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3866 (exit $ac_status); } \ 3867 && test -f conftest2.$ac_objext; then 3868 : OK 3869 else 3870 am_cv_prog_cc_c_o=no 3871 break 3872 fi 3873 done 3874 rm -f core conftest* 3875 unset am_i 3876fi 3877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3878$as_echo "$am_cv_prog_cc_c_o" >&6; } 3879if test "$am_cv_prog_cc_c_o" != yes; then 3880 # Losing compiler, so override with the script. 3881 # FIXME: It is wrong to rewrite CC. 3882 # But if we don't then we get into trouble of one sort or another. 3883 # A longer-term fix would be to have automake use am__CC in this case, 3884 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3885 CC="$am_aux_dir/compile $CC" 3886fi 3887ac_ext=c 3888ac_cpp='$CPP $CPPFLAGS' 3889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3891ac_compiler_gnu=$ac_cv_c_compiler_gnu 3892 3893 3894depcc="$CC" am_compiler_list= 3895 3896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3897$as_echo_n "checking dependency style of $depcc... " >&6; } 3898if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3899 $as_echo_n "(cached) " >&6 3900else 3901 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3902 # We make a subdir and do the tests there. Otherwise we can end up 3903 # making bogus files that we don't know about and never remove. For 3904 # instance it was reported that on HP-UX the gcc test will end up 3905 # making a dummy file named 'D' -- because '-MD' means "put the output 3906 # in D". 3907 rm -rf conftest.dir 3908 mkdir conftest.dir 3909 # Copy depcomp to subdir because otherwise we won't find it if we're 3910 # using a relative directory. 3911 cp "$am_depcomp" conftest.dir 3912 cd conftest.dir 3913 # We will build objects and dependencies in a subdirectory because 3914 # it helps to detect inapplicable dependency modes. For instance 3915 # both Tru64's cc and ICC support -MD to output dependencies as a 3916 # side effect of compilation, but ICC will put the dependencies in 3917 # the current directory while Tru64 will put them in the object 3918 # directory. 3919 mkdir sub 3920 3921 am_cv_CC_dependencies_compiler_type=none 3922 if test "$am_compiler_list" = ""; then 3923 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3924 fi 3925 am__universal=false 3926 case " $depcc " in #( 3927 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3928 esac 3929 3930 for depmode in $am_compiler_list; do 3931 # Setup a source with many dependencies, because some compilers 3932 # like to wrap large dependency lists on column 80 (with \), and 3933 # we should not choose a depcomp mode which is confused by this. 3934 # 3935 # We need to recreate these files for each test, as the compiler may 3936 # overwrite some of them when testing with obscure command lines. 3937 # This happens at least with the AIX C compiler. 3938 : > sub/conftest.c 3939 for i in 1 2 3 4 5 6; do 3940 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3941 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3942 # Solaris 10 /bin/sh. 3943 echo '/* dummy */' > sub/conftst$i.h 3944 done 3945 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3946 3947 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3948 # mode. It turns out that the SunPro C++ compiler does not properly 3949 # handle '-M -o', and we need to detect this. Also, some Intel 3950 # versions had trouble with output in subdirs. 3951 am__obj=sub/conftest.${OBJEXT-o} 3952 am__minus_obj="-o $am__obj" 3953 case $depmode in 3954 gcc) 3955 # This depmode causes a compiler race in universal mode. 3956 test "$am__universal" = false || continue 3957 ;; 3958 nosideeffect) 3959 # After this tag, mechanisms are not by side-effect, so they'll 3960 # only be used when explicitly requested. 3961 if test "x$enable_dependency_tracking" = xyes; then 3962 continue 3963 else 3964 break 3965 fi 3966 ;; 3967 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3968 # This compiler won't grok '-c -o', but also, the minuso test has 3969 # not run yet. These depmodes are late enough in the game, and 3970 # so weak that their functioning should not be impacted. 3971 am__obj=conftest.${OBJEXT-o} 3972 am__minus_obj= 3973 ;; 3974 none) break ;; 3975 esac 3976 if depmode=$depmode \ 3977 source=sub/conftest.c object=$am__obj \ 3978 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3979 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3980 >/dev/null 2>conftest.err && 3981 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3982 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3983 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3984 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3985 # icc doesn't choke on unknown options, it will just issue warnings 3986 # or remarks (even with -Werror). So we grep stderr for any message 3987 # that says an option was ignored or not supported. 3988 # When given -MP, icc 7.0 and 7.1 complain thusly: 3989 # icc: Command line warning: ignoring option '-M'; no argument required 3990 # The diagnosis changed in icc 8.0: 3991 # icc: Command line remark: option '-MP' not supported 3992 if (grep 'ignoring option' conftest.err || 3993 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3994 am_cv_CC_dependencies_compiler_type=$depmode 3995 break 3996 fi 3997 fi 3998 done 3999 4000 cd .. 4001 rm -rf conftest.dir 4002else 4003 am_cv_CC_dependencies_compiler_type=none 4004fi 4005 4006fi 4007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4008$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4009CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4010 4011 if 4012 test "x$enable_dependency_tracking" != xno \ 4013 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4014 am__fastdepCC_TRUE= 4015 am__fastdepCC_FALSE='#' 4016else 4017 am__fastdepCC_TRUE='#' 4018 am__fastdepCC_FALSE= 4019fi 4020 4021 4022 4023# Check whether --enable-compiler-warnings was given. 4024if test "${enable_compiler_warnings+set}" = set; then : 4025 enableval=$enable_compiler_warnings; 4026fi 4027case $enable_compiler_warnings in #( 4028 no | min | yes | max | all) : 4029 ;; #( 4030 *) : 4031 if test "x$enable_maintainer_mode" = xyes; then : 4032 enable_compiler_warnings=yes 4033else 4034 enable_compiler_warnings=min 4035fi ;; 4036esac 4037 4038case `pwd` in 4039 *\ * | *\ *) 4040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4041$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4042esac 4043 4044 4045 4046macro_version='2.4.6' 4047macro_revision='2.4.6' 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061ltmain=$ac_aux_dir/ltmain.sh 4062 4063# Make sure we can run config.sub. 4064$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4065 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4066 4067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4068$as_echo_n "checking build system type... " >&6; } 4069if ${ac_cv_build+:} false; then : 4070 $as_echo_n "(cached) " >&6 4071else 4072 ac_build_alias=$build_alias 4073test "x$ac_build_alias" = x && 4074 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4075test "x$ac_build_alias" = x && 4076 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4077ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4078 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4079 4080fi 4081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4082$as_echo "$ac_cv_build" >&6; } 4083case $ac_cv_build in 4084*-*-*) ;; 4085*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4086esac 4087build=$ac_cv_build 4088ac_save_IFS=$IFS; IFS='-' 4089set x $ac_cv_build 4090shift 4091build_cpu=$1 4092build_vendor=$2 4093shift; shift 4094# Remember, the first character of IFS is used to create $*, 4095# except with old shells: 4096build_os=$* 4097IFS=$ac_save_IFS 4098case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4099 4100 4101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4102$as_echo_n "checking host system type... " >&6; } 4103if ${ac_cv_host+:} false; then : 4104 $as_echo_n "(cached) " >&6 4105else 4106 if test "x$host_alias" = x; then 4107 ac_cv_host=$ac_cv_build 4108else 4109 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4110 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4111fi 4112 4113fi 4114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4115$as_echo "$ac_cv_host" >&6; } 4116case $ac_cv_host in 4117*-*-*) ;; 4118*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4119esac 4120host=$ac_cv_host 4121ac_save_IFS=$IFS; IFS='-' 4122set x $ac_cv_host 4123shift 4124host_cpu=$1 4125host_vendor=$2 4126shift; shift 4127# Remember, the first character of IFS is used to create $*, 4128# except with old shells: 4129host_os=$* 4130IFS=$ac_save_IFS 4131case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4132 4133 4134# Backslashify metacharacters that are still active within 4135# double-quoted strings. 4136sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4137 4138# Same as above, but do not quote variable references. 4139double_quote_subst='s/\(["`\\]\)/\\\1/g' 4140 4141# Sed substitution to delay expansion of an escaped shell variable in a 4142# double_quote_subst'ed string. 4143delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4144 4145# Sed substitution to delay expansion of an escaped single quote. 4146delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4147 4148# Sed substitution to avoid accidental globbing in evaled expressions 4149no_glob_subst='s/\*/\\\*/g' 4150 4151ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4152ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4153ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4154 4155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4156$as_echo_n "checking how to print strings... " >&6; } 4157# Test print first, because it will be a builtin if present. 4158if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4159 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4160 ECHO='print -r --' 4161elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4162 ECHO='printf %s\n' 4163else 4164 # Use this function as a fallback that always works. 4165 func_fallback_echo () 4166 { 4167 eval 'cat <<_LTECHO_EOF 4168$1 4169_LTECHO_EOF' 4170 } 4171 ECHO='func_fallback_echo' 4172fi 4173 4174# func_echo_all arg... 4175# Invoke $ECHO with all args, space-separated. 4176func_echo_all () 4177{ 4178 $ECHO "" 4179} 4180 4181case $ECHO in 4182 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4183$as_echo "printf" >&6; } ;; 4184 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4185$as_echo "print -r" >&6; } ;; 4186 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4187$as_echo "cat" >&6; } ;; 4188esac 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4204$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4205if ${ac_cv_path_SED+:} false; then : 4206 $as_echo_n "(cached) " >&6 4207else 4208 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4209 for ac_i in 1 2 3 4 5 6 7; do 4210 ac_script="$ac_script$as_nl$ac_script" 4211 done 4212 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4213 { ac_script=; unset ac_script;} 4214 if test -z "$SED"; then 4215 ac_path_SED_found=false 4216 # Loop through the user's path and test for each of PROGNAME-LIST 4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4218for as_dir in $PATH 4219do 4220 IFS=$as_save_IFS 4221 test -z "$as_dir" && as_dir=. 4222 for ac_prog in sed gsed; do 4223 for ac_exec_ext in '' $ac_executable_extensions; do 4224 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4225 as_fn_executable_p "$ac_path_SED" || continue 4226# Check for GNU ac_path_SED and select it if it is found. 4227 # Check for GNU $ac_path_SED 4228case `"$ac_path_SED" --version 2>&1` in 4229*GNU*) 4230 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4231*) 4232 ac_count=0 4233 $as_echo_n 0123456789 >"conftest.in" 4234 while : 4235 do 4236 cat "conftest.in" "conftest.in" >"conftest.tmp" 4237 mv "conftest.tmp" "conftest.in" 4238 cp "conftest.in" "conftest.nl" 4239 $as_echo '' >> "conftest.nl" 4240 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4241 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4242 as_fn_arith $ac_count + 1 && ac_count=$as_val 4243 if test $ac_count -gt ${ac_path_SED_max-0}; then 4244 # Best one so far, save it but keep looking for a better one 4245 ac_cv_path_SED="$ac_path_SED" 4246 ac_path_SED_max=$ac_count 4247 fi 4248 # 10*(2^10) chars as input seems more than enough 4249 test $ac_count -gt 10 && break 4250 done 4251 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4252esac 4253 4254 $ac_path_SED_found && break 3 4255 done 4256 done 4257 done 4258IFS=$as_save_IFS 4259 if test -z "$ac_cv_path_SED"; then 4260 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4261 fi 4262else 4263 ac_cv_path_SED=$SED 4264fi 4265 4266fi 4267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4268$as_echo "$ac_cv_path_SED" >&6; } 4269 SED="$ac_cv_path_SED" 4270 rm -f conftest.sed 4271 4272test -z "$SED" && SED=sed 4273Xsed="$SED -e 1s/^X//" 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4286$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4287if ${ac_cv_path_GREP+:} false; then : 4288 $as_echo_n "(cached) " >&6 4289else 4290 if test -z "$GREP"; then 4291 ac_path_GREP_found=false 4292 # Loop through the user's path and test for each of PROGNAME-LIST 4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4294for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4295do 4296 IFS=$as_save_IFS 4297 test -z "$as_dir" && as_dir=. 4298 for ac_prog in grep ggrep; do 4299 for ac_exec_ext in '' $ac_executable_extensions; do 4300 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4301 as_fn_executable_p "$ac_path_GREP" || continue 4302# Check for GNU ac_path_GREP and select it if it is found. 4303 # Check for GNU $ac_path_GREP 4304case `"$ac_path_GREP" --version 2>&1` in 4305*GNU*) 4306 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4307*) 4308 ac_count=0 4309 $as_echo_n 0123456789 >"conftest.in" 4310 while : 4311 do 4312 cat "conftest.in" "conftest.in" >"conftest.tmp" 4313 mv "conftest.tmp" "conftest.in" 4314 cp "conftest.in" "conftest.nl" 4315 $as_echo 'GREP' >> "conftest.nl" 4316 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4318 as_fn_arith $ac_count + 1 && ac_count=$as_val 4319 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4320 # Best one so far, save it but keep looking for a better one 4321 ac_cv_path_GREP="$ac_path_GREP" 4322 ac_path_GREP_max=$ac_count 4323 fi 4324 # 10*(2^10) chars as input seems more than enough 4325 test $ac_count -gt 10 && break 4326 done 4327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4328esac 4329 4330 $ac_path_GREP_found && break 3 4331 done 4332 done 4333 done 4334IFS=$as_save_IFS 4335 if test -z "$ac_cv_path_GREP"; then 4336 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4337 fi 4338else 4339 ac_cv_path_GREP=$GREP 4340fi 4341 4342fi 4343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4344$as_echo "$ac_cv_path_GREP" >&6; } 4345 GREP="$ac_cv_path_GREP" 4346 4347 4348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4349$as_echo_n "checking for egrep... " >&6; } 4350if ${ac_cv_path_EGREP+:} false; then : 4351 $as_echo_n "(cached) " >&6 4352else 4353 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4354 then ac_cv_path_EGREP="$GREP -E" 4355 else 4356 if test -z "$EGREP"; then 4357 ac_path_EGREP_found=false 4358 # Loop through the user's path and test for each of PROGNAME-LIST 4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4360for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4361do 4362 IFS=$as_save_IFS 4363 test -z "$as_dir" && as_dir=. 4364 for ac_prog in egrep; do 4365 for ac_exec_ext in '' $ac_executable_extensions; do 4366 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4367 as_fn_executable_p "$ac_path_EGREP" || continue 4368# Check for GNU ac_path_EGREP and select it if it is found. 4369 # Check for GNU $ac_path_EGREP 4370case `"$ac_path_EGREP" --version 2>&1` in 4371*GNU*) 4372 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4373*) 4374 ac_count=0 4375 $as_echo_n 0123456789 >"conftest.in" 4376 while : 4377 do 4378 cat "conftest.in" "conftest.in" >"conftest.tmp" 4379 mv "conftest.tmp" "conftest.in" 4380 cp "conftest.in" "conftest.nl" 4381 $as_echo 'EGREP' >> "conftest.nl" 4382 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4383 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4384 as_fn_arith $ac_count + 1 && ac_count=$as_val 4385 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4386 # Best one so far, save it but keep looking for a better one 4387 ac_cv_path_EGREP="$ac_path_EGREP" 4388 ac_path_EGREP_max=$ac_count 4389 fi 4390 # 10*(2^10) chars as input seems more than enough 4391 test $ac_count -gt 10 && break 4392 done 4393 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4394esac 4395 4396 $ac_path_EGREP_found && break 3 4397 done 4398 done 4399 done 4400IFS=$as_save_IFS 4401 if test -z "$ac_cv_path_EGREP"; then 4402 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4403 fi 4404else 4405 ac_cv_path_EGREP=$EGREP 4406fi 4407 4408 fi 4409fi 4410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4411$as_echo "$ac_cv_path_EGREP" >&6; } 4412 EGREP="$ac_cv_path_EGREP" 4413 4414 4415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4416$as_echo_n "checking for fgrep... " >&6; } 4417if ${ac_cv_path_FGREP+:} false; then : 4418 $as_echo_n "(cached) " >&6 4419else 4420 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4421 then ac_cv_path_FGREP="$GREP -F" 4422 else 4423 if test -z "$FGREP"; then 4424 ac_path_FGREP_found=false 4425 # Loop through the user's path and test for each of PROGNAME-LIST 4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4427for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4428do 4429 IFS=$as_save_IFS 4430 test -z "$as_dir" && as_dir=. 4431 for ac_prog in fgrep; do 4432 for ac_exec_ext in '' $ac_executable_extensions; do 4433 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4434 as_fn_executable_p "$ac_path_FGREP" || continue 4435# Check for GNU ac_path_FGREP and select it if it is found. 4436 # Check for GNU $ac_path_FGREP 4437case `"$ac_path_FGREP" --version 2>&1` in 4438*GNU*) 4439 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4440*) 4441 ac_count=0 4442 $as_echo_n 0123456789 >"conftest.in" 4443 while : 4444 do 4445 cat "conftest.in" "conftest.in" >"conftest.tmp" 4446 mv "conftest.tmp" "conftest.in" 4447 cp "conftest.in" "conftest.nl" 4448 $as_echo 'FGREP' >> "conftest.nl" 4449 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4450 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4451 as_fn_arith $ac_count + 1 && ac_count=$as_val 4452 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4453 # Best one so far, save it but keep looking for a better one 4454 ac_cv_path_FGREP="$ac_path_FGREP" 4455 ac_path_FGREP_max=$ac_count 4456 fi 4457 # 10*(2^10) chars as input seems more than enough 4458 test $ac_count -gt 10 && break 4459 done 4460 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4461esac 4462 4463 $ac_path_FGREP_found && break 3 4464 done 4465 done 4466 done 4467IFS=$as_save_IFS 4468 if test -z "$ac_cv_path_FGREP"; then 4469 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4470 fi 4471else 4472 ac_cv_path_FGREP=$FGREP 4473fi 4474 4475 fi 4476fi 4477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4478$as_echo "$ac_cv_path_FGREP" >&6; } 4479 FGREP="$ac_cv_path_FGREP" 4480 4481 4482test -z "$GREP" && GREP=grep 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502# Check whether --with-gnu-ld was given. 4503if test "${with_gnu_ld+set}" = set; then : 4504 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4505else 4506 with_gnu_ld=no 4507fi 4508 4509ac_prog=ld 4510if test yes = "$GCC"; then 4511 # Check if gcc -print-prog-name=ld gives a path. 4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4513$as_echo_n "checking for ld used by $CC... " >&6; } 4514 case $host in 4515 *-*-mingw*) 4516 # gcc leaves a trailing carriage return, which upsets mingw 4517 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4518 *) 4519 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4520 esac 4521 case $ac_prog in 4522 # Accept absolute paths. 4523 [\\/]* | ?:[\\/]*) 4524 re_direlt='/[^/][^/]*/\.\./' 4525 # Canonicalize the pathname of ld 4526 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4527 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4528 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4529 done 4530 test -z "$LD" && LD=$ac_prog 4531 ;; 4532 "") 4533 # If it fails, then pretend we aren't using GCC. 4534 ac_prog=ld 4535 ;; 4536 *) 4537 # If it is relative, then search for the first ld in PATH. 4538 with_gnu_ld=unknown 4539 ;; 4540 esac 4541elif test yes = "$with_gnu_ld"; then 4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4543$as_echo_n "checking for GNU ld... " >&6; } 4544else 4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4546$as_echo_n "checking for non-GNU ld... " >&6; } 4547fi 4548if ${lt_cv_path_LD+:} false; then : 4549 $as_echo_n "(cached) " >&6 4550else 4551 if test -z "$LD"; then 4552 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4553 for ac_dir in $PATH; do 4554 IFS=$lt_save_ifs 4555 test -z "$ac_dir" && ac_dir=. 4556 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4557 lt_cv_path_LD=$ac_dir/$ac_prog 4558 # Check to see if the program is GNU ld. I'd rather use --version, 4559 # but apparently some variants of GNU ld only accept -v. 4560 # Break only if it was the GNU/non-GNU ld that we prefer. 4561 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4562 *GNU* | *'with BFD'*) 4563 test no != "$with_gnu_ld" && break 4564 ;; 4565 *) 4566 test yes != "$with_gnu_ld" && break 4567 ;; 4568 esac 4569 fi 4570 done 4571 IFS=$lt_save_ifs 4572else 4573 lt_cv_path_LD=$LD # Let the user override the test with a path. 4574fi 4575fi 4576 4577LD=$lt_cv_path_LD 4578if test -n "$LD"; then 4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4580$as_echo "$LD" >&6; } 4581else 4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4583$as_echo "no" >&6; } 4584fi 4585test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4587$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4588if ${lt_cv_prog_gnu_ld+:} false; then : 4589 $as_echo_n "(cached) " >&6 4590else 4591 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4592case `$LD -v 2>&1 </dev/null` in 4593*GNU* | *'with BFD'*) 4594 lt_cv_prog_gnu_ld=yes 4595 ;; 4596*) 4597 lt_cv_prog_gnu_ld=no 4598 ;; 4599esac 4600fi 4601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4602$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4603with_gnu_ld=$lt_cv_prog_gnu_ld 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4614$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4615if ${lt_cv_path_NM+:} false; then : 4616 $as_echo_n "(cached) " >&6 4617else 4618 if test -n "$NM"; then 4619 # Let the user override the test. 4620 lt_cv_path_NM=$NM 4621else 4622 lt_nm_to_check=${ac_tool_prefix}nm 4623 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4624 lt_nm_to_check="$lt_nm_to_check nm" 4625 fi 4626 for lt_tmp_nm in $lt_nm_to_check; do 4627 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4628 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4629 IFS=$lt_save_ifs 4630 test -z "$ac_dir" && ac_dir=. 4631 tmp_nm=$ac_dir/$lt_tmp_nm 4632 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4633 # Check to see if the nm accepts a BSD-compat flag. 4634 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4635 # nm: unknown option "B" ignored 4636 # Tru64's nm complains that /dev/null is an invalid object file 4637 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4638 case $build_os in 4639 mingw*) lt_bad_file=conftest.nm/nofile ;; 4640 *) lt_bad_file=/dev/null ;; 4641 esac 4642 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4643 *$lt_bad_file* | *'Invalid file or object type'*) 4644 lt_cv_path_NM="$tmp_nm -B" 4645 break 2 4646 ;; 4647 *) 4648 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4649 */dev/null*) 4650 lt_cv_path_NM="$tmp_nm -p" 4651 break 2 4652 ;; 4653 *) 4654 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4655 continue # so that we can try to find one that supports BSD flags 4656 ;; 4657 esac 4658 ;; 4659 esac 4660 fi 4661 done 4662 IFS=$lt_save_ifs 4663 done 4664 : ${lt_cv_path_NM=no} 4665fi 4666fi 4667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4668$as_echo "$lt_cv_path_NM" >&6; } 4669if test no != "$lt_cv_path_NM"; then 4670 NM=$lt_cv_path_NM 4671else 4672 # Didn't find any BSD compatible name lister, look for dumpbin. 4673 if test -n "$DUMPBIN"; then : 4674 # Let the user override the test. 4675 else 4676 if test -n "$ac_tool_prefix"; then 4677 for ac_prog in dumpbin "link -dump" 4678 do 4679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4680set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4682$as_echo_n "checking for $ac_word... " >&6; } 4683if ${ac_cv_prog_DUMPBIN+:} false; then : 4684 $as_echo_n "(cached) " >&6 4685else 4686 if test -n "$DUMPBIN"; then 4687 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4688else 4689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4690for as_dir in $PATH 4691do 4692 IFS=$as_save_IFS 4693 test -z "$as_dir" && as_dir=. 4694 for ac_exec_ext in '' $ac_executable_extensions; do 4695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4696 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4698 break 2 4699 fi 4700done 4701 done 4702IFS=$as_save_IFS 4703 4704fi 4705fi 4706DUMPBIN=$ac_cv_prog_DUMPBIN 4707if test -n "$DUMPBIN"; then 4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4709$as_echo "$DUMPBIN" >&6; } 4710else 4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4712$as_echo "no" >&6; } 4713fi 4714 4715 4716 test -n "$DUMPBIN" && break 4717 done 4718fi 4719if test -z "$DUMPBIN"; then 4720 ac_ct_DUMPBIN=$DUMPBIN 4721 for ac_prog in dumpbin "link -dump" 4722do 4723 # Extract the first word of "$ac_prog", so it can be a program name with args. 4724set dummy $ac_prog; ac_word=$2 4725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4726$as_echo_n "checking for $ac_word... " >&6; } 4727if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4728 $as_echo_n "(cached) " >&6 4729else 4730 if test -n "$ac_ct_DUMPBIN"; then 4731 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4732else 4733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4734for as_dir in $PATH 4735do 4736 IFS=$as_save_IFS 4737 test -z "$as_dir" && as_dir=. 4738 for ac_exec_ext in '' $ac_executable_extensions; do 4739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4740 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4742 break 2 4743 fi 4744done 4745 done 4746IFS=$as_save_IFS 4747 4748fi 4749fi 4750ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4751if test -n "$ac_ct_DUMPBIN"; then 4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4753$as_echo "$ac_ct_DUMPBIN" >&6; } 4754else 4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4756$as_echo "no" >&6; } 4757fi 4758 4759 4760 test -n "$ac_ct_DUMPBIN" && break 4761done 4762 4763 if test "x$ac_ct_DUMPBIN" = x; then 4764 DUMPBIN=":" 4765 else 4766 case $cross_compiling:$ac_tool_warned in 4767yes:) 4768{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4769$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4770ac_tool_warned=yes ;; 4771esac 4772 DUMPBIN=$ac_ct_DUMPBIN 4773 fi 4774fi 4775 4776 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4777 *COFF*) 4778 DUMPBIN="$DUMPBIN -symbols -headers" 4779 ;; 4780 *) 4781 DUMPBIN=: 4782 ;; 4783 esac 4784 fi 4785 4786 if test : != "$DUMPBIN"; then 4787 NM=$DUMPBIN 4788 fi 4789fi 4790test -z "$NM" && NM=nm 4791 4792 4793 4794 4795 4796 4797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4798$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4799if ${lt_cv_nm_interface+:} false; then : 4800 $as_echo_n "(cached) " >&6 4801else 4802 lt_cv_nm_interface="BSD nm" 4803 echo "int some_variable = 0;" > conftest.$ac_ext 4804 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4805 (eval "$ac_compile" 2>conftest.err) 4806 cat conftest.err >&5 4807 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4808 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4809 cat conftest.err >&5 4810 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4811 cat conftest.out >&5 4812 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4813 lt_cv_nm_interface="MS dumpbin" 4814 fi 4815 rm -f conftest* 4816fi 4817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4818$as_echo "$lt_cv_nm_interface" >&6; } 4819 4820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4821$as_echo_n "checking whether ln -s works... " >&6; } 4822LN_S=$as_ln_s 4823if test "$LN_S" = "ln -s"; then 4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4825$as_echo "yes" >&6; } 4826else 4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4828$as_echo "no, using $LN_S" >&6; } 4829fi 4830 4831# find the maximum length of command line arguments 4832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4833$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4834if ${lt_cv_sys_max_cmd_len+:} false; then : 4835 $as_echo_n "(cached) " >&6 4836else 4837 i=0 4838 teststring=ABCD 4839 4840 case $build_os in 4841 msdosdjgpp*) 4842 # On DJGPP, this test can blow up pretty badly due to problems in libc 4843 # (any single argument exceeding 2000 bytes causes a buffer overrun 4844 # during glob expansion). Even if it were fixed, the result of this 4845 # check would be larger than it should be. 4846 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4847 ;; 4848 4849 gnu*) 4850 # Under GNU Hurd, this test is not required because there is 4851 # no limit to the length of command line arguments. 4852 # Libtool will interpret -1 as no limit whatsoever 4853 lt_cv_sys_max_cmd_len=-1; 4854 ;; 4855 4856 cygwin* | mingw* | cegcc*) 4857 # On Win9x/ME, this test blows up -- it succeeds, but takes 4858 # about 5 minutes as the teststring grows exponentially. 4859 # Worse, since 9x/ME are not pre-emptively multitasking, 4860 # you end up with a "frozen" computer, even though with patience 4861 # the test eventually succeeds (with a max line length of 256k). 4862 # Instead, let's just punt: use the minimum linelength reported by 4863 # all of the supported platforms: 8192 (on NT/2K/XP). 4864 lt_cv_sys_max_cmd_len=8192; 4865 ;; 4866 4867 mint*) 4868 # On MiNT this can take a long time and run out of memory. 4869 lt_cv_sys_max_cmd_len=8192; 4870 ;; 4871 4872 amigaos*) 4873 # On AmigaOS with pdksh, this test takes hours, literally. 4874 # So we just punt and use a minimum line length of 8192. 4875 lt_cv_sys_max_cmd_len=8192; 4876 ;; 4877 4878 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4879 # This has been around since 386BSD, at least. Likely further. 4880 if test -x /sbin/sysctl; then 4881 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4882 elif test -x /usr/sbin/sysctl; then 4883 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4884 else 4885 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4886 fi 4887 # And add a safety zone 4888 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4889 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4890 ;; 4891 4892 interix*) 4893 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4894 lt_cv_sys_max_cmd_len=196608 4895 ;; 4896 4897 os2*) 4898 # The test takes a long time on OS/2. 4899 lt_cv_sys_max_cmd_len=8192 4900 ;; 4901 4902 osf*) 4903 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4904 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4905 # nice to cause kernel panics so lets avoid the loop below. 4906 # First set a reasonable default. 4907 lt_cv_sys_max_cmd_len=16384 4908 # 4909 if test -x /sbin/sysconfig; then 4910 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4911 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4912 esac 4913 fi 4914 ;; 4915 sco3.2v5*) 4916 lt_cv_sys_max_cmd_len=102400 4917 ;; 4918 sysv5* | sco5v6* | sysv4.2uw2*) 4919 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4920 if test -n "$kargmax"; then 4921 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4922 else 4923 lt_cv_sys_max_cmd_len=32768 4924 fi 4925 ;; 4926 *) 4927 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4928 if test -n "$lt_cv_sys_max_cmd_len" && \ 4929 test undefined != "$lt_cv_sys_max_cmd_len"; then 4930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4932 else 4933 # Make teststring a little bigger before we do anything with it. 4934 # a 1K string should be a reasonable start. 4935 for i in 1 2 3 4 5 6 7 8; do 4936 teststring=$teststring$teststring 4937 done 4938 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4939 # If test is not a shell built-in, we'll probably end up computing a 4940 # maximum length that is only half of the actual maximum length, but 4941 # we can't tell. 4942 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4943 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4944 test 17 != "$i" # 1/2 MB should be enough 4945 do 4946 i=`expr $i + 1` 4947 teststring=$teststring$teststring 4948 done 4949 # Only check the string length outside the loop. 4950 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4951 teststring= 4952 # Add a significant safety factor because C++ compilers can tack on 4953 # massive amounts of additional arguments before passing them to the 4954 # linker. It appears as though 1/2 is a usable value. 4955 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4956 fi 4957 ;; 4958 esac 4959 4960fi 4961 4962if test -n "$lt_cv_sys_max_cmd_len"; then 4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4964$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4965else 4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4967$as_echo "none" >&6; } 4968fi 4969max_cmd_len=$lt_cv_sys_max_cmd_len 4970 4971 4972 4973 4974 4975 4976: ${CP="cp -f"} 4977: ${MV="mv -f"} 4978: ${RM="rm -f"} 4979 4980if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4981 lt_unset=unset 4982else 4983 lt_unset=false 4984fi 4985 4986 4987 4988 4989 4990# test EBCDIC or ASCII 4991case `echo X|tr X '\101'` in 4992 A) # ASCII based system 4993 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4994 lt_SP2NL='tr \040 \012' 4995 lt_NL2SP='tr \015\012 \040\040' 4996 ;; 4997 *) # EBCDIC based system 4998 lt_SP2NL='tr \100 \n' 4999 lt_NL2SP='tr \r\n \100\100' 5000 ;; 5001esac 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5012$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5013if ${lt_cv_to_host_file_cmd+:} false; then : 5014 $as_echo_n "(cached) " >&6 5015else 5016 case $host in 5017 *-*-mingw* ) 5018 case $build in 5019 *-*-mingw* ) # actually msys 5020 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5021 ;; 5022 *-*-cygwin* ) 5023 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5024 ;; 5025 * ) # otherwise, assume *nix 5026 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5027 ;; 5028 esac 5029 ;; 5030 *-*-cygwin* ) 5031 case $build in 5032 *-*-mingw* ) # actually msys 5033 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5034 ;; 5035 *-*-cygwin* ) 5036 lt_cv_to_host_file_cmd=func_convert_file_noop 5037 ;; 5038 * ) # otherwise, assume *nix 5039 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5040 ;; 5041 esac 5042 ;; 5043 * ) # unhandled hosts (and "normal" native builds) 5044 lt_cv_to_host_file_cmd=func_convert_file_noop 5045 ;; 5046esac 5047 5048fi 5049 5050to_host_file_cmd=$lt_cv_to_host_file_cmd 5051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5052$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5053 5054 5055 5056 5057 5058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5059$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5060if ${lt_cv_to_tool_file_cmd+:} false; then : 5061 $as_echo_n "(cached) " >&6 5062else 5063 #assume ordinary cross tools, or native build. 5064lt_cv_to_tool_file_cmd=func_convert_file_noop 5065case $host in 5066 *-*-mingw* ) 5067 case $build in 5068 *-*-mingw* ) # actually msys 5069 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5070 ;; 5071 esac 5072 ;; 5073esac 5074 5075fi 5076 5077to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5079$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5080 5081 5082 5083 5084 5085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5086$as_echo_n "checking for $LD option to reload object files... " >&6; } 5087if ${lt_cv_ld_reload_flag+:} false; then : 5088 $as_echo_n "(cached) " >&6 5089else 5090 lt_cv_ld_reload_flag='-r' 5091fi 5092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5093$as_echo "$lt_cv_ld_reload_flag" >&6; } 5094reload_flag=$lt_cv_ld_reload_flag 5095case $reload_flag in 5096"" | " "*) ;; 5097*) reload_flag=" $reload_flag" ;; 5098esac 5099reload_cmds='$LD$reload_flag -o $output$reload_objs' 5100case $host_os in 5101 cygwin* | mingw* | pw32* | cegcc*) 5102 if test yes != "$GCC"; then 5103 reload_cmds=false 5104 fi 5105 ;; 5106 darwin*) 5107 if test yes = "$GCC"; then 5108 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5109 else 5110 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5111 fi 5112 ;; 5113esac 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123if test -n "$ac_tool_prefix"; then 5124 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5125set dummy ${ac_tool_prefix}objdump; ac_word=$2 5126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5127$as_echo_n "checking for $ac_word... " >&6; } 5128if ${ac_cv_prog_OBJDUMP+:} false; then : 5129 $as_echo_n "(cached) " >&6 5130else 5131 if test -n "$OBJDUMP"; then 5132 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5133else 5134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5135for as_dir in $PATH 5136do 5137 IFS=$as_save_IFS 5138 test -z "$as_dir" && as_dir=. 5139 for ac_exec_ext in '' $ac_executable_extensions; do 5140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5141 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5143 break 2 5144 fi 5145done 5146 done 5147IFS=$as_save_IFS 5148 5149fi 5150fi 5151OBJDUMP=$ac_cv_prog_OBJDUMP 5152if test -n "$OBJDUMP"; then 5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5154$as_echo "$OBJDUMP" >&6; } 5155else 5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5157$as_echo "no" >&6; } 5158fi 5159 5160 5161fi 5162if test -z "$ac_cv_prog_OBJDUMP"; then 5163 ac_ct_OBJDUMP=$OBJDUMP 5164 # Extract the first word of "objdump", so it can be a program name with args. 5165set dummy objdump; ac_word=$2 5166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5167$as_echo_n "checking for $ac_word... " >&6; } 5168if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5169 $as_echo_n "(cached) " >&6 5170else 5171 if test -n "$ac_ct_OBJDUMP"; then 5172 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5173else 5174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5175for as_dir in $PATH 5176do 5177 IFS=$as_save_IFS 5178 test -z "$as_dir" && as_dir=. 5179 for ac_exec_ext in '' $ac_executable_extensions; do 5180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5181 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5183 break 2 5184 fi 5185done 5186 done 5187IFS=$as_save_IFS 5188 5189fi 5190fi 5191ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5192if test -n "$ac_ct_OBJDUMP"; then 5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5194$as_echo "$ac_ct_OBJDUMP" >&6; } 5195else 5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5197$as_echo "no" >&6; } 5198fi 5199 5200 if test "x$ac_ct_OBJDUMP" = x; then 5201 OBJDUMP="false" 5202 else 5203 case $cross_compiling:$ac_tool_warned in 5204yes:) 5205{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5206$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5207ac_tool_warned=yes ;; 5208esac 5209 OBJDUMP=$ac_ct_OBJDUMP 5210 fi 5211else 5212 OBJDUMP="$ac_cv_prog_OBJDUMP" 5213fi 5214 5215test -z "$OBJDUMP" && OBJDUMP=objdump 5216 5217 5218 5219 5220 5221 5222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5223$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5224if ${lt_cv_deplibs_check_method+:} false; then : 5225 $as_echo_n "(cached) " >&6 5226else 5227 lt_cv_file_magic_cmd='$MAGIC_CMD' 5228lt_cv_file_magic_test_file= 5229lt_cv_deplibs_check_method='unknown' 5230# Need to set the preceding variable on all platforms that support 5231# interlibrary dependencies. 5232# 'none' -- dependencies not supported. 5233# 'unknown' -- same as none, but documents that we really don't know. 5234# 'pass_all' -- all dependencies passed with no checks. 5235# 'test_compile' -- check by making test program. 5236# 'file_magic [[regex]]' -- check by looking for files in library path 5237# that responds to the $file_magic_cmd with a given extended regex. 5238# If you have 'file' or equivalent on your system and you're not sure 5239# whether 'pass_all' will *always* work, you probably want this one. 5240 5241case $host_os in 5242aix[4-9]*) 5243 lt_cv_deplibs_check_method=pass_all 5244 ;; 5245 5246beos*) 5247 lt_cv_deplibs_check_method=pass_all 5248 ;; 5249 5250bsdi[45]*) 5251 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5252 lt_cv_file_magic_cmd='/usr/bin/file -L' 5253 lt_cv_file_magic_test_file=/shlib/libc.so 5254 ;; 5255 5256cygwin*) 5257 # func_win32_libid is a shell function defined in ltmain.sh 5258 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5259 lt_cv_file_magic_cmd='func_win32_libid' 5260 ;; 5261 5262mingw* | pw32*) 5263 # Base MSYS/MinGW do not provide the 'file' command needed by 5264 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5265 # unless we find 'file', for example because we are cross-compiling. 5266 if ( file / ) >/dev/null 2>&1; then 5267 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5268 lt_cv_file_magic_cmd='func_win32_libid' 5269 else 5270 # Keep this pattern in sync with the one in func_win32_libid. 5271 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5272 lt_cv_file_magic_cmd='$OBJDUMP -f' 5273 fi 5274 ;; 5275 5276cegcc*) 5277 # use the weaker test based on 'objdump'. See mingw*. 5278 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5279 lt_cv_file_magic_cmd='$OBJDUMP -f' 5280 ;; 5281 5282darwin* | rhapsody*) 5283 lt_cv_deplibs_check_method=pass_all 5284 ;; 5285 5286freebsd* | dragonfly*) 5287 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5288 case $host_cpu in 5289 i*86 ) 5290 # Not sure whether the presence of OpenBSD here was a mistake. 5291 # Let's accept both of them until this is cleared up. 5292 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5293 lt_cv_file_magic_cmd=/usr/bin/file 5294 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5295 ;; 5296 esac 5297 else 5298 lt_cv_deplibs_check_method=pass_all 5299 fi 5300 ;; 5301 5302haiku*) 5303 lt_cv_deplibs_check_method=pass_all 5304 ;; 5305 5306hpux10.20* | hpux11*) 5307 lt_cv_file_magic_cmd=/usr/bin/file 5308 case $host_cpu in 5309 ia64*) 5310 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5311 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5312 ;; 5313 hppa*64*) 5314 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]' 5315 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5316 ;; 5317 *) 5318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5319 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5320 ;; 5321 esac 5322 ;; 5323 5324interix[3-9]*) 5325 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5327 ;; 5328 5329irix5* | irix6* | nonstopux*) 5330 case $LD in 5331 *-32|*"-32 ") libmagic=32-bit;; 5332 *-n32|*"-n32 ") libmagic=N32;; 5333 *-64|*"-64 ") libmagic=64-bit;; 5334 *) libmagic=never-match;; 5335 esac 5336 lt_cv_deplibs_check_method=pass_all 5337 ;; 5338 5339# This must be glibc/ELF. 5340linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5341 lt_cv_deplibs_check_method=pass_all 5342 ;; 5343 5344netbsd*) 5345 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5347 else 5348 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5349 fi 5350 ;; 5351 5352newos6*) 5353 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5354 lt_cv_file_magic_cmd=/usr/bin/file 5355 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5356 ;; 5357 5358*nto* | *qnx*) 5359 lt_cv_deplibs_check_method=pass_all 5360 ;; 5361 5362openbsd* | bitrig*) 5363 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5364 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5365 else 5366 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5367 fi 5368 ;; 5369 5370osf3* | osf4* | osf5*) 5371 lt_cv_deplibs_check_method=pass_all 5372 ;; 5373 5374rdos*) 5375 lt_cv_deplibs_check_method=pass_all 5376 ;; 5377 5378solaris*) 5379 lt_cv_deplibs_check_method=pass_all 5380 ;; 5381 5382sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5383 lt_cv_deplibs_check_method=pass_all 5384 ;; 5385 5386sysv4 | sysv4.3*) 5387 case $host_vendor in 5388 motorola) 5389 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]' 5390 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5391 ;; 5392 ncr) 5393 lt_cv_deplibs_check_method=pass_all 5394 ;; 5395 sequent) 5396 lt_cv_file_magic_cmd='/bin/file' 5397 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5398 ;; 5399 sni) 5400 lt_cv_file_magic_cmd='/bin/file' 5401 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5402 lt_cv_file_magic_test_file=/lib/libc.so 5403 ;; 5404 siemens) 5405 lt_cv_deplibs_check_method=pass_all 5406 ;; 5407 pc) 5408 lt_cv_deplibs_check_method=pass_all 5409 ;; 5410 esac 5411 ;; 5412 5413tpf*) 5414 lt_cv_deplibs_check_method=pass_all 5415 ;; 5416os2*) 5417 lt_cv_deplibs_check_method=pass_all 5418 ;; 5419esac 5420 5421fi 5422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5423$as_echo "$lt_cv_deplibs_check_method" >&6; } 5424 5425file_magic_glob= 5426want_nocaseglob=no 5427if test "$build" = "$host"; then 5428 case $host_os in 5429 mingw* | pw32*) 5430 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5431 want_nocaseglob=yes 5432 else 5433 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5434 fi 5435 ;; 5436 esac 5437fi 5438 5439file_magic_cmd=$lt_cv_file_magic_cmd 5440deplibs_check_method=$lt_cv_deplibs_check_method 5441test -z "$deplibs_check_method" && deplibs_check_method=unknown 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464if test -n "$ac_tool_prefix"; then 5465 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5466set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5468$as_echo_n "checking for $ac_word... " >&6; } 5469if ${ac_cv_prog_DLLTOOL+:} false; then : 5470 $as_echo_n "(cached) " >&6 5471else 5472 if test -n "$DLLTOOL"; then 5473 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5474else 5475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5476for as_dir in $PATH 5477do 5478 IFS=$as_save_IFS 5479 test -z "$as_dir" && as_dir=. 5480 for ac_exec_ext in '' $ac_executable_extensions; do 5481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5482 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5484 break 2 5485 fi 5486done 5487 done 5488IFS=$as_save_IFS 5489 5490fi 5491fi 5492DLLTOOL=$ac_cv_prog_DLLTOOL 5493if test -n "$DLLTOOL"; then 5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5495$as_echo "$DLLTOOL" >&6; } 5496else 5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5498$as_echo "no" >&6; } 5499fi 5500 5501 5502fi 5503if test -z "$ac_cv_prog_DLLTOOL"; then 5504 ac_ct_DLLTOOL=$DLLTOOL 5505 # Extract the first word of "dlltool", so it can be a program name with args. 5506set dummy dlltool; ac_word=$2 5507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5508$as_echo_n "checking for $ac_word... " >&6; } 5509if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5510 $as_echo_n "(cached) " >&6 5511else 5512 if test -n "$ac_ct_DLLTOOL"; then 5513 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5514else 5515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5516for as_dir in $PATH 5517do 5518 IFS=$as_save_IFS 5519 test -z "$as_dir" && as_dir=. 5520 for ac_exec_ext in '' $ac_executable_extensions; do 5521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5522 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5524 break 2 5525 fi 5526done 5527 done 5528IFS=$as_save_IFS 5529 5530fi 5531fi 5532ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5533if test -n "$ac_ct_DLLTOOL"; then 5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5535$as_echo "$ac_ct_DLLTOOL" >&6; } 5536else 5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5538$as_echo "no" >&6; } 5539fi 5540 5541 if test "x$ac_ct_DLLTOOL" = x; then 5542 DLLTOOL="false" 5543 else 5544 case $cross_compiling:$ac_tool_warned in 5545yes:) 5546{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5547$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5548ac_tool_warned=yes ;; 5549esac 5550 DLLTOOL=$ac_ct_DLLTOOL 5551 fi 5552else 5553 DLLTOOL="$ac_cv_prog_DLLTOOL" 5554fi 5555 5556test -z "$DLLTOOL" && DLLTOOL=dlltool 5557 5558 5559 5560 5561 5562 5563 5564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5565$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5566if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5567 $as_echo_n "(cached) " >&6 5568else 5569 lt_cv_sharedlib_from_linklib_cmd='unknown' 5570 5571case $host_os in 5572cygwin* | mingw* | pw32* | cegcc*) 5573 # two different shell functions defined in ltmain.sh; 5574 # decide which one to use based on capabilities of $DLLTOOL 5575 case `$DLLTOOL --help 2>&1` in 5576 *--identify-strict*) 5577 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5578 ;; 5579 *) 5580 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5581 ;; 5582 esac 5583 ;; 5584*) 5585 # fallback: assume linklib IS sharedlib 5586 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5587 ;; 5588esac 5589 5590fi 5591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5592$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5593sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5594test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5595 5596 5597 5598 5599 5600 5601 5602if test -n "$ac_tool_prefix"; then 5603 for ac_prog in ar 5604 do 5605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5606set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5608$as_echo_n "checking for $ac_word... " >&6; } 5609if ${ac_cv_prog_AR+:} false; then : 5610 $as_echo_n "(cached) " >&6 5611else 5612 if test -n "$AR"; then 5613 ac_cv_prog_AR="$AR" # Let the user override the test. 5614else 5615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5616for as_dir in $PATH 5617do 5618 IFS=$as_save_IFS 5619 test -z "$as_dir" && as_dir=. 5620 for ac_exec_ext in '' $ac_executable_extensions; do 5621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5622 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5624 break 2 5625 fi 5626done 5627 done 5628IFS=$as_save_IFS 5629 5630fi 5631fi 5632AR=$ac_cv_prog_AR 5633if test -n "$AR"; then 5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5635$as_echo "$AR" >&6; } 5636else 5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5638$as_echo "no" >&6; } 5639fi 5640 5641 5642 test -n "$AR" && break 5643 done 5644fi 5645if test -z "$AR"; then 5646 ac_ct_AR=$AR 5647 for ac_prog in ar 5648do 5649 # Extract the first word of "$ac_prog", so it can be a program name with args. 5650set dummy $ac_prog; ac_word=$2 5651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5652$as_echo_n "checking for $ac_word... " >&6; } 5653if ${ac_cv_prog_ac_ct_AR+:} false; then : 5654 $as_echo_n "(cached) " >&6 5655else 5656 if test -n "$ac_ct_AR"; then 5657 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5658else 5659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5660for as_dir in $PATH 5661do 5662 IFS=$as_save_IFS 5663 test -z "$as_dir" && as_dir=. 5664 for ac_exec_ext in '' $ac_executable_extensions; do 5665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5666 ac_cv_prog_ac_ct_AR="$ac_prog" 5667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5668 break 2 5669 fi 5670done 5671 done 5672IFS=$as_save_IFS 5673 5674fi 5675fi 5676ac_ct_AR=$ac_cv_prog_ac_ct_AR 5677if test -n "$ac_ct_AR"; then 5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5679$as_echo "$ac_ct_AR" >&6; } 5680else 5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5682$as_echo "no" >&6; } 5683fi 5684 5685 5686 test -n "$ac_ct_AR" && break 5687done 5688 5689 if test "x$ac_ct_AR" = x; then 5690 AR="false" 5691 else 5692 case $cross_compiling:$ac_tool_warned in 5693yes:) 5694{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5695$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5696ac_tool_warned=yes ;; 5697esac 5698 AR=$ac_ct_AR 5699 fi 5700fi 5701 5702: ${AR=ar} 5703: ${AR_FLAGS=cru} 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5716$as_echo_n "checking for archiver @FILE support... " >&6; } 5717if ${lt_cv_ar_at_file+:} false; then : 5718 $as_echo_n "(cached) " >&6 5719else 5720 lt_cv_ar_at_file=no 5721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5722/* end confdefs.h. */ 5723 5724int 5725main () 5726{ 5727 5728 ; 5729 return 0; 5730} 5731_ACEOF 5732if ac_fn_c_try_compile "$LINENO"; then : 5733 echo conftest.$ac_objext > conftest.lst 5734 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5735 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5736 (eval $lt_ar_try) 2>&5 5737 ac_status=$? 5738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5739 test $ac_status = 0; } 5740 if test 0 -eq "$ac_status"; then 5741 # Ensure the archiver fails upon bogus file names. 5742 rm -f conftest.$ac_objext libconftest.a 5743 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5744 (eval $lt_ar_try) 2>&5 5745 ac_status=$? 5746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5747 test $ac_status = 0; } 5748 if test 0 -ne "$ac_status"; then 5749 lt_cv_ar_at_file=@ 5750 fi 5751 fi 5752 rm -f conftest.* libconftest.a 5753 5754fi 5755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5756 5757fi 5758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5759$as_echo "$lt_cv_ar_at_file" >&6; } 5760 5761if test no = "$lt_cv_ar_at_file"; then 5762 archiver_list_spec= 5763else 5764 archiver_list_spec=$lt_cv_ar_at_file 5765fi 5766 5767 5768 5769 5770 5771 5772 5773if test -n "$ac_tool_prefix"; then 5774 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5775set dummy ${ac_tool_prefix}strip; ac_word=$2 5776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5777$as_echo_n "checking for $ac_word... " >&6; } 5778if ${ac_cv_prog_STRIP+:} false; then : 5779 $as_echo_n "(cached) " >&6 5780else 5781 if test -n "$STRIP"; then 5782 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5783else 5784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5785for as_dir in $PATH 5786do 5787 IFS=$as_save_IFS 5788 test -z "$as_dir" && as_dir=. 5789 for ac_exec_ext in '' $ac_executable_extensions; do 5790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5791 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5793 break 2 5794 fi 5795done 5796 done 5797IFS=$as_save_IFS 5798 5799fi 5800fi 5801STRIP=$ac_cv_prog_STRIP 5802if test -n "$STRIP"; then 5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5804$as_echo "$STRIP" >&6; } 5805else 5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5807$as_echo "no" >&6; } 5808fi 5809 5810 5811fi 5812if test -z "$ac_cv_prog_STRIP"; then 5813 ac_ct_STRIP=$STRIP 5814 # Extract the first word of "strip", so it can be a program name with args. 5815set dummy strip; ac_word=$2 5816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5817$as_echo_n "checking for $ac_word... " >&6; } 5818if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5819 $as_echo_n "(cached) " >&6 5820else 5821 if test -n "$ac_ct_STRIP"; then 5822 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5823else 5824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5825for as_dir in $PATH 5826do 5827 IFS=$as_save_IFS 5828 test -z "$as_dir" && as_dir=. 5829 for ac_exec_ext in '' $ac_executable_extensions; do 5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5831 ac_cv_prog_ac_ct_STRIP="strip" 5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5833 break 2 5834 fi 5835done 5836 done 5837IFS=$as_save_IFS 5838 5839fi 5840fi 5841ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5842if test -n "$ac_ct_STRIP"; then 5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5844$as_echo "$ac_ct_STRIP" >&6; } 5845else 5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5847$as_echo "no" >&6; } 5848fi 5849 5850 if test "x$ac_ct_STRIP" = x; then 5851 STRIP=":" 5852 else 5853 case $cross_compiling:$ac_tool_warned in 5854yes:) 5855{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5856$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5857ac_tool_warned=yes ;; 5858esac 5859 STRIP=$ac_ct_STRIP 5860 fi 5861else 5862 STRIP="$ac_cv_prog_STRIP" 5863fi 5864 5865test -z "$STRIP" && STRIP=: 5866 5867 5868 5869 5870 5871 5872if test -n "$ac_tool_prefix"; then 5873 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5874set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5876$as_echo_n "checking for $ac_word... " >&6; } 5877if ${ac_cv_prog_RANLIB+:} false; then : 5878 $as_echo_n "(cached) " >&6 5879else 5880 if test -n "$RANLIB"; then 5881 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5882else 5883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5884for as_dir in $PATH 5885do 5886 IFS=$as_save_IFS 5887 test -z "$as_dir" && as_dir=. 5888 for ac_exec_ext in '' $ac_executable_extensions; do 5889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5890 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5892 break 2 5893 fi 5894done 5895 done 5896IFS=$as_save_IFS 5897 5898fi 5899fi 5900RANLIB=$ac_cv_prog_RANLIB 5901if test -n "$RANLIB"; then 5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5903$as_echo "$RANLIB" >&6; } 5904else 5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5906$as_echo "no" >&6; } 5907fi 5908 5909 5910fi 5911if test -z "$ac_cv_prog_RANLIB"; then 5912 ac_ct_RANLIB=$RANLIB 5913 # Extract the first word of "ranlib", so it can be a program name with args. 5914set dummy ranlib; ac_word=$2 5915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5916$as_echo_n "checking for $ac_word... " >&6; } 5917if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5918 $as_echo_n "(cached) " >&6 5919else 5920 if test -n "$ac_ct_RANLIB"; then 5921 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5922else 5923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5924for as_dir in $PATH 5925do 5926 IFS=$as_save_IFS 5927 test -z "$as_dir" && as_dir=. 5928 for ac_exec_ext in '' $ac_executable_extensions; do 5929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5930 ac_cv_prog_ac_ct_RANLIB="ranlib" 5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5932 break 2 5933 fi 5934done 5935 done 5936IFS=$as_save_IFS 5937 5938fi 5939fi 5940ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5941if test -n "$ac_ct_RANLIB"; then 5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5943$as_echo "$ac_ct_RANLIB" >&6; } 5944else 5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5946$as_echo "no" >&6; } 5947fi 5948 5949 if test "x$ac_ct_RANLIB" = x; then 5950 RANLIB=":" 5951 else 5952 case $cross_compiling:$ac_tool_warned in 5953yes:) 5954{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5955$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5956ac_tool_warned=yes ;; 5957esac 5958 RANLIB=$ac_ct_RANLIB 5959 fi 5960else 5961 RANLIB="$ac_cv_prog_RANLIB" 5962fi 5963 5964test -z "$RANLIB" && RANLIB=: 5965 5966 5967 5968 5969 5970 5971# Determine commands to create old-style static archives. 5972old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5973old_postinstall_cmds='chmod 644 $oldlib' 5974old_postuninstall_cmds= 5975 5976if test -n "$RANLIB"; then 5977 case $host_os in 5978 bitrig* | openbsd*) 5979 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5980 ;; 5981 *) 5982 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5983 ;; 5984 esac 5985 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5986fi 5987 5988case $host_os in 5989 darwin*) 5990 lock_old_archive_extraction=yes ;; 5991 *) 5992 lock_old_archive_extraction=no ;; 5993esac 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033# If no C compiler was specified, use CC. 6034LTCC=${LTCC-"$CC"} 6035 6036# If no C compiler flags were specified, use CFLAGS. 6037LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6038 6039# Allow CC to be a program name with arguments. 6040compiler=$CC 6041 6042 6043# Check for command to grab the raw symbol name followed by C symbol from nm. 6044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6045$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6046if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6047 $as_echo_n "(cached) " >&6 6048else 6049 6050# These are sane defaults that work on at least a few old systems. 6051# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6052 6053# Character class describing NM global symbol codes. 6054symcode='[BCDEGRST]' 6055 6056# Regexp to match symbols that can be accessed directly from C. 6057sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6058 6059# Define system-specific variables. 6060case $host_os in 6061aix*) 6062 symcode='[BCDT]' 6063 ;; 6064cygwin* | mingw* | pw32* | cegcc*) 6065 symcode='[ABCDGISTW]' 6066 ;; 6067hpux*) 6068 if test ia64 = "$host_cpu"; then 6069 symcode='[ABCDEGRST]' 6070 fi 6071 ;; 6072irix* | nonstopux*) 6073 symcode='[BCDEGRST]' 6074 ;; 6075osf*) 6076 symcode='[BCDEGQRST]' 6077 ;; 6078solaris*) 6079 symcode='[BDRT]' 6080 ;; 6081sco3.2v5*) 6082 symcode='[DT]' 6083 ;; 6084sysv4.2uw2*) 6085 symcode='[DT]' 6086 ;; 6087sysv5* | sco5v6* | unixware* | OpenUNIX*) 6088 symcode='[ABDT]' 6089 ;; 6090sysv4) 6091 symcode='[DFNSTU]' 6092 ;; 6093esac 6094 6095# If we're using GNU nm, then use its standard symbol codes. 6096case `$NM -V 2>&1` in 6097*GNU* | *'with BFD'*) 6098 symcode='[ABCDGIRSTW]' ;; 6099esac 6100 6101if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6102 # Gets list of data symbols to import. 6103 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6104 # Adjust the below global symbol transforms to fixup imported variables. 6105 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6106 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6107 lt_c_name_lib_hook="\ 6108 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6109 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6110else 6111 # Disable hooks by default. 6112 lt_cv_sys_global_symbol_to_import= 6113 lt_cdecl_hook= 6114 lt_c_name_hook= 6115 lt_c_name_lib_hook= 6116fi 6117 6118# Transform an extracted symbol line into a proper C declaration. 6119# Some systems (esp. on ia64) link data and code symbols differently, 6120# so use this general approach. 6121lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6122$lt_cdecl_hook\ 6123" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6124" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6125 6126# Transform an extracted symbol line into symbol name and symbol address 6127lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6128$lt_c_name_hook\ 6129" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6130" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6131 6132# Transform an extracted symbol line into symbol name with lib prefix and 6133# symbol address. 6134lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6135$lt_c_name_lib_hook\ 6136" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6137" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6138" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6139 6140# Handle CRLF in mingw tool chain 6141opt_cr= 6142case $build_os in 6143mingw*) 6144 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6145 ;; 6146esac 6147 6148# Try without a prefix underscore, then with it. 6149for ac_symprfx in "" "_"; do 6150 6151 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6152 symxfrm="\\1 $ac_symprfx\\2 \\2" 6153 6154 # Write the raw and C identifiers. 6155 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6156 # Fake it for dumpbin and say T for any non-static function, 6157 # D for any global variable and I for any imported variable. 6158 # Also find C++ and __fastcall symbols from MSVC++, 6159 # which start with @ or ?. 6160 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6161" {last_section=section; section=\$ 3};"\ 6162" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6163" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6164" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6165" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6166" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6167" \$ 0!~/External *\|/{next};"\ 6168" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6169" {if(hide[section]) next};"\ 6170" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6171" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6172" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6173" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6174" ' prfx=^$ac_symprfx" 6175 else 6176 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6177 fi 6178 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6179 6180 # Check to see that the pipe works correctly. 6181 pipe_works=no 6182 6183 rm -f conftest* 6184 cat > conftest.$ac_ext <<_LT_EOF 6185#ifdef __cplusplus 6186extern "C" { 6187#endif 6188char nm_test_var; 6189void nm_test_func(void); 6190void nm_test_func(void){} 6191#ifdef __cplusplus 6192} 6193#endif 6194int main(){nm_test_var='a';nm_test_func();return(0);} 6195_LT_EOF 6196 6197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6198 (eval $ac_compile) 2>&5 6199 ac_status=$? 6200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6201 test $ac_status = 0; }; then 6202 # Now try to grab the symbols. 6203 nlist=conftest.nm 6204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6205 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6206 ac_status=$? 6207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6208 test $ac_status = 0; } && test -s "$nlist"; then 6209 # Try sorting and uniquifying the output. 6210 if sort "$nlist" | uniq > "$nlist"T; then 6211 mv -f "$nlist"T "$nlist" 6212 else 6213 rm -f "$nlist"T 6214 fi 6215 6216 # Make sure that we snagged all the symbols we need. 6217 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6218 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6219 cat <<_LT_EOF > conftest.$ac_ext 6220/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6221#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6222/* DATA imports from DLLs on WIN32 can't be const, because runtime 6223 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6224# define LT_DLSYM_CONST 6225#elif defined __osf__ 6226/* This system does not cope well with relocations in const data. */ 6227# define LT_DLSYM_CONST 6228#else 6229# define LT_DLSYM_CONST const 6230#endif 6231 6232#ifdef __cplusplus 6233extern "C" { 6234#endif 6235 6236_LT_EOF 6237 # Now generate the symbol file. 6238 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6239 6240 cat <<_LT_EOF >> conftest.$ac_ext 6241 6242/* The mapping between symbol names and symbols. */ 6243LT_DLSYM_CONST struct { 6244 const char *name; 6245 void *address; 6246} 6247lt__PROGRAM__LTX_preloaded_symbols[] = 6248{ 6249 { "@PROGRAM@", (void *) 0 }, 6250_LT_EOF 6251 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6252 cat <<\_LT_EOF >> conftest.$ac_ext 6253 {0, (void *) 0} 6254}; 6255 6256/* This works around a problem in FreeBSD linker */ 6257#ifdef FREEBSD_WORKAROUND 6258static const void *lt_preloaded_setup() { 6259 return lt__PROGRAM__LTX_preloaded_symbols; 6260} 6261#endif 6262 6263#ifdef __cplusplus 6264} 6265#endif 6266_LT_EOF 6267 # Now try linking the two files. 6268 mv conftest.$ac_objext conftstm.$ac_objext 6269 lt_globsym_save_LIBS=$LIBS 6270 lt_globsym_save_CFLAGS=$CFLAGS 6271 LIBS=conftstm.$ac_objext 6272 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6274 (eval $ac_link) 2>&5 6275 ac_status=$? 6276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6277 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6278 pipe_works=yes 6279 fi 6280 LIBS=$lt_globsym_save_LIBS 6281 CFLAGS=$lt_globsym_save_CFLAGS 6282 else 6283 echo "cannot find nm_test_func in $nlist" >&5 6284 fi 6285 else 6286 echo "cannot find nm_test_var in $nlist" >&5 6287 fi 6288 else 6289 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6290 fi 6291 else 6292 echo "$progname: failed program was:" >&5 6293 cat conftest.$ac_ext >&5 6294 fi 6295 rm -rf conftest* conftst* 6296 6297 # Do not use the global_symbol_pipe unless it works. 6298 if test yes = "$pipe_works"; then 6299 break 6300 else 6301 lt_cv_sys_global_symbol_pipe= 6302 fi 6303done 6304 6305fi 6306 6307if test -z "$lt_cv_sys_global_symbol_pipe"; then 6308 lt_cv_sys_global_symbol_to_cdecl= 6309fi 6310if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6312$as_echo "failed" >&6; } 6313else 6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6315$as_echo "ok" >&6; } 6316fi 6317 6318# Response file support. 6319if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6320 nm_file_list_spec='@' 6321elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6322 nm_file_list_spec='@' 6323fi 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6362$as_echo_n "checking for sysroot... " >&6; } 6363 6364# Check whether --with-sysroot was given. 6365if test "${with_sysroot+set}" = set; then : 6366 withval=$with_sysroot; 6367else 6368 with_sysroot=no 6369fi 6370 6371 6372lt_sysroot= 6373case $with_sysroot in #( 6374 yes) 6375 if test yes = "$GCC"; then 6376 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6377 fi 6378 ;; #( 6379 /*) 6380 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6381 ;; #( 6382 no|'') 6383 ;; #( 6384 *) 6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6386$as_echo "$with_sysroot" >&6; } 6387 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6388 ;; 6389esac 6390 6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6392$as_echo "${lt_sysroot:-no}" >&6; } 6393 6394 6395 6396 6397 6398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6399$as_echo_n "checking for a working dd... " >&6; } 6400if ${ac_cv_path_lt_DD+:} false; then : 6401 $as_echo_n "(cached) " >&6 6402else 6403 printf 0123456789abcdef0123456789abcdef >conftest.i 6404cat conftest.i conftest.i >conftest2.i 6405: ${lt_DD:=$DD} 6406if test -z "$lt_DD"; then 6407 ac_path_lt_DD_found=false 6408 # Loop through the user's path and test for each of PROGNAME-LIST 6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6410for as_dir in $PATH 6411do 6412 IFS=$as_save_IFS 6413 test -z "$as_dir" && as_dir=. 6414 for ac_prog in dd; do 6415 for ac_exec_ext in '' $ac_executable_extensions; do 6416 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6417 as_fn_executable_p "$ac_path_lt_DD" || continue 6418if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6419 cmp -s conftest.i conftest.out \ 6420 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6421fi 6422 $ac_path_lt_DD_found && break 3 6423 done 6424 done 6425 done 6426IFS=$as_save_IFS 6427 if test -z "$ac_cv_path_lt_DD"; then 6428 : 6429 fi 6430else 6431 ac_cv_path_lt_DD=$lt_DD 6432fi 6433 6434rm -f conftest.i conftest2.i conftest.out 6435fi 6436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6437$as_echo "$ac_cv_path_lt_DD" >&6; } 6438 6439 6440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6441$as_echo_n "checking how to truncate binary pipes... " >&6; } 6442if ${lt_cv_truncate_bin+:} false; then : 6443 $as_echo_n "(cached) " >&6 6444else 6445 printf 0123456789abcdef0123456789abcdef >conftest.i 6446cat conftest.i conftest.i >conftest2.i 6447lt_cv_truncate_bin= 6448if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6449 cmp -s conftest.i conftest.out \ 6450 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6451fi 6452rm -f conftest.i conftest2.i conftest.out 6453test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6454fi 6455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6456$as_echo "$lt_cv_truncate_bin" >&6; } 6457 6458 6459 6460 6461 6462 6463 6464# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6465func_cc_basename () 6466{ 6467 for cc_temp in $*""; do 6468 case $cc_temp in 6469 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6470 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6471 \-*) ;; 6472 *) break;; 6473 esac 6474 done 6475 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6476} 6477 6478# Check whether --enable-libtool-lock was given. 6479if test "${enable_libtool_lock+set}" = set; then : 6480 enableval=$enable_libtool_lock; 6481fi 6482 6483test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6484 6485# Some flags need to be propagated to the compiler or linker for good 6486# libtool support. 6487case $host in 6488ia64-*-hpux*) 6489 # Find out what ABI is being produced by ac_compile, and set mode 6490 # options accordingly. 6491 echo 'int i;' > conftest.$ac_ext 6492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6493 (eval $ac_compile) 2>&5 6494 ac_status=$? 6495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6496 test $ac_status = 0; }; then 6497 case `/usr/bin/file conftest.$ac_objext` in 6498 *ELF-32*) 6499 HPUX_IA64_MODE=32 6500 ;; 6501 *ELF-64*) 6502 HPUX_IA64_MODE=64 6503 ;; 6504 esac 6505 fi 6506 rm -rf conftest* 6507 ;; 6508*-*-irix6*) 6509 # Find out what ABI is being produced by ac_compile, and set linker 6510 # options accordingly. 6511 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6513 (eval $ac_compile) 2>&5 6514 ac_status=$? 6515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6516 test $ac_status = 0; }; then 6517 if test yes = "$lt_cv_prog_gnu_ld"; then 6518 case `/usr/bin/file conftest.$ac_objext` in 6519 *32-bit*) 6520 LD="${LD-ld} -melf32bsmip" 6521 ;; 6522 *N32*) 6523 LD="${LD-ld} -melf32bmipn32" 6524 ;; 6525 *64-bit*) 6526 LD="${LD-ld} -melf64bmip" 6527 ;; 6528 esac 6529 else 6530 case `/usr/bin/file conftest.$ac_objext` in 6531 *32-bit*) 6532 LD="${LD-ld} -32" 6533 ;; 6534 *N32*) 6535 LD="${LD-ld} -n32" 6536 ;; 6537 *64-bit*) 6538 LD="${LD-ld} -64" 6539 ;; 6540 esac 6541 fi 6542 fi 6543 rm -rf conftest* 6544 ;; 6545 6546mips64*-*linux*) 6547 # Find out what ABI is being produced by ac_compile, and set linker 6548 # options accordingly. 6549 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6551 (eval $ac_compile) 2>&5 6552 ac_status=$? 6553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6554 test $ac_status = 0; }; then 6555 emul=elf 6556 case `/usr/bin/file conftest.$ac_objext` in 6557 *32-bit*) 6558 emul="${emul}32" 6559 ;; 6560 *64-bit*) 6561 emul="${emul}64" 6562 ;; 6563 esac 6564 case `/usr/bin/file conftest.$ac_objext` in 6565 *MSB*) 6566 emul="${emul}btsmip" 6567 ;; 6568 *LSB*) 6569 emul="${emul}ltsmip" 6570 ;; 6571 esac 6572 case `/usr/bin/file conftest.$ac_objext` in 6573 *N32*) 6574 emul="${emul}n32" 6575 ;; 6576 esac 6577 LD="${LD-ld} -m $emul" 6578 fi 6579 rm -rf conftest* 6580 ;; 6581 6582x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6583s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6584 # Find out what ABI is being produced by ac_compile, and set linker 6585 # options accordingly. Note that the listed cases only cover the 6586 # situations where additional linker options are needed (such as when 6587 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6588 # vice versa); the common cases where no linker options are needed do 6589 # not appear in the list. 6590 echo 'int i;' > conftest.$ac_ext 6591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6592 (eval $ac_compile) 2>&5 6593 ac_status=$? 6594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6595 test $ac_status = 0; }; then 6596 case `/usr/bin/file conftest.o` in 6597 *32-bit*) 6598 case $host in 6599 x86_64-*kfreebsd*-gnu) 6600 LD="${LD-ld} -m elf_i386_fbsd" 6601 ;; 6602 x86_64-*linux*) 6603 case `/usr/bin/file conftest.o` in 6604 *x86-64*) 6605 LD="${LD-ld} -m elf32_x86_64" 6606 ;; 6607 *) 6608 LD="${LD-ld} -m elf_i386" 6609 ;; 6610 esac 6611 ;; 6612 powerpc64le-*linux*) 6613 LD="${LD-ld} -m elf32lppclinux" 6614 ;; 6615 powerpc64-*linux*) 6616 LD="${LD-ld} -m elf32ppclinux" 6617 ;; 6618 s390x-*linux*) 6619 LD="${LD-ld} -m elf_s390" 6620 ;; 6621 sparc64-*linux*) 6622 LD="${LD-ld} -m elf32_sparc" 6623 ;; 6624 esac 6625 ;; 6626 *64-bit*) 6627 case $host in 6628 x86_64-*kfreebsd*-gnu) 6629 LD="${LD-ld} -m elf_x86_64_fbsd" 6630 ;; 6631 x86_64-*linux*) 6632 LD="${LD-ld} -m elf_x86_64" 6633 ;; 6634 powerpcle-*linux*) 6635 LD="${LD-ld} -m elf64lppc" 6636 ;; 6637 powerpc-*linux*) 6638 LD="${LD-ld} -m elf64ppc" 6639 ;; 6640 s390*-*linux*|s390*-*tpf*) 6641 LD="${LD-ld} -m elf64_s390" 6642 ;; 6643 sparc*-*linux*) 6644 LD="${LD-ld} -m elf64_sparc" 6645 ;; 6646 esac 6647 ;; 6648 esac 6649 fi 6650 rm -rf conftest* 6651 ;; 6652 6653*-*-sco3.2v5*) 6654 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6655 SAVE_CFLAGS=$CFLAGS 6656 CFLAGS="$CFLAGS -belf" 6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6658$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6659if ${lt_cv_cc_needs_belf+:} false; then : 6660 $as_echo_n "(cached) " >&6 6661else 6662 ac_ext=c 6663ac_cpp='$CPP $CPPFLAGS' 6664ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6665ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6666ac_compiler_gnu=$ac_cv_c_compiler_gnu 6667 6668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6669/* end confdefs.h. */ 6670 6671int 6672main () 6673{ 6674 6675 ; 6676 return 0; 6677} 6678_ACEOF 6679if ac_fn_c_try_link "$LINENO"; then : 6680 lt_cv_cc_needs_belf=yes 6681else 6682 lt_cv_cc_needs_belf=no 6683fi 6684rm -f core conftest.err conftest.$ac_objext \ 6685 conftest$ac_exeext conftest.$ac_ext 6686 ac_ext=c 6687ac_cpp='$CPP $CPPFLAGS' 6688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6690ac_compiler_gnu=$ac_cv_c_compiler_gnu 6691 6692fi 6693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6694$as_echo "$lt_cv_cc_needs_belf" >&6; } 6695 if test yes != "$lt_cv_cc_needs_belf"; then 6696 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6697 CFLAGS=$SAVE_CFLAGS 6698 fi 6699 ;; 6700*-*solaris*) 6701 # Find out what ABI is being produced by ac_compile, and set linker 6702 # options accordingly. 6703 echo 'int i;' > conftest.$ac_ext 6704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6705 (eval $ac_compile) 2>&5 6706 ac_status=$? 6707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6708 test $ac_status = 0; }; then 6709 case `/usr/bin/file conftest.o` in 6710 *64-bit*) 6711 case $lt_cv_prog_gnu_ld in 6712 yes*) 6713 case $host in 6714 i?86-*-solaris*|x86_64-*-solaris*) 6715 LD="${LD-ld} -m elf_x86_64" 6716 ;; 6717 sparc*-*-solaris*) 6718 LD="${LD-ld} -m elf64_sparc" 6719 ;; 6720 esac 6721 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6722 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6723 LD=${LD-ld}_sol2 6724 fi 6725 ;; 6726 *) 6727 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6728 LD="${LD-ld} -64" 6729 fi 6730 ;; 6731 esac 6732 ;; 6733 esac 6734 fi 6735 rm -rf conftest* 6736 ;; 6737esac 6738 6739need_locks=$enable_libtool_lock 6740 6741if test -n "$ac_tool_prefix"; then 6742 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6743set dummy ${ac_tool_prefix}mt; ac_word=$2 6744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6745$as_echo_n "checking for $ac_word... " >&6; } 6746if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6747 $as_echo_n "(cached) " >&6 6748else 6749 if test -n "$MANIFEST_TOOL"; then 6750 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6751else 6752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6753for as_dir in $PATH 6754do 6755 IFS=$as_save_IFS 6756 test -z "$as_dir" && as_dir=. 6757 for ac_exec_ext in '' $ac_executable_extensions; do 6758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6759 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6761 break 2 6762 fi 6763done 6764 done 6765IFS=$as_save_IFS 6766 6767fi 6768fi 6769MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6770if test -n "$MANIFEST_TOOL"; then 6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6772$as_echo "$MANIFEST_TOOL" >&6; } 6773else 6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6775$as_echo "no" >&6; } 6776fi 6777 6778 6779fi 6780if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6781 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6782 # Extract the first word of "mt", so it can be a program name with args. 6783set dummy mt; ac_word=$2 6784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6785$as_echo_n "checking for $ac_word... " >&6; } 6786if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6787 $as_echo_n "(cached) " >&6 6788else 6789 if test -n "$ac_ct_MANIFEST_TOOL"; then 6790 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6791else 6792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6793for as_dir in $PATH 6794do 6795 IFS=$as_save_IFS 6796 test -z "$as_dir" && as_dir=. 6797 for ac_exec_ext in '' $ac_executable_extensions; do 6798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6799 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6801 break 2 6802 fi 6803done 6804 done 6805IFS=$as_save_IFS 6806 6807fi 6808fi 6809ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6810if test -n "$ac_ct_MANIFEST_TOOL"; then 6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6812$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6813else 6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6815$as_echo "no" >&6; } 6816fi 6817 6818 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6819 MANIFEST_TOOL=":" 6820 else 6821 case $cross_compiling:$ac_tool_warned in 6822yes:) 6823{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6824$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6825ac_tool_warned=yes ;; 6826esac 6827 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6828 fi 6829else 6830 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6831fi 6832 6833test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6835$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6836if ${lt_cv_path_mainfest_tool+:} false; then : 6837 $as_echo_n "(cached) " >&6 6838else 6839 lt_cv_path_mainfest_tool=no 6840 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6841 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6842 cat conftest.err >&5 6843 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6844 lt_cv_path_mainfest_tool=yes 6845 fi 6846 rm -f conftest* 6847fi 6848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6849$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6850if test yes != "$lt_cv_path_mainfest_tool"; then 6851 MANIFEST_TOOL=: 6852fi 6853 6854 6855 6856 6857 6858 6859 case $host_os in 6860 rhapsody* | darwin*) 6861 if test -n "$ac_tool_prefix"; then 6862 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6863set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6865$as_echo_n "checking for $ac_word... " >&6; } 6866if ${ac_cv_prog_DSYMUTIL+:} false; then : 6867 $as_echo_n "(cached) " >&6 6868else 6869 if test -n "$DSYMUTIL"; then 6870 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6871else 6872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6873for as_dir in $PATH 6874do 6875 IFS=$as_save_IFS 6876 test -z "$as_dir" && as_dir=. 6877 for ac_exec_ext in '' $ac_executable_extensions; do 6878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6879 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6881 break 2 6882 fi 6883done 6884 done 6885IFS=$as_save_IFS 6886 6887fi 6888fi 6889DSYMUTIL=$ac_cv_prog_DSYMUTIL 6890if test -n "$DSYMUTIL"; then 6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6892$as_echo "$DSYMUTIL" >&6; } 6893else 6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6895$as_echo "no" >&6; } 6896fi 6897 6898 6899fi 6900if test -z "$ac_cv_prog_DSYMUTIL"; then 6901 ac_ct_DSYMUTIL=$DSYMUTIL 6902 # Extract the first word of "dsymutil", so it can be a program name with args. 6903set dummy dsymutil; ac_word=$2 6904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6905$as_echo_n "checking for $ac_word... " >&6; } 6906if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6907 $as_echo_n "(cached) " >&6 6908else 6909 if test -n "$ac_ct_DSYMUTIL"; then 6910 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6911else 6912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6913for as_dir in $PATH 6914do 6915 IFS=$as_save_IFS 6916 test -z "$as_dir" && as_dir=. 6917 for ac_exec_ext in '' $ac_executable_extensions; do 6918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6919 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6921 break 2 6922 fi 6923done 6924 done 6925IFS=$as_save_IFS 6926 6927fi 6928fi 6929ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6930if test -n "$ac_ct_DSYMUTIL"; then 6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6932$as_echo "$ac_ct_DSYMUTIL" >&6; } 6933else 6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6935$as_echo "no" >&6; } 6936fi 6937 6938 if test "x$ac_ct_DSYMUTIL" = x; then 6939 DSYMUTIL=":" 6940 else 6941 case $cross_compiling:$ac_tool_warned in 6942yes:) 6943{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6944$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6945ac_tool_warned=yes ;; 6946esac 6947 DSYMUTIL=$ac_ct_DSYMUTIL 6948 fi 6949else 6950 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6951fi 6952 6953 if test -n "$ac_tool_prefix"; then 6954 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6955set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6957$as_echo_n "checking for $ac_word... " >&6; } 6958if ${ac_cv_prog_NMEDIT+:} false; then : 6959 $as_echo_n "(cached) " >&6 6960else 6961 if test -n "$NMEDIT"; then 6962 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6963else 6964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6965for as_dir in $PATH 6966do 6967 IFS=$as_save_IFS 6968 test -z "$as_dir" && as_dir=. 6969 for ac_exec_ext in '' $ac_executable_extensions; do 6970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6971 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6973 break 2 6974 fi 6975done 6976 done 6977IFS=$as_save_IFS 6978 6979fi 6980fi 6981NMEDIT=$ac_cv_prog_NMEDIT 6982if test -n "$NMEDIT"; then 6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6984$as_echo "$NMEDIT" >&6; } 6985else 6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6987$as_echo "no" >&6; } 6988fi 6989 6990 6991fi 6992if test -z "$ac_cv_prog_NMEDIT"; then 6993 ac_ct_NMEDIT=$NMEDIT 6994 # Extract the first word of "nmedit", so it can be a program name with args. 6995set dummy nmedit; ac_word=$2 6996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6997$as_echo_n "checking for $ac_word... " >&6; } 6998if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6999 $as_echo_n "(cached) " >&6 7000else 7001 if test -n "$ac_ct_NMEDIT"; then 7002 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7003else 7004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7005for as_dir in $PATH 7006do 7007 IFS=$as_save_IFS 7008 test -z "$as_dir" && as_dir=. 7009 for ac_exec_ext in '' $ac_executable_extensions; do 7010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7011 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7013 break 2 7014 fi 7015done 7016 done 7017IFS=$as_save_IFS 7018 7019fi 7020fi 7021ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7022if test -n "$ac_ct_NMEDIT"; then 7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7024$as_echo "$ac_ct_NMEDIT" >&6; } 7025else 7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7027$as_echo "no" >&6; } 7028fi 7029 7030 if test "x$ac_ct_NMEDIT" = x; then 7031 NMEDIT=":" 7032 else 7033 case $cross_compiling:$ac_tool_warned in 7034yes:) 7035{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7036$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7037ac_tool_warned=yes ;; 7038esac 7039 NMEDIT=$ac_ct_NMEDIT 7040 fi 7041else 7042 NMEDIT="$ac_cv_prog_NMEDIT" 7043fi 7044 7045 if test -n "$ac_tool_prefix"; then 7046 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7047set dummy ${ac_tool_prefix}lipo; ac_word=$2 7048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7049$as_echo_n "checking for $ac_word... " >&6; } 7050if ${ac_cv_prog_LIPO+:} false; then : 7051 $as_echo_n "(cached) " >&6 7052else 7053 if test -n "$LIPO"; then 7054 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7055else 7056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7057for as_dir in $PATH 7058do 7059 IFS=$as_save_IFS 7060 test -z "$as_dir" && as_dir=. 7061 for ac_exec_ext in '' $ac_executable_extensions; do 7062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7063 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7065 break 2 7066 fi 7067done 7068 done 7069IFS=$as_save_IFS 7070 7071fi 7072fi 7073LIPO=$ac_cv_prog_LIPO 7074if test -n "$LIPO"; then 7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7076$as_echo "$LIPO" >&6; } 7077else 7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7079$as_echo "no" >&6; } 7080fi 7081 7082 7083fi 7084if test -z "$ac_cv_prog_LIPO"; then 7085 ac_ct_LIPO=$LIPO 7086 # Extract the first word of "lipo", so it can be a program name with args. 7087set dummy lipo; ac_word=$2 7088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7089$as_echo_n "checking for $ac_word... " >&6; } 7090if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7091 $as_echo_n "(cached) " >&6 7092else 7093 if test -n "$ac_ct_LIPO"; then 7094 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7095else 7096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7097for as_dir in $PATH 7098do 7099 IFS=$as_save_IFS 7100 test -z "$as_dir" && as_dir=. 7101 for ac_exec_ext in '' $ac_executable_extensions; do 7102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7103 ac_cv_prog_ac_ct_LIPO="lipo" 7104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7105 break 2 7106 fi 7107done 7108 done 7109IFS=$as_save_IFS 7110 7111fi 7112fi 7113ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7114if test -n "$ac_ct_LIPO"; then 7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7116$as_echo "$ac_ct_LIPO" >&6; } 7117else 7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7119$as_echo "no" >&6; } 7120fi 7121 7122 if test "x$ac_ct_LIPO" = x; then 7123 LIPO=":" 7124 else 7125 case $cross_compiling:$ac_tool_warned in 7126yes:) 7127{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7128$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7129ac_tool_warned=yes ;; 7130esac 7131 LIPO=$ac_ct_LIPO 7132 fi 7133else 7134 LIPO="$ac_cv_prog_LIPO" 7135fi 7136 7137 if test -n "$ac_tool_prefix"; then 7138 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7139set dummy ${ac_tool_prefix}otool; ac_word=$2 7140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7141$as_echo_n "checking for $ac_word... " >&6; } 7142if ${ac_cv_prog_OTOOL+:} false; then : 7143 $as_echo_n "(cached) " >&6 7144else 7145 if test -n "$OTOOL"; then 7146 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7147else 7148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7149for as_dir in $PATH 7150do 7151 IFS=$as_save_IFS 7152 test -z "$as_dir" && as_dir=. 7153 for ac_exec_ext in '' $ac_executable_extensions; do 7154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7155 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7157 break 2 7158 fi 7159done 7160 done 7161IFS=$as_save_IFS 7162 7163fi 7164fi 7165OTOOL=$ac_cv_prog_OTOOL 7166if test -n "$OTOOL"; then 7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7168$as_echo "$OTOOL" >&6; } 7169else 7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7171$as_echo "no" >&6; } 7172fi 7173 7174 7175fi 7176if test -z "$ac_cv_prog_OTOOL"; then 7177 ac_ct_OTOOL=$OTOOL 7178 # Extract the first word of "otool", so it can be a program name with args. 7179set dummy otool; ac_word=$2 7180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7181$as_echo_n "checking for $ac_word... " >&6; } 7182if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7183 $as_echo_n "(cached) " >&6 7184else 7185 if test -n "$ac_ct_OTOOL"; then 7186 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7187else 7188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7189for as_dir in $PATH 7190do 7191 IFS=$as_save_IFS 7192 test -z "$as_dir" && as_dir=. 7193 for ac_exec_ext in '' $ac_executable_extensions; do 7194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7195 ac_cv_prog_ac_ct_OTOOL="otool" 7196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7197 break 2 7198 fi 7199done 7200 done 7201IFS=$as_save_IFS 7202 7203fi 7204fi 7205ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7206if test -n "$ac_ct_OTOOL"; then 7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7208$as_echo "$ac_ct_OTOOL" >&6; } 7209else 7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7211$as_echo "no" >&6; } 7212fi 7213 7214 if test "x$ac_ct_OTOOL" = x; then 7215 OTOOL=":" 7216 else 7217 case $cross_compiling:$ac_tool_warned in 7218yes:) 7219{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7220$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7221ac_tool_warned=yes ;; 7222esac 7223 OTOOL=$ac_ct_OTOOL 7224 fi 7225else 7226 OTOOL="$ac_cv_prog_OTOOL" 7227fi 7228 7229 if test -n "$ac_tool_prefix"; then 7230 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7231set dummy ${ac_tool_prefix}otool64; ac_word=$2 7232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7233$as_echo_n "checking for $ac_word... " >&6; } 7234if ${ac_cv_prog_OTOOL64+:} false; then : 7235 $as_echo_n "(cached) " >&6 7236else 7237 if test -n "$OTOOL64"; then 7238 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7239else 7240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7241for as_dir in $PATH 7242do 7243 IFS=$as_save_IFS 7244 test -z "$as_dir" && as_dir=. 7245 for ac_exec_ext in '' $ac_executable_extensions; do 7246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7247 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7249 break 2 7250 fi 7251done 7252 done 7253IFS=$as_save_IFS 7254 7255fi 7256fi 7257OTOOL64=$ac_cv_prog_OTOOL64 7258if test -n "$OTOOL64"; then 7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7260$as_echo "$OTOOL64" >&6; } 7261else 7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7263$as_echo "no" >&6; } 7264fi 7265 7266 7267fi 7268if test -z "$ac_cv_prog_OTOOL64"; then 7269 ac_ct_OTOOL64=$OTOOL64 7270 # Extract the first word of "otool64", so it can be a program name with args. 7271set dummy otool64; ac_word=$2 7272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7273$as_echo_n "checking for $ac_word... " >&6; } 7274if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7275 $as_echo_n "(cached) " >&6 7276else 7277 if test -n "$ac_ct_OTOOL64"; then 7278 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7279else 7280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7281for as_dir in $PATH 7282do 7283 IFS=$as_save_IFS 7284 test -z "$as_dir" && as_dir=. 7285 for ac_exec_ext in '' $ac_executable_extensions; do 7286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7287 ac_cv_prog_ac_ct_OTOOL64="otool64" 7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7289 break 2 7290 fi 7291done 7292 done 7293IFS=$as_save_IFS 7294 7295fi 7296fi 7297ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7298if test -n "$ac_ct_OTOOL64"; then 7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7300$as_echo "$ac_ct_OTOOL64" >&6; } 7301else 7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7303$as_echo "no" >&6; } 7304fi 7305 7306 if test "x$ac_ct_OTOOL64" = x; then 7307 OTOOL64=":" 7308 else 7309 case $cross_compiling:$ac_tool_warned in 7310yes:) 7311{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7312$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7313ac_tool_warned=yes ;; 7314esac 7315 OTOOL64=$ac_ct_OTOOL64 7316 fi 7317else 7318 OTOOL64="$ac_cv_prog_OTOOL64" 7319fi 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7348$as_echo_n "checking for -single_module linker flag... " >&6; } 7349if ${lt_cv_apple_cc_single_mod+:} false; then : 7350 $as_echo_n "(cached) " >&6 7351else 7352 lt_cv_apple_cc_single_mod=no 7353 if test -z "$LT_MULTI_MODULE"; then 7354 # By default we will add the -single_module flag. You can override 7355 # by either setting the environment variable LT_MULTI_MODULE 7356 # non-empty at configure time, or by adding -multi_module to the 7357 # link flags. 7358 rm -rf libconftest.dylib* 7359 echo "int foo(void){return 1;}" > conftest.c 7360 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7361-dynamiclib -Wl,-single_module conftest.c" >&5 7362 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7363 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7364 _lt_result=$? 7365 # If there is a non-empty error log, and "single_module" 7366 # appears in it, assume the flag caused a linker warning 7367 if test -s conftest.err && $GREP single_module conftest.err; then 7368 cat conftest.err >&5 7369 # Otherwise, if the output was created with a 0 exit code from 7370 # the compiler, it worked. 7371 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7372 lt_cv_apple_cc_single_mod=yes 7373 else 7374 cat conftest.err >&5 7375 fi 7376 rm -rf libconftest.dylib* 7377 rm -f conftest.* 7378 fi 7379fi 7380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7381$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7382 7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7384$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7385if ${lt_cv_ld_exported_symbols_list+:} false; then : 7386 $as_echo_n "(cached) " >&6 7387else 7388 lt_cv_ld_exported_symbols_list=no 7389 save_LDFLAGS=$LDFLAGS 7390 echo "_main" > conftest.sym 7391 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7393/* end confdefs.h. */ 7394 7395int 7396main () 7397{ 7398 7399 ; 7400 return 0; 7401} 7402_ACEOF 7403if ac_fn_c_try_link "$LINENO"; then : 7404 lt_cv_ld_exported_symbols_list=yes 7405else 7406 lt_cv_ld_exported_symbols_list=no 7407fi 7408rm -f core conftest.err conftest.$ac_objext \ 7409 conftest$ac_exeext conftest.$ac_ext 7410 LDFLAGS=$save_LDFLAGS 7411 7412fi 7413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7414$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7415 7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7417$as_echo_n "checking for -force_load linker flag... " >&6; } 7418if ${lt_cv_ld_force_load+:} false; then : 7419 $as_echo_n "(cached) " >&6 7420else 7421 lt_cv_ld_force_load=no 7422 cat > conftest.c << _LT_EOF 7423int forced_loaded() { return 2;} 7424_LT_EOF 7425 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7426 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7427 echo "$AR cru libconftest.a conftest.o" >&5 7428 $AR cru libconftest.a conftest.o 2>&5 7429 echo "$RANLIB libconftest.a" >&5 7430 $RANLIB libconftest.a 2>&5 7431 cat > conftest.c << _LT_EOF 7432int main() { return 0;} 7433_LT_EOF 7434 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7435 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7436 _lt_result=$? 7437 if test -s conftest.err && $GREP force_load conftest.err; then 7438 cat conftest.err >&5 7439 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7440 lt_cv_ld_force_load=yes 7441 else 7442 cat conftest.err >&5 7443 fi 7444 rm -f conftest.err libconftest.a conftest conftest.c 7445 rm -rf conftest.dSYM 7446 7447fi 7448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7449$as_echo "$lt_cv_ld_force_load" >&6; } 7450 case $host_os in 7451 rhapsody* | darwin1.[012]) 7452 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7453 darwin1.*) 7454 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7455 darwin*) # darwin 5.x on 7456 # if running on 10.5 or later, the deployment target defaults 7457 # to the OS version, if on x86, and 10.4, the deployment 7458 # target defaults to 10.4. Don't you love it? 7459 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7460 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7461 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7462 10.[012][,.]*) 7463 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7464 10.*) 7465 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7466 esac 7467 ;; 7468 esac 7469 if test yes = "$lt_cv_apple_cc_single_mod"; then 7470 _lt_dar_single_mod='$single_module' 7471 fi 7472 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7473 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7474 else 7475 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7476 fi 7477 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7478 _lt_dsymutil='~$DSYMUTIL $lib || :' 7479 else 7480 _lt_dsymutil= 7481 fi 7482 ;; 7483 esac 7484 7485# func_munge_path_list VARIABLE PATH 7486# ----------------------------------- 7487# VARIABLE is name of variable containing _space_ separated list of 7488# directories to be munged by the contents of PATH, which is string 7489# having a format: 7490# "DIR[:DIR]:" 7491# string "DIR[ DIR]" will be prepended to VARIABLE 7492# ":DIR[:DIR]" 7493# string "DIR[ DIR]" will be appended to VARIABLE 7494# "DIRP[:DIRP]::[DIRA:]DIRA" 7495# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7496# "DIRA[ DIRA]" will be appended to VARIABLE 7497# "DIR[:DIR]" 7498# VARIABLE will be replaced by "DIR[ DIR]" 7499func_munge_path_list () 7500{ 7501 case x$2 in 7502 x) 7503 ;; 7504 *:) 7505 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7506 ;; 7507 x:*) 7508 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7509 ;; 7510 *::*) 7511 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7512 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7513 ;; 7514 *) 7515 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7516 ;; 7517 esac 7518} 7519 7520ac_ext=c 7521ac_cpp='$CPP $CPPFLAGS' 7522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7524ac_compiler_gnu=$ac_cv_c_compiler_gnu 7525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7526$as_echo_n "checking how to run the C preprocessor... " >&6; } 7527# On Suns, sometimes $CPP names a directory. 7528if test -n "$CPP" && test -d "$CPP"; then 7529 CPP= 7530fi 7531if test -z "$CPP"; then 7532 if ${ac_cv_prog_CPP+:} false; then : 7533 $as_echo_n "(cached) " >&6 7534else 7535 # Double quotes because CPP needs to be expanded 7536 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7537 do 7538 ac_preproc_ok=false 7539for ac_c_preproc_warn_flag in '' yes 7540do 7541 # Use a header file that comes with gcc, so configuring glibc 7542 # with a fresh cross-compiler works. 7543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7544 # <limits.h> exists even on freestanding compilers. 7545 # On the NeXT, cc -E runs the code through the compiler's parser, 7546 # not just through cpp. "Syntax error" is here to catch this case. 7547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7548/* end confdefs.h. */ 7549#ifdef __STDC__ 7550# include <limits.h> 7551#else 7552# include <assert.h> 7553#endif 7554 Syntax error 7555_ACEOF 7556if ac_fn_c_try_cpp "$LINENO"; then : 7557 7558else 7559 # Broken: fails on valid input. 7560continue 7561fi 7562rm -f conftest.err conftest.i conftest.$ac_ext 7563 7564 # OK, works on sane cases. Now check whether nonexistent headers 7565 # can be detected and how. 7566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7567/* end confdefs.h. */ 7568#include <ac_nonexistent.h> 7569_ACEOF 7570if ac_fn_c_try_cpp "$LINENO"; then : 7571 # Broken: success on invalid input. 7572continue 7573else 7574 # Passes both tests. 7575ac_preproc_ok=: 7576break 7577fi 7578rm -f conftest.err conftest.i conftest.$ac_ext 7579 7580done 7581# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7582rm -f conftest.i conftest.err conftest.$ac_ext 7583if $ac_preproc_ok; then : 7584 break 7585fi 7586 7587 done 7588 ac_cv_prog_CPP=$CPP 7589 7590fi 7591 CPP=$ac_cv_prog_CPP 7592else 7593 ac_cv_prog_CPP=$CPP 7594fi 7595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7596$as_echo "$CPP" >&6; } 7597ac_preproc_ok=false 7598for ac_c_preproc_warn_flag in '' yes 7599do 7600 # Use a header file that comes with gcc, so configuring glibc 7601 # with a fresh cross-compiler works. 7602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7603 # <limits.h> exists even on freestanding compilers. 7604 # On the NeXT, cc -E runs the code through the compiler's parser, 7605 # not just through cpp. "Syntax error" is here to catch this case. 7606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7607/* end confdefs.h. */ 7608#ifdef __STDC__ 7609# include <limits.h> 7610#else 7611# include <assert.h> 7612#endif 7613 Syntax error 7614_ACEOF 7615if ac_fn_c_try_cpp "$LINENO"; then : 7616 7617else 7618 # Broken: fails on valid input. 7619continue 7620fi 7621rm -f conftest.err conftest.i conftest.$ac_ext 7622 7623 # OK, works on sane cases. Now check whether nonexistent headers 7624 # can be detected and how. 7625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7626/* end confdefs.h. */ 7627#include <ac_nonexistent.h> 7628_ACEOF 7629if ac_fn_c_try_cpp "$LINENO"; then : 7630 # Broken: success on invalid input. 7631continue 7632else 7633 # Passes both tests. 7634ac_preproc_ok=: 7635break 7636fi 7637rm -f conftest.err conftest.i conftest.$ac_ext 7638 7639done 7640# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7641rm -f conftest.i conftest.err conftest.$ac_ext 7642if $ac_preproc_ok; then : 7643 7644else 7645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7647as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7648See \`config.log' for more details" "$LINENO" 5; } 7649fi 7650 7651ac_ext=c 7652ac_cpp='$CPP $CPPFLAGS' 7653ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7654ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7655ac_compiler_gnu=$ac_cv_c_compiler_gnu 7656 7657 7658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7659$as_echo_n "checking for ANSI C header files... " >&6; } 7660if ${ac_cv_header_stdc+:} false; then : 7661 $as_echo_n "(cached) " >&6 7662else 7663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7664/* end confdefs.h. */ 7665#include <stdlib.h> 7666#include <stdarg.h> 7667#include <string.h> 7668#include <float.h> 7669 7670int 7671main () 7672{ 7673 7674 ; 7675 return 0; 7676} 7677_ACEOF 7678if ac_fn_c_try_compile "$LINENO"; then : 7679 ac_cv_header_stdc=yes 7680else 7681 ac_cv_header_stdc=no 7682fi 7683rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7684 7685if test $ac_cv_header_stdc = yes; then 7686 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7688/* end confdefs.h. */ 7689#include <string.h> 7690 7691_ACEOF 7692if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7693 $EGREP "memchr" >/dev/null 2>&1; then : 7694 7695else 7696 ac_cv_header_stdc=no 7697fi 7698rm -f conftest* 7699 7700fi 7701 7702if test $ac_cv_header_stdc = yes; then 7703 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7705/* end confdefs.h. */ 7706#include <stdlib.h> 7707 7708_ACEOF 7709if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7710 $EGREP "free" >/dev/null 2>&1; then : 7711 7712else 7713 ac_cv_header_stdc=no 7714fi 7715rm -f conftest* 7716 7717fi 7718 7719if test $ac_cv_header_stdc = yes; then 7720 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7721 if test "$cross_compiling" = yes; then : 7722 : 7723else 7724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7725/* end confdefs.h. */ 7726#include <ctype.h> 7727#include <stdlib.h> 7728#if ((' ' & 0x0FF) == 0x020) 7729# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7730# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7731#else 7732# define ISLOWER(c) \ 7733 (('a' <= (c) && (c) <= 'i') \ 7734 || ('j' <= (c) && (c) <= 'r') \ 7735 || ('s' <= (c) && (c) <= 'z')) 7736# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7737#endif 7738 7739#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7740int 7741main () 7742{ 7743 int i; 7744 for (i = 0; i < 256; i++) 7745 if (XOR (islower (i), ISLOWER (i)) 7746 || toupper (i) != TOUPPER (i)) 7747 return 2; 7748 return 0; 7749} 7750_ACEOF 7751if ac_fn_c_try_run "$LINENO"; then : 7752 7753else 7754 ac_cv_header_stdc=no 7755fi 7756rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7757 conftest.$ac_objext conftest.beam conftest.$ac_ext 7758fi 7759 7760fi 7761fi 7762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7763$as_echo "$ac_cv_header_stdc" >&6; } 7764if test $ac_cv_header_stdc = yes; then 7765 7766$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7767 7768fi 7769 7770# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7771for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7772 inttypes.h stdint.h unistd.h 7773do : 7774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7775ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7776" 7777if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7778 cat >>confdefs.h <<_ACEOF 7779#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7780_ACEOF 7781 7782fi 7783 7784done 7785 7786 7787for ac_header in dlfcn.h 7788do : 7789 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7790" 7791if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7792 cat >>confdefs.h <<_ACEOF 7793#define HAVE_DLFCN_H 1 7794_ACEOF 7795 7796fi 7797 7798done 7799 7800 7801if test "`cd $srcdir && pwd`" != "`pwd`"; then 7802 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 7803 # is not polluted with repeated "-I." 7804 am__isrc=' -I$(srcdir)' 7805 # test to see if srcdir already configured 7806 if test -f $srcdir/config.status; then 7807 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 7808 fi 7809fi 7810 7811# test whether we have cygpath 7812if test -z "$CYGPATH_W"; then 7813 if (cygpath --version) >/dev/null 2>/dev/null; then 7814 CYGPATH_W='cygpath -w' 7815 else 7816 CYGPATH_W=echo 7817 fi 7818fi 7819 7820 7821# Define the identity of the package. 7822 PACKAGE='dvi2tty--tex-live-' 7823 VERSION='5.3.4' 7824 7825 7826cat >>confdefs.h <<_ACEOF 7827#define PACKAGE "$PACKAGE" 7828_ACEOF 7829 7830 7831cat >>confdefs.h <<_ACEOF 7832#define VERSION "$VERSION" 7833_ACEOF 7834 7835# Some tools Automake needs. 7836 7837ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 7838 7839 7840AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 7841 7842 7843AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 7844 7845 7846AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 7847 7848 7849MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 7850 7851# For better backward compatibility. To be removed once Automake 1.9.x 7852# dies out for good. For more background, see: 7853# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 7854# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 7855mkdir_p='$(MKDIR_P)' 7856 7857# We need awk for the "check" target (and possibly the TAP driver). The 7858# system "awk" is bad on some platforms. 7859# Always define AMTAR for backward compatibility. Yes, it's still used 7860# in the wild :-( We should find a proper way to deprecate it ... 7861AMTAR='$${TAR-tar}' 7862 7863 7864# We'll loop over all known methods to create a tar archive until one works. 7865_am_tools='gnutar pax cpio none' 7866 7867am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 7868 7869 7870 7871 7872 7873 7874# POSIX will say in a future version that running "rm -f" with no argument 7875# is OK; and we want to be able to make that assumption in our Makefile 7876# recipes. So use an aggressive probe to check that the usage we want is 7877# actually supported "in the wild" to an acceptable degree. 7878# See automake bug#10828. 7879# To make any issue more visible, cause the running configure to be aborted 7880# by default if the 'rm' program in use doesn't match our expectations; the 7881# user can still override this though. 7882if rm -f && rm -fr && rm -rf; then : OK; else 7883 cat >&2 <<'END' 7884Oops! 7885 7886Your 'rm' program seems unable to run without file operands specified 7887on the command line, even when the '-f' option is present. This is contrary 7888to the behaviour of most rm programs out there, and not conforming with 7889the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 7890 7891Please tell bug-automake@gnu.org about your system, including the value 7892of your $PATH and any error possibly output before this message. This 7893can help us improve future automake versions. 7894 7895END 7896 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 7897 echo 'Configuration will proceed anyway, since you have set the' >&2 7898 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 7899 echo >&2 7900 else 7901 cat >&2 <<'END' 7902Aborting the configuration process, to ensure you take notice of the issue. 7903 7904You can download and install GNU coreutils to get an 'rm' implementation 7905that behaves properly: <http://www.gnu.org/software/coreutils/>. 7906 7907If you want to complete the configuration process using your problematic 7908'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 7909to "yes", and re-run configure. 7910 7911END 7912 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 7913 fi 7914fi 7915 7916 7917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 7918$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 7919 # Check whether --enable-maintainer-mode was given. 7920if test "${enable_maintainer_mode+set}" = set; then : 7921 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 7922else 7923 USE_MAINTAINER_MODE=no 7924fi 7925 7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 7927$as_echo "$USE_MAINTAINER_MODE" >&6; } 7928 if test $USE_MAINTAINER_MODE = yes; then 7929 MAINTAINER_MODE_TRUE= 7930 MAINTAINER_MODE_FALSE='#' 7931else 7932 MAINTAINER_MODE_TRUE='#' 7933 MAINTAINER_MODE_FALSE= 7934fi 7935 7936 MAINT=$MAINTAINER_MODE_TRUE 7937 7938 7939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 7940$as_echo_n "checking whether the compiler accepts prototypes... " >&6; } 7941if ${kb_cv_c_prototypes+:} false; then : 7942 $as_echo_n "(cached) " >&6 7943else 7944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7945/* end confdefs.h. */ 7946#include <stdarg.h> 7947int 7948main () 7949{ 7950extern void foo(int i,...); 7951 ; 7952 return 0; 7953} 7954_ACEOF 7955if ac_fn_c_try_link "$LINENO"; then : 7956 kb_cv_c_prototypes=yes 7957else 7958 kb_cv_c_prototypes=no 7959fi 7960rm -f core conftest.err conftest.$ac_objext \ 7961 conftest$ac_exeext conftest.$ac_ext 7962fi 7963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5 7964$as_echo "$kb_cv_c_prototypes" >&6; } 7965if test "x$kb_cv_c_prototypes" = xno; then 7966 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 7967fi 7968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 7969$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 7970if ${kpse_cv_warning_cflags+:} false; then : 7971 $as_echo_n "(cached) " >&6 7972else 7973 if test "x$GCC" = xyes; then 7974 kpse_cv_warning_cflags= 7975if test "x$enable_compiler_warnings" != xno; then 7976 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type" 7977 case `$CC -dumpversion` in #( 7978 3.4.* | 4.*) : 7979 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #( 7980 *) : 7981 ;; 7982esac 7983 case `$CC -dumpversion` in #( 7984 3.[234].* | 4.*) : 7985 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #( 7986 *) : 7987 ;; 7988esac 7989 if test "x$enable_compiler_warnings" != xmin; then 7990 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags" 7991 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" 7992 if test "x$enable_compiler_warnings" != xyes; then 7993 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" 7994 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings" 7995 case `$CC -dumpversion` in #( 7996 3.4.* | 4.*) : 7997 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #( 7998 *) : 7999 ;; 8000esac 8001 if test "x$enable_compiler_warnings" != xmax; then 8002 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow" 8003 fi 8004 fi 8005 fi 8006fi 8007elif test "x$enable_compiler_warnings" = xno; then 8008 kpse_cv_warning_cflags= 8009else 8010 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers 8011fi 8012fi 8013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5 8014$as_echo "$kpse_cv_warning_cflags" >&6; } 8015WARNING_CFLAGS=$kpse_cv_warning_cflags 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028# Set options 8029enable_win32_dll=yes 8030 8031case $host in 8032*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 8033 if test -n "$ac_tool_prefix"; then 8034 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 8035set dummy ${ac_tool_prefix}as; ac_word=$2 8036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8037$as_echo_n "checking for $ac_word... " >&6; } 8038if ${ac_cv_prog_AS+:} false; then : 8039 $as_echo_n "(cached) " >&6 8040else 8041 if test -n "$AS"; then 8042 ac_cv_prog_AS="$AS" # Let the user override the test. 8043else 8044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8045for as_dir in $PATH 8046do 8047 IFS=$as_save_IFS 8048 test -z "$as_dir" && as_dir=. 8049 for ac_exec_ext in '' $ac_executable_extensions; do 8050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8051 ac_cv_prog_AS="${ac_tool_prefix}as" 8052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8053 break 2 8054 fi 8055done 8056 done 8057IFS=$as_save_IFS 8058 8059fi 8060fi 8061AS=$ac_cv_prog_AS 8062if test -n "$AS"; then 8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8064$as_echo "$AS" >&6; } 8065else 8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8067$as_echo "no" >&6; } 8068fi 8069 8070 8071fi 8072if test -z "$ac_cv_prog_AS"; then 8073 ac_ct_AS=$AS 8074 # Extract the first word of "as", so it can be a program name with args. 8075set dummy as; ac_word=$2 8076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8077$as_echo_n "checking for $ac_word... " >&6; } 8078if ${ac_cv_prog_ac_ct_AS+:} false; then : 8079 $as_echo_n "(cached) " >&6 8080else 8081 if test -n "$ac_ct_AS"; then 8082 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8083else 8084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8085for as_dir in $PATH 8086do 8087 IFS=$as_save_IFS 8088 test -z "$as_dir" && as_dir=. 8089 for ac_exec_ext in '' $ac_executable_extensions; do 8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8091 ac_cv_prog_ac_ct_AS="as" 8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8093 break 2 8094 fi 8095done 8096 done 8097IFS=$as_save_IFS 8098 8099fi 8100fi 8101ac_ct_AS=$ac_cv_prog_ac_ct_AS 8102if test -n "$ac_ct_AS"; then 8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 8104$as_echo "$ac_ct_AS" >&6; } 8105else 8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8107$as_echo "no" >&6; } 8108fi 8109 8110 if test "x$ac_ct_AS" = x; then 8111 AS="false" 8112 else 8113 case $cross_compiling:$ac_tool_warned in 8114yes:) 8115{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8116$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8117ac_tool_warned=yes ;; 8118esac 8119 AS=$ac_ct_AS 8120 fi 8121else 8122 AS="$ac_cv_prog_AS" 8123fi 8124 8125 if test -n "$ac_tool_prefix"; then 8126 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8127set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8129$as_echo_n "checking for $ac_word... " >&6; } 8130if ${ac_cv_prog_DLLTOOL+:} false; then : 8131 $as_echo_n "(cached) " >&6 8132else 8133 if test -n "$DLLTOOL"; then 8134 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8135else 8136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8137for as_dir in $PATH 8138do 8139 IFS=$as_save_IFS 8140 test -z "$as_dir" && as_dir=. 8141 for ac_exec_ext in '' $ac_executable_extensions; do 8142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8143 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8145 break 2 8146 fi 8147done 8148 done 8149IFS=$as_save_IFS 8150 8151fi 8152fi 8153DLLTOOL=$ac_cv_prog_DLLTOOL 8154if test -n "$DLLTOOL"; then 8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8156$as_echo "$DLLTOOL" >&6; } 8157else 8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8159$as_echo "no" >&6; } 8160fi 8161 8162 8163fi 8164if test -z "$ac_cv_prog_DLLTOOL"; then 8165 ac_ct_DLLTOOL=$DLLTOOL 8166 # Extract the first word of "dlltool", so it can be a program name with args. 8167set dummy dlltool; ac_word=$2 8168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8169$as_echo_n "checking for $ac_word... " >&6; } 8170if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8171 $as_echo_n "(cached) " >&6 8172else 8173 if test -n "$ac_ct_DLLTOOL"; then 8174 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8175else 8176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8177for as_dir in $PATH 8178do 8179 IFS=$as_save_IFS 8180 test -z "$as_dir" && as_dir=. 8181 for ac_exec_ext in '' $ac_executable_extensions; do 8182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8183 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8185 break 2 8186 fi 8187done 8188 done 8189IFS=$as_save_IFS 8190 8191fi 8192fi 8193ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8194if test -n "$ac_ct_DLLTOOL"; then 8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8196$as_echo "$ac_ct_DLLTOOL" >&6; } 8197else 8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8199$as_echo "no" >&6; } 8200fi 8201 8202 if test "x$ac_ct_DLLTOOL" = x; then 8203 DLLTOOL="false" 8204 else 8205 case $cross_compiling:$ac_tool_warned in 8206yes:) 8207{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8209ac_tool_warned=yes ;; 8210esac 8211 DLLTOOL=$ac_ct_DLLTOOL 8212 fi 8213else 8214 DLLTOOL="$ac_cv_prog_DLLTOOL" 8215fi 8216 8217 if test -n "$ac_tool_prefix"; then 8218 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8219set dummy ${ac_tool_prefix}objdump; ac_word=$2 8220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8221$as_echo_n "checking for $ac_word... " >&6; } 8222if ${ac_cv_prog_OBJDUMP+:} false; then : 8223 $as_echo_n "(cached) " >&6 8224else 8225 if test -n "$OBJDUMP"; then 8226 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8227else 8228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8229for as_dir in $PATH 8230do 8231 IFS=$as_save_IFS 8232 test -z "$as_dir" && as_dir=. 8233 for ac_exec_ext in '' $ac_executable_extensions; do 8234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8235 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8237 break 2 8238 fi 8239done 8240 done 8241IFS=$as_save_IFS 8242 8243fi 8244fi 8245OBJDUMP=$ac_cv_prog_OBJDUMP 8246if test -n "$OBJDUMP"; then 8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8248$as_echo "$OBJDUMP" >&6; } 8249else 8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8251$as_echo "no" >&6; } 8252fi 8253 8254 8255fi 8256if test -z "$ac_cv_prog_OBJDUMP"; then 8257 ac_ct_OBJDUMP=$OBJDUMP 8258 # Extract the first word of "objdump", so it can be a program name with args. 8259set dummy objdump; ac_word=$2 8260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8261$as_echo_n "checking for $ac_word... " >&6; } 8262if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8263 $as_echo_n "(cached) " >&6 8264else 8265 if test -n "$ac_ct_OBJDUMP"; then 8266 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8267else 8268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8269for as_dir in $PATH 8270do 8271 IFS=$as_save_IFS 8272 test -z "$as_dir" && as_dir=. 8273 for ac_exec_ext in '' $ac_executable_extensions; do 8274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8275 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8277 break 2 8278 fi 8279done 8280 done 8281IFS=$as_save_IFS 8282 8283fi 8284fi 8285ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8286if test -n "$ac_ct_OBJDUMP"; then 8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8288$as_echo "$ac_ct_OBJDUMP" >&6; } 8289else 8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8291$as_echo "no" >&6; } 8292fi 8293 8294 if test "x$ac_ct_OBJDUMP" = x; then 8295 OBJDUMP="false" 8296 else 8297 case $cross_compiling:$ac_tool_warned in 8298yes:) 8299{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8301ac_tool_warned=yes ;; 8302esac 8303 OBJDUMP=$ac_ct_OBJDUMP 8304 fi 8305else 8306 OBJDUMP="$ac_cv_prog_OBJDUMP" 8307fi 8308 8309 ;; 8310esac 8311 8312test -z "$AS" && AS=as 8313 8314 8315 8316 8317 8318test -z "$DLLTOOL" && DLLTOOL=dlltool 8319 8320 8321 8322 8323 8324test -z "$OBJDUMP" && OBJDUMP=objdump 8325 8326 8327 8328 8329 8330 8331 8332 enable_dlopen=no 8333 8334 8335 8336 # Check whether --enable-shared was given. 8337if test "${enable_shared+set}" = set; then : 8338 enableval=$enable_shared; p=${PACKAGE-default} 8339 case $enableval in 8340 yes) enable_shared=yes ;; 8341 no) enable_shared=no ;; 8342 *) 8343 enable_shared=no 8344 # Look at the argument we got. We use all the common list separators. 8345 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8346 for pkg in $enableval; do 8347 IFS=$lt_save_ifs 8348 if test "X$pkg" = "X$p"; then 8349 enable_shared=yes 8350 fi 8351 done 8352 IFS=$lt_save_ifs 8353 ;; 8354 esac 8355else 8356 enable_shared=yes 8357fi 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 # Check whether --enable-static was given. 8368if test "${enable_static+set}" = set; then : 8369 enableval=$enable_static; p=${PACKAGE-default} 8370 case $enableval in 8371 yes) enable_static=yes ;; 8372 no) enable_static=no ;; 8373 *) 8374 enable_static=no 8375 # Look at the argument we got. We use all the common list separators. 8376 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8377 for pkg in $enableval; do 8378 IFS=$lt_save_ifs 8379 if test "X$pkg" = "X$p"; then 8380 enable_static=yes 8381 fi 8382 done 8383 IFS=$lt_save_ifs 8384 ;; 8385 esac 8386else 8387 enable_static=yes 8388fi 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399# Check whether --with-pic was given. 8400if test "${with_pic+set}" = set; then : 8401 withval=$with_pic; lt_p=${PACKAGE-default} 8402 case $withval in 8403 yes|no) pic_mode=$withval ;; 8404 *) 8405 pic_mode=default 8406 # Look at the argument we got. We use all the common list separators. 8407 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8408 for lt_pkg in $withval; do 8409 IFS=$lt_save_ifs 8410 if test "X$lt_pkg" = "X$lt_p"; then 8411 pic_mode=yes 8412 fi 8413 done 8414 IFS=$lt_save_ifs 8415 ;; 8416 esac 8417else 8418 pic_mode=default 8419fi 8420 8421 8422 8423 8424 8425 8426 8427 8428 # Check whether --enable-fast-install was given. 8429if test "${enable_fast_install+set}" = set; then : 8430 enableval=$enable_fast_install; p=${PACKAGE-default} 8431 case $enableval in 8432 yes) enable_fast_install=yes ;; 8433 no) enable_fast_install=no ;; 8434 *) 8435 enable_fast_install=no 8436 # Look at the argument we got. We use all the common list separators. 8437 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8438 for pkg in $enableval; do 8439 IFS=$lt_save_ifs 8440 if test "X$pkg" = "X$p"; then 8441 enable_fast_install=yes 8442 fi 8443 done 8444 IFS=$lt_save_ifs 8445 ;; 8446 esac 8447else 8448 enable_fast_install=yes 8449fi 8450 8451 8452 8453 8454 8455 8456 8457 8458 shared_archive_member_spec= 8459case $host,$enable_shared in 8460power*-*-aix[5-9]*,yes) 8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8462$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8463 8464# Check whether --with-aix-soname was given. 8465if test "${with_aix_soname+set}" = set; then : 8466 withval=$with_aix_soname; case $withval in 8467 aix|svr4|both) 8468 ;; 8469 *) 8470 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8471 ;; 8472 esac 8473 lt_cv_with_aix_soname=$with_aix_soname 8474else 8475 if ${lt_cv_with_aix_soname+:} false; then : 8476 $as_echo_n "(cached) " >&6 8477else 8478 lt_cv_with_aix_soname=aix 8479fi 8480 8481 with_aix_soname=$lt_cv_with_aix_soname 8482fi 8483 8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8485$as_echo "$with_aix_soname" >&6; } 8486 if test aix != "$with_aix_soname"; then 8487 # For the AIX way of multilib, we name the shared archive member 8488 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8489 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8490 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8491 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8492 if test 64 = "${OBJECT_MODE-32}"; then 8493 shared_archive_member_spec=shr_64 8494 else 8495 shared_archive_member_spec=shr 8496 fi 8497 fi 8498 ;; 8499*) 8500 with_aix_soname=aix 8501 ;; 8502esac 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513# This can be used to rebuild libtool when needed 8514LIBTOOL_DEPS=$ltmain 8515 8516# Always use our own libtool. 8517LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548test -z "$LN_S" && LN_S="ln -s" 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563if test -n "${ZSH_VERSION+set}"; then 8564 setopt NO_GLOB_SUBST 8565fi 8566 8567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8568$as_echo_n "checking for objdir... " >&6; } 8569if ${lt_cv_objdir+:} false; then : 8570 $as_echo_n "(cached) " >&6 8571else 8572 rm -f .libs 2>/dev/null 8573mkdir .libs 2>/dev/null 8574if test -d .libs; then 8575 lt_cv_objdir=.libs 8576else 8577 # MS-DOS does not allow filenames that begin with a dot. 8578 lt_cv_objdir=_libs 8579fi 8580rmdir .libs 2>/dev/null 8581fi 8582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8583$as_echo "$lt_cv_objdir" >&6; } 8584objdir=$lt_cv_objdir 8585 8586 8587 8588 8589 8590cat >>confdefs.h <<_ACEOF 8591#define LT_OBJDIR "$lt_cv_objdir/" 8592_ACEOF 8593 8594 8595 8596 8597case $host_os in 8598aix3*) 8599 # AIX sometimes has problems with the GCC collect2 program. For some 8600 # reason, if we set the COLLECT_NAMES environment variable, the problems 8601 # vanish in a puff of smoke. 8602 if test set != "${COLLECT_NAMES+set}"; then 8603 COLLECT_NAMES= 8604 export COLLECT_NAMES 8605 fi 8606 ;; 8607esac 8608 8609# Global variables: 8610ofile=libtool 8611can_build_shared=yes 8612 8613# All known linkers require a '.a' archive for static linking (except MSVC, 8614# which needs '.lib'). 8615libext=a 8616 8617with_gnu_ld=$lt_cv_prog_gnu_ld 8618 8619old_CC=$CC 8620old_CFLAGS=$CFLAGS 8621 8622# Set sane defaults for various variables 8623test -z "$CC" && CC=cc 8624test -z "$LTCC" && LTCC=$CC 8625test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8626test -z "$LD" && LD=ld 8627test -z "$ac_objext" && ac_objext=o 8628 8629func_cc_basename $compiler 8630cc_basename=$func_cc_basename_result 8631 8632 8633# Only perform the check for file, if the check method requires it 8634test -z "$MAGIC_CMD" && MAGIC_CMD=file 8635case $deplibs_check_method in 8636file_magic*) 8637 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8639$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8640if ${lt_cv_path_MAGIC_CMD+:} false; then : 8641 $as_echo_n "(cached) " >&6 8642else 8643 case $MAGIC_CMD in 8644[\\/*] | ?:[\\/]*) 8645 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8646 ;; 8647*) 8648 lt_save_MAGIC_CMD=$MAGIC_CMD 8649 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8650 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8651 for ac_dir in $ac_dummy; do 8652 IFS=$lt_save_ifs 8653 test -z "$ac_dir" && ac_dir=. 8654 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8655 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8656 if test -n "$file_magic_test_file"; then 8657 case $deplibs_check_method in 8658 "file_magic "*) 8659 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8660 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8661 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8662 $EGREP "$file_magic_regex" > /dev/null; then 8663 : 8664 else 8665 cat <<_LT_EOF 1>&2 8666 8667*** Warning: the command libtool uses to detect shared libraries, 8668*** $file_magic_cmd, produces output that libtool cannot recognize. 8669*** The result is that libtool may fail to recognize shared libraries 8670*** as such. This will affect the creation of libtool libraries that 8671*** depend on shared libraries, but programs linked with such libtool 8672*** libraries will work regardless of this problem. Nevertheless, you 8673*** may want to report the problem to your system manager and/or to 8674*** bug-libtool@gnu.org 8675 8676_LT_EOF 8677 fi ;; 8678 esac 8679 fi 8680 break 8681 fi 8682 done 8683 IFS=$lt_save_ifs 8684 MAGIC_CMD=$lt_save_MAGIC_CMD 8685 ;; 8686esac 8687fi 8688 8689MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8690if test -n "$MAGIC_CMD"; then 8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8692$as_echo "$MAGIC_CMD" >&6; } 8693else 8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8695$as_echo "no" >&6; } 8696fi 8697 8698 8699 8700 8701 8702if test -z "$lt_cv_path_MAGIC_CMD"; then 8703 if test -n "$ac_tool_prefix"; then 8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8705$as_echo_n "checking for file... " >&6; } 8706if ${lt_cv_path_MAGIC_CMD+:} false; then : 8707 $as_echo_n "(cached) " >&6 8708else 8709 case $MAGIC_CMD in 8710[\\/*] | ?:[\\/]*) 8711 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8712 ;; 8713*) 8714 lt_save_MAGIC_CMD=$MAGIC_CMD 8715 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8716 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8717 for ac_dir in $ac_dummy; do 8718 IFS=$lt_save_ifs 8719 test -z "$ac_dir" && ac_dir=. 8720 if test -f "$ac_dir/file"; then 8721 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8722 if test -n "$file_magic_test_file"; then 8723 case $deplibs_check_method in 8724 "file_magic "*) 8725 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8726 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8727 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8728 $EGREP "$file_magic_regex" > /dev/null; then 8729 : 8730 else 8731 cat <<_LT_EOF 1>&2 8732 8733*** Warning: the command libtool uses to detect shared libraries, 8734*** $file_magic_cmd, produces output that libtool cannot recognize. 8735*** The result is that libtool may fail to recognize shared libraries 8736*** as such. This will affect the creation of libtool libraries that 8737*** depend on shared libraries, but programs linked with such libtool 8738*** libraries will work regardless of this problem. Nevertheless, you 8739*** may want to report the problem to your system manager and/or to 8740*** bug-libtool@gnu.org 8741 8742_LT_EOF 8743 fi ;; 8744 esac 8745 fi 8746 break 8747 fi 8748 done 8749 IFS=$lt_save_ifs 8750 MAGIC_CMD=$lt_save_MAGIC_CMD 8751 ;; 8752esac 8753fi 8754 8755MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8756if test -n "$MAGIC_CMD"; then 8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8758$as_echo "$MAGIC_CMD" >&6; } 8759else 8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8761$as_echo "no" >&6; } 8762fi 8763 8764 8765 else 8766 MAGIC_CMD=: 8767 fi 8768fi 8769 8770 fi 8771 ;; 8772esac 8773 8774# Use C for the default configuration in the libtool script 8775 8776lt_save_CC=$CC 8777ac_ext=c 8778ac_cpp='$CPP $CPPFLAGS' 8779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8781ac_compiler_gnu=$ac_cv_c_compiler_gnu 8782 8783 8784# Source file extension for C test sources. 8785ac_ext=c 8786 8787# Object file extension for compiled C test sources. 8788objext=o 8789objext=$objext 8790 8791# Code to be used in simple compile tests 8792lt_simple_compile_test_code="int some_variable = 0;" 8793 8794# Code to be used in simple link tests 8795lt_simple_link_test_code='int main(){return(0);}' 8796 8797 8798 8799 8800 8801 8802 8803# If no C compiler was specified, use CC. 8804LTCC=${LTCC-"$CC"} 8805 8806# If no C compiler flags were specified, use CFLAGS. 8807LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8808 8809# Allow CC to be a program name with arguments. 8810compiler=$CC 8811 8812# Save the default compiler, since it gets overwritten when the other 8813# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8814compiler_DEFAULT=$CC 8815 8816# save warnings/boilerplate of simple test code 8817ac_outfile=conftest.$ac_objext 8818echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8819eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8820_lt_compiler_boilerplate=`cat conftest.err` 8821$RM conftest* 8822 8823ac_outfile=conftest.$ac_objext 8824echo "$lt_simple_link_test_code" >conftest.$ac_ext 8825eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8826_lt_linker_boilerplate=`cat conftest.err` 8827$RM -r conftest* 8828 8829 8830## CAVEAT EMPTOR: 8831## There is no encapsulation within the following macros, do not change 8832## the running order or otherwise move them around unless you know exactly 8833## what you are doing... 8834if test -n "$compiler"; then 8835 8836lt_prog_compiler_no_builtin_flag= 8837 8838if test yes = "$GCC"; then 8839 case $cc_basename in 8840 nvcc*) 8841 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8842 *) 8843 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8844 esac 8845 8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8847$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8848if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8849 $as_echo_n "(cached) " >&6 8850else 8851 lt_cv_prog_compiler_rtti_exceptions=no 8852 ac_outfile=conftest.$ac_objext 8853 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8854 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8855 # Insert the option either (1) after the last *FLAGS variable, or 8856 # (2) before a word containing "conftest.", or (3) at the end. 8857 # Note that $ac_compile itself does not contain backslashes and begins 8858 # with a dollar sign (not a hyphen), so the echo should work correctly. 8859 # The option is referenced via a variable to avoid confusing sed. 8860 lt_compile=`echo "$ac_compile" | $SED \ 8861 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8862 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8863 -e 's:$: $lt_compiler_flag:'` 8864 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8865 (eval "$lt_compile" 2>conftest.err) 8866 ac_status=$? 8867 cat conftest.err >&5 8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8869 if (exit $ac_status) && test -s "$ac_outfile"; then 8870 # The compiler can only warn and ignore the option if not recognized 8871 # So say no if there are warnings other than the usual output. 8872 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8873 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8874 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8875 lt_cv_prog_compiler_rtti_exceptions=yes 8876 fi 8877 fi 8878 $RM conftest* 8879 8880fi 8881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8882$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8883 8884if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8885 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8886else 8887 : 8888fi 8889 8890fi 8891 8892 8893 8894 8895 8896 8897 lt_prog_compiler_wl= 8898lt_prog_compiler_pic= 8899lt_prog_compiler_static= 8900 8901 8902 if test yes = "$GCC"; then 8903 lt_prog_compiler_wl='-Wl,' 8904 lt_prog_compiler_static='-static' 8905 8906 case $host_os in 8907 aix*) 8908 # All AIX code is PIC. 8909 if test ia64 = "$host_cpu"; then 8910 # AIX 5 now supports IA64 processor 8911 lt_prog_compiler_static='-Bstatic' 8912 fi 8913 lt_prog_compiler_pic='-fPIC' 8914 ;; 8915 8916 amigaos*) 8917 case $host_cpu in 8918 powerpc) 8919 # see comment about AmigaOS4 .so support 8920 lt_prog_compiler_pic='-fPIC' 8921 ;; 8922 m68k) 8923 # FIXME: we need at least 68020 code to build shared libraries, but 8924 # adding the '-m68020' flag to GCC prevents building anything better, 8925 # like '-m68040'. 8926 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8927 ;; 8928 esac 8929 ;; 8930 8931 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8932 # PIC is the default for these OSes. 8933 ;; 8934 8935 mingw* | cygwin* | pw32* | os2* | cegcc*) 8936 # This hack is so that the source file can tell whether it is being 8937 # built for inclusion in a dll (and should export symbols for example). 8938 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8939 # (--disable-auto-import) libraries 8940 lt_prog_compiler_pic='-DDLL_EXPORT' 8941 case $host_os in 8942 os2*) 8943 lt_prog_compiler_static='$wl-static' 8944 ;; 8945 esac 8946 ;; 8947 8948 darwin* | rhapsody*) 8949 # PIC is the default on this platform 8950 # Common symbols not allowed in MH_DYLIB files 8951 lt_prog_compiler_pic='-fno-common' 8952 ;; 8953 8954 haiku*) 8955 # PIC is the default for Haiku. 8956 # The "-static" flag exists, but is broken. 8957 lt_prog_compiler_static= 8958 ;; 8959 8960 hpux*) 8961 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8962 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8963 # sets the default TLS model and affects inlining. 8964 case $host_cpu in 8965 hppa*64*) 8966 # +Z the default 8967 ;; 8968 *) 8969 lt_prog_compiler_pic='-fPIC' 8970 ;; 8971 esac 8972 ;; 8973 8974 interix[3-9]*) 8975 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8976 # Instead, we relocate shared libraries at runtime. 8977 ;; 8978 8979 msdosdjgpp*) 8980 # Just because we use GCC doesn't mean we suddenly get shared libraries 8981 # on systems that don't support them. 8982 lt_prog_compiler_can_build_shared=no 8983 enable_shared=no 8984 ;; 8985 8986 *nto* | *qnx*) 8987 # QNX uses GNU C++, but need to define -shared option too, otherwise 8988 # it will coredump. 8989 lt_prog_compiler_pic='-fPIC -shared' 8990 ;; 8991 8992 sysv4*MP*) 8993 if test -d /usr/nec; then 8994 lt_prog_compiler_pic=-Kconform_pic 8995 fi 8996 ;; 8997 8998 *) 8999 lt_prog_compiler_pic='-fPIC' 9000 ;; 9001 esac 9002 9003 case $cc_basename in 9004 nvcc*) # Cuda Compiler Driver 2.2 9005 lt_prog_compiler_wl='-Xlinker ' 9006 if test -n "$lt_prog_compiler_pic"; then 9007 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9008 fi 9009 ;; 9010 esac 9011 else 9012 # PORTME Check for flag to pass linker flags through the system compiler. 9013 case $host_os in 9014 aix*) 9015 lt_prog_compiler_wl='-Wl,' 9016 if test ia64 = "$host_cpu"; then 9017 # AIX 5 now supports IA64 processor 9018 lt_prog_compiler_static='-Bstatic' 9019 else 9020 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9021 fi 9022 ;; 9023 9024 darwin* | rhapsody*) 9025 # PIC is the default on this platform 9026 # Common symbols not allowed in MH_DYLIB files 9027 lt_prog_compiler_pic='-fno-common' 9028 case $cc_basename in 9029 nagfor*) 9030 # NAG Fortran compiler 9031 lt_prog_compiler_wl='-Wl,-Wl,,' 9032 lt_prog_compiler_pic='-PIC' 9033 lt_prog_compiler_static='-Bstatic' 9034 ;; 9035 esac 9036 ;; 9037 9038 mingw* | cygwin* | pw32* | os2* | cegcc*) 9039 # This hack is so that the source file can tell whether it is being 9040 # built for inclusion in a dll (and should export symbols for example). 9041 lt_prog_compiler_pic='-DDLL_EXPORT' 9042 case $host_os in 9043 os2*) 9044 lt_prog_compiler_static='$wl-static' 9045 ;; 9046 esac 9047 ;; 9048 9049 hpux9* | hpux10* | hpux11*) 9050 lt_prog_compiler_wl='-Wl,' 9051 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9052 # not for PA HP-UX. 9053 case $host_cpu in 9054 hppa*64*|ia64*) 9055 # +Z the default 9056 ;; 9057 *) 9058 lt_prog_compiler_pic='+Z' 9059 ;; 9060 esac 9061 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9062 lt_prog_compiler_static='$wl-a ${wl}archive' 9063 ;; 9064 9065 irix5* | irix6* | nonstopux*) 9066 lt_prog_compiler_wl='-Wl,' 9067 # PIC (with -KPIC) is the default. 9068 lt_prog_compiler_static='-non_shared' 9069 ;; 9070 9071 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9072 case $cc_basename in 9073 # old Intel for x86_64, which still supported -KPIC. 9074 ecc*) 9075 lt_prog_compiler_wl='-Wl,' 9076 lt_prog_compiler_pic='-KPIC' 9077 lt_prog_compiler_static='-static' 9078 ;; 9079 # icc used to be incompatible with GCC. 9080 # ICC 10 doesn't accept -KPIC any more. 9081 icc* | ifort*) 9082 lt_prog_compiler_wl='-Wl,' 9083 lt_prog_compiler_pic='-fPIC' 9084 lt_prog_compiler_static='-static' 9085 ;; 9086 # Lahey Fortran 8.1. 9087 lf95*) 9088 lt_prog_compiler_wl='-Wl,' 9089 lt_prog_compiler_pic='--shared' 9090 lt_prog_compiler_static='--static' 9091 ;; 9092 nagfor*) 9093 # NAG Fortran compiler 9094 lt_prog_compiler_wl='-Wl,-Wl,,' 9095 lt_prog_compiler_pic='-PIC' 9096 lt_prog_compiler_static='-Bstatic' 9097 ;; 9098 tcc*) 9099 # Fabrice Bellard et al's Tiny C Compiler 9100 lt_prog_compiler_wl='-Wl,' 9101 lt_prog_compiler_pic='-fPIC' 9102 lt_prog_compiler_static='-static' 9103 ;; 9104 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9105 # Portland Group compilers (*not* the Pentium gcc compiler, 9106 # which looks to be a dead project) 9107 lt_prog_compiler_wl='-Wl,' 9108 lt_prog_compiler_pic='-fpic' 9109 lt_prog_compiler_static='-Bstatic' 9110 ;; 9111 ccc*) 9112 lt_prog_compiler_wl='-Wl,' 9113 # All Alpha code is PIC. 9114 lt_prog_compiler_static='-non_shared' 9115 ;; 9116 xl* | bgxl* | bgf* | mpixl*) 9117 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9118 lt_prog_compiler_wl='-Wl,' 9119 lt_prog_compiler_pic='-qpic' 9120 lt_prog_compiler_static='-qstaticlink' 9121 ;; 9122 *) 9123 case `$CC -V 2>&1 | sed 5q` in 9124 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9125 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9126 lt_prog_compiler_pic='-KPIC' 9127 lt_prog_compiler_static='-Bstatic' 9128 lt_prog_compiler_wl='' 9129 ;; 9130 *Sun\ F* | *Sun*Fortran*) 9131 lt_prog_compiler_pic='-KPIC' 9132 lt_prog_compiler_static='-Bstatic' 9133 lt_prog_compiler_wl='-Qoption ld ' 9134 ;; 9135 *Sun\ C*) 9136 # Sun C 5.9 9137 lt_prog_compiler_pic='-KPIC' 9138 lt_prog_compiler_static='-Bstatic' 9139 lt_prog_compiler_wl='-Wl,' 9140 ;; 9141 *Intel*\ [CF]*Compiler*) 9142 lt_prog_compiler_wl='-Wl,' 9143 lt_prog_compiler_pic='-fPIC' 9144 lt_prog_compiler_static='-static' 9145 ;; 9146 *Portland\ Group*) 9147 lt_prog_compiler_wl='-Wl,' 9148 lt_prog_compiler_pic='-fpic' 9149 lt_prog_compiler_static='-Bstatic' 9150 ;; 9151 esac 9152 ;; 9153 esac 9154 ;; 9155 9156 newsos6) 9157 lt_prog_compiler_pic='-KPIC' 9158 lt_prog_compiler_static='-Bstatic' 9159 ;; 9160 9161 *nto* | *qnx*) 9162 # QNX uses GNU C++, but need to define -shared option too, otherwise 9163 # it will coredump. 9164 lt_prog_compiler_pic='-fPIC -shared' 9165 ;; 9166 9167 osf3* | osf4* | osf5*) 9168 lt_prog_compiler_wl='-Wl,' 9169 # All OSF/1 code is PIC. 9170 lt_prog_compiler_static='-non_shared' 9171 ;; 9172 9173 rdos*) 9174 lt_prog_compiler_static='-non_shared' 9175 ;; 9176 9177 solaris*) 9178 lt_prog_compiler_pic='-KPIC' 9179 lt_prog_compiler_static='-Bstatic' 9180 case $cc_basename in 9181 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9182 lt_prog_compiler_wl='-Qoption ld ';; 9183 *) 9184 lt_prog_compiler_wl='-Wl,';; 9185 esac 9186 ;; 9187 9188 sunos4*) 9189 lt_prog_compiler_wl='-Qoption ld ' 9190 lt_prog_compiler_pic='-PIC' 9191 lt_prog_compiler_static='-Bstatic' 9192 ;; 9193 9194 sysv4 | sysv4.2uw2* | sysv4.3*) 9195 lt_prog_compiler_wl='-Wl,' 9196 lt_prog_compiler_pic='-KPIC' 9197 lt_prog_compiler_static='-Bstatic' 9198 ;; 9199 9200 sysv4*MP*) 9201 if test -d /usr/nec; then 9202 lt_prog_compiler_pic='-Kconform_pic' 9203 lt_prog_compiler_static='-Bstatic' 9204 fi 9205 ;; 9206 9207 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9208 lt_prog_compiler_wl='-Wl,' 9209 lt_prog_compiler_pic='-KPIC' 9210 lt_prog_compiler_static='-Bstatic' 9211 ;; 9212 9213 unicos*) 9214 lt_prog_compiler_wl='-Wl,' 9215 lt_prog_compiler_can_build_shared=no 9216 ;; 9217 9218 uts4*) 9219 lt_prog_compiler_pic='-pic' 9220 lt_prog_compiler_static='-Bstatic' 9221 ;; 9222 9223 *) 9224 lt_prog_compiler_can_build_shared=no 9225 ;; 9226 esac 9227 fi 9228 9229case $host_os in 9230 # For platforms that do not support PIC, -DPIC is meaningless: 9231 *djgpp*) 9232 lt_prog_compiler_pic= 9233 ;; 9234 *) 9235 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9236 ;; 9237esac 9238 9239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9240$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9241if ${lt_cv_prog_compiler_pic+:} false; then : 9242 $as_echo_n "(cached) " >&6 9243else 9244 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9245fi 9246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9247$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9248lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9249 9250# 9251# Check to make sure the PIC flag actually works. 9252# 9253if test -n "$lt_prog_compiler_pic"; then 9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9255$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9256if ${lt_cv_prog_compiler_pic_works+:} false; then : 9257 $as_echo_n "(cached) " >&6 9258else 9259 lt_cv_prog_compiler_pic_works=no 9260 ac_outfile=conftest.$ac_objext 9261 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9262 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9263 # Insert the option either (1) after the last *FLAGS variable, or 9264 # (2) before a word containing "conftest.", or (3) at the end. 9265 # Note that $ac_compile itself does not contain backslashes and begins 9266 # with a dollar sign (not a hyphen), so the echo should work correctly. 9267 # The option is referenced via a variable to avoid confusing sed. 9268 lt_compile=`echo "$ac_compile" | $SED \ 9269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9271 -e 's:$: $lt_compiler_flag:'` 9272 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9273 (eval "$lt_compile" 2>conftest.err) 9274 ac_status=$? 9275 cat conftest.err >&5 9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9277 if (exit $ac_status) && test -s "$ac_outfile"; then 9278 # The compiler can only warn and ignore the option if not recognized 9279 # So say no if there are warnings other than the usual output. 9280 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9281 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9282 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9283 lt_cv_prog_compiler_pic_works=yes 9284 fi 9285 fi 9286 $RM conftest* 9287 9288fi 9289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9290$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9291 9292if test yes = "$lt_cv_prog_compiler_pic_works"; then 9293 case $lt_prog_compiler_pic in 9294 "" | " "*) ;; 9295 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9296 esac 9297else 9298 lt_prog_compiler_pic= 9299 lt_prog_compiler_can_build_shared=no 9300fi 9301 9302fi 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314# 9315# Check to make sure the static flag actually works. 9316# 9317wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9319$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9320if ${lt_cv_prog_compiler_static_works+:} false; then : 9321 $as_echo_n "(cached) " >&6 9322else 9323 lt_cv_prog_compiler_static_works=no 9324 save_LDFLAGS=$LDFLAGS 9325 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9326 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9327 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9328 # The linker can only warn and ignore the option if not recognized 9329 # So say no if there are warnings 9330 if test -s conftest.err; then 9331 # Append any errors to the config.log. 9332 cat conftest.err 1>&5 9333 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9334 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9335 if diff conftest.exp conftest.er2 >/dev/null; then 9336 lt_cv_prog_compiler_static_works=yes 9337 fi 9338 else 9339 lt_cv_prog_compiler_static_works=yes 9340 fi 9341 fi 9342 $RM -r conftest* 9343 LDFLAGS=$save_LDFLAGS 9344 9345fi 9346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9347$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9348 9349if test yes = "$lt_cv_prog_compiler_static_works"; then 9350 : 9351else 9352 lt_prog_compiler_static= 9353fi 9354 9355 9356 9357 9358 9359 9360 9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9362$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9363if ${lt_cv_prog_compiler_c_o+:} false; then : 9364 $as_echo_n "(cached) " >&6 9365else 9366 lt_cv_prog_compiler_c_o=no 9367 $RM -r conftest 2>/dev/null 9368 mkdir conftest 9369 cd conftest 9370 mkdir out 9371 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9372 9373 lt_compiler_flag="-o out/conftest2.$ac_objext" 9374 # Insert the option either (1) after the last *FLAGS variable, or 9375 # (2) before a word containing "conftest.", or (3) at the end. 9376 # Note that $ac_compile itself does not contain backslashes and begins 9377 # with a dollar sign (not a hyphen), so the echo should work correctly. 9378 lt_compile=`echo "$ac_compile" | $SED \ 9379 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9380 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9381 -e 's:$: $lt_compiler_flag:'` 9382 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9383 (eval "$lt_compile" 2>out/conftest.err) 9384 ac_status=$? 9385 cat out/conftest.err >&5 9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9387 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9388 then 9389 # The compiler can only warn and ignore the option if not recognized 9390 # So say no if there are warnings 9391 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9392 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9393 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9394 lt_cv_prog_compiler_c_o=yes 9395 fi 9396 fi 9397 chmod u+w . 2>&5 9398 $RM conftest* 9399 # SGI C++ compiler will create directory out/ii_files/ for 9400 # template instantiation 9401 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9402 $RM out/* && rmdir out 9403 cd .. 9404 $RM -r conftest 9405 $RM conftest* 9406 9407fi 9408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9409$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9410 9411 9412 9413 9414 9415 9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9417$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9418if ${lt_cv_prog_compiler_c_o+:} false; then : 9419 $as_echo_n "(cached) " >&6 9420else 9421 lt_cv_prog_compiler_c_o=no 9422 $RM -r conftest 2>/dev/null 9423 mkdir conftest 9424 cd conftest 9425 mkdir out 9426 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9427 9428 lt_compiler_flag="-o out/conftest2.$ac_objext" 9429 # Insert the option either (1) after the last *FLAGS variable, or 9430 # (2) before a word containing "conftest.", or (3) at the end. 9431 # Note that $ac_compile itself does not contain backslashes and begins 9432 # with a dollar sign (not a hyphen), so the echo should work correctly. 9433 lt_compile=`echo "$ac_compile" | $SED \ 9434 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9435 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9436 -e 's:$: $lt_compiler_flag:'` 9437 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9438 (eval "$lt_compile" 2>out/conftest.err) 9439 ac_status=$? 9440 cat out/conftest.err >&5 9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9442 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9443 then 9444 # The compiler can only warn and ignore the option if not recognized 9445 # So say no if there are warnings 9446 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9447 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9448 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9449 lt_cv_prog_compiler_c_o=yes 9450 fi 9451 fi 9452 chmod u+w . 2>&5 9453 $RM conftest* 9454 # SGI C++ compiler will create directory out/ii_files/ for 9455 # template instantiation 9456 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9457 $RM out/* && rmdir out 9458 cd .. 9459 $RM -r conftest 9460 $RM conftest* 9461 9462fi 9463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9464$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9465 9466 9467 9468 9469hard_links=nottested 9470if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9471 # do not overwrite the value of need_locks provided by the user 9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9473$as_echo_n "checking if we can lock with hard links... " >&6; } 9474 hard_links=yes 9475 $RM conftest* 9476 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9477 touch conftest.a 9478 ln conftest.a conftest.b 2>&5 || hard_links=no 9479 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9481$as_echo "$hard_links" >&6; } 9482 if test no = "$hard_links"; then 9483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9484$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9485 need_locks=warn 9486 fi 9487else 9488 need_locks=no 9489fi 9490 9491 9492 9493 9494 9495 9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9497$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9498 9499 runpath_var= 9500 allow_undefined_flag= 9501 always_export_symbols=no 9502 archive_cmds= 9503 archive_expsym_cmds= 9504 compiler_needs_object=no 9505 enable_shared_with_static_runtimes=no 9506 export_dynamic_flag_spec= 9507 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9508 hardcode_automatic=no 9509 hardcode_direct=no 9510 hardcode_direct_absolute=no 9511 hardcode_libdir_flag_spec= 9512 hardcode_libdir_separator= 9513 hardcode_minus_L=no 9514 hardcode_shlibpath_var=unsupported 9515 inherit_rpath=no 9516 link_all_deplibs=unknown 9517 module_cmds= 9518 module_expsym_cmds= 9519 old_archive_from_new_cmds= 9520 old_archive_from_expsyms_cmds= 9521 thread_safe_flag_spec= 9522 whole_archive_flag_spec= 9523 # include_expsyms should be a list of space-separated symbols to be *always* 9524 # included in the symbol list 9525 include_expsyms= 9526 # exclude_expsyms can be an extended regexp of symbols to exclude 9527 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9528 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9529 # as well as any symbol that contains 'd'. 9530 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9531 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9532 # platforms (ab)use it in PIC code, but their linkers get confused if 9533 # the symbol is explicitly referenced. Since portable code cannot 9534 # rely on this symbol name, it's probably fine to never include it in 9535 # preloaded symbol tables. 9536 # Exclude shared library initialization/finalization symbols. 9537 extract_expsyms_cmds= 9538 9539 case $host_os in 9540 cygwin* | mingw* | pw32* | cegcc*) 9541 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9542 # When not using gcc, we currently assume that we are using 9543 # Microsoft Visual C++. 9544 if test yes != "$GCC"; then 9545 with_gnu_ld=no 9546 fi 9547 ;; 9548 interix*) 9549 # we just hope/assume this is gcc and not c89 (= MSVC++) 9550 with_gnu_ld=yes 9551 ;; 9552 openbsd* | bitrig*) 9553 with_gnu_ld=no 9554 ;; 9555 esac 9556 9557 ld_shlibs=yes 9558 9559 # On some targets, GNU ld is compatible enough with the native linker 9560 # that we're better off using the native interface for both. 9561 lt_use_gnu_ld_interface=no 9562 if test yes = "$with_gnu_ld"; then 9563 case $host_os in 9564 aix*) 9565 # The AIX port of GNU ld has always aspired to compatibility 9566 # with the native linker. However, as the warning in the GNU ld 9567 # block says, versions before 2.19.5* couldn't really create working 9568 # shared libraries, regardless of the interface used. 9569 case `$LD -v 2>&1` in 9570 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9571 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9572 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9573 *) 9574 lt_use_gnu_ld_interface=yes 9575 ;; 9576 esac 9577 ;; 9578 *) 9579 lt_use_gnu_ld_interface=yes 9580 ;; 9581 esac 9582 fi 9583 9584 if test yes = "$lt_use_gnu_ld_interface"; then 9585 # If archive_cmds runs LD, not CC, wlarc should be empty 9586 wlarc='$wl' 9587 9588 # Set some defaults for GNU ld with shared library support. These 9589 # are reset later if shared libraries are not supported. Putting them 9590 # here allows them to be overridden if necessary. 9591 runpath_var=LD_RUN_PATH 9592 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9593 export_dynamic_flag_spec='$wl--export-dynamic' 9594 # ancient GNU ld didn't support --whole-archive et. al. 9595 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9596 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9597 else 9598 whole_archive_flag_spec= 9599 fi 9600 supports_anon_versioning=no 9601 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9602 *GNU\ gold*) supports_anon_versioning=yes ;; 9603 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9604 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9605 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9606 *\ 2.11.*) ;; # other 2.11 versions 9607 *) supports_anon_versioning=yes ;; 9608 esac 9609 9610 # See if GNU ld supports shared libraries. 9611 case $host_os in 9612 aix[3-9]*) 9613 # On AIX/PPC, the GNU linker is very broken 9614 if test ia64 != "$host_cpu"; then 9615 ld_shlibs=no 9616 cat <<_LT_EOF 1>&2 9617 9618*** Warning: the GNU linker, at least up to release 2.19, is reported 9619*** to be unable to reliably create shared libraries on AIX. 9620*** Therefore, libtool is disabling shared libraries support. If you 9621*** really care for shared libraries, you may want to install binutils 9622*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9623*** You will then need to restart the configuration process. 9624 9625_LT_EOF 9626 fi 9627 ;; 9628 9629 amigaos*) 9630 case $host_cpu in 9631 powerpc) 9632 # see comment about AmigaOS4 .so support 9633 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9634 archive_expsym_cmds='' 9635 ;; 9636 m68k) 9637 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)' 9638 hardcode_libdir_flag_spec='-L$libdir' 9639 hardcode_minus_L=yes 9640 ;; 9641 esac 9642 ;; 9643 9644 beos*) 9645 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9646 allow_undefined_flag=unsupported 9647 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9648 # support --undefined. This deserves some investigation. FIXME 9649 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9650 else 9651 ld_shlibs=no 9652 fi 9653 ;; 9654 9655 cygwin* | mingw* | pw32* | cegcc*) 9656 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9657 # as there is no search path for DLLs. 9658 hardcode_libdir_flag_spec='-L$libdir' 9659 export_dynamic_flag_spec='$wl--export-all-symbols' 9660 allow_undefined_flag=unsupported 9661 always_export_symbols=no 9662 enable_shared_with_static_runtimes=yes 9663 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' 9664 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9665 9666 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9667 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9668 # If the export-symbols file already is a .def file, use it as 9669 # is; otherwise, prepend EXPORTS... 9670 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9671 cp $export_symbols $output_objdir/$soname.def; 9672 else 9673 echo EXPORTS > $output_objdir/$soname.def; 9674 cat $export_symbols >> $output_objdir/$soname.def; 9675 fi~ 9676 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9677 else 9678 ld_shlibs=no 9679 fi 9680 ;; 9681 9682 haiku*) 9683 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9684 link_all_deplibs=yes 9685 ;; 9686 9687 os2*) 9688 hardcode_libdir_flag_spec='-L$libdir' 9689 hardcode_minus_L=yes 9690 allow_undefined_flag=unsupported 9691 shrext_cmds=.dll 9692 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9693 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9694 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9695 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9696 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9697 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9698 emximp -o $lib $output_objdir/$libname.def' 9699 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9700 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9701 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9702 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9703 prefix_cmds="$SED"~ 9704 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9705 prefix_cmds="$prefix_cmds -e 1d"; 9706 fi~ 9707 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9708 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9709 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9710 emximp -o $lib $output_objdir/$libname.def' 9711 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9712 enable_shared_with_static_runtimes=yes 9713 ;; 9714 9715 interix[3-9]*) 9716 hardcode_direct=no 9717 hardcode_shlibpath_var=no 9718 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9719 export_dynamic_flag_spec='$wl-E' 9720 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9721 # Instead, shared libraries are loaded at an image base (0x10000000 by 9722 # default) and relocated if they conflict, which is a slow very memory 9723 # consuming and fragmenting process. To avoid this, we pick a random, 9724 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9725 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9726 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9727 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' 9728 ;; 9729 9730 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9731 tmp_diet=no 9732 if test linux-dietlibc = "$host_os"; then 9733 case $cc_basename in 9734 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9735 esac 9736 fi 9737 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9738 && test no = "$tmp_diet" 9739 then 9740 tmp_addflag=' $pic_flag' 9741 tmp_sharedflag='-shared' 9742 case $cc_basename,$host_cpu in 9743 pgcc*) # Portland Group C compiler 9744 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' 9745 tmp_addflag=' $pic_flag' 9746 ;; 9747 pgf77* | pgf90* | pgf95* | pgfortran*) 9748 # Portland Group f77 and f90 compilers 9749 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' 9750 tmp_addflag=' $pic_flag -Mnomain' ;; 9751 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9752 tmp_addflag=' -i_dynamic' ;; 9753 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9754 tmp_addflag=' -i_dynamic -nofor_main' ;; 9755 ifc* | ifort*) # Intel Fortran compiler 9756 tmp_addflag=' -nofor_main' ;; 9757 lf95*) # Lahey Fortran 8.1 9758 whole_archive_flag_spec= 9759 tmp_sharedflag='--shared' ;; 9760 nagfor*) # NAGFOR 5.3 9761 tmp_sharedflag='-Wl,-shared' ;; 9762 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9763 tmp_sharedflag='-qmkshrobj' 9764 tmp_addflag= ;; 9765 nvcc*) # Cuda Compiler Driver 2.2 9766 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' 9767 compiler_needs_object=yes 9768 ;; 9769 esac 9770 case `$CC -V 2>&1 | sed 5q` in 9771 *Sun\ C*) # Sun C 5.9 9772 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' 9773 compiler_needs_object=yes 9774 tmp_sharedflag='-G' ;; 9775 *Sun\ F*) # Sun Fortran 8.3 9776 tmp_sharedflag='-G' ;; 9777 esac 9778 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9779 9780 if test yes = "$supports_anon_versioning"; then 9781 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9782 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9783 echo "local: *; };" >> $output_objdir/$libname.ver~ 9784 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9785 fi 9786 9787 case $cc_basename in 9788 tcc*) 9789 export_dynamic_flag_spec='-rdynamic' 9790 ;; 9791 xlf* | bgf* | bgxlf* | mpixlf*) 9792 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9793 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9794 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9795 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9796 if test yes = "$supports_anon_versioning"; then 9797 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9798 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9799 echo "local: *; };" >> $output_objdir/$libname.ver~ 9800 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9801 fi 9802 ;; 9803 esac 9804 else 9805 ld_shlibs=no 9806 fi 9807 ;; 9808 9809 netbsd*) 9810 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9811 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9812 wlarc= 9813 else 9814 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9815 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9816 fi 9817 ;; 9818 9819 solaris*) 9820 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9821 ld_shlibs=no 9822 cat <<_LT_EOF 1>&2 9823 9824*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9825*** create shared libraries on Solaris systems. Therefore, libtool 9826*** is disabling shared libraries support. We urge you to upgrade GNU 9827*** binutils to release 2.9.1 or newer. Another option is to modify 9828*** your PATH or compiler configuration so that the native linker is 9829*** used, and then restart. 9830 9831_LT_EOF 9832 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9833 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9834 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9835 else 9836 ld_shlibs=no 9837 fi 9838 ;; 9839 9840 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9841 case `$LD -v 2>&1` in 9842 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9843 ld_shlibs=no 9844 cat <<_LT_EOF 1>&2 9845 9846*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9847*** reliably create shared libraries on SCO systems. Therefore, libtool 9848*** is disabling shared libraries support. We urge you to upgrade GNU 9849*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9850*** your PATH or compiler configuration so that the native linker is 9851*** used, and then restart. 9852 9853_LT_EOF 9854 ;; 9855 *) 9856 # For security reasons, it is highly recommended that you always 9857 # use absolute paths for naming shared libraries, and exclude the 9858 # DT_RUNPATH tag from executables and libraries. But doing so 9859 # requires that you compile everything twice, which is a pain. 9860 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9861 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9862 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9863 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9864 else 9865 ld_shlibs=no 9866 fi 9867 ;; 9868 esac 9869 ;; 9870 9871 sunos4*) 9872 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9873 wlarc= 9874 hardcode_direct=yes 9875 hardcode_shlibpath_var=no 9876 ;; 9877 9878 *) 9879 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9880 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9881 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9882 else 9883 ld_shlibs=no 9884 fi 9885 ;; 9886 esac 9887 9888 if test no = "$ld_shlibs"; then 9889 runpath_var= 9890 hardcode_libdir_flag_spec= 9891 export_dynamic_flag_spec= 9892 whole_archive_flag_spec= 9893 fi 9894 else 9895 # PORTME fill in a description of your system's linker (not GNU ld) 9896 case $host_os in 9897 aix3*) 9898 allow_undefined_flag=unsupported 9899 always_export_symbols=yes 9900 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' 9901 # Note: this linker hardcodes the directories in LIBPATH if there 9902 # are no directories specified by -L. 9903 hardcode_minus_L=yes 9904 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9905 # Neither direct hardcoding nor static linking is supported with a 9906 # broken collect2. 9907 hardcode_direct=unsupported 9908 fi 9909 ;; 9910 9911 aix[4-9]*) 9912 if test ia64 = "$host_cpu"; then 9913 # On IA64, the linker does run time linking by default, so we don't 9914 # have to do anything special. 9915 aix_use_runtimelinking=no 9916 exp_sym_flag='-Bexport' 9917 no_entry_flag= 9918 else 9919 # If we're using GNU nm, then we don't want the "-C" option. 9920 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9921 # Without the "-l" option, or with the "-B" option, AIX nm treats 9922 # weak defined symbols like other global defined symbols, whereas 9923 # GNU nm marks them as "W". 9924 # While the 'weak' keyword is ignored in the Export File, we need 9925 # it in the Import File for the 'aix-soname' feature, so we have 9926 # to replace the "-B" option with "-P" for AIX nm. 9927 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9928 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' 9929 else 9930 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' 9931 fi 9932 aix_use_runtimelinking=no 9933 9934 # Test if we are trying to use run time linking or normal 9935 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9936 # have runtime linking enabled, and use it for executables. 9937 # For shared libraries, we enable/disable runtime linking 9938 # depending on the kind of the shared library created - 9939 # when "with_aix_soname,aix_use_runtimelinking" is: 9940 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9941 # "aix,yes" lib.so shared, rtl:yes, for executables 9942 # lib.a static archive 9943 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9944 # lib.a(lib.so.V) shared, rtl:no, for executables 9945 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9946 # lib.a(lib.so.V) shared, rtl:no 9947 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9948 # lib.a static archive 9949 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9950 for ld_flag in $LDFLAGS; do 9951 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9952 aix_use_runtimelinking=yes 9953 break 9954 fi 9955 done 9956 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9957 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9958 # so we don't have lib.a shared libs to link our executables. 9959 # We have to force runtime linking in this case. 9960 aix_use_runtimelinking=yes 9961 LDFLAGS="$LDFLAGS -Wl,-brtl" 9962 fi 9963 ;; 9964 esac 9965 9966 exp_sym_flag='-bexport' 9967 no_entry_flag='-bnoentry' 9968 fi 9969 9970 # When large executables or shared objects are built, AIX ld can 9971 # have problems creating the table of contents. If linking a library 9972 # or program results in "error TOC overflow" add -mminimal-toc to 9973 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9974 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9975 9976 archive_cmds='' 9977 hardcode_direct=yes 9978 hardcode_direct_absolute=yes 9979 hardcode_libdir_separator=':' 9980 link_all_deplibs=yes 9981 file_list_spec='$wl-f,' 9982 case $with_aix_soname,$aix_use_runtimelinking in 9983 aix,*) ;; # traditional, no import file 9984 svr4,* | *,yes) # use import file 9985 # The Import File defines what to hardcode. 9986 hardcode_direct=no 9987 hardcode_direct_absolute=no 9988 ;; 9989 esac 9990 9991 if test yes = "$GCC"; then 9992 case $host_os in aix4.[012]|aix4.[012].*) 9993 # We only want to do this on AIX 4.2 and lower, the check 9994 # below for broken collect2 doesn't work under 4.3+ 9995 collect2name=`$CC -print-prog-name=collect2` 9996 if test -f "$collect2name" && 9997 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9998 then 9999 # We have reworked collect2 10000 : 10001 else 10002 # We have old collect2 10003 hardcode_direct=unsupported 10004 # It fails to find uninstalled libraries when the uninstalled 10005 # path is not listed in the libpath. Setting hardcode_minus_L 10006 # to unsupported forces relinking 10007 hardcode_minus_L=yes 10008 hardcode_libdir_flag_spec='-L$libdir' 10009 hardcode_libdir_separator= 10010 fi 10011 ;; 10012 esac 10013 shared_flag='-shared' 10014 if test yes = "$aix_use_runtimelinking"; then 10015 shared_flag="$shared_flag "'$wl-G' 10016 fi 10017 # Need to ensure runtime linking is disabled for the traditional 10018 # shared library, or the linker may eventually find shared libraries 10019 # /with/ Import File - we do not want to mix them. 10020 shared_flag_aix='-shared' 10021 shared_flag_svr4='-shared $wl-G' 10022 else 10023 # not using gcc 10024 if test ia64 = "$host_cpu"; then 10025 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10026 # chokes on -Wl,-G. The following line is correct: 10027 shared_flag='-G' 10028 else 10029 if test yes = "$aix_use_runtimelinking"; then 10030 shared_flag='$wl-G' 10031 else 10032 shared_flag='$wl-bM:SRE' 10033 fi 10034 shared_flag_aix='$wl-bM:SRE' 10035 shared_flag_svr4='$wl-G' 10036 fi 10037 fi 10038 10039 export_dynamic_flag_spec='$wl-bexpall' 10040 # It seems that -bexpall does not export symbols beginning with 10041 # underscore (_), so it is better to generate a list of symbols to export. 10042 always_export_symbols=yes 10043 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10044 # Warning - without using the other runtime loading flags (-brtl), 10045 # -berok will link without error, but may produce a broken library. 10046 allow_undefined_flag='-berok' 10047 # Determine the default libpath from the value encoded in an 10048 # empty executable. 10049 if test set = "${lt_cv_aix_libpath+set}"; then 10050 aix_libpath=$lt_cv_aix_libpath 10051else 10052 if ${lt_cv_aix_libpath_+:} false; then : 10053 $as_echo_n "(cached) " >&6 10054else 10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10056/* end confdefs.h. */ 10057 10058int 10059main () 10060{ 10061 10062 ; 10063 return 0; 10064} 10065_ACEOF 10066if ac_fn_c_try_link "$LINENO"; then : 10067 10068 lt_aix_libpath_sed=' 10069 /Import File Strings/,/^$/ { 10070 /^0/ { 10071 s/^0 *\([^ ]*\) *$/\1/ 10072 p 10073 } 10074 }' 10075 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10076 # Check for a 64-bit object if we didn't find anything. 10077 if test -z "$lt_cv_aix_libpath_"; then 10078 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10079 fi 10080fi 10081rm -f core conftest.err conftest.$ac_objext \ 10082 conftest$ac_exeext conftest.$ac_ext 10083 if test -z "$lt_cv_aix_libpath_"; then 10084 lt_cv_aix_libpath_=/usr/lib:/lib 10085 fi 10086 10087fi 10088 10089 aix_libpath=$lt_cv_aix_libpath_ 10090fi 10091 10092 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10093 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 10094 else 10095 if test ia64 = "$host_cpu"; then 10096 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10097 allow_undefined_flag="-z nodefs" 10098 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" 10099 else 10100 # Determine the default libpath from the value encoded in an 10101 # empty executable. 10102 if test set = "${lt_cv_aix_libpath+set}"; then 10103 aix_libpath=$lt_cv_aix_libpath 10104else 10105 if ${lt_cv_aix_libpath_+:} false; then : 10106 $as_echo_n "(cached) " >&6 10107else 10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10109/* end confdefs.h. */ 10110 10111int 10112main () 10113{ 10114 10115 ; 10116 return 0; 10117} 10118_ACEOF 10119if ac_fn_c_try_link "$LINENO"; then : 10120 10121 lt_aix_libpath_sed=' 10122 /Import File Strings/,/^$/ { 10123 /^0/ { 10124 s/^0 *\([^ ]*\) *$/\1/ 10125 p 10126 } 10127 }' 10128 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10129 # Check for a 64-bit object if we didn't find anything. 10130 if test -z "$lt_cv_aix_libpath_"; then 10131 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10132 fi 10133fi 10134rm -f core conftest.err conftest.$ac_objext \ 10135 conftest$ac_exeext conftest.$ac_ext 10136 if test -z "$lt_cv_aix_libpath_"; then 10137 lt_cv_aix_libpath_=/usr/lib:/lib 10138 fi 10139 10140fi 10141 10142 aix_libpath=$lt_cv_aix_libpath_ 10143fi 10144 10145 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10146 # Warning - without using the other run time loading flags, 10147 # -berok will link without error, but may produce a broken library. 10148 no_undefined_flag=' $wl-bernotok' 10149 allow_undefined_flag=' $wl-berok' 10150 if test yes = "$with_gnu_ld"; then 10151 # We only use this code for GNU lds that support --whole-archive. 10152 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10153 else 10154 # Exported symbols can be pulled into shared objects from archives 10155 whole_archive_flag_spec='$convenience' 10156 fi 10157 archive_cmds_need_lc=yes 10158 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10159 # -brtl affects multiple linker settings, -berok does not and is overridden later 10160 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10161 if test svr4 != "$with_aix_soname"; then 10162 # This is similar to how AIX traditionally builds its shared libraries. 10163 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' 10164 fi 10165 if test aix != "$with_aix_soname"; then 10166 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' 10167 else 10168 # used by -dlpreopen to get the symbols 10169 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10170 fi 10171 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10172 fi 10173 fi 10174 ;; 10175 10176 amigaos*) 10177 case $host_cpu in 10178 powerpc) 10179 # see comment about AmigaOS4 .so support 10180 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10181 archive_expsym_cmds='' 10182 ;; 10183 m68k) 10184 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)' 10185 hardcode_libdir_flag_spec='-L$libdir' 10186 hardcode_minus_L=yes 10187 ;; 10188 esac 10189 ;; 10190 10191 bsdi[45]*) 10192 export_dynamic_flag_spec=-rdynamic 10193 ;; 10194 10195 cygwin* | mingw* | pw32* | cegcc*) 10196 # When not using gcc, we currently assume that we are using 10197 # Microsoft Visual C++. 10198 # hardcode_libdir_flag_spec is actually meaningless, as there is 10199 # no search path for DLLs. 10200 case $cc_basename in 10201 cl*) 10202 # Native MSVC 10203 hardcode_libdir_flag_spec=' ' 10204 allow_undefined_flag=unsupported 10205 always_export_symbols=yes 10206 file_list_spec='@' 10207 # Tell ltmain to make .lib files, not .a files. 10208 libext=lib 10209 # Tell ltmain to make .dll files, not .so files. 10210 shrext_cmds=.dll 10211 # FIXME: Setting linknames here is a bad hack. 10212 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10213 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10214 cp "$export_symbols" "$output_objdir/$soname.def"; 10215 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10216 else 10217 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10218 fi~ 10219 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10220 linknames=' 10221 # The linker will not automatically build a static lib if we build a DLL. 10222 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10223 enable_shared_with_static_runtimes=yes 10224 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10225 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10226 # Don't use ranlib 10227 old_postinstall_cmds='chmod 644 $oldlib' 10228 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10229 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10230 case $lt_outputfile in 10231 *.exe|*.EXE) ;; 10232 *) 10233 lt_outputfile=$lt_outputfile.exe 10234 lt_tool_outputfile=$lt_tool_outputfile.exe 10235 ;; 10236 esac~ 10237 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10238 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10239 $RM "$lt_outputfile.manifest"; 10240 fi' 10241 ;; 10242 *) 10243 # Assume MSVC wrapper 10244 hardcode_libdir_flag_spec=' ' 10245 allow_undefined_flag=unsupported 10246 # Tell ltmain to make .lib files, not .a files. 10247 libext=lib 10248 # Tell ltmain to make .dll files, not .so files. 10249 shrext_cmds=.dll 10250 # FIXME: Setting linknames here is a bad hack. 10251 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10252 # The linker will automatically build a .lib file if we build a DLL. 10253 old_archive_from_new_cmds='true' 10254 # FIXME: Should let the user specify the lib program. 10255 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10256 enable_shared_with_static_runtimes=yes 10257 ;; 10258 esac 10259 ;; 10260 10261 darwin* | rhapsody*) 10262 10263 10264 archive_cmds_need_lc=no 10265 hardcode_direct=no 10266 hardcode_automatic=yes 10267 hardcode_shlibpath_var=unsupported 10268 if test yes = "$lt_cv_ld_force_load"; then 10269 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\"`' 10270 10271 else 10272 whole_archive_flag_spec='' 10273 fi 10274 link_all_deplibs=yes 10275 allow_undefined_flag=$_lt_dar_allow_undefined 10276 case $cc_basename in 10277 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10278 *) _lt_dar_can_shared=$GCC ;; 10279 esac 10280 if test yes = "$_lt_dar_can_shared"; then 10281 output_verbose_link_cmd=func_echo_all 10282 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10283 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10284 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" 10285 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" 10286 10287 else 10288 ld_shlibs=no 10289 fi 10290 10291 ;; 10292 10293 dgux*) 10294 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10295 hardcode_libdir_flag_spec='-L$libdir' 10296 hardcode_shlibpath_var=no 10297 ;; 10298 10299 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10300 # support. Future versions do this automatically, but an explicit c++rt0.o 10301 # does not break anything, and helps significantly (at the cost of a little 10302 # extra space). 10303 freebsd2.2*) 10304 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10305 hardcode_libdir_flag_spec='-R$libdir' 10306 hardcode_direct=yes 10307 hardcode_shlibpath_var=no 10308 ;; 10309 10310 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10311 freebsd2.*) 10312 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10313 hardcode_direct=yes 10314 hardcode_minus_L=yes 10315 hardcode_shlibpath_var=no 10316 ;; 10317 10318 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10319 freebsd* | dragonfly*) 10320 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10321 hardcode_libdir_flag_spec='-R$libdir' 10322 hardcode_direct=yes 10323 hardcode_shlibpath_var=no 10324 ;; 10325 10326 hpux9*) 10327 if test yes = "$GCC"; then 10328 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' 10329 else 10330 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' 10331 fi 10332 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10333 hardcode_libdir_separator=: 10334 hardcode_direct=yes 10335 10336 # hardcode_minus_L: Not really in the search PATH, 10337 # but as the default location of the library. 10338 hardcode_minus_L=yes 10339 export_dynamic_flag_spec='$wl-E' 10340 ;; 10341 10342 hpux10*) 10343 if test yes,no = "$GCC,$with_gnu_ld"; then 10344 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10345 else 10346 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10347 fi 10348 if test no = "$with_gnu_ld"; then 10349 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10350 hardcode_libdir_separator=: 10351 hardcode_direct=yes 10352 hardcode_direct_absolute=yes 10353 export_dynamic_flag_spec='$wl-E' 10354 # hardcode_minus_L: Not really in the search PATH, 10355 # but as the default location of the library. 10356 hardcode_minus_L=yes 10357 fi 10358 ;; 10359 10360 hpux11*) 10361 if test yes,no = "$GCC,$with_gnu_ld"; then 10362 case $host_cpu in 10363 hppa*64*) 10364 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10365 ;; 10366 ia64*) 10367 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10368 ;; 10369 *) 10370 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10371 ;; 10372 esac 10373 else 10374 case $host_cpu in 10375 hppa*64*) 10376 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10377 ;; 10378 ia64*) 10379 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10380 ;; 10381 *) 10382 10383 # Older versions of the 11.00 compiler do not understand -b yet 10384 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10386$as_echo_n "checking if $CC understands -b... " >&6; } 10387if ${lt_cv_prog_compiler__b+:} false; then : 10388 $as_echo_n "(cached) " >&6 10389else 10390 lt_cv_prog_compiler__b=no 10391 save_LDFLAGS=$LDFLAGS 10392 LDFLAGS="$LDFLAGS -b" 10393 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10394 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10395 # The linker can only warn and ignore the option if not recognized 10396 # So say no if there are warnings 10397 if test -s conftest.err; then 10398 # Append any errors to the config.log. 10399 cat conftest.err 1>&5 10400 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10401 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10402 if diff conftest.exp conftest.er2 >/dev/null; then 10403 lt_cv_prog_compiler__b=yes 10404 fi 10405 else 10406 lt_cv_prog_compiler__b=yes 10407 fi 10408 fi 10409 $RM -r conftest* 10410 LDFLAGS=$save_LDFLAGS 10411 10412fi 10413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10414$as_echo "$lt_cv_prog_compiler__b" >&6; } 10415 10416if test yes = "$lt_cv_prog_compiler__b"; then 10417 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10418else 10419 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10420fi 10421 10422 ;; 10423 esac 10424 fi 10425 if test no = "$with_gnu_ld"; then 10426 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10427 hardcode_libdir_separator=: 10428 10429 case $host_cpu in 10430 hppa*64*|ia64*) 10431 hardcode_direct=no 10432 hardcode_shlibpath_var=no 10433 ;; 10434 *) 10435 hardcode_direct=yes 10436 hardcode_direct_absolute=yes 10437 export_dynamic_flag_spec='$wl-E' 10438 10439 # hardcode_minus_L: Not really in the search PATH, 10440 # but as the default location of the library. 10441 hardcode_minus_L=yes 10442 ;; 10443 esac 10444 fi 10445 ;; 10446 10447 irix5* | irix6* | nonstopux*) 10448 if test yes = "$GCC"; then 10449 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' 10450 # Try to use the -exported_symbol ld option, if it does not 10451 # work, assume that -exports_file does not work either and 10452 # implicitly export all symbols. 10453 # This should be the same for all languages, so no per-tag cache variable. 10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10455$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10456if ${lt_cv_irix_exported_symbol+:} false; then : 10457 $as_echo_n "(cached) " >&6 10458else 10459 save_LDFLAGS=$LDFLAGS 10460 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10462/* end confdefs.h. */ 10463int foo (void) { return 0; } 10464_ACEOF 10465if ac_fn_c_try_link "$LINENO"; then : 10466 lt_cv_irix_exported_symbol=yes 10467else 10468 lt_cv_irix_exported_symbol=no 10469fi 10470rm -f core conftest.err conftest.$ac_objext \ 10471 conftest$ac_exeext conftest.$ac_ext 10472 LDFLAGS=$save_LDFLAGS 10473fi 10474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10475$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10476 if test yes = "$lt_cv_irix_exported_symbol"; then 10477 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' 10478 fi 10479 else 10480 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' 10481 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' 10482 fi 10483 archive_cmds_need_lc='no' 10484 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10485 hardcode_libdir_separator=: 10486 inherit_rpath=yes 10487 link_all_deplibs=yes 10488 ;; 10489 10490 linux*) 10491 case $cc_basename in 10492 tcc*) 10493 # Fabrice Bellard et al's Tiny C Compiler 10494 ld_shlibs=yes 10495 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10496 ;; 10497 esac 10498 ;; 10499 10500 netbsd*) 10501 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10502 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10503 else 10504 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10505 fi 10506 hardcode_libdir_flag_spec='-R$libdir' 10507 hardcode_direct=yes 10508 hardcode_shlibpath_var=no 10509 ;; 10510 10511 newsos6) 10512 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10513 hardcode_direct=yes 10514 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10515 hardcode_libdir_separator=: 10516 hardcode_shlibpath_var=no 10517 ;; 10518 10519 *nto* | *qnx*) 10520 ;; 10521 10522 openbsd* | bitrig*) 10523 if test -f /usr/libexec/ld.so; then 10524 hardcode_direct=yes 10525 hardcode_shlibpath_var=no 10526 hardcode_direct_absolute=yes 10527 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10528 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10529 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10530 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10531 export_dynamic_flag_spec='$wl-E' 10532 else 10533 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10534 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10535 fi 10536 else 10537 ld_shlibs=no 10538 fi 10539 ;; 10540 10541 os2*) 10542 hardcode_libdir_flag_spec='-L$libdir' 10543 hardcode_minus_L=yes 10544 allow_undefined_flag=unsupported 10545 shrext_cmds=.dll 10546 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10547 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10548 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10549 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10550 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10551 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10552 emximp -o $lib $output_objdir/$libname.def' 10553 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10554 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10555 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10556 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10557 prefix_cmds="$SED"~ 10558 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10559 prefix_cmds="$prefix_cmds -e 1d"; 10560 fi~ 10561 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10562 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10563 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10564 emximp -o $lib $output_objdir/$libname.def' 10565 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10566 enable_shared_with_static_runtimes=yes 10567 ;; 10568 10569 osf3*) 10570 if test yes = "$GCC"; then 10571 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10572 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' 10573 else 10574 allow_undefined_flag=' -expect_unresolved \*' 10575 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' 10576 fi 10577 archive_cmds_need_lc='no' 10578 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10579 hardcode_libdir_separator=: 10580 ;; 10581 10582 osf4* | osf5*) # as osf3* with the addition of -msym flag 10583 if test yes = "$GCC"; then 10584 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10585 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' 10586 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10587 else 10588 allow_undefined_flag=' -expect_unresolved \*' 10589 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' 10590 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~ 10591 $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' 10592 10593 # Both c and cxx compiler support -rpath directly 10594 hardcode_libdir_flag_spec='-rpath $libdir' 10595 fi 10596 archive_cmds_need_lc='no' 10597 hardcode_libdir_separator=: 10598 ;; 10599 10600 solaris*) 10601 no_undefined_flag=' -z defs' 10602 if test yes = "$GCC"; then 10603 wlarc='$wl' 10604 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10605 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10606 $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' 10607 else 10608 case `$CC -V 2>&1` in 10609 *"Compilers 5.0"*) 10610 wlarc='' 10611 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10612 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10613 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10614 ;; 10615 *) 10616 wlarc='$wl' 10617 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10618 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10619 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10620 ;; 10621 esac 10622 fi 10623 hardcode_libdir_flag_spec='-R$libdir' 10624 hardcode_shlibpath_var=no 10625 case $host_os in 10626 solaris2.[0-5] | solaris2.[0-5].*) ;; 10627 *) 10628 # The compiler driver will combine and reorder linker options, 10629 # but understands '-z linker_flag'. GCC discards it without '$wl', 10630 # but is careful enough not to reorder. 10631 # Supported since Solaris 2.6 (maybe 2.5.1?) 10632 if test yes = "$GCC"; then 10633 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10634 else 10635 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10636 fi 10637 ;; 10638 esac 10639 link_all_deplibs=yes 10640 ;; 10641 10642 sunos4*) 10643 if test sequent = "$host_vendor"; then 10644 # Use $CC to link under sequent, because it throws in some extra .o 10645 # files that make .init and .fini sections work. 10646 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10647 else 10648 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10649 fi 10650 hardcode_libdir_flag_spec='-L$libdir' 10651 hardcode_direct=yes 10652 hardcode_minus_L=yes 10653 hardcode_shlibpath_var=no 10654 ;; 10655 10656 sysv4) 10657 case $host_vendor in 10658 sni) 10659 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10660 hardcode_direct=yes # is this really true??? 10661 ;; 10662 siemens) 10663 ## LD is ld it makes a PLAMLIB 10664 ## CC just makes a GrossModule. 10665 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10666 reload_cmds='$CC -r -o $output$reload_objs' 10667 hardcode_direct=no 10668 ;; 10669 motorola) 10670 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10671 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10672 ;; 10673 esac 10674 runpath_var='LD_RUN_PATH' 10675 hardcode_shlibpath_var=no 10676 ;; 10677 10678 sysv4.3*) 10679 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10680 hardcode_shlibpath_var=no 10681 export_dynamic_flag_spec='-Bexport' 10682 ;; 10683 10684 sysv4*MP*) 10685 if test -d /usr/nec; then 10686 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10687 hardcode_shlibpath_var=no 10688 runpath_var=LD_RUN_PATH 10689 hardcode_runpath_var=yes 10690 ld_shlibs=yes 10691 fi 10692 ;; 10693 10694 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10695 no_undefined_flag='$wl-z,text' 10696 archive_cmds_need_lc=no 10697 hardcode_shlibpath_var=no 10698 runpath_var='LD_RUN_PATH' 10699 10700 if test yes = "$GCC"; then 10701 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10702 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10703 else 10704 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10705 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10706 fi 10707 ;; 10708 10709 sysv5* | sco3.2v5* | sco5v6*) 10710 # Note: We CANNOT use -z defs as we might desire, because we do not 10711 # link with -lc, and that would cause any symbols used from libc to 10712 # always be unresolved, which means just about no library would 10713 # ever link correctly. If we're not using GNU ld we use -z text 10714 # though, which does catch some bad symbols but isn't as heavy-handed 10715 # as -z defs. 10716 no_undefined_flag='$wl-z,text' 10717 allow_undefined_flag='$wl-z,nodefs' 10718 archive_cmds_need_lc=no 10719 hardcode_shlibpath_var=no 10720 hardcode_libdir_flag_spec='$wl-R,$libdir' 10721 hardcode_libdir_separator=':' 10722 link_all_deplibs=yes 10723 export_dynamic_flag_spec='$wl-Bexport' 10724 runpath_var='LD_RUN_PATH' 10725 10726 if test yes = "$GCC"; then 10727 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10728 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10729 else 10730 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10731 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10732 fi 10733 ;; 10734 10735 uts4*) 10736 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10737 hardcode_libdir_flag_spec='-L$libdir' 10738 hardcode_shlibpath_var=no 10739 ;; 10740 10741 *) 10742 ld_shlibs=no 10743 ;; 10744 esac 10745 10746 if test sni = "$host_vendor"; then 10747 case $host in 10748 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10749 export_dynamic_flag_spec='$wl-Blargedynsym' 10750 ;; 10751 esac 10752 fi 10753 fi 10754 10755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10756$as_echo "$ld_shlibs" >&6; } 10757test no = "$ld_shlibs" && can_build_shared=no 10758 10759with_gnu_ld=$with_gnu_ld 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775# 10776# Do we need to explicitly link libc? 10777# 10778case "x$archive_cmds_need_lc" in 10779x|xyes) 10780 # Assume -lc should be added 10781 archive_cmds_need_lc=yes 10782 10783 if test yes,yes = "$GCC,$enable_shared"; then 10784 case $archive_cmds in 10785 *'~'*) 10786 # FIXME: we may have to deal with multi-command sequences. 10787 ;; 10788 '$CC '*) 10789 # Test whether the compiler implicitly links with -lc since on some 10790 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10791 # to ld, don't add -lc before -lgcc. 10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10793$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10794if ${lt_cv_archive_cmds_need_lc+:} false; then : 10795 $as_echo_n "(cached) " >&6 10796else 10797 $RM conftest* 10798 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10799 10800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10801 (eval $ac_compile) 2>&5 10802 ac_status=$? 10803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10804 test $ac_status = 0; } 2>conftest.err; then 10805 soname=conftest 10806 lib=conftest 10807 libobjs=conftest.$ac_objext 10808 deplibs= 10809 wl=$lt_prog_compiler_wl 10810 pic_flag=$lt_prog_compiler_pic 10811 compiler_flags=-v 10812 linker_flags=-v 10813 verstring= 10814 output_objdir=. 10815 libname=conftest 10816 lt_save_allow_undefined_flag=$allow_undefined_flag 10817 allow_undefined_flag= 10818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10819 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10820 ac_status=$? 10821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10822 test $ac_status = 0; } 10823 then 10824 lt_cv_archive_cmds_need_lc=no 10825 else 10826 lt_cv_archive_cmds_need_lc=yes 10827 fi 10828 allow_undefined_flag=$lt_save_allow_undefined_flag 10829 else 10830 cat conftest.err 1>&5 10831 fi 10832 $RM conftest* 10833 10834fi 10835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10836$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10837 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10838 ;; 10839 esac 10840 fi 10841 ;; 10842esac 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10996$as_echo_n "checking dynamic linker characteristics... " >&6; } 10997 10998if test yes = "$GCC"; then 10999 case $host_os in 11000 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11001 *) lt_awk_arg='/^libraries:/' ;; 11002 esac 11003 case $host_os in 11004 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11005 *) lt_sed_strip_eq='s|=/|/|g' ;; 11006 esac 11007 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11008 case $lt_search_path_spec in 11009 *\;*) 11010 # if the path contains ";" then we assume it to be the separator 11011 # otherwise default to the standard path separator (i.e. ":") - it is 11012 # assumed that no part of a normal pathname contains ";" but that should 11013 # okay in the real world where ";" in dirpaths is itself problematic. 11014 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11015 ;; 11016 *) 11017 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11018 ;; 11019 esac 11020 # Ok, now we have the path, separated by spaces, we can step through it 11021 # and add multilib dir if necessary... 11022 lt_tmp_lt_search_path_spec= 11023 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11024 # ...but if some path component already ends with the multilib dir we assume 11025 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11026 case "$lt_multi_os_dir; $lt_search_path_spec " in 11027 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11028 lt_multi_os_dir= 11029 ;; 11030 esac 11031 for lt_sys_path in $lt_search_path_spec; do 11032 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11033 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11034 elif test -n "$lt_multi_os_dir"; then 11035 test -d "$lt_sys_path" && \ 11036 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11037 fi 11038 done 11039 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11040BEGIN {RS = " "; FS = "/|\n";} { 11041 lt_foo = ""; 11042 lt_count = 0; 11043 for (lt_i = NF; lt_i > 0; lt_i--) { 11044 if ($lt_i != "" && $lt_i != ".") { 11045 if ($lt_i == "..") { 11046 lt_count++; 11047 } else { 11048 if (lt_count == 0) { 11049 lt_foo = "/" $lt_i lt_foo; 11050 } else { 11051 lt_count--; 11052 } 11053 } 11054 } 11055 } 11056 if (lt_foo != "") { lt_freq[lt_foo]++; } 11057 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11058}'` 11059 # AWK program above erroneously prepends '/' to C:/dos/paths 11060 # for these hosts. 11061 case $host_os in 11062 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11063 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11064 esac 11065 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11066else 11067 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11068fi 11069library_names_spec= 11070libname_spec='lib$name' 11071soname_spec= 11072shrext_cmds=.so 11073postinstall_cmds= 11074postuninstall_cmds= 11075finish_cmds= 11076finish_eval= 11077shlibpath_var= 11078shlibpath_overrides_runpath=unknown 11079version_type=none 11080dynamic_linker="$host_os ld.so" 11081sys_lib_dlsearch_path_spec="/lib /usr/lib" 11082need_lib_prefix=unknown 11083hardcode_into_libs=no 11084 11085# when you set need_version to no, make sure it does not cause -set_version 11086# flags to be left without arguments 11087need_version=unknown 11088 11089 11090 11091case $host_os in 11092aix3*) 11093 version_type=linux # correct to gnu/linux during the next big refactor 11094 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11095 shlibpath_var=LIBPATH 11096 11097 # AIX 3 has no versioning support, so we append a major version to the name. 11098 soname_spec='$libname$release$shared_ext$major' 11099 ;; 11100 11101aix[4-9]*) 11102 version_type=linux # correct to gnu/linux during the next big refactor 11103 need_lib_prefix=no 11104 need_version=no 11105 hardcode_into_libs=yes 11106 if test ia64 = "$host_cpu"; then 11107 # AIX 5 supports IA64 11108 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11109 shlibpath_var=LD_LIBRARY_PATH 11110 else 11111 # With GCC up to 2.95.x, collect2 would create an import file 11112 # for dependence libraries. The import file would start with 11113 # the line '#! .'. This would cause the generated library to 11114 # depend on '.', always an invalid library. This was fixed in 11115 # development snapshots of GCC prior to 3.0. 11116 case $host_os in 11117 aix4 | aix4.[01] | aix4.[01].*) 11118 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11119 echo ' yes ' 11120 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11121 : 11122 else 11123 can_build_shared=no 11124 fi 11125 ;; 11126 esac 11127 # Using Import Files as archive members, it is possible to support 11128 # filename-based versioning of shared library archives on AIX. While 11129 # this would work for both with and without runtime linking, it will 11130 # prevent static linking of such archives. So we do filename-based 11131 # shared library versioning with .so extension only, which is used 11132 # when both runtime linking and shared linking is enabled. 11133 # Unfortunately, runtime linking may impact performance, so we do 11134 # not want this to be the default eventually. Also, we use the 11135 # versioned .so libs for executables only if there is the -brtl 11136 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11137 # To allow for filename-based versioning support, we need to create 11138 # libNAME.so.V as an archive file, containing: 11139 # *) an Import File, referring to the versioned filename of the 11140 # archive as well as the shared archive member, telling the 11141 # bitwidth (32 or 64) of that shared object, and providing the 11142 # list of exported symbols of that shared object, eventually 11143 # decorated with the 'weak' keyword 11144 # *) the shared object with the F_LOADONLY flag set, to really avoid 11145 # it being seen by the linker. 11146 # At run time we better use the real file rather than another symlink, 11147 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11148 11149 case $with_aix_soname,$aix_use_runtimelinking in 11150 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11151 # soname into executable. Probably we can add versioning support to 11152 # collect2, so additional links can be useful in future. 11153 aix,yes) # traditional libtool 11154 dynamic_linker='AIX unversionable lib.so' 11155 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11156 # instead of lib<name>.a to let people know that these are not 11157 # typical AIX shared libraries. 11158 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11159 ;; 11160 aix,no) # traditional AIX only 11161 dynamic_linker='AIX lib.a(lib.so.V)' 11162 # We preserve .a as extension for shared libraries through AIX4.2 11163 # and later when we are not doing run time linking. 11164 library_names_spec='$libname$release.a $libname.a' 11165 soname_spec='$libname$release$shared_ext$major' 11166 ;; 11167 svr4,*) # full svr4 only 11168 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11169 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11170 # We do not specify a path in Import Files, so LIBPATH fires. 11171 shlibpath_overrides_runpath=yes 11172 ;; 11173 *,yes) # both, prefer svr4 11174 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11175 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11176 # unpreferred sharedlib libNAME.a needs extra handling 11177 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"' 11178 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"' 11179 # We do not specify a path in Import Files, so LIBPATH fires. 11180 shlibpath_overrides_runpath=yes 11181 ;; 11182 *,no) # both, prefer aix 11183 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11184 library_names_spec='$libname$release.a $libname.a' 11185 soname_spec='$libname$release$shared_ext$major' 11186 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11187 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)' 11188 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"' 11189 ;; 11190 esac 11191 shlibpath_var=LIBPATH 11192 fi 11193 ;; 11194 11195amigaos*) 11196 case $host_cpu in 11197 powerpc) 11198 # Since July 2007 AmigaOS4 officially supports .so libraries. 11199 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11200 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11201 ;; 11202 m68k) 11203 library_names_spec='$libname.ixlibrary $libname.a' 11204 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11205 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' 11206 ;; 11207 esac 11208 ;; 11209 11210beos*) 11211 library_names_spec='$libname$shared_ext' 11212 dynamic_linker="$host_os ld.so" 11213 shlibpath_var=LIBRARY_PATH 11214 ;; 11215 11216bsdi[45]*) 11217 version_type=linux # correct to gnu/linux during the next big refactor 11218 need_version=no 11219 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11220 soname_spec='$libname$release$shared_ext$major' 11221 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11222 shlibpath_var=LD_LIBRARY_PATH 11223 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11224 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11225 # the default ld.so.conf also contains /usr/contrib/lib and 11226 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11227 # libtool to hard-code these into programs 11228 ;; 11229 11230cygwin* | mingw* | pw32* | cegcc*) 11231 version_type=windows 11232 shrext_cmds=.dll 11233 need_version=no 11234 need_lib_prefix=no 11235 11236 case $GCC,$cc_basename in 11237 yes,*) 11238 # gcc 11239 library_names_spec='$libname.dll.a' 11240 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11241 postinstall_cmds='base_file=`basename \$file`~ 11242 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11243 dldir=$destdir/`dirname \$dlpath`~ 11244 test -d \$dldir || mkdir -p \$dldir~ 11245 $install_prog $dir/$dlname \$dldir/$dlname~ 11246 chmod a+x \$dldir/$dlname~ 11247 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11248 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11249 fi' 11250 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11251 dlpath=$dir/\$dldll~ 11252 $RM \$dlpath' 11253 shlibpath_overrides_runpath=yes 11254 11255 case $host_os in 11256 cygwin*) 11257 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11258 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11259 11260 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11261 ;; 11262 mingw* | cegcc*) 11263 # MinGW DLLs use traditional 'lib' prefix 11264 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11265 ;; 11266 pw32*) 11267 # pw32 DLLs use 'pw' prefix rather than 'lib' 11268 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11269 ;; 11270 esac 11271 dynamic_linker='Win32 ld.exe' 11272 ;; 11273 11274 *,cl*) 11275 # Native MSVC 11276 libname_spec='$name' 11277 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11278 library_names_spec='$libname.dll.lib' 11279 11280 case $build_os in 11281 mingw*) 11282 sys_lib_search_path_spec= 11283 lt_save_ifs=$IFS 11284 IFS=';' 11285 for lt_path in $LIB 11286 do 11287 IFS=$lt_save_ifs 11288 # Let DOS variable expansion print the short 8.3 style file name. 11289 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11290 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11291 done 11292 IFS=$lt_save_ifs 11293 # Convert to MSYS style. 11294 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11295 ;; 11296 cygwin*) 11297 # Convert to unix form, then to dos form, then back to unix form 11298 # but this time dos style (no spaces!) so that the unix form looks 11299 # like /cygdrive/c/PROGRA~1:/cygdr... 11300 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11301 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11302 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11303 ;; 11304 *) 11305 sys_lib_search_path_spec=$LIB 11306 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11307 # It is most probably a Windows format PATH. 11308 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11309 else 11310 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11311 fi 11312 # FIXME: find the short name or the path components, as spaces are 11313 # common. (e.g. "Program Files" -> "PROGRA~1") 11314 ;; 11315 esac 11316 11317 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11318 postinstall_cmds='base_file=`basename \$file`~ 11319 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11320 dldir=$destdir/`dirname \$dlpath`~ 11321 test -d \$dldir || mkdir -p \$dldir~ 11322 $install_prog $dir/$dlname \$dldir/$dlname' 11323 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11324 dlpath=$dir/\$dldll~ 11325 $RM \$dlpath' 11326 shlibpath_overrides_runpath=yes 11327 dynamic_linker='Win32 link.exe' 11328 ;; 11329 11330 *) 11331 # Assume MSVC wrapper 11332 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11333 dynamic_linker='Win32 ld.exe' 11334 ;; 11335 esac 11336 # FIXME: first we should search . and the directory the executable is in 11337 shlibpath_var=PATH 11338 ;; 11339 11340darwin* | rhapsody*) 11341 dynamic_linker="$host_os dyld" 11342 version_type=darwin 11343 need_lib_prefix=no 11344 need_version=no 11345 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11346 soname_spec='$libname$release$major$shared_ext' 11347 shlibpath_overrides_runpath=yes 11348 shlibpath_var=DYLD_LIBRARY_PATH 11349 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11350 11351 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11352 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11353 ;; 11354 11355dgux*) 11356 version_type=linux # correct to gnu/linux during the next big refactor 11357 need_lib_prefix=no 11358 need_version=no 11359 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11360 soname_spec='$libname$release$shared_ext$major' 11361 shlibpath_var=LD_LIBRARY_PATH 11362 ;; 11363 11364freebsd* | dragonfly*) 11365 # DragonFly does not have aout. When/if they implement a new 11366 # versioning mechanism, adjust this. 11367 if test -x /usr/bin/objformat; then 11368 objformat=`/usr/bin/objformat` 11369 else 11370 case $host_os in 11371 freebsd[23].*) objformat=aout ;; 11372 *) objformat=elf ;; 11373 esac 11374 fi 11375 version_type=freebsd-$objformat 11376 case $version_type in 11377 freebsd-elf*) 11378 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11379 soname_spec='$libname$release$shared_ext$major' 11380 need_version=no 11381 need_lib_prefix=no 11382 ;; 11383 freebsd-*) 11384 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11385 need_version=yes 11386 ;; 11387 esac 11388 shlibpath_var=LD_LIBRARY_PATH 11389 case $host_os in 11390 freebsd2.*) 11391 shlibpath_overrides_runpath=yes 11392 ;; 11393 freebsd3.[01]* | freebsdelf3.[01]*) 11394 shlibpath_overrides_runpath=yes 11395 hardcode_into_libs=yes 11396 ;; 11397 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11398 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11399 shlibpath_overrides_runpath=no 11400 hardcode_into_libs=yes 11401 ;; 11402 *) # from 4.6 on, and DragonFly 11403 shlibpath_overrides_runpath=yes 11404 hardcode_into_libs=yes 11405 ;; 11406 esac 11407 ;; 11408 11409haiku*) 11410 version_type=linux # correct to gnu/linux during the next big refactor 11411 need_lib_prefix=no 11412 need_version=no 11413 dynamic_linker="$host_os runtime_loader" 11414 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11415 soname_spec='$libname$release$shared_ext$major' 11416 shlibpath_var=LIBRARY_PATH 11417 shlibpath_overrides_runpath=no 11418 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11419 hardcode_into_libs=yes 11420 ;; 11421 11422hpux9* | hpux10* | hpux11*) 11423 # Give a soname corresponding to the major version so that dld.sl refuses to 11424 # link against other versions. 11425 version_type=sunos 11426 need_lib_prefix=no 11427 need_version=no 11428 case $host_cpu in 11429 ia64*) 11430 shrext_cmds='.so' 11431 hardcode_into_libs=yes 11432 dynamic_linker="$host_os dld.so" 11433 shlibpath_var=LD_LIBRARY_PATH 11434 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11435 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11436 soname_spec='$libname$release$shared_ext$major' 11437 if test 32 = "$HPUX_IA64_MODE"; then 11438 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11439 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11440 else 11441 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11442 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11443 fi 11444 ;; 11445 hppa*64*) 11446 shrext_cmds='.sl' 11447 hardcode_into_libs=yes 11448 dynamic_linker="$host_os dld.sl" 11449 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11450 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11451 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11452 soname_spec='$libname$release$shared_ext$major' 11453 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11454 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11455 ;; 11456 *) 11457 shrext_cmds='.sl' 11458 dynamic_linker="$host_os dld.sl" 11459 shlibpath_var=SHLIB_PATH 11460 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11461 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11462 soname_spec='$libname$release$shared_ext$major' 11463 ;; 11464 esac 11465 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11466 postinstall_cmds='chmod 555 $lib' 11467 # or fails outright, so override atomically: 11468 install_override_mode=555 11469 ;; 11470 11471interix[3-9]*) 11472 version_type=linux # correct to gnu/linux during the next big refactor 11473 need_lib_prefix=no 11474 need_version=no 11475 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11476 soname_spec='$libname$release$shared_ext$major' 11477 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11478 shlibpath_var=LD_LIBRARY_PATH 11479 shlibpath_overrides_runpath=no 11480 hardcode_into_libs=yes 11481 ;; 11482 11483irix5* | irix6* | nonstopux*) 11484 case $host_os in 11485 nonstopux*) version_type=nonstopux ;; 11486 *) 11487 if test yes = "$lt_cv_prog_gnu_ld"; then 11488 version_type=linux # correct to gnu/linux during the next big refactor 11489 else 11490 version_type=irix 11491 fi ;; 11492 esac 11493 need_lib_prefix=no 11494 need_version=no 11495 soname_spec='$libname$release$shared_ext$major' 11496 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11497 case $host_os in 11498 irix5* | nonstopux*) 11499 libsuff= shlibsuff= 11500 ;; 11501 *) 11502 case $LD in # libtool.m4 will add one of these switches to LD 11503 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11504 libsuff= shlibsuff= libmagic=32-bit;; 11505 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11506 libsuff=32 shlibsuff=N32 libmagic=N32;; 11507 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11508 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11509 *) libsuff= shlibsuff= libmagic=never-match;; 11510 esac 11511 ;; 11512 esac 11513 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11514 shlibpath_overrides_runpath=no 11515 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11516 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11517 hardcode_into_libs=yes 11518 ;; 11519 11520# No shared lib support for Linux oldld, aout, or coff. 11521linux*oldld* | linux*aout* | linux*coff*) 11522 dynamic_linker=no 11523 ;; 11524 11525linux*android*) 11526 version_type=none # Android doesn't support versioned libraries. 11527 need_lib_prefix=no 11528 need_version=no 11529 library_names_spec='$libname$release$shared_ext' 11530 soname_spec='$libname$release$shared_ext' 11531 finish_cmds= 11532 shlibpath_var=LD_LIBRARY_PATH 11533 shlibpath_overrides_runpath=yes 11534 11535 # This implies no fast_install, which is unacceptable. 11536 # Some rework will be needed to allow for fast_install 11537 # before this can be enabled. 11538 hardcode_into_libs=yes 11539 11540 dynamic_linker='Android linker' 11541 # Don't embed -rpath directories since the linker doesn't support them. 11542 hardcode_libdir_flag_spec='-L$libdir' 11543 ;; 11544 11545# This must be glibc/ELF. 11546linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11547 version_type=linux # correct to gnu/linux during the next big refactor 11548 need_lib_prefix=no 11549 need_version=no 11550 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11551 soname_spec='$libname$release$shared_ext$major' 11552 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11553 shlibpath_var=LD_LIBRARY_PATH 11554 shlibpath_overrides_runpath=no 11555 11556 # Some binutils ld are patched to set DT_RUNPATH 11557 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11558 $as_echo_n "(cached) " >&6 11559else 11560 lt_cv_shlibpath_overrides_runpath=no 11561 save_LDFLAGS=$LDFLAGS 11562 save_libdir=$libdir 11563 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11564 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11566/* end confdefs.h. */ 11567 11568int 11569main () 11570{ 11571 11572 ; 11573 return 0; 11574} 11575_ACEOF 11576if ac_fn_c_try_link "$LINENO"; then : 11577 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11578 lt_cv_shlibpath_overrides_runpath=yes 11579fi 11580fi 11581rm -f core conftest.err conftest.$ac_objext \ 11582 conftest$ac_exeext conftest.$ac_ext 11583 LDFLAGS=$save_LDFLAGS 11584 libdir=$save_libdir 11585 11586fi 11587 11588 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11589 11590 # This implies no fast_install, which is unacceptable. 11591 # Some rework will be needed to allow for fast_install 11592 # before this can be enabled. 11593 hardcode_into_libs=yes 11594 11595 # Ideally, we could use ldconfig to report *all* directores which are 11596 # searched for libraries, however this is still not possible. Aside from not 11597 # being certain /sbin/ldconfig is available, command 11598 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11599 # even though it is searched at run-time. Try to do the best guess by 11600 # appending ld.so.conf contents (and includes) to the search path. 11601 if test -f /etc/ld.so.conf; then 11602 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' ' '` 11603 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11604 fi 11605 11606 # We used to test for /lib/ld.so.1 and disable shared libraries on 11607 # powerpc, because MkLinux only supported shared libraries with the 11608 # GNU dynamic linker. Since this was broken with cross compilers, 11609 # most powerpc-linux boxes support dynamic linking these days and 11610 # people can always --disable-shared, the test was removed, and we 11611 # assume the GNU/Linux dynamic linker is in use. 11612 dynamic_linker='GNU/Linux ld.so' 11613 ;; 11614 11615netbsd*) 11616 version_type=sunos 11617 need_lib_prefix=no 11618 need_version=no 11619 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11620 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11621 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11622 dynamic_linker='NetBSD (a.out) ld.so' 11623 else 11624 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11625 soname_spec='$libname$release$shared_ext$major' 11626 dynamic_linker='NetBSD ld.elf_so' 11627 fi 11628 shlibpath_var=LD_LIBRARY_PATH 11629 shlibpath_overrides_runpath=yes 11630 hardcode_into_libs=yes 11631 ;; 11632 11633newsos6) 11634 version_type=linux # correct to gnu/linux during the next big refactor 11635 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11636 shlibpath_var=LD_LIBRARY_PATH 11637 shlibpath_overrides_runpath=yes 11638 ;; 11639 11640*nto* | *qnx*) 11641 version_type=qnx 11642 need_lib_prefix=no 11643 need_version=no 11644 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11645 soname_spec='$libname$release$shared_ext$major' 11646 shlibpath_var=LD_LIBRARY_PATH 11647 shlibpath_overrides_runpath=no 11648 hardcode_into_libs=yes 11649 dynamic_linker='ldqnx.so' 11650 ;; 11651 11652openbsd* | bitrig*) 11653 version_type=sunos 11654 sys_lib_dlsearch_path_spec=/usr/lib 11655 need_lib_prefix=no 11656 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11657 need_version=no 11658 else 11659 need_version=yes 11660 fi 11661 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11662 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11663 shlibpath_var=LD_LIBRARY_PATH 11664 shlibpath_overrides_runpath=yes 11665 ;; 11666 11667os2*) 11668 libname_spec='$name' 11669 version_type=windows 11670 shrext_cmds=.dll 11671 need_version=no 11672 need_lib_prefix=no 11673 # OS/2 can only load a DLL with a base name of 8 characters or less. 11674 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11675 v=$($ECHO $release$versuffix | tr -d .-); 11676 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11677 $ECHO $n$v`$shared_ext' 11678 library_names_spec='${libname}_dll.$libext' 11679 dynamic_linker='OS/2 ld.exe' 11680 shlibpath_var=BEGINLIBPATH 11681 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11682 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11683 postinstall_cmds='base_file=`basename \$file`~ 11684 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11685 dldir=$destdir/`dirname \$dlpath`~ 11686 test -d \$dldir || mkdir -p \$dldir~ 11687 $install_prog $dir/$dlname \$dldir/$dlname~ 11688 chmod a+x \$dldir/$dlname~ 11689 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11690 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11691 fi' 11692 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11693 dlpath=$dir/\$dldll~ 11694 $RM \$dlpath' 11695 ;; 11696 11697osf3* | osf4* | osf5*) 11698 version_type=osf 11699 need_lib_prefix=no 11700 need_version=no 11701 soname_spec='$libname$release$shared_ext$major' 11702 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11703 shlibpath_var=LD_LIBRARY_PATH 11704 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11705 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11706 ;; 11707 11708rdos*) 11709 dynamic_linker=no 11710 ;; 11711 11712solaris*) 11713 version_type=linux # correct to gnu/linux during the next big refactor 11714 need_lib_prefix=no 11715 need_version=no 11716 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11717 soname_spec='$libname$release$shared_ext$major' 11718 shlibpath_var=LD_LIBRARY_PATH 11719 shlibpath_overrides_runpath=yes 11720 hardcode_into_libs=yes 11721 # ldd complains unless libraries are executable 11722 postinstall_cmds='chmod +x $lib' 11723 ;; 11724 11725sunos4*) 11726 version_type=sunos 11727 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11728 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11729 shlibpath_var=LD_LIBRARY_PATH 11730 shlibpath_overrides_runpath=yes 11731 if test yes = "$with_gnu_ld"; then 11732 need_lib_prefix=no 11733 fi 11734 need_version=yes 11735 ;; 11736 11737sysv4 | sysv4.3*) 11738 version_type=linux # correct to gnu/linux during the next big refactor 11739 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11740 soname_spec='$libname$release$shared_ext$major' 11741 shlibpath_var=LD_LIBRARY_PATH 11742 case $host_vendor in 11743 sni) 11744 shlibpath_overrides_runpath=no 11745 need_lib_prefix=no 11746 runpath_var=LD_RUN_PATH 11747 ;; 11748 siemens) 11749 need_lib_prefix=no 11750 ;; 11751 motorola) 11752 need_lib_prefix=no 11753 need_version=no 11754 shlibpath_overrides_runpath=no 11755 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11756 ;; 11757 esac 11758 ;; 11759 11760sysv4*MP*) 11761 if test -d /usr/nec; then 11762 version_type=linux # correct to gnu/linux during the next big refactor 11763 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11764 soname_spec='$libname$shared_ext.$major' 11765 shlibpath_var=LD_LIBRARY_PATH 11766 fi 11767 ;; 11768 11769sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11770 version_type=sco 11771 need_lib_prefix=no 11772 need_version=no 11773 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11774 soname_spec='$libname$release$shared_ext$major' 11775 shlibpath_var=LD_LIBRARY_PATH 11776 shlibpath_overrides_runpath=yes 11777 hardcode_into_libs=yes 11778 if test yes = "$with_gnu_ld"; then 11779 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11780 else 11781 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11782 case $host_os in 11783 sco3.2v5*) 11784 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11785 ;; 11786 esac 11787 fi 11788 sys_lib_dlsearch_path_spec='/usr/lib' 11789 ;; 11790 11791tpf*) 11792 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11793 version_type=linux # correct to gnu/linux during the next big refactor 11794 need_lib_prefix=no 11795 need_version=no 11796 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11797 shlibpath_var=LD_LIBRARY_PATH 11798 shlibpath_overrides_runpath=no 11799 hardcode_into_libs=yes 11800 ;; 11801 11802uts4*) 11803 version_type=linux # correct to gnu/linux during the next big refactor 11804 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11805 soname_spec='$libname$release$shared_ext$major' 11806 shlibpath_var=LD_LIBRARY_PATH 11807 ;; 11808 11809*) 11810 dynamic_linker=no 11811 ;; 11812esac 11813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11814$as_echo "$dynamic_linker" >&6; } 11815test no = "$dynamic_linker" && can_build_shared=no 11816 11817variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11818if test yes = "$GCC"; then 11819 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11820fi 11821 11822if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11823 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11824fi 11825 11826if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11827 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11828fi 11829 11830# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11831configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11832 11833# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11834func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11835 11836# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11837configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11936$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11937hardcode_action= 11938if test -n "$hardcode_libdir_flag_spec" || 11939 test -n "$runpath_var" || 11940 test yes = "$hardcode_automatic"; then 11941 11942 # We can hardcode non-existent directories. 11943 if test no != "$hardcode_direct" && 11944 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11945 # have to relink, otherwise we might link with an installed library 11946 # when we should be linking with a yet-to-be-installed one 11947 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11948 test no != "$hardcode_minus_L"; then 11949 # Linking always hardcodes the temporary library directory. 11950 hardcode_action=relink 11951 else 11952 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11953 hardcode_action=immediate 11954 fi 11955else 11956 # We cannot hardcode anything, or else we can only hardcode existing 11957 # directories. 11958 hardcode_action=unsupported 11959fi 11960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11961$as_echo "$hardcode_action" >&6; } 11962 11963if test relink = "$hardcode_action" || 11964 test yes = "$inherit_rpath"; then 11965 # Fast installation is not supported 11966 enable_fast_install=no 11967elif test yes = "$shlibpath_overrides_runpath" || 11968 test no = "$enable_shared"; then 11969 # Fast installation is not necessary 11970 enable_fast_install=needless 11971fi 11972 11973 11974 11975 11976 11977 11978 if test yes != "$enable_dlopen"; then 11979 enable_dlopen=unknown 11980 enable_dlopen_self=unknown 11981 enable_dlopen_self_static=unknown 11982else 11983 lt_cv_dlopen=no 11984 lt_cv_dlopen_libs= 11985 11986 case $host_os in 11987 beos*) 11988 lt_cv_dlopen=load_add_on 11989 lt_cv_dlopen_libs= 11990 lt_cv_dlopen_self=yes 11991 ;; 11992 11993 mingw* | pw32* | cegcc*) 11994 lt_cv_dlopen=LoadLibrary 11995 lt_cv_dlopen_libs= 11996 ;; 11997 11998 cygwin*) 11999 lt_cv_dlopen=dlopen 12000 lt_cv_dlopen_libs= 12001 ;; 12002 12003 darwin*) 12004 # if libdl is installed we need to link against it 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12006$as_echo_n "checking for dlopen in -ldl... " >&6; } 12007if ${ac_cv_lib_dl_dlopen+:} false; then : 12008 $as_echo_n "(cached) " >&6 12009else 12010 ac_check_lib_save_LIBS=$LIBS 12011LIBS="-ldl $LIBS" 12012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12013/* end confdefs.h. */ 12014 12015/* Override any GCC internal prototype to avoid an error. 12016 Use char because int might match the return type of a GCC 12017 builtin and then its argument prototype would still apply. */ 12018#ifdef __cplusplus 12019extern "C" 12020#endif 12021char dlopen (); 12022int 12023main () 12024{ 12025return dlopen (); 12026 ; 12027 return 0; 12028} 12029_ACEOF 12030if ac_fn_c_try_link "$LINENO"; then : 12031 ac_cv_lib_dl_dlopen=yes 12032else 12033 ac_cv_lib_dl_dlopen=no 12034fi 12035rm -f core conftest.err conftest.$ac_objext \ 12036 conftest$ac_exeext conftest.$ac_ext 12037LIBS=$ac_check_lib_save_LIBS 12038fi 12039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12040$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12041if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12042 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12043else 12044 12045 lt_cv_dlopen=dyld 12046 lt_cv_dlopen_libs= 12047 lt_cv_dlopen_self=yes 12048 12049fi 12050 12051 ;; 12052 12053 tpf*) 12054 # Don't try to run any link tests for TPF. We know it's impossible 12055 # because TPF is a cross-compiler, and we know how we open DSOs. 12056 lt_cv_dlopen=dlopen 12057 lt_cv_dlopen_libs= 12058 lt_cv_dlopen_self=no 12059 ;; 12060 12061 *) 12062 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12063if test "x$ac_cv_func_shl_load" = xyes; then : 12064 lt_cv_dlopen=shl_load 12065else 12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12067$as_echo_n "checking for shl_load in -ldld... " >&6; } 12068if ${ac_cv_lib_dld_shl_load+:} false; then : 12069 $as_echo_n "(cached) " >&6 12070else 12071 ac_check_lib_save_LIBS=$LIBS 12072LIBS="-ldld $LIBS" 12073cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12074/* end confdefs.h. */ 12075 12076/* Override any GCC internal prototype to avoid an error. 12077 Use char because int might match the return type of a GCC 12078 builtin and then its argument prototype would still apply. */ 12079#ifdef __cplusplus 12080extern "C" 12081#endif 12082char shl_load (); 12083int 12084main () 12085{ 12086return shl_load (); 12087 ; 12088 return 0; 12089} 12090_ACEOF 12091if ac_fn_c_try_link "$LINENO"; then : 12092 ac_cv_lib_dld_shl_load=yes 12093else 12094 ac_cv_lib_dld_shl_load=no 12095fi 12096rm -f core conftest.err conftest.$ac_objext \ 12097 conftest$ac_exeext conftest.$ac_ext 12098LIBS=$ac_check_lib_save_LIBS 12099fi 12100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12101$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12102if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12103 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12104else 12105 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12106if test "x$ac_cv_func_dlopen" = xyes; then : 12107 lt_cv_dlopen=dlopen 12108else 12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12110$as_echo_n "checking for dlopen in -ldl... " >&6; } 12111if ${ac_cv_lib_dl_dlopen+:} false; then : 12112 $as_echo_n "(cached) " >&6 12113else 12114 ac_check_lib_save_LIBS=$LIBS 12115LIBS="-ldl $LIBS" 12116cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12117/* end confdefs.h. */ 12118 12119/* Override any GCC internal prototype to avoid an error. 12120 Use char because int might match the return type of a GCC 12121 builtin and then its argument prototype would still apply. */ 12122#ifdef __cplusplus 12123extern "C" 12124#endif 12125char dlopen (); 12126int 12127main () 12128{ 12129return dlopen (); 12130 ; 12131 return 0; 12132} 12133_ACEOF 12134if ac_fn_c_try_link "$LINENO"; then : 12135 ac_cv_lib_dl_dlopen=yes 12136else 12137 ac_cv_lib_dl_dlopen=no 12138fi 12139rm -f core conftest.err conftest.$ac_objext \ 12140 conftest$ac_exeext conftest.$ac_ext 12141LIBS=$ac_check_lib_save_LIBS 12142fi 12143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12144$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12145if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12146 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12147else 12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12149$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12150if ${ac_cv_lib_svld_dlopen+:} false; then : 12151 $as_echo_n "(cached) " >&6 12152else 12153 ac_check_lib_save_LIBS=$LIBS 12154LIBS="-lsvld $LIBS" 12155cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12156/* end confdefs.h. */ 12157 12158/* Override any GCC internal prototype to avoid an error. 12159 Use char because int might match the return type of a GCC 12160 builtin and then its argument prototype would still apply. */ 12161#ifdef __cplusplus 12162extern "C" 12163#endif 12164char dlopen (); 12165int 12166main () 12167{ 12168return dlopen (); 12169 ; 12170 return 0; 12171} 12172_ACEOF 12173if ac_fn_c_try_link "$LINENO"; then : 12174 ac_cv_lib_svld_dlopen=yes 12175else 12176 ac_cv_lib_svld_dlopen=no 12177fi 12178rm -f core conftest.err conftest.$ac_objext \ 12179 conftest$ac_exeext conftest.$ac_ext 12180LIBS=$ac_check_lib_save_LIBS 12181fi 12182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12183$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12184if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12185 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12186else 12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12188$as_echo_n "checking for dld_link in -ldld... " >&6; } 12189if ${ac_cv_lib_dld_dld_link+:} false; then : 12190 $as_echo_n "(cached) " >&6 12191else 12192 ac_check_lib_save_LIBS=$LIBS 12193LIBS="-ldld $LIBS" 12194cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12195/* end confdefs.h. */ 12196 12197/* Override any GCC internal prototype to avoid an error. 12198 Use char because int might match the return type of a GCC 12199 builtin and then its argument prototype would still apply. */ 12200#ifdef __cplusplus 12201extern "C" 12202#endif 12203char dld_link (); 12204int 12205main () 12206{ 12207return dld_link (); 12208 ; 12209 return 0; 12210} 12211_ACEOF 12212if ac_fn_c_try_link "$LINENO"; then : 12213 ac_cv_lib_dld_dld_link=yes 12214else 12215 ac_cv_lib_dld_dld_link=no 12216fi 12217rm -f core conftest.err conftest.$ac_objext \ 12218 conftest$ac_exeext conftest.$ac_ext 12219LIBS=$ac_check_lib_save_LIBS 12220fi 12221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12222$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12223if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12224 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12225fi 12226 12227 12228fi 12229 12230 12231fi 12232 12233 12234fi 12235 12236 12237fi 12238 12239 12240fi 12241 12242 ;; 12243 esac 12244 12245 if test no = "$lt_cv_dlopen"; then 12246 enable_dlopen=no 12247 else 12248 enable_dlopen=yes 12249 fi 12250 12251 case $lt_cv_dlopen in 12252 dlopen) 12253 save_CPPFLAGS=$CPPFLAGS 12254 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12255 12256 save_LDFLAGS=$LDFLAGS 12257 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12258 12259 save_LIBS=$LIBS 12260 LIBS="$lt_cv_dlopen_libs $LIBS" 12261 12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12263$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12264if ${lt_cv_dlopen_self+:} false; then : 12265 $as_echo_n "(cached) " >&6 12266else 12267 if test yes = "$cross_compiling"; then : 12268 lt_cv_dlopen_self=cross 12269else 12270 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12271 lt_status=$lt_dlunknown 12272 cat > conftest.$ac_ext <<_LT_EOF 12273#line $LINENO "configure" 12274#include "confdefs.h" 12275 12276#if HAVE_DLFCN_H 12277#include <dlfcn.h> 12278#endif 12279 12280#include <stdio.h> 12281 12282#ifdef RTLD_GLOBAL 12283# define LT_DLGLOBAL RTLD_GLOBAL 12284#else 12285# ifdef DL_GLOBAL 12286# define LT_DLGLOBAL DL_GLOBAL 12287# else 12288# define LT_DLGLOBAL 0 12289# endif 12290#endif 12291 12292/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12293 find out it does not work in some platform. */ 12294#ifndef LT_DLLAZY_OR_NOW 12295# ifdef RTLD_LAZY 12296# define LT_DLLAZY_OR_NOW RTLD_LAZY 12297# else 12298# ifdef DL_LAZY 12299# define LT_DLLAZY_OR_NOW DL_LAZY 12300# else 12301# ifdef RTLD_NOW 12302# define LT_DLLAZY_OR_NOW RTLD_NOW 12303# else 12304# ifdef DL_NOW 12305# define LT_DLLAZY_OR_NOW DL_NOW 12306# else 12307# define LT_DLLAZY_OR_NOW 0 12308# endif 12309# endif 12310# endif 12311# endif 12312#endif 12313 12314/* When -fvisibility=hidden is used, assume the code has been annotated 12315 correspondingly for the symbols needed. */ 12316#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12317int fnord () __attribute__((visibility("default"))); 12318#endif 12319 12320int fnord () { return 42; } 12321int main () 12322{ 12323 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12324 int status = $lt_dlunknown; 12325 12326 if (self) 12327 { 12328 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12329 else 12330 { 12331 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12332 else puts (dlerror ()); 12333 } 12334 /* dlclose (self); */ 12335 } 12336 else 12337 puts (dlerror ()); 12338 12339 return status; 12340} 12341_LT_EOF 12342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12343 (eval $ac_link) 2>&5 12344 ac_status=$? 12345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12346 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12347 (./conftest; exit; ) >&5 2>/dev/null 12348 lt_status=$? 12349 case x$lt_status in 12350 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12351 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12352 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12353 esac 12354 else : 12355 # compilation failed 12356 lt_cv_dlopen_self=no 12357 fi 12358fi 12359rm -fr conftest* 12360 12361 12362fi 12363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12364$as_echo "$lt_cv_dlopen_self" >&6; } 12365 12366 if test yes = "$lt_cv_dlopen_self"; then 12367 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12369$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12370if ${lt_cv_dlopen_self_static+:} false; then : 12371 $as_echo_n "(cached) " >&6 12372else 12373 if test yes = "$cross_compiling"; then : 12374 lt_cv_dlopen_self_static=cross 12375else 12376 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12377 lt_status=$lt_dlunknown 12378 cat > conftest.$ac_ext <<_LT_EOF 12379#line $LINENO "configure" 12380#include "confdefs.h" 12381 12382#if HAVE_DLFCN_H 12383#include <dlfcn.h> 12384#endif 12385 12386#include <stdio.h> 12387 12388#ifdef RTLD_GLOBAL 12389# define LT_DLGLOBAL RTLD_GLOBAL 12390#else 12391# ifdef DL_GLOBAL 12392# define LT_DLGLOBAL DL_GLOBAL 12393# else 12394# define LT_DLGLOBAL 0 12395# endif 12396#endif 12397 12398/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12399 find out it does not work in some platform. */ 12400#ifndef LT_DLLAZY_OR_NOW 12401# ifdef RTLD_LAZY 12402# define LT_DLLAZY_OR_NOW RTLD_LAZY 12403# else 12404# ifdef DL_LAZY 12405# define LT_DLLAZY_OR_NOW DL_LAZY 12406# else 12407# ifdef RTLD_NOW 12408# define LT_DLLAZY_OR_NOW RTLD_NOW 12409# else 12410# ifdef DL_NOW 12411# define LT_DLLAZY_OR_NOW DL_NOW 12412# else 12413# define LT_DLLAZY_OR_NOW 0 12414# endif 12415# endif 12416# endif 12417# endif 12418#endif 12419 12420/* When -fvisibility=hidden is used, assume the code has been annotated 12421 correspondingly for the symbols needed. */ 12422#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12423int fnord () __attribute__((visibility("default"))); 12424#endif 12425 12426int fnord () { return 42; } 12427int main () 12428{ 12429 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12430 int status = $lt_dlunknown; 12431 12432 if (self) 12433 { 12434 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12435 else 12436 { 12437 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12438 else puts (dlerror ()); 12439 } 12440 /* dlclose (self); */ 12441 } 12442 else 12443 puts (dlerror ()); 12444 12445 return status; 12446} 12447_LT_EOF 12448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12449 (eval $ac_link) 2>&5 12450 ac_status=$? 12451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12452 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12453 (./conftest; exit; ) >&5 2>/dev/null 12454 lt_status=$? 12455 case x$lt_status in 12456 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12457 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12458 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12459 esac 12460 else : 12461 # compilation failed 12462 lt_cv_dlopen_self_static=no 12463 fi 12464fi 12465rm -fr conftest* 12466 12467 12468fi 12469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12470$as_echo "$lt_cv_dlopen_self_static" >&6; } 12471 fi 12472 12473 CPPFLAGS=$save_CPPFLAGS 12474 LDFLAGS=$save_LDFLAGS 12475 LIBS=$save_LIBS 12476 ;; 12477 esac 12478 12479 case $lt_cv_dlopen_self in 12480 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12481 *) enable_dlopen_self=unknown ;; 12482 esac 12483 12484 case $lt_cv_dlopen_self_static in 12485 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12486 *) enable_dlopen_self_static=unknown ;; 12487 esac 12488fi 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506striplib= 12507old_striplib= 12508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12509$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12510if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12511 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12512 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12514$as_echo "yes" >&6; } 12515else 12516# FIXME - insert some real tests, host_os isn't really good enough 12517 case $host_os in 12518 darwin*) 12519 if test -n "$STRIP"; then 12520 striplib="$STRIP -x" 12521 old_striplib="$STRIP -S" 12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12523$as_echo "yes" >&6; } 12524 else 12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12526$as_echo "no" >&6; } 12527 fi 12528 ;; 12529 *) 12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12531$as_echo "no" >&6; } 12532 ;; 12533 esac 12534fi 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 # Report what library types will actually be built 12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12549$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12551$as_echo "$can_build_shared" >&6; } 12552 12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12554$as_echo_n "checking whether to build shared libraries... " >&6; } 12555 test no = "$can_build_shared" && enable_shared=no 12556 12557 # On AIX, shared libraries and static libraries use the same namespace, and 12558 # are all built from PIC. 12559 case $host_os in 12560 aix3*) 12561 test yes = "$enable_shared" && enable_static=no 12562 if test -n "$RANLIB"; then 12563 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12564 postinstall_cmds='$RANLIB $lib' 12565 fi 12566 ;; 12567 12568 aix[4-9]*) 12569 if test ia64 != "$host_cpu"; then 12570 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12571 yes,aix,yes) ;; # shared object as lib.so file only 12572 yes,svr4,*) ;; # shared object as lib.so archive member only 12573 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12574 esac 12575 fi 12576 ;; 12577 esac 12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12579$as_echo "$enable_shared" >&6; } 12580 12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12582$as_echo_n "checking whether to build static libraries... " >&6; } 12583 # Make sure either enable_shared or enable_static is yes. 12584 test yes = "$enable_shared" || enable_static=yes 12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12586$as_echo "$enable_static" >&6; } 12587 12588 12589 12590 12591fi 12592ac_ext=c 12593ac_cpp='$CPP $CPPFLAGS' 12594ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12596ac_compiler_gnu=$ac_cv_c_compiler_gnu 12597 12598CC=$lt_save_CC 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 ac_config_commands="$ac_config_commands libtool" 12615 12616 12617 12618 12619# Only expand once: 12620 12621 12622# Check whether --enable-largefile was given. 12623if test "${enable_largefile+set}" = set; then : 12624 enableval=$enable_largefile; 12625fi 12626 12627if test "$enable_largefile" != no; then 12628 12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 12630$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 12631if ${ac_cv_sys_largefile_CC+:} false; then : 12632 $as_echo_n "(cached) " >&6 12633else 12634 ac_cv_sys_largefile_CC=no 12635 if test "$GCC" != yes; then 12636 ac_save_CC=$CC 12637 while :; do 12638 # IRIX 6.2 and later do not support large files by default, 12639 # so use the C compiler's -n32 option if that helps. 12640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12641/* end confdefs.h. */ 12642#include <sys/types.h> 12643 /* Check that off_t can represent 2**63 - 1 correctly. 12644 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12645 since some C++ compilers masquerading as C compilers 12646 incorrectly reject 9223372036854775807. */ 12647#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12648 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12649 && LARGE_OFF_T % 2147483647 == 1) 12650 ? 1 : -1]; 12651int 12652main () 12653{ 12654 12655 ; 12656 return 0; 12657} 12658_ACEOF 12659 if ac_fn_c_try_compile "$LINENO"; then : 12660 break 12661fi 12662rm -f core conftest.err conftest.$ac_objext 12663 CC="$CC -n32" 12664 if ac_fn_c_try_compile "$LINENO"; then : 12665 ac_cv_sys_largefile_CC=' -n32'; break 12666fi 12667rm -f core conftest.err conftest.$ac_objext 12668 break 12669 done 12670 CC=$ac_save_CC 12671 rm -f conftest.$ac_ext 12672 fi 12673fi 12674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 12675$as_echo "$ac_cv_sys_largefile_CC" >&6; } 12676 if test "$ac_cv_sys_largefile_CC" != no; then 12677 CC=$CC$ac_cv_sys_largefile_CC 12678 fi 12679 12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 12681$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 12682if ${ac_cv_sys_file_offset_bits+:} false; then : 12683 $as_echo_n "(cached) " >&6 12684else 12685 while :; do 12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12687/* end confdefs.h. */ 12688#include <sys/types.h> 12689 /* Check that off_t can represent 2**63 - 1 correctly. 12690 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12691 since some C++ compilers masquerading as C compilers 12692 incorrectly reject 9223372036854775807. */ 12693#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12694 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12695 && LARGE_OFF_T % 2147483647 == 1) 12696 ? 1 : -1]; 12697int 12698main () 12699{ 12700 12701 ; 12702 return 0; 12703} 12704_ACEOF 12705if ac_fn_c_try_compile "$LINENO"; then : 12706 ac_cv_sys_file_offset_bits=no; break 12707fi 12708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12710/* end confdefs.h. */ 12711#define _FILE_OFFSET_BITS 64 12712#include <sys/types.h> 12713 /* Check that off_t can represent 2**63 - 1 correctly. 12714 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12715 since some C++ compilers masquerading as C compilers 12716 incorrectly reject 9223372036854775807. */ 12717#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12718 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12719 && LARGE_OFF_T % 2147483647 == 1) 12720 ? 1 : -1]; 12721int 12722main () 12723{ 12724 12725 ; 12726 return 0; 12727} 12728_ACEOF 12729if ac_fn_c_try_compile "$LINENO"; then : 12730 ac_cv_sys_file_offset_bits=64; break 12731fi 12732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12733 ac_cv_sys_file_offset_bits=unknown 12734 break 12735done 12736fi 12737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 12738$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 12739case $ac_cv_sys_file_offset_bits in #( 12740 no | unknown) ;; 12741 *) 12742cat >>confdefs.h <<_ACEOF 12743#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 12744_ACEOF 12745;; 12746esac 12747rm -rf conftest* 12748 if test $ac_cv_sys_file_offset_bits = unknown; then 12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 12750$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 12751if ${ac_cv_sys_large_files+:} false; then : 12752 $as_echo_n "(cached) " >&6 12753else 12754 while :; do 12755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12756/* end confdefs.h. */ 12757#include <sys/types.h> 12758 /* Check that off_t can represent 2**63 - 1 correctly. 12759 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12760 since some C++ compilers masquerading as C compilers 12761 incorrectly reject 9223372036854775807. */ 12762#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12763 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12764 && LARGE_OFF_T % 2147483647 == 1) 12765 ? 1 : -1]; 12766int 12767main () 12768{ 12769 12770 ; 12771 return 0; 12772} 12773_ACEOF 12774if ac_fn_c_try_compile "$LINENO"; then : 12775 ac_cv_sys_large_files=no; break 12776fi 12777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12779/* end confdefs.h. */ 12780#define _LARGE_FILES 1 12781#include <sys/types.h> 12782 /* Check that off_t can represent 2**63 - 1 correctly. 12783 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12784 since some C++ compilers masquerading as C compilers 12785 incorrectly reject 9223372036854775807. */ 12786#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12787 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12788 && LARGE_OFF_T % 2147483647 == 1) 12789 ? 1 : -1]; 12790int 12791main () 12792{ 12793 12794 ; 12795 return 0; 12796} 12797_ACEOF 12798if ac_fn_c_try_compile "$LINENO"; then : 12799 ac_cv_sys_large_files=1; break 12800fi 12801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12802 ac_cv_sys_large_files=unknown 12803 break 12804done 12805fi 12806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 12807$as_echo "$ac_cv_sys_large_files" >&6; } 12808case $ac_cv_sys_large_files in #( 12809 no | unknown) ;; 12810 *) 12811cat >>confdefs.h <<_ACEOF 12812#define _LARGE_FILES $ac_cv_sys_large_files 12813_ACEOF 12814;; 12815esac 12816rm -rf conftest* 12817 fi 12818 12819 12820fi 12821 12822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 12823$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 12824if ${ac_cv_sys_largefile_source+:} false; then : 12825 $as_echo_n "(cached) " >&6 12826else 12827 while :; do 12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12829/* end confdefs.h. */ 12830#include <sys/types.h> /* for off_t */ 12831 #include <stdio.h> 12832int 12833main () 12834{ 12835int (*fp) (FILE *, off_t, int) = fseeko; 12836 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 12837 ; 12838 return 0; 12839} 12840_ACEOF 12841if ac_fn_c_try_link "$LINENO"; then : 12842 ac_cv_sys_largefile_source=no; break 12843fi 12844rm -f core conftest.err conftest.$ac_objext \ 12845 conftest$ac_exeext conftest.$ac_ext 12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12847/* end confdefs.h. */ 12848#define _LARGEFILE_SOURCE 1 12849#include <sys/types.h> /* for off_t */ 12850 #include <stdio.h> 12851int 12852main () 12853{ 12854int (*fp) (FILE *, off_t, int) = fseeko; 12855 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 12856 ; 12857 return 0; 12858} 12859_ACEOF 12860if ac_fn_c_try_link "$LINENO"; then : 12861 ac_cv_sys_largefile_source=1; break 12862fi 12863rm -f core conftest.err conftest.$ac_objext \ 12864 conftest$ac_exeext conftest.$ac_ext 12865 ac_cv_sys_largefile_source=unknown 12866 break 12867done 12868fi 12869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 12870$as_echo "$ac_cv_sys_largefile_source" >&6; } 12871case $ac_cv_sys_largefile_source in #( 12872 no | unknown) ;; 12873 *) 12874cat >>confdefs.h <<_ACEOF 12875#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 12876_ACEOF 12877;; 12878esac 12879rm -rf conftest* 12880 12881# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 12882# in glibc 2.1.3, but that breaks too many other things. 12883# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 12884if test $ac_cv_sys_largefile_source != unknown; then 12885 12886$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h 12887 12888fi 12889 12890ac_header_dirent=no 12891for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 12892 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 12893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 12894$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 12895if eval \${$as_ac_Header+:} false; then : 12896 $as_echo_n "(cached) " >&6 12897else 12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12899/* end confdefs.h. */ 12900#include <sys/types.h> 12901#include <$ac_hdr> 12902 12903int 12904main () 12905{ 12906if ((DIR *) 0) 12907return 0; 12908 ; 12909 return 0; 12910} 12911_ACEOF 12912if ac_fn_c_try_compile "$LINENO"; then : 12913 eval "$as_ac_Header=yes" 12914else 12915 eval "$as_ac_Header=no" 12916fi 12917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12918fi 12919eval ac_res=\$$as_ac_Header 12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 12921$as_echo "$ac_res" >&6; } 12922if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12923 cat >>confdefs.h <<_ACEOF 12924#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 12925_ACEOF 12926 12927ac_header_dirent=$ac_hdr; break 12928fi 12929 12930done 12931# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 12932if test $ac_header_dirent = dirent.h; then 12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 12934$as_echo_n "checking for library containing opendir... " >&6; } 12935if ${ac_cv_search_opendir+:} false; then : 12936 $as_echo_n "(cached) " >&6 12937else 12938 ac_func_search_save_LIBS=$LIBS 12939cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12940/* end confdefs.h. */ 12941 12942/* Override any GCC internal prototype to avoid an error. 12943 Use char because int might match the return type of a GCC 12944 builtin and then its argument prototype would still apply. */ 12945#ifdef __cplusplus 12946extern "C" 12947#endif 12948char opendir (); 12949int 12950main () 12951{ 12952return opendir (); 12953 ; 12954 return 0; 12955} 12956_ACEOF 12957for ac_lib in '' dir; do 12958 if test -z "$ac_lib"; then 12959 ac_res="none required" 12960 else 12961 ac_res=-l$ac_lib 12962 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12963 fi 12964 if ac_fn_c_try_link "$LINENO"; then : 12965 ac_cv_search_opendir=$ac_res 12966fi 12967rm -f core conftest.err conftest.$ac_objext \ 12968 conftest$ac_exeext 12969 if ${ac_cv_search_opendir+:} false; then : 12970 break 12971fi 12972done 12973if ${ac_cv_search_opendir+:} false; then : 12974 12975else 12976 ac_cv_search_opendir=no 12977fi 12978rm conftest.$ac_ext 12979LIBS=$ac_func_search_save_LIBS 12980fi 12981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 12982$as_echo "$ac_cv_search_opendir" >&6; } 12983ac_res=$ac_cv_search_opendir 12984if test "$ac_res" != no; then : 12985 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12986 12987fi 12988 12989else 12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 12991$as_echo_n "checking for library containing opendir... " >&6; } 12992if ${ac_cv_search_opendir+:} false; then : 12993 $as_echo_n "(cached) " >&6 12994else 12995 ac_func_search_save_LIBS=$LIBS 12996cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12997/* end confdefs.h. */ 12998 12999/* Override any GCC internal prototype to avoid an error. 13000 Use char because int might match the return type of a GCC 13001 builtin and then its argument prototype would still apply. */ 13002#ifdef __cplusplus 13003extern "C" 13004#endif 13005char opendir (); 13006int 13007main () 13008{ 13009return opendir (); 13010 ; 13011 return 0; 13012} 13013_ACEOF 13014for ac_lib in '' x; do 13015 if test -z "$ac_lib"; then 13016 ac_res="none required" 13017 else 13018 ac_res=-l$ac_lib 13019 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13020 fi 13021 if ac_fn_c_try_link "$LINENO"; then : 13022 ac_cv_search_opendir=$ac_res 13023fi 13024rm -f core conftest.err conftest.$ac_objext \ 13025 conftest$ac_exeext 13026 if ${ac_cv_search_opendir+:} false; then : 13027 break 13028fi 13029done 13030if ${ac_cv_search_opendir+:} false; then : 13031 13032else 13033 ac_cv_search_opendir=no 13034fi 13035rm conftest.$ac_ext 13036LIBS=$ac_func_search_save_LIBS 13037fi 13038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13039$as_echo "$ac_cv_search_opendir" >&6; } 13040ac_res=$ac_cv_search_opendir 13041if test "$ac_res" != no; then : 13042 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13043 13044fi 13045 13046fi 13047 13048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13049$as_echo_n "checking for ANSI C header files... " >&6; } 13050if ${ac_cv_header_stdc+:} false; then : 13051 $as_echo_n "(cached) " >&6 13052else 13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13054/* end confdefs.h. */ 13055#include <stdlib.h> 13056#include <stdarg.h> 13057#include <string.h> 13058#include <float.h> 13059 13060int 13061main () 13062{ 13063 13064 ; 13065 return 0; 13066} 13067_ACEOF 13068if ac_fn_c_try_compile "$LINENO"; then : 13069 ac_cv_header_stdc=yes 13070else 13071 ac_cv_header_stdc=no 13072fi 13073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13074 13075if test $ac_cv_header_stdc = yes; then 13076 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13078/* end confdefs.h. */ 13079#include <string.h> 13080 13081_ACEOF 13082if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13083 $EGREP "memchr" >/dev/null 2>&1; then : 13084 13085else 13086 ac_cv_header_stdc=no 13087fi 13088rm -f conftest* 13089 13090fi 13091 13092if test $ac_cv_header_stdc = yes; then 13093 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13095/* end confdefs.h. */ 13096#include <stdlib.h> 13097 13098_ACEOF 13099if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13100 $EGREP "free" >/dev/null 2>&1; then : 13101 13102else 13103 ac_cv_header_stdc=no 13104fi 13105rm -f conftest* 13106 13107fi 13108 13109if test $ac_cv_header_stdc = yes; then 13110 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13111 if test "$cross_compiling" = yes; then : 13112 : 13113else 13114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13115/* end confdefs.h. */ 13116#include <ctype.h> 13117#include <stdlib.h> 13118#if ((' ' & 0x0FF) == 0x020) 13119# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13120# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13121#else 13122# define ISLOWER(c) \ 13123 (('a' <= (c) && (c) <= 'i') \ 13124 || ('j' <= (c) && (c) <= 'r') \ 13125 || ('s' <= (c) && (c) <= 'z')) 13126# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13127#endif 13128 13129#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13130int 13131main () 13132{ 13133 int i; 13134 for (i = 0; i < 256; i++) 13135 if (XOR (islower (i), ISLOWER (i)) 13136 || toupper (i) != TOUPPER (i)) 13137 return 2; 13138 return 0; 13139} 13140_ACEOF 13141if ac_fn_c_try_run "$LINENO"; then : 13142 13143else 13144 ac_cv_header_stdc=no 13145fi 13146rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13147 conftest.$ac_objext conftest.beam conftest.$ac_ext 13148fi 13149 13150fi 13151fi 13152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13153$as_echo "$ac_cv_header_stdc" >&6; } 13154if test $ac_cv_header_stdc = yes; then 13155 13156$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13157 13158fi 13159 13160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5 13161$as_echo_n "checking whether closedir returns void... " >&6; } 13162if ${ac_cv_func_closedir_void+:} false; then : 13163 $as_echo_n "(cached) " >&6 13164else 13165 if test "$cross_compiling" = yes; then : 13166 ac_cv_func_closedir_void=yes 13167else 13168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13169/* end confdefs.h. */ 13170$ac_includes_default 13171#include <$ac_header_dirent> 13172#ifndef __cplusplus 13173int closedir (); 13174#endif 13175 13176int 13177main () 13178{ 13179return closedir (opendir (".")) != 0; 13180 ; 13181 return 0; 13182} 13183_ACEOF 13184if ac_fn_c_try_run "$LINENO"; then : 13185 ac_cv_func_closedir_void=no 13186else 13187 ac_cv_func_closedir_void=yes 13188fi 13189rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13190 conftest.$ac_objext conftest.beam conftest.$ac_ext 13191fi 13192 13193fi 13194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5 13195$as_echo "$ac_cv_func_closedir_void" >&6; } 13196if test $ac_cv_func_closedir_void = yes; then 13197 13198$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h 13199 13200fi 13201 13202for ac_header in assert.h float.h limits.h pwd.h stdlib.h sys/param.h 13203do : 13204 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13205ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13206if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13207 cat >>confdefs.h <<_ACEOF 13208#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13209_ACEOF 13210 13211fi 13212 13213done 13214 13215for ac_func in putenv 13216do : 13217 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv" 13218if test "x$ac_cv_func_putenv" = xyes; then : 13219 cat >>confdefs.h <<_ACEOF 13220#define HAVE_PUTENV 1 13221_ACEOF 13222 13223fi 13224done 13225 13226for ac_func in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr 13227do : 13228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13229ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13230if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13231 cat >>confdefs.h <<_ACEOF 13232#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13233_ACEOF 13234 13235fi 13236done 13237 13238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 13239$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 13240if ${ac_cv_c_const+:} false; then : 13241 $as_echo_n "(cached) " >&6 13242else 13243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13244/* end confdefs.h. */ 13245 13246int 13247main () 13248{ 13249 13250#ifndef __cplusplus 13251 /* Ultrix mips cc rejects this sort of thing. */ 13252 typedef int charset[2]; 13253 const charset cs = { 0, 0 }; 13254 /* SunOS 4.1.1 cc rejects this. */ 13255 char const *const *pcpcc; 13256 char **ppc; 13257 /* NEC SVR4.0.2 mips cc rejects this. */ 13258 struct point {int x, y;}; 13259 static struct point const zero = {0,0}; 13260 /* AIX XL C 1.02.0.0 rejects this. 13261 It does not let you subtract one const X* pointer from another in 13262 an arm of an if-expression whose if-part is not a constant 13263 expression */ 13264 const char *g = "string"; 13265 pcpcc = &g + (g ? g-g : 0); 13266 /* HPUX 7.0 cc rejects these. */ 13267 ++pcpcc; 13268 ppc = (char**) pcpcc; 13269 pcpcc = (char const *const *) ppc; 13270 { /* SCO 3.2v4 cc rejects this sort of thing. */ 13271 char tx; 13272 char *t = &tx; 13273 char const *s = 0 ? (char *) 0 : (char const *) 0; 13274 13275 *t++ = 0; 13276 if (s) return 0; 13277 } 13278 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 13279 int x[] = {25, 17}; 13280 const int *foo = &x[0]; 13281 ++foo; 13282 } 13283 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 13284 typedef const int *iptr; 13285 iptr p = 0; 13286 ++p; 13287 } 13288 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 13289 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 13290 struct s { int j; const int *ap[3]; } bx; 13291 struct s *b = &bx; b->j = 5; 13292 } 13293 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 13294 const int foo = 10; 13295 if (!foo) return 0; 13296 } 13297 return !cs[0] && !zero.x; 13298#endif 13299 13300 ; 13301 return 0; 13302} 13303_ACEOF 13304if ac_fn_c_try_compile "$LINENO"; then : 13305 ac_cv_c_const=yes 13306else 13307 ac_cv_c_const=no 13308fi 13309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13310fi 13311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 13312$as_echo "$ac_cv_c_const" >&6; } 13313if test $ac_cv_c_const = no; then 13314 13315$as_echo "#define const /**/" >>confdefs.h 13316 13317fi 13318 13319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 13320$as_echo_n "checking for inline... " >&6; } 13321if ${ac_cv_c_inline+:} false; then : 13322 $as_echo_n "(cached) " >&6 13323else 13324 ac_cv_c_inline=no 13325for ac_kw in inline __inline__ __inline; do 13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13327/* end confdefs.h. */ 13328#ifndef __cplusplus 13329typedef int foo_t; 13330static $ac_kw foo_t static_foo () {return 0; } 13331$ac_kw foo_t foo () {return 0; } 13332#endif 13333 13334_ACEOF 13335if ac_fn_c_try_compile "$LINENO"; then : 13336 ac_cv_c_inline=$ac_kw 13337fi 13338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13339 test "$ac_cv_c_inline" != no && break 13340done 13341 13342fi 13343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 13344$as_echo "$ac_cv_c_inline" >&6; } 13345 13346case $ac_cv_c_inline in 13347 inline | yes) ;; 13348 *) 13349 case $ac_cv_c_inline in 13350 no) ac_val=;; 13351 *) ac_val=$ac_cv_c_inline;; 13352 esac 13353 cat >>confdefs.h <<_ACEOF 13354#ifndef __cplusplus 13355#define inline $ac_val 13356#endif 13357_ACEOF 13358 ;; 13359esac 13360 13361ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 13362if test "x$ac_cv_type_size_t" = xyes; then : 13363 13364else 13365 13366cat >>confdefs.h <<_ACEOF 13367#define size_t unsigned int 13368_ACEOF 13369 13370fi 13371 13372ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 13373case $ac_cv_c_int64_t in #( 13374 no|yes) ;; #( 13375 *) 13376 13377cat >>confdefs.h <<_ACEOF 13378#define int64_t $ac_cv_c_int64_t 13379_ACEOF 13380;; 13381esac 13382 13383ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 13384case $ac_cv_c_uint64_t in #( 13385 no|yes) ;; #( 13386 *) 13387 13388$as_echo "#define _UINT64_T 1" >>confdefs.h 13389 13390 13391cat >>confdefs.h <<_ACEOF 13392#define uint64_t $ac_cv_c_uint64_t 13393_ACEOF 13394;; 13395 esac 13396 13397case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #( 13398 *':no:'*) : 13399 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #( 13400 *) : 13401 ;; 13402esac 13403ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default" 13404if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then : 13405 13406cat >>confdefs.h <<_ACEOF 13407#define HAVE_STRUCT_STAT_ST_MTIM 1 13408_ACEOF 13409 13410 13411fi 13412 13413 13414 13415ac_config_headers="$ac_config_headers c-auto.h:c-auto.in" 13416 13417 13418kpse_save_CPPFLAGS=$CPPFLAGS 13419kpse_save_LIBS=$LIBS 13420 13421## _KPSE_INIT: Initialize TL infrastructure 13422kpse_BLD=`(cd "./../../." && pwd)` 13423kpse_SRC=`(cd "$srcdir/../../." && pwd)` 13424 13425## _KPSE_USE_LIBTOOL: Generate a libtool script for use in configure tests 13426: ${CONFIG_LT=./config.lt} 13427{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 13428$as_echo "$as_me: creating $CONFIG_LT" >&6;} 13429as_write_fail=0 13430cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1 13431#! $SHELL 13432# Generated by $as_me. 13433# Run this file to recreate a libtool stub with the current configuration. 13434SHELL=\${CONFIG_SHELL-$SHELL} 13435export SHELL 13436_ASEOF 13437cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1 13438## -------------------- ## 13439## M4sh Initialization. ## 13440## -------------------- ## 13441 13442# Be more Bourne compatible 13443DUALCASE=1; export DUALCASE # for MKS sh 13444if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13445 emulate sh 13446 NULLCMD=: 13447 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13448 # is contrary to our usage. Disable this feature. 13449 alias -g '${1+"$@"}'='"$@"' 13450 setopt NO_GLOB_SUBST 13451else 13452 case `(set -o) 2>/dev/null` in #( 13453 *posix*) : 13454 set -o posix ;; #( 13455 *) : 13456 ;; 13457esac 13458fi 13459 13460 13461as_nl=' 13462' 13463export as_nl 13464# Printing a long string crashes Solaris 7 /usr/bin/printf. 13465as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13466as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13467as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13468# Prefer a ksh shell builtin over an external printf program on Solaris, 13469# but without wasting forks for bash or zsh. 13470if test -z "$BASH_VERSION$ZSH_VERSION" \ 13471 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13472 as_echo='print -r --' 13473 as_echo_n='print -rn --' 13474elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13475 as_echo='printf %s\n' 13476 as_echo_n='printf %s' 13477else 13478 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13479 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13480 as_echo_n='/usr/ucb/echo -n' 13481 else 13482 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13483 as_echo_n_body='eval 13484 arg=$1; 13485 case $arg in #( 13486 *"$as_nl"*) 13487 expr "X$arg" : "X\\(.*\\)$as_nl"; 13488 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13489 esac; 13490 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13491 ' 13492 export as_echo_n_body 13493 as_echo_n='sh -c $as_echo_n_body as_echo' 13494 fi 13495 export as_echo_body 13496 as_echo='sh -c $as_echo_body as_echo' 13497fi 13498 13499# The user is always right. 13500if test "${PATH_SEPARATOR+set}" != set; then 13501 PATH_SEPARATOR=: 13502 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13503 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13504 PATH_SEPARATOR=';' 13505 } 13506fi 13507 13508 13509# IFS 13510# We need space, tab and new line, in precisely that order. Quoting is 13511# there to prevent editors from complaining about space-tab. 13512# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13513# splitting by setting IFS to empty value.) 13514IFS=" "" $as_nl" 13515 13516# Find who we are. Look in the path if we contain no directory separator. 13517as_myself= 13518case $0 in #(( 13519 *[\\/]* ) as_myself=$0 ;; 13520 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13521for as_dir in $PATH 13522do 13523 IFS=$as_save_IFS 13524 test -z "$as_dir" && as_dir=. 13525 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13526 done 13527IFS=$as_save_IFS 13528 13529 ;; 13530esac 13531# We did not find ourselves, most probably we were run as `sh COMMAND' 13532# in which case we are not to be found in the path. 13533if test "x$as_myself" = x; then 13534 as_myself=$0 13535fi 13536if test ! -f "$as_myself"; then 13537 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13538 exit 1 13539fi 13540 13541# Unset variables that we do not need and which cause bugs (e.g. in 13542# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13543# suppresses any "Segmentation fault" message there. '((' could 13544# trigger a bug in pdksh 5.2.14. 13545for as_var in BASH_ENV ENV MAIL MAILPATH 13546do eval test x\${$as_var+set} = xset \ 13547 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13548done 13549PS1='$ ' 13550PS2='> ' 13551PS4='+ ' 13552 13553# NLS nuisances. 13554LC_ALL=C 13555export LC_ALL 13556LANGUAGE=C 13557export LANGUAGE 13558 13559# CDPATH. 13560(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13561 13562 13563# as_fn_error STATUS ERROR [LINENO LOG_FD] 13564# ---------------------------------------- 13565# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13566# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13567# script with STATUS, using 1 if that was 0. 13568as_fn_error () 13569{ 13570 as_status=$1; test $as_status -eq 0 && as_status=1 13571 if test "$4"; then 13572 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13573 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13574 fi 13575 $as_echo "$as_me: error: $2" >&2 13576 as_fn_exit $as_status 13577} # as_fn_error 13578 13579 13580# as_fn_set_status STATUS 13581# ----------------------- 13582# Set $? to STATUS, without forking. 13583as_fn_set_status () 13584{ 13585 return $1 13586} # as_fn_set_status 13587 13588# as_fn_exit STATUS 13589# ----------------- 13590# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13591as_fn_exit () 13592{ 13593 set +e 13594 as_fn_set_status $1 13595 exit $1 13596} # as_fn_exit 13597 13598# as_fn_unset VAR 13599# --------------- 13600# Portably unset VAR. 13601as_fn_unset () 13602{ 13603 { eval $1=; unset $1;} 13604} 13605as_unset=as_fn_unset 13606# as_fn_append VAR VALUE 13607# ---------------------- 13608# Append the text in VALUE to the end of the definition contained in VAR. Take 13609# advantage of any shell optimizations that allow amortized linear growth over 13610# repeated appends, instead of the typical quadratic growth present in naive 13611# implementations. 13612if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13613 eval 'as_fn_append () 13614 { 13615 eval $1+=\$2 13616 }' 13617else 13618 as_fn_append () 13619 { 13620 eval $1=\$$1\$2 13621 } 13622fi # as_fn_append 13623 13624# as_fn_arith ARG... 13625# ------------------ 13626# Perform arithmetic evaluation on the ARGs, and store the result in the 13627# global $as_val. Take advantage of shells that can avoid forks. The arguments 13628# must be portable across $(()) and expr. 13629if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13630 eval 'as_fn_arith () 13631 { 13632 as_val=$(( $* )) 13633 }' 13634else 13635 as_fn_arith () 13636 { 13637 as_val=`expr "$@" || test $? -eq 1` 13638 } 13639fi # as_fn_arith 13640 13641 13642if expr a : '\(a\)' >/dev/null 2>&1 && 13643 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13644 as_expr=expr 13645else 13646 as_expr=false 13647fi 13648 13649if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13650 as_basename=basename 13651else 13652 as_basename=false 13653fi 13654 13655if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13656 as_dirname=dirname 13657else 13658 as_dirname=false 13659fi 13660 13661as_me=`$as_basename -- "$0" || 13662$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13663 X"$0" : 'X\(//\)$' \| \ 13664 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13665$as_echo X/"$0" | 13666 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13667 s//\1/ 13668 q 13669 } 13670 /^X\/\(\/\/\)$/{ 13671 s//\1/ 13672 q 13673 } 13674 /^X\/\(\/\).*/{ 13675 s//\1/ 13676 q 13677 } 13678 s/.*/./; q'` 13679 13680# Avoid depending upon Character Ranges. 13681as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13682as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13683as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13684as_cr_digits='0123456789' 13685as_cr_alnum=$as_cr_Letters$as_cr_digits 13686 13687ECHO_C= ECHO_N= ECHO_T= 13688case `echo -n x` in #((((( 13689-n*) 13690 case `echo 'xy\c'` in 13691 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13692 xy) ECHO_C='\c';; 13693 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13694 ECHO_T=' ';; 13695 esac;; 13696*) 13697 ECHO_N='-n';; 13698esac 13699 13700rm -f conf$$ conf$$.exe conf$$.file 13701if test -d conf$$.dir; then 13702 rm -f conf$$.dir/conf$$.file 13703else 13704 rm -f conf$$.dir 13705 mkdir conf$$.dir 2>/dev/null 13706fi 13707if (echo >conf$$.file) 2>/dev/null; then 13708 if ln -s conf$$.file conf$$ 2>/dev/null; then 13709 as_ln_s='ln -s' 13710 # ... but there are two gotchas: 13711 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13712 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13713 # In both cases, we have to default to `cp -pR'. 13714 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13715 as_ln_s='cp -pR' 13716 elif ln conf$$.file conf$$ 2>/dev/null; then 13717 as_ln_s=ln 13718 else 13719 as_ln_s='cp -pR' 13720 fi 13721else 13722 as_ln_s='cp -pR' 13723fi 13724rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13725rmdir conf$$.dir 2>/dev/null 13726 13727 13728# as_fn_mkdir_p 13729# ------------- 13730# Create "$as_dir" as a directory, including parents if necessary. 13731as_fn_mkdir_p () 13732{ 13733 13734 case $as_dir in #( 13735 -*) as_dir=./$as_dir;; 13736 esac 13737 test -d "$as_dir" || eval $as_mkdir_p || { 13738 as_dirs= 13739 while :; do 13740 case $as_dir in #( 13741 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13742 *) as_qdir=$as_dir;; 13743 esac 13744 as_dirs="'$as_qdir' $as_dirs" 13745 as_dir=`$as_dirname -- "$as_dir" || 13746$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13747 X"$as_dir" : 'X\(//\)[^/]' \| \ 13748 X"$as_dir" : 'X\(//\)$' \| \ 13749 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13750$as_echo X"$as_dir" | 13751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13752 s//\1/ 13753 q 13754 } 13755 /^X\(\/\/\)[^/].*/{ 13756 s//\1/ 13757 q 13758 } 13759 /^X\(\/\/\)$/{ 13760 s//\1/ 13761 q 13762 } 13763 /^X\(\/\).*/{ 13764 s//\1/ 13765 q 13766 } 13767 s/.*/./; q'` 13768 test -d "$as_dir" && break 13769 done 13770 test -z "$as_dirs" || eval "mkdir $as_dirs" 13771 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13772 13773 13774} # as_fn_mkdir_p 13775if mkdir -p . 2>/dev/null; then 13776 as_mkdir_p='mkdir -p "$as_dir"' 13777else 13778 test -d ./-p && rmdir ./-p 13779 as_mkdir_p=false 13780fi 13781 13782 13783# as_fn_executable_p FILE 13784# ----------------------- 13785# Test if FILE is an executable regular file. 13786as_fn_executable_p () 13787{ 13788 test -f "$1" && test -x "$1" 13789} # as_fn_executable_p 13790as_test_x='test -x' 13791as_executable_p=as_fn_executable_p 13792 13793# Sed expression to map a string onto a valid CPP name. 13794as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13795 13796# Sed expression to map a string onto a valid variable name. 13797as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13798 13799 13800exec 6>&1 13801## --------------------------------- ## 13802## Main body of "$CONFIG_LT" script. ## 13803## --------------------------------- ## 13804_ASEOF 13805test $as_write_fail = 0 && chmod +x "$CONFIG_LT" 13806 13807cat >>"$CONFIG_LT" <<\_LTEOF 13808lt_cl_silent=false 13809exec 5>>config.log 13810{ 13811 echo 13812 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13813## Running $as_me. ## 13814_ASBOX 13815} >&5 13816 13817lt_cl_help="\ 13818'$as_me' creates a local libtool stub from the current configuration, 13819for use in further configure time tests before the real libtool is 13820generated. 13821 13822Usage: $0 [OPTIONS] 13823 13824 -h, --help print this help, then exit 13825 -V, --version print version number, then exit 13826 -q, --quiet do not print progress messages 13827 -d, --debug don't remove temporary files 13828 13829Report bugs to <bug-libtool@gnu.org>." 13830 13831lt_cl_version="\ 13832dvi2tty (TeX Live) config.lt 5.3.4 13833configured by $0, generated by GNU Autoconf 2.69. 13834 13835Copyright (C) 2011 Free Software Foundation, Inc. 13836This config.lt script is free software; the Free Software Foundation 13837gives unlimited permision to copy, distribute and modify it." 13838 13839while test 0 != $# 13840do 13841 case $1 in 13842 --version | --v* | -V ) 13843 echo "$lt_cl_version"; exit 0 ;; 13844 --help | --h* | -h ) 13845 echo "$lt_cl_help"; exit 0 ;; 13846 --debug | --d* | -d ) 13847 debug=: ;; 13848 --quiet | --q* | --silent | --s* | -q ) 13849 lt_cl_silent=: ;; 13850 13851 -*) as_fn_error $? "unrecognized option: $1 13852Try '$0 --help' for more information." "$LINENO" 5 ;; 13853 13854 *) as_fn_error $? "unrecognized argument: $1 13855Try '$0 --help' for more information." "$LINENO" 5 ;; 13856 esac 13857 shift 13858done 13859 13860if $lt_cl_silent; then 13861 exec 6>/dev/null 13862fi 13863_LTEOF 13864 13865cat >>"$CONFIG_LT" <<_LTEOF 13866 13867 13868# The HP-UX ksh and POSIX shell print the target directory to stdout 13869# if CDPATH is set. 13870(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13871 13872sed_quote_subst='$sed_quote_subst' 13873double_quote_subst='$double_quote_subst' 13874delay_variable_subst='$delay_variable_subst' 13875macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13876macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13877AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 13878DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13879OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13880enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13881enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13882pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13883enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13884shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 13885SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13886ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13887PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13888host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13889host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13890host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13891build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13892build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13893build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13894SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13895Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13896GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13897EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13898FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13899LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13900NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13901LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13902max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13903ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13904exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13905lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13906lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13907lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13908lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13909lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13910reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13911reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13912deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13913file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13914file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13915want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13916sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13917AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13918AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13919archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13920STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13921RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13922old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13923old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13924old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13925lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13926CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13927CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13928compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13929GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13930lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13931lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13932lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 13933lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13934lt_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"`' 13935lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 13936nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13937lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13938lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 13939objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13940MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13941lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13942lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13943lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13944lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13945lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13946need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13947MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13948DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13949NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13950LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13951OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13952OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13953libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13954shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13955extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13956archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13957enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13958export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13959whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13960compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13961old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13962old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13963archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13964archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13965module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13966module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13967with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13968allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13969no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13970hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13971hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13972hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13973hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13974hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13975hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13976hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13977inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13978link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13979always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13980export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13981exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13982include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13983prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13984postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13985file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13986variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13987need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13988need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13989version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13990runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13991shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13992shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13993libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13994library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13995soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13996install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13997postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13998postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13999finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14000finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14001hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14002sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14003configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 14004configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 14005hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14006enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14007enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14008enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14009old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14010striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14011 14012LTCC='$LTCC' 14013LTCFLAGS='$LTCFLAGS' 14014compiler='$compiler_DEFAULT' 14015 14016# A function that is used when there is no print builtin or printf. 14017func_fallback_echo () 14018{ 14019 eval 'cat <<_LTECHO_EOF 14020\$1 14021_LTECHO_EOF' 14022} 14023 14024# Quote evaled strings. 14025for var in AS \ 14026DLLTOOL \ 14027OBJDUMP \ 14028SHELL \ 14029ECHO \ 14030PATH_SEPARATOR \ 14031SED \ 14032GREP \ 14033EGREP \ 14034FGREP \ 14035LD \ 14036NM \ 14037LN_S \ 14038lt_SP2NL \ 14039lt_NL2SP \ 14040reload_flag \ 14041deplibs_check_method \ 14042file_magic_cmd \ 14043file_magic_glob \ 14044want_nocaseglob \ 14045sharedlib_from_linklib_cmd \ 14046AR \ 14047AR_FLAGS \ 14048archiver_list_spec \ 14049STRIP \ 14050RANLIB \ 14051CC \ 14052CFLAGS \ 14053compiler \ 14054lt_cv_sys_global_symbol_pipe \ 14055lt_cv_sys_global_symbol_to_cdecl \ 14056lt_cv_sys_global_symbol_to_import \ 14057lt_cv_sys_global_symbol_to_c_name_address \ 14058lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14059lt_cv_nm_interface \ 14060nm_file_list_spec \ 14061lt_cv_truncate_bin \ 14062lt_prog_compiler_no_builtin_flag \ 14063lt_prog_compiler_pic \ 14064lt_prog_compiler_wl \ 14065lt_prog_compiler_static \ 14066lt_cv_prog_compiler_c_o \ 14067need_locks \ 14068MANIFEST_TOOL \ 14069DSYMUTIL \ 14070NMEDIT \ 14071LIPO \ 14072OTOOL \ 14073OTOOL64 \ 14074shrext_cmds \ 14075export_dynamic_flag_spec \ 14076whole_archive_flag_spec \ 14077compiler_needs_object \ 14078with_gnu_ld \ 14079allow_undefined_flag \ 14080no_undefined_flag \ 14081hardcode_libdir_flag_spec \ 14082hardcode_libdir_separator \ 14083exclude_expsyms \ 14084include_expsyms \ 14085file_list_spec \ 14086variables_saved_for_relink \ 14087libname_spec \ 14088library_names_spec \ 14089soname_spec \ 14090install_override_mode \ 14091finish_eval \ 14092old_striplib \ 14093striplib; do 14094 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14095 *[\\\\\\\`\\"\\\$]*) 14096 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14097 ;; 14098 *) 14099 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14100 ;; 14101 esac 14102done 14103 14104# Double-quote double-evaled strings. 14105for var in reload_cmds \ 14106old_postinstall_cmds \ 14107old_postuninstall_cmds \ 14108old_archive_cmds \ 14109extract_expsyms_cmds \ 14110old_archive_from_new_cmds \ 14111old_archive_from_expsyms_cmds \ 14112archive_cmds \ 14113archive_expsym_cmds \ 14114module_cmds \ 14115module_expsym_cmds \ 14116export_symbols_cmds \ 14117prelink_cmds \ 14118postlink_cmds \ 14119postinstall_cmds \ 14120postuninstall_cmds \ 14121finish_cmds \ 14122sys_lib_search_path_spec \ 14123configure_time_dlsearch_path \ 14124configure_time_lt_sys_library_path; do 14125 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14126 *[\\\\\\\`\\"\\\$]*) 14127 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14128 ;; 14129 *) 14130 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14131 ;; 14132 esac 14133done 14134 14135ac_aux_dir='$ac_aux_dir' 14136 14137# See if we are running on zsh, and set the options that allow our 14138# commands through without removal of \ escapes INIT. 14139if test -n "\${ZSH_VERSION+set}"; then 14140 setopt NO_GLOB_SUBST 14141fi 14142 14143 14144 PACKAGE='$PACKAGE' 14145 VERSION='$VERSION' 14146 RM='$RM' 14147 ofile='$ofile' 14148 14149 14150 14151_LTEOF 14152 14153cat >>"$CONFIG_LT" <<\_LTEOF 14154{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 14155$as_echo "$as_me: creating $ofile" >&6;} 14156 14157 14158 # See if we are running on zsh, and set the options that allow our 14159 # commands through without removal of \ escapes. 14160 if test -n "${ZSH_VERSION+set}"; then 14161 setopt NO_GLOB_SUBST 14162 fi 14163 14164 cfgfile=${ofile}T 14165 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14166 $RM "$cfgfile" 14167 14168 cat <<_LT_EOF >> "$cfgfile" 14169#! $SHELL 14170# Generated automatically by $as_me ($PACKAGE) $VERSION 14171# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14172# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14173 14174# Provide generalized library-building support services. 14175# Written by Gordon Matzigkeit, 1996 14176 14177# Copyright (C) 2014 Free Software Foundation, Inc. 14178# This is free software; see the source for copying conditions. There is NO 14179# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14180 14181# GNU Libtool is free software; you can redistribute it and/or modify 14182# it under the terms of the GNU General Public License as published by 14183# the Free Software Foundation; either version 2 of of the License, or 14184# (at your option) any later version. 14185# 14186# As a special exception to the GNU General Public License, if you 14187# distribute this file as part of a program or library that is built 14188# using GNU Libtool, you may include this file under the same 14189# distribution terms that you use for the rest of that program. 14190# 14191# GNU Libtool is distributed in the hope that it will be useful, but 14192# WITHOUT ANY WARRANTY; without even the implied warranty of 14193# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14194# GNU General Public License for more details. 14195# 14196# You should have received a copy of the GNU General Public License 14197# along with this program. If not, see <http://www.gnu.org/licenses/>. 14198 14199 14200# The names of the tagged configurations supported by this script. 14201available_tags='' 14202 14203# Configured defaults for sys_lib_dlsearch_path munging. 14204: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 14205 14206# ### BEGIN LIBTOOL CONFIG 14207 14208# Which release of libtool.m4 was used? 14209macro_version=$macro_version 14210macro_revision=$macro_revision 14211 14212# Assembler program. 14213AS=$lt_AS 14214 14215# DLL creation program. 14216DLLTOOL=$lt_DLLTOOL 14217 14218# Object dumper program. 14219OBJDUMP=$lt_OBJDUMP 14220 14221# Whether or not to build shared libraries. 14222build_libtool_libs=$enable_shared 14223 14224# Whether or not to build static libraries. 14225build_old_libs=$enable_static 14226 14227# What type of objects to build. 14228pic_mode=$pic_mode 14229 14230# Whether or not to optimize for fast installation. 14231fast_install=$enable_fast_install 14232 14233# Shared archive member basename,for filename based shared library versioning on AIX. 14234shared_archive_member_spec=$shared_archive_member_spec 14235 14236# Shell to use when invoking shell scripts. 14237SHELL=$lt_SHELL 14238 14239# An echo program that protects backslashes. 14240ECHO=$lt_ECHO 14241 14242# The PATH separator for the build system. 14243PATH_SEPARATOR=$lt_PATH_SEPARATOR 14244 14245# The host system. 14246host_alias=$host_alias 14247host=$host 14248host_os=$host_os 14249 14250# The build system. 14251build_alias=$build_alias 14252build=$build 14253build_os=$build_os 14254 14255# A sed program that does not truncate output. 14256SED=$lt_SED 14257 14258# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14259Xsed="\$SED -e 1s/^X//" 14260 14261# A grep program that handles long lines. 14262GREP=$lt_GREP 14263 14264# An ERE matcher. 14265EGREP=$lt_EGREP 14266 14267# A literal string matcher. 14268FGREP=$lt_FGREP 14269 14270# A BSD- or MS-compatible name lister. 14271NM=$lt_NM 14272 14273# Whether we need soft or hard links. 14274LN_S=$lt_LN_S 14275 14276# What is the maximum length of a command? 14277max_cmd_len=$max_cmd_len 14278 14279# Object file suffix (normally "o"). 14280objext=$ac_objext 14281 14282# Executable file suffix (normally ""). 14283exeext=$exeext 14284 14285# whether the shell understands "unset". 14286lt_unset=$lt_unset 14287 14288# turn spaces into newlines. 14289SP2NL=$lt_lt_SP2NL 14290 14291# turn newlines into spaces. 14292NL2SP=$lt_lt_NL2SP 14293 14294# convert \$build file names to \$host format. 14295to_host_file_cmd=$lt_cv_to_host_file_cmd 14296 14297# convert \$build files to toolchain format. 14298to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14299 14300# Method to check whether dependent libraries are shared objects. 14301deplibs_check_method=$lt_deplibs_check_method 14302 14303# Command to use when deplibs_check_method = "file_magic". 14304file_magic_cmd=$lt_file_magic_cmd 14305 14306# How to find potential files when deplibs_check_method = "file_magic". 14307file_magic_glob=$lt_file_magic_glob 14308 14309# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14310want_nocaseglob=$lt_want_nocaseglob 14311 14312# Command to associate shared and link libraries. 14313sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14314 14315# The archiver. 14316AR=$lt_AR 14317 14318# Flags to create an archive. 14319AR_FLAGS=$lt_AR_FLAGS 14320 14321# How to feed a file listing to the archiver. 14322archiver_list_spec=$lt_archiver_list_spec 14323 14324# A symbol stripping program. 14325STRIP=$lt_STRIP 14326 14327# Commands used to install an old-style archive. 14328RANLIB=$lt_RANLIB 14329old_postinstall_cmds=$lt_old_postinstall_cmds 14330old_postuninstall_cmds=$lt_old_postuninstall_cmds 14331 14332# Whether to use a lock for old archive extraction. 14333lock_old_archive_extraction=$lock_old_archive_extraction 14334 14335# A C compiler. 14336LTCC=$lt_CC 14337 14338# LTCC compiler flags. 14339LTCFLAGS=$lt_CFLAGS 14340 14341# Take the output of nm and produce a listing of raw symbols and C names. 14342global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14343 14344# Transform the output of nm in a proper C declaration. 14345global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14346 14347# Transform the output of nm into a list of symbols to manually relocate. 14348global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 14349 14350# Transform the output of nm in a C name address pair. 14351global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14352 14353# Transform the output of nm in a C name address pair when lib prefix is needed. 14354global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14355 14356# The name lister interface. 14357nm_interface=$lt_lt_cv_nm_interface 14358 14359# Specify filename containing input files for \$NM. 14360nm_file_list_spec=$lt_nm_file_list_spec 14361 14362# The root where to search for dependent libraries,and where our libraries should be installed. 14363lt_sysroot=$lt_sysroot 14364 14365# Command to truncate a binary pipe. 14366lt_truncate_bin=$lt_lt_cv_truncate_bin 14367 14368# The name of the directory that contains temporary libtool files. 14369objdir=$objdir 14370 14371# Used to examine libraries when file_magic_cmd begins with "file". 14372MAGIC_CMD=$MAGIC_CMD 14373 14374# Must we lock files when doing compilation? 14375need_locks=$lt_need_locks 14376 14377# Manifest tool. 14378MANIFEST_TOOL=$lt_MANIFEST_TOOL 14379 14380# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14381DSYMUTIL=$lt_DSYMUTIL 14382 14383# Tool to change global to local symbols on Mac OS X. 14384NMEDIT=$lt_NMEDIT 14385 14386# Tool to manipulate fat objects and archives on Mac OS X. 14387LIPO=$lt_LIPO 14388 14389# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14390OTOOL=$lt_OTOOL 14391 14392# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14393OTOOL64=$lt_OTOOL64 14394 14395# Old archive suffix (normally "a"). 14396libext=$libext 14397 14398# Shared library suffix (normally ".so"). 14399shrext_cmds=$lt_shrext_cmds 14400 14401# The commands to extract the exported symbol list from a shared archive. 14402extract_expsyms_cmds=$lt_extract_expsyms_cmds 14403 14404# Variables whose values should be saved in libtool wrapper scripts and 14405# restored at link time. 14406variables_saved_for_relink=$lt_variables_saved_for_relink 14407 14408# Do we need the "lib" prefix for modules? 14409need_lib_prefix=$need_lib_prefix 14410 14411# Do we need a version for libraries? 14412need_version=$need_version 14413 14414# Library versioning type. 14415version_type=$version_type 14416 14417# Shared library runtime path variable. 14418runpath_var=$runpath_var 14419 14420# Shared library path variable. 14421shlibpath_var=$shlibpath_var 14422 14423# Is shlibpath searched before the hard-coded library search path? 14424shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14425 14426# Format of library name prefix. 14427libname_spec=$lt_libname_spec 14428 14429# List of archive names. First name is the real one, the rest are links. 14430# The last name is the one that the linker finds with -lNAME 14431library_names_spec=$lt_library_names_spec 14432 14433# The coded name of the library, if different from the real name. 14434soname_spec=$lt_soname_spec 14435 14436# Permission mode override for installation of shared libraries. 14437install_override_mode=$lt_install_override_mode 14438 14439# Command to use after installation of a shared archive. 14440postinstall_cmds=$lt_postinstall_cmds 14441 14442# Command to use after uninstallation of a shared archive. 14443postuninstall_cmds=$lt_postuninstall_cmds 14444 14445# Commands used to finish a libtool library installation in a directory. 14446finish_cmds=$lt_finish_cmds 14447 14448# As "finish_cmds", except a single script fragment to be evaled but 14449# not shown. 14450finish_eval=$lt_finish_eval 14451 14452# Whether we should hardcode library paths into libraries. 14453hardcode_into_libs=$hardcode_into_libs 14454 14455# Compile-time system search path for libraries. 14456sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14457 14458# Detected run-time system search path for libraries. 14459sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 14460 14461# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 14462configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 14463 14464# Whether dlopen is supported. 14465dlopen_support=$enable_dlopen 14466 14467# Whether dlopen of programs is supported. 14468dlopen_self=$enable_dlopen_self 14469 14470# Whether dlopen of statically linked programs is supported. 14471dlopen_self_static=$enable_dlopen_self_static 14472 14473# Commands to strip libraries. 14474old_striplib=$lt_old_striplib 14475striplib=$lt_striplib 14476 14477 14478# The linker used to build libraries. 14479LD=$lt_LD 14480 14481# How to create reloadable object files. 14482reload_flag=$lt_reload_flag 14483reload_cmds=$lt_reload_cmds 14484 14485# Commands used to build an old-style archive. 14486old_archive_cmds=$lt_old_archive_cmds 14487 14488# A language specific compiler. 14489CC=$lt_compiler 14490 14491# Is the compiler the GNU compiler? 14492with_gcc=$GCC 14493 14494# Compiler flag to turn off builtin functions. 14495no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14496 14497# Additional compiler flags for building library objects. 14498pic_flag=$lt_lt_prog_compiler_pic 14499 14500# How to pass a linker flag through the compiler. 14501wl=$lt_lt_prog_compiler_wl 14502 14503# Compiler flag to prevent dynamic linking. 14504link_static_flag=$lt_lt_prog_compiler_static 14505 14506# Does compiler simultaneously support -c and -o options? 14507compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14508 14509# Whether or not to add -lc for building shared libraries. 14510build_libtool_need_lc=$archive_cmds_need_lc 14511 14512# Whether or not to disallow shared libs when runtime libs are static. 14513allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14514 14515# Compiler flag to allow reflexive dlopens. 14516export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14517 14518# Compiler flag to generate shared objects directly from archives. 14519whole_archive_flag_spec=$lt_whole_archive_flag_spec 14520 14521# Whether the compiler copes with passing no objects directly. 14522compiler_needs_object=$lt_compiler_needs_object 14523 14524# Create an old-style archive from a shared archive. 14525old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14526 14527# Create a temporary old-style archive to link instead of a shared archive. 14528old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14529 14530# Commands used to build a shared archive. 14531archive_cmds=$lt_archive_cmds 14532archive_expsym_cmds=$lt_archive_expsym_cmds 14533 14534# Commands used to build a loadable module if different from building 14535# a shared archive. 14536module_cmds=$lt_module_cmds 14537module_expsym_cmds=$lt_module_expsym_cmds 14538 14539# Whether we are building with GNU ld or not. 14540with_gnu_ld=$lt_with_gnu_ld 14541 14542# Flag that allows shared libraries with undefined symbols to be built. 14543allow_undefined_flag=$lt_allow_undefined_flag 14544 14545# Flag that enforces no undefined symbols. 14546no_undefined_flag=$lt_no_undefined_flag 14547 14548# Flag to hardcode \$libdir into a binary during linking. 14549# This must work even if \$libdir does not exist 14550hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14551 14552# Whether we need a single "-rpath" flag with a separated argument. 14553hardcode_libdir_separator=$lt_hardcode_libdir_separator 14554 14555# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14556# DIR into the resulting binary. 14557hardcode_direct=$hardcode_direct 14558 14559# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14560# DIR into the resulting binary and the resulting library dependency is 14561# "absolute",i.e impossible to change by setting \$shlibpath_var if the 14562# library is relocated. 14563hardcode_direct_absolute=$hardcode_direct_absolute 14564 14565# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14566# into the resulting binary. 14567hardcode_minus_L=$hardcode_minus_L 14568 14569# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14570# into the resulting binary. 14571hardcode_shlibpath_var=$hardcode_shlibpath_var 14572 14573# Set to "yes" if building a shared library automatically hardcodes DIR 14574# into the library and all subsequent libraries and executables linked 14575# against it. 14576hardcode_automatic=$hardcode_automatic 14577 14578# Set to yes if linker adds runtime paths of dependent libraries 14579# to runtime path list. 14580inherit_rpath=$inherit_rpath 14581 14582# Whether libtool must link a program against all its dependency libraries. 14583link_all_deplibs=$link_all_deplibs 14584 14585# Set to "yes" if exported symbols are required. 14586always_export_symbols=$always_export_symbols 14587 14588# The commands to list exported symbols. 14589export_symbols_cmds=$lt_export_symbols_cmds 14590 14591# Symbols that should not be listed in the preloaded symbols. 14592exclude_expsyms=$lt_exclude_expsyms 14593 14594# Symbols that must always be exported. 14595include_expsyms=$lt_include_expsyms 14596 14597# Commands necessary for linking programs (against libraries) with templates. 14598prelink_cmds=$lt_prelink_cmds 14599 14600# Commands necessary for finishing linking programs. 14601postlink_cmds=$lt_postlink_cmds 14602 14603# Specify filename containing input files. 14604file_list_spec=$lt_file_list_spec 14605 14606# How to hardcode a shared library path into an executable. 14607hardcode_action=$hardcode_action 14608 14609# ### END LIBTOOL CONFIG 14610 14611_LT_EOF 14612 14613 cat <<'_LT_EOF' >> "$cfgfile" 14614 14615# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 14616 14617# func_munge_path_list VARIABLE PATH 14618# ----------------------------------- 14619# VARIABLE is name of variable containing _space_ separated list of 14620# directories to be munged by the contents of PATH, which is string 14621# having a format: 14622# "DIR[:DIR]:" 14623# string "DIR[ DIR]" will be prepended to VARIABLE 14624# ":DIR[:DIR]" 14625# string "DIR[ DIR]" will be appended to VARIABLE 14626# "DIRP[:DIRP]::[DIRA:]DIRA" 14627# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 14628# "DIRA[ DIRA]" will be appended to VARIABLE 14629# "DIR[:DIR]" 14630# VARIABLE will be replaced by "DIR[ DIR]" 14631func_munge_path_list () 14632{ 14633 case x$2 in 14634 x) 14635 ;; 14636 *:) 14637 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 14638 ;; 14639 x:*) 14640 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 14641 ;; 14642 *::*) 14643 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14644 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 14645 ;; 14646 *) 14647 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 14648 ;; 14649 esac 14650} 14651 14652 14653# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14654func_cc_basename () 14655{ 14656 for cc_temp in $*""; do 14657 case $cc_temp in 14658 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14659 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14660 \-*) ;; 14661 *) break;; 14662 esac 14663 done 14664 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 14665} 14666 14667 14668# ### END FUNCTIONS SHARED WITH CONFIGURE 14669 14670_LT_EOF 14671 14672 case $host_os in 14673 aix3*) 14674 cat <<\_LT_EOF >> "$cfgfile" 14675# AIX sometimes has problems with the GCC collect2 program. For some 14676# reason, if we set the COLLECT_NAMES environment variable, the problems 14677# vanish in a puff of smoke. 14678if test set != "${COLLECT_NAMES+set}"; then 14679 COLLECT_NAMES= 14680 export COLLECT_NAMES 14681fi 14682_LT_EOF 14683 ;; 14684 esac 14685 14686 14687ltmain=$ac_aux_dir/ltmain.sh 14688 14689 14690 # We use sed instead of cat because bash on DJGPP gets confused if 14691 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14692 # text mode, it properly converts lines to CR/LF. This bash problem 14693 # is reportedly fixed, but why not run on old versions too? 14694 sed '$q' "$ltmain" >> "$cfgfile" \ 14695 || (rm -f "$cfgfile"; exit 1) 14696 14697 mv -f "$cfgfile" "$ofile" || 14698 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14699 chmod +x "$ofile" 14700 14701 14702as_fn_exit 0 14703_LTEOF 14704chmod +x "$CONFIG_LT" 14705 14706# configure is writing to config.log, but config.lt does its own redirection, 14707# appending to config.log, which fails on DOS, as config.log is still kept 14708# open by configure. Here we exec the FD to /dev/null, effectively closing 14709# config.log, so it can be properly (re)opened and appended to by config.lt. 14710lt_cl_success=: 14711test yes = "$silent" && 14712 lt_config_lt_args="$lt_config_lt_args --quiet" 14713exec 5>/dev/null 14714$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 14715exec 5>>config.log 14716$lt_cl_success || as_fn_exit 1 14717 14718ac_ext=c 14719ac_cpp='$CPP $CPPFLAGS' 14720ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14721ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14722ac_compiler_gnu=$ac_cv_c_compiler_gnu 14723ac_link="./libtool --mode=link --tag=CC $ac_link" 14724 14725if test -n "$ac_tool_prefix"; then 14726 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 14727set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 14728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14729$as_echo_n "checking for $ac_word... " >&6; } 14730if ${ac_cv_prog_PKG_CONFIG+:} false; then : 14731 $as_echo_n "(cached) " >&6 14732else 14733 if test -n "$PKG_CONFIG"; then 14734 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. 14735else 14736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14737for as_dir in $PATH 14738do 14739 IFS=$as_save_IFS 14740 test -z "$as_dir" && as_dir=. 14741 for ac_exec_ext in '' $ac_executable_extensions; do 14742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14743 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config" 14744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14745 break 2 14746 fi 14747done 14748 done 14749IFS=$as_save_IFS 14750 14751fi 14752fi 14753PKG_CONFIG=$ac_cv_prog_PKG_CONFIG 14754if test -n "$PKG_CONFIG"; then 14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14756$as_echo "$PKG_CONFIG" >&6; } 14757else 14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14759$as_echo "no" >&6; } 14760fi 14761 14762 14763fi 14764if test -z "$ac_cv_prog_PKG_CONFIG"; then 14765 ac_ct_PKG_CONFIG=$PKG_CONFIG 14766 # Extract the first word of "pkg-config", so it can be a program name with args. 14767set dummy pkg-config; ac_word=$2 14768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14769$as_echo_n "checking for $ac_word... " >&6; } 14770if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then : 14771 $as_echo_n "(cached) " >&6 14772else 14773 if test -n "$ac_ct_PKG_CONFIG"; then 14774 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test. 14775else 14776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14777for as_dir in $PATH 14778do 14779 IFS=$as_save_IFS 14780 test -z "$as_dir" && as_dir=. 14781 for ac_exec_ext in '' $ac_executable_extensions; do 14782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14783 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config" 14784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14785 break 2 14786 fi 14787done 14788 done 14789IFS=$as_save_IFS 14790 14791fi 14792fi 14793ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG 14794if test -n "$ac_ct_PKG_CONFIG"; then 14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5 14796$as_echo "$ac_ct_PKG_CONFIG" >&6; } 14797else 14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14799$as_echo "no" >&6; } 14800fi 14801 14802 if test "x$ac_ct_PKG_CONFIG" = x; then 14803 PKG_CONFIG="false" 14804 else 14805 case $cross_compiling:$ac_tool_warned in 14806yes:) 14807{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14808$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14809ac_tool_warned=yes ;; 14810esac 14811 PKG_CONFIG=$ac_ct_PKG_CONFIG 14812 fi 14813else 14814 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" 14815fi 14816 14817## _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags 14818 14819# Check whether --with-system-kpathsea was given. 14820if test "${with_system_kpathsea+set}" = set; then : 14821 withval=$with_system_kpathsea; 14822fi 14823if test "x$with_system_kpathsea" = xyes; then 14824 if $PKG_CONFIG kpathsea; then 14825 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags` 14826 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs` 14827elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then 14828 as_fn_error $? "did not find kpathsea" "$LINENO" 5 14829fi 14830else 14831 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk" 14832 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la" 14833 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la' 14834 KPATHSEA_RULE='# Rebuild libkpathsea 14835$(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h 14836 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild 14837${top_builddir}/../kpathsea/paths.h: 14838 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild' 14839fi 14840 14841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5 14842$as_echo_n "checking if libkpathsea supports debugging... " >&6; } 14843if ${kpse_cv_kpse_debug+:} false; then : 14844 $as_echo_n "(cached) " >&6 14845else 14846 eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\" 14847eval LIBS=\"$KPATHSEA_LIBS \$LIBS\" 14848 14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14850/* end confdefs.h. */ 14851#include <kpathsea/kpathsea.h> 14852int 14853main () 14854{ 14855FILE *f = fopen("f", "r") 14856 ; 14857 return 0; 14858} 14859_ACEOF 14860if ac_fn_c_try_link "$LINENO"; then : 14861 kpse_cv_kpse_debug=yes 14862else 14863 kpse_cv_kpse_debug=no 14864fi 14865rm -f core conftest.err conftest.$ac_objext \ 14866 conftest$ac_exeext conftest.$ac_ext 14867 CPPFLAGS=$kpse_save_CPPFLAGS 14868LIBS=$kpse_save_LIBS 14869 14870fi 14871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5 14872$as_echo "$kpse_cv_kpse_debug" >&6; } 14873if test "x$kpse_cv_kpse_debug" != xyes; then : 14874 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG" 14875fi 14876 14877## _KPSE_LIB_FLAGS: Setup ptexenc (-lptexenc) flags 14878 14879# Check whether --with-system-ptexenc was given. 14880if test "${with_system_ptexenc+set}" = set; then : 14881 withval=$with_system_ptexenc; 14882fi 14883if test "x$with_system_ptexenc" = xyes; then 14884 if $PKG_CONFIG ptexenc; then 14885 PTEXENC_INCLUDES=`$PKG_CONFIG ptexenc --cflags` 14886 PTEXENC_LIBS=`$PKG_CONFIG ptexenc --libs` 14887elif test "x$need_ptexenc:$with_system_ptexenc" = xyes:yes; then 14888 as_fn_error $? "did not find ptexenc" "$LINENO" 5 14889fi 14890else 14891 PTEXENC_INCLUDES="-I$kpse_BLD/texk/ptexenc -I$kpse_SRC/texk/ptexenc" 14892 PTEXENC_LIBS="$kpse_BLD/texk/ptexenc/libptexenc.la" 14893 PTEXENC_DEPEND='${top_builddir}/../ptexenc/libptexenc.la' 14894 PTEXENC_RULE='# Rebuild libptexenc 14895$(PTEXENC_DEPEND): ${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h 14896 cd ${top_builddir}/../ptexenc && $(MAKE) $(AM_MAKEFLAGS) rebuild' 14897fi 14898 14899 14900DVI2TTY_TREE=dvi2tty-5.3.4 14901 14902 14903ac_config_files="$ac_config_files Makefile" 14904 14905 14906cat >confcache <<\_ACEOF 14907# This file is a shell script that caches the results of configure 14908# tests run on this system so they can be shared between configure 14909# scripts and configure runs, see configure's option --config-cache. 14910# It is not useful on other systems. If it contains results you don't 14911# want to keep, you may remove or edit it. 14912# 14913# config.status only pays attention to the cache file if you give it 14914# the --recheck option to rerun configure. 14915# 14916# `ac_cv_env_foo' variables (set or unset) will be overridden when 14917# loading this file, other *unset* `ac_cv_foo' will be assigned the 14918# following values. 14919 14920_ACEOF 14921 14922# The following way of writing the cache mishandles newlines in values, 14923# but we know of no workaround that is simple, portable, and efficient. 14924# So, we kill variables containing newlines. 14925# Ultrix sh set writes to stderr and can't be redirected directly, 14926# and sets the high bit in the cache file unless we assign to the vars. 14927( 14928 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 14929 eval ac_val=\$$ac_var 14930 case $ac_val in #( 14931 *${as_nl}*) 14932 case $ac_var in #( 14933 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 14934$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 14935 esac 14936 case $ac_var in #( 14937 _ | IFS | as_nl) ;; #( 14938 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14939 *) { eval $ac_var=; unset $ac_var;} ;; 14940 esac ;; 14941 esac 14942 done 14943 14944 (set) 2>&1 | 14945 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14946 *${as_nl}ac_space=\ *) 14947 # `set' does not quote correctly, so add quotes: double-quote 14948 # substitution turns \\\\ into \\, and sed turns \\ into \. 14949 sed -n \ 14950 "s/'/'\\\\''/g; 14951 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 14952 ;; #( 14953 *) 14954 # `set' quotes correctly as required by POSIX, so do not add quotes. 14955 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 14956 ;; 14957 esac | 14958 sort 14959) | 14960 sed ' 14961 /^ac_cv_env_/b end 14962 t clear 14963 :clear 14964 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 14965 t end 14966 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 14967 :end' >>confcache 14968if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14969 if test -w "$cache_file"; then 14970 if test "x$cache_file" != "x/dev/null"; then 14971 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 14972$as_echo "$as_me: updating cache $cache_file" >&6;} 14973 if test ! -f "$cache_file" || test -h "$cache_file"; then 14974 cat confcache >"$cache_file" 14975 else 14976 case $cache_file in #( 14977 */* | ?:*) 14978 mv -f confcache "$cache_file"$$ && 14979 mv -f "$cache_file"$$ "$cache_file" ;; #( 14980 *) 14981 mv -f confcache "$cache_file" ;; 14982 esac 14983 fi 14984 fi 14985 else 14986 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 14987$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 14988 fi 14989fi 14990rm -f confcache 14991 14992test "x$prefix" = xNONE && prefix=$ac_default_prefix 14993# Let make expand exec_prefix. 14994test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 14995 14996DEFS=-DHAVE_CONFIG_H 14997 14998ac_libobjs= 14999ac_ltlibobjs= 15000U= 15001for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15002 # 1. Remove the extension, and $U if already installed. 15003 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15004 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15005 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15006 # will be set to the directory where LIBOBJS objects are built. 15007 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15008 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15009done 15010LIBOBJS=$ac_libobjs 15011 15012LTLIBOBJS=$ac_ltlibobjs 15013 15014 15015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 15016$as_echo_n "checking that generated files are newer than configure... " >&6; } 15017 if test -n "$am_sleep_pid"; then 15018 # Hide warnings about reused PIDs. 15019 wait $am_sleep_pid 2>/dev/null 15020 fi 15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 15022$as_echo "done" >&6; } 15023 if test -n "$EXEEXT"; then 15024 am__EXEEXT_TRUE= 15025 am__EXEEXT_FALSE='#' 15026else 15027 am__EXEEXT_TRUE='#' 15028 am__EXEEXT_FALSE= 15029fi 15030 15031if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 15032 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 15033Usually this means the macro was only invoked conditionally." "$LINENO" 5 15034fi 15035if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 15036 as_fn_error $? "conditional \"AMDEP\" was never defined. 15037Usually this means the macro was only invoked conditionally." "$LINENO" 5 15038fi 15039if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15040 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 15041Usually this means the macro was only invoked conditionally." "$LINENO" 5 15042fi 15043 15044: "${CONFIG_STATUS=./config.status}" 15045ac_write_fail=0 15046ac_clean_files_save=$ac_clean_files 15047ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15048{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15049$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15050as_write_fail=0 15051cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15052#! $SHELL 15053# Generated by $as_me. 15054# Run this file to recreate the current configuration. 15055# Compiler output produced by configure, useful for debugging 15056# configure, is in config.log if it exists. 15057 15058debug=false 15059ac_cs_recheck=false 15060ac_cs_silent=false 15061 15062SHELL=\${CONFIG_SHELL-$SHELL} 15063export SHELL 15064_ASEOF 15065cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 15066## -------------------- ## 15067## M4sh Initialization. ## 15068## -------------------- ## 15069 15070# Be more Bourne compatible 15071DUALCASE=1; export DUALCASE # for MKS sh 15072if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15073 emulate sh 15074 NULLCMD=: 15075 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15076 # is contrary to our usage. Disable this feature. 15077 alias -g '${1+"$@"}'='"$@"' 15078 setopt NO_GLOB_SUBST 15079else 15080 case `(set -o) 2>/dev/null` in #( 15081 *posix*) : 15082 set -o posix ;; #( 15083 *) : 15084 ;; 15085esac 15086fi 15087 15088 15089as_nl=' 15090' 15091export as_nl 15092# Printing a long string crashes Solaris 7 /usr/bin/printf. 15093as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15094as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15095as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15096# Prefer a ksh shell builtin over an external printf program on Solaris, 15097# but without wasting forks for bash or zsh. 15098if test -z "$BASH_VERSION$ZSH_VERSION" \ 15099 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 15100 as_echo='print -r --' 15101 as_echo_n='print -rn --' 15102elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15103 as_echo='printf %s\n' 15104 as_echo_n='printf %s' 15105else 15106 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15107 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15108 as_echo_n='/usr/ucb/echo -n' 15109 else 15110 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15111 as_echo_n_body='eval 15112 arg=$1; 15113 case $arg in #( 15114 *"$as_nl"*) 15115 expr "X$arg" : "X\\(.*\\)$as_nl"; 15116 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15117 esac; 15118 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15119 ' 15120 export as_echo_n_body 15121 as_echo_n='sh -c $as_echo_n_body as_echo' 15122 fi 15123 export as_echo_body 15124 as_echo='sh -c $as_echo_body as_echo' 15125fi 15126 15127# The user is always right. 15128if test "${PATH_SEPARATOR+set}" != set; then 15129 PATH_SEPARATOR=: 15130 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15131 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15132 PATH_SEPARATOR=';' 15133 } 15134fi 15135 15136 15137# IFS 15138# We need space, tab and new line, in precisely that order. Quoting is 15139# there to prevent editors from complaining about space-tab. 15140# (If _AS_PATH_WALK were called with IFS unset, it would disable word 15141# splitting by setting IFS to empty value.) 15142IFS=" "" $as_nl" 15143 15144# Find who we are. Look in the path if we contain no directory separator. 15145as_myself= 15146case $0 in #(( 15147 *[\\/]* ) as_myself=$0 ;; 15148 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15149for as_dir in $PATH 15150do 15151 IFS=$as_save_IFS 15152 test -z "$as_dir" && as_dir=. 15153 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15154 done 15155IFS=$as_save_IFS 15156 15157 ;; 15158esac 15159# We did not find ourselves, most probably we were run as `sh COMMAND' 15160# in which case we are not to be found in the path. 15161if test "x$as_myself" = x; then 15162 as_myself=$0 15163fi 15164if test ! -f "$as_myself"; then 15165 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15166 exit 1 15167fi 15168 15169# Unset variables that we do not need and which cause bugs (e.g. in 15170# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 15171# suppresses any "Segmentation fault" message there. '((' could 15172# trigger a bug in pdksh 5.2.14. 15173for as_var in BASH_ENV ENV MAIL MAILPATH 15174do eval test x\${$as_var+set} = xset \ 15175 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15176done 15177PS1='$ ' 15178PS2='> ' 15179PS4='+ ' 15180 15181# NLS nuisances. 15182LC_ALL=C 15183export LC_ALL 15184LANGUAGE=C 15185export LANGUAGE 15186 15187# CDPATH. 15188(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15189 15190 15191# as_fn_error STATUS ERROR [LINENO LOG_FD] 15192# ---------------------------------------- 15193# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15194# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15195# script with STATUS, using 1 if that was 0. 15196as_fn_error () 15197{ 15198 as_status=$1; test $as_status -eq 0 && as_status=1 15199 if test "$4"; then 15200 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15201 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 15202 fi 15203 $as_echo "$as_me: error: $2" >&2 15204 as_fn_exit $as_status 15205} # as_fn_error 15206 15207 15208# as_fn_set_status STATUS 15209# ----------------------- 15210# Set $? to STATUS, without forking. 15211as_fn_set_status () 15212{ 15213 return $1 15214} # as_fn_set_status 15215 15216# as_fn_exit STATUS 15217# ----------------- 15218# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 15219as_fn_exit () 15220{ 15221 set +e 15222 as_fn_set_status $1 15223 exit $1 15224} # as_fn_exit 15225 15226# as_fn_unset VAR 15227# --------------- 15228# Portably unset VAR. 15229as_fn_unset () 15230{ 15231 { eval $1=; unset $1;} 15232} 15233as_unset=as_fn_unset 15234# as_fn_append VAR VALUE 15235# ---------------------- 15236# Append the text in VALUE to the end of the definition contained in VAR. Take 15237# advantage of any shell optimizations that allow amortized linear growth over 15238# repeated appends, instead of the typical quadratic growth present in naive 15239# implementations. 15240if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15241 eval 'as_fn_append () 15242 { 15243 eval $1+=\$2 15244 }' 15245else 15246 as_fn_append () 15247 { 15248 eval $1=\$$1\$2 15249 } 15250fi # as_fn_append 15251 15252# as_fn_arith ARG... 15253# ------------------ 15254# Perform arithmetic evaluation on the ARGs, and store the result in the 15255# global $as_val. Take advantage of shells that can avoid forks. The arguments 15256# must be portable across $(()) and expr. 15257if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15258 eval 'as_fn_arith () 15259 { 15260 as_val=$(( $* )) 15261 }' 15262else 15263 as_fn_arith () 15264 { 15265 as_val=`expr "$@" || test $? -eq 1` 15266 } 15267fi # as_fn_arith 15268 15269 15270if expr a : '\(a\)' >/dev/null 2>&1 && 15271 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15272 as_expr=expr 15273else 15274 as_expr=false 15275fi 15276 15277if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15278 as_basename=basename 15279else 15280 as_basename=false 15281fi 15282 15283if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15284 as_dirname=dirname 15285else 15286 as_dirname=false 15287fi 15288 15289as_me=`$as_basename -- "$0" || 15290$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15291 X"$0" : 'X\(//\)$' \| \ 15292 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15293$as_echo X/"$0" | 15294 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15295 s//\1/ 15296 q 15297 } 15298 /^X\/\(\/\/\)$/{ 15299 s//\1/ 15300 q 15301 } 15302 /^X\/\(\/\).*/{ 15303 s//\1/ 15304 q 15305 } 15306 s/.*/./; q'` 15307 15308# Avoid depending upon Character Ranges. 15309as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15310as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15311as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15312as_cr_digits='0123456789' 15313as_cr_alnum=$as_cr_Letters$as_cr_digits 15314 15315ECHO_C= ECHO_N= ECHO_T= 15316case `echo -n x` in #((((( 15317-n*) 15318 case `echo 'xy\c'` in 15319 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15320 xy) ECHO_C='\c';; 15321 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 15322 ECHO_T=' ';; 15323 esac;; 15324*) 15325 ECHO_N='-n';; 15326esac 15327 15328rm -f conf$$ conf$$.exe conf$$.file 15329if test -d conf$$.dir; then 15330 rm -f conf$$.dir/conf$$.file 15331else 15332 rm -f conf$$.dir 15333 mkdir conf$$.dir 2>/dev/null 15334fi 15335if (echo >conf$$.file) 2>/dev/null; then 15336 if ln -s conf$$.file conf$$ 2>/dev/null; then 15337 as_ln_s='ln -s' 15338 # ... but there are two gotchas: 15339 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15340 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15341 # In both cases, we have to default to `cp -pR'. 15342 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15343 as_ln_s='cp -pR' 15344 elif ln conf$$.file conf$$ 2>/dev/null; then 15345 as_ln_s=ln 15346 else 15347 as_ln_s='cp -pR' 15348 fi 15349else 15350 as_ln_s='cp -pR' 15351fi 15352rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15353rmdir conf$$.dir 2>/dev/null 15354 15355 15356# as_fn_mkdir_p 15357# ------------- 15358# Create "$as_dir" as a directory, including parents if necessary. 15359as_fn_mkdir_p () 15360{ 15361 15362 case $as_dir in #( 15363 -*) as_dir=./$as_dir;; 15364 esac 15365 test -d "$as_dir" || eval $as_mkdir_p || { 15366 as_dirs= 15367 while :; do 15368 case $as_dir in #( 15369 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15370 *) as_qdir=$as_dir;; 15371 esac 15372 as_dirs="'$as_qdir' $as_dirs" 15373 as_dir=`$as_dirname -- "$as_dir" || 15374$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15375 X"$as_dir" : 'X\(//\)[^/]' \| \ 15376 X"$as_dir" : 'X\(//\)$' \| \ 15377 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15378$as_echo X"$as_dir" | 15379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15380 s//\1/ 15381 q 15382 } 15383 /^X\(\/\/\)[^/].*/{ 15384 s//\1/ 15385 q 15386 } 15387 /^X\(\/\/\)$/{ 15388 s//\1/ 15389 q 15390 } 15391 /^X\(\/\).*/{ 15392 s//\1/ 15393 q 15394 } 15395 s/.*/./; q'` 15396 test -d "$as_dir" && break 15397 done 15398 test -z "$as_dirs" || eval "mkdir $as_dirs" 15399 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 15400 15401 15402} # as_fn_mkdir_p 15403if mkdir -p . 2>/dev/null; then 15404 as_mkdir_p='mkdir -p "$as_dir"' 15405else 15406 test -d ./-p && rmdir ./-p 15407 as_mkdir_p=false 15408fi 15409 15410 15411# as_fn_executable_p FILE 15412# ----------------------- 15413# Test if FILE is an executable regular file. 15414as_fn_executable_p () 15415{ 15416 test -f "$1" && test -x "$1" 15417} # as_fn_executable_p 15418as_test_x='test -x' 15419as_executable_p=as_fn_executable_p 15420 15421# Sed expression to map a string onto a valid CPP name. 15422as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15423 15424# Sed expression to map a string onto a valid variable name. 15425as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15426 15427 15428exec 6>&1 15429## ----------------------------------- ## 15430## Main body of $CONFIG_STATUS script. ## 15431## ----------------------------------- ## 15432_ASEOF 15433test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 15434 15435cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15436# Save the log message, to keep $0 and so on meaningful, and to 15437# report actual input values of CONFIG_FILES etc. instead of their 15438# values after options handling. 15439ac_log=" 15440This file was extended by dvi2tty (TeX Live) $as_me 5.3.4, which was 15441generated by GNU Autoconf 2.69. Invocation command line was 15442 15443 CONFIG_FILES = $CONFIG_FILES 15444 CONFIG_HEADERS = $CONFIG_HEADERS 15445 CONFIG_LINKS = $CONFIG_LINKS 15446 CONFIG_COMMANDS = $CONFIG_COMMANDS 15447 $ $0 $@ 15448 15449on `(hostname || uname -n) 2>/dev/null | sed 1q` 15450" 15451 15452_ACEOF 15453 15454case $ac_config_files in *" 15455"*) set x $ac_config_files; shift; ac_config_files=$*;; 15456esac 15457 15458case $ac_config_headers in *" 15459"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 15460esac 15461 15462 15463cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15464# Files that config.status was made for. 15465config_files="$ac_config_files" 15466config_headers="$ac_config_headers" 15467config_commands="$ac_config_commands" 15468 15469_ACEOF 15470 15471cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15472ac_cs_usage="\ 15473\`$as_me' instantiates files and other configuration actions 15474from templates according to the current configuration. Unless the files 15475and actions are specified as TAGs, all are instantiated by default. 15476 15477Usage: $0 [OPTION]... [TAG]... 15478 15479 -h, --help print this help, then exit 15480 -V, --version print version number and configuration settings, then exit 15481 --config print configuration, then exit 15482 -q, --quiet, --silent 15483 do not print progress messages 15484 -d, --debug don't remove temporary files 15485 --recheck update $as_me by reconfiguring in the same conditions 15486 --file=FILE[:TEMPLATE] 15487 instantiate the configuration file FILE 15488 --header=FILE[:TEMPLATE] 15489 instantiate the configuration header FILE 15490 15491Configuration files: 15492$config_files 15493 15494Configuration headers: 15495$config_headers 15496 15497Configuration commands: 15498$config_commands 15499 15500Report bugs to <tex-k@tug.org>." 15501 15502_ACEOF 15503cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15504ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15505ac_cs_version="\\ 15506dvi2tty (TeX Live) config.status 5.3.4 15507configured by $0, generated by GNU Autoconf 2.69, 15508 with options \\"\$ac_cs_config\\" 15509 15510Copyright (C) 2012 Free Software Foundation, Inc. 15511This config.status script is free software; the Free Software Foundation 15512gives unlimited permission to copy, distribute and modify it." 15513 15514ac_pwd='$ac_pwd' 15515srcdir='$srcdir' 15516INSTALL='$INSTALL' 15517MKDIR_P='$MKDIR_P' 15518AWK='$AWK' 15519test -n "\$AWK" || AWK=awk 15520_ACEOF 15521 15522cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15523# The default lists apply if the user does not specify any file. 15524ac_need_defaults=: 15525while test $# != 0 15526do 15527 case $1 in 15528 --*=?*) 15529 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15530 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15531 ac_shift=: 15532 ;; 15533 --*=) 15534 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15535 ac_optarg= 15536 ac_shift=: 15537 ;; 15538 *) 15539 ac_option=$1 15540 ac_optarg=$2 15541 ac_shift=shift 15542 ;; 15543 esac 15544 15545 case $ac_option in 15546 # Handling of the options. 15547 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 15548 ac_cs_recheck=: ;; 15549 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15550 $as_echo "$ac_cs_version"; exit ;; 15551 --config | --confi | --conf | --con | --co | --c ) 15552 $as_echo "$ac_cs_config"; exit ;; 15553 --debug | --debu | --deb | --de | --d | -d ) 15554 debug=: ;; 15555 --file | --fil | --fi | --f ) 15556 $ac_shift 15557 case $ac_optarg in 15558 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15559 '') as_fn_error $? "missing file argument" ;; 15560 esac 15561 as_fn_append CONFIG_FILES " '$ac_optarg'" 15562 ac_need_defaults=false;; 15563 --header | --heade | --head | --hea ) 15564 $ac_shift 15565 case $ac_optarg in 15566 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15567 esac 15568 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15569 ac_need_defaults=false;; 15570 --he | --h) 15571 # Conflict between --help and --header 15572 as_fn_error $? "ambiguous option: \`$1' 15573Try \`$0 --help' for more information.";; 15574 --help | --hel | -h ) 15575 $as_echo "$ac_cs_usage"; exit ;; 15576 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15577 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15578 ac_cs_silent=: ;; 15579 15580 # This is an error. 15581 -*) as_fn_error $? "unrecognized option: \`$1' 15582Try \`$0 --help' for more information." ;; 15583 15584 *) as_fn_append ac_config_targets " $1" 15585 ac_need_defaults=false ;; 15586 15587 esac 15588 shift 15589done 15590 15591ac_configure_extra_args= 15592 15593if $ac_cs_silent; then 15594 exec 6>/dev/null 15595 ac_configure_extra_args="$ac_configure_extra_args --silent" 15596fi 15597 15598_ACEOF 15599cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15600if \$ac_cs_recheck; then 15601 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15602 shift 15603 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 15604 CONFIG_SHELL='$SHELL' 15605 export CONFIG_SHELL 15606 exec "\$@" 15607fi 15608 15609_ACEOF 15610cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15611exec 5>>config.log 15612{ 15613 echo 15614 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 15615## Running $as_me. ## 15616_ASBOX 15617 $as_echo "$ac_log" 15618} >&5 15619 15620_ACEOF 15621cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15622# 15623# INIT-COMMANDS 15624# 15625AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 15626 15627 15628# The HP-UX ksh and POSIX shell print the target directory to stdout 15629# if CDPATH is set. 15630(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15631 15632sed_quote_subst='$sed_quote_subst' 15633double_quote_subst='$double_quote_subst' 15634delay_variable_subst='$delay_variable_subst' 15635macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 15636macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 15637AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 15638DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 15639OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 15640enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 15641enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 15642pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 15643enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 15644shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 15645SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 15646ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 15647PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 15648host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 15649host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 15650host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 15651build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 15652build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 15653build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 15654SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 15655Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 15656GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 15657EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 15658FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 15659LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 15660NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 15661LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 15662max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 15663ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 15664exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 15665lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 15666lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 15667lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 15668lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 15669lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 15670reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 15671reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 15672deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 15673file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 15674file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 15675want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 15676sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 15677AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 15678AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 15679archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 15680STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 15681RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 15682old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15683old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15684old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 15685lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 15686CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 15687CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 15688compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 15689GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 15690lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 15691lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 15692lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 15693lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 15694lt_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"`' 15695lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 15696nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 15697lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 15698lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 15699objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 15700MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 15701lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 15702lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 15703lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 15704lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 15705lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 15706need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 15707MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 15708DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 15709NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 15710LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 15711OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 15712OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 15713libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 15714shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 15715extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 15716archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 15717enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 15718export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 15719whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 15720compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 15721old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 15722old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 15723archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 15724archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 15725module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 15726module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 15727with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 15728allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 15729no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 15730hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 15731hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 15732hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 15733hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 15734hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 15735hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 15736hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 15737inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 15738link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 15739always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 15740export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 15741exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 15742include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 15743prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 15744postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 15745file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 15746variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 15747need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 15748need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 15749version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 15750runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 15751shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 15752shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 15753libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 15754library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 15755soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 15756install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 15757postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15758postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15759finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 15760finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 15761hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 15762sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 15763configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 15764configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 15765hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 15766enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 15767enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 15768enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 15769old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 15770striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 15771 15772LTCC='$LTCC' 15773LTCFLAGS='$LTCFLAGS' 15774compiler='$compiler_DEFAULT' 15775 15776# A function that is used when there is no print builtin or printf. 15777func_fallback_echo () 15778{ 15779 eval 'cat <<_LTECHO_EOF 15780\$1 15781_LTECHO_EOF' 15782} 15783 15784# Quote evaled strings. 15785for var in AS \ 15786DLLTOOL \ 15787OBJDUMP \ 15788SHELL \ 15789ECHO \ 15790PATH_SEPARATOR \ 15791SED \ 15792GREP \ 15793EGREP \ 15794FGREP \ 15795LD \ 15796NM \ 15797LN_S \ 15798lt_SP2NL \ 15799lt_NL2SP \ 15800reload_flag \ 15801deplibs_check_method \ 15802file_magic_cmd \ 15803file_magic_glob \ 15804want_nocaseglob \ 15805sharedlib_from_linklib_cmd \ 15806AR \ 15807AR_FLAGS \ 15808archiver_list_spec \ 15809STRIP \ 15810RANLIB \ 15811CC \ 15812CFLAGS \ 15813compiler \ 15814lt_cv_sys_global_symbol_pipe \ 15815lt_cv_sys_global_symbol_to_cdecl \ 15816lt_cv_sys_global_symbol_to_import \ 15817lt_cv_sys_global_symbol_to_c_name_address \ 15818lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 15819lt_cv_nm_interface \ 15820nm_file_list_spec \ 15821lt_cv_truncate_bin \ 15822lt_prog_compiler_no_builtin_flag \ 15823lt_prog_compiler_pic \ 15824lt_prog_compiler_wl \ 15825lt_prog_compiler_static \ 15826lt_cv_prog_compiler_c_o \ 15827need_locks \ 15828MANIFEST_TOOL \ 15829DSYMUTIL \ 15830NMEDIT \ 15831LIPO \ 15832OTOOL \ 15833OTOOL64 \ 15834shrext_cmds \ 15835export_dynamic_flag_spec \ 15836whole_archive_flag_spec \ 15837compiler_needs_object \ 15838with_gnu_ld \ 15839allow_undefined_flag \ 15840no_undefined_flag \ 15841hardcode_libdir_flag_spec \ 15842hardcode_libdir_separator \ 15843exclude_expsyms \ 15844include_expsyms \ 15845file_list_spec \ 15846variables_saved_for_relink \ 15847libname_spec \ 15848library_names_spec \ 15849soname_spec \ 15850install_override_mode \ 15851finish_eval \ 15852old_striplib \ 15853striplib; do 15854 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15855 *[\\\\\\\`\\"\\\$]*) 15856 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15857 ;; 15858 *) 15859 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15860 ;; 15861 esac 15862done 15863 15864# Double-quote double-evaled strings. 15865for var in reload_cmds \ 15866old_postinstall_cmds \ 15867old_postuninstall_cmds \ 15868old_archive_cmds \ 15869extract_expsyms_cmds \ 15870old_archive_from_new_cmds \ 15871old_archive_from_expsyms_cmds \ 15872archive_cmds \ 15873archive_expsym_cmds \ 15874module_cmds \ 15875module_expsym_cmds \ 15876export_symbols_cmds \ 15877prelink_cmds \ 15878postlink_cmds \ 15879postinstall_cmds \ 15880postuninstall_cmds \ 15881finish_cmds \ 15882sys_lib_search_path_spec \ 15883configure_time_dlsearch_path \ 15884configure_time_lt_sys_library_path; do 15885 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15886 *[\\\\\\\`\\"\\\$]*) 15887 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15888 ;; 15889 *) 15890 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15891 ;; 15892 esac 15893done 15894 15895ac_aux_dir='$ac_aux_dir' 15896 15897# See if we are running on zsh, and set the options that allow our 15898# commands through without removal of \ escapes INIT. 15899if test -n "\${ZSH_VERSION+set}"; then 15900 setopt NO_GLOB_SUBST 15901fi 15902 15903 15904 PACKAGE='$PACKAGE' 15905 VERSION='$VERSION' 15906 RM='$RM' 15907 ofile='$ofile' 15908 15909ac_aux_dir='$ac_aux_dir' 15910 15911 15912 15913_ACEOF 15914 15915cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15916 15917# Handling of arguments. 15918for ac_config_target in $ac_config_targets 15919do 15920 case $ac_config_target in 15921 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 15922 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 15923 "c-auto.h") CONFIG_HEADERS="$CONFIG_HEADERS c-auto.h:c-auto.in" ;; 15924 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 15925 15926 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15927 esac 15928done 15929 15930 15931# If the user did not use the arguments to specify the items to instantiate, 15932# then the envvar interface is used. Set only those that are not. 15933# We use the long form for the default assignment because of an extremely 15934# bizarre bug on SunOS 4.1.3. 15935if $ac_need_defaults; then 15936 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 15937 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 15938 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 15939fi 15940 15941# Have a temporary directory for convenience. Make it in the build tree 15942# simply because there is no reason against having it here, and in addition, 15943# creating and moving files from /tmp can sometimes cause problems. 15944# Hook for its removal unless debugging. 15945# Note that there is a small window in which the directory will not be cleaned: 15946# after its creation but before its name has been assigned to `$tmp'. 15947$debug || 15948{ 15949 tmp= ac_tmp= 15950 trap 'exit_status=$? 15951 : "${ac_tmp:=$tmp}" 15952 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 15953' 0 15954 trap 'as_fn_exit 1' 1 2 13 15 15955} 15956# Create a (secure) tmp directory for tmp files. 15957 15958{ 15959 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15960 test -d "$tmp" 15961} || 15962{ 15963 tmp=./conf$$-$RANDOM 15964 (umask 077 && mkdir "$tmp") 15965} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15966ac_tmp=$tmp 15967 15968# Set up the scripts for CONFIG_FILES section. 15969# No need to generate them if there are no CONFIG_FILES. 15970# This happens for instance with `./config.status config.h'. 15971if test -n "$CONFIG_FILES"; then 15972 15973 15974ac_cr=`echo X | tr X '\015'` 15975# On cygwin, bash can eat \r inside `` if the user requested igncr. 15976# But we know of no other shell where ac_cr would be empty at this 15977# point, so we can use a bashism as a fallback. 15978if test "x$ac_cr" = x; then 15979 eval ac_cr=\$\'\\r\' 15980fi 15981ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15982if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15983 ac_cs_awk_cr='\\r' 15984else 15985 ac_cs_awk_cr=$ac_cr 15986fi 15987 15988echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 15989_ACEOF 15990 15991 15992{ 15993 echo "cat >conf$$subs.awk <<_ACEOF" && 15994 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15995 echo "_ACEOF" 15996} >conf$$subs.sh || 15997 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15998ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 15999ac_delim='%!_!# ' 16000for ac_last_try in false false false false false :; do 16001 . ./conf$$subs.sh || 16002 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16003 16004 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 16005 if test $ac_delim_n = $ac_delim_num; then 16006 break 16007 elif $ac_last_try; then 16008 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16009 else 16010 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16011 fi 16012done 16013rm -f conf$$subs.sh 16014 16015cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16016cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 16017_ACEOF 16018sed -n ' 16019h 16020s/^/S["/; s/!.*/"]=/ 16021p 16022g 16023s/^[^!]*!// 16024:repl 16025t repl 16026s/'"$ac_delim"'$// 16027t delim 16028:nl 16029h 16030s/\(.\{148\}\)..*/\1/ 16031t more1 16032s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 16033p 16034n 16035b repl 16036:more1 16037s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16038p 16039g 16040s/.\{148\}// 16041t nl 16042:delim 16043h 16044s/\(.\{148\}\)..*/\1/ 16045t more2 16046s/["\\]/\\&/g; s/^/"/; s/$/"/ 16047p 16048b 16049:more2 16050s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16051p 16052g 16053s/.\{148\}// 16054t delim 16055' <conf$$subs.awk | sed ' 16056/^[^""]/{ 16057 N 16058 s/\n// 16059} 16060' >>$CONFIG_STATUS || ac_write_fail=1 16061rm -f conf$$subs.awk 16062cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16063_ACAWK 16064cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 16065 for (key in S) S_is_set[key] = 1 16066 FS = "" 16067 16068} 16069{ 16070 line = $ 0 16071 nfields = split(line, field, "@") 16072 substed = 0 16073 len = length(field[1]) 16074 for (i = 2; i < nfields; i++) { 16075 key = field[i] 16076 keylen = length(key) 16077 if (S_is_set[key]) { 16078 value = S[key] 16079 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 16080 len += length(value) + length(field[++i]) 16081 substed = 1 16082 } else 16083 len += 1 + keylen 16084 } 16085 16086 print line 16087} 16088 16089_ACAWK 16090_ACEOF 16091cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16092if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 16093 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 16094else 16095 cat 16096fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 16097 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 16098_ACEOF 16099 16100# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 16101# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 16102# trailing colons and then remove the whole line if VPATH becomes empty 16103# (actually we leave an empty line to preserve line numbers). 16104if test "x$srcdir" = x.; then 16105 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 16106h 16107s/// 16108s/^/:/ 16109s/[ ]*$/:/ 16110s/:\$(srcdir):/:/g 16111s/:\${srcdir}:/:/g 16112s/:@srcdir@:/:/g 16113s/^:*// 16114s/:*$// 16115x 16116s/\(=[ ]*\).*/\1/ 16117G 16118s/\n// 16119s/^[^=]*=[ ]*$// 16120}' 16121fi 16122 16123cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16124fi # test -n "$CONFIG_FILES" 16125 16126# Set up the scripts for CONFIG_HEADERS section. 16127# No need to generate them if there are no CONFIG_HEADERS. 16128# This happens for instance with `./config.status Makefile'. 16129if test -n "$CONFIG_HEADERS"; then 16130cat >"$ac_tmp/defines.awk" <<\_ACAWK || 16131BEGIN { 16132_ACEOF 16133 16134# Transform confdefs.h into an awk script `defines.awk', embedded as 16135# here-document in config.status, that substitutes the proper values into 16136# config.h.in to produce config.h. 16137 16138# Create a delimiter string that does not exist in confdefs.h, to ease 16139# handling of long lines. 16140ac_delim='%!_!# ' 16141for ac_last_try in false false :; do 16142 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 16143 if test -z "$ac_tt"; then 16144 break 16145 elif $ac_last_try; then 16146 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 16147 else 16148 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16149 fi 16150done 16151 16152# For the awk script, D is an array of macro values keyed by name, 16153# likewise P contains macro parameters if any. Preserve backslash 16154# newline sequences. 16155 16156ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16157sed -n ' 16158s/.\{148\}/&'"$ac_delim"'/g 16159t rset 16160:rset 16161s/^[ ]*#[ ]*define[ ][ ]*/ / 16162t def 16163d 16164:def 16165s/\\$// 16166t bsnl 16167s/["\\]/\\&/g 16168s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16169D["\1"]=" \3"/p 16170s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 16171d 16172:bsnl 16173s/["\\]/\\&/g 16174s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16175D["\1"]=" \3\\\\\\n"\\/p 16176t cont 16177s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 16178t cont 16179d 16180:cont 16181n 16182s/.\{148\}/&'"$ac_delim"'/g 16183t clear 16184:clear 16185s/\\$// 16186t bsnlc 16187s/["\\]/\\&/g; s/^/"/; s/$/"/p 16188d 16189:bsnlc 16190s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 16191b cont 16192' <confdefs.h | sed ' 16193s/'"$ac_delim"'/"\\\ 16194"/g' >>$CONFIG_STATUS || ac_write_fail=1 16195 16196cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16197 for (key in D) D_is_set[key] = 1 16198 FS = "" 16199} 16200/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 16201 line = \$ 0 16202 split(line, arg, " ") 16203 if (arg[1] == "#") { 16204 defundef = arg[2] 16205 mac1 = arg[3] 16206 } else { 16207 defundef = substr(arg[1], 2) 16208 mac1 = arg[2] 16209 } 16210 split(mac1, mac2, "(") #) 16211 macro = mac2[1] 16212 prefix = substr(line, 1, index(line, defundef) - 1) 16213 if (D_is_set[macro]) { 16214 # Preserve the white space surrounding the "#". 16215 print prefix "define", macro P[macro] D[macro] 16216 next 16217 } else { 16218 # Replace #undef with comments. This is necessary, for example, 16219 # in the case of _POSIX_SOURCE, which is predefined and required 16220 # on some systems where configure will not decide to define it. 16221 if (defundef == "undef") { 16222 print "/*", prefix defundef, macro, "*/" 16223 next 16224 } 16225 } 16226} 16227{ print } 16228_ACAWK 16229_ACEOF 16230cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16231 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 16232fi # test -n "$CONFIG_HEADERS" 16233 16234 16235eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16236shift 16237for ac_tag 16238do 16239 case $ac_tag in 16240 :[FHLC]) ac_mode=$ac_tag; continue;; 16241 esac 16242 case $ac_mode$ac_tag in 16243 :[FHL]*:*);; 16244 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 16245 :[FH]-) ac_tag=-:-;; 16246 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16247 esac 16248 ac_save_IFS=$IFS 16249 IFS=: 16250 set x $ac_tag 16251 IFS=$ac_save_IFS 16252 shift 16253 ac_file=$1 16254 shift 16255 16256 case $ac_mode in 16257 :L) ac_source=$1;; 16258 :[FH]) 16259 ac_file_inputs= 16260 for ac_f 16261 do 16262 case $ac_f in 16263 -) ac_f="$ac_tmp/stdin";; 16264 *) # Look for the file first in the build tree, then in the source tree 16265 # (if the path is not absolute). The absolute path cannot be DOS-style, 16266 # because $ac_f cannot contain `:'. 16267 test -f "$ac_f" || 16268 case $ac_f in 16269 [\\/$]*) false;; 16270 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16271 esac || 16272 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16273 esac 16274 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16275 as_fn_append ac_file_inputs " '$ac_f'" 16276 done 16277 16278 # Let's still pretend it is `configure' which instantiates (i.e., don't 16279 # use $as_me), people would be surprised to read: 16280 # /* config.h. Generated by config.status. */ 16281 configure_input='Generated from '` 16282 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16283 `' by configure.' 16284 if test x"$ac_file" != x-; then 16285 configure_input="$ac_file. $configure_input" 16286 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16287$as_echo "$as_me: creating $ac_file" >&6;} 16288 fi 16289 # Neutralize special characters interpreted by sed in replacement strings. 16290 case $configure_input in #( 16291 *\&* | *\|* | *\\* ) 16292 ac_sed_conf_input=`$as_echo "$configure_input" | 16293 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16294 *) ac_sed_conf_input=$configure_input;; 16295 esac 16296 16297 case $ac_tag in 16298 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 16299 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16300 esac 16301 ;; 16302 esac 16303 16304 ac_dir=`$as_dirname -- "$ac_file" || 16305$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16306 X"$ac_file" : 'X\(//\)[^/]' \| \ 16307 X"$ac_file" : 'X\(//\)$' \| \ 16308 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16309$as_echo X"$ac_file" | 16310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16311 s//\1/ 16312 q 16313 } 16314 /^X\(\/\/\)[^/].*/{ 16315 s//\1/ 16316 q 16317 } 16318 /^X\(\/\/\)$/{ 16319 s//\1/ 16320 q 16321 } 16322 /^X\(\/\).*/{ 16323 s//\1/ 16324 q 16325 } 16326 s/.*/./; q'` 16327 as_dir="$ac_dir"; as_fn_mkdir_p 16328 ac_builddir=. 16329 16330case "$ac_dir" in 16331.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16332*) 16333 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16334 # A ".." for each directory in $ac_dir_suffix. 16335 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16336 case $ac_top_builddir_sub in 16337 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16338 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16339 esac ;; 16340esac 16341ac_abs_top_builddir=$ac_pwd 16342ac_abs_builddir=$ac_pwd$ac_dir_suffix 16343# for backward compatibility: 16344ac_top_builddir=$ac_top_build_prefix 16345 16346case $srcdir in 16347 .) # We are building in place. 16348 ac_srcdir=. 16349 ac_top_srcdir=$ac_top_builddir_sub 16350 ac_abs_top_srcdir=$ac_pwd ;; 16351 [\\/]* | ?:[\\/]* ) # Absolute name. 16352 ac_srcdir=$srcdir$ac_dir_suffix; 16353 ac_top_srcdir=$srcdir 16354 ac_abs_top_srcdir=$srcdir ;; 16355 *) # Relative name. 16356 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 16357 ac_top_srcdir=$ac_top_build_prefix$srcdir 16358 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 16359esac 16360ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 16361 16362 16363 case $ac_mode in 16364 :F) 16365 # 16366 # CONFIG_FILE 16367 # 16368 16369 case $INSTALL in 16370 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16371 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 16372 esac 16373 ac_MKDIR_P=$MKDIR_P 16374 case $MKDIR_P in 16375 [\\/$]* | ?:[\\/]* ) ;; 16376 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 16377 esac 16378_ACEOF 16379 16380cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16381# If the template does not know about datarootdir, expand it. 16382# FIXME: This hack should be removed a few years after 2.60. 16383ac_datarootdir_hack=; ac_datarootdir_seen= 16384ac_sed_dataroot=' 16385/datarootdir/ { 16386 p 16387 q 16388} 16389/@datadir@/p 16390/@docdir@/p 16391/@infodir@/p 16392/@localedir@/p 16393/@mandir@/p' 16394case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16395*datarootdir*) ac_datarootdir_seen=yes;; 16396*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16398$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 16399_ACEOF 16400cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16401 ac_datarootdir_hack=' 16402 s&@datadir@&$datadir&g 16403 s&@docdir@&$docdir&g 16404 s&@infodir@&$infodir&g 16405 s&@localedir@&$localedir&g 16406 s&@mandir@&$mandir&g 16407 s&\\\${datarootdir}&$datarootdir&g' ;; 16408esac 16409_ACEOF 16410 16411# Neutralize VPATH when `$srcdir' = `.'. 16412# Shell code in configure.ac might set extrasub. 16413# FIXME: do we really want to maintain this feature? 16414cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16415ac_sed_extra="$ac_vpsub 16416$extrasub 16417_ACEOF 16418cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16419:t 16420/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16421s|@configure_input@|$ac_sed_conf_input|;t t 16422s&@top_builddir@&$ac_top_builddir_sub&;t t 16423s&@top_build_prefix@&$ac_top_build_prefix&;t t 16424s&@srcdir@&$ac_srcdir&;t t 16425s&@abs_srcdir@&$ac_abs_srcdir&;t t 16426s&@top_srcdir@&$ac_top_srcdir&;t t 16427s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 16428s&@builddir@&$ac_builddir&;t t 16429s&@abs_builddir@&$ac_abs_builddir&;t t 16430s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 16431s&@INSTALL@&$ac_INSTALL&;t t 16432s&@MKDIR_P@&$ac_MKDIR_P&;t t 16433$ac_datarootdir_hack 16434" 16435eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 16436 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16437 16438test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16439 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 16440 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 16441 "$ac_tmp/out"`; test -z "$ac_out"; } && 16442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16443which seems to be undefined. Please make sure it is defined" >&5 16444$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16445which seems to be undefined. Please make sure it is defined" >&2;} 16446 16447 rm -f "$ac_tmp/stdin" 16448 case $ac_file in 16449 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 16450 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 16451 esac \ 16452 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16453 ;; 16454 :H) 16455 # 16456 # CONFIG_HEADER 16457 # 16458 if test x"$ac_file" != x-; then 16459 { 16460 $as_echo "/* $configure_input */" \ 16461 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 16462 } >"$ac_tmp/config.h" \ 16463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16464 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 16465 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16466$as_echo "$as_me: $ac_file is unchanged" >&6;} 16467 else 16468 rm -f "$ac_file" 16469 mv "$ac_tmp/config.h" "$ac_file" \ 16470 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16471 fi 16472 else 16473 $as_echo "/* $configure_input */" \ 16474 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 16475 || as_fn_error $? "could not create -" "$LINENO" 5 16476 fi 16477# Compute "$ac_file"'s index in $config_headers. 16478_am_arg="$ac_file" 16479_am_stamp_count=1 16480for _am_header in $config_headers :; do 16481 case $_am_header in 16482 $_am_arg | $_am_arg:* ) 16483 break ;; 16484 * ) 16485 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 16486 esac 16487done 16488echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 16489$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16490 X"$_am_arg" : 'X\(//\)[^/]' \| \ 16491 X"$_am_arg" : 'X\(//\)$' \| \ 16492 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 16493$as_echo X"$_am_arg" | 16494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16495 s//\1/ 16496 q 16497 } 16498 /^X\(\/\/\)[^/].*/{ 16499 s//\1/ 16500 q 16501 } 16502 /^X\(\/\/\)$/{ 16503 s//\1/ 16504 q 16505 } 16506 /^X\(\/\).*/{ 16507 s//\1/ 16508 q 16509 } 16510 s/.*/./; q'`/stamp-h$_am_stamp_count 16511 ;; 16512 16513 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16514$as_echo "$as_me: executing $ac_file commands" >&6;} 16515 ;; 16516 esac 16517 16518 16519 case $ac_file$ac_mode in 16520 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 16521 # Older Autoconf quotes --file arguments for eval, but not when files 16522 # are listed without --file. Let's play safe and only enable the eval 16523 # if we detect the quoting. 16524 case $CONFIG_FILES in 16525 *\'*) eval set x "$CONFIG_FILES" ;; 16526 *) set x $CONFIG_FILES ;; 16527 esac 16528 shift 16529 for mf 16530 do 16531 # Strip MF so we end up with the name of the file. 16532 mf=`echo "$mf" | sed -e 's/:.*$//'` 16533 # Check whether this is an Automake generated Makefile or not. 16534 # We used to match only the files named 'Makefile.in', but 16535 # some people rename them; so instead we look at the file content. 16536 # Grep'ing the first line is not enough: some people post-process 16537 # each Makefile.in and add a new line on top of each file to say so. 16538 # Grep'ing the whole file is not good either: AIX grep has a line 16539 # limit of 2048, but all sed's we know have understand at least 4000. 16540 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 16541 dirpart=`$as_dirname -- "$mf" || 16542$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16543 X"$mf" : 'X\(//\)[^/]' \| \ 16544 X"$mf" : 'X\(//\)$' \| \ 16545 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 16546$as_echo X"$mf" | 16547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16548 s//\1/ 16549 q 16550 } 16551 /^X\(\/\/\)[^/].*/{ 16552 s//\1/ 16553 q 16554 } 16555 /^X\(\/\/\)$/{ 16556 s//\1/ 16557 q 16558 } 16559 /^X\(\/\).*/{ 16560 s//\1/ 16561 q 16562 } 16563 s/.*/./; q'` 16564 else 16565 continue 16566 fi 16567 # Extract the definition of DEPDIR, am__include, and am__quote 16568 # from the Makefile without running 'make'. 16569 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 16570 test -z "$DEPDIR" && continue 16571 am__include=`sed -n 's/^am__include = //p' < "$mf"` 16572 test -z "$am__include" && continue 16573 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 16574 # Find all dependency output files, they are included files with 16575 # $(DEPDIR) in their names. We invoke sed twice because it is the 16576 # simplest approach to changing $(DEPDIR) to its actual value in the 16577 # expansion. 16578 for file in `sed -n " 16579 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 16580 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 16581 # Make sure the directory exists. 16582 test -f "$dirpart/$file" && continue 16583 fdir=`$as_dirname -- "$file" || 16584$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16585 X"$file" : 'X\(//\)[^/]' \| \ 16586 X"$file" : 'X\(//\)$' \| \ 16587 X"$file" : 'X\(/\)' \| . 2>/dev/null || 16588$as_echo X"$file" | 16589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16590 s//\1/ 16591 q 16592 } 16593 /^X\(\/\/\)[^/].*/{ 16594 s//\1/ 16595 q 16596 } 16597 /^X\(\/\/\)$/{ 16598 s//\1/ 16599 q 16600 } 16601 /^X\(\/\).*/{ 16602 s//\1/ 16603 q 16604 } 16605 s/.*/./; q'` 16606 as_dir=$dirpart/$fdir; as_fn_mkdir_p 16607 # echo "creating $dirpart/$file" 16608 echo '# dummy' > "$dirpart/$file" 16609 done 16610 done 16611} 16612 ;; 16613 "libtool":C) 16614 16615 # See if we are running on zsh, and set the options that allow our 16616 # commands through without removal of \ escapes. 16617 if test -n "${ZSH_VERSION+set}"; then 16618 setopt NO_GLOB_SUBST 16619 fi 16620 16621 cfgfile=${ofile}T 16622 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 16623 $RM "$cfgfile" 16624 16625 cat <<_LT_EOF >> "$cfgfile" 16626#! $SHELL 16627# Generated automatically by $as_me ($PACKAGE) $VERSION 16628# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 16629# NOTE: Changes made to this file will be lost: look at ltmain.sh. 16630 16631# Provide generalized library-building support services. 16632# Written by Gordon Matzigkeit, 1996 16633 16634# Copyright (C) 2014 Free Software Foundation, Inc. 16635# This is free software; see the source for copying conditions. There is NO 16636# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16637 16638# GNU Libtool is free software; you can redistribute it and/or modify 16639# it under the terms of the GNU General Public License as published by 16640# the Free Software Foundation; either version 2 of of the License, or 16641# (at your option) any later version. 16642# 16643# As a special exception to the GNU General Public License, if you 16644# distribute this file as part of a program or library that is built 16645# using GNU Libtool, you may include this file under the same 16646# distribution terms that you use for the rest of that program. 16647# 16648# GNU Libtool is distributed in the hope that it will be useful, but 16649# WITHOUT ANY WARRANTY; without even the implied warranty of 16650# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16651# GNU General Public License for more details. 16652# 16653# You should have received a copy of the GNU General Public License 16654# along with this program. If not, see <http://www.gnu.org/licenses/>. 16655 16656 16657# The names of the tagged configurations supported by this script. 16658available_tags='' 16659 16660# Configured defaults for sys_lib_dlsearch_path munging. 16661: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 16662 16663# ### BEGIN LIBTOOL CONFIG 16664 16665# Which release of libtool.m4 was used? 16666macro_version=$macro_version 16667macro_revision=$macro_revision 16668 16669# Assembler program. 16670AS=$lt_AS 16671 16672# DLL creation program. 16673DLLTOOL=$lt_DLLTOOL 16674 16675# Object dumper program. 16676OBJDUMP=$lt_OBJDUMP 16677 16678# Whether or not to build shared libraries. 16679build_libtool_libs=$enable_shared 16680 16681# Whether or not to build static libraries. 16682build_old_libs=$enable_static 16683 16684# What type of objects to build. 16685pic_mode=$pic_mode 16686 16687# Whether or not to optimize for fast installation. 16688fast_install=$enable_fast_install 16689 16690# Shared archive member basename,for filename based shared library versioning on AIX. 16691shared_archive_member_spec=$shared_archive_member_spec 16692 16693# Shell to use when invoking shell scripts. 16694SHELL=$lt_SHELL 16695 16696# An echo program that protects backslashes. 16697ECHO=$lt_ECHO 16698 16699# The PATH separator for the build system. 16700PATH_SEPARATOR=$lt_PATH_SEPARATOR 16701 16702# The host system. 16703host_alias=$host_alias 16704host=$host 16705host_os=$host_os 16706 16707# The build system. 16708build_alias=$build_alias 16709build=$build 16710build_os=$build_os 16711 16712# A sed program that does not truncate output. 16713SED=$lt_SED 16714 16715# Sed that helps us avoid accidentally triggering echo(1) options like -n. 16716Xsed="\$SED -e 1s/^X//" 16717 16718# A grep program that handles long lines. 16719GREP=$lt_GREP 16720 16721# An ERE matcher. 16722EGREP=$lt_EGREP 16723 16724# A literal string matcher. 16725FGREP=$lt_FGREP 16726 16727# A BSD- or MS-compatible name lister. 16728NM=$lt_NM 16729 16730# Whether we need soft or hard links. 16731LN_S=$lt_LN_S 16732 16733# What is the maximum length of a command? 16734max_cmd_len=$max_cmd_len 16735 16736# Object file suffix (normally "o"). 16737objext=$ac_objext 16738 16739# Executable file suffix (normally ""). 16740exeext=$exeext 16741 16742# whether the shell understands "unset". 16743lt_unset=$lt_unset 16744 16745# turn spaces into newlines. 16746SP2NL=$lt_lt_SP2NL 16747 16748# turn newlines into spaces. 16749NL2SP=$lt_lt_NL2SP 16750 16751# convert \$build file names to \$host format. 16752to_host_file_cmd=$lt_cv_to_host_file_cmd 16753 16754# convert \$build files to toolchain format. 16755to_tool_file_cmd=$lt_cv_to_tool_file_cmd 16756 16757# Method to check whether dependent libraries are shared objects. 16758deplibs_check_method=$lt_deplibs_check_method 16759 16760# Command to use when deplibs_check_method = "file_magic". 16761file_magic_cmd=$lt_file_magic_cmd 16762 16763# How to find potential files when deplibs_check_method = "file_magic". 16764file_magic_glob=$lt_file_magic_glob 16765 16766# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 16767want_nocaseglob=$lt_want_nocaseglob 16768 16769# Command to associate shared and link libraries. 16770sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 16771 16772# The archiver. 16773AR=$lt_AR 16774 16775# Flags to create an archive. 16776AR_FLAGS=$lt_AR_FLAGS 16777 16778# How to feed a file listing to the archiver. 16779archiver_list_spec=$lt_archiver_list_spec 16780 16781# A symbol stripping program. 16782STRIP=$lt_STRIP 16783 16784# Commands used to install an old-style archive. 16785RANLIB=$lt_RANLIB 16786old_postinstall_cmds=$lt_old_postinstall_cmds 16787old_postuninstall_cmds=$lt_old_postuninstall_cmds 16788 16789# Whether to use a lock for old archive extraction. 16790lock_old_archive_extraction=$lock_old_archive_extraction 16791 16792# A C compiler. 16793LTCC=$lt_CC 16794 16795# LTCC compiler flags. 16796LTCFLAGS=$lt_CFLAGS 16797 16798# Take the output of nm and produce a listing of raw symbols and C names. 16799global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 16800 16801# Transform the output of nm in a proper C declaration. 16802global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 16803 16804# Transform the output of nm into a list of symbols to manually relocate. 16805global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 16806 16807# Transform the output of nm in a C name address pair. 16808global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 16809 16810# Transform the output of nm in a C name address pair when lib prefix is needed. 16811global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 16812 16813# The name lister interface. 16814nm_interface=$lt_lt_cv_nm_interface 16815 16816# Specify filename containing input files for \$NM. 16817nm_file_list_spec=$lt_nm_file_list_spec 16818 16819# The root where to search for dependent libraries,and where our libraries should be installed. 16820lt_sysroot=$lt_sysroot 16821 16822# Command to truncate a binary pipe. 16823lt_truncate_bin=$lt_lt_cv_truncate_bin 16824 16825# The name of the directory that contains temporary libtool files. 16826objdir=$objdir 16827 16828# Used to examine libraries when file_magic_cmd begins with "file". 16829MAGIC_CMD=$MAGIC_CMD 16830 16831# Must we lock files when doing compilation? 16832need_locks=$lt_need_locks 16833 16834# Manifest tool. 16835MANIFEST_TOOL=$lt_MANIFEST_TOOL 16836 16837# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 16838DSYMUTIL=$lt_DSYMUTIL 16839 16840# Tool to change global to local symbols on Mac OS X. 16841NMEDIT=$lt_NMEDIT 16842 16843# Tool to manipulate fat objects and archives on Mac OS X. 16844LIPO=$lt_LIPO 16845 16846# ldd/readelf like tool for Mach-O binaries on Mac OS X. 16847OTOOL=$lt_OTOOL 16848 16849# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 16850OTOOL64=$lt_OTOOL64 16851 16852# Old archive suffix (normally "a"). 16853libext=$libext 16854 16855# Shared library suffix (normally ".so"). 16856shrext_cmds=$lt_shrext_cmds 16857 16858# The commands to extract the exported symbol list from a shared archive. 16859extract_expsyms_cmds=$lt_extract_expsyms_cmds 16860 16861# Variables whose values should be saved in libtool wrapper scripts and 16862# restored at link time. 16863variables_saved_for_relink=$lt_variables_saved_for_relink 16864 16865# Do we need the "lib" prefix for modules? 16866need_lib_prefix=$need_lib_prefix 16867 16868# Do we need a version for libraries? 16869need_version=$need_version 16870 16871# Library versioning type. 16872version_type=$version_type 16873 16874# Shared library runtime path variable. 16875runpath_var=$runpath_var 16876 16877# Shared library path variable. 16878shlibpath_var=$shlibpath_var 16879 16880# Is shlibpath searched before the hard-coded library search path? 16881shlibpath_overrides_runpath=$shlibpath_overrides_runpath 16882 16883# Format of library name prefix. 16884libname_spec=$lt_libname_spec 16885 16886# List of archive names. First name is the real one, the rest are links. 16887# The last name is the one that the linker finds with -lNAME 16888library_names_spec=$lt_library_names_spec 16889 16890# The coded name of the library, if different from the real name. 16891soname_spec=$lt_soname_spec 16892 16893# Permission mode override for installation of shared libraries. 16894install_override_mode=$lt_install_override_mode 16895 16896# Command to use after installation of a shared archive. 16897postinstall_cmds=$lt_postinstall_cmds 16898 16899# Command to use after uninstallation of a shared archive. 16900postuninstall_cmds=$lt_postuninstall_cmds 16901 16902# Commands used to finish a libtool library installation in a directory. 16903finish_cmds=$lt_finish_cmds 16904 16905# As "finish_cmds", except a single script fragment to be evaled but 16906# not shown. 16907finish_eval=$lt_finish_eval 16908 16909# Whether we should hardcode library paths into libraries. 16910hardcode_into_libs=$hardcode_into_libs 16911 16912# Compile-time system search path for libraries. 16913sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16914 16915# Detected run-time system search path for libraries. 16916sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 16917 16918# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 16919configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 16920 16921# Whether dlopen is supported. 16922dlopen_support=$enable_dlopen 16923 16924# Whether dlopen of programs is supported. 16925dlopen_self=$enable_dlopen_self 16926 16927# Whether dlopen of statically linked programs is supported. 16928dlopen_self_static=$enable_dlopen_self_static 16929 16930# Commands to strip libraries. 16931old_striplib=$lt_old_striplib 16932striplib=$lt_striplib 16933 16934 16935# The linker used to build libraries. 16936LD=$lt_LD 16937 16938# How to create reloadable object files. 16939reload_flag=$lt_reload_flag 16940reload_cmds=$lt_reload_cmds 16941 16942# Commands used to build an old-style archive. 16943old_archive_cmds=$lt_old_archive_cmds 16944 16945# A language specific compiler. 16946CC=$lt_compiler 16947 16948# Is the compiler the GNU compiler? 16949with_gcc=$GCC 16950 16951# Compiler flag to turn off builtin functions. 16952no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16953 16954# Additional compiler flags for building library objects. 16955pic_flag=$lt_lt_prog_compiler_pic 16956 16957# How to pass a linker flag through the compiler. 16958wl=$lt_lt_prog_compiler_wl 16959 16960# Compiler flag to prevent dynamic linking. 16961link_static_flag=$lt_lt_prog_compiler_static 16962 16963# Does compiler simultaneously support -c and -o options? 16964compiler_c_o=$lt_lt_cv_prog_compiler_c_o 16965 16966# Whether or not to add -lc for building shared libraries. 16967build_libtool_need_lc=$archive_cmds_need_lc 16968 16969# Whether or not to disallow shared libs when runtime libs are static. 16970allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 16971 16972# Compiler flag to allow reflexive dlopens. 16973export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 16974 16975# Compiler flag to generate shared objects directly from archives. 16976whole_archive_flag_spec=$lt_whole_archive_flag_spec 16977 16978# Whether the compiler copes with passing no objects directly. 16979compiler_needs_object=$lt_compiler_needs_object 16980 16981# Create an old-style archive from a shared archive. 16982old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 16983 16984# Create a temporary old-style archive to link instead of a shared archive. 16985old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 16986 16987# Commands used to build a shared archive. 16988archive_cmds=$lt_archive_cmds 16989archive_expsym_cmds=$lt_archive_expsym_cmds 16990 16991# Commands used to build a loadable module if different from building 16992# a shared archive. 16993module_cmds=$lt_module_cmds 16994module_expsym_cmds=$lt_module_expsym_cmds 16995 16996# Whether we are building with GNU ld or not. 16997with_gnu_ld=$lt_with_gnu_ld 16998 16999# Flag that allows shared libraries with undefined symbols to be built. 17000allow_undefined_flag=$lt_allow_undefined_flag 17001 17002# Flag that enforces no undefined symbols. 17003no_undefined_flag=$lt_no_undefined_flag 17004 17005# Flag to hardcode \$libdir into a binary during linking. 17006# This must work even if \$libdir does not exist 17007hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 17008 17009# Whether we need a single "-rpath" flag with a separated argument. 17010hardcode_libdir_separator=$lt_hardcode_libdir_separator 17011 17012# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 17013# DIR into the resulting binary. 17014hardcode_direct=$hardcode_direct 17015 17016# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 17017# DIR into the resulting binary and the resulting library dependency is 17018# "absolute",i.e impossible to change by setting \$shlibpath_var if the 17019# library is relocated. 17020hardcode_direct_absolute=$hardcode_direct_absolute 17021 17022# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 17023# into the resulting binary. 17024hardcode_minus_L=$hardcode_minus_L 17025 17026# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 17027# into the resulting binary. 17028hardcode_shlibpath_var=$hardcode_shlibpath_var 17029 17030# Set to "yes" if building a shared library automatically hardcodes DIR 17031# into the library and all subsequent libraries and executables linked 17032# against it. 17033hardcode_automatic=$hardcode_automatic 17034 17035# Set to yes if linker adds runtime paths of dependent libraries 17036# to runtime path list. 17037inherit_rpath=$inherit_rpath 17038 17039# Whether libtool must link a program against all its dependency libraries. 17040link_all_deplibs=$link_all_deplibs 17041 17042# Set to "yes" if exported symbols are required. 17043always_export_symbols=$always_export_symbols 17044 17045# The commands to list exported symbols. 17046export_symbols_cmds=$lt_export_symbols_cmds 17047 17048# Symbols that should not be listed in the preloaded symbols. 17049exclude_expsyms=$lt_exclude_expsyms 17050 17051# Symbols that must always be exported. 17052include_expsyms=$lt_include_expsyms 17053 17054# Commands necessary for linking programs (against libraries) with templates. 17055prelink_cmds=$lt_prelink_cmds 17056 17057# Commands necessary for finishing linking programs. 17058postlink_cmds=$lt_postlink_cmds 17059 17060# Specify filename containing input files. 17061file_list_spec=$lt_file_list_spec 17062 17063# How to hardcode a shared library path into an executable. 17064hardcode_action=$hardcode_action 17065 17066# ### END LIBTOOL CONFIG 17067 17068_LT_EOF 17069 17070 cat <<'_LT_EOF' >> "$cfgfile" 17071 17072# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 17073 17074# func_munge_path_list VARIABLE PATH 17075# ----------------------------------- 17076# VARIABLE is name of variable containing _space_ separated list of 17077# directories to be munged by the contents of PATH, which is string 17078# having a format: 17079# "DIR[:DIR]:" 17080# string "DIR[ DIR]" will be prepended to VARIABLE 17081# ":DIR[:DIR]" 17082# string "DIR[ DIR]" will be appended to VARIABLE 17083# "DIRP[:DIRP]::[DIRA:]DIRA" 17084# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 17085# "DIRA[ DIRA]" will be appended to VARIABLE 17086# "DIR[:DIR]" 17087# VARIABLE will be replaced by "DIR[ DIR]" 17088func_munge_path_list () 17089{ 17090 case x$2 in 17091 x) 17092 ;; 17093 *:) 17094 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 17095 ;; 17096 x:*) 17097 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 17098 ;; 17099 *::*) 17100 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 17101 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 17102 ;; 17103 *) 17104 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 17105 ;; 17106 esac 17107} 17108 17109 17110# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 17111func_cc_basename () 17112{ 17113 for cc_temp in $*""; do 17114 case $cc_temp in 17115 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 17116 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 17117 \-*) ;; 17118 *) break;; 17119 esac 17120 done 17121 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 17122} 17123 17124 17125# ### END FUNCTIONS SHARED WITH CONFIGURE 17126 17127_LT_EOF 17128 17129 case $host_os in 17130 aix3*) 17131 cat <<\_LT_EOF >> "$cfgfile" 17132# AIX sometimes has problems with the GCC collect2 program. For some 17133# reason, if we set the COLLECT_NAMES environment variable, the problems 17134# vanish in a puff of smoke. 17135if test set != "${COLLECT_NAMES+set}"; then 17136 COLLECT_NAMES= 17137 export COLLECT_NAMES 17138fi 17139_LT_EOF 17140 ;; 17141 esac 17142 17143 17144ltmain=$ac_aux_dir/ltmain.sh 17145 17146 17147 # We use sed instead of cat because bash on DJGPP gets confused if 17148 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17149 # text mode, it properly converts lines to CR/LF. This bash problem 17150 # is reportedly fixed, but why not run on old versions too? 17151 sed '$q' "$ltmain" >> "$cfgfile" \ 17152 || (rm -f "$cfgfile"; exit 1) 17153 17154 mv -f "$cfgfile" "$ofile" || 17155 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17156 chmod +x "$ofile" 17157 17158 ;; 17159 17160 esac 17161done # for ac_tag 17162 17163 17164as_fn_exit 0 17165_ACEOF 17166ac_clean_files=$ac_clean_files_save 17167 17168test $ac_write_fail = 0 || 17169 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17170 17171 17172# configure is writing to config.log, and then calls config.status. 17173# config.status does its own redirection, appending to config.log. 17174# Unfortunately, on DOS this fails, as config.log is still kept open 17175# by configure, so config.status won't be able to write to it; its 17176# output is simply discarded. So we exec the FD to /dev/null, 17177# effectively closing config.log, so it can be properly (re)opened and 17178# appended to by config.status. When coming back to configure, we 17179# need to make the FD available again. 17180if test "$no_create" != yes; then 17181 ac_cs_success=: 17182 ac_config_status_args= 17183 test "$silent" = yes && 17184 ac_config_status_args="$ac_config_status_args --quiet" 17185 exec 5>/dev/null 17186 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 17187 exec 5>>config.log 17188 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17189 # would make configure fail if this is the last instruction. 17190 $ac_cs_success || as_fn_exit 1 17191fi 17192if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 17193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 17194$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17195fi 17196 17197