1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for dvipsk (TeXLive) 5.995. 4# 5# Report bugs to <tex-k@tug.org>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org 278$0: about your system, including any error possibly output 279$0: before this message. Then install a modern shell, or 280$0: manually run the script under such a shell if you do 281$0: have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='dvipsk (TeXLive)' 592PACKAGE_TARNAME='dvipsk--texlive-' 593PACKAGE_VERSION='5.995' 594PACKAGE_STRING='dvipsk (TeXLive) 5.995' 595PACKAGE_BUGREPORT='tex-k@tug.org' 596PACKAGE_URL='' 597 598ac_unique_file="dvips.c" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635enable_option_checking=no 636ac_subst_vars='am__EXEEXT_FALSE 637am__EXEEXT_TRUE 638LTLIBOBJS 639LIBOBJS 640subdirs 641KPATHSEA_RULE 642KPATHSEA_DEPEND 643KPATHSEA_LIBS 644KPATHSEA_INCLUDES 645PKG_CONFIG 646CPP 647LT_SYS_LIBRARY_PATH 648OTOOL64 649OTOOL 650LIPO 651NMEDIT 652DSYMUTIL 653MANIFEST_TOOL 654RANLIB 655ac_ct_AR 656AR 657LN_S 658NM 659ac_ct_DUMPBIN 660DUMPBIN 661LD 662FGREP 663EGREP 664GREP 665SED 666host_os 667host_vendor 668host_cpu 669host 670build_os 671build_vendor 672build_cpu 673build 674LIBTOOL 675OBJDUMP 676DLLTOOL 677AS 678WARNING_CFLAGS 679am__fastdepCC_FALSE 680am__fastdepCC_TRUE 681CCDEPMODE 682am__nodep 683AMDEPBACKSLASH 684AMDEP_FALSE 685AMDEP_TRUE 686am__quote 687am__include 688DEPDIR 689OBJEXT 690EXEEXT 691ac_ct_CC 692CPPFLAGS 693LDFLAGS 694CFLAGS 695CC 696MAINT 697MAINTAINER_MODE_FALSE 698MAINTAINER_MODE_TRUE 699AM_BACKSLASH 700AM_DEFAULT_VERBOSITY 701AM_DEFAULT_V 702AM_V 703am__untar 704am__tar 705AMTAR 706am__leading_dot 707SET_MAKE 708AWK 709mkdir_p 710MKDIR_P 711INSTALL_STRIP_PROGRAM 712STRIP 713install_sh 714MAKEINFO 715AUTOHEADER 716AUTOMAKE 717AUTOCONF 718ACLOCAL 719VERSION 720PACKAGE 721CYGPATH_W 722am__isrc 723INSTALL_DATA 724INSTALL_SCRIPT 725INSTALL_PROGRAM 726target_alias 727host_alias 728build_alias 729LIBS 730ECHO_T 731ECHO_N 732ECHO_C 733DEFS 734mandir 735localedir 736libdir 737psdir 738pdfdir 739dvidir 740htmldir 741infodir 742docdir 743oldincludedir 744includedir 745localstatedir 746sharedstatedir 747sysconfdir 748datadir 749datarootdir 750libexecdir 751sbindir 752bindir 753program_transform_name 754prefix 755exec_prefix 756PACKAGE_URL 757PACKAGE_BUGREPORT 758PACKAGE_STRING 759PACKAGE_VERSION 760PACKAGE_TARNAME 761PACKAGE_NAME 762PATH_SEPARATOR 763SHELL' 764ac_subst_files='' 765ac_user_opts=' 766enable_option_checking 767enable_silent_rules 768enable_maintainer_mode 769enable_dependency_tracking 770enable_compiler_warnings 771enable_shared 772enable_static 773with_pic 774enable_fast_install 775with_aix_soname 776with_gnu_ld 777with_sysroot 778enable_libtool_lock 779enable_largefile 780with_system_kpathsea 781with_paper 782' 783 ac_precious_vars='build_alias 784host_alias 785target_alias 786CC 787CFLAGS 788LDFLAGS 789LIBS 790CPPFLAGS 791LT_SYS_LIBRARY_PATH 792CPP' 793ac_subdirs_all='squeeze' 794 795# Initialize some variables set by options. 796ac_init_help= 797ac_init_version=false 798ac_unrecognized_opts= 799ac_unrecognized_sep= 800# The variables have the same names as the options, with 801# dashes changed to underlines. 802cache_file=/dev/null 803exec_prefix=NONE 804no_create= 805no_recursion= 806prefix=NONE 807program_prefix=NONE 808program_suffix=NONE 809program_transform_name=s,x,x, 810silent= 811site= 812srcdir= 813verbose= 814x_includes=NONE 815x_libraries=NONE 816 817# Installation directory options. 818# These are left unexpanded so users can "make install exec_prefix=/foo" 819# and all the variables that are supposed to be based on exec_prefix 820# by default will actually change. 821# Use braces instead of parens because sh, perl, etc. also accept them. 822# (The list follows the same order as the GNU Coding Standards.) 823bindir='${exec_prefix}/bin' 824sbindir='${exec_prefix}/sbin' 825libexecdir='${exec_prefix}/libexec' 826datarootdir='${prefix}/share' 827datadir='${datarootdir}' 828sysconfdir='${prefix}/etc' 829sharedstatedir='${prefix}/com' 830localstatedir='${prefix}/var' 831includedir='${prefix}/include' 832oldincludedir='/usr/include' 833docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 834infodir='${datarootdir}/info' 835htmldir='${docdir}' 836dvidir='${docdir}' 837pdfdir='${docdir}' 838psdir='${docdir}' 839libdir='${exec_prefix}/lib' 840localedir='${datarootdir}/locale' 841mandir='${datarootdir}/man' 842 843ac_prev= 844ac_dashdash= 845for ac_option 846do 847 # If the previous option needs an argument, assign it. 848 if test -n "$ac_prev"; then 849 eval $ac_prev=\$ac_option 850 ac_prev= 851 continue 852 fi 853 854 case $ac_option in 855 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 856 *=) ac_optarg= ;; 857 *) ac_optarg=yes ;; 858 esac 859 860 # Accept the important Cygnus configure options, so we can diagnose typos. 861 862 case $ac_dashdash$ac_option in 863 --) 864 ac_dashdash=yes ;; 865 866 -bindir | --bindir | --bindi | --bind | --bin | --bi) 867 ac_prev=bindir ;; 868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 869 bindir=$ac_optarg ;; 870 871 -build | --build | --buil | --bui | --bu) 872 ac_prev=build_alias ;; 873 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 874 build_alias=$ac_optarg ;; 875 876 -cache-file | --cache-file | --cache-fil | --cache-fi \ 877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 878 ac_prev=cache_file ;; 879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 881 cache_file=$ac_optarg ;; 882 883 --config-cache | -C) 884 cache_file=config.cache ;; 885 886 -datadir | --datadir | --datadi | --datad) 887 ac_prev=datadir ;; 888 -datadir=* | --datadir=* | --datadi=* | --datad=*) 889 datadir=$ac_optarg ;; 890 891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 892 | --dataroo | --dataro | --datar) 893 ac_prev=datarootdir ;; 894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 896 datarootdir=$ac_optarg ;; 897 898 -disable-* | --disable-*) 899 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 900 # Reject names that are not valid shell variable names. 901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 902 as_fn_error $? "invalid feature name: $ac_useropt" 903 ac_useropt_orig=$ac_useropt 904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 905 case $ac_user_opts in 906 *" 907"enable_$ac_useropt" 908"*) ;; 909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 910 ac_unrecognized_sep=', ';; 911 esac 912 eval enable_$ac_useropt=no ;; 913 914 -docdir | --docdir | --docdi | --doc | --do) 915 ac_prev=docdir ;; 916 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 917 docdir=$ac_optarg ;; 918 919 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 920 ac_prev=dvidir ;; 921 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 922 dvidir=$ac_optarg ;; 923 924 -enable-* | --enable-*) 925 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 926 # Reject names that are not valid shell variable names. 927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 928 as_fn_error $? "invalid feature name: $ac_useropt" 929 ac_useropt_orig=$ac_useropt 930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 931 case $ac_user_opts in 932 *" 933"enable_$ac_useropt" 934"*) ;; 935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 936 ac_unrecognized_sep=', ';; 937 esac 938 eval enable_$ac_useropt=\$ac_optarg ;; 939 940 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 941 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 942 | --exec | --exe | --ex) 943 ac_prev=exec_prefix ;; 944 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 945 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 946 | --exec=* | --exe=* | --ex=*) 947 exec_prefix=$ac_optarg ;; 948 949 -gas | --gas | --ga | --g) 950 # Obsolete; use --with-gas. 951 with_gas=yes ;; 952 953 -help | --help | --hel | --he | -h) 954 ac_init_help=long ;; 955 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 956 ac_init_help=recursive ;; 957 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 958 ac_init_help=short ;; 959 960 -host | --host | --hos | --ho) 961 ac_prev=host_alias ;; 962 -host=* | --host=* | --hos=* | --ho=*) 963 host_alias=$ac_optarg ;; 964 965 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 966 ac_prev=htmldir ;; 967 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 968 | --ht=*) 969 htmldir=$ac_optarg ;; 970 971 -includedir | --includedir | --includedi | --included | --include \ 972 | --includ | --inclu | --incl | --inc) 973 ac_prev=includedir ;; 974 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 975 | --includ=* | --inclu=* | --incl=* | --inc=*) 976 includedir=$ac_optarg ;; 977 978 -infodir | --infodir | --infodi | --infod | --info | --inf) 979 ac_prev=infodir ;; 980 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 981 infodir=$ac_optarg ;; 982 983 -libdir | --libdir | --libdi | --libd) 984 ac_prev=libdir ;; 985 -libdir=* | --libdir=* | --libdi=* | --libd=*) 986 libdir=$ac_optarg ;; 987 988 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 989 | --libexe | --libex | --libe) 990 ac_prev=libexecdir ;; 991 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 992 | --libexe=* | --libex=* | --libe=*) 993 libexecdir=$ac_optarg ;; 994 995 -localedir | --localedir | --localedi | --localed | --locale) 996 ac_prev=localedir ;; 997 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 998 localedir=$ac_optarg ;; 999 1000 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1001 | --localstate | --localstat | --localsta | --localst | --locals) 1002 ac_prev=localstatedir ;; 1003 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1004 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1005 localstatedir=$ac_optarg ;; 1006 1007 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1008 ac_prev=mandir ;; 1009 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1010 mandir=$ac_optarg ;; 1011 1012 -nfp | --nfp | --nf) 1013 # Obsolete; use --without-fp. 1014 with_fp=no ;; 1015 1016 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1017 | --no-cr | --no-c | -n) 1018 no_create=yes ;; 1019 1020 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1021 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1022 no_recursion=yes ;; 1023 1024 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1025 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1026 | --oldin | --oldi | --old | --ol | --o) 1027 ac_prev=oldincludedir ;; 1028 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1029 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1030 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1031 oldincludedir=$ac_optarg ;; 1032 1033 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1034 ac_prev=prefix ;; 1035 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1036 prefix=$ac_optarg ;; 1037 1038 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1039 | --program-pre | --program-pr | --program-p) 1040 ac_prev=program_prefix ;; 1041 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1042 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1043 program_prefix=$ac_optarg ;; 1044 1045 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1046 | --program-suf | --program-su | --program-s) 1047 ac_prev=program_suffix ;; 1048 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1049 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1050 program_suffix=$ac_optarg ;; 1051 1052 -program-transform-name | --program-transform-name \ 1053 | --program-transform-nam | --program-transform-na \ 1054 | --program-transform-n | --program-transform- \ 1055 | --program-transform | --program-transfor \ 1056 | --program-transfo | --program-transf \ 1057 | --program-trans | --program-tran \ 1058 | --progr-tra | --program-tr | --program-t) 1059 ac_prev=program_transform_name ;; 1060 -program-transform-name=* | --program-transform-name=* \ 1061 | --program-transform-nam=* | --program-transform-na=* \ 1062 | --program-transform-n=* | --program-transform-=* \ 1063 | --program-transform=* | --program-transfor=* \ 1064 | --program-transfo=* | --program-transf=* \ 1065 | --program-trans=* | --program-tran=* \ 1066 | --progr-tra=* | --program-tr=* | --program-t=*) 1067 program_transform_name=$ac_optarg ;; 1068 1069 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1070 ac_prev=pdfdir ;; 1071 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1072 pdfdir=$ac_optarg ;; 1073 1074 -psdir | --psdir | --psdi | --psd | --ps) 1075 ac_prev=psdir ;; 1076 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1077 psdir=$ac_optarg ;; 1078 1079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1080 | -silent | --silent | --silen | --sile | --sil) 1081 silent=yes ;; 1082 1083 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1084 ac_prev=sbindir ;; 1085 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1086 | --sbi=* | --sb=*) 1087 sbindir=$ac_optarg ;; 1088 1089 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1090 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1091 | --sharedst | --shareds | --shared | --share | --shar \ 1092 | --sha | --sh) 1093 ac_prev=sharedstatedir ;; 1094 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1095 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1096 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1097 | --sha=* | --sh=*) 1098 sharedstatedir=$ac_optarg ;; 1099 1100 -site | --site | --sit) 1101 ac_prev=site ;; 1102 -site=* | --site=* | --sit=*) 1103 site=$ac_optarg ;; 1104 1105 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1106 ac_prev=srcdir ;; 1107 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1108 srcdir=$ac_optarg ;; 1109 1110 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1111 | --syscon | --sysco | --sysc | --sys | --sy) 1112 ac_prev=sysconfdir ;; 1113 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1114 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1115 sysconfdir=$ac_optarg ;; 1116 1117 -target | --target | --targe | --targ | --tar | --ta | --t) 1118 ac_prev=target_alias ;; 1119 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1120 target_alias=$ac_optarg ;; 1121 1122 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1123 verbose=yes ;; 1124 1125 -version | --version | --versio | --versi | --vers | -V) 1126 ac_init_version=: ;; 1127 1128 -with-* | --with-*) 1129 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1130 # Reject names that are not valid shell variable names. 1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1132 as_fn_error $? "invalid package name: $ac_useropt" 1133 ac_useropt_orig=$ac_useropt 1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1135 case $ac_user_opts in 1136 *" 1137"with_$ac_useropt" 1138"*) ;; 1139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1140 ac_unrecognized_sep=', ';; 1141 esac 1142 eval with_$ac_useropt=\$ac_optarg ;; 1143 1144 -without-* | --without-*) 1145 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1146 # Reject names that are not valid shell variable names. 1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1148 as_fn_error $? "invalid package name: $ac_useropt" 1149 ac_useropt_orig=$ac_useropt 1150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1151 case $ac_user_opts in 1152 *" 1153"with_$ac_useropt" 1154"*) ;; 1155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1156 ac_unrecognized_sep=', ';; 1157 esac 1158 eval with_$ac_useropt=no ;; 1159 1160 --x) 1161 # Obsolete; use --with-x. 1162 with_x=yes ;; 1163 1164 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1165 | --x-incl | --x-inc | --x-in | --x-i) 1166 ac_prev=x_includes ;; 1167 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1168 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1169 x_includes=$ac_optarg ;; 1170 1171 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1172 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1173 ac_prev=x_libraries ;; 1174 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1175 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1176 x_libraries=$ac_optarg ;; 1177 1178 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1179Try \`$0 --help' for more information" 1180 ;; 1181 1182 *=*) 1183 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1184 # Reject names that are not valid shell variable names. 1185 case $ac_envvar in #( 1186 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1187 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1188 esac 1189 eval $ac_envvar=\$ac_optarg 1190 export $ac_envvar ;; 1191 1192 *) 1193 # FIXME: should be removed in autoconf 3.0. 1194 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1196 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1197 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1198 ;; 1199 1200 esac 1201done 1202 1203if test -n "$ac_prev"; then 1204 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1205 as_fn_error $? "missing argument to $ac_option" 1206fi 1207 1208if test -n "$ac_unrecognized_opts"; then 1209 case $enable_option_checking in 1210 no) ;; 1211 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1212 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1213 esac 1214fi 1215 1216# Check all directory arguments for consistency. 1217for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1218 datadir sysconfdir sharedstatedir localstatedir includedir \ 1219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1220 libdir localedir mandir 1221do 1222 eval ac_val=\$$ac_var 1223 # Remove trailing slashes. 1224 case $ac_val in 1225 */ ) 1226 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1227 eval $ac_var=\$ac_val;; 1228 esac 1229 # Be sure to have absolute directory names. 1230 case $ac_val in 1231 [\\/$]* | ?:[\\/]* ) continue;; 1232 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1233 esac 1234 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1235done 1236 1237# There might be people who depend on the old broken behavior: `$host' 1238# used to hold the argument of --host etc. 1239# FIXME: To remove some day. 1240build=$build_alias 1241host=$host_alias 1242target=$target_alias 1243 1244# FIXME: To remove some day. 1245if test "x$host_alias" != x; then 1246 if test "x$build_alias" = x; then 1247 cross_compiling=maybe 1248 elif test "x$build_alias" != "x$host_alias"; then 1249 cross_compiling=yes 1250 fi 1251fi 1252 1253ac_tool_prefix= 1254test -n "$host_alias" && ac_tool_prefix=$host_alias- 1255 1256test "$silent" = yes && exec 6>/dev/null 1257 1258 1259ac_pwd=`pwd` && test -n "$ac_pwd" && 1260ac_ls_di=`ls -di .` && 1261ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1262 as_fn_error $? "working directory cannot be determined" 1263test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1264 as_fn_error $? "pwd does not report name of working directory" 1265 1266 1267# Find the source files, if location was not specified. 1268if test -z "$srcdir"; then 1269 ac_srcdir_defaulted=yes 1270 # Try the directory containing this script, then the parent directory. 1271 ac_confdir=`$as_dirname -- "$as_myself" || 1272$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1273 X"$as_myself" : 'X\(//\)[^/]' \| \ 1274 X"$as_myself" : 'X\(//\)$' \| \ 1275 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1276$as_echo X"$as_myself" | 1277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1278 s//\1/ 1279 q 1280 } 1281 /^X\(\/\/\)[^/].*/{ 1282 s//\1/ 1283 q 1284 } 1285 /^X\(\/\/\)$/{ 1286 s//\1/ 1287 q 1288 } 1289 /^X\(\/\).*/{ 1290 s//\1/ 1291 q 1292 } 1293 s/.*/./; q'` 1294 srcdir=$ac_confdir 1295 if test ! -r "$srcdir/$ac_unique_file"; then 1296 srcdir=.. 1297 fi 1298else 1299 ac_srcdir_defaulted=no 1300fi 1301if test ! -r "$srcdir/$ac_unique_file"; then 1302 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1303 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1304fi 1305ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1306ac_abs_confdir=`( 1307 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1308 pwd)` 1309# When building in place, set srcdir=. 1310if test "$ac_abs_confdir" = "$ac_pwd"; then 1311 srcdir=. 1312fi 1313# Remove unnecessary trailing slashes from srcdir. 1314# Double slashes in file names in object file debugging info 1315# mess up M-x gdb in Emacs. 1316case $srcdir in 1317*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1318esac 1319for ac_var in $ac_precious_vars; do 1320 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1321 eval ac_env_${ac_var}_value=\$${ac_var} 1322 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1323 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1324done 1325 1326# 1327# Report the --help message. 1328# 1329if test "$ac_init_help" = "long"; then 1330 # Omit some internal or obsolete options to make the list less imposing. 1331 # This message is too long to be a string in the A/UX 3.1 sh. 1332 cat <<_ACEOF 1333\`configure' configures dvipsk (TeXLive) 5.995 to adapt to many kinds of systems. 1334 1335Usage: $0 [OPTION]... [VAR=VALUE]... 1336 1337To assign environment variables (e.g., CC, CFLAGS...), specify them as 1338VAR=VALUE. See below for descriptions of some of the useful variables. 1339 1340Defaults for the options are specified in brackets. 1341 1342Configuration: 1343 -h, --help display this help and exit 1344 --help=short display options specific to this package 1345 --help=recursive display the short help of all the included packages 1346 -V, --version display version information and exit 1347 -q, --quiet, --silent do not print \`checking ...' messages 1348 --cache-file=FILE cache test results in FILE [disabled] 1349 -C, --config-cache alias for \`--cache-file=config.cache' 1350 -n, --no-create do not create output files 1351 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1352 1353Installation directories: 1354 --prefix=PREFIX install architecture-independent files in PREFIX 1355 [$ac_default_prefix] 1356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1357 [PREFIX] 1358 1359By default, \`make install' will install all the files in 1360\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1361an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1362for instance \`--prefix=\$HOME'. 1363 1364For better control, use the options below. 1365 1366Fine tuning of the installation directories: 1367 --bindir=DIR user executables [EPREFIX/bin] 1368 --sbindir=DIR system admin executables [EPREFIX/sbin] 1369 --libexecdir=DIR program executables [EPREFIX/libexec] 1370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1372 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1373 --libdir=DIR object code libraries [EPREFIX/lib] 1374 --includedir=DIR C header files [PREFIX/include] 1375 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1378 --infodir=DIR info documentation [DATAROOTDIR/info] 1379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1380 --mandir=DIR man documentation [DATAROOTDIR/man] 1381 --docdir=DIR documentation root 1382 [DATAROOTDIR/doc/dvipsk--texlive-] 1383 --htmldir=DIR html documentation [DOCDIR] 1384 --dvidir=DIR dvi documentation [DOCDIR] 1385 --pdfdir=DIR pdf documentation [DOCDIR] 1386 --psdir=DIR ps documentation [DOCDIR] 1387_ACEOF 1388 1389 cat <<\_ACEOF 1390 1391Program names: 1392 --program-prefix=PREFIX prepend PREFIX to installed program names 1393 --program-suffix=SUFFIX append SUFFIX to installed program names 1394 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1395 1396System types: 1397 --build=BUILD configure for building on BUILD [guessed] 1398 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1399_ACEOF 1400fi 1401 1402if test -n "$ac_init_help"; then 1403 case $ac_init_help in 1404 short | recursive ) echo "Configuration of dvipsk (TeXLive) 5.995:";; 1405 esac 1406 cat <<\_ACEOF 1407 1408Optional Features: 1409 --disable-option-checking ignore unrecognized --enable/--with options 1410 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1411 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1412 --enable-silent-rules less verbose build output (undo: "make V=1") 1413 --disable-silent-rules verbose build output (undo: "make V=0") 1414 --enable-maintainer-mode 1415 enable make rules and dependencies not useful (and 1416 sometimes confusing) to the casual installer 1417 --enable-dependency-tracking 1418 do not reject slow dependency extractors 1419 --disable-dependency-tracking 1420 speeds up one-time build 1421 --enable-compiler-warnings=[no|min|yes|max|all] 1422 Turn on compiler warnings [default: yes if 1423 maintainer-mode, min otherwise] 1424 --enable-shared[=PKGS] build shared libraries [default=yes] 1425 --enable-static[=PKGS] build static libraries [default=yes] 1426 --enable-fast-install[=PKGS] 1427 optimize for fast installation [default=yes] 1428 --disable-libtool-lock avoid locking (might break parallel builds) 1429 --disable-largefile omit support for large files 1430 1431Optional Packages: 1432 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1433 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1434 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1435 both] 1436 --with-aix-soname=aix|svr4|both 1437 shared library versioning (aka "SONAME") variant to 1438 provide on AIX, [default=aix]. 1439 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1440 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1441 compiler's sysroot if not specified). 1442 --with-system-kpathsea use installed kpathsea headers and library (requires 1443 pkg-config) 1444 --with-paper=DIR use paper include/library files from DIR 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 <tex-k@tug.org>. 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 1524dvipsk (TeXLive) configure 5.995 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( $as_echo "## ---------------------------- ## 1870## Report this to tex-k@tug.org ## 1871## ---------------------------- ##" 1872 ) | sed "s/^/$as_me: WARNING: /" >&2 1873 ;; 1874esac 1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1876$as_echo_n "checking for $2... " >&6; } 1877if eval \${$3+:} false; then : 1878 $as_echo_n "(cached) " >&6 1879else 1880 eval "$3=\$ac_header_compiler" 1881fi 1882eval ac_res=\$$3 1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1884$as_echo "$ac_res" >&6; } 1885fi 1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1887 1888} # ac_fn_c_check_header_mongrel 1889 1890# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1891# ------------------------------------------- 1892# Tests whether TYPE exists after having included INCLUDES, setting cache 1893# variable VAR accordingly. 1894ac_fn_c_check_type () 1895{ 1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1898$as_echo_n "checking for $2... " >&6; } 1899if eval \${$3+:} false; then : 1900 $as_echo_n "(cached) " >&6 1901else 1902 eval "$3=no" 1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1904/* end confdefs.h. */ 1905$4 1906int 1907main () 1908{ 1909if (sizeof ($2)) 1910 return 0; 1911 ; 1912 return 0; 1913} 1914_ACEOF 1915if ac_fn_c_try_compile "$LINENO"; then : 1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1917/* end confdefs.h. */ 1918$4 1919int 1920main () 1921{ 1922if (sizeof (($2))) 1923 return 0; 1924 ; 1925 return 0; 1926} 1927_ACEOF 1928if ac_fn_c_try_compile "$LINENO"; then : 1929 1930else 1931 eval "$3=yes" 1932fi 1933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1934fi 1935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1936fi 1937eval ac_res=\$$3 1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1939$as_echo "$ac_res" >&6; } 1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1941 1942} # ac_fn_c_check_type 1943 1944# ac_fn_c_find_intX_t LINENO BITS VAR 1945# ----------------------------------- 1946# Finds a signed integer type with width BITS, setting cache variable VAR 1947# accordingly. 1948ac_fn_c_find_intX_t () 1949{ 1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1952$as_echo_n "checking for int$2_t... " >&6; } 1953if eval \${$3+:} false; then : 1954 $as_echo_n "(cached) " >&6 1955else 1956 eval "$3=no" 1957 # Order is important - never check a type that is potentially smaller 1958 # than half of the expected target width. 1959 for ac_type in int$2_t 'int' 'long int' \ 1960 'long long int' 'short int' 'signed char'; do 1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1962/* end confdefs.h. */ 1963$ac_includes_default 1964 enum { N = $2 / 2 - 1 }; 1965int 1966main () 1967{ 1968static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 1969test_array [0] = 0; 1970return test_array [0]; 1971 1972 ; 1973 return 0; 1974} 1975_ACEOF 1976if ac_fn_c_try_compile "$LINENO"; then : 1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1978/* end confdefs.h. */ 1979$ac_includes_default 1980 enum { N = $2 / 2 - 1 }; 1981int 1982main () 1983{ 1984static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 1985 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 1986test_array [0] = 0; 1987return test_array [0]; 1988 1989 ; 1990 return 0; 1991} 1992_ACEOF 1993if ac_fn_c_try_compile "$LINENO"; then : 1994 1995else 1996 case $ac_type in #( 1997 int$2_t) : 1998 eval "$3=yes" ;; #( 1999 *) : 2000 eval "$3=\$ac_type" ;; 2001esac 2002fi 2003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2004fi 2005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2006 if eval test \"x\$"$3"\" = x"no"; then : 2007 2008else 2009 break 2010fi 2011 done 2012fi 2013eval ac_res=\$$3 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2015$as_echo "$ac_res" >&6; } 2016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2017 2018} # ac_fn_c_find_intX_t 2019 2020# ac_fn_c_find_uintX_t LINENO BITS VAR 2021# ------------------------------------ 2022# Finds an unsigned integer type with width BITS, setting cache variable VAR 2023# accordingly. 2024ac_fn_c_find_uintX_t () 2025{ 2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2028$as_echo_n "checking for uint$2_t... " >&6; } 2029if eval \${$3+:} false; then : 2030 $as_echo_n "(cached) " >&6 2031else 2032 eval "$3=no" 2033 # Order is important - never check a type that is potentially smaller 2034 # than half of the expected target width. 2035 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 2036 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2038/* end confdefs.h. */ 2039$ac_includes_default 2040int 2041main () 2042{ 2043static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2044test_array [0] = 0; 2045return test_array [0]; 2046 2047 ; 2048 return 0; 2049} 2050_ACEOF 2051if ac_fn_c_try_compile "$LINENO"; then : 2052 case $ac_type in #( 2053 uint$2_t) : 2054 eval "$3=yes" ;; #( 2055 *) : 2056 eval "$3=\$ac_type" ;; 2057esac 2058fi 2059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2060 if eval test \"x\$"$3"\" = x"no"; then : 2061 2062else 2063 break 2064fi 2065 done 2066fi 2067eval ac_res=\$$3 2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2069$as_echo "$ac_res" >&6; } 2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2071 2072} # ac_fn_c_find_uintX_t 2073 2074# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2075# ---------------------------------------------------- 2076# Tries to find if the field MEMBER exists in type AGGR, after including 2077# INCLUDES, setting cache variable VAR accordingly. 2078ac_fn_c_check_member () 2079{ 2080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2082$as_echo_n "checking for $2.$3... " >&6; } 2083if eval \${$4+:} false; then : 2084 $as_echo_n "(cached) " >&6 2085else 2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2087/* end confdefs.h. */ 2088$5 2089int 2090main () 2091{ 2092static $2 ac_aggr; 2093if (ac_aggr.$3) 2094return 0; 2095 ; 2096 return 0; 2097} 2098_ACEOF 2099if ac_fn_c_try_compile "$LINENO"; then : 2100 eval "$4=yes" 2101else 2102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2103/* end confdefs.h. */ 2104$5 2105int 2106main () 2107{ 2108static $2 ac_aggr; 2109if (sizeof ac_aggr.$3) 2110return 0; 2111 ; 2112 return 0; 2113} 2114_ACEOF 2115if ac_fn_c_try_compile "$LINENO"; then : 2116 eval "$4=yes" 2117else 2118 eval "$4=no" 2119fi 2120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2121fi 2122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2123fi 2124eval ac_res=\$$4 2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2126$as_echo "$ac_res" >&6; } 2127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2128 2129} # ac_fn_c_check_member 2130 2131# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2132# -------------------------------------------- 2133# Tries to find the compile-time value of EXPR in a program that includes 2134# INCLUDES, setting VAR accordingly. Returns whether the value could be 2135# computed 2136ac_fn_c_compute_int () 2137{ 2138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2139 if test "$cross_compiling" = yes; then 2140 # Depending upon the size, compute the lo and hi bounds. 2141cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2142/* end confdefs.h. */ 2143$4 2144int 2145main () 2146{ 2147static int test_array [1 - 2 * !(($2) >= 0)]; 2148test_array [0] = 0; 2149return test_array [0]; 2150 2151 ; 2152 return 0; 2153} 2154_ACEOF 2155if ac_fn_c_try_compile "$LINENO"; then : 2156 ac_lo=0 ac_mid=0 2157 while :; do 2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2159/* end confdefs.h. */ 2160$4 2161int 2162main () 2163{ 2164static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2165test_array [0] = 0; 2166return test_array [0]; 2167 2168 ; 2169 return 0; 2170} 2171_ACEOF 2172if ac_fn_c_try_compile "$LINENO"; then : 2173 ac_hi=$ac_mid; break 2174else 2175 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2176 if test $ac_lo -le $ac_mid; then 2177 ac_lo= ac_hi= 2178 break 2179 fi 2180 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2181fi 2182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2183 done 2184else 2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2186/* end confdefs.h. */ 2187$4 2188int 2189main () 2190{ 2191static int test_array [1 - 2 * !(($2) < 0)]; 2192test_array [0] = 0; 2193return test_array [0]; 2194 2195 ; 2196 return 0; 2197} 2198_ACEOF 2199if ac_fn_c_try_compile "$LINENO"; then : 2200 ac_hi=-1 ac_mid=-1 2201 while :; do 2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2203/* end confdefs.h. */ 2204$4 2205int 2206main () 2207{ 2208static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2209test_array [0] = 0; 2210return test_array [0]; 2211 2212 ; 2213 return 0; 2214} 2215_ACEOF 2216if ac_fn_c_try_compile "$LINENO"; then : 2217 ac_lo=$ac_mid; break 2218else 2219 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2220 if test $ac_mid -le $ac_hi; then 2221 ac_lo= ac_hi= 2222 break 2223 fi 2224 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2225fi 2226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2227 done 2228else 2229 ac_lo= ac_hi= 2230fi 2231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2232fi 2233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2234# Binary search between lo and hi bounds. 2235while test "x$ac_lo" != "x$ac_hi"; do 2236 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2238/* end confdefs.h. */ 2239$4 2240int 2241main () 2242{ 2243static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2244test_array [0] = 0; 2245return test_array [0]; 2246 2247 ; 2248 return 0; 2249} 2250_ACEOF 2251if ac_fn_c_try_compile "$LINENO"; then : 2252 ac_hi=$ac_mid 2253else 2254 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2255fi 2256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2257done 2258case $ac_lo in #(( 2259?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2260'') ac_retval=1 ;; 2261esac 2262 else 2263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2264/* end confdefs.h. */ 2265$4 2266static long int longval () { return $2; } 2267static unsigned long int ulongval () { return $2; } 2268#include <stdio.h> 2269#include <stdlib.h> 2270int 2271main () 2272{ 2273 2274 FILE *f = fopen ("conftest.val", "w"); 2275 if (! f) 2276 return 1; 2277 if (($2) < 0) 2278 { 2279 long int i = longval (); 2280 if (i != ($2)) 2281 return 1; 2282 fprintf (f, "%ld", i); 2283 } 2284 else 2285 { 2286 unsigned long int i = ulongval (); 2287 if (i != ($2)) 2288 return 1; 2289 fprintf (f, "%lu", i); 2290 } 2291 /* Do not output a trailing newline, as this causes \r\n confusion 2292 on some platforms. */ 2293 return ferror (f) || fclose (f) != 0; 2294 2295 ; 2296 return 0; 2297} 2298_ACEOF 2299if ac_fn_c_try_run "$LINENO"; then : 2300 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2301else 2302 ac_retval=1 2303fi 2304rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2305 conftest.$ac_objext conftest.beam conftest.$ac_ext 2306rm -f conftest.val 2307 2308 fi 2309 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2310 as_fn_set_status $ac_retval 2311 2312} # ac_fn_c_compute_int 2313cat >config.log <<_ACEOF 2314This file contains any messages produced by compilers while 2315running configure, to aid debugging if configure makes a mistake. 2316 2317It was created by dvipsk (TeXLive) $as_me 5.995, which was 2318generated by GNU Autoconf 2.69. Invocation command line was 2319 2320 $ $0 $@ 2321 2322_ACEOF 2323exec 5>>config.log 2324{ 2325cat <<_ASUNAME 2326## --------- ## 2327## Platform. ## 2328## --------- ## 2329 2330hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2331uname -m = `(uname -m) 2>/dev/null || echo unknown` 2332uname -r = `(uname -r) 2>/dev/null || echo unknown` 2333uname -s = `(uname -s) 2>/dev/null || echo unknown` 2334uname -v = `(uname -v) 2>/dev/null || echo unknown` 2335 2336/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2337/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2338 2339/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2340/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2341/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2342/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2343/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2344/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2345/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2346 2347_ASUNAME 2348 2349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2350for as_dir in $PATH 2351do 2352 IFS=$as_save_IFS 2353 test -z "$as_dir" && as_dir=. 2354 $as_echo "PATH: $as_dir" 2355 done 2356IFS=$as_save_IFS 2357 2358} >&5 2359 2360cat >&5 <<_ACEOF 2361 2362 2363## ----------- ## 2364## Core tests. ## 2365## ----------- ## 2366 2367_ACEOF 2368 2369 2370# Keep a trace of the command line. 2371# Strip out --no-create and --no-recursion so they do not pile up. 2372# Strip out --silent because we don't want to record it for future runs. 2373# Also quote any args containing shell meta-characters. 2374# Make two passes to allow for proper duplicate-argument suppression. 2375ac_configure_args= 2376ac_configure_args0= 2377ac_configure_args1= 2378ac_must_keep_next=false 2379for ac_pass in 1 2 2380do 2381 for ac_arg 2382 do 2383 case $ac_arg in 2384 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2385 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2386 | -silent | --silent | --silen | --sile | --sil) 2387 continue ;; 2388 *\'*) 2389 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2390 esac 2391 case $ac_pass in 2392 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2393 2) 2394 as_fn_append ac_configure_args1 " '$ac_arg'" 2395 if test $ac_must_keep_next = true; then 2396 ac_must_keep_next=false # Got value, back to normal. 2397 else 2398 case $ac_arg in 2399 *=* | --config-cache | -C | -disable-* | --disable-* \ 2400 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2401 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2402 | -with-* | --with-* | -without-* | --without-* | --x) 2403 case "$ac_configure_args0 " in 2404 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2405 esac 2406 ;; 2407 -* ) ac_must_keep_next=true ;; 2408 esac 2409 fi 2410 as_fn_append ac_configure_args " '$ac_arg'" 2411 ;; 2412 esac 2413 done 2414done 2415{ ac_configure_args0=; unset ac_configure_args0;} 2416{ ac_configure_args1=; unset ac_configure_args1;} 2417 2418# When interrupted or exit'd, cleanup temporary files, and complete 2419# config.log. We remove comments because anyway the quotes in there 2420# would cause problems or look ugly. 2421# WARNING: Use '\'' to represent an apostrophe within the trap. 2422# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2423trap 'exit_status=$? 2424 # Save into config.log some information that might help in debugging. 2425 { 2426 echo 2427 2428 $as_echo "## ---------------- ## 2429## Cache variables. ## 2430## ---------------- ##" 2431 echo 2432 # The following way of writing the cache mishandles newlines in values, 2433( 2434 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2435 eval ac_val=\$$ac_var 2436 case $ac_val in #( 2437 *${as_nl}*) 2438 case $ac_var in #( 2439 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2440$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2441 esac 2442 case $ac_var in #( 2443 _ | IFS | as_nl) ;; #( 2444 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2445 *) { eval $ac_var=; unset $ac_var;} ;; 2446 esac ;; 2447 esac 2448 done 2449 (set) 2>&1 | 2450 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2451 *${as_nl}ac_space=\ *) 2452 sed -n \ 2453 "s/'\''/'\''\\\\'\'''\''/g; 2454 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2455 ;; #( 2456 *) 2457 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2458 ;; 2459 esac | 2460 sort 2461) 2462 echo 2463 2464 $as_echo "## ----------------- ## 2465## Output variables. ## 2466## ----------------- ##" 2467 echo 2468 for ac_var in $ac_subst_vars 2469 do 2470 eval ac_val=\$$ac_var 2471 case $ac_val in 2472 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2473 esac 2474 $as_echo "$ac_var='\''$ac_val'\''" 2475 done | sort 2476 echo 2477 2478 if test -n "$ac_subst_files"; then 2479 $as_echo "## ------------------- ## 2480## File substitutions. ## 2481## ------------------- ##" 2482 echo 2483 for ac_var in $ac_subst_files 2484 do 2485 eval ac_val=\$$ac_var 2486 case $ac_val in 2487 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2488 esac 2489 $as_echo "$ac_var='\''$ac_val'\''" 2490 done | sort 2491 echo 2492 fi 2493 2494 if test -s confdefs.h; then 2495 $as_echo "## ----------- ## 2496## confdefs.h. ## 2497## ----------- ##" 2498 echo 2499 cat confdefs.h 2500 echo 2501 fi 2502 test "$ac_signal" != 0 && 2503 $as_echo "$as_me: caught signal $ac_signal" 2504 $as_echo "$as_me: exit $exit_status" 2505 } >&5 2506 rm -f core *.core core.conftest.* && 2507 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2508 exit $exit_status 2509' 0 2510for ac_signal in 1 2 13 15; do 2511 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2512done 2513ac_signal=0 2514 2515# confdefs.h avoids OS command line length limits that DEFS can exceed. 2516rm -f -r conftest* confdefs.h 2517 2518$as_echo "/* confdefs.h */" > confdefs.h 2519 2520# Predefined preprocessor variables. 2521 2522cat >>confdefs.h <<_ACEOF 2523#define PACKAGE_NAME "$PACKAGE_NAME" 2524_ACEOF 2525 2526cat >>confdefs.h <<_ACEOF 2527#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2528_ACEOF 2529 2530cat >>confdefs.h <<_ACEOF 2531#define PACKAGE_VERSION "$PACKAGE_VERSION" 2532_ACEOF 2533 2534cat >>confdefs.h <<_ACEOF 2535#define PACKAGE_STRING "$PACKAGE_STRING" 2536_ACEOF 2537 2538cat >>confdefs.h <<_ACEOF 2539#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2540_ACEOF 2541 2542cat >>confdefs.h <<_ACEOF 2543#define PACKAGE_URL "$PACKAGE_URL" 2544_ACEOF 2545 2546 2547# Let the site file select an alternate cache file if it wants to. 2548# Prefer an explicitly selected file to automatically selected ones. 2549ac_site_file1=NONE 2550ac_site_file2=NONE 2551if test -n "$CONFIG_SITE"; then 2552 # We do not want a PATH search for config.site. 2553 case $CONFIG_SITE in #(( 2554 -*) ac_site_file1=./$CONFIG_SITE;; 2555 */*) ac_site_file1=$CONFIG_SITE;; 2556 *) ac_site_file1=./$CONFIG_SITE;; 2557 esac 2558elif test "x$prefix" != xNONE; then 2559 ac_site_file1=$prefix/share/config.site 2560 ac_site_file2=$prefix/etc/config.site 2561else 2562 ac_site_file1=$ac_default_prefix/share/config.site 2563 ac_site_file2=$ac_default_prefix/etc/config.site 2564fi 2565for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2566do 2567 test "x$ac_site_file" = xNONE && continue 2568 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2569 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2570$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2571 sed 's/^/| /' "$ac_site_file" >&5 2572 . "$ac_site_file" \ 2573 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2574$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2575as_fn_error $? "failed to load site script $ac_site_file 2576See \`config.log' for more details" "$LINENO" 5; } 2577 fi 2578done 2579 2580if test -r "$cache_file"; then 2581 # Some versions of bash will fail to source /dev/null (special files 2582 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2583 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2584 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2585$as_echo "$as_me: loading cache $cache_file" >&6;} 2586 case $cache_file in 2587 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2588 *) . "./$cache_file";; 2589 esac 2590 fi 2591else 2592 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2593$as_echo "$as_me: creating cache $cache_file" >&6;} 2594 >$cache_file 2595fi 2596 2597# Check that the precious variables saved in the cache have kept the same 2598# value. 2599ac_cache_corrupted=false 2600for ac_var in $ac_precious_vars; do 2601 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2602 eval ac_new_set=\$ac_env_${ac_var}_set 2603 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2604 eval ac_new_val=\$ac_env_${ac_var}_value 2605 case $ac_old_set,$ac_new_set in 2606 set,) 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2608$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2609 ac_cache_corrupted=: ;; 2610 ,set) 2611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2612$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2613 ac_cache_corrupted=: ;; 2614 ,);; 2615 *) 2616 if test "x$ac_old_val" != "x$ac_new_val"; then 2617 # differences in whitespace do not lead to failure. 2618 ac_old_val_w=`echo x $ac_old_val` 2619 ac_new_val_w=`echo x $ac_new_val` 2620 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2622$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2623 ac_cache_corrupted=: 2624 else 2625 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2626$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2627 eval $ac_var=\$ac_old_val 2628 fi 2629 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2630$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2631 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2632$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2633 fi;; 2634 esac 2635 # Pass precious variables to config.status. 2636 if test "$ac_new_set" = set; then 2637 case $ac_new_val in 2638 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2639 *) ac_arg=$ac_var=$ac_new_val ;; 2640 esac 2641 case " $ac_configure_args " in 2642 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2643 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2644 esac 2645 fi 2646done 2647if $ac_cache_corrupted; then 2648 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2649$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2650 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2651$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2652 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2653fi 2654## -------------------- ## 2655## Main body of script. ## 2656## -------------------- ## 2657 2658ac_ext=c 2659ac_cpp='$CPP $CPPFLAGS' 2660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2662ac_compiler_gnu=$ac_cv_c_compiler_gnu 2663 2664 2665 2666 2667ac_aux_dir= 2668for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do 2669 if test -f "$ac_dir/install-sh"; then 2670 ac_aux_dir=$ac_dir 2671 ac_install_sh="$ac_aux_dir/install-sh -c" 2672 break 2673 elif test -f "$ac_dir/install.sh"; then 2674 ac_aux_dir=$ac_dir 2675 ac_install_sh="$ac_aux_dir/install.sh -c" 2676 break 2677 elif test -f "$ac_dir/shtool"; then 2678 ac_aux_dir=$ac_dir 2679 ac_install_sh="$ac_aux_dir/shtool install -c" 2680 break 2681 fi 2682done 2683if test -z "$ac_aux_dir"; then 2684 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5 2685fi 2686 2687# These three variables are undocumented and unsupported, 2688# and are intended to be withdrawn in a future Autoconf release. 2689# They can cause serious problems if a builder's source tree is in a directory 2690# whose full name contains unusual characters. 2691ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2692ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2693ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2694 2695 2696 2697 2698am__api_version='1.15' 2699 2700# Find a good install program. We prefer a C program (faster), 2701# so one script is as good as another. But avoid the broken or 2702# incompatible versions: 2703# SysV /etc/install, /usr/sbin/install 2704# SunOS /usr/etc/install 2705# IRIX /sbin/install 2706# AIX /bin/install 2707# AmigaOS /C/install, which installs bootblocks on floppy discs 2708# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2709# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2710# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2711# OS/2's system install, which has a completely different semantic 2712# ./install, which can be erroneously created by make from ./install.sh. 2713# Reject install programs that cannot install multiple files. 2714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2715$as_echo_n "checking for a BSD-compatible install... " >&6; } 2716if test -z "$INSTALL"; then 2717if ${ac_cv_path_install+:} false; then : 2718 $as_echo_n "(cached) " >&6 2719else 2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2721for as_dir in $PATH 2722do 2723 IFS=$as_save_IFS 2724 test -z "$as_dir" && as_dir=. 2725 # Account for people who put trailing slashes in PATH elements. 2726case $as_dir/ in #(( 2727 ./ | .// | /[cC]/* | \ 2728 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2729 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2730 /usr/ucb/* ) ;; 2731 *) 2732 # OSF1 and SCO ODT 3.0 have their own names for install. 2733 # Don't use installbsd from OSF since it installs stuff as root 2734 # by default. 2735 for ac_prog in ginstall scoinst install; do 2736 for ac_exec_ext in '' $ac_executable_extensions; do 2737 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2738 if test $ac_prog = install && 2739 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2740 # AIX install. It has an incompatible calling convention. 2741 : 2742 elif test $ac_prog = install && 2743 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2744 # program-specific install script used by HP pwplus--don't use. 2745 : 2746 else 2747 rm -rf conftest.one conftest.two conftest.dir 2748 echo one > conftest.one 2749 echo two > conftest.two 2750 mkdir conftest.dir 2751 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2752 test -s conftest.one && test -s conftest.two && 2753 test -s conftest.dir/conftest.one && 2754 test -s conftest.dir/conftest.two 2755 then 2756 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2757 break 3 2758 fi 2759 fi 2760 fi 2761 done 2762 done 2763 ;; 2764esac 2765 2766 done 2767IFS=$as_save_IFS 2768 2769rm -rf conftest.one conftest.two conftest.dir 2770 2771fi 2772 if test "${ac_cv_path_install+set}" = set; then 2773 INSTALL=$ac_cv_path_install 2774 else 2775 # As a last resort, use the slow shell script. Don't cache a 2776 # value for INSTALL within a source directory, because that will 2777 # break other packages using the cache if that directory is 2778 # removed, or if the value is a relative name. 2779 INSTALL=$ac_install_sh 2780 fi 2781fi 2782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2783$as_echo "$INSTALL" >&6; } 2784 2785# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2786# It thinks the first close brace ends the variable substitution. 2787test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2788 2789test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2790 2791test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2792 2793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2794$as_echo_n "checking whether build environment is sane... " >&6; } 2795# Reject unsafe characters in $srcdir or the absolute working directory 2796# name. Accept space and tab only in the latter. 2797am_lf=' 2798' 2799case `pwd` in 2800 *[\\\"\#\$\&\'\`$am_lf]*) 2801 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2802esac 2803case $srcdir in 2804 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2805 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2806esac 2807 2808# Do 'set' in a subshell so we don't clobber the current shell's 2809# arguments. Must try -L first in case configure is actually a 2810# symlink; some systems play weird games with the mod time of symlinks 2811# (eg FreeBSD returns the mod time of the symlink's containing 2812# directory). 2813if ( 2814 am_has_slept=no 2815 for am_try in 1 2; do 2816 echo "timestamp, slept: $am_has_slept" > conftest.file 2817 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2818 if test "$*" = "X"; then 2819 # -L didn't work. 2820 set X `ls -t "$srcdir/configure" conftest.file` 2821 fi 2822 if test "$*" != "X $srcdir/configure conftest.file" \ 2823 && test "$*" != "X conftest.file $srcdir/configure"; then 2824 2825 # If neither matched, then we have a broken ls. This can happen 2826 # if, for instance, CONFIG_SHELL is bash and it inherits a 2827 # broken ls alias from the environment. This has actually 2828 # happened. Such a system could not be considered "sane". 2829 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2830 alias in your environment" "$LINENO" 5 2831 fi 2832 if test "$2" = conftest.file || test $am_try -eq 2; then 2833 break 2834 fi 2835 # Just in case. 2836 sleep 1 2837 am_has_slept=yes 2838 done 2839 test "$2" = conftest.file 2840 ) 2841then 2842 # Ok. 2843 : 2844else 2845 as_fn_error $? "newly created file is older than distributed files! 2846Check your system clock" "$LINENO" 5 2847fi 2848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2849$as_echo "yes" >&6; } 2850# If we didn't sleep, we still need to ensure time stamps of config.status and 2851# generated files are strictly newer. 2852am_sleep_pid= 2853if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2854 ( sleep 1 ) & 2855 am_sleep_pid=$! 2856fi 2857 2858rm -f conftest.file 2859 2860test "$program_prefix" != NONE && 2861 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2862# Use a double $ so make ignores it. 2863test "$program_suffix" != NONE && 2864 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2865# Double any \ or $. 2866# By default was `s,x,x', remove it if useless. 2867ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2868program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2869 2870# Expand $ac_aux_dir to an absolute path. 2871am_aux_dir=`cd "$ac_aux_dir" && pwd` 2872 2873if test x"${MISSING+set}" != xset; then 2874 case $am_aux_dir in 2875 *\ * | *\ *) 2876 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2877 *) 2878 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2879 esac 2880fi 2881# Use eval to expand $SHELL 2882if eval "$MISSING --is-lightweight"; then 2883 am_missing_run="$MISSING " 2884else 2885 am_missing_run= 2886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2887$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2888fi 2889 2890if test x"${install_sh+set}" != xset; then 2891 case $am_aux_dir in 2892 *\ * | *\ *) 2893 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2894 *) 2895 install_sh="\${SHELL} $am_aux_dir/install-sh" 2896 esac 2897fi 2898 2899# Installed binaries are usually stripped using 'strip' when the user 2900# run "make install-strip". However 'strip' might not be the right 2901# tool to use in cross-compilation environments, therefore Automake 2902# will honor the 'STRIP' environment variable to overrule this program. 2903if test "$cross_compiling" != no; then 2904 if test -n "$ac_tool_prefix"; then 2905 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2906set dummy ${ac_tool_prefix}strip; ac_word=$2 2907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2908$as_echo_n "checking for $ac_word... " >&6; } 2909if ${ac_cv_prog_STRIP+:} false; then : 2910 $as_echo_n "(cached) " >&6 2911else 2912 if test -n "$STRIP"; then 2913 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2914else 2915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2916for as_dir in $PATH 2917do 2918 IFS=$as_save_IFS 2919 test -z "$as_dir" && as_dir=. 2920 for ac_exec_ext in '' $ac_executable_extensions; do 2921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2922 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2924 break 2 2925 fi 2926done 2927 done 2928IFS=$as_save_IFS 2929 2930fi 2931fi 2932STRIP=$ac_cv_prog_STRIP 2933if test -n "$STRIP"; then 2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2935$as_echo "$STRIP" >&6; } 2936else 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2938$as_echo "no" >&6; } 2939fi 2940 2941 2942fi 2943if test -z "$ac_cv_prog_STRIP"; then 2944 ac_ct_STRIP=$STRIP 2945 # Extract the first word of "strip", so it can be a program name with args. 2946set dummy strip; ac_word=$2 2947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2948$as_echo_n "checking for $ac_word... " >&6; } 2949if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2950 $as_echo_n "(cached) " >&6 2951else 2952 if test -n "$ac_ct_STRIP"; then 2953 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2954else 2955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2956for as_dir in $PATH 2957do 2958 IFS=$as_save_IFS 2959 test -z "$as_dir" && as_dir=. 2960 for ac_exec_ext in '' $ac_executable_extensions; do 2961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2962 ac_cv_prog_ac_ct_STRIP="strip" 2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2964 break 2 2965 fi 2966done 2967 done 2968IFS=$as_save_IFS 2969 2970fi 2971fi 2972ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2973if test -n "$ac_ct_STRIP"; then 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2975$as_echo "$ac_ct_STRIP" >&6; } 2976else 2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2978$as_echo "no" >&6; } 2979fi 2980 2981 if test "x$ac_ct_STRIP" = x; then 2982 STRIP=":" 2983 else 2984 case $cross_compiling:$ac_tool_warned in 2985yes:) 2986{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2987$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2988ac_tool_warned=yes ;; 2989esac 2990 STRIP=$ac_ct_STRIP 2991 fi 2992else 2993 STRIP="$ac_cv_prog_STRIP" 2994fi 2995 2996fi 2997INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2998 2999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3000$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3001if test -z "$MKDIR_P"; then 3002 if ${ac_cv_path_mkdir+:} false; then : 3003 $as_echo_n "(cached) " >&6 3004else 3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3006for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3007do 3008 IFS=$as_save_IFS 3009 test -z "$as_dir" && as_dir=. 3010 for ac_prog in mkdir gmkdir; do 3011 for ac_exec_ext in '' $ac_executable_extensions; do 3012 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3013 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3014 'mkdir (GNU coreutils) '* | \ 3015 'mkdir (coreutils) '* | \ 3016 'mkdir (fileutils) '4.1*) 3017 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3018 break 3;; 3019 esac 3020 done 3021 done 3022 done 3023IFS=$as_save_IFS 3024 3025fi 3026 3027 test -d ./--version && rmdir ./--version 3028 if test "${ac_cv_path_mkdir+set}" = set; then 3029 MKDIR_P="$ac_cv_path_mkdir -p" 3030 else 3031 # As a last resort, use the slow shell script. Don't cache a 3032 # value for MKDIR_P within a source directory, because that will 3033 # break other packages using the cache if that directory is 3034 # removed, or if the value is a relative name. 3035 MKDIR_P="$ac_install_sh -d" 3036 fi 3037fi 3038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3039$as_echo "$MKDIR_P" >&6; } 3040 3041for ac_prog in gawk mawk nawk awk 3042do 3043 # Extract the first word of "$ac_prog", so it can be a program name with args. 3044set dummy $ac_prog; ac_word=$2 3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3046$as_echo_n "checking for $ac_word... " >&6; } 3047if ${ac_cv_prog_AWK+:} false; then : 3048 $as_echo_n "(cached) " >&6 3049else 3050 if test -n "$AWK"; then 3051 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3052else 3053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3054for as_dir in $PATH 3055do 3056 IFS=$as_save_IFS 3057 test -z "$as_dir" && as_dir=. 3058 for ac_exec_ext in '' $ac_executable_extensions; do 3059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3060 ac_cv_prog_AWK="$ac_prog" 3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3062 break 2 3063 fi 3064done 3065 done 3066IFS=$as_save_IFS 3067 3068fi 3069fi 3070AWK=$ac_cv_prog_AWK 3071if test -n "$AWK"; then 3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3073$as_echo "$AWK" >&6; } 3074else 3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3076$as_echo "no" >&6; } 3077fi 3078 3079 3080 test -n "$AWK" && break 3081done 3082 3083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3084$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3085set x ${MAKE-make} 3086ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3087if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3088 $as_echo_n "(cached) " >&6 3089else 3090 cat >conftest.make <<\_ACEOF 3091SHELL = /bin/sh 3092all: 3093 @echo '@@@%%%=$(MAKE)=@@@%%%' 3094_ACEOF 3095# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3096case `${MAKE-make} -f conftest.make 2>/dev/null` in 3097 *@@@%%%=?*=@@@%%%*) 3098 eval ac_cv_prog_make_${ac_make}_set=yes;; 3099 *) 3100 eval ac_cv_prog_make_${ac_make}_set=no;; 3101esac 3102rm -f conftest.make 3103fi 3104if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3106$as_echo "yes" >&6; } 3107 SET_MAKE= 3108else 3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3110$as_echo "no" >&6; } 3111 SET_MAKE="MAKE=${MAKE-make}" 3112fi 3113 3114rm -rf .tst 2>/dev/null 3115mkdir .tst 2>/dev/null 3116if test -d .tst; then 3117 am__leading_dot=. 3118else 3119 am__leading_dot=_ 3120fi 3121rmdir .tst 2>/dev/null 3122 3123# Check whether --enable-silent-rules was given. 3124if test "${enable_silent_rules+set}" = set; then : 3125 enableval=$enable_silent_rules; 3126fi 3127 3128case $enable_silent_rules in # ((( 3129 yes) AM_DEFAULT_VERBOSITY=0;; 3130 no) AM_DEFAULT_VERBOSITY=1;; 3131 *) AM_DEFAULT_VERBOSITY=1;; 3132esac 3133am_make=${MAKE-make} 3134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3135$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3136if ${am_cv_make_support_nested_variables+:} false; then : 3137 $as_echo_n "(cached) " >&6 3138else 3139 if $as_echo 'TRUE=$(BAR$(V)) 3140BAR0=false 3141BAR1=true 3142V=1 3143am__doit: 3144 @$(TRUE) 3145.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3146 am_cv_make_support_nested_variables=yes 3147else 3148 am_cv_make_support_nested_variables=no 3149fi 3150fi 3151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3152$as_echo "$am_cv_make_support_nested_variables" >&6; } 3153if test $am_cv_make_support_nested_variables = yes; then 3154 AM_V='$(V)' 3155 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3156else 3157 AM_V=$AM_DEFAULT_VERBOSITY 3158 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3159fi 3160AM_BACKSLASH='\' 3161 3162DEPDIR="${am__leading_dot}deps" 3163 3164ac_config_commands="$ac_config_commands depfiles" 3165 3166 3167am_make=${MAKE-make} 3168cat > confinc << 'END' 3169am__doit: 3170 @echo this is the am__doit target 3171.PHONY: am__doit 3172END 3173# If we don't find an include directive, just comment out the code. 3174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3175$as_echo_n "checking for style of include used by $am_make... " >&6; } 3176am__include="#" 3177am__quote= 3178_am_result=none 3179# First try GNU make style include. 3180echo "include confinc" > confmf 3181# Ignore all kinds of additional output from 'make'. 3182case `$am_make -s -f confmf 2> /dev/null` in #( 3183*the\ am__doit\ target*) 3184 am__include=include 3185 am__quote= 3186 _am_result=GNU 3187 ;; 3188esac 3189# Now try BSD make style include. 3190if test "$am__include" = "#"; then 3191 echo '.include "confinc"' > confmf 3192 case `$am_make -s -f confmf 2> /dev/null` in #( 3193 *the\ am__doit\ target*) 3194 am__include=.include 3195 am__quote="\"" 3196 _am_result=BSD 3197 ;; 3198 esac 3199fi 3200 3201 3202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3203$as_echo "$_am_result" >&6; } 3204rm -f confinc confmf 3205 3206# Check whether --enable-dependency-tracking was given. 3207if test "${enable_dependency_tracking+set}" = set; then : 3208 enableval=$enable_dependency_tracking; 3209fi 3210 3211if test "x$enable_dependency_tracking" != xno; then 3212 am_depcomp="$ac_aux_dir/depcomp" 3213 AMDEPBACKSLASH='\' 3214 am__nodep='_no' 3215fi 3216 if test "x$enable_dependency_tracking" != xno; then 3217 AMDEP_TRUE= 3218 AMDEP_FALSE='#' 3219else 3220 AMDEP_TRUE='#' 3221 AMDEP_FALSE= 3222fi 3223 3224 3225ac_ext=c 3226ac_cpp='$CPP $CPPFLAGS' 3227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3229ac_compiler_gnu=$ac_cv_c_compiler_gnu 3230if test -n "$ac_tool_prefix"; then 3231 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3232set dummy ${ac_tool_prefix}gcc; ac_word=$2 3233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3234$as_echo_n "checking for $ac_word... " >&6; } 3235if ${ac_cv_prog_CC+:} false; then : 3236 $as_echo_n "(cached) " >&6 3237else 3238 if test -n "$CC"; then 3239 ac_cv_prog_CC="$CC" # Let the user override the test. 3240else 3241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3242for as_dir in $PATH 3243do 3244 IFS=$as_save_IFS 3245 test -z "$as_dir" && as_dir=. 3246 for ac_exec_ext in '' $ac_executable_extensions; do 3247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3248 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3250 break 2 3251 fi 3252done 3253 done 3254IFS=$as_save_IFS 3255 3256fi 3257fi 3258CC=$ac_cv_prog_CC 3259if test -n "$CC"; then 3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3261$as_echo "$CC" >&6; } 3262else 3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3264$as_echo "no" >&6; } 3265fi 3266 3267 3268fi 3269if test -z "$ac_cv_prog_CC"; then 3270 ac_ct_CC=$CC 3271 # Extract the first word of "gcc", so it can be a program name with args. 3272set dummy gcc; ac_word=$2 3273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3274$as_echo_n "checking for $ac_word... " >&6; } 3275if ${ac_cv_prog_ac_ct_CC+:} false; then : 3276 $as_echo_n "(cached) " >&6 3277else 3278 if test -n "$ac_ct_CC"; then 3279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3280else 3281as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3282for as_dir in $PATH 3283do 3284 IFS=$as_save_IFS 3285 test -z "$as_dir" && as_dir=. 3286 for ac_exec_ext in '' $ac_executable_extensions; do 3287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3288 ac_cv_prog_ac_ct_CC="gcc" 3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3290 break 2 3291 fi 3292done 3293 done 3294IFS=$as_save_IFS 3295 3296fi 3297fi 3298ac_ct_CC=$ac_cv_prog_ac_ct_CC 3299if test -n "$ac_ct_CC"; then 3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3301$as_echo "$ac_ct_CC" >&6; } 3302else 3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3304$as_echo "no" >&6; } 3305fi 3306 3307 if test "x$ac_ct_CC" = x; then 3308 CC="" 3309 else 3310 case $cross_compiling:$ac_tool_warned in 3311yes:) 3312{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3313$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3314ac_tool_warned=yes ;; 3315esac 3316 CC=$ac_ct_CC 3317 fi 3318else 3319 CC="$ac_cv_prog_CC" 3320fi 3321 3322if test -z "$CC"; then 3323 if test -n "$ac_tool_prefix"; then 3324 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3325set dummy ${ac_tool_prefix}cc; ac_word=$2 3326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3327$as_echo_n "checking for $ac_word... " >&6; } 3328if ${ac_cv_prog_CC+:} false; then : 3329 $as_echo_n "(cached) " >&6 3330else 3331 if test -n "$CC"; then 3332 ac_cv_prog_CC="$CC" # Let the user override the test. 3333else 3334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3335for as_dir in $PATH 3336do 3337 IFS=$as_save_IFS 3338 test -z "$as_dir" && as_dir=. 3339 for ac_exec_ext in '' $ac_executable_extensions; do 3340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3341 ac_cv_prog_CC="${ac_tool_prefix}cc" 3342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3343 break 2 3344 fi 3345done 3346 done 3347IFS=$as_save_IFS 3348 3349fi 3350fi 3351CC=$ac_cv_prog_CC 3352if test -n "$CC"; then 3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3354$as_echo "$CC" >&6; } 3355else 3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3357$as_echo "no" >&6; } 3358fi 3359 3360 3361 fi 3362fi 3363if test -z "$CC"; then 3364 # Extract the first word of "cc", so it can be a program name with args. 3365set dummy cc; ac_word=$2 3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3367$as_echo_n "checking for $ac_word... " >&6; } 3368if ${ac_cv_prog_CC+:} false; then : 3369 $as_echo_n "(cached) " >&6 3370else 3371 if test -n "$CC"; then 3372 ac_cv_prog_CC="$CC" # Let the user override the test. 3373else 3374 ac_prog_rejected=no 3375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3376for as_dir in $PATH 3377do 3378 IFS=$as_save_IFS 3379 test -z "$as_dir" && as_dir=. 3380 for ac_exec_ext in '' $ac_executable_extensions; do 3381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3382 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3383 ac_prog_rejected=yes 3384 continue 3385 fi 3386 ac_cv_prog_CC="cc" 3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3388 break 2 3389 fi 3390done 3391 done 3392IFS=$as_save_IFS 3393 3394if test $ac_prog_rejected = yes; then 3395 # We found a bogon in the path, so make sure we never use it. 3396 set dummy $ac_cv_prog_CC 3397 shift 3398 if test $# != 0; then 3399 # We chose a different compiler from the bogus one. 3400 # However, it has the same basename, so the bogon will be chosen 3401 # first if we set CC to just the basename; use the full file name. 3402 shift 3403 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3404 fi 3405fi 3406fi 3407fi 3408CC=$ac_cv_prog_CC 3409if test -n "$CC"; then 3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3411$as_echo "$CC" >&6; } 3412else 3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3414$as_echo "no" >&6; } 3415fi 3416 3417 3418fi 3419if test -z "$CC"; then 3420 if test -n "$ac_tool_prefix"; then 3421 for ac_prog in cl.exe 3422 do 3423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3424set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3426$as_echo_n "checking for $ac_word... " >&6; } 3427if ${ac_cv_prog_CC+:} false; then : 3428 $as_echo_n "(cached) " >&6 3429else 3430 if test -n "$CC"; then 3431 ac_cv_prog_CC="$CC" # Let the user override the test. 3432else 3433as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3434for as_dir in $PATH 3435do 3436 IFS=$as_save_IFS 3437 test -z "$as_dir" && as_dir=. 3438 for ac_exec_ext in '' $ac_executable_extensions; do 3439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3440 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3442 break 2 3443 fi 3444done 3445 done 3446IFS=$as_save_IFS 3447 3448fi 3449fi 3450CC=$ac_cv_prog_CC 3451if test -n "$CC"; then 3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3453$as_echo "$CC" >&6; } 3454else 3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3456$as_echo "no" >&6; } 3457fi 3458 3459 3460 test -n "$CC" && break 3461 done 3462fi 3463if test -z "$CC"; then 3464 ac_ct_CC=$CC 3465 for ac_prog in cl.exe 3466do 3467 # Extract the first word of "$ac_prog", so it can be a program name with args. 3468set dummy $ac_prog; ac_word=$2 3469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3470$as_echo_n "checking for $ac_word... " >&6; } 3471if ${ac_cv_prog_ac_ct_CC+:} false; then : 3472 $as_echo_n "(cached) " >&6 3473else 3474 if test -n "$ac_ct_CC"; then 3475 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3476else 3477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3478for as_dir in $PATH 3479do 3480 IFS=$as_save_IFS 3481 test -z "$as_dir" && as_dir=. 3482 for ac_exec_ext in '' $ac_executable_extensions; do 3483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3484 ac_cv_prog_ac_ct_CC="$ac_prog" 3485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3486 break 2 3487 fi 3488done 3489 done 3490IFS=$as_save_IFS 3491 3492fi 3493fi 3494ac_ct_CC=$ac_cv_prog_ac_ct_CC 3495if test -n "$ac_ct_CC"; then 3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3497$as_echo "$ac_ct_CC" >&6; } 3498else 3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3500$as_echo "no" >&6; } 3501fi 3502 3503 3504 test -n "$ac_ct_CC" && break 3505done 3506 3507 if test "x$ac_ct_CC" = x; then 3508 CC="" 3509 else 3510 case $cross_compiling:$ac_tool_warned in 3511yes:) 3512{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3513$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3514ac_tool_warned=yes ;; 3515esac 3516 CC=$ac_ct_CC 3517 fi 3518fi 3519 3520fi 3521 3522 3523test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3524$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3525as_fn_error $? "no acceptable C compiler found in \$PATH 3526See \`config.log' for more details" "$LINENO" 5; } 3527 3528# Provide some information about the compiler. 3529$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3530set X $ac_compile 3531ac_compiler=$2 3532for ac_option in --version -v -V -qversion; do 3533 { { ac_try="$ac_compiler $ac_option >&5" 3534case "(($ac_try" in 3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3536 *) ac_try_echo=$ac_try;; 3537esac 3538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3539$as_echo "$ac_try_echo"; } >&5 3540 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3541 ac_status=$? 3542 if test -s conftest.err; then 3543 sed '10a\ 3544... rest of stderr output deleted ... 3545 10q' conftest.err >conftest.er1 3546 cat conftest.er1 >&5 3547 fi 3548 rm -f conftest.er1 conftest.err 3549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3550 test $ac_status = 0; } 3551done 3552 3553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3554/* end confdefs.h. */ 3555 3556int 3557main () 3558{ 3559 3560 ; 3561 return 0; 3562} 3563_ACEOF 3564ac_clean_files_save=$ac_clean_files 3565ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3566# Try to create an executable without -o first, disregard a.out. 3567# It will help us diagnose broken compilers, and finding out an intuition 3568# of exeext. 3569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3570$as_echo_n "checking whether the C compiler works... " >&6; } 3571ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3572 3573# The possible output files: 3574ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3575 3576ac_rmfiles= 3577for ac_file in $ac_files 3578do 3579 case $ac_file in 3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3581 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3582 esac 3583done 3584rm -f $ac_rmfiles 3585 3586if { { ac_try="$ac_link_default" 3587case "(($ac_try" in 3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3589 *) ac_try_echo=$ac_try;; 3590esac 3591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3592$as_echo "$ac_try_echo"; } >&5 3593 (eval "$ac_link_default") 2>&5 3594 ac_status=$? 3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3596 test $ac_status = 0; }; then : 3597 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3598# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3599# in a Makefile. We should not override ac_cv_exeext if it was cached, 3600# so that the user can short-circuit this test for compilers unknown to 3601# Autoconf. 3602for ac_file in $ac_files '' 3603do 3604 test -f "$ac_file" || continue 3605 case $ac_file in 3606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3607 ;; 3608 [ab].out ) 3609 # We found the default executable, but exeext='' is most 3610 # certainly right. 3611 break;; 3612 *.* ) 3613 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3614 then :; else 3615 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3616 fi 3617 # We set ac_cv_exeext here because the later test for it is not 3618 # safe: cross compilers may not add the suffix if given an `-o' 3619 # argument, so we may need to know it at that point already. 3620 # Even if this section looks crufty: it has the advantage of 3621 # actually working. 3622 break;; 3623 * ) 3624 break;; 3625 esac 3626done 3627test "$ac_cv_exeext" = no && ac_cv_exeext= 3628 3629else 3630 ac_file='' 3631fi 3632if test -z "$ac_file"; then : 3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3634$as_echo "no" >&6; } 3635$as_echo "$as_me: failed program was:" >&5 3636sed 's/^/| /' conftest.$ac_ext >&5 3637 3638{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3639$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3640as_fn_error 77 "C compiler cannot create executables 3641See \`config.log' for more details" "$LINENO" 5; } 3642else 3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3644$as_echo "yes" >&6; } 3645fi 3646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3647$as_echo_n "checking for C compiler default output file name... " >&6; } 3648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3649$as_echo "$ac_file" >&6; } 3650ac_exeext=$ac_cv_exeext 3651 3652rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3653ac_clean_files=$ac_clean_files_save 3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3655$as_echo_n "checking for suffix of executables... " >&6; } 3656if { { ac_try="$ac_link" 3657case "(($ac_try" in 3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3659 *) ac_try_echo=$ac_try;; 3660esac 3661eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3662$as_echo "$ac_try_echo"; } >&5 3663 (eval "$ac_link") 2>&5 3664 ac_status=$? 3665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3666 test $ac_status = 0; }; then : 3667 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3668# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3669# work properly (i.e., refer to `conftest.exe'), while it won't with 3670# `rm'. 3671for ac_file in conftest.exe conftest conftest.*; do 3672 test -f "$ac_file" || continue 3673 case $ac_file in 3674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3675 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3676 break;; 3677 * ) break;; 3678 esac 3679done 3680else 3681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3683as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3684See \`config.log' for more details" "$LINENO" 5; } 3685fi 3686rm -f conftest conftest$ac_cv_exeext 3687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3688$as_echo "$ac_cv_exeext" >&6; } 3689 3690rm -f conftest.$ac_ext 3691EXEEXT=$ac_cv_exeext 3692ac_exeext=$EXEEXT 3693cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3694/* end confdefs.h. */ 3695#include <stdio.h> 3696int 3697main () 3698{ 3699FILE *f = fopen ("conftest.out", "w"); 3700 return ferror (f) || fclose (f) != 0; 3701 3702 ; 3703 return 0; 3704} 3705_ACEOF 3706ac_clean_files="$ac_clean_files conftest.out" 3707# Check that the compiler produces executables we can run. If not, either 3708# the compiler is broken, or we cross compile. 3709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3710$as_echo_n "checking whether we are cross compiling... " >&6; } 3711if test "$cross_compiling" != yes; then 3712 { { ac_try="$ac_link" 3713case "(($ac_try" in 3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3715 *) ac_try_echo=$ac_try;; 3716esac 3717eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3718$as_echo "$ac_try_echo"; } >&5 3719 (eval "$ac_link") 2>&5 3720 ac_status=$? 3721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3722 test $ac_status = 0; } 3723 if { ac_try='./conftest$ac_cv_exeext' 3724 { { case "(($ac_try" in 3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3726 *) ac_try_echo=$ac_try;; 3727esac 3728eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3729$as_echo "$ac_try_echo"; } >&5 3730 (eval "$ac_try") 2>&5 3731 ac_status=$? 3732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3733 test $ac_status = 0; }; }; then 3734 cross_compiling=no 3735 else 3736 if test "$cross_compiling" = maybe; then 3737 cross_compiling=yes 3738 else 3739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3740$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3741as_fn_error $? "cannot run C compiled programs. 3742If you meant to cross compile, use \`--host'. 3743See \`config.log' for more details" "$LINENO" 5; } 3744 fi 3745 fi 3746fi 3747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3748$as_echo "$cross_compiling" >&6; } 3749 3750rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3751ac_clean_files=$ac_clean_files_save 3752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3753$as_echo_n "checking for suffix of object files... " >&6; } 3754if ${ac_cv_objext+:} false; then : 3755 $as_echo_n "(cached) " >&6 3756else 3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3758/* end confdefs.h. */ 3759 3760int 3761main () 3762{ 3763 3764 ; 3765 return 0; 3766} 3767_ACEOF 3768rm -f conftest.o conftest.obj 3769if { { ac_try="$ac_compile" 3770case "(($ac_try" in 3771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3772 *) ac_try_echo=$ac_try;; 3773esac 3774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3775$as_echo "$ac_try_echo"; } >&5 3776 (eval "$ac_compile") 2>&5 3777 ac_status=$? 3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3779 test $ac_status = 0; }; then : 3780 for ac_file in conftest.o conftest.obj conftest.*; do 3781 test -f "$ac_file" || continue; 3782 case $ac_file in 3783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3784 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3785 break;; 3786 esac 3787done 3788else 3789 $as_echo "$as_me: failed program was:" >&5 3790sed 's/^/| /' conftest.$ac_ext >&5 3791 3792{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3794as_fn_error $? "cannot compute suffix of object files: cannot compile 3795See \`config.log' for more details" "$LINENO" 5; } 3796fi 3797rm -f conftest.$ac_cv_objext conftest.$ac_ext 3798fi 3799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3800$as_echo "$ac_cv_objext" >&6; } 3801OBJEXT=$ac_cv_objext 3802ac_objext=$OBJEXT 3803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3804$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3805if ${ac_cv_c_compiler_gnu+:} false; then : 3806 $as_echo_n "(cached) " >&6 3807else 3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3809/* end confdefs.h. */ 3810 3811int 3812main () 3813{ 3814#ifndef __GNUC__ 3815 choke me 3816#endif 3817 3818 ; 3819 return 0; 3820} 3821_ACEOF 3822if ac_fn_c_try_compile "$LINENO"; then : 3823 ac_compiler_gnu=yes 3824else 3825 ac_compiler_gnu=no 3826fi 3827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3828ac_cv_c_compiler_gnu=$ac_compiler_gnu 3829 3830fi 3831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3832$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3833if test $ac_compiler_gnu = yes; then 3834 GCC=yes 3835else 3836 GCC= 3837fi 3838ac_test_CFLAGS=${CFLAGS+set} 3839ac_save_CFLAGS=$CFLAGS 3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3841$as_echo_n "checking whether $CC accepts -g... " >&6; } 3842if ${ac_cv_prog_cc_g+:} false; then : 3843 $as_echo_n "(cached) " >&6 3844else 3845 ac_save_c_werror_flag=$ac_c_werror_flag 3846 ac_c_werror_flag=yes 3847 ac_cv_prog_cc_g=no 3848 CFLAGS="-g" 3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3850/* end confdefs.h. */ 3851 3852int 3853main () 3854{ 3855 3856 ; 3857 return 0; 3858} 3859_ACEOF 3860if ac_fn_c_try_compile "$LINENO"; then : 3861 ac_cv_prog_cc_g=yes 3862else 3863 CFLAGS="" 3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3865/* end confdefs.h. */ 3866 3867int 3868main () 3869{ 3870 3871 ; 3872 return 0; 3873} 3874_ACEOF 3875if ac_fn_c_try_compile "$LINENO"; then : 3876 3877else 3878 ac_c_werror_flag=$ac_save_c_werror_flag 3879 CFLAGS="-g" 3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3881/* end confdefs.h. */ 3882 3883int 3884main () 3885{ 3886 3887 ; 3888 return 0; 3889} 3890_ACEOF 3891if ac_fn_c_try_compile "$LINENO"; then : 3892 ac_cv_prog_cc_g=yes 3893fi 3894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3895fi 3896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3897fi 3898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3899 ac_c_werror_flag=$ac_save_c_werror_flag 3900fi 3901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3902$as_echo "$ac_cv_prog_cc_g" >&6; } 3903if test "$ac_test_CFLAGS" = set; then 3904 CFLAGS=$ac_save_CFLAGS 3905elif test $ac_cv_prog_cc_g = yes; then 3906 if test "$GCC" = yes; then 3907 CFLAGS="-g -O2" 3908 else 3909 CFLAGS="-g" 3910 fi 3911else 3912 if test "$GCC" = yes; then 3913 CFLAGS="-O2" 3914 else 3915 CFLAGS= 3916 fi 3917fi 3918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3919$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3920if ${ac_cv_prog_cc_c89+:} false; then : 3921 $as_echo_n "(cached) " >&6 3922else 3923 ac_cv_prog_cc_c89=no 3924ac_save_CC=$CC 3925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3926/* end confdefs.h. */ 3927#include <stdarg.h> 3928#include <stdio.h> 3929struct stat; 3930/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3931struct buf { int x; }; 3932FILE * (*rcsopen) (struct buf *, struct stat *, int); 3933static char *e (p, i) 3934 char **p; 3935 int i; 3936{ 3937 return p[i]; 3938} 3939static char *f (char * (*g) (char **, int), char **p, ...) 3940{ 3941 char *s; 3942 va_list v; 3943 va_start (v,p); 3944 s = g (p, va_arg (v,int)); 3945 va_end (v); 3946 return s; 3947} 3948 3949/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3950 function prototypes and stuff, but not '\xHH' hex character constants. 3951 These don't provoke an error unfortunately, instead are silently treated 3952 as 'x'. The following induces an error, until -std is added to get 3953 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3954 array size at least. It's necessary to write '\x00'==0 to get something 3955 that's true only with -std. */ 3956int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3957 3958/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3959 inside strings and character constants. */ 3960#define FOO(x) 'x' 3961int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3962 3963int test (int i, double x); 3964struct s1 {int (*f) (int a);}; 3965struct s2 {int (*f) (double a);}; 3966int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3967int argc; 3968char **argv; 3969int 3970main () 3971{ 3972return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3973 ; 3974 return 0; 3975} 3976_ACEOF 3977for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3979do 3980 CC="$ac_save_CC $ac_arg" 3981 if ac_fn_c_try_compile "$LINENO"; then : 3982 ac_cv_prog_cc_c89=$ac_arg 3983fi 3984rm -f core conftest.err conftest.$ac_objext 3985 test "x$ac_cv_prog_cc_c89" != "xno" && break 3986done 3987rm -f conftest.$ac_ext 3988CC=$ac_save_CC 3989 3990fi 3991# AC_CACHE_VAL 3992case "x$ac_cv_prog_cc_c89" in 3993 x) 3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3995$as_echo "none needed" >&6; } ;; 3996 xno) 3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3998$as_echo "unsupported" >&6; } ;; 3999 *) 4000 CC="$CC $ac_cv_prog_cc_c89" 4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4002$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4003esac 4004if test "x$ac_cv_prog_cc_c89" != xno; then : 4005 4006fi 4007 4008ac_ext=c 4009ac_cpp='$CPP $CPPFLAGS' 4010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4012ac_compiler_gnu=$ac_cv_c_compiler_gnu 4013 4014ac_ext=c 4015ac_cpp='$CPP $CPPFLAGS' 4016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4018ac_compiler_gnu=$ac_cv_c_compiler_gnu 4019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4020$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4021if ${am_cv_prog_cc_c_o+:} false; then : 4022 $as_echo_n "(cached) " >&6 4023else 4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4025/* end confdefs.h. */ 4026 4027int 4028main () 4029{ 4030 4031 ; 4032 return 0; 4033} 4034_ACEOF 4035 # Make sure it works both with $CC and with simple cc. 4036 # Following AC_PROG_CC_C_O, we do the test twice because some 4037 # compilers refuse to overwrite an existing .o file with -o, 4038 # though they will create one. 4039 am_cv_prog_cc_c_o=yes 4040 for am_i in 1 2; do 4041 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4042 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4043 ac_status=$? 4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4045 (exit $ac_status); } \ 4046 && test -f conftest2.$ac_objext; then 4047 : OK 4048 else 4049 am_cv_prog_cc_c_o=no 4050 break 4051 fi 4052 done 4053 rm -f core conftest* 4054 unset am_i 4055fi 4056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4057$as_echo "$am_cv_prog_cc_c_o" >&6; } 4058if test "$am_cv_prog_cc_c_o" != yes; then 4059 # Losing compiler, so override with the script. 4060 # FIXME: It is wrong to rewrite CC. 4061 # But if we don't then we get into trouble of one sort or another. 4062 # A longer-term fix would be to have automake use am__CC in this case, 4063 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4064 CC="$am_aux_dir/compile $CC" 4065fi 4066ac_ext=c 4067ac_cpp='$CPP $CPPFLAGS' 4068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4070ac_compiler_gnu=$ac_cv_c_compiler_gnu 4071 4072 4073depcc="$CC" am_compiler_list= 4074 4075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4076$as_echo_n "checking dependency style of $depcc... " >&6; } 4077if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4078 $as_echo_n "(cached) " >&6 4079else 4080 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4081 # We make a subdir and do the tests there. Otherwise we can end up 4082 # making bogus files that we don't know about and never remove. For 4083 # instance it was reported that on HP-UX the gcc test will end up 4084 # making a dummy file named 'D' -- because '-MD' means "put the output 4085 # in D". 4086 rm -rf conftest.dir 4087 mkdir conftest.dir 4088 # Copy depcomp to subdir because otherwise we won't find it if we're 4089 # using a relative directory. 4090 cp "$am_depcomp" conftest.dir 4091 cd conftest.dir 4092 # We will build objects and dependencies in a subdirectory because 4093 # it helps to detect inapplicable dependency modes. For instance 4094 # both Tru64's cc and ICC support -MD to output dependencies as a 4095 # side effect of compilation, but ICC will put the dependencies in 4096 # the current directory while Tru64 will put them in the object 4097 # directory. 4098 mkdir sub 4099 4100 am_cv_CC_dependencies_compiler_type=none 4101 if test "$am_compiler_list" = ""; then 4102 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4103 fi 4104 am__universal=false 4105 case " $depcc " in #( 4106 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4107 esac 4108 4109 for depmode in $am_compiler_list; do 4110 # Setup a source with many dependencies, because some compilers 4111 # like to wrap large dependency lists on column 80 (with \), and 4112 # we should not choose a depcomp mode which is confused by this. 4113 # 4114 # We need to recreate these files for each test, as the compiler may 4115 # overwrite some of them when testing with obscure command lines. 4116 # This happens at least with the AIX C compiler. 4117 : > sub/conftest.c 4118 for i in 1 2 3 4 5 6; do 4119 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4120 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4121 # Solaris 10 /bin/sh. 4122 echo '/* dummy */' > sub/conftst$i.h 4123 done 4124 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4125 4126 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4127 # mode. It turns out that the SunPro C++ compiler does not properly 4128 # handle '-M -o', and we need to detect this. Also, some Intel 4129 # versions had trouble with output in subdirs. 4130 am__obj=sub/conftest.${OBJEXT-o} 4131 am__minus_obj="-o $am__obj" 4132 case $depmode in 4133 gcc) 4134 # This depmode causes a compiler race in universal mode. 4135 test "$am__universal" = false || continue 4136 ;; 4137 nosideeffect) 4138 # After this tag, mechanisms are not by side-effect, so they'll 4139 # only be used when explicitly requested. 4140 if test "x$enable_dependency_tracking" = xyes; then 4141 continue 4142 else 4143 break 4144 fi 4145 ;; 4146 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4147 # This compiler won't grok '-c -o', but also, the minuso test has 4148 # not run yet. These depmodes are late enough in the game, and 4149 # so weak that their functioning should not be impacted. 4150 am__obj=conftest.${OBJEXT-o} 4151 am__minus_obj= 4152 ;; 4153 none) break ;; 4154 esac 4155 if depmode=$depmode \ 4156 source=sub/conftest.c object=$am__obj \ 4157 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4158 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4159 >/dev/null 2>conftest.err && 4160 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4161 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4162 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4163 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4164 # icc doesn't choke on unknown options, it will just issue warnings 4165 # or remarks (even with -Werror). So we grep stderr for any message 4166 # that says an option was ignored or not supported. 4167 # When given -MP, icc 7.0 and 7.1 complain thusly: 4168 # icc: Command line warning: ignoring option '-M'; no argument required 4169 # The diagnosis changed in icc 8.0: 4170 # icc: Command line remark: option '-MP' not supported 4171 if (grep 'ignoring option' conftest.err || 4172 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4173 am_cv_CC_dependencies_compiler_type=$depmode 4174 break 4175 fi 4176 fi 4177 done 4178 4179 cd .. 4180 rm -rf conftest.dir 4181else 4182 am_cv_CC_dependencies_compiler_type=none 4183fi 4184 4185fi 4186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4187$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4188CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4189 4190 if 4191 test "x$enable_dependency_tracking" != xno \ 4192 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4193 am__fastdepCC_TRUE= 4194 am__fastdepCC_FALSE='#' 4195else 4196 am__fastdepCC_TRUE='#' 4197 am__fastdepCC_FALSE= 4198fi 4199 4200 4201 4202# Check whether --enable-compiler-warnings was given. 4203if test "${enable_compiler_warnings+set}" = set; then : 4204 enableval=$enable_compiler_warnings; 4205fi 4206case $enable_compiler_warnings in #( 4207 no | min | yes | max | all) : 4208 ;; #( 4209 *) : 4210 if test "x$enable_maintainer_mode" = xyes; then : 4211 enable_compiler_warnings=yes 4212else 4213 enable_compiler_warnings=min 4214fi ;; 4215esac 4216 4217case `pwd` in 4218 *\ * | *\ *) 4219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4220$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4221esac 4222 4223 4224 4225macro_version='2.4.6' 4226macro_revision='2.4.6' 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240ltmain=$ac_aux_dir/ltmain.sh 4241 4242# Make sure we can run config.sub. 4243$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4244 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4245 4246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4247$as_echo_n "checking build system type... " >&6; } 4248if ${ac_cv_build+:} false; then : 4249 $as_echo_n "(cached) " >&6 4250else 4251 ac_build_alias=$build_alias 4252test "x$ac_build_alias" = x && 4253 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4254test "x$ac_build_alias" = x && 4255 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4256ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4257 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4258 4259fi 4260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4261$as_echo "$ac_cv_build" >&6; } 4262case $ac_cv_build in 4263*-*-*) ;; 4264*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4265esac 4266build=$ac_cv_build 4267ac_save_IFS=$IFS; IFS='-' 4268set x $ac_cv_build 4269shift 4270build_cpu=$1 4271build_vendor=$2 4272shift; shift 4273# Remember, the first character of IFS is used to create $*, 4274# except with old shells: 4275build_os=$* 4276IFS=$ac_save_IFS 4277case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4278 4279 4280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4281$as_echo_n "checking host system type... " >&6; } 4282if ${ac_cv_host+:} false; then : 4283 $as_echo_n "(cached) " >&6 4284else 4285 if test "x$host_alias" = x; then 4286 ac_cv_host=$ac_cv_build 4287else 4288 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4289 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4290fi 4291 4292fi 4293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4294$as_echo "$ac_cv_host" >&6; } 4295case $ac_cv_host in 4296*-*-*) ;; 4297*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4298esac 4299host=$ac_cv_host 4300ac_save_IFS=$IFS; IFS='-' 4301set x $ac_cv_host 4302shift 4303host_cpu=$1 4304host_vendor=$2 4305shift; shift 4306# Remember, the first character of IFS is used to create $*, 4307# except with old shells: 4308host_os=$* 4309IFS=$ac_save_IFS 4310case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4311 4312 4313# Backslashify metacharacters that are still active within 4314# double-quoted strings. 4315sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4316 4317# Same as above, but do not quote variable references. 4318double_quote_subst='s/\(["`\\]\)/\\\1/g' 4319 4320# Sed substitution to delay expansion of an escaped shell variable in a 4321# double_quote_subst'ed string. 4322delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4323 4324# Sed substitution to delay expansion of an escaped single quote. 4325delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4326 4327# Sed substitution to avoid accidental globbing in evaled expressions 4328no_glob_subst='s/\*/\\\*/g' 4329 4330ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4331ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4332ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4333 4334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4335$as_echo_n "checking how to print strings... " >&6; } 4336# Test print first, because it will be a builtin if present. 4337if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4338 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4339 ECHO='print -r --' 4340elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4341 ECHO='printf %s\n' 4342else 4343 # Use this function as a fallback that always works. 4344 func_fallback_echo () 4345 { 4346 eval 'cat <<_LTECHO_EOF 4347$1 4348_LTECHO_EOF' 4349 } 4350 ECHO='func_fallback_echo' 4351fi 4352 4353# func_echo_all arg... 4354# Invoke $ECHO with all args, space-separated. 4355func_echo_all () 4356{ 4357 $ECHO "" 4358} 4359 4360case $ECHO in 4361 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4362$as_echo "printf" >&6; } ;; 4363 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4364$as_echo "print -r" >&6; } ;; 4365 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4366$as_echo "cat" >&6; } ;; 4367esac 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4383$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4384if ${ac_cv_path_SED+:} false; then : 4385 $as_echo_n "(cached) " >&6 4386else 4387 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4388 for ac_i in 1 2 3 4 5 6 7; do 4389 ac_script="$ac_script$as_nl$ac_script" 4390 done 4391 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4392 { ac_script=; unset ac_script;} 4393 if test -z "$SED"; then 4394 ac_path_SED_found=false 4395 # Loop through the user's path and test for each of PROGNAME-LIST 4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4397for as_dir in $PATH 4398do 4399 IFS=$as_save_IFS 4400 test -z "$as_dir" && as_dir=. 4401 for ac_prog in sed gsed; do 4402 for ac_exec_ext in '' $ac_executable_extensions; do 4403 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4404 as_fn_executable_p "$ac_path_SED" || continue 4405# Check for GNU ac_path_SED and select it if it is found. 4406 # Check for GNU $ac_path_SED 4407case `"$ac_path_SED" --version 2>&1` in 4408*GNU*) 4409 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4410*) 4411 ac_count=0 4412 $as_echo_n 0123456789 >"conftest.in" 4413 while : 4414 do 4415 cat "conftest.in" "conftest.in" >"conftest.tmp" 4416 mv "conftest.tmp" "conftest.in" 4417 cp "conftest.in" "conftest.nl" 4418 $as_echo '' >> "conftest.nl" 4419 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4420 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4421 as_fn_arith $ac_count + 1 && ac_count=$as_val 4422 if test $ac_count -gt ${ac_path_SED_max-0}; then 4423 # Best one so far, save it but keep looking for a better one 4424 ac_cv_path_SED="$ac_path_SED" 4425 ac_path_SED_max=$ac_count 4426 fi 4427 # 10*(2^10) chars as input seems more than enough 4428 test $ac_count -gt 10 && break 4429 done 4430 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4431esac 4432 4433 $ac_path_SED_found && break 3 4434 done 4435 done 4436 done 4437IFS=$as_save_IFS 4438 if test -z "$ac_cv_path_SED"; then 4439 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4440 fi 4441else 4442 ac_cv_path_SED=$SED 4443fi 4444 4445fi 4446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4447$as_echo "$ac_cv_path_SED" >&6; } 4448 SED="$ac_cv_path_SED" 4449 rm -f conftest.sed 4450 4451test -z "$SED" && SED=sed 4452Xsed="$SED -e 1s/^X//" 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4465$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4466if ${ac_cv_path_GREP+:} false; then : 4467 $as_echo_n "(cached) " >&6 4468else 4469 if test -z "$GREP"; then 4470 ac_path_GREP_found=false 4471 # Loop through the user's path and test for each of PROGNAME-LIST 4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4473for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4474do 4475 IFS=$as_save_IFS 4476 test -z "$as_dir" && as_dir=. 4477 for ac_prog in grep ggrep; do 4478 for ac_exec_ext in '' $ac_executable_extensions; do 4479 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4480 as_fn_executable_p "$ac_path_GREP" || continue 4481# Check for GNU ac_path_GREP and select it if it is found. 4482 # Check for GNU $ac_path_GREP 4483case `"$ac_path_GREP" --version 2>&1` in 4484*GNU*) 4485 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4486*) 4487 ac_count=0 4488 $as_echo_n 0123456789 >"conftest.in" 4489 while : 4490 do 4491 cat "conftest.in" "conftest.in" >"conftest.tmp" 4492 mv "conftest.tmp" "conftest.in" 4493 cp "conftest.in" "conftest.nl" 4494 $as_echo 'GREP' >> "conftest.nl" 4495 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4496 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4497 as_fn_arith $ac_count + 1 && ac_count=$as_val 4498 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4499 # Best one so far, save it but keep looking for a better one 4500 ac_cv_path_GREP="$ac_path_GREP" 4501 ac_path_GREP_max=$ac_count 4502 fi 4503 # 10*(2^10) chars as input seems more than enough 4504 test $ac_count -gt 10 && break 4505 done 4506 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4507esac 4508 4509 $ac_path_GREP_found && break 3 4510 done 4511 done 4512 done 4513IFS=$as_save_IFS 4514 if test -z "$ac_cv_path_GREP"; then 4515 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4516 fi 4517else 4518 ac_cv_path_GREP=$GREP 4519fi 4520 4521fi 4522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4523$as_echo "$ac_cv_path_GREP" >&6; } 4524 GREP="$ac_cv_path_GREP" 4525 4526 4527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4528$as_echo_n "checking for egrep... " >&6; } 4529if ${ac_cv_path_EGREP+:} false; then : 4530 $as_echo_n "(cached) " >&6 4531else 4532 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4533 then ac_cv_path_EGREP="$GREP -E" 4534 else 4535 if test -z "$EGREP"; then 4536 ac_path_EGREP_found=false 4537 # Loop through the user's path and test for each of PROGNAME-LIST 4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4539for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4540do 4541 IFS=$as_save_IFS 4542 test -z "$as_dir" && as_dir=. 4543 for ac_prog in egrep; do 4544 for ac_exec_ext in '' $ac_executable_extensions; do 4545 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4546 as_fn_executable_p "$ac_path_EGREP" || continue 4547# Check for GNU ac_path_EGREP and select it if it is found. 4548 # Check for GNU $ac_path_EGREP 4549case `"$ac_path_EGREP" --version 2>&1` in 4550*GNU*) 4551 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4552*) 4553 ac_count=0 4554 $as_echo_n 0123456789 >"conftest.in" 4555 while : 4556 do 4557 cat "conftest.in" "conftest.in" >"conftest.tmp" 4558 mv "conftest.tmp" "conftest.in" 4559 cp "conftest.in" "conftest.nl" 4560 $as_echo 'EGREP' >> "conftest.nl" 4561 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4562 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4563 as_fn_arith $ac_count + 1 && ac_count=$as_val 4564 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4565 # Best one so far, save it but keep looking for a better one 4566 ac_cv_path_EGREP="$ac_path_EGREP" 4567 ac_path_EGREP_max=$ac_count 4568 fi 4569 # 10*(2^10) chars as input seems more than enough 4570 test $ac_count -gt 10 && break 4571 done 4572 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4573esac 4574 4575 $ac_path_EGREP_found && break 3 4576 done 4577 done 4578 done 4579IFS=$as_save_IFS 4580 if test -z "$ac_cv_path_EGREP"; then 4581 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4582 fi 4583else 4584 ac_cv_path_EGREP=$EGREP 4585fi 4586 4587 fi 4588fi 4589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4590$as_echo "$ac_cv_path_EGREP" >&6; } 4591 EGREP="$ac_cv_path_EGREP" 4592 4593 4594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4595$as_echo_n "checking for fgrep... " >&6; } 4596if ${ac_cv_path_FGREP+:} false; then : 4597 $as_echo_n "(cached) " >&6 4598else 4599 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4600 then ac_cv_path_FGREP="$GREP -F" 4601 else 4602 if test -z "$FGREP"; then 4603 ac_path_FGREP_found=false 4604 # Loop through the user's path and test for each of PROGNAME-LIST 4605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4606for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4607do 4608 IFS=$as_save_IFS 4609 test -z "$as_dir" && as_dir=. 4610 for ac_prog in fgrep; do 4611 for ac_exec_ext in '' $ac_executable_extensions; do 4612 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4613 as_fn_executable_p "$ac_path_FGREP" || continue 4614# Check for GNU ac_path_FGREP and select it if it is found. 4615 # Check for GNU $ac_path_FGREP 4616case `"$ac_path_FGREP" --version 2>&1` in 4617*GNU*) 4618 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4619*) 4620 ac_count=0 4621 $as_echo_n 0123456789 >"conftest.in" 4622 while : 4623 do 4624 cat "conftest.in" "conftest.in" >"conftest.tmp" 4625 mv "conftest.tmp" "conftest.in" 4626 cp "conftest.in" "conftest.nl" 4627 $as_echo 'FGREP' >> "conftest.nl" 4628 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4629 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4630 as_fn_arith $ac_count + 1 && ac_count=$as_val 4631 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4632 # Best one so far, save it but keep looking for a better one 4633 ac_cv_path_FGREP="$ac_path_FGREP" 4634 ac_path_FGREP_max=$ac_count 4635 fi 4636 # 10*(2^10) chars as input seems more than enough 4637 test $ac_count -gt 10 && break 4638 done 4639 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4640esac 4641 4642 $ac_path_FGREP_found && break 3 4643 done 4644 done 4645 done 4646IFS=$as_save_IFS 4647 if test -z "$ac_cv_path_FGREP"; then 4648 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4649 fi 4650else 4651 ac_cv_path_FGREP=$FGREP 4652fi 4653 4654 fi 4655fi 4656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4657$as_echo "$ac_cv_path_FGREP" >&6; } 4658 FGREP="$ac_cv_path_FGREP" 4659 4660 4661test -z "$GREP" && GREP=grep 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681# Check whether --with-gnu-ld was given. 4682if test "${with_gnu_ld+set}" = set; then : 4683 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4684else 4685 with_gnu_ld=no 4686fi 4687 4688ac_prog=ld 4689if test yes = "$GCC"; then 4690 # Check if gcc -print-prog-name=ld gives a path. 4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4692$as_echo_n "checking for ld used by $CC... " >&6; } 4693 case $host in 4694 *-*-mingw*) 4695 # gcc leaves a trailing carriage return, which upsets mingw 4696 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4697 *) 4698 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4699 esac 4700 case $ac_prog in 4701 # Accept absolute paths. 4702 [\\/]* | ?:[\\/]*) 4703 re_direlt='/[^/][^/]*/\.\./' 4704 # Canonicalize the pathname of ld 4705 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4706 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4707 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4708 done 4709 test -z "$LD" && LD=$ac_prog 4710 ;; 4711 "") 4712 # If it fails, then pretend we aren't using GCC. 4713 ac_prog=ld 4714 ;; 4715 *) 4716 # If it is relative, then search for the first ld in PATH. 4717 with_gnu_ld=unknown 4718 ;; 4719 esac 4720elif test yes = "$with_gnu_ld"; then 4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4722$as_echo_n "checking for GNU ld... " >&6; } 4723else 4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4725$as_echo_n "checking for non-GNU ld... " >&6; } 4726fi 4727if ${lt_cv_path_LD+:} false; then : 4728 $as_echo_n "(cached) " >&6 4729else 4730 if test -z "$LD"; then 4731 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4732 for ac_dir in $PATH; do 4733 IFS=$lt_save_ifs 4734 test -z "$ac_dir" && ac_dir=. 4735 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4736 lt_cv_path_LD=$ac_dir/$ac_prog 4737 # Check to see if the program is GNU ld. I'd rather use --version, 4738 # but apparently some variants of GNU ld only accept -v. 4739 # Break only if it was the GNU/non-GNU ld that we prefer. 4740 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4741 *GNU* | *'with BFD'*) 4742 test no != "$with_gnu_ld" && break 4743 ;; 4744 *) 4745 test yes != "$with_gnu_ld" && break 4746 ;; 4747 esac 4748 fi 4749 done 4750 IFS=$lt_save_ifs 4751else 4752 lt_cv_path_LD=$LD # Let the user override the test with a path. 4753fi 4754fi 4755 4756LD=$lt_cv_path_LD 4757if test -n "$LD"; then 4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4759$as_echo "$LD" >&6; } 4760else 4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4762$as_echo "no" >&6; } 4763fi 4764test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4766$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4767if ${lt_cv_prog_gnu_ld+:} false; then : 4768 $as_echo_n "(cached) " >&6 4769else 4770 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4771case `$LD -v 2>&1 </dev/null` in 4772*GNU* | *'with BFD'*) 4773 lt_cv_prog_gnu_ld=yes 4774 ;; 4775*) 4776 lt_cv_prog_gnu_ld=no 4777 ;; 4778esac 4779fi 4780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4781$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4782with_gnu_ld=$lt_cv_prog_gnu_ld 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4793$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4794if ${lt_cv_path_NM+:} false; then : 4795 $as_echo_n "(cached) " >&6 4796else 4797 if test -n "$NM"; then 4798 # Let the user override the test. 4799 lt_cv_path_NM=$NM 4800else 4801 lt_nm_to_check=${ac_tool_prefix}nm 4802 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4803 lt_nm_to_check="$lt_nm_to_check nm" 4804 fi 4805 for lt_tmp_nm in $lt_nm_to_check; do 4806 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4807 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4808 IFS=$lt_save_ifs 4809 test -z "$ac_dir" && ac_dir=. 4810 tmp_nm=$ac_dir/$lt_tmp_nm 4811 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4812 # Check to see if the nm accepts a BSD-compat flag. 4813 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4814 # nm: unknown option "B" ignored 4815 # Tru64's nm complains that /dev/null is an invalid object file 4816 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4817 case $build_os in 4818 mingw*) lt_bad_file=conftest.nm/nofile ;; 4819 *) lt_bad_file=/dev/null ;; 4820 esac 4821 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4822 *$lt_bad_file* | *'Invalid file or object type'*) 4823 lt_cv_path_NM="$tmp_nm -B" 4824 break 2 4825 ;; 4826 *) 4827 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4828 */dev/null*) 4829 lt_cv_path_NM="$tmp_nm -p" 4830 break 2 4831 ;; 4832 *) 4833 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4834 continue # so that we can try to find one that supports BSD flags 4835 ;; 4836 esac 4837 ;; 4838 esac 4839 fi 4840 done 4841 IFS=$lt_save_ifs 4842 done 4843 : ${lt_cv_path_NM=no} 4844fi 4845fi 4846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4847$as_echo "$lt_cv_path_NM" >&6; } 4848if test no != "$lt_cv_path_NM"; then 4849 NM=$lt_cv_path_NM 4850else 4851 # Didn't find any BSD compatible name lister, look for dumpbin. 4852 if test -n "$DUMPBIN"; then : 4853 # Let the user override the test. 4854 else 4855 if test -n "$ac_tool_prefix"; then 4856 for ac_prog in dumpbin "link -dump" 4857 do 4858 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4859set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4861$as_echo_n "checking for $ac_word... " >&6; } 4862if ${ac_cv_prog_DUMPBIN+:} false; then : 4863 $as_echo_n "(cached) " >&6 4864else 4865 if test -n "$DUMPBIN"; then 4866 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4867else 4868as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4869for as_dir in $PATH 4870do 4871 IFS=$as_save_IFS 4872 test -z "$as_dir" && as_dir=. 4873 for ac_exec_ext in '' $ac_executable_extensions; do 4874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4875 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4877 break 2 4878 fi 4879done 4880 done 4881IFS=$as_save_IFS 4882 4883fi 4884fi 4885DUMPBIN=$ac_cv_prog_DUMPBIN 4886if test -n "$DUMPBIN"; then 4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4888$as_echo "$DUMPBIN" >&6; } 4889else 4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4891$as_echo "no" >&6; } 4892fi 4893 4894 4895 test -n "$DUMPBIN" && break 4896 done 4897fi 4898if test -z "$DUMPBIN"; then 4899 ac_ct_DUMPBIN=$DUMPBIN 4900 for ac_prog in dumpbin "link -dump" 4901do 4902 # Extract the first word of "$ac_prog", so it can be a program name with args. 4903set dummy $ac_prog; ac_word=$2 4904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4905$as_echo_n "checking for $ac_word... " >&6; } 4906if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4907 $as_echo_n "(cached) " >&6 4908else 4909 if test -n "$ac_ct_DUMPBIN"; then 4910 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4911else 4912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4913for as_dir in $PATH 4914do 4915 IFS=$as_save_IFS 4916 test -z "$as_dir" && as_dir=. 4917 for ac_exec_ext in '' $ac_executable_extensions; do 4918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4919 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4921 break 2 4922 fi 4923done 4924 done 4925IFS=$as_save_IFS 4926 4927fi 4928fi 4929ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4930if test -n "$ac_ct_DUMPBIN"; then 4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4932$as_echo "$ac_ct_DUMPBIN" >&6; } 4933else 4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4935$as_echo "no" >&6; } 4936fi 4937 4938 4939 test -n "$ac_ct_DUMPBIN" && break 4940done 4941 4942 if test "x$ac_ct_DUMPBIN" = x; then 4943 DUMPBIN=":" 4944 else 4945 case $cross_compiling:$ac_tool_warned in 4946yes:) 4947{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4948$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4949ac_tool_warned=yes ;; 4950esac 4951 DUMPBIN=$ac_ct_DUMPBIN 4952 fi 4953fi 4954 4955 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4956 *COFF*) 4957 DUMPBIN="$DUMPBIN -symbols -headers" 4958 ;; 4959 *) 4960 DUMPBIN=: 4961 ;; 4962 esac 4963 fi 4964 4965 if test : != "$DUMPBIN"; then 4966 NM=$DUMPBIN 4967 fi 4968fi 4969test -z "$NM" && NM=nm 4970 4971 4972 4973 4974 4975 4976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4977$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4978if ${lt_cv_nm_interface+:} false; then : 4979 $as_echo_n "(cached) " >&6 4980else 4981 lt_cv_nm_interface="BSD nm" 4982 echo "int some_variable = 0;" > conftest.$ac_ext 4983 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4984 (eval "$ac_compile" 2>conftest.err) 4985 cat conftest.err >&5 4986 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4987 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4988 cat conftest.err >&5 4989 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4990 cat conftest.out >&5 4991 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4992 lt_cv_nm_interface="MS dumpbin" 4993 fi 4994 rm -f conftest* 4995fi 4996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4997$as_echo "$lt_cv_nm_interface" >&6; } 4998 4999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5000$as_echo_n "checking whether ln -s works... " >&6; } 5001LN_S=$as_ln_s 5002if test "$LN_S" = "ln -s"; then 5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5004$as_echo "yes" >&6; } 5005else 5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5007$as_echo "no, using $LN_S" >&6; } 5008fi 5009 5010# find the maximum length of command line arguments 5011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5012$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5013if ${lt_cv_sys_max_cmd_len+:} false; then : 5014 $as_echo_n "(cached) " >&6 5015else 5016 i=0 5017 teststring=ABCD 5018 5019 case $build_os in 5020 msdosdjgpp*) 5021 # On DJGPP, this test can blow up pretty badly due to problems in libc 5022 # (any single argument exceeding 2000 bytes causes a buffer overrun 5023 # during glob expansion). Even if it were fixed, the result of this 5024 # check would be larger than it should be. 5025 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5026 ;; 5027 5028 gnu*) 5029 # Under GNU Hurd, this test is not required because there is 5030 # no limit to the length of command line arguments. 5031 # Libtool will interpret -1 as no limit whatsoever 5032 lt_cv_sys_max_cmd_len=-1; 5033 ;; 5034 5035 cygwin* | mingw* | cegcc*) 5036 # On Win9x/ME, this test blows up -- it succeeds, but takes 5037 # about 5 minutes as the teststring grows exponentially. 5038 # Worse, since 9x/ME are not pre-emptively multitasking, 5039 # you end up with a "frozen" computer, even though with patience 5040 # the test eventually succeeds (with a max line length of 256k). 5041 # Instead, let's just punt: use the minimum linelength reported by 5042 # all of the supported platforms: 8192 (on NT/2K/XP). 5043 lt_cv_sys_max_cmd_len=8192; 5044 ;; 5045 5046 mint*) 5047 # On MiNT this can take a long time and run out of memory. 5048 lt_cv_sys_max_cmd_len=8192; 5049 ;; 5050 5051 amigaos*) 5052 # On AmigaOS with pdksh, this test takes hours, literally. 5053 # So we just punt and use a minimum line length of 8192. 5054 lt_cv_sys_max_cmd_len=8192; 5055 ;; 5056 5057 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5058 # This has been around since 386BSD, at least. Likely further. 5059 if test -x /sbin/sysctl; then 5060 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5061 elif test -x /usr/sbin/sysctl; then 5062 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5063 else 5064 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5065 fi 5066 # And add a safety zone 5067 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5069 ;; 5070 5071 interix*) 5072 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5073 lt_cv_sys_max_cmd_len=196608 5074 ;; 5075 5076 os2*) 5077 # The test takes a long time on OS/2. 5078 lt_cv_sys_max_cmd_len=8192 5079 ;; 5080 5081 osf*) 5082 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5083 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5084 # nice to cause kernel panics so lets avoid the loop below. 5085 # First set a reasonable default. 5086 lt_cv_sys_max_cmd_len=16384 5087 # 5088 if test -x /sbin/sysconfig; then 5089 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5090 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5091 esac 5092 fi 5093 ;; 5094 sco3.2v5*) 5095 lt_cv_sys_max_cmd_len=102400 5096 ;; 5097 sysv5* | sco5v6* | sysv4.2uw2*) 5098 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5099 if test -n "$kargmax"; then 5100 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5101 else 5102 lt_cv_sys_max_cmd_len=32768 5103 fi 5104 ;; 5105 *) 5106 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5107 if test -n "$lt_cv_sys_max_cmd_len" && \ 5108 test undefined != "$lt_cv_sys_max_cmd_len"; then 5109 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5110 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5111 else 5112 # Make teststring a little bigger before we do anything with it. 5113 # a 1K string should be a reasonable start. 5114 for i in 1 2 3 4 5 6 7 8; do 5115 teststring=$teststring$teststring 5116 done 5117 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5118 # If test is not a shell built-in, we'll probably end up computing a 5119 # maximum length that is only half of the actual maximum length, but 5120 # we can't tell. 5121 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5122 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5123 test 17 != "$i" # 1/2 MB should be enough 5124 do 5125 i=`expr $i + 1` 5126 teststring=$teststring$teststring 5127 done 5128 # Only check the string length outside the loop. 5129 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5130 teststring= 5131 # Add a significant safety factor because C++ compilers can tack on 5132 # massive amounts of additional arguments before passing them to the 5133 # linker. It appears as though 1/2 is a usable value. 5134 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5135 fi 5136 ;; 5137 esac 5138 5139fi 5140 5141if test -n "$lt_cv_sys_max_cmd_len"; then 5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5143$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5144else 5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5146$as_echo "none" >&6; } 5147fi 5148max_cmd_len=$lt_cv_sys_max_cmd_len 5149 5150 5151 5152 5153 5154 5155: ${CP="cp -f"} 5156: ${MV="mv -f"} 5157: ${RM="rm -f"} 5158 5159if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5160 lt_unset=unset 5161else 5162 lt_unset=false 5163fi 5164 5165 5166 5167 5168 5169# test EBCDIC or ASCII 5170case `echo X|tr X '\101'` in 5171 A) # ASCII based system 5172 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5173 lt_SP2NL='tr \040 \012' 5174 lt_NL2SP='tr \015\012 \040\040' 5175 ;; 5176 *) # EBCDIC based system 5177 lt_SP2NL='tr \100 \n' 5178 lt_NL2SP='tr \r\n \100\100' 5179 ;; 5180esac 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5191$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5192if ${lt_cv_to_host_file_cmd+:} false; then : 5193 $as_echo_n "(cached) " >&6 5194else 5195 case $host in 5196 *-*-mingw* ) 5197 case $build in 5198 *-*-mingw* ) # actually msys 5199 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5200 ;; 5201 *-*-cygwin* ) 5202 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5203 ;; 5204 * ) # otherwise, assume *nix 5205 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5206 ;; 5207 esac 5208 ;; 5209 *-*-cygwin* ) 5210 case $build in 5211 *-*-mingw* ) # actually msys 5212 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5213 ;; 5214 *-*-cygwin* ) 5215 lt_cv_to_host_file_cmd=func_convert_file_noop 5216 ;; 5217 * ) # otherwise, assume *nix 5218 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5219 ;; 5220 esac 5221 ;; 5222 * ) # unhandled hosts (and "normal" native builds) 5223 lt_cv_to_host_file_cmd=func_convert_file_noop 5224 ;; 5225esac 5226 5227fi 5228 5229to_host_file_cmd=$lt_cv_to_host_file_cmd 5230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5231$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5232 5233 5234 5235 5236 5237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5238$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5239if ${lt_cv_to_tool_file_cmd+:} false; then : 5240 $as_echo_n "(cached) " >&6 5241else 5242 #assume ordinary cross tools, or native build. 5243lt_cv_to_tool_file_cmd=func_convert_file_noop 5244case $host in 5245 *-*-mingw* ) 5246 case $build in 5247 *-*-mingw* ) # actually msys 5248 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5249 ;; 5250 esac 5251 ;; 5252esac 5253 5254fi 5255 5256to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5258$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5259 5260 5261 5262 5263 5264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5265$as_echo_n "checking for $LD option to reload object files... " >&6; } 5266if ${lt_cv_ld_reload_flag+:} false; then : 5267 $as_echo_n "(cached) " >&6 5268else 5269 lt_cv_ld_reload_flag='-r' 5270fi 5271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5272$as_echo "$lt_cv_ld_reload_flag" >&6; } 5273reload_flag=$lt_cv_ld_reload_flag 5274case $reload_flag in 5275"" | " "*) ;; 5276*) reload_flag=" $reload_flag" ;; 5277esac 5278reload_cmds='$LD$reload_flag -o $output$reload_objs' 5279case $host_os in 5280 cygwin* | mingw* | pw32* | cegcc*) 5281 if test yes != "$GCC"; then 5282 reload_cmds=false 5283 fi 5284 ;; 5285 darwin*) 5286 if test yes = "$GCC"; then 5287 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5288 else 5289 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5290 fi 5291 ;; 5292esac 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302if test -n "$ac_tool_prefix"; then 5303 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5304set dummy ${ac_tool_prefix}objdump; ac_word=$2 5305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5306$as_echo_n "checking for $ac_word... " >&6; } 5307if ${ac_cv_prog_OBJDUMP+:} false; then : 5308 $as_echo_n "(cached) " >&6 5309else 5310 if test -n "$OBJDUMP"; then 5311 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5312else 5313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5314for as_dir in $PATH 5315do 5316 IFS=$as_save_IFS 5317 test -z "$as_dir" && as_dir=. 5318 for ac_exec_ext in '' $ac_executable_extensions; do 5319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5320 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5322 break 2 5323 fi 5324done 5325 done 5326IFS=$as_save_IFS 5327 5328fi 5329fi 5330OBJDUMP=$ac_cv_prog_OBJDUMP 5331if test -n "$OBJDUMP"; then 5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5333$as_echo "$OBJDUMP" >&6; } 5334else 5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5336$as_echo "no" >&6; } 5337fi 5338 5339 5340fi 5341if test -z "$ac_cv_prog_OBJDUMP"; then 5342 ac_ct_OBJDUMP=$OBJDUMP 5343 # Extract the first word of "objdump", so it can be a program name with args. 5344set dummy objdump; ac_word=$2 5345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5346$as_echo_n "checking for $ac_word... " >&6; } 5347if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5348 $as_echo_n "(cached) " >&6 5349else 5350 if test -n "$ac_ct_OBJDUMP"; then 5351 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5352else 5353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5354for as_dir in $PATH 5355do 5356 IFS=$as_save_IFS 5357 test -z "$as_dir" && as_dir=. 5358 for ac_exec_ext in '' $ac_executable_extensions; do 5359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5360 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5362 break 2 5363 fi 5364done 5365 done 5366IFS=$as_save_IFS 5367 5368fi 5369fi 5370ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5371if test -n "$ac_ct_OBJDUMP"; then 5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5373$as_echo "$ac_ct_OBJDUMP" >&6; } 5374else 5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5376$as_echo "no" >&6; } 5377fi 5378 5379 if test "x$ac_ct_OBJDUMP" = x; then 5380 OBJDUMP="false" 5381 else 5382 case $cross_compiling:$ac_tool_warned in 5383yes:) 5384{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5385$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5386ac_tool_warned=yes ;; 5387esac 5388 OBJDUMP=$ac_ct_OBJDUMP 5389 fi 5390else 5391 OBJDUMP="$ac_cv_prog_OBJDUMP" 5392fi 5393 5394test -z "$OBJDUMP" && OBJDUMP=objdump 5395 5396 5397 5398 5399 5400 5401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5402$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5403if ${lt_cv_deplibs_check_method+:} false; then : 5404 $as_echo_n "(cached) " >&6 5405else 5406 lt_cv_file_magic_cmd='$MAGIC_CMD' 5407lt_cv_file_magic_test_file= 5408lt_cv_deplibs_check_method='unknown' 5409# Need to set the preceding variable on all platforms that support 5410# interlibrary dependencies. 5411# 'none' -- dependencies not supported. 5412# 'unknown' -- same as none, but documents that we really don't know. 5413# 'pass_all' -- all dependencies passed with no checks. 5414# 'test_compile' -- check by making test program. 5415# 'file_magic [[regex]]' -- check by looking for files in library path 5416# that responds to the $file_magic_cmd with a given extended regex. 5417# If you have 'file' or equivalent on your system and you're not sure 5418# whether 'pass_all' will *always* work, you probably want this one. 5419 5420case $host_os in 5421aix[4-9]*) 5422 lt_cv_deplibs_check_method=pass_all 5423 ;; 5424 5425beos*) 5426 lt_cv_deplibs_check_method=pass_all 5427 ;; 5428 5429bsdi[45]*) 5430 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5431 lt_cv_file_magic_cmd='/usr/bin/file -L' 5432 lt_cv_file_magic_test_file=/shlib/libc.so 5433 ;; 5434 5435cygwin*) 5436 # func_win32_libid is a shell function defined in ltmain.sh 5437 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5438 lt_cv_file_magic_cmd='func_win32_libid' 5439 ;; 5440 5441mingw* | pw32*) 5442 # Base MSYS/MinGW do not provide the 'file' command needed by 5443 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5444 # unless we find 'file', for example because we are cross-compiling. 5445 if ( file / ) >/dev/null 2>&1; then 5446 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5447 lt_cv_file_magic_cmd='func_win32_libid' 5448 else 5449 # Keep this pattern in sync with the one in func_win32_libid. 5450 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5451 lt_cv_file_magic_cmd='$OBJDUMP -f' 5452 fi 5453 ;; 5454 5455cegcc*) 5456 # use the weaker test based on 'objdump'. See mingw*. 5457 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5458 lt_cv_file_magic_cmd='$OBJDUMP -f' 5459 ;; 5460 5461darwin* | rhapsody*) 5462 lt_cv_deplibs_check_method=pass_all 5463 ;; 5464 5465freebsd* | dragonfly*) 5466 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5467 case $host_cpu in 5468 i*86 ) 5469 # Not sure whether the presence of OpenBSD here was a mistake. 5470 # Let's accept both of them until this is cleared up. 5471 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5472 lt_cv_file_magic_cmd=/usr/bin/file 5473 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5474 ;; 5475 esac 5476 else 5477 lt_cv_deplibs_check_method=pass_all 5478 fi 5479 ;; 5480 5481haiku*) 5482 lt_cv_deplibs_check_method=pass_all 5483 ;; 5484 5485hpux10.20* | hpux11*) 5486 lt_cv_file_magic_cmd=/usr/bin/file 5487 case $host_cpu in 5488 ia64*) 5489 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5490 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5491 ;; 5492 hppa*64*) 5493 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]' 5494 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5495 ;; 5496 *) 5497 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5498 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5499 ;; 5500 esac 5501 ;; 5502 5503interix[3-9]*) 5504 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5505 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5506 ;; 5507 5508irix5* | irix6* | nonstopux*) 5509 case $LD in 5510 *-32|*"-32 ") libmagic=32-bit;; 5511 *-n32|*"-n32 ") libmagic=N32;; 5512 *-64|*"-64 ") libmagic=64-bit;; 5513 *) libmagic=never-match;; 5514 esac 5515 lt_cv_deplibs_check_method=pass_all 5516 ;; 5517 5518# This must be glibc/ELF. 5519linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5520 lt_cv_deplibs_check_method=pass_all 5521 ;; 5522 5523netbsd*) 5524 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5525 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5526 else 5527 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5528 fi 5529 ;; 5530 5531newos6*) 5532 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5533 lt_cv_file_magic_cmd=/usr/bin/file 5534 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5535 ;; 5536 5537*nto* | *qnx*) 5538 lt_cv_deplibs_check_method=pass_all 5539 ;; 5540 5541openbsd* | bitrig*) 5542 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5543 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5544 else 5545 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5546 fi 5547 ;; 5548 5549osf3* | osf4* | osf5*) 5550 lt_cv_deplibs_check_method=pass_all 5551 ;; 5552 5553rdos*) 5554 lt_cv_deplibs_check_method=pass_all 5555 ;; 5556 5557solaris*) 5558 lt_cv_deplibs_check_method=pass_all 5559 ;; 5560 5561sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5562 lt_cv_deplibs_check_method=pass_all 5563 ;; 5564 5565sysv4 | sysv4.3*) 5566 case $host_vendor in 5567 motorola) 5568 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]' 5569 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5570 ;; 5571 ncr) 5572 lt_cv_deplibs_check_method=pass_all 5573 ;; 5574 sequent) 5575 lt_cv_file_magic_cmd='/bin/file' 5576 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5577 ;; 5578 sni) 5579 lt_cv_file_magic_cmd='/bin/file' 5580 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5581 lt_cv_file_magic_test_file=/lib/libc.so 5582 ;; 5583 siemens) 5584 lt_cv_deplibs_check_method=pass_all 5585 ;; 5586 pc) 5587 lt_cv_deplibs_check_method=pass_all 5588 ;; 5589 esac 5590 ;; 5591 5592tpf*) 5593 lt_cv_deplibs_check_method=pass_all 5594 ;; 5595os2*) 5596 lt_cv_deplibs_check_method=pass_all 5597 ;; 5598esac 5599 5600fi 5601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5602$as_echo "$lt_cv_deplibs_check_method" >&6; } 5603 5604file_magic_glob= 5605want_nocaseglob=no 5606if test "$build" = "$host"; then 5607 case $host_os in 5608 mingw* | pw32*) 5609 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5610 want_nocaseglob=yes 5611 else 5612 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5613 fi 5614 ;; 5615 esac 5616fi 5617 5618file_magic_cmd=$lt_cv_file_magic_cmd 5619deplibs_check_method=$lt_cv_deplibs_check_method 5620test -z "$deplibs_check_method" && deplibs_check_method=unknown 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643if test -n "$ac_tool_prefix"; then 5644 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5645set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5647$as_echo_n "checking for $ac_word... " >&6; } 5648if ${ac_cv_prog_DLLTOOL+:} false; then : 5649 $as_echo_n "(cached) " >&6 5650else 5651 if test -n "$DLLTOOL"; then 5652 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5653else 5654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5655for as_dir in $PATH 5656do 5657 IFS=$as_save_IFS 5658 test -z "$as_dir" && as_dir=. 5659 for ac_exec_ext in '' $ac_executable_extensions; do 5660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5661 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5663 break 2 5664 fi 5665done 5666 done 5667IFS=$as_save_IFS 5668 5669fi 5670fi 5671DLLTOOL=$ac_cv_prog_DLLTOOL 5672if test -n "$DLLTOOL"; then 5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5674$as_echo "$DLLTOOL" >&6; } 5675else 5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5677$as_echo "no" >&6; } 5678fi 5679 5680 5681fi 5682if test -z "$ac_cv_prog_DLLTOOL"; then 5683 ac_ct_DLLTOOL=$DLLTOOL 5684 # Extract the first word of "dlltool", so it can be a program name with args. 5685set dummy dlltool; ac_word=$2 5686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5687$as_echo_n "checking for $ac_word... " >&6; } 5688if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5689 $as_echo_n "(cached) " >&6 5690else 5691 if test -n "$ac_ct_DLLTOOL"; then 5692 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5693else 5694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5695for as_dir in $PATH 5696do 5697 IFS=$as_save_IFS 5698 test -z "$as_dir" && as_dir=. 5699 for ac_exec_ext in '' $ac_executable_extensions; do 5700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5701 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5703 break 2 5704 fi 5705done 5706 done 5707IFS=$as_save_IFS 5708 5709fi 5710fi 5711ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5712if test -n "$ac_ct_DLLTOOL"; then 5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5714$as_echo "$ac_ct_DLLTOOL" >&6; } 5715else 5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5717$as_echo "no" >&6; } 5718fi 5719 5720 if test "x$ac_ct_DLLTOOL" = x; then 5721 DLLTOOL="false" 5722 else 5723 case $cross_compiling:$ac_tool_warned in 5724yes:) 5725{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5726$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5727ac_tool_warned=yes ;; 5728esac 5729 DLLTOOL=$ac_ct_DLLTOOL 5730 fi 5731else 5732 DLLTOOL="$ac_cv_prog_DLLTOOL" 5733fi 5734 5735test -z "$DLLTOOL" && DLLTOOL=dlltool 5736 5737 5738 5739 5740 5741 5742 5743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5744$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5745if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5746 $as_echo_n "(cached) " >&6 5747else 5748 lt_cv_sharedlib_from_linklib_cmd='unknown' 5749 5750case $host_os in 5751cygwin* | mingw* | pw32* | cegcc*) 5752 # two different shell functions defined in ltmain.sh; 5753 # decide which one to use based on capabilities of $DLLTOOL 5754 case `$DLLTOOL --help 2>&1` in 5755 *--identify-strict*) 5756 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5757 ;; 5758 *) 5759 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5760 ;; 5761 esac 5762 ;; 5763*) 5764 # fallback: assume linklib IS sharedlib 5765 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5766 ;; 5767esac 5768 5769fi 5770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5771$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5772sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5773test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5774 5775 5776 5777 5778 5779 5780 5781if test -n "$ac_tool_prefix"; then 5782 for ac_prog in ar 5783 do 5784 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5785set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5787$as_echo_n "checking for $ac_word... " >&6; } 5788if ${ac_cv_prog_AR+:} false; then : 5789 $as_echo_n "(cached) " >&6 5790else 5791 if test -n "$AR"; then 5792 ac_cv_prog_AR="$AR" # Let the user override the test. 5793else 5794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5795for as_dir in $PATH 5796do 5797 IFS=$as_save_IFS 5798 test -z "$as_dir" && as_dir=. 5799 for ac_exec_ext in '' $ac_executable_extensions; do 5800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5801 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5803 break 2 5804 fi 5805done 5806 done 5807IFS=$as_save_IFS 5808 5809fi 5810fi 5811AR=$ac_cv_prog_AR 5812if test -n "$AR"; then 5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5814$as_echo "$AR" >&6; } 5815else 5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5817$as_echo "no" >&6; } 5818fi 5819 5820 5821 test -n "$AR" && break 5822 done 5823fi 5824if test -z "$AR"; then 5825 ac_ct_AR=$AR 5826 for ac_prog in ar 5827do 5828 # Extract the first word of "$ac_prog", so it can be a program name with args. 5829set dummy $ac_prog; ac_word=$2 5830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5831$as_echo_n "checking for $ac_word... " >&6; } 5832if ${ac_cv_prog_ac_ct_AR+:} false; then : 5833 $as_echo_n "(cached) " >&6 5834else 5835 if test -n "$ac_ct_AR"; then 5836 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5837else 5838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5839for as_dir in $PATH 5840do 5841 IFS=$as_save_IFS 5842 test -z "$as_dir" && as_dir=. 5843 for ac_exec_ext in '' $ac_executable_extensions; do 5844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5845 ac_cv_prog_ac_ct_AR="$ac_prog" 5846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5847 break 2 5848 fi 5849done 5850 done 5851IFS=$as_save_IFS 5852 5853fi 5854fi 5855ac_ct_AR=$ac_cv_prog_ac_ct_AR 5856if test -n "$ac_ct_AR"; then 5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5858$as_echo "$ac_ct_AR" >&6; } 5859else 5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5861$as_echo "no" >&6; } 5862fi 5863 5864 5865 test -n "$ac_ct_AR" && break 5866done 5867 5868 if test "x$ac_ct_AR" = x; then 5869 AR="false" 5870 else 5871 case $cross_compiling:$ac_tool_warned in 5872yes:) 5873{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5874$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5875ac_tool_warned=yes ;; 5876esac 5877 AR=$ac_ct_AR 5878 fi 5879fi 5880 5881: ${AR=ar} 5882: ${AR_FLAGS=cru} 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5895$as_echo_n "checking for archiver @FILE support... " >&6; } 5896if ${lt_cv_ar_at_file+:} false; then : 5897 $as_echo_n "(cached) " >&6 5898else 5899 lt_cv_ar_at_file=no 5900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5901/* end confdefs.h. */ 5902 5903int 5904main () 5905{ 5906 5907 ; 5908 return 0; 5909} 5910_ACEOF 5911if ac_fn_c_try_compile "$LINENO"; then : 5912 echo conftest.$ac_objext > conftest.lst 5913 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5914 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5915 (eval $lt_ar_try) 2>&5 5916 ac_status=$? 5917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5918 test $ac_status = 0; } 5919 if test 0 -eq "$ac_status"; then 5920 # Ensure the archiver fails upon bogus file names. 5921 rm -f conftest.$ac_objext libconftest.a 5922 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5923 (eval $lt_ar_try) 2>&5 5924 ac_status=$? 5925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5926 test $ac_status = 0; } 5927 if test 0 -ne "$ac_status"; then 5928 lt_cv_ar_at_file=@ 5929 fi 5930 fi 5931 rm -f conftest.* libconftest.a 5932 5933fi 5934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5935 5936fi 5937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5938$as_echo "$lt_cv_ar_at_file" >&6; } 5939 5940if test no = "$lt_cv_ar_at_file"; then 5941 archiver_list_spec= 5942else 5943 archiver_list_spec=$lt_cv_ar_at_file 5944fi 5945 5946 5947 5948 5949 5950 5951 5952if test -n "$ac_tool_prefix"; then 5953 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5954set dummy ${ac_tool_prefix}strip; ac_word=$2 5955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5956$as_echo_n "checking for $ac_word... " >&6; } 5957if ${ac_cv_prog_STRIP+:} false; then : 5958 $as_echo_n "(cached) " >&6 5959else 5960 if test -n "$STRIP"; then 5961 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5962else 5963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5964for as_dir in $PATH 5965do 5966 IFS=$as_save_IFS 5967 test -z "$as_dir" && as_dir=. 5968 for ac_exec_ext in '' $ac_executable_extensions; do 5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5970 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5972 break 2 5973 fi 5974done 5975 done 5976IFS=$as_save_IFS 5977 5978fi 5979fi 5980STRIP=$ac_cv_prog_STRIP 5981if test -n "$STRIP"; then 5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5983$as_echo "$STRIP" >&6; } 5984else 5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5986$as_echo "no" >&6; } 5987fi 5988 5989 5990fi 5991if test -z "$ac_cv_prog_STRIP"; then 5992 ac_ct_STRIP=$STRIP 5993 # Extract the first word of "strip", so it can be a program name with args. 5994set dummy strip; ac_word=$2 5995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5996$as_echo_n "checking for $ac_word... " >&6; } 5997if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5998 $as_echo_n "(cached) " >&6 5999else 6000 if test -n "$ac_ct_STRIP"; then 6001 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6002else 6003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6004for as_dir in $PATH 6005do 6006 IFS=$as_save_IFS 6007 test -z "$as_dir" && as_dir=. 6008 for ac_exec_ext in '' $ac_executable_extensions; do 6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6010 ac_cv_prog_ac_ct_STRIP="strip" 6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6012 break 2 6013 fi 6014done 6015 done 6016IFS=$as_save_IFS 6017 6018fi 6019fi 6020ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6021if test -n "$ac_ct_STRIP"; then 6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6023$as_echo "$ac_ct_STRIP" >&6; } 6024else 6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6026$as_echo "no" >&6; } 6027fi 6028 6029 if test "x$ac_ct_STRIP" = x; then 6030 STRIP=":" 6031 else 6032 case $cross_compiling:$ac_tool_warned in 6033yes:) 6034{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6035$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6036ac_tool_warned=yes ;; 6037esac 6038 STRIP=$ac_ct_STRIP 6039 fi 6040else 6041 STRIP="$ac_cv_prog_STRIP" 6042fi 6043 6044test -z "$STRIP" && STRIP=: 6045 6046 6047 6048 6049 6050 6051if test -n "$ac_tool_prefix"; then 6052 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6053set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6055$as_echo_n "checking for $ac_word... " >&6; } 6056if ${ac_cv_prog_RANLIB+:} false; then : 6057 $as_echo_n "(cached) " >&6 6058else 6059 if test -n "$RANLIB"; then 6060 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6061else 6062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6063for as_dir in $PATH 6064do 6065 IFS=$as_save_IFS 6066 test -z "$as_dir" && as_dir=. 6067 for ac_exec_ext in '' $ac_executable_extensions; do 6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6069 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6071 break 2 6072 fi 6073done 6074 done 6075IFS=$as_save_IFS 6076 6077fi 6078fi 6079RANLIB=$ac_cv_prog_RANLIB 6080if test -n "$RANLIB"; then 6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6082$as_echo "$RANLIB" >&6; } 6083else 6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6085$as_echo "no" >&6; } 6086fi 6087 6088 6089fi 6090if test -z "$ac_cv_prog_RANLIB"; then 6091 ac_ct_RANLIB=$RANLIB 6092 # Extract the first word of "ranlib", so it can be a program name with args. 6093set dummy ranlib; ac_word=$2 6094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6095$as_echo_n "checking for $ac_word... " >&6; } 6096if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6097 $as_echo_n "(cached) " >&6 6098else 6099 if test -n "$ac_ct_RANLIB"; then 6100 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6101else 6102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6103for as_dir in $PATH 6104do 6105 IFS=$as_save_IFS 6106 test -z "$as_dir" && as_dir=. 6107 for ac_exec_ext in '' $ac_executable_extensions; do 6108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6109 ac_cv_prog_ac_ct_RANLIB="ranlib" 6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6111 break 2 6112 fi 6113done 6114 done 6115IFS=$as_save_IFS 6116 6117fi 6118fi 6119ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6120if test -n "$ac_ct_RANLIB"; then 6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6122$as_echo "$ac_ct_RANLIB" >&6; } 6123else 6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6125$as_echo "no" >&6; } 6126fi 6127 6128 if test "x$ac_ct_RANLIB" = x; then 6129 RANLIB=":" 6130 else 6131 case $cross_compiling:$ac_tool_warned in 6132yes:) 6133{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6134$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6135ac_tool_warned=yes ;; 6136esac 6137 RANLIB=$ac_ct_RANLIB 6138 fi 6139else 6140 RANLIB="$ac_cv_prog_RANLIB" 6141fi 6142 6143test -z "$RANLIB" && RANLIB=: 6144 6145 6146 6147 6148 6149 6150# Determine commands to create old-style static archives. 6151old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6152old_postinstall_cmds='chmod 644 $oldlib' 6153old_postuninstall_cmds= 6154 6155if test -n "$RANLIB"; then 6156 case $host_os in 6157 bitrig* | openbsd*) 6158 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6159 ;; 6160 *) 6161 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6162 ;; 6163 esac 6164 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6165fi 6166 6167case $host_os in 6168 darwin*) 6169 lock_old_archive_extraction=yes ;; 6170 *) 6171 lock_old_archive_extraction=no ;; 6172esac 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212# If no C compiler was specified, use CC. 6213LTCC=${LTCC-"$CC"} 6214 6215# If no C compiler flags were specified, use CFLAGS. 6216LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6217 6218# Allow CC to be a program name with arguments. 6219compiler=$CC 6220 6221 6222# Check for command to grab the raw symbol name followed by C symbol from nm. 6223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6224$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6225if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6226 $as_echo_n "(cached) " >&6 6227else 6228 6229# These are sane defaults that work on at least a few old systems. 6230# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6231 6232# Character class describing NM global symbol codes. 6233symcode='[BCDEGRST]' 6234 6235# Regexp to match symbols that can be accessed directly from C. 6236sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6237 6238# Define system-specific variables. 6239case $host_os in 6240aix*) 6241 symcode='[BCDT]' 6242 ;; 6243cygwin* | mingw* | pw32* | cegcc*) 6244 symcode='[ABCDGISTW]' 6245 ;; 6246hpux*) 6247 if test ia64 = "$host_cpu"; then 6248 symcode='[ABCDEGRST]' 6249 fi 6250 ;; 6251irix* | nonstopux*) 6252 symcode='[BCDEGRST]' 6253 ;; 6254osf*) 6255 symcode='[BCDEGQRST]' 6256 ;; 6257solaris*) 6258 symcode='[BDRT]' 6259 ;; 6260sco3.2v5*) 6261 symcode='[DT]' 6262 ;; 6263sysv4.2uw2*) 6264 symcode='[DT]' 6265 ;; 6266sysv5* | sco5v6* | unixware* | OpenUNIX*) 6267 symcode='[ABDT]' 6268 ;; 6269sysv4) 6270 symcode='[DFNSTU]' 6271 ;; 6272esac 6273 6274# If we're using GNU nm, then use its standard symbol codes. 6275case `$NM -V 2>&1` in 6276*GNU* | *'with BFD'*) 6277 symcode='[ABCDGIRSTW]' ;; 6278esac 6279 6280if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6281 # Gets list of data symbols to import. 6282 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6283 # Adjust the below global symbol transforms to fixup imported variables. 6284 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6285 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6286 lt_c_name_lib_hook="\ 6287 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6288 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6289else 6290 # Disable hooks by default. 6291 lt_cv_sys_global_symbol_to_import= 6292 lt_cdecl_hook= 6293 lt_c_name_hook= 6294 lt_c_name_lib_hook= 6295fi 6296 6297# Transform an extracted symbol line into a proper C declaration. 6298# Some systems (esp. on ia64) link data and code symbols differently, 6299# so use this general approach. 6300lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6301$lt_cdecl_hook\ 6302" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6303" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6304 6305# Transform an extracted symbol line into symbol name and symbol address 6306lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6307$lt_c_name_hook\ 6308" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6309" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6310 6311# Transform an extracted symbol line into symbol name with lib prefix and 6312# symbol address. 6313lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6314$lt_c_name_lib_hook\ 6315" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6316" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6317" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6318 6319# Handle CRLF in mingw tool chain 6320opt_cr= 6321case $build_os in 6322mingw*) 6323 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6324 ;; 6325esac 6326 6327# Try without a prefix underscore, then with it. 6328for ac_symprfx in "" "_"; do 6329 6330 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6331 symxfrm="\\1 $ac_symprfx\\2 \\2" 6332 6333 # Write the raw and C identifiers. 6334 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6335 # Fake it for dumpbin and say T for any non-static function, 6336 # D for any global variable and I for any imported variable. 6337 # Also find C++ and __fastcall symbols from MSVC++, 6338 # which start with @ or ?. 6339 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6340" {last_section=section; section=\$ 3};"\ 6341" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6342" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6343" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6344" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6345" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6346" \$ 0!~/External *\|/{next};"\ 6347" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6348" {if(hide[section]) next};"\ 6349" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6350" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6351" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6352" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6353" ' prfx=^$ac_symprfx" 6354 else 6355 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6356 fi 6357 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6358 6359 # Check to see that the pipe works correctly. 6360 pipe_works=no 6361 6362 rm -f conftest* 6363 cat > conftest.$ac_ext <<_LT_EOF 6364#ifdef __cplusplus 6365extern "C" { 6366#endif 6367char nm_test_var; 6368void nm_test_func(void); 6369void nm_test_func(void){} 6370#ifdef __cplusplus 6371} 6372#endif 6373int main(){nm_test_var='a';nm_test_func();return(0);} 6374_LT_EOF 6375 6376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6377 (eval $ac_compile) 2>&5 6378 ac_status=$? 6379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6380 test $ac_status = 0; }; then 6381 # Now try to grab the symbols. 6382 nlist=conftest.nm 6383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6384 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6385 ac_status=$? 6386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6387 test $ac_status = 0; } && test -s "$nlist"; then 6388 # Try sorting and uniquifying the output. 6389 if sort "$nlist" | uniq > "$nlist"T; then 6390 mv -f "$nlist"T "$nlist" 6391 else 6392 rm -f "$nlist"T 6393 fi 6394 6395 # Make sure that we snagged all the symbols we need. 6396 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6397 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6398 cat <<_LT_EOF > conftest.$ac_ext 6399/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6400#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6401/* DATA imports from DLLs on WIN32 can't be const, because runtime 6402 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6403# define LT_DLSYM_CONST 6404#elif defined __osf__ 6405/* This system does not cope well with relocations in const data. */ 6406# define LT_DLSYM_CONST 6407#else 6408# define LT_DLSYM_CONST const 6409#endif 6410 6411#ifdef __cplusplus 6412extern "C" { 6413#endif 6414 6415_LT_EOF 6416 # Now generate the symbol file. 6417 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6418 6419 cat <<_LT_EOF >> conftest.$ac_ext 6420 6421/* The mapping between symbol names and symbols. */ 6422LT_DLSYM_CONST struct { 6423 const char *name; 6424 void *address; 6425} 6426lt__PROGRAM__LTX_preloaded_symbols[] = 6427{ 6428 { "@PROGRAM@", (void *) 0 }, 6429_LT_EOF 6430 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6431 cat <<\_LT_EOF >> conftest.$ac_ext 6432 {0, (void *) 0} 6433}; 6434 6435/* This works around a problem in FreeBSD linker */ 6436#ifdef FREEBSD_WORKAROUND 6437static const void *lt_preloaded_setup() { 6438 return lt__PROGRAM__LTX_preloaded_symbols; 6439} 6440#endif 6441 6442#ifdef __cplusplus 6443} 6444#endif 6445_LT_EOF 6446 # Now try linking the two files. 6447 mv conftest.$ac_objext conftstm.$ac_objext 6448 lt_globsym_save_LIBS=$LIBS 6449 lt_globsym_save_CFLAGS=$CFLAGS 6450 LIBS=conftstm.$ac_objext 6451 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6452 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6453 (eval $ac_link) 2>&5 6454 ac_status=$? 6455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6456 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6457 pipe_works=yes 6458 fi 6459 LIBS=$lt_globsym_save_LIBS 6460 CFLAGS=$lt_globsym_save_CFLAGS 6461 else 6462 echo "cannot find nm_test_func in $nlist" >&5 6463 fi 6464 else 6465 echo "cannot find nm_test_var in $nlist" >&5 6466 fi 6467 else 6468 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6469 fi 6470 else 6471 echo "$progname: failed program was:" >&5 6472 cat conftest.$ac_ext >&5 6473 fi 6474 rm -rf conftest* conftst* 6475 6476 # Do not use the global_symbol_pipe unless it works. 6477 if test yes = "$pipe_works"; then 6478 break 6479 else 6480 lt_cv_sys_global_symbol_pipe= 6481 fi 6482done 6483 6484fi 6485 6486if test -z "$lt_cv_sys_global_symbol_pipe"; then 6487 lt_cv_sys_global_symbol_to_cdecl= 6488fi 6489if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6491$as_echo "failed" >&6; } 6492else 6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6494$as_echo "ok" >&6; } 6495fi 6496 6497# Response file support. 6498if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6499 nm_file_list_spec='@' 6500elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6501 nm_file_list_spec='@' 6502fi 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6541$as_echo_n "checking for sysroot... " >&6; } 6542 6543# Check whether --with-sysroot was given. 6544if test "${with_sysroot+set}" = set; then : 6545 withval=$with_sysroot; 6546else 6547 with_sysroot=no 6548fi 6549 6550 6551lt_sysroot= 6552case $with_sysroot in #( 6553 yes) 6554 if test yes = "$GCC"; then 6555 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6556 fi 6557 ;; #( 6558 /*) 6559 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6560 ;; #( 6561 no|'') 6562 ;; #( 6563 *) 6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6565$as_echo "$with_sysroot" >&6; } 6566 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6567 ;; 6568esac 6569 6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6571$as_echo "${lt_sysroot:-no}" >&6; } 6572 6573 6574 6575 6576 6577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6578$as_echo_n "checking for a working dd... " >&6; } 6579if ${ac_cv_path_lt_DD+:} false; then : 6580 $as_echo_n "(cached) " >&6 6581else 6582 printf 0123456789abcdef0123456789abcdef >conftest.i 6583cat conftest.i conftest.i >conftest2.i 6584: ${lt_DD:=$DD} 6585if test -z "$lt_DD"; then 6586 ac_path_lt_DD_found=false 6587 # Loop through the user's path and test for each of PROGNAME-LIST 6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6589for as_dir in $PATH 6590do 6591 IFS=$as_save_IFS 6592 test -z "$as_dir" && as_dir=. 6593 for ac_prog in dd; do 6594 for ac_exec_ext in '' $ac_executable_extensions; do 6595 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6596 as_fn_executable_p "$ac_path_lt_DD" || continue 6597if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6598 cmp -s conftest.i conftest.out \ 6599 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6600fi 6601 $ac_path_lt_DD_found && break 3 6602 done 6603 done 6604 done 6605IFS=$as_save_IFS 6606 if test -z "$ac_cv_path_lt_DD"; then 6607 : 6608 fi 6609else 6610 ac_cv_path_lt_DD=$lt_DD 6611fi 6612 6613rm -f conftest.i conftest2.i conftest.out 6614fi 6615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6616$as_echo "$ac_cv_path_lt_DD" >&6; } 6617 6618 6619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6620$as_echo_n "checking how to truncate binary pipes... " >&6; } 6621if ${lt_cv_truncate_bin+:} false; then : 6622 $as_echo_n "(cached) " >&6 6623else 6624 printf 0123456789abcdef0123456789abcdef >conftest.i 6625cat conftest.i conftest.i >conftest2.i 6626lt_cv_truncate_bin= 6627if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6628 cmp -s conftest.i conftest.out \ 6629 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6630fi 6631rm -f conftest.i conftest2.i conftest.out 6632test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6633fi 6634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6635$as_echo "$lt_cv_truncate_bin" >&6; } 6636 6637 6638 6639 6640 6641 6642 6643# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6644func_cc_basename () 6645{ 6646 for cc_temp in $*""; do 6647 case $cc_temp in 6648 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6649 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6650 \-*) ;; 6651 *) break;; 6652 esac 6653 done 6654 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6655} 6656 6657# Check whether --enable-libtool-lock was given. 6658if test "${enable_libtool_lock+set}" = set; then : 6659 enableval=$enable_libtool_lock; 6660fi 6661 6662test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6663 6664# Some flags need to be propagated to the compiler or linker for good 6665# libtool support. 6666case $host in 6667ia64-*-hpux*) 6668 # Find out what ABI is being produced by ac_compile, and set mode 6669 # options accordingly. 6670 echo 'int i;' > conftest.$ac_ext 6671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6672 (eval $ac_compile) 2>&5 6673 ac_status=$? 6674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6675 test $ac_status = 0; }; then 6676 case `/usr/bin/file conftest.$ac_objext` in 6677 *ELF-32*) 6678 HPUX_IA64_MODE=32 6679 ;; 6680 *ELF-64*) 6681 HPUX_IA64_MODE=64 6682 ;; 6683 esac 6684 fi 6685 rm -rf conftest* 6686 ;; 6687*-*-irix6*) 6688 # Find out what ABI is being produced by ac_compile, and set linker 6689 # options accordingly. 6690 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6692 (eval $ac_compile) 2>&5 6693 ac_status=$? 6694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6695 test $ac_status = 0; }; then 6696 if test yes = "$lt_cv_prog_gnu_ld"; then 6697 case `/usr/bin/file conftest.$ac_objext` in 6698 *32-bit*) 6699 LD="${LD-ld} -melf32bsmip" 6700 ;; 6701 *N32*) 6702 LD="${LD-ld} -melf32bmipn32" 6703 ;; 6704 *64-bit*) 6705 LD="${LD-ld} -melf64bmip" 6706 ;; 6707 esac 6708 else 6709 case `/usr/bin/file conftest.$ac_objext` in 6710 *32-bit*) 6711 LD="${LD-ld} -32" 6712 ;; 6713 *N32*) 6714 LD="${LD-ld} -n32" 6715 ;; 6716 *64-bit*) 6717 LD="${LD-ld} -64" 6718 ;; 6719 esac 6720 fi 6721 fi 6722 rm -rf conftest* 6723 ;; 6724 6725mips64*-*linux*) 6726 # Find out what ABI is being produced by ac_compile, and set linker 6727 # options accordingly. 6728 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6730 (eval $ac_compile) 2>&5 6731 ac_status=$? 6732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6733 test $ac_status = 0; }; then 6734 emul=elf 6735 case `/usr/bin/file conftest.$ac_objext` in 6736 *32-bit*) 6737 emul="${emul}32" 6738 ;; 6739 *64-bit*) 6740 emul="${emul}64" 6741 ;; 6742 esac 6743 case `/usr/bin/file conftest.$ac_objext` in 6744 *MSB*) 6745 emul="${emul}btsmip" 6746 ;; 6747 *LSB*) 6748 emul="${emul}ltsmip" 6749 ;; 6750 esac 6751 case `/usr/bin/file conftest.$ac_objext` in 6752 *N32*) 6753 emul="${emul}n32" 6754 ;; 6755 esac 6756 LD="${LD-ld} -m $emul" 6757 fi 6758 rm -rf conftest* 6759 ;; 6760 6761x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6762s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6763 # Find out what ABI is being produced by ac_compile, and set linker 6764 # options accordingly. Note that the listed cases only cover the 6765 # situations where additional linker options are needed (such as when 6766 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6767 # vice versa); the common cases where no linker options are needed do 6768 # not appear in the list. 6769 echo 'int i;' > conftest.$ac_ext 6770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6771 (eval $ac_compile) 2>&5 6772 ac_status=$? 6773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6774 test $ac_status = 0; }; then 6775 case `/usr/bin/file conftest.o` in 6776 *32-bit*) 6777 case $host in 6778 x86_64-*kfreebsd*-gnu) 6779 LD="${LD-ld} -m elf_i386_fbsd" 6780 ;; 6781 x86_64-*linux*) 6782 case `/usr/bin/file conftest.o` in 6783 *x86-64*) 6784 LD="${LD-ld} -m elf32_x86_64" 6785 ;; 6786 *) 6787 LD="${LD-ld} -m elf_i386" 6788 ;; 6789 esac 6790 ;; 6791 powerpc64le-*linux*) 6792 LD="${LD-ld} -m elf32lppclinux" 6793 ;; 6794 powerpc64-*linux*) 6795 LD="${LD-ld} -m elf32ppclinux" 6796 ;; 6797 s390x-*linux*) 6798 LD="${LD-ld} -m elf_s390" 6799 ;; 6800 sparc64-*linux*) 6801 LD="${LD-ld} -m elf32_sparc" 6802 ;; 6803 esac 6804 ;; 6805 *64-bit*) 6806 case $host in 6807 x86_64-*kfreebsd*-gnu) 6808 LD="${LD-ld} -m elf_x86_64_fbsd" 6809 ;; 6810 x86_64-*linux*) 6811 LD="${LD-ld} -m elf_x86_64" 6812 ;; 6813 powerpcle-*linux*) 6814 LD="${LD-ld} -m elf64lppc" 6815 ;; 6816 powerpc-*linux*) 6817 LD="${LD-ld} -m elf64ppc" 6818 ;; 6819 s390*-*linux*|s390*-*tpf*) 6820 LD="${LD-ld} -m elf64_s390" 6821 ;; 6822 sparc*-*linux*) 6823 LD="${LD-ld} -m elf64_sparc" 6824 ;; 6825 esac 6826 ;; 6827 esac 6828 fi 6829 rm -rf conftest* 6830 ;; 6831 6832*-*-sco3.2v5*) 6833 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6834 SAVE_CFLAGS=$CFLAGS 6835 CFLAGS="$CFLAGS -belf" 6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6837$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6838if ${lt_cv_cc_needs_belf+:} false; then : 6839 $as_echo_n "(cached) " >&6 6840else 6841 ac_ext=c 6842ac_cpp='$CPP $CPPFLAGS' 6843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6845ac_compiler_gnu=$ac_cv_c_compiler_gnu 6846 6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6848/* end confdefs.h. */ 6849 6850int 6851main () 6852{ 6853 6854 ; 6855 return 0; 6856} 6857_ACEOF 6858if ac_fn_c_try_link "$LINENO"; then : 6859 lt_cv_cc_needs_belf=yes 6860else 6861 lt_cv_cc_needs_belf=no 6862fi 6863rm -f core conftest.err conftest.$ac_objext \ 6864 conftest$ac_exeext conftest.$ac_ext 6865 ac_ext=c 6866ac_cpp='$CPP $CPPFLAGS' 6867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6869ac_compiler_gnu=$ac_cv_c_compiler_gnu 6870 6871fi 6872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6873$as_echo "$lt_cv_cc_needs_belf" >&6; } 6874 if test yes != "$lt_cv_cc_needs_belf"; then 6875 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6876 CFLAGS=$SAVE_CFLAGS 6877 fi 6878 ;; 6879*-*solaris*) 6880 # Find out what ABI is being produced by ac_compile, and set linker 6881 # options accordingly. 6882 echo 'int i;' > conftest.$ac_ext 6883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6884 (eval $ac_compile) 2>&5 6885 ac_status=$? 6886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6887 test $ac_status = 0; }; then 6888 case `/usr/bin/file conftest.o` in 6889 *64-bit*) 6890 case $lt_cv_prog_gnu_ld in 6891 yes*) 6892 case $host in 6893 i?86-*-solaris*|x86_64-*-solaris*) 6894 LD="${LD-ld} -m elf_x86_64" 6895 ;; 6896 sparc*-*-solaris*) 6897 LD="${LD-ld} -m elf64_sparc" 6898 ;; 6899 esac 6900 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6901 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6902 LD=${LD-ld}_sol2 6903 fi 6904 ;; 6905 *) 6906 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6907 LD="${LD-ld} -64" 6908 fi 6909 ;; 6910 esac 6911 ;; 6912 esac 6913 fi 6914 rm -rf conftest* 6915 ;; 6916esac 6917 6918need_locks=$enable_libtool_lock 6919 6920if test -n "$ac_tool_prefix"; then 6921 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6922set dummy ${ac_tool_prefix}mt; ac_word=$2 6923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6924$as_echo_n "checking for $ac_word... " >&6; } 6925if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6926 $as_echo_n "(cached) " >&6 6927else 6928 if test -n "$MANIFEST_TOOL"; then 6929 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6930else 6931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6932for as_dir in $PATH 6933do 6934 IFS=$as_save_IFS 6935 test -z "$as_dir" && as_dir=. 6936 for ac_exec_ext in '' $ac_executable_extensions; do 6937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6938 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6940 break 2 6941 fi 6942done 6943 done 6944IFS=$as_save_IFS 6945 6946fi 6947fi 6948MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6949if test -n "$MANIFEST_TOOL"; then 6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6951$as_echo "$MANIFEST_TOOL" >&6; } 6952else 6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6954$as_echo "no" >&6; } 6955fi 6956 6957 6958fi 6959if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6960 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6961 # Extract the first word of "mt", so it can be a program name with args. 6962set dummy mt; ac_word=$2 6963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6964$as_echo_n "checking for $ac_word... " >&6; } 6965if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6966 $as_echo_n "(cached) " >&6 6967else 6968 if test -n "$ac_ct_MANIFEST_TOOL"; then 6969 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6970else 6971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6972for as_dir in $PATH 6973do 6974 IFS=$as_save_IFS 6975 test -z "$as_dir" && as_dir=. 6976 for ac_exec_ext in '' $ac_executable_extensions; do 6977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6978 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6980 break 2 6981 fi 6982done 6983 done 6984IFS=$as_save_IFS 6985 6986fi 6987fi 6988ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6989if test -n "$ac_ct_MANIFEST_TOOL"; then 6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6991$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6992else 6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6994$as_echo "no" >&6; } 6995fi 6996 6997 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6998 MANIFEST_TOOL=":" 6999 else 7000 case $cross_compiling:$ac_tool_warned in 7001yes:) 7002{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7003$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7004ac_tool_warned=yes ;; 7005esac 7006 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7007 fi 7008else 7009 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7010fi 7011 7012test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7014$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7015if ${lt_cv_path_mainfest_tool+:} false; then : 7016 $as_echo_n "(cached) " >&6 7017else 7018 lt_cv_path_mainfest_tool=no 7019 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7020 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7021 cat conftest.err >&5 7022 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7023 lt_cv_path_mainfest_tool=yes 7024 fi 7025 rm -f conftest* 7026fi 7027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7028$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7029if test yes != "$lt_cv_path_mainfest_tool"; then 7030 MANIFEST_TOOL=: 7031fi 7032 7033 7034 7035 7036 7037 7038 case $host_os in 7039 rhapsody* | darwin*) 7040 if test -n "$ac_tool_prefix"; then 7041 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7042set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7044$as_echo_n "checking for $ac_word... " >&6; } 7045if ${ac_cv_prog_DSYMUTIL+:} false; then : 7046 $as_echo_n "(cached) " >&6 7047else 7048 if test -n "$DSYMUTIL"; then 7049 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7050else 7051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7052for as_dir in $PATH 7053do 7054 IFS=$as_save_IFS 7055 test -z "$as_dir" && as_dir=. 7056 for ac_exec_ext in '' $ac_executable_extensions; do 7057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7058 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7060 break 2 7061 fi 7062done 7063 done 7064IFS=$as_save_IFS 7065 7066fi 7067fi 7068DSYMUTIL=$ac_cv_prog_DSYMUTIL 7069if test -n "$DSYMUTIL"; then 7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7071$as_echo "$DSYMUTIL" >&6; } 7072else 7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7074$as_echo "no" >&6; } 7075fi 7076 7077 7078fi 7079if test -z "$ac_cv_prog_DSYMUTIL"; then 7080 ac_ct_DSYMUTIL=$DSYMUTIL 7081 # Extract the first word of "dsymutil", so it can be a program name with args. 7082set dummy dsymutil; ac_word=$2 7083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7084$as_echo_n "checking for $ac_word... " >&6; } 7085if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7086 $as_echo_n "(cached) " >&6 7087else 7088 if test -n "$ac_ct_DSYMUTIL"; then 7089 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7090else 7091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7092for as_dir in $PATH 7093do 7094 IFS=$as_save_IFS 7095 test -z "$as_dir" && as_dir=. 7096 for ac_exec_ext in '' $ac_executable_extensions; do 7097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7098 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7100 break 2 7101 fi 7102done 7103 done 7104IFS=$as_save_IFS 7105 7106fi 7107fi 7108ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7109if test -n "$ac_ct_DSYMUTIL"; then 7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7111$as_echo "$ac_ct_DSYMUTIL" >&6; } 7112else 7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7114$as_echo "no" >&6; } 7115fi 7116 7117 if test "x$ac_ct_DSYMUTIL" = x; then 7118 DSYMUTIL=":" 7119 else 7120 case $cross_compiling:$ac_tool_warned in 7121yes:) 7122{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7123$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7124ac_tool_warned=yes ;; 7125esac 7126 DSYMUTIL=$ac_ct_DSYMUTIL 7127 fi 7128else 7129 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7130fi 7131 7132 if test -n "$ac_tool_prefix"; then 7133 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7134set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7136$as_echo_n "checking for $ac_word... " >&6; } 7137if ${ac_cv_prog_NMEDIT+:} false; then : 7138 $as_echo_n "(cached) " >&6 7139else 7140 if test -n "$NMEDIT"; then 7141 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7142else 7143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7144for as_dir in $PATH 7145do 7146 IFS=$as_save_IFS 7147 test -z "$as_dir" && as_dir=. 7148 for ac_exec_ext in '' $ac_executable_extensions; do 7149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7150 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7152 break 2 7153 fi 7154done 7155 done 7156IFS=$as_save_IFS 7157 7158fi 7159fi 7160NMEDIT=$ac_cv_prog_NMEDIT 7161if test -n "$NMEDIT"; then 7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7163$as_echo "$NMEDIT" >&6; } 7164else 7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7166$as_echo "no" >&6; } 7167fi 7168 7169 7170fi 7171if test -z "$ac_cv_prog_NMEDIT"; then 7172 ac_ct_NMEDIT=$NMEDIT 7173 # Extract the first word of "nmedit", so it can be a program name with args. 7174set dummy nmedit; ac_word=$2 7175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7176$as_echo_n "checking for $ac_word... " >&6; } 7177if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7178 $as_echo_n "(cached) " >&6 7179else 7180 if test -n "$ac_ct_NMEDIT"; then 7181 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7182else 7183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7184for as_dir in $PATH 7185do 7186 IFS=$as_save_IFS 7187 test -z "$as_dir" && as_dir=. 7188 for ac_exec_ext in '' $ac_executable_extensions; do 7189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7190 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7192 break 2 7193 fi 7194done 7195 done 7196IFS=$as_save_IFS 7197 7198fi 7199fi 7200ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7201if test -n "$ac_ct_NMEDIT"; then 7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7203$as_echo "$ac_ct_NMEDIT" >&6; } 7204else 7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7206$as_echo "no" >&6; } 7207fi 7208 7209 if test "x$ac_ct_NMEDIT" = x; then 7210 NMEDIT=":" 7211 else 7212 case $cross_compiling:$ac_tool_warned in 7213yes:) 7214{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7215$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7216ac_tool_warned=yes ;; 7217esac 7218 NMEDIT=$ac_ct_NMEDIT 7219 fi 7220else 7221 NMEDIT="$ac_cv_prog_NMEDIT" 7222fi 7223 7224 if test -n "$ac_tool_prefix"; then 7225 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7226set dummy ${ac_tool_prefix}lipo; ac_word=$2 7227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7228$as_echo_n "checking for $ac_word... " >&6; } 7229if ${ac_cv_prog_LIPO+:} false; then : 7230 $as_echo_n "(cached) " >&6 7231else 7232 if test -n "$LIPO"; then 7233 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7234else 7235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7236for as_dir in $PATH 7237do 7238 IFS=$as_save_IFS 7239 test -z "$as_dir" && as_dir=. 7240 for ac_exec_ext in '' $ac_executable_extensions; do 7241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7242 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7244 break 2 7245 fi 7246done 7247 done 7248IFS=$as_save_IFS 7249 7250fi 7251fi 7252LIPO=$ac_cv_prog_LIPO 7253if test -n "$LIPO"; then 7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7255$as_echo "$LIPO" >&6; } 7256else 7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7258$as_echo "no" >&6; } 7259fi 7260 7261 7262fi 7263if test -z "$ac_cv_prog_LIPO"; then 7264 ac_ct_LIPO=$LIPO 7265 # Extract the first word of "lipo", so it can be a program name with args. 7266set dummy lipo; ac_word=$2 7267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7268$as_echo_n "checking for $ac_word... " >&6; } 7269if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7270 $as_echo_n "(cached) " >&6 7271else 7272 if test -n "$ac_ct_LIPO"; then 7273 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7274else 7275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7276for as_dir in $PATH 7277do 7278 IFS=$as_save_IFS 7279 test -z "$as_dir" && as_dir=. 7280 for ac_exec_ext in '' $ac_executable_extensions; do 7281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7282 ac_cv_prog_ac_ct_LIPO="lipo" 7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7284 break 2 7285 fi 7286done 7287 done 7288IFS=$as_save_IFS 7289 7290fi 7291fi 7292ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7293if test -n "$ac_ct_LIPO"; then 7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7295$as_echo "$ac_ct_LIPO" >&6; } 7296else 7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7298$as_echo "no" >&6; } 7299fi 7300 7301 if test "x$ac_ct_LIPO" = x; then 7302 LIPO=":" 7303 else 7304 case $cross_compiling:$ac_tool_warned in 7305yes:) 7306{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7307$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7308ac_tool_warned=yes ;; 7309esac 7310 LIPO=$ac_ct_LIPO 7311 fi 7312else 7313 LIPO="$ac_cv_prog_LIPO" 7314fi 7315 7316 if test -n "$ac_tool_prefix"; then 7317 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7318set dummy ${ac_tool_prefix}otool; ac_word=$2 7319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7320$as_echo_n "checking for $ac_word... " >&6; } 7321if ${ac_cv_prog_OTOOL+:} false; then : 7322 $as_echo_n "(cached) " >&6 7323else 7324 if test -n "$OTOOL"; then 7325 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7326else 7327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7328for as_dir in $PATH 7329do 7330 IFS=$as_save_IFS 7331 test -z "$as_dir" && as_dir=. 7332 for ac_exec_ext in '' $ac_executable_extensions; do 7333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7334 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7336 break 2 7337 fi 7338done 7339 done 7340IFS=$as_save_IFS 7341 7342fi 7343fi 7344OTOOL=$ac_cv_prog_OTOOL 7345if test -n "$OTOOL"; then 7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7347$as_echo "$OTOOL" >&6; } 7348else 7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7350$as_echo "no" >&6; } 7351fi 7352 7353 7354fi 7355if test -z "$ac_cv_prog_OTOOL"; then 7356 ac_ct_OTOOL=$OTOOL 7357 # Extract the first word of "otool", so it can be a program name with args. 7358set dummy otool; ac_word=$2 7359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7360$as_echo_n "checking for $ac_word... " >&6; } 7361if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7362 $as_echo_n "(cached) " >&6 7363else 7364 if test -n "$ac_ct_OTOOL"; then 7365 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7366else 7367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7368for as_dir in $PATH 7369do 7370 IFS=$as_save_IFS 7371 test -z "$as_dir" && as_dir=. 7372 for ac_exec_ext in '' $ac_executable_extensions; do 7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7374 ac_cv_prog_ac_ct_OTOOL="otool" 7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7376 break 2 7377 fi 7378done 7379 done 7380IFS=$as_save_IFS 7381 7382fi 7383fi 7384ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7385if test -n "$ac_ct_OTOOL"; then 7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7387$as_echo "$ac_ct_OTOOL" >&6; } 7388else 7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7390$as_echo "no" >&6; } 7391fi 7392 7393 if test "x$ac_ct_OTOOL" = x; then 7394 OTOOL=":" 7395 else 7396 case $cross_compiling:$ac_tool_warned in 7397yes:) 7398{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7399$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7400ac_tool_warned=yes ;; 7401esac 7402 OTOOL=$ac_ct_OTOOL 7403 fi 7404else 7405 OTOOL="$ac_cv_prog_OTOOL" 7406fi 7407 7408 if test -n "$ac_tool_prefix"; then 7409 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7410set dummy ${ac_tool_prefix}otool64; ac_word=$2 7411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7412$as_echo_n "checking for $ac_word... " >&6; } 7413if ${ac_cv_prog_OTOOL64+:} false; then : 7414 $as_echo_n "(cached) " >&6 7415else 7416 if test -n "$OTOOL64"; then 7417 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7418else 7419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7420for as_dir in $PATH 7421do 7422 IFS=$as_save_IFS 7423 test -z "$as_dir" && as_dir=. 7424 for ac_exec_ext in '' $ac_executable_extensions; do 7425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7426 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7428 break 2 7429 fi 7430done 7431 done 7432IFS=$as_save_IFS 7433 7434fi 7435fi 7436OTOOL64=$ac_cv_prog_OTOOL64 7437if test -n "$OTOOL64"; then 7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7439$as_echo "$OTOOL64" >&6; } 7440else 7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7442$as_echo "no" >&6; } 7443fi 7444 7445 7446fi 7447if test -z "$ac_cv_prog_OTOOL64"; then 7448 ac_ct_OTOOL64=$OTOOL64 7449 # Extract the first word of "otool64", so it can be a program name with args. 7450set dummy otool64; ac_word=$2 7451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7452$as_echo_n "checking for $ac_word... " >&6; } 7453if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7454 $as_echo_n "(cached) " >&6 7455else 7456 if test -n "$ac_ct_OTOOL64"; then 7457 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7458else 7459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7460for as_dir in $PATH 7461do 7462 IFS=$as_save_IFS 7463 test -z "$as_dir" && as_dir=. 7464 for ac_exec_ext in '' $ac_executable_extensions; do 7465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7466 ac_cv_prog_ac_ct_OTOOL64="otool64" 7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7468 break 2 7469 fi 7470done 7471 done 7472IFS=$as_save_IFS 7473 7474fi 7475fi 7476ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7477if test -n "$ac_ct_OTOOL64"; then 7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7479$as_echo "$ac_ct_OTOOL64" >&6; } 7480else 7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7482$as_echo "no" >&6; } 7483fi 7484 7485 if test "x$ac_ct_OTOOL64" = x; then 7486 OTOOL64=":" 7487 else 7488 case $cross_compiling:$ac_tool_warned in 7489yes:) 7490{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7491$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7492ac_tool_warned=yes ;; 7493esac 7494 OTOOL64=$ac_ct_OTOOL64 7495 fi 7496else 7497 OTOOL64="$ac_cv_prog_OTOOL64" 7498fi 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7527$as_echo_n "checking for -single_module linker flag... " >&6; } 7528if ${lt_cv_apple_cc_single_mod+:} false; then : 7529 $as_echo_n "(cached) " >&6 7530else 7531 lt_cv_apple_cc_single_mod=no 7532 if test -z "$LT_MULTI_MODULE"; then 7533 # By default we will add the -single_module flag. You can override 7534 # by either setting the environment variable LT_MULTI_MODULE 7535 # non-empty at configure time, or by adding -multi_module to the 7536 # link flags. 7537 rm -rf libconftest.dylib* 7538 echo "int foo(void){return 1;}" > conftest.c 7539 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7540-dynamiclib -Wl,-single_module conftest.c" >&5 7541 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7542 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7543 _lt_result=$? 7544 # If there is a non-empty error log, and "single_module" 7545 # appears in it, assume the flag caused a linker warning 7546 if test -s conftest.err && $GREP single_module conftest.err; then 7547 cat conftest.err >&5 7548 # Otherwise, if the output was created with a 0 exit code from 7549 # the compiler, it worked. 7550 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7551 lt_cv_apple_cc_single_mod=yes 7552 else 7553 cat conftest.err >&5 7554 fi 7555 rm -rf libconftest.dylib* 7556 rm -f conftest.* 7557 fi 7558fi 7559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7560$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7561 7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7563$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7564if ${lt_cv_ld_exported_symbols_list+:} false; then : 7565 $as_echo_n "(cached) " >&6 7566else 7567 lt_cv_ld_exported_symbols_list=no 7568 save_LDFLAGS=$LDFLAGS 7569 echo "_main" > conftest.sym 7570 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7572/* end confdefs.h. */ 7573 7574int 7575main () 7576{ 7577 7578 ; 7579 return 0; 7580} 7581_ACEOF 7582if ac_fn_c_try_link "$LINENO"; then : 7583 lt_cv_ld_exported_symbols_list=yes 7584else 7585 lt_cv_ld_exported_symbols_list=no 7586fi 7587rm -f core conftest.err conftest.$ac_objext \ 7588 conftest$ac_exeext conftest.$ac_ext 7589 LDFLAGS=$save_LDFLAGS 7590 7591fi 7592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7593$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7594 7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7596$as_echo_n "checking for -force_load linker flag... " >&6; } 7597if ${lt_cv_ld_force_load+:} false; then : 7598 $as_echo_n "(cached) " >&6 7599else 7600 lt_cv_ld_force_load=no 7601 cat > conftest.c << _LT_EOF 7602int forced_loaded() { return 2;} 7603_LT_EOF 7604 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7605 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7606 echo "$AR cru libconftest.a conftest.o" >&5 7607 $AR cru libconftest.a conftest.o 2>&5 7608 echo "$RANLIB libconftest.a" >&5 7609 $RANLIB libconftest.a 2>&5 7610 cat > conftest.c << _LT_EOF 7611int main() { return 0;} 7612_LT_EOF 7613 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7614 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7615 _lt_result=$? 7616 if test -s conftest.err && $GREP force_load conftest.err; then 7617 cat conftest.err >&5 7618 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7619 lt_cv_ld_force_load=yes 7620 else 7621 cat conftest.err >&5 7622 fi 7623 rm -f conftest.err libconftest.a conftest conftest.c 7624 rm -rf conftest.dSYM 7625 7626fi 7627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7628$as_echo "$lt_cv_ld_force_load" >&6; } 7629 case $host_os in 7630 rhapsody* | darwin1.[012]) 7631 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7632 darwin1.*) 7633 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7634 darwin*) # darwin 5.x on 7635 # if running on 10.5 or later, the deployment target defaults 7636 # to the OS version, if on x86, and 10.4, the deployment 7637 # target defaults to 10.4. Don't you love it? 7638 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7639 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7640 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7641 10.[012][,.]*) 7642 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7643 10.*) 7644 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7645 esac 7646 ;; 7647 esac 7648 if test yes = "$lt_cv_apple_cc_single_mod"; then 7649 _lt_dar_single_mod='$single_module' 7650 fi 7651 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7652 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7653 else 7654 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7655 fi 7656 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7657 _lt_dsymutil='~$DSYMUTIL $lib || :' 7658 else 7659 _lt_dsymutil= 7660 fi 7661 ;; 7662 esac 7663 7664# func_munge_path_list VARIABLE PATH 7665# ----------------------------------- 7666# VARIABLE is name of variable containing _space_ separated list of 7667# directories to be munged by the contents of PATH, which is string 7668# having a format: 7669# "DIR[:DIR]:" 7670# string "DIR[ DIR]" will be prepended to VARIABLE 7671# ":DIR[:DIR]" 7672# string "DIR[ DIR]" will be appended to VARIABLE 7673# "DIRP[:DIRP]::[DIRA:]DIRA" 7674# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7675# "DIRA[ DIRA]" will be appended to VARIABLE 7676# "DIR[:DIR]" 7677# VARIABLE will be replaced by "DIR[ DIR]" 7678func_munge_path_list () 7679{ 7680 case x$2 in 7681 x) 7682 ;; 7683 *:) 7684 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7685 ;; 7686 x:*) 7687 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7688 ;; 7689 *::*) 7690 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7691 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7692 ;; 7693 *) 7694 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7695 ;; 7696 esac 7697} 7698 7699ac_ext=c 7700ac_cpp='$CPP $CPPFLAGS' 7701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7703ac_compiler_gnu=$ac_cv_c_compiler_gnu 7704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7705$as_echo_n "checking how to run the C preprocessor... " >&6; } 7706# On Suns, sometimes $CPP names a directory. 7707if test -n "$CPP" && test -d "$CPP"; then 7708 CPP= 7709fi 7710if test -z "$CPP"; then 7711 if ${ac_cv_prog_CPP+:} false; then : 7712 $as_echo_n "(cached) " >&6 7713else 7714 # Double quotes because CPP needs to be expanded 7715 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7716 do 7717 ac_preproc_ok=false 7718for ac_c_preproc_warn_flag in '' yes 7719do 7720 # Use a header file that comes with gcc, so configuring glibc 7721 # with a fresh cross-compiler works. 7722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7723 # <limits.h> exists even on freestanding compilers. 7724 # On the NeXT, cc -E runs the code through the compiler's parser, 7725 # not just through cpp. "Syntax error" is here to catch this case. 7726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7727/* end confdefs.h. */ 7728#ifdef __STDC__ 7729# include <limits.h> 7730#else 7731# include <assert.h> 7732#endif 7733 Syntax error 7734_ACEOF 7735if ac_fn_c_try_cpp "$LINENO"; then : 7736 7737else 7738 # Broken: fails on valid input. 7739continue 7740fi 7741rm -f conftest.err conftest.i conftest.$ac_ext 7742 7743 # OK, works on sane cases. Now check whether nonexistent headers 7744 # can be detected and how. 7745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7746/* end confdefs.h. */ 7747#include <ac_nonexistent.h> 7748_ACEOF 7749if ac_fn_c_try_cpp "$LINENO"; then : 7750 # Broken: success on invalid input. 7751continue 7752else 7753 # Passes both tests. 7754ac_preproc_ok=: 7755break 7756fi 7757rm -f conftest.err conftest.i conftest.$ac_ext 7758 7759done 7760# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7761rm -f conftest.i conftest.err conftest.$ac_ext 7762if $ac_preproc_ok; then : 7763 break 7764fi 7765 7766 done 7767 ac_cv_prog_CPP=$CPP 7768 7769fi 7770 CPP=$ac_cv_prog_CPP 7771else 7772 ac_cv_prog_CPP=$CPP 7773fi 7774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7775$as_echo "$CPP" >&6; } 7776ac_preproc_ok=false 7777for ac_c_preproc_warn_flag in '' yes 7778do 7779 # Use a header file that comes with gcc, so configuring glibc 7780 # with a fresh cross-compiler works. 7781 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7782 # <limits.h> exists even on freestanding compilers. 7783 # On the NeXT, cc -E runs the code through the compiler's parser, 7784 # not just through cpp. "Syntax error" is here to catch this case. 7785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7786/* end confdefs.h. */ 7787#ifdef __STDC__ 7788# include <limits.h> 7789#else 7790# include <assert.h> 7791#endif 7792 Syntax error 7793_ACEOF 7794if ac_fn_c_try_cpp "$LINENO"; then : 7795 7796else 7797 # Broken: fails on valid input. 7798continue 7799fi 7800rm -f conftest.err conftest.i conftest.$ac_ext 7801 7802 # OK, works on sane cases. Now check whether nonexistent headers 7803 # can be detected and how. 7804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7805/* end confdefs.h. */ 7806#include <ac_nonexistent.h> 7807_ACEOF 7808if ac_fn_c_try_cpp "$LINENO"; then : 7809 # Broken: success on invalid input. 7810continue 7811else 7812 # Passes both tests. 7813ac_preproc_ok=: 7814break 7815fi 7816rm -f conftest.err conftest.i conftest.$ac_ext 7817 7818done 7819# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7820rm -f conftest.i conftest.err conftest.$ac_ext 7821if $ac_preproc_ok; then : 7822 7823else 7824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7825$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7826as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7827See \`config.log' for more details" "$LINENO" 5; } 7828fi 7829 7830ac_ext=c 7831ac_cpp='$CPP $CPPFLAGS' 7832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7834ac_compiler_gnu=$ac_cv_c_compiler_gnu 7835 7836 7837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7838$as_echo_n "checking for ANSI C header files... " >&6; } 7839if ${ac_cv_header_stdc+:} false; then : 7840 $as_echo_n "(cached) " >&6 7841else 7842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7843/* end confdefs.h. */ 7844#include <stdlib.h> 7845#include <stdarg.h> 7846#include <string.h> 7847#include <float.h> 7848 7849int 7850main () 7851{ 7852 7853 ; 7854 return 0; 7855} 7856_ACEOF 7857if ac_fn_c_try_compile "$LINENO"; then : 7858 ac_cv_header_stdc=yes 7859else 7860 ac_cv_header_stdc=no 7861fi 7862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7863 7864if test $ac_cv_header_stdc = yes; then 7865 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7867/* end confdefs.h. */ 7868#include <string.h> 7869 7870_ACEOF 7871if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7872 $EGREP "memchr" >/dev/null 2>&1; then : 7873 7874else 7875 ac_cv_header_stdc=no 7876fi 7877rm -f conftest* 7878 7879fi 7880 7881if test $ac_cv_header_stdc = yes; then 7882 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7884/* end confdefs.h. */ 7885#include <stdlib.h> 7886 7887_ACEOF 7888if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7889 $EGREP "free" >/dev/null 2>&1; then : 7890 7891else 7892 ac_cv_header_stdc=no 7893fi 7894rm -f conftest* 7895 7896fi 7897 7898if test $ac_cv_header_stdc = yes; then 7899 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7900 if test "$cross_compiling" = yes; then : 7901 : 7902else 7903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7904/* end confdefs.h. */ 7905#include <ctype.h> 7906#include <stdlib.h> 7907#if ((' ' & 0x0FF) == 0x020) 7908# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7909# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7910#else 7911# define ISLOWER(c) \ 7912 (('a' <= (c) && (c) <= 'i') \ 7913 || ('j' <= (c) && (c) <= 'r') \ 7914 || ('s' <= (c) && (c) <= 'z')) 7915# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7916#endif 7917 7918#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7919int 7920main () 7921{ 7922 int i; 7923 for (i = 0; i < 256; i++) 7924 if (XOR (islower (i), ISLOWER (i)) 7925 || toupper (i) != TOUPPER (i)) 7926 return 2; 7927 return 0; 7928} 7929_ACEOF 7930if ac_fn_c_try_run "$LINENO"; then : 7931 7932else 7933 ac_cv_header_stdc=no 7934fi 7935rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7936 conftest.$ac_objext conftest.beam conftest.$ac_ext 7937fi 7938 7939fi 7940fi 7941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7942$as_echo "$ac_cv_header_stdc" >&6; } 7943if test $ac_cv_header_stdc = yes; then 7944 7945$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7946 7947fi 7948 7949# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7950for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7951 inttypes.h stdint.h unistd.h 7952do : 7953 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7954ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7955" 7956if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7957 cat >>confdefs.h <<_ACEOF 7958#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7959_ACEOF 7960 7961fi 7962 7963done 7964 7965 7966for ac_header in dlfcn.h 7967do : 7968 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7969" 7970if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7971 cat >>confdefs.h <<_ACEOF 7972#define HAVE_DLFCN_H 1 7973_ACEOF 7974 7975fi 7976 7977done 7978 7979 7980if test "`cd $srcdir && pwd`" != "`pwd`"; then 7981 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 7982 # is not polluted with repeated "-I." 7983 am__isrc=' -I$(srcdir)' 7984 # test to see if srcdir already configured 7985 if test -f $srcdir/config.status; then 7986 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 7987 fi 7988fi 7989 7990# test whether we have cygpath 7991if test -z "$CYGPATH_W"; then 7992 if (cygpath --version) >/dev/null 2>/dev/null; then 7993 CYGPATH_W='cygpath -w' 7994 else 7995 CYGPATH_W=echo 7996 fi 7997fi 7998 7999 8000# Define the identity of the package. 8001 PACKAGE='dvipsk--texlive-' 8002 VERSION='5.995' 8003 8004 8005cat >>confdefs.h <<_ACEOF 8006#define PACKAGE "$PACKAGE" 8007_ACEOF 8008 8009 8010cat >>confdefs.h <<_ACEOF 8011#define VERSION "$VERSION" 8012_ACEOF 8013 8014# Some tools Automake needs. 8015 8016ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 8017 8018 8019AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 8020 8021 8022AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 8023 8024 8025AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 8026 8027 8028MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 8029 8030# For better backward compatibility. To be removed once Automake 1.9.x 8031# dies out for good. For more background, see: 8032# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 8033# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 8034mkdir_p='$(MKDIR_P)' 8035 8036# We need awk for the "check" target (and possibly the TAP driver). The 8037# system "awk" is bad on some platforms. 8038# Always define AMTAR for backward compatibility. Yes, it's still used 8039# in the wild :-( We should find a proper way to deprecate it ... 8040AMTAR='$${TAR-tar}' 8041 8042 8043# We'll loop over all known methods to create a tar archive until one works. 8044_am_tools='gnutar pax cpio none' 8045 8046am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 8047 8048 8049 8050 8051 8052 8053# POSIX will say in a future version that running "rm -f" with no argument 8054# is OK; and we want to be able to make that assumption in our Makefile 8055# recipes. So use an aggressive probe to check that the usage we want is 8056# actually supported "in the wild" to an acceptable degree. 8057# See automake bug#10828. 8058# To make any issue more visible, cause the running configure to be aborted 8059# by default if the 'rm' program in use doesn't match our expectations; the 8060# user can still override this though. 8061if rm -f && rm -fr && rm -rf; then : OK; else 8062 cat >&2 <<'END' 8063Oops! 8064 8065Your 'rm' program seems unable to run without file operands specified 8066on the command line, even when the '-f' option is present. This is contrary 8067to the behaviour of most rm programs out there, and not conforming with 8068the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 8069 8070Please tell bug-automake@gnu.org about your system, including the value 8071of your $PATH and any error possibly output before this message. This 8072can help us improve future automake versions. 8073 8074END 8075 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 8076 echo 'Configuration will proceed anyway, since you have set the' >&2 8077 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 8078 echo >&2 8079 else 8080 cat >&2 <<'END' 8081Aborting the configuration process, to ensure you take notice of the issue. 8082 8083You can download and install GNU coreutils to get an 'rm' implementation 8084that behaves properly: <http://www.gnu.org/software/coreutils/>. 8085 8086If you want to complete the configuration process using your problematic 8087'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 8088to "yes", and re-run configure. 8089 8090END 8091 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 8092 fi 8093fi 8094 8095 8096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 8097$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 8098 # Check whether --enable-maintainer-mode was given. 8099if test "${enable_maintainer_mode+set}" = set; then : 8100 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 8101else 8102 USE_MAINTAINER_MODE=no 8103fi 8104 8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 8106$as_echo "$USE_MAINTAINER_MODE" >&6; } 8107 if test $USE_MAINTAINER_MODE = yes; then 8108 MAINTAINER_MODE_TRUE= 8109 MAINTAINER_MODE_FALSE='#' 8110else 8111 MAINTAINER_MODE_TRUE='#' 8112 MAINTAINER_MODE_FALSE= 8113fi 8114 8115 MAINT=$MAINTAINER_MODE_TRUE 8116 8117 8118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 8119$as_echo_n "checking whether the compiler accepts prototypes... " >&6; } 8120if ${kb_cv_c_prototypes+:} false; then : 8121 $as_echo_n "(cached) " >&6 8122else 8123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8124/* end confdefs.h. */ 8125#include <stdarg.h> 8126int 8127main () 8128{ 8129extern void foo(int i,...); 8130 ; 8131 return 0; 8132} 8133_ACEOF 8134if ac_fn_c_try_link "$LINENO"; then : 8135 kb_cv_c_prototypes=yes 8136else 8137 kb_cv_c_prototypes=no 8138fi 8139rm -f core conftest.err conftest.$ac_objext \ 8140 conftest$ac_exeext conftest.$ac_ext 8141fi 8142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5 8143$as_echo "$kb_cv_c_prototypes" >&6; } 8144if test "x$kb_cv_c_prototypes" = xno; then 8145 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 8146fi 8147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 8148$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 8149if ${kpse_cv_warning_cflags+:} false; then : 8150 $as_echo_n "(cached) " >&6 8151else 8152 if test "x$GCC" = xyes; then 8153 kpse_cv_warning_cflags= 8154if test "x$enable_compiler_warnings" != xno; then 8155 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type" 8156 case `$CC -dumpversion` in #( 8157 3.4.* | 4.*) : 8158 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #( 8159 *) : 8160 ;; 8161esac 8162 case `$CC -dumpversion` in #( 8163 3.[234].* | 4.*) : 8164 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #( 8165 *) : 8166 ;; 8167esac 8168 if test "x$enable_compiler_warnings" != xmin; then 8169 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags" 8170 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" 8171 if test "x$enable_compiler_warnings" != xyes; then 8172 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" 8173 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings" 8174 case `$CC -dumpversion` in #( 8175 3.4.* | 4.*) : 8176 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #( 8177 *) : 8178 ;; 8179esac 8180 if test "x$enable_compiler_warnings" != xmax; then 8181 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow" 8182 fi 8183 fi 8184 fi 8185fi 8186elif test "x$enable_compiler_warnings" = xno; then 8187 kpse_cv_warning_cflags= 8188else 8189 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers 8190fi 8191fi 8192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5 8193$as_echo "$kpse_cv_warning_cflags" >&6; } 8194WARNING_CFLAGS=$kpse_cv_warning_cflags 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207# Set options 8208enable_win32_dll=yes 8209 8210case $host in 8211*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 8212 if test -n "$ac_tool_prefix"; then 8213 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 8214set dummy ${ac_tool_prefix}as; ac_word=$2 8215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8216$as_echo_n "checking for $ac_word... " >&6; } 8217if ${ac_cv_prog_AS+:} false; then : 8218 $as_echo_n "(cached) " >&6 8219else 8220 if test -n "$AS"; then 8221 ac_cv_prog_AS="$AS" # Let the user override the test. 8222else 8223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8224for as_dir in $PATH 8225do 8226 IFS=$as_save_IFS 8227 test -z "$as_dir" && as_dir=. 8228 for ac_exec_ext in '' $ac_executable_extensions; do 8229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8230 ac_cv_prog_AS="${ac_tool_prefix}as" 8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8232 break 2 8233 fi 8234done 8235 done 8236IFS=$as_save_IFS 8237 8238fi 8239fi 8240AS=$ac_cv_prog_AS 8241if test -n "$AS"; then 8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8243$as_echo "$AS" >&6; } 8244else 8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8246$as_echo "no" >&6; } 8247fi 8248 8249 8250fi 8251if test -z "$ac_cv_prog_AS"; then 8252 ac_ct_AS=$AS 8253 # Extract the first word of "as", so it can be a program name with args. 8254set dummy as; ac_word=$2 8255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8256$as_echo_n "checking for $ac_word... " >&6; } 8257if ${ac_cv_prog_ac_ct_AS+:} false; then : 8258 $as_echo_n "(cached) " >&6 8259else 8260 if test -n "$ac_ct_AS"; then 8261 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8262else 8263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8264for as_dir in $PATH 8265do 8266 IFS=$as_save_IFS 8267 test -z "$as_dir" && as_dir=. 8268 for ac_exec_ext in '' $ac_executable_extensions; do 8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8270 ac_cv_prog_ac_ct_AS="as" 8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8272 break 2 8273 fi 8274done 8275 done 8276IFS=$as_save_IFS 8277 8278fi 8279fi 8280ac_ct_AS=$ac_cv_prog_ac_ct_AS 8281if test -n "$ac_ct_AS"; then 8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 8283$as_echo "$ac_ct_AS" >&6; } 8284else 8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8286$as_echo "no" >&6; } 8287fi 8288 8289 if test "x$ac_ct_AS" = x; then 8290 AS="false" 8291 else 8292 case $cross_compiling:$ac_tool_warned in 8293yes:) 8294{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8295$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8296ac_tool_warned=yes ;; 8297esac 8298 AS=$ac_ct_AS 8299 fi 8300else 8301 AS="$ac_cv_prog_AS" 8302fi 8303 8304 if test -n "$ac_tool_prefix"; then 8305 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8306set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8308$as_echo_n "checking for $ac_word... " >&6; } 8309if ${ac_cv_prog_DLLTOOL+:} false; then : 8310 $as_echo_n "(cached) " >&6 8311else 8312 if test -n "$DLLTOOL"; then 8313 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8314else 8315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8316for as_dir in $PATH 8317do 8318 IFS=$as_save_IFS 8319 test -z "$as_dir" && as_dir=. 8320 for ac_exec_ext in '' $ac_executable_extensions; do 8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8322 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8324 break 2 8325 fi 8326done 8327 done 8328IFS=$as_save_IFS 8329 8330fi 8331fi 8332DLLTOOL=$ac_cv_prog_DLLTOOL 8333if test -n "$DLLTOOL"; then 8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8335$as_echo "$DLLTOOL" >&6; } 8336else 8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8338$as_echo "no" >&6; } 8339fi 8340 8341 8342fi 8343if test -z "$ac_cv_prog_DLLTOOL"; then 8344 ac_ct_DLLTOOL=$DLLTOOL 8345 # Extract the first word of "dlltool", so it can be a program name with args. 8346set dummy dlltool; ac_word=$2 8347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8348$as_echo_n "checking for $ac_word... " >&6; } 8349if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8350 $as_echo_n "(cached) " >&6 8351else 8352 if test -n "$ac_ct_DLLTOOL"; then 8353 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8354else 8355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8356for as_dir in $PATH 8357do 8358 IFS=$as_save_IFS 8359 test -z "$as_dir" && as_dir=. 8360 for ac_exec_ext in '' $ac_executable_extensions; do 8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8362 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8364 break 2 8365 fi 8366done 8367 done 8368IFS=$as_save_IFS 8369 8370fi 8371fi 8372ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8373if test -n "$ac_ct_DLLTOOL"; then 8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8375$as_echo "$ac_ct_DLLTOOL" >&6; } 8376else 8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8378$as_echo "no" >&6; } 8379fi 8380 8381 if test "x$ac_ct_DLLTOOL" = x; then 8382 DLLTOOL="false" 8383 else 8384 case $cross_compiling:$ac_tool_warned in 8385yes:) 8386{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8387$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8388ac_tool_warned=yes ;; 8389esac 8390 DLLTOOL=$ac_ct_DLLTOOL 8391 fi 8392else 8393 DLLTOOL="$ac_cv_prog_DLLTOOL" 8394fi 8395 8396 if test -n "$ac_tool_prefix"; then 8397 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8398set dummy ${ac_tool_prefix}objdump; ac_word=$2 8399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8400$as_echo_n "checking for $ac_word... " >&6; } 8401if ${ac_cv_prog_OBJDUMP+:} false; then : 8402 $as_echo_n "(cached) " >&6 8403else 8404 if test -n "$OBJDUMP"; then 8405 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8406else 8407as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8408for as_dir in $PATH 8409do 8410 IFS=$as_save_IFS 8411 test -z "$as_dir" && as_dir=. 8412 for ac_exec_ext in '' $ac_executable_extensions; do 8413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8414 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8416 break 2 8417 fi 8418done 8419 done 8420IFS=$as_save_IFS 8421 8422fi 8423fi 8424OBJDUMP=$ac_cv_prog_OBJDUMP 8425if test -n "$OBJDUMP"; then 8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8427$as_echo "$OBJDUMP" >&6; } 8428else 8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8430$as_echo "no" >&6; } 8431fi 8432 8433 8434fi 8435if test -z "$ac_cv_prog_OBJDUMP"; then 8436 ac_ct_OBJDUMP=$OBJDUMP 8437 # Extract the first word of "objdump", so it can be a program name with args. 8438set dummy objdump; ac_word=$2 8439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8440$as_echo_n "checking for $ac_word... " >&6; } 8441if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8442 $as_echo_n "(cached) " >&6 8443else 8444 if test -n "$ac_ct_OBJDUMP"; then 8445 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8446else 8447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8448for as_dir in $PATH 8449do 8450 IFS=$as_save_IFS 8451 test -z "$as_dir" && as_dir=. 8452 for ac_exec_ext in '' $ac_executable_extensions; do 8453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8454 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8456 break 2 8457 fi 8458done 8459 done 8460IFS=$as_save_IFS 8461 8462fi 8463fi 8464ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8465if test -n "$ac_ct_OBJDUMP"; then 8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8467$as_echo "$ac_ct_OBJDUMP" >&6; } 8468else 8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8470$as_echo "no" >&6; } 8471fi 8472 8473 if test "x$ac_ct_OBJDUMP" = x; then 8474 OBJDUMP="false" 8475 else 8476 case $cross_compiling:$ac_tool_warned in 8477yes:) 8478{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8479$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8480ac_tool_warned=yes ;; 8481esac 8482 OBJDUMP=$ac_ct_OBJDUMP 8483 fi 8484else 8485 OBJDUMP="$ac_cv_prog_OBJDUMP" 8486fi 8487 8488 ;; 8489esac 8490 8491test -z "$AS" && AS=as 8492 8493 8494 8495 8496 8497test -z "$DLLTOOL" && DLLTOOL=dlltool 8498 8499 8500 8501 8502 8503test -z "$OBJDUMP" && OBJDUMP=objdump 8504 8505 8506 8507 8508 8509 8510 8511 enable_dlopen=no 8512 8513 8514 8515 # Check whether --enable-shared was given. 8516if test "${enable_shared+set}" = set; then : 8517 enableval=$enable_shared; p=${PACKAGE-default} 8518 case $enableval in 8519 yes) enable_shared=yes ;; 8520 no) enable_shared=no ;; 8521 *) 8522 enable_shared=no 8523 # Look at the argument we got. We use all the common list separators. 8524 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8525 for pkg in $enableval; do 8526 IFS=$lt_save_ifs 8527 if test "X$pkg" = "X$p"; then 8528 enable_shared=yes 8529 fi 8530 done 8531 IFS=$lt_save_ifs 8532 ;; 8533 esac 8534else 8535 enable_shared=yes 8536fi 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 # Check whether --enable-static was given. 8547if test "${enable_static+set}" = set; then : 8548 enableval=$enable_static; p=${PACKAGE-default} 8549 case $enableval in 8550 yes) enable_static=yes ;; 8551 no) enable_static=no ;; 8552 *) 8553 enable_static=no 8554 # Look at the argument we got. We use all the common list separators. 8555 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8556 for pkg in $enableval; do 8557 IFS=$lt_save_ifs 8558 if test "X$pkg" = "X$p"; then 8559 enable_static=yes 8560 fi 8561 done 8562 IFS=$lt_save_ifs 8563 ;; 8564 esac 8565else 8566 enable_static=yes 8567fi 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578# Check whether --with-pic was given. 8579if test "${with_pic+set}" = set; then : 8580 withval=$with_pic; lt_p=${PACKAGE-default} 8581 case $withval in 8582 yes|no) pic_mode=$withval ;; 8583 *) 8584 pic_mode=default 8585 # Look at the argument we got. We use all the common list separators. 8586 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8587 for lt_pkg in $withval; do 8588 IFS=$lt_save_ifs 8589 if test "X$lt_pkg" = "X$lt_p"; then 8590 pic_mode=yes 8591 fi 8592 done 8593 IFS=$lt_save_ifs 8594 ;; 8595 esac 8596else 8597 pic_mode=default 8598fi 8599 8600 8601 8602 8603 8604 8605 8606 8607 # Check whether --enable-fast-install was given. 8608if test "${enable_fast_install+set}" = set; then : 8609 enableval=$enable_fast_install; p=${PACKAGE-default} 8610 case $enableval in 8611 yes) enable_fast_install=yes ;; 8612 no) enable_fast_install=no ;; 8613 *) 8614 enable_fast_install=no 8615 # Look at the argument we got. We use all the common list separators. 8616 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8617 for pkg in $enableval; do 8618 IFS=$lt_save_ifs 8619 if test "X$pkg" = "X$p"; then 8620 enable_fast_install=yes 8621 fi 8622 done 8623 IFS=$lt_save_ifs 8624 ;; 8625 esac 8626else 8627 enable_fast_install=yes 8628fi 8629 8630 8631 8632 8633 8634 8635 8636 8637 shared_archive_member_spec= 8638case $host,$enable_shared in 8639power*-*-aix[5-9]*,yes) 8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8641$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8642 8643# Check whether --with-aix-soname was given. 8644if test "${with_aix_soname+set}" = set; then : 8645 withval=$with_aix_soname; case $withval in 8646 aix|svr4|both) 8647 ;; 8648 *) 8649 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8650 ;; 8651 esac 8652 lt_cv_with_aix_soname=$with_aix_soname 8653else 8654 if ${lt_cv_with_aix_soname+:} false; then : 8655 $as_echo_n "(cached) " >&6 8656else 8657 lt_cv_with_aix_soname=aix 8658fi 8659 8660 with_aix_soname=$lt_cv_with_aix_soname 8661fi 8662 8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8664$as_echo "$with_aix_soname" >&6; } 8665 if test aix != "$with_aix_soname"; then 8666 # For the AIX way of multilib, we name the shared archive member 8667 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8668 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8669 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8670 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8671 if test 64 = "${OBJECT_MODE-32}"; then 8672 shared_archive_member_spec=shr_64 8673 else 8674 shared_archive_member_spec=shr 8675 fi 8676 fi 8677 ;; 8678*) 8679 with_aix_soname=aix 8680 ;; 8681esac 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692# This can be used to rebuild libtool when needed 8693LIBTOOL_DEPS=$ltmain 8694 8695# Always use our own libtool. 8696LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727test -z "$LN_S" && LN_S="ln -s" 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742if test -n "${ZSH_VERSION+set}"; then 8743 setopt NO_GLOB_SUBST 8744fi 8745 8746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8747$as_echo_n "checking for objdir... " >&6; } 8748if ${lt_cv_objdir+:} false; then : 8749 $as_echo_n "(cached) " >&6 8750else 8751 rm -f .libs 2>/dev/null 8752mkdir .libs 2>/dev/null 8753if test -d .libs; then 8754 lt_cv_objdir=.libs 8755else 8756 # MS-DOS does not allow filenames that begin with a dot. 8757 lt_cv_objdir=_libs 8758fi 8759rmdir .libs 2>/dev/null 8760fi 8761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8762$as_echo "$lt_cv_objdir" >&6; } 8763objdir=$lt_cv_objdir 8764 8765 8766 8767 8768 8769cat >>confdefs.h <<_ACEOF 8770#define LT_OBJDIR "$lt_cv_objdir/" 8771_ACEOF 8772 8773 8774 8775 8776case $host_os in 8777aix3*) 8778 # AIX sometimes has problems with the GCC collect2 program. For some 8779 # reason, if we set the COLLECT_NAMES environment variable, the problems 8780 # vanish in a puff of smoke. 8781 if test set != "${COLLECT_NAMES+set}"; then 8782 COLLECT_NAMES= 8783 export COLLECT_NAMES 8784 fi 8785 ;; 8786esac 8787 8788# Global variables: 8789ofile=libtool 8790can_build_shared=yes 8791 8792# All known linkers require a '.a' archive for static linking (except MSVC, 8793# which needs '.lib'). 8794libext=a 8795 8796with_gnu_ld=$lt_cv_prog_gnu_ld 8797 8798old_CC=$CC 8799old_CFLAGS=$CFLAGS 8800 8801# Set sane defaults for various variables 8802test -z "$CC" && CC=cc 8803test -z "$LTCC" && LTCC=$CC 8804test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8805test -z "$LD" && LD=ld 8806test -z "$ac_objext" && ac_objext=o 8807 8808func_cc_basename $compiler 8809cc_basename=$func_cc_basename_result 8810 8811 8812# Only perform the check for file, if the check method requires it 8813test -z "$MAGIC_CMD" && MAGIC_CMD=file 8814case $deplibs_check_method in 8815file_magic*) 8816 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8818$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8819if ${lt_cv_path_MAGIC_CMD+:} false; then : 8820 $as_echo_n "(cached) " >&6 8821else 8822 case $MAGIC_CMD in 8823[\\/*] | ?:[\\/]*) 8824 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8825 ;; 8826*) 8827 lt_save_MAGIC_CMD=$MAGIC_CMD 8828 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8829 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8830 for ac_dir in $ac_dummy; do 8831 IFS=$lt_save_ifs 8832 test -z "$ac_dir" && ac_dir=. 8833 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8834 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8835 if test -n "$file_magic_test_file"; then 8836 case $deplibs_check_method in 8837 "file_magic "*) 8838 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8839 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8840 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8841 $EGREP "$file_magic_regex" > /dev/null; then 8842 : 8843 else 8844 cat <<_LT_EOF 1>&2 8845 8846*** Warning: the command libtool uses to detect shared libraries, 8847*** $file_magic_cmd, produces output that libtool cannot recognize. 8848*** The result is that libtool may fail to recognize shared libraries 8849*** as such. This will affect the creation of libtool libraries that 8850*** depend on shared libraries, but programs linked with such libtool 8851*** libraries will work regardless of this problem. Nevertheless, you 8852*** may want to report the problem to your system manager and/or to 8853*** bug-libtool@gnu.org 8854 8855_LT_EOF 8856 fi ;; 8857 esac 8858 fi 8859 break 8860 fi 8861 done 8862 IFS=$lt_save_ifs 8863 MAGIC_CMD=$lt_save_MAGIC_CMD 8864 ;; 8865esac 8866fi 8867 8868MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8869if test -n "$MAGIC_CMD"; then 8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8871$as_echo "$MAGIC_CMD" >&6; } 8872else 8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8874$as_echo "no" >&6; } 8875fi 8876 8877 8878 8879 8880 8881if test -z "$lt_cv_path_MAGIC_CMD"; then 8882 if test -n "$ac_tool_prefix"; then 8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8884$as_echo_n "checking for file... " >&6; } 8885if ${lt_cv_path_MAGIC_CMD+:} false; then : 8886 $as_echo_n "(cached) " >&6 8887else 8888 case $MAGIC_CMD in 8889[\\/*] | ?:[\\/]*) 8890 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8891 ;; 8892*) 8893 lt_save_MAGIC_CMD=$MAGIC_CMD 8894 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8895 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8896 for ac_dir in $ac_dummy; do 8897 IFS=$lt_save_ifs 8898 test -z "$ac_dir" && ac_dir=. 8899 if test -f "$ac_dir/file"; then 8900 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8901 if test -n "$file_magic_test_file"; then 8902 case $deplibs_check_method in 8903 "file_magic "*) 8904 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8905 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8906 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8907 $EGREP "$file_magic_regex" > /dev/null; then 8908 : 8909 else 8910 cat <<_LT_EOF 1>&2 8911 8912*** Warning: the command libtool uses to detect shared libraries, 8913*** $file_magic_cmd, produces output that libtool cannot recognize. 8914*** The result is that libtool may fail to recognize shared libraries 8915*** as such. This will affect the creation of libtool libraries that 8916*** depend on shared libraries, but programs linked with such libtool 8917*** libraries will work regardless of this problem. Nevertheless, you 8918*** may want to report the problem to your system manager and/or to 8919*** bug-libtool@gnu.org 8920 8921_LT_EOF 8922 fi ;; 8923 esac 8924 fi 8925 break 8926 fi 8927 done 8928 IFS=$lt_save_ifs 8929 MAGIC_CMD=$lt_save_MAGIC_CMD 8930 ;; 8931esac 8932fi 8933 8934MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8935if test -n "$MAGIC_CMD"; then 8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8937$as_echo "$MAGIC_CMD" >&6; } 8938else 8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8940$as_echo "no" >&6; } 8941fi 8942 8943 8944 else 8945 MAGIC_CMD=: 8946 fi 8947fi 8948 8949 fi 8950 ;; 8951esac 8952 8953# Use C for the default configuration in the libtool script 8954 8955lt_save_CC=$CC 8956ac_ext=c 8957ac_cpp='$CPP $CPPFLAGS' 8958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8960ac_compiler_gnu=$ac_cv_c_compiler_gnu 8961 8962 8963# Source file extension for C test sources. 8964ac_ext=c 8965 8966# Object file extension for compiled C test sources. 8967objext=o 8968objext=$objext 8969 8970# Code to be used in simple compile tests 8971lt_simple_compile_test_code="int some_variable = 0;" 8972 8973# Code to be used in simple link tests 8974lt_simple_link_test_code='int main(){return(0);}' 8975 8976 8977 8978 8979 8980 8981 8982# If no C compiler was specified, use CC. 8983LTCC=${LTCC-"$CC"} 8984 8985# If no C compiler flags were specified, use CFLAGS. 8986LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8987 8988# Allow CC to be a program name with arguments. 8989compiler=$CC 8990 8991# Save the default compiler, since it gets overwritten when the other 8992# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8993compiler_DEFAULT=$CC 8994 8995# save warnings/boilerplate of simple test code 8996ac_outfile=conftest.$ac_objext 8997echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8998eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8999_lt_compiler_boilerplate=`cat conftest.err` 9000$RM conftest* 9001 9002ac_outfile=conftest.$ac_objext 9003echo "$lt_simple_link_test_code" >conftest.$ac_ext 9004eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9005_lt_linker_boilerplate=`cat conftest.err` 9006$RM -r conftest* 9007 9008 9009## CAVEAT EMPTOR: 9010## There is no encapsulation within the following macros, do not change 9011## the running order or otherwise move them around unless you know exactly 9012## what you are doing... 9013if test -n "$compiler"; then 9014 9015lt_prog_compiler_no_builtin_flag= 9016 9017if test yes = "$GCC"; then 9018 case $cc_basename in 9019 nvcc*) 9020 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9021 *) 9022 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9023 esac 9024 9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9026$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9027if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9028 $as_echo_n "(cached) " >&6 9029else 9030 lt_cv_prog_compiler_rtti_exceptions=no 9031 ac_outfile=conftest.$ac_objext 9032 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9033 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9034 # Insert the option either (1) after the last *FLAGS variable, or 9035 # (2) before a word containing "conftest.", or (3) at the end. 9036 # Note that $ac_compile itself does not contain backslashes and begins 9037 # with a dollar sign (not a hyphen), so the echo should work correctly. 9038 # The option is referenced via a variable to avoid confusing sed. 9039 lt_compile=`echo "$ac_compile" | $SED \ 9040 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9042 -e 's:$: $lt_compiler_flag:'` 9043 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9044 (eval "$lt_compile" 2>conftest.err) 9045 ac_status=$? 9046 cat conftest.err >&5 9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9048 if (exit $ac_status) && test -s "$ac_outfile"; then 9049 # The compiler can only warn and ignore the option if not recognized 9050 # So say no if there are warnings other than the usual output. 9051 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9052 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9053 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9054 lt_cv_prog_compiler_rtti_exceptions=yes 9055 fi 9056 fi 9057 $RM conftest* 9058 9059fi 9060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9061$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9062 9063if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9064 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9065else 9066 : 9067fi 9068 9069fi 9070 9071 9072 9073 9074 9075 9076 lt_prog_compiler_wl= 9077lt_prog_compiler_pic= 9078lt_prog_compiler_static= 9079 9080 9081 if test yes = "$GCC"; then 9082 lt_prog_compiler_wl='-Wl,' 9083 lt_prog_compiler_static='-static' 9084 9085 case $host_os in 9086 aix*) 9087 # All AIX code is PIC. 9088 if test ia64 = "$host_cpu"; then 9089 # AIX 5 now supports IA64 processor 9090 lt_prog_compiler_static='-Bstatic' 9091 fi 9092 lt_prog_compiler_pic='-fPIC' 9093 ;; 9094 9095 amigaos*) 9096 case $host_cpu in 9097 powerpc) 9098 # see comment about AmigaOS4 .so support 9099 lt_prog_compiler_pic='-fPIC' 9100 ;; 9101 m68k) 9102 # FIXME: we need at least 68020 code to build shared libraries, but 9103 # adding the '-m68020' flag to GCC prevents building anything better, 9104 # like '-m68040'. 9105 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9106 ;; 9107 esac 9108 ;; 9109 9110 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9111 # PIC is the default for these OSes. 9112 ;; 9113 9114 mingw* | cygwin* | pw32* | os2* | cegcc*) 9115 # This hack is so that the source file can tell whether it is being 9116 # built for inclusion in a dll (and should export symbols for example). 9117 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9118 # (--disable-auto-import) libraries 9119 lt_prog_compiler_pic='-DDLL_EXPORT' 9120 case $host_os in 9121 os2*) 9122 lt_prog_compiler_static='$wl-static' 9123 ;; 9124 esac 9125 ;; 9126 9127 darwin* | rhapsody*) 9128 # PIC is the default on this platform 9129 # Common symbols not allowed in MH_DYLIB files 9130 lt_prog_compiler_pic='-fno-common' 9131 ;; 9132 9133 haiku*) 9134 # PIC is the default for Haiku. 9135 # The "-static" flag exists, but is broken. 9136 lt_prog_compiler_static= 9137 ;; 9138 9139 hpux*) 9140 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9141 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9142 # sets the default TLS model and affects inlining. 9143 case $host_cpu in 9144 hppa*64*) 9145 # +Z the default 9146 ;; 9147 *) 9148 lt_prog_compiler_pic='-fPIC' 9149 ;; 9150 esac 9151 ;; 9152 9153 interix[3-9]*) 9154 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9155 # Instead, we relocate shared libraries at runtime. 9156 ;; 9157 9158 msdosdjgpp*) 9159 # Just because we use GCC doesn't mean we suddenly get shared libraries 9160 # on systems that don't support them. 9161 lt_prog_compiler_can_build_shared=no 9162 enable_shared=no 9163 ;; 9164 9165 *nto* | *qnx*) 9166 # QNX uses GNU C++, but need to define -shared option too, otherwise 9167 # it will coredump. 9168 lt_prog_compiler_pic='-fPIC -shared' 9169 ;; 9170 9171 sysv4*MP*) 9172 if test -d /usr/nec; then 9173 lt_prog_compiler_pic=-Kconform_pic 9174 fi 9175 ;; 9176 9177 *) 9178 lt_prog_compiler_pic='-fPIC' 9179 ;; 9180 esac 9181 9182 case $cc_basename in 9183 nvcc*) # Cuda Compiler Driver 2.2 9184 lt_prog_compiler_wl='-Xlinker ' 9185 if test -n "$lt_prog_compiler_pic"; then 9186 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9187 fi 9188 ;; 9189 esac 9190 else 9191 # PORTME Check for flag to pass linker flags through the system compiler. 9192 case $host_os in 9193 aix*) 9194 lt_prog_compiler_wl='-Wl,' 9195 if test ia64 = "$host_cpu"; then 9196 # AIX 5 now supports IA64 processor 9197 lt_prog_compiler_static='-Bstatic' 9198 else 9199 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9200 fi 9201 ;; 9202 9203 darwin* | rhapsody*) 9204 # PIC is the default on this platform 9205 # Common symbols not allowed in MH_DYLIB files 9206 lt_prog_compiler_pic='-fno-common' 9207 case $cc_basename in 9208 nagfor*) 9209 # NAG Fortran compiler 9210 lt_prog_compiler_wl='-Wl,-Wl,,' 9211 lt_prog_compiler_pic='-PIC' 9212 lt_prog_compiler_static='-Bstatic' 9213 ;; 9214 esac 9215 ;; 9216 9217 mingw* | cygwin* | pw32* | os2* | cegcc*) 9218 # This hack is so that the source file can tell whether it is being 9219 # built for inclusion in a dll (and should export symbols for example). 9220 lt_prog_compiler_pic='-DDLL_EXPORT' 9221 case $host_os in 9222 os2*) 9223 lt_prog_compiler_static='$wl-static' 9224 ;; 9225 esac 9226 ;; 9227 9228 hpux9* | hpux10* | hpux11*) 9229 lt_prog_compiler_wl='-Wl,' 9230 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9231 # not for PA HP-UX. 9232 case $host_cpu in 9233 hppa*64*|ia64*) 9234 # +Z the default 9235 ;; 9236 *) 9237 lt_prog_compiler_pic='+Z' 9238 ;; 9239 esac 9240 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9241 lt_prog_compiler_static='$wl-a ${wl}archive' 9242 ;; 9243 9244 irix5* | irix6* | nonstopux*) 9245 lt_prog_compiler_wl='-Wl,' 9246 # PIC (with -KPIC) is the default. 9247 lt_prog_compiler_static='-non_shared' 9248 ;; 9249 9250 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9251 case $cc_basename in 9252 # old Intel for x86_64, which still supported -KPIC. 9253 ecc*) 9254 lt_prog_compiler_wl='-Wl,' 9255 lt_prog_compiler_pic='-KPIC' 9256 lt_prog_compiler_static='-static' 9257 ;; 9258 # icc used to be incompatible with GCC. 9259 # ICC 10 doesn't accept -KPIC any more. 9260 icc* | ifort*) 9261 lt_prog_compiler_wl='-Wl,' 9262 lt_prog_compiler_pic='-fPIC' 9263 lt_prog_compiler_static='-static' 9264 ;; 9265 # Lahey Fortran 8.1. 9266 lf95*) 9267 lt_prog_compiler_wl='-Wl,' 9268 lt_prog_compiler_pic='--shared' 9269 lt_prog_compiler_static='--static' 9270 ;; 9271 nagfor*) 9272 # NAG Fortran compiler 9273 lt_prog_compiler_wl='-Wl,-Wl,,' 9274 lt_prog_compiler_pic='-PIC' 9275 lt_prog_compiler_static='-Bstatic' 9276 ;; 9277 tcc*) 9278 # Fabrice Bellard et al's Tiny C Compiler 9279 lt_prog_compiler_wl='-Wl,' 9280 lt_prog_compiler_pic='-fPIC' 9281 lt_prog_compiler_static='-static' 9282 ;; 9283 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9284 # Portland Group compilers (*not* the Pentium gcc compiler, 9285 # which looks to be a dead project) 9286 lt_prog_compiler_wl='-Wl,' 9287 lt_prog_compiler_pic='-fpic' 9288 lt_prog_compiler_static='-Bstatic' 9289 ;; 9290 ccc*) 9291 lt_prog_compiler_wl='-Wl,' 9292 # All Alpha code is PIC. 9293 lt_prog_compiler_static='-non_shared' 9294 ;; 9295 xl* | bgxl* | bgf* | mpixl*) 9296 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9297 lt_prog_compiler_wl='-Wl,' 9298 lt_prog_compiler_pic='-qpic' 9299 lt_prog_compiler_static='-qstaticlink' 9300 ;; 9301 *) 9302 case `$CC -V 2>&1 | sed 5q` in 9303 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9304 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9305 lt_prog_compiler_pic='-KPIC' 9306 lt_prog_compiler_static='-Bstatic' 9307 lt_prog_compiler_wl='' 9308 ;; 9309 *Sun\ F* | *Sun*Fortran*) 9310 lt_prog_compiler_pic='-KPIC' 9311 lt_prog_compiler_static='-Bstatic' 9312 lt_prog_compiler_wl='-Qoption ld ' 9313 ;; 9314 *Sun\ C*) 9315 # Sun C 5.9 9316 lt_prog_compiler_pic='-KPIC' 9317 lt_prog_compiler_static='-Bstatic' 9318 lt_prog_compiler_wl='-Wl,' 9319 ;; 9320 *Intel*\ [CF]*Compiler*) 9321 lt_prog_compiler_wl='-Wl,' 9322 lt_prog_compiler_pic='-fPIC' 9323 lt_prog_compiler_static='-static' 9324 ;; 9325 *Portland\ Group*) 9326 lt_prog_compiler_wl='-Wl,' 9327 lt_prog_compiler_pic='-fpic' 9328 lt_prog_compiler_static='-Bstatic' 9329 ;; 9330 esac 9331 ;; 9332 esac 9333 ;; 9334 9335 newsos6) 9336 lt_prog_compiler_pic='-KPIC' 9337 lt_prog_compiler_static='-Bstatic' 9338 ;; 9339 9340 *nto* | *qnx*) 9341 # QNX uses GNU C++, but need to define -shared option too, otherwise 9342 # it will coredump. 9343 lt_prog_compiler_pic='-fPIC -shared' 9344 ;; 9345 9346 osf3* | osf4* | osf5*) 9347 lt_prog_compiler_wl='-Wl,' 9348 # All OSF/1 code is PIC. 9349 lt_prog_compiler_static='-non_shared' 9350 ;; 9351 9352 rdos*) 9353 lt_prog_compiler_static='-non_shared' 9354 ;; 9355 9356 solaris*) 9357 lt_prog_compiler_pic='-KPIC' 9358 lt_prog_compiler_static='-Bstatic' 9359 case $cc_basename in 9360 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9361 lt_prog_compiler_wl='-Qoption ld ';; 9362 *) 9363 lt_prog_compiler_wl='-Wl,';; 9364 esac 9365 ;; 9366 9367 sunos4*) 9368 lt_prog_compiler_wl='-Qoption ld ' 9369 lt_prog_compiler_pic='-PIC' 9370 lt_prog_compiler_static='-Bstatic' 9371 ;; 9372 9373 sysv4 | sysv4.2uw2* | sysv4.3*) 9374 lt_prog_compiler_wl='-Wl,' 9375 lt_prog_compiler_pic='-KPIC' 9376 lt_prog_compiler_static='-Bstatic' 9377 ;; 9378 9379 sysv4*MP*) 9380 if test -d /usr/nec; then 9381 lt_prog_compiler_pic='-Kconform_pic' 9382 lt_prog_compiler_static='-Bstatic' 9383 fi 9384 ;; 9385 9386 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9387 lt_prog_compiler_wl='-Wl,' 9388 lt_prog_compiler_pic='-KPIC' 9389 lt_prog_compiler_static='-Bstatic' 9390 ;; 9391 9392 unicos*) 9393 lt_prog_compiler_wl='-Wl,' 9394 lt_prog_compiler_can_build_shared=no 9395 ;; 9396 9397 uts4*) 9398 lt_prog_compiler_pic='-pic' 9399 lt_prog_compiler_static='-Bstatic' 9400 ;; 9401 9402 *) 9403 lt_prog_compiler_can_build_shared=no 9404 ;; 9405 esac 9406 fi 9407 9408case $host_os in 9409 # For platforms that do not support PIC, -DPIC is meaningless: 9410 *djgpp*) 9411 lt_prog_compiler_pic= 9412 ;; 9413 *) 9414 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9415 ;; 9416esac 9417 9418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9419$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9420if ${lt_cv_prog_compiler_pic+:} false; then : 9421 $as_echo_n "(cached) " >&6 9422else 9423 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9424fi 9425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9426$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9427lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9428 9429# 9430# Check to make sure the PIC flag actually works. 9431# 9432if test -n "$lt_prog_compiler_pic"; then 9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9434$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9435if ${lt_cv_prog_compiler_pic_works+:} false; then : 9436 $as_echo_n "(cached) " >&6 9437else 9438 lt_cv_prog_compiler_pic_works=no 9439 ac_outfile=conftest.$ac_objext 9440 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9441 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9442 # Insert the option either (1) after the last *FLAGS variable, or 9443 # (2) before a word containing "conftest.", or (3) at the end. 9444 # Note that $ac_compile itself does not contain backslashes and begins 9445 # with a dollar sign (not a hyphen), so the echo should work correctly. 9446 # The option is referenced via a variable to avoid confusing sed. 9447 lt_compile=`echo "$ac_compile" | $SED \ 9448 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9449 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9450 -e 's:$: $lt_compiler_flag:'` 9451 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9452 (eval "$lt_compile" 2>conftest.err) 9453 ac_status=$? 9454 cat conftest.err >&5 9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9456 if (exit $ac_status) && test -s "$ac_outfile"; then 9457 # The compiler can only warn and ignore the option if not recognized 9458 # So say no if there are warnings other than the usual output. 9459 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9460 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9461 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9462 lt_cv_prog_compiler_pic_works=yes 9463 fi 9464 fi 9465 $RM conftest* 9466 9467fi 9468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9469$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9470 9471if test yes = "$lt_cv_prog_compiler_pic_works"; then 9472 case $lt_prog_compiler_pic in 9473 "" | " "*) ;; 9474 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9475 esac 9476else 9477 lt_prog_compiler_pic= 9478 lt_prog_compiler_can_build_shared=no 9479fi 9480 9481fi 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493# 9494# Check to make sure the static flag actually works. 9495# 9496wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9498$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9499if ${lt_cv_prog_compiler_static_works+:} false; then : 9500 $as_echo_n "(cached) " >&6 9501else 9502 lt_cv_prog_compiler_static_works=no 9503 save_LDFLAGS=$LDFLAGS 9504 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9505 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9506 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9507 # The linker can only warn and ignore the option if not recognized 9508 # So say no if there are warnings 9509 if test -s conftest.err; then 9510 # Append any errors to the config.log. 9511 cat conftest.err 1>&5 9512 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9514 if diff conftest.exp conftest.er2 >/dev/null; then 9515 lt_cv_prog_compiler_static_works=yes 9516 fi 9517 else 9518 lt_cv_prog_compiler_static_works=yes 9519 fi 9520 fi 9521 $RM -r conftest* 9522 LDFLAGS=$save_LDFLAGS 9523 9524fi 9525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9526$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9527 9528if test yes = "$lt_cv_prog_compiler_static_works"; then 9529 : 9530else 9531 lt_prog_compiler_static= 9532fi 9533 9534 9535 9536 9537 9538 9539 9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9541$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9542if ${lt_cv_prog_compiler_c_o+:} false; then : 9543 $as_echo_n "(cached) " >&6 9544else 9545 lt_cv_prog_compiler_c_o=no 9546 $RM -r conftest 2>/dev/null 9547 mkdir conftest 9548 cd conftest 9549 mkdir out 9550 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9551 9552 lt_compiler_flag="-o out/conftest2.$ac_objext" 9553 # Insert the option either (1) after the last *FLAGS variable, or 9554 # (2) before a word containing "conftest.", or (3) at the end. 9555 # Note that $ac_compile itself does not contain backslashes and begins 9556 # with a dollar sign (not a hyphen), so the echo should work correctly. 9557 lt_compile=`echo "$ac_compile" | $SED \ 9558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9560 -e 's:$: $lt_compiler_flag:'` 9561 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9562 (eval "$lt_compile" 2>out/conftest.err) 9563 ac_status=$? 9564 cat out/conftest.err >&5 9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9566 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9567 then 9568 # The compiler can only warn and ignore the option if not recognized 9569 # So say no if there are warnings 9570 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9571 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9572 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9573 lt_cv_prog_compiler_c_o=yes 9574 fi 9575 fi 9576 chmod u+w . 2>&5 9577 $RM conftest* 9578 # SGI C++ compiler will create directory out/ii_files/ for 9579 # template instantiation 9580 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9581 $RM out/* && rmdir out 9582 cd .. 9583 $RM -r conftest 9584 $RM conftest* 9585 9586fi 9587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9588$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9589 9590 9591 9592 9593 9594 9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9596$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9597if ${lt_cv_prog_compiler_c_o+:} false; then : 9598 $as_echo_n "(cached) " >&6 9599else 9600 lt_cv_prog_compiler_c_o=no 9601 $RM -r conftest 2>/dev/null 9602 mkdir conftest 9603 cd conftest 9604 mkdir out 9605 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9606 9607 lt_compiler_flag="-o out/conftest2.$ac_objext" 9608 # Insert the option either (1) after the last *FLAGS variable, or 9609 # (2) before a word containing "conftest.", or (3) at the end. 9610 # Note that $ac_compile itself does not contain backslashes and begins 9611 # with a dollar sign (not a hyphen), so the echo should work correctly. 9612 lt_compile=`echo "$ac_compile" | $SED \ 9613 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9614 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9615 -e 's:$: $lt_compiler_flag:'` 9616 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9617 (eval "$lt_compile" 2>out/conftest.err) 9618 ac_status=$? 9619 cat out/conftest.err >&5 9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9621 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9622 then 9623 # The compiler can only warn and ignore the option if not recognized 9624 # So say no if there are warnings 9625 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9626 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9627 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9628 lt_cv_prog_compiler_c_o=yes 9629 fi 9630 fi 9631 chmod u+w . 2>&5 9632 $RM conftest* 9633 # SGI C++ compiler will create directory out/ii_files/ for 9634 # template instantiation 9635 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9636 $RM out/* && rmdir out 9637 cd .. 9638 $RM -r conftest 9639 $RM conftest* 9640 9641fi 9642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9643$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9644 9645 9646 9647 9648hard_links=nottested 9649if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9650 # do not overwrite the value of need_locks provided by the user 9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9652$as_echo_n "checking if we can lock with hard links... " >&6; } 9653 hard_links=yes 9654 $RM conftest* 9655 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9656 touch conftest.a 9657 ln conftest.a conftest.b 2>&5 || hard_links=no 9658 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9660$as_echo "$hard_links" >&6; } 9661 if test no = "$hard_links"; then 9662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9663$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9664 need_locks=warn 9665 fi 9666else 9667 need_locks=no 9668fi 9669 9670 9671 9672 9673 9674 9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9676$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9677 9678 runpath_var= 9679 allow_undefined_flag= 9680 always_export_symbols=no 9681 archive_cmds= 9682 archive_expsym_cmds= 9683 compiler_needs_object=no 9684 enable_shared_with_static_runtimes=no 9685 export_dynamic_flag_spec= 9686 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9687 hardcode_automatic=no 9688 hardcode_direct=no 9689 hardcode_direct_absolute=no 9690 hardcode_libdir_flag_spec= 9691 hardcode_libdir_separator= 9692 hardcode_minus_L=no 9693 hardcode_shlibpath_var=unsupported 9694 inherit_rpath=no 9695 link_all_deplibs=unknown 9696 module_cmds= 9697 module_expsym_cmds= 9698 old_archive_from_new_cmds= 9699 old_archive_from_expsyms_cmds= 9700 thread_safe_flag_spec= 9701 whole_archive_flag_spec= 9702 # include_expsyms should be a list of space-separated symbols to be *always* 9703 # included in the symbol list 9704 include_expsyms= 9705 # exclude_expsyms can be an extended regexp of symbols to exclude 9706 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9707 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9708 # as well as any symbol that contains 'd'. 9709 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9710 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9711 # platforms (ab)use it in PIC code, but their linkers get confused if 9712 # the symbol is explicitly referenced. Since portable code cannot 9713 # rely on this symbol name, it's probably fine to never include it in 9714 # preloaded symbol tables. 9715 # Exclude shared library initialization/finalization symbols. 9716 extract_expsyms_cmds= 9717 9718 case $host_os in 9719 cygwin* | mingw* | pw32* | cegcc*) 9720 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9721 # When not using gcc, we currently assume that we are using 9722 # Microsoft Visual C++. 9723 if test yes != "$GCC"; then 9724 with_gnu_ld=no 9725 fi 9726 ;; 9727 interix*) 9728 # we just hope/assume this is gcc and not c89 (= MSVC++) 9729 with_gnu_ld=yes 9730 ;; 9731 openbsd* | bitrig*) 9732 with_gnu_ld=no 9733 ;; 9734 esac 9735 9736 ld_shlibs=yes 9737 9738 # On some targets, GNU ld is compatible enough with the native linker 9739 # that we're better off using the native interface for both. 9740 lt_use_gnu_ld_interface=no 9741 if test yes = "$with_gnu_ld"; then 9742 case $host_os in 9743 aix*) 9744 # The AIX port of GNU ld has always aspired to compatibility 9745 # with the native linker. However, as the warning in the GNU ld 9746 # block says, versions before 2.19.5* couldn't really create working 9747 # shared libraries, regardless of the interface used. 9748 case `$LD -v 2>&1` in 9749 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9750 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9751 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9752 *) 9753 lt_use_gnu_ld_interface=yes 9754 ;; 9755 esac 9756 ;; 9757 *) 9758 lt_use_gnu_ld_interface=yes 9759 ;; 9760 esac 9761 fi 9762 9763 if test yes = "$lt_use_gnu_ld_interface"; then 9764 # If archive_cmds runs LD, not CC, wlarc should be empty 9765 wlarc='$wl' 9766 9767 # Set some defaults for GNU ld with shared library support. These 9768 # are reset later if shared libraries are not supported. Putting them 9769 # here allows them to be overridden if necessary. 9770 runpath_var=LD_RUN_PATH 9771 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9772 export_dynamic_flag_spec='$wl--export-dynamic' 9773 # ancient GNU ld didn't support --whole-archive et. al. 9774 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9775 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9776 else 9777 whole_archive_flag_spec= 9778 fi 9779 supports_anon_versioning=no 9780 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9781 *GNU\ gold*) supports_anon_versioning=yes ;; 9782 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9783 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9784 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9785 *\ 2.11.*) ;; # other 2.11 versions 9786 *) supports_anon_versioning=yes ;; 9787 esac 9788 9789 # See if GNU ld supports shared libraries. 9790 case $host_os in 9791 aix[3-9]*) 9792 # On AIX/PPC, the GNU linker is very broken 9793 if test ia64 != "$host_cpu"; then 9794 ld_shlibs=no 9795 cat <<_LT_EOF 1>&2 9796 9797*** Warning: the GNU linker, at least up to release 2.19, is reported 9798*** to be unable to reliably create shared libraries on AIX. 9799*** Therefore, libtool is disabling shared libraries support. If you 9800*** really care for shared libraries, you may want to install binutils 9801*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9802*** You will then need to restart the configuration process. 9803 9804_LT_EOF 9805 fi 9806 ;; 9807 9808 amigaos*) 9809 case $host_cpu in 9810 powerpc) 9811 # see comment about AmigaOS4 .so support 9812 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9813 archive_expsym_cmds='' 9814 ;; 9815 m68k) 9816 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)' 9817 hardcode_libdir_flag_spec='-L$libdir' 9818 hardcode_minus_L=yes 9819 ;; 9820 esac 9821 ;; 9822 9823 beos*) 9824 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9825 allow_undefined_flag=unsupported 9826 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9827 # support --undefined. This deserves some investigation. FIXME 9828 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9829 else 9830 ld_shlibs=no 9831 fi 9832 ;; 9833 9834 cygwin* | mingw* | pw32* | cegcc*) 9835 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9836 # as there is no search path for DLLs. 9837 hardcode_libdir_flag_spec='-L$libdir' 9838 export_dynamic_flag_spec='$wl--export-all-symbols' 9839 allow_undefined_flag=unsupported 9840 always_export_symbols=no 9841 enable_shared_with_static_runtimes=yes 9842 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' 9843 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9844 9845 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9846 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9847 # If the export-symbols file already is a .def file, use it as 9848 # is; otherwise, prepend EXPORTS... 9849 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9850 cp $export_symbols $output_objdir/$soname.def; 9851 else 9852 echo EXPORTS > $output_objdir/$soname.def; 9853 cat $export_symbols >> $output_objdir/$soname.def; 9854 fi~ 9855 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9856 else 9857 ld_shlibs=no 9858 fi 9859 ;; 9860 9861 haiku*) 9862 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9863 link_all_deplibs=yes 9864 ;; 9865 9866 os2*) 9867 hardcode_libdir_flag_spec='-L$libdir' 9868 hardcode_minus_L=yes 9869 allow_undefined_flag=unsupported 9870 shrext_cmds=.dll 9871 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9872 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9873 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9874 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9875 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9876 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9877 emximp -o $lib $output_objdir/$libname.def' 9878 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9879 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9880 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9881 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9882 prefix_cmds="$SED"~ 9883 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9884 prefix_cmds="$prefix_cmds -e 1d"; 9885 fi~ 9886 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9887 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9888 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9889 emximp -o $lib $output_objdir/$libname.def' 9890 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9891 enable_shared_with_static_runtimes=yes 9892 ;; 9893 9894 interix[3-9]*) 9895 hardcode_direct=no 9896 hardcode_shlibpath_var=no 9897 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9898 export_dynamic_flag_spec='$wl-E' 9899 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9900 # Instead, shared libraries are loaded at an image base (0x10000000 by 9901 # default) and relocated if they conflict, which is a slow very memory 9902 # consuming and fragmenting process. To avoid this, we pick a random, 9903 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9904 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9905 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9906 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' 9907 ;; 9908 9909 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9910 tmp_diet=no 9911 if test linux-dietlibc = "$host_os"; then 9912 case $cc_basename in 9913 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9914 esac 9915 fi 9916 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9917 && test no = "$tmp_diet" 9918 then 9919 tmp_addflag=' $pic_flag' 9920 tmp_sharedflag='-shared' 9921 case $cc_basename,$host_cpu in 9922 pgcc*) # Portland Group C compiler 9923 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' 9924 tmp_addflag=' $pic_flag' 9925 ;; 9926 pgf77* | pgf90* | pgf95* | pgfortran*) 9927 # Portland Group f77 and f90 compilers 9928 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' 9929 tmp_addflag=' $pic_flag -Mnomain' ;; 9930 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9931 tmp_addflag=' -i_dynamic' ;; 9932 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9933 tmp_addflag=' -i_dynamic -nofor_main' ;; 9934 ifc* | ifort*) # Intel Fortran compiler 9935 tmp_addflag=' -nofor_main' ;; 9936 lf95*) # Lahey Fortran 8.1 9937 whole_archive_flag_spec= 9938 tmp_sharedflag='--shared' ;; 9939 nagfor*) # NAGFOR 5.3 9940 tmp_sharedflag='-Wl,-shared' ;; 9941 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9942 tmp_sharedflag='-qmkshrobj' 9943 tmp_addflag= ;; 9944 nvcc*) # Cuda Compiler Driver 2.2 9945 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' 9946 compiler_needs_object=yes 9947 ;; 9948 esac 9949 case `$CC -V 2>&1 | sed 5q` in 9950 *Sun\ C*) # Sun C 5.9 9951 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' 9952 compiler_needs_object=yes 9953 tmp_sharedflag='-G' ;; 9954 *Sun\ F*) # Sun Fortran 8.3 9955 tmp_sharedflag='-G' ;; 9956 esac 9957 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9958 9959 if test yes = "$supports_anon_versioning"; then 9960 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9961 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9962 echo "local: *; };" >> $output_objdir/$libname.ver~ 9963 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9964 fi 9965 9966 case $cc_basename in 9967 tcc*) 9968 export_dynamic_flag_spec='-rdynamic' 9969 ;; 9970 xlf* | bgf* | bgxlf* | mpixlf*) 9971 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9972 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9973 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9974 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9975 if test yes = "$supports_anon_versioning"; then 9976 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9977 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9978 echo "local: *; };" >> $output_objdir/$libname.ver~ 9979 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9980 fi 9981 ;; 9982 esac 9983 else 9984 ld_shlibs=no 9985 fi 9986 ;; 9987 9988 netbsd*) 9989 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9990 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9991 wlarc= 9992 else 9993 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9994 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9995 fi 9996 ;; 9997 9998 solaris*) 9999 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10000 ld_shlibs=no 10001 cat <<_LT_EOF 1>&2 10002 10003*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10004*** create shared libraries on Solaris systems. Therefore, libtool 10005*** is disabling shared libraries support. We urge you to upgrade GNU 10006*** binutils to release 2.9.1 or newer. Another option is to modify 10007*** your PATH or compiler configuration so that the native linker is 10008*** used, and then restart. 10009 10010_LT_EOF 10011 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10012 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10013 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10014 else 10015 ld_shlibs=no 10016 fi 10017 ;; 10018 10019 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10020 case `$LD -v 2>&1` in 10021 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10022 ld_shlibs=no 10023 cat <<_LT_EOF 1>&2 10024 10025*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10026*** reliably create shared libraries on SCO systems. Therefore, libtool 10027*** is disabling shared libraries support. We urge you to upgrade GNU 10028*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10029*** your PATH or compiler configuration so that the native linker is 10030*** used, and then restart. 10031 10032_LT_EOF 10033 ;; 10034 *) 10035 # For security reasons, it is highly recommended that you always 10036 # use absolute paths for naming shared libraries, and exclude the 10037 # DT_RUNPATH tag from executables and libraries. But doing so 10038 # requires that you compile everything twice, which is a pain. 10039 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10040 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10041 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10042 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10043 else 10044 ld_shlibs=no 10045 fi 10046 ;; 10047 esac 10048 ;; 10049 10050 sunos4*) 10051 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10052 wlarc= 10053 hardcode_direct=yes 10054 hardcode_shlibpath_var=no 10055 ;; 10056 10057 *) 10058 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10059 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10060 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10061 else 10062 ld_shlibs=no 10063 fi 10064 ;; 10065 esac 10066 10067 if test no = "$ld_shlibs"; then 10068 runpath_var= 10069 hardcode_libdir_flag_spec= 10070 export_dynamic_flag_spec= 10071 whole_archive_flag_spec= 10072 fi 10073 else 10074 # PORTME fill in a description of your system's linker (not GNU ld) 10075 case $host_os in 10076 aix3*) 10077 allow_undefined_flag=unsupported 10078 always_export_symbols=yes 10079 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' 10080 # Note: this linker hardcodes the directories in LIBPATH if there 10081 # are no directories specified by -L. 10082 hardcode_minus_L=yes 10083 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10084 # Neither direct hardcoding nor static linking is supported with a 10085 # broken collect2. 10086 hardcode_direct=unsupported 10087 fi 10088 ;; 10089 10090 aix[4-9]*) 10091 if test ia64 = "$host_cpu"; then 10092 # On IA64, the linker does run time linking by default, so we don't 10093 # have to do anything special. 10094 aix_use_runtimelinking=no 10095 exp_sym_flag='-Bexport' 10096 no_entry_flag= 10097 else 10098 # If we're using GNU nm, then we don't want the "-C" option. 10099 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10100 # Without the "-l" option, or with the "-B" option, AIX nm treats 10101 # weak defined symbols like other global defined symbols, whereas 10102 # GNU nm marks them as "W". 10103 # While the 'weak' keyword is ignored in the Export File, we need 10104 # it in the Import File for the 'aix-soname' feature, so we have 10105 # to replace the "-B" option with "-P" for AIX nm. 10106 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10107 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' 10108 else 10109 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' 10110 fi 10111 aix_use_runtimelinking=no 10112 10113 # Test if we are trying to use run time linking or normal 10114 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10115 # have runtime linking enabled, and use it for executables. 10116 # For shared libraries, we enable/disable runtime linking 10117 # depending on the kind of the shared library created - 10118 # when "with_aix_soname,aix_use_runtimelinking" is: 10119 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10120 # "aix,yes" lib.so shared, rtl:yes, for executables 10121 # lib.a static archive 10122 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10123 # lib.a(lib.so.V) shared, rtl:no, for executables 10124 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10125 # lib.a(lib.so.V) shared, rtl:no 10126 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10127 # lib.a static archive 10128 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10129 for ld_flag in $LDFLAGS; do 10130 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10131 aix_use_runtimelinking=yes 10132 break 10133 fi 10134 done 10135 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10136 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10137 # so we don't have lib.a shared libs to link our executables. 10138 # We have to force runtime linking in this case. 10139 aix_use_runtimelinking=yes 10140 LDFLAGS="$LDFLAGS -Wl,-brtl" 10141 fi 10142 ;; 10143 esac 10144 10145 exp_sym_flag='-bexport' 10146 no_entry_flag='-bnoentry' 10147 fi 10148 10149 # When large executables or shared objects are built, AIX ld can 10150 # have problems creating the table of contents. If linking a library 10151 # or program results in "error TOC overflow" add -mminimal-toc to 10152 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10153 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10154 10155 archive_cmds='' 10156 hardcode_direct=yes 10157 hardcode_direct_absolute=yes 10158 hardcode_libdir_separator=':' 10159 link_all_deplibs=yes 10160 file_list_spec='$wl-f,' 10161 case $with_aix_soname,$aix_use_runtimelinking in 10162 aix,*) ;; # traditional, no import file 10163 svr4,* | *,yes) # use import file 10164 # The Import File defines what to hardcode. 10165 hardcode_direct=no 10166 hardcode_direct_absolute=no 10167 ;; 10168 esac 10169 10170 if test yes = "$GCC"; then 10171 case $host_os in aix4.[012]|aix4.[012].*) 10172 # We only want to do this on AIX 4.2 and lower, the check 10173 # below for broken collect2 doesn't work under 4.3+ 10174 collect2name=`$CC -print-prog-name=collect2` 10175 if test -f "$collect2name" && 10176 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10177 then 10178 # We have reworked collect2 10179 : 10180 else 10181 # We have old collect2 10182 hardcode_direct=unsupported 10183 # It fails to find uninstalled libraries when the uninstalled 10184 # path is not listed in the libpath. Setting hardcode_minus_L 10185 # to unsupported forces relinking 10186 hardcode_minus_L=yes 10187 hardcode_libdir_flag_spec='-L$libdir' 10188 hardcode_libdir_separator= 10189 fi 10190 ;; 10191 esac 10192 shared_flag='-shared' 10193 if test yes = "$aix_use_runtimelinking"; then 10194 shared_flag="$shared_flag "'$wl-G' 10195 fi 10196 # Need to ensure runtime linking is disabled for the traditional 10197 # shared library, or the linker may eventually find shared libraries 10198 # /with/ Import File - we do not want to mix them. 10199 shared_flag_aix='-shared' 10200 shared_flag_svr4='-shared $wl-G' 10201 else 10202 # not using gcc 10203 if test ia64 = "$host_cpu"; then 10204 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10205 # chokes on -Wl,-G. The following line is correct: 10206 shared_flag='-G' 10207 else 10208 if test yes = "$aix_use_runtimelinking"; then 10209 shared_flag='$wl-G' 10210 else 10211 shared_flag='$wl-bM:SRE' 10212 fi 10213 shared_flag_aix='$wl-bM:SRE' 10214 shared_flag_svr4='$wl-G' 10215 fi 10216 fi 10217 10218 export_dynamic_flag_spec='$wl-bexpall' 10219 # It seems that -bexpall does not export symbols beginning with 10220 # underscore (_), so it is better to generate a list of symbols to export. 10221 always_export_symbols=yes 10222 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10223 # Warning - without using the other runtime loading flags (-brtl), 10224 # -berok will link without error, but may produce a broken library. 10225 allow_undefined_flag='-berok' 10226 # Determine the default libpath from the value encoded in an 10227 # empty executable. 10228 if test set = "${lt_cv_aix_libpath+set}"; then 10229 aix_libpath=$lt_cv_aix_libpath 10230else 10231 if ${lt_cv_aix_libpath_+:} false; then : 10232 $as_echo_n "(cached) " >&6 10233else 10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10235/* end confdefs.h. */ 10236 10237int 10238main () 10239{ 10240 10241 ; 10242 return 0; 10243} 10244_ACEOF 10245if ac_fn_c_try_link "$LINENO"; then : 10246 10247 lt_aix_libpath_sed=' 10248 /Import File Strings/,/^$/ { 10249 /^0/ { 10250 s/^0 *\([^ ]*\) *$/\1/ 10251 p 10252 } 10253 }' 10254 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10255 # Check for a 64-bit object if we didn't find anything. 10256 if test -z "$lt_cv_aix_libpath_"; then 10257 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10258 fi 10259fi 10260rm -f core conftest.err conftest.$ac_objext \ 10261 conftest$ac_exeext conftest.$ac_ext 10262 if test -z "$lt_cv_aix_libpath_"; then 10263 lt_cv_aix_libpath_=/usr/lib:/lib 10264 fi 10265 10266fi 10267 10268 aix_libpath=$lt_cv_aix_libpath_ 10269fi 10270 10271 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10272 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 10273 else 10274 if test ia64 = "$host_cpu"; then 10275 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10276 allow_undefined_flag="-z nodefs" 10277 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" 10278 else 10279 # Determine the default libpath from the value encoded in an 10280 # empty executable. 10281 if test set = "${lt_cv_aix_libpath+set}"; then 10282 aix_libpath=$lt_cv_aix_libpath 10283else 10284 if ${lt_cv_aix_libpath_+:} false; then : 10285 $as_echo_n "(cached) " >&6 10286else 10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10288/* end confdefs.h. */ 10289 10290int 10291main () 10292{ 10293 10294 ; 10295 return 0; 10296} 10297_ACEOF 10298if ac_fn_c_try_link "$LINENO"; then : 10299 10300 lt_aix_libpath_sed=' 10301 /Import File Strings/,/^$/ { 10302 /^0/ { 10303 s/^0 *\([^ ]*\) *$/\1/ 10304 p 10305 } 10306 }' 10307 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10308 # Check for a 64-bit object if we didn't find anything. 10309 if test -z "$lt_cv_aix_libpath_"; then 10310 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10311 fi 10312fi 10313rm -f core conftest.err conftest.$ac_objext \ 10314 conftest$ac_exeext conftest.$ac_ext 10315 if test -z "$lt_cv_aix_libpath_"; then 10316 lt_cv_aix_libpath_=/usr/lib:/lib 10317 fi 10318 10319fi 10320 10321 aix_libpath=$lt_cv_aix_libpath_ 10322fi 10323 10324 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10325 # Warning - without using the other run time loading flags, 10326 # -berok will link without error, but may produce a broken library. 10327 no_undefined_flag=' $wl-bernotok' 10328 allow_undefined_flag=' $wl-berok' 10329 if test yes = "$with_gnu_ld"; then 10330 # We only use this code for GNU lds that support --whole-archive. 10331 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10332 else 10333 # Exported symbols can be pulled into shared objects from archives 10334 whole_archive_flag_spec='$convenience' 10335 fi 10336 archive_cmds_need_lc=yes 10337 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10338 # -brtl affects multiple linker settings, -berok does not and is overridden later 10339 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10340 if test svr4 != "$with_aix_soname"; then 10341 # This is similar to how AIX traditionally builds its shared libraries. 10342 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' 10343 fi 10344 if test aix != "$with_aix_soname"; then 10345 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' 10346 else 10347 # used by -dlpreopen to get the symbols 10348 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10349 fi 10350 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10351 fi 10352 fi 10353 ;; 10354 10355 amigaos*) 10356 case $host_cpu in 10357 powerpc) 10358 # see comment about AmigaOS4 .so support 10359 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10360 archive_expsym_cmds='' 10361 ;; 10362 m68k) 10363 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)' 10364 hardcode_libdir_flag_spec='-L$libdir' 10365 hardcode_minus_L=yes 10366 ;; 10367 esac 10368 ;; 10369 10370 bsdi[45]*) 10371 export_dynamic_flag_spec=-rdynamic 10372 ;; 10373 10374 cygwin* | mingw* | pw32* | cegcc*) 10375 # When not using gcc, we currently assume that we are using 10376 # Microsoft Visual C++. 10377 # hardcode_libdir_flag_spec is actually meaningless, as there is 10378 # no search path for DLLs. 10379 case $cc_basename in 10380 cl*) 10381 # Native MSVC 10382 hardcode_libdir_flag_spec=' ' 10383 allow_undefined_flag=unsupported 10384 always_export_symbols=yes 10385 file_list_spec='@' 10386 # Tell ltmain to make .lib files, not .a files. 10387 libext=lib 10388 # Tell ltmain to make .dll files, not .so files. 10389 shrext_cmds=.dll 10390 # FIXME: Setting linknames here is a bad hack. 10391 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10392 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10393 cp "$export_symbols" "$output_objdir/$soname.def"; 10394 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10395 else 10396 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10397 fi~ 10398 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10399 linknames=' 10400 # The linker will not automatically build a static lib if we build a DLL. 10401 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10402 enable_shared_with_static_runtimes=yes 10403 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10404 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10405 # Don't use ranlib 10406 old_postinstall_cmds='chmod 644 $oldlib' 10407 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10408 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10409 case $lt_outputfile in 10410 *.exe|*.EXE) ;; 10411 *) 10412 lt_outputfile=$lt_outputfile.exe 10413 lt_tool_outputfile=$lt_tool_outputfile.exe 10414 ;; 10415 esac~ 10416 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10417 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10418 $RM "$lt_outputfile.manifest"; 10419 fi' 10420 ;; 10421 *) 10422 # Assume MSVC wrapper 10423 hardcode_libdir_flag_spec=' ' 10424 allow_undefined_flag=unsupported 10425 # Tell ltmain to make .lib files, not .a files. 10426 libext=lib 10427 # Tell ltmain to make .dll files, not .so files. 10428 shrext_cmds=.dll 10429 # FIXME: Setting linknames here is a bad hack. 10430 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10431 # The linker will automatically build a .lib file if we build a DLL. 10432 old_archive_from_new_cmds='true' 10433 # FIXME: Should let the user specify the lib program. 10434 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10435 enable_shared_with_static_runtimes=yes 10436 ;; 10437 esac 10438 ;; 10439 10440 darwin* | rhapsody*) 10441 10442 10443 archive_cmds_need_lc=no 10444 hardcode_direct=no 10445 hardcode_automatic=yes 10446 hardcode_shlibpath_var=unsupported 10447 if test yes = "$lt_cv_ld_force_load"; then 10448 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\"`' 10449 10450 else 10451 whole_archive_flag_spec='' 10452 fi 10453 link_all_deplibs=yes 10454 allow_undefined_flag=$_lt_dar_allow_undefined 10455 case $cc_basename in 10456 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10457 *) _lt_dar_can_shared=$GCC ;; 10458 esac 10459 if test yes = "$_lt_dar_can_shared"; then 10460 output_verbose_link_cmd=func_echo_all 10461 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10462 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10463 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" 10464 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" 10465 10466 else 10467 ld_shlibs=no 10468 fi 10469 10470 ;; 10471 10472 dgux*) 10473 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10474 hardcode_libdir_flag_spec='-L$libdir' 10475 hardcode_shlibpath_var=no 10476 ;; 10477 10478 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10479 # support. Future versions do this automatically, but an explicit c++rt0.o 10480 # does not break anything, and helps significantly (at the cost of a little 10481 # extra space). 10482 freebsd2.2*) 10483 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10484 hardcode_libdir_flag_spec='-R$libdir' 10485 hardcode_direct=yes 10486 hardcode_shlibpath_var=no 10487 ;; 10488 10489 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10490 freebsd2.*) 10491 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10492 hardcode_direct=yes 10493 hardcode_minus_L=yes 10494 hardcode_shlibpath_var=no 10495 ;; 10496 10497 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10498 freebsd* | dragonfly*) 10499 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10500 hardcode_libdir_flag_spec='-R$libdir' 10501 hardcode_direct=yes 10502 hardcode_shlibpath_var=no 10503 ;; 10504 10505 hpux9*) 10506 if test yes = "$GCC"; then 10507 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' 10508 else 10509 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' 10510 fi 10511 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10512 hardcode_libdir_separator=: 10513 hardcode_direct=yes 10514 10515 # hardcode_minus_L: Not really in the search PATH, 10516 # but as the default location of the library. 10517 hardcode_minus_L=yes 10518 export_dynamic_flag_spec='$wl-E' 10519 ;; 10520 10521 hpux10*) 10522 if test yes,no = "$GCC,$with_gnu_ld"; then 10523 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10524 else 10525 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10526 fi 10527 if test no = "$with_gnu_ld"; then 10528 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10529 hardcode_libdir_separator=: 10530 hardcode_direct=yes 10531 hardcode_direct_absolute=yes 10532 export_dynamic_flag_spec='$wl-E' 10533 # hardcode_minus_L: Not really in the search PATH, 10534 # but as the default location of the library. 10535 hardcode_minus_L=yes 10536 fi 10537 ;; 10538 10539 hpux11*) 10540 if test yes,no = "$GCC,$with_gnu_ld"; then 10541 case $host_cpu in 10542 hppa*64*) 10543 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10544 ;; 10545 ia64*) 10546 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10547 ;; 10548 *) 10549 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10550 ;; 10551 esac 10552 else 10553 case $host_cpu in 10554 hppa*64*) 10555 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10556 ;; 10557 ia64*) 10558 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10559 ;; 10560 *) 10561 10562 # Older versions of the 11.00 compiler do not understand -b yet 10563 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10565$as_echo_n "checking if $CC understands -b... " >&6; } 10566if ${lt_cv_prog_compiler__b+:} false; then : 10567 $as_echo_n "(cached) " >&6 10568else 10569 lt_cv_prog_compiler__b=no 10570 save_LDFLAGS=$LDFLAGS 10571 LDFLAGS="$LDFLAGS -b" 10572 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10573 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10574 # The linker can only warn and ignore the option if not recognized 10575 # So say no if there are warnings 10576 if test -s conftest.err; then 10577 # Append any errors to the config.log. 10578 cat conftest.err 1>&5 10579 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10580 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10581 if diff conftest.exp conftest.er2 >/dev/null; then 10582 lt_cv_prog_compiler__b=yes 10583 fi 10584 else 10585 lt_cv_prog_compiler__b=yes 10586 fi 10587 fi 10588 $RM -r conftest* 10589 LDFLAGS=$save_LDFLAGS 10590 10591fi 10592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10593$as_echo "$lt_cv_prog_compiler__b" >&6; } 10594 10595if test yes = "$lt_cv_prog_compiler__b"; then 10596 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10597else 10598 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10599fi 10600 10601 ;; 10602 esac 10603 fi 10604 if test no = "$with_gnu_ld"; then 10605 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10606 hardcode_libdir_separator=: 10607 10608 case $host_cpu in 10609 hppa*64*|ia64*) 10610 hardcode_direct=no 10611 hardcode_shlibpath_var=no 10612 ;; 10613 *) 10614 hardcode_direct=yes 10615 hardcode_direct_absolute=yes 10616 export_dynamic_flag_spec='$wl-E' 10617 10618 # hardcode_minus_L: Not really in the search PATH, 10619 # but as the default location of the library. 10620 hardcode_minus_L=yes 10621 ;; 10622 esac 10623 fi 10624 ;; 10625 10626 irix5* | irix6* | nonstopux*) 10627 if test yes = "$GCC"; then 10628 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' 10629 # Try to use the -exported_symbol ld option, if it does not 10630 # work, assume that -exports_file does not work either and 10631 # implicitly export all symbols. 10632 # This should be the same for all languages, so no per-tag cache variable. 10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10634$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10635if ${lt_cv_irix_exported_symbol+:} false; then : 10636 $as_echo_n "(cached) " >&6 10637else 10638 save_LDFLAGS=$LDFLAGS 10639 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10641/* end confdefs.h. */ 10642int foo (void) { return 0; } 10643_ACEOF 10644if ac_fn_c_try_link "$LINENO"; then : 10645 lt_cv_irix_exported_symbol=yes 10646else 10647 lt_cv_irix_exported_symbol=no 10648fi 10649rm -f core conftest.err conftest.$ac_objext \ 10650 conftest$ac_exeext conftest.$ac_ext 10651 LDFLAGS=$save_LDFLAGS 10652fi 10653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10654$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10655 if test yes = "$lt_cv_irix_exported_symbol"; then 10656 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' 10657 fi 10658 else 10659 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' 10660 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' 10661 fi 10662 archive_cmds_need_lc='no' 10663 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10664 hardcode_libdir_separator=: 10665 inherit_rpath=yes 10666 link_all_deplibs=yes 10667 ;; 10668 10669 linux*) 10670 case $cc_basename in 10671 tcc*) 10672 # Fabrice Bellard et al's Tiny C Compiler 10673 ld_shlibs=yes 10674 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10675 ;; 10676 esac 10677 ;; 10678 10679 netbsd*) 10680 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10681 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10682 else 10683 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10684 fi 10685 hardcode_libdir_flag_spec='-R$libdir' 10686 hardcode_direct=yes 10687 hardcode_shlibpath_var=no 10688 ;; 10689 10690 newsos6) 10691 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10692 hardcode_direct=yes 10693 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10694 hardcode_libdir_separator=: 10695 hardcode_shlibpath_var=no 10696 ;; 10697 10698 *nto* | *qnx*) 10699 ;; 10700 10701 openbsd* | bitrig*) 10702 if test -f /usr/libexec/ld.so; then 10703 hardcode_direct=yes 10704 hardcode_shlibpath_var=no 10705 hardcode_direct_absolute=yes 10706 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10707 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10708 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10709 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10710 export_dynamic_flag_spec='$wl-E' 10711 else 10712 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10713 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10714 fi 10715 else 10716 ld_shlibs=no 10717 fi 10718 ;; 10719 10720 os2*) 10721 hardcode_libdir_flag_spec='-L$libdir' 10722 hardcode_minus_L=yes 10723 allow_undefined_flag=unsupported 10724 shrext_cmds=.dll 10725 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10726 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10727 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10728 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10729 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10730 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10731 emximp -o $lib $output_objdir/$libname.def' 10732 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10733 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10734 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10735 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10736 prefix_cmds="$SED"~ 10737 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10738 prefix_cmds="$prefix_cmds -e 1d"; 10739 fi~ 10740 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10741 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10742 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10743 emximp -o $lib $output_objdir/$libname.def' 10744 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10745 enable_shared_with_static_runtimes=yes 10746 ;; 10747 10748 osf3*) 10749 if test yes = "$GCC"; then 10750 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10751 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' 10752 else 10753 allow_undefined_flag=' -expect_unresolved \*' 10754 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' 10755 fi 10756 archive_cmds_need_lc='no' 10757 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10758 hardcode_libdir_separator=: 10759 ;; 10760 10761 osf4* | osf5*) # as osf3* with the addition of -msym flag 10762 if test yes = "$GCC"; then 10763 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10764 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' 10765 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10766 else 10767 allow_undefined_flag=' -expect_unresolved \*' 10768 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' 10769 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~ 10770 $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' 10771 10772 # Both c and cxx compiler support -rpath directly 10773 hardcode_libdir_flag_spec='-rpath $libdir' 10774 fi 10775 archive_cmds_need_lc='no' 10776 hardcode_libdir_separator=: 10777 ;; 10778 10779 solaris*) 10780 no_undefined_flag=' -z defs' 10781 if test yes = "$GCC"; then 10782 wlarc='$wl' 10783 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10784 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10785 $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' 10786 else 10787 case `$CC -V 2>&1` in 10788 *"Compilers 5.0"*) 10789 wlarc='' 10790 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10791 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10792 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10793 ;; 10794 *) 10795 wlarc='$wl' 10796 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10797 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10798 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10799 ;; 10800 esac 10801 fi 10802 hardcode_libdir_flag_spec='-R$libdir' 10803 hardcode_shlibpath_var=no 10804 case $host_os in 10805 solaris2.[0-5] | solaris2.[0-5].*) ;; 10806 *) 10807 # The compiler driver will combine and reorder linker options, 10808 # but understands '-z linker_flag'. GCC discards it without '$wl', 10809 # but is careful enough not to reorder. 10810 # Supported since Solaris 2.6 (maybe 2.5.1?) 10811 if test yes = "$GCC"; then 10812 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10813 else 10814 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10815 fi 10816 ;; 10817 esac 10818 link_all_deplibs=yes 10819 ;; 10820 10821 sunos4*) 10822 if test sequent = "$host_vendor"; then 10823 # Use $CC to link under sequent, because it throws in some extra .o 10824 # files that make .init and .fini sections work. 10825 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10826 else 10827 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10828 fi 10829 hardcode_libdir_flag_spec='-L$libdir' 10830 hardcode_direct=yes 10831 hardcode_minus_L=yes 10832 hardcode_shlibpath_var=no 10833 ;; 10834 10835 sysv4) 10836 case $host_vendor in 10837 sni) 10838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10839 hardcode_direct=yes # is this really true??? 10840 ;; 10841 siemens) 10842 ## LD is ld it makes a PLAMLIB 10843 ## CC just makes a GrossModule. 10844 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10845 reload_cmds='$CC -r -o $output$reload_objs' 10846 hardcode_direct=no 10847 ;; 10848 motorola) 10849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10850 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10851 ;; 10852 esac 10853 runpath_var='LD_RUN_PATH' 10854 hardcode_shlibpath_var=no 10855 ;; 10856 10857 sysv4.3*) 10858 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10859 hardcode_shlibpath_var=no 10860 export_dynamic_flag_spec='-Bexport' 10861 ;; 10862 10863 sysv4*MP*) 10864 if test -d /usr/nec; then 10865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10866 hardcode_shlibpath_var=no 10867 runpath_var=LD_RUN_PATH 10868 hardcode_runpath_var=yes 10869 ld_shlibs=yes 10870 fi 10871 ;; 10872 10873 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10874 no_undefined_flag='$wl-z,text' 10875 archive_cmds_need_lc=no 10876 hardcode_shlibpath_var=no 10877 runpath_var='LD_RUN_PATH' 10878 10879 if test yes = "$GCC"; then 10880 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10881 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10882 else 10883 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10884 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10885 fi 10886 ;; 10887 10888 sysv5* | sco3.2v5* | sco5v6*) 10889 # Note: We CANNOT use -z defs as we might desire, because we do not 10890 # link with -lc, and that would cause any symbols used from libc to 10891 # always be unresolved, which means just about no library would 10892 # ever link correctly. If we're not using GNU ld we use -z text 10893 # though, which does catch some bad symbols but isn't as heavy-handed 10894 # as -z defs. 10895 no_undefined_flag='$wl-z,text' 10896 allow_undefined_flag='$wl-z,nodefs' 10897 archive_cmds_need_lc=no 10898 hardcode_shlibpath_var=no 10899 hardcode_libdir_flag_spec='$wl-R,$libdir' 10900 hardcode_libdir_separator=':' 10901 link_all_deplibs=yes 10902 export_dynamic_flag_spec='$wl-Bexport' 10903 runpath_var='LD_RUN_PATH' 10904 10905 if test yes = "$GCC"; then 10906 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10907 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10908 else 10909 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10910 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10911 fi 10912 ;; 10913 10914 uts4*) 10915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10916 hardcode_libdir_flag_spec='-L$libdir' 10917 hardcode_shlibpath_var=no 10918 ;; 10919 10920 *) 10921 ld_shlibs=no 10922 ;; 10923 esac 10924 10925 if test sni = "$host_vendor"; then 10926 case $host in 10927 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10928 export_dynamic_flag_spec='$wl-Blargedynsym' 10929 ;; 10930 esac 10931 fi 10932 fi 10933 10934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10935$as_echo "$ld_shlibs" >&6; } 10936test no = "$ld_shlibs" && can_build_shared=no 10937 10938with_gnu_ld=$with_gnu_ld 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954# 10955# Do we need to explicitly link libc? 10956# 10957case "x$archive_cmds_need_lc" in 10958x|xyes) 10959 # Assume -lc should be added 10960 archive_cmds_need_lc=yes 10961 10962 if test yes,yes = "$GCC,$enable_shared"; then 10963 case $archive_cmds in 10964 *'~'*) 10965 # FIXME: we may have to deal with multi-command sequences. 10966 ;; 10967 '$CC '*) 10968 # Test whether the compiler implicitly links with -lc since on some 10969 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10970 # to ld, don't add -lc before -lgcc. 10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10972$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10973if ${lt_cv_archive_cmds_need_lc+:} false; then : 10974 $as_echo_n "(cached) " >&6 10975else 10976 $RM conftest* 10977 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10978 10979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10980 (eval $ac_compile) 2>&5 10981 ac_status=$? 10982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10983 test $ac_status = 0; } 2>conftest.err; then 10984 soname=conftest 10985 lib=conftest 10986 libobjs=conftest.$ac_objext 10987 deplibs= 10988 wl=$lt_prog_compiler_wl 10989 pic_flag=$lt_prog_compiler_pic 10990 compiler_flags=-v 10991 linker_flags=-v 10992 verstring= 10993 output_objdir=. 10994 libname=conftest 10995 lt_save_allow_undefined_flag=$allow_undefined_flag 10996 allow_undefined_flag= 10997 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10998 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10999 ac_status=$? 11000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11001 test $ac_status = 0; } 11002 then 11003 lt_cv_archive_cmds_need_lc=no 11004 else 11005 lt_cv_archive_cmds_need_lc=yes 11006 fi 11007 allow_undefined_flag=$lt_save_allow_undefined_flag 11008 else 11009 cat conftest.err 1>&5 11010 fi 11011 $RM conftest* 11012 11013fi 11014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11015$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11016 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11017 ;; 11018 esac 11019 fi 11020 ;; 11021esac 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11175$as_echo_n "checking dynamic linker characteristics... " >&6; } 11176 11177if test yes = "$GCC"; then 11178 case $host_os in 11179 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11180 *) lt_awk_arg='/^libraries:/' ;; 11181 esac 11182 case $host_os in 11183 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11184 *) lt_sed_strip_eq='s|=/|/|g' ;; 11185 esac 11186 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11187 case $lt_search_path_spec in 11188 *\;*) 11189 # if the path contains ";" then we assume it to be the separator 11190 # otherwise default to the standard path separator (i.e. ":") - it is 11191 # assumed that no part of a normal pathname contains ";" but that should 11192 # okay in the real world where ";" in dirpaths is itself problematic. 11193 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11194 ;; 11195 *) 11196 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11197 ;; 11198 esac 11199 # Ok, now we have the path, separated by spaces, we can step through it 11200 # and add multilib dir if necessary... 11201 lt_tmp_lt_search_path_spec= 11202 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11203 # ...but if some path component already ends with the multilib dir we assume 11204 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11205 case "$lt_multi_os_dir; $lt_search_path_spec " in 11206 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11207 lt_multi_os_dir= 11208 ;; 11209 esac 11210 for lt_sys_path in $lt_search_path_spec; do 11211 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11212 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11213 elif test -n "$lt_multi_os_dir"; then 11214 test -d "$lt_sys_path" && \ 11215 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11216 fi 11217 done 11218 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11219BEGIN {RS = " "; FS = "/|\n";} { 11220 lt_foo = ""; 11221 lt_count = 0; 11222 for (lt_i = NF; lt_i > 0; lt_i--) { 11223 if ($lt_i != "" && $lt_i != ".") { 11224 if ($lt_i == "..") { 11225 lt_count++; 11226 } else { 11227 if (lt_count == 0) { 11228 lt_foo = "/" $lt_i lt_foo; 11229 } else { 11230 lt_count--; 11231 } 11232 } 11233 } 11234 } 11235 if (lt_foo != "") { lt_freq[lt_foo]++; } 11236 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11237}'` 11238 # AWK program above erroneously prepends '/' to C:/dos/paths 11239 # for these hosts. 11240 case $host_os in 11241 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11242 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11243 esac 11244 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11245else 11246 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11247fi 11248library_names_spec= 11249libname_spec='lib$name' 11250soname_spec= 11251shrext_cmds=.so 11252postinstall_cmds= 11253postuninstall_cmds= 11254finish_cmds= 11255finish_eval= 11256shlibpath_var= 11257shlibpath_overrides_runpath=unknown 11258version_type=none 11259dynamic_linker="$host_os ld.so" 11260sys_lib_dlsearch_path_spec="/lib /usr/lib" 11261need_lib_prefix=unknown 11262hardcode_into_libs=no 11263 11264# when you set need_version to no, make sure it does not cause -set_version 11265# flags to be left without arguments 11266need_version=unknown 11267 11268 11269 11270case $host_os in 11271aix3*) 11272 version_type=linux # correct to gnu/linux during the next big refactor 11273 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11274 shlibpath_var=LIBPATH 11275 11276 # AIX 3 has no versioning support, so we append a major version to the name. 11277 soname_spec='$libname$release$shared_ext$major' 11278 ;; 11279 11280aix[4-9]*) 11281 version_type=linux # correct to gnu/linux during the next big refactor 11282 need_lib_prefix=no 11283 need_version=no 11284 hardcode_into_libs=yes 11285 if test ia64 = "$host_cpu"; then 11286 # AIX 5 supports IA64 11287 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11288 shlibpath_var=LD_LIBRARY_PATH 11289 else 11290 # With GCC up to 2.95.x, collect2 would create an import file 11291 # for dependence libraries. The import file would start with 11292 # the line '#! .'. This would cause the generated library to 11293 # depend on '.', always an invalid library. This was fixed in 11294 # development snapshots of GCC prior to 3.0. 11295 case $host_os in 11296 aix4 | aix4.[01] | aix4.[01].*) 11297 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11298 echo ' yes ' 11299 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11300 : 11301 else 11302 can_build_shared=no 11303 fi 11304 ;; 11305 esac 11306 # Using Import Files as archive members, it is possible to support 11307 # filename-based versioning of shared library archives on AIX. While 11308 # this would work for both with and without runtime linking, it will 11309 # prevent static linking of such archives. So we do filename-based 11310 # shared library versioning with .so extension only, which is used 11311 # when both runtime linking and shared linking is enabled. 11312 # Unfortunately, runtime linking may impact performance, so we do 11313 # not want this to be the default eventually. Also, we use the 11314 # versioned .so libs for executables only if there is the -brtl 11315 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11316 # To allow for filename-based versioning support, we need to create 11317 # libNAME.so.V as an archive file, containing: 11318 # *) an Import File, referring to the versioned filename of the 11319 # archive as well as the shared archive member, telling the 11320 # bitwidth (32 or 64) of that shared object, and providing the 11321 # list of exported symbols of that shared object, eventually 11322 # decorated with the 'weak' keyword 11323 # *) the shared object with the F_LOADONLY flag set, to really avoid 11324 # it being seen by the linker. 11325 # At run time we better use the real file rather than another symlink, 11326 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11327 11328 case $with_aix_soname,$aix_use_runtimelinking in 11329 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11330 # soname into executable. Probably we can add versioning support to 11331 # collect2, so additional links can be useful in future. 11332 aix,yes) # traditional libtool 11333 dynamic_linker='AIX unversionable lib.so' 11334 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11335 # instead of lib<name>.a to let people know that these are not 11336 # typical AIX shared libraries. 11337 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11338 ;; 11339 aix,no) # traditional AIX only 11340 dynamic_linker='AIX lib.a(lib.so.V)' 11341 # We preserve .a as extension for shared libraries through AIX4.2 11342 # and later when we are not doing run time linking. 11343 library_names_spec='$libname$release.a $libname.a' 11344 soname_spec='$libname$release$shared_ext$major' 11345 ;; 11346 svr4,*) # full svr4 only 11347 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11348 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11349 # We do not specify a path in Import Files, so LIBPATH fires. 11350 shlibpath_overrides_runpath=yes 11351 ;; 11352 *,yes) # both, prefer svr4 11353 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11354 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11355 # unpreferred sharedlib libNAME.a needs extra handling 11356 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"' 11357 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"' 11358 # We do not specify a path in Import Files, so LIBPATH fires. 11359 shlibpath_overrides_runpath=yes 11360 ;; 11361 *,no) # both, prefer aix 11362 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11363 library_names_spec='$libname$release.a $libname.a' 11364 soname_spec='$libname$release$shared_ext$major' 11365 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11366 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)' 11367 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"' 11368 ;; 11369 esac 11370 shlibpath_var=LIBPATH 11371 fi 11372 ;; 11373 11374amigaos*) 11375 case $host_cpu in 11376 powerpc) 11377 # Since July 2007 AmigaOS4 officially supports .so libraries. 11378 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11379 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11380 ;; 11381 m68k) 11382 library_names_spec='$libname.ixlibrary $libname.a' 11383 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11384 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' 11385 ;; 11386 esac 11387 ;; 11388 11389beos*) 11390 library_names_spec='$libname$shared_ext' 11391 dynamic_linker="$host_os ld.so" 11392 shlibpath_var=LIBRARY_PATH 11393 ;; 11394 11395bsdi[45]*) 11396 version_type=linux # correct to gnu/linux during the next big refactor 11397 need_version=no 11398 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11399 soname_spec='$libname$release$shared_ext$major' 11400 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11401 shlibpath_var=LD_LIBRARY_PATH 11402 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11403 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11404 # the default ld.so.conf also contains /usr/contrib/lib and 11405 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11406 # libtool to hard-code these into programs 11407 ;; 11408 11409cygwin* | mingw* | pw32* | cegcc*) 11410 version_type=windows 11411 shrext_cmds=.dll 11412 need_version=no 11413 need_lib_prefix=no 11414 11415 case $GCC,$cc_basename in 11416 yes,*) 11417 # gcc 11418 library_names_spec='$libname.dll.a' 11419 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11420 postinstall_cmds='base_file=`basename \$file`~ 11421 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11422 dldir=$destdir/`dirname \$dlpath`~ 11423 test -d \$dldir || mkdir -p \$dldir~ 11424 $install_prog $dir/$dlname \$dldir/$dlname~ 11425 chmod a+x \$dldir/$dlname~ 11426 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11427 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11428 fi' 11429 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11430 dlpath=$dir/\$dldll~ 11431 $RM \$dlpath' 11432 shlibpath_overrides_runpath=yes 11433 11434 case $host_os in 11435 cygwin*) 11436 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11437 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11438 11439 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11440 ;; 11441 mingw* | cegcc*) 11442 # MinGW DLLs use traditional 'lib' prefix 11443 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11444 ;; 11445 pw32*) 11446 # pw32 DLLs use 'pw' prefix rather than 'lib' 11447 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11448 ;; 11449 esac 11450 dynamic_linker='Win32 ld.exe' 11451 ;; 11452 11453 *,cl*) 11454 # Native MSVC 11455 libname_spec='$name' 11456 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11457 library_names_spec='$libname.dll.lib' 11458 11459 case $build_os in 11460 mingw*) 11461 sys_lib_search_path_spec= 11462 lt_save_ifs=$IFS 11463 IFS=';' 11464 for lt_path in $LIB 11465 do 11466 IFS=$lt_save_ifs 11467 # Let DOS variable expansion print the short 8.3 style file name. 11468 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11469 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11470 done 11471 IFS=$lt_save_ifs 11472 # Convert to MSYS style. 11473 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11474 ;; 11475 cygwin*) 11476 # Convert to unix form, then to dos form, then back to unix form 11477 # but this time dos style (no spaces!) so that the unix form looks 11478 # like /cygdrive/c/PROGRA~1:/cygdr... 11479 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11480 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11481 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11482 ;; 11483 *) 11484 sys_lib_search_path_spec=$LIB 11485 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11486 # It is most probably a Windows format PATH. 11487 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11488 else 11489 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11490 fi 11491 # FIXME: find the short name or the path components, as spaces are 11492 # common. (e.g. "Program Files" -> "PROGRA~1") 11493 ;; 11494 esac 11495 11496 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11497 postinstall_cmds='base_file=`basename \$file`~ 11498 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11499 dldir=$destdir/`dirname \$dlpath`~ 11500 test -d \$dldir || mkdir -p \$dldir~ 11501 $install_prog $dir/$dlname \$dldir/$dlname' 11502 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11503 dlpath=$dir/\$dldll~ 11504 $RM \$dlpath' 11505 shlibpath_overrides_runpath=yes 11506 dynamic_linker='Win32 link.exe' 11507 ;; 11508 11509 *) 11510 # Assume MSVC wrapper 11511 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11512 dynamic_linker='Win32 ld.exe' 11513 ;; 11514 esac 11515 # FIXME: first we should search . and the directory the executable is in 11516 shlibpath_var=PATH 11517 ;; 11518 11519darwin* | rhapsody*) 11520 dynamic_linker="$host_os dyld" 11521 version_type=darwin 11522 need_lib_prefix=no 11523 need_version=no 11524 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11525 soname_spec='$libname$release$major$shared_ext' 11526 shlibpath_overrides_runpath=yes 11527 shlibpath_var=DYLD_LIBRARY_PATH 11528 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11529 11530 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11531 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11532 ;; 11533 11534dgux*) 11535 version_type=linux # correct to gnu/linux during the next big refactor 11536 need_lib_prefix=no 11537 need_version=no 11538 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11539 soname_spec='$libname$release$shared_ext$major' 11540 shlibpath_var=LD_LIBRARY_PATH 11541 ;; 11542 11543freebsd* | dragonfly*) 11544 # DragonFly does not have aout. When/if they implement a new 11545 # versioning mechanism, adjust this. 11546 if test -x /usr/bin/objformat; then 11547 objformat=`/usr/bin/objformat` 11548 else 11549 case $host_os in 11550 freebsd[23].*) objformat=aout ;; 11551 *) objformat=elf ;; 11552 esac 11553 fi 11554 version_type=freebsd-$objformat 11555 case $version_type in 11556 freebsd-elf*) 11557 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11558 soname_spec='$libname$release$shared_ext$major' 11559 need_version=no 11560 need_lib_prefix=no 11561 ;; 11562 freebsd-*) 11563 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11564 need_version=yes 11565 ;; 11566 esac 11567 shlibpath_var=LD_LIBRARY_PATH 11568 case $host_os in 11569 freebsd2.*) 11570 shlibpath_overrides_runpath=yes 11571 ;; 11572 freebsd3.[01]* | freebsdelf3.[01]*) 11573 shlibpath_overrides_runpath=yes 11574 hardcode_into_libs=yes 11575 ;; 11576 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11577 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11578 shlibpath_overrides_runpath=no 11579 hardcode_into_libs=yes 11580 ;; 11581 *) # from 4.6 on, and DragonFly 11582 shlibpath_overrides_runpath=yes 11583 hardcode_into_libs=yes 11584 ;; 11585 esac 11586 ;; 11587 11588haiku*) 11589 version_type=linux # correct to gnu/linux during the next big refactor 11590 need_lib_prefix=no 11591 need_version=no 11592 dynamic_linker="$host_os runtime_loader" 11593 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11594 soname_spec='$libname$release$shared_ext$major' 11595 shlibpath_var=LIBRARY_PATH 11596 shlibpath_overrides_runpath=no 11597 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11598 hardcode_into_libs=yes 11599 ;; 11600 11601hpux9* | hpux10* | hpux11*) 11602 # Give a soname corresponding to the major version so that dld.sl refuses to 11603 # link against other versions. 11604 version_type=sunos 11605 need_lib_prefix=no 11606 need_version=no 11607 case $host_cpu in 11608 ia64*) 11609 shrext_cmds='.so' 11610 hardcode_into_libs=yes 11611 dynamic_linker="$host_os dld.so" 11612 shlibpath_var=LD_LIBRARY_PATH 11613 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11614 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11615 soname_spec='$libname$release$shared_ext$major' 11616 if test 32 = "$HPUX_IA64_MODE"; then 11617 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11618 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11619 else 11620 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11621 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11622 fi 11623 ;; 11624 hppa*64*) 11625 shrext_cmds='.sl' 11626 hardcode_into_libs=yes 11627 dynamic_linker="$host_os dld.sl" 11628 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11629 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11630 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11631 soname_spec='$libname$release$shared_ext$major' 11632 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11633 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11634 ;; 11635 *) 11636 shrext_cmds='.sl' 11637 dynamic_linker="$host_os dld.sl" 11638 shlibpath_var=SHLIB_PATH 11639 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11640 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11641 soname_spec='$libname$release$shared_ext$major' 11642 ;; 11643 esac 11644 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11645 postinstall_cmds='chmod 555 $lib' 11646 # or fails outright, so override atomically: 11647 install_override_mode=555 11648 ;; 11649 11650interix[3-9]*) 11651 version_type=linux # correct to gnu/linux during the next big refactor 11652 need_lib_prefix=no 11653 need_version=no 11654 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11655 soname_spec='$libname$release$shared_ext$major' 11656 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11657 shlibpath_var=LD_LIBRARY_PATH 11658 shlibpath_overrides_runpath=no 11659 hardcode_into_libs=yes 11660 ;; 11661 11662irix5* | irix6* | nonstopux*) 11663 case $host_os in 11664 nonstopux*) version_type=nonstopux ;; 11665 *) 11666 if test yes = "$lt_cv_prog_gnu_ld"; then 11667 version_type=linux # correct to gnu/linux during the next big refactor 11668 else 11669 version_type=irix 11670 fi ;; 11671 esac 11672 need_lib_prefix=no 11673 need_version=no 11674 soname_spec='$libname$release$shared_ext$major' 11675 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11676 case $host_os in 11677 irix5* | nonstopux*) 11678 libsuff= shlibsuff= 11679 ;; 11680 *) 11681 case $LD in # libtool.m4 will add one of these switches to LD 11682 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11683 libsuff= shlibsuff= libmagic=32-bit;; 11684 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11685 libsuff=32 shlibsuff=N32 libmagic=N32;; 11686 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11687 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11688 *) libsuff= shlibsuff= libmagic=never-match;; 11689 esac 11690 ;; 11691 esac 11692 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11693 shlibpath_overrides_runpath=no 11694 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11695 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11696 hardcode_into_libs=yes 11697 ;; 11698 11699# No shared lib support for Linux oldld, aout, or coff. 11700linux*oldld* | linux*aout* | linux*coff*) 11701 dynamic_linker=no 11702 ;; 11703 11704linux*android*) 11705 version_type=none # Android doesn't support versioned libraries. 11706 need_lib_prefix=no 11707 need_version=no 11708 library_names_spec='$libname$release$shared_ext' 11709 soname_spec='$libname$release$shared_ext' 11710 finish_cmds= 11711 shlibpath_var=LD_LIBRARY_PATH 11712 shlibpath_overrides_runpath=yes 11713 11714 # This implies no fast_install, which is unacceptable. 11715 # Some rework will be needed to allow for fast_install 11716 # before this can be enabled. 11717 hardcode_into_libs=yes 11718 11719 dynamic_linker='Android linker' 11720 # Don't embed -rpath directories since the linker doesn't support them. 11721 hardcode_libdir_flag_spec='-L$libdir' 11722 ;; 11723 11724# This must be glibc/ELF. 11725linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11726 version_type=linux # correct to gnu/linux during the next big refactor 11727 need_lib_prefix=no 11728 need_version=no 11729 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11730 soname_spec='$libname$release$shared_ext$major' 11731 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11732 shlibpath_var=LD_LIBRARY_PATH 11733 shlibpath_overrides_runpath=no 11734 11735 # Some binutils ld are patched to set DT_RUNPATH 11736 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11737 $as_echo_n "(cached) " >&6 11738else 11739 lt_cv_shlibpath_overrides_runpath=no 11740 save_LDFLAGS=$LDFLAGS 11741 save_libdir=$libdir 11742 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11743 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11745/* end confdefs.h. */ 11746 11747int 11748main () 11749{ 11750 11751 ; 11752 return 0; 11753} 11754_ACEOF 11755if ac_fn_c_try_link "$LINENO"; then : 11756 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11757 lt_cv_shlibpath_overrides_runpath=yes 11758fi 11759fi 11760rm -f core conftest.err conftest.$ac_objext \ 11761 conftest$ac_exeext conftest.$ac_ext 11762 LDFLAGS=$save_LDFLAGS 11763 libdir=$save_libdir 11764 11765fi 11766 11767 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11768 11769 # This implies no fast_install, which is unacceptable. 11770 # Some rework will be needed to allow for fast_install 11771 # before this can be enabled. 11772 hardcode_into_libs=yes 11773 11774 # Ideally, we could use ldconfig to report *all* directores which are 11775 # searched for libraries, however this is still not possible. Aside from not 11776 # being certain /sbin/ldconfig is available, command 11777 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11778 # even though it is searched at run-time. Try to do the best guess by 11779 # appending ld.so.conf contents (and includes) to the search path. 11780 if test -f /etc/ld.so.conf; then 11781 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' ' '` 11782 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11783 fi 11784 11785 # We used to test for /lib/ld.so.1 and disable shared libraries on 11786 # powerpc, because MkLinux only supported shared libraries with the 11787 # GNU dynamic linker. Since this was broken with cross compilers, 11788 # most powerpc-linux boxes support dynamic linking these days and 11789 # people can always --disable-shared, the test was removed, and we 11790 # assume the GNU/Linux dynamic linker is in use. 11791 dynamic_linker='GNU/Linux ld.so' 11792 ;; 11793 11794netbsd*) 11795 version_type=sunos 11796 need_lib_prefix=no 11797 need_version=no 11798 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11799 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11800 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11801 dynamic_linker='NetBSD (a.out) ld.so' 11802 else 11803 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11804 soname_spec='$libname$release$shared_ext$major' 11805 dynamic_linker='NetBSD ld.elf_so' 11806 fi 11807 shlibpath_var=LD_LIBRARY_PATH 11808 shlibpath_overrides_runpath=yes 11809 hardcode_into_libs=yes 11810 ;; 11811 11812newsos6) 11813 version_type=linux # correct to gnu/linux during the next big refactor 11814 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11815 shlibpath_var=LD_LIBRARY_PATH 11816 shlibpath_overrides_runpath=yes 11817 ;; 11818 11819*nto* | *qnx*) 11820 version_type=qnx 11821 need_lib_prefix=no 11822 need_version=no 11823 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11824 soname_spec='$libname$release$shared_ext$major' 11825 shlibpath_var=LD_LIBRARY_PATH 11826 shlibpath_overrides_runpath=no 11827 hardcode_into_libs=yes 11828 dynamic_linker='ldqnx.so' 11829 ;; 11830 11831openbsd* | bitrig*) 11832 version_type=sunos 11833 sys_lib_dlsearch_path_spec=/usr/lib 11834 need_lib_prefix=no 11835 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11836 need_version=no 11837 else 11838 need_version=yes 11839 fi 11840 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11841 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11842 shlibpath_var=LD_LIBRARY_PATH 11843 shlibpath_overrides_runpath=yes 11844 ;; 11845 11846os2*) 11847 libname_spec='$name' 11848 version_type=windows 11849 shrext_cmds=.dll 11850 need_version=no 11851 need_lib_prefix=no 11852 # OS/2 can only load a DLL with a base name of 8 characters or less. 11853 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11854 v=$($ECHO $release$versuffix | tr -d .-); 11855 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11856 $ECHO $n$v`$shared_ext' 11857 library_names_spec='${libname}_dll.$libext' 11858 dynamic_linker='OS/2 ld.exe' 11859 shlibpath_var=BEGINLIBPATH 11860 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11861 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11862 postinstall_cmds='base_file=`basename \$file`~ 11863 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11864 dldir=$destdir/`dirname \$dlpath`~ 11865 test -d \$dldir || mkdir -p \$dldir~ 11866 $install_prog $dir/$dlname \$dldir/$dlname~ 11867 chmod a+x \$dldir/$dlname~ 11868 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11869 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11870 fi' 11871 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11872 dlpath=$dir/\$dldll~ 11873 $RM \$dlpath' 11874 ;; 11875 11876osf3* | osf4* | osf5*) 11877 version_type=osf 11878 need_lib_prefix=no 11879 need_version=no 11880 soname_spec='$libname$release$shared_ext$major' 11881 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11882 shlibpath_var=LD_LIBRARY_PATH 11883 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11884 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11885 ;; 11886 11887rdos*) 11888 dynamic_linker=no 11889 ;; 11890 11891solaris*) 11892 version_type=linux # correct to gnu/linux during the next big refactor 11893 need_lib_prefix=no 11894 need_version=no 11895 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11896 soname_spec='$libname$release$shared_ext$major' 11897 shlibpath_var=LD_LIBRARY_PATH 11898 shlibpath_overrides_runpath=yes 11899 hardcode_into_libs=yes 11900 # ldd complains unless libraries are executable 11901 postinstall_cmds='chmod +x $lib' 11902 ;; 11903 11904sunos4*) 11905 version_type=sunos 11906 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11907 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11908 shlibpath_var=LD_LIBRARY_PATH 11909 shlibpath_overrides_runpath=yes 11910 if test yes = "$with_gnu_ld"; then 11911 need_lib_prefix=no 11912 fi 11913 need_version=yes 11914 ;; 11915 11916sysv4 | sysv4.3*) 11917 version_type=linux # correct to gnu/linux during the next big refactor 11918 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11919 soname_spec='$libname$release$shared_ext$major' 11920 shlibpath_var=LD_LIBRARY_PATH 11921 case $host_vendor in 11922 sni) 11923 shlibpath_overrides_runpath=no 11924 need_lib_prefix=no 11925 runpath_var=LD_RUN_PATH 11926 ;; 11927 siemens) 11928 need_lib_prefix=no 11929 ;; 11930 motorola) 11931 need_lib_prefix=no 11932 need_version=no 11933 shlibpath_overrides_runpath=no 11934 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11935 ;; 11936 esac 11937 ;; 11938 11939sysv4*MP*) 11940 if test -d /usr/nec; then 11941 version_type=linux # correct to gnu/linux during the next big refactor 11942 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11943 soname_spec='$libname$shared_ext.$major' 11944 shlibpath_var=LD_LIBRARY_PATH 11945 fi 11946 ;; 11947 11948sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11949 version_type=sco 11950 need_lib_prefix=no 11951 need_version=no 11952 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11953 soname_spec='$libname$release$shared_ext$major' 11954 shlibpath_var=LD_LIBRARY_PATH 11955 shlibpath_overrides_runpath=yes 11956 hardcode_into_libs=yes 11957 if test yes = "$with_gnu_ld"; then 11958 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11959 else 11960 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11961 case $host_os in 11962 sco3.2v5*) 11963 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11964 ;; 11965 esac 11966 fi 11967 sys_lib_dlsearch_path_spec='/usr/lib' 11968 ;; 11969 11970tpf*) 11971 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11972 version_type=linux # correct to gnu/linux during the next big refactor 11973 need_lib_prefix=no 11974 need_version=no 11975 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11976 shlibpath_var=LD_LIBRARY_PATH 11977 shlibpath_overrides_runpath=no 11978 hardcode_into_libs=yes 11979 ;; 11980 11981uts4*) 11982 version_type=linux # correct to gnu/linux during the next big refactor 11983 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11984 soname_spec='$libname$release$shared_ext$major' 11985 shlibpath_var=LD_LIBRARY_PATH 11986 ;; 11987 11988*) 11989 dynamic_linker=no 11990 ;; 11991esac 11992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11993$as_echo "$dynamic_linker" >&6; } 11994test no = "$dynamic_linker" && can_build_shared=no 11995 11996variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11997if test yes = "$GCC"; then 11998 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11999fi 12000 12001if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12002 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12003fi 12004 12005if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12006 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12007fi 12008 12009# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12010configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12011 12012# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12013func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12014 12015# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12016configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12115$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12116hardcode_action= 12117if test -n "$hardcode_libdir_flag_spec" || 12118 test -n "$runpath_var" || 12119 test yes = "$hardcode_automatic"; then 12120 12121 # We can hardcode non-existent directories. 12122 if test no != "$hardcode_direct" && 12123 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12124 # have to relink, otherwise we might link with an installed library 12125 # when we should be linking with a yet-to-be-installed one 12126 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12127 test no != "$hardcode_minus_L"; then 12128 # Linking always hardcodes the temporary library directory. 12129 hardcode_action=relink 12130 else 12131 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12132 hardcode_action=immediate 12133 fi 12134else 12135 # We cannot hardcode anything, or else we can only hardcode existing 12136 # directories. 12137 hardcode_action=unsupported 12138fi 12139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12140$as_echo "$hardcode_action" >&6; } 12141 12142if test relink = "$hardcode_action" || 12143 test yes = "$inherit_rpath"; then 12144 # Fast installation is not supported 12145 enable_fast_install=no 12146elif test yes = "$shlibpath_overrides_runpath" || 12147 test no = "$enable_shared"; then 12148 # Fast installation is not necessary 12149 enable_fast_install=needless 12150fi 12151 12152 12153 12154 12155 12156 12157 if test yes != "$enable_dlopen"; then 12158 enable_dlopen=unknown 12159 enable_dlopen_self=unknown 12160 enable_dlopen_self_static=unknown 12161else 12162 lt_cv_dlopen=no 12163 lt_cv_dlopen_libs= 12164 12165 case $host_os in 12166 beos*) 12167 lt_cv_dlopen=load_add_on 12168 lt_cv_dlopen_libs= 12169 lt_cv_dlopen_self=yes 12170 ;; 12171 12172 mingw* | pw32* | cegcc*) 12173 lt_cv_dlopen=LoadLibrary 12174 lt_cv_dlopen_libs= 12175 ;; 12176 12177 cygwin*) 12178 lt_cv_dlopen=dlopen 12179 lt_cv_dlopen_libs= 12180 ;; 12181 12182 darwin*) 12183 # if libdl is installed we need to link against it 12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12185$as_echo_n "checking for dlopen in -ldl... " >&6; } 12186if ${ac_cv_lib_dl_dlopen+:} false; then : 12187 $as_echo_n "(cached) " >&6 12188else 12189 ac_check_lib_save_LIBS=$LIBS 12190LIBS="-ldl $LIBS" 12191cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12192/* end confdefs.h. */ 12193 12194/* Override any GCC internal prototype to avoid an error. 12195 Use char because int might match the return type of a GCC 12196 builtin and then its argument prototype would still apply. */ 12197#ifdef __cplusplus 12198extern "C" 12199#endif 12200char dlopen (); 12201int 12202main () 12203{ 12204return dlopen (); 12205 ; 12206 return 0; 12207} 12208_ACEOF 12209if ac_fn_c_try_link "$LINENO"; then : 12210 ac_cv_lib_dl_dlopen=yes 12211else 12212 ac_cv_lib_dl_dlopen=no 12213fi 12214rm -f core conftest.err conftest.$ac_objext \ 12215 conftest$ac_exeext conftest.$ac_ext 12216LIBS=$ac_check_lib_save_LIBS 12217fi 12218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12219$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12220if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12221 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12222else 12223 12224 lt_cv_dlopen=dyld 12225 lt_cv_dlopen_libs= 12226 lt_cv_dlopen_self=yes 12227 12228fi 12229 12230 ;; 12231 12232 tpf*) 12233 # Don't try to run any link tests for TPF. We know it's impossible 12234 # because TPF is a cross-compiler, and we know how we open DSOs. 12235 lt_cv_dlopen=dlopen 12236 lt_cv_dlopen_libs= 12237 lt_cv_dlopen_self=no 12238 ;; 12239 12240 *) 12241 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12242if test "x$ac_cv_func_shl_load" = xyes; then : 12243 lt_cv_dlopen=shl_load 12244else 12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12246$as_echo_n "checking for shl_load in -ldld... " >&6; } 12247if ${ac_cv_lib_dld_shl_load+:} false; then : 12248 $as_echo_n "(cached) " >&6 12249else 12250 ac_check_lib_save_LIBS=$LIBS 12251LIBS="-ldld $LIBS" 12252cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12253/* end confdefs.h. */ 12254 12255/* Override any GCC internal prototype to avoid an error. 12256 Use char because int might match the return type of a GCC 12257 builtin and then its argument prototype would still apply. */ 12258#ifdef __cplusplus 12259extern "C" 12260#endif 12261char shl_load (); 12262int 12263main () 12264{ 12265return shl_load (); 12266 ; 12267 return 0; 12268} 12269_ACEOF 12270if ac_fn_c_try_link "$LINENO"; then : 12271 ac_cv_lib_dld_shl_load=yes 12272else 12273 ac_cv_lib_dld_shl_load=no 12274fi 12275rm -f core conftest.err conftest.$ac_objext \ 12276 conftest$ac_exeext conftest.$ac_ext 12277LIBS=$ac_check_lib_save_LIBS 12278fi 12279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12280$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12281if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12282 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12283else 12284 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12285if test "x$ac_cv_func_dlopen" = xyes; then : 12286 lt_cv_dlopen=dlopen 12287else 12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12289$as_echo_n "checking for dlopen in -ldl... " >&6; } 12290if ${ac_cv_lib_dl_dlopen+:} false; then : 12291 $as_echo_n "(cached) " >&6 12292else 12293 ac_check_lib_save_LIBS=$LIBS 12294LIBS="-ldl $LIBS" 12295cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12296/* end confdefs.h. */ 12297 12298/* Override any GCC internal prototype to avoid an error. 12299 Use char because int might match the return type of a GCC 12300 builtin and then its argument prototype would still apply. */ 12301#ifdef __cplusplus 12302extern "C" 12303#endif 12304char dlopen (); 12305int 12306main () 12307{ 12308return dlopen (); 12309 ; 12310 return 0; 12311} 12312_ACEOF 12313if ac_fn_c_try_link "$LINENO"; then : 12314 ac_cv_lib_dl_dlopen=yes 12315else 12316 ac_cv_lib_dl_dlopen=no 12317fi 12318rm -f core conftest.err conftest.$ac_objext \ 12319 conftest$ac_exeext conftest.$ac_ext 12320LIBS=$ac_check_lib_save_LIBS 12321fi 12322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12323$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12324if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12325 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12326else 12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12328$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12329if ${ac_cv_lib_svld_dlopen+:} false; then : 12330 $as_echo_n "(cached) " >&6 12331else 12332 ac_check_lib_save_LIBS=$LIBS 12333LIBS="-lsvld $LIBS" 12334cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12335/* end confdefs.h. */ 12336 12337/* Override any GCC internal prototype to avoid an error. 12338 Use char because int might match the return type of a GCC 12339 builtin and then its argument prototype would still apply. */ 12340#ifdef __cplusplus 12341extern "C" 12342#endif 12343char dlopen (); 12344int 12345main () 12346{ 12347return dlopen (); 12348 ; 12349 return 0; 12350} 12351_ACEOF 12352if ac_fn_c_try_link "$LINENO"; then : 12353 ac_cv_lib_svld_dlopen=yes 12354else 12355 ac_cv_lib_svld_dlopen=no 12356fi 12357rm -f core conftest.err conftest.$ac_objext \ 12358 conftest$ac_exeext conftest.$ac_ext 12359LIBS=$ac_check_lib_save_LIBS 12360fi 12361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12362$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12363if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12364 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12365else 12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12367$as_echo_n "checking for dld_link in -ldld... " >&6; } 12368if ${ac_cv_lib_dld_dld_link+:} false; then : 12369 $as_echo_n "(cached) " >&6 12370else 12371 ac_check_lib_save_LIBS=$LIBS 12372LIBS="-ldld $LIBS" 12373cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12374/* end confdefs.h. */ 12375 12376/* Override any GCC internal prototype to avoid an error. 12377 Use char because int might match the return type of a GCC 12378 builtin and then its argument prototype would still apply. */ 12379#ifdef __cplusplus 12380extern "C" 12381#endif 12382char dld_link (); 12383int 12384main () 12385{ 12386return dld_link (); 12387 ; 12388 return 0; 12389} 12390_ACEOF 12391if ac_fn_c_try_link "$LINENO"; then : 12392 ac_cv_lib_dld_dld_link=yes 12393else 12394 ac_cv_lib_dld_dld_link=no 12395fi 12396rm -f core conftest.err conftest.$ac_objext \ 12397 conftest$ac_exeext conftest.$ac_ext 12398LIBS=$ac_check_lib_save_LIBS 12399fi 12400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12401$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12402if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12403 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12404fi 12405 12406 12407fi 12408 12409 12410fi 12411 12412 12413fi 12414 12415 12416fi 12417 12418 12419fi 12420 12421 ;; 12422 esac 12423 12424 if test no = "$lt_cv_dlopen"; then 12425 enable_dlopen=no 12426 else 12427 enable_dlopen=yes 12428 fi 12429 12430 case $lt_cv_dlopen in 12431 dlopen) 12432 save_CPPFLAGS=$CPPFLAGS 12433 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12434 12435 save_LDFLAGS=$LDFLAGS 12436 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12437 12438 save_LIBS=$LIBS 12439 LIBS="$lt_cv_dlopen_libs $LIBS" 12440 12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12442$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12443if ${lt_cv_dlopen_self+:} false; then : 12444 $as_echo_n "(cached) " >&6 12445else 12446 if test yes = "$cross_compiling"; then : 12447 lt_cv_dlopen_self=cross 12448else 12449 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12450 lt_status=$lt_dlunknown 12451 cat > conftest.$ac_ext <<_LT_EOF 12452#line $LINENO "configure" 12453#include "confdefs.h" 12454 12455#if HAVE_DLFCN_H 12456#include <dlfcn.h> 12457#endif 12458 12459#include <stdio.h> 12460 12461#ifdef RTLD_GLOBAL 12462# define LT_DLGLOBAL RTLD_GLOBAL 12463#else 12464# ifdef DL_GLOBAL 12465# define LT_DLGLOBAL DL_GLOBAL 12466# else 12467# define LT_DLGLOBAL 0 12468# endif 12469#endif 12470 12471/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12472 find out it does not work in some platform. */ 12473#ifndef LT_DLLAZY_OR_NOW 12474# ifdef RTLD_LAZY 12475# define LT_DLLAZY_OR_NOW RTLD_LAZY 12476# else 12477# ifdef DL_LAZY 12478# define LT_DLLAZY_OR_NOW DL_LAZY 12479# else 12480# ifdef RTLD_NOW 12481# define LT_DLLAZY_OR_NOW RTLD_NOW 12482# else 12483# ifdef DL_NOW 12484# define LT_DLLAZY_OR_NOW DL_NOW 12485# else 12486# define LT_DLLAZY_OR_NOW 0 12487# endif 12488# endif 12489# endif 12490# endif 12491#endif 12492 12493/* When -fvisibility=hidden is used, assume the code has been annotated 12494 correspondingly for the symbols needed. */ 12495#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12496int fnord () __attribute__((visibility("default"))); 12497#endif 12498 12499int fnord () { return 42; } 12500int main () 12501{ 12502 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12503 int status = $lt_dlunknown; 12504 12505 if (self) 12506 { 12507 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12508 else 12509 { 12510 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12511 else puts (dlerror ()); 12512 } 12513 /* dlclose (self); */ 12514 } 12515 else 12516 puts (dlerror ()); 12517 12518 return status; 12519} 12520_LT_EOF 12521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12522 (eval $ac_link) 2>&5 12523 ac_status=$? 12524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12525 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12526 (./conftest; exit; ) >&5 2>/dev/null 12527 lt_status=$? 12528 case x$lt_status in 12529 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12530 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12531 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12532 esac 12533 else : 12534 # compilation failed 12535 lt_cv_dlopen_self=no 12536 fi 12537fi 12538rm -fr conftest* 12539 12540 12541fi 12542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12543$as_echo "$lt_cv_dlopen_self" >&6; } 12544 12545 if test yes = "$lt_cv_dlopen_self"; then 12546 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12548$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12549if ${lt_cv_dlopen_self_static+:} false; then : 12550 $as_echo_n "(cached) " >&6 12551else 12552 if test yes = "$cross_compiling"; then : 12553 lt_cv_dlopen_self_static=cross 12554else 12555 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12556 lt_status=$lt_dlunknown 12557 cat > conftest.$ac_ext <<_LT_EOF 12558#line $LINENO "configure" 12559#include "confdefs.h" 12560 12561#if HAVE_DLFCN_H 12562#include <dlfcn.h> 12563#endif 12564 12565#include <stdio.h> 12566 12567#ifdef RTLD_GLOBAL 12568# define LT_DLGLOBAL RTLD_GLOBAL 12569#else 12570# ifdef DL_GLOBAL 12571# define LT_DLGLOBAL DL_GLOBAL 12572# else 12573# define LT_DLGLOBAL 0 12574# endif 12575#endif 12576 12577/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12578 find out it does not work in some platform. */ 12579#ifndef LT_DLLAZY_OR_NOW 12580# ifdef RTLD_LAZY 12581# define LT_DLLAZY_OR_NOW RTLD_LAZY 12582# else 12583# ifdef DL_LAZY 12584# define LT_DLLAZY_OR_NOW DL_LAZY 12585# else 12586# ifdef RTLD_NOW 12587# define LT_DLLAZY_OR_NOW RTLD_NOW 12588# else 12589# ifdef DL_NOW 12590# define LT_DLLAZY_OR_NOW DL_NOW 12591# else 12592# define LT_DLLAZY_OR_NOW 0 12593# endif 12594# endif 12595# endif 12596# endif 12597#endif 12598 12599/* When -fvisibility=hidden is used, assume the code has been annotated 12600 correspondingly for the symbols needed. */ 12601#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12602int fnord () __attribute__((visibility("default"))); 12603#endif 12604 12605int fnord () { return 42; } 12606int main () 12607{ 12608 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12609 int status = $lt_dlunknown; 12610 12611 if (self) 12612 { 12613 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12614 else 12615 { 12616 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12617 else puts (dlerror ()); 12618 } 12619 /* dlclose (self); */ 12620 } 12621 else 12622 puts (dlerror ()); 12623 12624 return status; 12625} 12626_LT_EOF 12627 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12628 (eval $ac_link) 2>&5 12629 ac_status=$? 12630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12631 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12632 (./conftest; exit; ) >&5 2>/dev/null 12633 lt_status=$? 12634 case x$lt_status in 12635 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12636 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12637 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12638 esac 12639 else : 12640 # compilation failed 12641 lt_cv_dlopen_self_static=no 12642 fi 12643fi 12644rm -fr conftest* 12645 12646 12647fi 12648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12649$as_echo "$lt_cv_dlopen_self_static" >&6; } 12650 fi 12651 12652 CPPFLAGS=$save_CPPFLAGS 12653 LDFLAGS=$save_LDFLAGS 12654 LIBS=$save_LIBS 12655 ;; 12656 esac 12657 12658 case $lt_cv_dlopen_self in 12659 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12660 *) enable_dlopen_self=unknown ;; 12661 esac 12662 12663 case $lt_cv_dlopen_self_static in 12664 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12665 *) enable_dlopen_self_static=unknown ;; 12666 esac 12667fi 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685striplib= 12686old_striplib= 12687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12688$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12689if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12690 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12691 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12693$as_echo "yes" >&6; } 12694else 12695# FIXME - insert some real tests, host_os isn't really good enough 12696 case $host_os in 12697 darwin*) 12698 if test -n "$STRIP"; then 12699 striplib="$STRIP -x" 12700 old_striplib="$STRIP -S" 12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12702$as_echo "yes" >&6; } 12703 else 12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12705$as_echo "no" >&6; } 12706 fi 12707 ;; 12708 *) 12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12710$as_echo "no" >&6; } 12711 ;; 12712 esac 12713fi 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 # Report what library types will actually be built 12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12728$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12730$as_echo "$can_build_shared" >&6; } 12731 12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12733$as_echo_n "checking whether to build shared libraries... " >&6; } 12734 test no = "$can_build_shared" && enable_shared=no 12735 12736 # On AIX, shared libraries and static libraries use the same namespace, and 12737 # are all built from PIC. 12738 case $host_os in 12739 aix3*) 12740 test yes = "$enable_shared" && enable_static=no 12741 if test -n "$RANLIB"; then 12742 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12743 postinstall_cmds='$RANLIB $lib' 12744 fi 12745 ;; 12746 12747 aix[4-9]*) 12748 if test ia64 != "$host_cpu"; then 12749 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12750 yes,aix,yes) ;; # shared object as lib.so file only 12751 yes,svr4,*) ;; # shared object as lib.so archive member only 12752 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12753 esac 12754 fi 12755 ;; 12756 esac 12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12758$as_echo "$enable_shared" >&6; } 12759 12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12761$as_echo_n "checking whether to build static libraries... " >&6; } 12762 # Make sure either enable_shared or enable_static is yes. 12763 test yes = "$enable_shared" || enable_static=yes 12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12765$as_echo "$enable_static" >&6; } 12766 12767 12768 12769 12770fi 12771ac_ext=c 12772ac_cpp='$CPP $CPPFLAGS' 12773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12775ac_compiler_gnu=$ac_cv_c_compiler_gnu 12776 12777CC=$lt_save_CC 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 ac_config_commands="$ac_config_commands libtool" 12794 12795 12796 12797 12798# Only expand once: 12799 12800 12801# Check whether --enable-largefile was given. 12802if test "${enable_largefile+set}" = set; then : 12803 enableval=$enable_largefile; 12804fi 12805 12806if test "$enable_largefile" != no; then 12807 12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 12809$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 12810if ${ac_cv_sys_largefile_CC+:} false; then : 12811 $as_echo_n "(cached) " >&6 12812else 12813 ac_cv_sys_largefile_CC=no 12814 if test "$GCC" != yes; then 12815 ac_save_CC=$CC 12816 while :; do 12817 # IRIX 6.2 and later do not support large files by default, 12818 # so use the C compiler's -n32 option if that helps. 12819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12820/* end confdefs.h. */ 12821#include <sys/types.h> 12822 /* Check that off_t can represent 2**63 - 1 correctly. 12823 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12824 since some C++ compilers masquerading as C compilers 12825 incorrectly reject 9223372036854775807. */ 12826#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12827 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12828 && LARGE_OFF_T % 2147483647 == 1) 12829 ? 1 : -1]; 12830int 12831main () 12832{ 12833 12834 ; 12835 return 0; 12836} 12837_ACEOF 12838 if ac_fn_c_try_compile "$LINENO"; then : 12839 break 12840fi 12841rm -f core conftest.err conftest.$ac_objext 12842 CC="$CC -n32" 12843 if ac_fn_c_try_compile "$LINENO"; then : 12844 ac_cv_sys_largefile_CC=' -n32'; break 12845fi 12846rm -f core conftest.err conftest.$ac_objext 12847 break 12848 done 12849 CC=$ac_save_CC 12850 rm -f conftest.$ac_ext 12851 fi 12852fi 12853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 12854$as_echo "$ac_cv_sys_largefile_CC" >&6; } 12855 if test "$ac_cv_sys_largefile_CC" != no; then 12856 CC=$CC$ac_cv_sys_largefile_CC 12857 fi 12858 12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 12860$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 12861if ${ac_cv_sys_file_offset_bits+:} false; then : 12862 $as_echo_n "(cached) " >&6 12863else 12864 while :; do 12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12866/* end confdefs.h. */ 12867#include <sys/types.h> 12868 /* Check that off_t can represent 2**63 - 1 correctly. 12869 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12870 since some C++ compilers masquerading as C compilers 12871 incorrectly reject 9223372036854775807. */ 12872#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12873 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12874 && LARGE_OFF_T % 2147483647 == 1) 12875 ? 1 : -1]; 12876int 12877main () 12878{ 12879 12880 ; 12881 return 0; 12882} 12883_ACEOF 12884if ac_fn_c_try_compile "$LINENO"; then : 12885 ac_cv_sys_file_offset_bits=no; break 12886fi 12887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12889/* end confdefs.h. */ 12890#define _FILE_OFFSET_BITS 64 12891#include <sys/types.h> 12892 /* Check that off_t can represent 2**63 - 1 correctly. 12893 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12894 since some C++ compilers masquerading as C compilers 12895 incorrectly reject 9223372036854775807. */ 12896#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12897 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12898 && LARGE_OFF_T % 2147483647 == 1) 12899 ? 1 : -1]; 12900int 12901main () 12902{ 12903 12904 ; 12905 return 0; 12906} 12907_ACEOF 12908if ac_fn_c_try_compile "$LINENO"; then : 12909 ac_cv_sys_file_offset_bits=64; break 12910fi 12911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12912 ac_cv_sys_file_offset_bits=unknown 12913 break 12914done 12915fi 12916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 12917$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 12918case $ac_cv_sys_file_offset_bits in #( 12919 no | unknown) ;; 12920 *) 12921cat >>confdefs.h <<_ACEOF 12922#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 12923_ACEOF 12924;; 12925esac 12926rm -rf conftest* 12927 if test $ac_cv_sys_file_offset_bits = unknown; then 12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 12929$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 12930if ${ac_cv_sys_large_files+:} false; then : 12931 $as_echo_n "(cached) " >&6 12932else 12933 while :; do 12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12935/* end confdefs.h. */ 12936#include <sys/types.h> 12937 /* Check that off_t can represent 2**63 - 1 correctly. 12938 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12939 since some C++ compilers masquerading as C compilers 12940 incorrectly reject 9223372036854775807. */ 12941#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12942 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12943 && LARGE_OFF_T % 2147483647 == 1) 12944 ? 1 : -1]; 12945int 12946main () 12947{ 12948 12949 ; 12950 return 0; 12951} 12952_ACEOF 12953if ac_fn_c_try_compile "$LINENO"; then : 12954 ac_cv_sys_large_files=no; break 12955fi 12956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12958/* end confdefs.h. */ 12959#define _LARGE_FILES 1 12960#include <sys/types.h> 12961 /* Check that off_t can represent 2**63 - 1 correctly. 12962 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12963 since some C++ compilers masquerading as C compilers 12964 incorrectly reject 9223372036854775807. */ 12965#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12966 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12967 && LARGE_OFF_T % 2147483647 == 1) 12968 ? 1 : -1]; 12969int 12970main () 12971{ 12972 12973 ; 12974 return 0; 12975} 12976_ACEOF 12977if ac_fn_c_try_compile "$LINENO"; then : 12978 ac_cv_sys_large_files=1; break 12979fi 12980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12981 ac_cv_sys_large_files=unknown 12982 break 12983done 12984fi 12985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 12986$as_echo "$ac_cv_sys_large_files" >&6; } 12987case $ac_cv_sys_large_files in #( 12988 no | unknown) ;; 12989 *) 12990cat >>confdefs.h <<_ACEOF 12991#define _LARGE_FILES $ac_cv_sys_large_files 12992_ACEOF 12993;; 12994esac 12995rm -rf conftest* 12996 fi 12997 12998 12999fi 13000 13001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 13002$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 13003if ${ac_cv_sys_largefile_source+:} false; then : 13004 $as_echo_n "(cached) " >&6 13005else 13006 while :; do 13007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13008/* end confdefs.h. */ 13009#include <sys/types.h> /* for off_t */ 13010 #include <stdio.h> 13011int 13012main () 13013{ 13014int (*fp) (FILE *, off_t, int) = fseeko; 13015 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 13016 ; 13017 return 0; 13018} 13019_ACEOF 13020if ac_fn_c_try_link "$LINENO"; then : 13021 ac_cv_sys_largefile_source=no; break 13022fi 13023rm -f core conftest.err conftest.$ac_objext \ 13024 conftest$ac_exeext conftest.$ac_ext 13025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13026/* end confdefs.h. */ 13027#define _LARGEFILE_SOURCE 1 13028#include <sys/types.h> /* for off_t */ 13029 #include <stdio.h> 13030int 13031main () 13032{ 13033int (*fp) (FILE *, off_t, int) = fseeko; 13034 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 13035 ; 13036 return 0; 13037} 13038_ACEOF 13039if ac_fn_c_try_link "$LINENO"; then : 13040 ac_cv_sys_largefile_source=1; break 13041fi 13042rm -f core conftest.err conftest.$ac_objext \ 13043 conftest$ac_exeext conftest.$ac_ext 13044 ac_cv_sys_largefile_source=unknown 13045 break 13046done 13047fi 13048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 13049$as_echo "$ac_cv_sys_largefile_source" >&6; } 13050case $ac_cv_sys_largefile_source in #( 13051 no | unknown) ;; 13052 *) 13053cat >>confdefs.h <<_ACEOF 13054#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 13055_ACEOF 13056;; 13057esac 13058rm -rf conftest* 13059 13060# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 13061# in glibc 2.1.3, but that breaks too many other things. 13062# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 13063if test $ac_cv_sys_largefile_source != unknown; then 13064 13065$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h 13066 13067fi 13068 13069ac_header_dirent=no 13070for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 13071 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 13072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 13073$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 13074if eval \${$as_ac_Header+:} false; then : 13075 $as_echo_n "(cached) " >&6 13076else 13077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13078/* end confdefs.h. */ 13079#include <sys/types.h> 13080#include <$ac_hdr> 13081 13082int 13083main () 13084{ 13085if ((DIR *) 0) 13086return 0; 13087 ; 13088 return 0; 13089} 13090_ACEOF 13091if ac_fn_c_try_compile "$LINENO"; then : 13092 eval "$as_ac_Header=yes" 13093else 13094 eval "$as_ac_Header=no" 13095fi 13096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13097fi 13098eval ac_res=\$$as_ac_Header 13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 13100$as_echo "$ac_res" >&6; } 13101if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13102 cat >>confdefs.h <<_ACEOF 13103#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 13104_ACEOF 13105 13106ac_header_dirent=$ac_hdr; break 13107fi 13108 13109done 13110# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 13111if test $ac_header_dirent = dirent.h; then 13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13113$as_echo_n "checking for library containing opendir... " >&6; } 13114if ${ac_cv_search_opendir+:} false; then : 13115 $as_echo_n "(cached) " >&6 13116else 13117 ac_func_search_save_LIBS=$LIBS 13118cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13119/* end confdefs.h. */ 13120 13121/* Override any GCC internal prototype to avoid an error. 13122 Use char because int might match the return type of a GCC 13123 builtin and then its argument prototype would still apply. */ 13124#ifdef __cplusplus 13125extern "C" 13126#endif 13127char opendir (); 13128int 13129main () 13130{ 13131return opendir (); 13132 ; 13133 return 0; 13134} 13135_ACEOF 13136for ac_lib in '' dir; do 13137 if test -z "$ac_lib"; then 13138 ac_res="none required" 13139 else 13140 ac_res=-l$ac_lib 13141 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13142 fi 13143 if ac_fn_c_try_link "$LINENO"; then : 13144 ac_cv_search_opendir=$ac_res 13145fi 13146rm -f core conftest.err conftest.$ac_objext \ 13147 conftest$ac_exeext 13148 if ${ac_cv_search_opendir+:} false; then : 13149 break 13150fi 13151done 13152if ${ac_cv_search_opendir+:} false; then : 13153 13154else 13155 ac_cv_search_opendir=no 13156fi 13157rm conftest.$ac_ext 13158LIBS=$ac_func_search_save_LIBS 13159fi 13160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13161$as_echo "$ac_cv_search_opendir" >&6; } 13162ac_res=$ac_cv_search_opendir 13163if test "$ac_res" != no; then : 13164 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13165 13166fi 13167 13168else 13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13170$as_echo_n "checking for library containing opendir... " >&6; } 13171if ${ac_cv_search_opendir+:} false; then : 13172 $as_echo_n "(cached) " >&6 13173else 13174 ac_func_search_save_LIBS=$LIBS 13175cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13176/* end confdefs.h. */ 13177 13178/* Override any GCC internal prototype to avoid an error. 13179 Use char because int might match the return type of a GCC 13180 builtin and then its argument prototype would still apply. */ 13181#ifdef __cplusplus 13182extern "C" 13183#endif 13184char opendir (); 13185int 13186main () 13187{ 13188return opendir (); 13189 ; 13190 return 0; 13191} 13192_ACEOF 13193for ac_lib in '' x; do 13194 if test -z "$ac_lib"; then 13195 ac_res="none required" 13196 else 13197 ac_res=-l$ac_lib 13198 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13199 fi 13200 if ac_fn_c_try_link "$LINENO"; then : 13201 ac_cv_search_opendir=$ac_res 13202fi 13203rm -f core conftest.err conftest.$ac_objext \ 13204 conftest$ac_exeext 13205 if ${ac_cv_search_opendir+:} false; then : 13206 break 13207fi 13208done 13209if ${ac_cv_search_opendir+:} false; then : 13210 13211else 13212 ac_cv_search_opendir=no 13213fi 13214rm conftest.$ac_ext 13215LIBS=$ac_func_search_save_LIBS 13216fi 13217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13218$as_echo "$ac_cv_search_opendir" >&6; } 13219ac_res=$ac_cv_search_opendir 13220if test "$ac_res" != no; then : 13221 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13222 13223fi 13224 13225fi 13226 13227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13228$as_echo_n "checking for ANSI C header files... " >&6; } 13229if ${ac_cv_header_stdc+:} false; then : 13230 $as_echo_n "(cached) " >&6 13231else 13232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13233/* end confdefs.h. */ 13234#include <stdlib.h> 13235#include <stdarg.h> 13236#include <string.h> 13237#include <float.h> 13238 13239int 13240main () 13241{ 13242 13243 ; 13244 return 0; 13245} 13246_ACEOF 13247if ac_fn_c_try_compile "$LINENO"; then : 13248 ac_cv_header_stdc=yes 13249else 13250 ac_cv_header_stdc=no 13251fi 13252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13253 13254if test $ac_cv_header_stdc = yes; then 13255 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13257/* end confdefs.h. */ 13258#include <string.h> 13259 13260_ACEOF 13261if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13262 $EGREP "memchr" >/dev/null 2>&1; then : 13263 13264else 13265 ac_cv_header_stdc=no 13266fi 13267rm -f conftest* 13268 13269fi 13270 13271if test $ac_cv_header_stdc = yes; then 13272 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13274/* end confdefs.h. */ 13275#include <stdlib.h> 13276 13277_ACEOF 13278if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13279 $EGREP "free" >/dev/null 2>&1; then : 13280 13281else 13282 ac_cv_header_stdc=no 13283fi 13284rm -f conftest* 13285 13286fi 13287 13288if test $ac_cv_header_stdc = yes; then 13289 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13290 if test "$cross_compiling" = yes; then : 13291 : 13292else 13293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13294/* end confdefs.h. */ 13295#include <ctype.h> 13296#include <stdlib.h> 13297#if ((' ' & 0x0FF) == 0x020) 13298# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13299# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13300#else 13301# define ISLOWER(c) \ 13302 (('a' <= (c) && (c) <= 'i') \ 13303 || ('j' <= (c) && (c) <= 'r') \ 13304 || ('s' <= (c) && (c) <= 'z')) 13305# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13306#endif 13307 13308#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13309int 13310main () 13311{ 13312 int i; 13313 for (i = 0; i < 256; i++) 13314 if (XOR (islower (i), ISLOWER (i)) 13315 || toupper (i) != TOUPPER (i)) 13316 return 2; 13317 return 0; 13318} 13319_ACEOF 13320if ac_fn_c_try_run "$LINENO"; then : 13321 13322else 13323 ac_cv_header_stdc=no 13324fi 13325rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13326 conftest.$ac_objext conftest.beam conftest.$ac_ext 13327fi 13328 13329fi 13330fi 13331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13332$as_echo "$ac_cv_header_stdc" >&6; } 13333if test $ac_cv_header_stdc = yes; then 13334 13335$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13336 13337fi 13338 13339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5 13340$as_echo_n "checking whether closedir returns void... " >&6; } 13341if ${ac_cv_func_closedir_void+:} false; then : 13342 $as_echo_n "(cached) " >&6 13343else 13344 if test "$cross_compiling" = yes; then : 13345 ac_cv_func_closedir_void=yes 13346else 13347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13348/* end confdefs.h. */ 13349$ac_includes_default 13350#include <$ac_header_dirent> 13351#ifndef __cplusplus 13352int closedir (); 13353#endif 13354 13355int 13356main () 13357{ 13358return closedir (opendir (".")) != 0; 13359 ; 13360 return 0; 13361} 13362_ACEOF 13363if ac_fn_c_try_run "$LINENO"; then : 13364 ac_cv_func_closedir_void=no 13365else 13366 ac_cv_func_closedir_void=yes 13367fi 13368rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13369 conftest.$ac_objext conftest.beam conftest.$ac_ext 13370fi 13371 13372fi 13373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5 13374$as_echo "$ac_cv_func_closedir_void" >&6; } 13375if test $ac_cv_func_closedir_void = yes; then 13376 13377$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h 13378 13379fi 13380 13381for ac_header in assert.h float.h limits.h pwd.h stdlib.h sys/param.h 13382do : 13383 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13384ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13385if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13386 cat >>confdefs.h <<_ACEOF 13387#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13388_ACEOF 13389 13390fi 13391 13392done 13393 13394for ac_func in putenv 13395do : 13396 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv" 13397if test "x$ac_cv_func_putenv" = xyes; then : 13398 cat >>confdefs.h <<_ACEOF 13399#define HAVE_PUTENV 1 13400_ACEOF 13401 13402fi 13403done 13404 13405for ac_func in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr 13406do : 13407 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13408ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13409if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13410 cat >>confdefs.h <<_ACEOF 13411#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13412_ACEOF 13413 13414fi 13415done 13416 13417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 13418$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 13419if ${ac_cv_c_const+:} false; then : 13420 $as_echo_n "(cached) " >&6 13421else 13422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13423/* end confdefs.h. */ 13424 13425int 13426main () 13427{ 13428 13429#ifndef __cplusplus 13430 /* Ultrix mips cc rejects this sort of thing. */ 13431 typedef int charset[2]; 13432 const charset cs = { 0, 0 }; 13433 /* SunOS 4.1.1 cc rejects this. */ 13434 char const *const *pcpcc; 13435 char **ppc; 13436 /* NEC SVR4.0.2 mips cc rejects this. */ 13437 struct point {int x, y;}; 13438 static struct point const zero = {0,0}; 13439 /* AIX XL C 1.02.0.0 rejects this. 13440 It does not let you subtract one const X* pointer from another in 13441 an arm of an if-expression whose if-part is not a constant 13442 expression */ 13443 const char *g = "string"; 13444 pcpcc = &g + (g ? g-g : 0); 13445 /* HPUX 7.0 cc rejects these. */ 13446 ++pcpcc; 13447 ppc = (char**) pcpcc; 13448 pcpcc = (char const *const *) ppc; 13449 { /* SCO 3.2v4 cc rejects this sort of thing. */ 13450 char tx; 13451 char *t = &tx; 13452 char const *s = 0 ? (char *) 0 : (char const *) 0; 13453 13454 *t++ = 0; 13455 if (s) return 0; 13456 } 13457 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 13458 int x[] = {25, 17}; 13459 const int *foo = &x[0]; 13460 ++foo; 13461 } 13462 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 13463 typedef const int *iptr; 13464 iptr p = 0; 13465 ++p; 13466 } 13467 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 13468 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 13469 struct s { int j; const int *ap[3]; } bx; 13470 struct s *b = &bx; b->j = 5; 13471 } 13472 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 13473 const int foo = 10; 13474 if (!foo) return 0; 13475 } 13476 return !cs[0] && !zero.x; 13477#endif 13478 13479 ; 13480 return 0; 13481} 13482_ACEOF 13483if ac_fn_c_try_compile "$LINENO"; then : 13484 ac_cv_c_const=yes 13485else 13486 ac_cv_c_const=no 13487fi 13488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13489fi 13490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 13491$as_echo "$ac_cv_c_const" >&6; } 13492if test $ac_cv_c_const = no; then 13493 13494$as_echo "#define const /**/" >>confdefs.h 13495 13496fi 13497 13498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 13499$as_echo_n "checking for inline... " >&6; } 13500if ${ac_cv_c_inline+:} false; then : 13501 $as_echo_n "(cached) " >&6 13502else 13503 ac_cv_c_inline=no 13504for ac_kw in inline __inline__ __inline; do 13505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13506/* end confdefs.h. */ 13507#ifndef __cplusplus 13508typedef int foo_t; 13509static $ac_kw foo_t static_foo () {return 0; } 13510$ac_kw foo_t foo () {return 0; } 13511#endif 13512 13513_ACEOF 13514if ac_fn_c_try_compile "$LINENO"; then : 13515 ac_cv_c_inline=$ac_kw 13516fi 13517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13518 test "$ac_cv_c_inline" != no && break 13519done 13520 13521fi 13522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 13523$as_echo "$ac_cv_c_inline" >&6; } 13524 13525case $ac_cv_c_inline in 13526 inline | yes) ;; 13527 *) 13528 case $ac_cv_c_inline in 13529 no) ac_val=;; 13530 *) ac_val=$ac_cv_c_inline;; 13531 esac 13532 cat >>confdefs.h <<_ACEOF 13533#ifndef __cplusplus 13534#define inline $ac_val 13535#endif 13536_ACEOF 13537 ;; 13538esac 13539 13540ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 13541if test "x$ac_cv_type_size_t" = xyes; then : 13542 13543else 13544 13545cat >>confdefs.h <<_ACEOF 13546#define size_t unsigned int 13547_ACEOF 13548 13549fi 13550 13551ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 13552case $ac_cv_c_int64_t in #( 13553 no|yes) ;; #( 13554 *) 13555 13556cat >>confdefs.h <<_ACEOF 13557#define int64_t $ac_cv_c_int64_t 13558_ACEOF 13559;; 13560esac 13561 13562ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 13563case $ac_cv_c_uint64_t in #( 13564 no|yes) ;; #( 13565 *) 13566 13567$as_echo "#define _UINT64_T 1" >>confdefs.h 13568 13569 13570cat >>confdefs.h <<_ACEOF 13571#define uint64_t $ac_cv_c_uint64_t 13572_ACEOF 13573;; 13574 esac 13575 13576case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #( 13577 *':no:'*) : 13578 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #( 13579 *) : 13580 ;; 13581esac 13582ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default" 13583if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then : 13584 13585cat >>confdefs.h <<_ACEOF 13586#define HAVE_STRUCT_STAT_ST_MTIM 1 13587_ACEOF 13588 13589 13590fi 13591 13592 13593if test "x$host_alias" != x && test "x$build_alias" = x; then : 13594 as_fn_error $? "when cross-compiling you must specify both --host and --build." "$LINENO" 5 13595fi 13596eval kpse_build_alias=\${build_alias-$build} 13597 13598 13599ac_config_headers="$ac_config_headers c-auto.h:c-auto.in" 13600 13601 13602# The cast to long int works around a bug in the HP C Compiler 13603# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13604# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13605# This bug is HP SR number 8606223364. 13606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 13607$as_echo_n "checking size of int... " >&6; } 13608if ${ac_cv_sizeof_int+:} false; then : 13609 $as_echo_n "(cached) " >&6 13610else 13611 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 13612 13613else 13614 if test "$ac_cv_type_int" = yes; then 13615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13617as_fn_error 77 "cannot compute sizeof (int) 13618See \`config.log' for more details" "$LINENO" 5; } 13619 else 13620 ac_cv_sizeof_int=0 13621 fi 13622fi 13623 13624fi 13625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 13626$as_echo "$ac_cv_sizeof_int" >&6; } 13627 13628 13629 13630cat >>confdefs.h <<_ACEOF 13631#define SIZEOF_INT $ac_cv_sizeof_int 13632_ACEOF 13633 13634 13635 13636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5 13637$as_echo_n "checking for library containing pow... " >&6; } 13638if ${ac_cv_search_pow+:} false; then : 13639 $as_echo_n "(cached) " >&6 13640else 13641 ac_func_search_save_LIBS=$LIBS 13642cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13643/* end confdefs.h. */ 13644 13645/* Override any GCC internal prototype to avoid an error. 13646 Use char because int might match the return type of a GCC 13647 builtin and then its argument prototype would still apply. */ 13648#ifdef __cplusplus 13649extern "C" 13650#endif 13651char pow (); 13652int 13653main () 13654{ 13655return pow (); 13656 ; 13657 return 0; 13658} 13659_ACEOF 13660for ac_lib in '' m; do 13661 if test -z "$ac_lib"; then 13662 ac_res="none required" 13663 else 13664 ac_res=-l$ac_lib 13665 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13666 fi 13667 if ac_fn_c_try_link "$LINENO"; then : 13668 ac_cv_search_pow=$ac_res 13669fi 13670rm -f core conftest.err conftest.$ac_objext \ 13671 conftest$ac_exeext 13672 if ${ac_cv_search_pow+:} false; then : 13673 break 13674fi 13675done 13676if ${ac_cv_search_pow+:} false; then : 13677 13678else 13679 ac_cv_search_pow=no 13680fi 13681rm conftest.$ac_ext 13682LIBS=$ac_func_search_save_LIBS 13683fi 13684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5 13685$as_echo "$ac_cv_search_pow" >&6; } 13686ac_res=$ac_cv_search_pow 13687if test "$ac_res" != no; then : 13688 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13689 13690fi 13691 13692 13693kpse_save_CPPFLAGS=$CPPFLAGS 13694kpse_save_LIBS=$LIBS 13695 13696## _KPSE_INIT: Initialize TL infrastructure 13697kpse_BLD=`(cd "./../../." && pwd)` 13698kpse_SRC=`(cd "$srcdir/../../." && pwd)` 13699 13700## _KPSE_USE_LIBTOOL: Generate a libtool script for use in configure tests 13701: ${CONFIG_LT=./config.lt} 13702{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 13703$as_echo "$as_me: creating $CONFIG_LT" >&6;} 13704as_write_fail=0 13705cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1 13706#! $SHELL 13707# Generated by $as_me. 13708# Run this file to recreate a libtool stub with the current configuration. 13709SHELL=\${CONFIG_SHELL-$SHELL} 13710export SHELL 13711_ASEOF 13712cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1 13713## -------------------- ## 13714## M4sh Initialization. ## 13715## -------------------- ## 13716 13717# Be more Bourne compatible 13718DUALCASE=1; export DUALCASE # for MKS sh 13719if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13720 emulate sh 13721 NULLCMD=: 13722 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13723 # is contrary to our usage. Disable this feature. 13724 alias -g '${1+"$@"}'='"$@"' 13725 setopt NO_GLOB_SUBST 13726else 13727 case `(set -o) 2>/dev/null` in #( 13728 *posix*) : 13729 set -o posix ;; #( 13730 *) : 13731 ;; 13732esac 13733fi 13734 13735 13736as_nl=' 13737' 13738export as_nl 13739# Printing a long string crashes Solaris 7 /usr/bin/printf. 13740as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13741as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13742as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13743# Prefer a ksh shell builtin over an external printf program on Solaris, 13744# but without wasting forks for bash or zsh. 13745if test -z "$BASH_VERSION$ZSH_VERSION" \ 13746 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13747 as_echo='print -r --' 13748 as_echo_n='print -rn --' 13749elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13750 as_echo='printf %s\n' 13751 as_echo_n='printf %s' 13752else 13753 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13754 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13755 as_echo_n='/usr/ucb/echo -n' 13756 else 13757 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13758 as_echo_n_body='eval 13759 arg=$1; 13760 case $arg in #( 13761 *"$as_nl"*) 13762 expr "X$arg" : "X\\(.*\\)$as_nl"; 13763 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13764 esac; 13765 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13766 ' 13767 export as_echo_n_body 13768 as_echo_n='sh -c $as_echo_n_body as_echo' 13769 fi 13770 export as_echo_body 13771 as_echo='sh -c $as_echo_body as_echo' 13772fi 13773 13774# The user is always right. 13775if test "${PATH_SEPARATOR+set}" != set; then 13776 PATH_SEPARATOR=: 13777 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13778 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13779 PATH_SEPARATOR=';' 13780 } 13781fi 13782 13783 13784# IFS 13785# We need space, tab and new line, in precisely that order. Quoting is 13786# there to prevent editors from complaining about space-tab. 13787# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13788# splitting by setting IFS to empty value.) 13789IFS=" "" $as_nl" 13790 13791# Find who we are. Look in the path if we contain no directory separator. 13792as_myself= 13793case $0 in #(( 13794 *[\\/]* ) as_myself=$0 ;; 13795 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13796for as_dir in $PATH 13797do 13798 IFS=$as_save_IFS 13799 test -z "$as_dir" && as_dir=. 13800 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13801 done 13802IFS=$as_save_IFS 13803 13804 ;; 13805esac 13806# We did not find ourselves, most probably we were run as `sh COMMAND' 13807# in which case we are not to be found in the path. 13808if test "x$as_myself" = x; then 13809 as_myself=$0 13810fi 13811if test ! -f "$as_myself"; then 13812 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13813 exit 1 13814fi 13815 13816# Unset variables that we do not need and which cause bugs (e.g. in 13817# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13818# suppresses any "Segmentation fault" message there. '((' could 13819# trigger a bug in pdksh 5.2.14. 13820for as_var in BASH_ENV ENV MAIL MAILPATH 13821do eval test x\${$as_var+set} = xset \ 13822 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13823done 13824PS1='$ ' 13825PS2='> ' 13826PS4='+ ' 13827 13828# NLS nuisances. 13829LC_ALL=C 13830export LC_ALL 13831LANGUAGE=C 13832export LANGUAGE 13833 13834# CDPATH. 13835(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13836 13837 13838# as_fn_error STATUS ERROR [LINENO LOG_FD] 13839# ---------------------------------------- 13840# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13841# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13842# script with STATUS, using 1 if that was 0. 13843as_fn_error () 13844{ 13845 as_status=$1; test $as_status -eq 0 && as_status=1 13846 if test "$4"; then 13847 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13848 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13849 fi 13850 $as_echo "$as_me: error: $2" >&2 13851 as_fn_exit $as_status 13852} # as_fn_error 13853 13854 13855# as_fn_set_status STATUS 13856# ----------------------- 13857# Set $? to STATUS, without forking. 13858as_fn_set_status () 13859{ 13860 return $1 13861} # as_fn_set_status 13862 13863# as_fn_exit STATUS 13864# ----------------- 13865# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13866as_fn_exit () 13867{ 13868 set +e 13869 as_fn_set_status $1 13870 exit $1 13871} # as_fn_exit 13872 13873# as_fn_unset VAR 13874# --------------- 13875# Portably unset VAR. 13876as_fn_unset () 13877{ 13878 { eval $1=; unset $1;} 13879} 13880as_unset=as_fn_unset 13881# as_fn_append VAR VALUE 13882# ---------------------- 13883# Append the text in VALUE to the end of the definition contained in VAR. Take 13884# advantage of any shell optimizations that allow amortized linear growth over 13885# repeated appends, instead of the typical quadratic growth present in naive 13886# implementations. 13887if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13888 eval 'as_fn_append () 13889 { 13890 eval $1+=\$2 13891 }' 13892else 13893 as_fn_append () 13894 { 13895 eval $1=\$$1\$2 13896 } 13897fi # as_fn_append 13898 13899# as_fn_arith ARG... 13900# ------------------ 13901# Perform arithmetic evaluation on the ARGs, and store the result in the 13902# global $as_val. Take advantage of shells that can avoid forks. The arguments 13903# must be portable across $(()) and expr. 13904if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13905 eval 'as_fn_arith () 13906 { 13907 as_val=$(( $* )) 13908 }' 13909else 13910 as_fn_arith () 13911 { 13912 as_val=`expr "$@" || test $? -eq 1` 13913 } 13914fi # as_fn_arith 13915 13916 13917if expr a : '\(a\)' >/dev/null 2>&1 && 13918 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13919 as_expr=expr 13920else 13921 as_expr=false 13922fi 13923 13924if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13925 as_basename=basename 13926else 13927 as_basename=false 13928fi 13929 13930if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13931 as_dirname=dirname 13932else 13933 as_dirname=false 13934fi 13935 13936as_me=`$as_basename -- "$0" || 13937$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13938 X"$0" : 'X\(//\)$' \| \ 13939 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13940$as_echo X/"$0" | 13941 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13942 s//\1/ 13943 q 13944 } 13945 /^X\/\(\/\/\)$/{ 13946 s//\1/ 13947 q 13948 } 13949 /^X\/\(\/\).*/{ 13950 s//\1/ 13951 q 13952 } 13953 s/.*/./; q'` 13954 13955# Avoid depending upon Character Ranges. 13956as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13957as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13958as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13959as_cr_digits='0123456789' 13960as_cr_alnum=$as_cr_Letters$as_cr_digits 13961 13962ECHO_C= ECHO_N= ECHO_T= 13963case `echo -n x` in #((((( 13964-n*) 13965 case `echo 'xy\c'` in 13966 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13967 xy) ECHO_C='\c';; 13968 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13969 ECHO_T=' ';; 13970 esac;; 13971*) 13972 ECHO_N='-n';; 13973esac 13974 13975rm -f conf$$ conf$$.exe conf$$.file 13976if test -d conf$$.dir; then 13977 rm -f conf$$.dir/conf$$.file 13978else 13979 rm -f conf$$.dir 13980 mkdir conf$$.dir 2>/dev/null 13981fi 13982if (echo >conf$$.file) 2>/dev/null; then 13983 if ln -s conf$$.file conf$$ 2>/dev/null; then 13984 as_ln_s='ln -s' 13985 # ... but there are two gotchas: 13986 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13987 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13988 # In both cases, we have to default to `cp -pR'. 13989 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13990 as_ln_s='cp -pR' 13991 elif ln conf$$.file conf$$ 2>/dev/null; then 13992 as_ln_s=ln 13993 else 13994 as_ln_s='cp -pR' 13995 fi 13996else 13997 as_ln_s='cp -pR' 13998fi 13999rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14000rmdir conf$$.dir 2>/dev/null 14001 14002 14003# as_fn_mkdir_p 14004# ------------- 14005# Create "$as_dir" as a directory, including parents if necessary. 14006as_fn_mkdir_p () 14007{ 14008 14009 case $as_dir in #( 14010 -*) as_dir=./$as_dir;; 14011 esac 14012 test -d "$as_dir" || eval $as_mkdir_p || { 14013 as_dirs= 14014 while :; do 14015 case $as_dir in #( 14016 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14017 *) as_qdir=$as_dir;; 14018 esac 14019 as_dirs="'$as_qdir' $as_dirs" 14020 as_dir=`$as_dirname -- "$as_dir" || 14021$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14022 X"$as_dir" : 'X\(//\)[^/]' \| \ 14023 X"$as_dir" : 'X\(//\)$' \| \ 14024 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14025$as_echo X"$as_dir" | 14026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14027 s//\1/ 14028 q 14029 } 14030 /^X\(\/\/\)[^/].*/{ 14031 s//\1/ 14032 q 14033 } 14034 /^X\(\/\/\)$/{ 14035 s//\1/ 14036 q 14037 } 14038 /^X\(\/\).*/{ 14039 s//\1/ 14040 q 14041 } 14042 s/.*/./; q'` 14043 test -d "$as_dir" && break 14044 done 14045 test -z "$as_dirs" || eval "mkdir $as_dirs" 14046 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14047 14048 14049} # as_fn_mkdir_p 14050if mkdir -p . 2>/dev/null; then 14051 as_mkdir_p='mkdir -p "$as_dir"' 14052else 14053 test -d ./-p && rmdir ./-p 14054 as_mkdir_p=false 14055fi 14056 14057 14058# as_fn_executable_p FILE 14059# ----------------------- 14060# Test if FILE is an executable regular file. 14061as_fn_executable_p () 14062{ 14063 test -f "$1" && test -x "$1" 14064} # as_fn_executable_p 14065as_test_x='test -x' 14066as_executable_p=as_fn_executable_p 14067 14068# Sed expression to map a string onto a valid CPP name. 14069as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14070 14071# Sed expression to map a string onto a valid variable name. 14072as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14073 14074 14075exec 6>&1 14076## --------------------------------- ## 14077## Main body of "$CONFIG_LT" script. ## 14078## --------------------------------- ## 14079_ASEOF 14080test $as_write_fail = 0 && chmod +x "$CONFIG_LT" 14081 14082cat >>"$CONFIG_LT" <<\_LTEOF 14083lt_cl_silent=false 14084exec 5>>config.log 14085{ 14086 echo 14087 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14088## Running $as_me. ## 14089_ASBOX 14090} >&5 14091 14092lt_cl_help="\ 14093'$as_me' creates a local libtool stub from the current configuration, 14094for use in further configure time tests before the real libtool is 14095generated. 14096 14097Usage: $0 [OPTIONS] 14098 14099 -h, --help print this help, then exit 14100 -V, --version print version number, then exit 14101 -q, --quiet do not print progress messages 14102 -d, --debug don't remove temporary files 14103 14104Report bugs to <bug-libtool@gnu.org>." 14105 14106lt_cl_version="\ 14107dvipsk (TeXLive) config.lt 5.995 14108configured by $0, generated by GNU Autoconf 2.69. 14109 14110Copyright (C) 2011 Free Software Foundation, Inc. 14111This config.lt script is free software; the Free Software Foundation 14112gives unlimited permision to copy, distribute and modify it." 14113 14114while test 0 != $# 14115do 14116 case $1 in 14117 --version | --v* | -V ) 14118 echo "$lt_cl_version"; exit 0 ;; 14119 --help | --h* | -h ) 14120 echo "$lt_cl_help"; exit 0 ;; 14121 --debug | --d* | -d ) 14122 debug=: ;; 14123 --quiet | --q* | --silent | --s* | -q ) 14124 lt_cl_silent=: ;; 14125 14126 -*) as_fn_error $? "unrecognized option: $1 14127Try '$0 --help' for more information." "$LINENO" 5 ;; 14128 14129 *) as_fn_error $? "unrecognized argument: $1 14130Try '$0 --help' for more information." "$LINENO" 5 ;; 14131 esac 14132 shift 14133done 14134 14135if $lt_cl_silent; then 14136 exec 6>/dev/null 14137fi 14138_LTEOF 14139 14140cat >>"$CONFIG_LT" <<_LTEOF 14141 14142 14143# The HP-UX ksh and POSIX shell print the target directory to stdout 14144# if CDPATH is set. 14145(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14146 14147sed_quote_subst='$sed_quote_subst' 14148double_quote_subst='$double_quote_subst' 14149delay_variable_subst='$delay_variable_subst' 14150macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14151macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14152AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 14153DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14154OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14155enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14156enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14157pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14158enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14159shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 14160SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14161ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14162PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14163host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14164host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14165host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14166build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14167build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14168build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14169SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14170Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14171GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14172EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14173FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14174LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14175NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14176LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14177max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14178ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14179exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14180lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14181lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14182lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14183lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14184lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14185reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14186reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14187deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14188file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14189file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14190want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14191sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14192AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14193AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14194archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14195STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14196RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14197old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14198old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14199old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14200lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14201CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14202CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14203compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14204GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14205lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14206lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14207lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 14208lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14209lt_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"`' 14210lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 14211nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14212lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14213lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 14214objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14215MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14216lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14217lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14218lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14219lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14220lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14221need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14222MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14223DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14224NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14225LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14226OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14227OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14228libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14229shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14230extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14231archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14232enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14233export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14234whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14235compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14236old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14237old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14238archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14239archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14240module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14241module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14242with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14243allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14244no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14245hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14246hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14247hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14248hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14249hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14250hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14251hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14252inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14253link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14254always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14255export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14256exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14257include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14258prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14259postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14260file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14261variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14262need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14263need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14264version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14265runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14266shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14267shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14268libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14269library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14270soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14271install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14272postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14273postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14274finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14275finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14276hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14277sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14278configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 14279configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 14280hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14281enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14282enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14283enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14284old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14285striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14286 14287LTCC='$LTCC' 14288LTCFLAGS='$LTCFLAGS' 14289compiler='$compiler_DEFAULT' 14290 14291# A function that is used when there is no print builtin or printf. 14292func_fallback_echo () 14293{ 14294 eval 'cat <<_LTECHO_EOF 14295\$1 14296_LTECHO_EOF' 14297} 14298 14299# Quote evaled strings. 14300for var in AS \ 14301DLLTOOL \ 14302OBJDUMP \ 14303SHELL \ 14304ECHO \ 14305PATH_SEPARATOR \ 14306SED \ 14307GREP \ 14308EGREP \ 14309FGREP \ 14310LD \ 14311NM \ 14312LN_S \ 14313lt_SP2NL \ 14314lt_NL2SP \ 14315reload_flag \ 14316deplibs_check_method \ 14317file_magic_cmd \ 14318file_magic_glob \ 14319want_nocaseglob \ 14320sharedlib_from_linklib_cmd \ 14321AR \ 14322AR_FLAGS \ 14323archiver_list_spec \ 14324STRIP \ 14325RANLIB \ 14326CC \ 14327CFLAGS \ 14328compiler \ 14329lt_cv_sys_global_symbol_pipe \ 14330lt_cv_sys_global_symbol_to_cdecl \ 14331lt_cv_sys_global_symbol_to_import \ 14332lt_cv_sys_global_symbol_to_c_name_address \ 14333lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14334lt_cv_nm_interface \ 14335nm_file_list_spec \ 14336lt_cv_truncate_bin \ 14337lt_prog_compiler_no_builtin_flag \ 14338lt_prog_compiler_pic \ 14339lt_prog_compiler_wl \ 14340lt_prog_compiler_static \ 14341lt_cv_prog_compiler_c_o \ 14342need_locks \ 14343MANIFEST_TOOL \ 14344DSYMUTIL \ 14345NMEDIT \ 14346LIPO \ 14347OTOOL \ 14348OTOOL64 \ 14349shrext_cmds \ 14350export_dynamic_flag_spec \ 14351whole_archive_flag_spec \ 14352compiler_needs_object \ 14353with_gnu_ld \ 14354allow_undefined_flag \ 14355no_undefined_flag \ 14356hardcode_libdir_flag_spec \ 14357hardcode_libdir_separator \ 14358exclude_expsyms \ 14359include_expsyms \ 14360file_list_spec \ 14361variables_saved_for_relink \ 14362libname_spec \ 14363library_names_spec \ 14364soname_spec \ 14365install_override_mode \ 14366finish_eval \ 14367old_striplib \ 14368striplib; do 14369 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14370 *[\\\\\\\`\\"\\\$]*) 14371 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14372 ;; 14373 *) 14374 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14375 ;; 14376 esac 14377done 14378 14379# Double-quote double-evaled strings. 14380for var in reload_cmds \ 14381old_postinstall_cmds \ 14382old_postuninstall_cmds \ 14383old_archive_cmds \ 14384extract_expsyms_cmds \ 14385old_archive_from_new_cmds \ 14386old_archive_from_expsyms_cmds \ 14387archive_cmds \ 14388archive_expsym_cmds \ 14389module_cmds \ 14390module_expsym_cmds \ 14391export_symbols_cmds \ 14392prelink_cmds \ 14393postlink_cmds \ 14394postinstall_cmds \ 14395postuninstall_cmds \ 14396finish_cmds \ 14397sys_lib_search_path_spec \ 14398configure_time_dlsearch_path \ 14399configure_time_lt_sys_library_path; do 14400 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14401 *[\\\\\\\`\\"\\\$]*) 14402 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14403 ;; 14404 *) 14405 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14406 ;; 14407 esac 14408done 14409 14410ac_aux_dir='$ac_aux_dir' 14411 14412# See if we are running on zsh, and set the options that allow our 14413# commands through without removal of \ escapes INIT. 14414if test -n "\${ZSH_VERSION+set}"; then 14415 setopt NO_GLOB_SUBST 14416fi 14417 14418 14419 PACKAGE='$PACKAGE' 14420 VERSION='$VERSION' 14421 RM='$RM' 14422 ofile='$ofile' 14423 14424 14425 14426_LTEOF 14427 14428cat >>"$CONFIG_LT" <<\_LTEOF 14429{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 14430$as_echo "$as_me: creating $ofile" >&6;} 14431 14432 14433 # See if we are running on zsh, and set the options that allow our 14434 # commands through without removal of \ escapes. 14435 if test -n "${ZSH_VERSION+set}"; then 14436 setopt NO_GLOB_SUBST 14437 fi 14438 14439 cfgfile=${ofile}T 14440 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14441 $RM "$cfgfile" 14442 14443 cat <<_LT_EOF >> "$cfgfile" 14444#! $SHELL 14445# Generated automatically by $as_me ($PACKAGE) $VERSION 14446# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14447# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14448 14449# Provide generalized library-building support services. 14450# Written by Gordon Matzigkeit, 1996 14451 14452# Copyright (C) 2014 Free Software Foundation, Inc. 14453# This is free software; see the source for copying conditions. There is NO 14454# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14455 14456# GNU Libtool is free software; you can redistribute it and/or modify 14457# it under the terms of the GNU General Public License as published by 14458# the Free Software Foundation; either version 2 of of the License, or 14459# (at your option) any later version. 14460# 14461# As a special exception to the GNU General Public License, if you 14462# distribute this file as part of a program or library that is built 14463# using GNU Libtool, you may include this file under the same 14464# distribution terms that you use for the rest of that program. 14465# 14466# GNU Libtool is distributed in the hope that it will be useful, but 14467# WITHOUT ANY WARRANTY; without even the implied warranty of 14468# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14469# GNU General Public License for more details. 14470# 14471# You should have received a copy of the GNU General Public License 14472# along with this program. If not, see <http://www.gnu.org/licenses/>. 14473 14474 14475# The names of the tagged configurations supported by this script. 14476available_tags='' 14477 14478# Configured defaults for sys_lib_dlsearch_path munging. 14479: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 14480 14481# ### BEGIN LIBTOOL CONFIG 14482 14483# Which release of libtool.m4 was used? 14484macro_version=$macro_version 14485macro_revision=$macro_revision 14486 14487# Assembler program. 14488AS=$lt_AS 14489 14490# DLL creation program. 14491DLLTOOL=$lt_DLLTOOL 14492 14493# Object dumper program. 14494OBJDUMP=$lt_OBJDUMP 14495 14496# Whether or not to build shared libraries. 14497build_libtool_libs=$enable_shared 14498 14499# Whether or not to build static libraries. 14500build_old_libs=$enable_static 14501 14502# What type of objects to build. 14503pic_mode=$pic_mode 14504 14505# Whether or not to optimize for fast installation. 14506fast_install=$enable_fast_install 14507 14508# Shared archive member basename,for filename based shared library versioning on AIX. 14509shared_archive_member_spec=$shared_archive_member_spec 14510 14511# Shell to use when invoking shell scripts. 14512SHELL=$lt_SHELL 14513 14514# An echo program that protects backslashes. 14515ECHO=$lt_ECHO 14516 14517# The PATH separator for the build system. 14518PATH_SEPARATOR=$lt_PATH_SEPARATOR 14519 14520# The host system. 14521host_alias=$host_alias 14522host=$host 14523host_os=$host_os 14524 14525# The build system. 14526build_alias=$build_alias 14527build=$build 14528build_os=$build_os 14529 14530# A sed program that does not truncate output. 14531SED=$lt_SED 14532 14533# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14534Xsed="\$SED -e 1s/^X//" 14535 14536# A grep program that handles long lines. 14537GREP=$lt_GREP 14538 14539# An ERE matcher. 14540EGREP=$lt_EGREP 14541 14542# A literal string matcher. 14543FGREP=$lt_FGREP 14544 14545# A BSD- or MS-compatible name lister. 14546NM=$lt_NM 14547 14548# Whether we need soft or hard links. 14549LN_S=$lt_LN_S 14550 14551# What is the maximum length of a command? 14552max_cmd_len=$max_cmd_len 14553 14554# Object file suffix (normally "o"). 14555objext=$ac_objext 14556 14557# Executable file suffix (normally ""). 14558exeext=$exeext 14559 14560# whether the shell understands "unset". 14561lt_unset=$lt_unset 14562 14563# turn spaces into newlines. 14564SP2NL=$lt_lt_SP2NL 14565 14566# turn newlines into spaces. 14567NL2SP=$lt_lt_NL2SP 14568 14569# convert \$build file names to \$host format. 14570to_host_file_cmd=$lt_cv_to_host_file_cmd 14571 14572# convert \$build files to toolchain format. 14573to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14574 14575# Method to check whether dependent libraries are shared objects. 14576deplibs_check_method=$lt_deplibs_check_method 14577 14578# Command to use when deplibs_check_method = "file_magic". 14579file_magic_cmd=$lt_file_magic_cmd 14580 14581# How to find potential files when deplibs_check_method = "file_magic". 14582file_magic_glob=$lt_file_magic_glob 14583 14584# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14585want_nocaseglob=$lt_want_nocaseglob 14586 14587# Command to associate shared and link libraries. 14588sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14589 14590# The archiver. 14591AR=$lt_AR 14592 14593# Flags to create an archive. 14594AR_FLAGS=$lt_AR_FLAGS 14595 14596# How to feed a file listing to the archiver. 14597archiver_list_spec=$lt_archiver_list_spec 14598 14599# A symbol stripping program. 14600STRIP=$lt_STRIP 14601 14602# Commands used to install an old-style archive. 14603RANLIB=$lt_RANLIB 14604old_postinstall_cmds=$lt_old_postinstall_cmds 14605old_postuninstall_cmds=$lt_old_postuninstall_cmds 14606 14607# Whether to use a lock for old archive extraction. 14608lock_old_archive_extraction=$lock_old_archive_extraction 14609 14610# A C compiler. 14611LTCC=$lt_CC 14612 14613# LTCC compiler flags. 14614LTCFLAGS=$lt_CFLAGS 14615 14616# Take the output of nm and produce a listing of raw symbols and C names. 14617global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14618 14619# Transform the output of nm in a proper C declaration. 14620global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14621 14622# Transform the output of nm into a list of symbols to manually relocate. 14623global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 14624 14625# Transform the output of nm in a C name address pair. 14626global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14627 14628# Transform the output of nm in a C name address pair when lib prefix is needed. 14629global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14630 14631# The name lister interface. 14632nm_interface=$lt_lt_cv_nm_interface 14633 14634# Specify filename containing input files for \$NM. 14635nm_file_list_spec=$lt_nm_file_list_spec 14636 14637# The root where to search for dependent libraries,and where our libraries should be installed. 14638lt_sysroot=$lt_sysroot 14639 14640# Command to truncate a binary pipe. 14641lt_truncate_bin=$lt_lt_cv_truncate_bin 14642 14643# The name of the directory that contains temporary libtool files. 14644objdir=$objdir 14645 14646# Used to examine libraries when file_magic_cmd begins with "file". 14647MAGIC_CMD=$MAGIC_CMD 14648 14649# Must we lock files when doing compilation? 14650need_locks=$lt_need_locks 14651 14652# Manifest tool. 14653MANIFEST_TOOL=$lt_MANIFEST_TOOL 14654 14655# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14656DSYMUTIL=$lt_DSYMUTIL 14657 14658# Tool to change global to local symbols on Mac OS X. 14659NMEDIT=$lt_NMEDIT 14660 14661# Tool to manipulate fat objects and archives on Mac OS X. 14662LIPO=$lt_LIPO 14663 14664# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14665OTOOL=$lt_OTOOL 14666 14667# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14668OTOOL64=$lt_OTOOL64 14669 14670# Old archive suffix (normally "a"). 14671libext=$libext 14672 14673# Shared library suffix (normally ".so"). 14674shrext_cmds=$lt_shrext_cmds 14675 14676# The commands to extract the exported symbol list from a shared archive. 14677extract_expsyms_cmds=$lt_extract_expsyms_cmds 14678 14679# Variables whose values should be saved in libtool wrapper scripts and 14680# restored at link time. 14681variables_saved_for_relink=$lt_variables_saved_for_relink 14682 14683# Do we need the "lib" prefix for modules? 14684need_lib_prefix=$need_lib_prefix 14685 14686# Do we need a version for libraries? 14687need_version=$need_version 14688 14689# Library versioning type. 14690version_type=$version_type 14691 14692# Shared library runtime path variable. 14693runpath_var=$runpath_var 14694 14695# Shared library path variable. 14696shlibpath_var=$shlibpath_var 14697 14698# Is shlibpath searched before the hard-coded library search path? 14699shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14700 14701# Format of library name prefix. 14702libname_spec=$lt_libname_spec 14703 14704# List of archive names. First name is the real one, the rest are links. 14705# The last name is the one that the linker finds with -lNAME 14706library_names_spec=$lt_library_names_spec 14707 14708# The coded name of the library, if different from the real name. 14709soname_spec=$lt_soname_spec 14710 14711# Permission mode override for installation of shared libraries. 14712install_override_mode=$lt_install_override_mode 14713 14714# Command to use after installation of a shared archive. 14715postinstall_cmds=$lt_postinstall_cmds 14716 14717# Command to use after uninstallation of a shared archive. 14718postuninstall_cmds=$lt_postuninstall_cmds 14719 14720# Commands used to finish a libtool library installation in a directory. 14721finish_cmds=$lt_finish_cmds 14722 14723# As "finish_cmds", except a single script fragment to be evaled but 14724# not shown. 14725finish_eval=$lt_finish_eval 14726 14727# Whether we should hardcode library paths into libraries. 14728hardcode_into_libs=$hardcode_into_libs 14729 14730# Compile-time system search path for libraries. 14731sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14732 14733# Detected run-time system search path for libraries. 14734sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 14735 14736# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 14737configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 14738 14739# Whether dlopen is supported. 14740dlopen_support=$enable_dlopen 14741 14742# Whether dlopen of programs is supported. 14743dlopen_self=$enable_dlopen_self 14744 14745# Whether dlopen of statically linked programs is supported. 14746dlopen_self_static=$enable_dlopen_self_static 14747 14748# Commands to strip libraries. 14749old_striplib=$lt_old_striplib 14750striplib=$lt_striplib 14751 14752 14753# The linker used to build libraries. 14754LD=$lt_LD 14755 14756# How to create reloadable object files. 14757reload_flag=$lt_reload_flag 14758reload_cmds=$lt_reload_cmds 14759 14760# Commands used to build an old-style archive. 14761old_archive_cmds=$lt_old_archive_cmds 14762 14763# A language specific compiler. 14764CC=$lt_compiler 14765 14766# Is the compiler the GNU compiler? 14767with_gcc=$GCC 14768 14769# Compiler flag to turn off builtin functions. 14770no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14771 14772# Additional compiler flags for building library objects. 14773pic_flag=$lt_lt_prog_compiler_pic 14774 14775# How to pass a linker flag through the compiler. 14776wl=$lt_lt_prog_compiler_wl 14777 14778# Compiler flag to prevent dynamic linking. 14779link_static_flag=$lt_lt_prog_compiler_static 14780 14781# Does compiler simultaneously support -c and -o options? 14782compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14783 14784# Whether or not to add -lc for building shared libraries. 14785build_libtool_need_lc=$archive_cmds_need_lc 14786 14787# Whether or not to disallow shared libs when runtime libs are static. 14788allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14789 14790# Compiler flag to allow reflexive dlopens. 14791export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14792 14793# Compiler flag to generate shared objects directly from archives. 14794whole_archive_flag_spec=$lt_whole_archive_flag_spec 14795 14796# Whether the compiler copes with passing no objects directly. 14797compiler_needs_object=$lt_compiler_needs_object 14798 14799# Create an old-style archive from a shared archive. 14800old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14801 14802# Create a temporary old-style archive to link instead of a shared archive. 14803old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14804 14805# Commands used to build a shared archive. 14806archive_cmds=$lt_archive_cmds 14807archive_expsym_cmds=$lt_archive_expsym_cmds 14808 14809# Commands used to build a loadable module if different from building 14810# a shared archive. 14811module_cmds=$lt_module_cmds 14812module_expsym_cmds=$lt_module_expsym_cmds 14813 14814# Whether we are building with GNU ld or not. 14815with_gnu_ld=$lt_with_gnu_ld 14816 14817# Flag that allows shared libraries with undefined symbols to be built. 14818allow_undefined_flag=$lt_allow_undefined_flag 14819 14820# Flag that enforces no undefined symbols. 14821no_undefined_flag=$lt_no_undefined_flag 14822 14823# Flag to hardcode \$libdir into a binary during linking. 14824# This must work even if \$libdir does not exist 14825hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14826 14827# Whether we need a single "-rpath" flag with a separated argument. 14828hardcode_libdir_separator=$lt_hardcode_libdir_separator 14829 14830# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14831# DIR into the resulting binary. 14832hardcode_direct=$hardcode_direct 14833 14834# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14835# DIR into the resulting binary and the resulting library dependency is 14836# "absolute",i.e impossible to change by setting \$shlibpath_var if the 14837# library is relocated. 14838hardcode_direct_absolute=$hardcode_direct_absolute 14839 14840# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14841# into the resulting binary. 14842hardcode_minus_L=$hardcode_minus_L 14843 14844# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14845# into the resulting binary. 14846hardcode_shlibpath_var=$hardcode_shlibpath_var 14847 14848# Set to "yes" if building a shared library automatically hardcodes DIR 14849# into the library and all subsequent libraries and executables linked 14850# against it. 14851hardcode_automatic=$hardcode_automatic 14852 14853# Set to yes if linker adds runtime paths of dependent libraries 14854# to runtime path list. 14855inherit_rpath=$inherit_rpath 14856 14857# Whether libtool must link a program against all its dependency libraries. 14858link_all_deplibs=$link_all_deplibs 14859 14860# Set to "yes" if exported symbols are required. 14861always_export_symbols=$always_export_symbols 14862 14863# The commands to list exported symbols. 14864export_symbols_cmds=$lt_export_symbols_cmds 14865 14866# Symbols that should not be listed in the preloaded symbols. 14867exclude_expsyms=$lt_exclude_expsyms 14868 14869# Symbols that must always be exported. 14870include_expsyms=$lt_include_expsyms 14871 14872# Commands necessary for linking programs (against libraries) with templates. 14873prelink_cmds=$lt_prelink_cmds 14874 14875# Commands necessary for finishing linking programs. 14876postlink_cmds=$lt_postlink_cmds 14877 14878# Specify filename containing input files. 14879file_list_spec=$lt_file_list_spec 14880 14881# How to hardcode a shared library path into an executable. 14882hardcode_action=$hardcode_action 14883 14884# ### END LIBTOOL CONFIG 14885 14886_LT_EOF 14887 14888 cat <<'_LT_EOF' >> "$cfgfile" 14889 14890# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 14891 14892# func_munge_path_list VARIABLE PATH 14893# ----------------------------------- 14894# VARIABLE is name of variable containing _space_ separated list of 14895# directories to be munged by the contents of PATH, which is string 14896# having a format: 14897# "DIR[:DIR]:" 14898# string "DIR[ DIR]" will be prepended to VARIABLE 14899# ":DIR[:DIR]" 14900# string "DIR[ DIR]" will be appended to VARIABLE 14901# "DIRP[:DIRP]::[DIRA:]DIRA" 14902# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 14903# "DIRA[ DIRA]" will be appended to VARIABLE 14904# "DIR[:DIR]" 14905# VARIABLE will be replaced by "DIR[ DIR]" 14906func_munge_path_list () 14907{ 14908 case x$2 in 14909 x) 14910 ;; 14911 *:) 14912 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 14913 ;; 14914 x:*) 14915 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 14916 ;; 14917 *::*) 14918 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14919 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 14920 ;; 14921 *) 14922 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 14923 ;; 14924 esac 14925} 14926 14927 14928# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14929func_cc_basename () 14930{ 14931 for cc_temp in $*""; do 14932 case $cc_temp in 14933 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14934 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14935 \-*) ;; 14936 *) break;; 14937 esac 14938 done 14939 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 14940} 14941 14942 14943# ### END FUNCTIONS SHARED WITH CONFIGURE 14944 14945_LT_EOF 14946 14947 case $host_os in 14948 aix3*) 14949 cat <<\_LT_EOF >> "$cfgfile" 14950# AIX sometimes has problems with the GCC collect2 program. For some 14951# reason, if we set the COLLECT_NAMES environment variable, the problems 14952# vanish in a puff of smoke. 14953if test set != "${COLLECT_NAMES+set}"; then 14954 COLLECT_NAMES= 14955 export COLLECT_NAMES 14956fi 14957_LT_EOF 14958 ;; 14959 esac 14960 14961 14962ltmain=$ac_aux_dir/ltmain.sh 14963 14964 14965 # We use sed instead of cat because bash on DJGPP gets confused if 14966 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14967 # text mode, it properly converts lines to CR/LF. This bash problem 14968 # is reportedly fixed, but why not run on old versions too? 14969 sed '$q' "$ltmain" >> "$cfgfile" \ 14970 || (rm -f "$cfgfile"; exit 1) 14971 14972 mv -f "$cfgfile" "$ofile" || 14973 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14974 chmod +x "$ofile" 14975 14976 14977as_fn_exit 0 14978_LTEOF 14979chmod +x "$CONFIG_LT" 14980 14981# configure is writing to config.log, but config.lt does its own redirection, 14982# appending to config.log, which fails on DOS, as config.log is still kept 14983# open by configure. Here we exec the FD to /dev/null, effectively closing 14984# config.log, so it can be properly (re)opened and appended to by config.lt. 14985lt_cl_success=: 14986test yes = "$silent" && 14987 lt_config_lt_args="$lt_config_lt_args --quiet" 14988exec 5>/dev/null 14989$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 14990exec 5>>config.log 14991$lt_cl_success || as_fn_exit 1 14992 14993ac_ext=c 14994ac_cpp='$CPP $CPPFLAGS' 14995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14997ac_compiler_gnu=$ac_cv_c_compiler_gnu 14998ac_link="./libtool --mode=link --tag=CC $ac_link" 14999 15000if test -n "$ac_tool_prefix"; then 15001 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15002set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15004$as_echo_n "checking for $ac_word... " >&6; } 15005if ${ac_cv_prog_PKG_CONFIG+:} false; then : 15006 $as_echo_n "(cached) " >&6 15007else 15008 if test -n "$PKG_CONFIG"; then 15009 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. 15010else 15011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15012for as_dir in $PATH 15013do 15014 IFS=$as_save_IFS 15015 test -z "$as_dir" && as_dir=. 15016 for ac_exec_ext in '' $ac_executable_extensions; do 15017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15018 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config" 15019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15020 break 2 15021 fi 15022done 15023 done 15024IFS=$as_save_IFS 15025 15026fi 15027fi 15028PKG_CONFIG=$ac_cv_prog_PKG_CONFIG 15029if test -n "$PKG_CONFIG"; then 15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15031$as_echo "$PKG_CONFIG" >&6; } 15032else 15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15034$as_echo "no" >&6; } 15035fi 15036 15037 15038fi 15039if test -z "$ac_cv_prog_PKG_CONFIG"; then 15040 ac_ct_PKG_CONFIG=$PKG_CONFIG 15041 # Extract the first word of "pkg-config", so it can be a program name with args. 15042set dummy pkg-config; ac_word=$2 15043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15044$as_echo_n "checking for $ac_word... " >&6; } 15045if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then : 15046 $as_echo_n "(cached) " >&6 15047else 15048 if test -n "$ac_ct_PKG_CONFIG"; then 15049 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test. 15050else 15051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15052for as_dir in $PATH 15053do 15054 IFS=$as_save_IFS 15055 test -z "$as_dir" && as_dir=. 15056 for ac_exec_ext in '' $ac_executable_extensions; do 15057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15058 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config" 15059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15060 break 2 15061 fi 15062done 15063 done 15064IFS=$as_save_IFS 15065 15066fi 15067fi 15068ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG 15069if test -n "$ac_ct_PKG_CONFIG"; then 15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5 15071$as_echo "$ac_ct_PKG_CONFIG" >&6; } 15072else 15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15074$as_echo "no" >&6; } 15075fi 15076 15077 if test "x$ac_ct_PKG_CONFIG" = x; then 15078 PKG_CONFIG="false" 15079 else 15080 case $cross_compiling:$ac_tool_warned in 15081yes:) 15082{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15083$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15084ac_tool_warned=yes ;; 15085esac 15086 PKG_CONFIG=$ac_ct_PKG_CONFIG 15087 fi 15088else 15089 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" 15090fi 15091 15092## _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags 15093 15094# Check whether --with-system-kpathsea was given. 15095if test "${with_system_kpathsea+set}" = set; then : 15096 withval=$with_system_kpathsea; 15097fi 15098if test "x$with_system_kpathsea" = xyes; then 15099 if $PKG_CONFIG kpathsea; then 15100 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags` 15101 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs` 15102elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then 15103 as_fn_error $? "did not find kpathsea" "$LINENO" 5 15104fi 15105else 15106 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk" 15107 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la" 15108 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la' 15109 KPATHSEA_RULE='# Rebuild libkpathsea 15110$(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h 15111 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild 15112${top_builddir}/../kpathsea/paths.h: 15113 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild' 15114fi 15115 15116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5 15117$as_echo_n "checking if libkpathsea supports debugging... " >&6; } 15118if ${kpse_cv_kpse_debug+:} false; then : 15119 $as_echo_n "(cached) " >&6 15120else 15121 eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\" 15122eval LIBS=\"$KPATHSEA_LIBS \$LIBS\" 15123 15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15125/* end confdefs.h. */ 15126#include <kpathsea/kpathsea.h> 15127int 15128main () 15129{ 15130FILE *f = fopen("f", "r") 15131 ; 15132 return 0; 15133} 15134_ACEOF 15135if ac_fn_c_try_link "$LINENO"; then : 15136 kpse_cv_kpse_debug=yes 15137else 15138 kpse_cv_kpse_debug=no 15139fi 15140rm -f core conftest.err conftest.$ac_objext \ 15141 conftest$ac_exeext conftest.$ac_ext 15142 CPPFLAGS=$kpse_save_CPPFLAGS 15143LIBS=$kpse_save_LIBS 15144 15145fi 15146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5 15147$as_echo "$kpse_cv_kpse_debug" >&6; } 15148if test "x$kpse_cv_kpse_debug" != xyes; then : 15149 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG" 15150fi 15151 15152 15153ac_config_files="$ac_config_files Makefile" 15154 15155 15156eval CPPFLAGS=\"$LIBPAPER_INCLUDES \$CPPFLAGS\" 15157eval LIBS=\"$LIBPAPER_LIBS \$LIBS\" 15158 15159_cppflags=$CPPFLAGS _ldflags=$LDFLAGS 15160 15161# Check whether --with-paper was given. 15162if test "${with_paper+set}" = set; then : 15163 withval=$with_paper; if test -d "$withval"; then 15164 CPPFLAGS="$CPPFLAGS -I$withval/include" 15165 LDFLAGS="$LDFLAGS -L$withval/lib" 15166 fi 15167fi 15168 15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for paper header files" >&5 15170$as_echo_n "checking for paper header files... " >&6; } 15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15172/* end confdefs.h. */ 15173#include <paper.h> 15174int 15175main () 15176{ 15177struct paper *p; 15178 ; 15179 return 0; 15180} 15181_ACEOF 15182if ac_fn_c_try_compile "$LINENO"; then : 15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15184$as_echo "yes" >&6; } 15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing paperpswidth" >&5 15186$as_echo_n "checking for library containing paperpswidth... " >&6; } 15187if ${ac_cv_search_paperpswidth+:} false; then : 15188 $as_echo_n "(cached) " >&6 15189else 15190 ac_func_search_save_LIBS=$LIBS 15191cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15192/* end confdefs.h. */ 15193 15194/* Override any GCC internal prototype to avoid an error. 15195 Use char because int might match the return type of a GCC 15196 builtin and then its argument prototype would still apply. */ 15197#ifdef __cplusplus 15198extern "C" 15199#endif 15200char paperpswidth (); 15201int 15202main () 15203{ 15204return paperpswidth (); 15205 ; 15206 return 0; 15207} 15208_ACEOF 15209for ac_lib in '' paper; do 15210 if test -z "$ac_lib"; then 15211 ac_res="none required" 15212 else 15213 ac_res=-l$ac_lib 15214 LIBS="-l$ac_lib LIBS="-lpaper $LIBS" $ac_func_search_save_LIBS" 15215 fi 15216 if ac_fn_c_try_link "$LINENO"; then : 15217 ac_cv_search_paperpswidth=$ac_res 15218fi 15219rm -f core conftest.err conftest.$ac_objext \ 15220 conftest$ac_exeext 15221 if ${ac_cv_search_paperpswidth+:} false; then : 15222 break 15223fi 15224done 15225if ${ac_cv_search_paperpswidth+:} false; then : 15226 15227else 15228 ac_cv_search_paperpswidth=no 15229fi 15230rm conftest.$ac_ext 15231LIBS=$ac_func_search_save_LIBS 15232fi 15233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_paperpswidth" >&5 15234$as_echo "$ac_cv_search_paperpswidth" >&6; } 15235ac_res=$ac_cv_search_paperpswidth 15236if test "$ac_res" != no; then : 15237 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15238 15239$as_echo "#define HAVE_LIBPAPER 1" >>confdefs.h 15240 15241fi 15242 15243else 15244 CPPFLAGS=$_cppflags 15245 LDDFLAGS=$_ldflags 15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15247$as_echo "no" >&6; } 15248fi 15249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15250 15251 15252 15253 15254subdirs="$subdirs squeeze" 15255 15256 15257 15258 15259cat >confcache <<\_ACEOF 15260# This file is a shell script that caches the results of configure 15261# tests run on this system so they can be shared between configure 15262# scripts and configure runs, see configure's option --config-cache. 15263# It is not useful on other systems. If it contains results you don't 15264# want to keep, you may remove or edit it. 15265# 15266# config.status only pays attention to the cache file if you give it 15267# the --recheck option to rerun configure. 15268# 15269# `ac_cv_env_foo' variables (set or unset) will be overridden when 15270# loading this file, other *unset* `ac_cv_foo' will be assigned the 15271# following values. 15272 15273_ACEOF 15274 15275# The following way of writing the cache mishandles newlines in values, 15276# but we know of no workaround that is simple, portable, and efficient. 15277# So, we kill variables containing newlines. 15278# Ultrix sh set writes to stderr and can't be redirected directly, 15279# and sets the high bit in the cache file unless we assign to the vars. 15280( 15281 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 15282 eval ac_val=\$$ac_var 15283 case $ac_val in #( 15284 *${as_nl}*) 15285 case $ac_var in #( 15286 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 15287$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15288 esac 15289 case $ac_var in #( 15290 _ | IFS | as_nl) ;; #( 15291 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 15292 *) { eval $ac_var=; unset $ac_var;} ;; 15293 esac ;; 15294 esac 15295 done 15296 15297 (set) 2>&1 | 15298 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15299 *${as_nl}ac_space=\ *) 15300 # `set' does not quote correctly, so add quotes: double-quote 15301 # substitution turns \\\\ into \\, and sed turns \\ into \. 15302 sed -n \ 15303 "s/'/'\\\\''/g; 15304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 15305 ;; #( 15306 *) 15307 # `set' quotes correctly as required by POSIX, so do not add quotes. 15308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15309 ;; 15310 esac | 15311 sort 15312) | 15313 sed ' 15314 /^ac_cv_env_/b end 15315 t clear 15316 :clear 15317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 15318 t end 15319 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15320 :end' >>confcache 15321if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15322 if test -w "$cache_file"; then 15323 if test "x$cache_file" != "x/dev/null"; then 15324 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15325$as_echo "$as_me: updating cache $cache_file" >&6;} 15326 if test ! -f "$cache_file" || test -h "$cache_file"; then 15327 cat confcache >"$cache_file" 15328 else 15329 case $cache_file in #( 15330 */* | ?:*) 15331 mv -f confcache "$cache_file"$$ && 15332 mv -f "$cache_file"$$ "$cache_file" ;; #( 15333 *) 15334 mv -f confcache "$cache_file" ;; 15335 esac 15336 fi 15337 fi 15338 else 15339 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15340$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15341 fi 15342fi 15343rm -f confcache 15344 15345test "x$prefix" = xNONE && prefix=$ac_default_prefix 15346# Let make expand exec_prefix. 15347test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 15348 15349DEFS=-DHAVE_CONFIG_H 15350 15351ac_libobjs= 15352ac_ltlibobjs= 15353U= 15354for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15355 # 1. Remove the extension, and $U if already installed. 15356 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15357 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15358 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15359 # will be set to the directory where LIBOBJS objects are built. 15360 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15361 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15362done 15363LIBOBJS=$ac_libobjs 15364 15365LTLIBOBJS=$ac_ltlibobjs 15366 15367 15368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 15369$as_echo_n "checking that generated files are newer than configure... " >&6; } 15370 if test -n "$am_sleep_pid"; then 15371 # Hide warnings about reused PIDs. 15372 wait $am_sleep_pid 2>/dev/null 15373 fi 15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 15375$as_echo "done" >&6; } 15376 if test -n "$EXEEXT"; then 15377 am__EXEEXT_TRUE= 15378 am__EXEEXT_FALSE='#' 15379else 15380 am__EXEEXT_TRUE='#' 15381 am__EXEEXT_FALSE= 15382fi 15383 15384if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 15385 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 15386Usually this means the macro was only invoked conditionally." "$LINENO" 5 15387fi 15388if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 15389 as_fn_error $? "conditional \"AMDEP\" was never defined. 15390Usually this means the macro was only invoked conditionally." "$LINENO" 5 15391fi 15392if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15393 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 15394Usually this means the macro was only invoked conditionally." "$LINENO" 5 15395fi 15396 15397: "${CONFIG_STATUS=./config.status}" 15398ac_write_fail=0 15399ac_clean_files_save=$ac_clean_files 15400ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15401{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15402$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15403as_write_fail=0 15404cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15405#! $SHELL 15406# Generated by $as_me. 15407# Run this file to recreate the current configuration. 15408# Compiler output produced by configure, useful for debugging 15409# configure, is in config.log if it exists. 15410 15411debug=false 15412ac_cs_recheck=false 15413ac_cs_silent=false 15414 15415SHELL=\${CONFIG_SHELL-$SHELL} 15416export SHELL 15417_ASEOF 15418cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 15419## -------------------- ## 15420## M4sh Initialization. ## 15421## -------------------- ## 15422 15423# Be more Bourne compatible 15424DUALCASE=1; export DUALCASE # for MKS sh 15425if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15426 emulate sh 15427 NULLCMD=: 15428 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15429 # is contrary to our usage. Disable this feature. 15430 alias -g '${1+"$@"}'='"$@"' 15431 setopt NO_GLOB_SUBST 15432else 15433 case `(set -o) 2>/dev/null` in #( 15434 *posix*) : 15435 set -o posix ;; #( 15436 *) : 15437 ;; 15438esac 15439fi 15440 15441 15442as_nl=' 15443' 15444export as_nl 15445# Printing a long string crashes Solaris 7 /usr/bin/printf. 15446as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15447as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15448as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15449# Prefer a ksh shell builtin over an external printf program on Solaris, 15450# but without wasting forks for bash or zsh. 15451if test -z "$BASH_VERSION$ZSH_VERSION" \ 15452 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 15453 as_echo='print -r --' 15454 as_echo_n='print -rn --' 15455elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15456 as_echo='printf %s\n' 15457 as_echo_n='printf %s' 15458else 15459 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15460 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15461 as_echo_n='/usr/ucb/echo -n' 15462 else 15463 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15464 as_echo_n_body='eval 15465 arg=$1; 15466 case $arg in #( 15467 *"$as_nl"*) 15468 expr "X$arg" : "X\\(.*\\)$as_nl"; 15469 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15470 esac; 15471 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15472 ' 15473 export as_echo_n_body 15474 as_echo_n='sh -c $as_echo_n_body as_echo' 15475 fi 15476 export as_echo_body 15477 as_echo='sh -c $as_echo_body as_echo' 15478fi 15479 15480# The user is always right. 15481if test "${PATH_SEPARATOR+set}" != set; then 15482 PATH_SEPARATOR=: 15483 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15484 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15485 PATH_SEPARATOR=';' 15486 } 15487fi 15488 15489 15490# IFS 15491# We need space, tab and new line, in precisely that order. Quoting is 15492# there to prevent editors from complaining about space-tab. 15493# (If _AS_PATH_WALK were called with IFS unset, it would disable word 15494# splitting by setting IFS to empty value.) 15495IFS=" "" $as_nl" 15496 15497# Find who we are. Look in the path if we contain no directory separator. 15498as_myself= 15499case $0 in #(( 15500 *[\\/]* ) as_myself=$0 ;; 15501 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15502for as_dir in $PATH 15503do 15504 IFS=$as_save_IFS 15505 test -z "$as_dir" && as_dir=. 15506 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15507 done 15508IFS=$as_save_IFS 15509 15510 ;; 15511esac 15512# We did not find ourselves, most probably we were run as `sh COMMAND' 15513# in which case we are not to be found in the path. 15514if test "x$as_myself" = x; then 15515 as_myself=$0 15516fi 15517if test ! -f "$as_myself"; then 15518 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15519 exit 1 15520fi 15521 15522# Unset variables that we do not need and which cause bugs (e.g. in 15523# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 15524# suppresses any "Segmentation fault" message there. '((' could 15525# trigger a bug in pdksh 5.2.14. 15526for as_var in BASH_ENV ENV MAIL MAILPATH 15527do eval test x\${$as_var+set} = xset \ 15528 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15529done 15530PS1='$ ' 15531PS2='> ' 15532PS4='+ ' 15533 15534# NLS nuisances. 15535LC_ALL=C 15536export LC_ALL 15537LANGUAGE=C 15538export LANGUAGE 15539 15540# CDPATH. 15541(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15542 15543 15544# as_fn_error STATUS ERROR [LINENO LOG_FD] 15545# ---------------------------------------- 15546# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15547# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15548# script with STATUS, using 1 if that was 0. 15549as_fn_error () 15550{ 15551 as_status=$1; test $as_status -eq 0 && as_status=1 15552 if test "$4"; then 15553 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15554 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 15555 fi 15556 $as_echo "$as_me: error: $2" >&2 15557 as_fn_exit $as_status 15558} # as_fn_error 15559 15560 15561# as_fn_set_status STATUS 15562# ----------------------- 15563# Set $? to STATUS, without forking. 15564as_fn_set_status () 15565{ 15566 return $1 15567} # as_fn_set_status 15568 15569# as_fn_exit STATUS 15570# ----------------- 15571# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 15572as_fn_exit () 15573{ 15574 set +e 15575 as_fn_set_status $1 15576 exit $1 15577} # as_fn_exit 15578 15579# as_fn_unset VAR 15580# --------------- 15581# Portably unset VAR. 15582as_fn_unset () 15583{ 15584 { eval $1=; unset $1;} 15585} 15586as_unset=as_fn_unset 15587# as_fn_append VAR VALUE 15588# ---------------------- 15589# Append the text in VALUE to the end of the definition contained in VAR. Take 15590# advantage of any shell optimizations that allow amortized linear growth over 15591# repeated appends, instead of the typical quadratic growth present in naive 15592# implementations. 15593if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15594 eval 'as_fn_append () 15595 { 15596 eval $1+=\$2 15597 }' 15598else 15599 as_fn_append () 15600 { 15601 eval $1=\$$1\$2 15602 } 15603fi # as_fn_append 15604 15605# as_fn_arith ARG... 15606# ------------------ 15607# Perform arithmetic evaluation on the ARGs, and store the result in the 15608# global $as_val. Take advantage of shells that can avoid forks. The arguments 15609# must be portable across $(()) and expr. 15610if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15611 eval 'as_fn_arith () 15612 { 15613 as_val=$(( $* )) 15614 }' 15615else 15616 as_fn_arith () 15617 { 15618 as_val=`expr "$@" || test $? -eq 1` 15619 } 15620fi # as_fn_arith 15621 15622 15623if expr a : '\(a\)' >/dev/null 2>&1 && 15624 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15625 as_expr=expr 15626else 15627 as_expr=false 15628fi 15629 15630if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15631 as_basename=basename 15632else 15633 as_basename=false 15634fi 15635 15636if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15637 as_dirname=dirname 15638else 15639 as_dirname=false 15640fi 15641 15642as_me=`$as_basename -- "$0" || 15643$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15644 X"$0" : 'X\(//\)$' \| \ 15645 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15646$as_echo X/"$0" | 15647 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15648 s//\1/ 15649 q 15650 } 15651 /^X\/\(\/\/\)$/{ 15652 s//\1/ 15653 q 15654 } 15655 /^X\/\(\/\).*/{ 15656 s//\1/ 15657 q 15658 } 15659 s/.*/./; q'` 15660 15661# Avoid depending upon Character Ranges. 15662as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15663as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15664as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15665as_cr_digits='0123456789' 15666as_cr_alnum=$as_cr_Letters$as_cr_digits 15667 15668ECHO_C= ECHO_N= ECHO_T= 15669case `echo -n x` in #((((( 15670-n*) 15671 case `echo 'xy\c'` in 15672 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15673 xy) ECHO_C='\c';; 15674 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 15675 ECHO_T=' ';; 15676 esac;; 15677*) 15678 ECHO_N='-n';; 15679esac 15680 15681rm -f conf$$ conf$$.exe conf$$.file 15682if test -d conf$$.dir; then 15683 rm -f conf$$.dir/conf$$.file 15684else 15685 rm -f conf$$.dir 15686 mkdir conf$$.dir 2>/dev/null 15687fi 15688if (echo >conf$$.file) 2>/dev/null; then 15689 if ln -s conf$$.file conf$$ 2>/dev/null; then 15690 as_ln_s='ln -s' 15691 # ... but there are two gotchas: 15692 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15693 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15694 # In both cases, we have to default to `cp -pR'. 15695 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15696 as_ln_s='cp -pR' 15697 elif ln conf$$.file conf$$ 2>/dev/null; then 15698 as_ln_s=ln 15699 else 15700 as_ln_s='cp -pR' 15701 fi 15702else 15703 as_ln_s='cp -pR' 15704fi 15705rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15706rmdir conf$$.dir 2>/dev/null 15707 15708 15709# as_fn_mkdir_p 15710# ------------- 15711# Create "$as_dir" as a directory, including parents if necessary. 15712as_fn_mkdir_p () 15713{ 15714 15715 case $as_dir in #( 15716 -*) as_dir=./$as_dir;; 15717 esac 15718 test -d "$as_dir" || eval $as_mkdir_p || { 15719 as_dirs= 15720 while :; do 15721 case $as_dir in #( 15722 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15723 *) as_qdir=$as_dir;; 15724 esac 15725 as_dirs="'$as_qdir' $as_dirs" 15726 as_dir=`$as_dirname -- "$as_dir" || 15727$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15728 X"$as_dir" : 'X\(//\)[^/]' \| \ 15729 X"$as_dir" : 'X\(//\)$' \| \ 15730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15731$as_echo X"$as_dir" | 15732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15733 s//\1/ 15734 q 15735 } 15736 /^X\(\/\/\)[^/].*/{ 15737 s//\1/ 15738 q 15739 } 15740 /^X\(\/\/\)$/{ 15741 s//\1/ 15742 q 15743 } 15744 /^X\(\/\).*/{ 15745 s//\1/ 15746 q 15747 } 15748 s/.*/./; q'` 15749 test -d "$as_dir" && break 15750 done 15751 test -z "$as_dirs" || eval "mkdir $as_dirs" 15752 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 15753 15754 15755} # as_fn_mkdir_p 15756if mkdir -p . 2>/dev/null; then 15757 as_mkdir_p='mkdir -p "$as_dir"' 15758else 15759 test -d ./-p && rmdir ./-p 15760 as_mkdir_p=false 15761fi 15762 15763 15764# as_fn_executable_p FILE 15765# ----------------------- 15766# Test if FILE is an executable regular file. 15767as_fn_executable_p () 15768{ 15769 test -f "$1" && test -x "$1" 15770} # as_fn_executable_p 15771as_test_x='test -x' 15772as_executable_p=as_fn_executable_p 15773 15774# Sed expression to map a string onto a valid CPP name. 15775as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15776 15777# Sed expression to map a string onto a valid variable name. 15778as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15779 15780 15781exec 6>&1 15782## ----------------------------------- ## 15783## Main body of $CONFIG_STATUS script. ## 15784## ----------------------------------- ## 15785_ASEOF 15786test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 15787 15788cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15789# Save the log message, to keep $0 and so on meaningful, and to 15790# report actual input values of CONFIG_FILES etc. instead of their 15791# values after options handling. 15792ac_log=" 15793This file was extended by dvipsk (TeXLive) $as_me 5.995, which was 15794generated by GNU Autoconf 2.69. Invocation command line was 15795 15796 CONFIG_FILES = $CONFIG_FILES 15797 CONFIG_HEADERS = $CONFIG_HEADERS 15798 CONFIG_LINKS = $CONFIG_LINKS 15799 CONFIG_COMMANDS = $CONFIG_COMMANDS 15800 $ $0 $@ 15801 15802on `(hostname || uname -n) 2>/dev/null | sed 1q` 15803" 15804 15805_ACEOF 15806 15807case $ac_config_files in *" 15808"*) set x $ac_config_files; shift; ac_config_files=$*;; 15809esac 15810 15811case $ac_config_headers in *" 15812"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 15813esac 15814 15815 15816cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15817# Files that config.status was made for. 15818config_files="$ac_config_files" 15819config_headers="$ac_config_headers" 15820config_commands="$ac_config_commands" 15821 15822_ACEOF 15823 15824cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15825ac_cs_usage="\ 15826\`$as_me' instantiates files and other configuration actions 15827from templates according to the current configuration. Unless the files 15828and actions are specified as TAGs, all are instantiated by default. 15829 15830Usage: $0 [OPTION]... [TAG]... 15831 15832 -h, --help print this help, then exit 15833 -V, --version print version number and configuration settings, then exit 15834 --config print configuration, then exit 15835 -q, --quiet, --silent 15836 do not print progress messages 15837 -d, --debug don't remove temporary files 15838 --recheck update $as_me by reconfiguring in the same conditions 15839 --file=FILE[:TEMPLATE] 15840 instantiate the configuration file FILE 15841 --header=FILE[:TEMPLATE] 15842 instantiate the configuration header FILE 15843 15844Configuration files: 15845$config_files 15846 15847Configuration headers: 15848$config_headers 15849 15850Configuration commands: 15851$config_commands 15852 15853Report bugs to <tex-k@tug.org>." 15854 15855_ACEOF 15856cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15857ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15858ac_cs_version="\\ 15859dvipsk (TeXLive) config.status 5.995 15860configured by $0, generated by GNU Autoconf 2.69, 15861 with options \\"\$ac_cs_config\\" 15862 15863Copyright (C) 2012 Free Software Foundation, Inc. 15864This config.status script is free software; the Free Software Foundation 15865gives unlimited permission to copy, distribute and modify it." 15866 15867ac_pwd='$ac_pwd' 15868srcdir='$srcdir' 15869INSTALL='$INSTALL' 15870MKDIR_P='$MKDIR_P' 15871AWK='$AWK' 15872test -n "\$AWK" || AWK=awk 15873_ACEOF 15874 15875cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15876# The default lists apply if the user does not specify any file. 15877ac_need_defaults=: 15878while test $# != 0 15879do 15880 case $1 in 15881 --*=?*) 15882 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15883 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15884 ac_shift=: 15885 ;; 15886 --*=) 15887 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15888 ac_optarg= 15889 ac_shift=: 15890 ;; 15891 *) 15892 ac_option=$1 15893 ac_optarg=$2 15894 ac_shift=shift 15895 ;; 15896 esac 15897 15898 case $ac_option in 15899 # Handling of the options. 15900 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 15901 ac_cs_recheck=: ;; 15902 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15903 $as_echo "$ac_cs_version"; exit ;; 15904 --config | --confi | --conf | --con | --co | --c ) 15905 $as_echo "$ac_cs_config"; exit ;; 15906 --debug | --debu | --deb | --de | --d | -d ) 15907 debug=: ;; 15908 --file | --fil | --fi | --f ) 15909 $ac_shift 15910 case $ac_optarg in 15911 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15912 '') as_fn_error $? "missing file argument" ;; 15913 esac 15914 as_fn_append CONFIG_FILES " '$ac_optarg'" 15915 ac_need_defaults=false;; 15916 --header | --heade | --head | --hea ) 15917 $ac_shift 15918 case $ac_optarg in 15919 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15920 esac 15921 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15922 ac_need_defaults=false;; 15923 --he | --h) 15924 # Conflict between --help and --header 15925 as_fn_error $? "ambiguous option: \`$1' 15926Try \`$0 --help' for more information.";; 15927 --help | --hel | -h ) 15928 $as_echo "$ac_cs_usage"; exit ;; 15929 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15930 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15931 ac_cs_silent=: ;; 15932 15933 # This is an error. 15934 -*) as_fn_error $? "unrecognized option: \`$1' 15935Try \`$0 --help' for more information." ;; 15936 15937 *) as_fn_append ac_config_targets " $1" 15938 ac_need_defaults=false ;; 15939 15940 esac 15941 shift 15942done 15943 15944ac_configure_extra_args= 15945 15946if $ac_cs_silent; then 15947 exec 6>/dev/null 15948 ac_configure_extra_args="$ac_configure_extra_args --silent" 15949fi 15950 15951_ACEOF 15952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15953if \$ac_cs_recheck; then 15954 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15955 shift 15956 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 15957 CONFIG_SHELL='$SHELL' 15958 export CONFIG_SHELL 15959 exec "\$@" 15960fi 15961 15962_ACEOF 15963cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15964exec 5>>config.log 15965{ 15966 echo 15967 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 15968## Running $as_me. ## 15969_ASBOX 15970 $as_echo "$ac_log" 15971} >&5 15972 15973_ACEOF 15974cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15975# 15976# INIT-COMMANDS 15977# 15978AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 15979 15980 15981# The HP-UX ksh and POSIX shell print the target directory to stdout 15982# if CDPATH is set. 15983(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15984 15985sed_quote_subst='$sed_quote_subst' 15986double_quote_subst='$double_quote_subst' 15987delay_variable_subst='$delay_variable_subst' 15988macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 15989macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 15990AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 15991DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 15992OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 15993enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 15994enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 15995pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 15996enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 15997shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 15998SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 15999ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 16000PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 16001host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 16002host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 16003host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 16004build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 16005build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 16006build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 16007SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 16008Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 16009GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 16010EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 16011FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 16012LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 16013NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 16014LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 16015max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 16016ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 16017exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 16018lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16019lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16020lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16021lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 16022lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 16023reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 16024reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 16025deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 16026file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 16027file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 16028want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 16029sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 16030AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 16031AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 16032archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 16033STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16034RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16035old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16036old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16037old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 16038lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 16039CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 16040CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 16041compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 16042GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 16043lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 16044lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 16045lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 16046lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 16047lt_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"`' 16048lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 16049nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 16050lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 16051lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 16052objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 16053MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 16054lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 16055lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 16056lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 16057lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 16058lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 16059need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 16060MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 16061DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16062NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16063LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16064OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 16065OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 16066libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 16067shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 16068extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16069archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 16070enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 16071export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 16072whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 16073compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 16074old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 16075old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16076archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 16077archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16078module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 16079module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16080with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 16081allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 16082no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 16083hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 16084hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 16085hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 16086hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 16087hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 16088hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 16089hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16090inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16091link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16092always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 16093export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 16094exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 16095include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 16096prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 16097postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 16098file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16099variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 16100need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 16101need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 16102version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 16103runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 16104shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 16105shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 16106libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 16107library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 16108soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 16109install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 16110postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16111postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16112finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 16113finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 16114hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 16115sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 16116configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 16117configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 16118hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 16119enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 16120enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 16121enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 16122old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 16123striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 16124 16125LTCC='$LTCC' 16126LTCFLAGS='$LTCFLAGS' 16127compiler='$compiler_DEFAULT' 16128 16129# A function that is used when there is no print builtin or printf. 16130func_fallback_echo () 16131{ 16132 eval 'cat <<_LTECHO_EOF 16133\$1 16134_LTECHO_EOF' 16135} 16136 16137# Quote evaled strings. 16138for var in AS \ 16139DLLTOOL \ 16140OBJDUMP \ 16141SHELL \ 16142ECHO \ 16143PATH_SEPARATOR \ 16144SED \ 16145GREP \ 16146EGREP \ 16147FGREP \ 16148LD \ 16149NM \ 16150LN_S \ 16151lt_SP2NL \ 16152lt_NL2SP \ 16153reload_flag \ 16154deplibs_check_method \ 16155file_magic_cmd \ 16156file_magic_glob \ 16157want_nocaseglob \ 16158sharedlib_from_linklib_cmd \ 16159AR \ 16160AR_FLAGS \ 16161archiver_list_spec \ 16162STRIP \ 16163RANLIB \ 16164CC \ 16165CFLAGS \ 16166compiler \ 16167lt_cv_sys_global_symbol_pipe \ 16168lt_cv_sys_global_symbol_to_cdecl \ 16169lt_cv_sys_global_symbol_to_import \ 16170lt_cv_sys_global_symbol_to_c_name_address \ 16171lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 16172lt_cv_nm_interface \ 16173nm_file_list_spec \ 16174lt_cv_truncate_bin \ 16175lt_prog_compiler_no_builtin_flag \ 16176lt_prog_compiler_pic \ 16177lt_prog_compiler_wl \ 16178lt_prog_compiler_static \ 16179lt_cv_prog_compiler_c_o \ 16180need_locks \ 16181MANIFEST_TOOL \ 16182DSYMUTIL \ 16183NMEDIT \ 16184LIPO \ 16185OTOOL \ 16186OTOOL64 \ 16187shrext_cmds \ 16188export_dynamic_flag_spec \ 16189whole_archive_flag_spec \ 16190compiler_needs_object \ 16191with_gnu_ld \ 16192allow_undefined_flag \ 16193no_undefined_flag \ 16194hardcode_libdir_flag_spec \ 16195hardcode_libdir_separator \ 16196exclude_expsyms \ 16197include_expsyms \ 16198file_list_spec \ 16199variables_saved_for_relink \ 16200libname_spec \ 16201library_names_spec \ 16202soname_spec \ 16203install_override_mode \ 16204finish_eval \ 16205old_striplib \ 16206striplib; do 16207 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 16208 *[\\\\\\\`\\"\\\$]*) 16209 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 16210 ;; 16211 *) 16212 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16213 ;; 16214 esac 16215done 16216 16217# Double-quote double-evaled strings. 16218for var in reload_cmds \ 16219old_postinstall_cmds \ 16220old_postuninstall_cmds \ 16221old_archive_cmds \ 16222extract_expsyms_cmds \ 16223old_archive_from_new_cmds \ 16224old_archive_from_expsyms_cmds \ 16225archive_cmds \ 16226archive_expsym_cmds \ 16227module_cmds \ 16228module_expsym_cmds \ 16229export_symbols_cmds \ 16230prelink_cmds \ 16231postlink_cmds \ 16232postinstall_cmds \ 16233postuninstall_cmds \ 16234finish_cmds \ 16235sys_lib_search_path_spec \ 16236configure_time_dlsearch_path \ 16237configure_time_lt_sys_library_path; do 16238 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 16239 *[\\\\\\\`\\"\\\$]*) 16240 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 16241 ;; 16242 *) 16243 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16244 ;; 16245 esac 16246done 16247 16248ac_aux_dir='$ac_aux_dir' 16249 16250# See if we are running on zsh, and set the options that allow our 16251# commands through without removal of \ escapes INIT. 16252if test -n "\${ZSH_VERSION+set}"; then 16253 setopt NO_GLOB_SUBST 16254fi 16255 16256 16257 PACKAGE='$PACKAGE' 16258 VERSION='$VERSION' 16259 RM='$RM' 16260 ofile='$ofile' 16261 16262ac_aux_dir='$ac_aux_dir' 16263 16264 16265 16266_ACEOF 16267 16268cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16269 16270# Handling of arguments. 16271for ac_config_target in $ac_config_targets 16272do 16273 case $ac_config_target in 16274 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 16275 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 16276 "c-auto.h") CONFIG_HEADERS="$CONFIG_HEADERS c-auto.h:c-auto.in" ;; 16277 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16278 16279 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 16280 esac 16281done 16282 16283 16284# If the user did not use the arguments to specify the items to instantiate, 16285# then the envvar interface is used. Set only those that are not. 16286# We use the long form for the default assignment because of an extremely 16287# bizarre bug on SunOS 4.1.3. 16288if $ac_need_defaults; then 16289 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 16290 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 16291 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 16292fi 16293 16294# Have a temporary directory for convenience. Make it in the build tree 16295# simply because there is no reason against having it here, and in addition, 16296# creating and moving files from /tmp can sometimes cause problems. 16297# Hook for its removal unless debugging. 16298# Note that there is a small window in which the directory will not be cleaned: 16299# after its creation but before its name has been assigned to `$tmp'. 16300$debug || 16301{ 16302 tmp= ac_tmp= 16303 trap 'exit_status=$? 16304 : "${ac_tmp:=$tmp}" 16305 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 16306' 0 16307 trap 'as_fn_exit 1' 1 2 13 15 16308} 16309# Create a (secure) tmp directory for tmp files. 16310 16311{ 16312 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 16313 test -d "$tmp" 16314} || 16315{ 16316 tmp=./conf$$-$RANDOM 16317 (umask 077 && mkdir "$tmp") 16318} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 16319ac_tmp=$tmp 16320 16321# Set up the scripts for CONFIG_FILES section. 16322# No need to generate them if there are no CONFIG_FILES. 16323# This happens for instance with `./config.status config.h'. 16324if test -n "$CONFIG_FILES"; then 16325 16326 16327ac_cr=`echo X | tr X '\015'` 16328# On cygwin, bash can eat \r inside `` if the user requested igncr. 16329# But we know of no other shell where ac_cr would be empty at this 16330# point, so we can use a bashism as a fallback. 16331if test "x$ac_cr" = x; then 16332 eval ac_cr=\$\'\\r\' 16333fi 16334ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 16335if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 16336 ac_cs_awk_cr='\\r' 16337else 16338 ac_cs_awk_cr=$ac_cr 16339fi 16340 16341echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 16342_ACEOF 16343 16344 16345{ 16346 echo "cat >conf$$subs.awk <<_ACEOF" && 16347 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 16348 echo "_ACEOF" 16349} >conf$$subs.sh || 16350 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16351ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 16352ac_delim='%!_!# ' 16353for ac_last_try in false false false false false :; do 16354 . ./conf$$subs.sh || 16355 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16356 16357 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 16358 if test $ac_delim_n = $ac_delim_num; then 16359 break 16360 elif $ac_last_try; then 16361 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16362 else 16363 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16364 fi 16365done 16366rm -f conf$$subs.sh 16367 16368cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16369cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 16370_ACEOF 16371sed -n ' 16372h 16373s/^/S["/; s/!.*/"]=/ 16374p 16375g 16376s/^[^!]*!// 16377:repl 16378t repl 16379s/'"$ac_delim"'$// 16380t delim 16381:nl 16382h 16383s/\(.\{148\}\)..*/\1/ 16384t more1 16385s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 16386p 16387n 16388b repl 16389:more1 16390s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16391p 16392g 16393s/.\{148\}// 16394t nl 16395:delim 16396h 16397s/\(.\{148\}\)..*/\1/ 16398t more2 16399s/["\\]/\\&/g; s/^/"/; s/$/"/ 16400p 16401b 16402:more2 16403s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16404p 16405g 16406s/.\{148\}// 16407t delim 16408' <conf$$subs.awk | sed ' 16409/^[^""]/{ 16410 N 16411 s/\n// 16412} 16413' >>$CONFIG_STATUS || ac_write_fail=1 16414rm -f conf$$subs.awk 16415cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16416_ACAWK 16417cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 16418 for (key in S) S_is_set[key] = 1 16419 FS = "" 16420 16421} 16422{ 16423 line = $ 0 16424 nfields = split(line, field, "@") 16425 substed = 0 16426 len = length(field[1]) 16427 for (i = 2; i < nfields; i++) { 16428 key = field[i] 16429 keylen = length(key) 16430 if (S_is_set[key]) { 16431 value = S[key] 16432 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 16433 len += length(value) + length(field[++i]) 16434 substed = 1 16435 } else 16436 len += 1 + keylen 16437 } 16438 16439 print line 16440} 16441 16442_ACAWK 16443_ACEOF 16444cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16445if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 16446 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 16447else 16448 cat 16449fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 16450 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 16451_ACEOF 16452 16453# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 16454# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 16455# trailing colons and then remove the whole line if VPATH becomes empty 16456# (actually we leave an empty line to preserve line numbers). 16457if test "x$srcdir" = x.; then 16458 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 16459h 16460s/// 16461s/^/:/ 16462s/[ ]*$/:/ 16463s/:\$(srcdir):/:/g 16464s/:\${srcdir}:/:/g 16465s/:@srcdir@:/:/g 16466s/^:*// 16467s/:*$// 16468x 16469s/\(=[ ]*\).*/\1/ 16470G 16471s/\n// 16472s/^[^=]*=[ ]*$// 16473}' 16474fi 16475 16476cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16477fi # test -n "$CONFIG_FILES" 16478 16479# Set up the scripts for CONFIG_HEADERS section. 16480# No need to generate them if there are no CONFIG_HEADERS. 16481# This happens for instance with `./config.status Makefile'. 16482if test -n "$CONFIG_HEADERS"; then 16483cat >"$ac_tmp/defines.awk" <<\_ACAWK || 16484BEGIN { 16485_ACEOF 16486 16487# Transform confdefs.h into an awk script `defines.awk', embedded as 16488# here-document in config.status, that substitutes the proper values into 16489# config.h.in to produce config.h. 16490 16491# Create a delimiter string that does not exist in confdefs.h, to ease 16492# handling of long lines. 16493ac_delim='%!_!# ' 16494for ac_last_try in false false :; do 16495 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 16496 if test -z "$ac_tt"; then 16497 break 16498 elif $ac_last_try; then 16499 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 16500 else 16501 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16502 fi 16503done 16504 16505# For the awk script, D is an array of macro values keyed by name, 16506# likewise P contains macro parameters if any. Preserve backslash 16507# newline sequences. 16508 16509ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16510sed -n ' 16511s/.\{148\}/&'"$ac_delim"'/g 16512t rset 16513:rset 16514s/^[ ]*#[ ]*define[ ][ ]*/ / 16515t def 16516d 16517:def 16518s/\\$// 16519t bsnl 16520s/["\\]/\\&/g 16521s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16522D["\1"]=" \3"/p 16523s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 16524d 16525:bsnl 16526s/["\\]/\\&/g 16527s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16528D["\1"]=" \3\\\\\\n"\\/p 16529t cont 16530s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 16531t cont 16532d 16533:cont 16534n 16535s/.\{148\}/&'"$ac_delim"'/g 16536t clear 16537:clear 16538s/\\$// 16539t bsnlc 16540s/["\\]/\\&/g; s/^/"/; s/$/"/p 16541d 16542:bsnlc 16543s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 16544b cont 16545' <confdefs.h | sed ' 16546s/'"$ac_delim"'/"\\\ 16547"/g' >>$CONFIG_STATUS || ac_write_fail=1 16548 16549cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16550 for (key in D) D_is_set[key] = 1 16551 FS = "" 16552} 16553/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 16554 line = \$ 0 16555 split(line, arg, " ") 16556 if (arg[1] == "#") { 16557 defundef = arg[2] 16558 mac1 = arg[3] 16559 } else { 16560 defundef = substr(arg[1], 2) 16561 mac1 = arg[2] 16562 } 16563 split(mac1, mac2, "(") #) 16564 macro = mac2[1] 16565 prefix = substr(line, 1, index(line, defundef) - 1) 16566 if (D_is_set[macro]) { 16567 # Preserve the white space surrounding the "#". 16568 print prefix "define", macro P[macro] D[macro] 16569 next 16570 } else { 16571 # Replace #undef with comments. This is necessary, for example, 16572 # in the case of _POSIX_SOURCE, which is predefined and required 16573 # on some systems where configure will not decide to define it. 16574 if (defundef == "undef") { 16575 print "/*", prefix defundef, macro, "*/" 16576 next 16577 } 16578 } 16579} 16580{ print } 16581_ACAWK 16582_ACEOF 16583cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16584 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 16585fi # test -n "$CONFIG_HEADERS" 16586 16587 16588eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16589shift 16590for ac_tag 16591do 16592 case $ac_tag in 16593 :[FHLC]) ac_mode=$ac_tag; continue;; 16594 esac 16595 case $ac_mode$ac_tag in 16596 :[FHL]*:*);; 16597 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 16598 :[FH]-) ac_tag=-:-;; 16599 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16600 esac 16601 ac_save_IFS=$IFS 16602 IFS=: 16603 set x $ac_tag 16604 IFS=$ac_save_IFS 16605 shift 16606 ac_file=$1 16607 shift 16608 16609 case $ac_mode in 16610 :L) ac_source=$1;; 16611 :[FH]) 16612 ac_file_inputs= 16613 for ac_f 16614 do 16615 case $ac_f in 16616 -) ac_f="$ac_tmp/stdin";; 16617 *) # Look for the file first in the build tree, then in the source tree 16618 # (if the path is not absolute). The absolute path cannot be DOS-style, 16619 # because $ac_f cannot contain `:'. 16620 test -f "$ac_f" || 16621 case $ac_f in 16622 [\\/$]*) false;; 16623 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16624 esac || 16625 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16626 esac 16627 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16628 as_fn_append ac_file_inputs " '$ac_f'" 16629 done 16630 16631 # Let's still pretend it is `configure' which instantiates (i.e., don't 16632 # use $as_me), people would be surprised to read: 16633 # /* config.h. Generated by config.status. */ 16634 configure_input='Generated from '` 16635 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16636 `' by configure.' 16637 if test x"$ac_file" != x-; then 16638 configure_input="$ac_file. $configure_input" 16639 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16640$as_echo "$as_me: creating $ac_file" >&6;} 16641 fi 16642 # Neutralize special characters interpreted by sed in replacement strings. 16643 case $configure_input in #( 16644 *\&* | *\|* | *\\* ) 16645 ac_sed_conf_input=`$as_echo "$configure_input" | 16646 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16647 *) ac_sed_conf_input=$configure_input;; 16648 esac 16649 16650 case $ac_tag in 16651 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 16652 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16653 esac 16654 ;; 16655 esac 16656 16657 ac_dir=`$as_dirname -- "$ac_file" || 16658$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16659 X"$ac_file" : 'X\(//\)[^/]' \| \ 16660 X"$ac_file" : 'X\(//\)$' \| \ 16661 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16662$as_echo X"$ac_file" | 16663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16664 s//\1/ 16665 q 16666 } 16667 /^X\(\/\/\)[^/].*/{ 16668 s//\1/ 16669 q 16670 } 16671 /^X\(\/\/\)$/{ 16672 s//\1/ 16673 q 16674 } 16675 /^X\(\/\).*/{ 16676 s//\1/ 16677 q 16678 } 16679 s/.*/./; q'` 16680 as_dir="$ac_dir"; as_fn_mkdir_p 16681 ac_builddir=. 16682 16683case "$ac_dir" in 16684.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16685*) 16686 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16687 # A ".." for each directory in $ac_dir_suffix. 16688 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16689 case $ac_top_builddir_sub in 16690 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16691 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16692 esac ;; 16693esac 16694ac_abs_top_builddir=$ac_pwd 16695ac_abs_builddir=$ac_pwd$ac_dir_suffix 16696# for backward compatibility: 16697ac_top_builddir=$ac_top_build_prefix 16698 16699case $srcdir in 16700 .) # We are building in place. 16701 ac_srcdir=. 16702 ac_top_srcdir=$ac_top_builddir_sub 16703 ac_abs_top_srcdir=$ac_pwd ;; 16704 [\\/]* | ?:[\\/]* ) # Absolute name. 16705 ac_srcdir=$srcdir$ac_dir_suffix; 16706 ac_top_srcdir=$srcdir 16707 ac_abs_top_srcdir=$srcdir ;; 16708 *) # Relative name. 16709 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 16710 ac_top_srcdir=$ac_top_build_prefix$srcdir 16711 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 16712esac 16713ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 16714 16715 16716 case $ac_mode in 16717 :F) 16718 # 16719 # CONFIG_FILE 16720 # 16721 16722 case $INSTALL in 16723 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16724 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 16725 esac 16726 ac_MKDIR_P=$MKDIR_P 16727 case $MKDIR_P in 16728 [\\/$]* | ?:[\\/]* ) ;; 16729 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 16730 esac 16731_ACEOF 16732 16733cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16734# If the template does not know about datarootdir, expand it. 16735# FIXME: This hack should be removed a few years after 2.60. 16736ac_datarootdir_hack=; ac_datarootdir_seen= 16737ac_sed_dataroot=' 16738/datarootdir/ { 16739 p 16740 q 16741} 16742/@datadir@/p 16743/@docdir@/p 16744/@infodir@/p 16745/@localedir@/p 16746/@mandir@/p' 16747case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16748*datarootdir*) ac_datarootdir_seen=yes;; 16749*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16751$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 16752_ACEOF 16753cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16754 ac_datarootdir_hack=' 16755 s&@datadir@&$datadir&g 16756 s&@docdir@&$docdir&g 16757 s&@infodir@&$infodir&g 16758 s&@localedir@&$localedir&g 16759 s&@mandir@&$mandir&g 16760 s&\\\${datarootdir}&$datarootdir&g' ;; 16761esac 16762_ACEOF 16763 16764# Neutralize VPATH when `$srcdir' = `.'. 16765# Shell code in configure.ac might set extrasub. 16766# FIXME: do we really want to maintain this feature? 16767cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16768ac_sed_extra="$ac_vpsub 16769$extrasub 16770_ACEOF 16771cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16772:t 16773/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16774s|@configure_input@|$ac_sed_conf_input|;t t 16775s&@top_builddir@&$ac_top_builddir_sub&;t t 16776s&@top_build_prefix@&$ac_top_build_prefix&;t t 16777s&@srcdir@&$ac_srcdir&;t t 16778s&@abs_srcdir@&$ac_abs_srcdir&;t t 16779s&@top_srcdir@&$ac_top_srcdir&;t t 16780s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 16781s&@builddir@&$ac_builddir&;t t 16782s&@abs_builddir@&$ac_abs_builddir&;t t 16783s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 16784s&@INSTALL@&$ac_INSTALL&;t t 16785s&@MKDIR_P@&$ac_MKDIR_P&;t t 16786$ac_datarootdir_hack 16787" 16788eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 16789 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16790 16791test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16792 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 16793 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 16794 "$ac_tmp/out"`; test -z "$ac_out"; } && 16795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16796which seems to be undefined. Please make sure it is defined" >&5 16797$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16798which seems to be undefined. Please make sure it is defined" >&2;} 16799 16800 rm -f "$ac_tmp/stdin" 16801 case $ac_file in 16802 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 16803 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 16804 esac \ 16805 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16806 ;; 16807 :H) 16808 # 16809 # CONFIG_HEADER 16810 # 16811 if test x"$ac_file" != x-; then 16812 { 16813 $as_echo "/* $configure_input */" \ 16814 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 16815 } >"$ac_tmp/config.h" \ 16816 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16817 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 16818 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16819$as_echo "$as_me: $ac_file is unchanged" >&6;} 16820 else 16821 rm -f "$ac_file" 16822 mv "$ac_tmp/config.h" "$ac_file" \ 16823 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16824 fi 16825 else 16826 $as_echo "/* $configure_input */" \ 16827 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 16828 || as_fn_error $? "could not create -" "$LINENO" 5 16829 fi 16830# Compute "$ac_file"'s index in $config_headers. 16831_am_arg="$ac_file" 16832_am_stamp_count=1 16833for _am_header in $config_headers :; do 16834 case $_am_header in 16835 $_am_arg | $_am_arg:* ) 16836 break ;; 16837 * ) 16838 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 16839 esac 16840done 16841echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 16842$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16843 X"$_am_arg" : 'X\(//\)[^/]' \| \ 16844 X"$_am_arg" : 'X\(//\)$' \| \ 16845 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 16846$as_echo X"$_am_arg" | 16847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16848 s//\1/ 16849 q 16850 } 16851 /^X\(\/\/\)[^/].*/{ 16852 s//\1/ 16853 q 16854 } 16855 /^X\(\/\/\)$/{ 16856 s//\1/ 16857 q 16858 } 16859 /^X\(\/\).*/{ 16860 s//\1/ 16861 q 16862 } 16863 s/.*/./; q'`/stamp-h$_am_stamp_count 16864 ;; 16865 16866 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16867$as_echo "$as_me: executing $ac_file commands" >&6;} 16868 ;; 16869 esac 16870 16871 16872 case $ac_file$ac_mode in 16873 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 16874 # Older Autoconf quotes --file arguments for eval, but not when files 16875 # are listed without --file. Let's play safe and only enable the eval 16876 # if we detect the quoting. 16877 case $CONFIG_FILES in 16878 *\'*) eval set x "$CONFIG_FILES" ;; 16879 *) set x $CONFIG_FILES ;; 16880 esac 16881 shift 16882 for mf 16883 do 16884 # Strip MF so we end up with the name of the file. 16885 mf=`echo "$mf" | sed -e 's/:.*$//'` 16886 # Check whether this is an Automake generated Makefile or not. 16887 # We used to match only the files named 'Makefile.in', but 16888 # some people rename them; so instead we look at the file content. 16889 # Grep'ing the first line is not enough: some people post-process 16890 # each Makefile.in and add a new line on top of each file to say so. 16891 # Grep'ing the whole file is not good either: AIX grep has a line 16892 # limit of 2048, but all sed's we know have understand at least 4000. 16893 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 16894 dirpart=`$as_dirname -- "$mf" || 16895$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16896 X"$mf" : 'X\(//\)[^/]' \| \ 16897 X"$mf" : 'X\(//\)$' \| \ 16898 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 16899$as_echo X"$mf" | 16900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16901 s//\1/ 16902 q 16903 } 16904 /^X\(\/\/\)[^/].*/{ 16905 s//\1/ 16906 q 16907 } 16908 /^X\(\/\/\)$/{ 16909 s//\1/ 16910 q 16911 } 16912 /^X\(\/\).*/{ 16913 s//\1/ 16914 q 16915 } 16916 s/.*/./; q'` 16917 else 16918 continue 16919 fi 16920 # Extract the definition of DEPDIR, am__include, and am__quote 16921 # from the Makefile without running 'make'. 16922 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 16923 test -z "$DEPDIR" && continue 16924 am__include=`sed -n 's/^am__include = //p' < "$mf"` 16925 test -z "$am__include" && continue 16926 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 16927 # Find all dependency output files, they are included files with 16928 # $(DEPDIR) in their names. We invoke sed twice because it is the 16929 # simplest approach to changing $(DEPDIR) to its actual value in the 16930 # expansion. 16931 for file in `sed -n " 16932 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 16933 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 16934 # Make sure the directory exists. 16935 test -f "$dirpart/$file" && continue 16936 fdir=`$as_dirname -- "$file" || 16937$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16938 X"$file" : 'X\(//\)[^/]' \| \ 16939 X"$file" : 'X\(//\)$' \| \ 16940 X"$file" : 'X\(/\)' \| . 2>/dev/null || 16941$as_echo X"$file" | 16942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16943 s//\1/ 16944 q 16945 } 16946 /^X\(\/\/\)[^/].*/{ 16947 s//\1/ 16948 q 16949 } 16950 /^X\(\/\/\)$/{ 16951 s//\1/ 16952 q 16953 } 16954 /^X\(\/\).*/{ 16955 s//\1/ 16956 q 16957 } 16958 s/.*/./; q'` 16959 as_dir=$dirpart/$fdir; as_fn_mkdir_p 16960 # echo "creating $dirpart/$file" 16961 echo '# dummy' > "$dirpart/$file" 16962 done 16963 done 16964} 16965 ;; 16966 "libtool":C) 16967 16968 # See if we are running on zsh, and set the options that allow our 16969 # commands through without removal of \ escapes. 16970 if test -n "${ZSH_VERSION+set}"; then 16971 setopt NO_GLOB_SUBST 16972 fi 16973 16974 cfgfile=${ofile}T 16975 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 16976 $RM "$cfgfile" 16977 16978 cat <<_LT_EOF >> "$cfgfile" 16979#! $SHELL 16980# Generated automatically by $as_me ($PACKAGE) $VERSION 16981# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 16982# NOTE: Changes made to this file will be lost: look at ltmain.sh. 16983 16984# Provide generalized library-building support services. 16985# Written by Gordon Matzigkeit, 1996 16986 16987# Copyright (C) 2014 Free Software Foundation, Inc. 16988# This is free software; see the source for copying conditions. There is NO 16989# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16990 16991# GNU Libtool is free software; you can redistribute it and/or modify 16992# it under the terms of the GNU General Public License as published by 16993# the Free Software Foundation; either version 2 of of the License, or 16994# (at your option) any later version. 16995# 16996# As a special exception to the GNU General Public License, if you 16997# distribute this file as part of a program or library that is built 16998# using GNU Libtool, you may include this file under the same 16999# distribution terms that you use for the rest of that program. 17000# 17001# GNU Libtool is distributed in the hope that it will be useful, but 17002# WITHOUT ANY WARRANTY; without even the implied warranty of 17003# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17004# GNU General Public License for more details. 17005# 17006# You should have received a copy of the GNU General Public License 17007# along with this program. If not, see <http://www.gnu.org/licenses/>. 17008 17009 17010# The names of the tagged configurations supported by this script. 17011available_tags='' 17012 17013# Configured defaults for sys_lib_dlsearch_path munging. 17014: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 17015 17016# ### BEGIN LIBTOOL CONFIG 17017 17018# Which release of libtool.m4 was used? 17019macro_version=$macro_version 17020macro_revision=$macro_revision 17021 17022# Assembler program. 17023AS=$lt_AS 17024 17025# DLL creation program. 17026DLLTOOL=$lt_DLLTOOL 17027 17028# Object dumper program. 17029OBJDUMP=$lt_OBJDUMP 17030 17031# Whether or not to build shared libraries. 17032build_libtool_libs=$enable_shared 17033 17034# Whether or not to build static libraries. 17035build_old_libs=$enable_static 17036 17037# What type of objects to build. 17038pic_mode=$pic_mode 17039 17040# Whether or not to optimize for fast installation. 17041fast_install=$enable_fast_install 17042 17043# Shared archive member basename,for filename based shared library versioning on AIX. 17044shared_archive_member_spec=$shared_archive_member_spec 17045 17046# Shell to use when invoking shell scripts. 17047SHELL=$lt_SHELL 17048 17049# An echo program that protects backslashes. 17050ECHO=$lt_ECHO 17051 17052# The PATH separator for the build system. 17053PATH_SEPARATOR=$lt_PATH_SEPARATOR 17054 17055# The host system. 17056host_alias=$host_alias 17057host=$host 17058host_os=$host_os 17059 17060# The build system. 17061build_alias=$build_alias 17062build=$build 17063build_os=$build_os 17064 17065# A sed program that does not truncate output. 17066SED=$lt_SED 17067 17068# Sed that helps us avoid accidentally triggering echo(1) options like -n. 17069Xsed="\$SED -e 1s/^X//" 17070 17071# A grep program that handles long lines. 17072GREP=$lt_GREP 17073 17074# An ERE matcher. 17075EGREP=$lt_EGREP 17076 17077# A literal string matcher. 17078FGREP=$lt_FGREP 17079 17080# A BSD- or MS-compatible name lister. 17081NM=$lt_NM 17082 17083# Whether we need soft or hard links. 17084LN_S=$lt_LN_S 17085 17086# What is the maximum length of a command? 17087max_cmd_len=$max_cmd_len 17088 17089# Object file suffix (normally "o"). 17090objext=$ac_objext 17091 17092# Executable file suffix (normally ""). 17093exeext=$exeext 17094 17095# whether the shell understands "unset". 17096lt_unset=$lt_unset 17097 17098# turn spaces into newlines. 17099SP2NL=$lt_lt_SP2NL 17100 17101# turn newlines into spaces. 17102NL2SP=$lt_lt_NL2SP 17103 17104# convert \$build file names to \$host format. 17105to_host_file_cmd=$lt_cv_to_host_file_cmd 17106 17107# convert \$build files to toolchain format. 17108to_tool_file_cmd=$lt_cv_to_tool_file_cmd 17109 17110# Method to check whether dependent libraries are shared objects. 17111deplibs_check_method=$lt_deplibs_check_method 17112 17113# Command to use when deplibs_check_method = "file_magic". 17114file_magic_cmd=$lt_file_magic_cmd 17115 17116# How to find potential files when deplibs_check_method = "file_magic". 17117file_magic_glob=$lt_file_magic_glob 17118 17119# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 17120want_nocaseglob=$lt_want_nocaseglob 17121 17122# Command to associate shared and link libraries. 17123sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 17124 17125# The archiver. 17126AR=$lt_AR 17127 17128# Flags to create an archive. 17129AR_FLAGS=$lt_AR_FLAGS 17130 17131# How to feed a file listing to the archiver. 17132archiver_list_spec=$lt_archiver_list_spec 17133 17134# A symbol stripping program. 17135STRIP=$lt_STRIP 17136 17137# Commands used to install an old-style archive. 17138RANLIB=$lt_RANLIB 17139old_postinstall_cmds=$lt_old_postinstall_cmds 17140old_postuninstall_cmds=$lt_old_postuninstall_cmds 17141 17142# Whether to use a lock for old archive extraction. 17143lock_old_archive_extraction=$lock_old_archive_extraction 17144 17145# A C compiler. 17146LTCC=$lt_CC 17147 17148# LTCC compiler flags. 17149LTCFLAGS=$lt_CFLAGS 17150 17151# Take the output of nm and produce a listing of raw symbols and C names. 17152global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 17153 17154# Transform the output of nm in a proper C declaration. 17155global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 17156 17157# Transform the output of nm into a list of symbols to manually relocate. 17158global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 17159 17160# Transform the output of nm in a C name address pair. 17161global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 17162 17163# Transform the output of nm in a C name address pair when lib prefix is needed. 17164global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 17165 17166# The name lister interface. 17167nm_interface=$lt_lt_cv_nm_interface 17168 17169# Specify filename containing input files for \$NM. 17170nm_file_list_spec=$lt_nm_file_list_spec 17171 17172# The root where to search for dependent libraries,and where our libraries should be installed. 17173lt_sysroot=$lt_sysroot 17174 17175# Command to truncate a binary pipe. 17176lt_truncate_bin=$lt_lt_cv_truncate_bin 17177 17178# The name of the directory that contains temporary libtool files. 17179objdir=$objdir 17180 17181# Used to examine libraries when file_magic_cmd begins with "file". 17182MAGIC_CMD=$MAGIC_CMD 17183 17184# Must we lock files when doing compilation? 17185need_locks=$lt_need_locks 17186 17187# Manifest tool. 17188MANIFEST_TOOL=$lt_MANIFEST_TOOL 17189 17190# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 17191DSYMUTIL=$lt_DSYMUTIL 17192 17193# Tool to change global to local symbols on Mac OS X. 17194NMEDIT=$lt_NMEDIT 17195 17196# Tool to manipulate fat objects and archives on Mac OS X. 17197LIPO=$lt_LIPO 17198 17199# ldd/readelf like tool for Mach-O binaries on Mac OS X. 17200OTOOL=$lt_OTOOL 17201 17202# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 17203OTOOL64=$lt_OTOOL64 17204 17205# Old archive suffix (normally "a"). 17206libext=$libext 17207 17208# Shared library suffix (normally ".so"). 17209shrext_cmds=$lt_shrext_cmds 17210 17211# The commands to extract the exported symbol list from a shared archive. 17212extract_expsyms_cmds=$lt_extract_expsyms_cmds 17213 17214# Variables whose values should be saved in libtool wrapper scripts and 17215# restored at link time. 17216variables_saved_for_relink=$lt_variables_saved_for_relink 17217 17218# Do we need the "lib" prefix for modules? 17219need_lib_prefix=$need_lib_prefix 17220 17221# Do we need a version for libraries? 17222need_version=$need_version 17223 17224# Library versioning type. 17225version_type=$version_type 17226 17227# Shared library runtime path variable. 17228runpath_var=$runpath_var 17229 17230# Shared library path variable. 17231shlibpath_var=$shlibpath_var 17232 17233# Is shlibpath searched before the hard-coded library search path? 17234shlibpath_overrides_runpath=$shlibpath_overrides_runpath 17235 17236# Format of library name prefix. 17237libname_spec=$lt_libname_spec 17238 17239# List of archive names. First name is the real one, the rest are links. 17240# The last name is the one that the linker finds with -lNAME 17241library_names_spec=$lt_library_names_spec 17242 17243# The coded name of the library, if different from the real name. 17244soname_spec=$lt_soname_spec 17245 17246# Permission mode override for installation of shared libraries. 17247install_override_mode=$lt_install_override_mode 17248 17249# Command to use after installation of a shared archive. 17250postinstall_cmds=$lt_postinstall_cmds 17251 17252# Command to use after uninstallation of a shared archive. 17253postuninstall_cmds=$lt_postuninstall_cmds 17254 17255# Commands used to finish a libtool library installation in a directory. 17256finish_cmds=$lt_finish_cmds 17257 17258# As "finish_cmds", except a single script fragment to be evaled but 17259# not shown. 17260finish_eval=$lt_finish_eval 17261 17262# Whether we should hardcode library paths into libraries. 17263hardcode_into_libs=$hardcode_into_libs 17264 17265# Compile-time system search path for libraries. 17266sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 17267 17268# Detected run-time system search path for libraries. 17269sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 17270 17271# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 17272configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 17273 17274# Whether dlopen is supported. 17275dlopen_support=$enable_dlopen 17276 17277# Whether dlopen of programs is supported. 17278dlopen_self=$enable_dlopen_self 17279 17280# Whether dlopen of statically linked programs is supported. 17281dlopen_self_static=$enable_dlopen_self_static 17282 17283# Commands to strip libraries. 17284old_striplib=$lt_old_striplib 17285striplib=$lt_striplib 17286 17287 17288# The linker used to build libraries. 17289LD=$lt_LD 17290 17291# How to create reloadable object files. 17292reload_flag=$lt_reload_flag 17293reload_cmds=$lt_reload_cmds 17294 17295# Commands used to build an old-style archive. 17296old_archive_cmds=$lt_old_archive_cmds 17297 17298# A language specific compiler. 17299CC=$lt_compiler 17300 17301# Is the compiler the GNU compiler? 17302with_gcc=$GCC 17303 17304# Compiler flag to turn off builtin functions. 17305no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 17306 17307# Additional compiler flags for building library objects. 17308pic_flag=$lt_lt_prog_compiler_pic 17309 17310# How to pass a linker flag through the compiler. 17311wl=$lt_lt_prog_compiler_wl 17312 17313# Compiler flag to prevent dynamic linking. 17314link_static_flag=$lt_lt_prog_compiler_static 17315 17316# Does compiler simultaneously support -c and -o options? 17317compiler_c_o=$lt_lt_cv_prog_compiler_c_o 17318 17319# Whether or not to add -lc for building shared libraries. 17320build_libtool_need_lc=$archive_cmds_need_lc 17321 17322# Whether or not to disallow shared libs when runtime libs are static. 17323allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 17324 17325# Compiler flag to allow reflexive dlopens. 17326export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 17327 17328# Compiler flag to generate shared objects directly from archives. 17329whole_archive_flag_spec=$lt_whole_archive_flag_spec 17330 17331# Whether the compiler copes with passing no objects directly. 17332compiler_needs_object=$lt_compiler_needs_object 17333 17334# Create an old-style archive from a shared archive. 17335old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 17336 17337# Create a temporary old-style archive to link instead of a shared archive. 17338old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 17339 17340# Commands used to build a shared archive. 17341archive_cmds=$lt_archive_cmds 17342archive_expsym_cmds=$lt_archive_expsym_cmds 17343 17344# Commands used to build a loadable module if different from building 17345# a shared archive. 17346module_cmds=$lt_module_cmds 17347module_expsym_cmds=$lt_module_expsym_cmds 17348 17349# Whether we are building with GNU ld or not. 17350with_gnu_ld=$lt_with_gnu_ld 17351 17352# Flag that allows shared libraries with undefined symbols to be built. 17353allow_undefined_flag=$lt_allow_undefined_flag 17354 17355# Flag that enforces no undefined symbols. 17356no_undefined_flag=$lt_no_undefined_flag 17357 17358# Flag to hardcode \$libdir into a binary during linking. 17359# This must work even if \$libdir does not exist 17360hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 17361 17362# Whether we need a single "-rpath" flag with a separated argument. 17363hardcode_libdir_separator=$lt_hardcode_libdir_separator 17364 17365# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 17366# DIR into the resulting binary. 17367hardcode_direct=$hardcode_direct 17368 17369# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 17370# DIR into the resulting binary and the resulting library dependency is 17371# "absolute",i.e impossible to change by setting \$shlibpath_var if the 17372# library is relocated. 17373hardcode_direct_absolute=$hardcode_direct_absolute 17374 17375# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 17376# into the resulting binary. 17377hardcode_minus_L=$hardcode_minus_L 17378 17379# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 17380# into the resulting binary. 17381hardcode_shlibpath_var=$hardcode_shlibpath_var 17382 17383# Set to "yes" if building a shared library automatically hardcodes DIR 17384# into the library and all subsequent libraries and executables linked 17385# against it. 17386hardcode_automatic=$hardcode_automatic 17387 17388# Set to yes if linker adds runtime paths of dependent libraries 17389# to runtime path list. 17390inherit_rpath=$inherit_rpath 17391 17392# Whether libtool must link a program against all its dependency libraries. 17393link_all_deplibs=$link_all_deplibs 17394 17395# Set to "yes" if exported symbols are required. 17396always_export_symbols=$always_export_symbols 17397 17398# The commands to list exported symbols. 17399export_symbols_cmds=$lt_export_symbols_cmds 17400 17401# Symbols that should not be listed in the preloaded symbols. 17402exclude_expsyms=$lt_exclude_expsyms 17403 17404# Symbols that must always be exported. 17405include_expsyms=$lt_include_expsyms 17406 17407# Commands necessary for linking programs (against libraries) with templates. 17408prelink_cmds=$lt_prelink_cmds 17409 17410# Commands necessary for finishing linking programs. 17411postlink_cmds=$lt_postlink_cmds 17412 17413# Specify filename containing input files. 17414file_list_spec=$lt_file_list_spec 17415 17416# How to hardcode a shared library path into an executable. 17417hardcode_action=$hardcode_action 17418 17419# ### END LIBTOOL CONFIG 17420 17421_LT_EOF 17422 17423 cat <<'_LT_EOF' >> "$cfgfile" 17424 17425# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 17426 17427# func_munge_path_list VARIABLE PATH 17428# ----------------------------------- 17429# VARIABLE is name of variable containing _space_ separated list of 17430# directories to be munged by the contents of PATH, which is string 17431# having a format: 17432# "DIR[:DIR]:" 17433# string "DIR[ DIR]" will be prepended to VARIABLE 17434# ":DIR[:DIR]" 17435# string "DIR[ DIR]" will be appended to VARIABLE 17436# "DIRP[:DIRP]::[DIRA:]DIRA" 17437# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 17438# "DIRA[ DIRA]" will be appended to VARIABLE 17439# "DIR[:DIR]" 17440# VARIABLE will be replaced by "DIR[ DIR]" 17441func_munge_path_list () 17442{ 17443 case x$2 in 17444 x) 17445 ;; 17446 *:) 17447 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 17448 ;; 17449 x:*) 17450 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 17451 ;; 17452 *::*) 17453 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 17454 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 17455 ;; 17456 *) 17457 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 17458 ;; 17459 esac 17460} 17461 17462 17463# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 17464func_cc_basename () 17465{ 17466 for cc_temp in $*""; do 17467 case $cc_temp in 17468 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 17469 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 17470 \-*) ;; 17471 *) break;; 17472 esac 17473 done 17474 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 17475} 17476 17477 17478# ### END FUNCTIONS SHARED WITH CONFIGURE 17479 17480_LT_EOF 17481 17482 case $host_os in 17483 aix3*) 17484 cat <<\_LT_EOF >> "$cfgfile" 17485# AIX sometimes has problems with the GCC collect2 program. For some 17486# reason, if we set the COLLECT_NAMES environment variable, the problems 17487# vanish in a puff of smoke. 17488if test set != "${COLLECT_NAMES+set}"; then 17489 COLLECT_NAMES= 17490 export COLLECT_NAMES 17491fi 17492_LT_EOF 17493 ;; 17494 esac 17495 17496 17497ltmain=$ac_aux_dir/ltmain.sh 17498 17499 17500 # We use sed instead of cat because bash on DJGPP gets confused if 17501 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17502 # text mode, it properly converts lines to CR/LF. This bash problem 17503 # is reportedly fixed, but why not run on old versions too? 17504 sed '$q' "$ltmain" >> "$cfgfile" \ 17505 || (rm -f "$cfgfile"; exit 1) 17506 17507 mv -f "$cfgfile" "$ofile" || 17508 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17509 chmod +x "$ofile" 17510 17511 ;; 17512 17513 esac 17514done # for ac_tag 17515 17516 17517as_fn_exit 0 17518_ACEOF 17519ac_clean_files=$ac_clean_files_save 17520 17521test $ac_write_fail = 0 || 17522 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17523 17524if test "x$cross_compiling" = xyes; then : 17525 if test "x$cache_file" != x/dev/null; then : 17526 cache_file=config.cache 17527fi 17528ac_configure_args="$ac_configure_args --host='$kpse_build_alias' \ 17529CC='$BUILDCC' CFLAGS='$BUILDCFLAGS' \ 17530CPPFLAGS='$BUILDCPPFLAGS' LDFLAGS='$BUILDLDFLAGS'" 17531fi 17532 17533# configure is writing to config.log, and then calls config.status. 17534# config.status does its own redirection, appending to config.log. 17535# Unfortunately, on DOS this fails, as config.log is still kept open 17536# by configure, so config.status won't be able to write to it; its 17537# output is simply discarded. So we exec the FD to /dev/null, 17538# effectively closing config.log, so it can be properly (re)opened and 17539# appended to by config.status. When coming back to configure, we 17540# need to make the FD available again. 17541if test "$no_create" != yes; then 17542 ac_cs_success=: 17543 ac_config_status_args= 17544 test "$silent" = yes && 17545 ac_config_status_args="$ac_config_status_args --quiet" 17546 exec 5>/dev/null 17547 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 17548 exec 5>>config.log 17549 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17550 # would make configure fail if this is the last instruction. 17551 $ac_cs_success || as_fn_exit 1 17552fi 17553 17554# 17555# CONFIG_SUBDIRS section. 17556# 17557if test "$no_recursion" != yes; then 17558 17559 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 17560 # so they do not pile up. 17561 ac_sub_configure_args= 17562 ac_prev= 17563 eval "set x $ac_configure_args" 17564 shift 17565 for ac_arg 17566 do 17567 if test -n "$ac_prev"; then 17568 ac_prev= 17569 continue 17570 fi 17571 case $ac_arg in 17572 -cache-file | --cache-file | --cache-fil | --cache-fi \ 17573 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 17574 ac_prev=cache_file ;; 17575 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 17576 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 17577 | --c=*) 17578 ;; 17579 --config-cache | -C) 17580 ;; 17581 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 17582 ac_prev=srcdir ;; 17583 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 17584 ;; 17585 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 17586 ac_prev=prefix ;; 17587 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 17588 ;; 17589 --disable-option-checking) 17590 ;; 17591 *) 17592 case $ac_arg in 17593 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17594 esac 17595 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 17596 esac 17597 done 17598 17599 # Always prepend --prefix to ensure using the same prefix 17600 # in subdir configurations. 17601 ac_arg="--prefix=$prefix" 17602 case $ac_arg in 17603 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17604 esac 17605 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 17606 17607 # Pass --silent 17608 if test "$silent" = yes; then 17609 ac_sub_configure_args="--silent $ac_sub_configure_args" 17610 fi 17611 17612 # Always prepend --disable-option-checking to silence warnings, since 17613 # different subdirs can have different --enable and --with options. 17614 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 17615 17616 ac_popdir=`pwd` 17617 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 17618 17619 # Do not complain, so a configure script can configure whichever 17620 # parts of a large source tree are present. 17621 test -d "$srcdir/$ac_dir" || continue 17622 17623 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 17624 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 17625 $as_echo "$ac_msg" >&6 17626 as_dir="$ac_dir"; as_fn_mkdir_p 17627 ac_builddir=. 17628 17629case "$ac_dir" in 17630.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17631*) 17632 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17633 # A ".." for each directory in $ac_dir_suffix. 17634 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17635 case $ac_top_builddir_sub in 17636 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17637 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17638 esac ;; 17639esac 17640ac_abs_top_builddir=$ac_pwd 17641ac_abs_builddir=$ac_pwd$ac_dir_suffix 17642# for backward compatibility: 17643ac_top_builddir=$ac_top_build_prefix 17644 17645case $srcdir in 17646 .) # We are building in place. 17647 ac_srcdir=. 17648 ac_top_srcdir=$ac_top_builddir_sub 17649 ac_abs_top_srcdir=$ac_pwd ;; 17650 [\\/]* | ?:[\\/]* ) # Absolute name. 17651 ac_srcdir=$srcdir$ac_dir_suffix; 17652 ac_top_srcdir=$srcdir 17653 ac_abs_top_srcdir=$srcdir ;; 17654 *) # Relative name. 17655 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17656 ac_top_srcdir=$ac_top_build_prefix$srcdir 17657 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17658esac 17659ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17660 17661 17662 cd "$ac_dir" 17663 17664 # Check for guested configure; otherwise get Cygnus style configure. 17665 if test -f "$ac_srcdir/configure.gnu"; then 17666 ac_sub_configure=$ac_srcdir/configure.gnu 17667 elif test -f "$ac_srcdir/configure"; then 17668 ac_sub_configure=$ac_srcdir/configure 17669 elif test -f "$ac_srcdir/configure.in"; then 17670 # This should be Cygnus configure. 17671 ac_sub_configure=$ac_aux_dir/configure 17672 else 17673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 17674$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 17675 ac_sub_configure= 17676 fi 17677 17678 # The recursion is here. 17679 if test -n "$ac_sub_configure"; then 17680 # Make the cache file name correct relative to the subdirectory. 17681 case $cache_file in 17682 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 17683 *) # Relative name. 17684 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 17685 esac 17686 17687 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 17688$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 17689 # The eval makes quoting arguments work. 17690 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 17691 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 17692 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 17693 fi 17694 17695 cd "$ac_popdir" 17696 done 17697fi 17698if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 17699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 17700$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17701fi 17702 17703