1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for mendex (TeX Live) 2.6f. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='mendex (TeX Live)' 589PACKAGE_TARNAME='mendex--tex-live-' 590PACKAGE_VERSION='2.6f' 591PACKAGE_STRING='mendex (TeX Live) 2.6f' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595ac_unique_file="main.c" 596# Factoring default headers for most tests. 597ac_includes_default="\ 598#include <stdio.h> 599#ifdef HAVE_SYS_TYPES_H 600# include <sys/types.h> 601#endif 602#ifdef HAVE_SYS_STAT_H 603# include <sys/stat.h> 604#endif 605#ifdef STDC_HEADERS 606# include <stdlib.h> 607# include <stddef.h> 608#else 609# ifdef HAVE_STDLIB_H 610# include <stdlib.h> 611# endif 612#endif 613#ifdef HAVE_STRING_H 614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 615# include <memory.h> 616# endif 617# include <string.h> 618#endif 619#ifdef HAVE_STRINGS_H 620# include <strings.h> 621#endif 622#ifdef HAVE_INTTYPES_H 623# include <inttypes.h> 624#endif 625#ifdef HAVE_STDINT_H 626# include <stdint.h> 627#endif 628#ifdef HAVE_UNISTD_H 629# include <unistd.h> 630#endif" 631 632ac_subst_vars='am__EXEEXT_FALSE 633am__EXEEXT_TRUE 634LTLIBOBJS 635LIBOBJS 636PTEXENC_RULE 637PTEXENC_DEPEND 638PTEXENC_LIBS 639PTEXENC_INCLUDES 640KPATHSEA_RULE 641KPATHSEA_DEPEND 642KPATHSEA_LIBS 643KPATHSEA_INCLUDES 644PKG_CONFIG 645CPP 646LT_SYS_LIBRARY_PATH 647OTOOL64 648OTOOL 649LIPO 650NMEDIT 651DSYMUTIL 652MANIFEST_TOOL 653RANLIB 654ac_ct_AR 655AR 656LN_S 657NM 658ac_ct_DUMPBIN 659DUMPBIN 660LD 661FGREP 662EGREP 663GREP 664SED 665host_os 666host_vendor 667host_cpu 668host 669build_os 670build_vendor 671build_cpu 672build 673LIBTOOL 674OBJDUMP 675DLLTOOL 676AS 677WARNING_CFLAGS 678am__fastdepCC_FALSE 679am__fastdepCC_TRUE 680CCDEPMODE 681am__nodep 682AMDEPBACKSLASH 683AMDEP_FALSE 684AMDEP_TRUE 685am__quote 686am__include 687DEPDIR 688OBJEXT 689EXEEXT 690ac_ct_CC 691CPPFLAGS 692LDFLAGS 693CFLAGS 694CC 695MAINT 696MAINTAINER_MODE_FALSE 697MAINTAINER_MODE_TRUE 698AM_BACKSLASH 699AM_DEFAULT_VERBOSITY 700AM_DEFAULT_V 701AM_V 702am__untar 703am__tar 704AMTAR 705am__leading_dot 706SET_MAKE 707AWK 708mkdir_p 709MKDIR_P 710INSTALL_STRIP_PROGRAM 711STRIP 712install_sh 713MAKEINFO 714AUTOHEADER 715AUTOMAKE 716AUTOCONF 717ACLOCAL 718VERSION 719PACKAGE 720CYGPATH_W 721am__isrc 722INSTALL_DATA 723INSTALL_SCRIPT 724INSTALL_PROGRAM 725target_alias 726host_alias 727build_alias 728LIBS 729ECHO_T 730ECHO_N 731ECHO_C 732DEFS 733mandir 734localedir 735libdir 736psdir 737pdfdir 738dvidir 739htmldir 740infodir 741docdir 742oldincludedir 743includedir 744localstatedir 745sharedstatedir 746sysconfdir 747datadir 748datarootdir 749libexecdir 750sbindir 751bindir 752program_transform_name 753prefix 754exec_prefix 755PACKAGE_URL 756PACKAGE_BUGREPORT 757PACKAGE_STRING 758PACKAGE_VERSION 759PACKAGE_TARNAME 760PACKAGE_NAME 761PATH_SEPARATOR 762SHELL' 763ac_subst_files='' 764ac_user_opts=' 765enable_option_checking 766enable_silent_rules 767enable_maintainer_mode 768enable_dependency_tracking 769enable_compiler_warnings 770enable_shared 771enable_static 772with_pic 773enable_fast_install 774with_aix_soname 775with_gnu_ld 776with_sysroot 777enable_libtool_lock 778enable_largefile 779with_system_kpathsea 780with_system_ptexenc 781' 782 ac_precious_vars='build_alias 783host_alias 784target_alias 785CC 786CFLAGS 787LDFLAGS 788LIBS 789CPPFLAGS 790LT_SYS_LIBRARY_PATH 791CPP' 792 793 794# Initialize some variables set by options. 795ac_init_help= 796ac_init_version=false 797ac_unrecognized_opts= 798ac_unrecognized_sep= 799# The variables have the same names as the options, with 800# dashes changed to underlines. 801cache_file=/dev/null 802exec_prefix=NONE 803no_create= 804no_recursion= 805prefix=NONE 806program_prefix=NONE 807program_suffix=NONE 808program_transform_name=s,x,x, 809silent= 810site= 811srcdir= 812verbose= 813x_includes=NONE 814x_libraries=NONE 815 816# Installation directory options. 817# These are left unexpanded so users can "make install exec_prefix=/foo" 818# and all the variables that are supposed to be based on exec_prefix 819# by default will actually change. 820# Use braces instead of parens because sh, perl, etc. also accept them. 821# (The list follows the same order as the GNU Coding Standards.) 822bindir='${exec_prefix}/bin' 823sbindir='${exec_prefix}/sbin' 824libexecdir='${exec_prefix}/libexec' 825datarootdir='${prefix}/share' 826datadir='${datarootdir}' 827sysconfdir='${prefix}/etc' 828sharedstatedir='${prefix}/com' 829localstatedir='${prefix}/var' 830includedir='${prefix}/include' 831oldincludedir='/usr/include' 832docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 833infodir='${datarootdir}/info' 834htmldir='${docdir}' 835dvidir='${docdir}' 836pdfdir='${docdir}' 837psdir='${docdir}' 838libdir='${exec_prefix}/lib' 839localedir='${datarootdir}/locale' 840mandir='${datarootdir}/man' 841 842ac_prev= 843ac_dashdash= 844for ac_option 845do 846 # If the previous option needs an argument, assign it. 847 if test -n "$ac_prev"; then 848 eval $ac_prev=\$ac_option 849 ac_prev= 850 continue 851 fi 852 853 case $ac_option in 854 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 855 *=) ac_optarg= ;; 856 *) ac_optarg=yes ;; 857 esac 858 859 # Accept the important Cygnus configure options, so we can diagnose typos. 860 861 case $ac_dashdash$ac_option in 862 --) 863 ac_dashdash=yes ;; 864 865 -bindir | --bindir | --bindi | --bind | --bin | --bi) 866 ac_prev=bindir ;; 867 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 868 bindir=$ac_optarg ;; 869 870 -build | --build | --buil | --bui | --bu) 871 ac_prev=build_alias ;; 872 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 873 build_alias=$ac_optarg ;; 874 875 -cache-file | --cache-file | --cache-fil | --cache-fi \ 876 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 877 ac_prev=cache_file ;; 878 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 879 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 880 cache_file=$ac_optarg ;; 881 882 --config-cache | -C) 883 cache_file=config.cache ;; 884 885 -datadir | --datadir | --datadi | --datad) 886 ac_prev=datadir ;; 887 -datadir=* | --datadir=* | --datadi=* | --datad=*) 888 datadir=$ac_optarg ;; 889 890 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 891 | --dataroo | --dataro | --datar) 892 ac_prev=datarootdir ;; 893 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 894 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 895 datarootdir=$ac_optarg ;; 896 897 -disable-* | --disable-*) 898 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 899 # Reject names that are not valid shell variable names. 900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 901 as_fn_error $? "invalid feature name: $ac_useropt" 902 ac_useropt_orig=$ac_useropt 903 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 904 case $ac_user_opts in 905 *" 906"enable_$ac_useropt" 907"*) ;; 908 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 909 ac_unrecognized_sep=', ';; 910 esac 911 eval enable_$ac_useropt=no ;; 912 913 -docdir | --docdir | --docdi | --doc | --do) 914 ac_prev=docdir ;; 915 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 916 docdir=$ac_optarg ;; 917 918 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 919 ac_prev=dvidir ;; 920 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 921 dvidir=$ac_optarg ;; 922 923 -enable-* | --enable-*) 924 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 925 # Reject names that are not valid shell variable names. 926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 927 as_fn_error $? "invalid feature name: $ac_useropt" 928 ac_useropt_orig=$ac_useropt 929 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 930 case $ac_user_opts in 931 *" 932"enable_$ac_useropt" 933"*) ;; 934 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 935 ac_unrecognized_sep=', ';; 936 esac 937 eval enable_$ac_useropt=\$ac_optarg ;; 938 939 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 940 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 941 | --exec | --exe | --ex) 942 ac_prev=exec_prefix ;; 943 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 944 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 945 | --exec=* | --exe=* | --ex=*) 946 exec_prefix=$ac_optarg ;; 947 948 -gas | --gas | --ga | --g) 949 # Obsolete; use --with-gas. 950 with_gas=yes ;; 951 952 -help | --help | --hel | --he | -h) 953 ac_init_help=long ;; 954 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 955 ac_init_help=recursive ;; 956 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 957 ac_init_help=short ;; 958 959 -host | --host | --hos | --ho) 960 ac_prev=host_alias ;; 961 -host=* | --host=* | --hos=* | --ho=*) 962 host_alias=$ac_optarg ;; 963 964 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 965 ac_prev=htmldir ;; 966 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 967 | --ht=*) 968 htmldir=$ac_optarg ;; 969 970 -includedir | --includedir | --includedi | --included | --include \ 971 | --includ | --inclu | --incl | --inc) 972 ac_prev=includedir ;; 973 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 974 | --includ=* | --inclu=* | --incl=* | --inc=*) 975 includedir=$ac_optarg ;; 976 977 -infodir | --infodir | --infodi | --infod | --info | --inf) 978 ac_prev=infodir ;; 979 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 980 infodir=$ac_optarg ;; 981 982 -libdir | --libdir | --libdi | --libd) 983 ac_prev=libdir ;; 984 -libdir=* | --libdir=* | --libdi=* | --libd=*) 985 libdir=$ac_optarg ;; 986 987 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 988 | --libexe | --libex | --libe) 989 ac_prev=libexecdir ;; 990 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 991 | --libexe=* | --libex=* | --libe=*) 992 libexecdir=$ac_optarg ;; 993 994 -localedir | --localedir | --localedi | --localed | --locale) 995 ac_prev=localedir ;; 996 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 997 localedir=$ac_optarg ;; 998 999 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1000 | --localstate | --localstat | --localsta | --localst | --locals) 1001 ac_prev=localstatedir ;; 1002 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1003 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1004 localstatedir=$ac_optarg ;; 1005 1006 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1007 ac_prev=mandir ;; 1008 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1009 mandir=$ac_optarg ;; 1010 1011 -nfp | --nfp | --nf) 1012 # Obsolete; use --without-fp. 1013 with_fp=no ;; 1014 1015 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1016 | --no-cr | --no-c | -n) 1017 no_create=yes ;; 1018 1019 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1020 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1021 no_recursion=yes ;; 1022 1023 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1024 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1025 | --oldin | --oldi | --old | --ol | --o) 1026 ac_prev=oldincludedir ;; 1027 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1028 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1029 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1030 oldincludedir=$ac_optarg ;; 1031 1032 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1033 ac_prev=prefix ;; 1034 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1035 prefix=$ac_optarg ;; 1036 1037 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1038 | --program-pre | --program-pr | --program-p) 1039 ac_prev=program_prefix ;; 1040 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1041 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1042 program_prefix=$ac_optarg ;; 1043 1044 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1045 | --program-suf | --program-su | --program-s) 1046 ac_prev=program_suffix ;; 1047 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1048 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1049 program_suffix=$ac_optarg ;; 1050 1051 -program-transform-name | --program-transform-name \ 1052 | --program-transform-nam | --program-transform-na \ 1053 | --program-transform-n | --program-transform- \ 1054 | --program-transform | --program-transfor \ 1055 | --program-transfo | --program-transf \ 1056 | --program-trans | --program-tran \ 1057 | --progr-tra | --program-tr | --program-t) 1058 ac_prev=program_transform_name ;; 1059 -program-transform-name=* | --program-transform-name=* \ 1060 | --program-transform-nam=* | --program-transform-na=* \ 1061 | --program-transform-n=* | --program-transform-=* \ 1062 | --program-transform=* | --program-transfor=* \ 1063 | --program-transfo=* | --program-transf=* \ 1064 | --program-trans=* | --program-tran=* \ 1065 | --progr-tra=* | --program-tr=* | --program-t=*) 1066 program_transform_name=$ac_optarg ;; 1067 1068 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1069 ac_prev=pdfdir ;; 1070 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1071 pdfdir=$ac_optarg ;; 1072 1073 -psdir | --psdir | --psdi | --psd | --ps) 1074 ac_prev=psdir ;; 1075 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1076 psdir=$ac_optarg ;; 1077 1078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1079 | -silent | --silent | --silen | --sile | --sil) 1080 silent=yes ;; 1081 1082 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1083 ac_prev=sbindir ;; 1084 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1085 | --sbi=* | --sb=*) 1086 sbindir=$ac_optarg ;; 1087 1088 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1089 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1090 | --sharedst | --shareds | --shared | --share | --shar \ 1091 | --sha | --sh) 1092 ac_prev=sharedstatedir ;; 1093 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1094 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1095 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1096 | --sha=* | --sh=*) 1097 sharedstatedir=$ac_optarg ;; 1098 1099 -site | --site | --sit) 1100 ac_prev=site ;; 1101 -site=* | --site=* | --sit=*) 1102 site=$ac_optarg ;; 1103 1104 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1105 ac_prev=srcdir ;; 1106 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1107 srcdir=$ac_optarg ;; 1108 1109 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1110 | --syscon | --sysco | --sysc | --sys | --sy) 1111 ac_prev=sysconfdir ;; 1112 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1113 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1114 sysconfdir=$ac_optarg ;; 1115 1116 -target | --target | --targe | --targ | --tar | --ta | --t) 1117 ac_prev=target_alias ;; 1118 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1119 target_alias=$ac_optarg ;; 1120 1121 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1122 verbose=yes ;; 1123 1124 -version | --version | --versio | --versi | --vers | -V) 1125 ac_init_version=: ;; 1126 1127 -with-* | --with-*) 1128 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1129 # Reject names that are not valid shell variable names. 1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1131 as_fn_error $? "invalid package name: $ac_useropt" 1132 ac_useropt_orig=$ac_useropt 1133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1134 case $ac_user_opts in 1135 *" 1136"with_$ac_useropt" 1137"*) ;; 1138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1139 ac_unrecognized_sep=', ';; 1140 esac 1141 eval with_$ac_useropt=\$ac_optarg ;; 1142 1143 -without-* | --without-*) 1144 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1145 # Reject names that are not valid shell variable names. 1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1147 as_fn_error $? "invalid package name: $ac_useropt" 1148 ac_useropt_orig=$ac_useropt 1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1150 case $ac_user_opts in 1151 *" 1152"with_$ac_useropt" 1153"*) ;; 1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1155 ac_unrecognized_sep=', ';; 1156 esac 1157 eval with_$ac_useropt=no ;; 1158 1159 --x) 1160 # Obsolete; use --with-x. 1161 with_x=yes ;; 1162 1163 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1164 | --x-incl | --x-inc | --x-in | --x-i) 1165 ac_prev=x_includes ;; 1166 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1167 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1168 x_includes=$ac_optarg ;; 1169 1170 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1171 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1172 ac_prev=x_libraries ;; 1173 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1174 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1175 x_libraries=$ac_optarg ;; 1176 1177 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1178Try \`$0 --help' for more information" 1179 ;; 1180 1181 *=*) 1182 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1183 # Reject names that are not valid shell variable names. 1184 case $ac_envvar in #( 1185 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1186 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1187 esac 1188 eval $ac_envvar=\$ac_optarg 1189 export $ac_envvar ;; 1190 1191 *) 1192 # FIXME: should be removed in autoconf 3.0. 1193 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1196 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1197 ;; 1198 1199 esac 1200done 1201 1202if test -n "$ac_prev"; then 1203 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1204 as_fn_error $? "missing argument to $ac_option" 1205fi 1206 1207if test -n "$ac_unrecognized_opts"; then 1208 case $enable_option_checking in 1209 no) ;; 1210 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1211 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1212 esac 1213fi 1214 1215# Check all directory arguments for consistency. 1216for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1217 datadir sysconfdir sharedstatedir localstatedir includedir \ 1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1219 libdir localedir mandir 1220do 1221 eval ac_val=\$$ac_var 1222 # Remove trailing slashes. 1223 case $ac_val in 1224 */ ) 1225 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1226 eval $ac_var=\$ac_val;; 1227 esac 1228 # Be sure to have absolute directory names. 1229 case $ac_val in 1230 [\\/$]* | ?:[\\/]* ) continue;; 1231 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1232 esac 1233 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1234done 1235 1236# There might be people who depend on the old broken behavior: `$host' 1237# used to hold the argument of --host etc. 1238# FIXME: To remove some day. 1239build=$build_alias 1240host=$host_alias 1241target=$target_alias 1242 1243# FIXME: To remove some day. 1244if test "x$host_alias" != x; then 1245 if test "x$build_alias" = x; then 1246 cross_compiling=maybe 1247 elif test "x$build_alias" != "x$host_alias"; then 1248 cross_compiling=yes 1249 fi 1250fi 1251 1252ac_tool_prefix= 1253test -n "$host_alias" && ac_tool_prefix=$host_alias- 1254 1255test "$silent" = yes && exec 6>/dev/null 1256 1257 1258ac_pwd=`pwd` && test -n "$ac_pwd" && 1259ac_ls_di=`ls -di .` && 1260ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1261 as_fn_error $? "working directory cannot be determined" 1262test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1263 as_fn_error $? "pwd does not report name of working directory" 1264 1265 1266# Find the source files, if location was not specified. 1267if test -z "$srcdir"; then 1268 ac_srcdir_defaulted=yes 1269 # Try the directory containing this script, then the parent directory. 1270 ac_confdir=`$as_dirname -- "$as_myself" || 1271$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1272 X"$as_myself" : 'X\(//\)[^/]' \| \ 1273 X"$as_myself" : 'X\(//\)$' \| \ 1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1275$as_echo X"$as_myself" | 1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1277 s//\1/ 1278 q 1279 } 1280 /^X\(\/\/\)[^/].*/{ 1281 s//\1/ 1282 q 1283 } 1284 /^X\(\/\/\)$/{ 1285 s//\1/ 1286 q 1287 } 1288 /^X\(\/\).*/{ 1289 s//\1/ 1290 q 1291 } 1292 s/.*/./; q'` 1293 srcdir=$ac_confdir 1294 if test ! -r "$srcdir/$ac_unique_file"; then 1295 srcdir=.. 1296 fi 1297else 1298 ac_srcdir_defaulted=no 1299fi 1300if test ! -r "$srcdir/$ac_unique_file"; then 1301 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1302 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1303fi 1304ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1305ac_abs_confdir=`( 1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1307 pwd)` 1308# When building in place, set srcdir=. 1309if test "$ac_abs_confdir" = "$ac_pwd"; then 1310 srcdir=. 1311fi 1312# Remove unnecessary trailing slashes from srcdir. 1313# Double slashes in file names in object file debugging info 1314# mess up M-x gdb in Emacs. 1315case $srcdir in 1316*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1317esac 1318for ac_var in $ac_precious_vars; do 1319 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1320 eval ac_env_${ac_var}_value=\$${ac_var} 1321 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1322 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1323done 1324 1325# 1326# Report the --help message. 1327# 1328if test "$ac_init_help" = "long"; then 1329 # Omit some internal or obsolete options to make the list less imposing. 1330 # This message is too long to be a string in the A/UX 3.1 sh. 1331 cat <<_ACEOF 1332\`configure' configures mendex (TeX Live) 2.6f to adapt to many kinds of systems. 1333 1334Usage: $0 [OPTION]... [VAR=VALUE]... 1335 1336To assign environment variables (e.g., CC, CFLAGS...), specify them as 1337VAR=VALUE. See below for descriptions of some of the useful variables. 1338 1339Defaults for the options are specified in brackets. 1340 1341Configuration: 1342 -h, --help display this help and exit 1343 --help=short display options specific to this package 1344 --help=recursive display the short help of all the included packages 1345 -V, --version display version information and exit 1346 -q, --quiet, --silent do not print \`checking ...' messages 1347 --cache-file=FILE cache test results in FILE [disabled] 1348 -C, --config-cache alias for \`--cache-file=config.cache' 1349 -n, --no-create do not create output files 1350 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1351 1352Installation directories: 1353 --prefix=PREFIX install architecture-independent files in PREFIX 1354 [$ac_default_prefix] 1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1356 [PREFIX] 1357 1358By default, \`make install' will install all the files in 1359\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1360an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1361for instance \`--prefix=\$HOME'. 1362 1363For better control, use the options below. 1364 1365Fine tuning of the installation directories: 1366 --bindir=DIR user executables [EPREFIX/bin] 1367 --sbindir=DIR system admin executables [EPREFIX/sbin] 1368 --libexecdir=DIR program executables [EPREFIX/libexec] 1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1372 --libdir=DIR object code libraries [EPREFIX/lib] 1373 --includedir=DIR C header files [PREFIX/include] 1374 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1377 --infodir=DIR info documentation [DATAROOTDIR/info] 1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1379 --mandir=DIR man documentation [DATAROOTDIR/man] 1380 --docdir=DIR documentation root 1381 [DATAROOTDIR/doc/mendex--tex-live-] 1382 --htmldir=DIR html documentation [DOCDIR] 1383 --dvidir=DIR dvi documentation [DOCDIR] 1384 --pdfdir=DIR pdf documentation [DOCDIR] 1385 --psdir=DIR ps documentation [DOCDIR] 1386_ACEOF 1387 1388 cat <<\_ACEOF 1389 1390Program names: 1391 --program-prefix=PREFIX prepend PREFIX to installed program names 1392 --program-suffix=SUFFIX append SUFFIX to installed program names 1393 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1394 1395System types: 1396 --build=BUILD configure for building on BUILD [guessed] 1397 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1398_ACEOF 1399fi 1400 1401if test -n "$ac_init_help"; then 1402 case $ac_init_help in 1403 short | recursive ) echo "Configuration of mendex (TeX Live) 2.6f:";; 1404 esac 1405 cat <<\_ACEOF 1406 1407Optional Features: 1408 --disable-option-checking ignore unrecognized --enable/--with options 1409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1411 --enable-silent-rules less verbose build output (undo: "make V=1") 1412 --disable-silent-rules verbose build output (undo: "make V=0") 1413 --enable-maintainer-mode 1414 enable make rules and dependencies not useful (and 1415 sometimes confusing) to the casual installer 1416 --enable-dependency-tracking 1417 do not reject slow dependency extractors 1418 --disable-dependency-tracking 1419 speeds up one-time build 1420 --enable-compiler-warnings=[no|min|yes|max|all] 1421 Turn on compiler warnings [default: yes if 1422 maintainer-mode, min otherwise] 1423 --enable-shared[=PKGS] build shared libraries [default=yes] 1424 --enable-static[=PKGS] build static libraries [default=yes] 1425 --enable-fast-install[=PKGS] 1426 optimize for fast installation [default=yes] 1427 --disable-libtool-lock avoid locking (might break parallel builds) 1428 --disable-largefile omit support for large files 1429 1430Optional Packages: 1431 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1432 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1433 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1434 both] 1435 --with-aix-soname=aix|svr4|both 1436 shared library versioning (aka "SONAME") variant to 1437 provide on AIX, [default=aix]. 1438 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1439 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1440 compiler's sysroot if not specified). 1441 --with-system-kpathsea use installed kpathsea headers and library (requires 1442 pkg-config) 1443 --with-system-ptexenc use installed ptexenc headers and library (requires 1444 pkg-config) 1445 1446Some influential environment variables: 1447 CC C compiler command 1448 CFLAGS C compiler flags 1449 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1450 nonstandard directory <lib dir> 1451 LIBS libraries to pass to the linker, e.g. -l<library> 1452 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1453 you have headers in a nonstandard directory <include dir> 1454 LT_SYS_LIBRARY_PATH 1455 User-defined run-time library search path. 1456 CPP C preprocessor 1457 1458Use these variables to override the choices made by `configure' or to help 1459it to find libraries and programs with nonstandard names/locations. 1460 1461Report bugs to the package provider. 1462_ACEOF 1463ac_status=$? 1464fi 1465 1466if test "$ac_init_help" = "recursive"; then 1467 # If there are subdirs, report their specific --help. 1468 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1469 test -d "$ac_dir" || 1470 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1471 continue 1472 ac_builddir=. 1473 1474case "$ac_dir" in 1475.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1476*) 1477 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1478 # A ".." for each directory in $ac_dir_suffix. 1479 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1480 case $ac_top_builddir_sub in 1481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1483 esac ;; 1484esac 1485ac_abs_top_builddir=$ac_pwd 1486ac_abs_builddir=$ac_pwd$ac_dir_suffix 1487# for backward compatibility: 1488ac_top_builddir=$ac_top_build_prefix 1489 1490case $srcdir in 1491 .) # We are building in place. 1492 ac_srcdir=. 1493 ac_top_srcdir=$ac_top_builddir_sub 1494 ac_abs_top_srcdir=$ac_pwd ;; 1495 [\\/]* | ?:[\\/]* ) # Absolute name. 1496 ac_srcdir=$srcdir$ac_dir_suffix; 1497 ac_top_srcdir=$srcdir 1498 ac_abs_top_srcdir=$srcdir ;; 1499 *) # Relative name. 1500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1501 ac_top_srcdir=$ac_top_build_prefix$srcdir 1502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1503esac 1504ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1505 1506 cd "$ac_dir" || { ac_status=$?; continue; } 1507 # Check for guested configure. 1508 if test -f "$ac_srcdir/configure.gnu"; then 1509 echo && 1510 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1511 elif test -f "$ac_srcdir/configure"; then 1512 echo && 1513 $SHELL "$ac_srcdir/configure" --help=recursive 1514 else 1515 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1516 fi || ac_status=$? 1517 cd "$ac_pwd" || { ac_status=$?; break; } 1518 done 1519fi 1520 1521test -n "$ac_init_help" && exit $ac_status 1522if $ac_init_version; then 1523 cat <<\_ACEOF 1524mendex (TeX Live) configure 2.6f 1525generated by GNU Autoconf 2.69 1526 1527Copyright (C) 2012 Free Software Foundation, Inc. 1528This configure script is free software; the Free Software Foundation 1529gives unlimited permission to copy, distribute and modify it. 1530_ACEOF 1531 exit 1532fi 1533 1534## ------------------------ ## 1535## Autoconf initialization. ## 1536## ------------------------ ## 1537 1538# ac_fn_c_try_compile LINENO 1539# -------------------------- 1540# Try to compile conftest.$ac_ext, and return whether this succeeded. 1541ac_fn_c_try_compile () 1542{ 1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1544 rm -f conftest.$ac_objext 1545 if { { ac_try="$ac_compile" 1546case "(($ac_try" in 1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1548 *) ac_try_echo=$ac_try;; 1549esac 1550eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1551$as_echo "$ac_try_echo"; } >&5 1552 (eval "$ac_compile") 2>conftest.err 1553 ac_status=$? 1554 if test -s conftest.err; then 1555 grep -v '^ *+' conftest.err >conftest.er1 1556 cat conftest.er1 >&5 1557 mv -f conftest.er1 conftest.err 1558 fi 1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1560 test $ac_status = 0; } && { 1561 test -z "$ac_c_werror_flag" || 1562 test ! -s conftest.err 1563 } && test -s conftest.$ac_objext; then : 1564 ac_retval=0 1565else 1566 $as_echo "$as_me: failed program was:" >&5 1567sed 's/^/| /' conftest.$ac_ext >&5 1568 1569 ac_retval=1 1570fi 1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1572 as_fn_set_status $ac_retval 1573 1574} # ac_fn_c_try_compile 1575 1576# ac_fn_c_try_link LINENO 1577# ----------------------- 1578# Try to link conftest.$ac_ext, and return whether this succeeded. 1579ac_fn_c_try_link () 1580{ 1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1582 rm -f conftest.$ac_objext conftest$ac_exeext 1583 if { { ac_try="$ac_link" 1584case "(($ac_try" in 1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1586 *) ac_try_echo=$ac_try;; 1587esac 1588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1589$as_echo "$ac_try_echo"; } >&5 1590 (eval "$ac_link") 2>conftest.err 1591 ac_status=$? 1592 if test -s conftest.err; then 1593 grep -v '^ *+' conftest.err >conftest.er1 1594 cat conftest.er1 >&5 1595 mv -f conftest.er1 conftest.err 1596 fi 1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1598 test $ac_status = 0; } && { 1599 test -z "$ac_c_werror_flag" || 1600 test ! -s conftest.err 1601 } && test -s conftest$ac_exeext && { 1602 test "$cross_compiling" = yes || 1603 test -x conftest$ac_exeext 1604 }; then : 1605 ac_retval=0 1606else 1607 $as_echo "$as_me: failed program was:" >&5 1608sed 's/^/| /' conftest.$ac_ext >&5 1609 1610 ac_retval=1 1611fi 1612 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1613 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1614 # interfere with the next link command; also delete a directory that is 1615 # left behind by Apple's compiler. We do this before executing the actions. 1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1618 as_fn_set_status $ac_retval 1619 1620} # ac_fn_c_try_link 1621 1622# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1623# ------------------------------------------------------- 1624# Tests whether HEADER exists and can be compiled using the include files in 1625# INCLUDES, setting the cache variable VAR accordingly. 1626ac_fn_c_check_header_compile () 1627{ 1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1630$as_echo_n "checking for $2... " >&6; } 1631if eval \${$3+:} false; then : 1632 $as_echo_n "(cached) " >&6 1633else 1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1635/* end confdefs.h. */ 1636$4 1637#include <$2> 1638_ACEOF 1639if ac_fn_c_try_compile "$LINENO"; then : 1640 eval "$3=yes" 1641else 1642 eval "$3=no" 1643fi 1644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1645fi 1646eval ac_res=\$$3 1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1648$as_echo "$ac_res" >&6; } 1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1650 1651} # ac_fn_c_check_header_compile 1652 1653# ac_fn_c_try_cpp LINENO 1654# ---------------------- 1655# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1656ac_fn_c_try_cpp () 1657{ 1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1659 if { { ac_try="$ac_cpp conftest.$ac_ext" 1660case "(($ac_try" in 1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1662 *) ac_try_echo=$ac_try;; 1663esac 1664eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1665$as_echo "$ac_try_echo"; } >&5 1666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1667 ac_status=$? 1668 if test -s conftest.err; then 1669 grep -v '^ *+' conftest.err >conftest.er1 1670 cat conftest.er1 >&5 1671 mv -f conftest.er1 conftest.err 1672 fi 1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1674 test $ac_status = 0; } > conftest.i && { 1675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1676 test ! -s conftest.err 1677 }; then : 1678 ac_retval=0 1679else 1680 $as_echo "$as_me: failed program was:" >&5 1681sed 's/^/| /' conftest.$ac_ext >&5 1682 1683 ac_retval=1 1684fi 1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1686 as_fn_set_status $ac_retval 1687 1688} # ac_fn_c_try_cpp 1689 1690# ac_fn_c_try_run LINENO 1691# ---------------------- 1692# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1693# that executables *can* be run. 1694ac_fn_c_try_run () 1695{ 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 if { { ac_try="$ac_link" 1698case "(($ac_try" in 1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1700 *) ac_try_echo=$ac_try;; 1701esac 1702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1703$as_echo "$ac_try_echo"; } >&5 1704 (eval "$ac_link") 2>&5 1705 ac_status=$? 1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1707 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1708 { { case "(($ac_try" in 1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1710 *) ac_try_echo=$ac_try;; 1711esac 1712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1713$as_echo "$ac_try_echo"; } >&5 1714 (eval "$ac_try") 2>&5 1715 ac_status=$? 1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1717 test $ac_status = 0; }; }; then : 1718 ac_retval=0 1719else 1720 $as_echo "$as_me: program exited with status $ac_status" >&5 1721 $as_echo "$as_me: failed program was:" >&5 1722sed 's/^/| /' conftest.$ac_ext >&5 1723 1724 ac_retval=$ac_status 1725fi 1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1728 as_fn_set_status $ac_retval 1729 1730} # ac_fn_c_try_run 1731 1732# ac_fn_c_check_func LINENO FUNC VAR 1733# ---------------------------------- 1734# Tests whether FUNC exists, setting the cache variable VAR accordingly 1735ac_fn_c_check_func () 1736{ 1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1739$as_echo_n "checking for $2... " >&6; } 1740if eval \${$3+:} false; then : 1741 $as_echo_n "(cached) " >&6 1742else 1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1744/* end confdefs.h. */ 1745/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1746 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1747#define $2 innocuous_$2 1748 1749/* System header to define __stub macros and hopefully few prototypes, 1750 which can conflict with char $2 (); below. 1751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1752 <limits.h> exists even on freestanding compilers. */ 1753 1754#ifdef __STDC__ 1755# include <limits.h> 1756#else 1757# include <assert.h> 1758#endif 1759 1760#undef $2 1761 1762/* Override any GCC internal prototype to avoid an error. 1763 Use char because int might match the return type of a GCC 1764 builtin and then its argument prototype would still apply. */ 1765#ifdef __cplusplus 1766extern "C" 1767#endif 1768char $2 (); 1769/* The GNU C library defines this for functions which it implements 1770 to always fail with ENOSYS. Some functions are actually named 1771 something starting with __ and the normal name is an alias. */ 1772#if defined __stub_$2 || defined __stub___$2 1773choke me 1774#endif 1775 1776int 1777main () 1778{ 1779return $2 (); 1780 ; 1781 return 0; 1782} 1783_ACEOF 1784if ac_fn_c_try_link "$LINENO"; then : 1785 eval "$3=yes" 1786else 1787 eval "$3=no" 1788fi 1789rm -f core conftest.err conftest.$ac_objext \ 1790 conftest$ac_exeext conftest.$ac_ext 1791fi 1792eval ac_res=\$$3 1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1794$as_echo "$ac_res" >&6; } 1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1796 1797} # ac_fn_c_check_func 1798 1799# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1800# ------------------------------------------------------- 1801# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1802# the include files in INCLUDES and setting the cache variable VAR 1803# accordingly. 1804ac_fn_c_check_header_mongrel () 1805{ 1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1807 if eval \${$3+:} false; then : 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1809$as_echo_n "checking for $2... " >&6; } 1810if eval \${$3+:} false; then : 1811 $as_echo_n "(cached) " >&6 1812fi 1813eval ac_res=\$$3 1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1815$as_echo "$ac_res" >&6; } 1816else 1817 # Is the header compilable? 1818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1819$as_echo_n "checking $2 usability... " >&6; } 1820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1821/* end confdefs.h. */ 1822$4 1823#include <$2> 1824_ACEOF 1825if ac_fn_c_try_compile "$LINENO"; then : 1826 ac_header_compiler=yes 1827else 1828 ac_header_compiler=no 1829fi 1830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1832$as_echo "$ac_header_compiler" >&6; } 1833 1834# Is the header present? 1835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1836$as_echo_n "checking $2 presence... " >&6; } 1837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1838/* end confdefs.h. */ 1839#include <$2> 1840_ACEOF 1841if ac_fn_c_try_cpp "$LINENO"; then : 1842 ac_header_preproc=yes 1843else 1844 ac_header_preproc=no 1845fi 1846rm -f conftest.err conftest.i conftest.$ac_ext 1847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1848$as_echo "$ac_header_preproc" >&6; } 1849 1850# So? What about this header? 1851case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1852 yes:no: ) 1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1854$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1856$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1857 ;; 1858 no:yes:* ) 1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1860$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1862$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1864$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1866$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1868$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1869 ;; 1870esac 1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1872$as_echo_n "checking for $2... " >&6; } 1873if eval \${$3+:} false; then : 1874 $as_echo_n "(cached) " >&6 1875else 1876 eval "$3=\$ac_header_compiler" 1877fi 1878eval ac_res=\$$3 1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1880$as_echo "$ac_res" >&6; } 1881fi 1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1883 1884} # ac_fn_c_check_header_mongrel 1885 1886# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1887# ------------------------------------------- 1888# Tests whether TYPE exists after having included INCLUDES, setting cache 1889# variable VAR accordingly. 1890ac_fn_c_check_type () 1891{ 1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1894$as_echo_n "checking for $2... " >&6; } 1895if eval \${$3+:} false; then : 1896 $as_echo_n "(cached) " >&6 1897else 1898 eval "$3=no" 1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1900/* end confdefs.h. */ 1901$4 1902int 1903main () 1904{ 1905if (sizeof ($2)) 1906 return 0; 1907 ; 1908 return 0; 1909} 1910_ACEOF 1911if ac_fn_c_try_compile "$LINENO"; then : 1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1913/* end confdefs.h. */ 1914$4 1915int 1916main () 1917{ 1918if (sizeof (($2))) 1919 return 0; 1920 ; 1921 return 0; 1922} 1923_ACEOF 1924if ac_fn_c_try_compile "$LINENO"; then : 1925 1926else 1927 eval "$3=yes" 1928fi 1929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1930fi 1931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1932fi 1933eval ac_res=\$$3 1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1935$as_echo "$ac_res" >&6; } 1936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1937 1938} # ac_fn_c_check_type 1939 1940# ac_fn_c_find_intX_t LINENO BITS VAR 1941# ----------------------------------- 1942# Finds a signed integer type with width BITS, setting cache variable VAR 1943# accordingly. 1944ac_fn_c_find_intX_t () 1945{ 1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1948$as_echo_n "checking for int$2_t... " >&6; } 1949if eval \${$3+:} false; then : 1950 $as_echo_n "(cached) " >&6 1951else 1952 eval "$3=no" 1953 # Order is important - never check a type that is potentially smaller 1954 # than half of the expected target width. 1955 for ac_type in int$2_t 'int' 'long int' \ 1956 'long long int' 'short int' 'signed char'; do 1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1958/* end confdefs.h. */ 1959$ac_includes_default 1960 enum { N = $2 / 2 - 1 }; 1961int 1962main () 1963{ 1964static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 1965test_array [0] = 0; 1966return test_array [0]; 1967 1968 ; 1969 return 0; 1970} 1971_ACEOF 1972if ac_fn_c_try_compile "$LINENO"; then : 1973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1974/* end confdefs.h. */ 1975$ac_includes_default 1976 enum { N = $2 / 2 - 1 }; 1977int 1978main () 1979{ 1980static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 1981 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 1982test_array [0] = 0; 1983return test_array [0]; 1984 1985 ; 1986 return 0; 1987} 1988_ACEOF 1989if ac_fn_c_try_compile "$LINENO"; then : 1990 1991else 1992 case $ac_type in #( 1993 int$2_t) : 1994 eval "$3=yes" ;; #( 1995 *) : 1996 eval "$3=\$ac_type" ;; 1997esac 1998fi 1999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2000fi 2001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2002 if eval test \"x\$"$3"\" = x"no"; then : 2003 2004else 2005 break 2006fi 2007 done 2008fi 2009eval ac_res=\$$3 2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2011$as_echo "$ac_res" >&6; } 2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2013 2014} # ac_fn_c_find_intX_t 2015 2016# ac_fn_c_find_uintX_t LINENO BITS VAR 2017# ------------------------------------ 2018# Finds an unsigned integer type with width BITS, setting cache variable VAR 2019# accordingly. 2020ac_fn_c_find_uintX_t () 2021{ 2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2024$as_echo_n "checking for uint$2_t... " >&6; } 2025if eval \${$3+:} false; then : 2026 $as_echo_n "(cached) " >&6 2027else 2028 eval "$3=no" 2029 # Order is important - never check a type that is potentially smaller 2030 # than half of the expected target width. 2031 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 2032 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2034/* end confdefs.h. */ 2035$ac_includes_default 2036int 2037main () 2038{ 2039static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2040test_array [0] = 0; 2041return test_array [0]; 2042 2043 ; 2044 return 0; 2045} 2046_ACEOF 2047if ac_fn_c_try_compile "$LINENO"; then : 2048 case $ac_type in #( 2049 uint$2_t) : 2050 eval "$3=yes" ;; #( 2051 *) : 2052 eval "$3=\$ac_type" ;; 2053esac 2054fi 2055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2056 if eval test \"x\$"$3"\" = x"no"; then : 2057 2058else 2059 break 2060fi 2061 done 2062fi 2063eval ac_res=\$$3 2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2065$as_echo "$ac_res" >&6; } 2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2067 2068} # ac_fn_c_find_uintX_t 2069 2070# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2071# ---------------------------------------------------- 2072# Tries to find if the field MEMBER exists in type AGGR, after including 2073# INCLUDES, setting cache variable VAR accordingly. 2074ac_fn_c_check_member () 2075{ 2076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2078$as_echo_n "checking for $2.$3... " >&6; } 2079if eval \${$4+:} false; then : 2080 $as_echo_n "(cached) " >&6 2081else 2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2083/* end confdefs.h. */ 2084$5 2085int 2086main () 2087{ 2088static $2 ac_aggr; 2089if (ac_aggr.$3) 2090return 0; 2091 ; 2092 return 0; 2093} 2094_ACEOF 2095if ac_fn_c_try_compile "$LINENO"; then : 2096 eval "$4=yes" 2097else 2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2099/* end confdefs.h. */ 2100$5 2101int 2102main () 2103{ 2104static $2 ac_aggr; 2105if (sizeof ac_aggr.$3) 2106return 0; 2107 ; 2108 return 0; 2109} 2110_ACEOF 2111if ac_fn_c_try_compile "$LINENO"; then : 2112 eval "$4=yes" 2113else 2114 eval "$4=no" 2115fi 2116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2117fi 2118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2119fi 2120eval ac_res=\$$4 2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2122$as_echo "$ac_res" >&6; } 2123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2124 2125} # ac_fn_c_check_member 2126cat >config.log <<_ACEOF 2127This file contains any messages produced by compilers while 2128running configure, to aid debugging if configure makes a mistake. 2129 2130It was created by mendex (TeX Live) $as_me 2.6f, which was 2131generated by GNU Autoconf 2.69. Invocation command line was 2132 2133 $ $0 $@ 2134 2135_ACEOF 2136exec 5>>config.log 2137{ 2138cat <<_ASUNAME 2139## --------- ## 2140## Platform. ## 2141## --------- ## 2142 2143hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2144uname -m = `(uname -m) 2>/dev/null || echo unknown` 2145uname -r = `(uname -r) 2>/dev/null || echo unknown` 2146uname -s = `(uname -s) 2>/dev/null || echo unknown` 2147uname -v = `(uname -v) 2>/dev/null || echo unknown` 2148 2149/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2150/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2151 2152/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2153/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2154/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2155/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2156/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2157/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2158/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2159 2160_ASUNAME 2161 2162as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2163for as_dir in $PATH 2164do 2165 IFS=$as_save_IFS 2166 test -z "$as_dir" && as_dir=. 2167 $as_echo "PATH: $as_dir" 2168 done 2169IFS=$as_save_IFS 2170 2171} >&5 2172 2173cat >&5 <<_ACEOF 2174 2175 2176## ----------- ## 2177## Core tests. ## 2178## ----------- ## 2179 2180_ACEOF 2181 2182 2183# Keep a trace of the command line. 2184# Strip out --no-create and --no-recursion so they do not pile up. 2185# Strip out --silent because we don't want to record it for future runs. 2186# Also quote any args containing shell meta-characters. 2187# Make two passes to allow for proper duplicate-argument suppression. 2188ac_configure_args= 2189ac_configure_args0= 2190ac_configure_args1= 2191ac_must_keep_next=false 2192for ac_pass in 1 2 2193do 2194 for ac_arg 2195 do 2196 case $ac_arg in 2197 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2199 | -silent | --silent | --silen | --sile | --sil) 2200 continue ;; 2201 *\'*) 2202 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2203 esac 2204 case $ac_pass in 2205 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2206 2) 2207 as_fn_append ac_configure_args1 " '$ac_arg'" 2208 if test $ac_must_keep_next = true; then 2209 ac_must_keep_next=false # Got value, back to normal. 2210 else 2211 case $ac_arg in 2212 *=* | --config-cache | -C | -disable-* | --disable-* \ 2213 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2214 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2215 | -with-* | --with-* | -without-* | --without-* | --x) 2216 case "$ac_configure_args0 " in 2217 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2218 esac 2219 ;; 2220 -* ) ac_must_keep_next=true ;; 2221 esac 2222 fi 2223 as_fn_append ac_configure_args " '$ac_arg'" 2224 ;; 2225 esac 2226 done 2227done 2228{ ac_configure_args0=; unset ac_configure_args0;} 2229{ ac_configure_args1=; unset ac_configure_args1;} 2230 2231# When interrupted or exit'd, cleanup temporary files, and complete 2232# config.log. We remove comments because anyway the quotes in there 2233# would cause problems or look ugly. 2234# WARNING: Use '\'' to represent an apostrophe within the trap. 2235# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2236trap 'exit_status=$? 2237 # Save into config.log some information that might help in debugging. 2238 { 2239 echo 2240 2241 $as_echo "## ---------------- ## 2242## Cache variables. ## 2243## ---------------- ##" 2244 echo 2245 # The following way of writing the cache mishandles newlines in values, 2246( 2247 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2248 eval ac_val=\$$ac_var 2249 case $ac_val in #( 2250 *${as_nl}*) 2251 case $ac_var in #( 2252 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2253$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2254 esac 2255 case $ac_var in #( 2256 _ | IFS | as_nl) ;; #( 2257 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2258 *) { eval $ac_var=; unset $ac_var;} ;; 2259 esac ;; 2260 esac 2261 done 2262 (set) 2>&1 | 2263 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2264 *${as_nl}ac_space=\ *) 2265 sed -n \ 2266 "s/'\''/'\''\\\\'\'''\''/g; 2267 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2268 ;; #( 2269 *) 2270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2271 ;; 2272 esac | 2273 sort 2274) 2275 echo 2276 2277 $as_echo "## ----------------- ## 2278## Output variables. ## 2279## ----------------- ##" 2280 echo 2281 for ac_var in $ac_subst_vars 2282 do 2283 eval ac_val=\$$ac_var 2284 case $ac_val in 2285 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2286 esac 2287 $as_echo "$ac_var='\''$ac_val'\''" 2288 done | sort 2289 echo 2290 2291 if test -n "$ac_subst_files"; then 2292 $as_echo "## ------------------- ## 2293## File substitutions. ## 2294## ------------------- ##" 2295 echo 2296 for ac_var in $ac_subst_files 2297 do 2298 eval ac_val=\$$ac_var 2299 case $ac_val in 2300 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2301 esac 2302 $as_echo "$ac_var='\''$ac_val'\''" 2303 done | sort 2304 echo 2305 fi 2306 2307 if test -s confdefs.h; then 2308 $as_echo "## ----------- ## 2309## confdefs.h. ## 2310## ----------- ##" 2311 echo 2312 cat confdefs.h 2313 echo 2314 fi 2315 test "$ac_signal" != 0 && 2316 $as_echo "$as_me: caught signal $ac_signal" 2317 $as_echo "$as_me: exit $exit_status" 2318 } >&5 2319 rm -f core *.core core.conftest.* && 2320 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2321 exit $exit_status 2322' 0 2323for ac_signal in 1 2 13 15; do 2324 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2325done 2326ac_signal=0 2327 2328# confdefs.h avoids OS command line length limits that DEFS can exceed. 2329rm -f -r conftest* confdefs.h 2330 2331$as_echo "/* confdefs.h */" > confdefs.h 2332 2333# Predefined preprocessor variables. 2334 2335cat >>confdefs.h <<_ACEOF 2336#define PACKAGE_NAME "$PACKAGE_NAME" 2337_ACEOF 2338 2339cat >>confdefs.h <<_ACEOF 2340#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2341_ACEOF 2342 2343cat >>confdefs.h <<_ACEOF 2344#define PACKAGE_VERSION "$PACKAGE_VERSION" 2345_ACEOF 2346 2347cat >>confdefs.h <<_ACEOF 2348#define PACKAGE_STRING "$PACKAGE_STRING" 2349_ACEOF 2350 2351cat >>confdefs.h <<_ACEOF 2352#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2353_ACEOF 2354 2355cat >>confdefs.h <<_ACEOF 2356#define PACKAGE_URL "$PACKAGE_URL" 2357_ACEOF 2358 2359 2360# Let the site file select an alternate cache file if it wants to. 2361# Prefer an explicitly selected file to automatically selected ones. 2362ac_site_file1=NONE 2363ac_site_file2=NONE 2364if test -n "$CONFIG_SITE"; then 2365 # We do not want a PATH search for config.site. 2366 case $CONFIG_SITE in #(( 2367 -*) ac_site_file1=./$CONFIG_SITE;; 2368 */*) ac_site_file1=$CONFIG_SITE;; 2369 *) ac_site_file1=./$CONFIG_SITE;; 2370 esac 2371elif test "x$prefix" != xNONE; then 2372 ac_site_file1=$prefix/share/config.site 2373 ac_site_file2=$prefix/etc/config.site 2374else 2375 ac_site_file1=$ac_default_prefix/share/config.site 2376 ac_site_file2=$ac_default_prefix/etc/config.site 2377fi 2378for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2379do 2380 test "x$ac_site_file" = xNONE && continue 2381 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2382 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2383$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2384 sed 's/^/| /' "$ac_site_file" >&5 2385 . "$ac_site_file" \ 2386 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2388as_fn_error $? "failed to load site script $ac_site_file 2389See \`config.log' for more details" "$LINENO" 5; } 2390 fi 2391done 2392 2393if test -r "$cache_file"; then 2394 # Some versions of bash will fail to source /dev/null (special files 2395 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2396 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2397 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2398$as_echo "$as_me: loading cache $cache_file" >&6;} 2399 case $cache_file in 2400 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2401 *) . "./$cache_file";; 2402 esac 2403 fi 2404else 2405 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2406$as_echo "$as_me: creating cache $cache_file" >&6;} 2407 >$cache_file 2408fi 2409 2410# Check that the precious variables saved in the cache have kept the same 2411# value. 2412ac_cache_corrupted=false 2413for ac_var in $ac_precious_vars; do 2414 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2415 eval ac_new_set=\$ac_env_${ac_var}_set 2416 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2417 eval ac_new_val=\$ac_env_${ac_var}_value 2418 case $ac_old_set,$ac_new_set in 2419 set,) 2420 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2421$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2422 ac_cache_corrupted=: ;; 2423 ,set) 2424 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2425$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2426 ac_cache_corrupted=: ;; 2427 ,);; 2428 *) 2429 if test "x$ac_old_val" != "x$ac_new_val"; then 2430 # differences in whitespace do not lead to failure. 2431 ac_old_val_w=`echo x $ac_old_val` 2432 ac_new_val_w=`echo x $ac_new_val` 2433 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2435$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2436 ac_cache_corrupted=: 2437 else 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2439$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2440 eval $ac_var=\$ac_old_val 2441 fi 2442 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2443$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2444 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2445$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2446 fi;; 2447 esac 2448 # Pass precious variables to config.status. 2449 if test "$ac_new_set" = set; then 2450 case $ac_new_val in 2451 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2452 *) ac_arg=$ac_var=$ac_new_val ;; 2453 esac 2454 case " $ac_configure_args " in 2455 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2456 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2457 esac 2458 fi 2459done 2460if $ac_cache_corrupted; then 2461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2462$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2464$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2465 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2466fi 2467## -------------------- ## 2468## Main body of script. ## 2469## -------------------- ## 2470 2471ac_ext=c 2472ac_cpp='$CPP $CPPFLAGS' 2473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2475ac_compiler_gnu=$ac_cv_c_compiler_gnu 2476 2477 2478 2479 2480ac_aux_dir= 2481for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do 2482 if test -f "$ac_dir/install-sh"; then 2483 ac_aux_dir=$ac_dir 2484 ac_install_sh="$ac_aux_dir/install-sh -c" 2485 break 2486 elif test -f "$ac_dir/install.sh"; then 2487 ac_aux_dir=$ac_dir 2488 ac_install_sh="$ac_aux_dir/install.sh -c" 2489 break 2490 elif test -f "$ac_dir/shtool"; then 2491 ac_aux_dir=$ac_dir 2492 ac_install_sh="$ac_aux_dir/shtool install -c" 2493 break 2494 fi 2495done 2496if test -z "$ac_aux_dir"; then 2497 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5 2498fi 2499 2500# These three variables are undocumented and unsupported, 2501# and are intended to be withdrawn in a future Autoconf release. 2502# They can cause serious problems if a builder's source tree is in a directory 2503# whose full name contains unusual characters. 2504ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2505ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2506ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2507 2508 2509 2510 2511am__api_version='1.15' 2512 2513# Find a good install program. We prefer a C program (faster), 2514# so one script is as good as another. But avoid the broken or 2515# incompatible versions: 2516# SysV /etc/install, /usr/sbin/install 2517# SunOS /usr/etc/install 2518# IRIX /sbin/install 2519# AIX /bin/install 2520# AmigaOS /C/install, which installs bootblocks on floppy discs 2521# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2522# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2523# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2524# OS/2's system install, which has a completely different semantic 2525# ./install, which can be erroneously created by make from ./install.sh. 2526# Reject install programs that cannot install multiple files. 2527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2528$as_echo_n "checking for a BSD-compatible install... " >&6; } 2529if test -z "$INSTALL"; then 2530if ${ac_cv_path_install+:} false; then : 2531 $as_echo_n "(cached) " >&6 2532else 2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2534for as_dir in $PATH 2535do 2536 IFS=$as_save_IFS 2537 test -z "$as_dir" && as_dir=. 2538 # Account for people who put trailing slashes in PATH elements. 2539case $as_dir/ in #(( 2540 ./ | .// | /[cC]/* | \ 2541 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2542 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2543 /usr/ucb/* ) ;; 2544 *) 2545 # OSF1 and SCO ODT 3.0 have their own names for install. 2546 # Don't use installbsd from OSF since it installs stuff as root 2547 # by default. 2548 for ac_prog in ginstall scoinst install; do 2549 for ac_exec_ext in '' $ac_executable_extensions; do 2550 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2551 if test $ac_prog = install && 2552 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2553 # AIX install. It has an incompatible calling convention. 2554 : 2555 elif test $ac_prog = install && 2556 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2557 # program-specific install script used by HP pwplus--don't use. 2558 : 2559 else 2560 rm -rf conftest.one conftest.two conftest.dir 2561 echo one > conftest.one 2562 echo two > conftest.two 2563 mkdir conftest.dir 2564 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2565 test -s conftest.one && test -s conftest.two && 2566 test -s conftest.dir/conftest.one && 2567 test -s conftest.dir/conftest.two 2568 then 2569 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2570 break 3 2571 fi 2572 fi 2573 fi 2574 done 2575 done 2576 ;; 2577esac 2578 2579 done 2580IFS=$as_save_IFS 2581 2582rm -rf conftest.one conftest.two conftest.dir 2583 2584fi 2585 if test "${ac_cv_path_install+set}" = set; then 2586 INSTALL=$ac_cv_path_install 2587 else 2588 # As a last resort, use the slow shell script. Don't cache a 2589 # value for INSTALL within a source directory, because that will 2590 # break other packages using the cache if that directory is 2591 # removed, or if the value is a relative name. 2592 INSTALL=$ac_install_sh 2593 fi 2594fi 2595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2596$as_echo "$INSTALL" >&6; } 2597 2598# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2599# It thinks the first close brace ends the variable substitution. 2600test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2601 2602test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2603 2604test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2605 2606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2607$as_echo_n "checking whether build environment is sane... " >&6; } 2608# Reject unsafe characters in $srcdir or the absolute working directory 2609# name. Accept space and tab only in the latter. 2610am_lf=' 2611' 2612case `pwd` in 2613 *[\\\"\#\$\&\'\`$am_lf]*) 2614 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2615esac 2616case $srcdir in 2617 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2618 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2619esac 2620 2621# Do 'set' in a subshell so we don't clobber the current shell's 2622# arguments. Must try -L first in case configure is actually a 2623# symlink; some systems play weird games with the mod time of symlinks 2624# (eg FreeBSD returns the mod time of the symlink's containing 2625# directory). 2626if ( 2627 am_has_slept=no 2628 for am_try in 1 2; do 2629 echo "timestamp, slept: $am_has_slept" > conftest.file 2630 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2631 if test "$*" = "X"; then 2632 # -L didn't work. 2633 set X `ls -t "$srcdir/configure" conftest.file` 2634 fi 2635 if test "$*" != "X $srcdir/configure conftest.file" \ 2636 && test "$*" != "X conftest.file $srcdir/configure"; then 2637 2638 # If neither matched, then we have a broken ls. This can happen 2639 # if, for instance, CONFIG_SHELL is bash and it inherits a 2640 # broken ls alias from the environment. This has actually 2641 # happened. Such a system could not be considered "sane". 2642 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2643 alias in your environment" "$LINENO" 5 2644 fi 2645 if test "$2" = conftest.file || test $am_try -eq 2; then 2646 break 2647 fi 2648 # Just in case. 2649 sleep 1 2650 am_has_slept=yes 2651 done 2652 test "$2" = conftest.file 2653 ) 2654then 2655 # Ok. 2656 : 2657else 2658 as_fn_error $? "newly created file is older than distributed files! 2659Check your system clock" "$LINENO" 5 2660fi 2661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2662$as_echo "yes" >&6; } 2663# If we didn't sleep, we still need to ensure time stamps of config.status and 2664# generated files are strictly newer. 2665am_sleep_pid= 2666if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2667 ( sleep 1 ) & 2668 am_sleep_pid=$! 2669fi 2670 2671rm -f conftest.file 2672 2673test "$program_prefix" != NONE && 2674 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2675# Use a double $ so make ignores it. 2676test "$program_suffix" != NONE && 2677 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2678# Double any \ or $. 2679# By default was `s,x,x', remove it if useless. 2680ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2681program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2682 2683# Expand $ac_aux_dir to an absolute path. 2684am_aux_dir=`cd "$ac_aux_dir" && pwd` 2685 2686if test x"${MISSING+set}" != xset; then 2687 case $am_aux_dir in 2688 *\ * | *\ *) 2689 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2690 *) 2691 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2692 esac 2693fi 2694# Use eval to expand $SHELL 2695if eval "$MISSING --is-lightweight"; then 2696 am_missing_run="$MISSING " 2697else 2698 am_missing_run= 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2700$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2701fi 2702 2703if test x"${install_sh+set}" != xset; then 2704 case $am_aux_dir in 2705 *\ * | *\ *) 2706 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2707 *) 2708 install_sh="\${SHELL} $am_aux_dir/install-sh" 2709 esac 2710fi 2711 2712# Installed binaries are usually stripped using 'strip' when the user 2713# run "make install-strip". However 'strip' might not be the right 2714# tool to use in cross-compilation environments, therefore Automake 2715# will honor the 'STRIP' environment variable to overrule this program. 2716if test "$cross_compiling" != no; then 2717 if test -n "$ac_tool_prefix"; then 2718 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2719set dummy ${ac_tool_prefix}strip; ac_word=$2 2720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2721$as_echo_n "checking for $ac_word... " >&6; } 2722if ${ac_cv_prog_STRIP+:} false; then : 2723 $as_echo_n "(cached) " >&6 2724else 2725 if test -n "$STRIP"; then 2726 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2727else 2728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2729for as_dir in $PATH 2730do 2731 IFS=$as_save_IFS 2732 test -z "$as_dir" && as_dir=. 2733 for ac_exec_ext in '' $ac_executable_extensions; do 2734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2735 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2737 break 2 2738 fi 2739done 2740 done 2741IFS=$as_save_IFS 2742 2743fi 2744fi 2745STRIP=$ac_cv_prog_STRIP 2746if test -n "$STRIP"; then 2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2748$as_echo "$STRIP" >&6; } 2749else 2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2751$as_echo "no" >&6; } 2752fi 2753 2754 2755fi 2756if test -z "$ac_cv_prog_STRIP"; then 2757 ac_ct_STRIP=$STRIP 2758 # Extract the first word of "strip", so it can be a program name with args. 2759set dummy strip; ac_word=$2 2760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2761$as_echo_n "checking for $ac_word... " >&6; } 2762if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2763 $as_echo_n "(cached) " >&6 2764else 2765 if test -n "$ac_ct_STRIP"; then 2766 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2767else 2768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2769for as_dir in $PATH 2770do 2771 IFS=$as_save_IFS 2772 test -z "$as_dir" && as_dir=. 2773 for ac_exec_ext in '' $ac_executable_extensions; do 2774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2775 ac_cv_prog_ac_ct_STRIP="strip" 2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2777 break 2 2778 fi 2779done 2780 done 2781IFS=$as_save_IFS 2782 2783fi 2784fi 2785ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2786if test -n "$ac_ct_STRIP"; then 2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2788$as_echo "$ac_ct_STRIP" >&6; } 2789else 2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2791$as_echo "no" >&6; } 2792fi 2793 2794 if test "x$ac_ct_STRIP" = x; then 2795 STRIP=":" 2796 else 2797 case $cross_compiling:$ac_tool_warned in 2798yes:) 2799{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2800$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2801ac_tool_warned=yes ;; 2802esac 2803 STRIP=$ac_ct_STRIP 2804 fi 2805else 2806 STRIP="$ac_cv_prog_STRIP" 2807fi 2808 2809fi 2810INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2811 2812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2813$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2814if test -z "$MKDIR_P"; then 2815 if ${ac_cv_path_mkdir+:} false; then : 2816 $as_echo_n "(cached) " >&6 2817else 2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2819for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2820do 2821 IFS=$as_save_IFS 2822 test -z "$as_dir" && as_dir=. 2823 for ac_prog in mkdir gmkdir; do 2824 for ac_exec_ext in '' $ac_executable_extensions; do 2825 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2826 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2827 'mkdir (GNU coreutils) '* | \ 2828 'mkdir (coreutils) '* | \ 2829 'mkdir (fileutils) '4.1*) 2830 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2831 break 3;; 2832 esac 2833 done 2834 done 2835 done 2836IFS=$as_save_IFS 2837 2838fi 2839 2840 test -d ./--version && rmdir ./--version 2841 if test "${ac_cv_path_mkdir+set}" = set; then 2842 MKDIR_P="$ac_cv_path_mkdir -p" 2843 else 2844 # As a last resort, use the slow shell script. Don't cache a 2845 # value for MKDIR_P within a source directory, because that will 2846 # break other packages using the cache if that directory is 2847 # removed, or if the value is a relative name. 2848 MKDIR_P="$ac_install_sh -d" 2849 fi 2850fi 2851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2852$as_echo "$MKDIR_P" >&6; } 2853 2854for ac_prog in gawk mawk nawk awk 2855do 2856 # Extract the first word of "$ac_prog", so it can be a program name with args. 2857set dummy $ac_prog; ac_word=$2 2858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2859$as_echo_n "checking for $ac_word... " >&6; } 2860if ${ac_cv_prog_AWK+:} false; then : 2861 $as_echo_n "(cached) " >&6 2862else 2863 if test -n "$AWK"; then 2864 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2865else 2866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2867for as_dir in $PATH 2868do 2869 IFS=$as_save_IFS 2870 test -z "$as_dir" && as_dir=. 2871 for ac_exec_ext in '' $ac_executable_extensions; do 2872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2873 ac_cv_prog_AWK="$ac_prog" 2874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2875 break 2 2876 fi 2877done 2878 done 2879IFS=$as_save_IFS 2880 2881fi 2882fi 2883AWK=$ac_cv_prog_AWK 2884if test -n "$AWK"; then 2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2886$as_echo "$AWK" >&6; } 2887else 2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2889$as_echo "no" >&6; } 2890fi 2891 2892 2893 test -n "$AWK" && break 2894done 2895 2896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2897$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2898set x ${MAKE-make} 2899ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2900if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2901 $as_echo_n "(cached) " >&6 2902else 2903 cat >conftest.make <<\_ACEOF 2904SHELL = /bin/sh 2905all: 2906 @echo '@@@%%%=$(MAKE)=@@@%%%' 2907_ACEOF 2908# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2909case `${MAKE-make} -f conftest.make 2>/dev/null` in 2910 *@@@%%%=?*=@@@%%%*) 2911 eval ac_cv_prog_make_${ac_make}_set=yes;; 2912 *) 2913 eval ac_cv_prog_make_${ac_make}_set=no;; 2914esac 2915rm -f conftest.make 2916fi 2917if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2919$as_echo "yes" >&6; } 2920 SET_MAKE= 2921else 2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2923$as_echo "no" >&6; } 2924 SET_MAKE="MAKE=${MAKE-make}" 2925fi 2926 2927rm -rf .tst 2>/dev/null 2928mkdir .tst 2>/dev/null 2929if test -d .tst; then 2930 am__leading_dot=. 2931else 2932 am__leading_dot=_ 2933fi 2934rmdir .tst 2>/dev/null 2935 2936# Check whether --enable-silent-rules was given. 2937if test "${enable_silent_rules+set}" = set; then : 2938 enableval=$enable_silent_rules; 2939fi 2940 2941case $enable_silent_rules in # ((( 2942 yes) AM_DEFAULT_VERBOSITY=0;; 2943 no) AM_DEFAULT_VERBOSITY=1;; 2944 *) AM_DEFAULT_VERBOSITY=1;; 2945esac 2946am_make=${MAKE-make} 2947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2948$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2949if ${am_cv_make_support_nested_variables+:} false; then : 2950 $as_echo_n "(cached) " >&6 2951else 2952 if $as_echo 'TRUE=$(BAR$(V)) 2953BAR0=false 2954BAR1=true 2955V=1 2956am__doit: 2957 @$(TRUE) 2958.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2959 am_cv_make_support_nested_variables=yes 2960else 2961 am_cv_make_support_nested_variables=no 2962fi 2963fi 2964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2965$as_echo "$am_cv_make_support_nested_variables" >&6; } 2966if test $am_cv_make_support_nested_variables = yes; then 2967 AM_V='$(V)' 2968 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2969else 2970 AM_V=$AM_DEFAULT_VERBOSITY 2971 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2972fi 2973AM_BACKSLASH='\' 2974 2975DEPDIR="${am__leading_dot}deps" 2976 2977ac_config_commands="$ac_config_commands depfiles" 2978 2979 2980am_make=${MAKE-make} 2981cat > confinc << 'END' 2982am__doit: 2983 @echo this is the am__doit target 2984.PHONY: am__doit 2985END 2986# If we don't find an include directive, just comment out the code. 2987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2988$as_echo_n "checking for style of include used by $am_make... " >&6; } 2989am__include="#" 2990am__quote= 2991_am_result=none 2992# First try GNU make style include. 2993echo "include confinc" > confmf 2994# Ignore all kinds of additional output from 'make'. 2995case `$am_make -s -f confmf 2> /dev/null` in #( 2996*the\ am__doit\ target*) 2997 am__include=include 2998 am__quote= 2999 _am_result=GNU 3000 ;; 3001esac 3002# Now try BSD make style include. 3003if test "$am__include" = "#"; then 3004 echo '.include "confinc"' > confmf 3005 case `$am_make -s -f confmf 2> /dev/null` in #( 3006 *the\ am__doit\ target*) 3007 am__include=.include 3008 am__quote="\"" 3009 _am_result=BSD 3010 ;; 3011 esac 3012fi 3013 3014 3015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3016$as_echo "$_am_result" >&6; } 3017rm -f confinc confmf 3018 3019# Check whether --enable-dependency-tracking was given. 3020if test "${enable_dependency_tracking+set}" = set; then : 3021 enableval=$enable_dependency_tracking; 3022fi 3023 3024if test "x$enable_dependency_tracking" != xno; then 3025 am_depcomp="$ac_aux_dir/depcomp" 3026 AMDEPBACKSLASH='\' 3027 am__nodep='_no' 3028fi 3029 if test "x$enable_dependency_tracking" != xno; then 3030 AMDEP_TRUE= 3031 AMDEP_FALSE='#' 3032else 3033 AMDEP_TRUE='#' 3034 AMDEP_FALSE= 3035fi 3036 3037 3038ac_ext=c 3039ac_cpp='$CPP $CPPFLAGS' 3040ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3041ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3042ac_compiler_gnu=$ac_cv_c_compiler_gnu 3043if test -n "$ac_tool_prefix"; then 3044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3045set dummy ${ac_tool_prefix}gcc; ac_word=$2 3046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3047$as_echo_n "checking for $ac_word... " >&6; } 3048if ${ac_cv_prog_CC+:} false; then : 3049 $as_echo_n "(cached) " >&6 3050else 3051 if test -n "$CC"; then 3052 ac_cv_prog_CC="$CC" # Let the user override the test. 3053else 3054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3055for as_dir in $PATH 3056do 3057 IFS=$as_save_IFS 3058 test -z "$as_dir" && as_dir=. 3059 for ac_exec_ext in '' $ac_executable_extensions; do 3060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3061 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3063 break 2 3064 fi 3065done 3066 done 3067IFS=$as_save_IFS 3068 3069fi 3070fi 3071CC=$ac_cv_prog_CC 3072if test -n "$CC"; then 3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3074$as_echo "$CC" >&6; } 3075else 3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3077$as_echo "no" >&6; } 3078fi 3079 3080 3081fi 3082if test -z "$ac_cv_prog_CC"; then 3083 ac_ct_CC=$CC 3084 # Extract the first word of "gcc", so it can be a program name with args. 3085set dummy gcc; ac_word=$2 3086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3087$as_echo_n "checking for $ac_word... " >&6; } 3088if ${ac_cv_prog_ac_ct_CC+:} false; then : 3089 $as_echo_n "(cached) " >&6 3090else 3091 if test -n "$ac_ct_CC"; then 3092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3093else 3094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3095for as_dir in $PATH 3096do 3097 IFS=$as_save_IFS 3098 test -z "$as_dir" && as_dir=. 3099 for ac_exec_ext in '' $ac_executable_extensions; do 3100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3101 ac_cv_prog_ac_ct_CC="gcc" 3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3103 break 2 3104 fi 3105done 3106 done 3107IFS=$as_save_IFS 3108 3109fi 3110fi 3111ac_ct_CC=$ac_cv_prog_ac_ct_CC 3112if test -n "$ac_ct_CC"; then 3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3114$as_echo "$ac_ct_CC" >&6; } 3115else 3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3117$as_echo "no" >&6; } 3118fi 3119 3120 if test "x$ac_ct_CC" = x; then 3121 CC="" 3122 else 3123 case $cross_compiling:$ac_tool_warned in 3124yes:) 3125{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3126$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3127ac_tool_warned=yes ;; 3128esac 3129 CC=$ac_ct_CC 3130 fi 3131else 3132 CC="$ac_cv_prog_CC" 3133fi 3134 3135if test -z "$CC"; then 3136 if test -n "$ac_tool_prefix"; then 3137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3138set dummy ${ac_tool_prefix}cc; ac_word=$2 3139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3140$as_echo_n "checking for $ac_word... " >&6; } 3141if ${ac_cv_prog_CC+:} false; then : 3142 $as_echo_n "(cached) " >&6 3143else 3144 if test -n "$CC"; then 3145 ac_cv_prog_CC="$CC" # Let the user override the test. 3146else 3147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3148for as_dir in $PATH 3149do 3150 IFS=$as_save_IFS 3151 test -z "$as_dir" && as_dir=. 3152 for ac_exec_ext in '' $ac_executable_extensions; do 3153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3154 ac_cv_prog_CC="${ac_tool_prefix}cc" 3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3156 break 2 3157 fi 3158done 3159 done 3160IFS=$as_save_IFS 3161 3162fi 3163fi 3164CC=$ac_cv_prog_CC 3165if test -n "$CC"; then 3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3167$as_echo "$CC" >&6; } 3168else 3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3170$as_echo "no" >&6; } 3171fi 3172 3173 3174 fi 3175fi 3176if test -z "$CC"; then 3177 # Extract the first word of "cc", so it can be a program name with args. 3178set dummy cc; ac_word=$2 3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3180$as_echo_n "checking for $ac_word... " >&6; } 3181if ${ac_cv_prog_CC+:} false; then : 3182 $as_echo_n "(cached) " >&6 3183else 3184 if test -n "$CC"; then 3185 ac_cv_prog_CC="$CC" # Let the user override the test. 3186else 3187 ac_prog_rejected=no 3188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3189for as_dir in $PATH 3190do 3191 IFS=$as_save_IFS 3192 test -z "$as_dir" && as_dir=. 3193 for ac_exec_ext in '' $ac_executable_extensions; do 3194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3196 ac_prog_rejected=yes 3197 continue 3198 fi 3199 ac_cv_prog_CC="cc" 3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3201 break 2 3202 fi 3203done 3204 done 3205IFS=$as_save_IFS 3206 3207if test $ac_prog_rejected = yes; then 3208 # We found a bogon in the path, so make sure we never use it. 3209 set dummy $ac_cv_prog_CC 3210 shift 3211 if test $# != 0; then 3212 # We chose a different compiler from the bogus one. 3213 # However, it has the same basename, so the bogon will be chosen 3214 # first if we set CC to just the basename; use the full file name. 3215 shift 3216 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3217 fi 3218fi 3219fi 3220fi 3221CC=$ac_cv_prog_CC 3222if test -n "$CC"; then 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3224$as_echo "$CC" >&6; } 3225else 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3227$as_echo "no" >&6; } 3228fi 3229 3230 3231fi 3232if test -z "$CC"; then 3233 if test -n "$ac_tool_prefix"; then 3234 for ac_prog in cl.exe 3235 do 3236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3237set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3239$as_echo_n "checking for $ac_word... " >&6; } 3240if ${ac_cv_prog_CC+:} false; then : 3241 $as_echo_n "(cached) " >&6 3242else 3243 if test -n "$CC"; then 3244 ac_cv_prog_CC="$CC" # Let the user override the test. 3245else 3246as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3247for as_dir in $PATH 3248do 3249 IFS=$as_save_IFS 3250 test -z "$as_dir" && as_dir=. 3251 for ac_exec_ext in '' $ac_executable_extensions; do 3252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3253 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3255 break 2 3256 fi 3257done 3258 done 3259IFS=$as_save_IFS 3260 3261fi 3262fi 3263CC=$ac_cv_prog_CC 3264if test -n "$CC"; then 3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3266$as_echo "$CC" >&6; } 3267else 3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3269$as_echo "no" >&6; } 3270fi 3271 3272 3273 test -n "$CC" && break 3274 done 3275fi 3276if test -z "$CC"; then 3277 ac_ct_CC=$CC 3278 for ac_prog in cl.exe 3279do 3280 # Extract the first word of "$ac_prog", so it can be a program name with args. 3281set dummy $ac_prog; ac_word=$2 3282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3283$as_echo_n "checking for $ac_word... " >&6; } 3284if ${ac_cv_prog_ac_ct_CC+:} false; then : 3285 $as_echo_n "(cached) " >&6 3286else 3287 if test -n "$ac_ct_CC"; then 3288 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3289else 3290as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3291for as_dir in $PATH 3292do 3293 IFS=$as_save_IFS 3294 test -z "$as_dir" && as_dir=. 3295 for ac_exec_ext in '' $ac_executable_extensions; do 3296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3297 ac_cv_prog_ac_ct_CC="$ac_prog" 3298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3299 break 2 3300 fi 3301done 3302 done 3303IFS=$as_save_IFS 3304 3305fi 3306fi 3307ac_ct_CC=$ac_cv_prog_ac_ct_CC 3308if test -n "$ac_ct_CC"; then 3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3310$as_echo "$ac_ct_CC" >&6; } 3311else 3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3313$as_echo "no" >&6; } 3314fi 3315 3316 3317 test -n "$ac_ct_CC" && break 3318done 3319 3320 if test "x$ac_ct_CC" = x; then 3321 CC="" 3322 else 3323 case $cross_compiling:$ac_tool_warned in 3324yes:) 3325{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3326$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3327ac_tool_warned=yes ;; 3328esac 3329 CC=$ac_ct_CC 3330 fi 3331fi 3332 3333fi 3334 3335 3336test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3337$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3338as_fn_error $? "no acceptable C compiler found in \$PATH 3339See \`config.log' for more details" "$LINENO" 5; } 3340 3341# Provide some information about the compiler. 3342$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3343set X $ac_compile 3344ac_compiler=$2 3345for ac_option in --version -v -V -qversion; do 3346 { { ac_try="$ac_compiler $ac_option >&5" 3347case "(($ac_try" in 3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3349 *) ac_try_echo=$ac_try;; 3350esac 3351eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3352$as_echo "$ac_try_echo"; } >&5 3353 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3354 ac_status=$? 3355 if test -s conftest.err; then 3356 sed '10a\ 3357... rest of stderr output deleted ... 3358 10q' conftest.err >conftest.er1 3359 cat conftest.er1 >&5 3360 fi 3361 rm -f conftest.er1 conftest.err 3362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3363 test $ac_status = 0; } 3364done 3365 3366cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3367/* end confdefs.h. */ 3368 3369int 3370main () 3371{ 3372 3373 ; 3374 return 0; 3375} 3376_ACEOF 3377ac_clean_files_save=$ac_clean_files 3378ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3379# Try to create an executable without -o first, disregard a.out. 3380# It will help us diagnose broken compilers, and finding out an intuition 3381# of exeext. 3382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3383$as_echo_n "checking whether the C compiler works... " >&6; } 3384ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3385 3386# The possible output files: 3387ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3388 3389ac_rmfiles= 3390for ac_file in $ac_files 3391do 3392 case $ac_file in 3393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3394 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3395 esac 3396done 3397rm -f $ac_rmfiles 3398 3399if { { ac_try="$ac_link_default" 3400case "(($ac_try" in 3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3402 *) ac_try_echo=$ac_try;; 3403esac 3404eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3405$as_echo "$ac_try_echo"; } >&5 3406 (eval "$ac_link_default") 2>&5 3407 ac_status=$? 3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3409 test $ac_status = 0; }; then : 3410 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3411# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3412# in a Makefile. We should not override ac_cv_exeext if it was cached, 3413# so that the user can short-circuit this test for compilers unknown to 3414# Autoconf. 3415for ac_file in $ac_files '' 3416do 3417 test -f "$ac_file" || continue 3418 case $ac_file in 3419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3420 ;; 3421 [ab].out ) 3422 # We found the default executable, but exeext='' is most 3423 # certainly right. 3424 break;; 3425 *.* ) 3426 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3427 then :; else 3428 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3429 fi 3430 # We set ac_cv_exeext here because the later test for it is not 3431 # safe: cross compilers may not add the suffix if given an `-o' 3432 # argument, so we may need to know it at that point already. 3433 # Even if this section looks crufty: it has the advantage of 3434 # actually working. 3435 break;; 3436 * ) 3437 break;; 3438 esac 3439done 3440test "$ac_cv_exeext" = no && ac_cv_exeext= 3441 3442else 3443 ac_file='' 3444fi 3445if test -z "$ac_file"; then : 3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3447$as_echo "no" >&6; } 3448$as_echo "$as_me: failed program was:" >&5 3449sed 's/^/| /' conftest.$ac_ext >&5 3450 3451{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3452$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3453as_fn_error 77 "C compiler cannot create executables 3454See \`config.log' for more details" "$LINENO" 5; } 3455else 3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3457$as_echo "yes" >&6; } 3458fi 3459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3460$as_echo_n "checking for C compiler default output file name... " >&6; } 3461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3462$as_echo "$ac_file" >&6; } 3463ac_exeext=$ac_cv_exeext 3464 3465rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3466ac_clean_files=$ac_clean_files_save 3467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3468$as_echo_n "checking for suffix of executables... " >&6; } 3469if { { ac_try="$ac_link" 3470case "(($ac_try" in 3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3472 *) ac_try_echo=$ac_try;; 3473esac 3474eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3475$as_echo "$ac_try_echo"; } >&5 3476 (eval "$ac_link") 2>&5 3477 ac_status=$? 3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3479 test $ac_status = 0; }; then : 3480 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3481# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3482# work properly (i.e., refer to `conftest.exe'), while it won't with 3483# `rm'. 3484for ac_file in conftest.exe conftest conftest.*; do 3485 test -f "$ac_file" || continue 3486 case $ac_file in 3487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3488 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3489 break;; 3490 * ) break;; 3491 esac 3492done 3493else 3494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3495$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3496as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3497See \`config.log' for more details" "$LINENO" 5; } 3498fi 3499rm -f conftest conftest$ac_cv_exeext 3500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3501$as_echo "$ac_cv_exeext" >&6; } 3502 3503rm -f conftest.$ac_ext 3504EXEEXT=$ac_cv_exeext 3505ac_exeext=$EXEEXT 3506cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3507/* end confdefs.h. */ 3508#include <stdio.h> 3509int 3510main () 3511{ 3512FILE *f = fopen ("conftest.out", "w"); 3513 return ferror (f) || fclose (f) != 0; 3514 3515 ; 3516 return 0; 3517} 3518_ACEOF 3519ac_clean_files="$ac_clean_files conftest.out" 3520# Check that the compiler produces executables we can run. If not, either 3521# the compiler is broken, or we cross compile. 3522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3523$as_echo_n "checking whether we are cross compiling... " >&6; } 3524if test "$cross_compiling" != yes; then 3525 { { ac_try="$ac_link" 3526case "(($ac_try" in 3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3528 *) ac_try_echo=$ac_try;; 3529esac 3530eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3531$as_echo "$ac_try_echo"; } >&5 3532 (eval "$ac_link") 2>&5 3533 ac_status=$? 3534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3535 test $ac_status = 0; } 3536 if { ac_try='./conftest$ac_cv_exeext' 3537 { { case "(($ac_try" in 3538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3539 *) ac_try_echo=$ac_try;; 3540esac 3541eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3542$as_echo "$ac_try_echo"; } >&5 3543 (eval "$ac_try") 2>&5 3544 ac_status=$? 3545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3546 test $ac_status = 0; }; }; then 3547 cross_compiling=no 3548 else 3549 if test "$cross_compiling" = maybe; then 3550 cross_compiling=yes 3551 else 3552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3553$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3554as_fn_error $? "cannot run C compiled programs. 3555If you meant to cross compile, use \`--host'. 3556See \`config.log' for more details" "$LINENO" 5; } 3557 fi 3558 fi 3559fi 3560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3561$as_echo "$cross_compiling" >&6; } 3562 3563rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3564ac_clean_files=$ac_clean_files_save 3565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3566$as_echo_n "checking for suffix of object files... " >&6; } 3567if ${ac_cv_objext+:} false; then : 3568 $as_echo_n "(cached) " >&6 3569else 3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3571/* end confdefs.h. */ 3572 3573int 3574main () 3575{ 3576 3577 ; 3578 return 0; 3579} 3580_ACEOF 3581rm -f conftest.o conftest.obj 3582if { { ac_try="$ac_compile" 3583case "(($ac_try" in 3584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3585 *) ac_try_echo=$ac_try;; 3586esac 3587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3588$as_echo "$ac_try_echo"; } >&5 3589 (eval "$ac_compile") 2>&5 3590 ac_status=$? 3591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3592 test $ac_status = 0; }; then : 3593 for ac_file in conftest.o conftest.obj conftest.*; do 3594 test -f "$ac_file" || continue; 3595 case $ac_file in 3596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3597 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3598 break;; 3599 esac 3600done 3601else 3602 $as_echo "$as_me: failed program was:" >&5 3603sed 's/^/| /' conftest.$ac_ext >&5 3604 3605{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3606$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3607as_fn_error $? "cannot compute suffix of object files: cannot compile 3608See \`config.log' for more details" "$LINENO" 5; } 3609fi 3610rm -f conftest.$ac_cv_objext conftest.$ac_ext 3611fi 3612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3613$as_echo "$ac_cv_objext" >&6; } 3614OBJEXT=$ac_cv_objext 3615ac_objext=$OBJEXT 3616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3617$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3618if ${ac_cv_c_compiler_gnu+:} false; then : 3619 $as_echo_n "(cached) " >&6 3620else 3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3622/* end confdefs.h. */ 3623 3624int 3625main () 3626{ 3627#ifndef __GNUC__ 3628 choke me 3629#endif 3630 3631 ; 3632 return 0; 3633} 3634_ACEOF 3635if ac_fn_c_try_compile "$LINENO"; then : 3636 ac_compiler_gnu=yes 3637else 3638 ac_compiler_gnu=no 3639fi 3640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3641ac_cv_c_compiler_gnu=$ac_compiler_gnu 3642 3643fi 3644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3645$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3646if test $ac_compiler_gnu = yes; then 3647 GCC=yes 3648else 3649 GCC= 3650fi 3651ac_test_CFLAGS=${CFLAGS+set} 3652ac_save_CFLAGS=$CFLAGS 3653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3654$as_echo_n "checking whether $CC accepts -g... " >&6; } 3655if ${ac_cv_prog_cc_g+:} false; then : 3656 $as_echo_n "(cached) " >&6 3657else 3658 ac_save_c_werror_flag=$ac_c_werror_flag 3659 ac_c_werror_flag=yes 3660 ac_cv_prog_cc_g=no 3661 CFLAGS="-g" 3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3663/* end confdefs.h. */ 3664 3665int 3666main () 3667{ 3668 3669 ; 3670 return 0; 3671} 3672_ACEOF 3673if ac_fn_c_try_compile "$LINENO"; then : 3674 ac_cv_prog_cc_g=yes 3675else 3676 CFLAGS="" 3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3678/* end confdefs.h. */ 3679 3680int 3681main () 3682{ 3683 3684 ; 3685 return 0; 3686} 3687_ACEOF 3688if ac_fn_c_try_compile "$LINENO"; then : 3689 3690else 3691 ac_c_werror_flag=$ac_save_c_werror_flag 3692 CFLAGS="-g" 3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3694/* end confdefs.h. */ 3695 3696int 3697main () 3698{ 3699 3700 ; 3701 return 0; 3702} 3703_ACEOF 3704if ac_fn_c_try_compile "$LINENO"; then : 3705 ac_cv_prog_cc_g=yes 3706fi 3707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3708fi 3709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3710fi 3711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3712 ac_c_werror_flag=$ac_save_c_werror_flag 3713fi 3714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3715$as_echo "$ac_cv_prog_cc_g" >&6; } 3716if test "$ac_test_CFLAGS" = set; then 3717 CFLAGS=$ac_save_CFLAGS 3718elif test $ac_cv_prog_cc_g = yes; then 3719 if test "$GCC" = yes; then 3720 CFLAGS="-g -O2" 3721 else 3722 CFLAGS="-g" 3723 fi 3724else 3725 if test "$GCC" = yes; then 3726 CFLAGS="-O2" 3727 else 3728 CFLAGS= 3729 fi 3730fi 3731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3732$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3733if ${ac_cv_prog_cc_c89+:} false; then : 3734 $as_echo_n "(cached) " >&6 3735else 3736 ac_cv_prog_cc_c89=no 3737ac_save_CC=$CC 3738cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3739/* end confdefs.h. */ 3740#include <stdarg.h> 3741#include <stdio.h> 3742struct stat; 3743/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3744struct buf { int x; }; 3745FILE * (*rcsopen) (struct buf *, struct stat *, int); 3746static char *e (p, i) 3747 char **p; 3748 int i; 3749{ 3750 return p[i]; 3751} 3752static char *f (char * (*g) (char **, int), char **p, ...) 3753{ 3754 char *s; 3755 va_list v; 3756 va_start (v,p); 3757 s = g (p, va_arg (v,int)); 3758 va_end (v); 3759 return s; 3760} 3761 3762/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3763 function prototypes and stuff, but not '\xHH' hex character constants. 3764 These don't provoke an error unfortunately, instead are silently treated 3765 as 'x'. The following induces an error, until -std is added to get 3766 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3767 array size at least. It's necessary to write '\x00'==0 to get something 3768 that's true only with -std. */ 3769int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3770 3771/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3772 inside strings and character constants. */ 3773#define FOO(x) 'x' 3774int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3775 3776int test (int i, double x); 3777struct s1 {int (*f) (int a);}; 3778struct s2 {int (*f) (double a);}; 3779int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3780int argc; 3781char **argv; 3782int 3783main () 3784{ 3785return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3786 ; 3787 return 0; 3788} 3789_ACEOF 3790for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3791 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3792do 3793 CC="$ac_save_CC $ac_arg" 3794 if ac_fn_c_try_compile "$LINENO"; then : 3795 ac_cv_prog_cc_c89=$ac_arg 3796fi 3797rm -f core conftest.err conftest.$ac_objext 3798 test "x$ac_cv_prog_cc_c89" != "xno" && break 3799done 3800rm -f conftest.$ac_ext 3801CC=$ac_save_CC 3802 3803fi 3804# AC_CACHE_VAL 3805case "x$ac_cv_prog_cc_c89" in 3806 x) 3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3808$as_echo "none needed" >&6; } ;; 3809 xno) 3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3811$as_echo "unsupported" >&6; } ;; 3812 *) 3813 CC="$CC $ac_cv_prog_cc_c89" 3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3815$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3816esac 3817if test "x$ac_cv_prog_cc_c89" != xno; then : 3818 3819fi 3820 3821ac_ext=c 3822ac_cpp='$CPP $CPPFLAGS' 3823ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3824ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3825ac_compiler_gnu=$ac_cv_c_compiler_gnu 3826 3827ac_ext=c 3828ac_cpp='$CPP $CPPFLAGS' 3829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3831ac_compiler_gnu=$ac_cv_c_compiler_gnu 3832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3833$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3834if ${am_cv_prog_cc_c_o+:} false; then : 3835 $as_echo_n "(cached) " >&6 3836else 3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3838/* end confdefs.h. */ 3839 3840int 3841main () 3842{ 3843 3844 ; 3845 return 0; 3846} 3847_ACEOF 3848 # Make sure it works both with $CC and with simple cc. 3849 # Following AC_PROG_CC_C_O, we do the test twice because some 3850 # compilers refuse to overwrite an existing .o file with -o, 3851 # though they will create one. 3852 am_cv_prog_cc_c_o=yes 3853 for am_i in 1 2; do 3854 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3855 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3856 ac_status=$? 3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3858 (exit $ac_status); } \ 3859 && test -f conftest2.$ac_objext; then 3860 : OK 3861 else 3862 am_cv_prog_cc_c_o=no 3863 break 3864 fi 3865 done 3866 rm -f core conftest* 3867 unset am_i 3868fi 3869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3870$as_echo "$am_cv_prog_cc_c_o" >&6; } 3871if test "$am_cv_prog_cc_c_o" != yes; then 3872 # Losing compiler, so override with the script. 3873 # FIXME: It is wrong to rewrite CC. 3874 # But if we don't then we get into trouble of one sort or another. 3875 # A longer-term fix would be to have automake use am__CC in this case, 3876 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3877 CC="$am_aux_dir/compile $CC" 3878fi 3879ac_ext=c 3880ac_cpp='$CPP $CPPFLAGS' 3881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3883ac_compiler_gnu=$ac_cv_c_compiler_gnu 3884 3885 3886depcc="$CC" am_compiler_list= 3887 3888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3889$as_echo_n "checking dependency style of $depcc... " >&6; } 3890if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3891 $as_echo_n "(cached) " >&6 3892else 3893 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3894 # We make a subdir and do the tests there. Otherwise we can end up 3895 # making bogus files that we don't know about and never remove. For 3896 # instance it was reported that on HP-UX the gcc test will end up 3897 # making a dummy file named 'D' -- because '-MD' means "put the output 3898 # in D". 3899 rm -rf conftest.dir 3900 mkdir conftest.dir 3901 # Copy depcomp to subdir because otherwise we won't find it if we're 3902 # using a relative directory. 3903 cp "$am_depcomp" conftest.dir 3904 cd conftest.dir 3905 # We will build objects and dependencies in a subdirectory because 3906 # it helps to detect inapplicable dependency modes. For instance 3907 # both Tru64's cc and ICC support -MD to output dependencies as a 3908 # side effect of compilation, but ICC will put the dependencies in 3909 # the current directory while Tru64 will put them in the object 3910 # directory. 3911 mkdir sub 3912 3913 am_cv_CC_dependencies_compiler_type=none 3914 if test "$am_compiler_list" = ""; then 3915 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3916 fi 3917 am__universal=false 3918 case " $depcc " in #( 3919 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3920 esac 3921 3922 for depmode in $am_compiler_list; do 3923 # Setup a source with many dependencies, because some compilers 3924 # like to wrap large dependency lists on column 80 (with \), and 3925 # we should not choose a depcomp mode which is confused by this. 3926 # 3927 # We need to recreate these files for each test, as the compiler may 3928 # overwrite some of them when testing with obscure command lines. 3929 # This happens at least with the AIX C compiler. 3930 : > sub/conftest.c 3931 for i in 1 2 3 4 5 6; do 3932 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3933 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3934 # Solaris 10 /bin/sh. 3935 echo '/* dummy */' > sub/conftst$i.h 3936 done 3937 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3938 3939 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3940 # mode. It turns out that the SunPro C++ compiler does not properly 3941 # handle '-M -o', and we need to detect this. Also, some Intel 3942 # versions had trouble with output in subdirs. 3943 am__obj=sub/conftest.${OBJEXT-o} 3944 am__minus_obj="-o $am__obj" 3945 case $depmode in 3946 gcc) 3947 # This depmode causes a compiler race in universal mode. 3948 test "$am__universal" = false || continue 3949 ;; 3950 nosideeffect) 3951 # After this tag, mechanisms are not by side-effect, so they'll 3952 # only be used when explicitly requested. 3953 if test "x$enable_dependency_tracking" = xyes; then 3954 continue 3955 else 3956 break 3957 fi 3958 ;; 3959 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3960 # This compiler won't grok '-c -o', but also, the minuso test has 3961 # not run yet. These depmodes are late enough in the game, and 3962 # so weak that their functioning should not be impacted. 3963 am__obj=conftest.${OBJEXT-o} 3964 am__minus_obj= 3965 ;; 3966 none) break ;; 3967 esac 3968 if depmode=$depmode \ 3969 source=sub/conftest.c object=$am__obj \ 3970 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3971 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3972 >/dev/null 2>conftest.err && 3973 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3974 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3975 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3976 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3977 # icc doesn't choke on unknown options, it will just issue warnings 3978 # or remarks (even with -Werror). So we grep stderr for any message 3979 # that says an option was ignored or not supported. 3980 # When given -MP, icc 7.0 and 7.1 complain thusly: 3981 # icc: Command line warning: ignoring option '-M'; no argument required 3982 # The diagnosis changed in icc 8.0: 3983 # icc: Command line remark: option '-MP' not supported 3984 if (grep 'ignoring option' conftest.err || 3985 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3986 am_cv_CC_dependencies_compiler_type=$depmode 3987 break 3988 fi 3989 fi 3990 done 3991 3992 cd .. 3993 rm -rf conftest.dir 3994else 3995 am_cv_CC_dependencies_compiler_type=none 3996fi 3997 3998fi 3999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4000$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4001CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4002 4003 if 4004 test "x$enable_dependency_tracking" != xno \ 4005 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4006 am__fastdepCC_TRUE= 4007 am__fastdepCC_FALSE='#' 4008else 4009 am__fastdepCC_TRUE='#' 4010 am__fastdepCC_FALSE= 4011fi 4012 4013 4014 4015# Check whether --enable-compiler-warnings was given. 4016if test "${enable_compiler_warnings+set}" = set; then : 4017 enableval=$enable_compiler_warnings; 4018fi 4019case $enable_compiler_warnings in #( 4020 no | min | yes | max | all) : 4021 ;; #( 4022 *) : 4023 if test "x$enable_maintainer_mode" = xyes; then : 4024 enable_compiler_warnings=yes 4025else 4026 enable_compiler_warnings=min 4027fi ;; 4028esac 4029 4030case `pwd` in 4031 *\ * | *\ *) 4032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4033$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4034esac 4035 4036 4037 4038macro_version='2.4.6' 4039macro_revision='2.4.6' 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053ltmain=$ac_aux_dir/ltmain.sh 4054 4055# Make sure we can run config.sub. 4056$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4057 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4058 4059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4060$as_echo_n "checking build system type... " >&6; } 4061if ${ac_cv_build+:} false; then : 4062 $as_echo_n "(cached) " >&6 4063else 4064 ac_build_alias=$build_alias 4065test "x$ac_build_alias" = x && 4066 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4067test "x$ac_build_alias" = x && 4068 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4069ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4070 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4071 4072fi 4073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4074$as_echo "$ac_cv_build" >&6; } 4075case $ac_cv_build in 4076*-*-*) ;; 4077*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4078esac 4079build=$ac_cv_build 4080ac_save_IFS=$IFS; IFS='-' 4081set x $ac_cv_build 4082shift 4083build_cpu=$1 4084build_vendor=$2 4085shift; shift 4086# Remember, the first character of IFS is used to create $*, 4087# except with old shells: 4088build_os=$* 4089IFS=$ac_save_IFS 4090case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4091 4092 4093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4094$as_echo_n "checking host system type... " >&6; } 4095if ${ac_cv_host+:} false; then : 4096 $as_echo_n "(cached) " >&6 4097else 4098 if test "x$host_alias" = x; then 4099 ac_cv_host=$ac_cv_build 4100else 4101 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4102 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4103fi 4104 4105fi 4106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4107$as_echo "$ac_cv_host" >&6; } 4108case $ac_cv_host in 4109*-*-*) ;; 4110*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4111esac 4112host=$ac_cv_host 4113ac_save_IFS=$IFS; IFS='-' 4114set x $ac_cv_host 4115shift 4116host_cpu=$1 4117host_vendor=$2 4118shift; shift 4119# Remember, the first character of IFS is used to create $*, 4120# except with old shells: 4121host_os=$* 4122IFS=$ac_save_IFS 4123case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4124 4125 4126# Backslashify metacharacters that are still active within 4127# double-quoted strings. 4128sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4129 4130# Same as above, but do not quote variable references. 4131double_quote_subst='s/\(["`\\]\)/\\\1/g' 4132 4133# Sed substitution to delay expansion of an escaped shell variable in a 4134# double_quote_subst'ed string. 4135delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4136 4137# Sed substitution to delay expansion of an escaped single quote. 4138delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4139 4140# Sed substitution to avoid accidental globbing in evaled expressions 4141no_glob_subst='s/\*/\\\*/g' 4142 4143ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4144ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4145ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4146 4147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4148$as_echo_n "checking how to print strings... " >&6; } 4149# Test print first, because it will be a builtin if present. 4150if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4151 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4152 ECHO='print -r --' 4153elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4154 ECHO='printf %s\n' 4155else 4156 # Use this function as a fallback that always works. 4157 func_fallback_echo () 4158 { 4159 eval 'cat <<_LTECHO_EOF 4160$1 4161_LTECHO_EOF' 4162 } 4163 ECHO='func_fallback_echo' 4164fi 4165 4166# func_echo_all arg... 4167# Invoke $ECHO with all args, space-separated. 4168func_echo_all () 4169{ 4170 $ECHO "" 4171} 4172 4173case $ECHO in 4174 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4175$as_echo "printf" >&6; } ;; 4176 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4177$as_echo "print -r" >&6; } ;; 4178 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4179$as_echo "cat" >&6; } ;; 4180esac 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4196$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4197if ${ac_cv_path_SED+:} false; then : 4198 $as_echo_n "(cached) " >&6 4199else 4200 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4201 for ac_i in 1 2 3 4 5 6 7; do 4202 ac_script="$ac_script$as_nl$ac_script" 4203 done 4204 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4205 { ac_script=; unset ac_script;} 4206 if test -z "$SED"; then 4207 ac_path_SED_found=false 4208 # Loop through the user's path and test for each of PROGNAME-LIST 4209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4210for as_dir in $PATH 4211do 4212 IFS=$as_save_IFS 4213 test -z "$as_dir" && as_dir=. 4214 for ac_prog in sed gsed; do 4215 for ac_exec_ext in '' $ac_executable_extensions; do 4216 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4217 as_fn_executable_p "$ac_path_SED" || continue 4218# Check for GNU ac_path_SED and select it if it is found. 4219 # Check for GNU $ac_path_SED 4220case `"$ac_path_SED" --version 2>&1` in 4221*GNU*) 4222 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4223*) 4224 ac_count=0 4225 $as_echo_n 0123456789 >"conftest.in" 4226 while : 4227 do 4228 cat "conftest.in" "conftest.in" >"conftest.tmp" 4229 mv "conftest.tmp" "conftest.in" 4230 cp "conftest.in" "conftest.nl" 4231 $as_echo '' >> "conftest.nl" 4232 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4233 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4234 as_fn_arith $ac_count + 1 && ac_count=$as_val 4235 if test $ac_count -gt ${ac_path_SED_max-0}; then 4236 # Best one so far, save it but keep looking for a better one 4237 ac_cv_path_SED="$ac_path_SED" 4238 ac_path_SED_max=$ac_count 4239 fi 4240 # 10*(2^10) chars as input seems more than enough 4241 test $ac_count -gt 10 && break 4242 done 4243 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4244esac 4245 4246 $ac_path_SED_found && break 3 4247 done 4248 done 4249 done 4250IFS=$as_save_IFS 4251 if test -z "$ac_cv_path_SED"; then 4252 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4253 fi 4254else 4255 ac_cv_path_SED=$SED 4256fi 4257 4258fi 4259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4260$as_echo "$ac_cv_path_SED" >&6; } 4261 SED="$ac_cv_path_SED" 4262 rm -f conftest.sed 4263 4264test -z "$SED" && SED=sed 4265Xsed="$SED -e 1s/^X//" 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4278$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4279if ${ac_cv_path_GREP+:} false; then : 4280 $as_echo_n "(cached) " >&6 4281else 4282 if test -z "$GREP"; then 4283 ac_path_GREP_found=false 4284 # Loop through the user's path and test for each of PROGNAME-LIST 4285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4286for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4287do 4288 IFS=$as_save_IFS 4289 test -z "$as_dir" && as_dir=. 4290 for ac_prog in grep ggrep; do 4291 for ac_exec_ext in '' $ac_executable_extensions; do 4292 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4293 as_fn_executable_p "$ac_path_GREP" || continue 4294# Check for GNU ac_path_GREP and select it if it is found. 4295 # Check for GNU $ac_path_GREP 4296case `"$ac_path_GREP" --version 2>&1` in 4297*GNU*) 4298 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4299*) 4300 ac_count=0 4301 $as_echo_n 0123456789 >"conftest.in" 4302 while : 4303 do 4304 cat "conftest.in" "conftest.in" >"conftest.tmp" 4305 mv "conftest.tmp" "conftest.in" 4306 cp "conftest.in" "conftest.nl" 4307 $as_echo 'GREP' >> "conftest.nl" 4308 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4309 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4310 as_fn_arith $ac_count + 1 && ac_count=$as_val 4311 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4312 # Best one so far, save it but keep looking for a better one 4313 ac_cv_path_GREP="$ac_path_GREP" 4314 ac_path_GREP_max=$ac_count 4315 fi 4316 # 10*(2^10) chars as input seems more than enough 4317 test $ac_count -gt 10 && break 4318 done 4319 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4320esac 4321 4322 $ac_path_GREP_found && break 3 4323 done 4324 done 4325 done 4326IFS=$as_save_IFS 4327 if test -z "$ac_cv_path_GREP"; then 4328 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4329 fi 4330else 4331 ac_cv_path_GREP=$GREP 4332fi 4333 4334fi 4335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4336$as_echo "$ac_cv_path_GREP" >&6; } 4337 GREP="$ac_cv_path_GREP" 4338 4339 4340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4341$as_echo_n "checking for egrep... " >&6; } 4342if ${ac_cv_path_EGREP+:} false; then : 4343 $as_echo_n "(cached) " >&6 4344else 4345 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4346 then ac_cv_path_EGREP="$GREP -E" 4347 else 4348 if test -z "$EGREP"; then 4349 ac_path_EGREP_found=false 4350 # Loop through the user's path and test for each of PROGNAME-LIST 4351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4352for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4353do 4354 IFS=$as_save_IFS 4355 test -z "$as_dir" && as_dir=. 4356 for ac_prog in egrep; do 4357 for ac_exec_ext in '' $ac_executable_extensions; do 4358 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4359 as_fn_executable_p "$ac_path_EGREP" || continue 4360# Check for GNU ac_path_EGREP and select it if it is found. 4361 # Check for GNU $ac_path_EGREP 4362case `"$ac_path_EGREP" --version 2>&1` in 4363*GNU*) 4364 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4365*) 4366 ac_count=0 4367 $as_echo_n 0123456789 >"conftest.in" 4368 while : 4369 do 4370 cat "conftest.in" "conftest.in" >"conftest.tmp" 4371 mv "conftest.tmp" "conftest.in" 4372 cp "conftest.in" "conftest.nl" 4373 $as_echo 'EGREP' >> "conftest.nl" 4374 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4375 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4376 as_fn_arith $ac_count + 1 && ac_count=$as_val 4377 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4378 # Best one so far, save it but keep looking for a better one 4379 ac_cv_path_EGREP="$ac_path_EGREP" 4380 ac_path_EGREP_max=$ac_count 4381 fi 4382 # 10*(2^10) chars as input seems more than enough 4383 test $ac_count -gt 10 && break 4384 done 4385 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4386esac 4387 4388 $ac_path_EGREP_found && break 3 4389 done 4390 done 4391 done 4392IFS=$as_save_IFS 4393 if test -z "$ac_cv_path_EGREP"; then 4394 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4395 fi 4396else 4397 ac_cv_path_EGREP=$EGREP 4398fi 4399 4400 fi 4401fi 4402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4403$as_echo "$ac_cv_path_EGREP" >&6; } 4404 EGREP="$ac_cv_path_EGREP" 4405 4406 4407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4408$as_echo_n "checking for fgrep... " >&6; } 4409if ${ac_cv_path_FGREP+:} false; then : 4410 $as_echo_n "(cached) " >&6 4411else 4412 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4413 then ac_cv_path_FGREP="$GREP -F" 4414 else 4415 if test -z "$FGREP"; then 4416 ac_path_FGREP_found=false 4417 # Loop through the user's path and test for each of PROGNAME-LIST 4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4419for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4420do 4421 IFS=$as_save_IFS 4422 test -z "$as_dir" && as_dir=. 4423 for ac_prog in fgrep; do 4424 for ac_exec_ext in '' $ac_executable_extensions; do 4425 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4426 as_fn_executable_p "$ac_path_FGREP" || continue 4427# Check for GNU ac_path_FGREP and select it if it is found. 4428 # Check for GNU $ac_path_FGREP 4429case `"$ac_path_FGREP" --version 2>&1` in 4430*GNU*) 4431 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4432*) 4433 ac_count=0 4434 $as_echo_n 0123456789 >"conftest.in" 4435 while : 4436 do 4437 cat "conftest.in" "conftest.in" >"conftest.tmp" 4438 mv "conftest.tmp" "conftest.in" 4439 cp "conftest.in" "conftest.nl" 4440 $as_echo 'FGREP' >> "conftest.nl" 4441 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4442 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4443 as_fn_arith $ac_count + 1 && ac_count=$as_val 4444 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4445 # Best one so far, save it but keep looking for a better one 4446 ac_cv_path_FGREP="$ac_path_FGREP" 4447 ac_path_FGREP_max=$ac_count 4448 fi 4449 # 10*(2^10) chars as input seems more than enough 4450 test $ac_count -gt 10 && break 4451 done 4452 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4453esac 4454 4455 $ac_path_FGREP_found && break 3 4456 done 4457 done 4458 done 4459IFS=$as_save_IFS 4460 if test -z "$ac_cv_path_FGREP"; then 4461 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4462 fi 4463else 4464 ac_cv_path_FGREP=$FGREP 4465fi 4466 4467 fi 4468fi 4469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4470$as_echo "$ac_cv_path_FGREP" >&6; } 4471 FGREP="$ac_cv_path_FGREP" 4472 4473 4474test -z "$GREP" && GREP=grep 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494# Check whether --with-gnu-ld was given. 4495if test "${with_gnu_ld+set}" = set; then : 4496 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4497else 4498 with_gnu_ld=no 4499fi 4500 4501ac_prog=ld 4502if test yes = "$GCC"; then 4503 # Check if gcc -print-prog-name=ld gives a path. 4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4505$as_echo_n "checking for ld used by $CC... " >&6; } 4506 case $host in 4507 *-*-mingw*) 4508 # gcc leaves a trailing carriage return, which upsets mingw 4509 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4510 *) 4511 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4512 esac 4513 case $ac_prog in 4514 # Accept absolute paths. 4515 [\\/]* | ?:[\\/]*) 4516 re_direlt='/[^/][^/]*/\.\./' 4517 # Canonicalize the pathname of ld 4518 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4519 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4520 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4521 done 4522 test -z "$LD" && LD=$ac_prog 4523 ;; 4524 "") 4525 # If it fails, then pretend we aren't using GCC. 4526 ac_prog=ld 4527 ;; 4528 *) 4529 # If it is relative, then search for the first ld in PATH. 4530 with_gnu_ld=unknown 4531 ;; 4532 esac 4533elif test yes = "$with_gnu_ld"; then 4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4535$as_echo_n "checking for GNU ld... " >&6; } 4536else 4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4538$as_echo_n "checking for non-GNU ld... " >&6; } 4539fi 4540if ${lt_cv_path_LD+:} false; then : 4541 $as_echo_n "(cached) " >&6 4542else 4543 if test -z "$LD"; then 4544 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4545 for ac_dir in $PATH; do 4546 IFS=$lt_save_ifs 4547 test -z "$ac_dir" && ac_dir=. 4548 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4549 lt_cv_path_LD=$ac_dir/$ac_prog 4550 # Check to see if the program is GNU ld. I'd rather use --version, 4551 # but apparently some variants of GNU ld only accept -v. 4552 # Break only if it was the GNU/non-GNU ld that we prefer. 4553 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4554 *GNU* | *'with BFD'*) 4555 test no != "$with_gnu_ld" && break 4556 ;; 4557 *) 4558 test yes != "$with_gnu_ld" && break 4559 ;; 4560 esac 4561 fi 4562 done 4563 IFS=$lt_save_ifs 4564else 4565 lt_cv_path_LD=$LD # Let the user override the test with a path. 4566fi 4567fi 4568 4569LD=$lt_cv_path_LD 4570if test -n "$LD"; then 4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4572$as_echo "$LD" >&6; } 4573else 4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4575$as_echo "no" >&6; } 4576fi 4577test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4579$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4580if ${lt_cv_prog_gnu_ld+:} false; then : 4581 $as_echo_n "(cached) " >&6 4582else 4583 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4584case `$LD -v 2>&1 </dev/null` in 4585*GNU* | *'with BFD'*) 4586 lt_cv_prog_gnu_ld=yes 4587 ;; 4588*) 4589 lt_cv_prog_gnu_ld=no 4590 ;; 4591esac 4592fi 4593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4594$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4595with_gnu_ld=$lt_cv_prog_gnu_ld 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4606$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4607if ${lt_cv_path_NM+:} false; then : 4608 $as_echo_n "(cached) " >&6 4609else 4610 if test -n "$NM"; then 4611 # Let the user override the test. 4612 lt_cv_path_NM=$NM 4613else 4614 lt_nm_to_check=${ac_tool_prefix}nm 4615 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4616 lt_nm_to_check="$lt_nm_to_check nm" 4617 fi 4618 for lt_tmp_nm in $lt_nm_to_check; do 4619 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4620 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4621 IFS=$lt_save_ifs 4622 test -z "$ac_dir" && ac_dir=. 4623 tmp_nm=$ac_dir/$lt_tmp_nm 4624 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4625 # Check to see if the nm accepts a BSD-compat flag. 4626 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4627 # nm: unknown option "B" ignored 4628 # Tru64's nm complains that /dev/null is an invalid object file 4629 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4630 case $build_os in 4631 mingw*) lt_bad_file=conftest.nm/nofile ;; 4632 *) lt_bad_file=/dev/null ;; 4633 esac 4634 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4635 *$lt_bad_file* | *'Invalid file or object type'*) 4636 lt_cv_path_NM="$tmp_nm -B" 4637 break 2 4638 ;; 4639 *) 4640 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4641 */dev/null*) 4642 lt_cv_path_NM="$tmp_nm -p" 4643 break 2 4644 ;; 4645 *) 4646 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4647 continue # so that we can try to find one that supports BSD flags 4648 ;; 4649 esac 4650 ;; 4651 esac 4652 fi 4653 done 4654 IFS=$lt_save_ifs 4655 done 4656 : ${lt_cv_path_NM=no} 4657fi 4658fi 4659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4660$as_echo "$lt_cv_path_NM" >&6; } 4661if test no != "$lt_cv_path_NM"; then 4662 NM=$lt_cv_path_NM 4663else 4664 # Didn't find any BSD compatible name lister, look for dumpbin. 4665 if test -n "$DUMPBIN"; then : 4666 # Let the user override the test. 4667 else 4668 if test -n "$ac_tool_prefix"; then 4669 for ac_prog in dumpbin "link -dump" 4670 do 4671 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4672set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4674$as_echo_n "checking for $ac_word... " >&6; } 4675if ${ac_cv_prog_DUMPBIN+:} false; then : 4676 $as_echo_n "(cached) " >&6 4677else 4678 if test -n "$DUMPBIN"; then 4679 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4680else 4681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4682for as_dir in $PATH 4683do 4684 IFS=$as_save_IFS 4685 test -z "$as_dir" && as_dir=. 4686 for ac_exec_ext in '' $ac_executable_extensions; do 4687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4688 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4690 break 2 4691 fi 4692done 4693 done 4694IFS=$as_save_IFS 4695 4696fi 4697fi 4698DUMPBIN=$ac_cv_prog_DUMPBIN 4699if test -n "$DUMPBIN"; then 4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4701$as_echo "$DUMPBIN" >&6; } 4702else 4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4704$as_echo "no" >&6; } 4705fi 4706 4707 4708 test -n "$DUMPBIN" && break 4709 done 4710fi 4711if test -z "$DUMPBIN"; then 4712 ac_ct_DUMPBIN=$DUMPBIN 4713 for ac_prog in dumpbin "link -dump" 4714do 4715 # Extract the first word of "$ac_prog", so it can be a program name with args. 4716set dummy $ac_prog; ac_word=$2 4717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4718$as_echo_n "checking for $ac_word... " >&6; } 4719if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4720 $as_echo_n "(cached) " >&6 4721else 4722 if test -n "$ac_ct_DUMPBIN"; then 4723 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4724else 4725as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4726for as_dir in $PATH 4727do 4728 IFS=$as_save_IFS 4729 test -z "$as_dir" && as_dir=. 4730 for ac_exec_ext in '' $ac_executable_extensions; do 4731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4732 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4734 break 2 4735 fi 4736done 4737 done 4738IFS=$as_save_IFS 4739 4740fi 4741fi 4742ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4743if test -n "$ac_ct_DUMPBIN"; then 4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4745$as_echo "$ac_ct_DUMPBIN" >&6; } 4746else 4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4748$as_echo "no" >&6; } 4749fi 4750 4751 4752 test -n "$ac_ct_DUMPBIN" && break 4753done 4754 4755 if test "x$ac_ct_DUMPBIN" = x; then 4756 DUMPBIN=":" 4757 else 4758 case $cross_compiling:$ac_tool_warned in 4759yes:) 4760{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4761$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4762ac_tool_warned=yes ;; 4763esac 4764 DUMPBIN=$ac_ct_DUMPBIN 4765 fi 4766fi 4767 4768 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4769 *COFF*) 4770 DUMPBIN="$DUMPBIN -symbols -headers" 4771 ;; 4772 *) 4773 DUMPBIN=: 4774 ;; 4775 esac 4776 fi 4777 4778 if test : != "$DUMPBIN"; then 4779 NM=$DUMPBIN 4780 fi 4781fi 4782test -z "$NM" && NM=nm 4783 4784 4785 4786 4787 4788 4789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4790$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4791if ${lt_cv_nm_interface+:} false; then : 4792 $as_echo_n "(cached) " >&6 4793else 4794 lt_cv_nm_interface="BSD nm" 4795 echo "int some_variable = 0;" > conftest.$ac_ext 4796 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4797 (eval "$ac_compile" 2>conftest.err) 4798 cat conftest.err >&5 4799 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4800 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4801 cat conftest.err >&5 4802 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4803 cat conftest.out >&5 4804 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4805 lt_cv_nm_interface="MS dumpbin" 4806 fi 4807 rm -f conftest* 4808fi 4809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4810$as_echo "$lt_cv_nm_interface" >&6; } 4811 4812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4813$as_echo_n "checking whether ln -s works... " >&6; } 4814LN_S=$as_ln_s 4815if test "$LN_S" = "ln -s"; then 4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4817$as_echo "yes" >&6; } 4818else 4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4820$as_echo "no, using $LN_S" >&6; } 4821fi 4822 4823# find the maximum length of command line arguments 4824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4825$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4826if ${lt_cv_sys_max_cmd_len+:} false; then : 4827 $as_echo_n "(cached) " >&6 4828else 4829 i=0 4830 teststring=ABCD 4831 4832 case $build_os in 4833 msdosdjgpp*) 4834 # On DJGPP, this test can blow up pretty badly due to problems in libc 4835 # (any single argument exceeding 2000 bytes causes a buffer overrun 4836 # during glob expansion). Even if it were fixed, the result of this 4837 # check would be larger than it should be. 4838 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4839 ;; 4840 4841 gnu*) 4842 # Under GNU Hurd, this test is not required because there is 4843 # no limit to the length of command line arguments. 4844 # Libtool will interpret -1 as no limit whatsoever 4845 lt_cv_sys_max_cmd_len=-1; 4846 ;; 4847 4848 cygwin* | mingw* | cegcc*) 4849 # On Win9x/ME, this test blows up -- it succeeds, but takes 4850 # about 5 minutes as the teststring grows exponentially. 4851 # Worse, since 9x/ME are not pre-emptively multitasking, 4852 # you end up with a "frozen" computer, even though with patience 4853 # the test eventually succeeds (with a max line length of 256k). 4854 # Instead, let's just punt: use the minimum linelength reported by 4855 # all of the supported platforms: 8192 (on NT/2K/XP). 4856 lt_cv_sys_max_cmd_len=8192; 4857 ;; 4858 4859 mint*) 4860 # On MiNT this can take a long time and run out of memory. 4861 lt_cv_sys_max_cmd_len=8192; 4862 ;; 4863 4864 amigaos*) 4865 # On AmigaOS with pdksh, this test takes hours, literally. 4866 # So we just punt and use a minimum line length of 8192. 4867 lt_cv_sys_max_cmd_len=8192; 4868 ;; 4869 4870 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4871 # This has been around since 386BSD, at least. Likely further. 4872 if test -x /sbin/sysctl; then 4873 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4874 elif test -x /usr/sbin/sysctl; then 4875 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4876 else 4877 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4878 fi 4879 # And add a safety zone 4880 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4881 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4882 ;; 4883 4884 interix*) 4885 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4886 lt_cv_sys_max_cmd_len=196608 4887 ;; 4888 4889 os2*) 4890 # The test takes a long time on OS/2. 4891 lt_cv_sys_max_cmd_len=8192 4892 ;; 4893 4894 osf*) 4895 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4896 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4897 # nice to cause kernel panics so lets avoid the loop below. 4898 # First set a reasonable default. 4899 lt_cv_sys_max_cmd_len=16384 4900 # 4901 if test -x /sbin/sysconfig; then 4902 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4903 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4904 esac 4905 fi 4906 ;; 4907 sco3.2v5*) 4908 lt_cv_sys_max_cmd_len=102400 4909 ;; 4910 sysv5* | sco5v6* | sysv4.2uw2*) 4911 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4912 if test -n "$kargmax"; then 4913 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4914 else 4915 lt_cv_sys_max_cmd_len=32768 4916 fi 4917 ;; 4918 *) 4919 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4920 if test -n "$lt_cv_sys_max_cmd_len" && \ 4921 test undefined != "$lt_cv_sys_max_cmd_len"; then 4922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4924 else 4925 # Make teststring a little bigger before we do anything with it. 4926 # a 1K string should be a reasonable start. 4927 for i in 1 2 3 4 5 6 7 8; do 4928 teststring=$teststring$teststring 4929 done 4930 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4931 # If test is not a shell built-in, we'll probably end up computing a 4932 # maximum length that is only half of the actual maximum length, but 4933 # we can't tell. 4934 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4935 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4936 test 17 != "$i" # 1/2 MB should be enough 4937 do 4938 i=`expr $i + 1` 4939 teststring=$teststring$teststring 4940 done 4941 # Only check the string length outside the loop. 4942 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4943 teststring= 4944 # Add a significant safety factor because C++ compilers can tack on 4945 # massive amounts of additional arguments before passing them to the 4946 # linker. It appears as though 1/2 is a usable value. 4947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4948 fi 4949 ;; 4950 esac 4951 4952fi 4953 4954if test -n "$lt_cv_sys_max_cmd_len"; then 4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4956$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4957else 4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4959$as_echo "none" >&6; } 4960fi 4961max_cmd_len=$lt_cv_sys_max_cmd_len 4962 4963 4964 4965 4966 4967 4968: ${CP="cp -f"} 4969: ${MV="mv -f"} 4970: ${RM="rm -f"} 4971 4972if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4973 lt_unset=unset 4974else 4975 lt_unset=false 4976fi 4977 4978 4979 4980 4981 4982# test EBCDIC or ASCII 4983case `echo X|tr X '\101'` in 4984 A) # ASCII based system 4985 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4986 lt_SP2NL='tr \040 \012' 4987 lt_NL2SP='tr \015\012 \040\040' 4988 ;; 4989 *) # EBCDIC based system 4990 lt_SP2NL='tr \100 \n' 4991 lt_NL2SP='tr \r\n \100\100' 4992 ;; 4993esac 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5004$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5005if ${lt_cv_to_host_file_cmd+:} false; then : 5006 $as_echo_n "(cached) " >&6 5007else 5008 case $host in 5009 *-*-mingw* ) 5010 case $build in 5011 *-*-mingw* ) # actually msys 5012 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5013 ;; 5014 *-*-cygwin* ) 5015 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5016 ;; 5017 * ) # otherwise, assume *nix 5018 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5019 ;; 5020 esac 5021 ;; 5022 *-*-cygwin* ) 5023 case $build in 5024 *-*-mingw* ) # actually msys 5025 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5026 ;; 5027 *-*-cygwin* ) 5028 lt_cv_to_host_file_cmd=func_convert_file_noop 5029 ;; 5030 * ) # otherwise, assume *nix 5031 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5032 ;; 5033 esac 5034 ;; 5035 * ) # unhandled hosts (and "normal" native builds) 5036 lt_cv_to_host_file_cmd=func_convert_file_noop 5037 ;; 5038esac 5039 5040fi 5041 5042to_host_file_cmd=$lt_cv_to_host_file_cmd 5043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5044$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5045 5046 5047 5048 5049 5050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5051$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5052if ${lt_cv_to_tool_file_cmd+:} false; then : 5053 $as_echo_n "(cached) " >&6 5054else 5055 #assume ordinary cross tools, or native build. 5056lt_cv_to_tool_file_cmd=func_convert_file_noop 5057case $host in 5058 *-*-mingw* ) 5059 case $build in 5060 *-*-mingw* ) # actually msys 5061 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5062 ;; 5063 esac 5064 ;; 5065esac 5066 5067fi 5068 5069to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5071$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5072 5073 5074 5075 5076 5077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5078$as_echo_n "checking for $LD option to reload object files... " >&6; } 5079if ${lt_cv_ld_reload_flag+:} false; then : 5080 $as_echo_n "(cached) " >&6 5081else 5082 lt_cv_ld_reload_flag='-r' 5083fi 5084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5085$as_echo "$lt_cv_ld_reload_flag" >&6; } 5086reload_flag=$lt_cv_ld_reload_flag 5087case $reload_flag in 5088"" | " "*) ;; 5089*) reload_flag=" $reload_flag" ;; 5090esac 5091reload_cmds='$LD$reload_flag -o $output$reload_objs' 5092case $host_os in 5093 cygwin* | mingw* | pw32* | cegcc*) 5094 if test yes != "$GCC"; then 5095 reload_cmds=false 5096 fi 5097 ;; 5098 darwin*) 5099 if test yes = "$GCC"; then 5100 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5101 else 5102 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5103 fi 5104 ;; 5105esac 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115if test -n "$ac_tool_prefix"; then 5116 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5117set dummy ${ac_tool_prefix}objdump; ac_word=$2 5118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5119$as_echo_n "checking for $ac_word... " >&6; } 5120if ${ac_cv_prog_OBJDUMP+:} false; then : 5121 $as_echo_n "(cached) " >&6 5122else 5123 if test -n "$OBJDUMP"; then 5124 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5125else 5126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5127for as_dir in $PATH 5128do 5129 IFS=$as_save_IFS 5130 test -z "$as_dir" && as_dir=. 5131 for ac_exec_ext in '' $ac_executable_extensions; do 5132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5133 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5135 break 2 5136 fi 5137done 5138 done 5139IFS=$as_save_IFS 5140 5141fi 5142fi 5143OBJDUMP=$ac_cv_prog_OBJDUMP 5144if test -n "$OBJDUMP"; then 5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5146$as_echo "$OBJDUMP" >&6; } 5147else 5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5149$as_echo "no" >&6; } 5150fi 5151 5152 5153fi 5154if test -z "$ac_cv_prog_OBJDUMP"; then 5155 ac_ct_OBJDUMP=$OBJDUMP 5156 # Extract the first word of "objdump", so it can be a program name with args. 5157set dummy objdump; ac_word=$2 5158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5159$as_echo_n "checking for $ac_word... " >&6; } 5160if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5161 $as_echo_n "(cached) " >&6 5162else 5163 if test -n "$ac_ct_OBJDUMP"; then 5164 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5165else 5166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5167for as_dir in $PATH 5168do 5169 IFS=$as_save_IFS 5170 test -z "$as_dir" && as_dir=. 5171 for ac_exec_ext in '' $ac_executable_extensions; do 5172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5173 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5175 break 2 5176 fi 5177done 5178 done 5179IFS=$as_save_IFS 5180 5181fi 5182fi 5183ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5184if test -n "$ac_ct_OBJDUMP"; then 5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5186$as_echo "$ac_ct_OBJDUMP" >&6; } 5187else 5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5189$as_echo "no" >&6; } 5190fi 5191 5192 if test "x$ac_ct_OBJDUMP" = x; then 5193 OBJDUMP="false" 5194 else 5195 case $cross_compiling:$ac_tool_warned in 5196yes:) 5197{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5198$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5199ac_tool_warned=yes ;; 5200esac 5201 OBJDUMP=$ac_ct_OBJDUMP 5202 fi 5203else 5204 OBJDUMP="$ac_cv_prog_OBJDUMP" 5205fi 5206 5207test -z "$OBJDUMP" && OBJDUMP=objdump 5208 5209 5210 5211 5212 5213 5214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5215$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5216if ${lt_cv_deplibs_check_method+:} false; then : 5217 $as_echo_n "(cached) " >&6 5218else 5219 lt_cv_file_magic_cmd='$MAGIC_CMD' 5220lt_cv_file_magic_test_file= 5221lt_cv_deplibs_check_method='unknown' 5222# Need to set the preceding variable on all platforms that support 5223# interlibrary dependencies. 5224# 'none' -- dependencies not supported. 5225# 'unknown' -- same as none, but documents that we really don't know. 5226# 'pass_all' -- all dependencies passed with no checks. 5227# 'test_compile' -- check by making test program. 5228# 'file_magic [[regex]]' -- check by looking for files in library path 5229# that responds to the $file_magic_cmd with a given extended regex. 5230# If you have 'file' or equivalent on your system and you're not sure 5231# whether 'pass_all' will *always* work, you probably want this one. 5232 5233case $host_os in 5234aix[4-9]*) 5235 lt_cv_deplibs_check_method=pass_all 5236 ;; 5237 5238beos*) 5239 lt_cv_deplibs_check_method=pass_all 5240 ;; 5241 5242bsdi[45]*) 5243 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5244 lt_cv_file_magic_cmd='/usr/bin/file -L' 5245 lt_cv_file_magic_test_file=/shlib/libc.so 5246 ;; 5247 5248cygwin*) 5249 # func_win32_libid is a shell function defined in ltmain.sh 5250 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5251 lt_cv_file_magic_cmd='func_win32_libid' 5252 ;; 5253 5254mingw* | pw32*) 5255 # Base MSYS/MinGW do not provide the 'file' command needed by 5256 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5257 # unless we find 'file', for example because we are cross-compiling. 5258 if ( file / ) >/dev/null 2>&1; then 5259 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5260 lt_cv_file_magic_cmd='func_win32_libid' 5261 else 5262 # Keep this pattern in sync with the one in func_win32_libid. 5263 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5264 lt_cv_file_magic_cmd='$OBJDUMP -f' 5265 fi 5266 ;; 5267 5268cegcc*) 5269 # use the weaker test based on 'objdump'. See mingw*. 5270 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5271 lt_cv_file_magic_cmd='$OBJDUMP -f' 5272 ;; 5273 5274darwin* | rhapsody*) 5275 lt_cv_deplibs_check_method=pass_all 5276 ;; 5277 5278freebsd* | dragonfly*) 5279 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5280 case $host_cpu in 5281 i*86 ) 5282 # Not sure whether the presence of OpenBSD here was a mistake. 5283 # Let's accept both of them until this is cleared up. 5284 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5285 lt_cv_file_magic_cmd=/usr/bin/file 5286 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5287 ;; 5288 esac 5289 else 5290 lt_cv_deplibs_check_method=pass_all 5291 fi 5292 ;; 5293 5294haiku*) 5295 lt_cv_deplibs_check_method=pass_all 5296 ;; 5297 5298hpux10.20* | hpux11*) 5299 lt_cv_file_magic_cmd=/usr/bin/file 5300 case $host_cpu in 5301 ia64*) 5302 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5303 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5304 ;; 5305 hppa*64*) 5306 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]' 5307 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5308 ;; 5309 *) 5310 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5311 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5312 ;; 5313 esac 5314 ;; 5315 5316interix[3-9]*) 5317 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5318 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5319 ;; 5320 5321irix5* | irix6* | nonstopux*) 5322 case $LD in 5323 *-32|*"-32 ") libmagic=32-bit;; 5324 *-n32|*"-n32 ") libmagic=N32;; 5325 *-64|*"-64 ") libmagic=64-bit;; 5326 *) libmagic=never-match;; 5327 esac 5328 lt_cv_deplibs_check_method=pass_all 5329 ;; 5330 5331# This must be glibc/ELF. 5332linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5333 lt_cv_deplibs_check_method=pass_all 5334 ;; 5335 5336netbsd*) 5337 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5338 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5339 else 5340 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5341 fi 5342 ;; 5343 5344newos6*) 5345 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5346 lt_cv_file_magic_cmd=/usr/bin/file 5347 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5348 ;; 5349 5350*nto* | *qnx*) 5351 lt_cv_deplibs_check_method=pass_all 5352 ;; 5353 5354openbsd* | bitrig*) 5355 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5357 else 5358 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5359 fi 5360 ;; 5361 5362osf3* | osf4* | osf5*) 5363 lt_cv_deplibs_check_method=pass_all 5364 ;; 5365 5366rdos*) 5367 lt_cv_deplibs_check_method=pass_all 5368 ;; 5369 5370solaris*) 5371 lt_cv_deplibs_check_method=pass_all 5372 ;; 5373 5374sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5375 lt_cv_deplibs_check_method=pass_all 5376 ;; 5377 5378sysv4 | sysv4.3*) 5379 case $host_vendor in 5380 motorola) 5381 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]' 5382 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5383 ;; 5384 ncr) 5385 lt_cv_deplibs_check_method=pass_all 5386 ;; 5387 sequent) 5388 lt_cv_file_magic_cmd='/bin/file' 5389 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5390 ;; 5391 sni) 5392 lt_cv_file_magic_cmd='/bin/file' 5393 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5394 lt_cv_file_magic_test_file=/lib/libc.so 5395 ;; 5396 siemens) 5397 lt_cv_deplibs_check_method=pass_all 5398 ;; 5399 pc) 5400 lt_cv_deplibs_check_method=pass_all 5401 ;; 5402 esac 5403 ;; 5404 5405tpf*) 5406 lt_cv_deplibs_check_method=pass_all 5407 ;; 5408os2*) 5409 lt_cv_deplibs_check_method=pass_all 5410 ;; 5411esac 5412 5413fi 5414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5415$as_echo "$lt_cv_deplibs_check_method" >&6; } 5416 5417file_magic_glob= 5418want_nocaseglob=no 5419if test "$build" = "$host"; then 5420 case $host_os in 5421 mingw* | pw32*) 5422 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5423 want_nocaseglob=yes 5424 else 5425 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5426 fi 5427 ;; 5428 esac 5429fi 5430 5431file_magic_cmd=$lt_cv_file_magic_cmd 5432deplibs_check_method=$lt_cv_deplibs_check_method 5433test -z "$deplibs_check_method" && deplibs_check_method=unknown 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456if test -n "$ac_tool_prefix"; then 5457 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5458set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5460$as_echo_n "checking for $ac_word... " >&6; } 5461if ${ac_cv_prog_DLLTOOL+:} false; then : 5462 $as_echo_n "(cached) " >&6 5463else 5464 if test -n "$DLLTOOL"; then 5465 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5466else 5467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5468for as_dir in $PATH 5469do 5470 IFS=$as_save_IFS 5471 test -z "$as_dir" && as_dir=. 5472 for ac_exec_ext in '' $ac_executable_extensions; do 5473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5474 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5476 break 2 5477 fi 5478done 5479 done 5480IFS=$as_save_IFS 5481 5482fi 5483fi 5484DLLTOOL=$ac_cv_prog_DLLTOOL 5485if test -n "$DLLTOOL"; then 5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5487$as_echo "$DLLTOOL" >&6; } 5488else 5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5490$as_echo "no" >&6; } 5491fi 5492 5493 5494fi 5495if test -z "$ac_cv_prog_DLLTOOL"; then 5496 ac_ct_DLLTOOL=$DLLTOOL 5497 # Extract the first word of "dlltool", so it can be a program name with args. 5498set dummy dlltool; ac_word=$2 5499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5500$as_echo_n "checking for $ac_word... " >&6; } 5501if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5502 $as_echo_n "(cached) " >&6 5503else 5504 if test -n "$ac_ct_DLLTOOL"; then 5505 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5506else 5507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5508for as_dir in $PATH 5509do 5510 IFS=$as_save_IFS 5511 test -z "$as_dir" && as_dir=. 5512 for ac_exec_ext in '' $ac_executable_extensions; do 5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5514 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5516 break 2 5517 fi 5518done 5519 done 5520IFS=$as_save_IFS 5521 5522fi 5523fi 5524ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5525if test -n "$ac_ct_DLLTOOL"; then 5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5527$as_echo "$ac_ct_DLLTOOL" >&6; } 5528else 5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5530$as_echo "no" >&6; } 5531fi 5532 5533 if test "x$ac_ct_DLLTOOL" = x; then 5534 DLLTOOL="false" 5535 else 5536 case $cross_compiling:$ac_tool_warned in 5537yes:) 5538{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5539$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5540ac_tool_warned=yes ;; 5541esac 5542 DLLTOOL=$ac_ct_DLLTOOL 5543 fi 5544else 5545 DLLTOOL="$ac_cv_prog_DLLTOOL" 5546fi 5547 5548test -z "$DLLTOOL" && DLLTOOL=dlltool 5549 5550 5551 5552 5553 5554 5555 5556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5557$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5558if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5559 $as_echo_n "(cached) " >&6 5560else 5561 lt_cv_sharedlib_from_linklib_cmd='unknown' 5562 5563case $host_os in 5564cygwin* | mingw* | pw32* | cegcc*) 5565 # two different shell functions defined in ltmain.sh; 5566 # decide which one to use based on capabilities of $DLLTOOL 5567 case `$DLLTOOL --help 2>&1` in 5568 *--identify-strict*) 5569 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5570 ;; 5571 *) 5572 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5573 ;; 5574 esac 5575 ;; 5576*) 5577 # fallback: assume linklib IS sharedlib 5578 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5579 ;; 5580esac 5581 5582fi 5583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5584$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5585sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5586test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5587 5588 5589 5590 5591 5592 5593 5594if test -n "$ac_tool_prefix"; then 5595 for ac_prog in ar 5596 do 5597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5598set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5600$as_echo_n "checking for $ac_word... " >&6; } 5601if ${ac_cv_prog_AR+:} false; then : 5602 $as_echo_n "(cached) " >&6 5603else 5604 if test -n "$AR"; then 5605 ac_cv_prog_AR="$AR" # Let the user override the test. 5606else 5607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5608for as_dir in $PATH 5609do 5610 IFS=$as_save_IFS 5611 test -z "$as_dir" && as_dir=. 5612 for ac_exec_ext in '' $ac_executable_extensions; do 5613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5614 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5616 break 2 5617 fi 5618done 5619 done 5620IFS=$as_save_IFS 5621 5622fi 5623fi 5624AR=$ac_cv_prog_AR 5625if test -n "$AR"; then 5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5627$as_echo "$AR" >&6; } 5628else 5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5630$as_echo "no" >&6; } 5631fi 5632 5633 5634 test -n "$AR" && break 5635 done 5636fi 5637if test -z "$AR"; then 5638 ac_ct_AR=$AR 5639 for ac_prog in ar 5640do 5641 # Extract the first word of "$ac_prog", so it can be a program name with args. 5642set dummy $ac_prog; ac_word=$2 5643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5644$as_echo_n "checking for $ac_word... " >&6; } 5645if ${ac_cv_prog_ac_ct_AR+:} false; then : 5646 $as_echo_n "(cached) " >&6 5647else 5648 if test -n "$ac_ct_AR"; then 5649 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5650else 5651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5652for as_dir in $PATH 5653do 5654 IFS=$as_save_IFS 5655 test -z "$as_dir" && as_dir=. 5656 for ac_exec_ext in '' $ac_executable_extensions; do 5657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5658 ac_cv_prog_ac_ct_AR="$ac_prog" 5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5660 break 2 5661 fi 5662done 5663 done 5664IFS=$as_save_IFS 5665 5666fi 5667fi 5668ac_ct_AR=$ac_cv_prog_ac_ct_AR 5669if test -n "$ac_ct_AR"; then 5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5671$as_echo "$ac_ct_AR" >&6; } 5672else 5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5674$as_echo "no" >&6; } 5675fi 5676 5677 5678 test -n "$ac_ct_AR" && break 5679done 5680 5681 if test "x$ac_ct_AR" = x; then 5682 AR="false" 5683 else 5684 case $cross_compiling:$ac_tool_warned in 5685yes:) 5686{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5687$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5688ac_tool_warned=yes ;; 5689esac 5690 AR=$ac_ct_AR 5691 fi 5692fi 5693 5694: ${AR=ar} 5695: ${AR_FLAGS=cru} 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5708$as_echo_n "checking for archiver @FILE support... " >&6; } 5709if ${lt_cv_ar_at_file+:} false; then : 5710 $as_echo_n "(cached) " >&6 5711else 5712 lt_cv_ar_at_file=no 5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5714/* end confdefs.h. */ 5715 5716int 5717main () 5718{ 5719 5720 ; 5721 return 0; 5722} 5723_ACEOF 5724if ac_fn_c_try_compile "$LINENO"; then : 5725 echo conftest.$ac_objext > conftest.lst 5726 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5727 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5728 (eval $lt_ar_try) 2>&5 5729 ac_status=$? 5730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5731 test $ac_status = 0; } 5732 if test 0 -eq "$ac_status"; then 5733 # Ensure the archiver fails upon bogus file names. 5734 rm -f conftest.$ac_objext libconftest.a 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 -ne "$ac_status"; then 5741 lt_cv_ar_at_file=@ 5742 fi 5743 fi 5744 rm -f conftest.* libconftest.a 5745 5746fi 5747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5748 5749fi 5750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5751$as_echo "$lt_cv_ar_at_file" >&6; } 5752 5753if test no = "$lt_cv_ar_at_file"; then 5754 archiver_list_spec= 5755else 5756 archiver_list_spec=$lt_cv_ar_at_file 5757fi 5758 5759 5760 5761 5762 5763 5764 5765if test -n "$ac_tool_prefix"; then 5766 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5767set dummy ${ac_tool_prefix}strip; ac_word=$2 5768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5769$as_echo_n "checking for $ac_word... " >&6; } 5770if ${ac_cv_prog_STRIP+:} false; then : 5771 $as_echo_n "(cached) " >&6 5772else 5773 if test -n "$STRIP"; then 5774 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5775else 5776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5777for as_dir in $PATH 5778do 5779 IFS=$as_save_IFS 5780 test -z "$as_dir" && as_dir=. 5781 for ac_exec_ext in '' $ac_executable_extensions; do 5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5783 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5785 break 2 5786 fi 5787done 5788 done 5789IFS=$as_save_IFS 5790 5791fi 5792fi 5793STRIP=$ac_cv_prog_STRIP 5794if test -n "$STRIP"; then 5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5796$as_echo "$STRIP" >&6; } 5797else 5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5799$as_echo "no" >&6; } 5800fi 5801 5802 5803fi 5804if test -z "$ac_cv_prog_STRIP"; then 5805 ac_ct_STRIP=$STRIP 5806 # Extract the first word of "strip", so it can be a program name with args. 5807set dummy strip; ac_word=$2 5808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5809$as_echo_n "checking for $ac_word... " >&6; } 5810if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5811 $as_echo_n "(cached) " >&6 5812else 5813 if test -n "$ac_ct_STRIP"; then 5814 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5815else 5816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5817for as_dir in $PATH 5818do 5819 IFS=$as_save_IFS 5820 test -z "$as_dir" && as_dir=. 5821 for ac_exec_ext in '' $ac_executable_extensions; do 5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5823 ac_cv_prog_ac_ct_STRIP="strip" 5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5825 break 2 5826 fi 5827done 5828 done 5829IFS=$as_save_IFS 5830 5831fi 5832fi 5833ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5834if test -n "$ac_ct_STRIP"; then 5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5836$as_echo "$ac_ct_STRIP" >&6; } 5837else 5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5839$as_echo "no" >&6; } 5840fi 5841 5842 if test "x$ac_ct_STRIP" = x; then 5843 STRIP=":" 5844 else 5845 case $cross_compiling:$ac_tool_warned in 5846yes:) 5847{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5848$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5849ac_tool_warned=yes ;; 5850esac 5851 STRIP=$ac_ct_STRIP 5852 fi 5853else 5854 STRIP="$ac_cv_prog_STRIP" 5855fi 5856 5857test -z "$STRIP" && STRIP=: 5858 5859 5860 5861 5862 5863 5864if test -n "$ac_tool_prefix"; then 5865 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5866set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5868$as_echo_n "checking for $ac_word... " >&6; } 5869if ${ac_cv_prog_RANLIB+:} false; then : 5870 $as_echo_n "(cached) " >&6 5871else 5872 if test -n "$RANLIB"; then 5873 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5874else 5875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5876for as_dir in $PATH 5877do 5878 IFS=$as_save_IFS 5879 test -z "$as_dir" && as_dir=. 5880 for ac_exec_ext in '' $ac_executable_extensions; do 5881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5882 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5884 break 2 5885 fi 5886done 5887 done 5888IFS=$as_save_IFS 5889 5890fi 5891fi 5892RANLIB=$ac_cv_prog_RANLIB 5893if test -n "$RANLIB"; then 5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5895$as_echo "$RANLIB" >&6; } 5896else 5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5898$as_echo "no" >&6; } 5899fi 5900 5901 5902fi 5903if test -z "$ac_cv_prog_RANLIB"; then 5904 ac_ct_RANLIB=$RANLIB 5905 # Extract the first word of "ranlib", so it can be a program name with args. 5906set dummy ranlib; ac_word=$2 5907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5908$as_echo_n "checking for $ac_word... " >&6; } 5909if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5910 $as_echo_n "(cached) " >&6 5911else 5912 if test -n "$ac_ct_RANLIB"; then 5913 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5914else 5915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5916for as_dir in $PATH 5917do 5918 IFS=$as_save_IFS 5919 test -z "$as_dir" && as_dir=. 5920 for ac_exec_ext in '' $ac_executable_extensions; do 5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5922 ac_cv_prog_ac_ct_RANLIB="ranlib" 5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5924 break 2 5925 fi 5926done 5927 done 5928IFS=$as_save_IFS 5929 5930fi 5931fi 5932ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5933if test -n "$ac_ct_RANLIB"; then 5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5935$as_echo "$ac_ct_RANLIB" >&6; } 5936else 5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5938$as_echo "no" >&6; } 5939fi 5940 5941 if test "x$ac_ct_RANLIB" = x; then 5942 RANLIB=":" 5943 else 5944 case $cross_compiling:$ac_tool_warned in 5945yes:) 5946{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5947$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5948ac_tool_warned=yes ;; 5949esac 5950 RANLIB=$ac_ct_RANLIB 5951 fi 5952else 5953 RANLIB="$ac_cv_prog_RANLIB" 5954fi 5955 5956test -z "$RANLIB" && RANLIB=: 5957 5958 5959 5960 5961 5962 5963# Determine commands to create old-style static archives. 5964old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5965old_postinstall_cmds='chmod 644 $oldlib' 5966old_postuninstall_cmds= 5967 5968if test -n "$RANLIB"; then 5969 case $host_os in 5970 bitrig* | openbsd*) 5971 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5972 ;; 5973 *) 5974 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5975 ;; 5976 esac 5977 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5978fi 5979 5980case $host_os in 5981 darwin*) 5982 lock_old_archive_extraction=yes ;; 5983 *) 5984 lock_old_archive_extraction=no ;; 5985esac 5986 5987 5988 5989 5990 5991 5992 5993 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# If no C compiler was specified, use CC. 6026LTCC=${LTCC-"$CC"} 6027 6028# If no C compiler flags were specified, use CFLAGS. 6029LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6030 6031# Allow CC to be a program name with arguments. 6032compiler=$CC 6033 6034 6035# Check for command to grab the raw symbol name followed by C symbol from nm. 6036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6037$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6038if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6039 $as_echo_n "(cached) " >&6 6040else 6041 6042# These are sane defaults that work on at least a few old systems. 6043# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6044 6045# Character class describing NM global symbol codes. 6046symcode='[BCDEGRST]' 6047 6048# Regexp to match symbols that can be accessed directly from C. 6049sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6050 6051# Define system-specific variables. 6052case $host_os in 6053aix*) 6054 symcode='[BCDT]' 6055 ;; 6056cygwin* | mingw* | pw32* | cegcc*) 6057 symcode='[ABCDGISTW]' 6058 ;; 6059hpux*) 6060 if test ia64 = "$host_cpu"; then 6061 symcode='[ABCDEGRST]' 6062 fi 6063 ;; 6064irix* | nonstopux*) 6065 symcode='[BCDEGRST]' 6066 ;; 6067osf*) 6068 symcode='[BCDEGQRST]' 6069 ;; 6070solaris*) 6071 symcode='[BDRT]' 6072 ;; 6073sco3.2v5*) 6074 symcode='[DT]' 6075 ;; 6076sysv4.2uw2*) 6077 symcode='[DT]' 6078 ;; 6079sysv5* | sco5v6* | unixware* | OpenUNIX*) 6080 symcode='[ABDT]' 6081 ;; 6082sysv4) 6083 symcode='[DFNSTU]' 6084 ;; 6085esac 6086 6087# If we're using GNU nm, then use its standard symbol codes. 6088case `$NM -V 2>&1` in 6089*GNU* | *'with BFD'*) 6090 symcode='[ABCDGIRSTW]' ;; 6091esac 6092 6093if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6094 # Gets list of data symbols to import. 6095 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6096 # Adjust the below global symbol transforms to fixup imported variables. 6097 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6098 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6099 lt_c_name_lib_hook="\ 6100 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6101 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6102else 6103 # Disable hooks by default. 6104 lt_cv_sys_global_symbol_to_import= 6105 lt_cdecl_hook= 6106 lt_c_name_hook= 6107 lt_c_name_lib_hook= 6108fi 6109 6110# Transform an extracted symbol line into a proper C declaration. 6111# Some systems (esp. on ia64) link data and code symbols differently, 6112# so use this general approach. 6113lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6114$lt_cdecl_hook\ 6115" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6116" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6117 6118# Transform an extracted symbol line into symbol name and symbol address 6119lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6120$lt_c_name_hook\ 6121" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6122" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6123 6124# Transform an extracted symbol line into symbol name with lib prefix and 6125# symbol address. 6126lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6127$lt_c_name_lib_hook\ 6128" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6129" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6130" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6131 6132# Handle CRLF in mingw tool chain 6133opt_cr= 6134case $build_os in 6135mingw*) 6136 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6137 ;; 6138esac 6139 6140# Try without a prefix underscore, then with it. 6141for ac_symprfx in "" "_"; do 6142 6143 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6144 symxfrm="\\1 $ac_symprfx\\2 \\2" 6145 6146 # Write the raw and C identifiers. 6147 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6148 # Fake it for dumpbin and say T for any non-static function, 6149 # D for any global variable and I for any imported variable. 6150 # Also find C++ and __fastcall symbols from MSVC++, 6151 # which start with @ or ?. 6152 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6153" {last_section=section; section=\$ 3};"\ 6154" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6155" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6156" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6157" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6158" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6159" \$ 0!~/External *\|/{next};"\ 6160" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6161" {if(hide[section]) next};"\ 6162" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6163" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6164" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6165" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6166" ' prfx=^$ac_symprfx" 6167 else 6168 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6169 fi 6170 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6171 6172 # Check to see that the pipe works correctly. 6173 pipe_works=no 6174 6175 rm -f conftest* 6176 cat > conftest.$ac_ext <<_LT_EOF 6177#ifdef __cplusplus 6178extern "C" { 6179#endif 6180char nm_test_var; 6181void nm_test_func(void); 6182void nm_test_func(void){} 6183#ifdef __cplusplus 6184} 6185#endif 6186int main(){nm_test_var='a';nm_test_func();return(0);} 6187_LT_EOF 6188 6189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6190 (eval $ac_compile) 2>&5 6191 ac_status=$? 6192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6193 test $ac_status = 0; }; then 6194 # Now try to grab the symbols. 6195 nlist=conftest.nm 6196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6197 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6198 ac_status=$? 6199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6200 test $ac_status = 0; } && test -s "$nlist"; then 6201 # Try sorting and uniquifying the output. 6202 if sort "$nlist" | uniq > "$nlist"T; then 6203 mv -f "$nlist"T "$nlist" 6204 else 6205 rm -f "$nlist"T 6206 fi 6207 6208 # Make sure that we snagged all the symbols we need. 6209 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6210 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6211 cat <<_LT_EOF > conftest.$ac_ext 6212/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6213#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6214/* DATA imports from DLLs on WIN32 can't be const, because runtime 6215 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6216# define LT_DLSYM_CONST 6217#elif defined __osf__ 6218/* This system does not cope well with relocations in const data. */ 6219# define LT_DLSYM_CONST 6220#else 6221# define LT_DLSYM_CONST const 6222#endif 6223 6224#ifdef __cplusplus 6225extern "C" { 6226#endif 6227 6228_LT_EOF 6229 # Now generate the symbol file. 6230 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6231 6232 cat <<_LT_EOF >> conftest.$ac_ext 6233 6234/* The mapping between symbol names and symbols. */ 6235LT_DLSYM_CONST struct { 6236 const char *name; 6237 void *address; 6238} 6239lt__PROGRAM__LTX_preloaded_symbols[] = 6240{ 6241 { "@PROGRAM@", (void *) 0 }, 6242_LT_EOF 6243 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6244 cat <<\_LT_EOF >> conftest.$ac_ext 6245 {0, (void *) 0} 6246}; 6247 6248/* This works around a problem in FreeBSD linker */ 6249#ifdef FREEBSD_WORKAROUND 6250static const void *lt_preloaded_setup() { 6251 return lt__PROGRAM__LTX_preloaded_symbols; 6252} 6253#endif 6254 6255#ifdef __cplusplus 6256} 6257#endif 6258_LT_EOF 6259 # Now try linking the two files. 6260 mv conftest.$ac_objext conftstm.$ac_objext 6261 lt_globsym_save_LIBS=$LIBS 6262 lt_globsym_save_CFLAGS=$CFLAGS 6263 LIBS=conftstm.$ac_objext 6264 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6266 (eval $ac_link) 2>&5 6267 ac_status=$? 6268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6269 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6270 pipe_works=yes 6271 fi 6272 LIBS=$lt_globsym_save_LIBS 6273 CFLAGS=$lt_globsym_save_CFLAGS 6274 else 6275 echo "cannot find nm_test_func in $nlist" >&5 6276 fi 6277 else 6278 echo "cannot find nm_test_var in $nlist" >&5 6279 fi 6280 else 6281 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6282 fi 6283 else 6284 echo "$progname: failed program was:" >&5 6285 cat conftest.$ac_ext >&5 6286 fi 6287 rm -rf conftest* conftst* 6288 6289 # Do not use the global_symbol_pipe unless it works. 6290 if test yes = "$pipe_works"; then 6291 break 6292 else 6293 lt_cv_sys_global_symbol_pipe= 6294 fi 6295done 6296 6297fi 6298 6299if test -z "$lt_cv_sys_global_symbol_pipe"; then 6300 lt_cv_sys_global_symbol_to_cdecl= 6301fi 6302if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6304$as_echo "failed" >&6; } 6305else 6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6307$as_echo "ok" >&6; } 6308fi 6309 6310# Response file support. 6311if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6312 nm_file_list_spec='@' 6313elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6314 nm_file_list_spec='@' 6315fi 6316 6317 6318 6319 6320 6321 6322 6323 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{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6354$as_echo_n "checking for sysroot... " >&6; } 6355 6356# Check whether --with-sysroot was given. 6357if test "${with_sysroot+set}" = set; then : 6358 withval=$with_sysroot; 6359else 6360 with_sysroot=no 6361fi 6362 6363 6364lt_sysroot= 6365case $with_sysroot in #( 6366 yes) 6367 if test yes = "$GCC"; then 6368 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6369 fi 6370 ;; #( 6371 /*) 6372 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6373 ;; #( 6374 no|'') 6375 ;; #( 6376 *) 6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6378$as_echo "$with_sysroot" >&6; } 6379 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6380 ;; 6381esac 6382 6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6384$as_echo "${lt_sysroot:-no}" >&6; } 6385 6386 6387 6388 6389 6390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6391$as_echo_n "checking for a working dd... " >&6; } 6392if ${ac_cv_path_lt_DD+:} false; then : 6393 $as_echo_n "(cached) " >&6 6394else 6395 printf 0123456789abcdef0123456789abcdef >conftest.i 6396cat conftest.i conftest.i >conftest2.i 6397: ${lt_DD:=$DD} 6398if test -z "$lt_DD"; then 6399 ac_path_lt_DD_found=false 6400 # Loop through the user's path and test for each of PROGNAME-LIST 6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6402for as_dir in $PATH 6403do 6404 IFS=$as_save_IFS 6405 test -z "$as_dir" && as_dir=. 6406 for ac_prog in dd; do 6407 for ac_exec_ext in '' $ac_executable_extensions; do 6408 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6409 as_fn_executable_p "$ac_path_lt_DD" || continue 6410if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6411 cmp -s conftest.i conftest.out \ 6412 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6413fi 6414 $ac_path_lt_DD_found && break 3 6415 done 6416 done 6417 done 6418IFS=$as_save_IFS 6419 if test -z "$ac_cv_path_lt_DD"; then 6420 : 6421 fi 6422else 6423 ac_cv_path_lt_DD=$lt_DD 6424fi 6425 6426rm -f conftest.i conftest2.i conftest.out 6427fi 6428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6429$as_echo "$ac_cv_path_lt_DD" >&6; } 6430 6431 6432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6433$as_echo_n "checking how to truncate binary pipes... " >&6; } 6434if ${lt_cv_truncate_bin+:} false; then : 6435 $as_echo_n "(cached) " >&6 6436else 6437 printf 0123456789abcdef0123456789abcdef >conftest.i 6438cat conftest.i conftest.i >conftest2.i 6439lt_cv_truncate_bin= 6440if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6441 cmp -s conftest.i conftest.out \ 6442 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6443fi 6444rm -f conftest.i conftest2.i conftest.out 6445test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6446fi 6447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6448$as_echo "$lt_cv_truncate_bin" >&6; } 6449 6450 6451 6452 6453 6454 6455 6456# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6457func_cc_basename () 6458{ 6459 for cc_temp in $*""; do 6460 case $cc_temp in 6461 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6462 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6463 \-*) ;; 6464 *) break;; 6465 esac 6466 done 6467 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6468} 6469 6470# Check whether --enable-libtool-lock was given. 6471if test "${enable_libtool_lock+set}" = set; then : 6472 enableval=$enable_libtool_lock; 6473fi 6474 6475test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6476 6477# Some flags need to be propagated to the compiler or linker for good 6478# libtool support. 6479case $host in 6480ia64-*-hpux*) 6481 # Find out what ABI is being produced by ac_compile, and set mode 6482 # options accordingly. 6483 echo 'int i;' > conftest.$ac_ext 6484 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6485 (eval $ac_compile) 2>&5 6486 ac_status=$? 6487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6488 test $ac_status = 0; }; then 6489 case `/usr/bin/file conftest.$ac_objext` in 6490 *ELF-32*) 6491 HPUX_IA64_MODE=32 6492 ;; 6493 *ELF-64*) 6494 HPUX_IA64_MODE=64 6495 ;; 6496 esac 6497 fi 6498 rm -rf conftest* 6499 ;; 6500*-*-irix6*) 6501 # Find out what ABI is being produced by ac_compile, and set linker 6502 # options accordingly. 6503 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6504 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6505 (eval $ac_compile) 2>&5 6506 ac_status=$? 6507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6508 test $ac_status = 0; }; then 6509 if test yes = "$lt_cv_prog_gnu_ld"; then 6510 case `/usr/bin/file conftest.$ac_objext` in 6511 *32-bit*) 6512 LD="${LD-ld} -melf32bsmip" 6513 ;; 6514 *N32*) 6515 LD="${LD-ld} -melf32bmipn32" 6516 ;; 6517 *64-bit*) 6518 LD="${LD-ld} -melf64bmip" 6519 ;; 6520 esac 6521 else 6522 case `/usr/bin/file conftest.$ac_objext` in 6523 *32-bit*) 6524 LD="${LD-ld} -32" 6525 ;; 6526 *N32*) 6527 LD="${LD-ld} -n32" 6528 ;; 6529 *64-bit*) 6530 LD="${LD-ld} -64" 6531 ;; 6532 esac 6533 fi 6534 fi 6535 rm -rf conftest* 6536 ;; 6537 6538mips64*-*linux*) 6539 # Find out what ABI is being produced by ac_compile, and set linker 6540 # options accordingly. 6541 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6543 (eval $ac_compile) 2>&5 6544 ac_status=$? 6545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6546 test $ac_status = 0; }; then 6547 emul=elf 6548 case `/usr/bin/file conftest.$ac_objext` in 6549 *32-bit*) 6550 emul="${emul}32" 6551 ;; 6552 *64-bit*) 6553 emul="${emul}64" 6554 ;; 6555 esac 6556 case `/usr/bin/file conftest.$ac_objext` in 6557 *MSB*) 6558 emul="${emul}btsmip" 6559 ;; 6560 *LSB*) 6561 emul="${emul}ltsmip" 6562 ;; 6563 esac 6564 case `/usr/bin/file conftest.$ac_objext` in 6565 *N32*) 6566 emul="${emul}n32" 6567 ;; 6568 esac 6569 LD="${LD-ld} -m $emul" 6570 fi 6571 rm -rf conftest* 6572 ;; 6573 6574x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6575s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6576 # Find out what ABI is being produced by ac_compile, and set linker 6577 # options accordingly. Note that the listed cases only cover the 6578 # situations where additional linker options are needed (such as when 6579 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6580 # vice versa); the common cases where no linker options are needed do 6581 # not appear in the list. 6582 echo 'int i;' > conftest.$ac_ext 6583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6584 (eval $ac_compile) 2>&5 6585 ac_status=$? 6586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6587 test $ac_status = 0; }; then 6588 case `/usr/bin/file conftest.o` in 6589 *32-bit*) 6590 case $host in 6591 x86_64-*kfreebsd*-gnu) 6592 LD="${LD-ld} -m elf_i386_fbsd" 6593 ;; 6594 x86_64-*linux*) 6595 case `/usr/bin/file conftest.o` in 6596 *x86-64*) 6597 LD="${LD-ld} -m elf32_x86_64" 6598 ;; 6599 *) 6600 LD="${LD-ld} -m elf_i386" 6601 ;; 6602 esac 6603 ;; 6604 powerpc64le-*linux*) 6605 LD="${LD-ld} -m elf32lppclinux" 6606 ;; 6607 powerpc64-*linux*) 6608 LD="${LD-ld} -m elf32ppclinux" 6609 ;; 6610 s390x-*linux*) 6611 LD="${LD-ld} -m elf_s390" 6612 ;; 6613 sparc64-*linux*) 6614 LD="${LD-ld} -m elf32_sparc" 6615 ;; 6616 esac 6617 ;; 6618 *64-bit*) 6619 case $host in 6620 x86_64-*kfreebsd*-gnu) 6621 LD="${LD-ld} -m elf_x86_64_fbsd" 6622 ;; 6623 x86_64-*linux*) 6624 LD="${LD-ld} -m elf_x86_64" 6625 ;; 6626 powerpcle-*linux*) 6627 LD="${LD-ld} -m elf64lppc" 6628 ;; 6629 powerpc-*linux*) 6630 LD="${LD-ld} -m elf64ppc" 6631 ;; 6632 s390*-*linux*|s390*-*tpf*) 6633 LD="${LD-ld} -m elf64_s390" 6634 ;; 6635 sparc*-*linux*) 6636 LD="${LD-ld} -m elf64_sparc" 6637 ;; 6638 esac 6639 ;; 6640 esac 6641 fi 6642 rm -rf conftest* 6643 ;; 6644 6645*-*-sco3.2v5*) 6646 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6647 SAVE_CFLAGS=$CFLAGS 6648 CFLAGS="$CFLAGS -belf" 6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6650$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6651if ${lt_cv_cc_needs_belf+:} false; then : 6652 $as_echo_n "(cached) " >&6 6653else 6654 ac_ext=c 6655ac_cpp='$CPP $CPPFLAGS' 6656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6658ac_compiler_gnu=$ac_cv_c_compiler_gnu 6659 6660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6661/* end confdefs.h. */ 6662 6663int 6664main () 6665{ 6666 6667 ; 6668 return 0; 6669} 6670_ACEOF 6671if ac_fn_c_try_link "$LINENO"; then : 6672 lt_cv_cc_needs_belf=yes 6673else 6674 lt_cv_cc_needs_belf=no 6675fi 6676rm -f core conftest.err conftest.$ac_objext \ 6677 conftest$ac_exeext conftest.$ac_ext 6678 ac_ext=c 6679ac_cpp='$CPP $CPPFLAGS' 6680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6682ac_compiler_gnu=$ac_cv_c_compiler_gnu 6683 6684fi 6685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6686$as_echo "$lt_cv_cc_needs_belf" >&6; } 6687 if test yes != "$lt_cv_cc_needs_belf"; then 6688 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6689 CFLAGS=$SAVE_CFLAGS 6690 fi 6691 ;; 6692*-*solaris*) 6693 # Find out what ABI is being produced by ac_compile, and set linker 6694 # options accordingly. 6695 echo 'int i;' > conftest.$ac_ext 6696 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6697 (eval $ac_compile) 2>&5 6698 ac_status=$? 6699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6700 test $ac_status = 0; }; then 6701 case `/usr/bin/file conftest.o` in 6702 *64-bit*) 6703 case $lt_cv_prog_gnu_ld in 6704 yes*) 6705 case $host in 6706 i?86-*-solaris*|x86_64-*-solaris*) 6707 LD="${LD-ld} -m elf_x86_64" 6708 ;; 6709 sparc*-*-solaris*) 6710 LD="${LD-ld} -m elf64_sparc" 6711 ;; 6712 esac 6713 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6714 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6715 LD=${LD-ld}_sol2 6716 fi 6717 ;; 6718 *) 6719 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6720 LD="${LD-ld} -64" 6721 fi 6722 ;; 6723 esac 6724 ;; 6725 esac 6726 fi 6727 rm -rf conftest* 6728 ;; 6729esac 6730 6731need_locks=$enable_libtool_lock 6732 6733if test -n "$ac_tool_prefix"; then 6734 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6735set dummy ${ac_tool_prefix}mt; ac_word=$2 6736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6737$as_echo_n "checking for $ac_word... " >&6; } 6738if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6739 $as_echo_n "(cached) " >&6 6740else 6741 if test -n "$MANIFEST_TOOL"; then 6742 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6743else 6744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6745for as_dir in $PATH 6746do 6747 IFS=$as_save_IFS 6748 test -z "$as_dir" && as_dir=. 6749 for ac_exec_ext in '' $ac_executable_extensions; do 6750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6751 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6753 break 2 6754 fi 6755done 6756 done 6757IFS=$as_save_IFS 6758 6759fi 6760fi 6761MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6762if test -n "$MANIFEST_TOOL"; then 6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6764$as_echo "$MANIFEST_TOOL" >&6; } 6765else 6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6767$as_echo "no" >&6; } 6768fi 6769 6770 6771fi 6772if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6773 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6774 # Extract the first word of "mt", so it can be a program name with args. 6775set dummy mt; ac_word=$2 6776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6777$as_echo_n "checking for $ac_word... " >&6; } 6778if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6779 $as_echo_n "(cached) " >&6 6780else 6781 if test -n "$ac_ct_MANIFEST_TOOL"; then 6782 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6783else 6784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6785for as_dir in $PATH 6786do 6787 IFS=$as_save_IFS 6788 test -z "$as_dir" && as_dir=. 6789 for ac_exec_ext in '' $ac_executable_extensions; do 6790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6791 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6793 break 2 6794 fi 6795done 6796 done 6797IFS=$as_save_IFS 6798 6799fi 6800fi 6801ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6802if test -n "$ac_ct_MANIFEST_TOOL"; then 6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6804$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6805else 6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6807$as_echo "no" >&6; } 6808fi 6809 6810 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6811 MANIFEST_TOOL=":" 6812 else 6813 case $cross_compiling:$ac_tool_warned in 6814yes:) 6815{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6816$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6817ac_tool_warned=yes ;; 6818esac 6819 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6820 fi 6821else 6822 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6823fi 6824 6825test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6827$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6828if ${lt_cv_path_mainfest_tool+:} false; then : 6829 $as_echo_n "(cached) " >&6 6830else 6831 lt_cv_path_mainfest_tool=no 6832 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6833 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6834 cat conftest.err >&5 6835 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6836 lt_cv_path_mainfest_tool=yes 6837 fi 6838 rm -f conftest* 6839fi 6840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6841$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6842if test yes != "$lt_cv_path_mainfest_tool"; then 6843 MANIFEST_TOOL=: 6844fi 6845 6846 6847 6848 6849 6850 6851 case $host_os in 6852 rhapsody* | darwin*) 6853 if test -n "$ac_tool_prefix"; then 6854 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6855set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6857$as_echo_n "checking for $ac_word... " >&6; } 6858if ${ac_cv_prog_DSYMUTIL+:} false; then : 6859 $as_echo_n "(cached) " >&6 6860else 6861 if test -n "$DSYMUTIL"; then 6862 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6863else 6864as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6865for as_dir in $PATH 6866do 6867 IFS=$as_save_IFS 6868 test -z "$as_dir" && as_dir=. 6869 for ac_exec_ext in '' $ac_executable_extensions; do 6870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6871 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6873 break 2 6874 fi 6875done 6876 done 6877IFS=$as_save_IFS 6878 6879fi 6880fi 6881DSYMUTIL=$ac_cv_prog_DSYMUTIL 6882if test -n "$DSYMUTIL"; then 6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6884$as_echo "$DSYMUTIL" >&6; } 6885else 6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6887$as_echo "no" >&6; } 6888fi 6889 6890 6891fi 6892if test -z "$ac_cv_prog_DSYMUTIL"; then 6893 ac_ct_DSYMUTIL=$DSYMUTIL 6894 # Extract the first word of "dsymutil", so it can be a program name with args. 6895set dummy dsymutil; ac_word=$2 6896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6897$as_echo_n "checking for $ac_word... " >&6; } 6898if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6899 $as_echo_n "(cached) " >&6 6900else 6901 if test -n "$ac_ct_DSYMUTIL"; then 6902 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6903else 6904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6905for as_dir in $PATH 6906do 6907 IFS=$as_save_IFS 6908 test -z "$as_dir" && as_dir=. 6909 for ac_exec_ext in '' $ac_executable_extensions; do 6910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6911 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6913 break 2 6914 fi 6915done 6916 done 6917IFS=$as_save_IFS 6918 6919fi 6920fi 6921ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6922if test -n "$ac_ct_DSYMUTIL"; then 6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6924$as_echo "$ac_ct_DSYMUTIL" >&6; } 6925else 6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6927$as_echo "no" >&6; } 6928fi 6929 6930 if test "x$ac_ct_DSYMUTIL" = x; then 6931 DSYMUTIL=":" 6932 else 6933 case $cross_compiling:$ac_tool_warned in 6934yes:) 6935{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6936$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6937ac_tool_warned=yes ;; 6938esac 6939 DSYMUTIL=$ac_ct_DSYMUTIL 6940 fi 6941else 6942 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6943fi 6944 6945 if test -n "$ac_tool_prefix"; then 6946 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6947set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6949$as_echo_n "checking for $ac_word... " >&6; } 6950if ${ac_cv_prog_NMEDIT+:} false; then : 6951 $as_echo_n "(cached) " >&6 6952else 6953 if test -n "$NMEDIT"; then 6954 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6955else 6956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6957for as_dir in $PATH 6958do 6959 IFS=$as_save_IFS 6960 test -z "$as_dir" && as_dir=. 6961 for ac_exec_ext in '' $ac_executable_extensions; do 6962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6963 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6965 break 2 6966 fi 6967done 6968 done 6969IFS=$as_save_IFS 6970 6971fi 6972fi 6973NMEDIT=$ac_cv_prog_NMEDIT 6974if test -n "$NMEDIT"; then 6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6976$as_echo "$NMEDIT" >&6; } 6977else 6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6979$as_echo "no" >&6; } 6980fi 6981 6982 6983fi 6984if test -z "$ac_cv_prog_NMEDIT"; then 6985 ac_ct_NMEDIT=$NMEDIT 6986 # Extract the first word of "nmedit", so it can be a program name with args. 6987set dummy nmedit; ac_word=$2 6988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6989$as_echo_n "checking for $ac_word... " >&6; } 6990if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6991 $as_echo_n "(cached) " >&6 6992else 6993 if test -n "$ac_ct_NMEDIT"; then 6994 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6995else 6996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6997for as_dir in $PATH 6998do 6999 IFS=$as_save_IFS 7000 test -z "$as_dir" && as_dir=. 7001 for ac_exec_ext in '' $ac_executable_extensions; do 7002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7003 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7005 break 2 7006 fi 7007done 7008 done 7009IFS=$as_save_IFS 7010 7011fi 7012fi 7013ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7014if test -n "$ac_ct_NMEDIT"; then 7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7016$as_echo "$ac_ct_NMEDIT" >&6; } 7017else 7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7019$as_echo "no" >&6; } 7020fi 7021 7022 if test "x$ac_ct_NMEDIT" = x; then 7023 NMEDIT=":" 7024 else 7025 case $cross_compiling:$ac_tool_warned in 7026yes:) 7027{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7028$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7029ac_tool_warned=yes ;; 7030esac 7031 NMEDIT=$ac_ct_NMEDIT 7032 fi 7033else 7034 NMEDIT="$ac_cv_prog_NMEDIT" 7035fi 7036 7037 if test -n "$ac_tool_prefix"; then 7038 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7039set dummy ${ac_tool_prefix}lipo; ac_word=$2 7040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7041$as_echo_n "checking for $ac_word... " >&6; } 7042if ${ac_cv_prog_LIPO+:} false; then : 7043 $as_echo_n "(cached) " >&6 7044else 7045 if test -n "$LIPO"; then 7046 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7047else 7048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7049for as_dir in $PATH 7050do 7051 IFS=$as_save_IFS 7052 test -z "$as_dir" && as_dir=. 7053 for ac_exec_ext in '' $ac_executable_extensions; do 7054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7055 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7057 break 2 7058 fi 7059done 7060 done 7061IFS=$as_save_IFS 7062 7063fi 7064fi 7065LIPO=$ac_cv_prog_LIPO 7066if test -n "$LIPO"; then 7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7068$as_echo "$LIPO" >&6; } 7069else 7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7071$as_echo "no" >&6; } 7072fi 7073 7074 7075fi 7076if test -z "$ac_cv_prog_LIPO"; then 7077 ac_ct_LIPO=$LIPO 7078 # Extract the first word of "lipo", so it can be a program name with args. 7079set dummy lipo; ac_word=$2 7080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7081$as_echo_n "checking for $ac_word... " >&6; } 7082if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7083 $as_echo_n "(cached) " >&6 7084else 7085 if test -n "$ac_ct_LIPO"; then 7086 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7087else 7088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7089for as_dir in $PATH 7090do 7091 IFS=$as_save_IFS 7092 test -z "$as_dir" && as_dir=. 7093 for ac_exec_ext in '' $ac_executable_extensions; do 7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7095 ac_cv_prog_ac_ct_LIPO="lipo" 7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7097 break 2 7098 fi 7099done 7100 done 7101IFS=$as_save_IFS 7102 7103fi 7104fi 7105ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7106if test -n "$ac_ct_LIPO"; then 7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7108$as_echo "$ac_ct_LIPO" >&6; } 7109else 7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7111$as_echo "no" >&6; } 7112fi 7113 7114 if test "x$ac_ct_LIPO" = x; then 7115 LIPO=":" 7116 else 7117 case $cross_compiling:$ac_tool_warned in 7118yes:) 7119{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7120$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7121ac_tool_warned=yes ;; 7122esac 7123 LIPO=$ac_ct_LIPO 7124 fi 7125else 7126 LIPO="$ac_cv_prog_LIPO" 7127fi 7128 7129 if test -n "$ac_tool_prefix"; then 7130 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7131set dummy ${ac_tool_prefix}otool; ac_word=$2 7132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7133$as_echo_n "checking for $ac_word... " >&6; } 7134if ${ac_cv_prog_OTOOL+:} false; then : 7135 $as_echo_n "(cached) " >&6 7136else 7137 if test -n "$OTOOL"; then 7138 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7139else 7140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7141for as_dir in $PATH 7142do 7143 IFS=$as_save_IFS 7144 test -z "$as_dir" && as_dir=. 7145 for ac_exec_ext in '' $ac_executable_extensions; do 7146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7147 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7149 break 2 7150 fi 7151done 7152 done 7153IFS=$as_save_IFS 7154 7155fi 7156fi 7157OTOOL=$ac_cv_prog_OTOOL 7158if test -n "$OTOOL"; then 7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7160$as_echo "$OTOOL" >&6; } 7161else 7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7163$as_echo "no" >&6; } 7164fi 7165 7166 7167fi 7168if test -z "$ac_cv_prog_OTOOL"; then 7169 ac_ct_OTOOL=$OTOOL 7170 # Extract the first word of "otool", so it can be a program name with args. 7171set dummy otool; ac_word=$2 7172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7173$as_echo_n "checking for $ac_word... " >&6; } 7174if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7175 $as_echo_n "(cached) " >&6 7176else 7177 if test -n "$ac_ct_OTOOL"; then 7178 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7179else 7180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7181for as_dir in $PATH 7182do 7183 IFS=$as_save_IFS 7184 test -z "$as_dir" && as_dir=. 7185 for ac_exec_ext in '' $ac_executable_extensions; do 7186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7187 ac_cv_prog_ac_ct_OTOOL="otool" 7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7189 break 2 7190 fi 7191done 7192 done 7193IFS=$as_save_IFS 7194 7195fi 7196fi 7197ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7198if test -n "$ac_ct_OTOOL"; then 7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7200$as_echo "$ac_ct_OTOOL" >&6; } 7201else 7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7203$as_echo "no" >&6; } 7204fi 7205 7206 if test "x$ac_ct_OTOOL" = x; then 7207 OTOOL=":" 7208 else 7209 case $cross_compiling:$ac_tool_warned in 7210yes:) 7211{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7212$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7213ac_tool_warned=yes ;; 7214esac 7215 OTOOL=$ac_ct_OTOOL 7216 fi 7217else 7218 OTOOL="$ac_cv_prog_OTOOL" 7219fi 7220 7221 if test -n "$ac_tool_prefix"; then 7222 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7223set dummy ${ac_tool_prefix}otool64; ac_word=$2 7224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7225$as_echo_n "checking for $ac_word... " >&6; } 7226if ${ac_cv_prog_OTOOL64+:} false; then : 7227 $as_echo_n "(cached) " >&6 7228else 7229 if test -n "$OTOOL64"; then 7230 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7231else 7232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7233for as_dir in $PATH 7234do 7235 IFS=$as_save_IFS 7236 test -z "$as_dir" && as_dir=. 7237 for ac_exec_ext in '' $ac_executable_extensions; do 7238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7239 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7241 break 2 7242 fi 7243done 7244 done 7245IFS=$as_save_IFS 7246 7247fi 7248fi 7249OTOOL64=$ac_cv_prog_OTOOL64 7250if test -n "$OTOOL64"; then 7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7252$as_echo "$OTOOL64" >&6; } 7253else 7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7255$as_echo "no" >&6; } 7256fi 7257 7258 7259fi 7260if test -z "$ac_cv_prog_OTOOL64"; then 7261 ac_ct_OTOOL64=$OTOOL64 7262 # Extract the first word of "otool64", so it can be a program name with args. 7263set dummy otool64; ac_word=$2 7264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7265$as_echo_n "checking for $ac_word... " >&6; } 7266if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7267 $as_echo_n "(cached) " >&6 7268else 7269 if test -n "$ac_ct_OTOOL64"; then 7270 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7271else 7272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7273for as_dir in $PATH 7274do 7275 IFS=$as_save_IFS 7276 test -z "$as_dir" && as_dir=. 7277 for ac_exec_ext in '' $ac_executable_extensions; do 7278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7279 ac_cv_prog_ac_ct_OTOOL64="otool64" 7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7281 break 2 7282 fi 7283done 7284 done 7285IFS=$as_save_IFS 7286 7287fi 7288fi 7289ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7290if test -n "$ac_ct_OTOOL64"; then 7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7292$as_echo "$ac_ct_OTOOL64" >&6; } 7293else 7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7295$as_echo "no" >&6; } 7296fi 7297 7298 if test "x$ac_ct_OTOOL64" = x; then 7299 OTOOL64=":" 7300 else 7301 case $cross_compiling:$ac_tool_warned in 7302yes:) 7303{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7304$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7305ac_tool_warned=yes ;; 7306esac 7307 OTOOL64=$ac_ct_OTOOL64 7308 fi 7309else 7310 OTOOL64="$ac_cv_prog_OTOOL64" 7311fi 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7340$as_echo_n "checking for -single_module linker flag... " >&6; } 7341if ${lt_cv_apple_cc_single_mod+:} false; then : 7342 $as_echo_n "(cached) " >&6 7343else 7344 lt_cv_apple_cc_single_mod=no 7345 if test -z "$LT_MULTI_MODULE"; then 7346 # By default we will add the -single_module flag. You can override 7347 # by either setting the environment variable LT_MULTI_MODULE 7348 # non-empty at configure time, or by adding -multi_module to the 7349 # link flags. 7350 rm -rf libconftest.dylib* 7351 echo "int foo(void){return 1;}" > conftest.c 7352 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7353-dynamiclib -Wl,-single_module conftest.c" >&5 7354 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7355 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7356 _lt_result=$? 7357 # If there is a non-empty error log, and "single_module" 7358 # appears in it, assume the flag caused a linker warning 7359 if test -s conftest.err && $GREP single_module conftest.err; then 7360 cat conftest.err >&5 7361 # Otherwise, if the output was created with a 0 exit code from 7362 # the compiler, it worked. 7363 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7364 lt_cv_apple_cc_single_mod=yes 7365 else 7366 cat conftest.err >&5 7367 fi 7368 rm -rf libconftest.dylib* 7369 rm -f conftest.* 7370 fi 7371fi 7372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7373$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7374 7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7376$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7377if ${lt_cv_ld_exported_symbols_list+:} false; then : 7378 $as_echo_n "(cached) " >&6 7379else 7380 lt_cv_ld_exported_symbols_list=no 7381 save_LDFLAGS=$LDFLAGS 7382 echo "_main" > conftest.sym 7383 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7385/* end confdefs.h. */ 7386 7387int 7388main () 7389{ 7390 7391 ; 7392 return 0; 7393} 7394_ACEOF 7395if ac_fn_c_try_link "$LINENO"; then : 7396 lt_cv_ld_exported_symbols_list=yes 7397else 7398 lt_cv_ld_exported_symbols_list=no 7399fi 7400rm -f core conftest.err conftest.$ac_objext \ 7401 conftest$ac_exeext conftest.$ac_ext 7402 LDFLAGS=$save_LDFLAGS 7403 7404fi 7405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7406$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7407 7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7409$as_echo_n "checking for -force_load linker flag... " >&6; } 7410if ${lt_cv_ld_force_load+:} false; then : 7411 $as_echo_n "(cached) " >&6 7412else 7413 lt_cv_ld_force_load=no 7414 cat > conftest.c << _LT_EOF 7415int forced_loaded() { return 2;} 7416_LT_EOF 7417 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7418 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7419 echo "$AR cru libconftest.a conftest.o" >&5 7420 $AR cru libconftest.a conftest.o 2>&5 7421 echo "$RANLIB libconftest.a" >&5 7422 $RANLIB libconftest.a 2>&5 7423 cat > conftest.c << _LT_EOF 7424int main() { return 0;} 7425_LT_EOF 7426 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7427 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7428 _lt_result=$? 7429 if test -s conftest.err && $GREP force_load conftest.err; then 7430 cat conftest.err >&5 7431 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7432 lt_cv_ld_force_load=yes 7433 else 7434 cat conftest.err >&5 7435 fi 7436 rm -f conftest.err libconftest.a conftest conftest.c 7437 rm -rf conftest.dSYM 7438 7439fi 7440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7441$as_echo "$lt_cv_ld_force_load" >&6; } 7442 case $host_os in 7443 rhapsody* | darwin1.[012]) 7444 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7445 darwin1.*) 7446 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7447 darwin*) # darwin 5.x on 7448 # if running on 10.5 or later, the deployment target defaults 7449 # to the OS version, if on x86, and 10.4, the deployment 7450 # target defaults to 10.4. Don't you love it? 7451 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7452 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7453 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7454 10.[012][,.]*) 7455 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7456 10.*) 7457 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7458 esac 7459 ;; 7460 esac 7461 if test yes = "$lt_cv_apple_cc_single_mod"; then 7462 _lt_dar_single_mod='$single_module' 7463 fi 7464 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7465 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7466 else 7467 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7468 fi 7469 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7470 _lt_dsymutil='~$DSYMUTIL $lib || :' 7471 else 7472 _lt_dsymutil= 7473 fi 7474 ;; 7475 esac 7476 7477# func_munge_path_list VARIABLE PATH 7478# ----------------------------------- 7479# VARIABLE is name of variable containing _space_ separated list of 7480# directories to be munged by the contents of PATH, which is string 7481# having a format: 7482# "DIR[:DIR]:" 7483# string "DIR[ DIR]" will be prepended to VARIABLE 7484# ":DIR[:DIR]" 7485# string "DIR[ DIR]" will be appended to VARIABLE 7486# "DIRP[:DIRP]::[DIRA:]DIRA" 7487# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7488# "DIRA[ DIRA]" will be appended to VARIABLE 7489# "DIR[:DIR]" 7490# VARIABLE will be replaced by "DIR[ DIR]" 7491func_munge_path_list () 7492{ 7493 case x$2 in 7494 x) 7495 ;; 7496 *:) 7497 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7498 ;; 7499 x:*) 7500 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7501 ;; 7502 *::*) 7503 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7504 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7505 ;; 7506 *) 7507 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7508 ;; 7509 esac 7510} 7511 7512ac_ext=c 7513ac_cpp='$CPP $CPPFLAGS' 7514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7516ac_compiler_gnu=$ac_cv_c_compiler_gnu 7517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7518$as_echo_n "checking how to run the C preprocessor... " >&6; } 7519# On Suns, sometimes $CPP names a directory. 7520if test -n "$CPP" && test -d "$CPP"; then 7521 CPP= 7522fi 7523if test -z "$CPP"; then 7524 if ${ac_cv_prog_CPP+:} false; then : 7525 $as_echo_n "(cached) " >&6 7526else 7527 # Double quotes because CPP needs to be expanded 7528 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7529 do 7530 ac_preproc_ok=false 7531for ac_c_preproc_warn_flag in '' yes 7532do 7533 # Use a header file that comes with gcc, so configuring glibc 7534 # with a fresh cross-compiler works. 7535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7536 # <limits.h> exists even on freestanding compilers. 7537 # On the NeXT, cc -E runs the code through the compiler's parser, 7538 # not just through cpp. "Syntax error" is here to catch this case. 7539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7540/* end confdefs.h. */ 7541#ifdef __STDC__ 7542# include <limits.h> 7543#else 7544# include <assert.h> 7545#endif 7546 Syntax error 7547_ACEOF 7548if ac_fn_c_try_cpp "$LINENO"; then : 7549 7550else 7551 # Broken: fails on valid input. 7552continue 7553fi 7554rm -f conftest.err conftest.i conftest.$ac_ext 7555 7556 # OK, works on sane cases. Now check whether nonexistent headers 7557 # can be detected and how. 7558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7559/* end confdefs.h. */ 7560#include <ac_nonexistent.h> 7561_ACEOF 7562if ac_fn_c_try_cpp "$LINENO"; then : 7563 # Broken: success on invalid input. 7564continue 7565else 7566 # Passes both tests. 7567ac_preproc_ok=: 7568break 7569fi 7570rm -f conftest.err conftest.i conftest.$ac_ext 7571 7572done 7573# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7574rm -f conftest.i conftest.err conftest.$ac_ext 7575if $ac_preproc_ok; then : 7576 break 7577fi 7578 7579 done 7580 ac_cv_prog_CPP=$CPP 7581 7582fi 7583 CPP=$ac_cv_prog_CPP 7584else 7585 ac_cv_prog_CPP=$CPP 7586fi 7587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7588$as_echo "$CPP" >&6; } 7589ac_preproc_ok=false 7590for ac_c_preproc_warn_flag in '' yes 7591do 7592 # Use a header file that comes with gcc, so configuring glibc 7593 # with a fresh cross-compiler works. 7594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7595 # <limits.h> exists even on freestanding compilers. 7596 # On the NeXT, cc -E runs the code through the compiler's parser, 7597 # not just through cpp. "Syntax error" is here to catch this case. 7598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7599/* end confdefs.h. */ 7600#ifdef __STDC__ 7601# include <limits.h> 7602#else 7603# include <assert.h> 7604#endif 7605 Syntax error 7606_ACEOF 7607if ac_fn_c_try_cpp "$LINENO"; then : 7608 7609else 7610 # Broken: fails on valid input. 7611continue 7612fi 7613rm -f conftest.err conftest.i conftest.$ac_ext 7614 7615 # OK, works on sane cases. Now check whether nonexistent headers 7616 # can be detected and how. 7617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7618/* end confdefs.h. */ 7619#include <ac_nonexistent.h> 7620_ACEOF 7621if ac_fn_c_try_cpp "$LINENO"; then : 7622 # Broken: success on invalid input. 7623continue 7624else 7625 # Passes both tests. 7626ac_preproc_ok=: 7627break 7628fi 7629rm -f conftest.err conftest.i conftest.$ac_ext 7630 7631done 7632# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7633rm -f conftest.i conftest.err conftest.$ac_ext 7634if $ac_preproc_ok; then : 7635 7636else 7637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7638$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7639as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7640See \`config.log' for more details" "$LINENO" 5; } 7641fi 7642 7643ac_ext=c 7644ac_cpp='$CPP $CPPFLAGS' 7645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7647ac_compiler_gnu=$ac_cv_c_compiler_gnu 7648 7649 7650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7651$as_echo_n "checking for ANSI C header files... " >&6; } 7652if ${ac_cv_header_stdc+:} false; then : 7653 $as_echo_n "(cached) " >&6 7654else 7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7656/* end confdefs.h. */ 7657#include <stdlib.h> 7658#include <stdarg.h> 7659#include <string.h> 7660#include <float.h> 7661 7662int 7663main () 7664{ 7665 7666 ; 7667 return 0; 7668} 7669_ACEOF 7670if ac_fn_c_try_compile "$LINENO"; then : 7671 ac_cv_header_stdc=yes 7672else 7673 ac_cv_header_stdc=no 7674fi 7675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7676 7677if test $ac_cv_header_stdc = yes; then 7678 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7680/* end confdefs.h. */ 7681#include <string.h> 7682 7683_ACEOF 7684if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7685 $EGREP "memchr" >/dev/null 2>&1; then : 7686 7687else 7688 ac_cv_header_stdc=no 7689fi 7690rm -f conftest* 7691 7692fi 7693 7694if test $ac_cv_header_stdc = yes; then 7695 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7697/* end confdefs.h. */ 7698#include <stdlib.h> 7699 7700_ACEOF 7701if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7702 $EGREP "free" >/dev/null 2>&1; then : 7703 7704else 7705 ac_cv_header_stdc=no 7706fi 7707rm -f conftest* 7708 7709fi 7710 7711if test $ac_cv_header_stdc = yes; then 7712 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7713 if test "$cross_compiling" = yes; then : 7714 : 7715else 7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7717/* end confdefs.h. */ 7718#include <ctype.h> 7719#include <stdlib.h> 7720#if ((' ' & 0x0FF) == 0x020) 7721# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7722# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7723#else 7724# define ISLOWER(c) \ 7725 (('a' <= (c) && (c) <= 'i') \ 7726 || ('j' <= (c) && (c) <= 'r') \ 7727 || ('s' <= (c) && (c) <= 'z')) 7728# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7729#endif 7730 7731#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7732int 7733main () 7734{ 7735 int i; 7736 for (i = 0; i < 256; i++) 7737 if (XOR (islower (i), ISLOWER (i)) 7738 || toupper (i) != TOUPPER (i)) 7739 return 2; 7740 return 0; 7741} 7742_ACEOF 7743if ac_fn_c_try_run "$LINENO"; then : 7744 7745else 7746 ac_cv_header_stdc=no 7747fi 7748rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7749 conftest.$ac_objext conftest.beam conftest.$ac_ext 7750fi 7751 7752fi 7753fi 7754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7755$as_echo "$ac_cv_header_stdc" >&6; } 7756if test $ac_cv_header_stdc = yes; then 7757 7758$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7759 7760fi 7761 7762# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7763for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7764 inttypes.h stdint.h unistd.h 7765do : 7766 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7767ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7768" 7769if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7770 cat >>confdefs.h <<_ACEOF 7771#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7772_ACEOF 7773 7774fi 7775 7776done 7777 7778 7779for ac_header in dlfcn.h 7780do : 7781 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7782" 7783if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7784 cat >>confdefs.h <<_ACEOF 7785#define HAVE_DLFCN_H 1 7786_ACEOF 7787 7788fi 7789 7790done 7791 7792 7793if test "`cd $srcdir && pwd`" != "`pwd`"; then 7794 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 7795 # is not polluted with repeated "-I." 7796 am__isrc=' -I$(srcdir)' 7797 # test to see if srcdir already configured 7798 if test -f $srcdir/config.status; then 7799 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 7800 fi 7801fi 7802 7803# test whether we have cygpath 7804if test -z "$CYGPATH_W"; then 7805 if (cygpath --version) >/dev/null 2>/dev/null; then 7806 CYGPATH_W='cygpath -w' 7807 else 7808 CYGPATH_W=echo 7809 fi 7810fi 7811 7812 7813# Define the identity of the package. 7814 PACKAGE='mendex--tex-live-' 7815 VERSION='2.6f' 7816 7817 7818# Some tools Automake needs. 7819 7820ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 7821 7822 7823AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 7824 7825 7826AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 7827 7828 7829AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 7830 7831 7832MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 7833 7834# For better backward compatibility. To be removed once Automake 1.9.x 7835# dies out for good. For more background, see: 7836# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 7837# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 7838mkdir_p='$(MKDIR_P)' 7839 7840# We need awk for the "check" target (and possibly the TAP driver). The 7841# system "awk" is bad on some platforms. 7842# Always define AMTAR for backward compatibility. Yes, it's still used 7843# in the wild :-( We should find a proper way to deprecate it ... 7844AMTAR='$${TAR-tar}' 7845 7846 7847# We'll loop over all known methods to create a tar archive until one works. 7848_am_tools='gnutar pax cpio none' 7849 7850am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 7851 7852 7853 7854 7855 7856 7857# POSIX will say in a future version that running "rm -f" with no argument 7858# is OK; and we want to be able to make that assumption in our Makefile 7859# recipes. So use an aggressive probe to check that the usage we want is 7860# actually supported "in the wild" to an acceptable degree. 7861# See automake bug#10828. 7862# To make any issue more visible, cause the running configure to be aborted 7863# by default if the 'rm' program in use doesn't match our expectations; the 7864# user can still override this though. 7865if rm -f && rm -fr && rm -rf; then : OK; else 7866 cat >&2 <<'END' 7867Oops! 7868 7869Your 'rm' program seems unable to run without file operands specified 7870on the command line, even when the '-f' option is present. This is contrary 7871to the behaviour of most rm programs out there, and not conforming with 7872the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 7873 7874Please tell bug-automake@gnu.org about your system, including the value 7875of your $PATH and any error possibly output before this message. This 7876can help us improve future automake versions. 7877 7878END 7879 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 7880 echo 'Configuration will proceed anyway, since you have set the' >&2 7881 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 7882 echo >&2 7883 else 7884 cat >&2 <<'END' 7885Aborting the configuration process, to ensure you take notice of the issue. 7886 7887You can download and install GNU coreutils to get an 'rm' implementation 7888that behaves properly: <http://www.gnu.org/software/coreutils/>. 7889 7890If you want to complete the configuration process using your problematic 7891'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 7892to "yes", and re-run configure. 7893 7894END 7895 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 7896 fi 7897fi 7898 7899 7900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 7901$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 7902 # Check whether --enable-maintainer-mode was given. 7903if test "${enable_maintainer_mode+set}" = set; then : 7904 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 7905else 7906 USE_MAINTAINER_MODE=no 7907fi 7908 7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 7910$as_echo "$USE_MAINTAINER_MODE" >&6; } 7911 if test $USE_MAINTAINER_MODE = yes; then 7912 MAINTAINER_MODE_TRUE= 7913 MAINTAINER_MODE_FALSE='#' 7914else 7915 MAINTAINER_MODE_TRUE='#' 7916 MAINTAINER_MODE_FALSE= 7917fi 7918 7919 MAINT=$MAINTAINER_MODE_TRUE 7920 7921 7922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 7923$as_echo_n "checking whether the compiler accepts prototypes... " >&6; } 7924if ${kb_cv_c_prototypes+:} false; then : 7925 $as_echo_n "(cached) " >&6 7926else 7927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7928/* end confdefs.h. */ 7929#include <stdarg.h> 7930int 7931main () 7932{ 7933extern void foo(int i,...); 7934 ; 7935 return 0; 7936} 7937_ACEOF 7938if ac_fn_c_try_link "$LINENO"; then : 7939 kb_cv_c_prototypes=yes 7940else 7941 kb_cv_c_prototypes=no 7942fi 7943rm -f core conftest.err conftest.$ac_objext \ 7944 conftest$ac_exeext conftest.$ac_ext 7945fi 7946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5 7947$as_echo "$kb_cv_c_prototypes" >&6; } 7948if test "x$kb_cv_c_prototypes" = xno; then 7949 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 7950fi 7951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 7952$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 7953if ${kpse_cv_warning_cflags+:} false; then : 7954 $as_echo_n "(cached) " >&6 7955else 7956 if test "x$GCC" = xyes; then 7957 kpse_cv_warning_cflags= 7958if test "x$enable_compiler_warnings" != xno; then 7959 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type" 7960 case `$CC -dumpversion` in #( 7961 3.4.* | 4.*) : 7962 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #( 7963 *) : 7964 ;; 7965esac 7966 case `$CC -dumpversion` in #( 7967 3.[234].* | 4.*) : 7968 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #( 7969 *) : 7970 ;; 7971esac 7972 if test "x$enable_compiler_warnings" != xmin; then 7973 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags" 7974 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" 7975 if test "x$enable_compiler_warnings" != xyes; then 7976 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" 7977 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings" 7978 case `$CC -dumpversion` in #( 7979 3.4.* | 4.*) : 7980 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #( 7981 *) : 7982 ;; 7983esac 7984 if test "x$enable_compiler_warnings" != xmax; then 7985 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow" 7986 fi 7987 fi 7988 fi 7989fi 7990elif test "x$enable_compiler_warnings" = xno; then 7991 kpse_cv_warning_cflags= 7992else 7993 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers 7994fi 7995fi 7996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5 7997$as_echo "$kpse_cv_warning_cflags" >&6; } 7998WARNING_CFLAGS=$kpse_cv_warning_cflags 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011# Set options 8012enable_win32_dll=yes 8013 8014case $host in 8015*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 8016 if test -n "$ac_tool_prefix"; then 8017 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 8018set dummy ${ac_tool_prefix}as; ac_word=$2 8019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8020$as_echo_n "checking for $ac_word... " >&6; } 8021if ${ac_cv_prog_AS+:} false; then : 8022 $as_echo_n "(cached) " >&6 8023else 8024 if test -n "$AS"; then 8025 ac_cv_prog_AS="$AS" # Let the user override the test. 8026else 8027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8028for as_dir in $PATH 8029do 8030 IFS=$as_save_IFS 8031 test -z "$as_dir" && as_dir=. 8032 for ac_exec_ext in '' $ac_executable_extensions; do 8033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8034 ac_cv_prog_AS="${ac_tool_prefix}as" 8035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8036 break 2 8037 fi 8038done 8039 done 8040IFS=$as_save_IFS 8041 8042fi 8043fi 8044AS=$ac_cv_prog_AS 8045if test -n "$AS"; then 8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8047$as_echo "$AS" >&6; } 8048else 8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8050$as_echo "no" >&6; } 8051fi 8052 8053 8054fi 8055if test -z "$ac_cv_prog_AS"; then 8056 ac_ct_AS=$AS 8057 # Extract the first word of "as", so it can be a program name with args. 8058set dummy as; ac_word=$2 8059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8060$as_echo_n "checking for $ac_word... " >&6; } 8061if ${ac_cv_prog_ac_ct_AS+:} false; then : 8062 $as_echo_n "(cached) " >&6 8063else 8064 if test -n "$ac_ct_AS"; then 8065 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8066else 8067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8068for as_dir in $PATH 8069do 8070 IFS=$as_save_IFS 8071 test -z "$as_dir" && as_dir=. 8072 for ac_exec_ext in '' $ac_executable_extensions; do 8073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8074 ac_cv_prog_ac_ct_AS="as" 8075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8076 break 2 8077 fi 8078done 8079 done 8080IFS=$as_save_IFS 8081 8082fi 8083fi 8084ac_ct_AS=$ac_cv_prog_ac_ct_AS 8085if test -n "$ac_ct_AS"; then 8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 8087$as_echo "$ac_ct_AS" >&6; } 8088else 8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8090$as_echo "no" >&6; } 8091fi 8092 8093 if test "x$ac_ct_AS" = x; then 8094 AS="false" 8095 else 8096 case $cross_compiling:$ac_tool_warned in 8097yes:) 8098{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8099$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8100ac_tool_warned=yes ;; 8101esac 8102 AS=$ac_ct_AS 8103 fi 8104else 8105 AS="$ac_cv_prog_AS" 8106fi 8107 8108 if test -n "$ac_tool_prefix"; then 8109 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8110set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8112$as_echo_n "checking for $ac_word... " >&6; } 8113if ${ac_cv_prog_DLLTOOL+:} false; then : 8114 $as_echo_n "(cached) " >&6 8115else 8116 if test -n "$DLLTOOL"; then 8117 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8118else 8119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8120for as_dir in $PATH 8121do 8122 IFS=$as_save_IFS 8123 test -z "$as_dir" && as_dir=. 8124 for ac_exec_ext in '' $ac_executable_extensions; do 8125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8126 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8128 break 2 8129 fi 8130done 8131 done 8132IFS=$as_save_IFS 8133 8134fi 8135fi 8136DLLTOOL=$ac_cv_prog_DLLTOOL 8137if test -n "$DLLTOOL"; then 8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8139$as_echo "$DLLTOOL" >&6; } 8140else 8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8142$as_echo "no" >&6; } 8143fi 8144 8145 8146fi 8147if test -z "$ac_cv_prog_DLLTOOL"; then 8148 ac_ct_DLLTOOL=$DLLTOOL 8149 # Extract the first word of "dlltool", so it can be a program name with args. 8150set dummy dlltool; ac_word=$2 8151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8152$as_echo_n "checking for $ac_word... " >&6; } 8153if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8154 $as_echo_n "(cached) " >&6 8155else 8156 if test -n "$ac_ct_DLLTOOL"; then 8157 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8158else 8159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8160for as_dir in $PATH 8161do 8162 IFS=$as_save_IFS 8163 test -z "$as_dir" && as_dir=. 8164 for ac_exec_ext in '' $ac_executable_extensions; do 8165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8166 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8168 break 2 8169 fi 8170done 8171 done 8172IFS=$as_save_IFS 8173 8174fi 8175fi 8176ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8177if test -n "$ac_ct_DLLTOOL"; then 8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8179$as_echo "$ac_ct_DLLTOOL" >&6; } 8180else 8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8182$as_echo "no" >&6; } 8183fi 8184 8185 if test "x$ac_ct_DLLTOOL" = x; then 8186 DLLTOOL="false" 8187 else 8188 case $cross_compiling:$ac_tool_warned in 8189yes:) 8190{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8191$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8192ac_tool_warned=yes ;; 8193esac 8194 DLLTOOL=$ac_ct_DLLTOOL 8195 fi 8196else 8197 DLLTOOL="$ac_cv_prog_DLLTOOL" 8198fi 8199 8200 if test -n "$ac_tool_prefix"; then 8201 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8202set dummy ${ac_tool_prefix}objdump; ac_word=$2 8203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8204$as_echo_n "checking for $ac_word... " >&6; } 8205if ${ac_cv_prog_OBJDUMP+:} false; then : 8206 $as_echo_n "(cached) " >&6 8207else 8208 if test -n "$OBJDUMP"; then 8209 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8210else 8211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8212for as_dir in $PATH 8213do 8214 IFS=$as_save_IFS 8215 test -z "$as_dir" && as_dir=. 8216 for ac_exec_ext in '' $ac_executable_extensions; do 8217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8218 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8220 break 2 8221 fi 8222done 8223 done 8224IFS=$as_save_IFS 8225 8226fi 8227fi 8228OBJDUMP=$ac_cv_prog_OBJDUMP 8229if test -n "$OBJDUMP"; then 8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8231$as_echo "$OBJDUMP" >&6; } 8232else 8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8234$as_echo "no" >&6; } 8235fi 8236 8237 8238fi 8239if test -z "$ac_cv_prog_OBJDUMP"; then 8240 ac_ct_OBJDUMP=$OBJDUMP 8241 # Extract the first word of "objdump", so it can be a program name with args. 8242set dummy objdump; ac_word=$2 8243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8244$as_echo_n "checking for $ac_word... " >&6; } 8245if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8246 $as_echo_n "(cached) " >&6 8247else 8248 if test -n "$ac_ct_OBJDUMP"; then 8249 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8250else 8251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8252for as_dir in $PATH 8253do 8254 IFS=$as_save_IFS 8255 test -z "$as_dir" && as_dir=. 8256 for ac_exec_ext in '' $ac_executable_extensions; do 8257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8258 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8260 break 2 8261 fi 8262done 8263 done 8264IFS=$as_save_IFS 8265 8266fi 8267fi 8268ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8269if test -n "$ac_ct_OBJDUMP"; then 8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8271$as_echo "$ac_ct_OBJDUMP" >&6; } 8272else 8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8274$as_echo "no" >&6; } 8275fi 8276 8277 if test "x$ac_ct_OBJDUMP" = x; then 8278 OBJDUMP="false" 8279 else 8280 case $cross_compiling:$ac_tool_warned in 8281yes:) 8282{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8283$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8284ac_tool_warned=yes ;; 8285esac 8286 OBJDUMP=$ac_ct_OBJDUMP 8287 fi 8288else 8289 OBJDUMP="$ac_cv_prog_OBJDUMP" 8290fi 8291 8292 ;; 8293esac 8294 8295test -z "$AS" && AS=as 8296 8297 8298 8299 8300 8301test -z "$DLLTOOL" && DLLTOOL=dlltool 8302 8303 8304 8305 8306 8307test -z "$OBJDUMP" && OBJDUMP=objdump 8308 8309 8310 8311 8312 8313 8314 8315 enable_dlopen=no 8316 8317 8318 8319 # Check whether --enable-shared was given. 8320if test "${enable_shared+set}" = set; then : 8321 enableval=$enable_shared; p=${PACKAGE-default} 8322 case $enableval in 8323 yes) enable_shared=yes ;; 8324 no) enable_shared=no ;; 8325 *) 8326 enable_shared=no 8327 # Look at the argument we got. We use all the common list separators. 8328 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8329 for pkg in $enableval; do 8330 IFS=$lt_save_ifs 8331 if test "X$pkg" = "X$p"; then 8332 enable_shared=yes 8333 fi 8334 done 8335 IFS=$lt_save_ifs 8336 ;; 8337 esac 8338else 8339 enable_shared=yes 8340fi 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 # Check whether --enable-static was given. 8351if test "${enable_static+set}" = set; then : 8352 enableval=$enable_static; p=${PACKAGE-default} 8353 case $enableval in 8354 yes) enable_static=yes ;; 8355 no) enable_static=no ;; 8356 *) 8357 enable_static=no 8358 # Look at the argument we got. We use all the common list separators. 8359 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8360 for pkg in $enableval; do 8361 IFS=$lt_save_ifs 8362 if test "X$pkg" = "X$p"; then 8363 enable_static=yes 8364 fi 8365 done 8366 IFS=$lt_save_ifs 8367 ;; 8368 esac 8369else 8370 enable_static=yes 8371fi 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382# Check whether --with-pic was given. 8383if test "${with_pic+set}" = set; then : 8384 withval=$with_pic; lt_p=${PACKAGE-default} 8385 case $withval in 8386 yes|no) pic_mode=$withval ;; 8387 *) 8388 pic_mode=default 8389 # Look at the argument we got. We use all the common list separators. 8390 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8391 for lt_pkg in $withval; do 8392 IFS=$lt_save_ifs 8393 if test "X$lt_pkg" = "X$lt_p"; then 8394 pic_mode=yes 8395 fi 8396 done 8397 IFS=$lt_save_ifs 8398 ;; 8399 esac 8400else 8401 pic_mode=default 8402fi 8403 8404 8405 8406 8407 8408 8409 8410 8411 # Check whether --enable-fast-install was given. 8412if test "${enable_fast_install+set}" = set; then : 8413 enableval=$enable_fast_install; p=${PACKAGE-default} 8414 case $enableval in 8415 yes) enable_fast_install=yes ;; 8416 no) enable_fast_install=no ;; 8417 *) 8418 enable_fast_install=no 8419 # Look at the argument we got. We use all the common list separators. 8420 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8421 for pkg in $enableval; do 8422 IFS=$lt_save_ifs 8423 if test "X$pkg" = "X$p"; then 8424 enable_fast_install=yes 8425 fi 8426 done 8427 IFS=$lt_save_ifs 8428 ;; 8429 esac 8430else 8431 enable_fast_install=yes 8432fi 8433 8434 8435 8436 8437 8438 8439 8440 8441 shared_archive_member_spec= 8442case $host,$enable_shared in 8443power*-*-aix[5-9]*,yes) 8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8445$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8446 8447# Check whether --with-aix-soname was given. 8448if test "${with_aix_soname+set}" = set; then : 8449 withval=$with_aix_soname; case $withval in 8450 aix|svr4|both) 8451 ;; 8452 *) 8453 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8454 ;; 8455 esac 8456 lt_cv_with_aix_soname=$with_aix_soname 8457else 8458 if ${lt_cv_with_aix_soname+:} false; then : 8459 $as_echo_n "(cached) " >&6 8460else 8461 lt_cv_with_aix_soname=aix 8462fi 8463 8464 with_aix_soname=$lt_cv_with_aix_soname 8465fi 8466 8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8468$as_echo "$with_aix_soname" >&6; } 8469 if test aix != "$with_aix_soname"; then 8470 # For the AIX way of multilib, we name the shared archive member 8471 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8472 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8473 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8474 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8475 if test 64 = "${OBJECT_MODE-32}"; then 8476 shared_archive_member_spec=shr_64 8477 else 8478 shared_archive_member_spec=shr 8479 fi 8480 fi 8481 ;; 8482*) 8483 with_aix_soname=aix 8484 ;; 8485esac 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496# This can be used to rebuild libtool when needed 8497LIBTOOL_DEPS=$ltmain 8498 8499# Always use our own libtool. 8500LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531test -z "$LN_S" && LN_S="ln -s" 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546if test -n "${ZSH_VERSION+set}"; then 8547 setopt NO_GLOB_SUBST 8548fi 8549 8550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8551$as_echo_n "checking for objdir... " >&6; } 8552if ${lt_cv_objdir+:} false; then : 8553 $as_echo_n "(cached) " >&6 8554else 8555 rm -f .libs 2>/dev/null 8556mkdir .libs 2>/dev/null 8557if test -d .libs; then 8558 lt_cv_objdir=.libs 8559else 8560 # MS-DOS does not allow filenames that begin with a dot. 8561 lt_cv_objdir=_libs 8562fi 8563rmdir .libs 2>/dev/null 8564fi 8565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8566$as_echo "$lt_cv_objdir" >&6; } 8567objdir=$lt_cv_objdir 8568 8569 8570 8571 8572 8573cat >>confdefs.h <<_ACEOF 8574#define LT_OBJDIR "$lt_cv_objdir/" 8575_ACEOF 8576 8577 8578 8579 8580case $host_os in 8581aix3*) 8582 # AIX sometimes has problems with the GCC collect2 program. For some 8583 # reason, if we set the COLLECT_NAMES environment variable, the problems 8584 # vanish in a puff of smoke. 8585 if test set != "${COLLECT_NAMES+set}"; then 8586 COLLECT_NAMES= 8587 export COLLECT_NAMES 8588 fi 8589 ;; 8590esac 8591 8592# Global variables: 8593ofile=libtool 8594can_build_shared=yes 8595 8596# All known linkers require a '.a' archive for static linking (except MSVC, 8597# which needs '.lib'). 8598libext=a 8599 8600with_gnu_ld=$lt_cv_prog_gnu_ld 8601 8602old_CC=$CC 8603old_CFLAGS=$CFLAGS 8604 8605# Set sane defaults for various variables 8606test -z "$CC" && CC=cc 8607test -z "$LTCC" && LTCC=$CC 8608test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8609test -z "$LD" && LD=ld 8610test -z "$ac_objext" && ac_objext=o 8611 8612func_cc_basename $compiler 8613cc_basename=$func_cc_basename_result 8614 8615 8616# Only perform the check for file, if the check method requires it 8617test -z "$MAGIC_CMD" && MAGIC_CMD=file 8618case $deplibs_check_method in 8619file_magic*) 8620 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8622$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8623if ${lt_cv_path_MAGIC_CMD+:} false; then : 8624 $as_echo_n "(cached) " >&6 8625else 8626 case $MAGIC_CMD in 8627[\\/*] | ?:[\\/]*) 8628 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8629 ;; 8630*) 8631 lt_save_MAGIC_CMD=$MAGIC_CMD 8632 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8633 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8634 for ac_dir in $ac_dummy; do 8635 IFS=$lt_save_ifs 8636 test -z "$ac_dir" && ac_dir=. 8637 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8638 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8639 if test -n "$file_magic_test_file"; then 8640 case $deplibs_check_method in 8641 "file_magic "*) 8642 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8643 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8644 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8645 $EGREP "$file_magic_regex" > /dev/null; then 8646 : 8647 else 8648 cat <<_LT_EOF 1>&2 8649 8650*** Warning: the command libtool uses to detect shared libraries, 8651*** $file_magic_cmd, produces output that libtool cannot recognize. 8652*** The result is that libtool may fail to recognize shared libraries 8653*** as such. This will affect the creation of libtool libraries that 8654*** depend on shared libraries, but programs linked with such libtool 8655*** libraries will work regardless of this problem. Nevertheless, you 8656*** may want to report the problem to your system manager and/or to 8657*** bug-libtool@gnu.org 8658 8659_LT_EOF 8660 fi ;; 8661 esac 8662 fi 8663 break 8664 fi 8665 done 8666 IFS=$lt_save_ifs 8667 MAGIC_CMD=$lt_save_MAGIC_CMD 8668 ;; 8669esac 8670fi 8671 8672MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8673if test -n "$MAGIC_CMD"; then 8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8675$as_echo "$MAGIC_CMD" >&6; } 8676else 8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8678$as_echo "no" >&6; } 8679fi 8680 8681 8682 8683 8684 8685if test -z "$lt_cv_path_MAGIC_CMD"; then 8686 if test -n "$ac_tool_prefix"; then 8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8688$as_echo_n "checking for file... " >&6; } 8689if ${lt_cv_path_MAGIC_CMD+:} false; then : 8690 $as_echo_n "(cached) " >&6 8691else 8692 case $MAGIC_CMD in 8693[\\/*] | ?:[\\/]*) 8694 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8695 ;; 8696*) 8697 lt_save_MAGIC_CMD=$MAGIC_CMD 8698 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8699 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8700 for ac_dir in $ac_dummy; do 8701 IFS=$lt_save_ifs 8702 test -z "$ac_dir" && ac_dir=. 8703 if test -f "$ac_dir/file"; then 8704 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8705 if test -n "$file_magic_test_file"; then 8706 case $deplibs_check_method in 8707 "file_magic "*) 8708 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8709 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8710 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8711 $EGREP "$file_magic_regex" > /dev/null; then 8712 : 8713 else 8714 cat <<_LT_EOF 1>&2 8715 8716*** Warning: the command libtool uses to detect shared libraries, 8717*** $file_magic_cmd, produces output that libtool cannot recognize. 8718*** The result is that libtool may fail to recognize shared libraries 8719*** as such. This will affect the creation of libtool libraries that 8720*** depend on shared libraries, but programs linked with such libtool 8721*** libraries will work regardless of this problem. Nevertheless, you 8722*** may want to report the problem to your system manager and/or to 8723*** bug-libtool@gnu.org 8724 8725_LT_EOF 8726 fi ;; 8727 esac 8728 fi 8729 break 8730 fi 8731 done 8732 IFS=$lt_save_ifs 8733 MAGIC_CMD=$lt_save_MAGIC_CMD 8734 ;; 8735esac 8736fi 8737 8738MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8739if test -n "$MAGIC_CMD"; then 8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8741$as_echo "$MAGIC_CMD" >&6; } 8742else 8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8744$as_echo "no" >&6; } 8745fi 8746 8747 8748 else 8749 MAGIC_CMD=: 8750 fi 8751fi 8752 8753 fi 8754 ;; 8755esac 8756 8757# Use C for the default configuration in the libtool script 8758 8759lt_save_CC=$CC 8760ac_ext=c 8761ac_cpp='$CPP $CPPFLAGS' 8762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8764ac_compiler_gnu=$ac_cv_c_compiler_gnu 8765 8766 8767# Source file extension for C test sources. 8768ac_ext=c 8769 8770# Object file extension for compiled C test sources. 8771objext=o 8772objext=$objext 8773 8774# Code to be used in simple compile tests 8775lt_simple_compile_test_code="int some_variable = 0;" 8776 8777# Code to be used in simple link tests 8778lt_simple_link_test_code='int main(){return(0);}' 8779 8780 8781 8782 8783 8784 8785 8786# If no C compiler was specified, use CC. 8787LTCC=${LTCC-"$CC"} 8788 8789# If no C compiler flags were specified, use CFLAGS. 8790LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8791 8792# Allow CC to be a program name with arguments. 8793compiler=$CC 8794 8795# Save the default compiler, since it gets overwritten when the other 8796# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8797compiler_DEFAULT=$CC 8798 8799# save warnings/boilerplate of simple test code 8800ac_outfile=conftest.$ac_objext 8801echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8802eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8803_lt_compiler_boilerplate=`cat conftest.err` 8804$RM conftest* 8805 8806ac_outfile=conftest.$ac_objext 8807echo "$lt_simple_link_test_code" >conftest.$ac_ext 8808eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8809_lt_linker_boilerplate=`cat conftest.err` 8810$RM -r conftest* 8811 8812 8813## CAVEAT EMPTOR: 8814## There is no encapsulation within the following macros, do not change 8815## the running order or otherwise move them around unless you know exactly 8816## what you are doing... 8817if test -n "$compiler"; then 8818 8819lt_prog_compiler_no_builtin_flag= 8820 8821if test yes = "$GCC"; then 8822 case $cc_basename in 8823 nvcc*) 8824 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8825 *) 8826 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8827 esac 8828 8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8830$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8831if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8832 $as_echo_n "(cached) " >&6 8833else 8834 lt_cv_prog_compiler_rtti_exceptions=no 8835 ac_outfile=conftest.$ac_objext 8836 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8837 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8838 # Insert the option either (1) after the last *FLAGS variable, or 8839 # (2) before a word containing "conftest.", or (3) at the end. 8840 # Note that $ac_compile itself does not contain backslashes and begins 8841 # with a dollar sign (not a hyphen), so the echo should work correctly. 8842 # The option is referenced via a variable to avoid confusing sed. 8843 lt_compile=`echo "$ac_compile" | $SED \ 8844 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8845 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8846 -e 's:$: $lt_compiler_flag:'` 8847 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8848 (eval "$lt_compile" 2>conftest.err) 8849 ac_status=$? 8850 cat conftest.err >&5 8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8852 if (exit $ac_status) && test -s "$ac_outfile"; then 8853 # The compiler can only warn and ignore the option if not recognized 8854 # So say no if there are warnings other than the usual output. 8855 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8856 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8857 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8858 lt_cv_prog_compiler_rtti_exceptions=yes 8859 fi 8860 fi 8861 $RM conftest* 8862 8863fi 8864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8865$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8866 8867if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8868 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8869else 8870 : 8871fi 8872 8873fi 8874 8875 8876 8877 8878 8879 8880 lt_prog_compiler_wl= 8881lt_prog_compiler_pic= 8882lt_prog_compiler_static= 8883 8884 8885 if test yes = "$GCC"; then 8886 lt_prog_compiler_wl='-Wl,' 8887 lt_prog_compiler_static='-static' 8888 8889 case $host_os in 8890 aix*) 8891 # All AIX code is PIC. 8892 if test ia64 = "$host_cpu"; then 8893 # AIX 5 now supports IA64 processor 8894 lt_prog_compiler_static='-Bstatic' 8895 fi 8896 lt_prog_compiler_pic='-fPIC' 8897 ;; 8898 8899 amigaos*) 8900 case $host_cpu in 8901 powerpc) 8902 # see comment about AmigaOS4 .so support 8903 lt_prog_compiler_pic='-fPIC' 8904 ;; 8905 m68k) 8906 # FIXME: we need at least 68020 code to build shared libraries, but 8907 # adding the '-m68020' flag to GCC prevents building anything better, 8908 # like '-m68040'. 8909 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8910 ;; 8911 esac 8912 ;; 8913 8914 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8915 # PIC is the default for these OSes. 8916 ;; 8917 8918 mingw* | cygwin* | pw32* | os2* | cegcc*) 8919 # This hack is so that the source file can tell whether it is being 8920 # built for inclusion in a dll (and should export symbols for example). 8921 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8922 # (--disable-auto-import) libraries 8923 lt_prog_compiler_pic='-DDLL_EXPORT' 8924 case $host_os in 8925 os2*) 8926 lt_prog_compiler_static='$wl-static' 8927 ;; 8928 esac 8929 ;; 8930 8931 darwin* | rhapsody*) 8932 # PIC is the default on this platform 8933 # Common symbols not allowed in MH_DYLIB files 8934 lt_prog_compiler_pic='-fno-common' 8935 ;; 8936 8937 haiku*) 8938 # PIC is the default for Haiku. 8939 # The "-static" flag exists, but is broken. 8940 lt_prog_compiler_static= 8941 ;; 8942 8943 hpux*) 8944 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8945 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8946 # sets the default TLS model and affects inlining. 8947 case $host_cpu in 8948 hppa*64*) 8949 # +Z the default 8950 ;; 8951 *) 8952 lt_prog_compiler_pic='-fPIC' 8953 ;; 8954 esac 8955 ;; 8956 8957 interix[3-9]*) 8958 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8959 # Instead, we relocate shared libraries at runtime. 8960 ;; 8961 8962 msdosdjgpp*) 8963 # Just because we use GCC doesn't mean we suddenly get shared libraries 8964 # on systems that don't support them. 8965 lt_prog_compiler_can_build_shared=no 8966 enable_shared=no 8967 ;; 8968 8969 *nto* | *qnx*) 8970 # QNX uses GNU C++, but need to define -shared option too, otherwise 8971 # it will coredump. 8972 lt_prog_compiler_pic='-fPIC -shared' 8973 ;; 8974 8975 sysv4*MP*) 8976 if test -d /usr/nec; then 8977 lt_prog_compiler_pic=-Kconform_pic 8978 fi 8979 ;; 8980 8981 *) 8982 lt_prog_compiler_pic='-fPIC' 8983 ;; 8984 esac 8985 8986 case $cc_basename in 8987 nvcc*) # Cuda Compiler Driver 2.2 8988 lt_prog_compiler_wl='-Xlinker ' 8989 if test -n "$lt_prog_compiler_pic"; then 8990 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8991 fi 8992 ;; 8993 esac 8994 else 8995 # PORTME Check for flag to pass linker flags through the system compiler. 8996 case $host_os in 8997 aix*) 8998 lt_prog_compiler_wl='-Wl,' 8999 if test ia64 = "$host_cpu"; then 9000 # AIX 5 now supports IA64 processor 9001 lt_prog_compiler_static='-Bstatic' 9002 else 9003 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9004 fi 9005 ;; 9006 9007 darwin* | rhapsody*) 9008 # PIC is the default on this platform 9009 # Common symbols not allowed in MH_DYLIB files 9010 lt_prog_compiler_pic='-fno-common' 9011 case $cc_basename in 9012 nagfor*) 9013 # NAG Fortran compiler 9014 lt_prog_compiler_wl='-Wl,-Wl,,' 9015 lt_prog_compiler_pic='-PIC' 9016 lt_prog_compiler_static='-Bstatic' 9017 ;; 9018 esac 9019 ;; 9020 9021 mingw* | cygwin* | pw32* | os2* | cegcc*) 9022 # This hack is so that the source file can tell whether it is being 9023 # built for inclusion in a dll (and should export symbols for example). 9024 lt_prog_compiler_pic='-DDLL_EXPORT' 9025 case $host_os in 9026 os2*) 9027 lt_prog_compiler_static='$wl-static' 9028 ;; 9029 esac 9030 ;; 9031 9032 hpux9* | hpux10* | hpux11*) 9033 lt_prog_compiler_wl='-Wl,' 9034 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9035 # not for PA HP-UX. 9036 case $host_cpu in 9037 hppa*64*|ia64*) 9038 # +Z the default 9039 ;; 9040 *) 9041 lt_prog_compiler_pic='+Z' 9042 ;; 9043 esac 9044 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9045 lt_prog_compiler_static='$wl-a ${wl}archive' 9046 ;; 9047 9048 irix5* | irix6* | nonstopux*) 9049 lt_prog_compiler_wl='-Wl,' 9050 # PIC (with -KPIC) is the default. 9051 lt_prog_compiler_static='-non_shared' 9052 ;; 9053 9054 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9055 case $cc_basename in 9056 # old Intel for x86_64, which still supported -KPIC. 9057 ecc*) 9058 lt_prog_compiler_wl='-Wl,' 9059 lt_prog_compiler_pic='-KPIC' 9060 lt_prog_compiler_static='-static' 9061 ;; 9062 # icc used to be incompatible with GCC. 9063 # ICC 10 doesn't accept -KPIC any more. 9064 icc* | ifort*) 9065 lt_prog_compiler_wl='-Wl,' 9066 lt_prog_compiler_pic='-fPIC' 9067 lt_prog_compiler_static='-static' 9068 ;; 9069 # Lahey Fortran 8.1. 9070 lf95*) 9071 lt_prog_compiler_wl='-Wl,' 9072 lt_prog_compiler_pic='--shared' 9073 lt_prog_compiler_static='--static' 9074 ;; 9075 nagfor*) 9076 # NAG Fortran compiler 9077 lt_prog_compiler_wl='-Wl,-Wl,,' 9078 lt_prog_compiler_pic='-PIC' 9079 lt_prog_compiler_static='-Bstatic' 9080 ;; 9081 tcc*) 9082 # Fabrice Bellard et al's Tiny C Compiler 9083 lt_prog_compiler_wl='-Wl,' 9084 lt_prog_compiler_pic='-fPIC' 9085 lt_prog_compiler_static='-static' 9086 ;; 9087 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9088 # Portland Group compilers (*not* the Pentium gcc compiler, 9089 # which looks to be a dead project) 9090 lt_prog_compiler_wl='-Wl,' 9091 lt_prog_compiler_pic='-fpic' 9092 lt_prog_compiler_static='-Bstatic' 9093 ;; 9094 ccc*) 9095 lt_prog_compiler_wl='-Wl,' 9096 # All Alpha code is PIC. 9097 lt_prog_compiler_static='-non_shared' 9098 ;; 9099 xl* | bgxl* | bgf* | mpixl*) 9100 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9101 lt_prog_compiler_wl='-Wl,' 9102 lt_prog_compiler_pic='-qpic' 9103 lt_prog_compiler_static='-qstaticlink' 9104 ;; 9105 *) 9106 case `$CC -V 2>&1 | sed 5q` in 9107 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9108 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9109 lt_prog_compiler_pic='-KPIC' 9110 lt_prog_compiler_static='-Bstatic' 9111 lt_prog_compiler_wl='' 9112 ;; 9113 *Sun\ F* | *Sun*Fortran*) 9114 lt_prog_compiler_pic='-KPIC' 9115 lt_prog_compiler_static='-Bstatic' 9116 lt_prog_compiler_wl='-Qoption ld ' 9117 ;; 9118 *Sun\ C*) 9119 # Sun C 5.9 9120 lt_prog_compiler_pic='-KPIC' 9121 lt_prog_compiler_static='-Bstatic' 9122 lt_prog_compiler_wl='-Wl,' 9123 ;; 9124 *Intel*\ [CF]*Compiler*) 9125 lt_prog_compiler_wl='-Wl,' 9126 lt_prog_compiler_pic='-fPIC' 9127 lt_prog_compiler_static='-static' 9128 ;; 9129 *Portland\ Group*) 9130 lt_prog_compiler_wl='-Wl,' 9131 lt_prog_compiler_pic='-fpic' 9132 lt_prog_compiler_static='-Bstatic' 9133 ;; 9134 esac 9135 ;; 9136 esac 9137 ;; 9138 9139 newsos6) 9140 lt_prog_compiler_pic='-KPIC' 9141 lt_prog_compiler_static='-Bstatic' 9142 ;; 9143 9144 *nto* | *qnx*) 9145 # QNX uses GNU C++, but need to define -shared option too, otherwise 9146 # it will coredump. 9147 lt_prog_compiler_pic='-fPIC -shared' 9148 ;; 9149 9150 osf3* | osf4* | osf5*) 9151 lt_prog_compiler_wl='-Wl,' 9152 # All OSF/1 code is PIC. 9153 lt_prog_compiler_static='-non_shared' 9154 ;; 9155 9156 rdos*) 9157 lt_prog_compiler_static='-non_shared' 9158 ;; 9159 9160 solaris*) 9161 lt_prog_compiler_pic='-KPIC' 9162 lt_prog_compiler_static='-Bstatic' 9163 case $cc_basename in 9164 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9165 lt_prog_compiler_wl='-Qoption ld ';; 9166 *) 9167 lt_prog_compiler_wl='-Wl,';; 9168 esac 9169 ;; 9170 9171 sunos4*) 9172 lt_prog_compiler_wl='-Qoption ld ' 9173 lt_prog_compiler_pic='-PIC' 9174 lt_prog_compiler_static='-Bstatic' 9175 ;; 9176 9177 sysv4 | sysv4.2uw2* | sysv4.3*) 9178 lt_prog_compiler_wl='-Wl,' 9179 lt_prog_compiler_pic='-KPIC' 9180 lt_prog_compiler_static='-Bstatic' 9181 ;; 9182 9183 sysv4*MP*) 9184 if test -d /usr/nec; then 9185 lt_prog_compiler_pic='-Kconform_pic' 9186 lt_prog_compiler_static='-Bstatic' 9187 fi 9188 ;; 9189 9190 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9191 lt_prog_compiler_wl='-Wl,' 9192 lt_prog_compiler_pic='-KPIC' 9193 lt_prog_compiler_static='-Bstatic' 9194 ;; 9195 9196 unicos*) 9197 lt_prog_compiler_wl='-Wl,' 9198 lt_prog_compiler_can_build_shared=no 9199 ;; 9200 9201 uts4*) 9202 lt_prog_compiler_pic='-pic' 9203 lt_prog_compiler_static='-Bstatic' 9204 ;; 9205 9206 *) 9207 lt_prog_compiler_can_build_shared=no 9208 ;; 9209 esac 9210 fi 9211 9212case $host_os in 9213 # For platforms that do not support PIC, -DPIC is meaningless: 9214 *djgpp*) 9215 lt_prog_compiler_pic= 9216 ;; 9217 *) 9218 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9219 ;; 9220esac 9221 9222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9223$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9224if ${lt_cv_prog_compiler_pic+:} false; then : 9225 $as_echo_n "(cached) " >&6 9226else 9227 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9228fi 9229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9230$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9231lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9232 9233# 9234# Check to make sure the PIC flag actually works. 9235# 9236if test -n "$lt_prog_compiler_pic"; then 9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9238$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9239if ${lt_cv_prog_compiler_pic_works+:} false; then : 9240 $as_echo_n "(cached) " >&6 9241else 9242 lt_cv_prog_compiler_pic_works=no 9243 ac_outfile=conftest.$ac_objext 9244 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9245 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9246 # Insert the option either (1) after the last *FLAGS variable, or 9247 # (2) before a word containing "conftest.", or (3) at the end. 9248 # Note that $ac_compile itself does not contain backslashes and begins 9249 # with a dollar sign (not a hyphen), so the echo should work correctly. 9250 # The option is referenced via a variable to avoid confusing sed. 9251 lt_compile=`echo "$ac_compile" | $SED \ 9252 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9253 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9254 -e 's:$: $lt_compiler_flag:'` 9255 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9256 (eval "$lt_compile" 2>conftest.err) 9257 ac_status=$? 9258 cat conftest.err >&5 9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9260 if (exit $ac_status) && test -s "$ac_outfile"; then 9261 # The compiler can only warn and ignore the option if not recognized 9262 # So say no if there are warnings other than the usual output. 9263 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9264 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9265 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9266 lt_cv_prog_compiler_pic_works=yes 9267 fi 9268 fi 9269 $RM conftest* 9270 9271fi 9272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9273$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9274 9275if test yes = "$lt_cv_prog_compiler_pic_works"; then 9276 case $lt_prog_compiler_pic in 9277 "" | " "*) ;; 9278 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9279 esac 9280else 9281 lt_prog_compiler_pic= 9282 lt_prog_compiler_can_build_shared=no 9283fi 9284 9285fi 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297# 9298# Check to make sure the static flag actually works. 9299# 9300wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9302$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9303if ${lt_cv_prog_compiler_static_works+:} false; then : 9304 $as_echo_n "(cached) " >&6 9305else 9306 lt_cv_prog_compiler_static_works=no 9307 save_LDFLAGS=$LDFLAGS 9308 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9309 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9310 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9311 # The linker can only warn and ignore the option if not recognized 9312 # So say no if there are warnings 9313 if test -s conftest.err; then 9314 # Append any errors to the config.log. 9315 cat conftest.err 1>&5 9316 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9317 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9318 if diff conftest.exp conftest.er2 >/dev/null; then 9319 lt_cv_prog_compiler_static_works=yes 9320 fi 9321 else 9322 lt_cv_prog_compiler_static_works=yes 9323 fi 9324 fi 9325 $RM -r conftest* 9326 LDFLAGS=$save_LDFLAGS 9327 9328fi 9329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9330$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9331 9332if test yes = "$lt_cv_prog_compiler_static_works"; then 9333 : 9334else 9335 lt_prog_compiler_static= 9336fi 9337 9338 9339 9340 9341 9342 9343 9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9345$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9346if ${lt_cv_prog_compiler_c_o+:} false; then : 9347 $as_echo_n "(cached) " >&6 9348else 9349 lt_cv_prog_compiler_c_o=no 9350 $RM -r conftest 2>/dev/null 9351 mkdir conftest 9352 cd conftest 9353 mkdir out 9354 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9355 9356 lt_compiler_flag="-o out/conftest2.$ac_objext" 9357 # Insert the option either (1) after the last *FLAGS variable, or 9358 # (2) before a word containing "conftest.", or (3) at the end. 9359 # Note that $ac_compile itself does not contain backslashes and begins 9360 # with a dollar sign (not a hyphen), so the echo should work correctly. 9361 lt_compile=`echo "$ac_compile" | $SED \ 9362 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9363 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9364 -e 's:$: $lt_compiler_flag:'` 9365 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9366 (eval "$lt_compile" 2>out/conftest.err) 9367 ac_status=$? 9368 cat out/conftest.err >&5 9369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9370 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9371 then 9372 # The compiler can only warn and ignore the option if not recognized 9373 # So say no if there are warnings 9374 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9375 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9376 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9377 lt_cv_prog_compiler_c_o=yes 9378 fi 9379 fi 9380 chmod u+w . 2>&5 9381 $RM conftest* 9382 # SGI C++ compiler will create directory out/ii_files/ for 9383 # template instantiation 9384 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9385 $RM out/* && rmdir out 9386 cd .. 9387 $RM -r conftest 9388 $RM conftest* 9389 9390fi 9391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9392$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9393 9394 9395 9396 9397 9398 9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9400$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9401if ${lt_cv_prog_compiler_c_o+:} false; then : 9402 $as_echo_n "(cached) " >&6 9403else 9404 lt_cv_prog_compiler_c_o=no 9405 $RM -r conftest 2>/dev/null 9406 mkdir conftest 9407 cd conftest 9408 mkdir out 9409 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9410 9411 lt_compiler_flag="-o out/conftest2.$ac_objext" 9412 # Insert the option either (1) after the last *FLAGS variable, or 9413 # (2) before a word containing "conftest.", or (3) at the end. 9414 # Note that $ac_compile itself does not contain backslashes and begins 9415 # with a dollar sign (not a hyphen), so the echo should work correctly. 9416 lt_compile=`echo "$ac_compile" | $SED \ 9417 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9419 -e 's:$: $lt_compiler_flag:'` 9420 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9421 (eval "$lt_compile" 2>out/conftest.err) 9422 ac_status=$? 9423 cat out/conftest.err >&5 9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9425 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9426 then 9427 # The compiler can only warn and ignore the option if not recognized 9428 # So say no if there are warnings 9429 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9430 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9431 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9432 lt_cv_prog_compiler_c_o=yes 9433 fi 9434 fi 9435 chmod u+w . 2>&5 9436 $RM conftest* 9437 # SGI C++ compiler will create directory out/ii_files/ for 9438 # template instantiation 9439 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9440 $RM out/* && rmdir out 9441 cd .. 9442 $RM -r conftest 9443 $RM conftest* 9444 9445fi 9446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9447$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9448 9449 9450 9451 9452hard_links=nottested 9453if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9454 # do not overwrite the value of need_locks provided by the user 9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9456$as_echo_n "checking if we can lock with hard links... " >&6; } 9457 hard_links=yes 9458 $RM conftest* 9459 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9460 touch conftest.a 9461 ln conftest.a conftest.b 2>&5 || hard_links=no 9462 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9464$as_echo "$hard_links" >&6; } 9465 if test no = "$hard_links"; then 9466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9467$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9468 need_locks=warn 9469 fi 9470else 9471 need_locks=no 9472fi 9473 9474 9475 9476 9477 9478 9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9480$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9481 9482 runpath_var= 9483 allow_undefined_flag= 9484 always_export_symbols=no 9485 archive_cmds= 9486 archive_expsym_cmds= 9487 compiler_needs_object=no 9488 enable_shared_with_static_runtimes=no 9489 export_dynamic_flag_spec= 9490 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9491 hardcode_automatic=no 9492 hardcode_direct=no 9493 hardcode_direct_absolute=no 9494 hardcode_libdir_flag_spec= 9495 hardcode_libdir_separator= 9496 hardcode_minus_L=no 9497 hardcode_shlibpath_var=unsupported 9498 inherit_rpath=no 9499 link_all_deplibs=unknown 9500 module_cmds= 9501 module_expsym_cmds= 9502 old_archive_from_new_cmds= 9503 old_archive_from_expsyms_cmds= 9504 thread_safe_flag_spec= 9505 whole_archive_flag_spec= 9506 # include_expsyms should be a list of space-separated symbols to be *always* 9507 # included in the symbol list 9508 include_expsyms= 9509 # exclude_expsyms can be an extended regexp of symbols to exclude 9510 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9511 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9512 # as well as any symbol that contains 'd'. 9513 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9514 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9515 # platforms (ab)use it in PIC code, but their linkers get confused if 9516 # the symbol is explicitly referenced. Since portable code cannot 9517 # rely on this symbol name, it's probably fine to never include it in 9518 # preloaded symbol tables. 9519 # Exclude shared library initialization/finalization symbols. 9520 extract_expsyms_cmds= 9521 9522 case $host_os in 9523 cygwin* | mingw* | pw32* | cegcc*) 9524 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9525 # When not using gcc, we currently assume that we are using 9526 # Microsoft Visual C++. 9527 if test yes != "$GCC"; then 9528 with_gnu_ld=no 9529 fi 9530 ;; 9531 interix*) 9532 # we just hope/assume this is gcc and not c89 (= MSVC++) 9533 with_gnu_ld=yes 9534 ;; 9535 openbsd* | bitrig*) 9536 with_gnu_ld=no 9537 ;; 9538 esac 9539 9540 ld_shlibs=yes 9541 9542 # On some targets, GNU ld is compatible enough with the native linker 9543 # that we're better off using the native interface for both. 9544 lt_use_gnu_ld_interface=no 9545 if test yes = "$with_gnu_ld"; then 9546 case $host_os in 9547 aix*) 9548 # The AIX port of GNU ld has always aspired to compatibility 9549 # with the native linker. However, as the warning in the GNU ld 9550 # block says, versions before 2.19.5* couldn't really create working 9551 # shared libraries, regardless of the interface used. 9552 case `$LD -v 2>&1` in 9553 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9554 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9555 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9556 *) 9557 lt_use_gnu_ld_interface=yes 9558 ;; 9559 esac 9560 ;; 9561 *) 9562 lt_use_gnu_ld_interface=yes 9563 ;; 9564 esac 9565 fi 9566 9567 if test yes = "$lt_use_gnu_ld_interface"; then 9568 # If archive_cmds runs LD, not CC, wlarc should be empty 9569 wlarc='$wl' 9570 9571 # Set some defaults for GNU ld with shared library support. These 9572 # are reset later if shared libraries are not supported. Putting them 9573 # here allows them to be overridden if necessary. 9574 runpath_var=LD_RUN_PATH 9575 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9576 export_dynamic_flag_spec='$wl--export-dynamic' 9577 # ancient GNU ld didn't support --whole-archive et. al. 9578 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9579 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9580 else 9581 whole_archive_flag_spec= 9582 fi 9583 supports_anon_versioning=no 9584 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9585 *GNU\ gold*) supports_anon_versioning=yes ;; 9586 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9587 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9588 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9589 *\ 2.11.*) ;; # other 2.11 versions 9590 *) supports_anon_versioning=yes ;; 9591 esac 9592 9593 # See if GNU ld supports shared libraries. 9594 case $host_os in 9595 aix[3-9]*) 9596 # On AIX/PPC, the GNU linker is very broken 9597 if test ia64 != "$host_cpu"; then 9598 ld_shlibs=no 9599 cat <<_LT_EOF 1>&2 9600 9601*** Warning: the GNU linker, at least up to release 2.19, is reported 9602*** to be unable to reliably create shared libraries on AIX. 9603*** Therefore, libtool is disabling shared libraries support. If you 9604*** really care for shared libraries, you may want to install binutils 9605*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9606*** You will then need to restart the configuration process. 9607 9608_LT_EOF 9609 fi 9610 ;; 9611 9612 amigaos*) 9613 case $host_cpu in 9614 powerpc) 9615 # see comment about AmigaOS4 .so support 9616 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9617 archive_expsym_cmds='' 9618 ;; 9619 m68k) 9620 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)' 9621 hardcode_libdir_flag_spec='-L$libdir' 9622 hardcode_minus_L=yes 9623 ;; 9624 esac 9625 ;; 9626 9627 beos*) 9628 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9629 allow_undefined_flag=unsupported 9630 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9631 # support --undefined. This deserves some investigation. FIXME 9632 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9633 else 9634 ld_shlibs=no 9635 fi 9636 ;; 9637 9638 cygwin* | mingw* | pw32* | cegcc*) 9639 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9640 # as there is no search path for DLLs. 9641 hardcode_libdir_flag_spec='-L$libdir' 9642 export_dynamic_flag_spec='$wl--export-all-symbols' 9643 allow_undefined_flag=unsupported 9644 always_export_symbols=no 9645 enable_shared_with_static_runtimes=yes 9646 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' 9647 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9648 9649 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9650 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9651 # If the export-symbols file already is a .def file, use it as 9652 # is; otherwise, prepend EXPORTS... 9653 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9654 cp $export_symbols $output_objdir/$soname.def; 9655 else 9656 echo EXPORTS > $output_objdir/$soname.def; 9657 cat $export_symbols >> $output_objdir/$soname.def; 9658 fi~ 9659 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9660 else 9661 ld_shlibs=no 9662 fi 9663 ;; 9664 9665 haiku*) 9666 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9667 link_all_deplibs=yes 9668 ;; 9669 9670 os2*) 9671 hardcode_libdir_flag_spec='-L$libdir' 9672 hardcode_minus_L=yes 9673 allow_undefined_flag=unsupported 9674 shrext_cmds=.dll 9675 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9676 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9677 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9678 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9679 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9680 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9681 emximp -o $lib $output_objdir/$libname.def' 9682 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9683 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9684 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9685 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9686 prefix_cmds="$SED"~ 9687 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9688 prefix_cmds="$prefix_cmds -e 1d"; 9689 fi~ 9690 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9691 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9692 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9693 emximp -o $lib $output_objdir/$libname.def' 9694 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9695 enable_shared_with_static_runtimes=yes 9696 ;; 9697 9698 interix[3-9]*) 9699 hardcode_direct=no 9700 hardcode_shlibpath_var=no 9701 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9702 export_dynamic_flag_spec='$wl-E' 9703 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9704 # Instead, shared libraries are loaded at an image base (0x10000000 by 9705 # default) and relocated if they conflict, which is a slow very memory 9706 # consuming and fragmenting process. To avoid this, we pick a random, 9707 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9708 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9709 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9710 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' 9711 ;; 9712 9713 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9714 tmp_diet=no 9715 if test linux-dietlibc = "$host_os"; then 9716 case $cc_basename in 9717 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9718 esac 9719 fi 9720 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9721 && test no = "$tmp_diet" 9722 then 9723 tmp_addflag=' $pic_flag' 9724 tmp_sharedflag='-shared' 9725 case $cc_basename,$host_cpu in 9726 pgcc*) # Portland Group C compiler 9727 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' 9728 tmp_addflag=' $pic_flag' 9729 ;; 9730 pgf77* | pgf90* | pgf95* | pgfortran*) 9731 # Portland Group f77 and f90 compilers 9732 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' 9733 tmp_addflag=' $pic_flag -Mnomain' ;; 9734 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9735 tmp_addflag=' -i_dynamic' ;; 9736 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9737 tmp_addflag=' -i_dynamic -nofor_main' ;; 9738 ifc* | ifort*) # Intel Fortran compiler 9739 tmp_addflag=' -nofor_main' ;; 9740 lf95*) # Lahey Fortran 8.1 9741 whole_archive_flag_spec= 9742 tmp_sharedflag='--shared' ;; 9743 nagfor*) # NAGFOR 5.3 9744 tmp_sharedflag='-Wl,-shared' ;; 9745 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9746 tmp_sharedflag='-qmkshrobj' 9747 tmp_addflag= ;; 9748 nvcc*) # Cuda Compiler Driver 2.2 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 compiler_needs_object=yes 9751 ;; 9752 esac 9753 case `$CC -V 2>&1 | sed 5q` in 9754 *Sun\ C*) # Sun C 5.9 9755 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' 9756 compiler_needs_object=yes 9757 tmp_sharedflag='-G' ;; 9758 *Sun\ F*) # Sun Fortran 8.3 9759 tmp_sharedflag='-G' ;; 9760 esac 9761 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9762 9763 if test yes = "$supports_anon_versioning"; then 9764 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9765 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9766 echo "local: *; };" >> $output_objdir/$libname.ver~ 9767 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9768 fi 9769 9770 case $cc_basename in 9771 tcc*) 9772 export_dynamic_flag_spec='-rdynamic' 9773 ;; 9774 xlf* | bgf* | bgxlf* | mpixlf*) 9775 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9776 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9777 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9778 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9779 if test yes = "$supports_anon_versioning"; then 9780 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9781 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9782 echo "local: *; };" >> $output_objdir/$libname.ver~ 9783 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9784 fi 9785 ;; 9786 esac 9787 else 9788 ld_shlibs=no 9789 fi 9790 ;; 9791 9792 netbsd*) 9793 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9794 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9795 wlarc= 9796 else 9797 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9798 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9799 fi 9800 ;; 9801 9802 solaris*) 9803 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9804 ld_shlibs=no 9805 cat <<_LT_EOF 1>&2 9806 9807*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9808*** create shared libraries on Solaris systems. Therefore, libtool 9809*** is disabling shared libraries support. We urge you to upgrade GNU 9810*** binutils to release 2.9.1 or newer. Another option is to modify 9811*** your PATH or compiler configuration so that the native linker is 9812*** used, and then restart. 9813 9814_LT_EOF 9815 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9816 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9817 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9818 else 9819 ld_shlibs=no 9820 fi 9821 ;; 9822 9823 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9824 case `$LD -v 2>&1` in 9825 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9826 ld_shlibs=no 9827 cat <<_LT_EOF 1>&2 9828 9829*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9830*** reliably create shared libraries on SCO systems. Therefore, libtool 9831*** is disabling shared libraries support. We urge you to upgrade GNU 9832*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9833*** your PATH or compiler configuration so that the native linker is 9834*** used, and then restart. 9835 9836_LT_EOF 9837 ;; 9838 *) 9839 # For security reasons, it is highly recommended that you always 9840 # use absolute paths for naming shared libraries, and exclude the 9841 # DT_RUNPATH tag from executables and libraries. But doing so 9842 # requires that you compile everything twice, which is a pain. 9843 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9844 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9845 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9846 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9847 else 9848 ld_shlibs=no 9849 fi 9850 ;; 9851 esac 9852 ;; 9853 9854 sunos4*) 9855 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9856 wlarc= 9857 hardcode_direct=yes 9858 hardcode_shlibpath_var=no 9859 ;; 9860 9861 *) 9862 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9863 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9864 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9865 else 9866 ld_shlibs=no 9867 fi 9868 ;; 9869 esac 9870 9871 if test no = "$ld_shlibs"; then 9872 runpath_var= 9873 hardcode_libdir_flag_spec= 9874 export_dynamic_flag_spec= 9875 whole_archive_flag_spec= 9876 fi 9877 else 9878 # PORTME fill in a description of your system's linker (not GNU ld) 9879 case $host_os in 9880 aix3*) 9881 allow_undefined_flag=unsupported 9882 always_export_symbols=yes 9883 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' 9884 # Note: this linker hardcodes the directories in LIBPATH if there 9885 # are no directories specified by -L. 9886 hardcode_minus_L=yes 9887 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9888 # Neither direct hardcoding nor static linking is supported with a 9889 # broken collect2. 9890 hardcode_direct=unsupported 9891 fi 9892 ;; 9893 9894 aix[4-9]*) 9895 if test ia64 = "$host_cpu"; then 9896 # On IA64, the linker does run time linking by default, so we don't 9897 # have to do anything special. 9898 aix_use_runtimelinking=no 9899 exp_sym_flag='-Bexport' 9900 no_entry_flag= 9901 else 9902 # If we're using GNU nm, then we don't want the "-C" option. 9903 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9904 # Without the "-l" option, or with the "-B" option, AIX nm treats 9905 # weak defined symbols like other global defined symbols, whereas 9906 # GNU nm marks them as "W". 9907 # While the 'weak' keyword is ignored in the Export File, we need 9908 # it in the Import File for the 'aix-soname' feature, so we have 9909 # to replace the "-B" option with "-P" for AIX nm. 9910 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9911 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' 9912 else 9913 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' 9914 fi 9915 aix_use_runtimelinking=no 9916 9917 # Test if we are trying to use run time linking or normal 9918 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9919 # have runtime linking enabled, and use it for executables. 9920 # For shared libraries, we enable/disable runtime linking 9921 # depending on the kind of the shared library created - 9922 # when "with_aix_soname,aix_use_runtimelinking" is: 9923 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9924 # "aix,yes" lib.so shared, rtl:yes, for executables 9925 # lib.a static archive 9926 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9927 # lib.a(lib.so.V) shared, rtl:no, for executables 9928 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9929 # lib.a(lib.so.V) shared, rtl:no 9930 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9931 # lib.a static archive 9932 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9933 for ld_flag in $LDFLAGS; do 9934 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9935 aix_use_runtimelinking=yes 9936 break 9937 fi 9938 done 9939 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9940 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9941 # so we don't have lib.a shared libs to link our executables. 9942 # We have to force runtime linking in this case. 9943 aix_use_runtimelinking=yes 9944 LDFLAGS="$LDFLAGS -Wl,-brtl" 9945 fi 9946 ;; 9947 esac 9948 9949 exp_sym_flag='-bexport' 9950 no_entry_flag='-bnoentry' 9951 fi 9952 9953 # When large executables or shared objects are built, AIX ld can 9954 # have problems creating the table of contents. If linking a library 9955 # or program results in "error TOC overflow" add -mminimal-toc to 9956 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9957 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9958 9959 archive_cmds='' 9960 hardcode_direct=yes 9961 hardcode_direct_absolute=yes 9962 hardcode_libdir_separator=':' 9963 link_all_deplibs=yes 9964 file_list_spec='$wl-f,' 9965 case $with_aix_soname,$aix_use_runtimelinking in 9966 aix,*) ;; # traditional, no import file 9967 svr4,* | *,yes) # use import file 9968 # The Import File defines what to hardcode. 9969 hardcode_direct=no 9970 hardcode_direct_absolute=no 9971 ;; 9972 esac 9973 9974 if test yes = "$GCC"; then 9975 case $host_os in aix4.[012]|aix4.[012].*) 9976 # We only want to do this on AIX 4.2 and lower, the check 9977 # below for broken collect2 doesn't work under 4.3+ 9978 collect2name=`$CC -print-prog-name=collect2` 9979 if test -f "$collect2name" && 9980 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9981 then 9982 # We have reworked collect2 9983 : 9984 else 9985 # We have old collect2 9986 hardcode_direct=unsupported 9987 # It fails to find uninstalled libraries when the uninstalled 9988 # path is not listed in the libpath. Setting hardcode_minus_L 9989 # to unsupported forces relinking 9990 hardcode_minus_L=yes 9991 hardcode_libdir_flag_spec='-L$libdir' 9992 hardcode_libdir_separator= 9993 fi 9994 ;; 9995 esac 9996 shared_flag='-shared' 9997 if test yes = "$aix_use_runtimelinking"; then 9998 shared_flag="$shared_flag "'$wl-G' 9999 fi 10000 # Need to ensure runtime linking is disabled for the traditional 10001 # shared library, or the linker may eventually find shared libraries 10002 # /with/ Import File - we do not want to mix them. 10003 shared_flag_aix='-shared' 10004 shared_flag_svr4='-shared $wl-G' 10005 else 10006 # not using gcc 10007 if test ia64 = "$host_cpu"; then 10008 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10009 # chokes on -Wl,-G. The following line is correct: 10010 shared_flag='-G' 10011 else 10012 if test yes = "$aix_use_runtimelinking"; then 10013 shared_flag='$wl-G' 10014 else 10015 shared_flag='$wl-bM:SRE' 10016 fi 10017 shared_flag_aix='$wl-bM:SRE' 10018 shared_flag_svr4='$wl-G' 10019 fi 10020 fi 10021 10022 export_dynamic_flag_spec='$wl-bexpall' 10023 # It seems that -bexpall does not export symbols beginning with 10024 # underscore (_), so it is better to generate a list of symbols to export. 10025 always_export_symbols=yes 10026 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10027 # Warning - without using the other runtime loading flags (-brtl), 10028 # -berok will link without error, but may produce a broken library. 10029 allow_undefined_flag='-berok' 10030 # Determine the default libpath from the value encoded in an 10031 # empty executable. 10032 if test set = "${lt_cv_aix_libpath+set}"; then 10033 aix_libpath=$lt_cv_aix_libpath 10034else 10035 if ${lt_cv_aix_libpath_+:} false; then : 10036 $as_echo_n "(cached) " >&6 10037else 10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10039/* end confdefs.h. */ 10040 10041int 10042main () 10043{ 10044 10045 ; 10046 return 0; 10047} 10048_ACEOF 10049if ac_fn_c_try_link "$LINENO"; then : 10050 10051 lt_aix_libpath_sed=' 10052 /Import File Strings/,/^$/ { 10053 /^0/ { 10054 s/^0 *\([^ ]*\) *$/\1/ 10055 p 10056 } 10057 }' 10058 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10059 # Check for a 64-bit object if we didn't find anything. 10060 if test -z "$lt_cv_aix_libpath_"; then 10061 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10062 fi 10063fi 10064rm -f core conftest.err conftest.$ac_objext \ 10065 conftest$ac_exeext conftest.$ac_ext 10066 if test -z "$lt_cv_aix_libpath_"; then 10067 lt_cv_aix_libpath_=/usr/lib:/lib 10068 fi 10069 10070fi 10071 10072 aix_libpath=$lt_cv_aix_libpath_ 10073fi 10074 10075 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10076 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 10077 else 10078 if test ia64 = "$host_cpu"; then 10079 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10080 allow_undefined_flag="-z nodefs" 10081 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" 10082 else 10083 # Determine the default libpath from the value encoded in an 10084 # empty executable. 10085 if test set = "${lt_cv_aix_libpath+set}"; then 10086 aix_libpath=$lt_cv_aix_libpath 10087else 10088 if ${lt_cv_aix_libpath_+:} false; then : 10089 $as_echo_n "(cached) " >&6 10090else 10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10092/* end confdefs.h. */ 10093 10094int 10095main () 10096{ 10097 10098 ; 10099 return 0; 10100} 10101_ACEOF 10102if ac_fn_c_try_link "$LINENO"; then : 10103 10104 lt_aix_libpath_sed=' 10105 /Import File Strings/,/^$/ { 10106 /^0/ { 10107 s/^0 *\([^ ]*\) *$/\1/ 10108 p 10109 } 10110 }' 10111 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10112 # Check for a 64-bit object if we didn't find anything. 10113 if test -z "$lt_cv_aix_libpath_"; then 10114 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10115 fi 10116fi 10117rm -f core conftest.err conftest.$ac_objext \ 10118 conftest$ac_exeext conftest.$ac_ext 10119 if test -z "$lt_cv_aix_libpath_"; then 10120 lt_cv_aix_libpath_=/usr/lib:/lib 10121 fi 10122 10123fi 10124 10125 aix_libpath=$lt_cv_aix_libpath_ 10126fi 10127 10128 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10129 # Warning - without using the other run time loading flags, 10130 # -berok will link without error, but may produce a broken library. 10131 no_undefined_flag=' $wl-bernotok' 10132 allow_undefined_flag=' $wl-berok' 10133 if test yes = "$with_gnu_ld"; then 10134 # We only use this code for GNU lds that support --whole-archive. 10135 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10136 else 10137 # Exported symbols can be pulled into shared objects from archives 10138 whole_archive_flag_spec='$convenience' 10139 fi 10140 archive_cmds_need_lc=yes 10141 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10142 # -brtl affects multiple linker settings, -berok does not and is overridden later 10143 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10144 if test svr4 != "$with_aix_soname"; then 10145 # This is similar to how AIX traditionally builds its shared libraries. 10146 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' 10147 fi 10148 if test aix != "$with_aix_soname"; then 10149 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' 10150 else 10151 # used by -dlpreopen to get the symbols 10152 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10153 fi 10154 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10155 fi 10156 fi 10157 ;; 10158 10159 amigaos*) 10160 case $host_cpu in 10161 powerpc) 10162 # see comment about AmigaOS4 .so support 10163 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10164 archive_expsym_cmds='' 10165 ;; 10166 m68k) 10167 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)' 10168 hardcode_libdir_flag_spec='-L$libdir' 10169 hardcode_minus_L=yes 10170 ;; 10171 esac 10172 ;; 10173 10174 bsdi[45]*) 10175 export_dynamic_flag_spec=-rdynamic 10176 ;; 10177 10178 cygwin* | mingw* | pw32* | cegcc*) 10179 # When not using gcc, we currently assume that we are using 10180 # Microsoft Visual C++. 10181 # hardcode_libdir_flag_spec is actually meaningless, as there is 10182 # no search path for DLLs. 10183 case $cc_basename in 10184 cl*) 10185 # Native MSVC 10186 hardcode_libdir_flag_spec=' ' 10187 allow_undefined_flag=unsupported 10188 always_export_symbols=yes 10189 file_list_spec='@' 10190 # Tell ltmain to make .lib files, not .a files. 10191 libext=lib 10192 # Tell ltmain to make .dll files, not .so files. 10193 shrext_cmds=.dll 10194 # FIXME: Setting linknames here is a bad hack. 10195 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10196 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10197 cp "$export_symbols" "$output_objdir/$soname.def"; 10198 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10199 else 10200 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10201 fi~ 10202 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10203 linknames=' 10204 # The linker will not automatically build a static lib if we build a DLL. 10205 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10206 enable_shared_with_static_runtimes=yes 10207 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10208 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10209 # Don't use ranlib 10210 old_postinstall_cmds='chmod 644 $oldlib' 10211 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10212 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10213 case $lt_outputfile in 10214 *.exe|*.EXE) ;; 10215 *) 10216 lt_outputfile=$lt_outputfile.exe 10217 lt_tool_outputfile=$lt_tool_outputfile.exe 10218 ;; 10219 esac~ 10220 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10221 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10222 $RM "$lt_outputfile.manifest"; 10223 fi' 10224 ;; 10225 *) 10226 # Assume MSVC wrapper 10227 hardcode_libdir_flag_spec=' ' 10228 allow_undefined_flag=unsupported 10229 # Tell ltmain to make .lib files, not .a files. 10230 libext=lib 10231 # Tell ltmain to make .dll files, not .so files. 10232 shrext_cmds=.dll 10233 # FIXME: Setting linknames here is a bad hack. 10234 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10235 # The linker will automatically build a .lib file if we build a DLL. 10236 old_archive_from_new_cmds='true' 10237 # FIXME: Should let the user specify the lib program. 10238 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10239 enable_shared_with_static_runtimes=yes 10240 ;; 10241 esac 10242 ;; 10243 10244 darwin* | rhapsody*) 10245 10246 10247 archive_cmds_need_lc=no 10248 hardcode_direct=no 10249 hardcode_automatic=yes 10250 hardcode_shlibpath_var=unsupported 10251 if test yes = "$lt_cv_ld_force_load"; then 10252 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\"`' 10253 10254 else 10255 whole_archive_flag_spec='' 10256 fi 10257 link_all_deplibs=yes 10258 allow_undefined_flag=$_lt_dar_allow_undefined 10259 case $cc_basename in 10260 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10261 *) _lt_dar_can_shared=$GCC ;; 10262 esac 10263 if test yes = "$_lt_dar_can_shared"; then 10264 output_verbose_link_cmd=func_echo_all 10265 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10266 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10267 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" 10268 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" 10269 10270 else 10271 ld_shlibs=no 10272 fi 10273 10274 ;; 10275 10276 dgux*) 10277 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10278 hardcode_libdir_flag_spec='-L$libdir' 10279 hardcode_shlibpath_var=no 10280 ;; 10281 10282 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10283 # support. Future versions do this automatically, but an explicit c++rt0.o 10284 # does not break anything, and helps significantly (at the cost of a little 10285 # extra space). 10286 freebsd2.2*) 10287 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10288 hardcode_libdir_flag_spec='-R$libdir' 10289 hardcode_direct=yes 10290 hardcode_shlibpath_var=no 10291 ;; 10292 10293 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10294 freebsd2.*) 10295 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10296 hardcode_direct=yes 10297 hardcode_minus_L=yes 10298 hardcode_shlibpath_var=no 10299 ;; 10300 10301 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10302 freebsd* | dragonfly*) 10303 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10304 hardcode_libdir_flag_spec='-R$libdir' 10305 hardcode_direct=yes 10306 hardcode_shlibpath_var=no 10307 ;; 10308 10309 hpux9*) 10310 if test yes = "$GCC"; then 10311 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' 10312 else 10313 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' 10314 fi 10315 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10316 hardcode_libdir_separator=: 10317 hardcode_direct=yes 10318 10319 # hardcode_minus_L: Not really in the search PATH, 10320 # but as the default location of the library. 10321 hardcode_minus_L=yes 10322 export_dynamic_flag_spec='$wl-E' 10323 ;; 10324 10325 hpux10*) 10326 if test yes,no = "$GCC,$with_gnu_ld"; then 10327 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10328 else 10329 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10330 fi 10331 if test no = "$with_gnu_ld"; then 10332 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10333 hardcode_libdir_separator=: 10334 hardcode_direct=yes 10335 hardcode_direct_absolute=yes 10336 export_dynamic_flag_spec='$wl-E' 10337 # hardcode_minus_L: Not really in the search PATH, 10338 # but as the default location of the library. 10339 hardcode_minus_L=yes 10340 fi 10341 ;; 10342 10343 hpux11*) 10344 if test yes,no = "$GCC,$with_gnu_ld"; then 10345 case $host_cpu in 10346 hppa*64*) 10347 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10348 ;; 10349 ia64*) 10350 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10351 ;; 10352 *) 10353 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10354 ;; 10355 esac 10356 else 10357 case $host_cpu in 10358 hppa*64*) 10359 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10360 ;; 10361 ia64*) 10362 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10363 ;; 10364 *) 10365 10366 # Older versions of the 11.00 compiler do not understand -b yet 10367 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10369$as_echo_n "checking if $CC understands -b... " >&6; } 10370if ${lt_cv_prog_compiler__b+:} false; then : 10371 $as_echo_n "(cached) " >&6 10372else 10373 lt_cv_prog_compiler__b=no 10374 save_LDFLAGS=$LDFLAGS 10375 LDFLAGS="$LDFLAGS -b" 10376 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10377 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10378 # The linker can only warn and ignore the option if not recognized 10379 # So say no if there are warnings 10380 if test -s conftest.err; then 10381 # Append any errors to the config.log. 10382 cat conftest.err 1>&5 10383 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10384 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10385 if diff conftest.exp conftest.er2 >/dev/null; then 10386 lt_cv_prog_compiler__b=yes 10387 fi 10388 else 10389 lt_cv_prog_compiler__b=yes 10390 fi 10391 fi 10392 $RM -r conftest* 10393 LDFLAGS=$save_LDFLAGS 10394 10395fi 10396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10397$as_echo "$lt_cv_prog_compiler__b" >&6; } 10398 10399if test yes = "$lt_cv_prog_compiler__b"; then 10400 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10401else 10402 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10403fi 10404 10405 ;; 10406 esac 10407 fi 10408 if test no = "$with_gnu_ld"; then 10409 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10410 hardcode_libdir_separator=: 10411 10412 case $host_cpu in 10413 hppa*64*|ia64*) 10414 hardcode_direct=no 10415 hardcode_shlibpath_var=no 10416 ;; 10417 *) 10418 hardcode_direct=yes 10419 hardcode_direct_absolute=yes 10420 export_dynamic_flag_spec='$wl-E' 10421 10422 # hardcode_minus_L: Not really in the search PATH, 10423 # but as the default location of the library. 10424 hardcode_minus_L=yes 10425 ;; 10426 esac 10427 fi 10428 ;; 10429 10430 irix5* | irix6* | nonstopux*) 10431 if test yes = "$GCC"; then 10432 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' 10433 # Try to use the -exported_symbol ld option, if it does not 10434 # work, assume that -exports_file does not work either and 10435 # implicitly export all symbols. 10436 # This should be the same for all languages, so no per-tag cache variable. 10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10438$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10439if ${lt_cv_irix_exported_symbol+:} false; then : 10440 $as_echo_n "(cached) " >&6 10441else 10442 save_LDFLAGS=$LDFLAGS 10443 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10445/* end confdefs.h. */ 10446int foo (void) { return 0; } 10447_ACEOF 10448if ac_fn_c_try_link "$LINENO"; then : 10449 lt_cv_irix_exported_symbol=yes 10450else 10451 lt_cv_irix_exported_symbol=no 10452fi 10453rm -f core conftest.err conftest.$ac_objext \ 10454 conftest$ac_exeext conftest.$ac_ext 10455 LDFLAGS=$save_LDFLAGS 10456fi 10457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10458$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10459 if test yes = "$lt_cv_irix_exported_symbol"; then 10460 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' 10461 fi 10462 else 10463 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' 10464 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' 10465 fi 10466 archive_cmds_need_lc='no' 10467 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10468 hardcode_libdir_separator=: 10469 inherit_rpath=yes 10470 link_all_deplibs=yes 10471 ;; 10472 10473 linux*) 10474 case $cc_basename in 10475 tcc*) 10476 # Fabrice Bellard et al's Tiny C Compiler 10477 ld_shlibs=yes 10478 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10479 ;; 10480 esac 10481 ;; 10482 10483 netbsd*) 10484 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10485 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10486 else 10487 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10488 fi 10489 hardcode_libdir_flag_spec='-R$libdir' 10490 hardcode_direct=yes 10491 hardcode_shlibpath_var=no 10492 ;; 10493 10494 newsos6) 10495 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10496 hardcode_direct=yes 10497 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10498 hardcode_libdir_separator=: 10499 hardcode_shlibpath_var=no 10500 ;; 10501 10502 *nto* | *qnx*) 10503 ;; 10504 10505 openbsd* | bitrig*) 10506 if test -f /usr/libexec/ld.so; then 10507 hardcode_direct=yes 10508 hardcode_shlibpath_var=no 10509 hardcode_direct_absolute=yes 10510 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10511 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10512 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10513 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10514 export_dynamic_flag_spec='$wl-E' 10515 else 10516 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10517 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10518 fi 10519 else 10520 ld_shlibs=no 10521 fi 10522 ;; 10523 10524 os2*) 10525 hardcode_libdir_flag_spec='-L$libdir' 10526 hardcode_minus_L=yes 10527 allow_undefined_flag=unsupported 10528 shrext_cmds=.dll 10529 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10530 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10531 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10532 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10533 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10534 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10535 emximp -o $lib $output_objdir/$libname.def' 10536 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10537 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10538 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10539 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10540 prefix_cmds="$SED"~ 10541 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10542 prefix_cmds="$prefix_cmds -e 1d"; 10543 fi~ 10544 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10545 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10546 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10547 emximp -o $lib $output_objdir/$libname.def' 10548 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10549 enable_shared_with_static_runtimes=yes 10550 ;; 10551 10552 osf3*) 10553 if test yes = "$GCC"; then 10554 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10555 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' 10556 else 10557 allow_undefined_flag=' -expect_unresolved \*' 10558 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' 10559 fi 10560 archive_cmds_need_lc='no' 10561 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10562 hardcode_libdir_separator=: 10563 ;; 10564 10565 osf4* | osf5*) # as osf3* with the addition of -msym flag 10566 if test yes = "$GCC"; then 10567 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10568 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' 10569 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10570 else 10571 allow_undefined_flag=' -expect_unresolved \*' 10572 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' 10573 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~ 10574 $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' 10575 10576 # Both c and cxx compiler support -rpath directly 10577 hardcode_libdir_flag_spec='-rpath $libdir' 10578 fi 10579 archive_cmds_need_lc='no' 10580 hardcode_libdir_separator=: 10581 ;; 10582 10583 solaris*) 10584 no_undefined_flag=' -z defs' 10585 if test yes = "$GCC"; then 10586 wlarc='$wl' 10587 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10588 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10589 $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' 10590 else 10591 case `$CC -V 2>&1` in 10592 *"Compilers 5.0"*) 10593 wlarc='' 10594 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10595 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10596 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10597 ;; 10598 *) 10599 wlarc='$wl' 10600 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10601 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10602 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10603 ;; 10604 esac 10605 fi 10606 hardcode_libdir_flag_spec='-R$libdir' 10607 hardcode_shlibpath_var=no 10608 case $host_os in 10609 solaris2.[0-5] | solaris2.[0-5].*) ;; 10610 *) 10611 # The compiler driver will combine and reorder linker options, 10612 # but understands '-z linker_flag'. GCC discards it without '$wl', 10613 # but is careful enough not to reorder. 10614 # Supported since Solaris 2.6 (maybe 2.5.1?) 10615 if test yes = "$GCC"; then 10616 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10617 else 10618 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10619 fi 10620 ;; 10621 esac 10622 link_all_deplibs=yes 10623 ;; 10624 10625 sunos4*) 10626 if test sequent = "$host_vendor"; then 10627 # Use $CC to link under sequent, because it throws in some extra .o 10628 # files that make .init and .fini sections work. 10629 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10630 else 10631 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10632 fi 10633 hardcode_libdir_flag_spec='-L$libdir' 10634 hardcode_direct=yes 10635 hardcode_minus_L=yes 10636 hardcode_shlibpath_var=no 10637 ;; 10638 10639 sysv4) 10640 case $host_vendor in 10641 sni) 10642 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10643 hardcode_direct=yes # is this really true??? 10644 ;; 10645 siemens) 10646 ## LD is ld it makes a PLAMLIB 10647 ## CC just makes a GrossModule. 10648 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10649 reload_cmds='$CC -r -o $output$reload_objs' 10650 hardcode_direct=no 10651 ;; 10652 motorola) 10653 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10654 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10655 ;; 10656 esac 10657 runpath_var='LD_RUN_PATH' 10658 hardcode_shlibpath_var=no 10659 ;; 10660 10661 sysv4.3*) 10662 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10663 hardcode_shlibpath_var=no 10664 export_dynamic_flag_spec='-Bexport' 10665 ;; 10666 10667 sysv4*MP*) 10668 if test -d /usr/nec; then 10669 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10670 hardcode_shlibpath_var=no 10671 runpath_var=LD_RUN_PATH 10672 hardcode_runpath_var=yes 10673 ld_shlibs=yes 10674 fi 10675 ;; 10676 10677 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10678 no_undefined_flag='$wl-z,text' 10679 archive_cmds_need_lc=no 10680 hardcode_shlibpath_var=no 10681 runpath_var='LD_RUN_PATH' 10682 10683 if test yes = "$GCC"; then 10684 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10685 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10686 else 10687 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10688 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10689 fi 10690 ;; 10691 10692 sysv5* | sco3.2v5* | sco5v6*) 10693 # Note: We CANNOT use -z defs as we might desire, because we do not 10694 # link with -lc, and that would cause any symbols used from libc to 10695 # always be unresolved, which means just about no library would 10696 # ever link correctly. If we're not using GNU ld we use -z text 10697 # though, which does catch some bad symbols but isn't as heavy-handed 10698 # as -z defs. 10699 no_undefined_flag='$wl-z,text' 10700 allow_undefined_flag='$wl-z,nodefs' 10701 archive_cmds_need_lc=no 10702 hardcode_shlibpath_var=no 10703 hardcode_libdir_flag_spec='$wl-R,$libdir' 10704 hardcode_libdir_separator=':' 10705 link_all_deplibs=yes 10706 export_dynamic_flag_spec='$wl-Bexport' 10707 runpath_var='LD_RUN_PATH' 10708 10709 if test yes = "$GCC"; then 10710 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10711 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10712 else 10713 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10714 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10715 fi 10716 ;; 10717 10718 uts4*) 10719 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10720 hardcode_libdir_flag_spec='-L$libdir' 10721 hardcode_shlibpath_var=no 10722 ;; 10723 10724 *) 10725 ld_shlibs=no 10726 ;; 10727 esac 10728 10729 if test sni = "$host_vendor"; then 10730 case $host in 10731 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10732 export_dynamic_flag_spec='$wl-Blargedynsym' 10733 ;; 10734 esac 10735 fi 10736 fi 10737 10738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10739$as_echo "$ld_shlibs" >&6; } 10740test no = "$ld_shlibs" && can_build_shared=no 10741 10742with_gnu_ld=$with_gnu_ld 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758# 10759# Do we need to explicitly link libc? 10760# 10761case "x$archive_cmds_need_lc" in 10762x|xyes) 10763 # Assume -lc should be added 10764 archive_cmds_need_lc=yes 10765 10766 if test yes,yes = "$GCC,$enable_shared"; then 10767 case $archive_cmds in 10768 *'~'*) 10769 # FIXME: we may have to deal with multi-command sequences. 10770 ;; 10771 '$CC '*) 10772 # Test whether the compiler implicitly links with -lc since on some 10773 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10774 # to ld, don't add -lc before -lgcc. 10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10776$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10777if ${lt_cv_archive_cmds_need_lc+:} false; then : 10778 $as_echo_n "(cached) " >&6 10779else 10780 $RM conftest* 10781 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10782 10783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10784 (eval $ac_compile) 2>&5 10785 ac_status=$? 10786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10787 test $ac_status = 0; } 2>conftest.err; then 10788 soname=conftest 10789 lib=conftest 10790 libobjs=conftest.$ac_objext 10791 deplibs= 10792 wl=$lt_prog_compiler_wl 10793 pic_flag=$lt_prog_compiler_pic 10794 compiler_flags=-v 10795 linker_flags=-v 10796 verstring= 10797 output_objdir=. 10798 libname=conftest 10799 lt_save_allow_undefined_flag=$allow_undefined_flag 10800 allow_undefined_flag= 10801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10802 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10803 ac_status=$? 10804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10805 test $ac_status = 0; } 10806 then 10807 lt_cv_archive_cmds_need_lc=no 10808 else 10809 lt_cv_archive_cmds_need_lc=yes 10810 fi 10811 allow_undefined_flag=$lt_save_allow_undefined_flag 10812 else 10813 cat conftest.err 1>&5 10814 fi 10815 $RM conftest* 10816 10817fi 10818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10819$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10820 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10821 ;; 10822 esac 10823 fi 10824 ;; 10825esac 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10979$as_echo_n "checking dynamic linker characteristics... " >&6; } 10980 10981if test yes = "$GCC"; then 10982 case $host_os in 10983 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10984 *) lt_awk_arg='/^libraries:/' ;; 10985 esac 10986 case $host_os in 10987 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10988 *) lt_sed_strip_eq='s|=/|/|g' ;; 10989 esac 10990 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10991 case $lt_search_path_spec in 10992 *\;*) 10993 # if the path contains ";" then we assume it to be the separator 10994 # otherwise default to the standard path separator (i.e. ":") - it is 10995 # assumed that no part of a normal pathname contains ";" but that should 10996 # okay in the real world where ";" in dirpaths is itself problematic. 10997 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10998 ;; 10999 *) 11000 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11001 ;; 11002 esac 11003 # Ok, now we have the path, separated by spaces, we can step through it 11004 # and add multilib dir if necessary... 11005 lt_tmp_lt_search_path_spec= 11006 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11007 # ...but if some path component already ends with the multilib dir we assume 11008 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11009 case "$lt_multi_os_dir; $lt_search_path_spec " in 11010 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11011 lt_multi_os_dir= 11012 ;; 11013 esac 11014 for lt_sys_path in $lt_search_path_spec; do 11015 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11016 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11017 elif test -n "$lt_multi_os_dir"; then 11018 test -d "$lt_sys_path" && \ 11019 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11020 fi 11021 done 11022 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11023BEGIN {RS = " "; FS = "/|\n";} { 11024 lt_foo = ""; 11025 lt_count = 0; 11026 for (lt_i = NF; lt_i > 0; lt_i--) { 11027 if ($lt_i != "" && $lt_i != ".") { 11028 if ($lt_i == "..") { 11029 lt_count++; 11030 } else { 11031 if (lt_count == 0) { 11032 lt_foo = "/" $lt_i lt_foo; 11033 } else { 11034 lt_count--; 11035 } 11036 } 11037 } 11038 } 11039 if (lt_foo != "") { lt_freq[lt_foo]++; } 11040 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11041}'` 11042 # AWK program above erroneously prepends '/' to C:/dos/paths 11043 # for these hosts. 11044 case $host_os in 11045 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11046 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11047 esac 11048 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11049else 11050 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11051fi 11052library_names_spec= 11053libname_spec='lib$name' 11054soname_spec= 11055shrext_cmds=.so 11056postinstall_cmds= 11057postuninstall_cmds= 11058finish_cmds= 11059finish_eval= 11060shlibpath_var= 11061shlibpath_overrides_runpath=unknown 11062version_type=none 11063dynamic_linker="$host_os ld.so" 11064sys_lib_dlsearch_path_spec="/lib /usr/lib" 11065need_lib_prefix=unknown 11066hardcode_into_libs=no 11067 11068# when you set need_version to no, make sure it does not cause -set_version 11069# flags to be left without arguments 11070need_version=unknown 11071 11072 11073 11074case $host_os in 11075aix3*) 11076 version_type=linux # correct to gnu/linux during the next big refactor 11077 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11078 shlibpath_var=LIBPATH 11079 11080 # AIX 3 has no versioning support, so we append a major version to the name. 11081 soname_spec='$libname$release$shared_ext$major' 11082 ;; 11083 11084aix[4-9]*) 11085 version_type=linux # correct to gnu/linux during the next big refactor 11086 need_lib_prefix=no 11087 need_version=no 11088 hardcode_into_libs=yes 11089 if test ia64 = "$host_cpu"; then 11090 # AIX 5 supports IA64 11091 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11092 shlibpath_var=LD_LIBRARY_PATH 11093 else 11094 # With GCC up to 2.95.x, collect2 would create an import file 11095 # for dependence libraries. The import file would start with 11096 # the line '#! .'. This would cause the generated library to 11097 # depend on '.', always an invalid library. This was fixed in 11098 # development snapshots of GCC prior to 3.0. 11099 case $host_os in 11100 aix4 | aix4.[01] | aix4.[01].*) 11101 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11102 echo ' yes ' 11103 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11104 : 11105 else 11106 can_build_shared=no 11107 fi 11108 ;; 11109 esac 11110 # Using Import Files as archive members, it is possible to support 11111 # filename-based versioning of shared library archives on AIX. While 11112 # this would work for both with and without runtime linking, it will 11113 # prevent static linking of such archives. So we do filename-based 11114 # shared library versioning with .so extension only, which is used 11115 # when both runtime linking and shared linking is enabled. 11116 # Unfortunately, runtime linking may impact performance, so we do 11117 # not want this to be the default eventually. Also, we use the 11118 # versioned .so libs for executables only if there is the -brtl 11119 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11120 # To allow for filename-based versioning support, we need to create 11121 # libNAME.so.V as an archive file, containing: 11122 # *) an Import File, referring to the versioned filename of the 11123 # archive as well as the shared archive member, telling the 11124 # bitwidth (32 or 64) of that shared object, and providing the 11125 # list of exported symbols of that shared object, eventually 11126 # decorated with the 'weak' keyword 11127 # *) the shared object with the F_LOADONLY flag set, to really avoid 11128 # it being seen by the linker. 11129 # At run time we better use the real file rather than another symlink, 11130 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11131 11132 case $with_aix_soname,$aix_use_runtimelinking in 11133 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11134 # soname into executable. Probably we can add versioning support to 11135 # collect2, so additional links can be useful in future. 11136 aix,yes) # traditional libtool 11137 dynamic_linker='AIX unversionable lib.so' 11138 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11139 # instead of lib<name>.a to let people know that these are not 11140 # typical AIX shared libraries. 11141 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11142 ;; 11143 aix,no) # traditional AIX only 11144 dynamic_linker='AIX lib.a(lib.so.V)' 11145 # We preserve .a as extension for shared libraries through AIX4.2 11146 # and later when we are not doing run time linking. 11147 library_names_spec='$libname$release.a $libname.a' 11148 soname_spec='$libname$release$shared_ext$major' 11149 ;; 11150 svr4,*) # full svr4 only 11151 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11152 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11153 # We do not specify a path in Import Files, so LIBPATH fires. 11154 shlibpath_overrides_runpath=yes 11155 ;; 11156 *,yes) # both, prefer svr4 11157 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11158 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11159 # unpreferred sharedlib libNAME.a needs extra handling 11160 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"' 11161 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"' 11162 # We do not specify a path in Import Files, so LIBPATH fires. 11163 shlibpath_overrides_runpath=yes 11164 ;; 11165 *,no) # both, prefer aix 11166 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11167 library_names_spec='$libname$release.a $libname.a' 11168 soname_spec='$libname$release$shared_ext$major' 11169 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11170 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)' 11171 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"' 11172 ;; 11173 esac 11174 shlibpath_var=LIBPATH 11175 fi 11176 ;; 11177 11178amigaos*) 11179 case $host_cpu in 11180 powerpc) 11181 # Since July 2007 AmigaOS4 officially supports .so libraries. 11182 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11183 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11184 ;; 11185 m68k) 11186 library_names_spec='$libname.ixlibrary $libname.a' 11187 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11188 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' 11189 ;; 11190 esac 11191 ;; 11192 11193beos*) 11194 library_names_spec='$libname$shared_ext' 11195 dynamic_linker="$host_os ld.so" 11196 shlibpath_var=LIBRARY_PATH 11197 ;; 11198 11199bsdi[45]*) 11200 version_type=linux # correct to gnu/linux during the next big refactor 11201 need_version=no 11202 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11203 soname_spec='$libname$release$shared_ext$major' 11204 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11205 shlibpath_var=LD_LIBRARY_PATH 11206 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11207 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11208 # the default ld.so.conf also contains /usr/contrib/lib and 11209 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11210 # libtool to hard-code these into programs 11211 ;; 11212 11213cygwin* | mingw* | pw32* | cegcc*) 11214 version_type=windows 11215 shrext_cmds=.dll 11216 need_version=no 11217 need_lib_prefix=no 11218 11219 case $GCC,$cc_basename in 11220 yes,*) 11221 # gcc 11222 library_names_spec='$libname.dll.a' 11223 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11224 postinstall_cmds='base_file=`basename \$file`~ 11225 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11226 dldir=$destdir/`dirname \$dlpath`~ 11227 test -d \$dldir || mkdir -p \$dldir~ 11228 $install_prog $dir/$dlname \$dldir/$dlname~ 11229 chmod a+x \$dldir/$dlname~ 11230 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11231 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11232 fi' 11233 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11234 dlpath=$dir/\$dldll~ 11235 $RM \$dlpath' 11236 shlibpath_overrides_runpath=yes 11237 11238 case $host_os in 11239 cygwin*) 11240 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11241 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11242 11243 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11244 ;; 11245 mingw* | cegcc*) 11246 # MinGW DLLs use traditional 'lib' prefix 11247 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11248 ;; 11249 pw32*) 11250 # pw32 DLLs use 'pw' prefix rather than 'lib' 11251 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11252 ;; 11253 esac 11254 dynamic_linker='Win32 ld.exe' 11255 ;; 11256 11257 *,cl*) 11258 # Native MSVC 11259 libname_spec='$name' 11260 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11261 library_names_spec='$libname.dll.lib' 11262 11263 case $build_os in 11264 mingw*) 11265 sys_lib_search_path_spec= 11266 lt_save_ifs=$IFS 11267 IFS=';' 11268 for lt_path in $LIB 11269 do 11270 IFS=$lt_save_ifs 11271 # Let DOS variable expansion print the short 8.3 style file name. 11272 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11273 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11274 done 11275 IFS=$lt_save_ifs 11276 # Convert to MSYS style. 11277 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11278 ;; 11279 cygwin*) 11280 # Convert to unix form, then to dos form, then back to unix form 11281 # but this time dos style (no spaces!) so that the unix form looks 11282 # like /cygdrive/c/PROGRA~1:/cygdr... 11283 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11284 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11285 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11286 ;; 11287 *) 11288 sys_lib_search_path_spec=$LIB 11289 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11290 # It is most probably a Windows format PATH. 11291 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11292 else 11293 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11294 fi 11295 # FIXME: find the short name or the path components, as spaces are 11296 # common. (e.g. "Program Files" -> "PROGRA~1") 11297 ;; 11298 esac 11299 11300 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11301 postinstall_cmds='base_file=`basename \$file`~ 11302 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11303 dldir=$destdir/`dirname \$dlpath`~ 11304 test -d \$dldir || mkdir -p \$dldir~ 11305 $install_prog $dir/$dlname \$dldir/$dlname' 11306 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11307 dlpath=$dir/\$dldll~ 11308 $RM \$dlpath' 11309 shlibpath_overrides_runpath=yes 11310 dynamic_linker='Win32 link.exe' 11311 ;; 11312 11313 *) 11314 # Assume MSVC wrapper 11315 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11316 dynamic_linker='Win32 ld.exe' 11317 ;; 11318 esac 11319 # FIXME: first we should search . and the directory the executable is in 11320 shlibpath_var=PATH 11321 ;; 11322 11323darwin* | rhapsody*) 11324 dynamic_linker="$host_os dyld" 11325 version_type=darwin 11326 need_lib_prefix=no 11327 need_version=no 11328 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11329 soname_spec='$libname$release$major$shared_ext' 11330 shlibpath_overrides_runpath=yes 11331 shlibpath_var=DYLD_LIBRARY_PATH 11332 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11333 11334 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11335 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11336 ;; 11337 11338dgux*) 11339 version_type=linux # correct to gnu/linux during the next big refactor 11340 need_lib_prefix=no 11341 need_version=no 11342 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11343 soname_spec='$libname$release$shared_ext$major' 11344 shlibpath_var=LD_LIBRARY_PATH 11345 ;; 11346 11347freebsd* | dragonfly*) 11348 # DragonFly does not have aout. When/if they implement a new 11349 # versioning mechanism, adjust this. 11350 if test -x /usr/bin/objformat; then 11351 objformat=`/usr/bin/objformat` 11352 else 11353 case $host_os in 11354 freebsd[23].*) objformat=aout ;; 11355 *) objformat=elf ;; 11356 esac 11357 fi 11358 version_type=freebsd-$objformat 11359 case $version_type in 11360 freebsd-elf*) 11361 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11362 soname_spec='$libname$release$shared_ext$major' 11363 need_version=no 11364 need_lib_prefix=no 11365 ;; 11366 freebsd-*) 11367 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11368 need_version=yes 11369 ;; 11370 esac 11371 shlibpath_var=LD_LIBRARY_PATH 11372 case $host_os in 11373 freebsd2.*) 11374 shlibpath_overrides_runpath=yes 11375 ;; 11376 freebsd3.[01]* | freebsdelf3.[01]*) 11377 shlibpath_overrides_runpath=yes 11378 hardcode_into_libs=yes 11379 ;; 11380 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11381 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11382 shlibpath_overrides_runpath=no 11383 hardcode_into_libs=yes 11384 ;; 11385 *) # from 4.6 on, and DragonFly 11386 shlibpath_overrides_runpath=yes 11387 hardcode_into_libs=yes 11388 ;; 11389 esac 11390 ;; 11391 11392haiku*) 11393 version_type=linux # correct to gnu/linux during the next big refactor 11394 need_lib_prefix=no 11395 need_version=no 11396 dynamic_linker="$host_os runtime_loader" 11397 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11398 soname_spec='$libname$release$shared_ext$major' 11399 shlibpath_var=LIBRARY_PATH 11400 shlibpath_overrides_runpath=no 11401 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11402 hardcode_into_libs=yes 11403 ;; 11404 11405hpux9* | hpux10* | hpux11*) 11406 # Give a soname corresponding to the major version so that dld.sl refuses to 11407 # link against other versions. 11408 version_type=sunos 11409 need_lib_prefix=no 11410 need_version=no 11411 case $host_cpu in 11412 ia64*) 11413 shrext_cmds='.so' 11414 hardcode_into_libs=yes 11415 dynamic_linker="$host_os dld.so" 11416 shlibpath_var=LD_LIBRARY_PATH 11417 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11418 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11419 soname_spec='$libname$release$shared_ext$major' 11420 if test 32 = "$HPUX_IA64_MODE"; then 11421 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11422 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11423 else 11424 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11425 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11426 fi 11427 ;; 11428 hppa*64*) 11429 shrext_cmds='.sl' 11430 hardcode_into_libs=yes 11431 dynamic_linker="$host_os dld.sl" 11432 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11433 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11434 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11435 soname_spec='$libname$release$shared_ext$major' 11436 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11437 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11438 ;; 11439 *) 11440 shrext_cmds='.sl' 11441 dynamic_linker="$host_os dld.sl" 11442 shlibpath_var=SHLIB_PATH 11443 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11444 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11445 soname_spec='$libname$release$shared_ext$major' 11446 ;; 11447 esac 11448 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11449 postinstall_cmds='chmod 555 $lib' 11450 # or fails outright, so override atomically: 11451 install_override_mode=555 11452 ;; 11453 11454interix[3-9]*) 11455 version_type=linux # correct to gnu/linux during the next big refactor 11456 need_lib_prefix=no 11457 need_version=no 11458 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11459 soname_spec='$libname$release$shared_ext$major' 11460 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11461 shlibpath_var=LD_LIBRARY_PATH 11462 shlibpath_overrides_runpath=no 11463 hardcode_into_libs=yes 11464 ;; 11465 11466irix5* | irix6* | nonstopux*) 11467 case $host_os in 11468 nonstopux*) version_type=nonstopux ;; 11469 *) 11470 if test yes = "$lt_cv_prog_gnu_ld"; then 11471 version_type=linux # correct to gnu/linux during the next big refactor 11472 else 11473 version_type=irix 11474 fi ;; 11475 esac 11476 need_lib_prefix=no 11477 need_version=no 11478 soname_spec='$libname$release$shared_ext$major' 11479 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11480 case $host_os in 11481 irix5* | nonstopux*) 11482 libsuff= shlibsuff= 11483 ;; 11484 *) 11485 case $LD in # libtool.m4 will add one of these switches to LD 11486 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11487 libsuff= shlibsuff= libmagic=32-bit;; 11488 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11489 libsuff=32 shlibsuff=N32 libmagic=N32;; 11490 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11491 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11492 *) libsuff= shlibsuff= libmagic=never-match;; 11493 esac 11494 ;; 11495 esac 11496 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11497 shlibpath_overrides_runpath=no 11498 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11499 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11500 hardcode_into_libs=yes 11501 ;; 11502 11503# No shared lib support for Linux oldld, aout, or coff. 11504linux*oldld* | linux*aout* | linux*coff*) 11505 dynamic_linker=no 11506 ;; 11507 11508linux*android*) 11509 version_type=none # Android doesn't support versioned libraries. 11510 need_lib_prefix=no 11511 need_version=no 11512 library_names_spec='$libname$release$shared_ext' 11513 soname_spec='$libname$release$shared_ext' 11514 finish_cmds= 11515 shlibpath_var=LD_LIBRARY_PATH 11516 shlibpath_overrides_runpath=yes 11517 11518 # This implies no fast_install, which is unacceptable. 11519 # Some rework will be needed to allow for fast_install 11520 # before this can be enabled. 11521 hardcode_into_libs=yes 11522 11523 dynamic_linker='Android linker' 11524 # Don't embed -rpath directories since the linker doesn't support them. 11525 hardcode_libdir_flag_spec='-L$libdir' 11526 ;; 11527 11528# This must be glibc/ELF. 11529linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11530 version_type=linux # correct to gnu/linux during the next big refactor 11531 need_lib_prefix=no 11532 need_version=no 11533 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11534 soname_spec='$libname$release$shared_ext$major' 11535 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11536 shlibpath_var=LD_LIBRARY_PATH 11537 shlibpath_overrides_runpath=no 11538 11539 # Some binutils ld are patched to set DT_RUNPATH 11540 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11541 $as_echo_n "(cached) " >&6 11542else 11543 lt_cv_shlibpath_overrides_runpath=no 11544 save_LDFLAGS=$LDFLAGS 11545 save_libdir=$libdir 11546 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11547 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11549/* end confdefs.h. */ 11550 11551int 11552main () 11553{ 11554 11555 ; 11556 return 0; 11557} 11558_ACEOF 11559if ac_fn_c_try_link "$LINENO"; then : 11560 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11561 lt_cv_shlibpath_overrides_runpath=yes 11562fi 11563fi 11564rm -f core conftest.err conftest.$ac_objext \ 11565 conftest$ac_exeext conftest.$ac_ext 11566 LDFLAGS=$save_LDFLAGS 11567 libdir=$save_libdir 11568 11569fi 11570 11571 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11572 11573 # This implies no fast_install, which is unacceptable. 11574 # Some rework will be needed to allow for fast_install 11575 # before this can be enabled. 11576 hardcode_into_libs=yes 11577 11578 # Ideally, we could use ldconfig to report *all* directores which are 11579 # searched for libraries, however this is still not possible. Aside from not 11580 # being certain /sbin/ldconfig is available, command 11581 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11582 # even though it is searched at run-time. Try to do the best guess by 11583 # appending ld.so.conf contents (and includes) to the search path. 11584 if test -f /etc/ld.so.conf; then 11585 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' ' '` 11586 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11587 fi 11588 11589 # We used to test for /lib/ld.so.1 and disable shared libraries on 11590 # powerpc, because MkLinux only supported shared libraries with the 11591 # GNU dynamic linker. Since this was broken with cross compilers, 11592 # most powerpc-linux boxes support dynamic linking these days and 11593 # people can always --disable-shared, the test was removed, and we 11594 # assume the GNU/Linux dynamic linker is in use. 11595 dynamic_linker='GNU/Linux ld.so' 11596 ;; 11597 11598netbsd*) 11599 version_type=sunos 11600 need_lib_prefix=no 11601 need_version=no 11602 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11603 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11604 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11605 dynamic_linker='NetBSD (a.out) ld.so' 11606 else 11607 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11608 soname_spec='$libname$release$shared_ext$major' 11609 dynamic_linker='NetBSD ld.elf_so' 11610 fi 11611 shlibpath_var=LD_LIBRARY_PATH 11612 shlibpath_overrides_runpath=yes 11613 hardcode_into_libs=yes 11614 ;; 11615 11616newsos6) 11617 version_type=linux # correct to gnu/linux during the next big refactor 11618 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11619 shlibpath_var=LD_LIBRARY_PATH 11620 shlibpath_overrides_runpath=yes 11621 ;; 11622 11623*nto* | *qnx*) 11624 version_type=qnx 11625 need_lib_prefix=no 11626 need_version=no 11627 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11628 soname_spec='$libname$release$shared_ext$major' 11629 shlibpath_var=LD_LIBRARY_PATH 11630 shlibpath_overrides_runpath=no 11631 hardcode_into_libs=yes 11632 dynamic_linker='ldqnx.so' 11633 ;; 11634 11635openbsd* | bitrig*) 11636 version_type=sunos 11637 sys_lib_dlsearch_path_spec=/usr/lib 11638 need_lib_prefix=no 11639 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11640 need_version=no 11641 else 11642 need_version=yes 11643 fi 11644 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11645 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11646 shlibpath_var=LD_LIBRARY_PATH 11647 shlibpath_overrides_runpath=yes 11648 ;; 11649 11650os2*) 11651 libname_spec='$name' 11652 version_type=windows 11653 shrext_cmds=.dll 11654 need_version=no 11655 need_lib_prefix=no 11656 # OS/2 can only load a DLL with a base name of 8 characters or less. 11657 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11658 v=$($ECHO $release$versuffix | tr -d .-); 11659 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11660 $ECHO $n$v`$shared_ext' 11661 library_names_spec='${libname}_dll.$libext' 11662 dynamic_linker='OS/2 ld.exe' 11663 shlibpath_var=BEGINLIBPATH 11664 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11665 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11666 postinstall_cmds='base_file=`basename \$file`~ 11667 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11668 dldir=$destdir/`dirname \$dlpath`~ 11669 test -d \$dldir || mkdir -p \$dldir~ 11670 $install_prog $dir/$dlname \$dldir/$dlname~ 11671 chmod a+x \$dldir/$dlname~ 11672 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11673 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11674 fi' 11675 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11676 dlpath=$dir/\$dldll~ 11677 $RM \$dlpath' 11678 ;; 11679 11680osf3* | osf4* | osf5*) 11681 version_type=osf 11682 need_lib_prefix=no 11683 need_version=no 11684 soname_spec='$libname$release$shared_ext$major' 11685 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11686 shlibpath_var=LD_LIBRARY_PATH 11687 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11688 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11689 ;; 11690 11691rdos*) 11692 dynamic_linker=no 11693 ;; 11694 11695solaris*) 11696 version_type=linux # correct to gnu/linux during the next big refactor 11697 need_lib_prefix=no 11698 need_version=no 11699 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11700 soname_spec='$libname$release$shared_ext$major' 11701 shlibpath_var=LD_LIBRARY_PATH 11702 shlibpath_overrides_runpath=yes 11703 hardcode_into_libs=yes 11704 # ldd complains unless libraries are executable 11705 postinstall_cmds='chmod +x $lib' 11706 ;; 11707 11708sunos4*) 11709 version_type=sunos 11710 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11711 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11712 shlibpath_var=LD_LIBRARY_PATH 11713 shlibpath_overrides_runpath=yes 11714 if test yes = "$with_gnu_ld"; then 11715 need_lib_prefix=no 11716 fi 11717 need_version=yes 11718 ;; 11719 11720sysv4 | sysv4.3*) 11721 version_type=linux # correct to gnu/linux during the next big refactor 11722 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11723 soname_spec='$libname$release$shared_ext$major' 11724 shlibpath_var=LD_LIBRARY_PATH 11725 case $host_vendor in 11726 sni) 11727 shlibpath_overrides_runpath=no 11728 need_lib_prefix=no 11729 runpath_var=LD_RUN_PATH 11730 ;; 11731 siemens) 11732 need_lib_prefix=no 11733 ;; 11734 motorola) 11735 need_lib_prefix=no 11736 need_version=no 11737 shlibpath_overrides_runpath=no 11738 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11739 ;; 11740 esac 11741 ;; 11742 11743sysv4*MP*) 11744 if test -d /usr/nec; then 11745 version_type=linux # correct to gnu/linux during the next big refactor 11746 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11747 soname_spec='$libname$shared_ext.$major' 11748 shlibpath_var=LD_LIBRARY_PATH 11749 fi 11750 ;; 11751 11752sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11753 version_type=sco 11754 need_lib_prefix=no 11755 need_version=no 11756 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11757 soname_spec='$libname$release$shared_ext$major' 11758 shlibpath_var=LD_LIBRARY_PATH 11759 shlibpath_overrides_runpath=yes 11760 hardcode_into_libs=yes 11761 if test yes = "$with_gnu_ld"; then 11762 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11763 else 11764 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11765 case $host_os in 11766 sco3.2v5*) 11767 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11768 ;; 11769 esac 11770 fi 11771 sys_lib_dlsearch_path_spec='/usr/lib' 11772 ;; 11773 11774tpf*) 11775 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11776 version_type=linux # correct to gnu/linux during the next big refactor 11777 need_lib_prefix=no 11778 need_version=no 11779 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11780 shlibpath_var=LD_LIBRARY_PATH 11781 shlibpath_overrides_runpath=no 11782 hardcode_into_libs=yes 11783 ;; 11784 11785uts4*) 11786 version_type=linux # correct to gnu/linux during the next big refactor 11787 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11788 soname_spec='$libname$release$shared_ext$major' 11789 shlibpath_var=LD_LIBRARY_PATH 11790 ;; 11791 11792*) 11793 dynamic_linker=no 11794 ;; 11795esac 11796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11797$as_echo "$dynamic_linker" >&6; } 11798test no = "$dynamic_linker" && can_build_shared=no 11799 11800variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11801if test yes = "$GCC"; then 11802 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11803fi 11804 11805if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11806 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11807fi 11808 11809if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11810 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11811fi 11812 11813# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11814configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11815 11816# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11817func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11818 11819# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11820configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11919$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11920hardcode_action= 11921if test -n "$hardcode_libdir_flag_spec" || 11922 test -n "$runpath_var" || 11923 test yes = "$hardcode_automatic"; then 11924 11925 # We can hardcode non-existent directories. 11926 if test no != "$hardcode_direct" && 11927 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11928 # have to relink, otherwise we might link with an installed library 11929 # when we should be linking with a yet-to-be-installed one 11930 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11931 test no != "$hardcode_minus_L"; then 11932 # Linking always hardcodes the temporary library directory. 11933 hardcode_action=relink 11934 else 11935 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11936 hardcode_action=immediate 11937 fi 11938else 11939 # We cannot hardcode anything, or else we can only hardcode existing 11940 # directories. 11941 hardcode_action=unsupported 11942fi 11943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11944$as_echo "$hardcode_action" >&6; } 11945 11946if test relink = "$hardcode_action" || 11947 test yes = "$inherit_rpath"; then 11948 # Fast installation is not supported 11949 enable_fast_install=no 11950elif test yes = "$shlibpath_overrides_runpath" || 11951 test no = "$enable_shared"; then 11952 # Fast installation is not necessary 11953 enable_fast_install=needless 11954fi 11955 11956 11957 11958 11959 11960 11961 if test yes != "$enable_dlopen"; then 11962 enable_dlopen=unknown 11963 enable_dlopen_self=unknown 11964 enable_dlopen_self_static=unknown 11965else 11966 lt_cv_dlopen=no 11967 lt_cv_dlopen_libs= 11968 11969 case $host_os in 11970 beos*) 11971 lt_cv_dlopen=load_add_on 11972 lt_cv_dlopen_libs= 11973 lt_cv_dlopen_self=yes 11974 ;; 11975 11976 mingw* | pw32* | cegcc*) 11977 lt_cv_dlopen=LoadLibrary 11978 lt_cv_dlopen_libs= 11979 ;; 11980 11981 cygwin*) 11982 lt_cv_dlopen=dlopen 11983 lt_cv_dlopen_libs= 11984 ;; 11985 11986 darwin*) 11987 # if libdl is installed we need to link against it 11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11989$as_echo_n "checking for dlopen in -ldl... " >&6; } 11990if ${ac_cv_lib_dl_dlopen+:} false; then : 11991 $as_echo_n "(cached) " >&6 11992else 11993 ac_check_lib_save_LIBS=$LIBS 11994LIBS="-ldl $LIBS" 11995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11996/* end confdefs.h. */ 11997 11998/* Override any GCC internal prototype to avoid an error. 11999 Use char because int might match the return type of a GCC 12000 builtin and then its argument prototype would still apply. */ 12001#ifdef __cplusplus 12002extern "C" 12003#endif 12004char dlopen (); 12005int 12006main () 12007{ 12008return dlopen (); 12009 ; 12010 return 0; 12011} 12012_ACEOF 12013if ac_fn_c_try_link "$LINENO"; then : 12014 ac_cv_lib_dl_dlopen=yes 12015else 12016 ac_cv_lib_dl_dlopen=no 12017fi 12018rm -f core conftest.err conftest.$ac_objext \ 12019 conftest$ac_exeext conftest.$ac_ext 12020LIBS=$ac_check_lib_save_LIBS 12021fi 12022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12023$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12024if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12025 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12026else 12027 12028 lt_cv_dlopen=dyld 12029 lt_cv_dlopen_libs= 12030 lt_cv_dlopen_self=yes 12031 12032fi 12033 12034 ;; 12035 12036 tpf*) 12037 # Don't try to run any link tests for TPF. We know it's impossible 12038 # because TPF is a cross-compiler, and we know how we open DSOs. 12039 lt_cv_dlopen=dlopen 12040 lt_cv_dlopen_libs= 12041 lt_cv_dlopen_self=no 12042 ;; 12043 12044 *) 12045 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12046if test "x$ac_cv_func_shl_load" = xyes; then : 12047 lt_cv_dlopen=shl_load 12048else 12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12050$as_echo_n "checking for shl_load in -ldld... " >&6; } 12051if ${ac_cv_lib_dld_shl_load+:} false; then : 12052 $as_echo_n "(cached) " >&6 12053else 12054 ac_check_lib_save_LIBS=$LIBS 12055LIBS="-ldld $LIBS" 12056cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12057/* end confdefs.h. */ 12058 12059/* Override any GCC internal prototype to avoid an error. 12060 Use char because int might match the return type of a GCC 12061 builtin and then its argument prototype would still apply. */ 12062#ifdef __cplusplus 12063extern "C" 12064#endif 12065char shl_load (); 12066int 12067main () 12068{ 12069return shl_load (); 12070 ; 12071 return 0; 12072} 12073_ACEOF 12074if ac_fn_c_try_link "$LINENO"; then : 12075 ac_cv_lib_dld_shl_load=yes 12076else 12077 ac_cv_lib_dld_shl_load=no 12078fi 12079rm -f core conftest.err conftest.$ac_objext \ 12080 conftest$ac_exeext conftest.$ac_ext 12081LIBS=$ac_check_lib_save_LIBS 12082fi 12083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12084$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12085if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12086 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12087else 12088 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12089if test "x$ac_cv_func_dlopen" = xyes; then : 12090 lt_cv_dlopen=dlopen 12091else 12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12093$as_echo_n "checking for dlopen in -ldl... " >&6; } 12094if ${ac_cv_lib_dl_dlopen+:} false; then : 12095 $as_echo_n "(cached) " >&6 12096else 12097 ac_check_lib_save_LIBS=$LIBS 12098LIBS="-ldl $LIBS" 12099cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12100/* end confdefs.h. */ 12101 12102/* Override any GCC internal prototype to avoid an error. 12103 Use char because int might match the return type of a GCC 12104 builtin and then its argument prototype would still apply. */ 12105#ifdef __cplusplus 12106extern "C" 12107#endif 12108char dlopen (); 12109int 12110main () 12111{ 12112return dlopen (); 12113 ; 12114 return 0; 12115} 12116_ACEOF 12117if ac_fn_c_try_link "$LINENO"; then : 12118 ac_cv_lib_dl_dlopen=yes 12119else 12120 ac_cv_lib_dl_dlopen=no 12121fi 12122rm -f core conftest.err conftest.$ac_objext \ 12123 conftest$ac_exeext conftest.$ac_ext 12124LIBS=$ac_check_lib_save_LIBS 12125fi 12126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12127$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12128if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12129 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12130else 12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12132$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12133if ${ac_cv_lib_svld_dlopen+:} false; then : 12134 $as_echo_n "(cached) " >&6 12135else 12136 ac_check_lib_save_LIBS=$LIBS 12137LIBS="-lsvld $LIBS" 12138cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12139/* end confdefs.h. */ 12140 12141/* Override any GCC internal prototype to avoid an error. 12142 Use char because int might match the return type of a GCC 12143 builtin and then its argument prototype would still apply. */ 12144#ifdef __cplusplus 12145extern "C" 12146#endif 12147char dlopen (); 12148int 12149main () 12150{ 12151return dlopen (); 12152 ; 12153 return 0; 12154} 12155_ACEOF 12156if ac_fn_c_try_link "$LINENO"; then : 12157 ac_cv_lib_svld_dlopen=yes 12158else 12159 ac_cv_lib_svld_dlopen=no 12160fi 12161rm -f core conftest.err conftest.$ac_objext \ 12162 conftest$ac_exeext conftest.$ac_ext 12163LIBS=$ac_check_lib_save_LIBS 12164fi 12165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12166$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12167if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12168 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12169else 12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12171$as_echo_n "checking for dld_link in -ldld... " >&6; } 12172if ${ac_cv_lib_dld_dld_link+:} false; then : 12173 $as_echo_n "(cached) " >&6 12174else 12175 ac_check_lib_save_LIBS=$LIBS 12176LIBS="-ldld $LIBS" 12177cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12178/* end confdefs.h. */ 12179 12180/* Override any GCC internal prototype to avoid an error. 12181 Use char because int might match the return type of a GCC 12182 builtin and then its argument prototype would still apply. */ 12183#ifdef __cplusplus 12184extern "C" 12185#endif 12186char dld_link (); 12187int 12188main () 12189{ 12190return dld_link (); 12191 ; 12192 return 0; 12193} 12194_ACEOF 12195if ac_fn_c_try_link "$LINENO"; then : 12196 ac_cv_lib_dld_dld_link=yes 12197else 12198 ac_cv_lib_dld_dld_link=no 12199fi 12200rm -f core conftest.err conftest.$ac_objext \ 12201 conftest$ac_exeext conftest.$ac_ext 12202LIBS=$ac_check_lib_save_LIBS 12203fi 12204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12205$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12206if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12207 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12208fi 12209 12210 12211fi 12212 12213 12214fi 12215 12216 12217fi 12218 12219 12220fi 12221 12222 12223fi 12224 12225 ;; 12226 esac 12227 12228 if test no = "$lt_cv_dlopen"; then 12229 enable_dlopen=no 12230 else 12231 enable_dlopen=yes 12232 fi 12233 12234 case $lt_cv_dlopen in 12235 dlopen) 12236 save_CPPFLAGS=$CPPFLAGS 12237 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12238 12239 save_LDFLAGS=$LDFLAGS 12240 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12241 12242 save_LIBS=$LIBS 12243 LIBS="$lt_cv_dlopen_libs $LIBS" 12244 12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12246$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12247if ${lt_cv_dlopen_self+:} false; then : 12248 $as_echo_n "(cached) " >&6 12249else 12250 if test yes = "$cross_compiling"; then : 12251 lt_cv_dlopen_self=cross 12252else 12253 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12254 lt_status=$lt_dlunknown 12255 cat > conftest.$ac_ext <<_LT_EOF 12256#line $LINENO "configure" 12257#include "confdefs.h" 12258 12259#if HAVE_DLFCN_H 12260#include <dlfcn.h> 12261#endif 12262 12263#include <stdio.h> 12264 12265#ifdef RTLD_GLOBAL 12266# define LT_DLGLOBAL RTLD_GLOBAL 12267#else 12268# ifdef DL_GLOBAL 12269# define LT_DLGLOBAL DL_GLOBAL 12270# else 12271# define LT_DLGLOBAL 0 12272# endif 12273#endif 12274 12275/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12276 find out it does not work in some platform. */ 12277#ifndef LT_DLLAZY_OR_NOW 12278# ifdef RTLD_LAZY 12279# define LT_DLLAZY_OR_NOW RTLD_LAZY 12280# else 12281# ifdef DL_LAZY 12282# define LT_DLLAZY_OR_NOW DL_LAZY 12283# else 12284# ifdef RTLD_NOW 12285# define LT_DLLAZY_OR_NOW RTLD_NOW 12286# else 12287# ifdef DL_NOW 12288# define LT_DLLAZY_OR_NOW DL_NOW 12289# else 12290# define LT_DLLAZY_OR_NOW 0 12291# endif 12292# endif 12293# endif 12294# endif 12295#endif 12296 12297/* When -fvisibility=hidden is used, assume the code has been annotated 12298 correspondingly for the symbols needed. */ 12299#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12300int fnord () __attribute__((visibility("default"))); 12301#endif 12302 12303int fnord () { return 42; } 12304int main () 12305{ 12306 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12307 int status = $lt_dlunknown; 12308 12309 if (self) 12310 { 12311 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12312 else 12313 { 12314 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12315 else puts (dlerror ()); 12316 } 12317 /* dlclose (self); */ 12318 } 12319 else 12320 puts (dlerror ()); 12321 12322 return status; 12323} 12324_LT_EOF 12325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12326 (eval $ac_link) 2>&5 12327 ac_status=$? 12328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12329 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12330 (./conftest; exit; ) >&5 2>/dev/null 12331 lt_status=$? 12332 case x$lt_status in 12333 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12334 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12335 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12336 esac 12337 else : 12338 # compilation failed 12339 lt_cv_dlopen_self=no 12340 fi 12341fi 12342rm -fr conftest* 12343 12344 12345fi 12346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12347$as_echo "$lt_cv_dlopen_self" >&6; } 12348 12349 if test yes = "$lt_cv_dlopen_self"; then 12350 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12352$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12353if ${lt_cv_dlopen_self_static+:} false; then : 12354 $as_echo_n "(cached) " >&6 12355else 12356 if test yes = "$cross_compiling"; then : 12357 lt_cv_dlopen_self_static=cross 12358else 12359 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12360 lt_status=$lt_dlunknown 12361 cat > conftest.$ac_ext <<_LT_EOF 12362#line $LINENO "configure" 12363#include "confdefs.h" 12364 12365#if HAVE_DLFCN_H 12366#include <dlfcn.h> 12367#endif 12368 12369#include <stdio.h> 12370 12371#ifdef RTLD_GLOBAL 12372# define LT_DLGLOBAL RTLD_GLOBAL 12373#else 12374# ifdef DL_GLOBAL 12375# define LT_DLGLOBAL DL_GLOBAL 12376# else 12377# define LT_DLGLOBAL 0 12378# endif 12379#endif 12380 12381/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12382 find out it does not work in some platform. */ 12383#ifndef LT_DLLAZY_OR_NOW 12384# ifdef RTLD_LAZY 12385# define LT_DLLAZY_OR_NOW RTLD_LAZY 12386# else 12387# ifdef DL_LAZY 12388# define LT_DLLAZY_OR_NOW DL_LAZY 12389# else 12390# ifdef RTLD_NOW 12391# define LT_DLLAZY_OR_NOW RTLD_NOW 12392# else 12393# ifdef DL_NOW 12394# define LT_DLLAZY_OR_NOW DL_NOW 12395# else 12396# define LT_DLLAZY_OR_NOW 0 12397# endif 12398# endif 12399# endif 12400# endif 12401#endif 12402 12403/* When -fvisibility=hidden is used, assume the code has been annotated 12404 correspondingly for the symbols needed. */ 12405#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12406int fnord () __attribute__((visibility("default"))); 12407#endif 12408 12409int fnord () { return 42; } 12410int main () 12411{ 12412 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12413 int status = $lt_dlunknown; 12414 12415 if (self) 12416 { 12417 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12418 else 12419 { 12420 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12421 else puts (dlerror ()); 12422 } 12423 /* dlclose (self); */ 12424 } 12425 else 12426 puts (dlerror ()); 12427 12428 return status; 12429} 12430_LT_EOF 12431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12432 (eval $ac_link) 2>&5 12433 ac_status=$? 12434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12435 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12436 (./conftest; exit; ) >&5 2>/dev/null 12437 lt_status=$? 12438 case x$lt_status in 12439 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12440 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12441 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12442 esac 12443 else : 12444 # compilation failed 12445 lt_cv_dlopen_self_static=no 12446 fi 12447fi 12448rm -fr conftest* 12449 12450 12451fi 12452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12453$as_echo "$lt_cv_dlopen_self_static" >&6; } 12454 fi 12455 12456 CPPFLAGS=$save_CPPFLAGS 12457 LDFLAGS=$save_LDFLAGS 12458 LIBS=$save_LIBS 12459 ;; 12460 esac 12461 12462 case $lt_cv_dlopen_self in 12463 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12464 *) enable_dlopen_self=unknown ;; 12465 esac 12466 12467 case $lt_cv_dlopen_self_static in 12468 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12469 *) enable_dlopen_self_static=unknown ;; 12470 esac 12471fi 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489striplib= 12490old_striplib= 12491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12492$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12493if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12494 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12495 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12497$as_echo "yes" >&6; } 12498else 12499# FIXME - insert some real tests, host_os isn't really good enough 12500 case $host_os in 12501 darwin*) 12502 if test -n "$STRIP"; then 12503 striplib="$STRIP -x" 12504 old_striplib="$STRIP -S" 12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12506$as_echo "yes" >&6; } 12507 else 12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12509$as_echo "no" >&6; } 12510 fi 12511 ;; 12512 *) 12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12514$as_echo "no" >&6; } 12515 ;; 12516 esac 12517fi 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 # Report what library types will actually be built 12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12532$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12534$as_echo "$can_build_shared" >&6; } 12535 12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12537$as_echo_n "checking whether to build shared libraries... " >&6; } 12538 test no = "$can_build_shared" && enable_shared=no 12539 12540 # On AIX, shared libraries and static libraries use the same namespace, and 12541 # are all built from PIC. 12542 case $host_os in 12543 aix3*) 12544 test yes = "$enable_shared" && enable_static=no 12545 if test -n "$RANLIB"; then 12546 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12547 postinstall_cmds='$RANLIB $lib' 12548 fi 12549 ;; 12550 12551 aix[4-9]*) 12552 if test ia64 != "$host_cpu"; then 12553 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12554 yes,aix,yes) ;; # shared object as lib.so file only 12555 yes,svr4,*) ;; # shared object as lib.so archive member only 12556 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12557 esac 12558 fi 12559 ;; 12560 esac 12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12562$as_echo "$enable_shared" >&6; } 12563 12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12565$as_echo_n "checking whether to build static libraries... " >&6; } 12566 # Make sure either enable_shared or enable_static is yes. 12567 test yes = "$enable_shared" || enable_static=yes 12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12569$as_echo "$enable_static" >&6; } 12570 12571 12572 12573 12574fi 12575ac_ext=c 12576ac_cpp='$CPP $CPPFLAGS' 12577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12579ac_compiler_gnu=$ac_cv_c_compiler_gnu 12580 12581CC=$lt_save_CC 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 ac_config_commands="$ac_config_commands libtool" 12598 12599 12600 12601 12602# Only expand once: 12603 12604 12605# Check whether --enable-largefile was given. 12606if test "${enable_largefile+set}" = set; then : 12607 enableval=$enable_largefile; 12608fi 12609 12610if test "$enable_largefile" != no; then 12611 12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 12613$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 12614if ${ac_cv_sys_largefile_CC+:} false; then : 12615 $as_echo_n "(cached) " >&6 12616else 12617 ac_cv_sys_largefile_CC=no 12618 if test "$GCC" != yes; then 12619 ac_save_CC=$CC 12620 while :; do 12621 # IRIX 6.2 and later do not support large files by default, 12622 # so use the C compiler's -n32 option if that helps. 12623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12624/* end confdefs.h. */ 12625#include <sys/types.h> 12626 /* Check that off_t can represent 2**63 - 1 correctly. 12627 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12628 since some C++ compilers masquerading as C compilers 12629 incorrectly reject 9223372036854775807. */ 12630#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12631 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12632 && LARGE_OFF_T % 2147483647 == 1) 12633 ? 1 : -1]; 12634int 12635main () 12636{ 12637 12638 ; 12639 return 0; 12640} 12641_ACEOF 12642 if ac_fn_c_try_compile "$LINENO"; then : 12643 break 12644fi 12645rm -f core conftest.err conftest.$ac_objext 12646 CC="$CC -n32" 12647 if ac_fn_c_try_compile "$LINENO"; then : 12648 ac_cv_sys_largefile_CC=' -n32'; break 12649fi 12650rm -f core conftest.err conftest.$ac_objext 12651 break 12652 done 12653 CC=$ac_save_CC 12654 rm -f conftest.$ac_ext 12655 fi 12656fi 12657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 12658$as_echo "$ac_cv_sys_largefile_CC" >&6; } 12659 if test "$ac_cv_sys_largefile_CC" != no; then 12660 CC=$CC$ac_cv_sys_largefile_CC 12661 fi 12662 12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 12664$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 12665if ${ac_cv_sys_file_offset_bits+:} false; then : 12666 $as_echo_n "(cached) " >&6 12667else 12668 while :; do 12669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12670/* end confdefs.h. */ 12671#include <sys/types.h> 12672 /* Check that off_t can represent 2**63 - 1 correctly. 12673 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12674 since some C++ compilers masquerading as C compilers 12675 incorrectly reject 9223372036854775807. */ 12676#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12677 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12678 && LARGE_OFF_T % 2147483647 == 1) 12679 ? 1 : -1]; 12680int 12681main () 12682{ 12683 12684 ; 12685 return 0; 12686} 12687_ACEOF 12688if ac_fn_c_try_compile "$LINENO"; then : 12689 ac_cv_sys_file_offset_bits=no; break 12690fi 12691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12693/* end confdefs.h. */ 12694#define _FILE_OFFSET_BITS 64 12695#include <sys/types.h> 12696 /* Check that off_t can represent 2**63 - 1 correctly. 12697 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12698 since some C++ compilers masquerading as C compilers 12699 incorrectly reject 9223372036854775807. */ 12700#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12701 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12702 && LARGE_OFF_T % 2147483647 == 1) 12703 ? 1 : -1]; 12704int 12705main () 12706{ 12707 12708 ; 12709 return 0; 12710} 12711_ACEOF 12712if ac_fn_c_try_compile "$LINENO"; then : 12713 ac_cv_sys_file_offset_bits=64; break 12714fi 12715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12716 ac_cv_sys_file_offset_bits=unknown 12717 break 12718done 12719fi 12720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 12721$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 12722case $ac_cv_sys_file_offset_bits in #( 12723 no | unknown) ;; 12724 *) 12725cat >>confdefs.h <<_ACEOF 12726#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 12727_ACEOF 12728;; 12729esac 12730rm -rf conftest* 12731 if test $ac_cv_sys_file_offset_bits = unknown; then 12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 12733$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 12734if ${ac_cv_sys_large_files+:} false; then : 12735 $as_echo_n "(cached) " >&6 12736else 12737 while :; do 12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12739/* end confdefs.h. */ 12740#include <sys/types.h> 12741 /* Check that off_t can represent 2**63 - 1 correctly. 12742 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12743 since some C++ compilers masquerading as C compilers 12744 incorrectly reject 9223372036854775807. */ 12745#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12747 && LARGE_OFF_T % 2147483647 == 1) 12748 ? 1 : -1]; 12749int 12750main () 12751{ 12752 12753 ; 12754 return 0; 12755} 12756_ACEOF 12757if ac_fn_c_try_compile "$LINENO"; then : 12758 ac_cv_sys_large_files=no; break 12759fi 12760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12762/* end confdefs.h. */ 12763#define _LARGE_FILES 1 12764#include <sys/types.h> 12765 /* Check that off_t can represent 2**63 - 1 correctly. 12766 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12767 since some C++ compilers masquerading as C compilers 12768 incorrectly reject 9223372036854775807. */ 12769#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12770 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12771 && LARGE_OFF_T % 2147483647 == 1) 12772 ? 1 : -1]; 12773int 12774main () 12775{ 12776 12777 ; 12778 return 0; 12779} 12780_ACEOF 12781if ac_fn_c_try_compile "$LINENO"; then : 12782 ac_cv_sys_large_files=1; break 12783fi 12784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12785 ac_cv_sys_large_files=unknown 12786 break 12787done 12788fi 12789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 12790$as_echo "$ac_cv_sys_large_files" >&6; } 12791case $ac_cv_sys_large_files in #( 12792 no | unknown) ;; 12793 *) 12794cat >>confdefs.h <<_ACEOF 12795#define _LARGE_FILES $ac_cv_sys_large_files 12796_ACEOF 12797;; 12798esac 12799rm -rf conftest* 12800 fi 12801 12802 12803fi 12804 12805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 12806$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 12807if ${ac_cv_sys_largefile_source+:} false; then : 12808 $as_echo_n "(cached) " >&6 12809else 12810 while :; do 12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12812/* end confdefs.h. */ 12813#include <sys/types.h> /* for off_t */ 12814 #include <stdio.h> 12815int 12816main () 12817{ 12818int (*fp) (FILE *, off_t, int) = fseeko; 12819 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 12820 ; 12821 return 0; 12822} 12823_ACEOF 12824if ac_fn_c_try_link "$LINENO"; then : 12825 ac_cv_sys_largefile_source=no; break 12826fi 12827rm -f core conftest.err conftest.$ac_objext \ 12828 conftest$ac_exeext conftest.$ac_ext 12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12830/* end confdefs.h. */ 12831#define _LARGEFILE_SOURCE 1 12832#include <sys/types.h> /* for off_t */ 12833 #include <stdio.h> 12834int 12835main () 12836{ 12837int (*fp) (FILE *, off_t, int) = fseeko; 12838 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 12839 ; 12840 return 0; 12841} 12842_ACEOF 12843if ac_fn_c_try_link "$LINENO"; then : 12844 ac_cv_sys_largefile_source=1; break 12845fi 12846rm -f core conftest.err conftest.$ac_objext \ 12847 conftest$ac_exeext conftest.$ac_ext 12848 ac_cv_sys_largefile_source=unknown 12849 break 12850done 12851fi 12852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 12853$as_echo "$ac_cv_sys_largefile_source" >&6; } 12854case $ac_cv_sys_largefile_source in #( 12855 no | unknown) ;; 12856 *) 12857cat >>confdefs.h <<_ACEOF 12858#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 12859_ACEOF 12860;; 12861esac 12862rm -rf conftest* 12863 12864# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 12865# in glibc 2.1.3, but that breaks too many other things. 12866# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 12867if test $ac_cv_sys_largefile_source != unknown; then 12868 12869$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h 12870 12871fi 12872 12873ac_header_dirent=no 12874for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 12875 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 12876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 12877$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 12878if eval \${$as_ac_Header+:} false; then : 12879 $as_echo_n "(cached) " >&6 12880else 12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12882/* end confdefs.h. */ 12883#include <sys/types.h> 12884#include <$ac_hdr> 12885 12886int 12887main () 12888{ 12889if ((DIR *) 0) 12890return 0; 12891 ; 12892 return 0; 12893} 12894_ACEOF 12895if ac_fn_c_try_compile "$LINENO"; then : 12896 eval "$as_ac_Header=yes" 12897else 12898 eval "$as_ac_Header=no" 12899fi 12900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12901fi 12902eval ac_res=\$$as_ac_Header 12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 12904$as_echo "$ac_res" >&6; } 12905if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12906 cat >>confdefs.h <<_ACEOF 12907#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 12908_ACEOF 12909 12910ac_header_dirent=$ac_hdr; break 12911fi 12912 12913done 12914# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 12915if test $ac_header_dirent = dirent.h; then 12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 12917$as_echo_n "checking for library containing opendir... " >&6; } 12918if ${ac_cv_search_opendir+:} false; then : 12919 $as_echo_n "(cached) " >&6 12920else 12921 ac_func_search_save_LIBS=$LIBS 12922cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12923/* end confdefs.h. */ 12924 12925/* Override any GCC internal prototype to avoid an error. 12926 Use char because int might match the return type of a GCC 12927 builtin and then its argument prototype would still apply. */ 12928#ifdef __cplusplus 12929extern "C" 12930#endif 12931char opendir (); 12932int 12933main () 12934{ 12935return opendir (); 12936 ; 12937 return 0; 12938} 12939_ACEOF 12940for ac_lib in '' dir; do 12941 if test -z "$ac_lib"; then 12942 ac_res="none required" 12943 else 12944 ac_res=-l$ac_lib 12945 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12946 fi 12947 if ac_fn_c_try_link "$LINENO"; then : 12948 ac_cv_search_opendir=$ac_res 12949fi 12950rm -f core conftest.err conftest.$ac_objext \ 12951 conftest$ac_exeext 12952 if ${ac_cv_search_opendir+:} false; then : 12953 break 12954fi 12955done 12956if ${ac_cv_search_opendir+:} false; then : 12957 12958else 12959 ac_cv_search_opendir=no 12960fi 12961rm conftest.$ac_ext 12962LIBS=$ac_func_search_save_LIBS 12963fi 12964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 12965$as_echo "$ac_cv_search_opendir" >&6; } 12966ac_res=$ac_cv_search_opendir 12967if test "$ac_res" != no; then : 12968 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12969 12970fi 12971 12972else 12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 12974$as_echo_n "checking for library containing opendir... " >&6; } 12975if ${ac_cv_search_opendir+:} false; then : 12976 $as_echo_n "(cached) " >&6 12977else 12978 ac_func_search_save_LIBS=$LIBS 12979cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12980/* end confdefs.h. */ 12981 12982/* Override any GCC internal prototype to avoid an error. 12983 Use char because int might match the return type of a GCC 12984 builtin and then its argument prototype would still apply. */ 12985#ifdef __cplusplus 12986extern "C" 12987#endif 12988char opendir (); 12989int 12990main () 12991{ 12992return opendir (); 12993 ; 12994 return 0; 12995} 12996_ACEOF 12997for ac_lib in '' x; do 12998 if test -z "$ac_lib"; then 12999 ac_res="none required" 13000 else 13001 ac_res=-l$ac_lib 13002 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13003 fi 13004 if ac_fn_c_try_link "$LINENO"; then : 13005 ac_cv_search_opendir=$ac_res 13006fi 13007rm -f core conftest.err conftest.$ac_objext \ 13008 conftest$ac_exeext 13009 if ${ac_cv_search_opendir+:} false; then : 13010 break 13011fi 13012done 13013if ${ac_cv_search_opendir+:} false; then : 13014 13015else 13016 ac_cv_search_opendir=no 13017fi 13018rm conftest.$ac_ext 13019LIBS=$ac_func_search_save_LIBS 13020fi 13021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13022$as_echo "$ac_cv_search_opendir" >&6; } 13023ac_res=$ac_cv_search_opendir 13024if test "$ac_res" != no; then : 13025 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13026 13027fi 13028 13029fi 13030 13031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13032$as_echo_n "checking for ANSI C header files... " >&6; } 13033if ${ac_cv_header_stdc+:} false; then : 13034 $as_echo_n "(cached) " >&6 13035else 13036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13037/* end confdefs.h. */ 13038#include <stdlib.h> 13039#include <stdarg.h> 13040#include <string.h> 13041#include <float.h> 13042 13043int 13044main () 13045{ 13046 13047 ; 13048 return 0; 13049} 13050_ACEOF 13051if ac_fn_c_try_compile "$LINENO"; then : 13052 ac_cv_header_stdc=yes 13053else 13054 ac_cv_header_stdc=no 13055fi 13056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13057 13058if test $ac_cv_header_stdc = yes; then 13059 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13061/* end confdefs.h. */ 13062#include <string.h> 13063 13064_ACEOF 13065if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13066 $EGREP "memchr" >/dev/null 2>&1; then : 13067 13068else 13069 ac_cv_header_stdc=no 13070fi 13071rm -f conftest* 13072 13073fi 13074 13075if test $ac_cv_header_stdc = yes; then 13076 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13078/* end confdefs.h. */ 13079#include <stdlib.h> 13080 13081_ACEOF 13082if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13083 $EGREP "free" >/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 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13094 if test "$cross_compiling" = yes; then : 13095 : 13096else 13097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13098/* end confdefs.h. */ 13099#include <ctype.h> 13100#include <stdlib.h> 13101#if ((' ' & 0x0FF) == 0x020) 13102# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13103# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13104#else 13105# define ISLOWER(c) \ 13106 (('a' <= (c) && (c) <= 'i') \ 13107 || ('j' <= (c) && (c) <= 'r') \ 13108 || ('s' <= (c) && (c) <= 'z')) 13109# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13110#endif 13111 13112#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13113int 13114main () 13115{ 13116 int i; 13117 for (i = 0; i < 256; i++) 13118 if (XOR (islower (i), ISLOWER (i)) 13119 || toupper (i) != TOUPPER (i)) 13120 return 2; 13121 return 0; 13122} 13123_ACEOF 13124if ac_fn_c_try_run "$LINENO"; then : 13125 13126else 13127 ac_cv_header_stdc=no 13128fi 13129rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13130 conftest.$ac_objext conftest.beam conftest.$ac_ext 13131fi 13132 13133fi 13134fi 13135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13136$as_echo "$ac_cv_header_stdc" >&6; } 13137if test $ac_cv_header_stdc = yes; then 13138 13139$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13140 13141fi 13142 13143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5 13144$as_echo_n "checking whether closedir returns void... " >&6; } 13145if ${ac_cv_func_closedir_void+:} false; then : 13146 $as_echo_n "(cached) " >&6 13147else 13148 if test "$cross_compiling" = yes; then : 13149 ac_cv_func_closedir_void=yes 13150else 13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13152/* end confdefs.h. */ 13153$ac_includes_default 13154#include <$ac_header_dirent> 13155#ifndef __cplusplus 13156int closedir (); 13157#endif 13158 13159int 13160main () 13161{ 13162return closedir (opendir (".")) != 0; 13163 ; 13164 return 0; 13165} 13166_ACEOF 13167if ac_fn_c_try_run "$LINENO"; then : 13168 ac_cv_func_closedir_void=no 13169else 13170 ac_cv_func_closedir_void=yes 13171fi 13172rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13173 conftest.$ac_objext conftest.beam conftest.$ac_ext 13174fi 13175 13176fi 13177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5 13178$as_echo "$ac_cv_func_closedir_void" >&6; } 13179if test $ac_cv_func_closedir_void = yes; then 13180 13181$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h 13182 13183fi 13184 13185for ac_header in assert.h float.h limits.h pwd.h stdlib.h sys/param.h 13186do : 13187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13188ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13189if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13190 cat >>confdefs.h <<_ACEOF 13191#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13192_ACEOF 13193 13194fi 13195 13196done 13197 13198for ac_func in putenv 13199do : 13200 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv" 13201if test "x$ac_cv_func_putenv" = xyes; then : 13202 cat >>confdefs.h <<_ACEOF 13203#define HAVE_PUTENV 1 13204_ACEOF 13205 13206fi 13207done 13208 13209for ac_func in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr 13210do : 13211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13212ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13213if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13214 cat >>confdefs.h <<_ACEOF 13215#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13216_ACEOF 13217 13218fi 13219done 13220 13221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 13222$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 13223if ${ac_cv_c_const+:} false; then : 13224 $as_echo_n "(cached) " >&6 13225else 13226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13227/* end confdefs.h. */ 13228 13229int 13230main () 13231{ 13232 13233#ifndef __cplusplus 13234 /* Ultrix mips cc rejects this sort of thing. */ 13235 typedef int charset[2]; 13236 const charset cs = { 0, 0 }; 13237 /* SunOS 4.1.1 cc rejects this. */ 13238 char const *const *pcpcc; 13239 char **ppc; 13240 /* NEC SVR4.0.2 mips cc rejects this. */ 13241 struct point {int x, y;}; 13242 static struct point const zero = {0,0}; 13243 /* AIX XL C 1.02.0.0 rejects this. 13244 It does not let you subtract one const X* pointer from another in 13245 an arm of an if-expression whose if-part is not a constant 13246 expression */ 13247 const char *g = "string"; 13248 pcpcc = &g + (g ? g-g : 0); 13249 /* HPUX 7.0 cc rejects these. */ 13250 ++pcpcc; 13251 ppc = (char**) pcpcc; 13252 pcpcc = (char const *const *) ppc; 13253 { /* SCO 3.2v4 cc rejects this sort of thing. */ 13254 char tx; 13255 char *t = &tx; 13256 char const *s = 0 ? (char *) 0 : (char const *) 0; 13257 13258 *t++ = 0; 13259 if (s) return 0; 13260 } 13261 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 13262 int x[] = {25, 17}; 13263 const int *foo = &x[0]; 13264 ++foo; 13265 } 13266 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 13267 typedef const int *iptr; 13268 iptr p = 0; 13269 ++p; 13270 } 13271 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 13272 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 13273 struct s { int j; const int *ap[3]; } bx; 13274 struct s *b = &bx; b->j = 5; 13275 } 13276 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 13277 const int foo = 10; 13278 if (!foo) return 0; 13279 } 13280 return !cs[0] && !zero.x; 13281#endif 13282 13283 ; 13284 return 0; 13285} 13286_ACEOF 13287if ac_fn_c_try_compile "$LINENO"; then : 13288 ac_cv_c_const=yes 13289else 13290 ac_cv_c_const=no 13291fi 13292rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13293fi 13294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 13295$as_echo "$ac_cv_c_const" >&6; } 13296if test $ac_cv_c_const = no; then 13297 13298$as_echo "#define const /**/" >>confdefs.h 13299 13300fi 13301 13302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 13303$as_echo_n "checking for inline... " >&6; } 13304if ${ac_cv_c_inline+:} false; then : 13305 $as_echo_n "(cached) " >&6 13306else 13307 ac_cv_c_inline=no 13308for ac_kw in inline __inline__ __inline; do 13309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13310/* end confdefs.h. */ 13311#ifndef __cplusplus 13312typedef int foo_t; 13313static $ac_kw foo_t static_foo () {return 0; } 13314$ac_kw foo_t foo () {return 0; } 13315#endif 13316 13317_ACEOF 13318if ac_fn_c_try_compile "$LINENO"; then : 13319 ac_cv_c_inline=$ac_kw 13320fi 13321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13322 test "$ac_cv_c_inline" != no && break 13323done 13324 13325fi 13326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 13327$as_echo "$ac_cv_c_inline" >&6; } 13328 13329case $ac_cv_c_inline in 13330 inline | yes) ;; 13331 *) 13332 case $ac_cv_c_inline in 13333 no) ac_val=;; 13334 *) ac_val=$ac_cv_c_inline;; 13335 esac 13336 cat >>confdefs.h <<_ACEOF 13337#ifndef __cplusplus 13338#define inline $ac_val 13339#endif 13340_ACEOF 13341 ;; 13342esac 13343 13344ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 13345if test "x$ac_cv_type_size_t" = xyes; then : 13346 13347else 13348 13349cat >>confdefs.h <<_ACEOF 13350#define size_t unsigned int 13351_ACEOF 13352 13353fi 13354 13355ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 13356case $ac_cv_c_int64_t in #( 13357 no|yes) ;; #( 13358 *) 13359 13360cat >>confdefs.h <<_ACEOF 13361#define int64_t $ac_cv_c_int64_t 13362_ACEOF 13363;; 13364esac 13365 13366ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 13367case $ac_cv_c_uint64_t in #( 13368 no|yes) ;; #( 13369 *) 13370 13371$as_echo "#define _UINT64_T 1" >>confdefs.h 13372 13373 13374cat >>confdefs.h <<_ACEOF 13375#define uint64_t $ac_cv_c_uint64_t 13376_ACEOF 13377;; 13378 esac 13379 13380case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #( 13381 *':no:'*) : 13382 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #( 13383 *) : 13384 ;; 13385esac 13386ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default" 13387if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then : 13388 13389cat >>confdefs.h <<_ACEOF 13390#define HAVE_STRUCT_STAT_ST_MTIM 1 13391_ACEOF 13392 13393 13394fi 13395 13396 13397 13398ac_config_headers="$ac_config_headers c-auto.h:c-auto.in" 13399 13400 13401 13402 13403$as_echo "#define TL_VERSION \"TeX Live 2015\"" >>confdefs.h 13404 13405 13406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if C99 variadic macros are supported" >&5 13407$as_echo_n "checking if C99 variadic macros are supported... " >&6; } 13408if ${kpse_cv_have___VA_ARGS__+:} false; then : 13409 $as_echo_n "(cached) " >&6 13410else 13411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13412/* end confdefs.h. */ 13413#include <stdio.h> 13414#define foo(format, ...) printf(format, __VA_ARGS__) 13415int 13416main () 13417{ 13418foo("%s\n", "Hi, there"); 13419 ; 13420 return 0; 13421} 13422_ACEOF 13423if ac_fn_c_try_compile "$LINENO"; then : 13424 kpse_cv_have___VA_ARGS__=yes 13425else 13426 kpse_cv_have___VA_ARGS__=no 13427fi 13428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13429fi 13430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have___VA_ARGS__" >&5 13431$as_echo "$kpse_cv_have___VA_ARGS__" >&6; } 13432case $kpse_cv_have___VA_ARGS__ in #( 13433 yes) : 13434 13435$as_echo "#define HAVE___VA_ARGS__ 1" >>confdefs.h 13436 ;; #( 13437 *) : 13438 ;; 13439esac 13440 13441kpse_save_CPPFLAGS=$CPPFLAGS 13442kpse_save_LIBS=$LIBS 13443 13444## _KPSE_INIT: Initialize TL infrastructure 13445kpse_BLD=`(cd "./../../." && pwd)` 13446kpse_SRC=`(cd "$srcdir/../../." && pwd)` 13447 13448## _KPSE_USE_LIBTOOL: Generate a libtool script for use in configure tests 13449: ${CONFIG_LT=./config.lt} 13450{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 13451$as_echo "$as_me: creating $CONFIG_LT" >&6;} 13452as_write_fail=0 13453cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1 13454#! $SHELL 13455# Generated by $as_me. 13456# Run this file to recreate a libtool stub with the current configuration. 13457SHELL=\${CONFIG_SHELL-$SHELL} 13458export SHELL 13459_ASEOF 13460cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1 13461## -------------------- ## 13462## M4sh Initialization. ## 13463## -------------------- ## 13464 13465# Be more Bourne compatible 13466DUALCASE=1; export DUALCASE # for MKS sh 13467if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13468 emulate sh 13469 NULLCMD=: 13470 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13471 # is contrary to our usage. Disable this feature. 13472 alias -g '${1+"$@"}'='"$@"' 13473 setopt NO_GLOB_SUBST 13474else 13475 case `(set -o) 2>/dev/null` in #( 13476 *posix*) : 13477 set -o posix ;; #( 13478 *) : 13479 ;; 13480esac 13481fi 13482 13483 13484as_nl=' 13485' 13486export as_nl 13487# Printing a long string crashes Solaris 7 /usr/bin/printf. 13488as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13489as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13490as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13491# Prefer a ksh shell builtin over an external printf program on Solaris, 13492# but without wasting forks for bash or zsh. 13493if test -z "$BASH_VERSION$ZSH_VERSION" \ 13494 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13495 as_echo='print -r --' 13496 as_echo_n='print -rn --' 13497elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13498 as_echo='printf %s\n' 13499 as_echo_n='printf %s' 13500else 13501 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13502 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13503 as_echo_n='/usr/ucb/echo -n' 13504 else 13505 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13506 as_echo_n_body='eval 13507 arg=$1; 13508 case $arg in #( 13509 *"$as_nl"*) 13510 expr "X$arg" : "X\\(.*\\)$as_nl"; 13511 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13512 esac; 13513 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13514 ' 13515 export as_echo_n_body 13516 as_echo_n='sh -c $as_echo_n_body as_echo' 13517 fi 13518 export as_echo_body 13519 as_echo='sh -c $as_echo_body as_echo' 13520fi 13521 13522# The user is always right. 13523if test "${PATH_SEPARATOR+set}" != set; then 13524 PATH_SEPARATOR=: 13525 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13526 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13527 PATH_SEPARATOR=';' 13528 } 13529fi 13530 13531 13532# IFS 13533# We need space, tab and new line, in precisely that order. Quoting is 13534# there to prevent editors from complaining about space-tab. 13535# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13536# splitting by setting IFS to empty value.) 13537IFS=" "" $as_nl" 13538 13539# Find who we are. Look in the path if we contain no directory separator. 13540as_myself= 13541case $0 in #(( 13542 *[\\/]* ) as_myself=$0 ;; 13543 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13544for as_dir in $PATH 13545do 13546 IFS=$as_save_IFS 13547 test -z "$as_dir" && as_dir=. 13548 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13549 done 13550IFS=$as_save_IFS 13551 13552 ;; 13553esac 13554# We did not find ourselves, most probably we were run as `sh COMMAND' 13555# in which case we are not to be found in the path. 13556if test "x$as_myself" = x; then 13557 as_myself=$0 13558fi 13559if test ! -f "$as_myself"; then 13560 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13561 exit 1 13562fi 13563 13564# Unset variables that we do not need and which cause bugs (e.g. in 13565# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13566# suppresses any "Segmentation fault" message there. '((' could 13567# trigger a bug in pdksh 5.2.14. 13568for as_var in BASH_ENV ENV MAIL MAILPATH 13569do eval test x\${$as_var+set} = xset \ 13570 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13571done 13572PS1='$ ' 13573PS2='> ' 13574PS4='+ ' 13575 13576# NLS nuisances. 13577LC_ALL=C 13578export LC_ALL 13579LANGUAGE=C 13580export LANGUAGE 13581 13582# CDPATH. 13583(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13584 13585 13586# as_fn_error STATUS ERROR [LINENO LOG_FD] 13587# ---------------------------------------- 13588# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13589# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13590# script with STATUS, using 1 if that was 0. 13591as_fn_error () 13592{ 13593 as_status=$1; test $as_status -eq 0 && as_status=1 13594 if test "$4"; then 13595 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13596 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13597 fi 13598 $as_echo "$as_me: error: $2" >&2 13599 as_fn_exit $as_status 13600} # as_fn_error 13601 13602 13603# as_fn_set_status STATUS 13604# ----------------------- 13605# Set $? to STATUS, without forking. 13606as_fn_set_status () 13607{ 13608 return $1 13609} # as_fn_set_status 13610 13611# as_fn_exit STATUS 13612# ----------------- 13613# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13614as_fn_exit () 13615{ 13616 set +e 13617 as_fn_set_status $1 13618 exit $1 13619} # as_fn_exit 13620 13621# as_fn_unset VAR 13622# --------------- 13623# Portably unset VAR. 13624as_fn_unset () 13625{ 13626 { eval $1=; unset $1;} 13627} 13628as_unset=as_fn_unset 13629# as_fn_append VAR VALUE 13630# ---------------------- 13631# Append the text in VALUE to the end of the definition contained in VAR. Take 13632# advantage of any shell optimizations that allow amortized linear growth over 13633# repeated appends, instead of the typical quadratic growth present in naive 13634# implementations. 13635if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13636 eval 'as_fn_append () 13637 { 13638 eval $1+=\$2 13639 }' 13640else 13641 as_fn_append () 13642 { 13643 eval $1=\$$1\$2 13644 } 13645fi # as_fn_append 13646 13647# as_fn_arith ARG... 13648# ------------------ 13649# Perform arithmetic evaluation on the ARGs, and store the result in the 13650# global $as_val. Take advantage of shells that can avoid forks. The arguments 13651# must be portable across $(()) and expr. 13652if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13653 eval 'as_fn_arith () 13654 { 13655 as_val=$(( $* )) 13656 }' 13657else 13658 as_fn_arith () 13659 { 13660 as_val=`expr "$@" || test $? -eq 1` 13661 } 13662fi # as_fn_arith 13663 13664 13665if expr a : '\(a\)' >/dev/null 2>&1 && 13666 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13667 as_expr=expr 13668else 13669 as_expr=false 13670fi 13671 13672if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13673 as_basename=basename 13674else 13675 as_basename=false 13676fi 13677 13678if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13679 as_dirname=dirname 13680else 13681 as_dirname=false 13682fi 13683 13684as_me=`$as_basename -- "$0" || 13685$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13686 X"$0" : 'X\(//\)$' \| \ 13687 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13688$as_echo X/"$0" | 13689 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13690 s//\1/ 13691 q 13692 } 13693 /^X\/\(\/\/\)$/{ 13694 s//\1/ 13695 q 13696 } 13697 /^X\/\(\/\).*/{ 13698 s//\1/ 13699 q 13700 } 13701 s/.*/./; q'` 13702 13703# Avoid depending upon Character Ranges. 13704as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13705as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13706as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13707as_cr_digits='0123456789' 13708as_cr_alnum=$as_cr_Letters$as_cr_digits 13709 13710ECHO_C= ECHO_N= ECHO_T= 13711case `echo -n x` in #((((( 13712-n*) 13713 case `echo 'xy\c'` in 13714 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13715 xy) ECHO_C='\c';; 13716 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13717 ECHO_T=' ';; 13718 esac;; 13719*) 13720 ECHO_N='-n';; 13721esac 13722 13723rm -f conf$$ conf$$.exe conf$$.file 13724if test -d conf$$.dir; then 13725 rm -f conf$$.dir/conf$$.file 13726else 13727 rm -f conf$$.dir 13728 mkdir conf$$.dir 2>/dev/null 13729fi 13730if (echo >conf$$.file) 2>/dev/null; then 13731 if ln -s conf$$.file conf$$ 2>/dev/null; then 13732 as_ln_s='ln -s' 13733 # ... but there are two gotchas: 13734 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13735 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13736 # In both cases, we have to default to `cp -pR'. 13737 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13738 as_ln_s='cp -pR' 13739 elif ln conf$$.file conf$$ 2>/dev/null; then 13740 as_ln_s=ln 13741 else 13742 as_ln_s='cp -pR' 13743 fi 13744else 13745 as_ln_s='cp -pR' 13746fi 13747rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13748rmdir conf$$.dir 2>/dev/null 13749 13750 13751# as_fn_mkdir_p 13752# ------------- 13753# Create "$as_dir" as a directory, including parents if necessary. 13754as_fn_mkdir_p () 13755{ 13756 13757 case $as_dir in #( 13758 -*) as_dir=./$as_dir;; 13759 esac 13760 test -d "$as_dir" || eval $as_mkdir_p || { 13761 as_dirs= 13762 while :; do 13763 case $as_dir in #( 13764 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13765 *) as_qdir=$as_dir;; 13766 esac 13767 as_dirs="'$as_qdir' $as_dirs" 13768 as_dir=`$as_dirname -- "$as_dir" || 13769$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13770 X"$as_dir" : 'X\(//\)[^/]' \| \ 13771 X"$as_dir" : 'X\(//\)$' \| \ 13772 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13773$as_echo X"$as_dir" | 13774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13775 s//\1/ 13776 q 13777 } 13778 /^X\(\/\/\)[^/].*/{ 13779 s//\1/ 13780 q 13781 } 13782 /^X\(\/\/\)$/{ 13783 s//\1/ 13784 q 13785 } 13786 /^X\(\/\).*/{ 13787 s//\1/ 13788 q 13789 } 13790 s/.*/./; q'` 13791 test -d "$as_dir" && break 13792 done 13793 test -z "$as_dirs" || eval "mkdir $as_dirs" 13794 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13795 13796 13797} # as_fn_mkdir_p 13798if mkdir -p . 2>/dev/null; then 13799 as_mkdir_p='mkdir -p "$as_dir"' 13800else 13801 test -d ./-p && rmdir ./-p 13802 as_mkdir_p=false 13803fi 13804 13805 13806# as_fn_executable_p FILE 13807# ----------------------- 13808# Test if FILE is an executable regular file. 13809as_fn_executable_p () 13810{ 13811 test -f "$1" && test -x "$1" 13812} # as_fn_executable_p 13813as_test_x='test -x' 13814as_executable_p=as_fn_executable_p 13815 13816# Sed expression to map a string onto a valid CPP name. 13817as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13818 13819# Sed expression to map a string onto a valid variable name. 13820as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13821 13822 13823exec 6>&1 13824## --------------------------------- ## 13825## Main body of "$CONFIG_LT" script. ## 13826## --------------------------------- ## 13827_ASEOF 13828test $as_write_fail = 0 && chmod +x "$CONFIG_LT" 13829 13830cat >>"$CONFIG_LT" <<\_LTEOF 13831lt_cl_silent=false 13832exec 5>>config.log 13833{ 13834 echo 13835 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13836## Running $as_me. ## 13837_ASBOX 13838} >&5 13839 13840lt_cl_help="\ 13841'$as_me' creates a local libtool stub from the current configuration, 13842for use in further configure time tests before the real libtool is 13843generated. 13844 13845Usage: $0 [OPTIONS] 13846 13847 -h, --help print this help, then exit 13848 -V, --version print version number, then exit 13849 -q, --quiet do not print progress messages 13850 -d, --debug don't remove temporary files 13851 13852Report bugs to <bug-libtool@gnu.org>." 13853 13854lt_cl_version="\ 13855mendex (TeX Live) config.lt 2.6f 13856configured by $0, generated by GNU Autoconf 2.69. 13857 13858Copyright (C) 2011 Free Software Foundation, Inc. 13859This config.lt script is free software; the Free Software Foundation 13860gives unlimited permision to copy, distribute and modify it." 13861 13862while test 0 != $# 13863do 13864 case $1 in 13865 --version | --v* | -V ) 13866 echo "$lt_cl_version"; exit 0 ;; 13867 --help | --h* | -h ) 13868 echo "$lt_cl_help"; exit 0 ;; 13869 --debug | --d* | -d ) 13870 debug=: ;; 13871 --quiet | --q* | --silent | --s* | -q ) 13872 lt_cl_silent=: ;; 13873 13874 -*) as_fn_error $? "unrecognized option: $1 13875Try '$0 --help' for more information." "$LINENO" 5 ;; 13876 13877 *) as_fn_error $? "unrecognized argument: $1 13878Try '$0 --help' for more information." "$LINENO" 5 ;; 13879 esac 13880 shift 13881done 13882 13883if $lt_cl_silent; then 13884 exec 6>/dev/null 13885fi 13886_LTEOF 13887 13888cat >>"$CONFIG_LT" <<_LTEOF 13889 13890 13891# The HP-UX ksh and POSIX shell print the target directory to stdout 13892# if CDPATH is set. 13893(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13894 13895sed_quote_subst='$sed_quote_subst' 13896double_quote_subst='$double_quote_subst' 13897delay_variable_subst='$delay_variable_subst' 13898macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13899macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13900AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 13901DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13902OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13903enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13904enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13905pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13906enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13907shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 13908SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13909ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13910PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13911host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13912host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13913host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13914build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13915build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13916build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13917SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13918Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13919GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13920EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13921FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13922LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13923NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13924LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13925max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13926ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13927exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13928lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13929lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13930lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13931lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13932lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13933reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13934reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13935deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13936file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13937file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13938want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13939sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13940AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13941AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13942archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13943STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13944RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13945old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13946old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13947old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13948lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13949CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13950CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13951compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13952GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13953lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13954lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13955lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 13956lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13957lt_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"`' 13958lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 13959nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13960lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13961lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 13962objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13963MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13964lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13965lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13966lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13967lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13968lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13969need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13970MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13971DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13972NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13973LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13974OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13975OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13976libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13977shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13978extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13979archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13980enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13981export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13982whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13983compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13984old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13985old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13986archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13987archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13988module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13989module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13990with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13991allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13992no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13993hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13994hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13995hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13996hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13997hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13998hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13999hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14000inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14001link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14002always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14003export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14004exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14005include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14006prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14007postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14008file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14009variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14010need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14011need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14012version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14013runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14014shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14015shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14016libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14017library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14018soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14019install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14020postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14021postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14022finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14023finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14024hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14025sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14026configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 14027configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 14028hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14029enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14030enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14031enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14032old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14033striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14034 14035LTCC='$LTCC' 14036LTCFLAGS='$LTCFLAGS' 14037compiler='$compiler_DEFAULT' 14038 14039# A function that is used when there is no print builtin or printf. 14040func_fallback_echo () 14041{ 14042 eval 'cat <<_LTECHO_EOF 14043\$1 14044_LTECHO_EOF' 14045} 14046 14047# Quote evaled strings. 14048for var in AS \ 14049DLLTOOL \ 14050OBJDUMP \ 14051SHELL \ 14052ECHO \ 14053PATH_SEPARATOR \ 14054SED \ 14055GREP \ 14056EGREP \ 14057FGREP \ 14058LD \ 14059NM \ 14060LN_S \ 14061lt_SP2NL \ 14062lt_NL2SP \ 14063reload_flag \ 14064deplibs_check_method \ 14065file_magic_cmd \ 14066file_magic_glob \ 14067want_nocaseglob \ 14068sharedlib_from_linklib_cmd \ 14069AR \ 14070AR_FLAGS \ 14071archiver_list_spec \ 14072STRIP \ 14073RANLIB \ 14074CC \ 14075CFLAGS \ 14076compiler \ 14077lt_cv_sys_global_symbol_pipe \ 14078lt_cv_sys_global_symbol_to_cdecl \ 14079lt_cv_sys_global_symbol_to_import \ 14080lt_cv_sys_global_symbol_to_c_name_address \ 14081lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14082lt_cv_nm_interface \ 14083nm_file_list_spec \ 14084lt_cv_truncate_bin \ 14085lt_prog_compiler_no_builtin_flag \ 14086lt_prog_compiler_pic \ 14087lt_prog_compiler_wl \ 14088lt_prog_compiler_static \ 14089lt_cv_prog_compiler_c_o \ 14090need_locks \ 14091MANIFEST_TOOL \ 14092DSYMUTIL \ 14093NMEDIT \ 14094LIPO \ 14095OTOOL \ 14096OTOOL64 \ 14097shrext_cmds \ 14098export_dynamic_flag_spec \ 14099whole_archive_flag_spec \ 14100compiler_needs_object \ 14101with_gnu_ld \ 14102allow_undefined_flag \ 14103no_undefined_flag \ 14104hardcode_libdir_flag_spec \ 14105hardcode_libdir_separator \ 14106exclude_expsyms \ 14107include_expsyms \ 14108file_list_spec \ 14109variables_saved_for_relink \ 14110libname_spec \ 14111library_names_spec \ 14112soname_spec \ 14113install_override_mode \ 14114finish_eval \ 14115old_striplib \ 14116striplib; do 14117 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14118 *[\\\\\\\`\\"\\\$]*) 14119 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14120 ;; 14121 *) 14122 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14123 ;; 14124 esac 14125done 14126 14127# Double-quote double-evaled strings. 14128for var in reload_cmds \ 14129old_postinstall_cmds \ 14130old_postuninstall_cmds \ 14131old_archive_cmds \ 14132extract_expsyms_cmds \ 14133old_archive_from_new_cmds \ 14134old_archive_from_expsyms_cmds \ 14135archive_cmds \ 14136archive_expsym_cmds \ 14137module_cmds \ 14138module_expsym_cmds \ 14139export_symbols_cmds \ 14140prelink_cmds \ 14141postlink_cmds \ 14142postinstall_cmds \ 14143postuninstall_cmds \ 14144finish_cmds \ 14145sys_lib_search_path_spec \ 14146configure_time_dlsearch_path \ 14147configure_time_lt_sys_library_path; do 14148 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14149 *[\\\\\\\`\\"\\\$]*) 14150 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14151 ;; 14152 *) 14153 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14154 ;; 14155 esac 14156done 14157 14158ac_aux_dir='$ac_aux_dir' 14159 14160# See if we are running on zsh, and set the options that allow our 14161# commands through without removal of \ escapes INIT. 14162if test -n "\${ZSH_VERSION+set}"; then 14163 setopt NO_GLOB_SUBST 14164fi 14165 14166 14167 PACKAGE='$PACKAGE' 14168 VERSION='$VERSION' 14169 RM='$RM' 14170 ofile='$ofile' 14171 14172 14173 14174_LTEOF 14175 14176cat >>"$CONFIG_LT" <<\_LTEOF 14177{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 14178$as_echo "$as_me: creating $ofile" >&6;} 14179 14180 14181 # See if we are running on zsh, and set the options that allow our 14182 # commands through without removal of \ escapes. 14183 if test -n "${ZSH_VERSION+set}"; then 14184 setopt NO_GLOB_SUBST 14185 fi 14186 14187 cfgfile=${ofile}T 14188 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14189 $RM "$cfgfile" 14190 14191 cat <<_LT_EOF >> "$cfgfile" 14192#! $SHELL 14193# Generated automatically by $as_me ($PACKAGE) $VERSION 14194# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14195# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14196 14197# Provide generalized library-building support services. 14198# Written by Gordon Matzigkeit, 1996 14199 14200# Copyright (C) 2014 Free Software Foundation, Inc. 14201# This is free software; see the source for copying conditions. There is NO 14202# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14203 14204# GNU Libtool is free software; you can redistribute it and/or modify 14205# it under the terms of the GNU General Public License as published by 14206# the Free Software Foundation; either version 2 of of the License, or 14207# (at your option) any later version. 14208# 14209# As a special exception to the GNU General Public License, if you 14210# distribute this file as part of a program or library that is built 14211# using GNU Libtool, you may include this file under the same 14212# distribution terms that you use for the rest of that program. 14213# 14214# GNU Libtool is distributed in the hope that it will be useful, but 14215# WITHOUT ANY WARRANTY; without even the implied warranty of 14216# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14217# GNU General Public License for more details. 14218# 14219# You should have received a copy of the GNU General Public License 14220# along with this program. If not, see <http://www.gnu.org/licenses/>. 14221 14222 14223# The names of the tagged configurations supported by this script. 14224available_tags='' 14225 14226# Configured defaults for sys_lib_dlsearch_path munging. 14227: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 14228 14229# ### BEGIN LIBTOOL CONFIG 14230 14231# Which release of libtool.m4 was used? 14232macro_version=$macro_version 14233macro_revision=$macro_revision 14234 14235# Assembler program. 14236AS=$lt_AS 14237 14238# DLL creation program. 14239DLLTOOL=$lt_DLLTOOL 14240 14241# Object dumper program. 14242OBJDUMP=$lt_OBJDUMP 14243 14244# Whether or not to build shared libraries. 14245build_libtool_libs=$enable_shared 14246 14247# Whether or not to build static libraries. 14248build_old_libs=$enable_static 14249 14250# What type of objects to build. 14251pic_mode=$pic_mode 14252 14253# Whether or not to optimize for fast installation. 14254fast_install=$enable_fast_install 14255 14256# Shared archive member basename,for filename based shared library versioning on AIX. 14257shared_archive_member_spec=$shared_archive_member_spec 14258 14259# Shell to use when invoking shell scripts. 14260SHELL=$lt_SHELL 14261 14262# An echo program that protects backslashes. 14263ECHO=$lt_ECHO 14264 14265# The PATH separator for the build system. 14266PATH_SEPARATOR=$lt_PATH_SEPARATOR 14267 14268# The host system. 14269host_alias=$host_alias 14270host=$host 14271host_os=$host_os 14272 14273# The build system. 14274build_alias=$build_alias 14275build=$build 14276build_os=$build_os 14277 14278# A sed program that does not truncate output. 14279SED=$lt_SED 14280 14281# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14282Xsed="\$SED -e 1s/^X//" 14283 14284# A grep program that handles long lines. 14285GREP=$lt_GREP 14286 14287# An ERE matcher. 14288EGREP=$lt_EGREP 14289 14290# A literal string matcher. 14291FGREP=$lt_FGREP 14292 14293# A BSD- or MS-compatible name lister. 14294NM=$lt_NM 14295 14296# Whether we need soft or hard links. 14297LN_S=$lt_LN_S 14298 14299# What is the maximum length of a command? 14300max_cmd_len=$max_cmd_len 14301 14302# Object file suffix (normally "o"). 14303objext=$ac_objext 14304 14305# Executable file suffix (normally ""). 14306exeext=$exeext 14307 14308# whether the shell understands "unset". 14309lt_unset=$lt_unset 14310 14311# turn spaces into newlines. 14312SP2NL=$lt_lt_SP2NL 14313 14314# turn newlines into spaces. 14315NL2SP=$lt_lt_NL2SP 14316 14317# convert \$build file names to \$host format. 14318to_host_file_cmd=$lt_cv_to_host_file_cmd 14319 14320# convert \$build files to toolchain format. 14321to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14322 14323# Method to check whether dependent libraries are shared objects. 14324deplibs_check_method=$lt_deplibs_check_method 14325 14326# Command to use when deplibs_check_method = "file_magic". 14327file_magic_cmd=$lt_file_magic_cmd 14328 14329# How to find potential files when deplibs_check_method = "file_magic". 14330file_magic_glob=$lt_file_magic_glob 14331 14332# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14333want_nocaseglob=$lt_want_nocaseglob 14334 14335# Command to associate shared and link libraries. 14336sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14337 14338# The archiver. 14339AR=$lt_AR 14340 14341# Flags to create an archive. 14342AR_FLAGS=$lt_AR_FLAGS 14343 14344# How to feed a file listing to the archiver. 14345archiver_list_spec=$lt_archiver_list_spec 14346 14347# A symbol stripping program. 14348STRIP=$lt_STRIP 14349 14350# Commands used to install an old-style archive. 14351RANLIB=$lt_RANLIB 14352old_postinstall_cmds=$lt_old_postinstall_cmds 14353old_postuninstall_cmds=$lt_old_postuninstall_cmds 14354 14355# Whether to use a lock for old archive extraction. 14356lock_old_archive_extraction=$lock_old_archive_extraction 14357 14358# A C compiler. 14359LTCC=$lt_CC 14360 14361# LTCC compiler flags. 14362LTCFLAGS=$lt_CFLAGS 14363 14364# Take the output of nm and produce a listing of raw symbols and C names. 14365global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14366 14367# Transform the output of nm in a proper C declaration. 14368global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14369 14370# Transform the output of nm into a list of symbols to manually relocate. 14371global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 14372 14373# Transform the output of nm in a C name address pair. 14374global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14375 14376# Transform the output of nm in a C name address pair when lib prefix is needed. 14377global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14378 14379# The name lister interface. 14380nm_interface=$lt_lt_cv_nm_interface 14381 14382# Specify filename containing input files for \$NM. 14383nm_file_list_spec=$lt_nm_file_list_spec 14384 14385# The root where to search for dependent libraries,and where our libraries should be installed. 14386lt_sysroot=$lt_sysroot 14387 14388# Command to truncate a binary pipe. 14389lt_truncate_bin=$lt_lt_cv_truncate_bin 14390 14391# The name of the directory that contains temporary libtool files. 14392objdir=$objdir 14393 14394# Used to examine libraries when file_magic_cmd begins with "file". 14395MAGIC_CMD=$MAGIC_CMD 14396 14397# Must we lock files when doing compilation? 14398need_locks=$lt_need_locks 14399 14400# Manifest tool. 14401MANIFEST_TOOL=$lt_MANIFEST_TOOL 14402 14403# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14404DSYMUTIL=$lt_DSYMUTIL 14405 14406# Tool to change global to local symbols on Mac OS X. 14407NMEDIT=$lt_NMEDIT 14408 14409# Tool to manipulate fat objects and archives on Mac OS X. 14410LIPO=$lt_LIPO 14411 14412# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14413OTOOL=$lt_OTOOL 14414 14415# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14416OTOOL64=$lt_OTOOL64 14417 14418# Old archive suffix (normally "a"). 14419libext=$libext 14420 14421# Shared library suffix (normally ".so"). 14422shrext_cmds=$lt_shrext_cmds 14423 14424# The commands to extract the exported symbol list from a shared archive. 14425extract_expsyms_cmds=$lt_extract_expsyms_cmds 14426 14427# Variables whose values should be saved in libtool wrapper scripts and 14428# restored at link time. 14429variables_saved_for_relink=$lt_variables_saved_for_relink 14430 14431# Do we need the "lib" prefix for modules? 14432need_lib_prefix=$need_lib_prefix 14433 14434# Do we need a version for libraries? 14435need_version=$need_version 14436 14437# Library versioning type. 14438version_type=$version_type 14439 14440# Shared library runtime path variable. 14441runpath_var=$runpath_var 14442 14443# Shared library path variable. 14444shlibpath_var=$shlibpath_var 14445 14446# Is shlibpath searched before the hard-coded library search path? 14447shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14448 14449# Format of library name prefix. 14450libname_spec=$lt_libname_spec 14451 14452# List of archive names. First name is the real one, the rest are links. 14453# The last name is the one that the linker finds with -lNAME 14454library_names_spec=$lt_library_names_spec 14455 14456# The coded name of the library, if different from the real name. 14457soname_spec=$lt_soname_spec 14458 14459# Permission mode override for installation of shared libraries. 14460install_override_mode=$lt_install_override_mode 14461 14462# Command to use after installation of a shared archive. 14463postinstall_cmds=$lt_postinstall_cmds 14464 14465# Command to use after uninstallation of a shared archive. 14466postuninstall_cmds=$lt_postuninstall_cmds 14467 14468# Commands used to finish a libtool library installation in a directory. 14469finish_cmds=$lt_finish_cmds 14470 14471# As "finish_cmds", except a single script fragment to be evaled but 14472# not shown. 14473finish_eval=$lt_finish_eval 14474 14475# Whether we should hardcode library paths into libraries. 14476hardcode_into_libs=$hardcode_into_libs 14477 14478# Compile-time system search path for libraries. 14479sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14480 14481# Detected run-time system search path for libraries. 14482sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 14483 14484# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 14485configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 14486 14487# Whether dlopen is supported. 14488dlopen_support=$enable_dlopen 14489 14490# Whether dlopen of programs is supported. 14491dlopen_self=$enable_dlopen_self 14492 14493# Whether dlopen of statically linked programs is supported. 14494dlopen_self_static=$enable_dlopen_self_static 14495 14496# Commands to strip libraries. 14497old_striplib=$lt_old_striplib 14498striplib=$lt_striplib 14499 14500 14501# The linker used to build libraries. 14502LD=$lt_LD 14503 14504# How to create reloadable object files. 14505reload_flag=$lt_reload_flag 14506reload_cmds=$lt_reload_cmds 14507 14508# Commands used to build an old-style archive. 14509old_archive_cmds=$lt_old_archive_cmds 14510 14511# A language specific compiler. 14512CC=$lt_compiler 14513 14514# Is the compiler the GNU compiler? 14515with_gcc=$GCC 14516 14517# Compiler flag to turn off builtin functions. 14518no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14519 14520# Additional compiler flags for building library objects. 14521pic_flag=$lt_lt_prog_compiler_pic 14522 14523# How to pass a linker flag through the compiler. 14524wl=$lt_lt_prog_compiler_wl 14525 14526# Compiler flag to prevent dynamic linking. 14527link_static_flag=$lt_lt_prog_compiler_static 14528 14529# Does compiler simultaneously support -c and -o options? 14530compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14531 14532# Whether or not to add -lc for building shared libraries. 14533build_libtool_need_lc=$archive_cmds_need_lc 14534 14535# Whether or not to disallow shared libs when runtime libs are static. 14536allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14537 14538# Compiler flag to allow reflexive dlopens. 14539export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14540 14541# Compiler flag to generate shared objects directly from archives. 14542whole_archive_flag_spec=$lt_whole_archive_flag_spec 14543 14544# Whether the compiler copes with passing no objects directly. 14545compiler_needs_object=$lt_compiler_needs_object 14546 14547# Create an old-style archive from a shared archive. 14548old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14549 14550# Create a temporary old-style archive to link instead of a shared archive. 14551old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14552 14553# Commands used to build a shared archive. 14554archive_cmds=$lt_archive_cmds 14555archive_expsym_cmds=$lt_archive_expsym_cmds 14556 14557# Commands used to build a loadable module if different from building 14558# a shared archive. 14559module_cmds=$lt_module_cmds 14560module_expsym_cmds=$lt_module_expsym_cmds 14561 14562# Whether we are building with GNU ld or not. 14563with_gnu_ld=$lt_with_gnu_ld 14564 14565# Flag that allows shared libraries with undefined symbols to be built. 14566allow_undefined_flag=$lt_allow_undefined_flag 14567 14568# Flag that enforces no undefined symbols. 14569no_undefined_flag=$lt_no_undefined_flag 14570 14571# Flag to hardcode \$libdir into a binary during linking. 14572# This must work even if \$libdir does not exist 14573hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14574 14575# Whether we need a single "-rpath" flag with a separated argument. 14576hardcode_libdir_separator=$lt_hardcode_libdir_separator 14577 14578# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14579# DIR into the resulting binary. 14580hardcode_direct=$hardcode_direct 14581 14582# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14583# DIR into the resulting binary and the resulting library dependency is 14584# "absolute",i.e impossible to change by setting \$shlibpath_var if the 14585# library is relocated. 14586hardcode_direct_absolute=$hardcode_direct_absolute 14587 14588# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14589# into the resulting binary. 14590hardcode_minus_L=$hardcode_minus_L 14591 14592# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14593# into the resulting binary. 14594hardcode_shlibpath_var=$hardcode_shlibpath_var 14595 14596# Set to "yes" if building a shared library automatically hardcodes DIR 14597# into the library and all subsequent libraries and executables linked 14598# against it. 14599hardcode_automatic=$hardcode_automatic 14600 14601# Set to yes if linker adds runtime paths of dependent libraries 14602# to runtime path list. 14603inherit_rpath=$inherit_rpath 14604 14605# Whether libtool must link a program against all its dependency libraries. 14606link_all_deplibs=$link_all_deplibs 14607 14608# Set to "yes" if exported symbols are required. 14609always_export_symbols=$always_export_symbols 14610 14611# The commands to list exported symbols. 14612export_symbols_cmds=$lt_export_symbols_cmds 14613 14614# Symbols that should not be listed in the preloaded symbols. 14615exclude_expsyms=$lt_exclude_expsyms 14616 14617# Symbols that must always be exported. 14618include_expsyms=$lt_include_expsyms 14619 14620# Commands necessary for linking programs (against libraries) with templates. 14621prelink_cmds=$lt_prelink_cmds 14622 14623# Commands necessary for finishing linking programs. 14624postlink_cmds=$lt_postlink_cmds 14625 14626# Specify filename containing input files. 14627file_list_spec=$lt_file_list_spec 14628 14629# How to hardcode a shared library path into an executable. 14630hardcode_action=$hardcode_action 14631 14632# ### END LIBTOOL CONFIG 14633 14634_LT_EOF 14635 14636 cat <<'_LT_EOF' >> "$cfgfile" 14637 14638# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 14639 14640# func_munge_path_list VARIABLE PATH 14641# ----------------------------------- 14642# VARIABLE is name of variable containing _space_ separated list of 14643# directories to be munged by the contents of PATH, which is string 14644# having a format: 14645# "DIR[:DIR]:" 14646# string "DIR[ DIR]" will be prepended to VARIABLE 14647# ":DIR[:DIR]" 14648# string "DIR[ DIR]" will be appended to VARIABLE 14649# "DIRP[:DIRP]::[DIRA:]DIRA" 14650# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 14651# "DIRA[ DIRA]" will be appended to VARIABLE 14652# "DIR[:DIR]" 14653# VARIABLE will be replaced by "DIR[ DIR]" 14654func_munge_path_list () 14655{ 14656 case x$2 in 14657 x) 14658 ;; 14659 *:) 14660 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 14661 ;; 14662 x:*) 14663 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 14664 ;; 14665 *::*) 14666 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14667 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 14668 ;; 14669 *) 14670 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 14671 ;; 14672 esac 14673} 14674 14675 14676# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14677func_cc_basename () 14678{ 14679 for cc_temp in $*""; do 14680 case $cc_temp in 14681 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14682 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14683 \-*) ;; 14684 *) break;; 14685 esac 14686 done 14687 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 14688} 14689 14690 14691# ### END FUNCTIONS SHARED WITH CONFIGURE 14692 14693_LT_EOF 14694 14695 case $host_os in 14696 aix3*) 14697 cat <<\_LT_EOF >> "$cfgfile" 14698# AIX sometimes has problems with the GCC collect2 program. For some 14699# reason, if we set the COLLECT_NAMES environment variable, the problems 14700# vanish in a puff of smoke. 14701if test set != "${COLLECT_NAMES+set}"; then 14702 COLLECT_NAMES= 14703 export COLLECT_NAMES 14704fi 14705_LT_EOF 14706 ;; 14707 esac 14708 14709 14710ltmain=$ac_aux_dir/ltmain.sh 14711 14712 14713 # We use sed instead of cat because bash on DJGPP gets confused if 14714 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14715 # text mode, it properly converts lines to CR/LF. This bash problem 14716 # is reportedly fixed, but why not run on old versions too? 14717 sed '$q' "$ltmain" >> "$cfgfile" \ 14718 || (rm -f "$cfgfile"; exit 1) 14719 14720 mv -f "$cfgfile" "$ofile" || 14721 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14722 chmod +x "$ofile" 14723 14724 14725as_fn_exit 0 14726_LTEOF 14727chmod +x "$CONFIG_LT" 14728 14729# configure is writing to config.log, but config.lt does its own redirection, 14730# appending to config.log, which fails on DOS, as config.log is still kept 14731# open by configure. Here we exec the FD to /dev/null, effectively closing 14732# config.log, so it can be properly (re)opened and appended to by config.lt. 14733lt_cl_success=: 14734test yes = "$silent" && 14735 lt_config_lt_args="$lt_config_lt_args --quiet" 14736exec 5>/dev/null 14737$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 14738exec 5>>config.log 14739$lt_cl_success || as_fn_exit 1 14740 14741ac_ext=c 14742ac_cpp='$CPP $CPPFLAGS' 14743ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14744ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14745ac_compiler_gnu=$ac_cv_c_compiler_gnu 14746ac_link="./libtool --mode=link --tag=CC $ac_link" 14747 14748if test -n "$ac_tool_prefix"; then 14749 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 14750set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 14751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14752$as_echo_n "checking for $ac_word... " >&6; } 14753if ${ac_cv_prog_PKG_CONFIG+:} false; then : 14754 $as_echo_n "(cached) " >&6 14755else 14756 if test -n "$PKG_CONFIG"; then 14757 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. 14758else 14759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14760for as_dir in $PATH 14761do 14762 IFS=$as_save_IFS 14763 test -z "$as_dir" && as_dir=. 14764 for ac_exec_ext in '' $ac_executable_extensions; do 14765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14766 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config" 14767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14768 break 2 14769 fi 14770done 14771 done 14772IFS=$as_save_IFS 14773 14774fi 14775fi 14776PKG_CONFIG=$ac_cv_prog_PKG_CONFIG 14777if test -n "$PKG_CONFIG"; then 14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14779$as_echo "$PKG_CONFIG" >&6; } 14780else 14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14782$as_echo "no" >&6; } 14783fi 14784 14785 14786fi 14787if test -z "$ac_cv_prog_PKG_CONFIG"; then 14788 ac_ct_PKG_CONFIG=$PKG_CONFIG 14789 # Extract the first word of "pkg-config", so it can be a program name with args. 14790set dummy pkg-config; ac_word=$2 14791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14792$as_echo_n "checking for $ac_word... " >&6; } 14793if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then : 14794 $as_echo_n "(cached) " >&6 14795else 14796 if test -n "$ac_ct_PKG_CONFIG"; then 14797 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test. 14798else 14799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14800for as_dir in $PATH 14801do 14802 IFS=$as_save_IFS 14803 test -z "$as_dir" && as_dir=. 14804 for ac_exec_ext in '' $ac_executable_extensions; do 14805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14806 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config" 14807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14808 break 2 14809 fi 14810done 14811 done 14812IFS=$as_save_IFS 14813 14814fi 14815fi 14816ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG 14817if test -n "$ac_ct_PKG_CONFIG"; then 14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5 14819$as_echo "$ac_ct_PKG_CONFIG" >&6; } 14820else 14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14822$as_echo "no" >&6; } 14823fi 14824 14825 if test "x$ac_ct_PKG_CONFIG" = x; then 14826 PKG_CONFIG="false" 14827 else 14828 case $cross_compiling:$ac_tool_warned in 14829yes:) 14830{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14831$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14832ac_tool_warned=yes ;; 14833esac 14834 PKG_CONFIG=$ac_ct_PKG_CONFIG 14835 fi 14836else 14837 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" 14838fi 14839 14840## _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags 14841 14842# Check whether --with-system-kpathsea was given. 14843if test "${with_system_kpathsea+set}" = set; then : 14844 withval=$with_system_kpathsea; 14845fi 14846if test "x$with_system_kpathsea" = xyes; then 14847 if $PKG_CONFIG kpathsea; then 14848 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags` 14849 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs` 14850elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then 14851 as_fn_error $? "did not find kpathsea" "$LINENO" 5 14852fi 14853else 14854 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk" 14855 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la" 14856 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la' 14857 KPATHSEA_RULE='# Rebuild libkpathsea 14858$(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h 14859 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild 14860${top_builddir}/../kpathsea/paths.h: 14861 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild' 14862fi 14863 14864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5 14865$as_echo_n "checking if libkpathsea supports debugging... " >&6; } 14866if ${kpse_cv_kpse_debug+:} false; then : 14867 $as_echo_n "(cached) " >&6 14868else 14869 eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\" 14870eval LIBS=\"$KPATHSEA_LIBS \$LIBS\" 14871 14872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14873/* end confdefs.h. */ 14874#include <kpathsea/kpathsea.h> 14875int 14876main () 14877{ 14878FILE *f = fopen("f", "r") 14879 ; 14880 return 0; 14881} 14882_ACEOF 14883if ac_fn_c_try_link "$LINENO"; then : 14884 kpse_cv_kpse_debug=yes 14885else 14886 kpse_cv_kpse_debug=no 14887fi 14888rm -f core conftest.err conftest.$ac_objext \ 14889 conftest$ac_exeext conftest.$ac_ext 14890 CPPFLAGS=$kpse_save_CPPFLAGS 14891LIBS=$kpse_save_LIBS 14892 14893fi 14894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5 14895$as_echo "$kpse_cv_kpse_debug" >&6; } 14896if test "x$kpse_cv_kpse_debug" != xyes; then : 14897 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG" 14898fi 14899 14900## _KPSE_LIB_FLAGS: Setup ptexenc (-lptexenc) flags 14901 14902# Check whether --with-system-ptexenc was given. 14903if test "${with_system_ptexenc+set}" = set; then : 14904 withval=$with_system_ptexenc; 14905fi 14906if test "x$with_system_ptexenc" = xyes; then 14907 if $PKG_CONFIG ptexenc; then 14908 PTEXENC_INCLUDES=`$PKG_CONFIG ptexenc --cflags` 14909 PTEXENC_LIBS=`$PKG_CONFIG ptexenc --libs` 14910elif test "x$need_ptexenc:$with_system_ptexenc" = xyes:yes; then 14911 as_fn_error $? "did not find ptexenc" "$LINENO" 5 14912fi 14913else 14914 PTEXENC_INCLUDES="-I$kpse_BLD/texk/ptexenc -I$kpse_SRC/texk/ptexenc" 14915 PTEXENC_LIBS="$kpse_BLD/texk/ptexenc/libptexenc.la" 14916 PTEXENC_DEPEND='${top_builddir}/../ptexenc/libptexenc.la' 14917 PTEXENC_RULE='# Rebuild libptexenc 14918$(PTEXENC_DEPEND): ${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h 14919 cd ${top_builddir}/../ptexenc && $(MAKE) $(AM_MAKEFLAGS) rebuild' 14920fi 14921 14922 14923ac_config_files="$ac_config_files Makefile" 14924 14925 14926cat >confcache <<\_ACEOF 14927# This file is a shell script that caches the results of configure 14928# tests run on this system so they can be shared between configure 14929# scripts and configure runs, see configure's option --config-cache. 14930# It is not useful on other systems. If it contains results you don't 14931# want to keep, you may remove or edit it. 14932# 14933# config.status only pays attention to the cache file if you give it 14934# the --recheck option to rerun configure. 14935# 14936# `ac_cv_env_foo' variables (set or unset) will be overridden when 14937# loading this file, other *unset* `ac_cv_foo' will be assigned the 14938# following values. 14939 14940_ACEOF 14941 14942# The following way of writing the cache mishandles newlines in values, 14943# but we know of no workaround that is simple, portable, and efficient. 14944# So, we kill variables containing newlines. 14945# Ultrix sh set writes to stderr and can't be redirected directly, 14946# and sets the high bit in the cache file unless we assign to the vars. 14947( 14948 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 14949 eval ac_val=\$$ac_var 14950 case $ac_val in #( 14951 *${as_nl}*) 14952 case $ac_var in #( 14953 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 14954$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 14955 esac 14956 case $ac_var in #( 14957 _ | IFS | as_nl) ;; #( 14958 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14959 *) { eval $ac_var=; unset $ac_var;} ;; 14960 esac ;; 14961 esac 14962 done 14963 14964 (set) 2>&1 | 14965 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14966 *${as_nl}ac_space=\ *) 14967 # `set' does not quote correctly, so add quotes: double-quote 14968 # substitution turns \\\\ into \\, and sed turns \\ into \. 14969 sed -n \ 14970 "s/'/'\\\\''/g; 14971 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 14972 ;; #( 14973 *) 14974 # `set' quotes correctly as required by POSIX, so do not add quotes. 14975 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 14976 ;; 14977 esac | 14978 sort 14979) | 14980 sed ' 14981 /^ac_cv_env_/b end 14982 t clear 14983 :clear 14984 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 14985 t end 14986 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 14987 :end' >>confcache 14988if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14989 if test -w "$cache_file"; then 14990 if test "x$cache_file" != "x/dev/null"; then 14991 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 14992$as_echo "$as_me: updating cache $cache_file" >&6;} 14993 if test ! -f "$cache_file" || test -h "$cache_file"; then 14994 cat confcache >"$cache_file" 14995 else 14996 case $cache_file in #( 14997 */* | ?:*) 14998 mv -f confcache "$cache_file"$$ && 14999 mv -f "$cache_file"$$ "$cache_file" ;; #( 15000 *) 15001 mv -f confcache "$cache_file" ;; 15002 esac 15003 fi 15004 fi 15005 else 15006 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15007$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15008 fi 15009fi 15010rm -f confcache 15011 15012test "x$prefix" = xNONE && prefix=$ac_default_prefix 15013# Let make expand exec_prefix. 15014test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 15015 15016DEFS=-DHAVE_CONFIG_H 15017 15018ac_libobjs= 15019ac_ltlibobjs= 15020U= 15021for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15022 # 1. Remove the extension, and $U if already installed. 15023 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15024 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15025 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15026 # will be set to the directory where LIBOBJS objects are built. 15027 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15028 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15029done 15030LIBOBJS=$ac_libobjs 15031 15032LTLIBOBJS=$ac_ltlibobjs 15033 15034 15035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 15036$as_echo_n "checking that generated files are newer than configure... " >&6; } 15037 if test -n "$am_sleep_pid"; then 15038 # Hide warnings about reused PIDs. 15039 wait $am_sleep_pid 2>/dev/null 15040 fi 15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 15042$as_echo "done" >&6; } 15043 if test -n "$EXEEXT"; then 15044 am__EXEEXT_TRUE= 15045 am__EXEEXT_FALSE='#' 15046else 15047 am__EXEEXT_TRUE='#' 15048 am__EXEEXT_FALSE= 15049fi 15050 15051if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 15052 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 15053Usually this means the macro was only invoked conditionally." "$LINENO" 5 15054fi 15055if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 15056 as_fn_error $? "conditional \"AMDEP\" was never defined. 15057Usually this means the macro was only invoked conditionally." "$LINENO" 5 15058fi 15059if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15060 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 15061Usually this means the macro was only invoked conditionally." "$LINENO" 5 15062fi 15063 15064: "${CONFIG_STATUS=./config.status}" 15065ac_write_fail=0 15066ac_clean_files_save=$ac_clean_files 15067ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15068{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15069$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15070as_write_fail=0 15071cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15072#! $SHELL 15073# Generated by $as_me. 15074# Run this file to recreate the current configuration. 15075# Compiler output produced by configure, useful for debugging 15076# configure, is in config.log if it exists. 15077 15078debug=false 15079ac_cs_recheck=false 15080ac_cs_silent=false 15081 15082SHELL=\${CONFIG_SHELL-$SHELL} 15083export SHELL 15084_ASEOF 15085cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 15086## -------------------- ## 15087## M4sh Initialization. ## 15088## -------------------- ## 15089 15090# Be more Bourne compatible 15091DUALCASE=1; export DUALCASE # for MKS sh 15092if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15093 emulate sh 15094 NULLCMD=: 15095 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15096 # is contrary to our usage. Disable this feature. 15097 alias -g '${1+"$@"}'='"$@"' 15098 setopt NO_GLOB_SUBST 15099else 15100 case `(set -o) 2>/dev/null` in #( 15101 *posix*) : 15102 set -o posix ;; #( 15103 *) : 15104 ;; 15105esac 15106fi 15107 15108 15109as_nl=' 15110' 15111export as_nl 15112# Printing a long string crashes Solaris 7 /usr/bin/printf. 15113as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15114as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15115as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15116# Prefer a ksh shell builtin over an external printf program on Solaris, 15117# but without wasting forks for bash or zsh. 15118if test -z "$BASH_VERSION$ZSH_VERSION" \ 15119 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 15120 as_echo='print -r --' 15121 as_echo_n='print -rn --' 15122elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15123 as_echo='printf %s\n' 15124 as_echo_n='printf %s' 15125else 15126 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15127 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15128 as_echo_n='/usr/ucb/echo -n' 15129 else 15130 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15131 as_echo_n_body='eval 15132 arg=$1; 15133 case $arg in #( 15134 *"$as_nl"*) 15135 expr "X$arg" : "X\\(.*\\)$as_nl"; 15136 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15137 esac; 15138 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15139 ' 15140 export as_echo_n_body 15141 as_echo_n='sh -c $as_echo_n_body as_echo' 15142 fi 15143 export as_echo_body 15144 as_echo='sh -c $as_echo_body as_echo' 15145fi 15146 15147# The user is always right. 15148if test "${PATH_SEPARATOR+set}" != set; then 15149 PATH_SEPARATOR=: 15150 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15151 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15152 PATH_SEPARATOR=';' 15153 } 15154fi 15155 15156 15157# IFS 15158# We need space, tab and new line, in precisely that order. Quoting is 15159# there to prevent editors from complaining about space-tab. 15160# (If _AS_PATH_WALK were called with IFS unset, it would disable word 15161# splitting by setting IFS to empty value.) 15162IFS=" "" $as_nl" 15163 15164# Find who we are. Look in the path if we contain no directory separator. 15165as_myself= 15166case $0 in #(( 15167 *[\\/]* ) as_myself=$0 ;; 15168 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15169for as_dir in $PATH 15170do 15171 IFS=$as_save_IFS 15172 test -z "$as_dir" && as_dir=. 15173 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15174 done 15175IFS=$as_save_IFS 15176 15177 ;; 15178esac 15179# We did not find ourselves, most probably we were run as `sh COMMAND' 15180# in which case we are not to be found in the path. 15181if test "x$as_myself" = x; then 15182 as_myself=$0 15183fi 15184if test ! -f "$as_myself"; then 15185 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15186 exit 1 15187fi 15188 15189# Unset variables that we do not need and which cause bugs (e.g. in 15190# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 15191# suppresses any "Segmentation fault" message there. '((' could 15192# trigger a bug in pdksh 5.2.14. 15193for as_var in BASH_ENV ENV MAIL MAILPATH 15194do eval test x\${$as_var+set} = xset \ 15195 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15196done 15197PS1='$ ' 15198PS2='> ' 15199PS4='+ ' 15200 15201# NLS nuisances. 15202LC_ALL=C 15203export LC_ALL 15204LANGUAGE=C 15205export LANGUAGE 15206 15207# CDPATH. 15208(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15209 15210 15211# as_fn_error STATUS ERROR [LINENO LOG_FD] 15212# ---------------------------------------- 15213# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15214# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15215# script with STATUS, using 1 if that was 0. 15216as_fn_error () 15217{ 15218 as_status=$1; test $as_status -eq 0 && as_status=1 15219 if test "$4"; then 15220 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15221 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 15222 fi 15223 $as_echo "$as_me: error: $2" >&2 15224 as_fn_exit $as_status 15225} # as_fn_error 15226 15227 15228# as_fn_set_status STATUS 15229# ----------------------- 15230# Set $? to STATUS, without forking. 15231as_fn_set_status () 15232{ 15233 return $1 15234} # as_fn_set_status 15235 15236# as_fn_exit STATUS 15237# ----------------- 15238# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 15239as_fn_exit () 15240{ 15241 set +e 15242 as_fn_set_status $1 15243 exit $1 15244} # as_fn_exit 15245 15246# as_fn_unset VAR 15247# --------------- 15248# Portably unset VAR. 15249as_fn_unset () 15250{ 15251 { eval $1=; unset $1;} 15252} 15253as_unset=as_fn_unset 15254# as_fn_append VAR VALUE 15255# ---------------------- 15256# Append the text in VALUE to the end of the definition contained in VAR. Take 15257# advantage of any shell optimizations that allow amortized linear growth over 15258# repeated appends, instead of the typical quadratic growth present in naive 15259# implementations. 15260if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15261 eval 'as_fn_append () 15262 { 15263 eval $1+=\$2 15264 }' 15265else 15266 as_fn_append () 15267 { 15268 eval $1=\$$1\$2 15269 } 15270fi # as_fn_append 15271 15272# as_fn_arith ARG... 15273# ------------------ 15274# Perform arithmetic evaluation on the ARGs, and store the result in the 15275# global $as_val. Take advantage of shells that can avoid forks. The arguments 15276# must be portable across $(()) and expr. 15277if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15278 eval 'as_fn_arith () 15279 { 15280 as_val=$(( $* )) 15281 }' 15282else 15283 as_fn_arith () 15284 { 15285 as_val=`expr "$@" || test $? -eq 1` 15286 } 15287fi # as_fn_arith 15288 15289 15290if expr a : '\(a\)' >/dev/null 2>&1 && 15291 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15292 as_expr=expr 15293else 15294 as_expr=false 15295fi 15296 15297if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15298 as_basename=basename 15299else 15300 as_basename=false 15301fi 15302 15303if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15304 as_dirname=dirname 15305else 15306 as_dirname=false 15307fi 15308 15309as_me=`$as_basename -- "$0" || 15310$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15311 X"$0" : 'X\(//\)$' \| \ 15312 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15313$as_echo X/"$0" | 15314 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15315 s//\1/ 15316 q 15317 } 15318 /^X\/\(\/\/\)$/{ 15319 s//\1/ 15320 q 15321 } 15322 /^X\/\(\/\).*/{ 15323 s//\1/ 15324 q 15325 } 15326 s/.*/./; q'` 15327 15328# Avoid depending upon Character Ranges. 15329as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15330as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15331as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15332as_cr_digits='0123456789' 15333as_cr_alnum=$as_cr_Letters$as_cr_digits 15334 15335ECHO_C= ECHO_N= ECHO_T= 15336case `echo -n x` in #((((( 15337-n*) 15338 case `echo 'xy\c'` in 15339 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15340 xy) ECHO_C='\c';; 15341 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 15342 ECHO_T=' ';; 15343 esac;; 15344*) 15345 ECHO_N='-n';; 15346esac 15347 15348rm -f conf$$ conf$$.exe conf$$.file 15349if test -d conf$$.dir; then 15350 rm -f conf$$.dir/conf$$.file 15351else 15352 rm -f conf$$.dir 15353 mkdir conf$$.dir 2>/dev/null 15354fi 15355if (echo >conf$$.file) 2>/dev/null; then 15356 if ln -s conf$$.file conf$$ 2>/dev/null; then 15357 as_ln_s='ln -s' 15358 # ... but there are two gotchas: 15359 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15360 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15361 # In both cases, we have to default to `cp -pR'. 15362 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15363 as_ln_s='cp -pR' 15364 elif ln conf$$.file conf$$ 2>/dev/null; then 15365 as_ln_s=ln 15366 else 15367 as_ln_s='cp -pR' 15368 fi 15369else 15370 as_ln_s='cp -pR' 15371fi 15372rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15373rmdir conf$$.dir 2>/dev/null 15374 15375 15376# as_fn_mkdir_p 15377# ------------- 15378# Create "$as_dir" as a directory, including parents if necessary. 15379as_fn_mkdir_p () 15380{ 15381 15382 case $as_dir in #( 15383 -*) as_dir=./$as_dir;; 15384 esac 15385 test -d "$as_dir" || eval $as_mkdir_p || { 15386 as_dirs= 15387 while :; do 15388 case $as_dir in #( 15389 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15390 *) as_qdir=$as_dir;; 15391 esac 15392 as_dirs="'$as_qdir' $as_dirs" 15393 as_dir=`$as_dirname -- "$as_dir" || 15394$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15395 X"$as_dir" : 'X\(//\)[^/]' \| \ 15396 X"$as_dir" : 'X\(//\)$' \| \ 15397 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15398$as_echo X"$as_dir" | 15399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15400 s//\1/ 15401 q 15402 } 15403 /^X\(\/\/\)[^/].*/{ 15404 s//\1/ 15405 q 15406 } 15407 /^X\(\/\/\)$/{ 15408 s//\1/ 15409 q 15410 } 15411 /^X\(\/\).*/{ 15412 s//\1/ 15413 q 15414 } 15415 s/.*/./; q'` 15416 test -d "$as_dir" && break 15417 done 15418 test -z "$as_dirs" || eval "mkdir $as_dirs" 15419 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 15420 15421 15422} # as_fn_mkdir_p 15423if mkdir -p . 2>/dev/null; then 15424 as_mkdir_p='mkdir -p "$as_dir"' 15425else 15426 test -d ./-p && rmdir ./-p 15427 as_mkdir_p=false 15428fi 15429 15430 15431# as_fn_executable_p FILE 15432# ----------------------- 15433# Test if FILE is an executable regular file. 15434as_fn_executable_p () 15435{ 15436 test -f "$1" && test -x "$1" 15437} # as_fn_executable_p 15438as_test_x='test -x' 15439as_executable_p=as_fn_executable_p 15440 15441# Sed expression to map a string onto a valid CPP name. 15442as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15443 15444# Sed expression to map a string onto a valid variable name. 15445as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15446 15447 15448exec 6>&1 15449## ----------------------------------- ## 15450## Main body of $CONFIG_STATUS script. ## 15451## ----------------------------------- ## 15452_ASEOF 15453test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 15454 15455cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15456# Save the log message, to keep $0 and so on meaningful, and to 15457# report actual input values of CONFIG_FILES etc. instead of their 15458# values after options handling. 15459ac_log=" 15460This file was extended by mendex (TeX Live) $as_me 2.6f, which was 15461generated by GNU Autoconf 2.69. Invocation command line was 15462 15463 CONFIG_FILES = $CONFIG_FILES 15464 CONFIG_HEADERS = $CONFIG_HEADERS 15465 CONFIG_LINKS = $CONFIG_LINKS 15466 CONFIG_COMMANDS = $CONFIG_COMMANDS 15467 $ $0 $@ 15468 15469on `(hostname || uname -n) 2>/dev/null | sed 1q` 15470" 15471 15472_ACEOF 15473 15474case $ac_config_files in *" 15475"*) set x $ac_config_files; shift; ac_config_files=$*;; 15476esac 15477 15478case $ac_config_headers in *" 15479"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 15480esac 15481 15482 15483cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15484# Files that config.status was made for. 15485config_files="$ac_config_files" 15486config_headers="$ac_config_headers" 15487config_commands="$ac_config_commands" 15488 15489_ACEOF 15490 15491cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15492ac_cs_usage="\ 15493\`$as_me' instantiates files and other configuration actions 15494from templates according to the current configuration. Unless the files 15495and actions are specified as TAGs, all are instantiated by default. 15496 15497Usage: $0 [OPTION]... [TAG]... 15498 15499 -h, --help print this help, then exit 15500 -V, --version print version number and configuration settings, then exit 15501 --config print configuration, then exit 15502 -q, --quiet, --silent 15503 do not print progress messages 15504 -d, --debug don't remove temporary files 15505 --recheck update $as_me by reconfiguring in the same conditions 15506 --file=FILE[:TEMPLATE] 15507 instantiate the configuration file FILE 15508 --header=FILE[:TEMPLATE] 15509 instantiate the configuration header FILE 15510 15511Configuration files: 15512$config_files 15513 15514Configuration headers: 15515$config_headers 15516 15517Configuration commands: 15518$config_commands 15519 15520Report bugs to the package provider." 15521 15522_ACEOF 15523cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15524ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15525ac_cs_version="\\ 15526mendex (TeX Live) config.status 2.6f 15527configured by $0, generated by GNU Autoconf 2.69, 15528 with options \\"\$ac_cs_config\\" 15529 15530Copyright (C) 2012 Free Software Foundation, Inc. 15531This config.status script is free software; the Free Software Foundation 15532gives unlimited permission to copy, distribute and modify it." 15533 15534ac_pwd='$ac_pwd' 15535srcdir='$srcdir' 15536INSTALL='$INSTALL' 15537MKDIR_P='$MKDIR_P' 15538AWK='$AWK' 15539test -n "\$AWK" || AWK=awk 15540_ACEOF 15541 15542cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15543# The default lists apply if the user does not specify any file. 15544ac_need_defaults=: 15545while test $# != 0 15546do 15547 case $1 in 15548 --*=?*) 15549 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15550 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15551 ac_shift=: 15552 ;; 15553 --*=) 15554 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15555 ac_optarg= 15556 ac_shift=: 15557 ;; 15558 *) 15559 ac_option=$1 15560 ac_optarg=$2 15561 ac_shift=shift 15562 ;; 15563 esac 15564 15565 case $ac_option in 15566 # Handling of the options. 15567 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 15568 ac_cs_recheck=: ;; 15569 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15570 $as_echo "$ac_cs_version"; exit ;; 15571 --config | --confi | --conf | --con | --co | --c ) 15572 $as_echo "$ac_cs_config"; exit ;; 15573 --debug | --debu | --deb | --de | --d | -d ) 15574 debug=: ;; 15575 --file | --fil | --fi | --f ) 15576 $ac_shift 15577 case $ac_optarg in 15578 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15579 '') as_fn_error $? "missing file argument" ;; 15580 esac 15581 as_fn_append CONFIG_FILES " '$ac_optarg'" 15582 ac_need_defaults=false;; 15583 --header | --heade | --head | --hea ) 15584 $ac_shift 15585 case $ac_optarg in 15586 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15587 esac 15588 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15589 ac_need_defaults=false;; 15590 --he | --h) 15591 # Conflict between --help and --header 15592 as_fn_error $? "ambiguous option: \`$1' 15593Try \`$0 --help' for more information.";; 15594 --help | --hel | -h ) 15595 $as_echo "$ac_cs_usage"; exit ;; 15596 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15597 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15598 ac_cs_silent=: ;; 15599 15600 # This is an error. 15601 -*) as_fn_error $? "unrecognized option: \`$1' 15602Try \`$0 --help' for more information." ;; 15603 15604 *) as_fn_append ac_config_targets " $1" 15605 ac_need_defaults=false ;; 15606 15607 esac 15608 shift 15609done 15610 15611ac_configure_extra_args= 15612 15613if $ac_cs_silent; then 15614 exec 6>/dev/null 15615 ac_configure_extra_args="$ac_configure_extra_args --silent" 15616fi 15617 15618_ACEOF 15619cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15620if \$ac_cs_recheck; then 15621 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15622 shift 15623 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 15624 CONFIG_SHELL='$SHELL' 15625 export CONFIG_SHELL 15626 exec "\$@" 15627fi 15628 15629_ACEOF 15630cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15631exec 5>>config.log 15632{ 15633 echo 15634 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 15635## Running $as_me. ## 15636_ASBOX 15637 $as_echo "$ac_log" 15638} >&5 15639 15640_ACEOF 15641cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15642# 15643# INIT-COMMANDS 15644# 15645AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 15646 15647 15648# The HP-UX ksh and POSIX shell print the target directory to stdout 15649# if CDPATH is set. 15650(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15651 15652sed_quote_subst='$sed_quote_subst' 15653double_quote_subst='$double_quote_subst' 15654delay_variable_subst='$delay_variable_subst' 15655macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 15656macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 15657AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 15658DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 15659OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 15660enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 15661enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 15662pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 15663enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 15664shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 15665SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 15666ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 15667PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 15668host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 15669host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 15670host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 15671build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 15672build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 15673build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 15674SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 15675Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 15676GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 15677EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 15678FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 15679LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 15680NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 15681LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 15682max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 15683ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 15684exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 15685lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 15686lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 15687lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 15688lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 15689lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 15690reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 15691reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 15692deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 15693file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 15694file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 15695want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 15696sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 15697AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 15698AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 15699archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 15700STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 15701RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 15702old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15703old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15704old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 15705lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 15706CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 15707CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 15708compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 15709GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 15710lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 15711lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 15712lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 15713lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 15714lt_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"`' 15715lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 15716nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 15717lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 15718lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 15719objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 15720MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 15721lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 15722lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 15723lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 15724lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 15725lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 15726need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 15727MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 15728DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 15729NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 15730LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 15731OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 15732OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 15733libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 15734shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 15735extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 15736archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 15737enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 15738export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 15739whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 15740compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 15741old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 15742old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 15743archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 15744archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 15745module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 15746module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 15747with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 15748allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 15749no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 15750hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 15751hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 15752hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 15753hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 15754hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 15755hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 15756hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 15757inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 15758link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 15759always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 15760export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 15761exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 15762include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 15763prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 15764postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 15765file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 15766variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 15767need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 15768need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 15769version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 15770runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 15771shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 15772shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 15773libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 15774library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 15775soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 15776install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 15777postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15778postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15779finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 15780finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 15781hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 15782sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 15783configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 15784configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 15785hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 15786enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 15787enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 15788enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 15789old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 15790striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 15791 15792LTCC='$LTCC' 15793LTCFLAGS='$LTCFLAGS' 15794compiler='$compiler_DEFAULT' 15795 15796# A function that is used when there is no print builtin or printf. 15797func_fallback_echo () 15798{ 15799 eval 'cat <<_LTECHO_EOF 15800\$1 15801_LTECHO_EOF' 15802} 15803 15804# Quote evaled strings. 15805for var in AS \ 15806DLLTOOL \ 15807OBJDUMP \ 15808SHELL \ 15809ECHO \ 15810PATH_SEPARATOR \ 15811SED \ 15812GREP \ 15813EGREP \ 15814FGREP \ 15815LD \ 15816NM \ 15817LN_S \ 15818lt_SP2NL \ 15819lt_NL2SP \ 15820reload_flag \ 15821deplibs_check_method \ 15822file_magic_cmd \ 15823file_magic_glob \ 15824want_nocaseglob \ 15825sharedlib_from_linklib_cmd \ 15826AR \ 15827AR_FLAGS \ 15828archiver_list_spec \ 15829STRIP \ 15830RANLIB \ 15831CC \ 15832CFLAGS \ 15833compiler \ 15834lt_cv_sys_global_symbol_pipe \ 15835lt_cv_sys_global_symbol_to_cdecl \ 15836lt_cv_sys_global_symbol_to_import \ 15837lt_cv_sys_global_symbol_to_c_name_address \ 15838lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 15839lt_cv_nm_interface \ 15840nm_file_list_spec \ 15841lt_cv_truncate_bin \ 15842lt_prog_compiler_no_builtin_flag \ 15843lt_prog_compiler_pic \ 15844lt_prog_compiler_wl \ 15845lt_prog_compiler_static \ 15846lt_cv_prog_compiler_c_o \ 15847need_locks \ 15848MANIFEST_TOOL \ 15849DSYMUTIL \ 15850NMEDIT \ 15851LIPO \ 15852OTOOL \ 15853OTOOL64 \ 15854shrext_cmds \ 15855export_dynamic_flag_spec \ 15856whole_archive_flag_spec \ 15857compiler_needs_object \ 15858with_gnu_ld \ 15859allow_undefined_flag \ 15860no_undefined_flag \ 15861hardcode_libdir_flag_spec \ 15862hardcode_libdir_separator \ 15863exclude_expsyms \ 15864include_expsyms \ 15865file_list_spec \ 15866variables_saved_for_relink \ 15867libname_spec \ 15868library_names_spec \ 15869soname_spec \ 15870install_override_mode \ 15871finish_eval \ 15872old_striplib \ 15873striplib; do 15874 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15875 *[\\\\\\\`\\"\\\$]*) 15876 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15877 ;; 15878 *) 15879 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15880 ;; 15881 esac 15882done 15883 15884# Double-quote double-evaled strings. 15885for var in reload_cmds \ 15886old_postinstall_cmds \ 15887old_postuninstall_cmds \ 15888old_archive_cmds \ 15889extract_expsyms_cmds \ 15890old_archive_from_new_cmds \ 15891old_archive_from_expsyms_cmds \ 15892archive_cmds \ 15893archive_expsym_cmds \ 15894module_cmds \ 15895module_expsym_cmds \ 15896export_symbols_cmds \ 15897prelink_cmds \ 15898postlink_cmds \ 15899postinstall_cmds \ 15900postuninstall_cmds \ 15901finish_cmds \ 15902sys_lib_search_path_spec \ 15903configure_time_dlsearch_path \ 15904configure_time_lt_sys_library_path; do 15905 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15906 *[\\\\\\\`\\"\\\$]*) 15907 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15908 ;; 15909 *) 15910 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15911 ;; 15912 esac 15913done 15914 15915ac_aux_dir='$ac_aux_dir' 15916 15917# See if we are running on zsh, and set the options that allow our 15918# commands through without removal of \ escapes INIT. 15919if test -n "\${ZSH_VERSION+set}"; then 15920 setopt NO_GLOB_SUBST 15921fi 15922 15923 15924 PACKAGE='$PACKAGE' 15925 VERSION='$VERSION' 15926 RM='$RM' 15927 ofile='$ofile' 15928 15929ac_aux_dir='$ac_aux_dir' 15930 15931 15932 15933_ACEOF 15934 15935cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15936 15937# Handling of arguments. 15938for ac_config_target in $ac_config_targets 15939do 15940 case $ac_config_target in 15941 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 15942 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 15943 "c-auto.h") CONFIG_HEADERS="$CONFIG_HEADERS c-auto.h:c-auto.in" ;; 15944 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 15945 15946 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15947 esac 15948done 15949 15950 15951# If the user did not use the arguments to specify the items to instantiate, 15952# then the envvar interface is used. Set only those that are not. 15953# We use the long form for the default assignment because of an extremely 15954# bizarre bug on SunOS 4.1.3. 15955if $ac_need_defaults; then 15956 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 15957 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 15958 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 15959fi 15960 15961# Have a temporary directory for convenience. Make it in the build tree 15962# simply because there is no reason against having it here, and in addition, 15963# creating and moving files from /tmp can sometimes cause problems. 15964# Hook for its removal unless debugging. 15965# Note that there is a small window in which the directory will not be cleaned: 15966# after its creation but before its name has been assigned to `$tmp'. 15967$debug || 15968{ 15969 tmp= ac_tmp= 15970 trap 'exit_status=$? 15971 : "${ac_tmp:=$tmp}" 15972 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 15973' 0 15974 trap 'as_fn_exit 1' 1 2 13 15 15975} 15976# Create a (secure) tmp directory for tmp files. 15977 15978{ 15979 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15980 test -d "$tmp" 15981} || 15982{ 15983 tmp=./conf$$-$RANDOM 15984 (umask 077 && mkdir "$tmp") 15985} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15986ac_tmp=$tmp 15987 15988# Set up the scripts for CONFIG_FILES section. 15989# No need to generate them if there are no CONFIG_FILES. 15990# This happens for instance with `./config.status config.h'. 15991if test -n "$CONFIG_FILES"; then 15992 15993 15994ac_cr=`echo X | tr X '\015'` 15995# On cygwin, bash can eat \r inside `` if the user requested igncr. 15996# But we know of no other shell where ac_cr would be empty at this 15997# point, so we can use a bashism as a fallback. 15998if test "x$ac_cr" = x; then 15999 eval ac_cr=\$\'\\r\' 16000fi 16001ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 16002if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 16003 ac_cs_awk_cr='\\r' 16004else 16005 ac_cs_awk_cr=$ac_cr 16006fi 16007 16008echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 16009_ACEOF 16010 16011 16012{ 16013 echo "cat >conf$$subs.awk <<_ACEOF" && 16014 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 16015 echo "_ACEOF" 16016} >conf$$subs.sh || 16017 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16018ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 16019ac_delim='%!_!# ' 16020for ac_last_try in false false false false false :; do 16021 . ./conf$$subs.sh || 16022 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16023 16024 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 16025 if test $ac_delim_n = $ac_delim_num; then 16026 break 16027 elif $ac_last_try; then 16028 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16029 else 16030 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16031 fi 16032done 16033rm -f conf$$subs.sh 16034 16035cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16036cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 16037_ACEOF 16038sed -n ' 16039h 16040s/^/S["/; s/!.*/"]=/ 16041p 16042g 16043s/^[^!]*!// 16044:repl 16045t repl 16046s/'"$ac_delim"'$// 16047t delim 16048:nl 16049h 16050s/\(.\{148\}\)..*/\1/ 16051t more1 16052s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 16053p 16054n 16055b repl 16056:more1 16057s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16058p 16059g 16060s/.\{148\}// 16061t nl 16062:delim 16063h 16064s/\(.\{148\}\)..*/\1/ 16065t more2 16066s/["\\]/\\&/g; s/^/"/; s/$/"/ 16067p 16068b 16069:more2 16070s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16071p 16072g 16073s/.\{148\}// 16074t delim 16075' <conf$$subs.awk | sed ' 16076/^[^""]/{ 16077 N 16078 s/\n// 16079} 16080' >>$CONFIG_STATUS || ac_write_fail=1 16081rm -f conf$$subs.awk 16082cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16083_ACAWK 16084cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 16085 for (key in S) S_is_set[key] = 1 16086 FS = "" 16087 16088} 16089{ 16090 line = $ 0 16091 nfields = split(line, field, "@") 16092 substed = 0 16093 len = length(field[1]) 16094 for (i = 2; i < nfields; i++) { 16095 key = field[i] 16096 keylen = length(key) 16097 if (S_is_set[key]) { 16098 value = S[key] 16099 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 16100 len += length(value) + length(field[++i]) 16101 substed = 1 16102 } else 16103 len += 1 + keylen 16104 } 16105 16106 print line 16107} 16108 16109_ACAWK 16110_ACEOF 16111cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16112if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 16113 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 16114else 16115 cat 16116fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 16117 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 16118_ACEOF 16119 16120# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 16121# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 16122# trailing colons and then remove the whole line if VPATH becomes empty 16123# (actually we leave an empty line to preserve line numbers). 16124if test "x$srcdir" = x.; then 16125 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 16126h 16127s/// 16128s/^/:/ 16129s/[ ]*$/:/ 16130s/:\$(srcdir):/:/g 16131s/:\${srcdir}:/:/g 16132s/:@srcdir@:/:/g 16133s/^:*// 16134s/:*$// 16135x 16136s/\(=[ ]*\).*/\1/ 16137G 16138s/\n// 16139s/^[^=]*=[ ]*$// 16140}' 16141fi 16142 16143cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16144fi # test -n "$CONFIG_FILES" 16145 16146# Set up the scripts for CONFIG_HEADERS section. 16147# No need to generate them if there are no CONFIG_HEADERS. 16148# This happens for instance with `./config.status Makefile'. 16149if test -n "$CONFIG_HEADERS"; then 16150cat >"$ac_tmp/defines.awk" <<\_ACAWK || 16151BEGIN { 16152_ACEOF 16153 16154# Transform confdefs.h into an awk script `defines.awk', embedded as 16155# here-document in config.status, that substitutes the proper values into 16156# config.h.in to produce config.h. 16157 16158# Create a delimiter string that does not exist in confdefs.h, to ease 16159# handling of long lines. 16160ac_delim='%!_!# ' 16161for ac_last_try in false false :; do 16162 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 16163 if test -z "$ac_tt"; then 16164 break 16165 elif $ac_last_try; then 16166 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 16167 else 16168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16169 fi 16170done 16171 16172# For the awk script, D is an array of macro values keyed by name, 16173# likewise P contains macro parameters if any. Preserve backslash 16174# newline sequences. 16175 16176ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16177sed -n ' 16178s/.\{148\}/&'"$ac_delim"'/g 16179t rset 16180:rset 16181s/^[ ]*#[ ]*define[ ][ ]*/ / 16182t def 16183d 16184:def 16185s/\\$// 16186t bsnl 16187s/["\\]/\\&/g 16188s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16189D["\1"]=" \3"/p 16190s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 16191d 16192:bsnl 16193s/["\\]/\\&/g 16194s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16195D["\1"]=" \3\\\\\\n"\\/p 16196t cont 16197s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 16198t cont 16199d 16200:cont 16201n 16202s/.\{148\}/&'"$ac_delim"'/g 16203t clear 16204:clear 16205s/\\$// 16206t bsnlc 16207s/["\\]/\\&/g; s/^/"/; s/$/"/p 16208d 16209:bsnlc 16210s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 16211b cont 16212' <confdefs.h | sed ' 16213s/'"$ac_delim"'/"\\\ 16214"/g' >>$CONFIG_STATUS || ac_write_fail=1 16215 16216cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16217 for (key in D) D_is_set[key] = 1 16218 FS = "" 16219} 16220/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 16221 line = \$ 0 16222 split(line, arg, " ") 16223 if (arg[1] == "#") { 16224 defundef = arg[2] 16225 mac1 = arg[3] 16226 } else { 16227 defundef = substr(arg[1], 2) 16228 mac1 = arg[2] 16229 } 16230 split(mac1, mac2, "(") #) 16231 macro = mac2[1] 16232 prefix = substr(line, 1, index(line, defundef) - 1) 16233 if (D_is_set[macro]) { 16234 # Preserve the white space surrounding the "#". 16235 print prefix "define", macro P[macro] D[macro] 16236 next 16237 } else { 16238 # Replace #undef with comments. This is necessary, for example, 16239 # in the case of _POSIX_SOURCE, which is predefined and required 16240 # on some systems where configure will not decide to define it. 16241 if (defundef == "undef") { 16242 print "/*", prefix defundef, macro, "*/" 16243 next 16244 } 16245 } 16246} 16247{ print } 16248_ACAWK 16249_ACEOF 16250cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16251 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 16252fi # test -n "$CONFIG_HEADERS" 16253 16254 16255eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16256shift 16257for ac_tag 16258do 16259 case $ac_tag in 16260 :[FHLC]) ac_mode=$ac_tag; continue;; 16261 esac 16262 case $ac_mode$ac_tag in 16263 :[FHL]*:*);; 16264 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 16265 :[FH]-) ac_tag=-:-;; 16266 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16267 esac 16268 ac_save_IFS=$IFS 16269 IFS=: 16270 set x $ac_tag 16271 IFS=$ac_save_IFS 16272 shift 16273 ac_file=$1 16274 shift 16275 16276 case $ac_mode in 16277 :L) ac_source=$1;; 16278 :[FH]) 16279 ac_file_inputs= 16280 for ac_f 16281 do 16282 case $ac_f in 16283 -) ac_f="$ac_tmp/stdin";; 16284 *) # Look for the file first in the build tree, then in the source tree 16285 # (if the path is not absolute). The absolute path cannot be DOS-style, 16286 # because $ac_f cannot contain `:'. 16287 test -f "$ac_f" || 16288 case $ac_f in 16289 [\\/$]*) false;; 16290 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16291 esac || 16292 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16293 esac 16294 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16295 as_fn_append ac_file_inputs " '$ac_f'" 16296 done 16297 16298 # Let's still pretend it is `configure' which instantiates (i.e., don't 16299 # use $as_me), people would be surprised to read: 16300 # /* config.h. Generated by config.status. */ 16301 configure_input='Generated from '` 16302 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16303 `' by configure.' 16304 if test x"$ac_file" != x-; then 16305 configure_input="$ac_file. $configure_input" 16306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16307$as_echo "$as_me: creating $ac_file" >&6;} 16308 fi 16309 # Neutralize special characters interpreted by sed in replacement strings. 16310 case $configure_input in #( 16311 *\&* | *\|* | *\\* ) 16312 ac_sed_conf_input=`$as_echo "$configure_input" | 16313 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16314 *) ac_sed_conf_input=$configure_input;; 16315 esac 16316 16317 case $ac_tag in 16318 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 16319 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16320 esac 16321 ;; 16322 esac 16323 16324 ac_dir=`$as_dirname -- "$ac_file" || 16325$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16326 X"$ac_file" : 'X\(//\)[^/]' \| \ 16327 X"$ac_file" : 'X\(//\)$' \| \ 16328 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16329$as_echo X"$ac_file" | 16330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16331 s//\1/ 16332 q 16333 } 16334 /^X\(\/\/\)[^/].*/{ 16335 s//\1/ 16336 q 16337 } 16338 /^X\(\/\/\)$/{ 16339 s//\1/ 16340 q 16341 } 16342 /^X\(\/\).*/{ 16343 s//\1/ 16344 q 16345 } 16346 s/.*/./; q'` 16347 as_dir="$ac_dir"; as_fn_mkdir_p 16348 ac_builddir=. 16349 16350case "$ac_dir" in 16351.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16352*) 16353 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16354 # A ".." for each directory in $ac_dir_suffix. 16355 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16356 case $ac_top_builddir_sub in 16357 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16358 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16359 esac ;; 16360esac 16361ac_abs_top_builddir=$ac_pwd 16362ac_abs_builddir=$ac_pwd$ac_dir_suffix 16363# for backward compatibility: 16364ac_top_builddir=$ac_top_build_prefix 16365 16366case $srcdir in 16367 .) # We are building in place. 16368 ac_srcdir=. 16369 ac_top_srcdir=$ac_top_builddir_sub 16370 ac_abs_top_srcdir=$ac_pwd ;; 16371 [\\/]* | ?:[\\/]* ) # Absolute name. 16372 ac_srcdir=$srcdir$ac_dir_suffix; 16373 ac_top_srcdir=$srcdir 16374 ac_abs_top_srcdir=$srcdir ;; 16375 *) # Relative name. 16376 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 16377 ac_top_srcdir=$ac_top_build_prefix$srcdir 16378 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 16379esac 16380ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 16381 16382 16383 case $ac_mode in 16384 :F) 16385 # 16386 # CONFIG_FILE 16387 # 16388 16389 case $INSTALL in 16390 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16391 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 16392 esac 16393 ac_MKDIR_P=$MKDIR_P 16394 case $MKDIR_P in 16395 [\\/$]* | ?:[\\/]* ) ;; 16396 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 16397 esac 16398_ACEOF 16399 16400cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16401# If the template does not know about datarootdir, expand it. 16402# FIXME: This hack should be removed a few years after 2.60. 16403ac_datarootdir_hack=; ac_datarootdir_seen= 16404ac_sed_dataroot=' 16405/datarootdir/ { 16406 p 16407 q 16408} 16409/@datadir@/p 16410/@docdir@/p 16411/@infodir@/p 16412/@localedir@/p 16413/@mandir@/p' 16414case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16415*datarootdir*) ac_datarootdir_seen=yes;; 16416*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16418$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 16419_ACEOF 16420cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16421 ac_datarootdir_hack=' 16422 s&@datadir@&$datadir&g 16423 s&@docdir@&$docdir&g 16424 s&@infodir@&$infodir&g 16425 s&@localedir@&$localedir&g 16426 s&@mandir@&$mandir&g 16427 s&\\\${datarootdir}&$datarootdir&g' ;; 16428esac 16429_ACEOF 16430 16431# Neutralize VPATH when `$srcdir' = `.'. 16432# Shell code in configure.ac might set extrasub. 16433# FIXME: do we really want to maintain this feature? 16434cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16435ac_sed_extra="$ac_vpsub 16436$extrasub 16437_ACEOF 16438cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16439:t 16440/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16441s|@configure_input@|$ac_sed_conf_input|;t t 16442s&@top_builddir@&$ac_top_builddir_sub&;t t 16443s&@top_build_prefix@&$ac_top_build_prefix&;t t 16444s&@srcdir@&$ac_srcdir&;t t 16445s&@abs_srcdir@&$ac_abs_srcdir&;t t 16446s&@top_srcdir@&$ac_top_srcdir&;t t 16447s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 16448s&@builddir@&$ac_builddir&;t t 16449s&@abs_builddir@&$ac_abs_builddir&;t t 16450s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 16451s&@INSTALL@&$ac_INSTALL&;t t 16452s&@MKDIR_P@&$ac_MKDIR_P&;t t 16453$ac_datarootdir_hack 16454" 16455eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 16456 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16457 16458test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16459 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 16460 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 16461 "$ac_tmp/out"`; test -z "$ac_out"; } && 16462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16463which seems to be undefined. Please make sure it is defined" >&5 16464$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16465which seems to be undefined. Please make sure it is defined" >&2;} 16466 16467 rm -f "$ac_tmp/stdin" 16468 case $ac_file in 16469 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 16470 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 16471 esac \ 16472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16473 ;; 16474 :H) 16475 # 16476 # CONFIG_HEADER 16477 # 16478 if test x"$ac_file" != x-; then 16479 { 16480 $as_echo "/* $configure_input */" \ 16481 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 16482 } >"$ac_tmp/config.h" \ 16483 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16484 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 16485 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16486$as_echo "$as_me: $ac_file is unchanged" >&6;} 16487 else 16488 rm -f "$ac_file" 16489 mv "$ac_tmp/config.h" "$ac_file" \ 16490 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16491 fi 16492 else 16493 $as_echo "/* $configure_input */" \ 16494 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 16495 || as_fn_error $? "could not create -" "$LINENO" 5 16496 fi 16497# Compute "$ac_file"'s index in $config_headers. 16498_am_arg="$ac_file" 16499_am_stamp_count=1 16500for _am_header in $config_headers :; do 16501 case $_am_header in 16502 $_am_arg | $_am_arg:* ) 16503 break ;; 16504 * ) 16505 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 16506 esac 16507done 16508echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 16509$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16510 X"$_am_arg" : 'X\(//\)[^/]' \| \ 16511 X"$_am_arg" : 'X\(//\)$' \| \ 16512 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 16513$as_echo X"$_am_arg" | 16514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16515 s//\1/ 16516 q 16517 } 16518 /^X\(\/\/\)[^/].*/{ 16519 s//\1/ 16520 q 16521 } 16522 /^X\(\/\/\)$/{ 16523 s//\1/ 16524 q 16525 } 16526 /^X\(\/\).*/{ 16527 s//\1/ 16528 q 16529 } 16530 s/.*/./; q'`/stamp-h$_am_stamp_count 16531 ;; 16532 16533 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16534$as_echo "$as_me: executing $ac_file commands" >&6;} 16535 ;; 16536 esac 16537 16538 16539 case $ac_file$ac_mode in 16540 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 16541 # Older Autoconf quotes --file arguments for eval, but not when files 16542 # are listed without --file. Let's play safe and only enable the eval 16543 # if we detect the quoting. 16544 case $CONFIG_FILES in 16545 *\'*) eval set x "$CONFIG_FILES" ;; 16546 *) set x $CONFIG_FILES ;; 16547 esac 16548 shift 16549 for mf 16550 do 16551 # Strip MF so we end up with the name of the file. 16552 mf=`echo "$mf" | sed -e 's/:.*$//'` 16553 # Check whether this is an Automake generated Makefile or not. 16554 # We used to match only the files named 'Makefile.in', but 16555 # some people rename them; so instead we look at the file content. 16556 # Grep'ing the first line is not enough: some people post-process 16557 # each Makefile.in and add a new line on top of each file to say so. 16558 # Grep'ing the whole file is not good either: AIX grep has a line 16559 # limit of 2048, but all sed's we know have understand at least 4000. 16560 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 16561 dirpart=`$as_dirname -- "$mf" || 16562$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16563 X"$mf" : 'X\(//\)[^/]' \| \ 16564 X"$mf" : 'X\(//\)$' \| \ 16565 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 16566$as_echo X"$mf" | 16567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16568 s//\1/ 16569 q 16570 } 16571 /^X\(\/\/\)[^/].*/{ 16572 s//\1/ 16573 q 16574 } 16575 /^X\(\/\/\)$/{ 16576 s//\1/ 16577 q 16578 } 16579 /^X\(\/\).*/{ 16580 s//\1/ 16581 q 16582 } 16583 s/.*/./; q'` 16584 else 16585 continue 16586 fi 16587 # Extract the definition of DEPDIR, am__include, and am__quote 16588 # from the Makefile without running 'make'. 16589 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 16590 test -z "$DEPDIR" && continue 16591 am__include=`sed -n 's/^am__include = //p' < "$mf"` 16592 test -z "$am__include" && continue 16593 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 16594 # Find all dependency output files, they are included files with 16595 # $(DEPDIR) in their names. We invoke sed twice because it is the 16596 # simplest approach to changing $(DEPDIR) to its actual value in the 16597 # expansion. 16598 for file in `sed -n " 16599 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 16600 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 16601 # Make sure the directory exists. 16602 test -f "$dirpart/$file" && continue 16603 fdir=`$as_dirname -- "$file" || 16604$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16605 X"$file" : 'X\(//\)[^/]' \| \ 16606 X"$file" : 'X\(//\)$' \| \ 16607 X"$file" : 'X\(/\)' \| . 2>/dev/null || 16608$as_echo X"$file" | 16609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16610 s//\1/ 16611 q 16612 } 16613 /^X\(\/\/\)[^/].*/{ 16614 s//\1/ 16615 q 16616 } 16617 /^X\(\/\/\)$/{ 16618 s//\1/ 16619 q 16620 } 16621 /^X\(\/\).*/{ 16622 s//\1/ 16623 q 16624 } 16625 s/.*/./; q'` 16626 as_dir=$dirpart/$fdir; as_fn_mkdir_p 16627 # echo "creating $dirpart/$file" 16628 echo '# dummy' > "$dirpart/$file" 16629 done 16630 done 16631} 16632 ;; 16633 "libtool":C) 16634 16635 # See if we are running on zsh, and set the options that allow our 16636 # commands through without removal of \ escapes. 16637 if test -n "${ZSH_VERSION+set}"; then 16638 setopt NO_GLOB_SUBST 16639 fi 16640 16641 cfgfile=${ofile}T 16642 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 16643 $RM "$cfgfile" 16644 16645 cat <<_LT_EOF >> "$cfgfile" 16646#! $SHELL 16647# Generated automatically by $as_me ($PACKAGE) $VERSION 16648# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 16649# NOTE: Changes made to this file will be lost: look at ltmain.sh. 16650 16651# Provide generalized library-building support services. 16652# Written by Gordon Matzigkeit, 1996 16653 16654# Copyright (C) 2014 Free Software Foundation, Inc. 16655# This is free software; see the source for copying conditions. There is NO 16656# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16657 16658# GNU Libtool is free software; you can redistribute it and/or modify 16659# it under the terms of the GNU General Public License as published by 16660# the Free Software Foundation; either version 2 of of the License, or 16661# (at your option) any later version. 16662# 16663# As a special exception to the GNU General Public License, if you 16664# distribute this file as part of a program or library that is built 16665# using GNU Libtool, you may include this file under the same 16666# distribution terms that you use for the rest of that program. 16667# 16668# GNU Libtool is distributed in the hope that it will be useful, but 16669# WITHOUT ANY WARRANTY; without even the implied warranty of 16670# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16671# GNU General Public License for more details. 16672# 16673# You should have received a copy of the GNU General Public License 16674# along with this program. If not, see <http://www.gnu.org/licenses/>. 16675 16676 16677# The names of the tagged configurations supported by this script. 16678available_tags='' 16679 16680# Configured defaults for sys_lib_dlsearch_path munging. 16681: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 16682 16683# ### BEGIN LIBTOOL CONFIG 16684 16685# Which release of libtool.m4 was used? 16686macro_version=$macro_version 16687macro_revision=$macro_revision 16688 16689# Assembler program. 16690AS=$lt_AS 16691 16692# DLL creation program. 16693DLLTOOL=$lt_DLLTOOL 16694 16695# Object dumper program. 16696OBJDUMP=$lt_OBJDUMP 16697 16698# Whether or not to build shared libraries. 16699build_libtool_libs=$enable_shared 16700 16701# Whether or not to build static libraries. 16702build_old_libs=$enable_static 16703 16704# What type of objects to build. 16705pic_mode=$pic_mode 16706 16707# Whether or not to optimize for fast installation. 16708fast_install=$enable_fast_install 16709 16710# Shared archive member basename,for filename based shared library versioning on AIX. 16711shared_archive_member_spec=$shared_archive_member_spec 16712 16713# Shell to use when invoking shell scripts. 16714SHELL=$lt_SHELL 16715 16716# An echo program that protects backslashes. 16717ECHO=$lt_ECHO 16718 16719# The PATH separator for the build system. 16720PATH_SEPARATOR=$lt_PATH_SEPARATOR 16721 16722# The host system. 16723host_alias=$host_alias 16724host=$host 16725host_os=$host_os 16726 16727# The build system. 16728build_alias=$build_alias 16729build=$build 16730build_os=$build_os 16731 16732# A sed program that does not truncate output. 16733SED=$lt_SED 16734 16735# Sed that helps us avoid accidentally triggering echo(1) options like -n. 16736Xsed="\$SED -e 1s/^X//" 16737 16738# A grep program that handles long lines. 16739GREP=$lt_GREP 16740 16741# An ERE matcher. 16742EGREP=$lt_EGREP 16743 16744# A literal string matcher. 16745FGREP=$lt_FGREP 16746 16747# A BSD- or MS-compatible name lister. 16748NM=$lt_NM 16749 16750# Whether we need soft or hard links. 16751LN_S=$lt_LN_S 16752 16753# What is the maximum length of a command? 16754max_cmd_len=$max_cmd_len 16755 16756# Object file suffix (normally "o"). 16757objext=$ac_objext 16758 16759# Executable file suffix (normally ""). 16760exeext=$exeext 16761 16762# whether the shell understands "unset". 16763lt_unset=$lt_unset 16764 16765# turn spaces into newlines. 16766SP2NL=$lt_lt_SP2NL 16767 16768# turn newlines into spaces. 16769NL2SP=$lt_lt_NL2SP 16770 16771# convert \$build file names to \$host format. 16772to_host_file_cmd=$lt_cv_to_host_file_cmd 16773 16774# convert \$build files to toolchain format. 16775to_tool_file_cmd=$lt_cv_to_tool_file_cmd 16776 16777# Method to check whether dependent libraries are shared objects. 16778deplibs_check_method=$lt_deplibs_check_method 16779 16780# Command to use when deplibs_check_method = "file_magic". 16781file_magic_cmd=$lt_file_magic_cmd 16782 16783# How to find potential files when deplibs_check_method = "file_magic". 16784file_magic_glob=$lt_file_magic_glob 16785 16786# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 16787want_nocaseglob=$lt_want_nocaseglob 16788 16789# Command to associate shared and link libraries. 16790sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 16791 16792# The archiver. 16793AR=$lt_AR 16794 16795# Flags to create an archive. 16796AR_FLAGS=$lt_AR_FLAGS 16797 16798# How to feed a file listing to the archiver. 16799archiver_list_spec=$lt_archiver_list_spec 16800 16801# A symbol stripping program. 16802STRIP=$lt_STRIP 16803 16804# Commands used to install an old-style archive. 16805RANLIB=$lt_RANLIB 16806old_postinstall_cmds=$lt_old_postinstall_cmds 16807old_postuninstall_cmds=$lt_old_postuninstall_cmds 16808 16809# Whether to use a lock for old archive extraction. 16810lock_old_archive_extraction=$lock_old_archive_extraction 16811 16812# A C compiler. 16813LTCC=$lt_CC 16814 16815# LTCC compiler flags. 16816LTCFLAGS=$lt_CFLAGS 16817 16818# Take the output of nm and produce a listing of raw symbols and C names. 16819global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 16820 16821# Transform the output of nm in a proper C declaration. 16822global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 16823 16824# Transform the output of nm into a list of symbols to manually relocate. 16825global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 16826 16827# Transform the output of nm in a C name address pair. 16828global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 16829 16830# Transform the output of nm in a C name address pair when lib prefix is needed. 16831global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 16832 16833# The name lister interface. 16834nm_interface=$lt_lt_cv_nm_interface 16835 16836# Specify filename containing input files for \$NM. 16837nm_file_list_spec=$lt_nm_file_list_spec 16838 16839# The root where to search for dependent libraries,and where our libraries should be installed. 16840lt_sysroot=$lt_sysroot 16841 16842# Command to truncate a binary pipe. 16843lt_truncate_bin=$lt_lt_cv_truncate_bin 16844 16845# The name of the directory that contains temporary libtool files. 16846objdir=$objdir 16847 16848# Used to examine libraries when file_magic_cmd begins with "file". 16849MAGIC_CMD=$MAGIC_CMD 16850 16851# Must we lock files when doing compilation? 16852need_locks=$lt_need_locks 16853 16854# Manifest tool. 16855MANIFEST_TOOL=$lt_MANIFEST_TOOL 16856 16857# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 16858DSYMUTIL=$lt_DSYMUTIL 16859 16860# Tool to change global to local symbols on Mac OS X. 16861NMEDIT=$lt_NMEDIT 16862 16863# Tool to manipulate fat objects and archives on Mac OS X. 16864LIPO=$lt_LIPO 16865 16866# ldd/readelf like tool for Mach-O binaries on Mac OS X. 16867OTOOL=$lt_OTOOL 16868 16869# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 16870OTOOL64=$lt_OTOOL64 16871 16872# Old archive suffix (normally "a"). 16873libext=$libext 16874 16875# Shared library suffix (normally ".so"). 16876shrext_cmds=$lt_shrext_cmds 16877 16878# The commands to extract the exported symbol list from a shared archive. 16879extract_expsyms_cmds=$lt_extract_expsyms_cmds 16880 16881# Variables whose values should be saved in libtool wrapper scripts and 16882# restored at link time. 16883variables_saved_for_relink=$lt_variables_saved_for_relink 16884 16885# Do we need the "lib" prefix for modules? 16886need_lib_prefix=$need_lib_prefix 16887 16888# Do we need a version for libraries? 16889need_version=$need_version 16890 16891# Library versioning type. 16892version_type=$version_type 16893 16894# Shared library runtime path variable. 16895runpath_var=$runpath_var 16896 16897# Shared library path variable. 16898shlibpath_var=$shlibpath_var 16899 16900# Is shlibpath searched before the hard-coded library search path? 16901shlibpath_overrides_runpath=$shlibpath_overrides_runpath 16902 16903# Format of library name prefix. 16904libname_spec=$lt_libname_spec 16905 16906# List of archive names. First name is the real one, the rest are links. 16907# The last name is the one that the linker finds with -lNAME 16908library_names_spec=$lt_library_names_spec 16909 16910# The coded name of the library, if different from the real name. 16911soname_spec=$lt_soname_spec 16912 16913# Permission mode override for installation of shared libraries. 16914install_override_mode=$lt_install_override_mode 16915 16916# Command to use after installation of a shared archive. 16917postinstall_cmds=$lt_postinstall_cmds 16918 16919# Command to use after uninstallation of a shared archive. 16920postuninstall_cmds=$lt_postuninstall_cmds 16921 16922# Commands used to finish a libtool library installation in a directory. 16923finish_cmds=$lt_finish_cmds 16924 16925# As "finish_cmds", except a single script fragment to be evaled but 16926# not shown. 16927finish_eval=$lt_finish_eval 16928 16929# Whether we should hardcode library paths into libraries. 16930hardcode_into_libs=$hardcode_into_libs 16931 16932# Compile-time system search path for libraries. 16933sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16934 16935# Detected run-time system search path for libraries. 16936sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 16937 16938# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 16939configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 16940 16941# Whether dlopen is supported. 16942dlopen_support=$enable_dlopen 16943 16944# Whether dlopen of programs is supported. 16945dlopen_self=$enable_dlopen_self 16946 16947# Whether dlopen of statically linked programs is supported. 16948dlopen_self_static=$enable_dlopen_self_static 16949 16950# Commands to strip libraries. 16951old_striplib=$lt_old_striplib 16952striplib=$lt_striplib 16953 16954 16955# The linker used to build libraries. 16956LD=$lt_LD 16957 16958# How to create reloadable object files. 16959reload_flag=$lt_reload_flag 16960reload_cmds=$lt_reload_cmds 16961 16962# Commands used to build an old-style archive. 16963old_archive_cmds=$lt_old_archive_cmds 16964 16965# A language specific compiler. 16966CC=$lt_compiler 16967 16968# Is the compiler the GNU compiler? 16969with_gcc=$GCC 16970 16971# Compiler flag to turn off builtin functions. 16972no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16973 16974# Additional compiler flags for building library objects. 16975pic_flag=$lt_lt_prog_compiler_pic 16976 16977# How to pass a linker flag through the compiler. 16978wl=$lt_lt_prog_compiler_wl 16979 16980# Compiler flag to prevent dynamic linking. 16981link_static_flag=$lt_lt_prog_compiler_static 16982 16983# Does compiler simultaneously support -c and -o options? 16984compiler_c_o=$lt_lt_cv_prog_compiler_c_o 16985 16986# Whether or not to add -lc for building shared libraries. 16987build_libtool_need_lc=$archive_cmds_need_lc 16988 16989# Whether or not to disallow shared libs when runtime libs are static. 16990allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 16991 16992# Compiler flag to allow reflexive dlopens. 16993export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 16994 16995# Compiler flag to generate shared objects directly from archives. 16996whole_archive_flag_spec=$lt_whole_archive_flag_spec 16997 16998# Whether the compiler copes with passing no objects directly. 16999compiler_needs_object=$lt_compiler_needs_object 17000 17001# Create an old-style archive from a shared archive. 17002old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 17003 17004# Create a temporary old-style archive to link instead of a shared archive. 17005old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 17006 17007# Commands used to build a shared archive. 17008archive_cmds=$lt_archive_cmds 17009archive_expsym_cmds=$lt_archive_expsym_cmds 17010 17011# Commands used to build a loadable module if different from building 17012# a shared archive. 17013module_cmds=$lt_module_cmds 17014module_expsym_cmds=$lt_module_expsym_cmds 17015 17016# Whether we are building with GNU ld or not. 17017with_gnu_ld=$lt_with_gnu_ld 17018 17019# Flag that allows shared libraries with undefined symbols to be built. 17020allow_undefined_flag=$lt_allow_undefined_flag 17021 17022# Flag that enforces no undefined symbols. 17023no_undefined_flag=$lt_no_undefined_flag 17024 17025# Flag to hardcode \$libdir into a binary during linking. 17026# This must work even if \$libdir does not exist 17027hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 17028 17029# Whether we need a single "-rpath" flag with a separated argument. 17030hardcode_libdir_separator=$lt_hardcode_libdir_separator 17031 17032# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 17033# DIR into the resulting binary. 17034hardcode_direct=$hardcode_direct 17035 17036# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 17037# DIR into the resulting binary and the resulting library dependency is 17038# "absolute",i.e impossible to change by setting \$shlibpath_var if the 17039# library is relocated. 17040hardcode_direct_absolute=$hardcode_direct_absolute 17041 17042# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 17043# into the resulting binary. 17044hardcode_minus_L=$hardcode_minus_L 17045 17046# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 17047# into the resulting binary. 17048hardcode_shlibpath_var=$hardcode_shlibpath_var 17049 17050# Set to "yes" if building a shared library automatically hardcodes DIR 17051# into the library and all subsequent libraries and executables linked 17052# against it. 17053hardcode_automatic=$hardcode_automatic 17054 17055# Set to yes if linker adds runtime paths of dependent libraries 17056# to runtime path list. 17057inherit_rpath=$inherit_rpath 17058 17059# Whether libtool must link a program against all its dependency libraries. 17060link_all_deplibs=$link_all_deplibs 17061 17062# Set to "yes" if exported symbols are required. 17063always_export_symbols=$always_export_symbols 17064 17065# The commands to list exported symbols. 17066export_symbols_cmds=$lt_export_symbols_cmds 17067 17068# Symbols that should not be listed in the preloaded symbols. 17069exclude_expsyms=$lt_exclude_expsyms 17070 17071# Symbols that must always be exported. 17072include_expsyms=$lt_include_expsyms 17073 17074# Commands necessary for linking programs (against libraries) with templates. 17075prelink_cmds=$lt_prelink_cmds 17076 17077# Commands necessary for finishing linking programs. 17078postlink_cmds=$lt_postlink_cmds 17079 17080# Specify filename containing input files. 17081file_list_spec=$lt_file_list_spec 17082 17083# How to hardcode a shared library path into an executable. 17084hardcode_action=$hardcode_action 17085 17086# ### END LIBTOOL CONFIG 17087 17088_LT_EOF 17089 17090 cat <<'_LT_EOF' >> "$cfgfile" 17091 17092# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 17093 17094# func_munge_path_list VARIABLE PATH 17095# ----------------------------------- 17096# VARIABLE is name of variable containing _space_ separated list of 17097# directories to be munged by the contents of PATH, which is string 17098# having a format: 17099# "DIR[:DIR]:" 17100# string "DIR[ DIR]" will be prepended to VARIABLE 17101# ":DIR[:DIR]" 17102# string "DIR[ DIR]" will be appended to VARIABLE 17103# "DIRP[:DIRP]::[DIRA:]DIRA" 17104# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 17105# "DIRA[ DIRA]" will be appended to VARIABLE 17106# "DIR[:DIR]" 17107# VARIABLE will be replaced by "DIR[ DIR]" 17108func_munge_path_list () 17109{ 17110 case x$2 in 17111 x) 17112 ;; 17113 *:) 17114 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 17115 ;; 17116 x:*) 17117 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 17118 ;; 17119 *::*) 17120 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 17121 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 17122 ;; 17123 *) 17124 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 17125 ;; 17126 esac 17127} 17128 17129 17130# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 17131func_cc_basename () 17132{ 17133 for cc_temp in $*""; do 17134 case $cc_temp in 17135 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 17136 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 17137 \-*) ;; 17138 *) break;; 17139 esac 17140 done 17141 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 17142} 17143 17144 17145# ### END FUNCTIONS SHARED WITH CONFIGURE 17146 17147_LT_EOF 17148 17149 case $host_os in 17150 aix3*) 17151 cat <<\_LT_EOF >> "$cfgfile" 17152# AIX sometimes has problems with the GCC collect2 program. For some 17153# reason, if we set the COLLECT_NAMES environment variable, the problems 17154# vanish in a puff of smoke. 17155if test set != "${COLLECT_NAMES+set}"; then 17156 COLLECT_NAMES= 17157 export COLLECT_NAMES 17158fi 17159_LT_EOF 17160 ;; 17161 esac 17162 17163 17164ltmain=$ac_aux_dir/ltmain.sh 17165 17166 17167 # We use sed instead of cat because bash on DJGPP gets confused if 17168 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17169 # text mode, it properly converts lines to CR/LF. This bash problem 17170 # is reportedly fixed, but why not run on old versions too? 17171 sed '$q' "$ltmain" >> "$cfgfile" \ 17172 || (rm -f "$cfgfile"; exit 1) 17173 17174 mv -f "$cfgfile" "$ofile" || 17175 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17176 chmod +x "$ofile" 17177 17178 ;; 17179 17180 esac 17181done # for ac_tag 17182 17183 17184as_fn_exit 0 17185_ACEOF 17186ac_clean_files=$ac_clean_files_save 17187 17188test $ac_write_fail = 0 || 17189 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17190 17191 17192# configure is writing to config.log, and then calls config.status. 17193# config.status does its own redirection, appending to config.log. 17194# Unfortunately, on DOS this fails, as config.log is still kept open 17195# by configure, so config.status won't be able to write to it; its 17196# output is simply discarded. So we exec the FD to /dev/null, 17197# effectively closing config.log, so it can be properly (re)opened and 17198# appended to by config.status. When coming back to configure, we 17199# need to make the FD available again. 17200if test "$no_create" != yes; then 17201 ac_cs_success=: 17202 ac_config_status_args= 17203 test "$silent" = yes && 17204 ac_config_status_args="$ac_config_status_args --quiet" 17205 exec 5>/dev/null 17206 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 17207 exec 5>>config.log 17208 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17209 # would make configure fail if this is the last instruction. 17210 $ac_cs_success || as_fn_exit 1 17211fi 17212if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 17213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 17214$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17215fi 17216 17217