1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for dvipdfm-x (TeX Live) 20150315. 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='dvipdfm-x (TeX Live)' 592PACKAGE_TARNAME='dvipdfm-x--tex-live-' 593PACKAGE_VERSION='20150315' 594PACKAGE_STRING='dvipdfm-x (TeX Live) 20150315' 595PACKAGE_BUGREPORT='tex-k@tug.org' 596PACKAGE_URL='' 597 598ac_unique_file="agl.c" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638XDVIPDFMX_FALSE 639XDVIPDFMX_TRUE 640DVIPDFMX_FALSE 641DVIPDFMX_TRUE 642WIN32_CALL_FALSE 643WIN32_CALL_TRUE 644WIN32_FALSE 645WIN32_TRUE 646LIBPAPER_RULE 647LIBPAPER_DEPEND 648LIBPAPER_LIBS 649LIBPAPER_INCLUDES 650LIBPNG_RULE 651LIBPNG_DEPEND 652LIBPNG_LIBS 653LIBPNG_INCLUDES 654ZLIB_RULE 655ZLIB_DEPEND 656ZLIB_LIBS 657ZLIB_INCLUDES 658KPATHSEA_RULE 659KPATHSEA_DEPEND 660KPATHSEA_LIBS 661KPATHSEA_INCLUDES 662PKG_CONFIG 663LIBOBJS 664CPP 665LT_SYS_LIBRARY_PATH 666OTOOL64 667OTOOL 668LIPO 669NMEDIT 670DSYMUTIL 671MANIFEST_TOOL 672RANLIB 673ac_ct_AR 674AR 675LN_S 676NM 677ac_ct_DUMPBIN 678DUMPBIN 679LD 680FGREP 681EGREP 682GREP 683SED 684host_os 685host_vendor 686host_cpu 687host 688build_os 689build_vendor 690build_cpu 691build 692LIBTOOL 693OBJDUMP 694DLLTOOL 695AS 696WARNING_CFLAGS 697am__fastdepCC_FALSE 698am__fastdepCC_TRUE 699CCDEPMODE 700am__nodep 701AMDEPBACKSLASH 702AMDEP_FALSE 703AMDEP_TRUE 704am__quote 705am__include 706DEPDIR 707OBJEXT 708EXEEXT 709ac_ct_CC 710CPPFLAGS 711LDFLAGS 712CFLAGS 713CC 714MAINT 715MAINTAINER_MODE_FALSE 716MAINTAINER_MODE_TRUE 717AM_BACKSLASH 718AM_DEFAULT_VERBOSITY 719AM_DEFAULT_V 720AM_V 721am__untar 722am__tar 723AMTAR 724am__leading_dot 725SET_MAKE 726AWK 727mkdir_p 728MKDIR_P 729INSTALL_STRIP_PROGRAM 730STRIP 731install_sh 732MAKEINFO 733AUTOHEADER 734AUTOMAKE 735AUTOCONF 736ACLOCAL 737VERSION 738PACKAGE 739CYGPATH_W 740am__isrc 741INSTALL_DATA 742INSTALL_SCRIPT 743INSTALL_PROGRAM 744target_alias 745host_alias 746build_alias 747LIBS 748ECHO_T 749ECHO_N 750ECHO_C 751DEFS 752mandir 753localedir 754libdir 755psdir 756pdfdir 757dvidir 758htmldir 759infodir 760docdir 761oldincludedir 762includedir 763localstatedir 764sharedstatedir 765sysconfdir 766datadir 767datarootdir 768libexecdir 769sbindir 770bindir 771program_transform_name 772prefix 773exec_prefix 774PACKAGE_URL 775PACKAGE_BUGREPORT 776PACKAGE_STRING 777PACKAGE_VERSION 778PACKAGE_TARNAME 779PACKAGE_NAME 780PATH_SEPARATOR 781SHELL' 782ac_subst_files='' 783ac_user_opts=' 784enable_option_checking 785enable_silent_rules 786enable_maintainer_mode 787enable_dependency_tracking 788enable_compiler_warnings 789enable_shared 790enable_static 791with_pic 792enable_fast_install 793with_aix_soname 794with_gnu_ld 795with_sysroot 796enable_libtool_lock 797enable_largefile 798enable_dvipdfmx 799enable_xdvipdfmx 800with_system_kpathsea 801with_system_zlib 802with_zlib_includes 803with_zlib_libdir 804with_system_libpng 805with_system_libpaper 806with_libpaper_includes 807with_libpaper_libdir 808' 809 ac_precious_vars='build_alias 810host_alias 811target_alias 812CC 813CFLAGS 814LDFLAGS 815LIBS 816CPPFLAGS 817LT_SYS_LIBRARY_PATH 818CPP' 819 820 821# Initialize some variables set by options. 822ac_init_help= 823ac_init_version=false 824ac_unrecognized_opts= 825ac_unrecognized_sep= 826# The variables have the same names as the options, with 827# dashes changed to underlines. 828cache_file=/dev/null 829exec_prefix=NONE 830no_create= 831no_recursion= 832prefix=NONE 833program_prefix=NONE 834program_suffix=NONE 835program_transform_name=s,x,x, 836silent= 837site= 838srcdir= 839verbose= 840x_includes=NONE 841x_libraries=NONE 842 843# Installation directory options. 844# These are left unexpanded so users can "make install exec_prefix=/foo" 845# and all the variables that are supposed to be based on exec_prefix 846# by default will actually change. 847# Use braces instead of parens because sh, perl, etc. also accept them. 848# (The list follows the same order as the GNU Coding Standards.) 849bindir='${exec_prefix}/bin' 850sbindir='${exec_prefix}/sbin' 851libexecdir='${exec_prefix}/libexec' 852datarootdir='${prefix}/share' 853datadir='${datarootdir}' 854sysconfdir='${prefix}/etc' 855sharedstatedir='${prefix}/com' 856localstatedir='${prefix}/var' 857includedir='${prefix}/include' 858oldincludedir='/usr/include' 859docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 860infodir='${datarootdir}/info' 861htmldir='${docdir}' 862dvidir='${docdir}' 863pdfdir='${docdir}' 864psdir='${docdir}' 865libdir='${exec_prefix}/lib' 866localedir='${datarootdir}/locale' 867mandir='${datarootdir}/man' 868 869ac_prev= 870ac_dashdash= 871for ac_option 872do 873 # If the previous option needs an argument, assign it. 874 if test -n "$ac_prev"; then 875 eval $ac_prev=\$ac_option 876 ac_prev= 877 continue 878 fi 879 880 case $ac_option in 881 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 882 *=) ac_optarg= ;; 883 *) ac_optarg=yes ;; 884 esac 885 886 # Accept the important Cygnus configure options, so we can diagnose typos. 887 888 case $ac_dashdash$ac_option in 889 --) 890 ac_dashdash=yes ;; 891 892 -bindir | --bindir | --bindi | --bind | --bin | --bi) 893 ac_prev=bindir ;; 894 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 895 bindir=$ac_optarg ;; 896 897 -build | --build | --buil | --bui | --bu) 898 ac_prev=build_alias ;; 899 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 900 build_alias=$ac_optarg ;; 901 902 -cache-file | --cache-file | --cache-fil | --cache-fi \ 903 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 904 ac_prev=cache_file ;; 905 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 906 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 907 cache_file=$ac_optarg ;; 908 909 --config-cache | -C) 910 cache_file=config.cache ;; 911 912 -datadir | --datadir | --datadi | --datad) 913 ac_prev=datadir ;; 914 -datadir=* | --datadir=* | --datadi=* | --datad=*) 915 datadir=$ac_optarg ;; 916 917 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 918 | --dataroo | --dataro | --datar) 919 ac_prev=datarootdir ;; 920 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 921 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 922 datarootdir=$ac_optarg ;; 923 924 -disable-* | --disable-*) 925 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 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--disable-$ac_useropt_orig" 936 ac_unrecognized_sep=', ';; 937 esac 938 eval enable_$ac_useropt=no ;; 939 940 -docdir | --docdir | --docdi | --doc | --do) 941 ac_prev=docdir ;; 942 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 943 docdir=$ac_optarg ;; 944 945 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 946 ac_prev=dvidir ;; 947 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 948 dvidir=$ac_optarg ;; 949 950 -enable-* | --enable-*) 951 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 952 # Reject names that are not valid shell variable names. 953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 954 as_fn_error $? "invalid feature name: $ac_useropt" 955 ac_useropt_orig=$ac_useropt 956 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 957 case $ac_user_opts in 958 *" 959"enable_$ac_useropt" 960"*) ;; 961 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 962 ac_unrecognized_sep=', ';; 963 esac 964 eval enable_$ac_useropt=\$ac_optarg ;; 965 966 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 967 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 968 | --exec | --exe | --ex) 969 ac_prev=exec_prefix ;; 970 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 971 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 972 | --exec=* | --exe=* | --ex=*) 973 exec_prefix=$ac_optarg ;; 974 975 -gas | --gas | --ga | --g) 976 # Obsolete; use --with-gas. 977 with_gas=yes ;; 978 979 -help | --help | --hel | --he | -h) 980 ac_init_help=long ;; 981 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 982 ac_init_help=recursive ;; 983 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 984 ac_init_help=short ;; 985 986 -host | --host | --hos | --ho) 987 ac_prev=host_alias ;; 988 -host=* | --host=* | --hos=* | --ho=*) 989 host_alias=$ac_optarg ;; 990 991 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 992 ac_prev=htmldir ;; 993 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 994 | --ht=*) 995 htmldir=$ac_optarg ;; 996 997 -includedir | --includedir | --includedi | --included | --include \ 998 | --includ | --inclu | --incl | --inc) 999 ac_prev=includedir ;; 1000 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1001 | --includ=* | --inclu=* | --incl=* | --inc=*) 1002 includedir=$ac_optarg ;; 1003 1004 -infodir | --infodir | --infodi | --infod | --info | --inf) 1005 ac_prev=infodir ;; 1006 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1007 infodir=$ac_optarg ;; 1008 1009 -libdir | --libdir | --libdi | --libd) 1010 ac_prev=libdir ;; 1011 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1012 libdir=$ac_optarg ;; 1013 1014 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1015 | --libexe | --libex | --libe) 1016 ac_prev=libexecdir ;; 1017 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1018 | --libexe=* | --libex=* | --libe=*) 1019 libexecdir=$ac_optarg ;; 1020 1021 -localedir | --localedir | --localedi | --localed | --locale) 1022 ac_prev=localedir ;; 1023 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1024 localedir=$ac_optarg ;; 1025 1026 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1027 | --localstate | --localstat | --localsta | --localst | --locals) 1028 ac_prev=localstatedir ;; 1029 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1030 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1031 localstatedir=$ac_optarg ;; 1032 1033 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1034 ac_prev=mandir ;; 1035 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1036 mandir=$ac_optarg ;; 1037 1038 -nfp | --nfp | --nf) 1039 # Obsolete; use --without-fp. 1040 with_fp=no ;; 1041 1042 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1043 | --no-cr | --no-c | -n) 1044 no_create=yes ;; 1045 1046 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1047 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1048 no_recursion=yes ;; 1049 1050 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1051 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1052 | --oldin | --oldi | --old | --ol | --o) 1053 ac_prev=oldincludedir ;; 1054 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1055 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1056 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1057 oldincludedir=$ac_optarg ;; 1058 1059 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1060 ac_prev=prefix ;; 1061 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1062 prefix=$ac_optarg ;; 1063 1064 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1065 | --program-pre | --program-pr | --program-p) 1066 ac_prev=program_prefix ;; 1067 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1068 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1069 program_prefix=$ac_optarg ;; 1070 1071 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1072 | --program-suf | --program-su | --program-s) 1073 ac_prev=program_suffix ;; 1074 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1075 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1076 program_suffix=$ac_optarg ;; 1077 1078 -program-transform-name | --program-transform-name \ 1079 | --program-transform-nam | --program-transform-na \ 1080 | --program-transform-n | --program-transform- \ 1081 | --program-transform | --program-transfor \ 1082 | --program-transfo | --program-transf \ 1083 | --program-trans | --program-tran \ 1084 | --progr-tra | --program-tr | --program-t) 1085 ac_prev=program_transform_name ;; 1086 -program-transform-name=* | --program-transform-name=* \ 1087 | --program-transform-nam=* | --program-transform-na=* \ 1088 | --program-transform-n=* | --program-transform-=* \ 1089 | --program-transform=* | --program-transfor=* \ 1090 | --program-transfo=* | --program-transf=* \ 1091 | --program-trans=* | --program-tran=* \ 1092 | --progr-tra=* | --program-tr=* | --program-t=*) 1093 program_transform_name=$ac_optarg ;; 1094 1095 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1096 ac_prev=pdfdir ;; 1097 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1098 pdfdir=$ac_optarg ;; 1099 1100 -psdir | --psdir | --psdi | --psd | --ps) 1101 ac_prev=psdir ;; 1102 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1103 psdir=$ac_optarg ;; 1104 1105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1106 | -silent | --silent | --silen | --sile | --sil) 1107 silent=yes ;; 1108 1109 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1110 ac_prev=sbindir ;; 1111 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1112 | --sbi=* | --sb=*) 1113 sbindir=$ac_optarg ;; 1114 1115 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1116 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1117 | --sharedst | --shareds | --shared | --share | --shar \ 1118 | --sha | --sh) 1119 ac_prev=sharedstatedir ;; 1120 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1121 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1122 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1123 | --sha=* | --sh=*) 1124 sharedstatedir=$ac_optarg ;; 1125 1126 -site | --site | --sit) 1127 ac_prev=site ;; 1128 -site=* | --site=* | --sit=*) 1129 site=$ac_optarg ;; 1130 1131 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1132 ac_prev=srcdir ;; 1133 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1134 srcdir=$ac_optarg ;; 1135 1136 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1137 | --syscon | --sysco | --sysc | --sys | --sy) 1138 ac_prev=sysconfdir ;; 1139 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1140 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1141 sysconfdir=$ac_optarg ;; 1142 1143 -target | --target | --targe | --targ | --tar | --ta | --t) 1144 ac_prev=target_alias ;; 1145 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1146 target_alias=$ac_optarg ;; 1147 1148 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1149 verbose=yes ;; 1150 1151 -version | --version | --versio | --versi | --vers | -V) 1152 ac_init_version=: ;; 1153 1154 -with-* | --with-*) 1155 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1156 # Reject names that are not valid shell variable names. 1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1158 as_fn_error $? "invalid package name: $ac_useropt" 1159 ac_useropt_orig=$ac_useropt 1160 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1161 case $ac_user_opts in 1162 *" 1163"with_$ac_useropt" 1164"*) ;; 1165 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1166 ac_unrecognized_sep=', ';; 1167 esac 1168 eval with_$ac_useropt=\$ac_optarg ;; 1169 1170 -without-* | --without-*) 1171 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1172 # Reject names that are not valid shell variable names. 1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1174 as_fn_error $? "invalid package name: $ac_useropt" 1175 ac_useropt_orig=$ac_useropt 1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1177 case $ac_user_opts in 1178 *" 1179"with_$ac_useropt" 1180"*) ;; 1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1182 ac_unrecognized_sep=', ';; 1183 esac 1184 eval with_$ac_useropt=no ;; 1185 1186 --x) 1187 # Obsolete; use --with-x. 1188 with_x=yes ;; 1189 1190 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1191 | --x-incl | --x-inc | --x-in | --x-i) 1192 ac_prev=x_includes ;; 1193 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1194 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1195 x_includes=$ac_optarg ;; 1196 1197 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1198 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1199 ac_prev=x_libraries ;; 1200 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1201 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1202 x_libraries=$ac_optarg ;; 1203 1204 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1205Try \`$0 --help' for more information" 1206 ;; 1207 1208 *=*) 1209 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1210 # Reject names that are not valid shell variable names. 1211 case $ac_envvar in #( 1212 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1213 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1214 esac 1215 eval $ac_envvar=\$ac_optarg 1216 export $ac_envvar ;; 1217 1218 *) 1219 # FIXME: should be removed in autoconf 3.0. 1220 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1222 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1223 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1224 ;; 1225 1226 esac 1227done 1228 1229if test -n "$ac_prev"; then 1230 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1231 as_fn_error $? "missing argument to $ac_option" 1232fi 1233 1234if test -n "$ac_unrecognized_opts"; then 1235 case $enable_option_checking in 1236 no) ;; 1237 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1238 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1239 esac 1240fi 1241 1242# Check all directory arguments for consistency. 1243for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1244 datadir sysconfdir sharedstatedir localstatedir includedir \ 1245 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1246 libdir localedir mandir 1247do 1248 eval ac_val=\$$ac_var 1249 # Remove trailing slashes. 1250 case $ac_val in 1251 */ ) 1252 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1253 eval $ac_var=\$ac_val;; 1254 esac 1255 # Be sure to have absolute directory names. 1256 case $ac_val in 1257 [\\/$]* | ?:[\\/]* ) continue;; 1258 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1259 esac 1260 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1261done 1262 1263# There might be people who depend on the old broken behavior: `$host' 1264# used to hold the argument of --host etc. 1265# FIXME: To remove some day. 1266build=$build_alias 1267host=$host_alias 1268target=$target_alias 1269 1270# FIXME: To remove some day. 1271if test "x$host_alias" != x; then 1272 if test "x$build_alias" = x; then 1273 cross_compiling=maybe 1274 elif test "x$build_alias" != "x$host_alias"; then 1275 cross_compiling=yes 1276 fi 1277fi 1278 1279ac_tool_prefix= 1280test -n "$host_alias" && ac_tool_prefix=$host_alias- 1281 1282test "$silent" = yes && exec 6>/dev/null 1283 1284 1285ac_pwd=`pwd` && test -n "$ac_pwd" && 1286ac_ls_di=`ls -di .` && 1287ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1288 as_fn_error $? "working directory cannot be determined" 1289test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1290 as_fn_error $? "pwd does not report name of working directory" 1291 1292 1293# Find the source files, if location was not specified. 1294if test -z "$srcdir"; then 1295 ac_srcdir_defaulted=yes 1296 # Try the directory containing this script, then the parent directory. 1297 ac_confdir=`$as_dirname -- "$as_myself" || 1298$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1299 X"$as_myself" : 'X\(//\)[^/]' \| \ 1300 X"$as_myself" : 'X\(//\)$' \| \ 1301 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1302$as_echo X"$as_myself" | 1303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1304 s//\1/ 1305 q 1306 } 1307 /^X\(\/\/\)[^/].*/{ 1308 s//\1/ 1309 q 1310 } 1311 /^X\(\/\/\)$/{ 1312 s//\1/ 1313 q 1314 } 1315 /^X\(\/\).*/{ 1316 s//\1/ 1317 q 1318 } 1319 s/.*/./; q'` 1320 srcdir=$ac_confdir 1321 if test ! -r "$srcdir/$ac_unique_file"; then 1322 srcdir=.. 1323 fi 1324else 1325 ac_srcdir_defaulted=no 1326fi 1327if test ! -r "$srcdir/$ac_unique_file"; then 1328 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1329 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1330fi 1331ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1332ac_abs_confdir=`( 1333 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1334 pwd)` 1335# When building in place, set srcdir=. 1336if test "$ac_abs_confdir" = "$ac_pwd"; then 1337 srcdir=. 1338fi 1339# Remove unnecessary trailing slashes from srcdir. 1340# Double slashes in file names in object file debugging info 1341# mess up M-x gdb in Emacs. 1342case $srcdir in 1343*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1344esac 1345for ac_var in $ac_precious_vars; do 1346 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1347 eval ac_env_${ac_var}_value=\$${ac_var} 1348 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1349 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1350done 1351 1352# 1353# Report the --help message. 1354# 1355if test "$ac_init_help" = "long"; then 1356 # Omit some internal or obsolete options to make the list less imposing. 1357 # This message is too long to be a string in the A/UX 3.1 sh. 1358 cat <<_ACEOF 1359\`configure' configures dvipdfm-x (TeX Live) 20150315 to adapt to many kinds of systems. 1360 1361Usage: $0 [OPTION]... [VAR=VALUE]... 1362 1363To assign environment variables (e.g., CC, CFLAGS...), specify them as 1364VAR=VALUE. See below for descriptions of some of the useful variables. 1365 1366Defaults for the options are specified in brackets. 1367 1368Configuration: 1369 -h, --help display this help and exit 1370 --help=short display options specific to this package 1371 --help=recursive display the short help of all the included packages 1372 -V, --version display version information and exit 1373 -q, --quiet, --silent do not print \`checking ...' messages 1374 --cache-file=FILE cache test results in FILE [disabled] 1375 -C, --config-cache alias for \`--cache-file=config.cache' 1376 -n, --no-create do not create output files 1377 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1378 1379Installation directories: 1380 --prefix=PREFIX install architecture-independent files in PREFIX 1381 [$ac_default_prefix] 1382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1383 [PREFIX] 1384 1385By default, \`make install' will install all the files in 1386\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1387an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1388for instance \`--prefix=\$HOME'. 1389 1390For better control, use the options below. 1391 1392Fine tuning of the installation directories: 1393 --bindir=DIR user executables [EPREFIX/bin] 1394 --sbindir=DIR system admin executables [EPREFIX/sbin] 1395 --libexecdir=DIR program executables [EPREFIX/libexec] 1396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1398 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1399 --libdir=DIR object code libraries [EPREFIX/lib] 1400 --includedir=DIR C header files [PREFIX/include] 1401 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1402 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1403 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1404 --infodir=DIR info documentation [DATAROOTDIR/info] 1405 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1406 --mandir=DIR man documentation [DATAROOTDIR/man] 1407 --docdir=DIR documentation root 1408 [DATAROOTDIR/doc/dvipdfm-x--tex-live-] 1409 --htmldir=DIR html documentation [DOCDIR] 1410 --dvidir=DIR dvi documentation [DOCDIR] 1411 --pdfdir=DIR pdf documentation [DOCDIR] 1412 --psdir=DIR ps documentation [DOCDIR] 1413_ACEOF 1414 1415 cat <<\_ACEOF 1416 1417Program names: 1418 --program-prefix=PREFIX prepend PREFIX to installed program names 1419 --program-suffix=SUFFIX append SUFFIX to installed program names 1420 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1421 1422System types: 1423 --build=BUILD configure for building on BUILD [guessed] 1424 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1425_ACEOF 1426fi 1427 1428if test -n "$ac_init_help"; then 1429 case $ac_init_help in 1430 short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20150315:";; 1431 esac 1432 cat <<\_ACEOF 1433 1434Optional Features: 1435 --disable-option-checking ignore unrecognized --enable/--with options 1436 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1437 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1438 --enable-silent-rules less verbose build output (undo: "make V=1") 1439 --disable-silent-rules verbose build output (undo: "make V=0") 1440 --enable-maintainer-mode 1441 enable make rules and dependencies not useful (and 1442 sometimes confusing) to the casual installer 1443 --enable-dependency-tracking 1444 do not reject slow dependency extractors 1445 --disable-dependency-tracking 1446 speeds up one-time build 1447 --enable-compiler-warnings=[no|min|yes|max|all] 1448 Turn on compiler warnings [default: yes if 1449 maintainer-mode, min otherwise] 1450 --enable-shared[=PKGS] build shared libraries [default=yes] 1451 --enable-static[=PKGS] build static libraries [default=yes] 1452 --enable-fast-install[=PKGS] 1453 optimize for fast installation [default=yes] 1454 --disable-libtool-lock avoid locking (might break parallel builds) 1455 --disable-largefile omit support for large files 1456 --disable-dvipdfmx do not build the dvipdfmx program 1457 --disable-xdvipdfmx do not build the xdvipdfmx program 1458 1459Optional Packages: 1460 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1461 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1462 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1463 both] 1464 --with-aix-soname=aix|svr4|both 1465 shared library versioning (aka "SONAME") variant to 1466 provide on AIX, [default=aix]. 1467 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1468 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1469 compiler's sysroot if not specified). 1470 --with-system-kpathsea use installed kpathsea headers and library (requires 1471 pkg-config) 1472 --with-system-zlib use installed zlib headers and library 1473 --with-zlib-includes=DIR 1474 zlib headers installed in DIR 1475 --with-zlib-libdir=DIR zlib library installed in DIR 1476 --with-system-libpng use installed libpng headers and library (requires 1477 pkg-config) 1478 --with-system-libpaper use installed libpaper headers and library 1479 --with-libpaper-includes=DIR 1480 libpaper headers installed in DIR 1481 --with-libpaper-libdir=DIR 1482 libpaper library installed in DIR 1483 1484Some influential environment variables: 1485 CC C compiler command 1486 CFLAGS C compiler flags 1487 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1488 nonstandard directory <lib dir> 1489 LIBS libraries to pass to the linker, e.g. -l<library> 1490 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1491 you have headers in a nonstandard directory <include dir> 1492 LT_SYS_LIBRARY_PATH 1493 User-defined run-time library search path. 1494 CPP C preprocessor 1495 1496Use these variables to override the choices made by `configure' or to help 1497it to find libraries and programs with nonstandard names/locations. 1498 1499Report bugs to <tex-k@tug.org>. 1500_ACEOF 1501ac_status=$? 1502fi 1503 1504if test "$ac_init_help" = "recursive"; then 1505 # If there are subdirs, report their specific --help. 1506 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1507 test -d "$ac_dir" || 1508 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1509 continue 1510 ac_builddir=. 1511 1512case "$ac_dir" in 1513.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1514*) 1515 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1516 # A ".." for each directory in $ac_dir_suffix. 1517 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1518 case $ac_top_builddir_sub in 1519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1521 esac ;; 1522esac 1523ac_abs_top_builddir=$ac_pwd 1524ac_abs_builddir=$ac_pwd$ac_dir_suffix 1525# for backward compatibility: 1526ac_top_builddir=$ac_top_build_prefix 1527 1528case $srcdir in 1529 .) # We are building in place. 1530 ac_srcdir=. 1531 ac_top_srcdir=$ac_top_builddir_sub 1532 ac_abs_top_srcdir=$ac_pwd ;; 1533 [\\/]* | ?:[\\/]* ) # Absolute name. 1534 ac_srcdir=$srcdir$ac_dir_suffix; 1535 ac_top_srcdir=$srcdir 1536 ac_abs_top_srcdir=$srcdir ;; 1537 *) # Relative name. 1538 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1539 ac_top_srcdir=$ac_top_build_prefix$srcdir 1540 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1541esac 1542ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1543 1544 cd "$ac_dir" || { ac_status=$?; continue; } 1545 # Check for guested configure. 1546 if test -f "$ac_srcdir/configure.gnu"; then 1547 echo && 1548 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1549 elif test -f "$ac_srcdir/configure"; then 1550 echo && 1551 $SHELL "$ac_srcdir/configure" --help=recursive 1552 else 1553 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1554 fi || ac_status=$? 1555 cd "$ac_pwd" || { ac_status=$?; break; } 1556 done 1557fi 1558 1559test -n "$ac_init_help" && exit $ac_status 1560if $ac_init_version; then 1561 cat <<\_ACEOF 1562dvipdfm-x (TeX Live) configure 20150315 1563generated by GNU Autoconf 2.69 1564 1565Copyright (C) 2012 Free Software Foundation, Inc. 1566This configure script is free software; the Free Software Foundation 1567gives unlimited permission to copy, distribute and modify it. 1568_ACEOF 1569 exit 1570fi 1571 1572## ------------------------ ## 1573## Autoconf initialization. ## 1574## ------------------------ ## 1575 1576# ac_fn_c_try_compile LINENO 1577# -------------------------- 1578# Try to compile conftest.$ac_ext, and return whether this succeeded. 1579ac_fn_c_try_compile () 1580{ 1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1582 rm -f conftest.$ac_objext 1583 if { { ac_try="$ac_compile" 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_compile") 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_objext; then : 1602 ac_retval=0 1603else 1604 $as_echo "$as_me: failed program was:" >&5 1605sed 's/^/| /' conftest.$ac_ext >&5 1606 1607 ac_retval=1 1608fi 1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1610 as_fn_set_status $ac_retval 1611 1612} # ac_fn_c_try_compile 1613 1614# ac_fn_c_try_link LINENO 1615# ----------------------- 1616# Try to link conftest.$ac_ext, and return whether this succeeded. 1617ac_fn_c_try_link () 1618{ 1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1620 rm -f conftest.$ac_objext conftest$ac_exeext 1621 if { { ac_try="$ac_link" 1622case "(($ac_try" in 1623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1624 *) ac_try_echo=$ac_try;; 1625esac 1626eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1627$as_echo "$ac_try_echo"; } >&5 1628 (eval "$ac_link") 2>conftest.err 1629 ac_status=$? 1630 if test -s conftest.err; then 1631 grep -v '^ *+' conftest.err >conftest.er1 1632 cat conftest.er1 >&5 1633 mv -f conftest.er1 conftest.err 1634 fi 1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1636 test $ac_status = 0; } && { 1637 test -z "$ac_c_werror_flag" || 1638 test ! -s conftest.err 1639 } && test -s conftest$ac_exeext && { 1640 test "$cross_compiling" = yes || 1641 test -x conftest$ac_exeext 1642 }; then : 1643 ac_retval=0 1644else 1645 $as_echo "$as_me: failed program was:" >&5 1646sed 's/^/| /' conftest.$ac_ext >&5 1647 1648 ac_retval=1 1649fi 1650 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1651 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1652 # interfere with the next link command; also delete a directory that is 1653 # left behind by Apple's compiler. We do this before executing the actions. 1654 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1656 as_fn_set_status $ac_retval 1657 1658} # ac_fn_c_try_link 1659 1660# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1661# ------------------------------------------------------- 1662# Tests whether HEADER exists and can be compiled using the include files in 1663# INCLUDES, setting the cache variable VAR accordingly. 1664ac_fn_c_check_header_compile () 1665{ 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1668$as_echo_n "checking for $2... " >&6; } 1669if eval \${$3+:} false; then : 1670 $as_echo_n "(cached) " >&6 1671else 1672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1673/* end confdefs.h. */ 1674$4 1675#include <$2> 1676_ACEOF 1677if ac_fn_c_try_compile "$LINENO"; then : 1678 eval "$3=yes" 1679else 1680 eval "$3=no" 1681fi 1682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1683fi 1684eval ac_res=\$$3 1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1686$as_echo "$ac_res" >&6; } 1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1688 1689} # ac_fn_c_check_header_compile 1690 1691# ac_fn_c_try_cpp LINENO 1692# ---------------------- 1693# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1694ac_fn_c_try_cpp () 1695{ 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 if { { ac_try="$ac_cpp conftest.$ac_ext" 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_cpp conftest.$ac_ext") 2>conftest.err 1705 ac_status=$? 1706 if test -s conftest.err; then 1707 grep -v '^ *+' conftest.err >conftest.er1 1708 cat conftest.er1 >&5 1709 mv -f conftest.er1 conftest.err 1710 fi 1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1712 test $ac_status = 0; } > conftest.i && { 1713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1714 test ! -s conftest.err 1715 }; then : 1716 ac_retval=0 1717else 1718 $as_echo "$as_me: failed program was:" >&5 1719sed 's/^/| /' conftest.$ac_ext >&5 1720 1721 ac_retval=1 1722fi 1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1724 as_fn_set_status $ac_retval 1725 1726} # ac_fn_c_try_cpp 1727 1728# ac_fn_c_try_run LINENO 1729# ---------------------- 1730# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1731# that executables *can* be run. 1732ac_fn_c_try_run () 1733{ 1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1735 if { { ac_try="$ac_link" 1736case "(($ac_try" in 1737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1738 *) ac_try_echo=$ac_try;; 1739esac 1740eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1741$as_echo "$ac_try_echo"; } >&5 1742 (eval "$ac_link") 2>&5 1743 ac_status=$? 1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1745 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1746 { { case "(($ac_try" in 1747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1748 *) ac_try_echo=$ac_try;; 1749esac 1750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1751$as_echo "$ac_try_echo"; } >&5 1752 (eval "$ac_try") 2>&5 1753 ac_status=$? 1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1755 test $ac_status = 0; }; }; then : 1756 ac_retval=0 1757else 1758 $as_echo "$as_me: program exited with status $ac_status" >&5 1759 $as_echo "$as_me: failed program was:" >&5 1760sed 's/^/| /' conftest.$ac_ext >&5 1761 1762 ac_retval=$ac_status 1763fi 1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1766 as_fn_set_status $ac_retval 1767 1768} # ac_fn_c_try_run 1769 1770# ac_fn_c_check_func LINENO FUNC VAR 1771# ---------------------------------- 1772# Tests whether FUNC exists, setting the cache variable VAR accordingly 1773ac_fn_c_check_func () 1774{ 1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1777$as_echo_n "checking for $2... " >&6; } 1778if eval \${$3+:} false; then : 1779 $as_echo_n "(cached) " >&6 1780else 1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1782/* end confdefs.h. */ 1783/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1784 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1785#define $2 innocuous_$2 1786 1787/* System header to define __stub macros and hopefully few prototypes, 1788 which can conflict with char $2 (); below. 1789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1790 <limits.h> exists even on freestanding compilers. */ 1791 1792#ifdef __STDC__ 1793# include <limits.h> 1794#else 1795# include <assert.h> 1796#endif 1797 1798#undef $2 1799 1800/* Override any GCC internal prototype to avoid an error. 1801 Use char because int might match the return type of a GCC 1802 builtin and then its argument prototype would still apply. */ 1803#ifdef __cplusplus 1804extern "C" 1805#endif 1806char $2 (); 1807/* The GNU C library defines this for functions which it implements 1808 to always fail with ENOSYS. Some functions are actually named 1809 something starting with __ and the normal name is an alias. */ 1810#if defined __stub_$2 || defined __stub___$2 1811choke me 1812#endif 1813 1814int 1815main () 1816{ 1817return $2 (); 1818 ; 1819 return 0; 1820} 1821_ACEOF 1822if ac_fn_c_try_link "$LINENO"; then : 1823 eval "$3=yes" 1824else 1825 eval "$3=no" 1826fi 1827rm -f core conftest.err conftest.$ac_objext \ 1828 conftest$ac_exeext conftest.$ac_ext 1829fi 1830eval ac_res=\$$3 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1832$as_echo "$ac_res" >&6; } 1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1834 1835} # ac_fn_c_check_func 1836 1837# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1838# ------------------------------------------------------- 1839# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1840# the include files in INCLUDES and setting the cache variable VAR 1841# accordingly. 1842ac_fn_c_check_header_mongrel () 1843{ 1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1845 if eval \${$3+:} false; then : 1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1847$as_echo_n "checking for $2... " >&6; } 1848if eval \${$3+:} false; then : 1849 $as_echo_n "(cached) " >&6 1850fi 1851eval ac_res=\$$3 1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1853$as_echo "$ac_res" >&6; } 1854else 1855 # Is the header compilable? 1856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1857$as_echo_n "checking $2 usability... " >&6; } 1858cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1859/* end confdefs.h. */ 1860$4 1861#include <$2> 1862_ACEOF 1863if ac_fn_c_try_compile "$LINENO"; then : 1864 ac_header_compiler=yes 1865else 1866 ac_header_compiler=no 1867fi 1868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1870$as_echo "$ac_header_compiler" >&6; } 1871 1872# Is the header present? 1873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1874$as_echo_n "checking $2 presence... " >&6; } 1875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1876/* end confdefs.h. */ 1877#include <$2> 1878_ACEOF 1879if ac_fn_c_try_cpp "$LINENO"; then : 1880 ac_header_preproc=yes 1881else 1882 ac_header_preproc=no 1883fi 1884rm -f conftest.err conftest.i conftest.$ac_ext 1885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1886$as_echo "$ac_header_preproc" >&6; } 1887 1888# So? What about this header? 1889case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1890 yes:no: ) 1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1892$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1894$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1895 ;; 1896 no:yes:* ) 1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1898$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1900$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1902$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1904$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1906$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1907( $as_echo "## ---------------------------- ## 1908## Report this to tex-k@tug.org ## 1909## ---------------------------- ##" 1910 ) | sed "s/^/$as_me: WARNING: /" >&2 1911 ;; 1912esac 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1914$as_echo_n "checking for $2... " >&6; } 1915if eval \${$3+:} false; then : 1916 $as_echo_n "(cached) " >&6 1917else 1918 eval "$3=\$ac_header_compiler" 1919fi 1920eval ac_res=\$$3 1921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1922$as_echo "$ac_res" >&6; } 1923fi 1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1925 1926} # ac_fn_c_check_header_mongrel 1927 1928# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1929# ------------------------------------------- 1930# Tests whether TYPE exists after having included INCLUDES, setting cache 1931# variable VAR accordingly. 1932ac_fn_c_check_type () 1933{ 1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1936$as_echo_n "checking for $2... " >&6; } 1937if eval \${$3+:} false; then : 1938 $as_echo_n "(cached) " >&6 1939else 1940 eval "$3=no" 1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1942/* end confdefs.h. */ 1943$4 1944int 1945main () 1946{ 1947if (sizeof ($2)) 1948 return 0; 1949 ; 1950 return 0; 1951} 1952_ACEOF 1953if ac_fn_c_try_compile "$LINENO"; then : 1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1955/* end confdefs.h. */ 1956$4 1957int 1958main () 1959{ 1960if (sizeof (($2))) 1961 return 0; 1962 ; 1963 return 0; 1964} 1965_ACEOF 1966if ac_fn_c_try_compile "$LINENO"; then : 1967 1968else 1969 eval "$3=yes" 1970fi 1971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1972fi 1973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1974fi 1975eval ac_res=\$$3 1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1977$as_echo "$ac_res" >&6; } 1978 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1979 1980} # ac_fn_c_check_type 1981 1982# ac_fn_c_find_intX_t LINENO BITS VAR 1983# ----------------------------------- 1984# Finds a signed integer type with width BITS, setting cache variable VAR 1985# accordingly. 1986ac_fn_c_find_intX_t () 1987{ 1988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1990$as_echo_n "checking for int$2_t... " >&6; } 1991if eval \${$3+:} false; then : 1992 $as_echo_n "(cached) " >&6 1993else 1994 eval "$3=no" 1995 # Order is important - never check a type that is potentially smaller 1996 # than half of the expected target width. 1997 for ac_type in int$2_t 'int' 'long int' \ 1998 'long long int' 'short int' 'signed char'; do 1999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2000/* end confdefs.h. */ 2001$ac_includes_default 2002 enum { N = $2 / 2 - 1 }; 2003int 2004main () 2005{ 2006static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 2007test_array [0] = 0; 2008return test_array [0]; 2009 2010 ; 2011 return 0; 2012} 2013_ACEOF 2014if ac_fn_c_try_compile "$LINENO"; then : 2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2016/* end confdefs.h. */ 2017$ac_includes_default 2018 enum { N = $2 / 2 - 1 }; 2019int 2020main () 2021{ 2022static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 2023 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 2024test_array [0] = 0; 2025return test_array [0]; 2026 2027 ; 2028 return 0; 2029} 2030_ACEOF 2031if ac_fn_c_try_compile "$LINENO"; then : 2032 2033else 2034 case $ac_type in #( 2035 int$2_t) : 2036 eval "$3=yes" ;; #( 2037 *) : 2038 eval "$3=\$ac_type" ;; 2039esac 2040fi 2041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2042fi 2043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2044 if eval test \"x\$"$3"\" = x"no"; then : 2045 2046else 2047 break 2048fi 2049 done 2050fi 2051eval ac_res=\$$3 2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2053$as_echo "$ac_res" >&6; } 2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2055 2056} # ac_fn_c_find_intX_t 2057 2058# ac_fn_c_find_uintX_t LINENO BITS VAR 2059# ------------------------------------ 2060# Finds an unsigned integer type with width BITS, setting cache variable VAR 2061# accordingly. 2062ac_fn_c_find_uintX_t () 2063{ 2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2066$as_echo_n "checking for uint$2_t... " >&6; } 2067if eval \${$3+:} false; then : 2068 $as_echo_n "(cached) " >&6 2069else 2070 eval "$3=no" 2071 # Order is important - never check a type that is potentially smaller 2072 # than half of the expected target width. 2073 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 2074 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2076/* end confdefs.h. */ 2077$ac_includes_default 2078int 2079main () 2080{ 2081static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2082test_array [0] = 0; 2083return test_array [0]; 2084 2085 ; 2086 return 0; 2087} 2088_ACEOF 2089if ac_fn_c_try_compile "$LINENO"; then : 2090 case $ac_type in #( 2091 uint$2_t) : 2092 eval "$3=yes" ;; #( 2093 *) : 2094 eval "$3=\$ac_type" ;; 2095esac 2096fi 2097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2098 if eval test \"x\$"$3"\" = x"no"; then : 2099 2100else 2101 break 2102fi 2103 done 2104fi 2105eval ac_res=\$$3 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2107$as_echo "$ac_res" >&6; } 2108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2109 2110} # ac_fn_c_find_uintX_t 2111 2112# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2113# ---------------------------------------------------- 2114# Tries to find if the field MEMBER exists in type AGGR, after including 2115# INCLUDES, setting cache variable VAR accordingly. 2116ac_fn_c_check_member () 2117{ 2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2120$as_echo_n "checking for $2.$3... " >&6; } 2121if eval \${$4+:} false; then : 2122 $as_echo_n "(cached) " >&6 2123else 2124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2125/* end confdefs.h. */ 2126$5 2127int 2128main () 2129{ 2130static $2 ac_aggr; 2131if (ac_aggr.$3) 2132return 0; 2133 ; 2134 return 0; 2135} 2136_ACEOF 2137if ac_fn_c_try_compile "$LINENO"; then : 2138 eval "$4=yes" 2139else 2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2141/* end confdefs.h. */ 2142$5 2143int 2144main () 2145{ 2146static $2 ac_aggr; 2147if (sizeof ac_aggr.$3) 2148return 0; 2149 ; 2150 return 0; 2151} 2152_ACEOF 2153if ac_fn_c_try_compile "$LINENO"; then : 2154 eval "$4=yes" 2155else 2156 eval "$4=no" 2157fi 2158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2159fi 2160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2161fi 2162eval ac_res=\$$4 2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2164$as_echo "$ac_res" >&6; } 2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2166 2167} # ac_fn_c_check_member 2168 2169# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2170# --------------------------------------------- 2171# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2172# accordingly. 2173ac_fn_c_check_decl () 2174{ 2175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2176 as_decl_name=`echo $2|sed 's/ *(.*//'` 2177 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2179$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2180if eval \${$3+:} false; then : 2181 $as_echo_n "(cached) " >&6 2182else 2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2184/* end confdefs.h. */ 2185$4 2186int 2187main () 2188{ 2189#ifndef $as_decl_name 2190#ifdef __cplusplus 2191 (void) $as_decl_use; 2192#else 2193 (void) $as_decl_name; 2194#endif 2195#endif 2196 2197 ; 2198 return 0; 2199} 2200_ACEOF 2201if ac_fn_c_try_compile "$LINENO"; then : 2202 eval "$3=yes" 2203else 2204 eval "$3=no" 2205fi 2206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2207fi 2208eval ac_res=\$$3 2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2210$as_echo "$ac_res" >&6; } 2211 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2212 2213} # ac_fn_c_check_decl 2214 2215# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2216# -------------------------------------------- 2217# Tries to find the compile-time value of EXPR in a program that includes 2218# INCLUDES, setting VAR accordingly. Returns whether the value could be 2219# computed 2220ac_fn_c_compute_int () 2221{ 2222 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2223 if test "$cross_compiling" = yes; then 2224 # Depending upon the size, compute the lo and hi bounds. 2225cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2226/* end confdefs.h. */ 2227$4 2228int 2229main () 2230{ 2231static int test_array [1 - 2 * !(($2) >= 0)]; 2232test_array [0] = 0; 2233return test_array [0]; 2234 2235 ; 2236 return 0; 2237} 2238_ACEOF 2239if ac_fn_c_try_compile "$LINENO"; then : 2240 ac_lo=0 ac_mid=0 2241 while :; do 2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2243/* end confdefs.h. */ 2244$4 2245int 2246main () 2247{ 2248static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2249test_array [0] = 0; 2250return test_array [0]; 2251 2252 ; 2253 return 0; 2254} 2255_ACEOF 2256if ac_fn_c_try_compile "$LINENO"; then : 2257 ac_hi=$ac_mid; break 2258else 2259 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2260 if test $ac_lo -le $ac_mid; then 2261 ac_lo= ac_hi= 2262 break 2263 fi 2264 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2265fi 2266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2267 done 2268else 2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2270/* end confdefs.h. */ 2271$4 2272int 2273main () 2274{ 2275static int test_array [1 - 2 * !(($2) < 0)]; 2276test_array [0] = 0; 2277return test_array [0]; 2278 2279 ; 2280 return 0; 2281} 2282_ACEOF 2283if ac_fn_c_try_compile "$LINENO"; then : 2284 ac_hi=-1 ac_mid=-1 2285 while :; do 2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2287/* end confdefs.h. */ 2288$4 2289int 2290main () 2291{ 2292static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2293test_array [0] = 0; 2294return test_array [0]; 2295 2296 ; 2297 return 0; 2298} 2299_ACEOF 2300if ac_fn_c_try_compile "$LINENO"; then : 2301 ac_lo=$ac_mid; break 2302else 2303 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2304 if test $ac_mid -le $ac_hi; then 2305 ac_lo= ac_hi= 2306 break 2307 fi 2308 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2309fi 2310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2311 done 2312else 2313 ac_lo= ac_hi= 2314fi 2315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2316fi 2317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2318# Binary search between lo and hi bounds. 2319while test "x$ac_lo" != "x$ac_hi"; do 2320 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2322/* end confdefs.h. */ 2323$4 2324int 2325main () 2326{ 2327static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2328test_array [0] = 0; 2329return test_array [0]; 2330 2331 ; 2332 return 0; 2333} 2334_ACEOF 2335if ac_fn_c_try_compile "$LINENO"; then : 2336 ac_hi=$ac_mid 2337else 2338 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2339fi 2340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2341done 2342case $ac_lo in #(( 2343?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2344'') ac_retval=1 ;; 2345esac 2346 else 2347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2348/* end confdefs.h. */ 2349$4 2350static long int longval () { return $2; } 2351static unsigned long int ulongval () { return $2; } 2352#include <stdio.h> 2353#include <stdlib.h> 2354int 2355main () 2356{ 2357 2358 FILE *f = fopen ("conftest.val", "w"); 2359 if (! f) 2360 return 1; 2361 if (($2) < 0) 2362 { 2363 long int i = longval (); 2364 if (i != ($2)) 2365 return 1; 2366 fprintf (f, "%ld", i); 2367 } 2368 else 2369 { 2370 unsigned long int i = ulongval (); 2371 if (i != ($2)) 2372 return 1; 2373 fprintf (f, "%lu", i); 2374 } 2375 /* Do not output a trailing newline, as this causes \r\n confusion 2376 on some platforms. */ 2377 return ferror (f) || fclose (f) != 0; 2378 2379 ; 2380 return 0; 2381} 2382_ACEOF 2383if ac_fn_c_try_run "$LINENO"; then : 2384 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2385else 2386 ac_retval=1 2387fi 2388rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2389 conftest.$ac_objext conftest.beam conftest.$ac_ext 2390rm -f conftest.val 2391 2392 fi 2393 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2394 as_fn_set_status $ac_retval 2395 2396} # ac_fn_c_compute_int 2397cat >config.log <<_ACEOF 2398This file contains any messages produced by compilers while 2399running configure, to aid debugging if configure makes a mistake. 2400 2401It was created by dvipdfm-x (TeX Live) $as_me 20150315, which was 2402generated by GNU Autoconf 2.69. Invocation command line was 2403 2404 $ $0 $@ 2405 2406_ACEOF 2407exec 5>>config.log 2408{ 2409cat <<_ASUNAME 2410## --------- ## 2411## Platform. ## 2412## --------- ## 2413 2414hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2415uname -m = `(uname -m) 2>/dev/null || echo unknown` 2416uname -r = `(uname -r) 2>/dev/null || echo unknown` 2417uname -s = `(uname -s) 2>/dev/null || echo unknown` 2418uname -v = `(uname -v) 2>/dev/null || echo unknown` 2419 2420/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2421/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2422 2423/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2424/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2425/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2426/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2427/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2428/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2429/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2430 2431_ASUNAME 2432 2433as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2434for as_dir in $PATH 2435do 2436 IFS=$as_save_IFS 2437 test -z "$as_dir" && as_dir=. 2438 $as_echo "PATH: $as_dir" 2439 done 2440IFS=$as_save_IFS 2441 2442} >&5 2443 2444cat >&5 <<_ACEOF 2445 2446 2447## ----------- ## 2448## Core tests. ## 2449## ----------- ## 2450 2451_ACEOF 2452 2453 2454# Keep a trace of the command line. 2455# Strip out --no-create and --no-recursion so they do not pile up. 2456# Strip out --silent because we don't want to record it for future runs. 2457# Also quote any args containing shell meta-characters. 2458# Make two passes to allow for proper duplicate-argument suppression. 2459ac_configure_args= 2460ac_configure_args0= 2461ac_configure_args1= 2462ac_must_keep_next=false 2463for ac_pass in 1 2 2464do 2465 for ac_arg 2466 do 2467 case $ac_arg in 2468 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2469 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2470 | -silent | --silent | --silen | --sile | --sil) 2471 continue ;; 2472 *\'*) 2473 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2474 esac 2475 case $ac_pass in 2476 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2477 2) 2478 as_fn_append ac_configure_args1 " '$ac_arg'" 2479 if test $ac_must_keep_next = true; then 2480 ac_must_keep_next=false # Got value, back to normal. 2481 else 2482 case $ac_arg in 2483 *=* | --config-cache | -C | -disable-* | --disable-* \ 2484 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2485 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2486 | -with-* | --with-* | -without-* | --without-* | --x) 2487 case "$ac_configure_args0 " in 2488 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2489 esac 2490 ;; 2491 -* ) ac_must_keep_next=true ;; 2492 esac 2493 fi 2494 as_fn_append ac_configure_args " '$ac_arg'" 2495 ;; 2496 esac 2497 done 2498done 2499{ ac_configure_args0=; unset ac_configure_args0;} 2500{ ac_configure_args1=; unset ac_configure_args1;} 2501 2502# When interrupted or exit'd, cleanup temporary files, and complete 2503# config.log. We remove comments because anyway the quotes in there 2504# would cause problems or look ugly. 2505# WARNING: Use '\'' to represent an apostrophe within the trap. 2506# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2507trap 'exit_status=$? 2508 # Save into config.log some information that might help in debugging. 2509 { 2510 echo 2511 2512 $as_echo "## ---------------- ## 2513## Cache variables. ## 2514## ---------------- ##" 2515 echo 2516 # The following way of writing the cache mishandles newlines in values, 2517( 2518 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2519 eval ac_val=\$$ac_var 2520 case $ac_val in #( 2521 *${as_nl}*) 2522 case $ac_var in #( 2523 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2524$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2525 esac 2526 case $ac_var in #( 2527 _ | IFS | as_nl) ;; #( 2528 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2529 *) { eval $ac_var=; unset $ac_var;} ;; 2530 esac ;; 2531 esac 2532 done 2533 (set) 2>&1 | 2534 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2535 *${as_nl}ac_space=\ *) 2536 sed -n \ 2537 "s/'\''/'\''\\\\'\'''\''/g; 2538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2539 ;; #( 2540 *) 2541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2542 ;; 2543 esac | 2544 sort 2545) 2546 echo 2547 2548 $as_echo "## ----------------- ## 2549## Output variables. ## 2550## ----------------- ##" 2551 echo 2552 for ac_var in $ac_subst_vars 2553 do 2554 eval ac_val=\$$ac_var 2555 case $ac_val in 2556 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2557 esac 2558 $as_echo "$ac_var='\''$ac_val'\''" 2559 done | sort 2560 echo 2561 2562 if test -n "$ac_subst_files"; then 2563 $as_echo "## ------------------- ## 2564## File substitutions. ## 2565## ------------------- ##" 2566 echo 2567 for ac_var in $ac_subst_files 2568 do 2569 eval ac_val=\$$ac_var 2570 case $ac_val in 2571 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2572 esac 2573 $as_echo "$ac_var='\''$ac_val'\''" 2574 done | sort 2575 echo 2576 fi 2577 2578 if test -s confdefs.h; then 2579 $as_echo "## ----------- ## 2580## confdefs.h. ## 2581## ----------- ##" 2582 echo 2583 cat confdefs.h 2584 echo 2585 fi 2586 test "$ac_signal" != 0 && 2587 $as_echo "$as_me: caught signal $ac_signal" 2588 $as_echo "$as_me: exit $exit_status" 2589 } >&5 2590 rm -f core *.core core.conftest.* && 2591 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2592 exit $exit_status 2593' 0 2594for ac_signal in 1 2 13 15; do 2595 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2596done 2597ac_signal=0 2598 2599# confdefs.h avoids OS command line length limits that DEFS can exceed. 2600rm -f -r conftest* confdefs.h 2601 2602$as_echo "/* confdefs.h */" > confdefs.h 2603 2604# Predefined preprocessor variables. 2605 2606cat >>confdefs.h <<_ACEOF 2607#define PACKAGE_NAME "$PACKAGE_NAME" 2608_ACEOF 2609 2610cat >>confdefs.h <<_ACEOF 2611#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2612_ACEOF 2613 2614cat >>confdefs.h <<_ACEOF 2615#define PACKAGE_VERSION "$PACKAGE_VERSION" 2616_ACEOF 2617 2618cat >>confdefs.h <<_ACEOF 2619#define PACKAGE_STRING "$PACKAGE_STRING" 2620_ACEOF 2621 2622cat >>confdefs.h <<_ACEOF 2623#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2624_ACEOF 2625 2626cat >>confdefs.h <<_ACEOF 2627#define PACKAGE_URL "$PACKAGE_URL" 2628_ACEOF 2629 2630 2631# Let the site file select an alternate cache file if it wants to. 2632# Prefer an explicitly selected file to automatically selected ones. 2633ac_site_file1=NONE 2634ac_site_file2=NONE 2635if test -n "$CONFIG_SITE"; then 2636 # We do not want a PATH search for config.site. 2637 case $CONFIG_SITE in #(( 2638 -*) ac_site_file1=./$CONFIG_SITE;; 2639 */*) ac_site_file1=$CONFIG_SITE;; 2640 *) ac_site_file1=./$CONFIG_SITE;; 2641 esac 2642elif test "x$prefix" != xNONE; then 2643 ac_site_file1=$prefix/share/config.site 2644 ac_site_file2=$prefix/etc/config.site 2645else 2646 ac_site_file1=$ac_default_prefix/share/config.site 2647 ac_site_file2=$ac_default_prefix/etc/config.site 2648fi 2649for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2650do 2651 test "x$ac_site_file" = xNONE && continue 2652 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2653 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2654$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2655 sed 's/^/| /' "$ac_site_file" >&5 2656 . "$ac_site_file" \ 2657 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2658$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2659as_fn_error $? "failed to load site script $ac_site_file 2660See \`config.log' for more details" "$LINENO" 5; } 2661 fi 2662done 2663 2664if test -r "$cache_file"; then 2665 # Some versions of bash will fail to source /dev/null (special files 2666 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2667 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2668 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2669$as_echo "$as_me: loading cache $cache_file" >&6;} 2670 case $cache_file in 2671 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2672 *) . "./$cache_file";; 2673 esac 2674 fi 2675else 2676 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2677$as_echo "$as_me: creating cache $cache_file" >&6;} 2678 >$cache_file 2679fi 2680 2681# Check that the precious variables saved in the cache have kept the same 2682# value. 2683ac_cache_corrupted=false 2684for ac_var in $ac_precious_vars; do 2685 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2686 eval ac_new_set=\$ac_env_${ac_var}_set 2687 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2688 eval ac_new_val=\$ac_env_${ac_var}_value 2689 case $ac_old_set,$ac_new_set in 2690 set,) 2691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2692$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2693 ac_cache_corrupted=: ;; 2694 ,set) 2695 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2696$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2697 ac_cache_corrupted=: ;; 2698 ,);; 2699 *) 2700 if test "x$ac_old_val" != "x$ac_new_val"; then 2701 # differences in whitespace do not lead to failure. 2702 ac_old_val_w=`echo x $ac_old_val` 2703 ac_new_val_w=`echo x $ac_new_val` 2704 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2706$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2707 ac_cache_corrupted=: 2708 else 2709 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2710$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2711 eval $ac_var=\$ac_old_val 2712 fi 2713 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2714$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2715 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2716$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2717 fi;; 2718 esac 2719 # Pass precious variables to config.status. 2720 if test "$ac_new_set" = set; then 2721 case $ac_new_val in 2722 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2723 *) ac_arg=$ac_var=$ac_new_val ;; 2724 esac 2725 case " $ac_configure_args " in 2726 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2727 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2728 esac 2729 fi 2730done 2731if $ac_cache_corrupted; then 2732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2733$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2735$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2736 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2737fi 2738## -------------------- ## 2739## Main body of script. ## 2740## -------------------- ## 2741 2742ac_ext=c 2743ac_cpp='$CPP $CPPFLAGS' 2744ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2745ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2746ac_compiler_gnu=$ac_cv_c_compiler_gnu 2747 2748 2749 2750 2751ac_aux_dir= 2752for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do 2753 if test -f "$ac_dir/install-sh"; then 2754 ac_aux_dir=$ac_dir 2755 ac_install_sh="$ac_aux_dir/install-sh -c" 2756 break 2757 elif test -f "$ac_dir/install.sh"; then 2758 ac_aux_dir=$ac_dir 2759 ac_install_sh="$ac_aux_dir/install.sh -c" 2760 break 2761 elif test -f "$ac_dir/shtool"; then 2762 ac_aux_dir=$ac_dir 2763 ac_install_sh="$ac_aux_dir/shtool install -c" 2764 break 2765 fi 2766done 2767if test -z "$ac_aux_dir"; then 2768 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5 2769fi 2770 2771# These three variables are undocumented and unsupported, 2772# and are intended to be withdrawn in a future Autoconf release. 2773# They can cause serious problems if a builder's source tree is in a directory 2774# whose full name contains unusual characters. 2775ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2776ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2777ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2778 2779 2780 2781 2782am__api_version='1.15' 2783 2784# Find a good install program. We prefer a C program (faster), 2785# so one script is as good as another. But avoid the broken or 2786# incompatible versions: 2787# SysV /etc/install, /usr/sbin/install 2788# SunOS /usr/etc/install 2789# IRIX /sbin/install 2790# AIX /bin/install 2791# AmigaOS /C/install, which installs bootblocks on floppy discs 2792# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2793# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2794# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2795# OS/2's system install, which has a completely different semantic 2796# ./install, which can be erroneously created by make from ./install.sh. 2797# Reject install programs that cannot install multiple files. 2798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2799$as_echo_n "checking for a BSD-compatible install... " >&6; } 2800if test -z "$INSTALL"; then 2801if ${ac_cv_path_install+:} false; then : 2802 $as_echo_n "(cached) " >&6 2803else 2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2805for as_dir in $PATH 2806do 2807 IFS=$as_save_IFS 2808 test -z "$as_dir" && as_dir=. 2809 # Account for people who put trailing slashes in PATH elements. 2810case $as_dir/ in #(( 2811 ./ | .// | /[cC]/* | \ 2812 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2813 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2814 /usr/ucb/* ) ;; 2815 *) 2816 # OSF1 and SCO ODT 3.0 have their own names for install. 2817 # Don't use installbsd from OSF since it installs stuff as root 2818 # by default. 2819 for ac_prog in ginstall scoinst install; do 2820 for ac_exec_ext in '' $ac_executable_extensions; do 2821 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2822 if test $ac_prog = install && 2823 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2824 # AIX install. It has an incompatible calling convention. 2825 : 2826 elif test $ac_prog = install && 2827 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2828 # program-specific install script used by HP pwplus--don't use. 2829 : 2830 else 2831 rm -rf conftest.one conftest.two conftest.dir 2832 echo one > conftest.one 2833 echo two > conftest.two 2834 mkdir conftest.dir 2835 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2836 test -s conftest.one && test -s conftest.two && 2837 test -s conftest.dir/conftest.one && 2838 test -s conftest.dir/conftest.two 2839 then 2840 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2841 break 3 2842 fi 2843 fi 2844 fi 2845 done 2846 done 2847 ;; 2848esac 2849 2850 done 2851IFS=$as_save_IFS 2852 2853rm -rf conftest.one conftest.two conftest.dir 2854 2855fi 2856 if test "${ac_cv_path_install+set}" = set; then 2857 INSTALL=$ac_cv_path_install 2858 else 2859 # As a last resort, use the slow shell script. Don't cache a 2860 # value for INSTALL within a source directory, because that will 2861 # break other packages using the cache if that directory is 2862 # removed, or if the value is a relative name. 2863 INSTALL=$ac_install_sh 2864 fi 2865fi 2866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2867$as_echo "$INSTALL" >&6; } 2868 2869# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2870# It thinks the first close brace ends the variable substitution. 2871test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2872 2873test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2874 2875test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2876 2877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2878$as_echo_n "checking whether build environment is sane... " >&6; } 2879# Reject unsafe characters in $srcdir or the absolute working directory 2880# name. Accept space and tab only in the latter. 2881am_lf=' 2882' 2883case `pwd` in 2884 *[\\\"\#\$\&\'\`$am_lf]*) 2885 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2886esac 2887case $srcdir in 2888 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2889 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2890esac 2891 2892# Do 'set' in a subshell so we don't clobber the current shell's 2893# arguments. Must try -L first in case configure is actually a 2894# symlink; some systems play weird games with the mod time of symlinks 2895# (eg FreeBSD returns the mod time of the symlink's containing 2896# directory). 2897if ( 2898 am_has_slept=no 2899 for am_try in 1 2; do 2900 echo "timestamp, slept: $am_has_slept" > conftest.file 2901 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2902 if test "$*" = "X"; then 2903 # -L didn't work. 2904 set X `ls -t "$srcdir/configure" conftest.file` 2905 fi 2906 if test "$*" != "X $srcdir/configure conftest.file" \ 2907 && test "$*" != "X conftest.file $srcdir/configure"; then 2908 2909 # If neither matched, then we have a broken ls. This can happen 2910 # if, for instance, CONFIG_SHELL is bash and it inherits a 2911 # broken ls alias from the environment. This has actually 2912 # happened. Such a system could not be considered "sane". 2913 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2914 alias in your environment" "$LINENO" 5 2915 fi 2916 if test "$2" = conftest.file || test $am_try -eq 2; then 2917 break 2918 fi 2919 # Just in case. 2920 sleep 1 2921 am_has_slept=yes 2922 done 2923 test "$2" = conftest.file 2924 ) 2925then 2926 # Ok. 2927 : 2928else 2929 as_fn_error $? "newly created file is older than distributed files! 2930Check your system clock" "$LINENO" 5 2931fi 2932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2933$as_echo "yes" >&6; } 2934# If we didn't sleep, we still need to ensure time stamps of config.status and 2935# generated files are strictly newer. 2936am_sleep_pid= 2937if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2938 ( sleep 1 ) & 2939 am_sleep_pid=$! 2940fi 2941 2942rm -f conftest.file 2943 2944test "$program_prefix" != NONE && 2945 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2946# Use a double $ so make ignores it. 2947test "$program_suffix" != NONE && 2948 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2949# Double any \ or $. 2950# By default was `s,x,x', remove it if useless. 2951ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2952program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2953 2954# Expand $ac_aux_dir to an absolute path. 2955am_aux_dir=`cd "$ac_aux_dir" && pwd` 2956 2957if test x"${MISSING+set}" != xset; then 2958 case $am_aux_dir in 2959 *\ * | *\ *) 2960 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2961 *) 2962 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2963 esac 2964fi 2965# Use eval to expand $SHELL 2966if eval "$MISSING --is-lightweight"; then 2967 am_missing_run="$MISSING " 2968else 2969 am_missing_run= 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2971$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2972fi 2973 2974if test x"${install_sh+set}" != xset; then 2975 case $am_aux_dir in 2976 *\ * | *\ *) 2977 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2978 *) 2979 install_sh="\${SHELL} $am_aux_dir/install-sh" 2980 esac 2981fi 2982 2983# Installed binaries are usually stripped using 'strip' when the user 2984# run "make install-strip". However 'strip' might not be the right 2985# tool to use in cross-compilation environments, therefore Automake 2986# will honor the 'STRIP' environment variable to overrule this program. 2987if test "$cross_compiling" != no; then 2988 if test -n "$ac_tool_prefix"; then 2989 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2990set dummy ${ac_tool_prefix}strip; ac_word=$2 2991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2992$as_echo_n "checking for $ac_word... " >&6; } 2993if ${ac_cv_prog_STRIP+:} false; then : 2994 $as_echo_n "(cached) " >&6 2995else 2996 if test -n "$STRIP"; then 2997 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2998else 2999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3000for as_dir in $PATH 3001do 3002 IFS=$as_save_IFS 3003 test -z "$as_dir" && as_dir=. 3004 for ac_exec_ext in '' $ac_executable_extensions; do 3005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3006 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3008 break 2 3009 fi 3010done 3011 done 3012IFS=$as_save_IFS 3013 3014fi 3015fi 3016STRIP=$ac_cv_prog_STRIP 3017if test -n "$STRIP"; then 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3019$as_echo "$STRIP" >&6; } 3020else 3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3022$as_echo "no" >&6; } 3023fi 3024 3025 3026fi 3027if test -z "$ac_cv_prog_STRIP"; then 3028 ac_ct_STRIP=$STRIP 3029 # Extract the first word of "strip", so it can be a program name with args. 3030set dummy strip; ac_word=$2 3031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3032$as_echo_n "checking for $ac_word... " >&6; } 3033if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3034 $as_echo_n "(cached) " >&6 3035else 3036 if test -n "$ac_ct_STRIP"; then 3037 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3038else 3039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3040for as_dir in $PATH 3041do 3042 IFS=$as_save_IFS 3043 test -z "$as_dir" && as_dir=. 3044 for ac_exec_ext in '' $ac_executable_extensions; do 3045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3046 ac_cv_prog_ac_ct_STRIP="strip" 3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3048 break 2 3049 fi 3050done 3051 done 3052IFS=$as_save_IFS 3053 3054fi 3055fi 3056ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3057if test -n "$ac_ct_STRIP"; then 3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3059$as_echo "$ac_ct_STRIP" >&6; } 3060else 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3062$as_echo "no" >&6; } 3063fi 3064 3065 if test "x$ac_ct_STRIP" = x; then 3066 STRIP=":" 3067 else 3068 case $cross_compiling:$ac_tool_warned in 3069yes:) 3070{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3071$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3072ac_tool_warned=yes ;; 3073esac 3074 STRIP=$ac_ct_STRIP 3075 fi 3076else 3077 STRIP="$ac_cv_prog_STRIP" 3078fi 3079 3080fi 3081INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3082 3083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3084$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3085if test -z "$MKDIR_P"; then 3086 if ${ac_cv_path_mkdir+:} false; then : 3087 $as_echo_n "(cached) " >&6 3088else 3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3090for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3091do 3092 IFS=$as_save_IFS 3093 test -z "$as_dir" && as_dir=. 3094 for ac_prog in mkdir gmkdir; do 3095 for ac_exec_ext in '' $ac_executable_extensions; do 3096 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3097 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3098 'mkdir (GNU coreutils) '* | \ 3099 'mkdir (coreutils) '* | \ 3100 'mkdir (fileutils) '4.1*) 3101 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3102 break 3;; 3103 esac 3104 done 3105 done 3106 done 3107IFS=$as_save_IFS 3108 3109fi 3110 3111 test -d ./--version && rmdir ./--version 3112 if test "${ac_cv_path_mkdir+set}" = set; then 3113 MKDIR_P="$ac_cv_path_mkdir -p" 3114 else 3115 # As a last resort, use the slow shell script. Don't cache a 3116 # value for MKDIR_P within a source directory, because that will 3117 # break other packages using the cache if that directory is 3118 # removed, or if the value is a relative name. 3119 MKDIR_P="$ac_install_sh -d" 3120 fi 3121fi 3122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3123$as_echo "$MKDIR_P" >&6; } 3124 3125for ac_prog in gawk mawk nawk awk 3126do 3127 # Extract the first word of "$ac_prog", so it can be a program name with args. 3128set dummy $ac_prog; ac_word=$2 3129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3130$as_echo_n "checking for $ac_word... " >&6; } 3131if ${ac_cv_prog_AWK+:} false; then : 3132 $as_echo_n "(cached) " >&6 3133else 3134 if test -n "$AWK"; then 3135 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3136else 3137as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3138for as_dir in $PATH 3139do 3140 IFS=$as_save_IFS 3141 test -z "$as_dir" && as_dir=. 3142 for ac_exec_ext in '' $ac_executable_extensions; do 3143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3144 ac_cv_prog_AWK="$ac_prog" 3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3146 break 2 3147 fi 3148done 3149 done 3150IFS=$as_save_IFS 3151 3152fi 3153fi 3154AWK=$ac_cv_prog_AWK 3155if test -n "$AWK"; then 3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3157$as_echo "$AWK" >&6; } 3158else 3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3160$as_echo "no" >&6; } 3161fi 3162 3163 3164 test -n "$AWK" && break 3165done 3166 3167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3168$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3169set x ${MAKE-make} 3170ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3171if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3172 $as_echo_n "(cached) " >&6 3173else 3174 cat >conftest.make <<\_ACEOF 3175SHELL = /bin/sh 3176all: 3177 @echo '@@@%%%=$(MAKE)=@@@%%%' 3178_ACEOF 3179# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3180case `${MAKE-make} -f conftest.make 2>/dev/null` in 3181 *@@@%%%=?*=@@@%%%*) 3182 eval ac_cv_prog_make_${ac_make}_set=yes;; 3183 *) 3184 eval ac_cv_prog_make_${ac_make}_set=no;; 3185esac 3186rm -f conftest.make 3187fi 3188if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3190$as_echo "yes" >&6; } 3191 SET_MAKE= 3192else 3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3194$as_echo "no" >&6; } 3195 SET_MAKE="MAKE=${MAKE-make}" 3196fi 3197 3198rm -rf .tst 2>/dev/null 3199mkdir .tst 2>/dev/null 3200if test -d .tst; then 3201 am__leading_dot=. 3202else 3203 am__leading_dot=_ 3204fi 3205rmdir .tst 2>/dev/null 3206 3207# Check whether --enable-silent-rules was given. 3208if test "${enable_silent_rules+set}" = set; then : 3209 enableval=$enable_silent_rules; 3210fi 3211 3212case $enable_silent_rules in # ((( 3213 yes) AM_DEFAULT_VERBOSITY=0;; 3214 no) AM_DEFAULT_VERBOSITY=1;; 3215 *) AM_DEFAULT_VERBOSITY=1;; 3216esac 3217am_make=${MAKE-make} 3218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3219$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3220if ${am_cv_make_support_nested_variables+:} false; then : 3221 $as_echo_n "(cached) " >&6 3222else 3223 if $as_echo 'TRUE=$(BAR$(V)) 3224BAR0=false 3225BAR1=true 3226V=1 3227am__doit: 3228 @$(TRUE) 3229.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3230 am_cv_make_support_nested_variables=yes 3231else 3232 am_cv_make_support_nested_variables=no 3233fi 3234fi 3235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3236$as_echo "$am_cv_make_support_nested_variables" >&6; } 3237if test $am_cv_make_support_nested_variables = yes; then 3238 AM_V='$(V)' 3239 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3240else 3241 AM_V=$AM_DEFAULT_VERBOSITY 3242 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3243fi 3244AM_BACKSLASH='\' 3245 3246DEPDIR="${am__leading_dot}deps" 3247 3248ac_config_commands="$ac_config_commands depfiles" 3249 3250 3251am_make=${MAKE-make} 3252cat > confinc << 'END' 3253am__doit: 3254 @echo this is the am__doit target 3255.PHONY: am__doit 3256END 3257# If we don't find an include directive, just comment out the code. 3258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3259$as_echo_n "checking for style of include used by $am_make... " >&6; } 3260am__include="#" 3261am__quote= 3262_am_result=none 3263# First try GNU make style include. 3264echo "include confinc" > confmf 3265# Ignore all kinds of additional output from 'make'. 3266case `$am_make -s -f confmf 2> /dev/null` in #( 3267*the\ am__doit\ target*) 3268 am__include=include 3269 am__quote= 3270 _am_result=GNU 3271 ;; 3272esac 3273# Now try BSD make style include. 3274if test "$am__include" = "#"; then 3275 echo '.include "confinc"' > confmf 3276 case `$am_make -s -f confmf 2> /dev/null` in #( 3277 *the\ am__doit\ target*) 3278 am__include=.include 3279 am__quote="\"" 3280 _am_result=BSD 3281 ;; 3282 esac 3283fi 3284 3285 3286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3287$as_echo "$_am_result" >&6; } 3288rm -f confinc confmf 3289 3290# Check whether --enable-dependency-tracking was given. 3291if test "${enable_dependency_tracking+set}" = set; then : 3292 enableval=$enable_dependency_tracking; 3293fi 3294 3295if test "x$enable_dependency_tracking" != xno; then 3296 am_depcomp="$ac_aux_dir/depcomp" 3297 AMDEPBACKSLASH='\' 3298 am__nodep='_no' 3299fi 3300 if test "x$enable_dependency_tracking" != xno; then 3301 AMDEP_TRUE= 3302 AMDEP_FALSE='#' 3303else 3304 AMDEP_TRUE='#' 3305 AMDEP_FALSE= 3306fi 3307 3308 3309ac_ext=c 3310ac_cpp='$CPP $CPPFLAGS' 3311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3313ac_compiler_gnu=$ac_cv_c_compiler_gnu 3314if test -n "$ac_tool_prefix"; then 3315 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3316set dummy ${ac_tool_prefix}gcc; ac_word=$2 3317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3318$as_echo_n "checking for $ac_word... " >&6; } 3319if ${ac_cv_prog_CC+:} false; then : 3320 $as_echo_n "(cached) " >&6 3321else 3322 if test -n "$CC"; then 3323 ac_cv_prog_CC="$CC" # Let the user override the test. 3324else 3325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3326for as_dir in $PATH 3327do 3328 IFS=$as_save_IFS 3329 test -z "$as_dir" && as_dir=. 3330 for ac_exec_ext in '' $ac_executable_extensions; do 3331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3332 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3334 break 2 3335 fi 3336done 3337 done 3338IFS=$as_save_IFS 3339 3340fi 3341fi 3342CC=$ac_cv_prog_CC 3343if test -n "$CC"; then 3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3345$as_echo "$CC" >&6; } 3346else 3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3348$as_echo "no" >&6; } 3349fi 3350 3351 3352fi 3353if test -z "$ac_cv_prog_CC"; then 3354 ac_ct_CC=$CC 3355 # Extract the first word of "gcc", so it can be a program name with args. 3356set dummy gcc; ac_word=$2 3357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3358$as_echo_n "checking for $ac_word... " >&6; } 3359if ${ac_cv_prog_ac_ct_CC+:} false; then : 3360 $as_echo_n "(cached) " >&6 3361else 3362 if test -n "$ac_ct_CC"; then 3363 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3364else 3365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3366for as_dir in $PATH 3367do 3368 IFS=$as_save_IFS 3369 test -z "$as_dir" && as_dir=. 3370 for ac_exec_ext in '' $ac_executable_extensions; do 3371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3372 ac_cv_prog_ac_ct_CC="gcc" 3373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3374 break 2 3375 fi 3376done 3377 done 3378IFS=$as_save_IFS 3379 3380fi 3381fi 3382ac_ct_CC=$ac_cv_prog_ac_ct_CC 3383if test -n "$ac_ct_CC"; then 3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3385$as_echo "$ac_ct_CC" >&6; } 3386else 3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3388$as_echo "no" >&6; } 3389fi 3390 3391 if test "x$ac_ct_CC" = x; then 3392 CC="" 3393 else 3394 case $cross_compiling:$ac_tool_warned in 3395yes:) 3396{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3397$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3398ac_tool_warned=yes ;; 3399esac 3400 CC=$ac_ct_CC 3401 fi 3402else 3403 CC="$ac_cv_prog_CC" 3404fi 3405 3406if test -z "$CC"; then 3407 if test -n "$ac_tool_prefix"; then 3408 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3409set dummy ${ac_tool_prefix}cc; ac_word=$2 3410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3411$as_echo_n "checking for $ac_word... " >&6; } 3412if ${ac_cv_prog_CC+:} false; then : 3413 $as_echo_n "(cached) " >&6 3414else 3415 if test -n "$CC"; then 3416 ac_cv_prog_CC="$CC" # Let the user override the test. 3417else 3418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3419for as_dir in $PATH 3420do 3421 IFS=$as_save_IFS 3422 test -z "$as_dir" && as_dir=. 3423 for ac_exec_ext in '' $ac_executable_extensions; do 3424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3425 ac_cv_prog_CC="${ac_tool_prefix}cc" 3426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3427 break 2 3428 fi 3429done 3430 done 3431IFS=$as_save_IFS 3432 3433fi 3434fi 3435CC=$ac_cv_prog_CC 3436if test -n "$CC"; then 3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3438$as_echo "$CC" >&6; } 3439else 3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3441$as_echo "no" >&6; } 3442fi 3443 3444 3445 fi 3446fi 3447if test -z "$CC"; then 3448 # Extract the first word of "cc", so it can be a program name with args. 3449set dummy cc; ac_word=$2 3450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3451$as_echo_n "checking for $ac_word... " >&6; } 3452if ${ac_cv_prog_CC+:} false; then : 3453 $as_echo_n "(cached) " >&6 3454else 3455 if test -n "$CC"; then 3456 ac_cv_prog_CC="$CC" # Let the user override the test. 3457else 3458 ac_prog_rejected=no 3459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3460for as_dir in $PATH 3461do 3462 IFS=$as_save_IFS 3463 test -z "$as_dir" && as_dir=. 3464 for ac_exec_ext in '' $ac_executable_extensions; do 3465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3466 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3467 ac_prog_rejected=yes 3468 continue 3469 fi 3470 ac_cv_prog_CC="cc" 3471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3472 break 2 3473 fi 3474done 3475 done 3476IFS=$as_save_IFS 3477 3478if test $ac_prog_rejected = yes; then 3479 # We found a bogon in the path, so make sure we never use it. 3480 set dummy $ac_cv_prog_CC 3481 shift 3482 if test $# != 0; then 3483 # We chose a different compiler from the bogus one. 3484 # However, it has the same basename, so the bogon will be chosen 3485 # first if we set CC to just the basename; use the full file name. 3486 shift 3487 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3488 fi 3489fi 3490fi 3491fi 3492CC=$ac_cv_prog_CC 3493if test -n "$CC"; then 3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3495$as_echo "$CC" >&6; } 3496else 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3498$as_echo "no" >&6; } 3499fi 3500 3501 3502fi 3503if test -z "$CC"; then 3504 if test -n "$ac_tool_prefix"; then 3505 for ac_prog in cl.exe 3506 do 3507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3508set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3510$as_echo_n "checking for $ac_word... " >&6; } 3511if ${ac_cv_prog_CC+:} false; then : 3512 $as_echo_n "(cached) " >&6 3513else 3514 if test -n "$CC"; then 3515 ac_cv_prog_CC="$CC" # Let the user override the test. 3516else 3517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3518for as_dir in $PATH 3519do 3520 IFS=$as_save_IFS 3521 test -z "$as_dir" && as_dir=. 3522 for ac_exec_ext in '' $ac_executable_extensions; do 3523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3524 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3526 break 2 3527 fi 3528done 3529 done 3530IFS=$as_save_IFS 3531 3532fi 3533fi 3534CC=$ac_cv_prog_CC 3535if test -n "$CC"; then 3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3537$as_echo "$CC" >&6; } 3538else 3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3540$as_echo "no" >&6; } 3541fi 3542 3543 3544 test -n "$CC" && break 3545 done 3546fi 3547if test -z "$CC"; then 3548 ac_ct_CC=$CC 3549 for ac_prog in cl.exe 3550do 3551 # Extract the first word of "$ac_prog", so it can be a program name with args. 3552set dummy $ac_prog; ac_word=$2 3553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3554$as_echo_n "checking for $ac_word... " >&6; } 3555if ${ac_cv_prog_ac_ct_CC+:} false; then : 3556 $as_echo_n "(cached) " >&6 3557else 3558 if test -n "$ac_ct_CC"; then 3559 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3560else 3561as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3562for as_dir in $PATH 3563do 3564 IFS=$as_save_IFS 3565 test -z "$as_dir" && as_dir=. 3566 for ac_exec_ext in '' $ac_executable_extensions; do 3567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3568 ac_cv_prog_ac_ct_CC="$ac_prog" 3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3570 break 2 3571 fi 3572done 3573 done 3574IFS=$as_save_IFS 3575 3576fi 3577fi 3578ac_ct_CC=$ac_cv_prog_ac_ct_CC 3579if test -n "$ac_ct_CC"; then 3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3581$as_echo "$ac_ct_CC" >&6; } 3582else 3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3584$as_echo "no" >&6; } 3585fi 3586 3587 3588 test -n "$ac_ct_CC" && break 3589done 3590 3591 if test "x$ac_ct_CC" = x; then 3592 CC="" 3593 else 3594 case $cross_compiling:$ac_tool_warned in 3595yes:) 3596{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3597$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3598ac_tool_warned=yes ;; 3599esac 3600 CC=$ac_ct_CC 3601 fi 3602fi 3603 3604fi 3605 3606 3607test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3608$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3609as_fn_error $? "no acceptable C compiler found in \$PATH 3610See \`config.log' for more details" "$LINENO" 5; } 3611 3612# Provide some information about the compiler. 3613$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3614set X $ac_compile 3615ac_compiler=$2 3616for ac_option in --version -v -V -qversion; do 3617 { { ac_try="$ac_compiler $ac_option >&5" 3618case "(($ac_try" in 3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3620 *) ac_try_echo=$ac_try;; 3621esac 3622eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3623$as_echo "$ac_try_echo"; } >&5 3624 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3625 ac_status=$? 3626 if test -s conftest.err; then 3627 sed '10a\ 3628... rest of stderr output deleted ... 3629 10q' conftest.err >conftest.er1 3630 cat conftest.er1 >&5 3631 fi 3632 rm -f conftest.er1 conftest.err 3633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3634 test $ac_status = 0; } 3635done 3636 3637cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3638/* end confdefs.h. */ 3639 3640int 3641main () 3642{ 3643 3644 ; 3645 return 0; 3646} 3647_ACEOF 3648ac_clean_files_save=$ac_clean_files 3649ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3650# Try to create an executable without -o first, disregard a.out. 3651# It will help us diagnose broken compilers, and finding out an intuition 3652# of exeext. 3653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3654$as_echo_n "checking whether the C compiler works... " >&6; } 3655ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3656 3657# The possible output files: 3658ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3659 3660ac_rmfiles= 3661for ac_file in $ac_files 3662do 3663 case $ac_file in 3664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3665 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3666 esac 3667done 3668rm -f $ac_rmfiles 3669 3670if { { ac_try="$ac_link_default" 3671case "(($ac_try" in 3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3673 *) ac_try_echo=$ac_try;; 3674esac 3675eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3676$as_echo "$ac_try_echo"; } >&5 3677 (eval "$ac_link_default") 2>&5 3678 ac_status=$? 3679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3680 test $ac_status = 0; }; then : 3681 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3682# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3683# in a Makefile. We should not override ac_cv_exeext if it was cached, 3684# so that the user can short-circuit this test for compilers unknown to 3685# Autoconf. 3686for ac_file in $ac_files '' 3687do 3688 test -f "$ac_file" || continue 3689 case $ac_file in 3690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3691 ;; 3692 [ab].out ) 3693 # We found the default executable, but exeext='' is most 3694 # certainly right. 3695 break;; 3696 *.* ) 3697 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3698 then :; else 3699 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3700 fi 3701 # We set ac_cv_exeext here because the later test for it is not 3702 # safe: cross compilers may not add the suffix if given an `-o' 3703 # argument, so we may need to know it at that point already. 3704 # Even if this section looks crufty: it has the advantage of 3705 # actually working. 3706 break;; 3707 * ) 3708 break;; 3709 esac 3710done 3711test "$ac_cv_exeext" = no && ac_cv_exeext= 3712 3713else 3714 ac_file='' 3715fi 3716if test -z "$ac_file"; then : 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3718$as_echo "no" >&6; } 3719$as_echo "$as_me: failed program was:" >&5 3720sed 's/^/| /' conftest.$ac_ext >&5 3721 3722{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3723$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3724as_fn_error 77 "C compiler cannot create executables 3725See \`config.log' for more details" "$LINENO" 5; } 3726else 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3728$as_echo "yes" >&6; } 3729fi 3730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3731$as_echo_n "checking for C compiler default output file name... " >&6; } 3732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3733$as_echo "$ac_file" >&6; } 3734ac_exeext=$ac_cv_exeext 3735 3736rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3737ac_clean_files=$ac_clean_files_save 3738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3739$as_echo_n "checking for suffix of executables... " >&6; } 3740if { { ac_try="$ac_link" 3741case "(($ac_try" in 3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3743 *) ac_try_echo=$ac_try;; 3744esac 3745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3746$as_echo "$ac_try_echo"; } >&5 3747 (eval "$ac_link") 2>&5 3748 ac_status=$? 3749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3750 test $ac_status = 0; }; then : 3751 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3752# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3753# work properly (i.e., refer to `conftest.exe'), while it won't with 3754# `rm'. 3755for ac_file in conftest.exe conftest conftest.*; do 3756 test -f "$ac_file" || continue 3757 case $ac_file in 3758 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3759 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3760 break;; 3761 * ) break;; 3762 esac 3763done 3764else 3765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3766$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3767as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3768See \`config.log' for more details" "$LINENO" 5; } 3769fi 3770rm -f conftest conftest$ac_cv_exeext 3771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3772$as_echo "$ac_cv_exeext" >&6; } 3773 3774rm -f conftest.$ac_ext 3775EXEEXT=$ac_cv_exeext 3776ac_exeext=$EXEEXT 3777cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3778/* end confdefs.h. */ 3779#include <stdio.h> 3780int 3781main () 3782{ 3783FILE *f = fopen ("conftest.out", "w"); 3784 return ferror (f) || fclose (f) != 0; 3785 3786 ; 3787 return 0; 3788} 3789_ACEOF 3790ac_clean_files="$ac_clean_files conftest.out" 3791# Check that the compiler produces executables we can run. If not, either 3792# the compiler is broken, or we cross compile. 3793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3794$as_echo_n "checking whether we are cross compiling... " >&6; } 3795if test "$cross_compiling" != yes; then 3796 { { ac_try="$ac_link" 3797case "(($ac_try" in 3798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3799 *) ac_try_echo=$ac_try;; 3800esac 3801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3802$as_echo "$ac_try_echo"; } >&5 3803 (eval "$ac_link") 2>&5 3804 ac_status=$? 3805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3806 test $ac_status = 0; } 3807 if { ac_try='./conftest$ac_cv_exeext' 3808 { { case "(($ac_try" in 3809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3810 *) ac_try_echo=$ac_try;; 3811esac 3812eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3813$as_echo "$ac_try_echo"; } >&5 3814 (eval "$ac_try") 2>&5 3815 ac_status=$? 3816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3817 test $ac_status = 0; }; }; then 3818 cross_compiling=no 3819 else 3820 if test "$cross_compiling" = maybe; then 3821 cross_compiling=yes 3822 else 3823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3824$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3825as_fn_error $? "cannot run C compiled programs. 3826If you meant to cross compile, use \`--host'. 3827See \`config.log' for more details" "$LINENO" 5; } 3828 fi 3829 fi 3830fi 3831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3832$as_echo "$cross_compiling" >&6; } 3833 3834rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3835ac_clean_files=$ac_clean_files_save 3836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3837$as_echo_n "checking for suffix of object files... " >&6; } 3838if ${ac_cv_objext+:} false; then : 3839 $as_echo_n "(cached) " >&6 3840else 3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3842/* end confdefs.h. */ 3843 3844int 3845main () 3846{ 3847 3848 ; 3849 return 0; 3850} 3851_ACEOF 3852rm -f conftest.o conftest.obj 3853if { { ac_try="$ac_compile" 3854case "(($ac_try" in 3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3856 *) ac_try_echo=$ac_try;; 3857esac 3858eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3859$as_echo "$ac_try_echo"; } >&5 3860 (eval "$ac_compile") 2>&5 3861 ac_status=$? 3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3863 test $ac_status = 0; }; then : 3864 for ac_file in conftest.o conftest.obj conftest.*; do 3865 test -f "$ac_file" || continue; 3866 case $ac_file in 3867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3868 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3869 break;; 3870 esac 3871done 3872else 3873 $as_echo "$as_me: failed program was:" >&5 3874sed 's/^/| /' conftest.$ac_ext >&5 3875 3876{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3877$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3878as_fn_error $? "cannot compute suffix of object files: cannot compile 3879See \`config.log' for more details" "$LINENO" 5; } 3880fi 3881rm -f conftest.$ac_cv_objext conftest.$ac_ext 3882fi 3883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3884$as_echo "$ac_cv_objext" >&6; } 3885OBJEXT=$ac_cv_objext 3886ac_objext=$OBJEXT 3887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3888$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3889if ${ac_cv_c_compiler_gnu+:} false; then : 3890 $as_echo_n "(cached) " >&6 3891else 3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3893/* end confdefs.h. */ 3894 3895int 3896main () 3897{ 3898#ifndef __GNUC__ 3899 choke me 3900#endif 3901 3902 ; 3903 return 0; 3904} 3905_ACEOF 3906if ac_fn_c_try_compile "$LINENO"; then : 3907 ac_compiler_gnu=yes 3908else 3909 ac_compiler_gnu=no 3910fi 3911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3912ac_cv_c_compiler_gnu=$ac_compiler_gnu 3913 3914fi 3915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3916$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3917if test $ac_compiler_gnu = yes; then 3918 GCC=yes 3919else 3920 GCC= 3921fi 3922ac_test_CFLAGS=${CFLAGS+set} 3923ac_save_CFLAGS=$CFLAGS 3924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3925$as_echo_n "checking whether $CC accepts -g... " >&6; } 3926if ${ac_cv_prog_cc_g+:} false; then : 3927 $as_echo_n "(cached) " >&6 3928else 3929 ac_save_c_werror_flag=$ac_c_werror_flag 3930 ac_c_werror_flag=yes 3931 ac_cv_prog_cc_g=no 3932 CFLAGS="-g" 3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3934/* end confdefs.h. */ 3935 3936int 3937main () 3938{ 3939 3940 ; 3941 return 0; 3942} 3943_ACEOF 3944if ac_fn_c_try_compile "$LINENO"; then : 3945 ac_cv_prog_cc_g=yes 3946else 3947 CFLAGS="" 3948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3949/* end confdefs.h. */ 3950 3951int 3952main () 3953{ 3954 3955 ; 3956 return 0; 3957} 3958_ACEOF 3959if ac_fn_c_try_compile "$LINENO"; then : 3960 3961else 3962 ac_c_werror_flag=$ac_save_c_werror_flag 3963 CFLAGS="-g" 3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3965/* end confdefs.h. */ 3966 3967int 3968main () 3969{ 3970 3971 ; 3972 return 0; 3973} 3974_ACEOF 3975if ac_fn_c_try_compile "$LINENO"; then : 3976 ac_cv_prog_cc_g=yes 3977fi 3978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3979fi 3980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3981fi 3982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3983 ac_c_werror_flag=$ac_save_c_werror_flag 3984fi 3985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3986$as_echo "$ac_cv_prog_cc_g" >&6; } 3987if test "$ac_test_CFLAGS" = set; then 3988 CFLAGS=$ac_save_CFLAGS 3989elif test $ac_cv_prog_cc_g = yes; then 3990 if test "$GCC" = yes; then 3991 CFLAGS="-g -O2" 3992 else 3993 CFLAGS="-g" 3994 fi 3995else 3996 if test "$GCC" = yes; then 3997 CFLAGS="-O2" 3998 else 3999 CFLAGS= 4000 fi 4001fi 4002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4003$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4004if ${ac_cv_prog_cc_c89+:} false; then : 4005 $as_echo_n "(cached) " >&6 4006else 4007 ac_cv_prog_cc_c89=no 4008ac_save_CC=$CC 4009cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4010/* end confdefs.h. */ 4011#include <stdarg.h> 4012#include <stdio.h> 4013struct stat; 4014/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4015struct buf { int x; }; 4016FILE * (*rcsopen) (struct buf *, struct stat *, int); 4017static char *e (p, i) 4018 char **p; 4019 int i; 4020{ 4021 return p[i]; 4022} 4023static char *f (char * (*g) (char **, int), char **p, ...) 4024{ 4025 char *s; 4026 va_list v; 4027 va_start (v,p); 4028 s = g (p, va_arg (v,int)); 4029 va_end (v); 4030 return s; 4031} 4032 4033/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4034 function prototypes and stuff, but not '\xHH' hex character constants. 4035 These don't provoke an error unfortunately, instead are silently treated 4036 as 'x'. The following induces an error, until -std is added to get 4037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4038 array size at least. It's necessary to write '\x00'==0 to get something 4039 that's true only with -std. */ 4040int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4041 4042/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4043 inside strings and character constants. */ 4044#define FOO(x) 'x' 4045int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4046 4047int test (int i, double x); 4048struct s1 {int (*f) (int a);}; 4049struct s2 {int (*f) (double a);}; 4050int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4051int argc; 4052char **argv; 4053int 4054main () 4055{ 4056return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4057 ; 4058 return 0; 4059} 4060_ACEOF 4061for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4062 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4063do 4064 CC="$ac_save_CC $ac_arg" 4065 if ac_fn_c_try_compile "$LINENO"; then : 4066 ac_cv_prog_cc_c89=$ac_arg 4067fi 4068rm -f core conftest.err conftest.$ac_objext 4069 test "x$ac_cv_prog_cc_c89" != "xno" && break 4070done 4071rm -f conftest.$ac_ext 4072CC=$ac_save_CC 4073 4074fi 4075# AC_CACHE_VAL 4076case "x$ac_cv_prog_cc_c89" in 4077 x) 4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4079$as_echo "none needed" >&6; } ;; 4080 xno) 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4082$as_echo "unsupported" >&6; } ;; 4083 *) 4084 CC="$CC $ac_cv_prog_cc_c89" 4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4086$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4087esac 4088if test "x$ac_cv_prog_cc_c89" != xno; then : 4089 4090fi 4091 4092ac_ext=c 4093ac_cpp='$CPP $CPPFLAGS' 4094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4096ac_compiler_gnu=$ac_cv_c_compiler_gnu 4097 4098ac_ext=c 4099ac_cpp='$CPP $CPPFLAGS' 4100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4102ac_compiler_gnu=$ac_cv_c_compiler_gnu 4103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4104$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4105if ${am_cv_prog_cc_c_o+:} false; then : 4106 $as_echo_n "(cached) " >&6 4107else 4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4109/* end confdefs.h. */ 4110 4111int 4112main () 4113{ 4114 4115 ; 4116 return 0; 4117} 4118_ACEOF 4119 # Make sure it works both with $CC and with simple cc. 4120 # Following AC_PROG_CC_C_O, we do the test twice because some 4121 # compilers refuse to overwrite an existing .o file with -o, 4122 # though they will create one. 4123 am_cv_prog_cc_c_o=yes 4124 for am_i in 1 2; do 4125 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4126 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4127 ac_status=$? 4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4129 (exit $ac_status); } \ 4130 && test -f conftest2.$ac_objext; then 4131 : OK 4132 else 4133 am_cv_prog_cc_c_o=no 4134 break 4135 fi 4136 done 4137 rm -f core conftest* 4138 unset am_i 4139fi 4140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4141$as_echo "$am_cv_prog_cc_c_o" >&6; } 4142if test "$am_cv_prog_cc_c_o" != yes; then 4143 # Losing compiler, so override with the script. 4144 # FIXME: It is wrong to rewrite CC. 4145 # But if we don't then we get into trouble of one sort or another. 4146 # A longer-term fix would be to have automake use am__CC in this case, 4147 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4148 CC="$am_aux_dir/compile $CC" 4149fi 4150ac_ext=c 4151ac_cpp='$CPP $CPPFLAGS' 4152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4154ac_compiler_gnu=$ac_cv_c_compiler_gnu 4155 4156 4157depcc="$CC" am_compiler_list= 4158 4159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4160$as_echo_n "checking dependency style of $depcc... " >&6; } 4161if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4162 $as_echo_n "(cached) " >&6 4163else 4164 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4165 # We make a subdir and do the tests there. Otherwise we can end up 4166 # making bogus files that we don't know about and never remove. For 4167 # instance it was reported that on HP-UX the gcc test will end up 4168 # making a dummy file named 'D' -- because '-MD' means "put the output 4169 # in D". 4170 rm -rf conftest.dir 4171 mkdir conftest.dir 4172 # Copy depcomp to subdir because otherwise we won't find it if we're 4173 # using a relative directory. 4174 cp "$am_depcomp" conftest.dir 4175 cd conftest.dir 4176 # We will build objects and dependencies in a subdirectory because 4177 # it helps to detect inapplicable dependency modes. For instance 4178 # both Tru64's cc and ICC support -MD to output dependencies as a 4179 # side effect of compilation, but ICC will put the dependencies in 4180 # the current directory while Tru64 will put them in the object 4181 # directory. 4182 mkdir sub 4183 4184 am_cv_CC_dependencies_compiler_type=none 4185 if test "$am_compiler_list" = ""; then 4186 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4187 fi 4188 am__universal=false 4189 case " $depcc " in #( 4190 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4191 esac 4192 4193 for depmode in $am_compiler_list; do 4194 # Setup a source with many dependencies, because some compilers 4195 # like to wrap large dependency lists on column 80 (with \), and 4196 # we should not choose a depcomp mode which is confused by this. 4197 # 4198 # We need to recreate these files for each test, as the compiler may 4199 # overwrite some of them when testing with obscure command lines. 4200 # This happens at least with the AIX C compiler. 4201 : > sub/conftest.c 4202 for i in 1 2 3 4 5 6; do 4203 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4204 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4205 # Solaris 10 /bin/sh. 4206 echo '/* dummy */' > sub/conftst$i.h 4207 done 4208 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4209 4210 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4211 # mode. It turns out that the SunPro C++ compiler does not properly 4212 # handle '-M -o', and we need to detect this. Also, some Intel 4213 # versions had trouble with output in subdirs. 4214 am__obj=sub/conftest.${OBJEXT-o} 4215 am__minus_obj="-o $am__obj" 4216 case $depmode in 4217 gcc) 4218 # This depmode causes a compiler race in universal mode. 4219 test "$am__universal" = false || continue 4220 ;; 4221 nosideeffect) 4222 # After this tag, mechanisms are not by side-effect, so they'll 4223 # only be used when explicitly requested. 4224 if test "x$enable_dependency_tracking" = xyes; then 4225 continue 4226 else 4227 break 4228 fi 4229 ;; 4230 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4231 # This compiler won't grok '-c -o', but also, the minuso test has 4232 # not run yet. These depmodes are late enough in the game, and 4233 # so weak that their functioning should not be impacted. 4234 am__obj=conftest.${OBJEXT-o} 4235 am__minus_obj= 4236 ;; 4237 none) break ;; 4238 esac 4239 if depmode=$depmode \ 4240 source=sub/conftest.c object=$am__obj \ 4241 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4242 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4243 >/dev/null 2>conftest.err && 4244 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4245 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4246 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4247 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4248 # icc doesn't choke on unknown options, it will just issue warnings 4249 # or remarks (even with -Werror). So we grep stderr for any message 4250 # that says an option was ignored or not supported. 4251 # When given -MP, icc 7.0 and 7.1 complain thusly: 4252 # icc: Command line warning: ignoring option '-M'; no argument required 4253 # The diagnosis changed in icc 8.0: 4254 # icc: Command line remark: option '-MP' not supported 4255 if (grep 'ignoring option' conftest.err || 4256 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4257 am_cv_CC_dependencies_compiler_type=$depmode 4258 break 4259 fi 4260 fi 4261 done 4262 4263 cd .. 4264 rm -rf conftest.dir 4265else 4266 am_cv_CC_dependencies_compiler_type=none 4267fi 4268 4269fi 4270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4271$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4272CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4273 4274 if 4275 test "x$enable_dependency_tracking" != xno \ 4276 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4277 am__fastdepCC_TRUE= 4278 am__fastdepCC_FALSE='#' 4279else 4280 am__fastdepCC_TRUE='#' 4281 am__fastdepCC_FALSE= 4282fi 4283 4284 4285 4286# Check whether --enable-compiler-warnings was given. 4287if test "${enable_compiler_warnings+set}" = set; then : 4288 enableval=$enable_compiler_warnings; 4289fi 4290case $enable_compiler_warnings in #( 4291 no | min | yes | max | all) : 4292 ;; #( 4293 *) : 4294 if test "x$enable_maintainer_mode" = xyes; then : 4295 enable_compiler_warnings=yes 4296else 4297 enable_compiler_warnings=min 4298fi ;; 4299esac 4300 4301case `pwd` in 4302 *\ * | *\ *) 4303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4304$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4305esac 4306 4307 4308 4309macro_version='2.4.6' 4310macro_revision='2.4.6' 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324ltmain=$ac_aux_dir/ltmain.sh 4325 4326# Make sure we can run config.sub. 4327$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4328 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4329 4330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4331$as_echo_n "checking build system type... " >&6; } 4332if ${ac_cv_build+:} false; then : 4333 $as_echo_n "(cached) " >&6 4334else 4335 ac_build_alias=$build_alias 4336test "x$ac_build_alias" = x && 4337 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4338test "x$ac_build_alias" = x && 4339 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4340ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4341 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4342 4343fi 4344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4345$as_echo "$ac_cv_build" >&6; } 4346case $ac_cv_build in 4347*-*-*) ;; 4348*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4349esac 4350build=$ac_cv_build 4351ac_save_IFS=$IFS; IFS='-' 4352set x $ac_cv_build 4353shift 4354build_cpu=$1 4355build_vendor=$2 4356shift; shift 4357# Remember, the first character of IFS is used to create $*, 4358# except with old shells: 4359build_os=$* 4360IFS=$ac_save_IFS 4361case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4362 4363 4364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4365$as_echo_n "checking host system type... " >&6; } 4366if ${ac_cv_host+:} false; then : 4367 $as_echo_n "(cached) " >&6 4368else 4369 if test "x$host_alias" = x; then 4370 ac_cv_host=$ac_cv_build 4371else 4372 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4373 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4374fi 4375 4376fi 4377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4378$as_echo "$ac_cv_host" >&6; } 4379case $ac_cv_host in 4380*-*-*) ;; 4381*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4382esac 4383host=$ac_cv_host 4384ac_save_IFS=$IFS; IFS='-' 4385set x $ac_cv_host 4386shift 4387host_cpu=$1 4388host_vendor=$2 4389shift; shift 4390# Remember, the first character of IFS is used to create $*, 4391# except with old shells: 4392host_os=$* 4393IFS=$ac_save_IFS 4394case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4395 4396 4397# Backslashify metacharacters that are still active within 4398# double-quoted strings. 4399sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4400 4401# Same as above, but do not quote variable references. 4402double_quote_subst='s/\(["`\\]\)/\\\1/g' 4403 4404# Sed substitution to delay expansion of an escaped shell variable in a 4405# double_quote_subst'ed string. 4406delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4407 4408# Sed substitution to delay expansion of an escaped single quote. 4409delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4410 4411# Sed substitution to avoid accidental globbing in evaled expressions 4412no_glob_subst='s/\*/\\\*/g' 4413 4414ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4415ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4416ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4417 4418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4419$as_echo_n "checking how to print strings... " >&6; } 4420# Test print first, because it will be a builtin if present. 4421if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4422 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4423 ECHO='print -r --' 4424elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4425 ECHO='printf %s\n' 4426else 4427 # Use this function as a fallback that always works. 4428 func_fallback_echo () 4429 { 4430 eval 'cat <<_LTECHO_EOF 4431$1 4432_LTECHO_EOF' 4433 } 4434 ECHO='func_fallback_echo' 4435fi 4436 4437# func_echo_all arg... 4438# Invoke $ECHO with all args, space-separated. 4439func_echo_all () 4440{ 4441 $ECHO "" 4442} 4443 4444case $ECHO in 4445 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4446$as_echo "printf" >&6; } ;; 4447 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4448$as_echo "print -r" >&6; } ;; 4449 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4450$as_echo "cat" >&6; } ;; 4451esac 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4467$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4468if ${ac_cv_path_SED+:} false; then : 4469 $as_echo_n "(cached) " >&6 4470else 4471 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4472 for ac_i in 1 2 3 4 5 6 7; do 4473 ac_script="$ac_script$as_nl$ac_script" 4474 done 4475 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4476 { ac_script=; unset ac_script;} 4477 if test -z "$SED"; then 4478 ac_path_SED_found=false 4479 # Loop through the user's path and test for each of PROGNAME-LIST 4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4481for as_dir in $PATH 4482do 4483 IFS=$as_save_IFS 4484 test -z "$as_dir" && as_dir=. 4485 for ac_prog in sed gsed; do 4486 for ac_exec_ext in '' $ac_executable_extensions; do 4487 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4488 as_fn_executable_p "$ac_path_SED" || continue 4489# Check for GNU ac_path_SED and select it if it is found. 4490 # Check for GNU $ac_path_SED 4491case `"$ac_path_SED" --version 2>&1` in 4492*GNU*) 4493 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4494*) 4495 ac_count=0 4496 $as_echo_n 0123456789 >"conftest.in" 4497 while : 4498 do 4499 cat "conftest.in" "conftest.in" >"conftest.tmp" 4500 mv "conftest.tmp" "conftest.in" 4501 cp "conftest.in" "conftest.nl" 4502 $as_echo '' >> "conftest.nl" 4503 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4505 as_fn_arith $ac_count + 1 && ac_count=$as_val 4506 if test $ac_count -gt ${ac_path_SED_max-0}; then 4507 # Best one so far, save it but keep looking for a better one 4508 ac_cv_path_SED="$ac_path_SED" 4509 ac_path_SED_max=$ac_count 4510 fi 4511 # 10*(2^10) chars as input seems more than enough 4512 test $ac_count -gt 10 && break 4513 done 4514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4515esac 4516 4517 $ac_path_SED_found && break 3 4518 done 4519 done 4520 done 4521IFS=$as_save_IFS 4522 if test -z "$ac_cv_path_SED"; then 4523 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4524 fi 4525else 4526 ac_cv_path_SED=$SED 4527fi 4528 4529fi 4530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4531$as_echo "$ac_cv_path_SED" >&6; } 4532 SED="$ac_cv_path_SED" 4533 rm -f conftest.sed 4534 4535test -z "$SED" && SED=sed 4536Xsed="$SED -e 1s/^X//" 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4549$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4550if ${ac_cv_path_GREP+:} false; then : 4551 $as_echo_n "(cached) " >&6 4552else 4553 if test -z "$GREP"; then 4554 ac_path_GREP_found=false 4555 # Loop through the user's path and test for each of PROGNAME-LIST 4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4557for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4558do 4559 IFS=$as_save_IFS 4560 test -z "$as_dir" && as_dir=. 4561 for ac_prog in grep ggrep; do 4562 for ac_exec_ext in '' $ac_executable_extensions; do 4563 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4564 as_fn_executable_p "$ac_path_GREP" || continue 4565# Check for GNU ac_path_GREP and select it if it is found. 4566 # Check for GNU $ac_path_GREP 4567case `"$ac_path_GREP" --version 2>&1` in 4568*GNU*) 4569 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4570*) 4571 ac_count=0 4572 $as_echo_n 0123456789 >"conftest.in" 4573 while : 4574 do 4575 cat "conftest.in" "conftest.in" >"conftest.tmp" 4576 mv "conftest.tmp" "conftest.in" 4577 cp "conftest.in" "conftest.nl" 4578 $as_echo 'GREP' >> "conftest.nl" 4579 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4580 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4581 as_fn_arith $ac_count + 1 && ac_count=$as_val 4582 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4583 # Best one so far, save it but keep looking for a better one 4584 ac_cv_path_GREP="$ac_path_GREP" 4585 ac_path_GREP_max=$ac_count 4586 fi 4587 # 10*(2^10) chars as input seems more than enough 4588 test $ac_count -gt 10 && break 4589 done 4590 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4591esac 4592 4593 $ac_path_GREP_found && break 3 4594 done 4595 done 4596 done 4597IFS=$as_save_IFS 4598 if test -z "$ac_cv_path_GREP"; then 4599 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4600 fi 4601else 4602 ac_cv_path_GREP=$GREP 4603fi 4604 4605fi 4606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4607$as_echo "$ac_cv_path_GREP" >&6; } 4608 GREP="$ac_cv_path_GREP" 4609 4610 4611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4612$as_echo_n "checking for egrep... " >&6; } 4613if ${ac_cv_path_EGREP+:} false; then : 4614 $as_echo_n "(cached) " >&6 4615else 4616 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4617 then ac_cv_path_EGREP="$GREP -E" 4618 else 4619 if test -z "$EGREP"; then 4620 ac_path_EGREP_found=false 4621 # Loop through the user's path and test for each of PROGNAME-LIST 4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4623for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4624do 4625 IFS=$as_save_IFS 4626 test -z "$as_dir" && as_dir=. 4627 for ac_prog in egrep; do 4628 for ac_exec_ext in '' $ac_executable_extensions; do 4629 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4630 as_fn_executable_p "$ac_path_EGREP" || continue 4631# Check for GNU ac_path_EGREP and select it if it is found. 4632 # Check for GNU $ac_path_EGREP 4633case `"$ac_path_EGREP" --version 2>&1` in 4634*GNU*) 4635 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4636*) 4637 ac_count=0 4638 $as_echo_n 0123456789 >"conftest.in" 4639 while : 4640 do 4641 cat "conftest.in" "conftest.in" >"conftest.tmp" 4642 mv "conftest.tmp" "conftest.in" 4643 cp "conftest.in" "conftest.nl" 4644 $as_echo 'EGREP' >> "conftest.nl" 4645 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4646 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4647 as_fn_arith $ac_count + 1 && ac_count=$as_val 4648 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4649 # Best one so far, save it but keep looking for a better one 4650 ac_cv_path_EGREP="$ac_path_EGREP" 4651 ac_path_EGREP_max=$ac_count 4652 fi 4653 # 10*(2^10) chars as input seems more than enough 4654 test $ac_count -gt 10 && break 4655 done 4656 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4657esac 4658 4659 $ac_path_EGREP_found && break 3 4660 done 4661 done 4662 done 4663IFS=$as_save_IFS 4664 if test -z "$ac_cv_path_EGREP"; then 4665 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4666 fi 4667else 4668 ac_cv_path_EGREP=$EGREP 4669fi 4670 4671 fi 4672fi 4673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4674$as_echo "$ac_cv_path_EGREP" >&6; } 4675 EGREP="$ac_cv_path_EGREP" 4676 4677 4678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4679$as_echo_n "checking for fgrep... " >&6; } 4680if ${ac_cv_path_FGREP+:} false; then : 4681 $as_echo_n "(cached) " >&6 4682else 4683 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4684 then ac_cv_path_FGREP="$GREP -F" 4685 else 4686 if test -z "$FGREP"; then 4687 ac_path_FGREP_found=false 4688 # Loop through the user's path and test for each of PROGNAME-LIST 4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4690for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4691do 4692 IFS=$as_save_IFS 4693 test -z "$as_dir" && as_dir=. 4694 for ac_prog in fgrep; do 4695 for ac_exec_ext in '' $ac_executable_extensions; do 4696 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4697 as_fn_executable_p "$ac_path_FGREP" || continue 4698# Check for GNU ac_path_FGREP and select it if it is found. 4699 # Check for GNU $ac_path_FGREP 4700case `"$ac_path_FGREP" --version 2>&1` in 4701*GNU*) 4702 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4703*) 4704 ac_count=0 4705 $as_echo_n 0123456789 >"conftest.in" 4706 while : 4707 do 4708 cat "conftest.in" "conftest.in" >"conftest.tmp" 4709 mv "conftest.tmp" "conftest.in" 4710 cp "conftest.in" "conftest.nl" 4711 $as_echo 'FGREP' >> "conftest.nl" 4712 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4713 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4714 as_fn_arith $ac_count + 1 && ac_count=$as_val 4715 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4716 # Best one so far, save it but keep looking for a better one 4717 ac_cv_path_FGREP="$ac_path_FGREP" 4718 ac_path_FGREP_max=$ac_count 4719 fi 4720 # 10*(2^10) chars as input seems more than enough 4721 test $ac_count -gt 10 && break 4722 done 4723 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4724esac 4725 4726 $ac_path_FGREP_found && break 3 4727 done 4728 done 4729 done 4730IFS=$as_save_IFS 4731 if test -z "$ac_cv_path_FGREP"; then 4732 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4733 fi 4734else 4735 ac_cv_path_FGREP=$FGREP 4736fi 4737 4738 fi 4739fi 4740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4741$as_echo "$ac_cv_path_FGREP" >&6; } 4742 FGREP="$ac_cv_path_FGREP" 4743 4744 4745test -z "$GREP" && GREP=grep 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765# Check whether --with-gnu-ld was given. 4766if test "${with_gnu_ld+set}" = set; then : 4767 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4768else 4769 with_gnu_ld=no 4770fi 4771 4772ac_prog=ld 4773if test yes = "$GCC"; then 4774 # Check if gcc -print-prog-name=ld gives a path. 4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4776$as_echo_n "checking for ld used by $CC... " >&6; } 4777 case $host in 4778 *-*-mingw*) 4779 # gcc leaves a trailing carriage return, which upsets mingw 4780 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4781 *) 4782 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4783 esac 4784 case $ac_prog in 4785 # Accept absolute paths. 4786 [\\/]* | ?:[\\/]*) 4787 re_direlt='/[^/][^/]*/\.\./' 4788 # Canonicalize the pathname of ld 4789 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4790 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4791 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4792 done 4793 test -z "$LD" && LD=$ac_prog 4794 ;; 4795 "") 4796 # If it fails, then pretend we aren't using GCC. 4797 ac_prog=ld 4798 ;; 4799 *) 4800 # If it is relative, then search for the first ld in PATH. 4801 with_gnu_ld=unknown 4802 ;; 4803 esac 4804elif test yes = "$with_gnu_ld"; then 4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4806$as_echo_n "checking for GNU ld... " >&6; } 4807else 4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4809$as_echo_n "checking for non-GNU ld... " >&6; } 4810fi 4811if ${lt_cv_path_LD+:} false; then : 4812 $as_echo_n "(cached) " >&6 4813else 4814 if test -z "$LD"; then 4815 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4816 for ac_dir in $PATH; do 4817 IFS=$lt_save_ifs 4818 test -z "$ac_dir" && ac_dir=. 4819 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4820 lt_cv_path_LD=$ac_dir/$ac_prog 4821 # Check to see if the program is GNU ld. I'd rather use --version, 4822 # but apparently some variants of GNU ld only accept -v. 4823 # Break only if it was the GNU/non-GNU ld that we prefer. 4824 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4825 *GNU* | *'with BFD'*) 4826 test no != "$with_gnu_ld" && break 4827 ;; 4828 *) 4829 test yes != "$with_gnu_ld" && break 4830 ;; 4831 esac 4832 fi 4833 done 4834 IFS=$lt_save_ifs 4835else 4836 lt_cv_path_LD=$LD # Let the user override the test with a path. 4837fi 4838fi 4839 4840LD=$lt_cv_path_LD 4841if test -n "$LD"; then 4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4843$as_echo "$LD" >&6; } 4844else 4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4846$as_echo "no" >&6; } 4847fi 4848test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4850$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4851if ${lt_cv_prog_gnu_ld+:} false; then : 4852 $as_echo_n "(cached) " >&6 4853else 4854 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4855case `$LD -v 2>&1 </dev/null` in 4856*GNU* | *'with BFD'*) 4857 lt_cv_prog_gnu_ld=yes 4858 ;; 4859*) 4860 lt_cv_prog_gnu_ld=no 4861 ;; 4862esac 4863fi 4864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4865$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4866with_gnu_ld=$lt_cv_prog_gnu_ld 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4877$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4878if ${lt_cv_path_NM+:} false; then : 4879 $as_echo_n "(cached) " >&6 4880else 4881 if test -n "$NM"; then 4882 # Let the user override the test. 4883 lt_cv_path_NM=$NM 4884else 4885 lt_nm_to_check=${ac_tool_prefix}nm 4886 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4887 lt_nm_to_check="$lt_nm_to_check nm" 4888 fi 4889 for lt_tmp_nm in $lt_nm_to_check; do 4890 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4891 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4892 IFS=$lt_save_ifs 4893 test -z "$ac_dir" && ac_dir=. 4894 tmp_nm=$ac_dir/$lt_tmp_nm 4895 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4896 # Check to see if the nm accepts a BSD-compat flag. 4897 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4898 # nm: unknown option "B" ignored 4899 # Tru64's nm complains that /dev/null is an invalid object file 4900 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4901 case $build_os in 4902 mingw*) lt_bad_file=conftest.nm/nofile ;; 4903 *) lt_bad_file=/dev/null ;; 4904 esac 4905 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4906 *$lt_bad_file* | *'Invalid file or object type'*) 4907 lt_cv_path_NM="$tmp_nm -B" 4908 break 2 4909 ;; 4910 *) 4911 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4912 */dev/null*) 4913 lt_cv_path_NM="$tmp_nm -p" 4914 break 2 4915 ;; 4916 *) 4917 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4918 continue # so that we can try to find one that supports BSD flags 4919 ;; 4920 esac 4921 ;; 4922 esac 4923 fi 4924 done 4925 IFS=$lt_save_ifs 4926 done 4927 : ${lt_cv_path_NM=no} 4928fi 4929fi 4930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4931$as_echo "$lt_cv_path_NM" >&6; } 4932if test no != "$lt_cv_path_NM"; then 4933 NM=$lt_cv_path_NM 4934else 4935 # Didn't find any BSD compatible name lister, look for dumpbin. 4936 if test -n "$DUMPBIN"; then : 4937 # Let the user override the test. 4938 else 4939 if test -n "$ac_tool_prefix"; then 4940 for ac_prog in dumpbin "link -dump" 4941 do 4942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4943set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4945$as_echo_n "checking for $ac_word... " >&6; } 4946if ${ac_cv_prog_DUMPBIN+:} false; then : 4947 $as_echo_n "(cached) " >&6 4948else 4949 if test -n "$DUMPBIN"; then 4950 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4951else 4952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4953for as_dir in $PATH 4954do 4955 IFS=$as_save_IFS 4956 test -z "$as_dir" && as_dir=. 4957 for ac_exec_ext in '' $ac_executable_extensions; do 4958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4959 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4961 break 2 4962 fi 4963done 4964 done 4965IFS=$as_save_IFS 4966 4967fi 4968fi 4969DUMPBIN=$ac_cv_prog_DUMPBIN 4970if test -n "$DUMPBIN"; then 4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4972$as_echo "$DUMPBIN" >&6; } 4973else 4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4975$as_echo "no" >&6; } 4976fi 4977 4978 4979 test -n "$DUMPBIN" && break 4980 done 4981fi 4982if test -z "$DUMPBIN"; then 4983 ac_ct_DUMPBIN=$DUMPBIN 4984 for ac_prog in dumpbin "link -dump" 4985do 4986 # Extract the first word of "$ac_prog", so it can be a program name with args. 4987set dummy $ac_prog; ac_word=$2 4988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4989$as_echo_n "checking for $ac_word... " >&6; } 4990if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4991 $as_echo_n "(cached) " >&6 4992else 4993 if test -n "$ac_ct_DUMPBIN"; then 4994 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4995else 4996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4997for as_dir in $PATH 4998do 4999 IFS=$as_save_IFS 5000 test -z "$as_dir" && as_dir=. 5001 for ac_exec_ext in '' $ac_executable_extensions; do 5002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5003 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5005 break 2 5006 fi 5007done 5008 done 5009IFS=$as_save_IFS 5010 5011fi 5012fi 5013ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5014if test -n "$ac_ct_DUMPBIN"; then 5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5016$as_echo "$ac_ct_DUMPBIN" >&6; } 5017else 5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5019$as_echo "no" >&6; } 5020fi 5021 5022 5023 test -n "$ac_ct_DUMPBIN" && break 5024done 5025 5026 if test "x$ac_ct_DUMPBIN" = x; then 5027 DUMPBIN=":" 5028 else 5029 case $cross_compiling:$ac_tool_warned in 5030yes:) 5031{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5032$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5033ac_tool_warned=yes ;; 5034esac 5035 DUMPBIN=$ac_ct_DUMPBIN 5036 fi 5037fi 5038 5039 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5040 *COFF*) 5041 DUMPBIN="$DUMPBIN -symbols -headers" 5042 ;; 5043 *) 5044 DUMPBIN=: 5045 ;; 5046 esac 5047 fi 5048 5049 if test : != "$DUMPBIN"; then 5050 NM=$DUMPBIN 5051 fi 5052fi 5053test -z "$NM" && NM=nm 5054 5055 5056 5057 5058 5059 5060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5061$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5062if ${lt_cv_nm_interface+:} false; then : 5063 $as_echo_n "(cached) " >&6 5064else 5065 lt_cv_nm_interface="BSD nm" 5066 echo "int some_variable = 0;" > conftest.$ac_ext 5067 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5068 (eval "$ac_compile" 2>conftest.err) 5069 cat conftest.err >&5 5070 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5071 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5072 cat conftest.err >&5 5073 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5074 cat conftest.out >&5 5075 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5076 lt_cv_nm_interface="MS dumpbin" 5077 fi 5078 rm -f conftest* 5079fi 5080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5081$as_echo "$lt_cv_nm_interface" >&6; } 5082 5083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5084$as_echo_n "checking whether ln -s works... " >&6; } 5085LN_S=$as_ln_s 5086if test "$LN_S" = "ln -s"; then 5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5088$as_echo "yes" >&6; } 5089else 5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5091$as_echo "no, using $LN_S" >&6; } 5092fi 5093 5094# find the maximum length of command line arguments 5095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5096$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5097if ${lt_cv_sys_max_cmd_len+:} false; then : 5098 $as_echo_n "(cached) " >&6 5099else 5100 i=0 5101 teststring=ABCD 5102 5103 case $build_os in 5104 msdosdjgpp*) 5105 # On DJGPP, this test can blow up pretty badly due to problems in libc 5106 # (any single argument exceeding 2000 bytes causes a buffer overrun 5107 # during glob expansion). Even if it were fixed, the result of this 5108 # check would be larger than it should be. 5109 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5110 ;; 5111 5112 gnu*) 5113 # Under GNU Hurd, this test is not required because there is 5114 # no limit to the length of command line arguments. 5115 # Libtool will interpret -1 as no limit whatsoever 5116 lt_cv_sys_max_cmd_len=-1; 5117 ;; 5118 5119 cygwin* | mingw* | cegcc*) 5120 # On Win9x/ME, this test blows up -- it succeeds, but takes 5121 # about 5 minutes as the teststring grows exponentially. 5122 # Worse, since 9x/ME are not pre-emptively multitasking, 5123 # you end up with a "frozen" computer, even though with patience 5124 # the test eventually succeeds (with a max line length of 256k). 5125 # Instead, let's just punt: use the minimum linelength reported by 5126 # all of the supported platforms: 8192 (on NT/2K/XP). 5127 lt_cv_sys_max_cmd_len=8192; 5128 ;; 5129 5130 mint*) 5131 # On MiNT this can take a long time and run out of memory. 5132 lt_cv_sys_max_cmd_len=8192; 5133 ;; 5134 5135 amigaos*) 5136 # On AmigaOS with pdksh, this test takes hours, literally. 5137 # So we just punt and use a minimum line length of 8192. 5138 lt_cv_sys_max_cmd_len=8192; 5139 ;; 5140 5141 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5142 # This has been around since 386BSD, at least. Likely further. 5143 if test -x /sbin/sysctl; then 5144 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5145 elif test -x /usr/sbin/sysctl; then 5146 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5147 else 5148 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5149 fi 5150 # And add a safety zone 5151 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5152 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5153 ;; 5154 5155 interix*) 5156 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5157 lt_cv_sys_max_cmd_len=196608 5158 ;; 5159 5160 os2*) 5161 # The test takes a long time on OS/2. 5162 lt_cv_sys_max_cmd_len=8192 5163 ;; 5164 5165 osf*) 5166 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5167 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5168 # nice to cause kernel panics so lets avoid the loop below. 5169 # First set a reasonable default. 5170 lt_cv_sys_max_cmd_len=16384 5171 # 5172 if test -x /sbin/sysconfig; then 5173 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5174 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5175 esac 5176 fi 5177 ;; 5178 sco3.2v5*) 5179 lt_cv_sys_max_cmd_len=102400 5180 ;; 5181 sysv5* | sco5v6* | sysv4.2uw2*) 5182 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5183 if test -n "$kargmax"; then 5184 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5185 else 5186 lt_cv_sys_max_cmd_len=32768 5187 fi 5188 ;; 5189 *) 5190 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5191 if test -n "$lt_cv_sys_max_cmd_len" && \ 5192 test undefined != "$lt_cv_sys_max_cmd_len"; then 5193 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5194 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5195 else 5196 # Make teststring a little bigger before we do anything with it. 5197 # a 1K string should be a reasonable start. 5198 for i in 1 2 3 4 5 6 7 8; do 5199 teststring=$teststring$teststring 5200 done 5201 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5202 # If test is not a shell built-in, we'll probably end up computing a 5203 # maximum length that is only half of the actual maximum length, but 5204 # we can't tell. 5205 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5206 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5207 test 17 != "$i" # 1/2 MB should be enough 5208 do 5209 i=`expr $i + 1` 5210 teststring=$teststring$teststring 5211 done 5212 # Only check the string length outside the loop. 5213 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5214 teststring= 5215 # Add a significant safety factor because C++ compilers can tack on 5216 # massive amounts of additional arguments before passing them to the 5217 # linker. It appears as though 1/2 is a usable value. 5218 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5219 fi 5220 ;; 5221 esac 5222 5223fi 5224 5225if test -n "$lt_cv_sys_max_cmd_len"; then 5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5227$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5228else 5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5230$as_echo "none" >&6; } 5231fi 5232max_cmd_len=$lt_cv_sys_max_cmd_len 5233 5234 5235 5236 5237 5238 5239: ${CP="cp -f"} 5240: ${MV="mv -f"} 5241: ${RM="rm -f"} 5242 5243if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5244 lt_unset=unset 5245else 5246 lt_unset=false 5247fi 5248 5249 5250 5251 5252 5253# test EBCDIC or ASCII 5254case `echo X|tr X '\101'` in 5255 A) # ASCII based system 5256 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5257 lt_SP2NL='tr \040 \012' 5258 lt_NL2SP='tr \015\012 \040\040' 5259 ;; 5260 *) # EBCDIC based system 5261 lt_SP2NL='tr \100 \n' 5262 lt_NL2SP='tr \r\n \100\100' 5263 ;; 5264esac 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5275$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5276if ${lt_cv_to_host_file_cmd+:} false; then : 5277 $as_echo_n "(cached) " >&6 5278else 5279 case $host in 5280 *-*-mingw* ) 5281 case $build in 5282 *-*-mingw* ) # actually msys 5283 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5284 ;; 5285 *-*-cygwin* ) 5286 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5287 ;; 5288 * ) # otherwise, assume *nix 5289 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5290 ;; 5291 esac 5292 ;; 5293 *-*-cygwin* ) 5294 case $build in 5295 *-*-mingw* ) # actually msys 5296 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5297 ;; 5298 *-*-cygwin* ) 5299 lt_cv_to_host_file_cmd=func_convert_file_noop 5300 ;; 5301 * ) # otherwise, assume *nix 5302 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5303 ;; 5304 esac 5305 ;; 5306 * ) # unhandled hosts (and "normal" native builds) 5307 lt_cv_to_host_file_cmd=func_convert_file_noop 5308 ;; 5309esac 5310 5311fi 5312 5313to_host_file_cmd=$lt_cv_to_host_file_cmd 5314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5315$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5316 5317 5318 5319 5320 5321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5322$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5323if ${lt_cv_to_tool_file_cmd+:} false; then : 5324 $as_echo_n "(cached) " >&6 5325else 5326 #assume ordinary cross tools, or native build. 5327lt_cv_to_tool_file_cmd=func_convert_file_noop 5328case $host in 5329 *-*-mingw* ) 5330 case $build in 5331 *-*-mingw* ) # actually msys 5332 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5333 ;; 5334 esac 5335 ;; 5336esac 5337 5338fi 5339 5340to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5342$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5343 5344 5345 5346 5347 5348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5349$as_echo_n "checking for $LD option to reload object files... " >&6; } 5350if ${lt_cv_ld_reload_flag+:} false; then : 5351 $as_echo_n "(cached) " >&6 5352else 5353 lt_cv_ld_reload_flag='-r' 5354fi 5355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5356$as_echo "$lt_cv_ld_reload_flag" >&6; } 5357reload_flag=$lt_cv_ld_reload_flag 5358case $reload_flag in 5359"" | " "*) ;; 5360*) reload_flag=" $reload_flag" ;; 5361esac 5362reload_cmds='$LD$reload_flag -o $output$reload_objs' 5363case $host_os in 5364 cygwin* | mingw* | pw32* | cegcc*) 5365 if test yes != "$GCC"; then 5366 reload_cmds=false 5367 fi 5368 ;; 5369 darwin*) 5370 if test yes = "$GCC"; then 5371 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5372 else 5373 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5374 fi 5375 ;; 5376esac 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386if test -n "$ac_tool_prefix"; then 5387 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5388set dummy ${ac_tool_prefix}objdump; ac_word=$2 5389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5390$as_echo_n "checking for $ac_word... " >&6; } 5391if ${ac_cv_prog_OBJDUMP+:} false; then : 5392 $as_echo_n "(cached) " >&6 5393else 5394 if test -n "$OBJDUMP"; then 5395 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5396else 5397as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5398for as_dir in $PATH 5399do 5400 IFS=$as_save_IFS 5401 test -z "$as_dir" && as_dir=. 5402 for ac_exec_ext in '' $ac_executable_extensions; do 5403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5404 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5406 break 2 5407 fi 5408done 5409 done 5410IFS=$as_save_IFS 5411 5412fi 5413fi 5414OBJDUMP=$ac_cv_prog_OBJDUMP 5415if test -n "$OBJDUMP"; then 5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5417$as_echo "$OBJDUMP" >&6; } 5418else 5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5420$as_echo "no" >&6; } 5421fi 5422 5423 5424fi 5425if test -z "$ac_cv_prog_OBJDUMP"; then 5426 ac_ct_OBJDUMP=$OBJDUMP 5427 # Extract the first word of "objdump", so it can be a program name with args. 5428set dummy objdump; ac_word=$2 5429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5430$as_echo_n "checking for $ac_word... " >&6; } 5431if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5432 $as_echo_n "(cached) " >&6 5433else 5434 if test -n "$ac_ct_OBJDUMP"; then 5435 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5436else 5437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5438for as_dir in $PATH 5439do 5440 IFS=$as_save_IFS 5441 test -z "$as_dir" && as_dir=. 5442 for ac_exec_ext in '' $ac_executable_extensions; do 5443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5444 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5446 break 2 5447 fi 5448done 5449 done 5450IFS=$as_save_IFS 5451 5452fi 5453fi 5454ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5455if test -n "$ac_ct_OBJDUMP"; then 5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5457$as_echo "$ac_ct_OBJDUMP" >&6; } 5458else 5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5460$as_echo "no" >&6; } 5461fi 5462 5463 if test "x$ac_ct_OBJDUMP" = x; then 5464 OBJDUMP="false" 5465 else 5466 case $cross_compiling:$ac_tool_warned in 5467yes:) 5468{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5469$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5470ac_tool_warned=yes ;; 5471esac 5472 OBJDUMP=$ac_ct_OBJDUMP 5473 fi 5474else 5475 OBJDUMP="$ac_cv_prog_OBJDUMP" 5476fi 5477 5478test -z "$OBJDUMP" && OBJDUMP=objdump 5479 5480 5481 5482 5483 5484 5485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5486$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5487if ${lt_cv_deplibs_check_method+:} false; then : 5488 $as_echo_n "(cached) " >&6 5489else 5490 lt_cv_file_magic_cmd='$MAGIC_CMD' 5491lt_cv_file_magic_test_file= 5492lt_cv_deplibs_check_method='unknown' 5493# Need to set the preceding variable on all platforms that support 5494# interlibrary dependencies. 5495# 'none' -- dependencies not supported. 5496# 'unknown' -- same as none, but documents that we really don't know. 5497# 'pass_all' -- all dependencies passed with no checks. 5498# 'test_compile' -- check by making test program. 5499# 'file_magic [[regex]]' -- check by looking for files in library path 5500# that responds to the $file_magic_cmd with a given extended regex. 5501# If you have 'file' or equivalent on your system and you're not sure 5502# whether 'pass_all' will *always* work, you probably want this one. 5503 5504case $host_os in 5505aix[4-9]*) 5506 lt_cv_deplibs_check_method=pass_all 5507 ;; 5508 5509beos*) 5510 lt_cv_deplibs_check_method=pass_all 5511 ;; 5512 5513bsdi[45]*) 5514 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5515 lt_cv_file_magic_cmd='/usr/bin/file -L' 5516 lt_cv_file_magic_test_file=/shlib/libc.so 5517 ;; 5518 5519cygwin*) 5520 # func_win32_libid is a shell function defined in ltmain.sh 5521 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5522 lt_cv_file_magic_cmd='func_win32_libid' 5523 ;; 5524 5525mingw* | pw32*) 5526 # Base MSYS/MinGW do not provide the 'file' command needed by 5527 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5528 # unless we find 'file', for example because we are cross-compiling. 5529 if ( file / ) >/dev/null 2>&1; then 5530 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5531 lt_cv_file_magic_cmd='func_win32_libid' 5532 else 5533 # Keep this pattern in sync with the one in func_win32_libid. 5534 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5535 lt_cv_file_magic_cmd='$OBJDUMP -f' 5536 fi 5537 ;; 5538 5539cegcc*) 5540 # use the weaker test based on 'objdump'. See mingw*. 5541 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5542 lt_cv_file_magic_cmd='$OBJDUMP -f' 5543 ;; 5544 5545darwin* | rhapsody*) 5546 lt_cv_deplibs_check_method=pass_all 5547 ;; 5548 5549freebsd* | dragonfly*) 5550 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5551 case $host_cpu in 5552 i*86 ) 5553 # Not sure whether the presence of OpenBSD here was a mistake. 5554 # Let's accept both of them until this is cleared up. 5555 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5556 lt_cv_file_magic_cmd=/usr/bin/file 5557 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5558 ;; 5559 esac 5560 else 5561 lt_cv_deplibs_check_method=pass_all 5562 fi 5563 ;; 5564 5565haiku*) 5566 lt_cv_deplibs_check_method=pass_all 5567 ;; 5568 5569hpux10.20* | hpux11*) 5570 lt_cv_file_magic_cmd=/usr/bin/file 5571 case $host_cpu in 5572 ia64*) 5573 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5574 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5575 ;; 5576 hppa*64*) 5577 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]' 5578 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5579 ;; 5580 *) 5581 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5582 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5583 ;; 5584 esac 5585 ;; 5586 5587interix[3-9]*) 5588 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5589 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5590 ;; 5591 5592irix5* | irix6* | nonstopux*) 5593 case $LD in 5594 *-32|*"-32 ") libmagic=32-bit;; 5595 *-n32|*"-n32 ") libmagic=N32;; 5596 *-64|*"-64 ") libmagic=64-bit;; 5597 *) libmagic=never-match;; 5598 esac 5599 lt_cv_deplibs_check_method=pass_all 5600 ;; 5601 5602# This must be glibc/ELF. 5603linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5604 lt_cv_deplibs_check_method=pass_all 5605 ;; 5606 5607netbsd*) 5608 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5609 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5610 else 5611 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5612 fi 5613 ;; 5614 5615newos6*) 5616 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5617 lt_cv_file_magic_cmd=/usr/bin/file 5618 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5619 ;; 5620 5621*nto* | *qnx*) 5622 lt_cv_deplibs_check_method=pass_all 5623 ;; 5624 5625openbsd* | bitrig*) 5626 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5628 else 5629 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5630 fi 5631 ;; 5632 5633osf3* | osf4* | osf5*) 5634 lt_cv_deplibs_check_method=pass_all 5635 ;; 5636 5637rdos*) 5638 lt_cv_deplibs_check_method=pass_all 5639 ;; 5640 5641solaris*) 5642 lt_cv_deplibs_check_method=pass_all 5643 ;; 5644 5645sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5646 lt_cv_deplibs_check_method=pass_all 5647 ;; 5648 5649sysv4 | sysv4.3*) 5650 case $host_vendor in 5651 motorola) 5652 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]' 5653 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5654 ;; 5655 ncr) 5656 lt_cv_deplibs_check_method=pass_all 5657 ;; 5658 sequent) 5659 lt_cv_file_magic_cmd='/bin/file' 5660 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5661 ;; 5662 sni) 5663 lt_cv_file_magic_cmd='/bin/file' 5664 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5665 lt_cv_file_magic_test_file=/lib/libc.so 5666 ;; 5667 siemens) 5668 lt_cv_deplibs_check_method=pass_all 5669 ;; 5670 pc) 5671 lt_cv_deplibs_check_method=pass_all 5672 ;; 5673 esac 5674 ;; 5675 5676tpf*) 5677 lt_cv_deplibs_check_method=pass_all 5678 ;; 5679os2*) 5680 lt_cv_deplibs_check_method=pass_all 5681 ;; 5682esac 5683 5684fi 5685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5686$as_echo "$lt_cv_deplibs_check_method" >&6; } 5687 5688file_magic_glob= 5689want_nocaseglob=no 5690if test "$build" = "$host"; then 5691 case $host_os in 5692 mingw* | pw32*) 5693 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5694 want_nocaseglob=yes 5695 else 5696 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5697 fi 5698 ;; 5699 esac 5700fi 5701 5702file_magic_cmd=$lt_cv_file_magic_cmd 5703deplibs_check_method=$lt_cv_deplibs_check_method 5704test -z "$deplibs_check_method" && deplibs_check_method=unknown 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727if test -n "$ac_tool_prefix"; then 5728 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5729set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5731$as_echo_n "checking for $ac_word... " >&6; } 5732if ${ac_cv_prog_DLLTOOL+:} false; then : 5733 $as_echo_n "(cached) " >&6 5734else 5735 if test -n "$DLLTOOL"; then 5736 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5737else 5738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5739for as_dir in $PATH 5740do 5741 IFS=$as_save_IFS 5742 test -z "$as_dir" && as_dir=. 5743 for ac_exec_ext in '' $ac_executable_extensions; do 5744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5745 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5747 break 2 5748 fi 5749done 5750 done 5751IFS=$as_save_IFS 5752 5753fi 5754fi 5755DLLTOOL=$ac_cv_prog_DLLTOOL 5756if test -n "$DLLTOOL"; then 5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5758$as_echo "$DLLTOOL" >&6; } 5759else 5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5761$as_echo "no" >&6; } 5762fi 5763 5764 5765fi 5766if test -z "$ac_cv_prog_DLLTOOL"; then 5767 ac_ct_DLLTOOL=$DLLTOOL 5768 # Extract the first word of "dlltool", so it can be a program name with args. 5769set dummy dlltool; ac_word=$2 5770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5771$as_echo_n "checking for $ac_word... " >&6; } 5772if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5773 $as_echo_n "(cached) " >&6 5774else 5775 if test -n "$ac_ct_DLLTOOL"; then 5776 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5777else 5778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5779for as_dir in $PATH 5780do 5781 IFS=$as_save_IFS 5782 test -z "$as_dir" && as_dir=. 5783 for ac_exec_ext in '' $ac_executable_extensions; do 5784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5785 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5787 break 2 5788 fi 5789done 5790 done 5791IFS=$as_save_IFS 5792 5793fi 5794fi 5795ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5796if test -n "$ac_ct_DLLTOOL"; then 5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5798$as_echo "$ac_ct_DLLTOOL" >&6; } 5799else 5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5801$as_echo "no" >&6; } 5802fi 5803 5804 if test "x$ac_ct_DLLTOOL" = x; then 5805 DLLTOOL="false" 5806 else 5807 case $cross_compiling:$ac_tool_warned in 5808yes:) 5809{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5810$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5811ac_tool_warned=yes ;; 5812esac 5813 DLLTOOL=$ac_ct_DLLTOOL 5814 fi 5815else 5816 DLLTOOL="$ac_cv_prog_DLLTOOL" 5817fi 5818 5819test -z "$DLLTOOL" && DLLTOOL=dlltool 5820 5821 5822 5823 5824 5825 5826 5827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5828$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5829if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5830 $as_echo_n "(cached) " >&6 5831else 5832 lt_cv_sharedlib_from_linklib_cmd='unknown' 5833 5834case $host_os in 5835cygwin* | mingw* | pw32* | cegcc*) 5836 # two different shell functions defined in ltmain.sh; 5837 # decide which one to use based on capabilities of $DLLTOOL 5838 case `$DLLTOOL --help 2>&1` in 5839 *--identify-strict*) 5840 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5841 ;; 5842 *) 5843 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5844 ;; 5845 esac 5846 ;; 5847*) 5848 # fallback: assume linklib IS sharedlib 5849 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5850 ;; 5851esac 5852 5853fi 5854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5855$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5856sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5857test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5858 5859 5860 5861 5862 5863 5864 5865if test -n "$ac_tool_prefix"; then 5866 for ac_prog in ar 5867 do 5868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5869set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5871$as_echo_n "checking for $ac_word... " >&6; } 5872if ${ac_cv_prog_AR+:} false; then : 5873 $as_echo_n "(cached) " >&6 5874else 5875 if test -n "$AR"; then 5876 ac_cv_prog_AR="$AR" # Let the user override the test. 5877else 5878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5879for as_dir in $PATH 5880do 5881 IFS=$as_save_IFS 5882 test -z "$as_dir" && as_dir=. 5883 for ac_exec_ext in '' $ac_executable_extensions; do 5884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5885 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5887 break 2 5888 fi 5889done 5890 done 5891IFS=$as_save_IFS 5892 5893fi 5894fi 5895AR=$ac_cv_prog_AR 5896if test -n "$AR"; then 5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5898$as_echo "$AR" >&6; } 5899else 5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5901$as_echo "no" >&6; } 5902fi 5903 5904 5905 test -n "$AR" && break 5906 done 5907fi 5908if test -z "$AR"; then 5909 ac_ct_AR=$AR 5910 for ac_prog in ar 5911do 5912 # Extract the first word of "$ac_prog", so it can be a program name with args. 5913set dummy $ac_prog; ac_word=$2 5914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5915$as_echo_n "checking for $ac_word... " >&6; } 5916if ${ac_cv_prog_ac_ct_AR+:} false; then : 5917 $as_echo_n "(cached) " >&6 5918else 5919 if test -n "$ac_ct_AR"; then 5920 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5921else 5922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5923for as_dir in $PATH 5924do 5925 IFS=$as_save_IFS 5926 test -z "$as_dir" && as_dir=. 5927 for ac_exec_ext in '' $ac_executable_extensions; do 5928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5929 ac_cv_prog_ac_ct_AR="$ac_prog" 5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5931 break 2 5932 fi 5933done 5934 done 5935IFS=$as_save_IFS 5936 5937fi 5938fi 5939ac_ct_AR=$ac_cv_prog_ac_ct_AR 5940if test -n "$ac_ct_AR"; then 5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5942$as_echo "$ac_ct_AR" >&6; } 5943else 5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5945$as_echo "no" >&6; } 5946fi 5947 5948 5949 test -n "$ac_ct_AR" && break 5950done 5951 5952 if test "x$ac_ct_AR" = x; then 5953 AR="false" 5954 else 5955 case $cross_compiling:$ac_tool_warned in 5956yes:) 5957{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5958$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5959ac_tool_warned=yes ;; 5960esac 5961 AR=$ac_ct_AR 5962 fi 5963fi 5964 5965: ${AR=ar} 5966: ${AR_FLAGS=cru} 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5979$as_echo_n "checking for archiver @FILE support... " >&6; } 5980if ${lt_cv_ar_at_file+:} false; then : 5981 $as_echo_n "(cached) " >&6 5982else 5983 lt_cv_ar_at_file=no 5984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5985/* end confdefs.h. */ 5986 5987int 5988main () 5989{ 5990 5991 ; 5992 return 0; 5993} 5994_ACEOF 5995if ac_fn_c_try_compile "$LINENO"; then : 5996 echo conftest.$ac_objext > conftest.lst 5997 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5998 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5999 (eval $lt_ar_try) 2>&5 6000 ac_status=$? 6001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6002 test $ac_status = 0; } 6003 if test 0 -eq "$ac_status"; then 6004 # Ensure the archiver fails upon bogus file names. 6005 rm -f conftest.$ac_objext libconftest.a 6006 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6007 (eval $lt_ar_try) 2>&5 6008 ac_status=$? 6009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6010 test $ac_status = 0; } 6011 if test 0 -ne "$ac_status"; then 6012 lt_cv_ar_at_file=@ 6013 fi 6014 fi 6015 rm -f conftest.* libconftest.a 6016 6017fi 6018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6019 6020fi 6021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6022$as_echo "$lt_cv_ar_at_file" >&6; } 6023 6024if test no = "$lt_cv_ar_at_file"; then 6025 archiver_list_spec= 6026else 6027 archiver_list_spec=$lt_cv_ar_at_file 6028fi 6029 6030 6031 6032 6033 6034 6035 6036if test -n "$ac_tool_prefix"; then 6037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6038set dummy ${ac_tool_prefix}strip; ac_word=$2 6039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6040$as_echo_n "checking for $ac_word... " >&6; } 6041if ${ac_cv_prog_STRIP+:} false; then : 6042 $as_echo_n "(cached) " >&6 6043else 6044 if test -n "$STRIP"; then 6045 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6046else 6047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6048for as_dir in $PATH 6049do 6050 IFS=$as_save_IFS 6051 test -z "$as_dir" && as_dir=. 6052 for ac_exec_ext in '' $ac_executable_extensions; do 6053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6054 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6056 break 2 6057 fi 6058done 6059 done 6060IFS=$as_save_IFS 6061 6062fi 6063fi 6064STRIP=$ac_cv_prog_STRIP 6065if test -n "$STRIP"; then 6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6067$as_echo "$STRIP" >&6; } 6068else 6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6070$as_echo "no" >&6; } 6071fi 6072 6073 6074fi 6075if test -z "$ac_cv_prog_STRIP"; then 6076 ac_ct_STRIP=$STRIP 6077 # Extract the first word of "strip", so it can be a program name with args. 6078set dummy strip; ac_word=$2 6079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6080$as_echo_n "checking for $ac_word... " >&6; } 6081if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6082 $as_echo_n "(cached) " >&6 6083else 6084 if test -n "$ac_ct_STRIP"; then 6085 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6086else 6087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6088for as_dir in $PATH 6089do 6090 IFS=$as_save_IFS 6091 test -z "$as_dir" && as_dir=. 6092 for ac_exec_ext in '' $ac_executable_extensions; do 6093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6094 ac_cv_prog_ac_ct_STRIP="strip" 6095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6096 break 2 6097 fi 6098done 6099 done 6100IFS=$as_save_IFS 6101 6102fi 6103fi 6104ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6105if test -n "$ac_ct_STRIP"; then 6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6107$as_echo "$ac_ct_STRIP" >&6; } 6108else 6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6110$as_echo "no" >&6; } 6111fi 6112 6113 if test "x$ac_ct_STRIP" = x; then 6114 STRIP=":" 6115 else 6116 case $cross_compiling:$ac_tool_warned in 6117yes:) 6118{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6119$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6120ac_tool_warned=yes ;; 6121esac 6122 STRIP=$ac_ct_STRIP 6123 fi 6124else 6125 STRIP="$ac_cv_prog_STRIP" 6126fi 6127 6128test -z "$STRIP" && STRIP=: 6129 6130 6131 6132 6133 6134 6135if test -n "$ac_tool_prefix"; then 6136 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6137set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6139$as_echo_n "checking for $ac_word... " >&6; } 6140if ${ac_cv_prog_RANLIB+:} false; then : 6141 $as_echo_n "(cached) " >&6 6142else 6143 if test -n "$RANLIB"; then 6144 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6145else 6146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6147for as_dir in $PATH 6148do 6149 IFS=$as_save_IFS 6150 test -z "$as_dir" && as_dir=. 6151 for ac_exec_ext in '' $ac_executable_extensions; do 6152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6153 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6155 break 2 6156 fi 6157done 6158 done 6159IFS=$as_save_IFS 6160 6161fi 6162fi 6163RANLIB=$ac_cv_prog_RANLIB 6164if test -n "$RANLIB"; then 6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6166$as_echo "$RANLIB" >&6; } 6167else 6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6169$as_echo "no" >&6; } 6170fi 6171 6172 6173fi 6174if test -z "$ac_cv_prog_RANLIB"; then 6175 ac_ct_RANLIB=$RANLIB 6176 # Extract the first word of "ranlib", so it can be a program name with args. 6177set dummy ranlib; ac_word=$2 6178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6179$as_echo_n "checking for $ac_word... " >&6; } 6180if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6181 $as_echo_n "(cached) " >&6 6182else 6183 if test -n "$ac_ct_RANLIB"; then 6184 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6185else 6186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6187for as_dir in $PATH 6188do 6189 IFS=$as_save_IFS 6190 test -z "$as_dir" && as_dir=. 6191 for ac_exec_ext in '' $ac_executable_extensions; do 6192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6193 ac_cv_prog_ac_ct_RANLIB="ranlib" 6194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6195 break 2 6196 fi 6197done 6198 done 6199IFS=$as_save_IFS 6200 6201fi 6202fi 6203ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6204if test -n "$ac_ct_RANLIB"; then 6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6206$as_echo "$ac_ct_RANLIB" >&6; } 6207else 6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6209$as_echo "no" >&6; } 6210fi 6211 6212 if test "x$ac_ct_RANLIB" = x; then 6213 RANLIB=":" 6214 else 6215 case $cross_compiling:$ac_tool_warned in 6216yes:) 6217{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6218$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6219ac_tool_warned=yes ;; 6220esac 6221 RANLIB=$ac_ct_RANLIB 6222 fi 6223else 6224 RANLIB="$ac_cv_prog_RANLIB" 6225fi 6226 6227test -z "$RANLIB" && RANLIB=: 6228 6229 6230 6231 6232 6233 6234# Determine commands to create old-style static archives. 6235old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6236old_postinstall_cmds='chmod 644 $oldlib' 6237old_postuninstall_cmds= 6238 6239if test -n "$RANLIB"; then 6240 case $host_os in 6241 bitrig* | openbsd*) 6242 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6243 ;; 6244 *) 6245 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6246 ;; 6247 esac 6248 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6249fi 6250 6251case $host_os in 6252 darwin*) 6253 lock_old_archive_extraction=yes ;; 6254 *) 6255 lock_old_archive_extraction=no ;; 6256esac 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296# If no C compiler was specified, use CC. 6297LTCC=${LTCC-"$CC"} 6298 6299# If no C compiler flags were specified, use CFLAGS. 6300LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6301 6302# Allow CC to be a program name with arguments. 6303compiler=$CC 6304 6305 6306# Check for command to grab the raw symbol name followed by C symbol from nm. 6307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6308$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6309if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6310 $as_echo_n "(cached) " >&6 6311else 6312 6313# These are sane defaults that work on at least a few old systems. 6314# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6315 6316# Character class describing NM global symbol codes. 6317symcode='[BCDEGRST]' 6318 6319# Regexp to match symbols that can be accessed directly from C. 6320sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6321 6322# Define system-specific variables. 6323case $host_os in 6324aix*) 6325 symcode='[BCDT]' 6326 ;; 6327cygwin* | mingw* | pw32* | cegcc*) 6328 symcode='[ABCDGISTW]' 6329 ;; 6330hpux*) 6331 if test ia64 = "$host_cpu"; then 6332 symcode='[ABCDEGRST]' 6333 fi 6334 ;; 6335irix* | nonstopux*) 6336 symcode='[BCDEGRST]' 6337 ;; 6338osf*) 6339 symcode='[BCDEGQRST]' 6340 ;; 6341solaris*) 6342 symcode='[BDRT]' 6343 ;; 6344sco3.2v5*) 6345 symcode='[DT]' 6346 ;; 6347sysv4.2uw2*) 6348 symcode='[DT]' 6349 ;; 6350sysv5* | sco5v6* | unixware* | OpenUNIX*) 6351 symcode='[ABDT]' 6352 ;; 6353sysv4) 6354 symcode='[DFNSTU]' 6355 ;; 6356esac 6357 6358# If we're using GNU nm, then use its standard symbol codes. 6359case `$NM -V 2>&1` in 6360*GNU* | *'with BFD'*) 6361 symcode='[ABCDGIRSTW]' ;; 6362esac 6363 6364if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6365 # Gets list of data symbols to import. 6366 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6367 # Adjust the below global symbol transforms to fixup imported variables. 6368 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6369 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6370 lt_c_name_lib_hook="\ 6371 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6372 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6373else 6374 # Disable hooks by default. 6375 lt_cv_sys_global_symbol_to_import= 6376 lt_cdecl_hook= 6377 lt_c_name_hook= 6378 lt_c_name_lib_hook= 6379fi 6380 6381# Transform an extracted symbol line into a proper C declaration. 6382# Some systems (esp. on ia64) link data and code symbols differently, 6383# so use this general approach. 6384lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6385$lt_cdecl_hook\ 6386" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6387" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6388 6389# Transform an extracted symbol line into symbol name and symbol address 6390lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6391$lt_c_name_hook\ 6392" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6393" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6394 6395# Transform an extracted symbol line into symbol name with lib prefix and 6396# symbol address. 6397lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6398$lt_c_name_lib_hook\ 6399" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6400" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6401" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6402 6403# Handle CRLF in mingw tool chain 6404opt_cr= 6405case $build_os in 6406mingw*) 6407 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6408 ;; 6409esac 6410 6411# Try without a prefix underscore, then with it. 6412for ac_symprfx in "" "_"; do 6413 6414 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6415 symxfrm="\\1 $ac_symprfx\\2 \\2" 6416 6417 # Write the raw and C identifiers. 6418 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6419 # Fake it for dumpbin and say T for any non-static function, 6420 # D for any global variable and I for any imported variable. 6421 # Also find C++ and __fastcall symbols from MSVC++, 6422 # which start with @ or ?. 6423 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6424" {last_section=section; section=\$ 3};"\ 6425" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6426" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6427" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6428" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6429" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6430" \$ 0!~/External *\|/{next};"\ 6431" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6432" {if(hide[section]) next};"\ 6433" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6434" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6435" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6436" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6437" ' prfx=^$ac_symprfx" 6438 else 6439 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6440 fi 6441 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6442 6443 # Check to see that the pipe works correctly. 6444 pipe_works=no 6445 6446 rm -f conftest* 6447 cat > conftest.$ac_ext <<_LT_EOF 6448#ifdef __cplusplus 6449extern "C" { 6450#endif 6451char nm_test_var; 6452void nm_test_func(void); 6453void nm_test_func(void){} 6454#ifdef __cplusplus 6455} 6456#endif 6457int main(){nm_test_var='a';nm_test_func();return(0);} 6458_LT_EOF 6459 6460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6461 (eval $ac_compile) 2>&5 6462 ac_status=$? 6463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6464 test $ac_status = 0; }; then 6465 # Now try to grab the symbols. 6466 nlist=conftest.nm 6467 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6468 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6469 ac_status=$? 6470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6471 test $ac_status = 0; } && test -s "$nlist"; then 6472 # Try sorting and uniquifying the output. 6473 if sort "$nlist" | uniq > "$nlist"T; then 6474 mv -f "$nlist"T "$nlist" 6475 else 6476 rm -f "$nlist"T 6477 fi 6478 6479 # Make sure that we snagged all the symbols we need. 6480 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6481 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6482 cat <<_LT_EOF > conftest.$ac_ext 6483/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6484#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6485/* DATA imports from DLLs on WIN32 can't be const, because runtime 6486 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6487# define LT_DLSYM_CONST 6488#elif defined __osf__ 6489/* This system does not cope well with relocations in const data. */ 6490# define LT_DLSYM_CONST 6491#else 6492# define LT_DLSYM_CONST const 6493#endif 6494 6495#ifdef __cplusplus 6496extern "C" { 6497#endif 6498 6499_LT_EOF 6500 # Now generate the symbol file. 6501 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6502 6503 cat <<_LT_EOF >> conftest.$ac_ext 6504 6505/* The mapping between symbol names and symbols. */ 6506LT_DLSYM_CONST struct { 6507 const char *name; 6508 void *address; 6509} 6510lt__PROGRAM__LTX_preloaded_symbols[] = 6511{ 6512 { "@PROGRAM@", (void *) 0 }, 6513_LT_EOF 6514 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6515 cat <<\_LT_EOF >> conftest.$ac_ext 6516 {0, (void *) 0} 6517}; 6518 6519/* This works around a problem in FreeBSD linker */ 6520#ifdef FREEBSD_WORKAROUND 6521static const void *lt_preloaded_setup() { 6522 return lt__PROGRAM__LTX_preloaded_symbols; 6523} 6524#endif 6525 6526#ifdef __cplusplus 6527} 6528#endif 6529_LT_EOF 6530 # Now try linking the two files. 6531 mv conftest.$ac_objext conftstm.$ac_objext 6532 lt_globsym_save_LIBS=$LIBS 6533 lt_globsym_save_CFLAGS=$CFLAGS 6534 LIBS=conftstm.$ac_objext 6535 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6537 (eval $ac_link) 2>&5 6538 ac_status=$? 6539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6540 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6541 pipe_works=yes 6542 fi 6543 LIBS=$lt_globsym_save_LIBS 6544 CFLAGS=$lt_globsym_save_CFLAGS 6545 else 6546 echo "cannot find nm_test_func in $nlist" >&5 6547 fi 6548 else 6549 echo "cannot find nm_test_var in $nlist" >&5 6550 fi 6551 else 6552 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6553 fi 6554 else 6555 echo "$progname: failed program was:" >&5 6556 cat conftest.$ac_ext >&5 6557 fi 6558 rm -rf conftest* conftst* 6559 6560 # Do not use the global_symbol_pipe unless it works. 6561 if test yes = "$pipe_works"; then 6562 break 6563 else 6564 lt_cv_sys_global_symbol_pipe= 6565 fi 6566done 6567 6568fi 6569 6570if test -z "$lt_cv_sys_global_symbol_pipe"; then 6571 lt_cv_sys_global_symbol_to_cdecl= 6572fi 6573if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6575$as_echo "failed" >&6; } 6576else 6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6578$as_echo "ok" >&6; } 6579fi 6580 6581# Response file support. 6582if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6583 nm_file_list_spec='@' 6584elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6585 nm_file_list_spec='@' 6586fi 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6625$as_echo_n "checking for sysroot... " >&6; } 6626 6627# Check whether --with-sysroot was given. 6628if test "${with_sysroot+set}" = set; then : 6629 withval=$with_sysroot; 6630else 6631 with_sysroot=no 6632fi 6633 6634 6635lt_sysroot= 6636case $with_sysroot in #( 6637 yes) 6638 if test yes = "$GCC"; then 6639 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6640 fi 6641 ;; #( 6642 /*) 6643 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6644 ;; #( 6645 no|'') 6646 ;; #( 6647 *) 6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6649$as_echo "$with_sysroot" >&6; } 6650 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6651 ;; 6652esac 6653 6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6655$as_echo "${lt_sysroot:-no}" >&6; } 6656 6657 6658 6659 6660 6661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6662$as_echo_n "checking for a working dd... " >&6; } 6663if ${ac_cv_path_lt_DD+:} false; then : 6664 $as_echo_n "(cached) " >&6 6665else 6666 printf 0123456789abcdef0123456789abcdef >conftest.i 6667cat conftest.i conftest.i >conftest2.i 6668: ${lt_DD:=$DD} 6669if test -z "$lt_DD"; then 6670 ac_path_lt_DD_found=false 6671 # Loop through the user's path and test for each of PROGNAME-LIST 6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6673for as_dir in $PATH 6674do 6675 IFS=$as_save_IFS 6676 test -z "$as_dir" && as_dir=. 6677 for ac_prog in dd; do 6678 for ac_exec_ext in '' $ac_executable_extensions; do 6679 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6680 as_fn_executable_p "$ac_path_lt_DD" || continue 6681if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6682 cmp -s conftest.i conftest.out \ 6683 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6684fi 6685 $ac_path_lt_DD_found && break 3 6686 done 6687 done 6688 done 6689IFS=$as_save_IFS 6690 if test -z "$ac_cv_path_lt_DD"; then 6691 : 6692 fi 6693else 6694 ac_cv_path_lt_DD=$lt_DD 6695fi 6696 6697rm -f conftest.i conftest2.i conftest.out 6698fi 6699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6700$as_echo "$ac_cv_path_lt_DD" >&6; } 6701 6702 6703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6704$as_echo_n "checking how to truncate binary pipes... " >&6; } 6705if ${lt_cv_truncate_bin+:} false; then : 6706 $as_echo_n "(cached) " >&6 6707else 6708 printf 0123456789abcdef0123456789abcdef >conftest.i 6709cat conftest.i conftest.i >conftest2.i 6710lt_cv_truncate_bin= 6711if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6712 cmp -s conftest.i conftest.out \ 6713 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6714fi 6715rm -f conftest.i conftest2.i conftest.out 6716test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6717fi 6718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6719$as_echo "$lt_cv_truncate_bin" >&6; } 6720 6721 6722 6723 6724 6725 6726 6727# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6728func_cc_basename () 6729{ 6730 for cc_temp in $*""; do 6731 case $cc_temp in 6732 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6733 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6734 \-*) ;; 6735 *) break;; 6736 esac 6737 done 6738 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6739} 6740 6741# Check whether --enable-libtool-lock was given. 6742if test "${enable_libtool_lock+set}" = set; then : 6743 enableval=$enable_libtool_lock; 6744fi 6745 6746test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6747 6748# Some flags need to be propagated to the compiler or linker for good 6749# libtool support. 6750case $host in 6751ia64-*-hpux*) 6752 # Find out what ABI is being produced by ac_compile, and set mode 6753 # options accordingly. 6754 echo 'int i;' > conftest.$ac_ext 6755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6756 (eval $ac_compile) 2>&5 6757 ac_status=$? 6758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6759 test $ac_status = 0; }; then 6760 case `/usr/bin/file conftest.$ac_objext` in 6761 *ELF-32*) 6762 HPUX_IA64_MODE=32 6763 ;; 6764 *ELF-64*) 6765 HPUX_IA64_MODE=64 6766 ;; 6767 esac 6768 fi 6769 rm -rf conftest* 6770 ;; 6771*-*-irix6*) 6772 # Find out what ABI is being produced by ac_compile, and set linker 6773 # options accordingly. 6774 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6776 (eval $ac_compile) 2>&5 6777 ac_status=$? 6778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6779 test $ac_status = 0; }; then 6780 if test yes = "$lt_cv_prog_gnu_ld"; then 6781 case `/usr/bin/file conftest.$ac_objext` in 6782 *32-bit*) 6783 LD="${LD-ld} -melf32bsmip" 6784 ;; 6785 *N32*) 6786 LD="${LD-ld} -melf32bmipn32" 6787 ;; 6788 *64-bit*) 6789 LD="${LD-ld} -melf64bmip" 6790 ;; 6791 esac 6792 else 6793 case `/usr/bin/file conftest.$ac_objext` in 6794 *32-bit*) 6795 LD="${LD-ld} -32" 6796 ;; 6797 *N32*) 6798 LD="${LD-ld} -n32" 6799 ;; 6800 *64-bit*) 6801 LD="${LD-ld} -64" 6802 ;; 6803 esac 6804 fi 6805 fi 6806 rm -rf conftest* 6807 ;; 6808 6809mips64*-*linux*) 6810 # Find out what ABI is being produced by ac_compile, and set linker 6811 # options accordingly. 6812 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6813 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6814 (eval $ac_compile) 2>&5 6815 ac_status=$? 6816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6817 test $ac_status = 0; }; then 6818 emul=elf 6819 case `/usr/bin/file conftest.$ac_objext` in 6820 *32-bit*) 6821 emul="${emul}32" 6822 ;; 6823 *64-bit*) 6824 emul="${emul}64" 6825 ;; 6826 esac 6827 case `/usr/bin/file conftest.$ac_objext` in 6828 *MSB*) 6829 emul="${emul}btsmip" 6830 ;; 6831 *LSB*) 6832 emul="${emul}ltsmip" 6833 ;; 6834 esac 6835 case `/usr/bin/file conftest.$ac_objext` in 6836 *N32*) 6837 emul="${emul}n32" 6838 ;; 6839 esac 6840 LD="${LD-ld} -m $emul" 6841 fi 6842 rm -rf conftest* 6843 ;; 6844 6845x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6846s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6847 # Find out what ABI is being produced by ac_compile, and set linker 6848 # options accordingly. Note that the listed cases only cover the 6849 # situations where additional linker options are needed (such as when 6850 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6851 # vice versa); the common cases where no linker options are needed do 6852 # not appear in the list. 6853 echo 'int i;' > conftest.$ac_ext 6854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6855 (eval $ac_compile) 2>&5 6856 ac_status=$? 6857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6858 test $ac_status = 0; }; then 6859 case `/usr/bin/file conftest.o` in 6860 *32-bit*) 6861 case $host in 6862 x86_64-*kfreebsd*-gnu) 6863 LD="${LD-ld} -m elf_i386_fbsd" 6864 ;; 6865 x86_64-*linux*) 6866 case `/usr/bin/file conftest.o` in 6867 *x86-64*) 6868 LD="${LD-ld} -m elf32_x86_64" 6869 ;; 6870 *) 6871 LD="${LD-ld} -m elf_i386" 6872 ;; 6873 esac 6874 ;; 6875 powerpc64le-*linux*) 6876 LD="${LD-ld} -m elf32lppclinux" 6877 ;; 6878 powerpc64-*linux*) 6879 LD="${LD-ld} -m elf32ppclinux" 6880 ;; 6881 s390x-*linux*) 6882 LD="${LD-ld} -m elf_s390" 6883 ;; 6884 sparc64-*linux*) 6885 LD="${LD-ld} -m elf32_sparc" 6886 ;; 6887 esac 6888 ;; 6889 *64-bit*) 6890 case $host in 6891 x86_64-*kfreebsd*-gnu) 6892 LD="${LD-ld} -m elf_x86_64_fbsd" 6893 ;; 6894 x86_64-*linux*) 6895 LD="${LD-ld} -m elf_x86_64" 6896 ;; 6897 powerpcle-*linux*) 6898 LD="${LD-ld} -m elf64lppc" 6899 ;; 6900 powerpc-*linux*) 6901 LD="${LD-ld} -m elf64ppc" 6902 ;; 6903 s390*-*linux*|s390*-*tpf*) 6904 LD="${LD-ld} -m elf64_s390" 6905 ;; 6906 sparc*-*linux*) 6907 LD="${LD-ld} -m elf64_sparc" 6908 ;; 6909 esac 6910 ;; 6911 esac 6912 fi 6913 rm -rf conftest* 6914 ;; 6915 6916*-*-sco3.2v5*) 6917 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6918 SAVE_CFLAGS=$CFLAGS 6919 CFLAGS="$CFLAGS -belf" 6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6921$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6922if ${lt_cv_cc_needs_belf+:} false; then : 6923 $as_echo_n "(cached) " >&6 6924else 6925 ac_ext=c 6926ac_cpp='$CPP $CPPFLAGS' 6927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6929ac_compiler_gnu=$ac_cv_c_compiler_gnu 6930 6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6932/* end confdefs.h. */ 6933 6934int 6935main () 6936{ 6937 6938 ; 6939 return 0; 6940} 6941_ACEOF 6942if ac_fn_c_try_link "$LINENO"; then : 6943 lt_cv_cc_needs_belf=yes 6944else 6945 lt_cv_cc_needs_belf=no 6946fi 6947rm -f core conftest.err conftest.$ac_objext \ 6948 conftest$ac_exeext conftest.$ac_ext 6949 ac_ext=c 6950ac_cpp='$CPP $CPPFLAGS' 6951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6953ac_compiler_gnu=$ac_cv_c_compiler_gnu 6954 6955fi 6956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6957$as_echo "$lt_cv_cc_needs_belf" >&6; } 6958 if test yes != "$lt_cv_cc_needs_belf"; then 6959 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6960 CFLAGS=$SAVE_CFLAGS 6961 fi 6962 ;; 6963*-*solaris*) 6964 # Find out what ABI is being produced by ac_compile, and set linker 6965 # options accordingly. 6966 echo 'int i;' > conftest.$ac_ext 6967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6968 (eval $ac_compile) 2>&5 6969 ac_status=$? 6970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6971 test $ac_status = 0; }; then 6972 case `/usr/bin/file conftest.o` in 6973 *64-bit*) 6974 case $lt_cv_prog_gnu_ld in 6975 yes*) 6976 case $host in 6977 i?86-*-solaris*|x86_64-*-solaris*) 6978 LD="${LD-ld} -m elf_x86_64" 6979 ;; 6980 sparc*-*-solaris*) 6981 LD="${LD-ld} -m elf64_sparc" 6982 ;; 6983 esac 6984 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6985 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6986 LD=${LD-ld}_sol2 6987 fi 6988 ;; 6989 *) 6990 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6991 LD="${LD-ld} -64" 6992 fi 6993 ;; 6994 esac 6995 ;; 6996 esac 6997 fi 6998 rm -rf conftest* 6999 ;; 7000esac 7001 7002need_locks=$enable_libtool_lock 7003 7004if test -n "$ac_tool_prefix"; then 7005 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7006set dummy ${ac_tool_prefix}mt; ac_word=$2 7007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7008$as_echo_n "checking for $ac_word... " >&6; } 7009if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7010 $as_echo_n "(cached) " >&6 7011else 7012 if test -n "$MANIFEST_TOOL"; then 7013 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7014else 7015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7016for as_dir in $PATH 7017do 7018 IFS=$as_save_IFS 7019 test -z "$as_dir" && as_dir=. 7020 for ac_exec_ext in '' $ac_executable_extensions; do 7021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7022 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7024 break 2 7025 fi 7026done 7027 done 7028IFS=$as_save_IFS 7029 7030fi 7031fi 7032MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7033if test -n "$MANIFEST_TOOL"; then 7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7035$as_echo "$MANIFEST_TOOL" >&6; } 7036else 7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7038$as_echo "no" >&6; } 7039fi 7040 7041 7042fi 7043if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7044 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7045 # Extract the first word of "mt", so it can be a program name with args. 7046set dummy mt; ac_word=$2 7047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7048$as_echo_n "checking for $ac_word... " >&6; } 7049if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7050 $as_echo_n "(cached) " >&6 7051else 7052 if test -n "$ac_ct_MANIFEST_TOOL"; then 7053 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7054else 7055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7056for as_dir in $PATH 7057do 7058 IFS=$as_save_IFS 7059 test -z "$as_dir" && as_dir=. 7060 for ac_exec_ext in '' $ac_executable_extensions; do 7061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7062 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7064 break 2 7065 fi 7066done 7067 done 7068IFS=$as_save_IFS 7069 7070fi 7071fi 7072ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7073if test -n "$ac_ct_MANIFEST_TOOL"; then 7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7075$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7076else 7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7078$as_echo "no" >&6; } 7079fi 7080 7081 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7082 MANIFEST_TOOL=":" 7083 else 7084 case $cross_compiling:$ac_tool_warned in 7085yes:) 7086{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7087$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7088ac_tool_warned=yes ;; 7089esac 7090 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7091 fi 7092else 7093 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7094fi 7095 7096test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7098$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7099if ${lt_cv_path_mainfest_tool+:} false; then : 7100 $as_echo_n "(cached) " >&6 7101else 7102 lt_cv_path_mainfest_tool=no 7103 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7104 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7105 cat conftest.err >&5 7106 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7107 lt_cv_path_mainfest_tool=yes 7108 fi 7109 rm -f conftest* 7110fi 7111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7112$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7113if test yes != "$lt_cv_path_mainfest_tool"; then 7114 MANIFEST_TOOL=: 7115fi 7116 7117 7118 7119 7120 7121 7122 case $host_os in 7123 rhapsody* | darwin*) 7124 if test -n "$ac_tool_prefix"; then 7125 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7126set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7128$as_echo_n "checking for $ac_word... " >&6; } 7129if ${ac_cv_prog_DSYMUTIL+:} false; then : 7130 $as_echo_n "(cached) " >&6 7131else 7132 if test -n "$DSYMUTIL"; then 7133 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7134else 7135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7136for as_dir in $PATH 7137do 7138 IFS=$as_save_IFS 7139 test -z "$as_dir" && as_dir=. 7140 for ac_exec_ext in '' $ac_executable_extensions; do 7141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7142 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7144 break 2 7145 fi 7146done 7147 done 7148IFS=$as_save_IFS 7149 7150fi 7151fi 7152DSYMUTIL=$ac_cv_prog_DSYMUTIL 7153if test -n "$DSYMUTIL"; then 7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7155$as_echo "$DSYMUTIL" >&6; } 7156else 7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7158$as_echo "no" >&6; } 7159fi 7160 7161 7162fi 7163if test -z "$ac_cv_prog_DSYMUTIL"; then 7164 ac_ct_DSYMUTIL=$DSYMUTIL 7165 # Extract the first word of "dsymutil", so it can be a program name with args. 7166set dummy dsymutil; ac_word=$2 7167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7168$as_echo_n "checking for $ac_word... " >&6; } 7169if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7170 $as_echo_n "(cached) " >&6 7171else 7172 if test -n "$ac_ct_DSYMUTIL"; then 7173 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7174else 7175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7176for as_dir in $PATH 7177do 7178 IFS=$as_save_IFS 7179 test -z "$as_dir" && as_dir=. 7180 for ac_exec_ext in '' $ac_executable_extensions; do 7181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7182 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7184 break 2 7185 fi 7186done 7187 done 7188IFS=$as_save_IFS 7189 7190fi 7191fi 7192ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7193if test -n "$ac_ct_DSYMUTIL"; then 7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7195$as_echo "$ac_ct_DSYMUTIL" >&6; } 7196else 7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7198$as_echo "no" >&6; } 7199fi 7200 7201 if test "x$ac_ct_DSYMUTIL" = x; then 7202 DSYMUTIL=":" 7203 else 7204 case $cross_compiling:$ac_tool_warned in 7205yes:) 7206{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7207$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7208ac_tool_warned=yes ;; 7209esac 7210 DSYMUTIL=$ac_ct_DSYMUTIL 7211 fi 7212else 7213 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7214fi 7215 7216 if test -n "$ac_tool_prefix"; then 7217 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7218set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7220$as_echo_n "checking for $ac_word... " >&6; } 7221if ${ac_cv_prog_NMEDIT+:} false; then : 7222 $as_echo_n "(cached) " >&6 7223else 7224 if test -n "$NMEDIT"; then 7225 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7226else 7227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7228for as_dir in $PATH 7229do 7230 IFS=$as_save_IFS 7231 test -z "$as_dir" && as_dir=. 7232 for ac_exec_ext in '' $ac_executable_extensions; do 7233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7234 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7236 break 2 7237 fi 7238done 7239 done 7240IFS=$as_save_IFS 7241 7242fi 7243fi 7244NMEDIT=$ac_cv_prog_NMEDIT 7245if test -n "$NMEDIT"; then 7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7247$as_echo "$NMEDIT" >&6; } 7248else 7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7250$as_echo "no" >&6; } 7251fi 7252 7253 7254fi 7255if test -z "$ac_cv_prog_NMEDIT"; then 7256 ac_ct_NMEDIT=$NMEDIT 7257 # Extract the first word of "nmedit", so it can be a program name with args. 7258set dummy nmedit; ac_word=$2 7259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7260$as_echo_n "checking for $ac_word... " >&6; } 7261if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7262 $as_echo_n "(cached) " >&6 7263else 7264 if test -n "$ac_ct_NMEDIT"; then 7265 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7266else 7267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7268for as_dir in $PATH 7269do 7270 IFS=$as_save_IFS 7271 test -z "$as_dir" && as_dir=. 7272 for ac_exec_ext in '' $ac_executable_extensions; do 7273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7274 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7276 break 2 7277 fi 7278done 7279 done 7280IFS=$as_save_IFS 7281 7282fi 7283fi 7284ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7285if test -n "$ac_ct_NMEDIT"; then 7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7287$as_echo "$ac_ct_NMEDIT" >&6; } 7288else 7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7290$as_echo "no" >&6; } 7291fi 7292 7293 if test "x$ac_ct_NMEDIT" = x; then 7294 NMEDIT=":" 7295 else 7296 case $cross_compiling:$ac_tool_warned in 7297yes:) 7298{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7299$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7300ac_tool_warned=yes ;; 7301esac 7302 NMEDIT=$ac_ct_NMEDIT 7303 fi 7304else 7305 NMEDIT="$ac_cv_prog_NMEDIT" 7306fi 7307 7308 if test -n "$ac_tool_prefix"; then 7309 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7310set dummy ${ac_tool_prefix}lipo; ac_word=$2 7311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7312$as_echo_n "checking for $ac_word... " >&6; } 7313if ${ac_cv_prog_LIPO+:} false; then : 7314 $as_echo_n "(cached) " >&6 7315else 7316 if test -n "$LIPO"; then 7317 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7318else 7319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7320for as_dir in $PATH 7321do 7322 IFS=$as_save_IFS 7323 test -z "$as_dir" && as_dir=. 7324 for ac_exec_ext in '' $ac_executable_extensions; do 7325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7326 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7328 break 2 7329 fi 7330done 7331 done 7332IFS=$as_save_IFS 7333 7334fi 7335fi 7336LIPO=$ac_cv_prog_LIPO 7337if test -n "$LIPO"; then 7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7339$as_echo "$LIPO" >&6; } 7340else 7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7342$as_echo "no" >&6; } 7343fi 7344 7345 7346fi 7347if test -z "$ac_cv_prog_LIPO"; then 7348 ac_ct_LIPO=$LIPO 7349 # Extract the first word of "lipo", so it can be a program name with args. 7350set dummy lipo; ac_word=$2 7351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7352$as_echo_n "checking for $ac_word... " >&6; } 7353if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7354 $as_echo_n "(cached) " >&6 7355else 7356 if test -n "$ac_ct_LIPO"; then 7357 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7358else 7359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7360for as_dir in $PATH 7361do 7362 IFS=$as_save_IFS 7363 test -z "$as_dir" && as_dir=. 7364 for ac_exec_ext in '' $ac_executable_extensions; do 7365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7366 ac_cv_prog_ac_ct_LIPO="lipo" 7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7368 break 2 7369 fi 7370done 7371 done 7372IFS=$as_save_IFS 7373 7374fi 7375fi 7376ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7377if test -n "$ac_ct_LIPO"; then 7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7379$as_echo "$ac_ct_LIPO" >&6; } 7380else 7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7382$as_echo "no" >&6; } 7383fi 7384 7385 if test "x$ac_ct_LIPO" = x; then 7386 LIPO=":" 7387 else 7388 case $cross_compiling:$ac_tool_warned in 7389yes:) 7390{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7391$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7392ac_tool_warned=yes ;; 7393esac 7394 LIPO=$ac_ct_LIPO 7395 fi 7396else 7397 LIPO="$ac_cv_prog_LIPO" 7398fi 7399 7400 if test -n "$ac_tool_prefix"; then 7401 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7402set dummy ${ac_tool_prefix}otool; ac_word=$2 7403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7404$as_echo_n "checking for $ac_word... " >&6; } 7405if ${ac_cv_prog_OTOOL+:} false; then : 7406 $as_echo_n "(cached) " >&6 7407else 7408 if test -n "$OTOOL"; then 7409 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7410else 7411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7412for as_dir in $PATH 7413do 7414 IFS=$as_save_IFS 7415 test -z "$as_dir" && as_dir=. 7416 for ac_exec_ext in '' $ac_executable_extensions; do 7417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7418 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7420 break 2 7421 fi 7422done 7423 done 7424IFS=$as_save_IFS 7425 7426fi 7427fi 7428OTOOL=$ac_cv_prog_OTOOL 7429if test -n "$OTOOL"; then 7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7431$as_echo "$OTOOL" >&6; } 7432else 7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7434$as_echo "no" >&6; } 7435fi 7436 7437 7438fi 7439if test -z "$ac_cv_prog_OTOOL"; then 7440 ac_ct_OTOOL=$OTOOL 7441 # Extract the first word of "otool", so it can be a program name with args. 7442set dummy otool; ac_word=$2 7443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7444$as_echo_n "checking for $ac_word... " >&6; } 7445if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7446 $as_echo_n "(cached) " >&6 7447else 7448 if test -n "$ac_ct_OTOOL"; then 7449 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7450else 7451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7452for as_dir in $PATH 7453do 7454 IFS=$as_save_IFS 7455 test -z "$as_dir" && as_dir=. 7456 for ac_exec_ext in '' $ac_executable_extensions; do 7457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7458 ac_cv_prog_ac_ct_OTOOL="otool" 7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7460 break 2 7461 fi 7462done 7463 done 7464IFS=$as_save_IFS 7465 7466fi 7467fi 7468ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7469if test -n "$ac_ct_OTOOL"; then 7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7471$as_echo "$ac_ct_OTOOL" >&6; } 7472else 7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7474$as_echo "no" >&6; } 7475fi 7476 7477 if test "x$ac_ct_OTOOL" = x; then 7478 OTOOL=":" 7479 else 7480 case $cross_compiling:$ac_tool_warned in 7481yes:) 7482{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7483$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7484ac_tool_warned=yes ;; 7485esac 7486 OTOOL=$ac_ct_OTOOL 7487 fi 7488else 7489 OTOOL="$ac_cv_prog_OTOOL" 7490fi 7491 7492 if test -n "$ac_tool_prefix"; then 7493 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7494set dummy ${ac_tool_prefix}otool64; ac_word=$2 7495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7496$as_echo_n "checking for $ac_word... " >&6; } 7497if ${ac_cv_prog_OTOOL64+:} false; then : 7498 $as_echo_n "(cached) " >&6 7499else 7500 if test -n "$OTOOL64"; then 7501 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7502else 7503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7504for as_dir in $PATH 7505do 7506 IFS=$as_save_IFS 7507 test -z "$as_dir" && as_dir=. 7508 for ac_exec_ext in '' $ac_executable_extensions; do 7509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7510 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7512 break 2 7513 fi 7514done 7515 done 7516IFS=$as_save_IFS 7517 7518fi 7519fi 7520OTOOL64=$ac_cv_prog_OTOOL64 7521if test -n "$OTOOL64"; then 7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7523$as_echo "$OTOOL64" >&6; } 7524else 7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7526$as_echo "no" >&6; } 7527fi 7528 7529 7530fi 7531if test -z "$ac_cv_prog_OTOOL64"; then 7532 ac_ct_OTOOL64=$OTOOL64 7533 # Extract the first word of "otool64", so it can be a program name with args. 7534set dummy otool64; ac_word=$2 7535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7536$as_echo_n "checking for $ac_word... " >&6; } 7537if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7538 $as_echo_n "(cached) " >&6 7539else 7540 if test -n "$ac_ct_OTOOL64"; then 7541 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7542else 7543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7544for as_dir in $PATH 7545do 7546 IFS=$as_save_IFS 7547 test -z "$as_dir" && as_dir=. 7548 for ac_exec_ext in '' $ac_executable_extensions; do 7549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7550 ac_cv_prog_ac_ct_OTOOL64="otool64" 7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7552 break 2 7553 fi 7554done 7555 done 7556IFS=$as_save_IFS 7557 7558fi 7559fi 7560ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7561if test -n "$ac_ct_OTOOL64"; then 7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7563$as_echo "$ac_ct_OTOOL64" >&6; } 7564else 7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7566$as_echo "no" >&6; } 7567fi 7568 7569 if test "x$ac_ct_OTOOL64" = x; then 7570 OTOOL64=":" 7571 else 7572 case $cross_compiling:$ac_tool_warned in 7573yes:) 7574{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7575$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7576ac_tool_warned=yes ;; 7577esac 7578 OTOOL64=$ac_ct_OTOOL64 7579 fi 7580else 7581 OTOOL64="$ac_cv_prog_OTOOL64" 7582fi 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7611$as_echo_n "checking for -single_module linker flag... " >&6; } 7612if ${lt_cv_apple_cc_single_mod+:} false; then : 7613 $as_echo_n "(cached) " >&6 7614else 7615 lt_cv_apple_cc_single_mod=no 7616 if test -z "$LT_MULTI_MODULE"; then 7617 # By default we will add the -single_module flag. You can override 7618 # by either setting the environment variable LT_MULTI_MODULE 7619 # non-empty at configure time, or by adding -multi_module to the 7620 # link flags. 7621 rm -rf libconftest.dylib* 7622 echo "int foo(void){return 1;}" > conftest.c 7623 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7624-dynamiclib -Wl,-single_module conftest.c" >&5 7625 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7626 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7627 _lt_result=$? 7628 # If there is a non-empty error log, and "single_module" 7629 # appears in it, assume the flag caused a linker warning 7630 if test -s conftest.err && $GREP single_module conftest.err; then 7631 cat conftest.err >&5 7632 # Otherwise, if the output was created with a 0 exit code from 7633 # the compiler, it worked. 7634 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7635 lt_cv_apple_cc_single_mod=yes 7636 else 7637 cat conftest.err >&5 7638 fi 7639 rm -rf libconftest.dylib* 7640 rm -f conftest.* 7641 fi 7642fi 7643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7644$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7645 7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7647$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7648if ${lt_cv_ld_exported_symbols_list+:} false; then : 7649 $as_echo_n "(cached) " >&6 7650else 7651 lt_cv_ld_exported_symbols_list=no 7652 save_LDFLAGS=$LDFLAGS 7653 echo "_main" > conftest.sym 7654 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7656/* end confdefs.h. */ 7657 7658int 7659main () 7660{ 7661 7662 ; 7663 return 0; 7664} 7665_ACEOF 7666if ac_fn_c_try_link "$LINENO"; then : 7667 lt_cv_ld_exported_symbols_list=yes 7668else 7669 lt_cv_ld_exported_symbols_list=no 7670fi 7671rm -f core conftest.err conftest.$ac_objext \ 7672 conftest$ac_exeext conftest.$ac_ext 7673 LDFLAGS=$save_LDFLAGS 7674 7675fi 7676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7677$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7678 7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7680$as_echo_n "checking for -force_load linker flag... " >&6; } 7681if ${lt_cv_ld_force_load+:} false; then : 7682 $as_echo_n "(cached) " >&6 7683else 7684 lt_cv_ld_force_load=no 7685 cat > conftest.c << _LT_EOF 7686int forced_loaded() { return 2;} 7687_LT_EOF 7688 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7689 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7690 echo "$AR cru libconftest.a conftest.o" >&5 7691 $AR cru libconftest.a conftest.o 2>&5 7692 echo "$RANLIB libconftest.a" >&5 7693 $RANLIB libconftest.a 2>&5 7694 cat > conftest.c << _LT_EOF 7695int main() { return 0;} 7696_LT_EOF 7697 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7698 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7699 _lt_result=$? 7700 if test -s conftest.err && $GREP force_load conftest.err; then 7701 cat conftest.err >&5 7702 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7703 lt_cv_ld_force_load=yes 7704 else 7705 cat conftest.err >&5 7706 fi 7707 rm -f conftest.err libconftest.a conftest conftest.c 7708 rm -rf conftest.dSYM 7709 7710fi 7711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7712$as_echo "$lt_cv_ld_force_load" >&6; } 7713 case $host_os in 7714 rhapsody* | darwin1.[012]) 7715 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7716 darwin1.*) 7717 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7718 darwin*) # darwin 5.x on 7719 # if running on 10.5 or later, the deployment target defaults 7720 # to the OS version, if on x86, and 10.4, the deployment 7721 # target defaults to 10.4. Don't you love it? 7722 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7723 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7724 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7725 10.[012][,.]*) 7726 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7727 10.*) 7728 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7729 esac 7730 ;; 7731 esac 7732 if test yes = "$lt_cv_apple_cc_single_mod"; then 7733 _lt_dar_single_mod='$single_module' 7734 fi 7735 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7736 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7737 else 7738 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7739 fi 7740 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7741 _lt_dsymutil='~$DSYMUTIL $lib || :' 7742 else 7743 _lt_dsymutil= 7744 fi 7745 ;; 7746 esac 7747 7748# func_munge_path_list VARIABLE PATH 7749# ----------------------------------- 7750# VARIABLE is name of variable containing _space_ separated list of 7751# directories to be munged by the contents of PATH, which is string 7752# having a format: 7753# "DIR[:DIR]:" 7754# string "DIR[ DIR]" will be prepended to VARIABLE 7755# ":DIR[:DIR]" 7756# string "DIR[ DIR]" will be appended to VARIABLE 7757# "DIRP[:DIRP]::[DIRA:]DIRA" 7758# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7759# "DIRA[ DIRA]" will be appended to VARIABLE 7760# "DIR[:DIR]" 7761# VARIABLE will be replaced by "DIR[ DIR]" 7762func_munge_path_list () 7763{ 7764 case x$2 in 7765 x) 7766 ;; 7767 *:) 7768 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7769 ;; 7770 x:*) 7771 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7772 ;; 7773 *::*) 7774 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7775 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7776 ;; 7777 *) 7778 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7779 ;; 7780 esac 7781} 7782 7783ac_ext=c 7784ac_cpp='$CPP $CPPFLAGS' 7785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7787ac_compiler_gnu=$ac_cv_c_compiler_gnu 7788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7789$as_echo_n "checking how to run the C preprocessor... " >&6; } 7790# On Suns, sometimes $CPP names a directory. 7791if test -n "$CPP" && test -d "$CPP"; then 7792 CPP= 7793fi 7794if test -z "$CPP"; then 7795 if ${ac_cv_prog_CPP+:} false; then : 7796 $as_echo_n "(cached) " >&6 7797else 7798 # Double quotes because CPP needs to be expanded 7799 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7800 do 7801 ac_preproc_ok=false 7802for ac_c_preproc_warn_flag in '' yes 7803do 7804 # Use a header file that comes with gcc, so configuring glibc 7805 # with a fresh cross-compiler works. 7806 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7807 # <limits.h> exists even on freestanding compilers. 7808 # On the NeXT, cc -E runs the code through the compiler's parser, 7809 # not just through cpp. "Syntax error" is here to catch this case. 7810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7811/* end confdefs.h. */ 7812#ifdef __STDC__ 7813# include <limits.h> 7814#else 7815# include <assert.h> 7816#endif 7817 Syntax error 7818_ACEOF 7819if ac_fn_c_try_cpp "$LINENO"; then : 7820 7821else 7822 # Broken: fails on valid input. 7823continue 7824fi 7825rm -f conftest.err conftest.i conftest.$ac_ext 7826 7827 # OK, works on sane cases. Now check whether nonexistent headers 7828 # can be detected and how. 7829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7830/* end confdefs.h. */ 7831#include <ac_nonexistent.h> 7832_ACEOF 7833if ac_fn_c_try_cpp "$LINENO"; then : 7834 # Broken: success on invalid input. 7835continue 7836else 7837 # Passes both tests. 7838ac_preproc_ok=: 7839break 7840fi 7841rm -f conftest.err conftest.i conftest.$ac_ext 7842 7843done 7844# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7845rm -f conftest.i conftest.err conftest.$ac_ext 7846if $ac_preproc_ok; then : 7847 break 7848fi 7849 7850 done 7851 ac_cv_prog_CPP=$CPP 7852 7853fi 7854 CPP=$ac_cv_prog_CPP 7855else 7856 ac_cv_prog_CPP=$CPP 7857fi 7858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7859$as_echo "$CPP" >&6; } 7860ac_preproc_ok=false 7861for ac_c_preproc_warn_flag in '' yes 7862do 7863 # Use a header file that comes with gcc, so configuring glibc 7864 # with a fresh cross-compiler works. 7865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7866 # <limits.h> exists even on freestanding compilers. 7867 # On the NeXT, cc -E runs the code through the compiler's parser, 7868 # not just through cpp. "Syntax error" is here to catch this case. 7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7870/* end confdefs.h. */ 7871#ifdef __STDC__ 7872# include <limits.h> 7873#else 7874# include <assert.h> 7875#endif 7876 Syntax error 7877_ACEOF 7878if ac_fn_c_try_cpp "$LINENO"; then : 7879 7880else 7881 # Broken: fails on valid input. 7882continue 7883fi 7884rm -f conftest.err conftest.i conftest.$ac_ext 7885 7886 # OK, works on sane cases. Now check whether nonexistent headers 7887 # can be detected and how. 7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7889/* end confdefs.h. */ 7890#include <ac_nonexistent.h> 7891_ACEOF 7892if ac_fn_c_try_cpp "$LINENO"; then : 7893 # Broken: success on invalid input. 7894continue 7895else 7896 # Passes both tests. 7897ac_preproc_ok=: 7898break 7899fi 7900rm -f conftest.err conftest.i conftest.$ac_ext 7901 7902done 7903# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7904rm -f conftest.i conftest.err conftest.$ac_ext 7905if $ac_preproc_ok; then : 7906 7907else 7908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7909$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7910as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7911See \`config.log' for more details" "$LINENO" 5; } 7912fi 7913 7914ac_ext=c 7915ac_cpp='$CPP $CPPFLAGS' 7916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7918ac_compiler_gnu=$ac_cv_c_compiler_gnu 7919 7920 7921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7922$as_echo_n "checking for ANSI C header files... " >&6; } 7923if ${ac_cv_header_stdc+:} false; then : 7924 $as_echo_n "(cached) " >&6 7925else 7926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7927/* end confdefs.h. */ 7928#include <stdlib.h> 7929#include <stdarg.h> 7930#include <string.h> 7931#include <float.h> 7932 7933int 7934main () 7935{ 7936 7937 ; 7938 return 0; 7939} 7940_ACEOF 7941if ac_fn_c_try_compile "$LINENO"; then : 7942 ac_cv_header_stdc=yes 7943else 7944 ac_cv_header_stdc=no 7945fi 7946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7947 7948if test $ac_cv_header_stdc = yes; then 7949 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7951/* end confdefs.h. */ 7952#include <string.h> 7953 7954_ACEOF 7955if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7956 $EGREP "memchr" >/dev/null 2>&1; then : 7957 7958else 7959 ac_cv_header_stdc=no 7960fi 7961rm -f conftest* 7962 7963fi 7964 7965if test $ac_cv_header_stdc = yes; then 7966 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7968/* end confdefs.h. */ 7969#include <stdlib.h> 7970 7971_ACEOF 7972if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7973 $EGREP "free" >/dev/null 2>&1; then : 7974 7975else 7976 ac_cv_header_stdc=no 7977fi 7978rm -f conftest* 7979 7980fi 7981 7982if test $ac_cv_header_stdc = yes; then 7983 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7984 if test "$cross_compiling" = yes; then : 7985 : 7986else 7987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7988/* end confdefs.h. */ 7989#include <ctype.h> 7990#include <stdlib.h> 7991#if ((' ' & 0x0FF) == 0x020) 7992# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7993# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7994#else 7995# define ISLOWER(c) \ 7996 (('a' <= (c) && (c) <= 'i') \ 7997 || ('j' <= (c) && (c) <= 'r') \ 7998 || ('s' <= (c) && (c) <= 'z')) 7999# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8000#endif 8001 8002#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8003int 8004main () 8005{ 8006 int i; 8007 for (i = 0; i < 256; i++) 8008 if (XOR (islower (i), ISLOWER (i)) 8009 || toupper (i) != TOUPPER (i)) 8010 return 2; 8011 return 0; 8012} 8013_ACEOF 8014if ac_fn_c_try_run "$LINENO"; then : 8015 8016else 8017 ac_cv_header_stdc=no 8018fi 8019rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8020 conftest.$ac_objext conftest.beam conftest.$ac_ext 8021fi 8022 8023fi 8024fi 8025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8026$as_echo "$ac_cv_header_stdc" >&6; } 8027if test $ac_cv_header_stdc = yes; then 8028 8029$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8030 8031fi 8032 8033# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8034for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8035 inttypes.h stdint.h unistd.h 8036do : 8037 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8038ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8039" 8040if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8041 cat >>confdefs.h <<_ACEOF 8042#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8043_ACEOF 8044 8045fi 8046 8047done 8048 8049 8050for ac_header in dlfcn.h 8051do : 8052 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8053" 8054if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8055 cat >>confdefs.h <<_ACEOF 8056#define HAVE_DLFCN_H 1 8057_ACEOF 8058 8059fi 8060 8061done 8062 8063 8064if test "`cd $srcdir && pwd`" != "`pwd`"; then 8065 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 8066 # is not polluted with repeated "-I." 8067 am__isrc=' -I$(srcdir)' 8068 # test to see if srcdir already configured 8069 if test -f $srcdir/config.status; then 8070 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 8071 fi 8072fi 8073 8074# test whether we have cygpath 8075if test -z "$CYGPATH_W"; then 8076 if (cygpath --version) >/dev/null 2>/dev/null; then 8077 CYGPATH_W='cygpath -w' 8078 else 8079 CYGPATH_W=echo 8080 fi 8081fi 8082 8083 8084# Define the identity of the package. 8085 PACKAGE='dvipdfm-x--tex-live-' 8086 VERSION='20150315' 8087 8088 8089cat >>confdefs.h <<_ACEOF 8090#define PACKAGE "$PACKAGE" 8091_ACEOF 8092 8093 8094cat >>confdefs.h <<_ACEOF 8095#define VERSION "$VERSION" 8096_ACEOF 8097 8098# Some tools Automake needs. 8099 8100ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 8101 8102 8103AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 8104 8105 8106AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 8107 8108 8109AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 8110 8111 8112MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 8113 8114# For better backward compatibility. To be removed once Automake 1.9.x 8115# dies out for good. For more background, see: 8116# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 8117# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 8118mkdir_p='$(MKDIR_P)' 8119 8120# We need awk for the "check" target (and possibly the TAP driver). The 8121# system "awk" is bad on some platforms. 8122# Always define AMTAR for backward compatibility. Yes, it's still used 8123# in the wild :-( We should find a proper way to deprecate it ... 8124AMTAR='$${TAR-tar}' 8125 8126 8127# We'll loop over all known methods to create a tar archive until one works. 8128_am_tools='gnutar pax cpio none' 8129 8130am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 8131 8132 8133 8134 8135 8136 8137# POSIX will say in a future version that running "rm -f" with no argument 8138# is OK; and we want to be able to make that assumption in our Makefile 8139# recipes. So use an aggressive probe to check that the usage we want is 8140# actually supported "in the wild" to an acceptable degree. 8141# See automake bug#10828. 8142# To make any issue more visible, cause the running configure to be aborted 8143# by default if the 'rm' program in use doesn't match our expectations; the 8144# user can still override this though. 8145if rm -f && rm -fr && rm -rf; then : OK; else 8146 cat >&2 <<'END' 8147Oops! 8148 8149Your 'rm' program seems unable to run without file operands specified 8150on the command line, even when the '-f' option is present. This is contrary 8151to the behaviour of most rm programs out there, and not conforming with 8152the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 8153 8154Please tell bug-automake@gnu.org about your system, including the value 8155of your $PATH and any error possibly output before this message. This 8156can help us improve future automake versions. 8157 8158END 8159 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 8160 echo 'Configuration will proceed anyway, since you have set the' >&2 8161 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 8162 echo >&2 8163 else 8164 cat >&2 <<'END' 8165Aborting the configuration process, to ensure you take notice of the issue. 8166 8167You can download and install GNU coreutils to get an 'rm' implementation 8168that behaves properly: <http://www.gnu.org/software/coreutils/>. 8169 8170If you want to complete the configuration process using your problematic 8171'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 8172to "yes", and re-run configure. 8173 8174END 8175 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 8176 fi 8177fi 8178 8179 8180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 8181$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 8182 # Check whether --enable-maintainer-mode was given. 8183if test "${enable_maintainer_mode+set}" = set; then : 8184 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 8185else 8186 USE_MAINTAINER_MODE=no 8187fi 8188 8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 8190$as_echo "$USE_MAINTAINER_MODE" >&6; } 8191 if test $USE_MAINTAINER_MODE = yes; then 8192 MAINTAINER_MODE_TRUE= 8193 MAINTAINER_MODE_FALSE='#' 8194else 8195 MAINTAINER_MODE_TRUE='#' 8196 MAINTAINER_MODE_FALSE= 8197fi 8198 8199 MAINT=$MAINTAINER_MODE_TRUE 8200 8201 8202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 8203$as_echo_n "checking whether the compiler accepts prototypes... " >&6; } 8204if ${kb_cv_c_prototypes+:} false; then : 8205 $as_echo_n "(cached) " >&6 8206else 8207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8208/* end confdefs.h. */ 8209#include <stdarg.h> 8210int 8211main () 8212{ 8213extern void foo(int i,...); 8214 ; 8215 return 0; 8216} 8217_ACEOF 8218if ac_fn_c_try_link "$LINENO"; then : 8219 kb_cv_c_prototypes=yes 8220else 8221 kb_cv_c_prototypes=no 8222fi 8223rm -f core conftest.err conftest.$ac_objext \ 8224 conftest$ac_exeext conftest.$ac_ext 8225fi 8226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5 8227$as_echo "$kb_cv_c_prototypes" >&6; } 8228if test "x$kb_cv_c_prototypes" = xno; then 8229 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 8230fi 8231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 8232$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 8233if ${kpse_cv_warning_cflags+:} false; then : 8234 $as_echo_n "(cached) " >&6 8235else 8236 if test "x$GCC" = xyes; then 8237 kpse_cv_warning_cflags= 8238if test "x$enable_compiler_warnings" != xno; then 8239 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type" 8240 case `$CC -dumpversion` in #( 8241 3.4.* | 4.*) : 8242 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #( 8243 *) : 8244 ;; 8245esac 8246 case `$CC -dumpversion` in #( 8247 3.[234].* | 4.*) : 8248 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #( 8249 *) : 8250 ;; 8251esac 8252 if test "x$enable_compiler_warnings" != xmin; then 8253 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags" 8254 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" 8255 if test "x$enable_compiler_warnings" != xyes; then 8256 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" 8257 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings" 8258 case `$CC -dumpversion` in #( 8259 3.4.* | 4.*) : 8260 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #( 8261 *) : 8262 ;; 8263esac 8264 if test "x$enable_compiler_warnings" != xmax; then 8265 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow" 8266 fi 8267 fi 8268 fi 8269fi 8270elif test "x$enable_compiler_warnings" = xno; then 8271 kpse_cv_warning_cflags= 8272else 8273 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers 8274fi 8275fi 8276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5 8277$as_echo "$kpse_cv_warning_cflags" >&6; } 8278WARNING_CFLAGS=$kpse_cv_warning_cflags 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291# Set options 8292enable_win32_dll=yes 8293 8294case $host in 8295*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 8296 if test -n "$ac_tool_prefix"; then 8297 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 8298set dummy ${ac_tool_prefix}as; ac_word=$2 8299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8300$as_echo_n "checking for $ac_word... " >&6; } 8301if ${ac_cv_prog_AS+:} false; then : 8302 $as_echo_n "(cached) " >&6 8303else 8304 if test -n "$AS"; then 8305 ac_cv_prog_AS="$AS" # Let the user override the test. 8306else 8307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8308for as_dir in $PATH 8309do 8310 IFS=$as_save_IFS 8311 test -z "$as_dir" && as_dir=. 8312 for ac_exec_ext in '' $ac_executable_extensions; do 8313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8314 ac_cv_prog_AS="${ac_tool_prefix}as" 8315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8316 break 2 8317 fi 8318done 8319 done 8320IFS=$as_save_IFS 8321 8322fi 8323fi 8324AS=$ac_cv_prog_AS 8325if test -n "$AS"; then 8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8327$as_echo "$AS" >&6; } 8328else 8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8330$as_echo "no" >&6; } 8331fi 8332 8333 8334fi 8335if test -z "$ac_cv_prog_AS"; then 8336 ac_ct_AS=$AS 8337 # Extract the first word of "as", so it can be a program name with args. 8338set dummy as; ac_word=$2 8339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8340$as_echo_n "checking for $ac_word... " >&6; } 8341if ${ac_cv_prog_ac_ct_AS+:} false; then : 8342 $as_echo_n "(cached) " >&6 8343else 8344 if test -n "$ac_ct_AS"; then 8345 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8346else 8347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8348for as_dir in $PATH 8349do 8350 IFS=$as_save_IFS 8351 test -z "$as_dir" && as_dir=. 8352 for ac_exec_ext in '' $ac_executable_extensions; do 8353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8354 ac_cv_prog_ac_ct_AS="as" 8355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8356 break 2 8357 fi 8358done 8359 done 8360IFS=$as_save_IFS 8361 8362fi 8363fi 8364ac_ct_AS=$ac_cv_prog_ac_ct_AS 8365if test -n "$ac_ct_AS"; then 8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 8367$as_echo "$ac_ct_AS" >&6; } 8368else 8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8370$as_echo "no" >&6; } 8371fi 8372 8373 if test "x$ac_ct_AS" = x; then 8374 AS="false" 8375 else 8376 case $cross_compiling:$ac_tool_warned in 8377yes:) 8378{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8379$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8380ac_tool_warned=yes ;; 8381esac 8382 AS=$ac_ct_AS 8383 fi 8384else 8385 AS="$ac_cv_prog_AS" 8386fi 8387 8388 if test -n "$ac_tool_prefix"; then 8389 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8390set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8392$as_echo_n "checking for $ac_word... " >&6; } 8393if ${ac_cv_prog_DLLTOOL+:} false; then : 8394 $as_echo_n "(cached) " >&6 8395else 8396 if test -n "$DLLTOOL"; then 8397 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8398else 8399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8400for as_dir in $PATH 8401do 8402 IFS=$as_save_IFS 8403 test -z "$as_dir" && as_dir=. 8404 for ac_exec_ext in '' $ac_executable_extensions; do 8405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8406 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8408 break 2 8409 fi 8410done 8411 done 8412IFS=$as_save_IFS 8413 8414fi 8415fi 8416DLLTOOL=$ac_cv_prog_DLLTOOL 8417if test -n "$DLLTOOL"; then 8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8419$as_echo "$DLLTOOL" >&6; } 8420else 8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8422$as_echo "no" >&6; } 8423fi 8424 8425 8426fi 8427if test -z "$ac_cv_prog_DLLTOOL"; then 8428 ac_ct_DLLTOOL=$DLLTOOL 8429 # Extract the first word of "dlltool", so it can be a program name with args. 8430set dummy dlltool; ac_word=$2 8431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8432$as_echo_n "checking for $ac_word... " >&6; } 8433if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8434 $as_echo_n "(cached) " >&6 8435else 8436 if test -n "$ac_ct_DLLTOOL"; then 8437 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8438else 8439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8440for as_dir in $PATH 8441do 8442 IFS=$as_save_IFS 8443 test -z "$as_dir" && as_dir=. 8444 for ac_exec_ext in '' $ac_executable_extensions; do 8445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8446 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8448 break 2 8449 fi 8450done 8451 done 8452IFS=$as_save_IFS 8453 8454fi 8455fi 8456ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8457if test -n "$ac_ct_DLLTOOL"; then 8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8459$as_echo "$ac_ct_DLLTOOL" >&6; } 8460else 8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8462$as_echo "no" >&6; } 8463fi 8464 8465 if test "x$ac_ct_DLLTOOL" = x; then 8466 DLLTOOL="false" 8467 else 8468 case $cross_compiling:$ac_tool_warned in 8469yes:) 8470{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8471$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8472ac_tool_warned=yes ;; 8473esac 8474 DLLTOOL=$ac_ct_DLLTOOL 8475 fi 8476else 8477 DLLTOOL="$ac_cv_prog_DLLTOOL" 8478fi 8479 8480 if test -n "$ac_tool_prefix"; then 8481 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8482set dummy ${ac_tool_prefix}objdump; ac_word=$2 8483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8484$as_echo_n "checking for $ac_word... " >&6; } 8485if ${ac_cv_prog_OBJDUMP+:} false; then : 8486 $as_echo_n "(cached) " >&6 8487else 8488 if test -n "$OBJDUMP"; then 8489 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8490else 8491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8492for as_dir in $PATH 8493do 8494 IFS=$as_save_IFS 8495 test -z "$as_dir" && as_dir=. 8496 for ac_exec_ext in '' $ac_executable_extensions; do 8497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8498 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8500 break 2 8501 fi 8502done 8503 done 8504IFS=$as_save_IFS 8505 8506fi 8507fi 8508OBJDUMP=$ac_cv_prog_OBJDUMP 8509if test -n "$OBJDUMP"; then 8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8511$as_echo "$OBJDUMP" >&6; } 8512else 8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8514$as_echo "no" >&6; } 8515fi 8516 8517 8518fi 8519if test -z "$ac_cv_prog_OBJDUMP"; then 8520 ac_ct_OBJDUMP=$OBJDUMP 8521 # Extract the first word of "objdump", so it can be a program name with args. 8522set dummy objdump; ac_word=$2 8523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8524$as_echo_n "checking for $ac_word... " >&6; } 8525if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8526 $as_echo_n "(cached) " >&6 8527else 8528 if test -n "$ac_ct_OBJDUMP"; then 8529 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8530else 8531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8532for as_dir in $PATH 8533do 8534 IFS=$as_save_IFS 8535 test -z "$as_dir" && as_dir=. 8536 for ac_exec_ext in '' $ac_executable_extensions; do 8537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8538 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8540 break 2 8541 fi 8542done 8543 done 8544IFS=$as_save_IFS 8545 8546fi 8547fi 8548ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8549if test -n "$ac_ct_OBJDUMP"; then 8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8551$as_echo "$ac_ct_OBJDUMP" >&6; } 8552else 8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8554$as_echo "no" >&6; } 8555fi 8556 8557 if test "x$ac_ct_OBJDUMP" = x; then 8558 OBJDUMP="false" 8559 else 8560 case $cross_compiling:$ac_tool_warned in 8561yes:) 8562{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8563$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8564ac_tool_warned=yes ;; 8565esac 8566 OBJDUMP=$ac_ct_OBJDUMP 8567 fi 8568else 8569 OBJDUMP="$ac_cv_prog_OBJDUMP" 8570fi 8571 8572 ;; 8573esac 8574 8575test -z "$AS" && AS=as 8576 8577 8578 8579 8580 8581test -z "$DLLTOOL" && DLLTOOL=dlltool 8582 8583 8584 8585 8586 8587test -z "$OBJDUMP" && OBJDUMP=objdump 8588 8589 8590 8591 8592 8593 8594 8595 enable_dlopen=no 8596 8597 8598 8599 # Check whether --enable-shared was given. 8600if test "${enable_shared+set}" = set; then : 8601 enableval=$enable_shared; p=${PACKAGE-default} 8602 case $enableval in 8603 yes) enable_shared=yes ;; 8604 no) enable_shared=no ;; 8605 *) 8606 enable_shared=no 8607 # Look at the argument we got. We use all the common list separators. 8608 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8609 for pkg in $enableval; do 8610 IFS=$lt_save_ifs 8611 if test "X$pkg" = "X$p"; then 8612 enable_shared=yes 8613 fi 8614 done 8615 IFS=$lt_save_ifs 8616 ;; 8617 esac 8618else 8619 enable_shared=yes 8620fi 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 # Check whether --enable-static was given. 8631if test "${enable_static+set}" = set; then : 8632 enableval=$enable_static; p=${PACKAGE-default} 8633 case $enableval in 8634 yes) enable_static=yes ;; 8635 no) enable_static=no ;; 8636 *) 8637 enable_static=no 8638 # Look at the argument we got. We use all the common list separators. 8639 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8640 for pkg in $enableval; do 8641 IFS=$lt_save_ifs 8642 if test "X$pkg" = "X$p"; then 8643 enable_static=yes 8644 fi 8645 done 8646 IFS=$lt_save_ifs 8647 ;; 8648 esac 8649else 8650 enable_static=yes 8651fi 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662# Check whether --with-pic was given. 8663if test "${with_pic+set}" = set; then : 8664 withval=$with_pic; lt_p=${PACKAGE-default} 8665 case $withval in 8666 yes|no) pic_mode=$withval ;; 8667 *) 8668 pic_mode=default 8669 # Look at the argument we got. We use all the common list separators. 8670 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8671 for lt_pkg in $withval; do 8672 IFS=$lt_save_ifs 8673 if test "X$lt_pkg" = "X$lt_p"; then 8674 pic_mode=yes 8675 fi 8676 done 8677 IFS=$lt_save_ifs 8678 ;; 8679 esac 8680else 8681 pic_mode=default 8682fi 8683 8684 8685 8686 8687 8688 8689 8690 8691 # Check whether --enable-fast-install was given. 8692if test "${enable_fast_install+set}" = set; then : 8693 enableval=$enable_fast_install; p=${PACKAGE-default} 8694 case $enableval in 8695 yes) enable_fast_install=yes ;; 8696 no) enable_fast_install=no ;; 8697 *) 8698 enable_fast_install=no 8699 # Look at the argument we got. We use all the common list separators. 8700 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8701 for pkg in $enableval; do 8702 IFS=$lt_save_ifs 8703 if test "X$pkg" = "X$p"; then 8704 enable_fast_install=yes 8705 fi 8706 done 8707 IFS=$lt_save_ifs 8708 ;; 8709 esac 8710else 8711 enable_fast_install=yes 8712fi 8713 8714 8715 8716 8717 8718 8719 8720 8721 shared_archive_member_spec= 8722case $host,$enable_shared in 8723power*-*-aix[5-9]*,yes) 8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8725$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8726 8727# Check whether --with-aix-soname was given. 8728if test "${with_aix_soname+set}" = set; then : 8729 withval=$with_aix_soname; case $withval in 8730 aix|svr4|both) 8731 ;; 8732 *) 8733 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8734 ;; 8735 esac 8736 lt_cv_with_aix_soname=$with_aix_soname 8737else 8738 if ${lt_cv_with_aix_soname+:} false; then : 8739 $as_echo_n "(cached) " >&6 8740else 8741 lt_cv_with_aix_soname=aix 8742fi 8743 8744 with_aix_soname=$lt_cv_with_aix_soname 8745fi 8746 8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8748$as_echo "$with_aix_soname" >&6; } 8749 if test aix != "$with_aix_soname"; then 8750 # For the AIX way of multilib, we name the shared archive member 8751 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8752 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8753 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8754 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8755 if test 64 = "${OBJECT_MODE-32}"; then 8756 shared_archive_member_spec=shr_64 8757 else 8758 shared_archive_member_spec=shr 8759 fi 8760 fi 8761 ;; 8762*) 8763 with_aix_soname=aix 8764 ;; 8765esac 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776# This can be used to rebuild libtool when needed 8777LIBTOOL_DEPS=$ltmain 8778 8779# Always use our own libtool. 8780LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811test -z "$LN_S" && LN_S="ln -s" 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826if test -n "${ZSH_VERSION+set}"; then 8827 setopt NO_GLOB_SUBST 8828fi 8829 8830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8831$as_echo_n "checking for objdir... " >&6; } 8832if ${lt_cv_objdir+:} false; then : 8833 $as_echo_n "(cached) " >&6 8834else 8835 rm -f .libs 2>/dev/null 8836mkdir .libs 2>/dev/null 8837if test -d .libs; then 8838 lt_cv_objdir=.libs 8839else 8840 # MS-DOS does not allow filenames that begin with a dot. 8841 lt_cv_objdir=_libs 8842fi 8843rmdir .libs 2>/dev/null 8844fi 8845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8846$as_echo "$lt_cv_objdir" >&6; } 8847objdir=$lt_cv_objdir 8848 8849 8850 8851 8852 8853cat >>confdefs.h <<_ACEOF 8854#define LT_OBJDIR "$lt_cv_objdir/" 8855_ACEOF 8856 8857 8858 8859 8860case $host_os in 8861aix3*) 8862 # AIX sometimes has problems with the GCC collect2 program. For some 8863 # reason, if we set the COLLECT_NAMES environment variable, the problems 8864 # vanish in a puff of smoke. 8865 if test set != "${COLLECT_NAMES+set}"; then 8866 COLLECT_NAMES= 8867 export COLLECT_NAMES 8868 fi 8869 ;; 8870esac 8871 8872# Global variables: 8873ofile=libtool 8874can_build_shared=yes 8875 8876# All known linkers require a '.a' archive for static linking (except MSVC, 8877# which needs '.lib'). 8878libext=a 8879 8880with_gnu_ld=$lt_cv_prog_gnu_ld 8881 8882old_CC=$CC 8883old_CFLAGS=$CFLAGS 8884 8885# Set sane defaults for various variables 8886test -z "$CC" && CC=cc 8887test -z "$LTCC" && LTCC=$CC 8888test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8889test -z "$LD" && LD=ld 8890test -z "$ac_objext" && ac_objext=o 8891 8892func_cc_basename $compiler 8893cc_basename=$func_cc_basename_result 8894 8895 8896# Only perform the check for file, if the check method requires it 8897test -z "$MAGIC_CMD" && MAGIC_CMD=file 8898case $deplibs_check_method in 8899file_magic*) 8900 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8902$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8903if ${lt_cv_path_MAGIC_CMD+:} false; then : 8904 $as_echo_n "(cached) " >&6 8905else 8906 case $MAGIC_CMD in 8907[\\/*] | ?:[\\/]*) 8908 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8909 ;; 8910*) 8911 lt_save_MAGIC_CMD=$MAGIC_CMD 8912 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8913 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8914 for ac_dir in $ac_dummy; do 8915 IFS=$lt_save_ifs 8916 test -z "$ac_dir" && ac_dir=. 8917 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8918 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8919 if test -n "$file_magic_test_file"; then 8920 case $deplibs_check_method in 8921 "file_magic "*) 8922 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8923 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8924 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8925 $EGREP "$file_magic_regex" > /dev/null; then 8926 : 8927 else 8928 cat <<_LT_EOF 1>&2 8929 8930*** Warning: the command libtool uses to detect shared libraries, 8931*** $file_magic_cmd, produces output that libtool cannot recognize. 8932*** The result is that libtool may fail to recognize shared libraries 8933*** as such. This will affect the creation of libtool libraries that 8934*** depend on shared libraries, but programs linked with such libtool 8935*** libraries will work regardless of this problem. Nevertheless, you 8936*** may want to report the problem to your system manager and/or to 8937*** bug-libtool@gnu.org 8938 8939_LT_EOF 8940 fi ;; 8941 esac 8942 fi 8943 break 8944 fi 8945 done 8946 IFS=$lt_save_ifs 8947 MAGIC_CMD=$lt_save_MAGIC_CMD 8948 ;; 8949esac 8950fi 8951 8952MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8953if test -n "$MAGIC_CMD"; then 8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8955$as_echo "$MAGIC_CMD" >&6; } 8956else 8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8958$as_echo "no" >&6; } 8959fi 8960 8961 8962 8963 8964 8965if test -z "$lt_cv_path_MAGIC_CMD"; then 8966 if test -n "$ac_tool_prefix"; then 8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8968$as_echo_n "checking for file... " >&6; } 8969if ${lt_cv_path_MAGIC_CMD+:} false; then : 8970 $as_echo_n "(cached) " >&6 8971else 8972 case $MAGIC_CMD in 8973[\\/*] | ?:[\\/]*) 8974 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8975 ;; 8976*) 8977 lt_save_MAGIC_CMD=$MAGIC_CMD 8978 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8979 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8980 for ac_dir in $ac_dummy; do 8981 IFS=$lt_save_ifs 8982 test -z "$ac_dir" && ac_dir=. 8983 if test -f "$ac_dir/file"; then 8984 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8985 if test -n "$file_magic_test_file"; then 8986 case $deplibs_check_method in 8987 "file_magic "*) 8988 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8989 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8990 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8991 $EGREP "$file_magic_regex" > /dev/null; then 8992 : 8993 else 8994 cat <<_LT_EOF 1>&2 8995 8996*** Warning: the command libtool uses to detect shared libraries, 8997*** $file_magic_cmd, produces output that libtool cannot recognize. 8998*** The result is that libtool may fail to recognize shared libraries 8999*** as such. This will affect the creation of libtool libraries that 9000*** depend on shared libraries, but programs linked with such libtool 9001*** libraries will work regardless of this problem. Nevertheless, you 9002*** may want to report the problem to your system manager and/or to 9003*** bug-libtool@gnu.org 9004 9005_LT_EOF 9006 fi ;; 9007 esac 9008 fi 9009 break 9010 fi 9011 done 9012 IFS=$lt_save_ifs 9013 MAGIC_CMD=$lt_save_MAGIC_CMD 9014 ;; 9015esac 9016fi 9017 9018MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9019if test -n "$MAGIC_CMD"; then 9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9021$as_echo "$MAGIC_CMD" >&6; } 9022else 9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9024$as_echo "no" >&6; } 9025fi 9026 9027 9028 else 9029 MAGIC_CMD=: 9030 fi 9031fi 9032 9033 fi 9034 ;; 9035esac 9036 9037# Use C for the default configuration in the libtool script 9038 9039lt_save_CC=$CC 9040ac_ext=c 9041ac_cpp='$CPP $CPPFLAGS' 9042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9044ac_compiler_gnu=$ac_cv_c_compiler_gnu 9045 9046 9047# Source file extension for C test sources. 9048ac_ext=c 9049 9050# Object file extension for compiled C test sources. 9051objext=o 9052objext=$objext 9053 9054# Code to be used in simple compile tests 9055lt_simple_compile_test_code="int some_variable = 0;" 9056 9057# Code to be used in simple link tests 9058lt_simple_link_test_code='int main(){return(0);}' 9059 9060 9061 9062 9063 9064 9065 9066# If no C compiler was specified, use CC. 9067LTCC=${LTCC-"$CC"} 9068 9069# If no C compiler flags were specified, use CFLAGS. 9070LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9071 9072# Allow CC to be a program name with arguments. 9073compiler=$CC 9074 9075# Save the default compiler, since it gets overwritten when the other 9076# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9077compiler_DEFAULT=$CC 9078 9079# save warnings/boilerplate of simple test code 9080ac_outfile=conftest.$ac_objext 9081echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9082eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9083_lt_compiler_boilerplate=`cat conftest.err` 9084$RM conftest* 9085 9086ac_outfile=conftest.$ac_objext 9087echo "$lt_simple_link_test_code" >conftest.$ac_ext 9088eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9089_lt_linker_boilerplate=`cat conftest.err` 9090$RM -r conftest* 9091 9092 9093## CAVEAT EMPTOR: 9094## There is no encapsulation within the following macros, do not change 9095## the running order or otherwise move them around unless you know exactly 9096## what you are doing... 9097if test -n "$compiler"; then 9098 9099lt_prog_compiler_no_builtin_flag= 9100 9101if test yes = "$GCC"; then 9102 case $cc_basename in 9103 nvcc*) 9104 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9105 *) 9106 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9107 esac 9108 9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9110$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9111if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9112 $as_echo_n "(cached) " >&6 9113else 9114 lt_cv_prog_compiler_rtti_exceptions=no 9115 ac_outfile=conftest.$ac_objext 9116 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9117 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9118 # Insert the option either (1) after the last *FLAGS variable, or 9119 # (2) before a word containing "conftest.", or (3) at the end. 9120 # Note that $ac_compile itself does not contain backslashes and begins 9121 # with a dollar sign (not a hyphen), so the echo should work correctly. 9122 # The option is referenced via a variable to avoid confusing sed. 9123 lt_compile=`echo "$ac_compile" | $SED \ 9124 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9126 -e 's:$: $lt_compiler_flag:'` 9127 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9128 (eval "$lt_compile" 2>conftest.err) 9129 ac_status=$? 9130 cat conftest.err >&5 9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9132 if (exit $ac_status) && test -s "$ac_outfile"; then 9133 # The compiler can only warn and ignore the option if not recognized 9134 # So say no if there are warnings other than the usual output. 9135 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9136 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9137 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9138 lt_cv_prog_compiler_rtti_exceptions=yes 9139 fi 9140 fi 9141 $RM conftest* 9142 9143fi 9144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9145$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9146 9147if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9148 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9149else 9150 : 9151fi 9152 9153fi 9154 9155 9156 9157 9158 9159 9160 lt_prog_compiler_wl= 9161lt_prog_compiler_pic= 9162lt_prog_compiler_static= 9163 9164 9165 if test yes = "$GCC"; then 9166 lt_prog_compiler_wl='-Wl,' 9167 lt_prog_compiler_static='-static' 9168 9169 case $host_os in 9170 aix*) 9171 # All AIX code is PIC. 9172 if test ia64 = "$host_cpu"; then 9173 # AIX 5 now supports IA64 processor 9174 lt_prog_compiler_static='-Bstatic' 9175 fi 9176 lt_prog_compiler_pic='-fPIC' 9177 ;; 9178 9179 amigaos*) 9180 case $host_cpu in 9181 powerpc) 9182 # see comment about AmigaOS4 .so support 9183 lt_prog_compiler_pic='-fPIC' 9184 ;; 9185 m68k) 9186 # FIXME: we need at least 68020 code to build shared libraries, but 9187 # adding the '-m68020' flag to GCC prevents building anything better, 9188 # like '-m68040'. 9189 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9190 ;; 9191 esac 9192 ;; 9193 9194 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9195 # PIC is the default for these OSes. 9196 ;; 9197 9198 mingw* | cygwin* | pw32* | os2* | cegcc*) 9199 # This hack is so that the source file can tell whether it is being 9200 # built for inclusion in a dll (and should export symbols for example). 9201 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9202 # (--disable-auto-import) libraries 9203 lt_prog_compiler_pic='-DDLL_EXPORT' 9204 case $host_os in 9205 os2*) 9206 lt_prog_compiler_static='$wl-static' 9207 ;; 9208 esac 9209 ;; 9210 9211 darwin* | rhapsody*) 9212 # PIC is the default on this platform 9213 # Common symbols not allowed in MH_DYLIB files 9214 lt_prog_compiler_pic='-fno-common' 9215 ;; 9216 9217 haiku*) 9218 # PIC is the default for Haiku. 9219 # The "-static" flag exists, but is broken. 9220 lt_prog_compiler_static= 9221 ;; 9222 9223 hpux*) 9224 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9225 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9226 # sets the default TLS model and affects inlining. 9227 case $host_cpu in 9228 hppa*64*) 9229 # +Z the default 9230 ;; 9231 *) 9232 lt_prog_compiler_pic='-fPIC' 9233 ;; 9234 esac 9235 ;; 9236 9237 interix[3-9]*) 9238 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9239 # Instead, we relocate shared libraries at runtime. 9240 ;; 9241 9242 msdosdjgpp*) 9243 # Just because we use GCC doesn't mean we suddenly get shared libraries 9244 # on systems that don't support them. 9245 lt_prog_compiler_can_build_shared=no 9246 enable_shared=no 9247 ;; 9248 9249 *nto* | *qnx*) 9250 # QNX uses GNU C++, but need to define -shared option too, otherwise 9251 # it will coredump. 9252 lt_prog_compiler_pic='-fPIC -shared' 9253 ;; 9254 9255 sysv4*MP*) 9256 if test -d /usr/nec; then 9257 lt_prog_compiler_pic=-Kconform_pic 9258 fi 9259 ;; 9260 9261 *) 9262 lt_prog_compiler_pic='-fPIC' 9263 ;; 9264 esac 9265 9266 case $cc_basename in 9267 nvcc*) # Cuda Compiler Driver 2.2 9268 lt_prog_compiler_wl='-Xlinker ' 9269 if test -n "$lt_prog_compiler_pic"; then 9270 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9271 fi 9272 ;; 9273 esac 9274 else 9275 # PORTME Check for flag to pass linker flags through the system compiler. 9276 case $host_os in 9277 aix*) 9278 lt_prog_compiler_wl='-Wl,' 9279 if test ia64 = "$host_cpu"; then 9280 # AIX 5 now supports IA64 processor 9281 lt_prog_compiler_static='-Bstatic' 9282 else 9283 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9284 fi 9285 ;; 9286 9287 darwin* | rhapsody*) 9288 # PIC is the default on this platform 9289 # Common symbols not allowed in MH_DYLIB files 9290 lt_prog_compiler_pic='-fno-common' 9291 case $cc_basename in 9292 nagfor*) 9293 # NAG Fortran compiler 9294 lt_prog_compiler_wl='-Wl,-Wl,,' 9295 lt_prog_compiler_pic='-PIC' 9296 lt_prog_compiler_static='-Bstatic' 9297 ;; 9298 esac 9299 ;; 9300 9301 mingw* | cygwin* | pw32* | os2* | cegcc*) 9302 # This hack is so that the source file can tell whether it is being 9303 # built for inclusion in a dll (and should export symbols for example). 9304 lt_prog_compiler_pic='-DDLL_EXPORT' 9305 case $host_os in 9306 os2*) 9307 lt_prog_compiler_static='$wl-static' 9308 ;; 9309 esac 9310 ;; 9311 9312 hpux9* | hpux10* | hpux11*) 9313 lt_prog_compiler_wl='-Wl,' 9314 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9315 # not for PA HP-UX. 9316 case $host_cpu in 9317 hppa*64*|ia64*) 9318 # +Z the default 9319 ;; 9320 *) 9321 lt_prog_compiler_pic='+Z' 9322 ;; 9323 esac 9324 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9325 lt_prog_compiler_static='$wl-a ${wl}archive' 9326 ;; 9327 9328 irix5* | irix6* | nonstopux*) 9329 lt_prog_compiler_wl='-Wl,' 9330 # PIC (with -KPIC) is the default. 9331 lt_prog_compiler_static='-non_shared' 9332 ;; 9333 9334 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9335 case $cc_basename in 9336 # old Intel for x86_64, which still supported -KPIC. 9337 ecc*) 9338 lt_prog_compiler_wl='-Wl,' 9339 lt_prog_compiler_pic='-KPIC' 9340 lt_prog_compiler_static='-static' 9341 ;; 9342 # icc used to be incompatible with GCC. 9343 # ICC 10 doesn't accept -KPIC any more. 9344 icc* | ifort*) 9345 lt_prog_compiler_wl='-Wl,' 9346 lt_prog_compiler_pic='-fPIC' 9347 lt_prog_compiler_static='-static' 9348 ;; 9349 # Lahey Fortran 8.1. 9350 lf95*) 9351 lt_prog_compiler_wl='-Wl,' 9352 lt_prog_compiler_pic='--shared' 9353 lt_prog_compiler_static='--static' 9354 ;; 9355 nagfor*) 9356 # NAG Fortran compiler 9357 lt_prog_compiler_wl='-Wl,-Wl,,' 9358 lt_prog_compiler_pic='-PIC' 9359 lt_prog_compiler_static='-Bstatic' 9360 ;; 9361 tcc*) 9362 # Fabrice Bellard et al's Tiny C Compiler 9363 lt_prog_compiler_wl='-Wl,' 9364 lt_prog_compiler_pic='-fPIC' 9365 lt_prog_compiler_static='-static' 9366 ;; 9367 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9368 # Portland Group compilers (*not* the Pentium gcc compiler, 9369 # which looks to be a dead project) 9370 lt_prog_compiler_wl='-Wl,' 9371 lt_prog_compiler_pic='-fpic' 9372 lt_prog_compiler_static='-Bstatic' 9373 ;; 9374 ccc*) 9375 lt_prog_compiler_wl='-Wl,' 9376 # All Alpha code is PIC. 9377 lt_prog_compiler_static='-non_shared' 9378 ;; 9379 xl* | bgxl* | bgf* | mpixl*) 9380 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9381 lt_prog_compiler_wl='-Wl,' 9382 lt_prog_compiler_pic='-qpic' 9383 lt_prog_compiler_static='-qstaticlink' 9384 ;; 9385 *) 9386 case `$CC -V 2>&1 | sed 5q` in 9387 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9388 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9389 lt_prog_compiler_pic='-KPIC' 9390 lt_prog_compiler_static='-Bstatic' 9391 lt_prog_compiler_wl='' 9392 ;; 9393 *Sun\ F* | *Sun*Fortran*) 9394 lt_prog_compiler_pic='-KPIC' 9395 lt_prog_compiler_static='-Bstatic' 9396 lt_prog_compiler_wl='-Qoption ld ' 9397 ;; 9398 *Sun\ C*) 9399 # Sun C 5.9 9400 lt_prog_compiler_pic='-KPIC' 9401 lt_prog_compiler_static='-Bstatic' 9402 lt_prog_compiler_wl='-Wl,' 9403 ;; 9404 *Intel*\ [CF]*Compiler*) 9405 lt_prog_compiler_wl='-Wl,' 9406 lt_prog_compiler_pic='-fPIC' 9407 lt_prog_compiler_static='-static' 9408 ;; 9409 *Portland\ Group*) 9410 lt_prog_compiler_wl='-Wl,' 9411 lt_prog_compiler_pic='-fpic' 9412 lt_prog_compiler_static='-Bstatic' 9413 ;; 9414 esac 9415 ;; 9416 esac 9417 ;; 9418 9419 newsos6) 9420 lt_prog_compiler_pic='-KPIC' 9421 lt_prog_compiler_static='-Bstatic' 9422 ;; 9423 9424 *nto* | *qnx*) 9425 # QNX uses GNU C++, but need to define -shared option too, otherwise 9426 # it will coredump. 9427 lt_prog_compiler_pic='-fPIC -shared' 9428 ;; 9429 9430 osf3* | osf4* | osf5*) 9431 lt_prog_compiler_wl='-Wl,' 9432 # All OSF/1 code is PIC. 9433 lt_prog_compiler_static='-non_shared' 9434 ;; 9435 9436 rdos*) 9437 lt_prog_compiler_static='-non_shared' 9438 ;; 9439 9440 solaris*) 9441 lt_prog_compiler_pic='-KPIC' 9442 lt_prog_compiler_static='-Bstatic' 9443 case $cc_basename in 9444 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9445 lt_prog_compiler_wl='-Qoption ld ';; 9446 *) 9447 lt_prog_compiler_wl='-Wl,';; 9448 esac 9449 ;; 9450 9451 sunos4*) 9452 lt_prog_compiler_wl='-Qoption ld ' 9453 lt_prog_compiler_pic='-PIC' 9454 lt_prog_compiler_static='-Bstatic' 9455 ;; 9456 9457 sysv4 | sysv4.2uw2* | sysv4.3*) 9458 lt_prog_compiler_wl='-Wl,' 9459 lt_prog_compiler_pic='-KPIC' 9460 lt_prog_compiler_static='-Bstatic' 9461 ;; 9462 9463 sysv4*MP*) 9464 if test -d /usr/nec; then 9465 lt_prog_compiler_pic='-Kconform_pic' 9466 lt_prog_compiler_static='-Bstatic' 9467 fi 9468 ;; 9469 9470 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9471 lt_prog_compiler_wl='-Wl,' 9472 lt_prog_compiler_pic='-KPIC' 9473 lt_prog_compiler_static='-Bstatic' 9474 ;; 9475 9476 unicos*) 9477 lt_prog_compiler_wl='-Wl,' 9478 lt_prog_compiler_can_build_shared=no 9479 ;; 9480 9481 uts4*) 9482 lt_prog_compiler_pic='-pic' 9483 lt_prog_compiler_static='-Bstatic' 9484 ;; 9485 9486 *) 9487 lt_prog_compiler_can_build_shared=no 9488 ;; 9489 esac 9490 fi 9491 9492case $host_os in 9493 # For platforms that do not support PIC, -DPIC is meaningless: 9494 *djgpp*) 9495 lt_prog_compiler_pic= 9496 ;; 9497 *) 9498 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9499 ;; 9500esac 9501 9502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9503$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9504if ${lt_cv_prog_compiler_pic+:} false; then : 9505 $as_echo_n "(cached) " >&6 9506else 9507 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9508fi 9509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9510$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9511lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9512 9513# 9514# Check to make sure the PIC flag actually works. 9515# 9516if test -n "$lt_prog_compiler_pic"; then 9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9518$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9519if ${lt_cv_prog_compiler_pic_works+:} false; then : 9520 $as_echo_n "(cached) " >&6 9521else 9522 lt_cv_prog_compiler_pic_works=no 9523 ac_outfile=conftest.$ac_objext 9524 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9525 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9526 # Insert the option either (1) after the last *FLAGS variable, or 9527 # (2) before a word containing "conftest.", or (3) at the end. 9528 # Note that $ac_compile itself does not contain backslashes and begins 9529 # with a dollar sign (not a hyphen), so the echo should work correctly. 9530 # The option is referenced via a variable to avoid confusing sed. 9531 lt_compile=`echo "$ac_compile" | $SED \ 9532 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9533 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9534 -e 's:$: $lt_compiler_flag:'` 9535 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9536 (eval "$lt_compile" 2>conftest.err) 9537 ac_status=$? 9538 cat conftest.err >&5 9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9540 if (exit $ac_status) && test -s "$ac_outfile"; then 9541 # The compiler can only warn and ignore the option if not recognized 9542 # So say no if there are warnings other than the usual output. 9543 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9544 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9545 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9546 lt_cv_prog_compiler_pic_works=yes 9547 fi 9548 fi 9549 $RM conftest* 9550 9551fi 9552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9553$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9554 9555if test yes = "$lt_cv_prog_compiler_pic_works"; then 9556 case $lt_prog_compiler_pic in 9557 "" | " "*) ;; 9558 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9559 esac 9560else 9561 lt_prog_compiler_pic= 9562 lt_prog_compiler_can_build_shared=no 9563fi 9564 9565fi 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577# 9578# Check to make sure the static flag actually works. 9579# 9580wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9582$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9583if ${lt_cv_prog_compiler_static_works+:} false; then : 9584 $as_echo_n "(cached) " >&6 9585else 9586 lt_cv_prog_compiler_static_works=no 9587 save_LDFLAGS=$LDFLAGS 9588 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9589 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9590 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9591 # The linker can only warn and ignore the option if not recognized 9592 # So say no if there are warnings 9593 if test -s conftest.err; then 9594 # Append any errors to the config.log. 9595 cat conftest.err 1>&5 9596 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9597 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9598 if diff conftest.exp conftest.er2 >/dev/null; then 9599 lt_cv_prog_compiler_static_works=yes 9600 fi 9601 else 9602 lt_cv_prog_compiler_static_works=yes 9603 fi 9604 fi 9605 $RM -r conftest* 9606 LDFLAGS=$save_LDFLAGS 9607 9608fi 9609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9610$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9611 9612if test yes = "$lt_cv_prog_compiler_static_works"; then 9613 : 9614else 9615 lt_prog_compiler_static= 9616fi 9617 9618 9619 9620 9621 9622 9623 9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9625$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9626if ${lt_cv_prog_compiler_c_o+:} false; then : 9627 $as_echo_n "(cached) " >&6 9628else 9629 lt_cv_prog_compiler_c_o=no 9630 $RM -r conftest 2>/dev/null 9631 mkdir conftest 9632 cd conftest 9633 mkdir out 9634 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9635 9636 lt_compiler_flag="-o out/conftest2.$ac_objext" 9637 # Insert the option either (1) after the last *FLAGS variable, or 9638 # (2) before a word containing "conftest.", or (3) at the end. 9639 # Note that $ac_compile itself does not contain backslashes and begins 9640 # with a dollar sign (not a hyphen), so the echo should work correctly. 9641 lt_compile=`echo "$ac_compile" | $SED \ 9642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9644 -e 's:$: $lt_compiler_flag:'` 9645 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9646 (eval "$lt_compile" 2>out/conftest.err) 9647 ac_status=$? 9648 cat out/conftest.err >&5 9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9650 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9651 then 9652 # The compiler can only warn and ignore the option if not recognized 9653 # So say no if there are warnings 9654 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9655 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9656 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9657 lt_cv_prog_compiler_c_o=yes 9658 fi 9659 fi 9660 chmod u+w . 2>&5 9661 $RM conftest* 9662 # SGI C++ compiler will create directory out/ii_files/ for 9663 # template instantiation 9664 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9665 $RM out/* && rmdir out 9666 cd .. 9667 $RM -r conftest 9668 $RM conftest* 9669 9670fi 9671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9672$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9673 9674 9675 9676 9677 9678 9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9680$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9681if ${lt_cv_prog_compiler_c_o+:} false; then : 9682 $as_echo_n "(cached) " >&6 9683else 9684 lt_cv_prog_compiler_c_o=no 9685 $RM -r conftest 2>/dev/null 9686 mkdir conftest 9687 cd conftest 9688 mkdir out 9689 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9690 9691 lt_compiler_flag="-o out/conftest2.$ac_objext" 9692 # Insert the option either (1) after the last *FLAGS variable, or 9693 # (2) before a word containing "conftest.", or (3) at the end. 9694 # Note that $ac_compile itself does not contain backslashes and begins 9695 # with a dollar sign (not a hyphen), so the echo should work correctly. 9696 lt_compile=`echo "$ac_compile" | $SED \ 9697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9699 -e 's:$: $lt_compiler_flag:'` 9700 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9701 (eval "$lt_compile" 2>out/conftest.err) 9702 ac_status=$? 9703 cat out/conftest.err >&5 9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9705 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9706 then 9707 # The compiler can only warn and ignore the option if not recognized 9708 # So say no if there are warnings 9709 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9710 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9711 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9712 lt_cv_prog_compiler_c_o=yes 9713 fi 9714 fi 9715 chmod u+w . 2>&5 9716 $RM conftest* 9717 # SGI C++ compiler will create directory out/ii_files/ for 9718 # template instantiation 9719 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9720 $RM out/* && rmdir out 9721 cd .. 9722 $RM -r conftest 9723 $RM conftest* 9724 9725fi 9726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9727$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9728 9729 9730 9731 9732hard_links=nottested 9733if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9734 # do not overwrite the value of need_locks provided by the user 9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9736$as_echo_n "checking if we can lock with hard links... " >&6; } 9737 hard_links=yes 9738 $RM conftest* 9739 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9740 touch conftest.a 9741 ln conftest.a conftest.b 2>&5 || hard_links=no 9742 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9744$as_echo "$hard_links" >&6; } 9745 if test no = "$hard_links"; then 9746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9747$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9748 need_locks=warn 9749 fi 9750else 9751 need_locks=no 9752fi 9753 9754 9755 9756 9757 9758 9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9760$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9761 9762 runpath_var= 9763 allow_undefined_flag= 9764 always_export_symbols=no 9765 archive_cmds= 9766 archive_expsym_cmds= 9767 compiler_needs_object=no 9768 enable_shared_with_static_runtimes=no 9769 export_dynamic_flag_spec= 9770 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9771 hardcode_automatic=no 9772 hardcode_direct=no 9773 hardcode_direct_absolute=no 9774 hardcode_libdir_flag_spec= 9775 hardcode_libdir_separator= 9776 hardcode_minus_L=no 9777 hardcode_shlibpath_var=unsupported 9778 inherit_rpath=no 9779 link_all_deplibs=unknown 9780 module_cmds= 9781 module_expsym_cmds= 9782 old_archive_from_new_cmds= 9783 old_archive_from_expsyms_cmds= 9784 thread_safe_flag_spec= 9785 whole_archive_flag_spec= 9786 # include_expsyms should be a list of space-separated symbols to be *always* 9787 # included in the symbol list 9788 include_expsyms= 9789 # exclude_expsyms can be an extended regexp of symbols to exclude 9790 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9791 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9792 # as well as any symbol that contains 'd'. 9793 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9794 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9795 # platforms (ab)use it in PIC code, but their linkers get confused if 9796 # the symbol is explicitly referenced. Since portable code cannot 9797 # rely on this symbol name, it's probably fine to never include it in 9798 # preloaded symbol tables. 9799 # Exclude shared library initialization/finalization symbols. 9800 extract_expsyms_cmds= 9801 9802 case $host_os in 9803 cygwin* | mingw* | pw32* | cegcc*) 9804 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9805 # When not using gcc, we currently assume that we are using 9806 # Microsoft Visual C++. 9807 if test yes != "$GCC"; then 9808 with_gnu_ld=no 9809 fi 9810 ;; 9811 interix*) 9812 # we just hope/assume this is gcc and not c89 (= MSVC++) 9813 with_gnu_ld=yes 9814 ;; 9815 openbsd* | bitrig*) 9816 with_gnu_ld=no 9817 ;; 9818 esac 9819 9820 ld_shlibs=yes 9821 9822 # On some targets, GNU ld is compatible enough with the native linker 9823 # that we're better off using the native interface for both. 9824 lt_use_gnu_ld_interface=no 9825 if test yes = "$with_gnu_ld"; then 9826 case $host_os in 9827 aix*) 9828 # The AIX port of GNU ld has always aspired to compatibility 9829 # with the native linker. However, as the warning in the GNU ld 9830 # block says, versions before 2.19.5* couldn't really create working 9831 # shared libraries, regardless of the interface used. 9832 case `$LD -v 2>&1` in 9833 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9834 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9835 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9836 *) 9837 lt_use_gnu_ld_interface=yes 9838 ;; 9839 esac 9840 ;; 9841 *) 9842 lt_use_gnu_ld_interface=yes 9843 ;; 9844 esac 9845 fi 9846 9847 if test yes = "$lt_use_gnu_ld_interface"; then 9848 # If archive_cmds runs LD, not CC, wlarc should be empty 9849 wlarc='$wl' 9850 9851 # Set some defaults for GNU ld with shared library support. These 9852 # are reset later if shared libraries are not supported. Putting them 9853 # here allows them to be overridden if necessary. 9854 runpath_var=LD_RUN_PATH 9855 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9856 export_dynamic_flag_spec='$wl--export-dynamic' 9857 # ancient GNU ld didn't support --whole-archive et. al. 9858 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9859 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9860 else 9861 whole_archive_flag_spec= 9862 fi 9863 supports_anon_versioning=no 9864 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9865 *GNU\ gold*) supports_anon_versioning=yes ;; 9866 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9867 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9868 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9869 *\ 2.11.*) ;; # other 2.11 versions 9870 *) supports_anon_versioning=yes ;; 9871 esac 9872 9873 # See if GNU ld supports shared libraries. 9874 case $host_os in 9875 aix[3-9]*) 9876 # On AIX/PPC, the GNU linker is very broken 9877 if test ia64 != "$host_cpu"; then 9878 ld_shlibs=no 9879 cat <<_LT_EOF 1>&2 9880 9881*** Warning: the GNU linker, at least up to release 2.19, is reported 9882*** to be unable to reliably create shared libraries on AIX. 9883*** Therefore, libtool is disabling shared libraries support. If you 9884*** really care for shared libraries, you may want to install binutils 9885*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9886*** You will then need to restart the configuration process. 9887 9888_LT_EOF 9889 fi 9890 ;; 9891 9892 amigaos*) 9893 case $host_cpu in 9894 powerpc) 9895 # see comment about AmigaOS4 .so support 9896 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9897 archive_expsym_cmds='' 9898 ;; 9899 m68k) 9900 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)' 9901 hardcode_libdir_flag_spec='-L$libdir' 9902 hardcode_minus_L=yes 9903 ;; 9904 esac 9905 ;; 9906 9907 beos*) 9908 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9909 allow_undefined_flag=unsupported 9910 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9911 # support --undefined. This deserves some investigation. FIXME 9912 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9913 else 9914 ld_shlibs=no 9915 fi 9916 ;; 9917 9918 cygwin* | mingw* | pw32* | cegcc*) 9919 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9920 # as there is no search path for DLLs. 9921 hardcode_libdir_flag_spec='-L$libdir' 9922 export_dynamic_flag_spec='$wl--export-all-symbols' 9923 allow_undefined_flag=unsupported 9924 always_export_symbols=no 9925 enable_shared_with_static_runtimes=yes 9926 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' 9927 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9928 9929 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9930 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9931 # If the export-symbols file already is a .def file, use it as 9932 # is; otherwise, prepend EXPORTS... 9933 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9934 cp $export_symbols $output_objdir/$soname.def; 9935 else 9936 echo EXPORTS > $output_objdir/$soname.def; 9937 cat $export_symbols >> $output_objdir/$soname.def; 9938 fi~ 9939 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9940 else 9941 ld_shlibs=no 9942 fi 9943 ;; 9944 9945 haiku*) 9946 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9947 link_all_deplibs=yes 9948 ;; 9949 9950 os2*) 9951 hardcode_libdir_flag_spec='-L$libdir' 9952 hardcode_minus_L=yes 9953 allow_undefined_flag=unsupported 9954 shrext_cmds=.dll 9955 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9956 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9957 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9958 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9959 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9960 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9961 emximp -o $lib $output_objdir/$libname.def' 9962 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9963 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9964 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9965 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9966 prefix_cmds="$SED"~ 9967 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9968 prefix_cmds="$prefix_cmds -e 1d"; 9969 fi~ 9970 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9971 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9972 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9973 emximp -o $lib $output_objdir/$libname.def' 9974 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9975 enable_shared_with_static_runtimes=yes 9976 ;; 9977 9978 interix[3-9]*) 9979 hardcode_direct=no 9980 hardcode_shlibpath_var=no 9981 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9982 export_dynamic_flag_spec='$wl-E' 9983 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9984 # Instead, shared libraries are loaded at an image base (0x10000000 by 9985 # default) and relocated if they conflict, which is a slow very memory 9986 # consuming and fragmenting process. To avoid this, we pick a random, 9987 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9988 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9989 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9990 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' 9991 ;; 9992 9993 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9994 tmp_diet=no 9995 if test linux-dietlibc = "$host_os"; then 9996 case $cc_basename in 9997 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9998 esac 9999 fi 10000 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10001 && test no = "$tmp_diet" 10002 then 10003 tmp_addflag=' $pic_flag' 10004 tmp_sharedflag='-shared' 10005 case $cc_basename,$host_cpu in 10006 pgcc*) # Portland Group C compiler 10007 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' 10008 tmp_addflag=' $pic_flag' 10009 ;; 10010 pgf77* | pgf90* | pgf95* | pgfortran*) 10011 # Portland Group f77 and f90 compilers 10012 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' 10013 tmp_addflag=' $pic_flag -Mnomain' ;; 10014 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10015 tmp_addflag=' -i_dynamic' ;; 10016 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10017 tmp_addflag=' -i_dynamic -nofor_main' ;; 10018 ifc* | ifort*) # Intel Fortran compiler 10019 tmp_addflag=' -nofor_main' ;; 10020 lf95*) # Lahey Fortran 8.1 10021 whole_archive_flag_spec= 10022 tmp_sharedflag='--shared' ;; 10023 nagfor*) # NAGFOR 5.3 10024 tmp_sharedflag='-Wl,-shared' ;; 10025 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10026 tmp_sharedflag='-qmkshrobj' 10027 tmp_addflag= ;; 10028 nvcc*) # Cuda Compiler Driver 2.2 10029 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' 10030 compiler_needs_object=yes 10031 ;; 10032 esac 10033 case `$CC -V 2>&1 | sed 5q` in 10034 *Sun\ C*) # Sun C 5.9 10035 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' 10036 compiler_needs_object=yes 10037 tmp_sharedflag='-G' ;; 10038 *Sun\ F*) # Sun Fortran 8.3 10039 tmp_sharedflag='-G' ;; 10040 esac 10041 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10042 10043 if test yes = "$supports_anon_versioning"; then 10044 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10045 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10046 echo "local: *; };" >> $output_objdir/$libname.ver~ 10047 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10048 fi 10049 10050 case $cc_basename in 10051 tcc*) 10052 export_dynamic_flag_spec='-rdynamic' 10053 ;; 10054 xlf* | bgf* | bgxlf* | mpixlf*) 10055 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10056 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10057 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10058 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10059 if test yes = "$supports_anon_versioning"; then 10060 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10061 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10062 echo "local: *; };" >> $output_objdir/$libname.ver~ 10063 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10064 fi 10065 ;; 10066 esac 10067 else 10068 ld_shlibs=no 10069 fi 10070 ;; 10071 10072 netbsd*) 10073 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10074 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10075 wlarc= 10076 else 10077 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10078 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10079 fi 10080 ;; 10081 10082 solaris*) 10083 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10084 ld_shlibs=no 10085 cat <<_LT_EOF 1>&2 10086 10087*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10088*** create shared libraries on Solaris systems. Therefore, libtool 10089*** is disabling shared libraries support. We urge you to upgrade GNU 10090*** binutils to release 2.9.1 or newer. Another option is to modify 10091*** your PATH or compiler configuration so that the native linker is 10092*** used, and then restart. 10093 10094_LT_EOF 10095 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10096 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10097 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10098 else 10099 ld_shlibs=no 10100 fi 10101 ;; 10102 10103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10104 case `$LD -v 2>&1` in 10105 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10106 ld_shlibs=no 10107 cat <<_LT_EOF 1>&2 10108 10109*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10110*** reliably create shared libraries on SCO systems. Therefore, libtool 10111*** is disabling shared libraries support. We urge you to upgrade GNU 10112*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10113*** your PATH or compiler configuration so that the native linker is 10114*** used, and then restart. 10115 10116_LT_EOF 10117 ;; 10118 *) 10119 # For security reasons, it is highly recommended that you always 10120 # use absolute paths for naming shared libraries, and exclude the 10121 # DT_RUNPATH tag from executables and libraries. But doing so 10122 # requires that you compile everything twice, which is a pain. 10123 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10124 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10125 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10126 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10127 else 10128 ld_shlibs=no 10129 fi 10130 ;; 10131 esac 10132 ;; 10133 10134 sunos4*) 10135 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10136 wlarc= 10137 hardcode_direct=yes 10138 hardcode_shlibpath_var=no 10139 ;; 10140 10141 *) 10142 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10143 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10144 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10145 else 10146 ld_shlibs=no 10147 fi 10148 ;; 10149 esac 10150 10151 if test no = "$ld_shlibs"; then 10152 runpath_var= 10153 hardcode_libdir_flag_spec= 10154 export_dynamic_flag_spec= 10155 whole_archive_flag_spec= 10156 fi 10157 else 10158 # PORTME fill in a description of your system's linker (not GNU ld) 10159 case $host_os in 10160 aix3*) 10161 allow_undefined_flag=unsupported 10162 always_export_symbols=yes 10163 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' 10164 # Note: this linker hardcodes the directories in LIBPATH if there 10165 # are no directories specified by -L. 10166 hardcode_minus_L=yes 10167 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10168 # Neither direct hardcoding nor static linking is supported with a 10169 # broken collect2. 10170 hardcode_direct=unsupported 10171 fi 10172 ;; 10173 10174 aix[4-9]*) 10175 if test ia64 = "$host_cpu"; then 10176 # On IA64, the linker does run time linking by default, so we don't 10177 # have to do anything special. 10178 aix_use_runtimelinking=no 10179 exp_sym_flag='-Bexport' 10180 no_entry_flag= 10181 else 10182 # If we're using GNU nm, then we don't want the "-C" option. 10183 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10184 # Without the "-l" option, or with the "-B" option, AIX nm treats 10185 # weak defined symbols like other global defined symbols, whereas 10186 # GNU nm marks them as "W". 10187 # While the 'weak' keyword is ignored in the Export File, we need 10188 # it in the Import File for the 'aix-soname' feature, so we have 10189 # to replace the "-B" option with "-P" for AIX nm. 10190 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10191 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' 10192 else 10193 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' 10194 fi 10195 aix_use_runtimelinking=no 10196 10197 # Test if we are trying to use run time linking or normal 10198 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10199 # have runtime linking enabled, and use it for executables. 10200 # For shared libraries, we enable/disable runtime linking 10201 # depending on the kind of the shared library created - 10202 # when "with_aix_soname,aix_use_runtimelinking" is: 10203 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10204 # "aix,yes" lib.so shared, rtl:yes, for executables 10205 # lib.a static archive 10206 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10207 # lib.a(lib.so.V) shared, rtl:no, for executables 10208 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10209 # lib.a(lib.so.V) shared, rtl:no 10210 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10211 # lib.a static archive 10212 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10213 for ld_flag in $LDFLAGS; do 10214 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10215 aix_use_runtimelinking=yes 10216 break 10217 fi 10218 done 10219 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10220 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10221 # so we don't have lib.a shared libs to link our executables. 10222 # We have to force runtime linking in this case. 10223 aix_use_runtimelinking=yes 10224 LDFLAGS="$LDFLAGS -Wl,-brtl" 10225 fi 10226 ;; 10227 esac 10228 10229 exp_sym_flag='-bexport' 10230 no_entry_flag='-bnoentry' 10231 fi 10232 10233 # When large executables or shared objects are built, AIX ld can 10234 # have problems creating the table of contents. If linking a library 10235 # or program results in "error TOC overflow" add -mminimal-toc to 10236 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10237 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10238 10239 archive_cmds='' 10240 hardcode_direct=yes 10241 hardcode_direct_absolute=yes 10242 hardcode_libdir_separator=':' 10243 link_all_deplibs=yes 10244 file_list_spec='$wl-f,' 10245 case $with_aix_soname,$aix_use_runtimelinking in 10246 aix,*) ;; # traditional, no import file 10247 svr4,* | *,yes) # use import file 10248 # The Import File defines what to hardcode. 10249 hardcode_direct=no 10250 hardcode_direct_absolute=no 10251 ;; 10252 esac 10253 10254 if test yes = "$GCC"; then 10255 case $host_os in aix4.[012]|aix4.[012].*) 10256 # We only want to do this on AIX 4.2 and lower, the check 10257 # below for broken collect2 doesn't work under 4.3+ 10258 collect2name=`$CC -print-prog-name=collect2` 10259 if test -f "$collect2name" && 10260 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10261 then 10262 # We have reworked collect2 10263 : 10264 else 10265 # We have old collect2 10266 hardcode_direct=unsupported 10267 # It fails to find uninstalled libraries when the uninstalled 10268 # path is not listed in the libpath. Setting hardcode_minus_L 10269 # to unsupported forces relinking 10270 hardcode_minus_L=yes 10271 hardcode_libdir_flag_spec='-L$libdir' 10272 hardcode_libdir_separator= 10273 fi 10274 ;; 10275 esac 10276 shared_flag='-shared' 10277 if test yes = "$aix_use_runtimelinking"; then 10278 shared_flag="$shared_flag "'$wl-G' 10279 fi 10280 # Need to ensure runtime linking is disabled for the traditional 10281 # shared library, or the linker may eventually find shared libraries 10282 # /with/ Import File - we do not want to mix them. 10283 shared_flag_aix='-shared' 10284 shared_flag_svr4='-shared $wl-G' 10285 else 10286 # not using gcc 10287 if test ia64 = "$host_cpu"; then 10288 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10289 # chokes on -Wl,-G. The following line is correct: 10290 shared_flag='-G' 10291 else 10292 if test yes = "$aix_use_runtimelinking"; then 10293 shared_flag='$wl-G' 10294 else 10295 shared_flag='$wl-bM:SRE' 10296 fi 10297 shared_flag_aix='$wl-bM:SRE' 10298 shared_flag_svr4='$wl-G' 10299 fi 10300 fi 10301 10302 export_dynamic_flag_spec='$wl-bexpall' 10303 # It seems that -bexpall does not export symbols beginning with 10304 # underscore (_), so it is better to generate a list of symbols to export. 10305 always_export_symbols=yes 10306 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10307 # Warning - without using the other runtime loading flags (-brtl), 10308 # -berok will link without error, but may produce a broken library. 10309 allow_undefined_flag='-berok' 10310 # Determine the default libpath from the value encoded in an 10311 # empty executable. 10312 if test set = "${lt_cv_aix_libpath+set}"; then 10313 aix_libpath=$lt_cv_aix_libpath 10314else 10315 if ${lt_cv_aix_libpath_+:} false; then : 10316 $as_echo_n "(cached) " >&6 10317else 10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10319/* end confdefs.h. */ 10320 10321int 10322main () 10323{ 10324 10325 ; 10326 return 0; 10327} 10328_ACEOF 10329if ac_fn_c_try_link "$LINENO"; then : 10330 10331 lt_aix_libpath_sed=' 10332 /Import File Strings/,/^$/ { 10333 /^0/ { 10334 s/^0 *\([^ ]*\) *$/\1/ 10335 p 10336 } 10337 }' 10338 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10339 # Check for a 64-bit object if we didn't find anything. 10340 if test -z "$lt_cv_aix_libpath_"; then 10341 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10342 fi 10343fi 10344rm -f core conftest.err conftest.$ac_objext \ 10345 conftest$ac_exeext conftest.$ac_ext 10346 if test -z "$lt_cv_aix_libpath_"; then 10347 lt_cv_aix_libpath_=/usr/lib:/lib 10348 fi 10349 10350fi 10351 10352 aix_libpath=$lt_cv_aix_libpath_ 10353fi 10354 10355 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10356 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 10357 else 10358 if test ia64 = "$host_cpu"; then 10359 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10360 allow_undefined_flag="-z nodefs" 10361 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" 10362 else 10363 # Determine the default libpath from the value encoded in an 10364 # empty executable. 10365 if test set = "${lt_cv_aix_libpath+set}"; then 10366 aix_libpath=$lt_cv_aix_libpath 10367else 10368 if ${lt_cv_aix_libpath_+:} false; then : 10369 $as_echo_n "(cached) " >&6 10370else 10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10372/* end confdefs.h. */ 10373 10374int 10375main () 10376{ 10377 10378 ; 10379 return 0; 10380} 10381_ACEOF 10382if ac_fn_c_try_link "$LINENO"; then : 10383 10384 lt_aix_libpath_sed=' 10385 /Import File Strings/,/^$/ { 10386 /^0/ { 10387 s/^0 *\([^ ]*\) *$/\1/ 10388 p 10389 } 10390 }' 10391 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10392 # Check for a 64-bit object if we didn't find anything. 10393 if test -z "$lt_cv_aix_libpath_"; then 10394 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10395 fi 10396fi 10397rm -f core conftest.err conftest.$ac_objext \ 10398 conftest$ac_exeext conftest.$ac_ext 10399 if test -z "$lt_cv_aix_libpath_"; then 10400 lt_cv_aix_libpath_=/usr/lib:/lib 10401 fi 10402 10403fi 10404 10405 aix_libpath=$lt_cv_aix_libpath_ 10406fi 10407 10408 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10409 # Warning - without using the other run time loading flags, 10410 # -berok will link without error, but may produce a broken library. 10411 no_undefined_flag=' $wl-bernotok' 10412 allow_undefined_flag=' $wl-berok' 10413 if test yes = "$with_gnu_ld"; then 10414 # We only use this code for GNU lds that support --whole-archive. 10415 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10416 else 10417 # Exported symbols can be pulled into shared objects from archives 10418 whole_archive_flag_spec='$convenience' 10419 fi 10420 archive_cmds_need_lc=yes 10421 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10422 # -brtl affects multiple linker settings, -berok does not and is overridden later 10423 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10424 if test svr4 != "$with_aix_soname"; then 10425 # This is similar to how AIX traditionally builds its shared libraries. 10426 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' 10427 fi 10428 if test aix != "$with_aix_soname"; then 10429 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' 10430 else 10431 # used by -dlpreopen to get the symbols 10432 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10433 fi 10434 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10435 fi 10436 fi 10437 ;; 10438 10439 amigaos*) 10440 case $host_cpu in 10441 powerpc) 10442 # see comment about AmigaOS4 .so support 10443 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10444 archive_expsym_cmds='' 10445 ;; 10446 m68k) 10447 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)' 10448 hardcode_libdir_flag_spec='-L$libdir' 10449 hardcode_minus_L=yes 10450 ;; 10451 esac 10452 ;; 10453 10454 bsdi[45]*) 10455 export_dynamic_flag_spec=-rdynamic 10456 ;; 10457 10458 cygwin* | mingw* | pw32* | cegcc*) 10459 # When not using gcc, we currently assume that we are using 10460 # Microsoft Visual C++. 10461 # hardcode_libdir_flag_spec is actually meaningless, as there is 10462 # no search path for DLLs. 10463 case $cc_basename in 10464 cl*) 10465 # Native MSVC 10466 hardcode_libdir_flag_spec=' ' 10467 allow_undefined_flag=unsupported 10468 always_export_symbols=yes 10469 file_list_spec='@' 10470 # Tell ltmain to make .lib files, not .a files. 10471 libext=lib 10472 # Tell ltmain to make .dll files, not .so files. 10473 shrext_cmds=.dll 10474 # FIXME: Setting linknames here is a bad hack. 10475 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10476 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10477 cp "$export_symbols" "$output_objdir/$soname.def"; 10478 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10479 else 10480 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10481 fi~ 10482 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10483 linknames=' 10484 # The linker will not automatically build a static lib if we build a DLL. 10485 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10486 enable_shared_with_static_runtimes=yes 10487 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10488 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10489 # Don't use ranlib 10490 old_postinstall_cmds='chmod 644 $oldlib' 10491 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10492 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10493 case $lt_outputfile in 10494 *.exe|*.EXE) ;; 10495 *) 10496 lt_outputfile=$lt_outputfile.exe 10497 lt_tool_outputfile=$lt_tool_outputfile.exe 10498 ;; 10499 esac~ 10500 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10501 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10502 $RM "$lt_outputfile.manifest"; 10503 fi' 10504 ;; 10505 *) 10506 # Assume MSVC wrapper 10507 hardcode_libdir_flag_spec=' ' 10508 allow_undefined_flag=unsupported 10509 # Tell ltmain to make .lib files, not .a files. 10510 libext=lib 10511 # Tell ltmain to make .dll files, not .so files. 10512 shrext_cmds=.dll 10513 # FIXME: Setting linknames here is a bad hack. 10514 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10515 # The linker will automatically build a .lib file if we build a DLL. 10516 old_archive_from_new_cmds='true' 10517 # FIXME: Should let the user specify the lib program. 10518 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10519 enable_shared_with_static_runtimes=yes 10520 ;; 10521 esac 10522 ;; 10523 10524 darwin* | rhapsody*) 10525 10526 10527 archive_cmds_need_lc=no 10528 hardcode_direct=no 10529 hardcode_automatic=yes 10530 hardcode_shlibpath_var=unsupported 10531 if test yes = "$lt_cv_ld_force_load"; then 10532 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\"`' 10533 10534 else 10535 whole_archive_flag_spec='' 10536 fi 10537 link_all_deplibs=yes 10538 allow_undefined_flag=$_lt_dar_allow_undefined 10539 case $cc_basename in 10540 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10541 *) _lt_dar_can_shared=$GCC ;; 10542 esac 10543 if test yes = "$_lt_dar_can_shared"; then 10544 output_verbose_link_cmd=func_echo_all 10545 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10546 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10547 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" 10548 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" 10549 10550 else 10551 ld_shlibs=no 10552 fi 10553 10554 ;; 10555 10556 dgux*) 10557 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10558 hardcode_libdir_flag_spec='-L$libdir' 10559 hardcode_shlibpath_var=no 10560 ;; 10561 10562 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10563 # support. Future versions do this automatically, but an explicit c++rt0.o 10564 # does not break anything, and helps significantly (at the cost of a little 10565 # extra space). 10566 freebsd2.2*) 10567 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10568 hardcode_libdir_flag_spec='-R$libdir' 10569 hardcode_direct=yes 10570 hardcode_shlibpath_var=no 10571 ;; 10572 10573 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10574 freebsd2.*) 10575 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10576 hardcode_direct=yes 10577 hardcode_minus_L=yes 10578 hardcode_shlibpath_var=no 10579 ;; 10580 10581 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10582 freebsd* | dragonfly*) 10583 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10584 hardcode_libdir_flag_spec='-R$libdir' 10585 hardcode_direct=yes 10586 hardcode_shlibpath_var=no 10587 ;; 10588 10589 hpux9*) 10590 if test yes = "$GCC"; then 10591 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' 10592 else 10593 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' 10594 fi 10595 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10596 hardcode_libdir_separator=: 10597 hardcode_direct=yes 10598 10599 # hardcode_minus_L: Not really in the search PATH, 10600 # but as the default location of the library. 10601 hardcode_minus_L=yes 10602 export_dynamic_flag_spec='$wl-E' 10603 ;; 10604 10605 hpux10*) 10606 if test yes,no = "$GCC,$with_gnu_ld"; then 10607 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10608 else 10609 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10610 fi 10611 if test no = "$with_gnu_ld"; then 10612 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10613 hardcode_libdir_separator=: 10614 hardcode_direct=yes 10615 hardcode_direct_absolute=yes 10616 export_dynamic_flag_spec='$wl-E' 10617 # hardcode_minus_L: Not really in the search PATH, 10618 # but as the default location of the library. 10619 hardcode_minus_L=yes 10620 fi 10621 ;; 10622 10623 hpux11*) 10624 if test yes,no = "$GCC,$with_gnu_ld"; then 10625 case $host_cpu in 10626 hppa*64*) 10627 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10628 ;; 10629 ia64*) 10630 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10631 ;; 10632 *) 10633 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10634 ;; 10635 esac 10636 else 10637 case $host_cpu in 10638 hppa*64*) 10639 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10640 ;; 10641 ia64*) 10642 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10643 ;; 10644 *) 10645 10646 # Older versions of the 11.00 compiler do not understand -b yet 10647 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10649$as_echo_n "checking if $CC understands -b... " >&6; } 10650if ${lt_cv_prog_compiler__b+:} false; then : 10651 $as_echo_n "(cached) " >&6 10652else 10653 lt_cv_prog_compiler__b=no 10654 save_LDFLAGS=$LDFLAGS 10655 LDFLAGS="$LDFLAGS -b" 10656 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10657 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10658 # The linker can only warn and ignore the option if not recognized 10659 # So say no if there are warnings 10660 if test -s conftest.err; then 10661 # Append any errors to the config.log. 10662 cat conftest.err 1>&5 10663 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10664 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10665 if diff conftest.exp conftest.er2 >/dev/null; then 10666 lt_cv_prog_compiler__b=yes 10667 fi 10668 else 10669 lt_cv_prog_compiler__b=yes 10670 fi 10671 fi 10672 $RM -r conftest* 10673 LDFLAGS=$save_LDFLAGS 10674 10675fi 10676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10677$as_echo "$lt_cv_prog_compiler__b" >&6; } 10678 10679if test yes = "$lt_cv_prog_compiler__b"; then 10680 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10681else 10682 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10683fi 10684 10685 ;; 10686 esac 10687 fi 10688 if test no = "$with_gnu_ld"; then 10689 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10690 hardcode_libdir_separator=: 10691 10692 case $host_cpu in 10693 hppa*64*|ia64*) 10694 hardcode_direct=no 10695 hardcode_shlibpath_var=no 10696 ;; 10697 *) 10698 hardcode_direct=yes 10699 hardcode_direct_absolute=yes 10700 export_dynamic_flag_spec='$wl-E' 10701 10702 # hardcode_minus_L: Not really in the search PATH, 10703 # but as the default location of the library. 10704 hardcode_minus_L=yes 10705 ;; 10706 esac 10707 fi 10708 ;; 10709 10710 irix5* | irix6* | nonstopux*) 10711 if test yes = "$GCC"; then 10712 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' 10713 # Try to use the -exported_symbol ld option, if it does not 10714 # work, assume that -exports_file does not work either and 10715 # implicitly export all symbols. 10716 # This should be the same for all languages, so no per-tag cache variable. 10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10718$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10719if ${lt_cv_irix_exported_symbol+:} false; then : 10720 $as_echo_n "(cached) " >&6 10721else 10722 save_LDFLAGS=$LDFLAGS 10723 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10725/* end confdefs.h. */ 10726int foo (void) { return 0; } 10727_ACEOF 10728if ac_fn_c_try_link "$LINENO"; then : 10729 lt_cv_irix_exported_symbol=yes 10730else 10731 lt_cv_irix_exported_symbol=no 10732fi 10733rm -f core conftest.err conftest.$ac_objext \ 10734 conftest$ac_exeext conftest.$ac_ext 10735 LDFLAGS=$save_LDFLAGS 10736fi 10737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10738$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10739 if test yes = "$lt_cv_irix_exported_symbol"; then 10740 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' 10741 fi 10742 else 10743 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' 10744 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' 10745 fi 10746 archive_cmds_need_lc='no' 10747 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10748 hardcode_libdir_separator=: 10749 inherit_rpath=yes 10750 link_all_deplibs=yes 10751 ;; 10752 10753 linux*) 10754 case $cc_basename in 10755 tcc*) 10756 # Fabrice Bellard et al's Tiny C Compiler 10757 ld_shlibs=yes 10758 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10759 ;; 10760 esac 10761 ;; 10762 10763 netbsd*) 10764 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10765 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10766 else 10767 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10768 fi 10769 hardcode_libdir_flag_spec='-R$libdir' 10770 hardcode_direct=yes 10771 hardcode_shlibpath_var=no 10772 ;; 10773 10774 newsos6) 10775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10776 hardcode_direct=yes 10777 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10778 hardcode_libdir_separator=: 10779 hardcode_shlibpath_var=no 10780 ;; 10781 10782 *nto* | *qnx*) 10783 ;; 10784 10785 openbsd* | bitrig*) 10786 if test -f /usr/libexec/ld.so; then 10787 hardcode_direct=yes 10788 hardcode_shlibpath_var=no 10789 hardcode_direct_absolute=yes 10790 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10791 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10792 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10793 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10794 export_dynamic_flag_spec='$wl-E' 10795 else 10796 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10797 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10798 fi 10799 else 10800 ld_shlibs=no 10801 fi 10802 ;; 10803 10804 os2*) 10805 hardcode_libdir_flag_spec='-L$libdir' 10806 hardcode_minus_L=yes 10807 allow_undefined_flag=unsupported 10808 shrext_cmds=.dll 10809 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10810 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10811 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10812 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10813 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10814 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10815 emximp -o $lib $output_objdir/$libname.def' 10816 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10817 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10818 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10819 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10820 prefix_cmds="$SED"~ 10821 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10822 prefix_cmds="$prefix_cmds -e 1d"; 10823 fi~ 10824 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10825 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10826 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10827 emximp -o $lib $output_objdir/$libname.def' 10828 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10829 enable_shared_with_static_runtimes=yes 10830 ;; 10831 10832 osf3*) 10833 if test yes = "$GCC"; then 10834 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10835 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' 10836 else 10837 allow_undefined_flag=' -expect_unresolved \*' 10838 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' 10839 fi 10840 archive_cmds_need_lc='no' 10841 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10842 hardcode_libdir_separator=: 10843 ;; 10844 10845 osf4* | osf5*) # as osf3* with the addition of -msym flag 10846 if test yes = "$GCC"; then 10847 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10848 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' 10849 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10850 else 10851 allow_undefined_flag=' -expect_unresolved \*' 10852 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' 10853 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~ 10854 $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' 10855 10856 # Both c and cxx compiler support -rpath directly 10857 hardcode_libdir_flag_spec='-rpath $libdir' 10858 fi 10859 archive_cmds_need_lc='no' 10860 hardcode_libdir_separator=: 10861 ;; 10862 10863 solaris*) 10864 no_undefined_flag=' -z defs' 10865 if test yes = "$GCC"; then 10866 wlarc='$wl' 10867 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10868 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10869 $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' 10870 else 10871 case `$CC -V 2>&1` in 10872 *"Compilers 5.0"*) 10873 wlarc='' 10874 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10875 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10876 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10877 ;; 10878 *) 10879 wlarc='$wl' 10880 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10881 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10882 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10883 ;; 10884 esac 10885 fi 10886 hardcode_libdir_flag_spec='-R$libdir' 10887 hardcode_shlibpath_var=no 10888 case $host_os in 10889 solaris2.[0-5] | solaris2.[0-5].*) ;; 10890 *) 10891 # The compiler driver will combine and reorder linker options, 10892 # but understands '-z linker_flag'. GCC discards it without '$wl', 10893 # but is careful enough not to reorder. 10894 # Supported since Solaris 2.6 (maybe 2.5.1?) 10895 if test yes = "$GCC"; then 10896 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10897 else 10898 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10899 fi 10900 ;; 10901 esac 10902 link_all_deplibs=yes 10903 ;; 10904 10905 sunos4*) 10906 if test sequent = "$host_vendor"; then 10907 # Use $CC to link under sequent, because it throws in some extra .o 10908 # files that make .init and .fini sections work. 10909 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10910 else 10911 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10912 fi 10913 hardcode_libdir_flag_spec='-L$libdir' 10914 hardcode_direct=yes 10915 hardcode_minus_L=yes 10916 hardcode_shlibpath_var=no 10917 ;; 10918 10919 sysv4) 10920 case $host_vendor in 10921 sni) 10922 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10923 hardcode_direct=yes # is this really true??? 10924 ;; 10925 siemens) 10926 ## LD is ld it makes a PLAMLIB 10927 ## CC just makes a GrossModule. 10928 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10929 reload_cmds='$CC -r -o $output$reload_objs' 10930 hardcode_direct=no 10931 ;; 10932 motorola) 10933 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10934 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10935 ;; 10936 esac 10937 runpath_var='LD_RUN_PATH' 10938 hardcode_shlibpath_var=no 10939 ;; 10940 10941 sysv4.3*) 10942 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10943 hardcode_shlibpath_var=no 10944 export_dynamic_flag_spec='-Bexport' 10945 ;; 10946 10947 sysv4*MP*) 10948 if test -d /usr/nec; then 10949 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10950 hardcode_shlibpath_var=no 10951 runpath_var=LD_RUN_PATH 10952 hardcode_runpath_var=yes 10953 ld_shlibs=yes 10954 fi 10955 ;; 10956 10957 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10958 no_undefined_flag='$wl-z,text' 10959 archive_cmds_need_lc=no 10960 hardcode_shlibpath_var=no 10961 runpath_var='LD_RUN_PATH' 10962 10963 if test yes = "$GCC"; then 10964 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10965 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10966 else 10967 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10968 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10969 fi 10970 ;; 10971 10972 sysv5* | sco3.2v5* | sco5v6*) 10973 # Note: We CANNOT use -z defs as we might desire, because we do not 10974 # link with -lc, and that would cause any symbols used from libc to 10975 # always be unresolved, which means just about no library would 10976 # ever link correctly. If we're not using GNU ld we use -z text 10977 # though, which does catch some bad symbols but isn't as heavy-handed 10978 # as -z defs. 10979 no_undefined_flag='$wl-z,text' 10980 allow_undefined_flag='$wl-z,nodefs' 10981 archive_cmds_need_lc=no 10982 hardcode_shlibpath_var=no 10983 hardcode_libdir_flag_spec='$wl-R,$libdir' 10984 hardcode_libdir_separator=':' 10985 link_all_deplibs=yes 10986 export_dynamic_flag_spec='$wl-Bexport' 10987 runpath_var='LD_RUN_PATH' 10988 10989 if test yes = "$GCC"; then 10990 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10991 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10992 else 10993 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10994 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10995 fi 10996 ;; 10997 10998 uts4*) 10999 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11000 hardcode_libdir_flag_spec='-L$libdir' 11001 hardcode_shlibpath_var=no 11002 ;; 11003 11004 *) 11005 ld_shlibs=no 11006 ;; 11007 esac 11008 11009 if test sni = "$host_vendor"; then 11010 case $host in 11011 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11012 export_dynamic_flag_spec='$wl-Blargedynsym' 11013 ;; 11014 esac 11015 fi 11016 fi 11017 11018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11019$as_echo "$ld_shlibs" >&6; } 11020test no = "$ld_shlibs" && can_build_shared=no 11021 11022with_gnu_ld=$with_gnu_ld 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038# 11039# Do we need to explicitly link libc? 11040# 11041case "x$archive_cmds_need_lc" in 11042x|xyes) 11043 # Assume -lc should be added 11044 archive_cmds_need_lc=yes 11045 11046 if test yes,yes = "$GCC,$enable_shared"; then 11047 case $archive_cmds in 11048 *'~'*) 11049 # FIXME: we may have to deal with multi-command sequences. 11050 ;; 11051 '$CC '*) 11052 # Test whether the compiler implicitly links with -lc since on some 11053 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11054 # to ld, don't add -lc before -lgcc. 11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11056$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11057if ${lt_cv_archive_cmds_need_lc+:} false; then : 11058 $as_echo_n "(cached) " >&6 11059else 11060 $RM conftest* 11061 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11062 11063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11064 (eval $ac_compile) 2>&5 11065 ac_status=$? 11066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11067 test $ac_status = 0; } 2>conftest.err; then 11068 soname=conftest 11069 lib=conftest 11070 libobjs=conftest.$ac_objext 11071 deplibs= 11072 wl=$lt_prog_compiler_wl 11073 pic_flag=$lt_prog_compiler_pic 11074 compiler_flags=-v 11075 linker_flags=-v 11076 verstring= 11077 output_objdir=. 11078 libname=conftest 11079 lt_save_allow_undefined_flag=$allow_undefined_flag 11080 allow_undefined_flag= 11081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11082 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11083 ac_status=$? 11084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11085 test $ac_status = 0; } 11086 then 11087 lt_cv_archive_cmds_need_lc=no 11088 else 11089 lt_cv_archive_cmds_need_lc=yes 11090 fi 11091 allow_undefined_flag=$lt_save_allow_undefined_flag 11092 else 11093 cat conftest.err 1>&5 11094 fi 11095 $RM conftest* 11096 11097fi 11098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11099$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11100 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11101 ;; 11102 esac 11103 fi 11104 ;; 11105esac 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 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11259$as_echo_n "checking dynamic linker characteristics... " >&6; } 11260 11261if test yes = "$GCC"; then 11262 case $host_os in 11263 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11264 *) lt_awk_arg='/^libraries:/' ;; 11265 esac 11266 case $host_os in 11267 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11268 *) lt_sed_strip_eq='s|=/|/|g' ;; 11269 esac 11270 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11271 case $lt_search_path_spec in 11272 *\;*) 11273 # if the path contains ";" then we assume it to be the separator 11274 # otherwise default to the standard path separator (i.e. ":") - it is 11275 # assumed that no part of a normal pathname contains ";" but that should 11276 # okay in the real world where ";" in dirpaths is itself problematic. 11277 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11278 ;; 11279 *) 11280 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11281 ;; 11282 esac 11283 # Ok, now we have the path, separated by spaces, we can step through it 11284 # and add multilib dir if necessary... 11285 lt_tmp_lt_search_path_spec= 11286 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11287 # ...but if some path component already ends with the multilib dir we assume 11288 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11289 case "$lt_multi_os_dir; $lt_search_path_spec " in 11290 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11291 lt_multi_os_dir= 11292 ;; 11293 esac 11294 for lt_sys_path in $lt_search_path_spec; do 11295 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11296 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11297 elif test -n "$lt_multi_os_dir"; then 11298 test -d "$lt_sys_path" && \ 11299 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11300 fi 11301 done 11302 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11303BEGIN {RS = " "; FS = "/|\n";} { 11304 lt_foo = ""; 11305 lt_count = 0; 11306 for (lt_i = NF; lt_i > 0; lt_i--) { 11307 if ($lt_i != "" && $lt_i != ".") { 11308 if ($lt_i == "..") { 11309 lt_count++; 11310 } else { 11311 if (lt_count == 0) { 11312 lt_foo = "/" $lt_i lt_foo; 11313 } else { 11314 lt_count--; 11315 } 11316 } 11317 } 11318 } 11319 if (lt_foo != "") { lt_freq[lt_foo]++; } 11320 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11321}'` 11322 # AWK program above erroneously prepends '/' to C:/dos/paths 11323 # for these hosts. 11324 case $host_os in 11325 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11326 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11327 esac 11328 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11329else 11330 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11331fi 11332library_names_spec= 11333libname_spec='lib$name' 11334soname_spec= 11335shrext_cmds=.so 11336postinstall_cmds= 11337postuninstall_cmds= 11338finish_cmds= 11339finish_eval= 11340shlibpath_var= 11341shlibpath_overrides_runpath=unknown 11342version_type=none 11343dynamic_linker="$host_os ld.so" 11344sys_lib_dlsearch_path_spec="/lib /usr/lib" 11345need_lib_prefix=unknown 11346hardcode_into_libs=no 11347 11348# when you set need_version to no, make sure it does not cause -set_version 11349# flags to be left without arguments 11350need_version=unknown 11351 11352 11353 11354case $host_os in 11355aix3*) 11356 version_type=linux # correct to gnu/linux during the next big refactor 11357 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11358 shlibpath_var=LIBPATH 11359 11360 # AIX 3 has no versioning support, so we append a major version to the name. 11361 soname_spec='$libname$release$shared_ext$major' 11362 ;; 11363 11364aix[4-9]*) 11365 version_type=linux # correct to gnu/linux during the next big refactor 11366 need_lib_prefix=no 11367 need_version=no 11368 hardcode_into_libs=yes 11369 if test ia64 = "$host_cpu"; then 11370 # AIX 5 supports IA64 11371 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11372 shlibpath_var=LD_LIBRARY_PATH 11373 else 11374 # With GCC up to 2.95.x, collect2 would create an import file 11375 # for dependence libraries. The import file would start with 11376 # the line '#! .'. This would cause the generated library to 11377 # depend on '.', always an invalid library. This was fixed in 11378 # development snapshots of GCC prior to 3.0. 11379 case $host_os in 11380 aix4 | aix4.[01] | aix4.[01].*) 11381 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11382 echo ' yes ' 11383 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11384 : 11385 else 11386 can_build_shared=no 11387 fi 11388 ;; 11389 esac 11390 # Using Import Files as archive members, it is possible to support 11391 # filename-based versioning of shared library archives on AIX. While 11392 # this would work for both with and without runtime linking, it will 11393 # prevent static linking of such archives. So we do filename-based 11394 # shared library versioning with .so extension only, which is used 11395 # when both runtime linking and shared linking is enabled. 11396 # Unfortunately, runtime linking may impact performance, so we do 11397 # not want this to be the default eventually. Also, we use the 11398 # versioned .so libs for executables only if there is the -brtl 11399 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11400 # To allow for filename-based versioning support, we need to create 11401 # libNAME.so.V as an archive file, containing: 11402 # *) an Import File, referring to the versioned filename of the 11403 # archive as well as the shared archive member, telling the 11404 # bitwidth (32 or 64) of that shared object, and providing the 11405 # list of exported symbols of that shared object, eventually 11406 # decorated with the 'weak' keyword 11407 # *) the shared object with the F_LOADONLY flag set, to really avoid 11408 # it being seen by the linker. 11409 # At run time we better use the real file rather than another symlink, 11410 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11411 11412 case $with_aix_soname,$aix_use_runtimelinking in 11413 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11414 # soname into executable. Probably we can add versioning support to 11415 # collect2, so additional links can be useful in future. 11416 aix,yes) # traditional libtool 11417 dynamic_linker='AIX unversionable lib.so' 11418 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11419 # instead of lib<name>.a to let people know that these are not 11420 # typical AIX shared libraries. 11421 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11422 ;; 11423 aix,no) # traditional AIX only 11424 dynamic_linker='AIX lib.a(lib.so.V)' 11425 # We preserve .a as extension for shared libraries through AIX4.2 11426 # and later when we are not doing run time linking. 11427 library_names_spec='$libname$release.a $libname.a' 11428 soname_spec='$libname$release$shared_ext$major' 11429 ;; 11430 svr4,*) # full svr4 only 11431 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11432 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11433 # We do not specify a path in Import Files, so LIBPATH fires. 11434 shlibpath_overrides_runpath=yes 11435 ;; 11436 *,yes) # both, prefer svr4 11437 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11438 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11439 # unpreferred sharedlib libNAME.a needs extra handling 11440 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"' 11441 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"' 11442 # We do not specify a path in Import Files, so LIBPATH fires. 11443 shlibpath_overrides_runpath=yes 11444 ;; 11445 *,no) # both, prefer aix 11446 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11447 library_names_spec='$libname$release.a $libname.a' 11448 soname_spec='$libname$release$shared_ext$major' 11449 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11450 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)' 11451 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"' 11452 ;; 11453 esac 11454 shlibpath_var=LIBPATH 11455 fi 11456 ;; 11457 11458amigaos*) 11459 case $host_cpu in 11460 powerpc) 11461 # Since July 2007 AmigaOS4 officially supports .so libraries. 11462 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11463 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11464 ;; 11465 m68k) 11466 library_names_spec='$libname.ixlibrary $libname.a' 11467 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11468 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' 11469 ;; 11470 esac 11471 ;; 11472 11473beos*) 11474 library_names_spec='$libname$shared_ext' 11475 dynamic_linker="$host_os ld.so" 11476 shlibpath_var=LIBRARY_PATH 11477 ;; 11478 11479bsdi[45]*) 11480 version_type=linux # correct to gnu/linux during the next big refactor 11481 need_version=no 11482 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11483 soname_spec='$libname$release$shared_ext$major' 11484 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11485 shlibpath_var=LD_LIBRARY_PATH 11486 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11487 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11488 # the default ld.so.conf also contains /usr/contrib/lib and 11489 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11490 # libtool to hard-code these into programs 11491 ;; 11492 11493cygwin* | mingw* | pw32* | cegcc*) 11494 version_type=windows 11495 shrext_cmds=.dll 11496 need_version=no 11497 need_lib_prefix=no 11498 11499 case $GCC,$cc_basename in 11500 yes,*) 11501 # gcc 11502 library_names_spec='$libname.dll.a' 11503 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11504 postinstall_cmds='base_file=`basename \$file`~ 11505 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11506 dldir=$destdir/`dirname \$dlpath`~ 11507 test -d \$dldir || mkdir -p \$dldir~ 11508 $install_prog $dir/$dlname \$dldir/$dlname~ 11509 chmod a+x \$dldir/$dlname~ 11510 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11511 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11512 fi' 11513 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11514 dlpath=$dir/\$dldll~ 11515 $RM \$dlpath' 11516 shlibpath_overrides_runpath=yes 11517 11518 case $host_os in 11519 cygwin*) 11520 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11521 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11522 11523 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11524 ;; 11525 mingw* | cegcc*) 11526 # MinGW DLLs use traditional 'lib' prefix 11527 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11528 ;; 11529 pw32*) 11530 # pw32 DLLs use 'pw' prefix rather than 'lib' 11531 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11532 ;; 11533 esac 11534 dynamic_linker='Win32 ld.exe' 11535 ;; 11536 11537 *,cl*) 11538 # Native MSVC 11539 libname_spec='$name' 11540 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11541 library_names_spec='$libname.dll.lib' 11542 11543 case $build_os in 11544 mingw*) 11545 sys_lib_search_path_spec= 11546 lt_save_ifs=$IFS 11547 IFS=';' 11548 for lt_path in $LIB 11549 do 11550 IFS=$lt_save_ifs 11551 # Let DOS variable expansion print the short 8.3 style file name. 11552 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11553 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11554 done 11555 IFS=$lt_save_ifs 11556 # Convert to MSYS style. 11557 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11558 ;; 11559 cygwin*) 11560 # Convert to unix form, then to dos form, then back to unix form 11561 # but this time dos style (no spaces!) so that the unix form looks 11562 # like /cygdrive/c/PROGRA~1:/cygdr... 11563 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11564 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11565 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11566 ;; 11567 *) 11568 sys_lib_search_path_spec=$LIB 11569 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11570 # It is most probably a Windows format PATH. 11571 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11572 else 11573 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11574 fi 11575 # FIXME: find the short name or the path components, as spaces are 11576 # common. (e.g. "Program Files" -> "PROGRA~1") 11577 ;; 11578 esac 11579 11580 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11581 postinstall_cmds='base_file=`basename \$file`~ 11582 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11583 dldir=$destdir/`dirname \$dlpath`~ 11584 test -d \$dldir || mkdir -p \$dldir~ 11585 $install_prog $dir/$dlname \$dldir/$dlname' 11586 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11587 dlpath=$dir/\$dldll~ 11588 $RM \$dlpath' 11589 shlibpath_overrides_runpath=yes 11590 dynamic_linker='Win32 link.exe' 11591 ;; 11592 11593 *) 11594 # Assume MSVC wrapper 11595 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11596 dynamic_linker='Win32 ld.exe' 11597 ;; 11598 esac 11599 # FIXME: first we should search . and the directory the executable is in 11600 shlibpath_var=PATH 11601 ;; 11602 11603darwin* | rhapsody*) 11604 dynamic_linker="$host_os dyld" 11605 version_type=darwin 11606 need_lib_prefix=no 11607 need_version=no 11608 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11609 soname_spec='$libname$release$major$shared_ext' 11610 shlibpath_overrides_runpath=yes 11611 shlibpath_var=DYLD_LIBRARY_PATH 11612 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11613 11614 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11615 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11616 ;; 11617 11618dgux*) 11619 version_type=linux # correct to gnu/linux during the next big refactor 11620 need_lib_prefix=no 11621 need_version=no 11622 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11623 soname_spec='$libname$release$shared_ext$major' 11624 shlibpath_var=LD_LIBRARY_PATH 11625 ;; 11626 11627freebsd* | dragonfly*) 11628 # DragonFly does not have aout. When/if they implement a new 11629 # versioning mechanism, adjust this. 11630 if test -x /usr/bin/objformat; then 11631 objformat=`/usr/bin/objformat` 11632 else 11633 case $host_os in 11634 freebsd[23].*) objformat=aout ;; 11635 *) objformat=elf ;; 11636 esac 11637 fi 11638 version_type=freebsd-$objformat 11639 case $version_type in 11640 freebsd-elf*) 11641 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11642 soname_spec='$libname$release$shared_ext$major' 11643 need_version=no 11644 need_lib_prefix=no 11645 ;; 11646 freebsd-*) 11647 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11648 need_version=yes 11649 ;; 11650 esac 11651 shlibpath_var=LD_LIBRARY_PATH 11652 case $host_os in 11653 freebsd2.*) 11654 shlibpath_overrides_runpath=yes 11655 ;; 11656 freebsd3.[01]* | freebsdelf3.[01]*) 11657 shlibpath_overrides_runpath=yes 11658 hardcode_into_libs=yes 11659 ;; 11660 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11661 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11662 shlibpath_overrides_runpath=no 11663 hardcode_into_libs=yes 11664 ;; 11665 *) # from 4.6 on, and DragonFly 11666 shlibpath_overrides_runpath=yes 11667 hardcode_into_libs=yes 11668 ;; 11669 esac 11670 ;; 11671 11672haiku*) 11673 version_type=linux # correct to gnu/linux during the next big refactor 11674 need_lib_prefix=no 11675 need_version=no 11676 dynamic_linker="$host_os runtime_loader" 11677 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11678 soname_spec='$libname$release$shared_ext$major' 11679 shlibpath_var=LIBRARY_PATH 11680 shlibpath_overrides_runpath=no 11681 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11682 hardcode_into_libs=yes 11683 ;; 11684 11685hpux9* | hpux10* | hpux11*) 11686 # Give a soname corresponding to the major version so that dld.sl refuses to 11687 # link against other versions. 11688 version_type=sunos 11689 need_lib_prefix=no 11690 need_version=no 11691 case $host_cpu in 11692 ia64*) 11693 shrext_cmds='.so' 11694 hardcode_into_libs=yes 11695 dynamic_linker="$host_os dld.so" 11696 shlibpath_var=LD_LIBRARY_PATH 11697 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11698 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11699 soname_spec='$libname$release$shared_ext$major' 11700 if test 32 = "$HPUX_IA64_MODE"; then 11701 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11702 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11703 else 11704 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11705 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11706 fi 11707 ;; 11708 hppa*64*) 11709 shrext_cmds='.sl' 11710 hardcode_into_libs=yes 11711 dynamic_linker="$host_os dld.sl" 11712 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11713 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11714 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11715 soname_spec='$libname$release$shared_ext$major' 11716 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11717 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11718 ;; 11719 *) 11720 shrext_cmds='.sl' 11721 dynamic_linker="$host_os dld.sl" 11722 shlibpath_var=SHLIB_PATH 11723 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11724 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11725 soname_spec='$libname$release$shared_ext$major' 11726 ;; 11727 esac 11728 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11729 postinstall_cmds='chmod 555 $lib' 11730 # or fails outright, so override atomically: 11731 install_override_mode=555 11732 ;; 11733 11734interix[3-9]*) 11735 version_type=linux # correct to gnu/linux during the next big refactor 11736 need_lib_prefix=no 11737 need_version=no 11738 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11739 soname_spec='$libname$release$shared_ext$major' 11740 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11741 shlibpath_var=LD_LIBRARY_PATH 11742 shlibpath_overrides_runpath=no 11743 hardcode_into_libs=yes 11744 ;; 11745 11746irix5* | irix6* | nonstopux*) 11747 case $host_os in 11748 nonstopux*) version_type=nonstopux ;; 11749 *) 11750 if test yes = "$lt_cv_prog_gnu_ld"; then 11751 version_type=linux # correct to gnu/linux during the next big refactor 11752 else 11753 version_type=irix 11754 fi ;; 11755 esac 11756 need_lib_prefix=no 11757 need_version=no 11758 soname_spec='$libname$release$shared_ext$major' 11759 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11760 case $host_os in 11761 irix5* | nonstopux*) 11762 libsuff= shlibsuff= 11763 ;; 11764 *) 11765 case $LD in # libtool.m4 will add one of these switches to LD 11766 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11767 libsuff= shlibsuff= libmagic=32-bit;; 11768 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11769 libsuff=32 shlibsuff=N32 libmagic=N32;; 11770 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11771 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11772 *) libsuff= shlibsuff= libmagic=never-match;; 11773 esac 11774 ;; 11775 esac 11776 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11777 shlibpath_overrides_runpath=no 11778 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11779 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11780 hardcode_into_libs=yes 11781 ;; 11782 11783# No shared lib support for Linux oldld, aout, or coff. 11784linux*oldld* | linux*aout* | linux*coff*) 11785 dynamic_linker=no 11786 ;; 11787 11788linux*android*) 11789 version_type=none # Android doesn't support versioned libraries. 11790 need_lib_prefix=no 11791 need_version=no 11792 library_names_spec='$libname$release$shared_ext' 11793 soname_spec='$libname$release$shared_ext' 11794 finish_cmds= 11795 shlibpath_var=LD_LIBRARY_PATH 11796 shlibpath_overrides_runpath=yes 11797 11798 # This implies no fast_install, which is unacceptable. 11799 # Some rework will be needed to allow for fast_install 11800 # before this can be enabled. 11801 hardcode_into_libs=yes 11802 11803 dynamic_linker='Android linker' 11804 # Don't embed -rpath directories since the linker doesn't support them. 11805 hardcode_libdir_flag_spec='-L$libdir' 11806 ;; 11807 11808# This must be glibc/ELF. 11809linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11810 version_type=linux # correct to gnu/linux during the next big refactor 11811 need_lib_prefix=no 11812 need_version=no 11813 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11814 soname_spec='$libname$release$shared_ext$major' 11815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11816 shlibpath_var=LD_LIBRARY_PATH 11817 shlibpath_overrides_runpath=no 11818 11819 # Some binutils ld are patched to set DT_RUNPATH 11820 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11821 $as_echo_n "(cached) " >&6 11822else 11823 lt_cv_shlibpath_overrides_runpath=no 11824 save_LDFLAGS=$LDFLAGS 11825 save_libdir=$libdir 11826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11829/* end confdefs.h. */ 11830 11831int 11832main () 11833{ 11834 11835 ; 11836 return 0; 11837} 11838_ACEOF 11839if ac_fn_c_try_link "$LINENO"; then : 11840 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11841 lt_cv_shlibpath_overrides_runpath=yes 11842fi 11843fi 11844rm -f core conftest.err conftest.$ac_objext \ 11845 conftest$ac_exeext conftest.$ac_ext 11846 LDFLAGS=$save_LDFLAGS 11847 libdir=$save_libdir 11848 11849fi 11850 11851 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11852 11853 # This implies no fast_install, which is unacceptable. 11854 # Some rework will be needed to allow for fast_install 11855 # before this can be enabled. 11856 hardcode_into_libs=yes 11857 11858 # Ideally, we could use ldconfig to report *all* directores which are 11859 # searched for libraries, however this is still not possible. Aside from not 11860 # being certain /sbin/ldconfig is available, command 11861 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11862 # even though it is searched at run-time. Try to do the best guess by 11863 # appending ld.so.conf contents (and includes) to the search path. 11864 if test -f /etc/ld.so.conf; then 11865 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' ' '` 11866 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11867 fi 11868 11869 # We used to test for /lib/ld.so.1 and disable shared libraries on 11870 # powerpc, because MkLinux only supported shared libraries with the 11871 # GNU dynamic linker. Since this was broken with cross compilers, 11872 # most powerpc-linux boxes support dynamic linking these days and 11873 # people can always --disable-shared, the test was removed, and we 11874 # assume the GNU/Linux dynamic linker is in use. 11875 dynamic_linker='GNU/Linux ld.so' 11876 ;; 11877 11878netbsd*) 11879 version_type=sunos 11880 need_lib_prefix=no 11881 need_version=no 11882 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11883 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11884 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11885 dynamic_linker='NetBSD (a.out) ld.so' 11886 else 11887 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11888 soname_spec='$libname$release$shared_ext$major' 11889 dynamic_linker='NetBSD ld.elf_so' 11890 fi 11891 shlibpath_var=LD_LIBRARY_PATH 11892 shlibpath_overrides_runpath=yes 11893 hardcode_into_libs=yes 11894 ;; 11895 11896newsos6) 11897 version_type=linux # correct to gnu/linux during the next big refactor 11898 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11899 shlibpath_var=LD_LIBRARY_PATH 11900 shlibpath_overrides_runpath=yes 11901 ;; 11902 11903*nto* | *qnx*) 11904 version_type=qnx 11905 need_lib_prefix=no 11906 need_version=no 11907 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11908 soname_spec='$libname$release$shared_ext$major' 11909 shlibpath_var=LD_LIBRARY_PATH 11910 shlibpath_overrides_runpath=no 11911 hardcode_into_libs=yes 11912 dynamic_linker='ldqnx.so' 11913 ;; 11914 11915openbsd* | bitrig*) 11916 version_type=sunos 11917 sys_lib_dlsearch_path_spec=/usr/lib 11918 need_lib_prefix=no 11919 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11920 need_version=no 11921 else 11922 need_version=yes 11923 fi 11924 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11925 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11926 shlibpath_var=LD_LIBRARY_PATH 11927 shlibpath_overrides_runpath=yes 11928 ;; 11929 11930os2*) 11931 libname_spec='$name' 11932 version_type=windows 11933 shrext_cmds=.dll 11934 need_version=no 11935 need_lib_prefix=no 11936 # OS/2 can only load a DLL with a base name of 8 characters or less. 11937 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11938 v=$($ECHO $release$versuffix | tr -d .-); 11939 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11940 $ECHO $n$v`$shared_ext' 11941 library_names_spec='${libname}_dll.$libext' 11942 dynamic_linker='OS/2 ld.exe' 11943 shlibpath_var=BEGINLIBPATH 11944 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11945 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11946 postinstall_cmds='base_file=`basename \$file`~ 11947 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11948 dldir=$destdir/`dirname \$dlpath`~ 11949 test -d \$dldir || mkdir -p \$dldir~ 11950 $install_prog $dir/$dlname \$dldir/$dlname~ 11951 chmod a+x \$dldir/$dlname~ 11952 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11953 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11954 fi' 11955 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11956 dlpath=$dir/\$dldll~ 11957 $RM \$dlpath' 11958 ;; 11959 11960osf3* | osf4* | osf5*) 11961 version_type=osf 11962 need_lib_prefix=no 11963 need_version=no 11964 soname_spec='$libname$release$shared_ext$major' 11965 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11966 shlibpath_var=LD_LIBRARY_PATH 11967 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11968 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11969 ;; 11970 11971rdos*) 11972 dynamic_linker=no 11973 ;; 11974 11975solaris*) 11976 version_type=linux # correct to gnu/linux during the next big refactor 11977 need_lib_prefix=no 11978 need_version=no 11979 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11980 soname_spec='$libname$release$shared_ext$major' 11981 shlibpath_var=LD_LIBRARY_PATH 11982 shlibpath_overrides_runpath=yes 11983 hardcode_into_libs=yes 11984 # ldd complains unless libraries are executable 11985 postinstall_cmds='chmod +x $lib' 11986 ;; 11987 11988sunos4*) 11989 version_type=sunos 11990 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11991 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11992 shlibpath_var=LD_LIBRARY_PATH 11993 shlibpath_overrides_runpath=yes 11994 if test yes = "$with_gnu_ld"; then 11995 need_lib_prefix=no 11996 fi 11997 need_version=yes 11998 ;; 11999 12000sysv4 | sysv4.3*) 12001 version_type=linux # correct to gnu/linux during the next big refactor 12002 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12003 soname_spec='$libname$release$shared_ext$major' 12004 shlibpath_var=LD_LIBRARY_PATH 12005 case $host_vendor in 12006 sni) 12007 shlibpath_overrides_runpath=no 12008 need_lib_prefix=no 12009 runpath_var=LD_RUN_PATH 12010 ;; 12011 siemens) 12012 need_lib_prefix=no 12013 ;; 12014 motorola) 12015 need_lib_prefix=no 12016 need_version=no 12017 shlibpath_overrides_runpath=no 12018 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12019 ;; 12020 esac 12021 ;; 12022 12023sysv4*MP*) 12024 if test -d /usr/nec; then 12025 version_type=linux # correct to gnu/linux during the next big refactor 12026 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12027 soname_spec='$libname$shared_ext.$major' 12028 shlibpath_var=LD_LIBRARY_PATH 12029 fi 12030 ;; 12031 12032sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12033 version_type=sco 12034 need_lib_prefix=no 12035 need_version=no 12036 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12037 soname_spec='$libname$release$shared_ext$major' 12038 shlibpath_var=LD_LIBRARY_PATH 12039 shlibpath_overrides_runpath=yes 12040 hardcode_into_libs=yes 12041 if test yes = "$with_gnu_ld"; then 12042 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12043 else 12044 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12045 case $host_os in 12046 sco3.2v5*) 12047 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12048 ;; 12049 esac 12050 fi 12051 sys_lib_dlsearch_path_spec='/usr/lib' 12052 ;; 12053 12054tpf*) 12055 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12056 version_type=linux # correct to gnu/linux during the next big refactor 12057 need_lib_prefix=no 12058 need_version=no 12059 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12060 shlibpath_var=LD_LIBRARY_PATH 12061 shlibpath_overrides_runpath=no 12062 hardcode_into_libs=yes 12063 ;; 12064 12065uts4*) 12066 version_type=linux # correct to gnu/linux during the next big refactor 12067 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12068 soname_spec='$libname$release$shared_ext$major' 12069 shlibpath_var=LD_LIBRARY_PATH 12070 ;; 12071 12072*) 12073 dynamic_linker=no 12074 ;; 12075esac 12076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12077$as_echo "$dynamic_linker" >&6; } 12078test no = "$dynamic_linker" && can_build_shared=no 12079 12080variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12081if test yes = "$GCC"; then 12082 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12083fi 12084 12085if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12086 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12087fi 12088 12089if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12090 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12091fi 12092 12093# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12094configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12095 12096# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12097func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12098 12099# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12100configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12199$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12200hardcode_action= 12201if test -n "$hardcode_libdir_flag_spec" || 12202 test -n "$runpath_var" || 12203 test yes = "$hardcode_automatic"; then 12204 12205 # We can hardcode non-existent directories. 12206 if test no != "$hardcode_direct" && 12207 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12208 # have to relink, otherwise we might link with an installed library 12209 # when we should be linking with a yet-to-be-installed one 12210 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12211 test no != "$hardcode_minus_L"; then 12212 # Linking always hardcodes the temporary library directory. 12213 hardcode_action=relink 12214 else 12215 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12216 hardcode_action=immediate 12217 fi 12218else 12219 # We cannot hardcode anything, or else we can only hardcode existing 12220 # directories. 12221 hardcode_action=unsupported 12222fi 12223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12224$as_echo "$hardcode_action" >&6; } 12225 12226if test relink = "$hardcode_action" || 12227 test yes = "$inherit_rpath"; then 12228 # Fast installation is not supported 12229 enable_fast_install=no 12230elif test yes = "$shlibpath_overrides_runpath" || 12231 test no = "$enable_shared"; then 12232 # Fast installation is not necessary 12233 enable_fast_install=needless 12234fi 12235 12236 12237 12238 12239 12240 12241 if test yes != "$enable_dlopen"; then 12242 enable_dlopen=unknown 12243 enable_dlopen_self=unknown 12244 enable_dlopen_self_static=unknown 12245else 12246 lt_cv_dlopen=no 12247 lt_cv_dlopen_libs= 12248 12249 case $host_os in 12250 beos*) 12251 lt_cv_dlopen=load_add_on 12252 lt_cv_dlopen_libs= 12253 lt_cv_dlopen_self=yes 12254 ;; 12255 12256 mingw* | pw32* | cegcc*) 12257 lt_cv_dlopen=LoadLibrary 12258 lt_cv_dlopen_libs= 12259 ;; 12260 12261 cygwin*) 12262 lt_cv_dlopen=dlopen 12263 lt_cv_dlopen_libs= 12264 ;; 12265 12266 darwin*) 12267 # if libdl is installed we need to link against it 12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12269$as_echo_n "checking for dlopen in -ldl... " >&6; } 12270if ${ac_cv_lib_dl_dlopen+:} false; then : 12271 $as_echo_n "(cached) " >&6 12272else 12273 ac_check_lib_save_LIBS=$LIBS 12274LIBS="-ldl $LIBS" 12275cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12276/* end confdefs.h. */ 12277 12278/* Override any GCC internal prototype to avoid an error. 12279 Use char because int might match the return type of a GCC 12280 builtin and then its argument prototype would still apply. */ 12281#ifdef __cplusplus 12282extern "C" 12283#endif 12284char dlopen (); 12285int 12286main () 12287{ 12288return dlopen (); 12289 ; 12290 return 0; 12291} 12292_ACEOF 12293if ac_fn_c_try_link "$LINENO"; then : 12294 ac_cv_lib_dl_dlopen=yes 12295else 12296 ac_cv_lib_dl_dlopen=no 12297fi 12298rm -f core conftest.err conftest.$ac_objext \ 12299 conftest$ac_exeext conftest.$ac_ext 12300LIBS=$ac_check_lib_save_LIBS 12301fi 12302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12303$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12304if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12305 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12306else 12307 12308 lt_cv_dlopen=dyld 12309 lt_cv_dlopen_libs= 12310 lt_cv_dlopen_self=yes 12311 12312fi 12313 12314 ;; 12315 12316 tpf*) 12317 # Don't try to run any link tests for TPF. We know it's impossible 12318 # because TPF is a cross-compiler, and we know how we open DSOs. 12319 lt_cv_dlopen=dlopen 12320 lt_cv_dlopen_libs= 12321 lt_cv_dlopen_self=no 12322 ;; 12323 12324 *) 12325 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12326if test "x$ac_cv_func_shl_load" = xyes; then : 12327 lt_cv_dlopen=shl_load 12328else 12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12330$as_echo_n "checking for shl_load in -ldld... " >&6; } 12331if ${ac_cv_lib_dld_shl_load+:} false; then : 12332 $as_echo_n "(cached) " >&6 12333else 12334 ac_check_lib_save_LIBS=$LIBS 12335LIBS="-ldld $LIBS" 12336cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12337/* end confdefs.h. */ 12338 12339/* Override any GCC internal prototype to avoid an error. 12340 Use char because int might match the return type of a GCC 12341 builtin and then its argument prototype would still apply. */ 12342#ifdef __cplusplus 12343extern "C" 12344#endif 12345char shl_load (); 12346int 12347main () 12348{ 12349return shl_load (); 12350 ; 12351 return 0; 12352} 12353_ACEOF 12354if ac_fn_c_try_link "$LINENO"; then : 12355 ac_cv_lib_dld_shl_load=yes 12356else 12357 ac_cv_lib_dld_shl_load=no 12358fi 12359rm -f core conftest.err conftest.$ac_objext \ 12360 conftest$ac_exeext conftest.$ac_ext 12361LIBS=$ac_check_lib_save_LIBS 12362fi 12363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12364$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12365if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12366 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12367else 12368 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12369if test "x$ac_cv_func_dlopen" = xyes; then : 12370 lt_cv_dlopen=dlopen 12371else 12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12373$as_echo_n "checking for dlopen in -ldl... " >&6; } 12374if ${ac_cv_lib_dl_dlopen+:} false; then : 12375 $as_echo_n "(cached) " >&6 12376else 12377 ac_check_lib_save_LIBS=$LIBS 12378LIBS="-ldl $LIBS" 12379cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12380/* end confdefs.h. */ 12381 12382/* Override any GCC internal prototype to avoid an error. 12383 Use char because int might match the return type of a GCC 12384 builtin and then its argument prototype would still apply. */ 12385#ifdef __cplusplus 12386extern "C" 12387#endif 12388char dlopen (); 12389int 12390main () 12391{ 12392return dlopen (); 12393 ; 12394 return 0; 12395} 12396_ACEOF 12397if ac_fn_c_try_link "$LINENO"; then : 12398 ac_cv_lib_dl_dlopen=yes 12399else 12400 ac_cv_lib_dl_dlopen=no 12401fi 12402rm -f core conftest.err conftest.$ac_objext \ 12403 conftest$ac_exeext conftest.$ac_ext 12404LIBS=$ac_check_lib_save_LIBS 12405fi 12406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12407$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12408if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12409 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12410else 12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12412$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12413if ${ac_cv_lib_svld_dlopen+:} false; then : 12414 $as_echo_n "(cached) " >&6 12415else 12416 ac_check_lib_save_LIBS=$LIBS 12417LIBS="-lsvld $LIBS" 12418cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12419/* end confdefs.h. */ 12420 12421/* Override any GCC internal prototype to avoid an error. 12422 Use char because int might match the return type of a GCC 12423 builtin and then its argument prototype would still apply. */ 12424#ifdef __cplusplus 12425extern "C" 12426#endif 12427char dlopen (); 12428int 12429main () 12430{ 12431return dlopen (); 12432 ; 12433 return 0; 12434} 12435_ACEOF 12436if ac_fn_c_try_link "$LINENO"; then : 12437 ac_cv_lib_svld_dlopen=yes 12438else 12439 ac_cv_lib_svld_dlopen=no 12440fi 12441rm -f core conftest.err conftest.$ac_objext \ 12442 conftest$ac_exeext conftest.$ac_ext 12443LIBS=$ac_check_lib_save_LIBS 12444fi 12445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12446$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12447if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12448 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12449else 12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12451$as_echo_n "checking for dld_link in -ldld... " >&6; } 12452if ${ac_cv_lib_dld_dld_link+:} false; then : 12453 $as_echo_n "(cached) " >&6 12454else 12455 ac_check_lib_save_LIBS=$LIBS 12456LIBS="-ldld $LIBS" 12457cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12458/* end confdefs.h. */ 12459 12460/* Override any GCC internal prototype to avoid an error. 12461 Use char because int might match the return type of a GCC 12462 builtin and then its argument prototype would still apply. */ 12463#ifdef __cplusplus 12464extern "C" 12465#endif 12466char dld_link (); 12467int 12468main () 12469{ 12470return dld_link (); 12471 ; 12472 return 0; 12473} 12474_ACEOF 12475if ac_fn_c_try_link "$LINENO"; then : 12476 ac_cv_lib_dld_dld_link=yes 12477else 12478 ac_cv_lib_dld_dld_link=no 12479fi 12480rm -f core conftest.err conftest.$ac_objext \ 12481 conftest$ac_exeext conftest.$ac_ext 12482LIBS=$ac_check_lib_save_LIBS 12483fi 12484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12485$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12486if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12487 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12488fi 12489 12490 12491fi 12492 12493 12494fi 12495 12496 12497fi 12498 12499 12500fi 12501 12502 12503fi 12504 12505 ;; 12506 esac 12507 12508 if test no = "$lt_cv_dlopen"; then 12509 enable_dlopen=no 12510 else 12511 enable_dlopen=yes 12512 fi 12513 12514 case $lt_cv_dlopen in 12515 dlopen) 12516 save_CPPFLAGS=$CPPFLAGS 12517 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12518 12519 save_LDFLAGS=$LDFLAGS 12520 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12521 12522 save_LIBS=$LIBS 12523 LIBS="$lt_cv_dlopen_libs $LIBS" 12524 12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12526$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12527if ${lt_cv_dlopen_self+:} false; then : 12528 $as_echo_n "(cached) " >&6 12529else 12530 if test yes = "$cross_compiling"; then : 12531 lt_cv_dlopen_self=cross 12532else 12533 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12534 lt_status=$lt_dlunknown 12535 cat > conftest.$ac_ext <<_LT_EOF 12536#line $LINENO "configure" 12537#include "confdefs.h" 12538 12539#if HAVE_DLFCN_H 12540#include <dlfcn.h> 12541#endif 12542 12543#include <stdio.h> 12544 12545#ifdef RTLD_GLOBAL 12546# define LT_DLGLOBAL RTLD_GLOBAL 12547#else 12548# ifdef DL_GLOBAL 12549# define LT_DLGLOBAL DL_GLOBAL 12550# else 12551# define LT_DLGLOBAL 0 12552# endif 12553#endif 12554 12555/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12556 find out it does not work in some platform. */ 12557#ifndef LT_DLLAZY_OR_NOW 12558# ifdef RTLD_LAZY 12559# define LT_DLLAZY_OR_NOW RTLD_LAZY 12560# else 12561# ifdef DL_LAZY 12562# define LT_DLLAZY_OR_NOW DL_LAZY 12563# else 12564# ifdef RTLD_NOW 12565# define LT_DLLAZY_OR_NOW RTLD_NOW 12566# else 12567# ifdef DL_NOW 12568# define LT_DLLAZY_OR_NOW DL_NOW 12569# else 12570# define LT_DLLAZY_OR_NOW 0 12571# endif 12572# endif 12573# endif 12574# endif 12575#endif 12576 12577/* When -fvisibility=hidden is used, assume the code has been annotated 12578 correspondingly for the symbols needed. */ 12579#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12580int fnord () __attribute__((visibility("default"))); 12581#endif 12582 12583int fnord () { return 42; } 12584int main () 12585{ 12586 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12587 int status = $lt_dlunknown; 12588 12589 if (self) 12590 { 12591 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12592 else 12593 { 12594 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12595 else puts (dlerror ()); 12596 } 12597 /* dlclose (self); */ 12598 } 12599 else 12600 puts (dlerror ()); 12601 12602 return status; 12603} 12604_LT_EOF 12605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12606 (eval $ac_link) 2>&5 12607 ac_status=$? 12608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12609 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12610 (./conftest; exit; ) >&5 2>/dev/null 12611 lt_status=$? 12612 case x$lt_status in 12613 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12614 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12615 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12616 esac 12617 else : 12618 # compilation failed 12619 lt_cv_dlopen_self=no 12620 fi 12621fi 12622rm -fr conftest* 12623 12624 12625fi 12626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12627$as_echo "$lt_cv_dlopen_self" >&6; } 12628 12629 if test yes = "$lt_cv_dlopen_self"; then 12630 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12632$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12633if ${lt_cv_dlopen_self_static+:} false; then : 12634 $as_echo_n "(cached) " >&6 12635else 12636 if test yes = "$cross_compiling"; then : 12637 lt_cv_dlopen_self_static=cross 12638else 12639 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12640 lt_status=$lt_dlunknown 12641 cat > conftest.$ac_ext <<_LT_EOF 12642#line $LINENO "configure" 12643#include "confdefs.h" 12644 12645#if HAVE_DLFCN_H 12646#include <dlfcn.h> 12647#endif 12648 12649#include <stdio.h> 12650 12651#ifdef RTLD_GLOBAL 12652# define LT_DLGLOBAL RTLD_GLOBAL 12653#else 12654# ifdef DL_GLOBAL 12655# define LT_DLGLOBAL DL_GLOBAL 12656# else 12657# define LT_DLGLOBAL 0 12658# endif 12659#endif 12660 12661/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12662 find out it does not work in some platform. */ 12663#ifndef LT_DLLAZY_OR_NOW 12664# ifdef RTLD_LAZY 12665# define LT_DLLAZY_OR_NOW RTLD_LAZY 12666# else 12667# ifdef DL_LAZY 12668# define LT_DLLAZY_OR_NOW DL_LAZY 12669# else 12670# ifdef RTLD_NOW 12671# define LT_DLLAZY_OR_NOW RTLD_NOW 12672# else 12673# ifdef DL_NOW 12674# define LT_DLLAZY_OR_NOW DL_NOW 12675# else 12676# define LT_DLLAZY_OR_NOW 0 12677# endif 12678# endif 12679# endif 12680# endif 12681#endif 12682 12683/* When -fvisibility=hidden is used, assume the code has been annotated 12684 correspondingly for the symbols needed. */ 12685#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12686int fnord () __attribute__((visibility("default"))); 12687#endif 12688 12689int fnord () { return 42; } 12690int main () 12691{ 12692 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12693 int status = $lt_dlunknown; 12694 12695 if (self) 12696 { 12697 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12698 else 12699 { 12700 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12701 else puts (dlerror ()); 12702 } 12703 /* dlclose (self); */ 12704 } 12705 else 12706 puts (dlerror ()); 12707 12708 return status; 12709} 12710_LT_EOF 12711 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12712 (eval $ac_link) 2>&5 12713 ac_status=$? 12714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12715 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12716 (./conftest; exit; ) >&5 2>/dev/null 12717 lt_status=$? 12718 case x$lt_status in 12719 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12720 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12721 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12722 esac 12723 else : 12724 # compilation failed 12725 lt_cv_dlopen_self_static=no 12726 fi 12727fi 12728rm -fr conftest* 12729 12730 12731fi 12732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12733$as_echo "$lt_cv_dlopen_self_static" >&6; } 12734 fi 12735 12736 CPPFLAGS=$save_CPPFLAGS 12737 LDFLAGS=$save_LDFLAGS 12738 LIBS=$save_LIBS 12739 ;; 12740 esac 12741 12742 case $lt_cv_dlopen_self in 12743 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12744 *) enable_dlopen_self=unknown ;; 12745 esac 12746 12747 case $lt_cv_dlopen_self_static in 12748 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12749 *) enable_dlopen_self_static=unknown ;; 12750 esac 12751fi 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769striplib= 12770old_striplib= 12771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12772$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12773if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12774 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12775 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12777$as_echo "yes" >&6; } 12778else 12779# FIXME - insert some real tests, host_os isn't really good enough 12780 case $host_os in 12781 darwin*) 12782 if test -n "$STRIP"; then 12783 striplib="$STRIP -x" 12784 old_striplib="$STRIP -S" 12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12786$as_echo "yes" >&6; } 12787 else 12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12789$as_echo "no" >&6; } 12790 fi 12791 ;; 12792 *) 12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12794$as_echo "no" >&6; } 12795 ;; 12796 esac 12797fi 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 # Report what library types will actually be built 12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12812$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12814$as_echo "$can_build_shared" >&6; } 12815 12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12817$as_echo_n "checking whether to build shared libraries... " >&6; } 12818 test no = "$can_build_shared" && enable_shared=no 12819 12820 # On AIX, shared libraries and static libraries use the same namespace, and 12821 # are all built from PIC. 12822 case $host_os in 12823 aix3*) 12824 test yes = "$enable_shared" && enable_static=no 12825 if test -n "$RANLIB"; then 12826 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12827 postinstall_cmds='$RANLIB $lib' 12828 fi 12829 ;; 12830 12831 aix[4-9]*) 12832 if test ia64 != "$host_cpu"; then 12833 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12834 yes,aix,yes) ;; # shared object as lib.so file only 12835 yes,svr4,*) ;; # shared object as lib.so archive member only 12836 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12837 esac 12838 fi 12839 ;; 12840 esac 12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12842$as_echo "$enable_shared" >&6; } 12843 12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12845$as_echo_n "checking whether to build static libraries... " >&6; } 12846 # Make sure either enable_shared or enable_static is yes. 12847 test yes = "$enable_shared" || enable_static=yes 12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12849$as_echo "$enable_static" >&6; } 12850 12851 12852 12853 12854fi 12855ac_ext=c 12856ac_cpp='$CPP $CPPFLAGS' 12857ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12858ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12859ac_compiler_gnu=$ac_cv_c_compiler_gnu 12860 12861CC=$lt_save_CC 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 ac_config_commands="$ac_config_commands libtool" 12878 12879 12880 12881 12882# Only expand once: 12883 12884 12885# Check whether --enable-largefile was given. 12886if test "${enable_largefile+set}" = set; then : 12887 enableval=$enable_largefile; 12888fi 12889 12890if test "$enable_largefile" != no; then 12891 12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 12893$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 12894if ${ac_cv_sys_largefile_CC+:} false; then : 12895 $as_echo_n "(cached) " >&6 12896else 12897 ac_cv_sys_largefile_CC=no 12898 if test "$GCC" != yes; then 12899 ac_save_CC=$CC 12900 while :; do 12901 # IRIX 6.2 and later do not support large files by default, 12902 # so use the C compiler's -n32 option if that helps. 12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12904/* end confdefs.h. */ 12905#include <sys/types.h> 12906 /* Check that off_t can represent 2**63 - 1 correctly. 12907 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12908 since some C++ compilers masquerading as C compilers 12909 incorrectly reject 9223372036854775807. */ 12910#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12911 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12912 && LARGE_OFF_T % 2147483647 == 1) 12913 ? 1 : -1]; 12914int 12915main () 12916{ 12917 12918 ; 12919 return 0; 12920} 12921_ACEOF 12922 if ac_fn_c_try_compile "$LINENO"; then : 12923 break 12924fi 12925rm -f core conftest.err conftest.$ac_objext 12926 CC="$CC -n32" 12927 if ac_fn_c_try_compile "$LINENO"; then : 12928 ac_cv_sys_largefile_CC=' -n32'; break 12929fi 12930rm -f core conftest.err conftest.$ac_objext 12931 break 12932 done 12933 CC=$ac_save_CC 12934 rm -f conftest.$ac_ext 12935 fi 12936fi 12937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 12938$as_echo "$ac_cv_sys_largefile_CC" >&6; } 12939 if test "$ac_cv_sys_largefile_CC" != no; then 12940 CC=$CC$ac_cv_sys_largefile_CC 12941 fi 12942 12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 12944$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 12945if ${ac_cv_sys_file_offset_bits+:} false; then : 12946 $as_echo_n "(cached) " >&6 12947else 12948 while :; do 12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12950/* end confdefs.h. */ 12951#include <sys/types.h> 12952 /* Check that off_t can represent 2**63 - 1 correctly. 12953 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12954 since some C++ compilers masquerading as C compilers 12955 incorrectly reject 9223372036854775807. */ 12956#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12957 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12958 && LARGE_OFF_T % 2147483647 == 1) 12959 ? 1 : -1]; 12960int 12961main () 12962{ 12963 12964 ; 12965 return 0; 12966} 12967_ACEOF 12968if ac_fn_c_try_compile "$LINENO"; then : 12969 ac_cv_sys_file_offset_bits=no; break 12970fi 12971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12973/* end confdefs.h. */ 12974#define _FILE_OFFSET_BITS 64 12975#include <sys/types.h> 12976 /* Check that off_t can represent 2**63 - 1 correctly. 12977 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12978 since some C++ compilers masquerading as C compilers 12979 incorrectly reject 9223372036854775807. */ 12980#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12981 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12982 && LARGE_OFF_T % 2147483647 == 1) 12983 ? 1 : -1]; 12984int 12985main () 12986{ 12987 12988 ; 12989 return 0; 12990} 12991_ACEOF 12992if ac_fn_c_try_compile "$LINENO"; then : 12993 ac_cv_sys_file_offset_bits=64; break 12994fi 12995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12996 ac_cv_sys_file_offset_bits=unknown 12997 break 12998done 12999fi 13000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 13001$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 13002case $ac_cv_sys_file_offset_bits in #( 13003 no | unknown) ;; 13004 *) 13005cat >>confdefs.h <<_ACEOF 13006#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 13007_ACEOF 13008;; 13009esac 13010rm -rf conftest* 13011 if test $ac_cv_sys_file_offset_bits = unknown; then 13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 13013$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 13014if ${ac_cv_sys_large_files+:} false; then : 13015 $as_echo_n "(cached) " >&6 13016else 13017 while :; do 13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13019/* end confdefs.h. */ 13020#include <sys/types.h> 13021 /* Check that off_t can represent 2**63 - 1 correctly. 13022 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13023 since some C++ compilers masquerading as C compilers 13024 incorrectly reject 9223372036854775807. */ 13025#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13027 && LARGE_OFF_T % 2147483647 == 1) 13028 ? 1 : -1]; 13029int 13030main () 13031{ 13032 13033 ; 13034 return 0; 13035} 13036_ACEOF 13037if ac_fn_c_try_compile "$LINENO"; then : 13038 ac_cv_sys_large_files=no; break 13039fi 13040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13042/* end confdefs.h. */ 13043#define _LARGE_FILES 1 13044#include <sys/types.h> 13045 /* Check that off_t can represent 2**63 - 1 correctly. 13046 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13047 since some C++ compilers masquerading as C compilers 13048 incorrectly reject 9223372036854775807. */ 13049#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13051 && LARGE_OFF_T % 2147483647 == 1) 13052 ? 1 : -1]; 13053int 13054main () 13055{ 13056 13057 ; 13058 return 0; 13059} 13060_ACEOF 13061if ac_fn_c_try_compile "$LINENO"; then : 13062 ac_cv_sys_large_files=1; break 13063fi 13064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13065 ac_cv_sys_large_files=unknown 13066 break 13067done 13068fi 13069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 13070$as_echo "$ac_cv_sys_large_files" >&6; } 13071case $ac_cv_sys_large_files in #( 13072 no | unknown) ;; 13073 *) 13074cat >>confdefs.h <<_ACEOF 13075#define _LARGE_FILES $ac_cv_sys_large_files 13076_ACEOF 13077;; 13078esac 13079rm -rf conftest* 13080 fi 13081 13082 13083fi 13084 13085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 13086$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 13087if ${ac_cv_sys_largefile_source+:} false; then : 13088 $as_echo_n "(cached) " >&6 13089else 13090 while :; do 13091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13092/* end confdefs.h. */ 13093#include <sys/types.h> /* for off_t */ 13094 #include <stdio.h> 13095int 13096main () 13097{ 13098int (*fp) (FILE *, off_t, int) = fseeko; 13099 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 13100 ; 13101 return 0; 13102} 13103_ACEOF 13104if ac_fn_c_try_link "$LINENO"; then : 13105 ac_cv_sys_largefile_source=no; break 13106fi 13107rm -f core conftest.err conftest.$ac_objext \ 13108 conftest$ac_exeext conftest.$ac_ext 13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13110/* end confdefs.h. */ 13111#define _LARGEFILE_SOURCE 1 13112#include <sys/types.h> /* for off_t */ 13113 #include <stdio.h> 13114int 13115main () 13116{ 13117int (*fp) (FILE *, off_t, int) = fseeko; 13118 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 13119 ; 13120 return 0; 13121} 13122_ACEOF 13123if ac_fn_c_try_link "$LINENO"; then : 13124 ac_cv_sys_largefile_source=1; break 13125fi 13126rm -f core conftest.err conftest.$ac_objext \ 13127 conftest$ac_exeext conftest.$ac_ext 13128 ac_cv_sys_largefile_source=unknown 13129 break 13130done 13131fi 13132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 13133$as_echo "$ac_cv_sys_largefile_source" >&6; } 13134case $ac_cv_sys_largefile_source in #( 13135 no | unknown) ;; 13136 *) 13137cat >>confdefs.h <<_ACEOF 13138#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 13139_ACEOF 13140;; 13141esac 13142rm -rf conftest* 13143 13144# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 13145# in glibc 2.1.3, but that breaks too many other things. 13146# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 13147if test $ac_cv_sys_largefile_source != unknown; then 13148 13149$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h 13150 13151fi 13152 13153ac_header_dirent=no 13154for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 13155 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 13156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 13157$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 13158if eval \${$as_ac_Header+:} false; then : 13159 $as_echo_n "(cached) " >&6 13160else 13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13162/* end confdefs.h. */ 13163#include <sys/types.h> 13164#include <$ac_hdr> 13165 13166int 13167main () 13168{ 13169if ((DIR *) 0) 13170return 0; 13171 ; 13172 return 0; 13173} 13174_ACEOF 13175if ac_fn_c_try_compile "$LINENO"; then : 13176 eval "$as_ac_Header=yes" 13177else 13178 eval "$as_ac_Header=no" 13179fi 13180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13181fi 13182eval ac_res=\$$as_ac_Header 13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 13184$as_echo "$ac_res" >&6; } 13185if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13186 cat >>confdefs.h <<_ACEOF 13187#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 13188_ACEOF 13189 13190ac_header_dirent=$ac_hdr; break 13191fi 13192 13193done 13194# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 13195if test $ac_header_dirent = dirent.h; then 13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13197$as_echo_n "checking for library containing opendir... " >&6; } 13198if ${ac_cv_search_opendir+:} false; then : 13199 $as_echo_n "(cached) " >&6 13200else 13201 ac_func_search_save_LIBS=$LIBS 13202cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13203/* end confdefs.h. */ 13204 13205/* Override any GCC internal prototype to avoid an error. 13206 Use char because int might match the return type of a GCC 13207 builtin and then its argument prototype would still apply. */ 13208#ifdef __cplusplus 13209extern "C" 13210#endif 13211char opendir (); 13212int 13213main () 13214{ 13215return opendir (); 13216 ; 13217 return 0; 13218} 13219_ACEOF 13220for ac_lib in '' dir; do 13221 if test -z "$ac_lib"; then 13222 ac_res="none required" 13223 else 13224 ac_res=-l$ac_lib 13225 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13226 fi 13227 if ac_fn_c_try_link "$LINENO"; then : 13228 ac_cv_search_opendir=$ac_res 13229fi 13230rm -f core conftest.err conftest.$ac_objext \ 13231 conftest$ac_exeext 13232 if ${ac_cv_search_opendir+:} false; then : 13233 break 13234fi 13235done 13236if ${ac_cv_search_opendir+:} false; then : 13237 13238else 13239 ac_cv_search_opendir=no 13240fi 13241rm conftest.$ac_ext 13242LIBS=$ac_func_search_save_LIBS 13243fi 13244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13245$as_echo "$ac_cv_search_opendir" >&6; } 13246ac_res=$ac_cv_search_opendir 13247if test "$ac_res" != no; then : 13248 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13249 13250fi 13251 13252else 13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13254$as_echo_n "checking for library containing opendir... " >&6; } 13255if ${ac_cv_search_opendir+:} false; then : 13256 $as_echo_n "(cached) " >&6 13257else 13258 ac_func_search_save_LIBS=$LIBS 13259cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13260/* end confdefs.h. */ 13261 13262/* Override any GCC internal prototype to avoid an error. 13263 Use char because int might match the return type of a GCC 13264 builtin and then its argument prototype would still apply. */ 13265#ifdef __cplusplus 13266extern "C" 13267#endif 13268char opendir (); 13269int 13270main () 13271{ 13272return opendir (); 13273 ; 13274 return 0; 13275} 13276_ACEOF 13277for ac_lib in '' x; do 13278 if test -z "$ac_lib"; then 13279 ac_res="none required" 13280 else 13281 ac_res=-l$ac_lib 13282 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13283 fi 13284 if ac_fn_c_try_link "$LINENO"; then : 13285 ac_cv_search_opendir=$ac_res 13286fi 13287rm -f core conftest.err conftest.$ac_objext \ 13288 conftest$ac_exeext 13289 if ${ac_cv_search_opendir+:} false; then : 13290 break 13291fi 13292done 13293if ${ac_cv_search_opendir+:} false; then : 13294 13295else 13296 ac_cv_search_opendir=no 13297fi 13298rm conftest.$ac_ext 13299LIBS=$ac_func_search_save_LIBS 13300fi 13301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13302$as_echo "$ac_cv_search_opendir" >&6; } 13303ac_res=$ac_cv_search_opendir 13304if test "$ac_res" != no; then : 13305 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13306 13307fi 13308 13309fi 13310 13311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13312$as_echo_n "checking for ANSI C header files... " >&6; } 13313if ${ac_cv_header_stdc+:} false; then : 13314 $as_echo_n "(cached) " >&6 13315else 13316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13317/* end confdefs.h. */ 13318#include <stdlib.h> 13319#include <stdarg.h> 13320#include <string.h> 13321#include <float.h> 13322 13323int 13324main () 13325{ 13326 13327 ; 13328 return 0; 13329} 13330_ACEOF 13331if ac_fn_c_try_compile "$LINENO"; then : 13332 ac_cv_header_stdc=yes 13333else 13334 ac_cv_header_stdc=no 13335fi 13336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13337 13338if test $ac_cv_header_stdc = yes; then 13339 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13341/* end confdefs.h. */ 13342#include <string.h> 13343 13344_ACEOF 13345if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13346 $EGREP "memchr" >/dev/null 2>&1; then : 13347 13348else 13349 ac_cv_header_stdc=no 13350fi 13351rm -f conftest* 13352 13353fi 13354 13355if test $ac_cv_header_stdc = yes; then 13356 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13358/* end confdefs.h. */ 13359#include <stdlib.h> 13360 13361_ACEOF 13362if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13363 $EGREP "free" >/dev/null 2>&1; then : 13364 13365else 13366 ac_cv_header_stdc=no 13367fi 13368rm -f conftest* 13369 13370fi 13371 13372if test $ac_cv_header_stdc = yes; then 13373 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13374 if test "$cross_compiling" = yes; then : 13375 : 13376else 13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13378/* end confdefs.h. */ 13379#include <ctype.h> 13380#include <stdlib.h> 13381#if ((' ' & 0x0FF) == 0x020) 13382# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13383# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13384#else 13385# define ISLOWER(c) \ 13386 (('a' <= (c) && (c) <= 'i') \ 13387 || ('j' <= (c) && (c) <= 'r') \ 13388 || ('s' <= (c) && (c) <= 'z')) 13389# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13390#endif 13391 13392#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13393int 13394main () 13395{ 13396 int i; 13397 for (i = 0; i < 256; i++) 13398 if (XOR (islower (i), ISLOWER (i)) 13399 || toupper (i) != TOUPPER (i)) 13400 return 2; 13401 return 0; 13402} 13403_ACEOF 13404if ac_fn_c_try_run "$LINENO"; then : 13405 13406else 13407 ac_cv_header_stdc=no 13408fi 13409rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13410 conftest.$ac_objext conftest.beam conftest.$ac_ext 13411fi 13412 13413fi 13414fi 13415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13416$as_echo "$ac_cv_header_stdc" >&6; } 13417if test $ac_cv_header_stdc = yes; then 13418 13419$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13420 13421fi 13422 13423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5 13424$as_echo_n "checking whether closedir returns void... " >&6; } 13425if ${ac_cv_func_closedir_void+:} false; then : 13426 $as_echo_n "(cached) " >&6 13427else 13428 if test "$cross_compiling" = yes; then : 13429 ac_cv_func_closedir_void=yes 13430else 13431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13432/* end confdefs.h. */ 13433$ac_includes_default 13434#include <$ac_header_dirent> 13435#ifndef __cplusplus 13436int closedir (); 13437#endif 13438 13439int 13440main () 13441{ 13442return closedir (opendir (".")) != 0; 13443 ; 13444 return 0; 13445} 13446_ACEOF 13447if ac_fn_c_try_run "$LINENO"; then : 13448 ac_cv_func_closedir_void=no 13449else 13450 ac_cv_func_closedir_void=yes 13451fi 13452rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13453 conftest.$ac_objext conftest.beam conftest.$ac_ext 13454fi 13455 13456fi 13457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5 13458$as_echo "$ac_cv_func_closedir_void" >&6; } 13459if test $ac_cv_func_closedir_void = yes; then 13460 13461$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h 13462 13463fi 13464 13465for ac_header in assert.h float.h limits.h pwd.h stdlib.h sys/param.h 13466do : 13467 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13468ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13469if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13470 cat >>confdefs.h <<_ACEOF 13471#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13472_ACEOF 13473 13474fi 13475 13476done 13477 13478for ac_func in putenv 13479do : 13480 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv" 13481if test "x$ac_cv_func_putenv" = xyes; then : 13482 cat >>confdefs.h <<_ACEOF 13483#define HAVE_PUTENV 1 13484_ACEOF 13485 13486fi 13487done 13488 13489for ac_func in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr 13490do : 13491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13492ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13493if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13494 cat >>confdefs.h <<_ACEOF 13495#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13496_ACEOF 13497 13498fi 13499done 13500 13501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 13502$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 13503if ${ac_cv_c_const+:} false; then : 13504 $as_echo_n "(cached) " >&6 13505else 13506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13507/* end confdefs.h. */ 13508 13509int 13510main () 13511{ 13512 13513#ifndef __cplusplus 13514 /* Ultrix mips cc rejects this sort of thing. */ 13515 typedef int charset[2]; 13516 const charset cs = { 0, 0 }; 13517 /* SunOS 4.1.1 cc rejects this. */ 13518 char const *const *pcpcc; 13519 char **ppc; 13520 /* NEC SVR4.0.2 mips cc rejects this. */ 13521 struct point {int x, y;}; 13522 static struct point const zero = {0,0}; 13523 /* AIX XL C 1.02.0.0 rejects this. 13524 It does not let you subtract one const X* pointer from another in 13525 an arm of an if-expression whose if-part is not a constant 13526 expression */ 13527 const char *g = "string"; 13528 pcpcc = &g + (g ? g-g : 0); 13529 /* HPUX 7.0 cc rejects these. */ 13530 ++pcpcc; 13531 ppc = (char**) pcpcc; 13532 pcpcc = (char const *const *) ppc; 13533 { /* SCO 3.2v4 cc rejects this sort of thing. */ 13534 char tx; 13535 char *t = &tx; 13536 char const *s = 0 ? (char *) 0 : (char const *) 0; 13537 13538 *t++ = 0; 13539 if (s) return 0; 13540 } 13541 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 13542 int x[] = {25, 17}; 13543 const int *foo = &x[0]; 13544 ++foo; 13545 } 13546 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 13547 typedef const int *iptr; 13548 iptr p = 0; 13549 ++p; 13550 } 13551 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 13552 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 13553 struct s { int j; const int *ap[3]; } bx; 13554 struct s *b = &bx; b->j = 5; 13555 } 13556 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 13557 const int foo = 10; 13558 if (!foo) return 0; 13559 } 13560 return !cs[0] && !zero.x; 13561#endif 13562 13563 ; 13564 return 0; 13565} 13566_ACEOF 13567if ac_fn_c_try_compile "$LINENO"; then : 13568 ac_cv_c_const=yes 13569else 13570 ac_cv_c_const=no 13571fi 13572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13573fi 13574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 13575$as_echo "$ac_cv_c_const" >&6; } 13576if test $ac_cv_c_const = no; then 13577 13578$as_echo "#define const /**/" >>confdefs.h 13579 13580fi 13581 13582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 13583$as_echo_n "checking for inline... " >&6; } 13584if ${ac_cv_c_inline+:} false; then : 13585 $as_echo_n "(cached) " >&6 13586else 13587 ac_cv_c_inline=no 13588for ac_kw in inline __inline__ __inline; do 13589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13590/* end confdefs.h. */ 13591#ifndef __cplusplus 13592typedef int foo_t; 13593static $ac_kw foo_t static_foo () {return 0; } 13594$ac_kw foo_t foo () {return 0; } 13595#endif 13596 13597_ACEOF 13598if ac_fn_c_try_compile "$LINENO"; then : 13599 ac_cv_c_inline=$ac_kw 13600fi 13601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13602 test "$ac_cv_c_inline" != no && break 13603done 13604 13605fi 13606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 13607$as_echo "$ac_cv_c_inline" >&6; } 13608 13609case $ac_cv_c_inline in 13610 inline | yes) ;; 13611 *) 13612 case $ac_cv_c_inline in 13613 no) ac_val=;; 13614 *) ac_val=$ac_cv_c_inline;; 13615 esac 13616 cat >>confdefs.h <<_ACEOF 13617#ifndef __cplusplus 13618#define inline $ac_val 13619#endif 13620_ACEOF 13621 ;; 13622esac 13623 13624ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 13625if test "x$ac_cv_type_size_t" = xyes; then : 13626 13627else 13628 13629cat >>confdefs.h <<_ACEOF 13630#define size_t unsigned int 13631_ACEOF 13632 13633fi 13634 13635ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 13636case $ac_cv_c_int64_t in #( 13637 no|yes) ;; #( 13638 *) 13639 13640cat >>confdefs.h <<_ACEOF 13641#define int64_t $ac_cv_c_int64_t 13642_ACEOF 13643;; 13644esac 13645 13646ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 13647case $ac_cv_c_uint64_t in #( 13648 no|yes) ;; #( 13649 *) 13650 13651$as_echo "#define _UINT64_T 1" >>confdefs.h 13652 13653 13654cat >>confdefs.h <<_ACEOF 13655#define uint64_t $ac_cv_c_uint64_t 13656_ACEOF 13657;; 13658 esac 13659 13660case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #( 13661 *':no:'*) : 13662 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #( 13663 *) : 13664 ;; 13665esac 13666ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default" 13667if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then : 13668 13669cat >>confdefs.h <<_ACEOF 13670#define HAVE_STRUCT_STAT_ST_MTIM 1 13671_ACEOF 13672 13673 13674fi 13675 13676 13677 13678## texk/dvipdfm-x/ac/dvipdfm-x.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipdfm-x/ 13679## configure options for dvipdfm-x 13680# Check whether --enable-dvipdfmx was given. 13681if test "${enable_dvipdfmx+set}" = set; then : 13682 enableval=$enable_dvipdfmx; 13683fi 13684 13685case enable_dvipdfmx in #( 13686 yes | no) : 13687 ;; #( 13688 *) : 13689 enable_dvipdfmx=yes ;; 13690esac 13691# Check whether --enable-xdvipdfmx was given. 13692if test "${enable_xdvipdfmx+set}" = set; then : 13693 enableval=$enable_xdvipdfmx; 13694fi 13695 13696case enable_xdvipdfmx in #( 13697 yes | no) : 13698 ;; #( 13699 *) : 13700 enable_xdvipdfmx=yes ;; 13701esac 13702 13703 13704 13705ac_config_headers="$ac_config_headers config.h" 13706 13707 13708for ac_header in unistd.h stdint.h inttypes.h sys/types.h sys/wait.h 13709do : 13710 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13711ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13712if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13713 cat >>confdefs.h <<_ACEOF 13714#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13715_ACEOF 13716 13717fi 13718 13719done 13720 13721 13722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5 13723$as_echo_n "checking for working memcmp... " >&6; } 13724if ${ac_cv_func_memcmp_working+:} false; then : 13725 $as_echo_n "(cached) " >&6 13726else 13727 if test "$cross_compiling" = yes; then : 13728 ac_cv_func_memcmp_working=no 13729else 13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13731/* end confdefs.h. */ 13732$ac_includes_default 13733int 13734main () 13735{ 13736 13737 /* Some versions of memcmp are not 8-bit clean. */ 13738 char c0 = '\100', c1 = '\200', c2 = '\201'; 13739 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 13740 return 1; 13741 13742 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes 13743 or more and with at least one buffer not starting on a 4-byte boundary. 13744 William Lewis provided this test program. */ 13745 { 13746 char foo[21]; 13747 char bar[21]; 13748 int i; 13749 for (i = 0; i < 4; i++) 13750 { 13751 char *a = foo + i; 13752 char *b = bar + i; 13753 strcpy (a, "--------01111111"); 13754 strcpy (b, "--------10000000"); 13755 if (memcmp (a, b, 16) >= 0) 13756 return 1; 13757 } 13758 return 0; 13759 } 13760 13761 ; 13762 return 0; 13763} 13764_ACEOF 13765if ac_fn_c_try_run "$LINENO"; then : 13766 ac_cv_func_memcmp_working=yes 13767else 13768 ac_cv_func_memcmp_working=no 13769fi 13770rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13771 conftest.$ac_objext conftest.beam conftest.$ac_ext 13772fi 13773 13774fi 13775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5 13776$as_echo "$ac_cv_func_memcmp_working" >&6; } 13777test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in 13778 *" memcmp.$ac_objext "* ) ;; 13779 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" 13780 ;; 13781esac 13782 13783 13784for ac_func in open close getenv basename 13785do : 13786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13787ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13788if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13789 cat >>confdefs.h <<_ACEOF 13790#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13791_ACEOF 13792 13793fi 13794done 13795 13796 13797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 13798$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 13799if ${ac_cv_struct_tm+:} false; then : 13800 $as_echo_n "(cached) " >&6 13801else 13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13803/* end confdefs.h. */ 13804#include <sys/types.h> 13805#include <time.h> 13806 13807int 13808main () 13809{ 13810struct tm tm; 13811 int *p = &tm.tm_sec; 13812 return !p; 13813 ; 13814 return 0; 13815} 13816_ACEOF 13817if ac_fn_c_try_compile "$LINENO"; then : 13818 ac_cv_struct_tm=time.h 13819else 13820 ac_cv_struct_tm=sys/time.h 13821fi 13822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13823fi 13824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 13825$as_echo "$ac_cv_struct_tm" >&6; } 13826if test $ac_cv_struct_tm = sys/time.h; then 13827 13828$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 13829 13830fi 13831 13832ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> 13833#include <$ac_cv_struct_tm> 13834 13835" 13836if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then : 13837 13838cat >>confdefs.h <<_ACEOF 13839#define HAVE_STRUCT_TM_TM_ZONE 1 13840_ACEOF 13841 13842 13843fi 13844 13845if test "$ac_cv_member_struct_tm_tm_zone" = yes; then 13846 13847$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h 13848 13849else 13850 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 13851" 13852if test "x$ac_cv_have_decl_tzname" = xyes; then : 13853 ac_have_decl=1 13854else 13855 ac_have_decl=0 13856fi 13857 13858cat >>confdefs.h <<_ACEOF 13859#define HAVE_DECL_TZNAME $ac_have_decl 13860_ACEOF 13861 13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 13863$as_echo_n "checking for tzname... " >&6; } 13864if ${ac_cv_var_tzname+:} false; then : 13865 $as_echo_n "(cached) " >&6 13866else 13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13868/* end confdefs.h. */ 13869#include <time.h> 13870#if !HAVE_DECL_TZNAME 13871extern char *tzname[]; 13872#endif 13873 13874int 13875main () 13876{ 13877return tzname[0][0]; 13878 ; 13879 return 0; 13880} 13881_ACEOF 13882if ac_fn_c_try_link "$LINENO"; then : 13883 ac_cv_var_tzname=yes 13884else 13885 ac_cv_var_tzname=no 13886fi 13887rm -f core conftest.err conftest.$ac_objext \ 13888 conftest$ac_exeext conftest.$ac_ext 13889fi 13890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 13891$as_echo "$ac_cv_var_tzname" >&6; } 13892 if test $ac_cv_var_tzname = yes; then 13893 13894$as_echo "#define HAVE_TZNAME 1" >>confdefs.h 13895 13896 fi 13897fi 13898 13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 13900$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 13901if ${ac_cv_c_bigendian+:} false; then : 13902 $as_echo_n "(cached) " >&6 13903else 13904 ac_cv_c_bigendian=unknown 13905 # See if we're dealing with a universal compiler. 13906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13907/* end confdefs.h. */ 13908#ifndef __APPLE_CC__ 13909 not a universal capable compiler 13910 #endif 13911 typedef int dummy; 13912 13913_ACEOF 13914if ac_fn_c_try_compile "$LINENO"; then : 13915 13916 # Check for potential -arch flags. It is not universal unless 13917 # there are at least two -arch flags with different values. 13918 ac_arch= 13919 ac_prev= 13920 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 13921 if test -n "$ac_prev"; then 13922 case $ac_word in 13923 i?86 | x86_64 | ppc | ppc64) 13924 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 13925 ac_arch=$ac_word 13926 else 13927 ac_cv_c_bigendian=universal 13928 break 13929 fi 13930 ;; 13931 esac 13932 ac_prev= 13933 elif test "x$ac_word" = "x-arch"; then 13934 ac_prev=arch 13935 fi 13936 done 13937fi 13938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13939 if test $ac_cv_c_bigendian = unknown; then 13940 # See if sys/param.h defines the BYTE_ORDER macro. 13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13942/* end confdefs.h. */ 13943#include <sys/types.h> 13944 #include <sys/param.h> 13945 13946int 13947main () 13948{ 13949#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 13950 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 13951 && LITTLE_ENDIAN) 13952 bogus endian macros 13953 #endif 13954 13955 ; 13956 return 0; 13957} 13958_ACEOF 13959if ac_fn_c_try_compile "$LINENO"; then : 13960 # It does; now see whether it defined to BIG_ENDIAN or not. 13961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13962/* end confdefs.h. */ 13963#include <sys/types.h> 13964 #include <sys/param.h> 13965 13966int 13967main () 13968{ 13969#if BYTE_ORDER != BIG_ENDIAN 13970 not big endian 13971 #endif 13972 13973 ; 13974 return 0; 13975} 13976_ACEOF 13977if ac_fn_c_try_compile "$LINENO"; then : 13978 ac_cv_c_bigendian=yes 13979else 13980 ac_cv_c_bigendian=no 13981fi 13982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13983fi 13984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13985 fi 13986 if test $ac_cv_c_bigendian = unknown; then 13987 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 13988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13989/* end confdefs.h. */ 13990#include <limits.h> 13991 13992int 13993main () 13994{ 13995#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 13996 bogus endian macros 13997 #endif 13998 13999 ; 14000 return 0; 14001} 14002_ACEOF 14003if ac_fn_c_try_compile "$LINENO"; then : 14004 # It does; now see whether it defined to _BIG_ENDIAN or not. 14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14006/* end confdefs.h. */ 14007#include <limits.h> 14008 14009int 14010main () 14011{ 14012#ifndef _BIG_ENDIAN 14013 not big endian 14014 #endif 14015 14016 ; 14017 return 0; 14018} 14019_ACEOF 14020if ac_fn_c_try_compile "$LINENO"; then : 14021 ac_cv_c_bigendian=yes 14022else 14023 ac_cv_c_bigendian=no 14024fi 14025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14026fi 14027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14028 fi 14029 if test $ac_cv_c_bigendian = unknown; then 14030 # Compile a test program. 14031 if test "$cross_compiling" = yes; then : 14032 # Try to guess by grepping values from an object file. 14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14034/* end confdefs.h. */ 14035short int ascii_mm[] = 14036 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 14037 short int ascii_ii[] = 14038 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 14039 int use_ascii (int i) { 14040 return ascii_mm[i] + ascii_ii[i]; 14041 } 14042 short int ebcdic_ii[] = 14043 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 14044 short int ebcdic_mm[] = 14045 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 14046 int use_ebcdic (int i) { 14047 return ebcdic_mm[i] + ebcdic_ii[i]; 14048 } 14049 extern int foo; 14050 14051int 14052main () 14053{ 14054return use_ascii (foo) == use_ebcdic (foo); 14055 ; 14056 return 0; 14057} 14058_ACEOF 14059if ac_fn_c_try_compile "$LINENO"; then : 14060 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 14061 ac_cv_c_bigendian=yes 14062 fi 14063 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 14064 if test "$ac_cv_c_bigendian" = unknown; then 14065 ac_cv_c_bigendian=no 14066 else 14067 # finding both strings is unlikely to happen, but who knows? 14068 ac_cv_c_bigendian=unknown 14069 fi 14070 fi 14071fi 14072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14073else 14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14075/* end confdefs.h. */ 14076$ac_includes_default 14077int 14078main () 14079{ 14080 14081 /* Are we little or big endian? From Harbison&Steele. */ 14082 union 14083 { 14084 long int l; 14085 char c[sizeof (long int)]; 14086 } u; 14087 u.l = 1; 14088 return u.c[sizeof (long int) - 1] == 1; 14089 14090 ; 14091 return 0; 14092} 14093_ACEOF 14094if ac_fn_c_try_run "$LINENO"; then : 14095 ac_cv_c_bigendian=no 14096else 14097 ac_cv_c_bigendian=yes 14098fi 14099rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14100 conftest.$ac_objext conftest.beam conftest.$ac_ext 14101fi 14102 14103 fi 14104fi 14105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 14106$as_echo "$ac_cv_c_bigendian" >&6; } 14107 case $ac_cv_c_bigendian in #( 14108 yes) 14109 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 14110;; #( 14111 no) 14112 ;; #( 14113 universal) 14114 14115$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 14116 14117 ;; #( 14118 *) 14119 as_fn_error $? "unknown endianness 14120 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 14121 esac 14122 14123ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" 14124case $ac_cv_c_int32_t in #( 14125 no|yes) ;; #( 14126 *) 14127 14128cat >>confdefs.h <<_ACEOF 14129#define int32_t $ac_cv_c_int32_t 14130_ACEOF 14131;; 14132esac 14133 14134ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" 14135case $ac_cv_c_uint32_t in #( 14136 no|yes) ;; #( 14137 *) 14138 14139$as_echo "#define _UINT32_T 1" >>confdefs.h 14140 14141 14142cat >>confdefs.h <<_ACEOF 14143#define uint32_t $ac_cv_c_uint32_t 14144_ACEOF 14145;; 14146 esac 14147 14148 14149ac_fn_c_check_decl "$LINENO" "timezone" "ac_cv_have_decl_timezone" "#include <time.h> 14150" 14151if test "x$ac_cv_have_decl_timezone" = xyes; then : 14152 14153$as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h 14154 14155fi 14156 14157ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 14158" 14159if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then : 14160 14161$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 14162 14163fi 14164 14165 14166# The cast to long int works around a bug in the HP C Compiler 14167# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14168# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14169# This bug is HP SR number 8606223364. 14170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 14171$as_echo_n "checking size of char... " >&6; } 14172if ${ac_cv_sizeof_char+:} false; then : 14173 $as_echo_n "(cached) " >&6 14174else 14175 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then : 14176 14177else 14178 if test "$ac_cv_type_char" = yes; then 14179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14180$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14181as_fn_error 77 "cannot compute sizeof (char) 14182See \`config.log' for more details" "$LINENO" 5; } 14183 else 14184 ac_cv_sizeof_char=0 14185 fi 14186fi 14187 14188fi 14189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 14190$as_echo "$ac_cv_sizeof_char" >&6; } 14191 14192 14193 14194cat >>confdefs.h <<_ACEOF 14195#define SIZEOF_CHAR $ac_cv_sizeof_char 14196_ACEOF 14197 14198 14199# The cast to long int works around a bug in the HP C Compiler 14200# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14201# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14202# This bug is HP SR number 8606223364. 14203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 14204$as_echo_n "checking size of short... " >&6; } 14205if ${ac_cv_sizeof_short+:} false; then : 14206 $as_echo_n "(cached) " >&6 14207else 14208 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : 14209 14210else 14211 if test "$ac_cv_type_short" = yes; then 14212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14214as_fn_error 77 "cannot compute sizeof (short) 14215See \`config.log' for more details" "$LINENO" 5; } 14216 else 14217 ac_cv_sizeof_short=0 14218 fi 14219fi 14220 14221fi 14222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 14223$as_echo "$ac_cv_sizeof_short" >&6; } 14224 14225 14226 14227cat >>confdefs.h <<_ACEOF 14228#define SIZEOF_SHORT $ac_cv_sizeof_short 14229_ACEOF 14230 14231 14232# The cast to long int works around a bug in the HP C Compiler 14233# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14234# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14235# This bug is HP SR number 8606223364. 14236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 14237$as_echo_n "checking size of int... " >&6; } 14238if ${ac_cv_sizeof_int+:} false; then : 14239 $as_echo_n "(cached) " >&6 14240else 14241 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 14242 14243else 14244 if test "$ac_cv_type_int" = yes; then 14245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14247as_fn_error 77 "cannot compute sizeof (int) 14248See \`config.log' for more details" "$LINENO" 5; } 14249 else 14250 ac_cv_sizeof_int=0 14251 fi 14252fi 14253 14254fi 14255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 14256$as_echo "$ac_cv_sizeof_int" >&6; } 14257 14258 14259 14260cat >>confdefs.h <<_ACEOF 14261#define SIZEOF_INT $ac_cv_sizeof_int 14262_ACEOF 14263 14264 14265# The cast to long int works around a bug in the HP C Compiler 14266# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14267# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14268# This bug is HP SR number 8606223364. 14269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 14270$as_echo_n "checking size of long... " >&6; } 14271if ${ac_cv_sizeof_long+:} false; then : 14272 $as_echo_n "(cached) " >&6 14273else 14274 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 14275 14276else 14277 if test "$ac_cv_type_long" = yes; then 14278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14280as_fn_error 77 "cannot compute sizeof (long) 14281See \`config.log' for more details" "$LINENO" 5; } 14282 else 14283 ac_cv_sizeof_long=0 14284 fi 14285fi 14286 14287fi 14288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 14289$as_echo "$ac_cv_sizeof_long" >&6; } 14290 14291 14292 14293cat >>confdefs.h <<_ACEOF 14294#define SIZEOF_LONG $ac_cv_sizeof_long 14295_ACEOF 14296 14297 14298 14299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5 14300$as_echo_n "checking for library containing pow... " >&6; } 14301if ${ac_cv_search_pow+:} false; then : 14302 $as_echo_n "(cached) " >&6 14303else 14304 ac_func_search_save_LIBS=$LIBS 14305cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14306/* end confdefs.h. */ 14307 14308/* Override any GCC internal prototype to avoid an error. 14309 Use char because int might match the return type of a GCC 14310 builtin and then its argument prototype would still apply. */ 14311#ifdef __cplusplus 14312extern "C" 14313#endif 14314char pow (); 14315int 14316main () 14317{ 14318return pow (); 14319 ; 14320 return 0; 14321} 14322_ACEOF 14323for ac_lib in '' m; do 14324 if test -z "$ac_lib"; then 14325 ac_res="none required" 14326 else 14327 ac_res=-l$ac_lib 14328 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14329 fi 14330 if ac_fn_c_try_link "$LINENO"; then : 14331 ac_cv_search_pow=$ac_res 14332fi 14333rm -f core conftest.err conftest.$ac_objext \ 14334 conftest$ac_exeext 14335 if ${ac_cv_search_pow+:} false; then : 14336 break 14337fi 14338done 14339if ${ac_cv_search_pow+:} false; then : 14340 14341else 14342 ac_cv_search_pow=no 14343fi 14344rm conftest.$ac_ext 14345LIBS=$ac_func_search_save_LIBS 14346fi 14347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5 14348$as_echo "$ac_cv_search_pow" >&6; } 14349ac_res=$ac_cv_search_pow 14350if test "$ac_res" != no; then : 14351 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14352 14353fi 14354 14355 14356kpse_save_CPPFLAGS=$CPPFLAGS 14357kpse_save_LIBS=$LIBS 14358 14359## _KPSE_INIT: Initialize TL infrastructure 14360kpse_BLD=`(cd "./../../." && pwd)` 14361kpse_SRC=`(cd "$srcdir/../../." && pwd)` 14362 14363## _KPSE_USE_LIBTOOL: Generate a libtool script for use in configure tests 14364: ${CONFIG_LT=./config.lt} 14365{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 14366$as_echo "$as_me: creating $CONFIG_LT" >&6;} 14367as_write_fail=0 14368cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1 14369#! $SHELL 14370# Generated by $as_me. 14371# Run this file to recreate a libtool stub with the current configuration. 14372SHELL=\${CONFIG_SHELL-$SHELL} 14373export SHELL 14374_ASEOF 14375cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1 14376## -------------------- ## 14377## M4sh Initialization. ## 14378## -------------------- ## 14379 14380# Be more Bourne compatible 14381DUALCASE=1; export DUALCASE # for MKS sh 14382if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14383 emulate sh 14384 NULLCMD=: 14385 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14386 # is contrary to our usage. Disable this feature. 14387 alias -g '${1+"$@"}'='"$@"' 14388 setopt NO_GLOB_SUBST 14389else 14390 case `(set -o) 2>/dev/null` in #( 14391 *posix*) : 14392 set -o posix ;; #( 14393 *) : 14394 ;; 14395esac 14396fi 14397 14398 14399as_nl=' 14400' 14401export as_nl 14402# Printing a long string crashes Solaris 7 /usr/bin/printf. 14403as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 14404as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 14405as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 14406# Prefer a ksh shell builtin over an external printf program on Solaris, 14407# but without wasting forks for bash or zsh. 14408if test -z "$BASH_VERSION$ZSH_VERSION" \ 14409 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 14410 as_echo='print -r --' 14411 as_echo_n='print -rn --' 14412elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 14413 as_echo='printf %s\n' 14414 as_echo_n='printf %s' 14415else 14416 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 14417 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 14418 as_echo_n='/usr/ucb/echo -n' 14419 else 14420 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 14421 as_echo_n_body='eval 14422 arg=$1; 14423 case $arg in #( 14424 *"$as_nl"*) 14425 expr "X$arg" : "X\\(.*\\)$as_nl"; 14426 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 14427 esac; 14428 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 14429 ' 14430 export as_echo_n_body 14431 as_echo_n='sh -c $as_echo_n_body as_echo' 14432 fi 14433 export as_echo_body 14434 as_echo='sh -c $as_echo_body as_echo' 14435fi 14436 14437# The user is always right. 14438if test "${PATH_SEPARATOR+set}" != set; then 14439 PATH_SEPARATOR=: 14440 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 14441 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 14442 PATH_SEPARATOR=';' 14443 } 14444fi 14445 14446 14447# IFS 14448# We need space, tab and new line, in precisely that order. Quoting is 14449# there to prevent editors from complaining about space-tab. 14450# (If _AS_PATH_WALK were called with IFS unset, it would disable word 14451# splitting by setting IFS to empty value.) 14452IFS=" "" $as_nl" 14453 14454# Find who we are. Look in the path if we contain no directory separator. 14455as_myself= 14456case $0 in #(( 14457 *[\\/]* ) as_myself=$0 ;; 14458 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14459for as_dir in $PATH 14460do 14461 IFS=$as_save_IFS 14462 test -z "$as_dir" && as_dir=. 14463 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 14464 done 14465IFS=$as_save_IFS 14466 14467 ;; 14468esac 14469# We did not find ourselves, most probably we were run as `sh COMMAND' 14470# in which case we are not to be found in the path. 14471if test "x$as_myself" = x; then 14472 as_myself=$0 14473fi 14474if test ! -f "$as_myself"; then 14475 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14476 exit 1 14477fi 14478 14479# Unset variables that we do not need and which cause bugs (e.g. in 14480# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 14481# suppresses any "Segmentation fault" message there. '((' could 14482# trigger a bug in pdksh 5.2.14. 14483for as_var in BASH_ENV ENV MAIL MAILPATH 14484do eval test x\${$as_var+set} = xset \ 14485 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 14486done 14487PS1='$ ' 14488PS2='> ' 14489PS4='+ ' 14490 14491# NLS nuisances. 14492LC_ALL=C 14493export LC_ALL 14494LANGUAGE=C 14495export LANGUAGE 14496 14497# CDPATH. 14498(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14499 14500 14501# as_fn_error STATUS ERROR [LINENO LOG_FD] 14502# ---------------------------------------- 14503# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14504# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14505# script with STATUS, using 1 if that was 0. 14506as_fn_error () 14507{ 14508 as_status=$1; test $as_status -eq 0 && as_status=1 14509 if test "$4"; then 14510 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14511 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14512 fi 14513 $as_echo "$as_me: error: $2" >&2 14514 as_fn_exit $as_status 14515} # as_fn_error 14516 14517 14518# as_fn_set_status STATUS 14519# ----------------------- 14520# Set $? to STATUS, without forking. 14521as_fn_set_status () 14522{ 14523 return $1 14524} # as_fn_set_status 14525 14526# as_fn_exit STATUS 14527# ----------------- 14528# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 14529as_fn_exit () 14530{ 14531 set +e 14532 as_fn_set_status $1 14533 exit $1 14534} # as_fn_exit 14535 14536# as_fn_unset VAR 14537# --------------- 14538# Portably unset VAR. 14539as_fn_unset () 14540{ 14541 { eval $1=; unset $1;} 14542} 14543as_unset=as_fn_unset 14544# as_fn_append VAR VALUE 14545# ---------------------- 14546# Append the text in VALUE to the end of the definition contained in VAR. Take 14547# advantage of any shell optimizations that allow amortized linear growth over 14548# repeated appends, instead of the typical quadratic growth present in naive 14549# implementations. 14550if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 14551 eval 'as_fn_append () 14552 { 14553 eval $1+=\$2 14554 }' 14555else 14556 as_fn_append () 14557 { 14558 eval $1=\$$1\$2 14559 } 14560fi # as_fn_append 14561 14562# as_fn_arith ARG... 14563# ------------------ 14564# Perform arithmetic evaluation on the ARGs, and store the result in the 14565# global $as_val. Take advantage of shells that can avoid forks. The arguments 14566# must be portable across $(()) and expr. 14567if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 14568 eval 'as_fn_arith () 14569 { 14570 as_val=$(( $* )) 14571 }' 14572else 14573 as_fn_arith () 14574 { 14575 as_val=`expr "$@" || test $? -eq 1` 14576 } 14577fi # as_fn_arith 14578 14579 14580if expr a : '\(a\)' >/dev/null 2>&1 && 14581 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14582 as_expr=expr 14583else 14584 as_expr=false 14585fi 14586 14587if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14588 as_basename=basename 14589else 14590 as_basename=false 14591fi 14592 14593if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14594 as_dirname=dirname 14595else 14596 as_dirname=false 14597fi 14598 14599as_me=`$as_basename -- "$0" || 14600$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14601 X"$0" : 'X\(//\)$' \| \ 14602 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14603$as_echo X/"$0" | 14604 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14605 s//\1/ 14606 q 14607 } 14608 /^X\/\(\/\/\)$/{ 14609 s//\1/ 14610 q 14611 } 14612 /^X\/\(\/\).*/{ 14613 s//\1/ 14614 q 14615 } 14616 s/.*/./; q'` 14617 14618# Avoid depending upon Character Ranges. 14619as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14620as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14621as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14622as_cr_digits='0123456789' 14623as_cr_alnum=$as_cr_Letters$as_cr_digits 14624 14625ECHO_C= ECHO_N= ECHO_T= 14626case `echo -n x` in #((((( 14627-n*) 14628 case `echo 'xy\c'` in 14629 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14630 xy) ECHO_C='\c';; 14631 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14632 ECHO_T=' ';; 14633 esac;; 14634*) 14635 ECHO_N='-n';; 14636esac 14637 14638rm -f conf$$ conf$$.exe conf$$.file 14639if test -d conf$$.dir; then 14640 rm -f conf$$.dir/conf$$.file 14641else 14642 rm -f conf$$.dir 14643 mkdir conf$$.dir 2>/dev/null 14644fi 14645if (echo >conf$$.file) 2>/dev/null; then 14646 if ln -s conf$$.file conf$$ 2>/dev/null; then 14647 as_ln_s='ln -s' 14648 # ... but there are two gotchas: 14649 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14650 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14651 # In both cases, we have to default to `cp -pR'. 14652 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14653 as_ln_s='cp -pR' 14654 elif ln conf$$.file conf$$ 2>/dev/null; then 14655 as_ln_s=ln 14656 else 14657 as_ln_s='cp -pR' 14658 fi 14659else 14660 as_ln_s='cp -pR' 14661fi 14662rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14663rmdir conf$$.dir 2>/dev/null 14664 14665 14666# as_fn_mkdir_p 14667# ------------- 14668# Create "$as_dir" as a directory, including parents if necessary. 14669as_fn_mkdir_p () 14670{ 14671 14672 case $as_dir in #( 14673 -*) as_dir=./$as_dir;; 14674 esac 14675 test -d "$as_dir" || eval $as_mkdir_p || { 14676 as_dirs= 14677 while :; do 14678 case $as_dir in #( 14679 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14680 *) as_qdir=$as_dir;; 14681 esac 14682 as_dirs="'$as_qdir' $as_dirs" 14683 as_dir=`$as_dirname -- "$as_dir" || 14684$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14685 X"$as_dir" : 'X\(//\)[^/]' \| \ 14686 X"$as_dir" : 'X\(//\)$' \| \ 14687 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14688$as_echo X"$as_dir" | 14689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14690 s//\1/ 14691 q 14692 } 14693 /^X\(\/\/\)[^/].*/{ 14694 s//\1/ 14695 q 14696 } 14697 /^X\(\/\/\)$/{ 14698 s//\1/ 14699 q 14700 } 14701 /^X\(\/\).*/{ 14702 s//\1/ 14703 q 14704 } 14705 s/.*/./; q'` 14706 test -d "$as_dir" && break 14707 done 14708 test -z "$as_dirs" || eval "mkdir $as_dirs" 14709 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14710 14711 14712} # as_fn_mkdir_p 14713if mkdir -p . 2>/dev/null; then 14714 as_mkdir_p='mkdir -p "$as_dir"' 14715else 14716 test -d ./-p && rmdir ./-p 14717 as_mkdir_p=false 14718fi 14719 14720 14721# as_fn_executable_p FILE 14722# ----------------------- 14723# Test if FILE is an executable regular file. 14724as_fn_executable_p () 14725{ 14726 test -f "$1" && test -x "$1" 14727} # as_fn_executable_p 14728as_test_x='test -x' 14729as_executable_p=as_fn_executable_p 14730 14731# Sed expression to map a string onto a valid CPP name. 14732as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14733 14734# Sed expression to map a string onto a valid variable name. 14735as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14736 14737 14738exec 6>&1 14739## --------------------------------- ## 14740## Main body of "$CONFIG_LT" script. ## 14741## --------------------------------- ## 14742_ASEOF 14743test $as_write_fail = 0 && chmod +x "$CONFIG_LT" 14744 14745cat >>"$CONFIG_LT" <<\_LTEOF 14746lt_cl_silent=false 14747exec 5>>config.log 14748{ 14749 echo 14750 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14751## Running $as_me. ## 14752_ASBOX 14753} >&5 14754 14755lt_cl_help="\ 14756'$as_me' creates a local libtool stub from the current configuration, 14757for use in further configure time tests before the real libtool is 14758generated. 14759 14760Usage: $0 [OPTIONS] 14761 14762 -h, --help print this help, then exit 14763 -V, --version print version number, then exit 14764 -q, --quiet do not print progress messages 14765 -d, --debug don't remove temporary files 14766 14767Report bugs to <bug-libtool@gnu.org>." 14768 14769lt_cl_version="\ 14770dvipdfm-x (TeX Live) config.lt 20150315 14771configured by $0, generated by GNU Autoconf 2.69. 14772 14773Copyright (C) 2011 Free Software Foundation, Inc. 14774This config.lt script is free software; the Free Software Foundation 14775gives unlimited permision to copy, distribute and modify it." 14776 14777while test 0 != $# 14778do 14779 case $1 in 14780 --version | --v* | -V ) 14781 echo "$lt_cl_version"; exit 0 ;; 14782 --help | --h* | -h ) 14783 echo "$lt_cl_help"; exit 0 ;; 14784 --debug | --d* | -d ) 14785 debug=: ;; 14786 --quiet | --q* | --silent | --s* | -q ) 14787 lt_cl_silent=: ;; 14788 14789 -*) as_fn_error $? "unrecognized option: $1 14790Try '$0 --help' for more information." "$LINENO" 5 ;; 14791 14792 *) as_fn_error $? "unrecognized argument: $1 14793Try '$0 --help' for more information." "$LINENO" 5 ;; 14794 esac 14795 shift 14796done 14797 14798if $lt_cl_silent; then 14799 exec 6>/dev/null 14800fi 14801_LTEOF 14802 14803cat >>"$CONFIG_LT" <<_LTEOF 14804 14805 14806# The HP-UX ksh and POSIX shell print the target directory to stdout 14807# if CDPATH is set. 14808(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14809 14810sed_quote_subst='$sed_quote_subst' 14811double_quote_subst='$double_quote_subst' 14812delay_variable_subst='$delay_variable_subst' 14813macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14814macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14815AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 14816DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14817OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14818enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14819enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14820pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14821enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14822shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 14823SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14824ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14825PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14826host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14827host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14828host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14829build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14830build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14831build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14832SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14833Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14834GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14835EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14836FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14837LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14838NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14839LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14840max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14841ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14842exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14843lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14844lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14845lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14846lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14847lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14848reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14849reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14850deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14851file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14852file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14853want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14854sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14855AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14856AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14857archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14858STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14859RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14860old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14861old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14862old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14863lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14864CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14865CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14866compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14867GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14868lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14869lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14870lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 14871lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14872lt_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"`' 14873lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 14874nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14875lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14876lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 14877objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14878MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14879lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14880lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14881lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14882lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14883lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14884need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14885MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14886DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14887NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14888LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14889OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14890OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14891libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14892shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14893extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14894archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14895enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14896export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14897whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14898compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14899old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14900old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14901archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14902archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14903module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14904module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14905with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14906allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14907no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14908hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14909hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14910hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14911hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14912hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14913hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14914hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14915inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14916link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14917always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14918export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14919exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14920include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14921prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14922postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14923file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14924variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14925need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14926need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14927version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14928runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14929shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14930shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14931libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14932library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14933soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14934install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14935postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14936postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14937finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14938finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14939hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14940sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14941configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 14942configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 14943hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14944enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14945enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14946enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14947old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14948striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14949 14950LTCC='$LTCC' 14951LTCFLAGS='$LTCFLAGS' 14952compiler='$compiler_DEFAULT' 14953 14954# A function that is used when there is no print builtin or printf. 14955func_fallback_echo () 14956{ 14957 eval 'cat <<_LTECHO_EOF 14958\$1 14959_LTECHO_EOF' 14960} 14961 14962# Quote evaled strings. 14963for var in AS \ 14964DLLTOOL \ 14965OBJDUMP \ 14966SHELL \ 14967ECHO \ 14968PATH_SEPARATOR \ 14969SED \ 14970GREP \ 14971EGREP \ 14972FGREP \ 14973LD \ 14974NM \ 14975LN_S \ 14976lt_SP2NL \ 14977lt_NL2SP \ 14978reload_flag \ 14979deplibs_check_method \ 14980file_magic_cmd \ 14981file_magic_glob \ 14982want_nocaseglob \ 14983sharedlib_from_linklib_cmd \ 14984AR \ 14985AR_FLAGS \ 14986archiver_list_spec \ 14987STRIP \ 14988RANLIB \ 14989CC \ 14990CFLAGS \ 14991compiler \ 14992lt_cv_sys_global_symbol_pipe \ 14993lt_cv_sys_global_symbol_to_cdecl \ 14994lt_cv_sys_global_symbol_to_import \ 14995lt_cv_sys_global_symbol_to_c_name_address \ 14996lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14997lt_cv_nm_interface \ 14998nm_file_list_spec \ 14999lt_cv_truncate_bin \ 15000lt_prog_compiler_no_builtin_flag \ 15001lt_prog_compiler_pic \ 15002lt_prog_compiler_wl \ 15003lt_prog_compiler_static \ 15004lt_cv_prog_compiler_c_o \ 15005need_locks \ 15006MANIFEST_TOOL \ 15007DSYMUTIL \ 15008NMEDIT \ 15009LIPO \ 15010OTOOL \ 15011OTOOL64 \ 15012shrext_cmds \ 15013export_dynamic_flag_spec \ 15014whole_archive_flag_spec \ 15015compiler_needs_object \ 15016with_gnu_ld \ 15017allow_undefined_flag \ 15018no_undefined_flag \ 15019hardcode_libdir_flag_spec \ 15020hardcode_libdir_separator \ 15021exclude_expsyms \ 15022include_expsyms \ 15023file_list_spec \ 15024variables_saved_for_relink \ 15025libname_spec \ 15026library_names_spec \ 15027soname_spec \ 15028install_override_mode \ 15029finish_eval \ 15030old_striplib \ 15031striplib; do 15032 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15033 *[\\\\\\\`\\"\\\$]*) 15034 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15035 ;; 15036 *) 15037 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15038 ;; 15039 esac 15040done 15041 15042# Double-quote double-evaled strings. 15043for var in reload_cmds \ 15044old_postinstall_cmds \ 15045old_postuninstall_cmds \ 15046old_archive_cmds \ 15047extract_expsyms_cmds \ 15048old_archive_from_new_cmds \ 15049old_archive_from_expsyms_cmds \ 15050archive_cmds \ 15051archive_expsym_cmds \ 15052module_cmds \ 15053module_expsym_cmds \ 15054export_symbols_cmds \ 15055prelink_cmds \ 15056postlink_cmds \ 15057postinstall_cmds \ 15058postuninstall_cmds \ 15059finish_cmds \ 15060sys_lib_search_path_spec \ 15061configure_time_dlsearch_path \ 15062configure_time_lt_sys_library_path; do 15063 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15064 *[\\\\\\\`\\"\\\$]*) 15065 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15066 ;; 15067 *) 15068 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15069 ;; 15070 esac 15071done 15072 15073ac_aux_dir='$ac_aux_dir' 15074 15075# See if we are running on zsh, and set the options that allow our 15076# commands through without removal of \ escapes INIT. 15077if test -n "\${ZSH_VERSION+set}"; then 15078 setopt NO_GLOB_SUBST 15079fi 15080 15081 15082 PACKAGE='$PACKAGE' 15083 VERSION='$VERSION' 15084 RM='$RM' 15085 ofile='$ofile' 15086 15087 15088 15089_LTEOF 15090 15091cat >>"$CONFIG_LT" <<\_LTEOF 15092{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 15093$as_echo "$as_me: creating $ofile" >&6;} 15094 15095 15096 # See if we are running on zsh, and set the options that allow our 15097 # commands through without removal of \ escapes. 15098 if test -n "${ZSH_VERSION+set}"; then 15099 setopt NO_GLOB_SUBST 15100 fi 15101 15102 cfgfile=${ofile}T 15103 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15104 $RM "$cfgfile" 15105 15106 cat <<_LT_EOF >> "$cfgfile" 15107#! $SHELL 15108# Generated automatically by $as_me ($PACKAGE) $VERSION 15109# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15110# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15111 15112# Provide generalized library-building support services. 15113# Written by Gordon Matzigkeit, 1996 15114 15115# Copyright (C) 2014 Free Software Foundation, Inc. 15116# This is free software; see the source for copying conditions. There is NO 15117# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15118 15119# GNU Libtool is free software; you can redistribute it and/or modify 15120# it under the terms of the GNU General Public License as published by 15121# the Free Software Foundation; either version 2 of of the License, or 15122# (at your option) any later version. 15123# 15124# As a special exception to the GNU General Public License, if you 15125# distribute this file as part of a program or library that is built 15126# using GNU Libtool, you may include this file under the same 15127# distribution terms that you use for the rest of that program. 15128# 15129# GNU Libtool is distributed in the hope that it will be useful, but 15130# WITHOUT ANY WARRANTY; without even the implied warranty of 15131# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15132# GNU General Public License for more details. 15133# 15134# You should have received a copy of the GNU General Public License 15135# along with this program. If not, see <http://www.gnu.org/licenses/>. 15136 15137 15138# The names of the tagged configurations supported by this script. 15139available_tags='' 15140 15141# Configured defaults for sys_lib_dlsearch_path munging. 15142: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 15143 15144# ### BEGIN LIBTOOL CONFIG 15145 15146# Which release of libtool.m4 was used? 15147macro_version=$macro_version 15148macro_revision=$macro_revision 15149 15150# Assembler program. 15151AS=$lt_AS 15152 15153# DLL creation program. 15154DLLTOOL=$lt_DLLTOOL 15155 15156# Object dumper program. 15157OBJDUMP=$lt_OBJDUMP 15158 15159# Whether or not to build shared libraries. 15160build_libtool_libs=$enable_shared 15161 15162# Whether or not to build static libraries. 15163build_old_libs=$enable_static 15164 15165# What type of objects to build. 15166pic_mode=$pic_mode 15167 15168# Whether or not to optimize for fast installation. 15169fast_install=$enable_fast_install 15170 15171# Shared archive member basename,for filename based shared library versioning on AIX. 15172shared_archive_member_spec=$shared_archive_member_spec 15173 15174# Shell to use when invoking shell scripts. 15175SHELL=$lt_SHELL 15176 15177# An echo program that protects backslashes. 15178ECHO=$lt_ECHO 15179 15180# The PATH separator for the build system. 15181PATH_SEPARATOR=$lt_PATH_SEPARATOR 15182 15183# The host system. 15184host_alias=$host_alias 15185host=$host 15186host_os=$host_os 15187 15188# The build system. 15189build_alias=$build_alias 15190build=$build 15191build_os=$build_os 15192 15193# A sed program that does not truncate output. 15194SED=$lt_SED 15195 15196# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15197Xsed="\$SED -e 1s/^X//" 15198 15199# A grep program that handles long lines. 15200GREP=$lt_GREP 15201 15202# An ERE matcher. 15203EGREP=$lt_EGREP 15204 15205# A literal string matcher. 15206FGREP=$lt_FGREP 15207 15208# A BSD- or MS-compatible name lister. 15209NM=$lt_NM 15210 15211# Whether we need soft or hard links. 15212LN_S=$lt_LN_S 15213 15214# What is the maximum length of a command? 15215max_cmd_len=$max_cmd_len 15216 15217# Object file suffix (normally "o"). 15218objext=$ac_objext 15219 15220# Executable file suffix (normally ""). 15221exeext=$exeext 15222 15223# whether the shell understands "unset". 15224lt_unset=$lt_unset 15225 15226# turn spaces into newlines. 15227SP2NL=$lt_lt_SP2NL 15228 15229# turn newlines into spaces. 15230NL2SP=$lt_lt_NL2SP 15231 15232# convert \$build file names to \$host format. 15233to_host_file_cmd=$lt_cv_to_host_file_cmd 15234 15235# convert \$build files to toolchain format. 15236to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15237 15238# Method to check whether dependent libraries are shared objects. 15239deplibs_check_method=$lt_deplibs_check_method 15240 15241# Command to use when deplibs_check_method = "file_magic". 15242file_magic_cmd=$lt_file_magic_cmd 15243 15244# How to find potential files when deplibs_check_method = "file_magic". 15245file_magic_glob=$lt_file_magic_glob 15246 15247# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15248want_nocaseglob=$lt_want_nocaseglob 15249 15250# Command to associate shared and link libraries. 15251sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15252 15253# The archiver. 15254AR=$lt_AR 15255 15256# Flags to create an archive. 15257AR_FLAGS=$lt_AR_FLAGS 15258 15259# How to feed a file listing to the archiver. 15260archiver_list_spec=$lt_archiver_list_spec 15261 15262# A symbol stripping program. 15263STRIP=$lt_STRIP 15264 15265# Commands used to install an old-style archive. 15266RANLIB=$lt_RANLIB 15267old_postinstall_cmds=$lt_old_postinstall_cmds 15268old_postuninstall_cmds=$lt_old_postuninstall_cmds 15269 15270# Whether to use a lock for old archive extraction. 15271lock_old_archive_extraction=$lock_old_archive_extraction 15272 15273# A C compiler. 15274LTCC=$lt_CC 15275 15276# LTCC compiler flags. 15277LTCFLAGS=$lt_CFLAGS 15278 15279# Take the output of nm and produce a listing of raw symbols and C names. 15280global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15281 15282# Transform the output of nm in a proper C declaration. 15283global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15284 15285# Transform the output of nm into a list of symbols to manually relocate. 15286global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 15287 15288# Transform the output of nm in a C name address pair. 15289global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15290 15291# Transform the output of nm in a C name address pair when lib prefix is needed. 15292global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15293 15294# The name lister interface. 15295nm_interface=$lt_lt_cv_nm_interface 15296 15297# Specify filename containing input files for \$NM. 15298nm_file_list_spec=$lt_nm_file_list_spec 15299 15300# The root where to search for dependent libraries,and where our libraries should be installed. 15301lt_sysroot=$lt_sysroot 15302 15303# Command to truncate a binary pipe. 15304lt_truncate_bin=$lt_lt_cv_truncate_bin 15305 15306# The name of the directory that contains temporary libtool files. 15307objdir=$objdir 15308 15309# Used to examine libraries when file_magic_cmd begins with "file". 15310MAGIC_CMD=$MAGIC_CMD 15311 15312# Must we lock files when doing compilation? 15313need_locks=$lt_need_locks 15314 15315# Manifest tool. 15316MANIFEST_TOOL=$lt_MANIFEST_TOOL 15317 15318# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15319DSYMUTIL=$lt_DSYMUTIL 15320 15321# Tool to change global to local symbols on Mac OS X. 15322NMEDIT=$lt_NMEDIT 15323 15324# Tool to manipulate fat objects and archives on Mac OS X. 15325LIPO=$lt_LIPO 15326 15327# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15328OTOOL=$lt_OTOOL 15329 15330# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15331OTOOL64=$lt_OTOOL64 15332 15333# Old archive suffix (normally "a"). 15334libext=$libext 15335 15336# Shared library suffix (normally ".so"). 15337shrext_cmds=$lt_shrext_cmds 15338 15339# The commands to extract the exported symbol list from a shared archive. 15340extract_expsyms_cmds=$lt_extract_expsyms_cmds 15341 15342# Variables whose values should be saved in libtool wrapper scripts and 15343# restored at link time. 15344variables_saved_for_relink=$lt_variables_saved_for_relink 15345 15346# Do we need the "lib" prefix for modules? 15347need_lib_prefix=$need_lib_prefix 15348 15349# Do we need a version for libraries? 15350need_version=$need_version 15351 15352# Library versioning type. 15353version_type=$version_type 15354 15355# Shared library runtime path variable. 15356runpath_var=$runpath_var 15357 15358# Shared library path variable. 15359shlibpath_var=$shlibpath_var 15360 15361# Is shlibpath searched before the hard-coded library search path? 15362shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15363 15364# Format of library name prefix. 15365libname_spec=$lt_libname_spec 15366 15367# List of archive names. First name is the real one, the rest are links. 15368# The last name is the one that the linker finds with -lNAME 15369library_names_spec=$lt_library_names_spec 15370 15371# The coded name of the library, if different from the real name. 15372soname_spec=$lt_soname_spec 15373 15374# Permission mode override for installation of shared libraries. 15375install_override_mode=$lt_install_override_mode 15376 15377# Command to use after installation of a shared archive. 15378postinstall_cmds=$lt_postinstall_cmds 15379 15380# Command to use after uninstallation of a shared archive. 15381postuninstall_cmds=$lt_postuninstall_cmds 15382 15383# Commands used to finish a libtool library installation in a directory. 15384finish_cmds=$lt_finish_cmds 15385 15386# As "finish_cmds", except a single script fragment to be evaled but 15387# not shown. 15388finish_eval=$lt_finish_eval 15389 15390# Whether we should hardcode library paths into libraries. 15391hardcode_into_libs=$hardcode_into_libs 15392 15393# Compile-time system search path for libraries. 15394sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15395 15396# Detected run-time system search path for libraries. 15397sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 15398 15399# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 15400configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 15401 15402# Whether dlopen is supported. 15403dlopen_support=$enable_dlopen 15404 15405# Whether dlopen of programs is supported. 15406dlopen_self=$enable_dlopen_self 15407 15408# Whether dlopen of statically linked programs is supported. 15409dlopen_self_static=$enable_dlopen_self_static 15410 15411# Commands to strip libraries. 15412old_striplib=$lt_old_striplib 15413striplib=$lt_striplib 15414 15415 15416# The linker used to build libraries. 15417LD=$lt_LD 15418 15419# How to create reloadable object files. 15420reload_flag=$lt_reload_flag 15421reload_cmds=$lt_reload_cmds 15422 15423# Commands used to build an old-style archive. 15424old_archive_cmds=$lt_old_archive_cmds 15425 15426# A language specific compiler. 15427CC=$lt_compiler 15428 15429# Is the compiler the GNU compiler? 15430with_gcc=$GCC 15431 15432# Compiler flag to turn off builtin functions. 15433no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15434 15435# Additional compiler flags for building library objects. 15436pic_flag=$lt_lt_prog_compiler_pic 15437 15438# How to pass a linker flag through the compiler. 15439wl=$lt_lt_prog_compiler_wl 15440 15441# Compiler flag to prevent dynamic linking. 15442link_static_flag=$lt_lt_prog_compiler_static 15443 15444# Does compiler simultaneously support -c and -o options? 15445compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15446 15447# Whether or not to add -lc for building shared libraries. 15448build_libtool_need_lc=$archive_cmds_need_lc 15449 15450# Whether or not to disallow shared libs when runtime libs are static. 15451allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15452 15453# Compiler flag to allow reflexive dlopens. 15454export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15455 15456# Compiler flag to generate shared objects directly from archives. 15457whole_archive_flag_spec=$lt_whole_archive_flag_spec 15458 15459# Whether the compiler copes with passing no objects directly. 15460compiler_needs_object=$lt_compiler_needs_object 15461 15462# Create an old-style archive from a shared archive. 15463old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15464 15465# Create a temporary old-style archive to link instead of a shared archive. 15466old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15467 15468# Commands used to build a shared archive. 15469archive_cmds=$lt_archive_cmds 15470archive_expsym_cmds=$lt_archive_expsym_cmds 15471 15472# Commands used to build a loadable module if different from building 15473# a shared archive. 15474module_cmds=$lt_module_cmds 15475module_expsym_cmds=$lt_module_expsym_cmds 15476 15477# Whether we are building with GNU ld or not. 15478with_gnu_ld=$lt_with_gnu_ld 15479 15480# Flag that allows shared libraries with undefined symbols to be built. 15481allow_undefined_flag=$lt_allow_undefined_flag 15482 15483# Flag that enforces no undefined symbols. 15484no_undefined_flag=$lt_no_undefined_flag 15485 15486# Flag to hardcode \$libdir into a binary during linking. 15487# This must work even if \$libdir does not exist 15488hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15489 15490# Whether we need a single "-rpath" flag with a separated argument. 15491hardcode_libdir_separator=$lt_hardcode_libdir_separator 15492 15493# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 15494# DIR into the resulting binary. 15495hardcode_direct=$hardcode_direct 15496 15497# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 15498# DIR into the resulting binary and the resulting library dependency is 15499# "absolute",i.e impossible to change by setting \$shlibpath_var if the 15500# library is relocated. 15501hardcode_direct_absolute=$hardcode_direct_absolute 15502 15503# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15504# into the resulting binary. 15505hardcode_minus_L=$hardcode_minus_L 15506 15507# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15508# into the resulting binary. 15509hardcode_shlibpath_var=$hardcode_shlibpath_var 15510 15511# Set to "yes" if building a shared library automatically hardcodes DIR 15512# into the library and all subsequent libraries and executables linked 15513# against it. 15514hardcode_automatic=$hardcode_automatic 15515 15516# Set to yes if linker adds runtime paths of dependent libraries 15517# to runtime path list. 15518inherit_rpath=$inherit_rpath 15519 15520# Whether libtool must link a program against all its dependency libraries. 15521link_all_deplibs=$link_all_deplibs 15522 15523# Set to "yes" if exported symbols are required. 15524always_export_symbols=$always_export_symbols 15525 15526# The commands to list exported symbols. 15527export_symbols_cmds=$lt_export_symbols_cmds 15528 15529# Symbols that should not be listed in the preloaded symbols. 15530exclude_expsyms=$lt_exclude_expsyms 15531 15532# Symbols that must always be exported. 15533include_expsyms=$lt_include_expsyms 15534 15535# Commands necessary for linking programs (against libraries) with templates. 15536prelink_cmds=$lt_prelink_cmds 15537 15538# Commands necessary for finishing linking programs. 15539postlink_cmds=$lt_postlink_cmds 15540 15541# Specify filename containing input files. 15542file_list_spec=$lt_file_list_spec 15543 15544# How to hardcode a shared library path into an executable. 15545hardcode_action=$hardcode_action 15546 15547# ### END LIBTOOL CONFIG 15548 15549_LT_EOF 15550 15551 cat <<'_LT_EOF' >> "$cfgfile" 15552 15553# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 15554 15555# func_munge_path_list VARIABLE PATH 15556# ----------------------------------- 15557# VARIABLE is name of variable containing _space_ separated list of 15558# directories to be munged by the contents of PATH, which is string 15559# having a format: 15560# "DIR[:DIR]:" 15561# string "DIR[ DIR]" will be prepended to VARIABLE 15562# ":DIR[:DIR]" 15563# string "DIR[ DIR]" will be appended to VARIABLE 15564# "DIRP[:DIRP]::[DIRA:]DIRA" 15565# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 15566# "DIRA[ DIRA]" will be appended to VARIABLE 15567# "DIR[:DIR]" 15568# VARIABLE will be replaced by "DIR[ DIR]" 15569func_munge_path_list () 15570{ 15571 case x$2 in 15572 x) 15573 ;; 15574 *:) 15575 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 15576 ;; 15577 x:*) 15578 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 15579 ;; 15580 *::*) 15581 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 15582 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 15583 ;; 15584 *) 15585 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 15586 ;; 15587 esac 15588} 15589 15590 15591# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 15592func_cc_basename () 15593{ 15594 for cc_temp in $*""; do 15595 case $cc_temp in 15596 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 15597 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 15598 \-*) ;; 15599 *) break;; 15600 esac 15601 done 15602 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 15603} 15604 15605 15606# ### END FUNCTIONS SHARED WITH CONFIGURE 15607 15608_LT_EOF 15609 15610 case $host_os in 15611 aix3*) 15612 cat <<\_LT_EOF >> "$cfgfile" 15613# AIX sometimes has problems with the GCC collect2 program. For some 15614# reason, if we set the COLLECT_NAMES environment variable, the problems 15615# vanish in a puff of smoke. 15616if test set != "${COLLECT_NAMES+set}"; then 15617 COLLECT_NAMES= 15618 export COLLECT_NAMES 15619fi 15620_LT_EOF 15621 ;; 15622 esac 15623 15624 15625ltmain=$ac_aux_dir/ltmain.sh 15626 15627 15628 # We use sed instead of cat because bash on DJGPP gets confused if 15629 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15630 # text mode, it properly converts lines to CR/LF. This bash problem 15631 # is reportedly fixed, but why not run on old versions too? 15632 sed '$q' "$ltmain" >> "$cfgfile" \ 15633 || (rm -f "$cfgfile"; exit 1) 15634 15635 mv -f "$cfgfile" "$ofile" || 15636 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15637 chmod +x "$ofile" 15638 15639 15640as_fn_exit 0 15641_LTEOF 15642chmod +x "$CONFIG_LT" 15643 15644# configure is writing to config.log, but config.lt does its own redirection, 15645# appending to config.log, which fails on DOS, as config.log is still kept 15646# open by configure. Here we exec the FD to /dev/null, effectively closing 15647# config.log, so it can be properly (re)opened and appended to by config.lt. 15648lt_cl_success=: 15649test yes = "$silent" && 15650 lt_config_lt_args="$lt_config_lt_args --quiet" 15651exec 5>/dev/null 15652$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 15653exec 5>>config.log 15654$lt_cl_success || as_fn_exit 1 15655 15656ac_ext=c 15657ac_cpp='$CPP $CPPFLAGS' 15658ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15659ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15660ac_compiler_gnu=$ac_cv_c_compiler_gnu 15661ac_link="./libtool --mode=link --tag=CC $ac_link" 15662 15663if test -n "$ac_tool_prefix"; then 15664 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15665set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15667$as_echo_n "checking for $ac_word... " >&6; } 15668if ${ac_cv_prog_PKG_CONFIG+:} false; then : 15669 $as_echo_n "(cached) " >&6 15670else 15671 if test -n "$PKG_CONFIG"; then 15672 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. 15673else 15674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15675for as_dir in $PATH 15676do 15677 IFS=$as_save_IFS 15678 test -z "$as_dir" && as_dir=. 15679 for ac_exec_ext in '' $ac_executable_extensions; do 15680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15681 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config" 15682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15683 break 2 15684 fi 15685done 15686 done 15687IFS=$as_save_IFS 15688 15689fi 15690fi 15691PKG_CONFIG=$ac_cv_prog_PKG_CONFIG 15692if test -n "$PKG_CONFIG"; then 15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15694$as_echo "$PKG_CONFIG" >&6; } 15695else 15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15697$as_echo "no" >&6; } 15698fi 15699 15700 15701fi 15702if test -z "$ac_cv_prog_PKG_CONFIG"; then 15703 ac_ct_PKG_CONFIG=$PKG_CONFIG 15704 # Extract the first word of "pkg-config", so it can be a program name with args. 15705set dummy pkg-config; ac_word=$2 15706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15707$as_echo_n "checking for $ac_word... " >&6; } 15708if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then : 15709 $as_echo_n "(cached) " >&6 15710else 15711 if test -n "$ac_ct_PKG_CONFIG"; then 15712 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test. 15713else 15714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15715for as_dir in $PATH 15716do 15717 IFS=$as_save_IFS 15718 test -z "$as_dir" && as_dir=. 15719 for ac_exec_ext in '' $ac_executable_extensions; do 15720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15721 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config" 15722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15723 break 2 15724 fi 15725done 15726 done 15727IFS=$as_save_IFS 15728 15729fi 15730fi 15731ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG 15732if test -n "$ac_ct_PKG_CONFIG"; then 15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5 15734$as_echo "$ac_ct_PKG_CONFIG" >&6; } 15735else 15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15737$as_echo "no" >&6; } 15738fi 15739 15740 if test "x$ac_ct_PKG_CONFIG" = x; then 15741 PKG_CONFIG="false" 15742 else 15743 case $cross_compiling:$ac_tool_warned in 15744yes:) 15745{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15746$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15747ac_tool_warned=yes ;; 15748esac 15749 PKG_CONFIG=$ac_ct_PKG_CONFIG 15750 fi 15751else 15752 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" 15753fi 15754 15755## _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags 15756 15757# Check whether --with-system-kpathsea was given. 15758if test "${with_system_kpathsea+set}" = set; then : 15759 withval=$with_system_kpathsea; 15760fi 15761if test "x$with_system_kpathsea" = xyes; then 15762 if $PKG_CONFIG kpathsea; then 15763 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags` 15764 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs` 15765elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then 15766 as_fn_error $? "did not find kpathsea" "$LINENO" 5 15767fi 15768else 15769 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk" 15770 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la" 15771 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la' 15772 KPATHSEA_RULE='# Rebuild libkpathsea 15773$(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h 15774 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild 15775${top_builddir}/../kpathsea/paths.h: 15776 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild' 15777fi 15778 15779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5 15780$as_echo_n "checking if libkpathsea supports debugging... " >&6; } 15781if ${kpse_cv_kpse_debug+:} false; then : 15782 $as_echo_n "(cached) " >&6 15783else 15784 eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\" 15785eval LIBS=\"$KPATHSEA_LIBS \$LIBS\" 15786 15787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15788/* end confdefs.h. */ 15789#include <kpathsea/kpathsea.h> 15790int 15791main () 15792{ 15793FILE *f = fopen("f", "r") 15794 ; 15795 return 0; 15796} 15797_ACEOF 15798if ac_fn_c_try_link "$LINENO"; then : 15799 kpse_cv_kpse_debug=yes 15800else 15801 kpse_cv_kpse_debug=no 15802fi 15803rm -f core conftest.err conftest.$ac_objext \ 15804 conftest$ac_exeext conftest.$ac_ext 15805 CPPFLAGS=$kpse_save_CPPFLAGS 15806LIBS=$kpse_save_LIBS 15807 15808fi 15809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5 15810$as_echo "$kpse_cv_kpse_debug" >&6; } 15811if test "x$kpse_cv_kpse_debug" != xyes; then : 15812 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG" 15813fi 15814 15815## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags 15816 15817# Check whether --with-system-zlib was given. 15818if test "${with_system_zlib+set}" = set; then : 15819 withval=$with_system_zlib; 15820fi 15821 15822# Check whether --with-zlib-includes was given. 15823if test "${with_zlib_includes+set}" = set; then : 15824 withval=$with_zlib_includes; 15825fi 15826 15827# Check whether --with-zlib-libdir was given. 15828if test "${with_zlib_libdir+set}" = set; then : 15829 withval=$with_zlib_libdir; 15830fi 15831if test "x$with_system_zlib" = xyes; then 15832 if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then 15833 ZLIB_INCLUDES="-I$with_zlib_includes" 15834fi 15835ZLIB_LIBS="-lz" 15836if test "x$with_zlib_libdir" != x && test "x$with_zlib_libdir" != xyes; then 15837 ZLIB_LIBS="-L$with_zlib_libdir $ZLIB_LIBS" 15838fi 15839else 15840 ZLIB_INCLUDES="-I$kpse_BLD/libs/zlib/include" 15841 ZLIB_LIBS="$kpse_BLD/libs/zlib/libz.a" 15842 ZLIB_DEPEND='${top_builddir}/../../libs/zlib/libz.a' 15843 ZLIB_RULE='# Rebuild libz 15844$(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h 15845 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild 15846${top_builddir}/../../libs/zlib/include/zconf.h: 15847 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild' 15848fi 15849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5 15850$as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; } 15851if ${kpse_cv_have_decl_z_const+:} false; then : 15852 $as_echo_n "(cached) " >&6 15853else 15854 eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\" 15855eval LIBS=\"$ZLIB_LIBS \$LIBS\" 15856 15857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15858/* end confdefs.h. */ 15859#include <zlib.h> 15860int 15861main () 15862{ 15863z_const char * foo(); 15864 ; 15865 return 0; 15866} 15867_ACEOF 15868if ac_fn_c_try_compile "$LINENO"; then : 15869 kpse_cv_have_decl_z_const=yes 15870else 15871 kpse_cv_have_decl_z_const=no 15872fi 15873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15874 CPPFLAGS=$kpse_save_CPPFLAGS 15875LIBS=$kpse_save_LIBS 15876 15877fi 15878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5 15879$as_echo "$kpse_cv_have_decl_z_const" >&6; } 15880case $kpse_cv_have_decl_z_const in #( 15881 yes) : 15882 15883$as_echo "#define ZLIB_CONST 1" >>confdefs.h 15884 ;; #( 15885 *) : 15886 15887$as_echo "#define z_const /**/" >>confdefs.h 15888 ;; 15889esac 15890 15891## _KPSE_LIB_FLAGS: Setup libpng (-lpng) flags 15892 15893# Check whether --with-system-libpng was given. 15894if test "${with_system_libpng+set}" = set; then : 15895 withval=$with_system_libpng; 15896fi 15897if test "x$with_system_libpng" = xyes; then 15898 if $PKG_CONFIG libpng; then 15899 LIBPNG_INCLUDES=`$PKG_CONFIG libpng --cflags` 15900 LIBPNG_LIBS=`$PKG_CONFIG libpng --libs` 15901elif test "x$need_libpng:$with_system_libpng" = xyes:yes; then 15902 as_fn_error $? "did not find libpng" "$LINENO" 5 15903fi 15904else 15905 LIBPNG_INCLUDES="-I$kpse_BLD/libs/libpng/include" 15906 LIBPNG_LIBS="$kpse_BLD/libs/libpng/libpng.a" 15907 LIBPNG_DEPEND='${top_builddir}/../../libs/libpng/libpng.a' 15908 LIBPNG_RULE='# Rebuild libpng 15909$(LIBPNG_DEPEND): ${top_builddir}/../../libs/libpng/include/png.h 15910 cd ${top_builddir}/../../libs/libpng && $(MAKE) $(AM_MAKEFLAGS) rebuild 15911${top_builddir}/../../libs/libpng/include/png.h: 15912 cd ${top_builddir}/../../libs/libpng && $(MAKE) $(AM_MAKEFLAGS) rebuild' 15913fi 15914 15915## _KPSE_LIB_FLAGS: Setup libpaper (-lpaper) flags 15916 15917# Check whether --with-system-libpaper was given. 15918if test "${with_system_libpaper+set}" = set; then : 15919 withval=$with_system_libpaper; 15920fi 15921 15922# Check whether --with-libpaper-includes was given. 15923if test "${with_libpaper_includes+set}" = set; then : 15924 withval=$with_libpaper_includes; 15925fi 15926 15927# Check whether --with-libpaper-libdir was given. 15928if test "${with_libpaper_libdir+set}" = set; then : 15929 withval=$with_libpaper_libdir; 15930fi 15931if test "x$with_system_libpaper" = xyes; then 15932 if test "x$with_libpaper_includes" != x && test "x$with_libpaper_includes" != xyes; then 15933 LIBPAPER_INCLUDES="-I$with_libpaper_includes" 15934fi 15935LIBPAPER_LIBS="-lpaper" 15936if test "x$with_libpaper_libdir" != x && test "x$with_libpaper_libdir" != xyes; then 15937 LIBPAPER_LIBS="-L$with_libpaper_libdir $LIBPAPER_LIBS" 15938fi 15939else 15940 LIBPAPER_INCLUDES="-I$kpse_BLD/libs/libpaper/include" 15941 LIBPAPER_LIBS="$kpse_BLD/libs/libpaper/libpaper.a" 15942 LIBPAPER_DEPEND='${top_builddir}/../../libs/libpaper/libpaper.a' 15943 LIBPAPER_RULE='# Rebuild libpaper 15944$(LIBPAPER_DEPEND): ${top_builddir}/../../libs/libpaper/include/paper.h 15945 cd ${top_builddir}/../../libs/libpaper && $(MAKE) $(AM_MAKEFLAGS) rebuild 15946${top_builddir}/../../libs/libpaper/include/paper.h: 15947 cd ${top_builddir}/../../libs/libpaper && $(MAKE) $(AM_MAKEFLAGS) rebuild' 15948fi 15949 15950 15951$as_echo "#define HAVE_LIBPAPER 1" >>confdefs.h 15952 15953 15954kpse_save_CPPFLAGS=$CPPFLAGS 15955kpse_save_LIBS=$LIBS 15956 15957 15958if test "x$enable_build" != xno || test -f config.force; then 15959 15960eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\" 15961eval LIBS=\"$KPATHSEA_LIBS \$LIBS\" 15962 15963ac_fn_c_check_header_mongrel "$LINENO" "kpathsea/version.h" "ac_cv_header_kpathsea_version_h" "$ac_includes_default" 15964if test "x$ac_cv_header_kpathsea_version_h" = xyes; then : 15965 15966else 15967 as_fn_error $? "Sorry, kpathsea too old" "$LINENO" 5 15968fi 15969 15970 15971 15972eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\" 15973eval LIBS=\"$ZLIB_LIBS \$LIBS\" 15974 15975cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15976/* end confdefs.h. */ 15977#include <zlib.h> 15978int 15979main () 15980{ 15981Bytef *dst,*src; uLong dstlen, srclen; int lvl, err; 15982 err=compress2(dst, &dstlen, src, srclen, lvl); 15983 ; 15984 return 0; 15985} 15986_ACEOF 15987if ac_fn_c_try_link "$LINENO"; then : 15988 15989else 15990 as_fn_error $? "Sorry, you need zlib with compress2" "$LINENO" 5 15991fi 15992rm -f core conftest.err conftest.$ac_objext \ 15993 conftest$ac_exeext conftest.$ac_ext 15994 15995eval CPPFLAGS=\"$LIBPNG_INCLUDES \$CPPFLAGS\" 15996eval LIBS=\"$LIBPNG_LIBS \$LIBS\" 15997 15998cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15999/* end confdefs.h. */ 16000#include <png.h> 16001int 16002main () 16003{ 16004png_const_structp png; png_const_infop info; int err; 16005 err=png_get_image_width(png, info); 16006 ; 16007 return 0; 16008} 16009_ACEOF 16010if ac_fn_c_try_link "$LINENO"; then : 16011 16012else 16013 as_fn_error $? "Sorry, you need libpng" "$LINENO" 5 16014fi 16015rm -f core conftest.err conftest.$ac_objext \ 16016 conftest$ac_exeext conftest.$ac_ext 16017 16018CPPFLAGS=$kpse_save_CPPFLAGS 16019LIBS=$kpse_save_LIBS 16020 16021 16022echo timestamp >config.force 16023fi 16024 16025 16026$as_echo "#define HAVE_ZLIB 1" >>confdefs.h 16027 16028 16029$as_echo "#define HAVE_ZLIB_COMPRESS2 1" >>confdefs.h 16030 16031 16032$as_echo "#define HAVE_LIBPNG 1" >>confdefs.h 16033 16034 16035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5 16036$as_echo_n "checking for native WIN32 or MINGW32... " >&6; } 16037if ${kpse_cv_have_win32+:} false; then : 16038 $as_echo_n "(cached) " >&6 16039else 16040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16041/* end confdefs.h. */ 16042#ifndef WIN32 16043 choke me 16044#endif 16045int 16046main () 16047{ 16048 16049 ; 16050 return 0; 16051} 16052_ACEOF 16053if ac_fn_c_try_compile "$LINENO"; then : 16054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16055/* end confdefs.h. */ 16056#ifndef __MINGW32__ 16057 choke me 16058#endif 16059int 16060main () 16061{ 16062 16063 ; 16064 return 0; 16065} 16066_ACEOF 16067if ac_fn_c_try_compile "$LINENO"; then : 16068 kpse_cv_have_win32=mingw32 16069else 16070 kpse_cv_have_win32=native 16071fi 16072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16073else 16074 kpse_cv_have_win32=no 16075fi 16076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16077fi 16078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5 16079$as_echo "$kpse_cv_have_win32" >&6; } 16080 16081 if test "x$kpse_cv_have_win32" != xno; then 16082 WIN32_TRUE= 16083 WIN32_FALSE='#' 16084else 16085 WIN32_TRUE='#' 16086 WIN32_FALSE= 16087fi 16088 16089 16090 if test -r "$srcdir/../texlive/w32_wrapper/callexe.c"; then 16091 WIN32_CALL_TRUE= 16092 WIN32_CALL_FALSE='#' 16093else 16094 WIN32_CALL_TRUE='#' 16095 WIN32_CALL_FALSE= 16096fi 16097 16098if test -z "$WIN32_TRUE"; then : 16099 ac_config_links="$ac_config_links callexe.c:../texlive/w32_wrapper/callexe.c" 16100 16101fi 16102 16103 16104 if test "x$enable_dvipdfmx" != xno; then 16105 DVIPDFMX_TRUE= 16106 DVIPDFMX_FALSE='#' 16107else 16108 DVIPDFMX_TRUE='#' 16109 DVIPDFMX_FALSE= 16110fi 16111 16112 if test "x$enable_xdvipdfmx" != xno; then 16113 XDVIPDFMX_TRUE= 16114 XDVIPDFMX_FALSE='#' 16115else 16116 XDVIPDFMX_TRUE='#' 16117 XDVIPDFMX_FALSE= 16118fi 16119 16120 16121ac_config_files="$ac_config_files Makefile" 16122 16123 16124cat >confcache <<\_ACEOF 16125# This file is a shell script that caches the results of configure 16126# tests run on this system so they can be shared between configure 16127# scripts and configure runs, see configure's option --config-cache. 16128# It is not useful on other systems. If it contains results you don't 16129# want to keep, you may remove or edit it. 16130# 16131# config.status only pays attention to the cache file if you give it 16132# the --recheck option to rerun configure. 16133# 16134# `ac_cv_env_foo' variables (set or unset) will be overridden when 16135# loading this file, other *unset* `ac_cv_foo' will be assigned the 16136# following values. 16137 16138_ACEOF 16139 16140# The following way of writing the cache mishandles newlines in values, 16141# but we know of no workaround that is simple, portable, and efficient. 16142# So, we kill variables containing newlines. 16143# Ultrix sh set writes to stderr and can't be redirected directly, 16144# and sets the high bit in the cache file unless we assign to the vars. 16145( 16146 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16147 eval ac_val=\$$ac_var 16148 case $ac_val in #( 16149 *${as_nl}*) 16150 case $ac_var in #( 16151 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16152$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16153 esac 16154 case $ac_var in #( 16155 _ | IFS | as_nl) ;; #( 16156 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16157 *) { eval $ac_var=; unset $ac_var;} ;; 16158 esac ;; 16159 esac 16160 done 16161 16162 (set) 2>&1 | 16163 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16164 *${as_nl}ac_space=\ *) 16165 # `set' does not quote correctly, so add quotes: double-quote 16166 # substitution turns \\\\ into \\, and sed turns \\ into \. 16167 sed -n \ 16168 "s/'/'\\\\''/g; 16169 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16170 ;; #( 16171 *) 16172 # `set' quotes correctly as required by POSIX, so do not add quotes. 16173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16174 ;; 16175 esac | 16176 sort 16177) | 16178 sed ' 16179 /^ac_cv_env_/b end 16180 t clear 16181 :clear 16182 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16183 t end 16184 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16185 :end' >>confcache 16186if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16187 if test -w "$cache_file"; then 16188 if test "x$cache_file" != "x/dev/null"; then 16189 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16190$as_echo "$as_me: updating cache $cache_file" >&6;} 16191 if test ! -f "$cache_file" || test -h "$cache_file"; then 16192 cat confcache >"$cache_file" 16193 else 16194 case $cache_file in #( 16195 */* | ?:*) 16196 mv -f confcache "$cache_file"$$ && 16197 mv -f "$cache_file"$$ "$cache_file" ;; #( 16198 *) 16199 mv -f confcache "$cache_file" ;; 16200 esac 16201 fi 16202 fi 16203 else 16204 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16205$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16206 fi 16207fi 16208rm -f confcache 16209 16210test "x$prefix" = xNONE && prefix=$ac_default_prefix 16211# Let make expand exec_prefix. 16212test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16213 16214DEFS=-DHAVE_CONFIG_H 16215 16216ac_libobjs= 16217ac_ltlibobjs= 16218U= 16219for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16220 # 1. Remove the extension, and $U if already installed. 16221 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16222 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16223 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16224 # will be set to the directory where LIBOBJS objects are built. 16225 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16226 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16227done 16228LIBOBJS=$ac_libobjs 16229 16230LTLIBOBJS=$ac_ltlibobjs 16231 16232 16233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16234$as_echo_n "checking that generated files are newer than configure... " >&6; } 16235 if test -n "$am_sleep_pid"; then 16236 # Hide warnings about reused PIDs. 16237 wait $am_sleep_pid 2>/dev/null 16238 fi 16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16240$as_echo "done" >&6; } 16241 if test -n "$EXEEXT"; then 16242 am__EXEEXT_TRUE= 16243 am__EXEEXT_FALSE='#' 16244else 16245 am__EXEEXT_TRUE='#' 16246 am__EXEEXT_FALSE= 16247fi 16248 16249if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 16250 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 16251Usually this means the macro was only invoked conditionally." "$LINENO" 5 16252fi 16253if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16254 as_fn_error $? "conditional \"AMDEP\" was never defined. 16255Usually this means the macro was only invoked conditionally." "$LINENO" 5 16256fi 16257if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16258 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16259Usually this means the macro was only invoked conditionally." "$LINENO" 5 16260fi 16261 16262if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then 16263 as_fn_error $? "conditional \"WIN32\" was never defined. 16264Usually this means the macro was only invoked conditionally." "$LINENO" 5 16265fi 16266if test -z "${WIN32_CALL_TRUE}" && test -z "${WIN32_CALL_FALSE}"; then 16267 as_fn_error $? "conditional \"WIN32_CALL\" was never defined. 16268Usually this means the macro was only invoked conditionally." "$LINENO" 5 16269fi 16270if test -z "${DVIPDFMX_TRUE}" && test -z "${DVIPDFMX_FALSE}"; then 16271 as_fn_error $? "conditional \"DVIPDFMX\" was never defined. 16272Usually this means the macro was only invoked conditionally." "$LINENO" 5 16273fi 16274if test -z "${XDVIPDFMX_TRUE}" && test -z "${XDVIPDFMX_FALSE}"; then 16275 as_fn_error $? "conditional \"XDVIPDFMX\" was never defined. 16276Usually this means the macro was only invoked conditionally." "$LINENO" 5 16277fi 16278 16279: "${CONFIG_STATUS=./config.status}" 16280ac_write_fail=0 16281ac_clean_files_save=$ac_clean_files 16282ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16283{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16284$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16285as_write_fail=0 16286cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16287#! $SHELL 16288# Generated by $as_me. 16289# Run this file to recreate the current configuration. 16290# Compiler output produced by configure, useful for debugging 16291# configure, is in config.log if it exists. 16292 16293debug=false 16294ac_cs_recheck=false 16295ac_cs_silent=false 16296 16297SHELL=\${CONFIG_SHELL-$SHELL} 16298export SHELL 16299_ASEOF 16300cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16301## -------------------- ## 16302## M4sh Initialization. ## 16303## -------------------- ## 16304 16305# Be more Bourne compatible 16306DUALCASE=1; export DUALCASE # for MKS sh 16307if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16308 emulate sh 16309 NULLCMD=: 16310 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16311 # is contrary to our usage. Disable this feature. 16312 alias -g '${1+"$@"}'='"$@"' 16313 setopt NO_GLOB_SUBST 16314else 16315 case `(set -o) 2>/dev/null` in #( 16316 *posix*) : 16317 set -o posix ;; #( 16318 *) : 16319 ;; 16320esac 16321fi 16322 16323 16324as_nl=' 16325' 16326export as_nl 16327# Printing a long string crashes Solaris 7 /usr/bin/printf. 16328as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16329as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16330as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16331# Prefer a ksh shell builtin over an external printf program on Solaris, 16332# but without wasting forks for bash or zsh. 16333if test -z "$BASH_VERSION$ZSH_VERSION" \ 16334 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16335 as_echo='print -r --' 16336 as_echo_n='print -rn --' 16337elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16338 as_echo='printf %s\n' 16339 as_echo_n='printf %s' 16340else 16341 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16342 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16343 as_echo_n='/usr/ucb/echo -n' 16344 else 16345 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16346 as_echo_n_body='eval 16347 arg=$1; 16348 case $arg in #( 16349 *"$as_nl"*) 16350 expr "X$arg" : "X\\(.*\\)$as_nl"; 16351 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16352 esac; 16353 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16354 ' 16355 export as_echo_n_body 16356 as_echo_n='sh -c $as_echo_n_body as_echo' 16357 fi 16358 export as_echo_body 16359 as_echo='sh -c $as_echo_body as_echo' 16360fi 16361 16362# The user is always right. 16363if test "${PATH_SEPARATOR+set}" != set; then 16364 PATH_SEPARATOR=: 16365 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16366 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16367 PATH_SEPARATOR=';' 16368 } 16369fi 16370 16371 16372# IFS 16373# We need space, tab and new line, in precisely that order. Quoting is 16374# there to prevent editors from complaining about space-tab. 16375# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16376# splitting by setting IFS to empty value.) 16377IFS=" "" $as_nl" 16378 16379# Find who we are. Look in the path if we contain no directory separator. 16380as_myself= 16381case $0 in #(( 16382 *[\\/]* ) as_myself=$0 ;; 16383 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16384for as_dir in $PATH 16385do 16386 IFS=$as_save_IFS 16387 test -z "$as_dir" && as_dir=. 16388 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16389 done 16390IFS=$as_save_IFS 16391 16392 ;; 16393esac 16394# We did not find ourselves, most probably we were run as `sh COMMAND' 16395# in which case we are not to be found in the path. 16396if test "x$as_myself" = x; then 16397 as_myself=$0 16398fi 16399if test ! -f "$as_myself"; then 16400 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16401 exit 1 16402fi 16403 16404# Unset variables that we do not need and which cause bugs (e.g. in 16405# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16406# suppresses any "Segmentation fault" message there. '((' could 16407# trigger a bug in pdksh 5.2.14. 16408for as_var in BASH_ENV ENV MAIL MAILPATH 16409do eval test x\${$as_var+set} = xset \ 16410 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16411done 16412PS1='$ ' 16413PS2='> ' 16414PS4='+ ' 16415 16416# NLS nuisances. 16417LC_ALL=C 16418export LC_ALL 16419LANGUAGE=C 16420export LANGUAGE 16421 16422# CDPATH. 16423(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16424 16425 16426# as_fn_error STATUS ERROR [LINENO LOG_FD] 16427# ---------------------------------------- 16428# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16429# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16430# script with STATUS, using 1 if that was 0. 16431as_fn_error () 16432{ 16433 as_status=$1; test $as_status -eq 0 && as_status=1 16434 if test "$4"; then 16435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16436 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16437 fi 16438 $as_echo "$as_me: error: $2" >&2 16439 as_fn_exit $as_status 16440} # as_fn_error 16441 16442 16443# as_fn_set_status STATUS 16444# ----------------------- 16445# Set $? to STATUS, without forking. 16446as_fn_set_status () 16447{ 16448 return $1 16449} # as_fn_set_status 16450 16451# as_fn_exit STATUS 16452# ----------------- 16453# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16454as_fn_exit () 16455{ 16456 set +e 16457 as_fn_set_status $1 16458 exit $1 16459} # as_fn_exit 16460 16461# as_fn_unset VAR 16462# --------------- 16463# Portably unset VAR. 16464as_fn_unset () 16465{ 16466 { eval $1=; unset $1;} 16467} 16468as_unset=as_fn_unset 16469# as_fn_append VAR VALUE 16470# ---------------------- 16471# Append the text in VALUE to the end of the definition contained in VAR. Take 16472# advantage of any shell optimizations that allow amortized linear growth over 16473# repeated appends, instead of the typical quadratic growth present in naive 16474# implementations. 16475if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16476 eval 'as_fn_append () 16477 { 16478 eval $1+=\$2 16479 }' 16480else 16481 as_fn_append () 16482 { 16483 eval $1=\$$1\$2 16484 } 16485fi # as_fn_append 16486 16487# as_fn_arith ARG... 16488# ------------------ 16489# Perform arithmetic evaluation on the ARGs, and store the result in the 16490# global $as_val. Take advantage of shells that can avoid forks. The arguments 16491# must be portable across $(()) and expr. 16492if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16493 eval 'as_fn_arith () 16494 { 16495 as_val=$(( $* )) 16496 }' 16497else 16498 as_fn_arith () 16499 { 16500 as_val=`expr "$@" || test $? -eq 1` 16501 } 16502fi # as_fn_arith 16503 16504 16505if expr a : '\(a\)' >/dev/null 2>&1 && 16506 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16507 as_expr=expr 16508else 16509 as_expr=false 16510fi 16511 16512if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16513 as_basename=basename 16514else 16515 as_basename=false 16516fi 16517 16518if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16519 as_dirname=dirname 16520else 16521 as_dirname=false 16522fi 16523 16524as_me=`$as_basename -- "$0" || 16525$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16526 X"$0" : 'X\(//\)$' \| \ 16527 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16528$as_echo X/"$0" | 16529 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16530 s//\1/ 16531 q 16532 } 16533 /^X\/\(\/\/\)$/{ 16534 s//\1/ 16535 q 16536 } 16537 /^X\/\(\/\).*/{ 16538 s//\1/ 16539 q 16540 } 16541 s/.*/./; q'` 16542 16543# Avoid depending upon Character Ranges. 16544as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16545as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16546as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16547as_cr_digits='0123456789' 16548as_cr_alnum=$as_cr_Letters$as_cr_digits 16549 16550ECHO_C= ECHO_N= ECHO_T= 16551case `echo -n x` in #((((( 16552-n*) 16553 case `echo 'xy\c'` in 16554 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16555 xy) ECHO_C='\c';; 16556 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16557 ECHO_T=' ';; 16558 esac;; 16559*) 16560 ECHO_N='-n';; 16561esac 16562 16563rm -f conf$$ conf$$.exe conf$$.file 16564if test -d conf$$.dir; then 16565 rm -f conf$$.dir/conf$$.file 16566else 16567 rm -f conf$$.dir 16568 mkdir conf$$.dir 2>/dev/null 16569fi 16570if (echo >conf$$.file) 2>/dev/null; then 16571 if ln -s conf$$.file conf$$ 2>/dev/null; then 16572 as_ln_s='ln -s' 16573 # ... but there are two gotchas: 16574 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16575 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16576 # In both cases, we have to default to `cp -pR'. 16577 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16578 as_ln_s='cp -pR' 16579 elif ln conf$$.file conf$$ 2>/dev/null; then 16580 as_ln_s=ln 16581 else 16582 as_ln_s='cp -pR' 16583 fi 16584else 16585 as_ln_s='cp -pR' 16586fi 16587rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16588rmdir conf$$.dir 2>/dev/null 16589 16590 16591# as_fn_mkdir_p 16592# ------------- 16593# Create "$as_dir" as a directory, including parents if necessary. 16594as_fn_mkdir_p () 16595{ 16596 16597 case $as_dir in #( 16598 -*) as_dir=./$as_dir;; 16599 esac 16600 test -d "$as_dir" || eval $as_mkdir_p || { 16601 as_dirs= 16602 while :; do 16603 case $as_dir in #( 16604 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16605 *) as_qdir=$as_dir;; 16606 esac 16607 as_dirs="'$as_qdir' $as_dirs" 16608 as_dir=`$as_dirname -- "$as_dir" || 16609$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16610 X"$as_dir" : 'X\(//\)[^/]' \| \ 16611 X"$as_dir" : 'X\(//\)$' \| \ 16612 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16613$as_echo X"$as_dir" | 16614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16615 s//\1/ 16616 q 16617 } 16618 /^X\(\/\/\)[^/].*/{ 16619 s//\1/ 16620 q 16621 } 16622 /^X\(\/\/\)$/{ 16623 s//\1/ 16624 q 16625 } 16626 /^X\(\/\).*/{ 16627 s//\1/ 16628 q 16629 } 16630 s/.*/./; q'` 16631 test -d "$as_dir" && break 16632 done 16633 test -z "$as_dirs" || eval "mkdir $as_dirs" 16634 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 16635 16636 16637} # as_fn_mkdir_p 16638if mkdir -p . 2>/dev/null; then 16639 as_mkdir_p='mkdir -p "$as_dir"' 16640else 16641 test -d ./-p && rmdir ./-p 16642 as_mkdir_p=false 16643fi 16644 16645 16646# as_fn_executable_p FILE 16647# ----------------------- 16648# Test if FILE is an executable regular file. 16649as_fn_executable_p () 16650{ 16651 test -f "$1" && test -x "$1" 16652} # as_fn_executable_p 16653as_test_x='test -x' 16654as_executable_p=as_fn_executable_p 16655 16656# Sed expression to map a string onto a valid CPP name. 16657as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 16658 16659# Sed expression to map a string onto a valid variable name. 16660as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 16661 16662 16663exec 6>&1 16664## ----------------------------------- ## 16665## Main body of $CONFIG_STATUS script. ## 16666## ----------------------------------- ## 16667_ASEOF 16668test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 16669 16670cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16671# Save the log message, to keep $0 and so on meaningful, and to 16672# report actual input values of CONFIG_FILES etc. instead of their 16673# values after options handling. 16674ac_log=" 16675This file was extended by dvipdfm-x (TeX Live) $as_me 20150315, which was 16676generated by GNU Autoconf 2.69. Invocation command line was 16677 16678 CONFIG_FILES = $CONFIG_FILES 16679 CONFIG_HEADERS = $CONFIG_HEADERS 16680 CONFIG_LINKS = $CONFIG_LINKS 16681 CONFIG_COMMANDS = $CONFIG_COMMANDS 16682 $ $0 $@ 16683 16684on `(hostname || uname -n) 2>/dev/null | sed 1q` 16685" 16686 16687_ACEOF 16688 16689case $ac_config_files in *" 16690"*) set x $ac_config_files; shift; ac_config_files=$*;; 16691esac 16692 16693case $ac_config_headers in *" 16694"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 16695esac 16696 16697 16698cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16699# Files that config.status was made for. 16700config_files="$ac_config_files" 16701config_headers="$ac_config_headers" 16702config_links="$ac_config_links" 16703config_commands="$ac_config_commands" 16704 16705_ACEOF 16706 16707cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16708ac_cs_usage="\ 16709\`$as_me' instantiates files and other configuration actions 16710from templates according to the current configuration. Unless the files 16711and actions are specified as TAGs, all are instantiated by default. 16712 16713Usage: $0 [OPTION]... [TAG]... 16714 16715 -h, --help print this help, then exit 16716 -V, --version print version number and configuration settings, then exit 16717 --config print configuration, then exit 16718 -q, --quiet, --silent 16719 do not print progress messages 16720 -d, --debug don't remove temporary files 16721 --recheck update $as_me by reconfiguring in the same conditions 16722 --file=FILE[:TEMPLATE] 16723 instantiate the configuration file FILE 16724 --header=FILE[:TEMPLATE] 16725 instantiate the configuration header FILE 16726 16727Configuration files: 16728$config_files 16729 16730Configuration headers: 16731$config_headers 16732 16733Configuration links: 16734$config_links 16735 16736Configuration commands: 16737$config_commands 16738 16739Report bugs to <tex-k@tug.org>." 16740 16741_ACEOF 16742cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16743ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16744ac_cs_version="\\ 16745dvipdfm-x (TeX Live) config.status 20150315 16746configured by $0, generated by GNU Autoconf 2.69, 16747 with options \\"\$ac_cs_config\\" 16748 16749Copyright (C) 2012 Free Software Foundation, Inc. 16750This config.status script is free software; the Free Software Foundation 16751gives unlimited permission to copy, distribute and modify it." 16752 16753ac_pwd='$ac_pwd' 16754srcdir='$srcdir' 16755INSTALL='$INSTALL' 16756MKDIR_P='$MKDIR_P' 16757AWK='$AWK' 16758test -n "\$AWK" || AWK=awk 16759_ACEOF 16760 16761cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16762# The default lists apply if the user does not specify any file. 16763ac_need_defaults=: 16764while test $# != 0 16765do 16766 case $1 in 16767 --*=?*) 16768 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16769 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 16770 ac_shift=: 16771 ;; 16772 --*=) 16773 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16774 ac_optarg= 16775 ac_shift=: 16776 ;; 16777 *) 16778 ac_option=$1 16779 ac_optarg=$2 16780 ac_shift=shift 16781 ;; 16782 esac 16783 16784 case $ac_option in 16785 # Handling of the options. 16786 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16787 ac_cs_recheck=: ;; 16788 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16789 $as_echo "$ac_cs_version"; exit ;; 16790 --config | --confi | --conf | --con | --co | --c ) 16791 $as_echo "$ac_cs_config"; exit ;; 16792 --debug | --debu | --deb | --de | --d | -d ) 16793 debug=: ;; 16794 --file | --fil | --fi | --f ) 16795 $ac_shift 16796 case $ac_optarg in 16797 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16798 '') as_fn_error $? "missing file argument" ;; 16799 esac 16800 as_fn_append CONFIG_FILES " '$ac_optarg'" 16801 ac_need_defaults=false;; 16802 --header | --heade | --head | --hea ) 16803 $ac_shift 16804 case $ac_optarg in 16805 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16806 esac 16807 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 16808 ac_need_defaults=false;; 16809 --he | --h) 16810 # Conflict between --help and --header 16811 as_fn_error $? "ambiguous option: \`$1' 16812Try \`$0 --help' for more information.";; 16813 --help | --hel | -h ) 16814 $as_echo "$ac_cs_usage"; exit ;; 16815 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16816 | -silent | --silent | --silen | --sile | --sil | --si | --s) 16817 ac_cs_silent=: ;; 16818 16819 # This is an error. 16820 -*) as_fn_error $? "unrecognized option: \`$1' 16821Try \`$0 --help' for more information." ;; 16822 16823 *) as_fn_append ac_config_targets " $1" 16824 ac_need_defaults=false ;; 16825 16826 esac 16827 shift 16828done 16829 16830ac_configure_extra_args= 16831 16832if $ac_cs_silent; then 16833 exec 6>/dev/null 16834 ac_configure_extra_args="$ac_configure_extra_args --silent" 16835fi 16836 16837_ACEOF 16838cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16839if \$ac_cs_recheck; then 16840 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 16841 shift 16842 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 16843 CONFIG_SHELL='$SHELL' 16844 export CONFIG_SHELL 16845 exec "\$@" 16846fi 16847 16848_ACEOF 16849cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16850exec 5>>config.log 16851{ 16852 echo 16853 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 16854## Running $as_me. ## 16855_ASBOX 16856 $as_echo "$ac_log" 16857} >&5 16858 16859_ACEOF 16860cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16861# 16862# INIT-COMMANDS 16863# 16864AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 16865 16866 16867# The HP-UX ksh and POSIX shell print the target directory to stdout 16868# if CDPATH is set. 16869(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16870 16871sed_quote_subst='$sed_quote_subst' 16872double_quote_subst='$double_quote_subst' 16873delay_variable_subst='$delay_variable_subst' 16874macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 16875macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 16876AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 16877DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 16878OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 16879enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 16880enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 16881pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 16882enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 16883shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 16884SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 16885ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 16886PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 16887host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 16888host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 16889host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 16890build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 16891build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 16892build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 16893SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 16894Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 16895GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 16896EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 16897FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 16898LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 16899NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 16900LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 16901max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 16902ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 16903exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 16904lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16905lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16906lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16907lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 16908lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 16909reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 16910reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 16911deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 16912file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 16913file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 16914want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 16915sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 16916AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 16917AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 16918archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 16919STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16920RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16921old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16922old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16923old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 16924lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 16925CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 16926CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 16927compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 16928GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 16929lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 16930lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 16931lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 16932lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 16933lt_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"`' 16934lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 16935nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 16936lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 16937lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 16938objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 16939MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 16940lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 16941lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 16942lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 16943lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 16944lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 16945need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 16946MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 16947DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16948NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16949LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16950OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 16951OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 16952libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 16953shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 16954extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16955archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 16956enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 16957export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 16958whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 16959compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 16960old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 16961old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16962archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 16963archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16964module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 16965module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16966with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 16967allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 16968no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 16969hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 16970hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 16971hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 16972hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 16973hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 16974hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 16975hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16976inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16977link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16978always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 16979export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 16980exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 16981include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 16982prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 16983postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 16984file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16985variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 16986need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 16987need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 16988version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 16989runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 16990shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 16991shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 16992libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 16993library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 16994soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 16995install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 16996postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16997postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16998finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 16999finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 17000hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 17001sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 17002configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 17003configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 17004hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 17005enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 17006enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 17007enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 17008old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 17009striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 17010 17011LTCC='$LTCC' 17012LTCFLAGS='$LTCFLAGS' 17013compiler='$compiler_DEFAULT' 17014 17015# A function that is used when there is no print builtin or printf. 17016func_fallback_echo () 17017{ 17018 eval 'cat <<_LTECHO_EOF 17019\$1 17020_LTECHO_EOF' 17021} 17022 17023# Quote evaled strings. 17024for var in AS \ 17025DLLTOOL \ 17026OBJDUMP \ 17027SHELL \ 17028ECHO \ 17029PATH_SEPARATOR \ 17030SED \ 17031GREP \ 17032EGREP \ 17033FGREP \ 17034LD \ 17035NM \ 17036LN_S \ 17037lt_SP2NL \ 17038lt_NL2SP \ 17039reload_flag \ 17040deplibs_check_method \ 17041file_magic_cmd \ 17042file_magic_glob \ 17043want_nocaseglob \ 17044sharedlib_from_linklib_cmd \ 17045AR \ 17046AR_FLAGS \ 17047archiver_list_spec \ 17048STRIP \ 17049RANLIB \ 17050CC \ 17051CFLAGS \ 17052compiler \ 17053lt_cv_sys_global_symbol_pipe \ 17054lt_cv_sys_global_symbol_to_cdecl \ 17055lt_cv_sys_global_symbol_to_import \ 17056lt_cv_sys_global_symbol_to_c_name_address \ 17057lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17058lt_cv_nm_interface \ 17059nm_file_list_spec \ 17060lt_cv_truncate_bin \ 17061lt_prog_compiler_no_builtin_flag \ 17062lt_prog_compiler_pic \ 17063lt_prog_compiler_wl \ 17064lt_prog_compiler_static \ 17065lt_cv_prog_compiler_c_o \ 17066need_locks \ 17067MANIFEST_TOOL \ 17068DSYMUTIL \ 17069NMEDIT \ 17070LIPO \ 17071OTOOL \ 17072OTOOL64 \ 17073shrext_cmds \ 17074export_dynamic_flag_spec \ 17075whole_archive_flag_spec \ 17076compiler_needs_object \ 17077with_gnu_ld \ 17078allow_undefined_flag \ 17079no_undefined_flag \ 17080hardcode_libdir_flag_spec \ 17081hardcode_libdir_separator \ 17082exclude_expsyms \ 17083include_expsyms \ 17084file_list_spec \ 17085variables_saved_for_relink \ 17086libname_spec \ 17087library_names_spec \ 17088soname_spec \ 17089install_override_mode \ 17090finish_eval \ 17091old_striplib \ 17092striplib; do 17093 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17094 *[\\\\\\\`\\"\\\$]*) 17095 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17096 ;; 17097 *) 17098 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17099 ;; 17100 esac 17101done 17102 17103# Double-quote double-evaled strings. 17104for var in reload_cmds \ 17105old_postinstall_cmds \ 17106old_postuninstall_cmds \ 17107old_archive_cmds \ 17108extract_expsyms_cmds \ 17109old_archive_from_new_cmds \ 17110old_archive_from_expsyms_cmds \ 17111archive_cmds \ 17112archive_expsym_cmds \ 17113module_cmds \ 17114module_expsym_cmds \ 17115export_symbols_cmds \ 17116prelink_cmds \ 17117postlink_cmds \ 17118postinstall_cmds \ 17119postuninstall_cmds \ 17120finish_cmds \ 17121sys_lib_search_path_spec \ 17122configure_time_dlsearch_path \ 17123configure_time_lt_sys_library_path; do 17124 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17125 *[\\\\\\\`\\"\\\$]*) 17126 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17127 ;; 17128 *) 17129 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17130 ;; 17131 esac 17132done 17133 17134ac_aux_dir='$ac_aux_dir' 17135 17136# See if we are running on zsh, and set the options that allow our 17137# commands through without removal of \ escapes INIT. 17138if test -n "\${ZSH_VERSION+set}"; then 17139 setopt NO_GLOB_SUBST 17140fi 17141 17142 17143 PACKAGE='$PACKAGE' 17144 VERSION='$VERSION' 17145 RM='$RM' 17146 ofile='$ofile' 17147 17148ac_aux_dir='$ac_aux_dir' 17149 17150 17151 17152_ACEOF 17153 17154cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17155 17156# Handling of arguments. 17157for ac_config_target in $ac_config_targets 17158do 17159 case $ac_config_target in 17160 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17161 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 17162 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 17163 "callexe.c") CONFIG_LINKS="$CONFIG_LINKS callexe.c:../texlive/w32_wrapper/callexe.c" ;; 17164 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17165 17166 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17167 esac 17168done 17169 17170 17171# If the user did not use the arguments to specify the items to instantiate, 17172# then the envvar interface is used. Set only those that are not. 17173# We use the long form for the default assignment because of an extremely 17174# bizarre bug on SunOS 4.1.3. 17175if $ac_need_defaults; then 17176 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17177 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 17178 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links 17179 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 17180fi 17181 17182# Have a temporary directory for convenience. Make it in the build tree 17183# simply because there is no reason against having it here, and in addition, 17184# creating and moving files from /tmp can sometimes cause problems. 17185# Hook for its removal unless debugging. 17186# Note that there is a small window in which the directory will not be cleaned: 17187# after its creation but before its name has been assigned to `$tmp'. 17188$debug || 17189{ 17190 tmp= ac_tmp= 17191 trap 'exit_status=$? 17192 : "${ac_tmp:=$tmp}" 17193 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17194' 0 17195 trap 'as_fn_exit 1' 1 2 13 15 17196} 17197# Create a (secure) tmp directory for tmp files. 17198 17199{ 17200 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17201 test -d "$tmp" 17202} || 17203{ 17204 tmp=./conf$$-$RANDOM 17205 (umask 077 && mkdir "$tmp") 17206} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17207ac_tmp=$tmp 17208 17209# Set up the scripts for CONFIG_FILES section. 17210# No need to generate them if there are no CONFIG_FILES. 17211# This happens for instance with `./config.status config.h'. 17212if test -n "$CONFIG_FILES"; then 17213 17214 17215ac_cr=`echo X | tr X '\015'` 17216# On cygwin, bash can eat \r inside `` if the user requested igncr. 17217# But we know of no other shell where ac_cr would be empty at this 17218# point, so we can use a bashism as a fallback. 17219if test "x$ac_cr" = x; then 17220 eval ac_cr=\$\'\\r\' 17221fi 17222ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17223if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17224 ac_cs_awk_cr='\\r' 17225else 17226 ac_cs_awk_cr=$ac_cr 17227fi 17228 17229echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17230_ACEOF 17231 17232 17233{ 17234 echo "cat >conf$$subs.awk <<_ACEOF" && 17235 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17236 echo "_ACEOF" 17237} >conf$$subs.sh || 17238 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17239ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17240ac_delim='%!_!# ' 17241for ac_last_try in false false false false false :; do 17242 . ./conf$$subs.sh || 17243 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17244 17245 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17246 if test $ac_delim_n = $ac_delim_num; then 17247 break 17248 elif $ac_last_try; then 17249 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17250 else 17251 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17252 fi 17253done 17254rm -f conf$$subs.sh 17255 17256cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17257cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17258_ACEOF 17259sed -n ' 17260h 17261s/^/S["/; s/!.*/"]=/ 17262p 17263g 17264s/^[^!]*!// 17265:repl 17266t repl 17267s/'"$ac_delim"'$// 17268t delim 17269:nl 17270h 17271s/\(.\{148\}\)..*/\1/ 17272t more1 17273s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17274p 17275n 17276b repl 17277:more1 17278s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17279p 17280g 17281s/.\{148\}// 17282t nl 17283:delim 17284h 17285s/\(.\{148\}\)..*/\1/ 17286t more2 17287s/["\\]/\\&/g; s/^/"/; s/$/"/ 17288p 17289b 17290:more2 17291s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17292p 17293g 17294s/.\{148\}// 17295t delim 17296' <conf$$subs.awk | sed ' 17297/^[^""]/{ 17298 N 17299 s/\n// 17300} 17301' >>$CONFIG_STATUS || ac_write_fail=1 17302rm -f conf$$subs.awk 17303cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17304_ACAWK 17305cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17306 for (key in S) S_is_set[key] = 1 17307 FS = "" 17308 17309} 17310{ 17311 line = $ 0 17312 nfields = split(line, field, "@") 17313 substed = 0 17314 len = length(field[1]) 17315 for (i = 2; i < nfields; i++) { 17316 key = field[i] 17317 keylen = length(key) 17318 if (S_is_set[key]) { 17319 value = S[key] 17320 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17321 len += length(value) + length(field[++i]) 17322 substed = 1 17323 } else 17324 len += 1 + keylen 17325 } 17326 17327 print line 17328} 17329 17330_ACAWK 17331_ACEOF 17332cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17333if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17334 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17335else 17336 cat 17337fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17338 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17339_ACEOF 17340 17341# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17342# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17343# trailing colons and then remove the whole line if VPATH becomes empty 17344# (actually we leave an empty line to preserve line numbers). 17345if test "x$srcdir" = x.; then 17346 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17347h 17348s/// 17349s/^/:/ 17350s/[ ]*$/:/ 17351s/:\$(srcdir):/:/g 17352s/:\${srcdir}:/:/g 17353s/:@srcdir@:/:/g 17354s/^:*// 17355s/:*$// 17356x 17357s/\(=[ ]*\).*/\1/ 17358G 17359s/\n// 17360s/^[^=]*=[ ]*$// 17361}' 17362fi 17363 17364cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17365fi # test -n "$CONFIG_FILES" 17366 17367# Set up the scripts for CONFIG_HEADERS section. 17368# No need to generate them if there are no CONFIG_HEADERS. 17369# This happens for instance with `./config.status Makefile'. 17370if test -n "$CONFIG_HEADERS"; then 17371cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17372BEGIN { 17373_ACEOF 17374 17375# Transform confdefs.h into an awk script `defines.awk', embedded as 17376# here-document in config.status, that substitutes the proper values into 17377# config.h.in to produce config.h. 17378 17379# Create a delimiter string that does not exist in confdefs.h, to ease 17380# handling of long lines. 17381ac_delim='%!_!# ' 17382for ac_last_try in false false :; do 17383 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 17384 if test -z "$ac_tt"; then 17385 break 17386 elif $ac_last_try; then 17387 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17388 else 17389 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17390 fi 17391done 17392 17393# For the awk script, D is an array of macro values keyed by name, 17394# likewise P contains macro parameters if any. Preserve backslash 17395# newline sequences. 17396 17397ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 17398sed -n ' 17399s/.\{148\}/&'"$ac_delim"'/g 17400t rset 17401:rset 17402s/^[ ]*#[ ]*define[ ][ ]*/ / 17403t def 17404d 17405:def 17406s/\\$// 17407t bsnl 17408s/["\\]/\\&/g 17409s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17410D["\1"]=" \3"/p 17411s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 17412d 17413:bsnl 17414s/["\\]/\\&/g 17415s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17416D["\1"]=" \3\\\\\\n"\\/p 17417t cont 17418s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 17419t cont 17420d 17421:cont 17422n 17423s/.\{148\}/&'"$ac_delim"'/g 17424t clear 17425:clear 17426s/\\$// 17427t bsnlc 17428s/["\\]/\\&/g; s/^/"/; s/$/"/p 17429d 17430:bsnlc 17431s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 17432b cont 17433' <confdefs.h | sed ' 17434s/'"$ac_delim"'/"\\\ 17435"/g' >>$CONFIG_STATUS || ac_write_fail=1 17436 17437cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17438 for (key in D) D_is_set[key] = 1 17439 FS = "" 17440} 17441/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 17442 line = \$ 0 17443 split(line, arg, " ") 17444 if (arg[1] == "#") { 17445 defundef = arg[2] 17446 mac1 = arg[3] 17447 } else { 17448 defundef = substr(arg[1], 2) 17449 mac1 = arg[2] 17450 } 17451 split(mac1, mac2, "(") #) 17452 macro = mac2[1] 17453 prefix = substr(line, 1, index(line, defundef) - 1) 17454 if (D_is_set[macro]) { 17455 # Preserve the white space surrounding the "#". 17456 print prefix "define", macro P[macro] D[macro] 17457 next 17458 } else { 17459 # Replace #undef with comments. This is necessary, for example, 17460 # in the case of _POSIX_SOURCE, which is predefined and required 17461 # on some systems where configure will not decide to define it. 17462 if (defundef == "undef") { 17463 print "/*", prefix defundef, macro, "*/" 17464 next 17465 } 17466 } 17467} 17468{ print } 17469_ACAWK 17470_ACEOF 17471cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17472 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17473fi # test -n "$CONFIG_HEADERS" 17474 17475 17476eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" 17477shift 17478for ac_tag 17479do 17480 case $ac_tag in 17481 :[FHLC]) ac_mode=$ac_tag; continue;; 17482 esac 17483 case $ac_mode$ac_tag in 17484 :[FHL]*:*);; 17485 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17486 :[FH]-) ac_tag=-:-;; 17487 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17488 esac 17489 ac_save_IFS=$IFS 17490 IFS=: 17491 set x $ac_tag 17492 IFS=$ac_save_IFS 17493 shift 17494 ac_file=$1 17495 shift 17496 17497 case $ac_mode in 17498 :L) ac_source=$1;; 17499 :[FH]) 17500 ac_file_inputs= 17501 for ac_f 17502 do 17503 case $ac_f in 17504 -) ac_f="$ac_tmp/stdin";; 17505 *) # Look for the file first in the build tree, then in the source tree 17506 # (if the path is not absolute). The absolute path cannot be DOS-style, 17507 # because $ac_f cannot contain `:'. 17508 test -f "$ac_f" || 17509 case $ac_f in 17510 [\\/$]*) false;; 17511 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17512 esac || 17513 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17514 esac 17515 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17516 as_fn_append ac_file_inputs " '$ac_f'" 17517 done 17518 17519 # Let's still pretend it is `configure' which instantiates (i.e., don't 17520 # use $as_me), people would be surprised to read: 17521 # /* config.h. Generated by config.status. */ 17522 configure_input='Generated from '` 17523 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17524 `' by configure.' 17525 if test x"$ac_file" != x-; then 17526 configure_input="$ac_file. $configure_input" 17527 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17528$as_echo "$as_me: creating $ac_file" >&6;} 17529 fi 17530 # Neutralize special characters interpreted by sed in replacement strings. 17531 case $configure_input in #( 17532 *\&* | *\|* | *\\* ) 17533 ac_sed_conf_input=`$as_echo "$configure_input" | 17534 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17535 *) ac_sed_conf_input=$configure_input;; 17536 esac 17537 17538 case $ac_tag in 17539 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17540 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17541 esac 17542 ;; 17543 esac 17544 17545 ac_dir=`$as_dirname -- "$ac_file" || 17546$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17547 X"$ac_file" : 'X\(//\)[^/]' \| \ 17548 X"$ac_file" : 'X\(//\)$' \| \ 17549 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17550$as_echo X"$ac_file" | 17551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17552 s//\1/ 17553 q 17554 } 17555 /^X\(\/\/\)[^/].*/{ 17556 s//\1/ 17557 q 17558 } 17559 /^X\(\/\/\)$/{ 17560 s//\1/ 17561 q 17562 } 17563 /^X\(\/\).*/{ 17564 s//\1/ 17565 q 17566 } 17567 s/.*/./; q'` 17568 as_dir="$ac_dir"; as_fn_mkdir_p 17569 ac_builddir=. 17570 17571case "$ac_dir" in 17572.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17573*) 17574 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17575 # A ".." for each directory in $ac_dir_suffix. 17576 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17577 case $ac_top_builddir_sub in 17578 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17579 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17580 esac ;; 17581esac 17582ac_abs_top_builddir=$ac_pwd 17583ac_abs_builddir=$ac_pwd$ac_dir_suffix 17584# for backward compatibility: 17585ac_top_builddir=$ac_top_build_prefix 17586 17587case $srcdir in 17588 .) # We are building in place. 17589 ac_srcdir=. 17590 ac_top_srcdir=$ac_top_builddir_sub 17591 ac_abs_top_srcdir=$ac_pwd ;; 17592 [\\/]* | ?:[\\/]* ) # Absolute name. 17593 ac_srcdir=$srcdir$ac_dir_suffix; 17594 ac_top_srcdir=$srcdir 17595 ac_abs_top_srcdir=$srcdir ;; 17596 *) # Relative name. 17597 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17598 ac_top_srcdir=$ac_top_build_prefix$srcdir 17599 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17600esac 17601ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17602 17603 17604 case $ac_mode in 17605 :F) 17606 # 17607 # CONFIG_FILE 17608 # 17609 17610 case $INSTALL in 17611 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 17612 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 17613 esac 17614 ac_MKDIR_P=$MKDIR_P 17615 case $MKDIR_P in 17616 [\\/$]* | ?:[\\/]* ) ;; 17617 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 17618 esac 17619_ACEOF 17620 17621cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17622# If the template does not know about datarootdir, expand it. 17623# FIXME: This hack should be removed a few years after 2.60. 17624ac_datarootdir_hack=; ac_datarootdir_seen= 17625ac_sed_dataroot=' 17626/datarootdir/ { 17627 p 17628 q 17629} 17630/@datadir@/p 17631/@docdir@/p 17632/@infodir@/p 17633/@localedir@/p 17634/@mandir@/p' 17635case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17636*datarootdir*) ac_datarootdir_seen=yes;; 17637*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17639$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17640_ACEOF 17641cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17642 ac_datarootdir_hack=' 17643 s&@datadir@&$datadir&g 17644 s&@docdir@&$docdir&g 17645 s&@infodir@&$infodir&g 17646 s&@localedir@&$localedir&g 17647 s&@mandir@&$mandir&g 17648 s&\\\${datarootdir}&$datarootdir&g' ;; 17649esac 17650_ACEOF 17651 17652# Neutralize VPATH when `$srcdir' = `.'. 17653# Shell code in configure.ac might set extrasub. 17654# FIXME: do we really want to maintain this feature? 17655cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17656ac_sed_extra="$ac_vpsub 17657$extrasub 17658_ACEOF 17659cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17660:t 17661/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17662s|@configure_input@|$ac_sed_conf_input|;t t 17663s&@top_builddir@&$ac_top_builddir_sub&;t t 17664s&@top_build_prefix@&$ac_top_build_prefix&;t t 17665s&@srcdir@&$ac_srcdir&;t t 17666s&@abs_srcdir@&$ac_abs_srcdir&;t t 17667s&@top_srcdir@&$ac_top_srcdir&;t t 17668s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 17669s&@builddir@&$ac_builddir&;t t 17670s&@abs_builddir@&$ac_abs_builddir&;t t 17671s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 17672s&@INSTALL@&$ac_INSTALL&;t t 17673s&@MKDIR_P@&$ac_MKDIR_P&;t t 17674$ac_datarootdir_hack 17675" 17676eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 17677 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17678 17679test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17680 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 17681 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 17682 "$ac_tmp/out"`; test -z "$ac_out"; } && 17683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17684which seems to be undefined. Please make sure it is defined" >&5 17685$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17686which seems to be undefined. Please make sure it is defined" >&2;} 17687 17688 rm -f "$ac_tmp/stdin" 17689 case $ac_file in 17690 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 17691 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 17692 esac \ 17693 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17694 ;; 17695 :H) 17696 # 17697 # CONFIG_HEADER 17698 # 17699 if test x"$ac_file" != x-; then 17700 { 17701 $as_echo "/* $configure_input */" \ 17702 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 17703 } >"$ac_tmp/config.h" \ 17704 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17705 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 17706 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 17707$as_echo "$as_me: $ac_file is unchanged" >&6;} 17708 else 17709 rm -f "$ac_file" 17710 mv "$ac_tmp/config.h" "$ac_file" \ 17711 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17712 fi 17713 else 17714 $as_echo "/* $configure_input */" \ 17715 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 17716 || as_fn_error $? "could not create -" "$LINENO" 5 17717 fi 17718# Compute "$ac_file"'s index in $config_headers. 17719_am_arg="$ac_file" 17720_am_stamp_count=1 17721for _am_header in $config_headers :; do 17722 case $_am_header in 17723 $_am_arg | $_am_arg:* ) 17724 break ;; 17725 * ) 17726 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 17727 esac 17728done 17729echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 17730$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17731 X"$_am_arg" : 'X\(//\)[^/]' \| \ 17732 X"$_am_arg" : 'X\(//\)$' \| \ 17733 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 17734$as_echo X"$_am_arg" | 17735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17736 s//\1/ 17737 q 17738 } 17739 /^X\(\/\/\)[^/].*/{ 17740 s//\1/ 17741 q 17742 } 17743 /^X\(\/\/\)$/{ 17744 s//\1/ 17745 q 17746 } 17747 /^X\(\/\).*/{ 17748 s//\1/ 17749 q 17750 } 17751 s/.*/./; q'`/stamp-h$_am_stamp_count 17752 ;; 17753 :L) 17754 # 17755 # CONFIG_LINK 17756 # 17757 17758 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then 17759 : 17760 else 17761 # Prefer the file from the source tree if names are identical. 17762 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then 17763 ac_source=$srcdir/$ac_source 17764 fi 17765 17766 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 17767$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} 17768 17769 if test ! -r "$ac_source"; then 17770 as_fn_error $? "$ac_source: file not found" "$LINENO" 5 17771 fi 17772 rm -f "$ac_file" 17773 17774 # Try a relative symlink, then a hard link, then a copy. 17775 case $ac_source in 17776 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; 17777 *) ac_rel_source=$ac_top_build_prefix$ac_source ;; 17778 esac 17779 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || 17780 ln "$ac_source" "$ac_file" 2>/dev/null || 17781 cp -p "$ac_source" "$ac_file" || 17782 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 17783 fi 17784 ;; 17785 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 17786$as_echo "$as_me: executing $ac_file commands" >&6;} 17787 ;; 17788 esac 17789 17790 17791 case $ac_file$ac_mode in 17792 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 17793 # Older Autoconf quotes --file arguments for eval, but not when files 17794 # are listed without --file. Let's play safe and only enable the eval 17795 # if we detect the quoting. 17796 case $CONFIG_FILES in 17797 *\'*) eval set x "$CONFIG_FILES" ;; 17798 *) set x $CONFIG_FILES ;; 17799 esac 17800 shift 17801 for mf 17802 do 17803 # Strip MF so we end up with the name of the file. 17804 mf=`echo "$mf" | sed -e 's/:.*$//'` 17805 # Check whether this is an Automake generated Makefile or not. 17806 # We used to match only the files named 'Makefile.in', but 17807 # some people rename them; so instead we look at the file content. 17808 # Grep'ing the first line is not enough: some people post-process 17809 # each Makefile.in and add a new line on top of each file to say so. 17810 # Grep'ing the whole file is not good either: AIX grep has a line 17811 # limit of 2048, but all sed's we know have understand at least 4000. 17812 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 17813 dirpart=`$as_dirname -- "$mf" || 17814$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17815 X"$mf" : 'X\(//\)[^/]' \| \ 17816 X"$mf" : 'X\(//\)$' \| \ 17817 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 17818$as_echo X"$mf" | 17819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17820 s//\1/ 17821 q 17822 } 17823 /^X\(\/\/\)[^/].*/{ 17824 s//\1/ 17825 q 17826 } 17827 /^X\(\/\/\)$/{ 17828 s//\1/ 17829 q 17830 } 17831 /^X\(\/\).*/{ 17832 s//\1/ 17833 q 17834 } 17835 s/.*/./; q'` 17836 else 17837 continue 17838 fi 17839 # Extract the definition of DEPDIR, am__include, and am__quote 17840 # from the Makefile without running 'make'. 17841 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 17842 test -z "$DEPDIR" && continue 17843 am__include=`sed -n 's/^am__include = //p' < "$mf"` 17844 test -z "$am__include" && continue 17845 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 17846 # Find all dependency output files, they are included files with 17847 # $(DEPDIR) in their names. We invoke sed twice because it is the 17848 # simplest approach to changing $(DEPDIR) to its actual value in the 17849 # expansion. 17850 for file in `sed -n " 17851 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 17852 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 17853 # Make sure the directory exists. 17854 test -f "$dirpart/$file" && continue 17855 fdir=`$as_dirname -- "$file" || 17856$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17857 X"$file" : 'X\(//\)[^/]' \| \ 17858 X"$file" : 'X\(//\)$' \| \ 17859 X"$file" : 'X\(/\)' \| . 2>/dev/null || 17860$as_echo X"$file" | 17861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17862 s//\1/ 17863 q 17864 } 17865 /^X\(\/\/\)[^/].*/{ 17866 s//\1/ 17867 q 17868 } 17869 /^X\(\/\/\)$/{ 17870 s//\1/ 17871 q 17872 } 17873 /^X\(\/\).*/{ 17874 s//\1/ 17875 q 17876 } 17877 s/.*/./; q'` 17878 as_dir=$dirpart/$fdir; as_fn_mkdir_p 17879 # echo "creating $dirpart/$file" 17880 echo '# dummy' > "$dirpart/$file" 17881 done 17882 done 17883} 17884 ;; 17885 "libtool":C) 17886 17887 # See if we are running on zsh, and set the options that allow our 17888 # commands through without removal of \ escapes. 17889 if test -n "${ZSH_VERSION+set}"; then 17890 setopt NO_GLOB_SUBST 17891 fi 17892 17893 cfgfile=${ofile}T 17894 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 17895 $RM "$cfgfile" 17896 17897 cat <<_LT_EOF >> "$cfgfile" 17898#! $SHELL 17899# Generated automatically by $as_me ($PACKAGE) $VERSION 17900# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 17901# NOTE: Changes made to this file will be lost: look at ltmain.sh. 17902 17903# Provide generalized library-building support services. 17904# Written by Gordon Matzigkeit, 1996 17905 17906# Copyright (C) 2014 Free Software Foundation, Inc. 17907# This is free software; see the source for copying conditions. There is NO 17908# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 17909 17910# GNU Libtool is free software; you can redistribute it and/or modify 17911# it under the terms of the GNU General Public License as published by 17912# the Free Software Foundation; either version 2 of of the License, or 17913# (at your option) any later version. 17914# 17915# As a special exception to the GNU General Public License, if you 17916# distribute this file as part of a program or library that is built 17917# using GNU Libtool, you may include this file under the same 17918# distribution terms that you use for the rest of that program. 17919# 17920# GNU Libtool is distributed in the hope that it will be useful, but 17921# WITHOUT ANY WARRANTY; without even the implied warranty of 17922# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17923# GNU General Public License for more details. 17924# 17925# You should have received a copy of the GNU General Public License 17926# along with this program. If not, see <http://www.gnu.org/licenses/>. 17927 17928 17929# The names of the tagged configurations supported by this script. 17930available_tags='' 17931 17932# Configured defaults for sys_lib_dlsearch_path munging. 17933: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 17934 17935# ### BEGIN LIBTOOL CONFIG 17936 17937# Which release of libtool.m4 was used? 17938macro_version=$macro_version 17939macro_revision=$macro_revision 17940 17941# Assembler program. 17942AS=$lt_AS 17943 17944# DLL creation program. 17945DLLTOOL=$lt_DLLTOOL 17946 17947# Object dumper program. 17948OBJDUMP=$lt_OBJDUMP 17949 17950# Whether or not to build shared libraries. 17951build_libtool_libs=$enable_shared 17952 17953# Whether or not to build static libraries. 17954build_old_libs=$enable_static 17955 17956# What type of objects to build. 17957pic_mode=$pic_mode 17958 17959# Whether or not to optimize for fast installation. 17960fast_install=$enable_fast_install 17961 17962# Shared archive member basename,for filename based shared library versioning on AIX. 17963shared_archive_member_spec=$shared_archive_member_spec 17964 17965# Shell to use when invoking shell scripts. 17966SHELL=$lt_SHELL 17967 17968# An echo program that protects backslashes. 17969ECHO=$lt_ECHO 17970 17971# The PATH separator for the build system. 17972PATH_SEPARATOR=$lt_PATH_SEPARATOR 17973 17974# The host system. 17975host_alias=$host_alias 17976host=$host 17977host_os=$host_os 17978 17979# The build system. 17980build_alias=$build_alias 17981build=$build 17982build_os=$build_os 17983 17984# A sed program that does not truncate output. 17985SED=$lt_SED 17986 17987# Sed that helps us avoid accidentally triggering echo(1) options like -n. 17988Xsed="\$SED -e 1s/^X//" 17989 17990# A grep program that handles long lines. 17991GREP=$lt_GREP 17992 17993# An ERE matcher. 17994EGREP=$lt_EGREP 17995 17996# A literal string matcher. 17997FGREP=$lt_FGREP 17998 17999# A BSD- or MS-compatible name lister. 18000NM=$lt_NM 18001 18002# Whether we need soft or hard links. 18003LN_S=$lt_LN_S 18004 18005# What is the maximum length of a command? 18006max_cmd_len=$max_cmd_len 18007 18008# Object file suffix (normally "o"). 18009objext=$ac_objext 18010 18011# Executable file suffix (normally ""). 18012exeext=$exeext 18013 18014# whether the shell understands "unset". 18015lt_unset=$lt_unset 18016 18017# turn spaces into newlines. 18018SP2NL=$lt_lt_SP2NL 18019 18020# turn newlines into spaces. 18021NL2SP=$lt_lt_NL2SP 18022 18023# convert \$build file names to \$host format. 18024to_host_file_cmd=$lt_cv_to_host_file_cmd 18025 18026# convert \$build files to toolchain format. 18027to_tool_file_cmd=$lt_cv_to_tool_file_cmd 18028 18029# Method to check whether dependent libraries are shared objects. 18030deplibs_check_method=$lt_deplibs_check_method 18031 18032# Command to use when deplibs_check_method = "file_magic". 18033file_magic_cmd=$lt_file_magic_cmd 18034 18035# How to find potential files when deplibs_check_method = "file_magic". 18036file_magic_glob=$lt_file_magic_glob 18037 18038# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 18039want_nocaseglob=$lt_want_nocaseglob 18040 18041# Command to associate shared and link libraries. 18042sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 18043 18044# The archiver. 18045AR=$lt_AR 18046 18047# Flags to create an archive. 18048AR_FLAGS=$lt_AR_FLAGS 18049 18050# How to feed a file listing to the archiver. 18051archiver_list_spec=$lt_archiver_list_spec 18052 18053# A symbol stripping program. 18054STRIP=$lt_STRIP 18055 18056# Commands used to install an old-style archive. 18057RANLIB=$lt_RANLIB 18058old_postinstall_cmds=$lt_old_postinstall_cmds 18059old_postuninstall_cmds=$lt_old_postuninstall_cmds 18060 18061# Whether to use a lock for old archive extraction. 18062lock_old_archive_extraction=$lock_old_archive_extraction 18063 18064# A C compiler. 18065LTCC=$lt_CC 18066 18067# LTCC compiler flags. 18068LTCFLAGS=$lt_CFLAGS 18069 18070# Take the output of nm and produce a listing of raw symbols and C names. 18071global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 18072 18073# Transform the output of nm in a proper C declaration. 18074global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 18075 18076# Transform the output of nm into a list of symbols to manually relocate. 18077global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 18078 18079# Transform the output of nm in a C name address pair. 18080global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 18081 18082# Transform the output of nm in a C name address pair when lib prefix is needed. 18083global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18084 18085# The name lister interface. 18086nm_interface=$lt_lt_cv_nm_interface 18087 18088# Specify filename containing input files for \$NM. 18089nm_file_list_spec=$lt_nm_file_list_spec 18090 18091# The root where to search for dependent libraries,and where our libraries should be installed. 18092lt_sysroot=$lt_sysroot 18093 18094# Command to truncate a binary pipe. 18095lt_truncate_bin=$lt_lt_cv_truncate_bin 18096 18097# The name of the directory that contains temporary libtool files. 18098objdir=$objdir 18099 18100# Used to examine libraries when file_magic_cmd begins with "file". 18101MAGIC_CMD=$MAGIC_CMD 18102 18103# Must we lock files when doing compilation? 18104need_locks=$lt_need_locks 18105 18106# Manifest tool. 18107MANIFEST_TOOL=$lt_MANIFEST_TOOL 18108 18109# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18110DSYMUTIL=$lt_DSYMUTIL 18111 18112# Tool to change global to local symbols on Mac OS X. 18113NMEDIT=$lt_NMEDIT 18114 18115# Tool to manipulate fat objects and archives on Mac OS X. 18116LIPO=$lt_LIPO 18117 18118# ldd/readelf like tool for Mach-O binaries on Mac OS X. 18119OTOOL=$lt_OTOOL 18120 18121# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 18122OTOOL64=$lt_OTOOL64 18123 18124# Old archive suffix (normally "a"). 18125libext=$libext 18126 18127# Shared library suffix (normally ".so"). 18128shrext_cmds=$lt_shrext_cmds 18129 18130# The commands to extract the exported symbol list from a shared archive. 18131extract_expsyms_cmds=$lt_extract_expsyms_cmds 18132 18133# Variables whose values should be saved in libtool wrapper scripts and 18134# restored at link time. 18135variables_saved_for_relink=$lt_variables_saved_for_relink 18136 18137# Do we need the "lib" prefix for modules? 18138need_lib_prefix=$need_lib_prefix 18139 18140# Do we need a version for libraries? 18141need_version=$need_version 18142 18143# Library versioning type. 18144version_type=$version_type 18145 18146# Shared library runtime path variable. 18147runpath_var=$runpath_var 18148 18149# Shared library path variable. 18150shlibpath_var=$shlibpath_var 18151 18152# Is shlibpath searched before the hard-coded library search path? 18153shlibpath_overrides_runpath=$shlibpath_overrides_runpath 18154 18155# Format of library name prefix. 18156libname_spec=$lt_libname_spec 18157 18158# List of archive names. First name is the real one, the rest are links. 18159# The last name is the one that the linker finds with -lNAME 18160library_names_spec=$lt_library_names_spec 18161 18162# The coded name of the library, if different from the real name. 18163soname_spec=$lt_soname_spec 18164 18165# Permission mode override for installation of shared libraries. 18166install_override_mode=$lt_install_override_mode 18167 18168# Command to use after installation of a shared archive. 18169postinstall_cmds=$lt_postinstall_cmds 18170 18171# Command to use after uninstallation of a shared archive. 18172postuninstall_cmds=$lt_postuninstall_cmds 18173 18174# Commands used to finish a libtool library installation in a directory. 18175finish_cmds=$lt_finish_cmds 18176 18177# As "finish_cmds", except a single script fragment to be evaled but 18178# not shown. 18179finish_eval=$lt_finish_eval 18180 18181# Whether we should hardcode library paths into libraries. 18182hardcode_into_libs=$hardcode_into_libs 18183 18184# Compile-time system search path for libraries. 18185sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 18186 18187# Detected run-time system search path for libraries. 18188sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 18189 18190# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 18191configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 18192 18193# Whether dlopen is supported. 18194dlopen_support=$enable_dlopen 18195 18196# Whether dlopen of programs is supported. 18197dlopen_self=$enable_dlopen_self 18198 18199# Whether dlopen of statically linked programs is supported. 18200dlopen_self_static=$enable_dlopen_self_static 18201 18202# Commands to strip libraries. 18203old_striplib=$lt_old_striplib 18204striplib=$lt_striplib 18205 18206 18207# The linker used to build libraries. 18208LD=$lt_LD 18209 18210# How to create reloadable object files. 18211reload_flag=$lt_reload_flag 18212reload_cmds=$lt_reload_cmds 18213 18214# Commands used to build an old-style archive. 18215old_archive_cmds=$lt_old_archive_cmds 18216 18217# A language specific compiler. 18218CC=$lt_compiler 18219 18220# Is the compiler the GNU compiler? 18221with_gcc=$GCC 18222 18223# Compiler flag to turn off builtin functions. 18224no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18225 18226# Additional compiler flags for building library objects. 18227pic_flag=$lt_lt_prog_compiler_pic 18228 18229# How to pass a linker flag through the compiler. 18230wl=$lt_lt_prog_compiler_wl 18231 18232# Compiler flag to prevent dynamic linking. 18233link_static_flag=$lt_lt_prog_compiler_static 18234 18235# Does compiler simultaneously support -c and -o options? 18236compiler_c_o=$lt_lt_cv_prog_compiler_c_o 18237 18238# Whether or not to add -lc for building shared libraries. 18239build_libtool_need_lc=$archive_cmds_need_lc 18240 18241# Whether or not to disallow shared libs when runtime libs are static. 18242allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 18243 18244# Compiler flag to allow reflexive dlopens. 18245export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 18246 18247# Compiler flag to generate shared objects directly from archives. 18248whole_archive_flag_spec=$lt_whole_archive_flag_spec 18249 18250# Whether the compiler copes with passing no objects directly. 18251compiler_needs_object=$lt_compiler_needs_object 18252 18253# Create an old-style archive from a shared archive. 18254old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 18255 18256# Create a temporary old-style archive to link instead of a shared archive. 18257old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 18258 18259# Commands used to build a shared archive. 18260archive_cmds=$lt_archive_cmds 18261archive_expsym_cmds=$lt_archive_expsym_cmds 18262 18263# Commands used to build a loadable module if different from building 18264# a shared archive. 18265module_cmds=$lt_module_cmds 18266module_expsym_cmds=$lt_module_expsym_cmds 18267 18268# Whether we are building with GNU ld or not. 18269with_gnu_ld=$lt_with_gnu_ld 18270 18271# Flag that allows shared libraries with undefined symbols to be built. 18272allow_undefined_flag=$lt_allow_undefined_flag 18273 18274# Flag that enforces no undefined symbols. 18275no_undefined_flag=$lt_no_undefined_flag 18276 18277# Flag to hardcode \$libdir into a binary during linking. 18278# This must work even if \$libdir does not exist 18279hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18280 18281# Whether we need a single "-rpath" flag with a separated argument. 18282hardcode_libdir_separator=$lt_hardcode_libdir_separator 18283 18284# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18285# DIR into the resulting binary. 18286hardcode_direct=$hardcode_direct 18287 18288# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18289# DIR into the resulting binary and the resulting library dependency is 18290# "absolute",i.e impossible to change by setting \$shlibpath_var if the 18291# library is relocated. 18292hardcode_direct_absolute=$hardcode_direct_absolute 18293 18294# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18295# into the resulting binary. 18296hardcode_minus_L=$hardcode_minus_L 18297 18298# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18299# into the resulting binary. 18300hardcode_shlibpath_var=$hardcode_shlibpath_var 18301 18302# Set to "yes" if building a shared library automatically hardcodes DIR 18303# into the library and all subsequent libraries and executables linked 18304# against it. 18305hardcode_automatic=$hardcode_automatic 18306 18307# Set to yes if linker adds runtime paths of dependent libraries 18308# to runtime path list. 18309inherit_rpath=$inherit_rpath 18310 18311# Whether libtool must link a program against all its dependency libraries. 18312link_all_deplibs=$link_all_deplibs 18313 18314# Set to "yes" if exported symbols are required. 18315always_export_symbols=$always_export_symbols 18316 18317# The commands to list exported symbols. 18318export_symbols_cmds=$lt_export_symbols_cmds 18319 18320# Symbols that should not be listed in the preloaded symbols. 18321exclude_expsyms=$lt_exclude_expsyms 18322 18323# Symbols that must always be exported. 18324include_expsyms=$lt_include_expsyms 18325 18326# Commands necessary for linking programs (against libraries) with templates. 18327prelink_cmds=$lt_prelink_cmds 18328 18329# Commands necessary for finishing linking programs. 18330postlink_cmds=$lt_postlink_cmds 18331 18332# Specify filename containing input files. 18333file_list_spec=$lt_file_list_spec 18334 18335# How to hardcode a shared library path into an executable. 18336hardcode_action=$hardcode_action 18337 18338# ### END LIBTOOL CONFIG 18339 18340_LT_EOF 18341 18342 cat <<'_LT_EOF' >> "$cfgfile" 18343 18344# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 18345 18346# func_munge_path_list VARIABLE PATH 18347# ----------------------------------- 18348# VARIABLE is name of variable containing _space_ separated list of 18349# directories to be munged by the contents of PATH, which is string 18350# having a format: 18351# "DIR[:DIR]:" 18352# string "DIR[ DIR]" will be prepended to VARIABLE 18353# ":DIR[:DIR]" 18354# string "DIR[ DIR]" will be appended to VARIABLE 18355# "DIRP[:DIRP]::[DIRA:]DIRA" 18356# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 18357# "DIRA[ DIRA]" will be appended to VARIABLE 18358# "DIR[:DIR]" 18359# VARIABLE will be replaced by "DIR[ DIR]" 18360func_munge_path_list () 18361{ 18362 case x$2 in 18363 x) 18364 ;; 18365 *:) 18366 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 18367 ;; 18368 x:*) 18369 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 18370 ;; 18371 *::*) 18372 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 18373 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 18374 ;; 18375 *) 18376 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 18377 ;; 18378 esac 18379} 18380 18381 18382# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 18383func_cc_basename () 18384{ 18385 for cc_temp in $*""; do 18386 case $cc_temp in 18387 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 18388 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 18389 \-*) ;; 18390 *) break;; 18391 esac 18392 done 18393 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 18394} 18395 18396 18397# ### END FUNCTIONS SHARED WITH CONFIGURE 18398 18399_LT_EOF 18400 18401 case $host_os in 18402 aix3*) 18403 cat <<\_LT_EOF >> "$cfgfile" 18404# AIX sometimes has problems with the GCC collect2 program. For some 18405# reason, if we set the COLLECT_NAMES environment variable, the problems 18406# vanish in a puff of smoke. 18407if test set != "${COLLECT_NAMES+set}"; then 18408 COLLECT_NAMES= 18409 export COLLECT_NAMES 18410fi 18411_LT_EOF 18412 ;; 18413 esac 18414 18415 18416ltmain=$ac_aux_dir/ltmain.sh 18417 18418 18419 # We use sed instead of cat because bash on DJGPP gets confused if 18420 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18421 # text mode, it properly converts lines to CR/LF. This bash problem 18422 # is reportedly fixed, but why not run on old versions too? 18423 sed '$q' "$ltmain" >> "$cfgfile" \ 18424 || (rm -f "$cfgfile"; exit 1) 18425 18426 mv -f "$cfgfile" "$ofile" || 18427 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18428 chmod +x "$ofile" 18429 18430 ;; 18431 18432 esac 18433done # for ac_tag 18434 18435 18436as_fn_exit 0 18437_ACEOF 18438ac_clean_files=$ac_clean_files_save 18439 18440test $ac_write_fail = 0 || 18441 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18442 18443 18444# configure is writing to config.log, and then calls config.status. 18445# config.status does its own redirection, appending to config.log. 18446# Unfortunately, on DOS this fails, as config.log is still kept open 18447# by configure, so config.status won't be able to write to it; its 18448# output is simply discarded. So we exec the FD to /dev/null, 18449# effectively closing config.log, so it can be properly (re)opened and 18450# appended to by config.status. When coming back to configure, we 18451# need to make the FD available again. 18452if test "$no_create" != yes; then 18453 ac_cs_success=: 18454 ac_config_status_args= 18455 test "$silent" = yes && 18456 ac_config_status_args="$ac_config_status_args --quiet" 18457 exec 5>/dev/null 18458 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18459 exec 5>>config.log 18460 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18461 # would make configure fail if this is the last instruction. 18462 $ac_cs_success || as_fn_exit 1 18463fi 18464if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18466$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18467fi 18468 18469