1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for Web2C 2015. 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='Web2C' 592PACKAGE_TARNAME='web2c' 593PACKAGE_VERSION='2015' 594PACKAGE_STRING='Web2C 2015' 595PACKAGE_BUGREPORT='tex-k@tug.org' 596PACKAGE_URL='' 597 598ac_unique_file="cpascal.h" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635enable_option_checking=no 636ac_subst_vars='am__EXEEXT_FALSE 637am__EXEEXT_TRUE 638LTLIBOBJS 639LIBOBJS 640subdirs 641LIBSYNCTEX 642LTLIBSYNCTEX 643SYNCTEX_FALSE 644SYNCTEX_TRUE 645SYNCTEX_LT_VERSINFO 646SYNCTEXVERSION 647OTANGLE 648TIE 649CTANGLE 650CTANGLEBOOT 651TANGLE 652TANGLEBOOT 653KPATHSEA_PATHS_H 654HARFBUZZ_RULE 655HARFBUZZ_DEPEND 656HARFBUZZ_LIBS 657HARFBUZZ_INCLUDES 658GRAPHITE2_RULE 659GRAPHITE2_DEPEND 660GRAPHITE2_LIBS 661GRAPHITE2_INCLUDES 662ICU_RULE 663ICU_DEPEND 664ICU_LIBS 665ICU_INCLUDES 666ICU_CONFIG 667TECKIT_RULE 668TECKIT_DEPEND 669TECKIT_LIBS 670TECKIT_INCLUDES 671ZZIPLIB_RULE 672ZZIPLIB_DEPEND 673ZZIPLIB_LIBS 674ZZIPLIB_INCLUDES 675XPDF_RULE 676XPDF_DEPEND 677XPDF_LIBS 678XPDF_INCLUDES 679POPPLER_RULE 680POPPLER_DEPEND 681POPPLER_LIBS 682POPPLER_INCLUDES 683MPFR_RULE 684MPFR_DEPEND 685MPFR_LIBS 686MPFR_INCLUDES 687GMP_RULE 688GMP_DEPEND 689GMP_LIBS 690GMP_INCLUDES 691CAIRO_RULE 692CAIRO_DEPEND 693CAIRO_LIBS 694CAIRO_INCLUDES 695PIXMAN_RULE 696PIXMAN_DEPEND 697PIXMAN_LIBS 698PIXMAN_INCLUDES 699FREETYPE2_RULE 700FREETYPE2_DEPEND 701FREETYPE2_LIBS 702FREETYPE2_INCLUDES 703FT2_CONFIG 704LIBPNG_RULE 705LIBPNG_DEPEND 706LIBPNG_LIBS 707LIBPNG_INCLUDES 708LUAJIT_RULE 709LUAJIT_DEPEND 710LUAJIT_LIBS 711LUAJIT_INCLUDES 712LUA52_RULE 713LUA52_DEPEND 714LUA52_LIBS 715LUA52_INCLUDES 716ZLIB_RULE 717ZLIB_DEPEND 718ZLIB_LIBS 719ZLIB_INCLUDES 720PTEXENC_RULE 721PTEXENC_DEPEND 722PTEXENC_LIBS 723PTEXENC_INCLUDES 724KPATHSEA_RULE 725KPATHSEA_DEPEND 726KPATHSEA_LIBS 727KPATHSEA_INCLUDES 728LEXLIB 729LEX_OUTPUT_ROOT 730LEX 731YFLAGS 732YACC 733UPWEB_FALSE 734UPWEB_TRUE 735PWEB_FALSE 736PWEB_TRUE 737WEB_FALSE 738WEB_TRUE 739wlibs 740x_tool_libs 741x_ext_lib 742MFXT_FALSE 743MFXT_TRUE 744X_EXTRA_LIBS 745X_LIBS 746X_PRE_LIBS 747X_CFLAGS 748XMKMF 749MFN_FALSE 750MFN_TRUE 751MF_FALSE 752MF_TRUE 753OTANGLE_FALSE 754OTANGLE_TRUE 755XETEX_SYNCTEX_FALSE 756XETEX_SYNCTEX_TRUE 757XETEX_FALSE 758XETEX_TRUE 759UPMP_FALSE 760UPMP_TRUE 761PMP_FALSE 762PMP_TRUE 763MP_FALSE 764MP_TRUE 765LUAJITTEX_FALSE 766LUAJITTEX_TRUE 767LUATEX_FALSE 768LUATEX_TRUE 769PDFTEX_SYNCTEX_FALSE 770PDFTEX_SYNCTEX_TRUE 771PDFTEX_FALSE 772PDFTEX_TRUE 773ALEPH_FALSE 774ALEPH_TRUE 775EUPTEX_SYNCTEX_FALSE 776EUPTEX_SYNCTEX_TRUE 777EUPTEX_FALSE 778EUPTEX_TRUE 779UPTEX_SYNCTEX_FALSE 780UPTEX_SYNCTEX_TRUE 781UPTEX_FALSE 782UPTEX_TRUE 783EPTEX_SYNCTEX_FALSE 784EPTEX_SYNCTEX_TRUE 785EPTEX_FALSE 786EPTEX_TRUE 787PTEX_SYNCTEX_FALSE 788PTEX_SYNCTEX_TRUE 789PTEX_FALSE 790PTEX_TRUE 791ETEX_SYNCTEX_FALSE 792ETEX_SYNCTEX_TRUE 793ETEX_FALSE 794ETEX_TRUE 795TEX_SYNCTEX_FALSE 796TEX_SYNCTEX_TRUE 797TEX_FALSE 798TEX_TRUE 799XETEX_MACOSX_FALSE 800XETEX_MACOSX_TRUE 801FONTCONFIG_LIBS 802FONTCONFIG_INCLUDES 803PKG_CONFIG 804ipc_socketlibs 805lua_socketlibs 806USE_DLOPEN_FALSE 807USE_DLOPEN_TRUE 808LUAJIT_LDEXTRA 809LUAJIT_DEFINES 810LUA52_DEFINES 811WIN32_CALL_FALSE 812WIN32_CALL_TRUE 813MINGW32_FALSE 814MINGW32_TRUE 815WIN32_FALSE 816WIN32_TRUE 817KPSEWHICH 818CXXLD 819WARNING_OBJCXXFLAGS 820am__fastdepOBJCXX_FALSE 821am__fastdepOBJCXX_TRUE 822OBJCXXDEPMODE 823ac_ct_OBJCXX 824OBJCXXFLAGS 825OBJCXX 826CXXCPP 827WARNING_CXXFLAGS 828am__fastdepCXX_FALSE 829am__fastdepCXX_TRUE 830CXXDEPMODE 831ac_ct_CXX 832CXXFLAGS 833CXX 834cross_FALSE 835cross_TRUE 836CPP 837LT_SYS_LIBRARY_PATH 838OTOOL64 839OTOOL 840LIPO 841NMEDIT 842DSYMUTIL 843MANIFEST_TOOL 844RANLIB 845ac_ct_AR 846AR 847LN_S 848NM 849ac_ct_DUMPBIN 850DUMPBIN 851LD 852FGREP 853EGREP 854GREP 855SED 856host_os 857host_vendor 858host_cpu 859host 860build_os 861build_vendor 862build_cpu 863build 864LIBTOOL 865OBJDUMP 866DLLTOOL 867AS 868WARNING_CFLAGS 869am__fastdepCC_FALSE 870am__fastdepCC_TRUE 871CCDEPMODE 872am__nodep 873AMDEPBACKSLASH 874AMDEP_FALSE 875AMDEP_TRUE 876am__quote 877am__include 878DEPDIR 879OBJEXT 880EXEEXT 881ac_ct_CC 882CPPFLAGS 883LDFLAGS 884CFLAGS 885CC 886MAINT 887MAINTAINER_MODE_FALSE 888MAINTAINER_MODE_TRUE 889AM_BACKSLASH 890AM_DEFAULT_VERBOSITY 891AM_DEFAULT_V 892AM_V 893am__untar 894am__tar 895AMTAR 896am__leading_dot 897SET_MAKE 898AWK 899mkdir_p 900MKDIR_P 901INSTALL_STRIP_PROGRAM 902STRIP 903install_sh 904MAKEINFO 905AUTOHEADER 906AUTOMAKE 907AUTOCONF 908ACLOCAL 909VERSION 910PACKAGE 911CYGPATH_W 912am__isrc 913INSTALL_DATA 914INSTALL_SCRIPT 915INSTALL_PROGRAM 916WEB2CVERSION 917target_alias 918host_alias 919build_alias 920LIBS 921ECHO_T 922ECHO_N 923ECHO_C 924DEFS 925mandir 926localedir 927libdir 928psdir 929pdfdir 930dvidir 931htmldir 932infodir 933docdir 934oldincludedir 935includedir 936localstatedir 937sharedstatedir 938sysconfdir 939datadir 940datarootdir 941libexecdir 942sbindir 943bindir 944program_transform_name 945prefix 946exec_prefix 947PACKAGE_URL 948PACKAGE_BUGREPORT 949PACKAGE_STRING 950PACKAGE_VERSION 951PACKAGE_TARNAME 952PACKAGE_NAME 953PATH_SEPARATOR 954SHELL' 955ac_subst_files='' 956ac_user_opts=' 957enable_option_checking 958enable_silent_rules 959enable_maintainer_mode 960enable_dependency_tracking 961enable_compiler_warnings 962enable_shared 963enable_static 964with_pic 965enable_fast_install 966with_aix_soname 967with_gnu_ld 968with_sysroot 969enable_libtool_lock 970enable_largefile 971enable_cxx_runtime_hack 972enable_libtool_hack 973with_banner_add 974with_editor 975enable_auto_core 976enable_dump_share 977enable_ipc 978enable_tex 979enable_tex_synctex 980enable_etex 981enable_etex_synctex 982enable_ptex 983enable_ptex_synctex 984enable_eptex 985enable_eptex_synctex 986enable_uptex 987enable_uptex_synctex 988enable_euptex 989enable_euptex_synctex 990enable_aleph 991enable_pdftex 992enable_pdftex_synctex 993enable_luatex 994enable_luajittex 995enable_mp 996enable_pmp 997enable_upmp 998enable_xetex 999enable_xetex_synctex 1000enable_mf 1001enable_mf_nowin 1002with_mf_x_toolkit 1003enable_epsfwin 1004enable_hp2627win 1005enable_mftalkwin 1006enable_nextwin 1007enable_regiswin 1008enable_suntoolswin 1009enable_tektronixwin 1010enable_unitermwin 1011enable_web_progs 1012enable_synctex 1013enable_missing 1014with_fontconfig_includes 1015with_fontconfig_libdir 1016with_x 1017with_system_kpathsea 1018with_system_ptexenc 1019with_system_zlib 1020with_zlib_includes 1021with_zlib_libdir 1022with_system_libpng 1023with_system_freetype2 1024with_system_pixman 1025with_system_cairo 1026with_system_gmp 1027with_gmp_includes 1028with_gmp_libdir 1029with_system_mpfr 1030with_mpfr_includes 1031with_mpfr_libdir 1032with_system_poppler 1033with_system_xpdf 1034with_system_zziplib 1035with_system_teckit 1036with_teckit_includes 1037with_teckit_libdir 1038with_system_icu 1039with_system_graphite2 1040with_system_harfbuzz 1041' 1042 ac_precious_vars='build_alias 1043host_alias 1044target_alias 1045CC 1046CFLAGS 1047LDFLAGS 1048LIBS 1049CPPFLAGS 1050LT_SYS_LIBRARY_PATH 1051CPP 1052CXX 1053CXXFLAGS 1054CCC 1055CXXCPP 1056OBJCXX 1057OBJCXXFLAGS 1058XMKMF 1059YACC 1060YFLAGS' 1061ac_subdirs_all='web2c' 1062 1063# Initialize some variables set by options. 1064ac_init_help= 1065ac_init_version=false 1066ac_unrecognized_opts= 1067ac_unrecognized_sep= 1068# The variables have the same names as the options, with 1069# dashes changed to underlines. 1070cache_file=/dev/null 1071exec_prefix=NONE 1072no_create= 1073no_recursion= 1074prefix=NONE 1075program_prefix=NONE 1076program_suffix=NONE 1077program_transform_name=s,x,x, 1078silent= 1079site= 1080srcdir= 1081verbose= 1082x_includes=NONE 1083x_libraries=NONE 1084 1085# Installation directory options. 1086# These are left unexpanded so users can "make install exec_prefix=/foo" 1087# and all the variables that are supposed to be based on exec_prefix 1088# by default will actually change. 1089# Use braces instead of parens because sh, perl, etc. also accept them. 1090# (The list follows the same order as the GNU Coding Standards.) 1091bindir='${exec_prefix}/bin' 1092sbindir='${exec_prefix}/sbin' 1093libexecdir='${exec_prefix}/libexec' 1094datarootdir='${prefix}/share' 1095datadir='${datarootdir}' 1096sysconfdir='${prefix}/etc' 1097sharedstatedir='${prefix}/com' 1098localstatedir='${prefix}/var' 1099includedir='${prefix}/include' 1100oldincludedir='/usr/include' 1101docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1102infodir='${datarootdir}/info' 1103htmldir='${docdir}' 1104dvidir='${docdir}' 1105pdfdir='${docdir}' 1106psdir='${docdir}' 1107libdir='${exec_prefix}/lib' 1108localedir='${datarootdir}/locale' 1109mandir='${datarootdir}/man' 1110 1111ac_prev= 1112ac_dashdash= 1113for ac_option 1114do 1115 # If the previous option needs an argument, assign it. 1116 if test -n "$ac_prev"; then 1117 eval $ac_prev=\$ac_option 1118 ac_prev= 1119 continue 1120 fi 1121 1122 case $ac_option in 1123 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1124 *=) ac_optarg= ;; 1125 *) ac_optarg=yes ;; 1126 esac 1127 1128 # Accept the important Cygnus configure options, so we can diagnose typos. 1129 1130 case $ac_dashdash$ac_option in 1131 --) 1132 ac_dashdash=yes ;; 1133 1134 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1135 ac_prev=bindir ;; 1136 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1137 bindir=$ac_optarg ;; 1138 1139 -build | --build | --buil | --bui | --bu) 1140 ac_prev=build_alias ;; 1141 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1142 build_alias=$ac_optarg ;; 1143 1144 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1145 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1146 ac_prev=cache_file ;; 1147 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1148 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1149 cache_file=$ac_optarg ;; 1150 1151 --config-cache | -C) 1152 cache_file=config.cache ;; 1153 1154 -datadir | --datadir | --datadi | --datad) 1155 ac_prev=datadir ;; 1156 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1157 datadir=$ac_optarg ;; 1158 1159 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1160 | --dataroo | --dataro | --datar) 1161 ac_prev=datarootdir ;; 1162 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1163 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1164 datarootdir=$ac_optarg ;; 1165 1166 -disable-* | --disable-*) 1167 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1168 # Reject names that are not valid shell variable names. 1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1170 as_fn_error $? "invalid feature name: $ac_useropt" 1171 ac_useropt_orig=$ac_useropt 1172 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1173 case $ac_user_opts in 1174 *" 1175"enable_$ac_useropt" 1176"*) ;; 1177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1178 ac_unrecognized_sep=', ';; 1179 esac 1180 eval enable_$ac_useropt=no ;; 1181 1182 -docdir | --docdir | --docdi | --doc | --do) 1183 ac_prev=docdir ;; 1184 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1185 docdir=$ac_optarg ;; 1186 1187 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1188 ac_prev=dvidir ;; 1189 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1190 dvidir=$ac_optarg ;; 1191 1192 -enable-* | --enable-*) 1193 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1194 # Reject names that are not valid shell variable names. 1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1196 as_fn_error $? "invalid feature name: $ac_useropt" 1197 ac_useropt_orig=$ac_useropt 1198 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1199 case $ac_user_opts in 1200 *" 1201"enable_$ac_useropt" 1202"*) ;; 1203 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1204 ac_unrecognized_sep=', ';; 1205 esac 1206 eval enable_$ac_useropt=\$ac_optarg ;; 1207 1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1210 | --exec | --exe | --ex) 1211 ac_prev=exec_prefix ;; 1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1214 | --exec=* | --exe=* | --ex=*) 1215 exec_prefix=$ac_optarg ;; 1216 1217 -gas | --gas | --ga | --g) 1218 # Obsolete; use --with-gas. 1219 with_gas=yes ;; 1220 1221 -help | --help | --hel | --he | -h) 1222 ac_init_help=long ;; 1223 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1224 ac_init_help=recursive ;; 1225 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1226 ac_init_help=short ;; 1227 1228 -host | --host | --hos | --ho) 1229 ac_prev=host_alias ;; 1230 -host=* | --host=* | --hos=* | --ho=*) 1231 host_alias=$ac_optarg ;; 1232 1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1234 ac_prev=htmldir ;; 1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1236 | --ht=*) 1237 htmldir=$ac_optarg ;; 1238 1239 -includedir | --includedir | --includedi | --included | --include \ 1240 | --includ | --inclu | --incl | --inc) 1241 ac_prev=includedir ;; 1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1243 | --includ=* | --inclu=* | --incl=* | --inc=*) 1244 includedir=$ac_optarg ;; 1245 1246 -infodir | --infodir | --infodi | --infod | --info | --inf) 1247 ac_prev=infodir ;; 1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1249 infodir=$ac_optarg ;; 1250 1251 -libdir | --libdir | --libdi | --libd) 1252 ac_prev=libdir ;; 1253 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1254 libdir=$ac_optarg ;; 1255 1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1257 | --libexe | --libex | --libe) 1258 ac_prev=libexecdir ;; 1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1260 | --libexe=* | --libex=* | --libe=*) 1261 libexecdir=$ac_optarg ;; 1262 1263 -localedir | --localedir | --localedi | --localed | --locale) 1264 ac_prev=localedir ;; 1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1266 localedir=$ac_optarg ;; 1267 1268 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1269 | --localstate | --localstat | --localsta | --localst | --locals) 1270 ac_prev=localstatedir ;; 1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1273 localstatedir=$ac_optarg ;; 1274 1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1276 ac_prev=mandir ;; 1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1278 mandir=$ac_optarg ;; 1279 1280 -nfp | --nfp | --nf) 1281 # Obsolete; use --without-fp. 1282 with_fp=no ;; 1283 1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1285 | --no-cr | --no-c | -n) 1286 no_create=yes ;; 1287 1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1290 no_recursion=yes ;; 1291 1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1294 | --oldin | --oldi | --old | --ol | --o) 1295 ac_prev=oldincludedir ;; 1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1299 oldincludedir=$ac_optarg ;; 1300 1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1302 ac_prev=prefix ;; 1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1304 prefix=$ac_optarg ;; 1305 1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1307 | --program-pre | --program-pr | --program-p) 1308 ac_prev=program_prefix ;; 1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1311 program_prefix=$ac_optarg ;; 1312 1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1314 | --program-suf | --program-su | --program-s) 1315 ac_prev=program_suffix ;; 1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1318 program_suffix=$ac_optarg ;; 1319 1320 -program-transform-name | --program-transform-name \ 1321 | --program-transform-nam | --program-transform-na \ 1322 | --program-transform-n | --program-transform- \ 1323 | --program-transform | --program-transfor \ 1324 | --program-transfo | --program-transf \ 1325 | --program-trans | --program-tran \ 1326 | --progr-tra | --program-tr | --program-t) 1327 ac_prev=program_transform_name ;; 1328 -program-transform-name=* | --program-transform-name=* \ 1329 | --program-transform-nam=* | --program-transform-na=* \ 1330 | --program-transform-n=* | --program-transform-=* \ 1331 | --program-transform=* | --program-transfor=* \ 1332 | --program-transfo=* | --program-transf=* \ 1333 | --program-trans=* | --program-tran=* \ 1334 | --progr-tra=* | --program-tr=* | --program-t=*) 1335 program_transform_name=$ac_optarg ;; 1336 1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1338 ac_prev=pdfdir ;; 1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1340 pdfdir=$ac_optarg ;; 1341 1342 -psdir | --psdir | --psdi | --psd | --ps) 1343 ac_prev=psdir ;; 1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1345 psdir=$ac_optarg ;; 1346 1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1348 | -silent | --silent | --silen | --sile | --sil) 1349 silent=yes ;; 1350 1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1352 ac_prev=sbindir ;; 1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1354 | --sbi=* | --sb=*) 1355 sbindir=$ac_optarg ;; 1356 1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1359 | --sharedst | --shareds | --shared | --share | --shar \ 1360 | --sha | --sh) 1361 ac_prev=sharedstatedir ;; 1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1365 | --sha=* | --sh=*) 1366 sharedstatedir=$ac_optarg ;; 1367 1368 -site | --site | --sit) 1369 ac_prev=site ;; 1370 -site=* | --site=* | --sit=*) 1371 site=$ac_optarg ;; 1372 1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1374 ac_prev=srcdir ;; 1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1376 srcdir=$ac_optarg ;; 1377 1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1379 | --syscon | --sysco | --sysc | --sys | --sy) 1380 ac_prev=sysconfdir ;; 1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1383 sysconfdir=$ac_optarg ;; 1384 1385 -target | --target | --targe | --targ | --tar | --ta | --t) 1386 ac_prev=target_alias ;; 1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1388 target_alias=$ac_optarg ;; 1389 1390 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1391 verbose=yes ;; 1392 1393 -version | --version | --versio | --versi | --vers | -V) 1394 ac_init_version=: ;; 1395 1396 -with-* | --with-*) 1397 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1398 # Reject names that are not valid shell variable names. 1399 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1400 as_fn_error $? "invalid package name: $ac_useropt" 1401 ac_useropt_orig=$ac_useropt 1402 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1403 case $ac_user_opts in 1404 *" 1405"with_$ac_useropt" 1406"*) ;; 1407 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1408 ac_unrecognized_sep=', ';; 1409 esac 1410 eval with_$ac_useropt=\$ac_optarg ;; 1411 1412 -without-* | --without-*) 1413 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1414 # Reject names that are not valid shell variable names. 1415 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1416 as_fn_error $? "invalid package name: $ac_useropt" 1417 ac_useropt_orig=$ac_useropt 1418 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1419 case $ac_user_opts in 1420 *" 1421"with_$ac_useropt" 1422"*) ;; 1423 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1424 ac_unrecognized_sep=', ';; 1425 esac 1426 eval with_$ac_useropt=no ;; 1427 1428 --x) 1429 # Obsolete; use --with-x. 1430 with_x=yes ;; 1431 1432 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1433 | --x-incl | --x-inc | --x-in | --x-i) 1434 ac_prev=x_includes ;; 1435 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1436 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1437 x_includes=$ac_optarg ;; 1438 1439 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1440 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1441 ac_prev=x_libraries ;; 1442 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1443 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1444 x_libraries=$ac_optarg ;; 1445 1446 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1447Try \`$0 --help' for more information" 1448 ;; 1449 1450 *=*) 1451 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1452 # Reject names that are not valid shell variable names. 1453 case $ac_envvar in #( 1454 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1455 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1456 esac 1457 eval $ac_envvar=\$ac_optarg 1458 export $ac_envvar ;; 1459 1460 *) 1461 # FIXME: should be removed in autoconf 3.0. 1462 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1463 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1464 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1465 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1466 ;; 1467 1468 esac 1469done 1470 1471if test -n "$ac_prev"; then 1472 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1473 as_fn_error $? "missing argument to $ac_option" 1474fi 1475 1476if test -n "$ac_unrecognized_opts"; then 1477 case $enable_option_checking in 1478 no) ;; 1479 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1480 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1481 esac 1482fi 1483 1484# Check all directory arguments for consistency. 1485for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1486 datadir sysconfdir sharedstatedir localstatedir includedir \ 1487 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1488 libdir localedir mandir 1489do 1490 eval ac_val=\$$ac_var 1491 # Remove trailing slashes. 1492 case $ac_val in 1493 */ ) 1494 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1495 eval $ac_var=\$ac_val;; 1496 esac 1497 # Be sure to have absolute directory names. 1498 case $ac_val in 1499 [\\/$]* | ?:[\\/]* ) continue;; 1500 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1501 esac 1502 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1503done 1504 1505# There might be people who depend on the old broken behavior: `$host' 1506# used to hold the argument of --host etc. 1507# FIXME: To remove some day. 1508build=$build_alias 1509host=$host_alias 1510target=$target_alias 1511 1512# FIXME: To remove some day. 1513if test "x$host_alias" != x; then 1514 if test "x$build_alias" = x; then 1515 cross_compiling=maybe 1516 elif test "x$build_alias" != "x$host_alias"; then 1517 cross_compiling=yes 1518 fi 1519fi 1520 1521ac_tool_prefix= 1522test -n "$host_alias" && ac_tool_prefix=$host_alias- 1523 1524test "$silent" = yes && exec 6>/dev/null 1525 1526 1527ac_pwd=`pwd` && test -n "$ac_pwd" && 1528ac_ls_di=`ls -di .` && 1529ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1530 as_fn_error $? "working directory cannot be determined" 1531test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1532 as_fn_error $? "pwd does not report name of working directory" 1533 1534 1535# Find the source files, if location was not specified. 1536if test -z "$srcdir"; then 1537 ac_srcdir_defaulted=yes 1538 # Try the directory containing this script, then the parent directory. 1539 ac_confdir=`$as_dirname -- "$as_myself" || 1540$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1541 X"$as_myself" : 'X\(//\)[^/]' \| \ 1542 X"$as_myself" : 'X\(//\)$' \| \ 1543 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1544$as_echo X"$as_myself" | 1545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1546 s//\1/ 1547 q 1548 } 1549 /^X\(\/\/\)[^/].*/{ 1550 s//\1/ 1551 q 1552 } 1553 /^X\(\/\/\)$/{ 1554 s//\1/ 1555 q 1556 } 1557 /^X\(\/\).*/{ 1558 s//\1/ 1559 q 1560 } 1561 s/.*/./; q'` 1562 srcdir=$ac_confdir 1563 if test ! -r "$srcdir/$ac_unique_file"; then 1564 srcdir=.. 1565 fi 1566else 1567 ac_srcdir_defaulted=no 1568fi 1569if test ! -r "$srcdir/$ac_unique_file"; then 1570 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1571 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1572fi 1573ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1574ac_abs_confdir=`( 1575 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1576 pwd)` 1577# When building in place, set srcdir=. 1578if test "$ac_abs_confdir" = "$ac_pwd"; then 1579 srcdir=. 1580fi 1581# Remove unnecessary trailing slashes from srcdir. 1582# Double slashes in file names in object file debugging info 1583# mess up M-x gdb in Emacs. 1584case $srcdir in 1585*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1586esac 1587for ac_var in $ac_precious_vars; do 1588 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1589 eval ac_env_${ac_var}_value=\$${ac_var} 1590 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1591 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1592done 1593 1594# 1595# Report the --help message. 1596# 1597if test "$ac_init_help" = "long"; then 1598 # Omit some internal or obsolete options to make the list less imposing. 1599 # This message is too long to be a string in the A/UX 3.1 sh. 1600 cat <<_ACEOF 1601\`configure' configures Web2C 2015 to adapt to many kinds of systems. 1602 1603Usage: $0 [OPTION]... [VAR=VALUE]... 1604 1605To assign environment variables (e.g., CC, CFLAGS...), specify them as 1606VAR=VALUE. See below for descriptions of some of the useful variables. 1607 1608Defaults for the options are specified in brackets. 1609 1610Configuration: 1611 -h, --help display this help and exit 1612 --help=short display options specific to this package 1613 --help=recursive display the short help of all the included packages 1614 -V, --version display version information and exit 1615 -q, --quiet, --silent do not print \`checking ...' messages 1616 --cache-file=FILE cache test results in FILE [disabled] 1617 -C, --config-cache alias for \`--cache-file=config.cache' 1618 -n, --no-create do not create output files 1619 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1620 1621Installation directories: 1622 --prefix=PREFIX install architecture-independent files in PREFIX 1623 [$ac_default_prefix] 1624 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1625 [PREFIX] 1626 1627By default, \`make install' will install all the files in 1628\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1629an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1630for instance \`--prefix=\$HOME'. 1631 1632For better control, use the options below. 1633 1634Fine tuning of the installation directories: 1635 --bindir=DIR user executables [EPREFIX/bin] 1636 --sbindir=DIR system admin executables [EPREFIX/sbin] 1637 --libexecdir=DIR program executables [EPREFIX/libexec] 1638 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1639 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1640 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1641 --libdir=DIR object code libraries [EPREFIX/lib] 1642 --includedir=DIR C header files [PREFIX/include] 1643 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1644 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1645 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1646 --infodir=DIR info documentation [DATAROOTDIR/info] 1647 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1648 --mandir=DIR man documentation [DATAROOTDIR/man] 1649 --docdir=DIR documentation root [DATAROOTDIR/doc/web2c] 1650 --htmldir=DIR html documentation [DOCDIR] 1651 --dvidir=DIR dvi documentation [DOCDIR] 1652 --pdfdir=DIR pdf documentation [DOCDIR] 1653 --psdir=DIR ps documentation [DOCDIR] 1654_ACEOF 1655 1656 cat <<\_ACEOF 1657 1658Program names: 1659 --program-prefix=PREFIX prepend PREFIX to installed program names 1660 --program-suffix=SUFFIX append SUFFIX to installed program names 1661 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1662 1663X features: 1664 --x-includes=DIR X include files are in DIR 1665 --x-libraries=DIR X library files are in DIR 1666 1667System types: 1668 --build=BUILD configure for building on BUILD [guessed] 1669 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1670_ACEOF 1671fi 1672 1673if test -n "$ac_init_help"; then 1674 case $ac_init_help in 1675 short | recursive ) echo "Configuration of Web2C 2015:";; 1676 esac 1677 cat <<\_ACEOF 1678 1679Optional Features: 1680 --disable-option-checking ignore unrecognized --enable/--with options 1681 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1682 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1683 --enable-silent-rules less verbose build output (undo: "make V=1") 1684 --disable-silent-rules verbose build output (undo: "make V=0") 1685 --enable-maintainer-mode 1686 enable make rules and dependencies not useful (and 1687 sometimes confusing) to the casual installer 1688 --enable-dependency-tracking 1689 do not reject slow dependency extractors 1690 --disable-dependency-tracking 1691 speeds up one-time build 1692 --enable-compiler-warnings=[no|min|yes|max|all] 1693 Turn on compiler warnings [default: yes if 1694 maintainer-mode, min otherwise] 1695 --enable-shared[=PKGS] build shared libraries [default=yes] 1696 --enable-static[=PKGS] build static libraries [default=yes] 1697 --enable-fast-install[=PKGS] 1698 optimize for fast installation [default=yes] 1699 --disable-libtool-lock avoid locking (might break parallel builds) 1700 --disable-largefile omit support for large files 1701 --enable-cxx-runtime-hack link C++ runtime statically 1702 --enable-libtool-hack ignore libtool dependency_libs 1703 --enable-auto-core cause TeX&MF to dump core, given a certain filename 1704 --disable-dump-share make fmt/base files architecture-dependent 1705 --disable-ipc disable TeX's --ipc option, i.e., pipe to a program 1706 --disable-tex do not compile and install TeX 1707 --enable-tex-synctex build TeX with SyncTeX support 1708 --enable-etex compile and install e-TeX 1709 --disable-etex-synctex build e-TeX without SyncTeX support 1710 --disable-ptex do not compile and install pTeX 1711 --disable-ptex-synctex build pTeX without SyncTeX support 1712 --disable-eptex do not compile and install e-pTeX 1713 --disable-eptex-synctex build e-pTeX without SyncTeX support 1714 --disable-uptex do not compile and install upTeX 1715 --disable-uptex-synctex build upTeX without SyncTeX support 1716 --disable-euptex do not compile and install e-upTeX 1717 --disable-euptex-synctex build e-upTeX without SyncTeX support 1718 --disable-aleph do not compile and install Aleph 1719 --disable-pdftex do not compile and install pdfTeX 1720 --disable-pdftex-synctex build pdfTeX without SyncTeX support 1721 --disable-luatex do not compile and install LuaTeX 1722 --disable-luajittex do not compile and install LuaJITTeX 1723 --disable-mp do not compile and install MetaPost 1724 --disable-pmp do not compile and install pMetaPost 1725 --disable-upmp do not compile and install upMetaPost 1726 --disable-xetex do not compile and install XeTeX 1727 --disable-xetex-synctex build XeTeX without SyncTeX support 1728 --disable-mf do not compile and install METAFONT 1729 --disable-mf-nowin do not build a separate non-window-capable 1730 METAFONT 1731 --enable-epsfwin include EPSF pseudo window support 1732 --enable-hp2627win include HP 2627 window support 1733 --enable-mftalkwin include mftalk (generic server) window support 1734 --enable-nextwin include NeXT window support 1735 --enable-regiswin include Regis window support 1736 --enable-suntoolswin include old Suntools (not X) window support 1737 --enable-tektronixwin include Tektronix window support 1738 --enable-unitermwin include Uniterm window support 1739 --disable-web-progs do not build WEB programs bibtex ... weave 1740 --disable-synctex do not build the SyncTeX library and tool 1741 --disable-missing terminate if a requested program or feature must be 1742 disabled, e.g., due to missing libraries 1743 1744Optional Packages: 1745 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1746 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1747 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1748 both] 1749 --with-aix-soname=aix|svr4|both 1750 shared library versioning (aka "SONAME") variant to 1751 provide on AIX, [default=aix]. 1752 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1753 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1754 compiler's sysroot if not specified). 1755 --with-banner-add=STR add STR to version string appended to banner lines 1756 --with-editor=CMD invoke CMD from the `e' option [vi +%d '%s'] or 1757 [texworks --position=%d "%s"] 1758 --with-mf-x-toolkit use X toolkit for METAFONT 1759 --with-fontconfig-includes=DIR 1760 fontconfig headers installed in DIR 1761 --with-fontconfig-libdir=DIR 1762 fontconfig library installed in DIR 1763 --with-x use the X Window System 1764 --with-system-kpathsea use installed kpathsea headers and library (requires 1765 pkg-config) 1766 --with-system-ptexenc use installed ptexenc headers and library (requires 1767 pkg-config) 1768 --with-system-zlib use installed zlib headers and library 1769 --with-zlib-includes=DIR 1770 zlib headers installed in DIR 1771 --with-zlib-libdir=DIR zlib library installed in DIR 1772 --with-system-libpng use installed libpng headers and library (requires 1773 pkg-config) 1774 --with-system-freetype2 use installed freetype2 headers and library 1775 (requires freetype-config) 1776 --with-system-pixman use installed pixman headers and library (requires 1777 pkg-config) 1778 --with-system-cairo use installed cairo headers and library (requires 1779 pkg-config) 1780 --with-system-gmp use installed gmp headers and library 1781 --with-gmp-includes=DIR gmp headers installed in DIR 1782 --with-gmp-libdir=DIR gmp library installed in DIR 1783 --with-system-mpfr use installed mpfr headers and library 1784 --with-mpfr-includes=DIR 1785 mpfr headers installed in DIR 1786 --with-mpfr-libdir=DIR mpfr library installed in DIR 1787 --with-system-poppler use installed poppler headers and library (requires 1788 pkg-config) 1789 --with-system-xpdf use installed poppler headers and library instead of 1790 xpdf library from TL (requires pkg-config) 1791 --with-system-zziplib use installed zziplib headers and library (requires 1792 pkg-config) 1793 --with-system-teckit use installed teckit headers and library (requires 1794 pkg-config) 1795 --with-system-icu use installed ICU headers and libraries (requires 1796 icu-config) 1797 --with-system-graphite2 use installed graphite2 headers and library 1798 (requires pkg-config) 1799 --with-system-harfbuzz use installed harfbuzz headers and library (requires 1800 pkg-config) 1801 1802Some influential environment variables: 1803 CC C compiler command 1804 CFLAGS C compiler flags 1805 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1806 nonstandard directory <lib dir> 1807 LIBS libraries to pass to the linker, e.g. -l<library> 1808 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1809 you have headers in a nonstandard directory <include dir> 1810 LT_SYS_LIBRARY_PATH 1811 User-defined run-time library search path. 1812 CPP C preprocessor 1813 CXX C++ compiler command 1814 CXXFLAGS C++ compiler flags 1815 CXXCPP C++ preprocessor 1816 OBJCXX Objective C++ compiler command 1817 OBJCXXFLAGS Objective C++ compiler flags 1818 XMKMF Path to xmkmf, Makefile generator for X Window System 1819 YACC The `Yet Another Compiler Compiler' implementation to use. 1820 Defaults to the first program found out of: `bison -y', `byacc', 1821 `yacc'. 1822 YFLAGS The list of arguments that will be passed by default to $YACC. 1823 This script will default YFLAGS to the empty string to avoid a 1824 default value of `-d' given by some make applications. 1825 1826Use these variables to override the choices made by `configure' or to help 1827it to find libraries and programs with nonstandard names/locations. 1828 1829Report bugs to <tex-k@tug.org>. 1830_ACEOF 1831ac_status=$? 1832fi 1833 1834if test "$ac_init_help" = "recursive"; then 1835 # If there are subdirs, report their specific --help. 1836 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1837 test -d "$ac_dir" || 1838 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1839 continue 1840 ac_builddir=. 1841 1842case "$ac_dir" in 1843.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1844*) 1845 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1846 # A ".." for each directory in $ac_dir_suffix. 1847 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1848 case $ac_top_builddir_sub in 1849 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1850 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1851 esac ;; 1852esac 1853ac_abs_top_builddir=$ac_pwd 1854ac_abs_builddir=$ac_pwd$ac_dir_suffix 1855# for backward compatibility: 1856ac_top_builddir=$ac_top_build_prefix 1857 1858case $srcdir in 1859 .) # We are building in place. 1860 ac_srcdir=. 1861 ac_top_srcdir=$ac_top_builddir_sub 1862 ac_abs_top_srcdir=$ac_pwd ;; 1863 [\\/]* | ?:[\\/]* ) # Absolute name. 1864 ac_srcdir=$srcdir$ac_dir_suffix; 1865 ac_top_srcdir=$srcdir 1866 ac_abs_top_srcdir=$srcdir ;; 1867 *) # Relative name. 1868 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1869 ac_top_srcdir=$ac_top_build_prefix$srcdir 1870 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1871esac 1872ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1873 1874 cd "$ac_dir" || { ac_status=$?; continue; } 1875 # Check for guested configure. 1876 if test -f "$ac_srcdir/configure.gnu"; then 1877 echo && 1878 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1879 elif test -f "$ac_srcdir/configure"; then 1880 echo && 1881 $SHELL "$ac_srcdir/configure" --help=recursive 1882 else 1883 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1884 fi || ac_status=$? 1885 cd "$ac_pwd" || { ac_status=$?; break; } 1886 done 1887fi 1888 1889test -n "$ac_init_help" && exit $ac_status 1890if $ac_init_version; then 1891 cat <<\_ACEOF 1892Web2C configure 2015 1893generated by GNU Autoconf 2.69 1894 1895Copyright (C) 2012 Free Software Foundation, Inc. 1896This configure script is free software; the Free Software Foundation 1897gives unlimited permission to copy, distribute and modify it. 1898_ACEOF 1899 exit 1900fi 1901 1902## ------------------------ ## 1903## Autoconf initialization. ## 1904## ------------------------ ## 1905 1906# ac_fn_c_try_compile LINENO 1907# -------------------------- 1908# Try to compile conftest.$ac_ext, and return whether this succeeded. 1909ac_fn_c_try_compile () 1910{ 1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1912 rm -f conftest.$ac_objext 1913 if { { ac_try="$ac_compile" 1914case "(($ac_try" in 1915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1916 *) ac_try_echo=$ac_try;; 1917esac 1918eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1919$as_echo "$ac_try_echo"; } >&5 1920 (eval "$ac_compile") 2>conftest.err 1921 ac_status=$? 1922 if test -s conftest.err; then 1923 grep -v '^ *+' conftest.err >conftest.er1 1924 cat conftest.er1 >&5 1925 mv -f conftest.er1 conftest.err 1926 fi 1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1928 test $ac_status = 0; } && { 1929 test -z "$ac_c_werror_flag" || 1930 test ! -s conftest.err 1931 } && test -s conftest.$ac_objext; then : 1932 ac_retval=0 1933else 1934 $as_echo "$as_me: failed program was:" >&5 1935sed 's/^/| /' conftest.$ac_ext >&5 1936 1937 ac_retval=1 1938fi 1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1940 as_fn_set_status $ac_retval 1941 1942} # ac_fn_c_try_compile 1943 1944# ac_fn_c_try_link LINENO 1945# ----------------------- 1946# Try to link conftest.$ac_ext, and return whether this succeeded. 1947ac_fn_c_try_link () 1948{ 1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1950 rm -f conftest.$ac_objext conftest$ac_exeext 1951 if { { ac_try="$ac_link" 1952case "(($ac_try" in 1953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1954 *) ac_try_echo=$ac_try;; 1955esac 1956eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1957$as_echo "$ac_try_echo"; } >&5 1958 (eval "$ac_link") 2>conftest.err 1959 ac_status=$? 1960 if test -s conftest.err; then 1961 grep -v '^ *+' conftest.err >conftest.er1 1962 cat conftest.er1 >&5 1963 mv -f conftest.er1 conftest.err 1964 fi 1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1966 test $ac_status = 0; } && { 1967 test -z "$ac_c_werror_flag" || 1968 test ! -s conftest.err 1969 } && test -s conftest$ac_exeext && { 1970 test "$cross_compiling" = yes || 1971 test -x conftest$ac_exeext 1972 }; then : 1973 ac_retval=0 1974else 1975 $as_echo "$as_me: failed program was:" >&5 1976sed 's/^/| /' conftest.$ac_ext >&5 1977 1978 ac_retval=1 1979fi 1980 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1981 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1982 # interfere with the next link command; also delete a directory that is 1983 # left behind by Apple's compiler. We do this before executing the actions. 1984 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1986 as_fn_set_status $ac_retval 1987 1988} # ac_fn_c_try_link 1989 1990# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1991# ------------------------------------------------------- 1992# Tests whether HEADER exists and can be compiled using the include files in 1993# INCLUDES, setting the cache variable VAR accordingly. 1994ac_fn_c_check_header_compile () 1995{ 1996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1998$as_echo_n "checking for $2... " >&6; } 1999if eval \${$3+:} false; then : 2000 $as_echo_n "(cached) " >&6 2001else 2002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2003/* end confdefs.h. */ 2004$4 2005#include <$2> 2006_ACEOF 2007if ac_fn_c_try_compile "$LINENO"; then : 2008 eval "$3=yes" 2009else 2010 eval "$3=no" 2011fi 2012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2013fi 2014eval ac_res=\$$3 2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2016$as_echo "$ac_res" >&6; } 2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2018 2019} # ac_fn_c_check_header_compile 2020 2021# ac_fn_c_try_cpp LINENO 2022# ---------------------- 2023# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2024ac_fn_c_try_cpp () 2025{ 2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2027 if { { ac_try="$ac_cpp conftest.$ac_ext" 2028case "(($ac_try" in 2029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2030 *) ac_try_echo=$ac_try;; 2031esac 2032eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2033$as_echo "$ac_try_echo"; } >&5 2034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2035 ac_status=$? 2036 if test -s conftest.err; then 2037 grep -v '^ *+' conftest.err >conftest.er1 2038 cat conftest.er1 >&5 2039 mv -f conftest.er1 conftest.err 2040 fi 2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2042 test $ac_status = 0; } > conftest.i && { 2043 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2044 test ! -s conftest.err 2045 }; then : 2046 ac_retval=0 2047else 2048 $as_echo "$as_me: failed program was:" >&5 2049sed 's/^/| /' conftest.$ac_ext >&5 2050 2051 ac_retval=1 2052fi 2053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2054 as_fn_set_status $ac_retval 2055 2056} # ac_fn_c_try_cpp 2057 2058# ac_fn_c_try_run LINENO 2059# ---------------------- 2060# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2061# that executables *can* be run. 2062ac_fn_c_try_run () 2063{ 2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2065 if { { ac_try="$ac_link" 2066case "(($ac_try" in 2067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2068 *) ac_try_echo=$ac_try;; 2069esac 2070eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2071$as_echo "$ac_try_echo"; } >&5 2072 (eval "$ac_link") 2>&5 2073 ac_status=$? 2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2075 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2076 { { case "(($ac_try" in 2077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2078 *) ac_try_echo=$ac_try;; 2079esac 2080eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2081$as_echo "$ac_try_echo"; } >&5 2082 (eval "$ac_try") 2>&5 2083 ac_status=$? 2084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2085 test $ac_status = 0; }; }; then : 2086 ac_retval=0 2087else 2088 $as_echo "$as_me: program exited with status $ac_status" >&5 2089 $as_echo "$as_me: failed program was:" >&5 2090sed 's/^/| /' conftest.$ac_ext >&5 2091 2092 ac_retval=$ac_status 2093fi 2094 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2096 as_fn_set_status $ac_retval 2097 2098} # ac_fn_c_try_run 2099 2100# ac_fn_c_check_func LINENO FUNC VAR 2101# ---------------------------------- 2102# Tests whether FUNC exists, setting the cache variable VAR accordingly 2103ac_fn_c_check_func () 2104{ 2105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2107$as_echo_n "checking for $2... " >&6; } 2108if eval \${$3+:} false; then : 2109 $as_echo_n "(cached) " >&6 2110else 2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2112/* end confdefs.h. */ 2113/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2114 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2115#define $2 innocuous_$2 2116 2117/* System header to define __stub macros and hopefully few prototypes, 2118 which can conflict with char $2 (); below. 2119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2120 <limits.h> exists even on freestanding compilers. */ 2121 2122#ifdef __STDC__ 2123# include <limits.h> 2124#else 2125# include <assert.h> 2126#endif 2127 2128#undef $2 2129 2130/* Override any GCC internal prototype to avoid an error. 2131 Use char because int might match the return type of a GCC 2132 builtin and then its argument prototype would still apply. */ 2133#ifdef __cplusplus 2134extern "C" 2135#endif 2136char $2 (); 2137/* The GNU C library defines this for functions which it implements 2138 to always fail with ENOSYS. Some functions are actually named 2139 something starting with __ and the normal name is an alias. */ 2140#if defined __stub_$2 || defined __stub___$2 2141choke me 2142#endif 2143 2144int 2145main () 2146{ 2147return $2 (); 2148 ; 2149 return 0; 2150} 2151_ACEOF 2152if ac_fn_c_try_link "$LINENO"; then : 2153 eval "$3=yes" 2154else 2155 eval "$3=no" 2156fi 2157rm -f core conftest.err conftest.$ac_objext \ 2158 conftest$ac_exeext conftest.$ac_ext 2159fi 2160eval ac_res=\$$3 2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2162$as_echo "$ac_res" >&6; } 2163 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2164 2165} # ac_fn_c_check_func 2166 2167# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2168# ------------------------------------------------------- 2169# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2170# the include files in INCLUDES and setting the cache variable VAR 2171# accordingly. 2172ac_fn_c_check_header_mongrel () 2173{ 2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2175 if eval \${$3+:} false; then : 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2177$as_echo_n "checking for $2... " >&6; } 2178if eval \${$3+:} false; then : 2179 $as_echo_n "(cached) " >&6 2180fi 2181eval ac_res=\$$3 2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2183$as_echo "$ac_res" >&6; } 2184else 2185 # Is the header compilable? 2186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2187$as_echo_n "checking $2 usability... " >&6; } 2188cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2189/* end confdefs.h. */ 2190$4 2191#include <$2> 2192_ACEOF 2193if ac_fn_c_try_compile "$LINENO"; then : 2194 ac_header_compiler=yes 2195else 2196 ac_header_compiler=no 2197fi 2198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2200$as_echo "$ac_header_compiler" >&6; } 2201 2202# Is the header present? 2203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2204$as_echo_n "checking $2 presence... " >&6; } 2205cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2206/* end confdefs.h. */ 2207#include <$2> 2208_ACEOF 2209if ac_fn_c_try_cpp "$LINENO"; then : 2210 ac_header_preproc=yes 2211else 2212 ac_header_preproc=no 2213fi 2214rm -f conftest.err conftest.i conftest.$ac_ext 2215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2216$as_echo "$ac_header_preproc" >&6; } 2217 2218# So? What about this header? 2219case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2220 yes:no: ) 2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2222$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2224$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2225 ;; 2226 no:yes:* ) 2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2228$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2230$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2232$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2234$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2236$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2237( $as_echo "## ---------------------------- ## 2238## Report this to tex-k@tug.org ## 2239## ---------------------------- ##" 2240 ) | sed "s/^/$as_me: WARNING: /" >&2 2241 ;; 2242esac 2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2244$as_echo_n "checking for $2... " >&6; } 2245if eval \${$3+:} false; then : 2246 $as_echo_n "(cached) " >&6 2247else 2248 eval "$3=\$ac_header_compiler" 2249fi 2250eval ac_res=\$$3 2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2252$as_echo "$ac_res" >&6; } 2253fi 2254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2255 2256} # ac_fn_c_check_header_mongrel 2257 2258# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2259# ------------------------------------------- 2260# Tests whether TYPE exists after having included INCLUDES, setting cache 2261# variable VAR accordingly. 2262ac_fn_c_check_type () 2263{ 2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2266$as_echo_n "checking for $2... " >&6; } 2267if eval \${$3+:} false; then : 2268 $as_echo_n "(cached) " >&6 2269else 2270 eval "$3=no" 2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2272/* end confdefs.h. */ 2273$4 2274int 2275main () 2276{ 2277if (sizeof ($2)) 2278 return 0; 2279 ; 2280 return 0; 2281} 2282_ACEOF 2283if ac_fn_c_try_compile "$LINENO"; then : 2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2285/* end confdefs.h. */ 2286$4 2287int 2288main () 2289{ 2290if (sizeof (($2))) 2291 return 0; 2292 ; 2293 return 0; 2294} 2295_ACEOF 2296if ac_fn_c_try_compile "$LINENO"; then : 2297 2298else 2299 eval "$3=yes" 2300fi 2301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2302fi 2303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2304fi 2305eval ac_res=\$$3 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2307$as_echo "$ac_res" >&6; } 2308 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2309 2310} # ac_fn_c_check_type 2311 2312# ac_fn_c_find_intX_t LINENO BITS VAR 2313# ----------------------------------- 2314# Finds a signed integer type with width BITS, setting cache variable VAR 2315# accordingly. 2316ac_fn_c_find_intX_t () 2317{ 2318 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 2320$as_echo_n "checking for int$2_t... " >&6; } 2321if eval \${$3+:} false; then : 2322 $as_echo_n "(cached) " >&6 2323else 2324 eval "$3=no" 2325 # Order is important - never check a type that is potentially smaller 2326 # than half of the expected target width. 2327 for ac_type in int$2_t 'int' 'long int' \ 2328 'long long int' 'short int' 'signed char'; do 2329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2330/* end confdefs.h. */ 2331$ac_includes_default 2332 enum { N = $2 / 2 - 1 }; 2333int 2334main () 2335{ 2336static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 2337test_array [0] = 0; 2338return test_array [0]; 2339 2340 ; 2341 return 0; 2342} 2343_ACEOF 2344if ac_fn_c_try_compile "$LINENO"; then : 2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2346/* end confdefs.h. */ 2347$ac_includes_default 2348 enum { N = $2 / 2 - 1 }; 2349int 2350main () 2351{ 2352static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 2353 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 2354test_array [0] = 0; 2355return test_array [0]; 2356 2357 ; 2358 return 0; 2359} 2360_ACEOF 2361if ac_fn_c_try_compile "$LINENO"; then : 2362 2363else 2364 case $ac_type in #( 2365 int$2_t) : 2366 eval "$3=yes" ;; #( 2367 *) : 2368 eval "$3=\$ac_type" ;; 2369esac 2370fi 2371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2372fi 2373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2374 if eval test \"x\$"$3"\" = x"no"; then : 2375 2376else 2377 break 2378fi 2379 done 2380fi 2381eval ac_res=\$$3 2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2383$as_echo "$ac_res" >&6; } 2384 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2385 2386} # ac_fn_c_find_intX_t 2387 2388# ac_fn_c_find_uintX_t LINENO BITS VAR 2389# ------------------------------------ 2390# Finds an unsigned integer type with width BITS, setting cache variable VAR 2391# accordingly. 2392ac_fn_c_find_uintX_t () 2393{ 2394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2396$as_echo_n "checking for uint$2_t... " >&6; } 2397if eval \${$3+:} false; then : 2398 $as_echo_n "(cached) " >&6 2399else 2400 eval "$3=no" 2401 # Order is important - never check a type that is potentially smaller 2402 # than half of the expected target width. 2403 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 2404 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 2405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2406/* end confdefs.h. */ 2407$ac_includes_default 2408int 2409main () 2410{ 2411static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2412test_array [0] = 0; 2413return test_array [0]; 2414 2415 ; 2416 return 0; 2417} 2418_ACEOF 2419if ac_fn_c_try_compile "$LINENO"; then : 2420 case $ac_type in #( 2421 uint$2_t) : 2422 eval "$3=yes" ;; #( 2423 *) : 2424 eval "$3=\$ac_type" ;; 2425esac 2426fi 2427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2428 if eval test \"x\$"$3"\" = x"no"; then : 2429 2430else 2431 break 2432fi 2433 done 2434fi 2435eval ac_res=\$$3 2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2437$as_echo "$ac_res" >&6; } 2438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2439 2440} # ac_fn_c_find_uintX_t 2441 2442# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2443# ---------------------------------------------------- 2444# Tries to find if the field MEMBER exists in type AGGR, after including 2445# INCLUDES, setting cache variable VAR accordingly. 2446ac_fn_c_check_member () 2447{ 2448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2450$as_echo_n "checking for $2.$3... " >&6; } 2451if eval \${$4+:} false; then : 2452 $as_echo_n "(cached) " >&6 2453else 2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2455/* end confdefs.h. */ 2456$5 2457int 2458main () 2459{ 2460static $2 ac_aggr; 2461if (ac_aggr.$3) 2462return 0; 2463 ; 2464 return 0; 2465} 2466_ACEOF 2467if ac_fn_c_try_compile "$LINENO"; then : 2468 eval "$4=yes" 2469else 2470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2471/* end confdefs.h. */ 2472$5 2473int 2474main () 2475{ 2476static $2 ac_aggr; 2477if (sizeof ac_aggr.$3) 2478return 0; 2479 ; 2480 return 0; 2481} 2482_ACEOF 2483if ac_fn_c_try_compile "$LINENO"; then : 2484 eval "$4=yes" 2485else 2486 eval "$4=no" 2487fi 2488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2489fi 2490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2491fi 2492eval ac_res=\$$4 2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2494$as_echo "$ac_res" >&6; } 2495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2496 2497} # ac_fn_c_check_member 2498 2499# ac_fn_cxx_try_compile LINENO 2500# ---------------------------- 2501# Try to compile conftest.$ac_ext, and return whether this succeeded. 2502ac_fn_cxx_try_compile () 2503{ 2504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2505 rm -f conftest.$ac_objext 2506 if { { ac_try="$ac_compile" 2507case "(($ac_try" in 2508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2509 *) ac_try_echo=$ac_try;; 2510esac 2511eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2512$as_echo "$ac_try_echo"; } >&5 2513 (eval "$ac_compile") 2>conftest.err 2514 ac_status=$? 2515 if test -s conftest.err; then 2516 grep -v '^ *+' conftest.err >conftest.er1 2517 cat conftest.er1 >&5 2518 mv -f conftest.er1 conftest.err 2519 fi 2520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2521 test $ac_status = 0; } && { 2522 test -z "$ac_cxx_werror_flag" || 2523 test ! -s conftest.err 2524 } && test -s conftest.$ac_objext; then : 2525 ac_retval=0 2526else 2527 $as_echo "$as_me: failed program was:" >&5 2528sed 's/^/| /' conftest.$ac_ext >&5 2529 2530 ac_retval=1 2531fi 2532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2533 as_fn_set_status $ac_retval 2534 2535} # ac_fn_cxx_try_compile 2536 2537# ac_fn_cxx_try_cpp LINENO 2538# ------------------------ 2539# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2540ac_fn_cxx_try_cpp () 2541{ 2542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2543 if { { ac_try="$ac_cpp conftest.$ac_ext" 2544case "(($ac_try" in 2545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2546 *) ac_try_echo=$ac_try;; 2547esac 2548eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2549$as_echo "$ac_try_echo"; } >&5 2550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2551 ac_status=$? 2552 if test -s conftest.err; then 2553 grep -v '^ *+' conftest.err >conftest.er1 2554 cat conftest.er1 >&5 2555 mv -f conftest.er1 conftest.err 2556 fi 2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2558 test $ac_status = 0; } > conftest.i && { 2559 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2560 test ! -s conftest.err 2561 }; then : 2562 ac_retval=0 2563else 2564 $as_echo "$as_me: failed program was:" >&5 2565sed 's/^/| /' conftest.$ac_ext >&5 2566 2567 ac_retval=1 2568fi 2569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2570 as_fn_set_status $ac_retval 2571 2572} # ac_fn_cxx_try_cpp 2573 2574# ac_fn_cxx_try_link LINENO 2575# ------------------------- 2576# Try to link conftest.$ac_ext, and return whether this succeeded. 2577ac_fn_cxx_try_link () 2578{ 2579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2580 rm -f conftest.$ac_objext conftest$ac_exeext 2581 if { { ac_try="$ac_link" 2582case "(($ac_try" in 2583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2584 *) ac_try_echo=$ac_try;; 2585esac 2586eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2587$as_echo "$ac_try_echo"; } >&5 2588 (eval "$ac_link") 2>conftest.err 2589 ac_status=$? 2590 if test -s conftest.err; then 2591 grep -v '^ *+' conftest.err >conftest.er1 2592 cat conftest.er1 >&5 2593 mv -f conftest.er1 conftest.err 2594 fi 2595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2596 test $ac_status = 0; } && { 2597 test -z "$ac_cxx_werror_flag" || 2598 test ! -s conftest.err 2599 } && test -s conftest$ac_exeext && { 2600 test "$cross_compiling" = yes || 2601 test -x conftest$ac_exeext 2602 }; then : 2603 ac_retval=0 2604else 2605 $as_echo "$as_me: failed program was:" >&5 2606sed 's/^/| /' conftest.$ac_ext >&5 2607 2608 ac_retval=1 2609fi 2610 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2611 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2612 # interfere with the next link command; also delete a directory that is 2613 # left behind by Apple's compiler. We do this before executing the actions. 2614 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2616 as_fn_set_status $ac_retval 2617 2618} # ac_fn_cxx_try_link 2619 2620# ac_fn_objcxx_try_compile LINENO 2621# ------------------------------- 2622# Try to compile conftest.$ac_ext, and return whether this succeeded. 2623ac_fn_objcxx_try_compile () 2624{ 2625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2626 rm -f conftest.$ac_objext 2627 if { { ac_try="$ac_compile" 2628case "(($ac_try" in 2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2630 *) ac_try_echo=$ac_try;; 2631esac 2632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2633$as_echo "$ac_try_echo"; } >&5 2634 (eval "$ac_compile") 2>conftest.err 2635 ac_status=$? 2636 if test -s conftest.err; then 2637 grep -v '^ *+' conftest.err >conftest.er1 2638 cat conftest.er1 >&5 2639 mv -f conftest.er1 conftest.err 2640 fi 2641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2642 test $ac_status = 0; } && { 2643 test -z "$ac_objcxx_werror_flag" || 2644 test ! -s conftest.err 2645 } && test -s conftest.$ac_objext; then : 2646 ac_retval=0 2647else 2648 $as_echo "$as_me: failed program was:" >&5 2649sed 's/^/| /' conftest.$ac_ext >&5 2650 2651 ac_retval=1 2652fi 2653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2654 as_fn_set_status $ac_retval 2655 2656} # ac_fn_objcxx_try_compile 2657 2658# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2659# --------------------------------------------------------- 2660# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2661# the include files in INCLUDES and setting the cache variable VAR 2662# accordingly. 2663ac_fn_cxx_check_header_mongrel () 2664{ 2665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2666 if eval \${$3+:} false; then : 2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2668$as_echo_n "checking for $2... " >&6; } 2669if eval \${$3+:} false; then : 2670 $as_echo_n "(cached) " >&6 2671fi 2672eval ac_res=\$$3 2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2674$as_echo "$ac_res" >&6; } 2675else 2676 # Is the header compilable? 2677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2678$as_echo_n "checking $2 usability... " >&6; } 2679cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2680/* end confdefs.h. */ 2681$4 2682#include <$2> 2683_ACEOF 2684if ac_fn_cxx_try_compile "$LINENO"; then : 2685 ac_header_compiler=yes 2686else 2687 ac_header_compiler=no 2688fi 2689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2691$as_echo "$ac_header_compiler" >&6; } 2692 2693# Is the header present? 2694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2695$as_echo_n "checking $2 presence... " >&6; } 2696cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2697/* end confdefs.h. */ 2698#include <$2> 2699_ACEOF 2700if ac_fn_cxx_try_cpp "$LINENO"; then : 2701 ac_header_preproc=yes 2702else 2703 ac_header_preproc=no 2704fi 2705rm -f conftest.err conftest.i conftest.$ac_ext 2706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2707$as_echo "$ac_header_preproc" >&6; } 2708 2709# So? What about this header? 2710case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2711 yes:no: ) 2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2713$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2715$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2716 ;; 2717 no:yes:* ) 2718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2719$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2721$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2723$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2725$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2727$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2728( $as_echo "## ---------------------------- ## 2729## Report this to tex-k@tug.org ## 2730## ---------------------------- ##" 2731 ) | sed "s/^/$as_me: WARNING: /" >&2 2732 ;; 2733esac 2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2735$as_echo_n "checking for $2... " >&6; } 2736if eval \${$3+:} false; then : 2737 $as_echo_n "(cached) " >&6 2738else 2739 eval "$3=\$ac_header_compiler" 2740fi 2741eval ac_res=\$$3 2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2743$as_echo "$ac_res" >&6; } 2744fi 2745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2746 2747} # ac_fn_cxx_check_header_mongrel 2748 2749# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2750# -------------------------------------------- 2751# Tries to find the compile-time value of EXPR in a program that includes 2752# INCLUDES, setting VAR accordingly. Returns whether the value could be 2753# computed 2754ac_fn_c_compute_int () 2755{ 2756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2757 if test "$cross_compiling" = yes; then 2758 # Depending upon the size, compute the lo and hi bounds. 2759cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2760/* end confdefs.h. */ 2761$4 2762int 2763main () 2764{ 2765static int test_array [1 - 2 * !(($2) >= 0)]; 2766test_array [0] = 0; 2767return test_array [0]; 2768 2769 ; 2770 return 0; 2771} 2772_ACEOF 2773if ac_fn_c_try_compile "$LINENO"; then : 2774 ac_lo=0 ac_mid=0 2775 while :; do 2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2777/* end confdefs.h. */ 2778$4 2779int 2780main () 2781{ 2782static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2783test_array [0] = 0; 2784return test_array [0]; 2785 2786 ; 2787 return 0; 2788} 2789_ACEOF 2790if ac_fn_c_try_compile "$LINENO"; then : 2791 ac_hi=$ac_mid; break 2792else 2793 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2794 if test $ac_lo -le $ac_mid; then 2795 ac_lo= ac_hi= 2796 break 2797 fi 2798 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2799fi 2800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2801 done 2802else 2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2804/* end confdefs.h. */ 2805$4 2806int 2807main () 2808{ 2809static int test_array [1 - 2 * !(($2) < 0)]; 2810test_array [0] = 0; 2811return test_array [0]; 2812 2813 ; 2814 return 0; 2815} 2816_ACEOF 2817if ac_fn_c_try_compile "$LINENO"; then : 2818 ac_hi=-1 ac_mid=-1 2819 while :; do 2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2821/* end confdefs.h. */ 2822$4 2823int 2824main () 2825{ 2826static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2827test_array [0] = 0; 2828return test_array [0]; 2829 2830 ; 2831 return 0; 2832} 2833_ACEOF 2834if ac_fn_c_try_compile "$LINENO"; then : 2835 ac_lo=$ac_mid; break 2836else 2837 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2838 if test $ac_mid -le $ac_hi; then 2839 ac_lo= ac_hi= 2840 break 2841 fi 2842 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2843fi 2844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2845 done 2846else 2847 ac_lo= ac_hi= 2848fi 2849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2850fi 2851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2852# Binary search between lo and hi bounds. 2853while test "x$ac_lo" != "x$ac_hi"; do 2854 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2856/* end confdefs.h. */ 2857$4 2858int 2859main () 2860{ 2861static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2862test_array [0] = 0; 2863return test_array [0]; 2864 2865 ; 2866 return 0; 2867} 2868_ACEOF 2869if ac_fn_c_try_compile "$LINENO"; then : 2870 ac_hi=$ac_mid 2871else 2872 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2873fi 2874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2875done 2876case $ac_lo in #(( 2877?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2878'') ac_retval=1 ;; 2879esac 2880 else 2881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2882/* end confdefs.h. */ 2883$4 2884static long int longval () { return $2; } 2885static unsigned long int ulongval () { return $2; } 2886#include <stdio.h> 2887#include <stdlib.h> 2888int 2889main () 2890{ 2891 2892 FILE *f = fopen ("conftest.val", "w"); 2893 if (! f) 2894 return 1; 2895 if (($2) < 0) 2896 { 2897 long int i = longval (); 2898 if (i != ($2)) 2899 return 1; 2900 fprintf (f, "%ld", i); 2901 } 2902 else 2903 { 2904 unsigned long int i = ulongval (); 2905 if (i != ($2)) 2906 return 1; 2907 fprintf (f, "%lu", i); 2908 } 2909 /* Do not output a trailing newline, as this causes \r\n confusion 2910 on some platforms. */ 2911 return ferror (f) || fclose (f) != 0; 2912 2913 ; 2914 return 0; 2915} 2916_ACEOF 2917if ac_fn_c_try_run "$LINENO"; then : 2918 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2919else 2920 ac_retval=1 2921fi 2922rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2923 conftest.$ac_objext conftest.beam conftest.$ac_ext 2924rm -f conftest.val 2925 2926 fi 2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2928 as_fn_set_status $ac_retval 2929 2930} # ac_fn_c_compute_int 2931 2932# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2933# --------------------------------------------- 2934# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2935# accordingly. 2936ac_fn_c_check_decl () 2937{ 2938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2939 as_decl_name=`echo $2|sed 's/ *(.*//'` 2940 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2942$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2943if eval \${$3+:} false; then : 2944 $as_echo_n "(cached) " >&6 2945else 2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2947/* end confdefs.h. */ 2948$4 2949int 2950main () 2951{ 2952#ifndef $as_decl_name 2953#ifdef __cplusplus 2954 (void) $as_decl_use; 2955#else 2956 (void) $as_decl_name; 2957#endif 2958#endif 2959 2960 ; 2961 return 0; 2962} 2963_ACEOF 2964if ac_fn_c_try_compile "$LINENO"; then : 2965 eval "$3=yes" 2966else 2967 eval "$3=no" 2968fi 2969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2970fi 2971eval ac_res=\$$3 2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2973$as_echo "$ac_res" >&6; } 2974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2975 2976} # ac_fn_c_check_decl 2977cat >config.log <<_ACEOF 2978This file contains any messages produced by compilers while 2979running configure, to aid debugging if configure makes a mistake. 2980 2981It was created by Web2C $as_me 2015, which was 2982generated by GNU Autoconf 2.69. Invocation command line was 2983 2984 $ $0 $@ 2985 2986_ACEOF 2987exec 5>>config.log 2988{ 2989cat <<_ASUNAME 2990## --------- ## 2991## Platform. ## 2992## --------- ## 2993 2994hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2995uname -m = `(uname -m) 2>/dev/null || echo unknown` 2996uname -r = `(uname -r) 2>/dev/null || echo unknown` 2997uname -s = `(uname -s) 2>/dev/null || echo unknown` 2998uname -v = `(uname -v) 2>/dev/null || echo unknown` 2999 3000/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 3001/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 3002 3003/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 3004/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 3005/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 3006/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 3007/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 3008/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 3009/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 3010 3011_ASUNAME 3012 3013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3014for as_dir in $PATH 3015do 3016 IFS=$as_save_IFS 3017 test -z "$as_dir" && as_dir=. 3018 $as_echo "PATH: $as_dir" 3019 done 3020IFS=$as_save_IFS 3021 3022} >&5 3023 3024cat >&5 <<_ACEOF 3025 3026 3027## ----------- ## 3028## Core tests. ## 3029## ----------- ## 3030 3031_ACEOF 3032 3033 3034# Keep a trace of the command line. 3035# Strip out --no-create and --no-recursion so they do not pile up. 3036# Strip out --silent because we don't want to record it for future runs. 3037# Also quote any args containing shell meta-characters. 3038# Make two passes to allow for proper duplicate-argument suppression. 3039ac_configure_args= 3040ac_configure_args0= 3041ac_configure_args1= 3042ac_must_keep_next=false 3043for ac_pass in 1 2 3044do 3045 for ac_arg 3046 do 3047 case $ac_arg in 3048 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 3049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3050 | -silent | --silent | --silen | --sile | --sil) 3051 continue ;; 3052 *\'*) 3053 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 3054 esac 3055 case $ac_pass in 3056 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 3057 2) 3058 as_fn_append ac_configure_args1 " '$ac_arg'" 3059 if test $ac_must_keep_next = true; then 3060 ac_must_keep_next=false # Got value, back to normal. 3061 else 3062 case $ac_arg in 3063 *=* | --config-cache | -C | -disable-* | --disable-* \ 3064 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 3065 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 3066 | -with-* | --with-* | -without-* | --without-* | --x) 3067 case "$ac_configure_args0 " in 3068 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 3069 esac 3070 ;; 3071 -* ) ac_must_keep_next=true ;; 3072 esac 3073 fi 3074 as_fn_append ac_configure_args " '$ac_arg'" 3075 ;; 3076 esac 3077 done 3078done 3079{ ac_configure_args0=; unset ac_configure_args0;} 3080{ ac_configure_args1=; unset ac_configure_args1;} 3081 3082# When interrupted or exit'd, cleanup temporary files, and complete 3083# config.log. We remove comments because anyway the quotes in there 3084# would cause problems or look ugly. 3085# WARNING: Use '\'' to represent an apostrophe within the trap. 3086# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 3087trap 'exit_status=$? 3088 # Save into config.log some information that might help in debugging. 3089 { 3090 echo 3091 3092 $as_echo "## ---------------- ## 3093## Cache variables. ## 3094## ---------------- ##" 3095 echo 3096 # The following way of writing the cache mishandles newlines in values, 3097( 3098 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 3099 eval ac_val=\$$ac_var 3100 case $ac_val in #( 3101 *${as_nl}*) 3102 case $ac_var in #( 3103 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3104$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3105 esac 3106 case $ac_var in #( 3107 _ | IFS | as_nl) ;; #( 3108 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3109 *) { eval $ac_var=; unset $ac_var;} ;; 3110 esac ;; 3111 esac 3112 done 3113 (set) 2>&1 | 3114 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 3115 *${as_nl}ac_space=\ *) 3116 sed -n \ 3117 "s/'\''/'\''\\\\'\'''\''/g; 3118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 3119 ;; #( 3120 *) 3121 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3122 ;; 3123 esac | 3124 sort 3125) 3126 echo 3127 3128 $as_echo "## ----------------- ## 3129## Output variables. ## 3130## ----------------- ##" 3131 echo 3132 for ac_var in $ac_subst_vars 3133 do 3134 eval ac_val=\$$ac_var 3135 case $ac_val in 3136 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 3137 esac 3138 $as_echo "$ac_var='\''$ac_val'\''" 3139 done | sort 3140 echo 3141 3142 if test -n "$ac_subst_files"; then 3143 $as_echo "## ------------------- ## 3144## File substitutions. ## 3145## ------------------- ##" 3146 echo 3147 for ac_var in $ac_subst_files 3148 do 3149 eval ac_val=\$$ac_var 3150 case $ac_val in 3151 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 3152 esac 3153 $as_echo "$ac_var='\''$ac_val'\''" 3154 done | sort 3155 echo 3156 fi 3157 3158 if test -s confdefs.h; then 3159 $as_echo "## ----------- ## 3160## confdefs.h. ## 3161## ----------- ##" 3162 echo 3163 cat confdefs.h 3164 echo 3165 fi 3166 test "$ac_signal" != 0 && 3167 $as_echo "$as_me: caught signal $ac_signal" 3168 $as_echo "$as_me: exit $exit_status" 3169 } >&5 3170 rm -f core *.core core.conftest.* && 3171 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 3172 exit $exit_status 3173' 0 3174for ac_signal in 1 2 13 15; do 3175 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 3176done 3177ac_signal=0 3178 3179# confdefs.h avoids OS command line length limits that DEFS can exceed. 3180rm -f -r conftest* confdefs.h 3181 3182$as_echo "/* confdefs.h */" > confdefs.h 3183 3184# Predefined preprocessor variables. 3185 3186cat >>confdefs.h <<_ACEOF 3187#define PACKAGE_NAME "$PACKAGE_NAME" 3188_ACEOF 3189 3190cat >>confdefs.h <<_ACEOF 3191#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 3192_ACEOF 3193 3194cat >>confdefs.h <<_ACEOF 3195#define PACKAGE_VERSION "$PACKAGE_VERSION" 3196_ACEOF 3197 3198cat >>confdefs.h <<_ACEOF 3199#define PACKAGE_STRING "$PACKAGE_STRING" 3200_ACEOF 3201 3202cat >>confdefs.h <<_ACEOF 3203#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 3204_ACEOF 3205 3206cat >>confdefs.h <<_ACEOF 3207#define PACKAGE_URL "$PACKAGE_URL" 3208_ACEOF 3209 3210 3211# Let the site file select an alternate cache file if it wants to. 3212# Prefer an explicitly selected file to automatically selected ones. 3213ac_site_file1=NONE 3214ac_site_file2=NONE 3215if test -n "$CONFIG_SITE"; then 3216 # We do not want a PATH search for config.site. 3217 case $CONFIG_SITE in #(( 3218 -*) ac_site_file1=./$CONFIG_SITE;; 3219 */*) ac_site_file1=$CONFIG_SITE;; 3220 *) ac_site_file1=./$CONFIG_SITE;; 3221 esac 3222elif test "x$prefix" != xNONE; then 3223 ac_site_file1=$prefix/share/config.site 3224 ac_site_file2=$prefix/etc/config.site 3225else 3226 ac_site_file1=$ac_default_prefix/share/config.site 3227 ac_site_file2=$ac_default_prefix/etc/config.site 3228fi 3229for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3230do 3231 test "x$ac_site_file" = xNONE && continue 3232 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3234$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3235 sed 's/^/| /' "$ac_site_file" >&5 3236 . "$ac_site_file" \ 3237 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3238$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3239as_fn_error $? "failed to load site script $ac_site_file 3240See \`config.log' for more details" "$LINENO" 5; } 3241 fi 3242done 3243 3244if test -r "$cache_file"; then 3245 # Some versions of bash will fail to source /dev/null (special files 3246 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3247 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3248 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3249$as_echo "$as_me: loading cache $cache_file" >&6;} 3250 case $cache_file in 3251 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3252 *) . "./$cache_file";; 3253 esac 3254 fi 3255else 3256 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3257$as_echo "$as_me: creating cache $cache_file" >&6;} 3258 >$cache_file 3259fi 3260 3261# Check that the precious variables saved in the cache have kept the same 3262# value. 3263ac_cache_corrupted=false 3264for ac_var in $ac_precious_vars; do 3265 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3266 eval ac_new_set=\$ac_env_${ac_var}_set 3267 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3268 eval ac_new_val=\$ac_env_${ac_var}_value 3269 case $ac_old_set,$ac_new_set in 3270 set,) 3271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3272$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3273 ac_cache_corrupted=: ;; 3274 ,set) 3275 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3276$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3277 ac_cache_corrupted=: ;; 3278 ,);; 3279 *) 3280 if test "x$ac_old_val" != "x$ac_new_val"; then 3281 # differences in whitespace do not lead to failure. 3282 ac_old_val_w=`echo x $ac_old_val` 3283 ac_new_val_w=`echo x $ac_new_val` 3284 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3286$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3287 ac_cache_corrupted=: 3288 else 3289 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3290$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3291 eval $ac_var=\$ac_old_val 3292 fi 3293 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3294$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3295 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3296$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3297 fi;; 3298 esac 3299 # Pass precious variables to config.status. 3300 if test "$ac_new_set" = set; then 3301 case $ac_new_val in 3302 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3303 *) ac_arg=$ac_var=$ac_new_val ;; 3304 esac 3305 case " $ac_configure_args " in 3306 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3307 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3308 esac 3309 fi 3310done 3311if $ac_cache_corrupted; then 3312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3315$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3316 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3317fi 3318## -------------------- ## 3319## Main body of script. ## 3320## -------------------- ## 3321 3322ac_ext=c 3323ac_cpp='$CPP $CPPFLAGS' 3324ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3325ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3326ac_compiler_gnu=$ac_cv_c_compiler_gnu 3327 3328 3329 3330 3331ac_aux_dir= 3332for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do 3333 if test -f "$ac_dir/install-sh"; then 3334 ac_aux_dir=$ac_dir 3335 ac_install_sh="$ac_aux_dir/install-sh -c" 3336 break 3337 elif test -f "$ac_dir/install.sh"; then 3338 ac_aux_dir=$ac_dir 3339 ac_install_sh="$ac_aux_dir/install.sh -c" 3340 break 3341 elif test -f "$ac_dir/shtool"; then 3342 ac_aux_dir=$ac_dir 3343 ac_install_sh="$ac_aux_dir/shtool install -c" 3344 break 3345 fi 3346done 3347if test -z "$ac_aux_dir"; then 3348 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5 3349fi 3350 3351# These three variables are undocumented and unsupported, 3352# and are intended to be withdrawn in a future Autoconf release. 3353# They can cause serious problems if a builder's source tree is in a directory 3354# whose full name contains unusual characters. 3355ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3356ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3357ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3358 3359 3360 3361 3362WEB2CVERSION=2015 3363 3364 3365am__api_version='1.15' 3366 3367# Find a good install program. We prefer a C program (faster), 3368# so one script is as good as another. But avoid the broken or 3369# incompatible versions: 3370# SysV /etc/install, /usr/sbin/install 3371# SunOS /usr/etc/install 3372# IRIX /sbin/install 3373# AIX /bin/install 3374# AmigaOS /C/install, which installs bootblocks on floppy discs 3375# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3376# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3377# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3378# OS/2's system install, which has a completely different semantic 3379# ./install, which can be erroneously created by make from ./install.sh. 3380# Reject install programs that cannot install multiple files. 3381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3382$as_echo_n "checking for a BSD-compatible install... " >&6; } 3383if test -z "$INSTALL"; then 3384if ${ac_cv_path_install+:} false; then : 3385 $as_echo_n "(cached) " >&6 3386else 3387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3388for as_dir in $PATH 3389do 3390 IFS=$as_save_IFS 3391 test -z "$as_dir" && as_dir=. 3392 # Account for people who put trailing slashes in PATH elements. 3393case $as_dir/ in #(( 3394 ./ | .// | /[cC]/* | \ 3395 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3396 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3397 /usr/ucb/* ) ;; 3398 *) 3399 # OSF1 and SCO ODT 3.0 have their own names for install. 3400 # Don't use installbsd from OSF since it installs stuff as root 3401 # by default. 3402 for ac_prog in ginstall scoinst install; do 3403 for ac_exec_ext in '' $ac_executable_extensions; do 3404 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3405 if test $ac_prog = install && 3406 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3407 # AIX install. It has an incompatible calling convention. 3408 : 3409 elif test $ac_prog = install && 3410 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3411 # program-specific install script used by HP pwplus--don't use. 3412 : 3413 else 3414 rm -rf conftest.one conftest.two conftest.dir 3415 echo one > conftest.one 3416 echo two > conftest.two 3417 mkdir conftest.dir 3418 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3419 test -s conftest.one && test -s conftest.two && 3420 test -s conftest.dir/conftest.one && 3421 test -s conftest.dir/conftest.two 3422 then 3423 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3424 break 3 3425 fi 3426 fi 3427 fi 3428 done 3429 done 3430 ;; 3431esac 3432 3433 done 3434IFS=$as_save_IFS 3435 3436rm -rf conftest.one conftest.two conftest.dir 3437 3438fi 3439 if test "${ac_cv_path_install+set}" = set; then 3440 INSTALL=$ac_cv_path_install 3441 else 3442 # As a last resort, use the slow shell script. Don't cache a 3443 # value for INSTALL within a source directory, because that will 3444 # break other packages using the cache if that directory is 3445 # removed, or if the value is a relative name. 3446 INSTALL=$ac_install_sh 3447 fi 3448fi 3449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3450$as_echo "$INSTALL" >&6; } 3451 3452# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3453# It thinks the first close brace ends the variable substitution. 3454test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3455 3456test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3457 3458test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3459 3460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3461$as_echo_n "checking whether build environment is sane... " >&6; } 3462# Reject unsafe characters in $srcdir or the absolute working directory 3463# name. Accept space and tab only in the latter. 3464am_lf=' 3465' 3466case `pwd` in 3467 *[\\\"\#\$\&\'\`$am_lf]*) 3468 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3469esac 3470case $srcdir in 3471 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3472 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3473esac 3474 3475# Do 'set' in a subshell so we don't clobber the current shell's 3476# arguments. Must try -L first in case configure is actually a 3477# symlink; some systems play weird games with the mod time of symlinks 3478# (eg FreeBSD returns the mod time of the symlink's containing 3479# directory). 3480if ( 3481 am_has_slept=no 3482 for am_try in 1 2; do 3483 echo "timestamp, slept: $am_has_slept" > conftest.file 3484 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3485 if test "$*" = "X"; then 3486 # -L didn't work. 3487 set X `ls -t "$srcdir/configure" conftest.file` 3488 fi 3489 if test "$*" != "X $srcdir/configure conftest.file" \ 3490 && test "$*" != "X conftest.file $srcdir/configure"; then 3491 3492 # If neither matched, then we have a broken ls. This can happen 3493 # if, for instance, CONFIG_SHELL is bash and it inherits a 3494 # broken ls alias from the environment. This has actually 3495 # happened. Such a system could not be considered "sane". 3496 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3497 alias in your environment" "$LINENO" 5 3498 fi 3499 if test "$2" = conftest.file || test $am_try -eq 2; then 3500 break 3501 fi 3502 # Just in case. 3503 sleep 1 3504 am_has_slept=yes 3505 done 3506 test "$2" = conftest.file 3507 ) 3508then 3509 # Ok. 3510 : 3511else 3512 as_fn_error $? "newly created file is older than distributed files! 3513Check your system clock" "$LINENO" 5 3514fi 3515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3516$as_echo "yes" >&6; } 3517# If we didn't sleep, we still need to ensure time stamps of config.status and 3518# generated files are strictly newer. 3519am_sleep_pid= 3520if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3521 ( sleep 1 ) & 3522 am_sleep_pid=$! 3523fi 3524 3525rm -f conftest.file 3526 3527test "$program_prefix" != NONE && 3528 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3529# Use a double $ so make ignores it. 3530test "$program_suffix" != NONE && 3531 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3532# Double any \ or $. 3533# By default was `s,x,x', remove it if useless. 3534ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3535program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3536 3537# Expand $ac_aux_dir to an absolute path. 3538am_aux_dir=`cd "$ac_aux_dir" && pwd` 3539 3540if test x"${MISSING+set}" != xset; then 3541 case $am_aux_dir in 3542 *\ * | *\ *) 3543 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3544 *) 3545 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3546 esac 3547fi 3548# Use eval to expand $SHELL 3549if eval "$MISSING --is-lightweight"; then 3550 am_missing_run="$MISSING " 3551else 3552 am_missing_run= 3553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3554$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3555fi 3556 3557if test x"${install_sh+set}" != xset; then 3558 case $am_aux_dir in 3559 *\ * | *\ *) 3560 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3561 *) 3562 install_sh="\${SHELL} $am_aux_dir/install-sh" 3563 esac 3564fi 3565 3566# Installed binaries are usually stripped using 'strip' when the user 3567# run "make install-strip". However 'strip' might not be the right 3568# tool to use in cross-compilation environments, therefore Automake 3569# will honor the 'STRIP' environment variable to overrule this program. 3570if test "$cross_compiling" != no; then 3571 if test -n "$ac_tool_prefix"; then 3572 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3573set dummy ${ac_tool_prefix}strip; ac_word=$2 3574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3575$as_echo_n "checking for $ac_word... " >&6; } 3576if ${ac_cv_prog_STRIP+:} false; then : 3577 $as_echo_n "(cached) " >&6 3578else 3579 if test -n "$STRIP"; then 3580 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3581else 3582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3583for as_dir in $PATH 3584do 3585 IFS=$as_save_IFS 3586 test -z "$as_dir" && as_dir=. 3587 for ac_exec_ext in '' $ac_executable_extensions; do 3588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3589 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3591 break 2 3592 fi 3593done 3594 done 3595IFS=$as_save_IFS 3596 3597fi 3598fi 3599STRIP=$ac_cv_prog_STRIP 3600if test -n "$STRIP"; then 3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3602$as_echo "$STRIP" >&6; } 3603else 3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3605$as_echo "no" >&6; } 3606fi 3607 3608 3609fi 3610if test -z "$ac_cv_prog_STRIP"; then 3611 ac_ct_STRIP=$STRIP 3612 # Extract the first word of "strip", so it can be a program name with args. 3613set dummy strip; ac_word=$2 3614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3615$as_echo_n "checking for $ac_word... " >&6; } 3616if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3617 $as_echo_n "(cached) " >&6 3618else 3619 if test -n "$ac_ct_STRIP"; then 3620 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3621else 3622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3623for as_dir in $PATH 3624do 3625 IFS=$as_save_IFS 3626 test -z "$as_dir" && as_dir=. 3627 for ac_exec_ext in '' $ac_executable_extensions; do 3628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3629 ac_cv_prog_ac_ct_STRIP="strip" 3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3631 break 2 3632 fi 3633done 3634 done 3635IFS=$as_save_IFS 3636 3637fi 3638fi 3639ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3640if test -n "$ac_ct_STRIP"; then 3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3642$as_echo "$ac_ct_STRIP" >&6; } 3643else 3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3645$as_echo "no" >&6; } 3646fi 3647 3648 if test "x$ac_ct_STRIP" = x; then 3649 STRIP=":" 3650 else 3651 case $cross_compiling:$ac_tool_warned in 3652yes:) 3653{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3654$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3655ac_tool_warned=yes ;; 3656esac 3657 STRIP=$ac_ct_STRIP 3658 fi 3659else 3660 STRIP="$ac_cv_prog_STRIP" 3661fi 3662 3663fi 3664INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3665 3666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3667$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3668if test -z "$MKDIR_P"; then 3669 if ${ac_cv_path_mkdir+:} false; then : 3670 $as_echo_n "(cached) " >&6 3671else 3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3673for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3674do 3675 IFS=$as_save_IFS 3676 test -z "$as_dir" && as_dir=. 3677 for ac_prog in mkdir gmkdir; do 3678 for ac_exec_ext in '' $ac_executable_extensions; do 3679 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3680 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3681 'mkdir (GNU coreutils) '* | \ 3682 'mkdir (coreutils) '* | \ 3683 'mkdir (fileutils) '4.1*) 3684 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3685 break 3;; 3686 esac 3687 done 3688 done 3689 done 3690IFS=$as_save_IFS 3691 3692fi 3693 3694 test -d ./--version && rmdir ./--version 3695 if test "${ac_cv_path_mkdir+set}" = set; then 3696 MKDIR_P="$ac_cv_path_mkdir -p" 3697 else 3698 # As a last resort, use the slow shell script. Don't cache a 3699 # value for MKDIR_P within a source directory, because that will 3700 # break other packages using the cache if that directory is 3701 # removed, or if the value is a relative name. 3702 MKDIR_P="$ac_install_sh -d" 3703 fi 3704fi 3705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3706$as_echo "$MKDIR_P" >&6; } 3707 3708for ac_prog in gawk mawk nawk awk 3709do 3710 # Extract the first word of "$ac_prog", so it can be a program name with args. 3711set dummy $ac_prog; ac_word=$2 3712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3713$as_echo_n "checking for $ac_word... " >&6; } 3714if ${ac_cv_prog_AWK+:} false; then : 3715 $as_echo_n "(cached) " >&6 3716else 3717 if test -n "$AWK"; then 3718 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3719else 3720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3721for as_dir in $PATH 3722do 3723 IFS=$as_save_IFS 3724 test -z "$as_dir" && as_dir=. 3725 for ac_exec_ext in '' $ac_executable_extensions; do 3726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3727 ac_cv_prog_AWK="$ac_prog" 3728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3729 break 2 3730 fi 3731done 3732 done 3733IFS=$as_save_IFS 3734 3735fi 3736fi 3737AWK=$ac_cv_prog_AWK 3738if test -n "$AWK"; then 3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3740$as_echo "$AWK" >&6; } 3741else 3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3743$as_echo "no" >&6; } 3744fi 3745 3746 3747 test -n "$AWK" && break 3748done 3749 3750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3751$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3752set x ${MAKE-make} 3753ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3754if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3755 $as_echo_n "(cached) " >&6 3756else 3757 cat >conftest.make <<\_ACEOF 3758SHELL = /bin/sh 3759all: 3760 @echo '@@@%%%=$(MAKE)=@@@%%%' 3761_ACEOF 3762# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3763case `${MAKE-make} -f conftest.make 2>/dev/null` in 3764 *@@@%%%=?*=@@@%%%*) 3765 eval ac_cv_prog_make_${ac_make}_set=yes;; 3766 *) 3767 eval ac_cv_prog_make_${ac_make}_set=no;; 3768esac 3769rm -f conftest.make 3770fi 3771if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3773$as_echo "yes" >&6; } 3774 SET_MAKE= 3775else 3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3777$as_echo "no" >&6; } 3778 SET_MAKE="MAKE=${MAKE-make}" 3779fi 3780 3781rm -rf .tst 2>/dev/null 3782mkdir .tst 2>/dev/null 3783if test -d .tst; then 3784 am__leading_dot=. 3785else 3786 am__leading_dot=_ 3787fi 3788rmdir .tst 2>/dev/null 3789 3790# Check whether --enable-silent-rules was given. 3791if test "${enable_silent_rules+set}" = set; then : 3792 enableval=$enable_silent_rules; 3793fi 3794 3795case $enable_silent_rules in # ((( 3796 yes) AM_DEFAULT_VERBOSITY=0;; 3797 no) AM_DEFAULT_VERBOSITY=1;; 3798 *) AM_DEFAULT_VERBOSITY=1;; 3799esac 3800am_make=${MAKE-make} 3801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3802$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3803if ${am_cv_make_support_nested_variables+:} false; then : 3804 $as_echo_n "(cached) " >&6 3805else 3806 if $as_echo 'TRUE=$(BAR$(V)) 3807BAR0=false 3808BAR1=true 3809V=1 3810am__doit: 3811 @$(TRUE) 3812.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3813 am_cv_make_support_nested_variables=yes 3814else 3815 am_cv_make_support_nested_variables=no 3816fi 3817fi 3818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3819$as_echo "$am_cv_make_support_nested_variables" >&6; } 3820if test $am_cv_make_support_nested_variables = yes; then 3821 AM_V='$(V)' 3822 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3823else 3824 AM_V=$AM_DEFAULT_VERBOSITY 3825 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3826fi 3827AM_BACKSLASH='\' 3828 3829DEPDIR="${am__leading_dot}deps" 3830 3831ac_config_commands="$ac_config_commands depfiles" 3832 3833 3834am_make=${MAKE-make} 3835cat > confinc << 'END' 3836am__doit: 3837 @echo this is the am__doit target 3838.PHONY: am__doit 3839END 3840# If we don't find an include directive, just comment out the code. 3841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3842$as_echo_n "checking for style of include used by $am_make... " >&6; } 3843am__include="#" 3844am__quote= 3845_am_result=none 3846# First try GNU make style include. 3847echo "include confinc" > confmf 3848# Ignore all kinds of additional output from 'make'. 3849case `$am_make -s -f confmf 2> /dev/null` in #( 3850*the\ am__doit\ target*) 3851 am__include=include 3852 am__quote= 3853 _am_result=GNU 3854 ;; 3855esac 3856# Now try BSD make style include. 3857if test "$am__include" = "#"; then 3858 echo '.include "confinc"' > confmf 3859 case `$am_make -s -f confmf 2> /dev/null` in #( 3860 *the\ am__doit\ target*) 3861 am__include=.include 3862 am__quote="\"" 3863 _am_result=BSD 3864 ;; 3865 esac 3866fi 3867 3868 3869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3870$as_echo "$_am_result" >&6; } 3871rm -f confinc confmf 3872 3873# Check whether --enable-dependency-tracking was given. 3874if test "${enable_dependency_tracking+set}" = set; then : 3875 enableval=$enable_dependency_tracking; 3876fi 3877 3878if test "x$enable_dependency_tracking" != xno; then 3879 am_depcomp="$ac_aux_dir/depcomp" 3880 AMDEPBACKSLASH='\' 3881 am__nodep='_no' 3882fi 3883 if test "x$enable_dependency_tracking" != xno; then 3884 AMDEP_TRUE= 3885 AMDEP_FALSE='#' 3886else 3887 AMDEP_TRUE='#' 3888 AMDEP_FALSE= 3889fi 3890 3891 3892ac_ext=c 3893ac_cpp='$CPP $CPPFLAGS' 3894ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3895ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3896ac_compiler_gnu=$ac_cv_c_compiler_gnu 3897if test -n "$ac_tool_prefix"; then 3898 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3899set dummy ${ac_tool_prefix}gcc; ac_word=$2 3900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3901$as_echo_n "checking for $ac_word... " >&6; } 3902if ${ac_cv_prog_CC+:} false; then : 3903 $as_echo_n "(cached) " >&6 3904else 3905 if test -n "$CC"; then 3906 ac_cv_prog_CC="$CC" # Let the user override the test. 3907else 3908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3909for as_dir in $PATH 3910do 3911 IFS=$as_save_IFS 3912 test -z "$as_dir" && as_dir=. 3913 for ac_exec_ext in '' $ac_executable_extensions; do 3914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3915 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3917 break 2 3918 fi 3919done 3920 done 3921IFS=$as_save_IFS 3922 3923fi 3924fi 3925CC=$ac_cv_prog_CC 3926if test -n "$CC"; then 3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3928$as_echo "$CC" >&6; } 3929else 3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3931$as_echo "no" >&6; } 3932fi 3933 3934 3935fi 3936if test -z "$ac_cv_prog_CC"; then 3937 ac_ct_CC=$CC 3938 # Extract the first word of "gcc", so it can be a program name with args. 3939set dummy gcc; ac_word=$2 3940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3941$as_echo_n "checking for $ac_word... " >&6; } 3942if ${ac_cv_prog_ac_ct_CC+:} false; then : 3943 $as_echo_n "(cached) " >&6 3944else 3945 if test -n "$ac_ct_CC"; then 3946 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3947else 3948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3949for as_dir in $PATH 3950do 3951 IFS=$as_save_IFS 3952 test -z "$as_dir" && as_dir=. 3953 for ac_exec_ext in '' $ac_executable_extensions; do 3954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3955 ac_cv_prog_ac_ct_CC="gcc" 3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3957 break 2 3958 fi 3959done 3960 done 3961IFS=$as_save_IFS 3962 3963fi 3964fi 3965ac_ct_CC=$ac_cv_prog_ac_ct_CC 3966if test -n "$ac_ct_CC"; then 3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3968$as_echo "$ac_ct_CC" >&6; } 3969else 3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3971$as_echo "no" >&6; } 3972fi 3973 3974 if test "x$ac_ct_CC" = x; then 3975 CC="" 3976 else 3977 case $cross_compiling:$ac_tool_warned in 3978yes:) 3979{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3980$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3981ac_tool_warned=yes ;; 3982esac 3983 CC=$ac_ct_CC 3984 fi 3985else 3986 CC="$ac_cv_prog_CC" 3987fi 3988 3989if test -z "$CC"; then 3990 if test -n "$ac_tool_prefix"; then 3991 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3992set dummy ${ac_tool_prefix}cc; ac_word=$2 3993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3994$as_echo_n "checking for $ac_word... " >&6; } 3995if ${ac_cv_prog_CC+:} false; then : 3996 $as_echo_n "(cached) " >&6 3997else 3998 if test -n "$CC"; then 3999 ac_cv_prog_CC="$CC" # Let the user override the test. 4000else 4001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4002for as_dir in $PATH 4003do 4004 IFS=$as_save_IFS 4005 test -z "$as_dir" && as_dir=. 4006 for ac_exec_ext in '' $ac_executable_extensions; do 4007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4008 ac_cv_prog_CC="${ac_tool_prefix}cc" 4009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4010 break 2 4011 fi 4012done 4013 done 4014IFS=$as_save_IFS 4015 4016fi 4017fi 4018CC=$ac_cv_prog_CC 4019if test -n "$CC"; then 4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4021$as_echo "$CC" >&6; } 4022else 4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4024$as_echo "no" >&6; } 4025fi 4026 4027 4028 fi 4029fi 4030if test -z "$CC"; then 4031 # Extract the first word of "cc", so it can be a program name with args. 4032set dummy cc; ac_word=$2 4033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4034$as_echo_n "checking for $ac_word... " >&6; } 4035if ${ac_cv_prog_CC+:} false; then : 4036 $as_echo_n "(cached) " >&6 4037else 4038 if test -n "$CC"; then 4039 ac_cv_prog_CC="$CC" # Let the user override the test. 4040else 4041 ac_prog_rejected=no 4042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4043for as_dir in $PATH 4044do 4045 IFS=$as_save_IFS 4046 test -z "$as_dir" && as_dir=. 4047 for ac_exec_ext in '' $ac_executable_extensions; do 4048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4049 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4050 ac_prog_rejected=yes 4051 continue 4052 fi 4053 ac_cv_prog_CC="cc" 4054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4055 break 2 4056 fi 4057done 4058 done 4059IFS=$as_save_IFS 4060 4061if test $ac_prog_rejected = yes; then 4062 # We found a bogon in the path, so make sure we never use it. 4063 set dummy $ac_cv_prog_CC 4064 shift 4065 if test $# != 0; then 4066 # We chose a different compiler from the bogus one. 4067 # However, it has the same basename, so the bogon will be chosen 4068 # first if we set CC to just the basename; use the full file name. 4069 shift 4070 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4071 fi 4072fi 4073fi 4074fi 4075CC=$ac_cv_prog_CC 4076if test -n "$CC"; then 4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4078$as_echo "$CC" >&6; } 4079else 4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4081$as_echo "no" >&6; } 4082fi 4083 4084 4085fi 4086if test -z "$CC"; then 4087 if test -n "$ac_tool_prefix"; then 4088 for ac_prog in cl.exe 4089 do 4090 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4091set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4093$as_echo_n "checking for $ac_word... " >&6; } 4094if ${ac_cv_prog_CC+:} false; then : 4095 $as_echo_n "(cached) " >&6 4096else 4097 if test -n "$CC"; then 4098 ac_cv_prog_CC="$CC" # Let the user override the test. 4099else 4100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4101for as_dir in $PATH 4102do 4103 IFS=$as_save_IFS 4104 test -z "$as_dir" && as_dir=. 4105 for ac_exec_ext in '' $ac_executable_extensions; do 4106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4107 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4109 break 2 4110 fi 4111done 4112 done 4113IFS=$as_save_IFS 4114 4115fi 4116fi 4117CC=$ac_cv_prog_CC 4118if test -n "$CC"; then 4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4120$as_echo "$CC" >&6; } 4121else 4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4123$as_echo "no" >&6; } 4124fi 4125 4126 4127 test -n "$CC" && break 4128 done 4129fi 4130if test -z "$CC"; then 4131 ac_ct_CC=$CC 4132 for ac_prog in cl.exe 4133do 4134 # Extract the first word of "$ac_prog", so it can be a program name with args. 4135set dummy $ac_prog; ac_word=$2 4136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4137$as_echo_n "checking for $ac_word... " >&6; } 4138if ${ac_cv_prog_ac_ct_CC+:} false; then : 4139 $as_echo_n "(cached) " >&6 4140else 4141 if test -n "$ac_ct_CC"; then 4142 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4143else 4144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4145for as_dir in $PATH 4146do 4147 IFS=$as_save_IFS 4148 test -z "$as_dir" && as_dir=. 4149 for ac_exec_ext in '' $ac_executable_extensions; do 4150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4151 ac_cv_prog_ac_ct_CC="$ac_prog" 4152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4153 break 2 4154 fi 4155done 4156 done 4157IFS=$as_save_IFS 4158 4159fi 4160fi 4161ac_ct_CC=$ac_cv_prog_ac_ct_CC 4162if test -n "$ac_ct_CC"; then 4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4164$as_echo "$ac_ct_CC" >&6; } 4165else 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4167$as_echo "no" >&6; } 4168fi 4169 4170 4171 test -n "$ac_ct_CC" && break 4172done 4173 4174 if test "x$ac_ct_CC" = x; then 4175 CC="" 4176 else 4177 case $cross_compiling:$ac_tool_warned in 4178yes:) 4179{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4180$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4181ac_tool_warned=yes ;; 4182esac 4183 CC=$ac_ct_CC 4184 fi 4185fi 4186 4187fi 4188 4189 4190test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4191$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4192as_fn_error $? "no acceptable C compiler found in \$PATH 4193See \`config.log' for more details" "$LINENO" 5; } 4194 4195# Provide some information about the compiler. 4196$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4197set X $ac_compile 4198ac_compiler=$2 4199for ac_option in --version -v -V -qversion; do 4200 { { ac_try="$ac_compiler $ac_option >&5" 4201case "(($ac_try" in 4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4203 *) ac_try_echo=$ac_try;; 4204esac 4205eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4206$as_echo "$ac_try_echo"; } >&5 4207 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4208 ac_status=$? 4209 if test -s conftest.err; then 4210 sed '10a\ 4211... rest of stderr output deleted ... 4212 10q' conftest.err >conftest.er1 4213 cat conftest.er1 >&5 4214 fi 4215 rm -f conftest.er1 conftest.err 4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4217 test $ac_status = 0; } 4218done 4219 4220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4221/* end confdefs.h. */ 4222 4223int 4224main () 4225{ 4226 4227 ; 4228 return 0; 4229} 4230_ACEOF 4231ac_clean_files_save=$ac_clean_files 4232ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4233# Try to create an executable without -o first, disregard a.out. 4234# It will help us diagnose broken compilers, and finding out an intuition 4235# of exeext. 4236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4237$as_echo_n "checking whether the C compiler works... " >&6; } 4238ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4239 4240# The possible output files: 4241ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4242 4243ac_rmfiles= 4244for ac_file in $ac_files 4245do 4246 case $ac_file in 4247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4248 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4249 esac 4250done 4251rm -f $ac_rmfiles 4252 4253if { { ac_try="$ac_link_default" 4254case "(($ac_try" in 4255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4256 *) ac_try_echo=$ac_try;; 4257esac 4258eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4259$as_echo "$ac_try_echo"; } >&5 4260 (eval "$ac_link_default") 2>&5 4261 ac_status=$? 4262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4263 test $ac_status = 0; }; then : 4264 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4265# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4266# in a Makefile. We should not override ac_cv_exeext if it was cached, 4267# so that the user can short-circuit this test for compilers unknown to 4268# Autoconf. 4269for ac_file in $ac_files '' 4270do 4271 test -f "$ac_file" || continue 4272 case $ac_file in 4273 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4274 ;; 4275 [ab].out ) 4276 # We found the default executable, but exeext='' is most 4277 # certainly right. 4278 break;; 4279 *.* ) 4280 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4281 then :; else 4282 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4283 fi 4284 # We set ac_cv_exeext here because the later test for it is not 4285 # safe: cross compilers may not add the suffix if given an `-o' 4286 # argument, so we may need to know it at that point already. 4287 # Even if this section looks crufty: it has the advantage of 4288 # actually working. 4289 break;; 4290 * ) 4291 break;; 4292 esac 4293done 4294test "$ac_cv_exeext" = no && ac_cv_exeext= 4295 4296else 4297 ac_file='' 4298fi 4299if test -z "$ac_file"; then : 4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4301$as_echo "no" >&6; } 4302$as_echo "$as_me: failed program was:" >&5 4303sed 's/^/| /' conftest.$ac_ext >&5 4304 4305{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4306$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4307as_fn_error 77 "C compiler cannot create executables 4308See \`config.log' for more details" "$LINENO" 5; } 4309else 4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4311$as_echo "yes" >&6; } 4312fi 4313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4314$as_echo_n "checking for C compiler default output file name... " >&6; } 4315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4316$as_echo "$ac_file" >&6; } 4317ac_exeext=$ac_cv_exeext 4318 4319rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4320ac_clean_files=$ac_clean_files_save 4321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4322$as_echo_n "checking for suffix of executables... " >&6; } 4323if { { ac_try="$ac_link" 4324case "(($ac_try" in 4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4326 *) ac_try_echo=$ac_try;; 4327esac 4328eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4329$as_echo "$ac_try_echo"; } >&5 4330 (eval "$ac_link") 2>&5 4331 ac_status=$? 4332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4333 test $ac_status = 0; }; then : 4334 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4335# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4336# work properly (i.e., refer to `conftest.exe'), while it won't with 4337# `rm'. 4338for ac_file in conftest.exe conftest conftest.*; do 4339 test -f "$ac_file" || continue 4340 case $ac_file in 4341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4342 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4343 break;; 4344 * ) break;; 4345 esac 4346done 4347else 4348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4350as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4351See \`config.log' for more details" "$LINENO" 5; } 4352fi 4353rm -f conftest conftest$ac_cv_exeext 4354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4355$as_echo "$ac_cv_exeext" >&6; } 4356 4357rm -f conftest.$ac_ext 4358EXEEXT=$ac_cv_exeext 4359ac_exeext=$EXEEXT 4360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4361/* end confdefs.h. */ 4362#include <stdio.h> 4363int 4364main () 4365{ 4366FILE *f = fopen ("conftest.out", "w"); 4367 return ferror (f) || fclose (f) != 0; 4368 4369 ; 4370 return 0; 4371} 4372_ACEOF 4373ac_clean_files="$ac_clean_files conftest.out" 4374# Check that the compiler produces executables we can run. If not, either 4375# the compiler is broken, or we cross compile. 4376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4377$as_echo_n "checking whether we are cross compiling... " >&6; } 4378if test "$cross_compiling" != yes; then 4379 { { ac_try="$ac_link" 4380case "(($ac_try" in 4381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4382 *) ac_try_echo=$ac_try;; 4383esac 4384eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4385$as_echo "$ac_try_echo"; } >&5 4386 (eval "$ac_link") 2>&5 4387 ac_status=$? 4388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4389 test $ac_status = 0; } 4390 if { ac_try='./conftest$ac_cv_exeext' 4391 { { case "(($ac_try" in 4392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4393 *) ac_try_echo=$ac_try;; 4394esac 4395eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4396$as_echo "$ac_try_echo"; } >&5 4397 (eval "$ac_try") 2>&5 4398 ac_status=$? 4399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4400 test $ac_status = 0; }; }; then 4401 cross_compiling=no 4402 else 4403 if test "$cross_compiling" = maybe; then 4404 cross_compiling=yes 4405 else 4406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4407$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4408as_fn_error $? "cannot run C compiled programs. 4409If you meant to cross compile, use \`--host'. 4410See \`config.log' for more details" "$LINENO" 5; } 4411 fi 4412 fi 4413fi 4414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4415$as_echo "$cross_compiling" >&6; } 4416 4417rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4418ac_clean_files=$ac_clean_files_save 4419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4420$as_echo_n "checking for suffix of object files... " >&6; } 4421if ${ac_cv_objext+:} false; then : 4422 $as_echo_n "(cached) " >&6 4423else 4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4425/* end confdefs.h. */ 4426 4427int 4428main () 4429{ 4430 4431 ; 4432 return 0; 4433} 4434_ACEOF 4435rm -f conftest.o conftest.obj 4436if { { ac_try="$ac_compile" 4437case "(($ac_try" in 4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4439 *) ac_try_echo=$ac_try;; 4440esac 4441eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4442$as_echo "$ac_try_echo"; } >&5 4443 (eval "$ac_compile") 2>&5 4444 ac_status=$? 4445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4446 test $ac_status = 0; }; then : 4447 for ac_file in conftest.o conftest.obj conftest.*; do 4448 test -f "$ac_file" || continue; 4449 case $ac_file in 4450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4451 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4452 break;; 4453 esac 4454done 4455else 4456 $as_echo "$as_me: failed program was:" >&5 4457sed 's/^/| /' conftest.$ac_ext >&5 4458 4459{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4460$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4461as_fn_error $? "cannot compute suffix of object files: cannot compile 4462See \`config.log' for more details" "$LINENO" 5; } 4463fi 4464rm -f conftest.$ac_cv_objext conftest.$ac_ext 4465fi 4466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4467$as_echo "$ac_cv_objext" >&6; } 4468OBJEXT=$ac_cv_objext 4469ac_objext=$OBJEXT 4470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4471$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4472if ${ac_cv_c_compiler_gnu+:} false; then : 4473 $as_echo_n "(cached) " >&6 4474else 4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4476/* end confdefs.h. */ 4477 4478int 4479main () 4480{ 4481#ifndef __GNUC__ 4482 choke me 4483#endif 4484 4485 ; 4486 return 0; 4487} 4488_ACEOF 4489if ac_fn_c_try_compile "$LINENO"; then : 4490 ac_compiler_gnu=yes 4491else 4492 ac_compiler_gnu=no 4493fi 4494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4495ac_cv_c_compiler_gnu=$ac_compiler_gnu 4496 4497fi 4498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4499$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4500if test $ac_compiler_gnu = yes; then 4501 GCC=yes 4502else 4503 GCC= 4504fi 4505ac_test_CFLAGS=${CFLAGS+set} 4506ac_save_CFLAGS=$CFLAGS 4507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4508$as_echo_n "checking whether $CC accepts -g... " >&6; } 4509if ${ac_cv_prog_cc_g+:} false; then : 4510 $as_echo_n "(cached) " >&6 4511else 4512 ac_save_c_werror_flag=$ac_c_werror_flag 4513 ac_c_werror_flag=yes 4514 ac_cv_prog_cc_g=no 4515 CFLAGS="-g" 4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4517/* end confdefs.h. */ 4518 4519int 4520main () 4521{ 4522 4523 ; 4524 return 0; 4525} 4526_ACEOF 4527if ac_fn_c_try_compile "$LINENO"; then : 4528 ac_cv_prog_cc_g=yes 4529else 4530 CFLAGS="" 4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4532/* end confdefs.h. */ 4533 4534int 4535main () 4536{ 4537 4538 ; 4539 return 0; 4540} 4541_ACEOF 4542if ac_fn_c_try_compile "$LINENO"; then : 4543 4544else 4545 ac_c_werror_flag=$ac_save_c_werror_flag 4546 CFLAGS="-g" 4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4548/* end confdefs.h. */ 4549 4550int 4551main () 4552{ 4553 4554 ; 4555 return 0; 4556} 4557_ACEOF 4558if ac_fn_c_try_compile "$LINENO"; then : 4559 ac_cv_prog_cc_g=yes 4560fi 4561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4562fi 4563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4564fi 4565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4566 ac_c_werror_flag=$ac_save_c_werror_flag 4567fi 4568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4569$as_echo "$ac_cv_prog_cc_g" >&6; } 4570if test "$ac_test_CFLAGS" = set; then 4571 CFLAGS=$ac_save_CFLAGS 4572elif test $ac_cv_prog_cc_g = yes; then 4573 if test "$GCC" = yes; then 4574 CFLAGS="-g -O2" 4575 else 4576 CFLAGS="-g" 4577 fi 4578else 4579 if test "$GCC" = yes; then 4580 CFLAGS="-O2" 4581 else 4582 CFLAGS= 4583 fi 4584fi 4585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4586$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4587if ${ac_cv_prog_cc_c89+:} false; then : 4588 $as_echo_n "(cached) " >&6 4589else 4590 ac_cv_prog_cc_c89=no 4591ac_save_CC=$CC 4592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4593/* end confdefs.h. */ 4594#include <stdarg.h> 4595#include <stdio.h> 4596struct stat; 4597/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4598struct buf { int x; }; 4599FILE * (*rcsopen) (struct buf *, struct stat *, int); 4600static char *e (p, i) 4601 char **p; 4602 int i; 4603{ 4604 return p[i]; 4605} 4606static char *f (char * (*g) (char **, int), char **p, ...) 4607{ 4608 char *s; 4609 va_list v; 4610 va_start (v,p); 4611 s = g (p, va_arg (v,int)); 4612 va_end (v); 4613 return s; 4614} 4615 4616/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4617 function prototypes and stuff, but not '\xHH' hex character constants. 4618 These don't provoke an error unfortunately, instead are silently treated 4619 as 'x'. The following induces an error, until -std is added to get 4620 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4621 array size at least. It's necessary to write '\x00'==0 to get something 4622 that's true only with -std. */ 4623int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4624 4625/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4626 inside strings and character constants. */ 4627#define FOO(x) 'x' 4628int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4629 4630int test (int i, double x); 4631struct s1 {int (*f) (int a);}; 4632struct s2 {int (*f) (double a);}; 4633int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4634int argc; 4635char **argv; 4636int 4637main () 4638{ 4639return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4640 ; 4641 return 0; 4642} 4643_ACEOF 4644for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4645 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4646do 4647 CC="$ac_save_CC $ac_arg" 4648 if ac_fn_c_try_compile "$LINENO"; then : 4649 ac_cv_prog_cc_c89=$ac_arg 4650fi 4651rm -f core conftest.err conftest.$ac_objext 4652 test "x$ac_cv_prog_cc_c89" != "xno" && break 4653done 4654rm -f conftest.$ac_ext 4655CC=$ac_save_CC 4656 4657fi 4658# AC_CACHE_VAL 4659case "x$ac_cv_prog_cc_c89" in 4660 x) 4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4662$as_echo "none needed" >&6; } ;; 4663 xno) 4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4665$as_echo "unsupported" >&6; } ;; 4666 *) 4667 CC="$CC $ac_cv_prog_cc_c89" 4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4669$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4670esac 4671if test "x$ac_cv_prog_cc_c89" != xno; then : 4672 4673fi 4674 4675ac_ext=c 4676ac_cpp='$CPP $CPPFLAGS' 4677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4679ac_compiler_gnu=$ac_cv_c_compiler_gnu 4680 4681ac_ext=c 4682ac_cpp='$CPP $CPPFLAGS' 4683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4685ac_compiler_gnu=$ac_cv_c_compiler_gnu 4686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4687$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4688if ${am_cv_prog_cc_c_o+:} false; then : 4689 $as_echo_n "(cached) " >&6 4690else 4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4692/* end confdefs.h. */ 4693 4694int 4695main () 4696{ 4697 4698 ; 4699 return 0; 4700} 4701_ACEOF 4702 # Make sure it works both with $CC and with simple cc. 4703 # Following AC_PROG_CC_C_O, we do the test twice because some 4704 # compilers refuse to overwrite an existing .o file with -o, 4705 # though they will create one. 4706 am_cv_prog_cc_c_o=yes 4707 for am_i in 1 2; do 4708 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4709 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4710 ac_status=$? 4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4712 (exit $ac_status); } \ 4713 && test -f conftest2.$ac_objext; then 4714 : OK 4715 else 4716 am_cv_prog_cc_c_o=no 4717 break 4718 fi 4719 done 4720 rm -f core conftest* 4721 unset am_i 4722fi 4723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4724$as_echo "$am_cv_prog_cc_c_o" >&6; } 4725if test "$am_cv_prog_cc_c_o" != yes; then 4726 # Losing compiler, so override with the script. 4727 # FIXME: It is wrong to rewrite CC. 4728 # But if we don't then we get into trouble of one sort or another. 4729 # A longer-term fix would be to have automake use am__CC in this case, 4730 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4731 CC="$am_aux_dir/compile $CC" 4732fi 4733ac_ext=c 4734ac_cpp='$CPP $CPPFLAGS' 4735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4737ac_compiler_gnu=$ac_cv_c_compiler_gnu 4738 4739 4740depcc="$CC" am_compiler_list= 4741 4742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4743$as_echo_n "checking dependency style of $depcc... " >&6; } 4744if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4745 $as_echo_n "(cached) " >&6 4746else 4747 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4748 # We make a subdir and do the tests there. Otherwise we can end up 4749 # making bogus files that we don't know about and never remove. For 4750 # instance it was reported that on HP-UX the gcc test will end up 4751 # making a dummy file named 'D' -- because '-MD' means "put the output 4752 # in D". 4753 rm -rf conftest.dir 4754 mkdir conftest.dir 4755 # Copy depcomp to subdir because otherwise we won't find it if we're 4756 # using a relative directory. 4757 cp "$am_depcomp" conftest.dir 4758 cd conftest.dir 4759 # We will build objects and dependencies in a subdirectory because 4760 # it helps to detect inapplicable dependency modes. For instance 4761 # both Tru64's cc and ICC support -MD to output dependencies as a 4762 # side effect of compilation, but ICC will put the dependencies in 4763 # the current directory while Tru64 will put them in the object 4764 # directory. 4765 mkdir sub 4766 4767 am_cv_CC_dependencies_compiler_type=none 4768 if test "$am_compiler_list" = ""; then 4769 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4770 fi 4771 am__universal=false 4772 case " $depcc " in #( 4773 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4774 esac 4775 4776 for depmode in $am_compiler_list; do 4777 # Setup a source with many dependencies, because some compilers 4778 # like to wrap large dependency lists on column 80 (with \), and 4779 # we should not choose a depcomp mode which is confused by this. 4780 # 4781 # We need to recreate these files for each test, as the compiler may 4782 # overwrite some of them when testing with obscure command lines. 4783 # This happens at least with the AIX C compiler. 4784 : > sub/conftest.c 4785 for i in 1 2 3 4 5 6; do 4786 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4787 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4788 # Solaris 10 /bin/sh. 4789 echo '/* dummy */' > sub/conftst$i.h 4790 done 4791 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4792 4793 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4794 # mode. It turns out that the SunPro C++ compiler does not properly 4795 # handle '-M -o', and we need to detect this. Also, some Intel 4796 # versions had trouble with output in subdirs. 4797 am__obj=sub/conftest.${OBJEXT-o} 4798 am__minus_obj="-o $am__obj" 4799 case $depmode in 4800 gcc) 4801 # This depmode causes a compiler race in universal mode. 4802 test "$am__universal" = false || continue 4803 ;; 4804 nosideeffect) 4805 # After this tag, mechanisms are not by side-effect, so they'll 4806 # only be used when explicitly requested. 4807 if test "x$enable_dependency_tracking" = xyes; then 4808 continue 4809 else 4810 break 4811 fi 4812 ;; 4813 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4814 # This compiler won't grok '-c -o', but also, the minuso test has 4815 # not run yet. These depmodes are late enough in the game, and 4816 # so weak that their functioning should not be impacted. 4817 am__obj=conftest.${OBJEXT-o} 4818 am__minus_obj= 4819 ;; 4820 none) break ;; 4821 esac 4822 if depmode=$depmode \ 4823 source=sub/conftest.c object=$am__obj \ 4824 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4825 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4826 >/dev/null 2>conftest.err && 4827 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4828 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4829 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4830 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4831 # icc doesn't choke on unknown options, it will just issue warnings 4832 # or remarks (even with -Werror). So we grep stderr for any message 4833 # that says an option was ignored or not supported. 4834 # When given -MP, icc 7.0 and 7.1 complain thusly: 4835 # icc: Command line warning: ignoring option '-M'; no argument required 4836 # The diagnosis changed in icc 8.0: 4837 # icc: Command line remark: option '-MP' not supported 4838 if (grep 'ignoring option' conftest.err || 4839 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4840 am_cv_CC_dependencies_compiler_type=$depmode 4841 break 4842 fi 4843 fi 4844 done 4845 4846 cd .. 4847 rm -rf conftest.dir 4848else 4849 am_cv_CC_dependencies_compiler_type=none 4850fi 4851 4852fi 4853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4854$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4855CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4856 4857 if 4858 test "x$enable_dependency_tracking" != xno \ 4859 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4860 am__fastdepCC_TRUE= 4861 am__fastdepCC_FALSE='#' 4862else 4863 am__fastdepCC_TRUE='#' 4864 am__fastdepCC_FALSE= 4865fi 4866 4867 4868 4869# Check whether --enable-compiler-warnings was given. 4870if test "${enable_compiler_warnings+set}" = set; then : 4871 enableval=$enable_compiler_warnings; 4872fi 4873case $enable_compiler_warnings in #( 4874 no | min | yes | max | all) : 4875 ;; #( 4876 *) : 4877 if test "x$enable_maintainer_mode" = xyes; then : 4878 enable_compiler_warnings=yes 4879else 4880 enable_compiler_warnings=min 4881fi ;; 4882esac 4883 4884case `pwd` in 4885 *\ * | *\ *) 4886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4887$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4888esac 4889 4890 4891 4892macro_version='2.4.6' 4893macro_revision='2.4.6' 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907ltmain=$ac_aux_dir/ltmain.sh 4908 4909# Make sure we can run config.sub. 4910$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4911 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4912 4913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4914$as_echo_n "checking build system type... " >&6; } 4915if ${ac_cv_build+:} false; then : 4916 $as_echo_n "(cached) " >&6 4917else 4918 ac_build_alias=$build_alias 4919test "x$ac_build_alias" = x && 4920 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4921test "x$ac_build_alias" = x && 4922 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4923ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4924 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4925 4926fi 4927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4928$as_echo "$ac_cv_build" >&6; } 4929case $ac_cv_build in 4930*-*-*) ;; 4931*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4932esac 4933build=$ac_cv_build 4934ac_save_IFS=$IFS; IFS='-' 4935set x $ac_cv_build 4936shift 4937build_cpu=$1 4938build_vendor=$2 4939shift; shift 4940# Remember, the first character of IFS is used to create $*, 4941# except with old shells: 4942build_os=$* 4943IFS=$ac_save_IFS 4944case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4945 4946 4947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4948$as_echo_n "checking host system type... " >&6; } 4949if ${ac_cv_host+:} false; then : 4950 $as_echo_n "(cached) " >&6 4951else 4952 if test "x$host_alias" = x; then 4953 ac_cv_host=$ac_cv_build 4954else 4955 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4956 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4957fi 4958 4959fi 4960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4961$as_echo "$ac_cv_host" >&6; } 4962case $ac_cv_host in 4963*-*-*) ;; 4964*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4965esac 4966host=$ac_cv_host 4967ac_save_IFS=$IFS; IFS='-' 4968set x $ac_cv_host 4969shift 4970host_cpu=$1 4971host_vendor=$2 4972shift; shift 4973# Remember, the first character of IFS is used to create $*, 4974# except with old shells: 4975host_os=$* 4976IFS=$ac_save_IFS 4977case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4978 4979 4980# Backslashify metacharacters that are still active within 4981# double-quoted strings. 4982sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4983 4984# Same as above, but do not quote variable references. 4985double_quote_subst='s/\(["`\\]\)/\\\1/g' 4986 4987# Sed substitution to delay expansion of an escaped shell variable in a 4988# double_quote_subst'ed string. 4989delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4990 4991# Sed substitution to delay expansion of an escaped single quote. 4992delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4993 4994# Sed substitution to avoid accidental globbing in evaled expressions 4995no_glob_subst='s/\*/\\\*/g' 4996 4997ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4998ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4999ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5000 5001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5002$as_echo_n "checking how to print strings... " >&6; } 5003# Test print first, because it will be a builtin if present. 5004if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5005 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5006 ECHO='print -r --' 5007elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5008 ECHO='printf %s\n' 5009else 5010 # Use this function as a fallback that always works. 5011 func_fallback_echo () 5012 { 5013 eval 'cat <<_LTECHO_EOF 5014$1 5015_LTECHO_EOF' 5016 } 5017 ECHO='func_fallback_echo' 5018fi 5019 5020# func_echo_all arg... 5021# Invoke $ECHO with all args, space-separated. 5022func_echo_all () 5023{ 5024 $ECHO "" 5025} 5026 5027case $ECHO in 5028 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5029$as_echo "printf" >&6; } ;; 5030 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5031$as_echo "print -r" >&6; } ;; 5032 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5033$as_echo "cat" >&6; } ;; 5034esac 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5050$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5051if ${ac_cv_path_SED+:} false; then : 5052 $as_echo_n "(cached) " >&6 5053else 5054 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5055 for ac_i in 1 2 3 4 5 6 7; do 5056 ac_script="$ac_script$as_nl$ac_script" 5057 done 5058 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5059 { ac_script=; unset ac_script;} 5060 if test -z "$SED"; then 5061 ac_path_SED_found=false 5062 # Loop through the user's path and test for each of PROGNAME-LIST 5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5064for as_dir in $PATH 5065do 5066 IFS=$as_save_IFS 5067 test -z "$as_dir" && as_dir=. 5068 for ac_prog in sed gsed; do 5069 for ac_exec_ext in '' $ac_executable_extensions; do 5070 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5071 as_fn_executable_p "$ac_path_SED" || continue 5072# Check for GNU ac_path_SED and select it if it is found. 5073 # Check for GNU $ac_path_SED 5074case `"$ac_path_SED" --version 2>&1` in 5075*GNU*) 5076 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5077*) 5078 ac_count=0 5079 $as_echo_n 0123456789 >"conftest.in" 5080 while : 5081 do 5082 cat "conftest.in" "conftest.in" >"conftest.tmp" 5083 mv "conftest.tmp" "conftest.in" 5084 cp "conftest.in" "conftest.nl" 5085 $as_echo '' >> "conftest.nl" 5086 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5087 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5088 as_fn_arith $ac_count + 1 && ac_count=$as_val 5089 if test $ac_count -gt ${ac_path_SED_max-0}; then 5090 # Best one so far, save it but keep looking for a better one 5091 ac_cv_path_SED="$ac_path_SED" 5092 ac_path_SED_max=$ac_count 5093 fi 5094 # 10*(2^10) chars as input seems more than enough 5095 test $ac_count -gt 10 && break 5096 done 5097 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5098esac 5099 5100 $ac_path_SED_found && break 3 5101 done 5102 done 5103 done 5104IFS=$as_save_IFS 5105 if test -z "$ac_cv_path_SED"; then 5106 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5107 fi 5108else 5109 ac_cv_path_SED=$SED 5110fi 5111 5112fi 5113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5114$as_echo "$ac_cv_path_SED" >&6; } 5115 SED="$ac_cv_path_SED" 5116 rm -f conftest.sed 5117 5118test -z "$SED" && SED=sed 5119Xsed="$SED -e 1s/^X//" 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5132$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5133if ${ac_cv_path_GREP+:} false; then : 5134 $as_echo_n "(cached) " >&6 5135else 5136 if test -z "$GREP"; then 5137 ac_path_GREP_found=false 5138 # Loop through the user's path and test for each of PROGNAME-LIST 5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5140for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5141do 5142 IFS=$as_save_IFS 5143 test -z "$as_dir" && as_dir=. 5144 for ac_prog in grep ggrep; do 5145 for ac_exec_ext in '' $ac_executable_extensions; do 5146 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5147 as_fn_executable_p "$ac_path_GREP" || continue 5148# Check for GNU ac_path_GREP and select it if it is found. 5149 # Check for GNU $ac_path_GREP 5150case `"$ac_path_GREP" --version 2>&1` in 5151*GNU*) 5152 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5153*) 5154 ac_count=0 5155 $as_echo_n 0123456789 >"conftest.in" 5156 while : 5157 do 5158 cat "conftest.in" "conftest.in" >"conftest.tmp" 5159 mv "conftest.tmp" "conftest.in" 5160 cp "conftest.in" "conftest.nl" 5161 $as_echo 'GREP' >> "conftest.nl" 5162 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5163 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5164 as_fn_arith $ac_count + 1 && ac_count=$as_val 5165 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5166 # Best one so far, save it but keep looking for a better one 5167 ac_cv_path_GREP="$ac_path_GREP" 5168 ac_path_GREP_max=$ac_count 5169 fi 5170 # 10*(2^10) chars as input seems more than enough 5171 test $ac_count -gt 10 && break 5172 done 5173 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5174esac 5175 5176 $ac_path_GREP_found && break 3 5177 done 5178 done 5179 done 5180IFS=$as_save_IFS 5181 if test -z "$ac_cv_path_GREP"; then 5182 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5183 fi 5184else 5185 ac_cv_path_GREP=$GREP 5186fi 5187 5188fi 5189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5190$as_echo "$ac_cv_path_GREP" >&6; } 5191 GREP="$ac_cv_path_GREP" 5192 5193 5194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5195$as_echo_n "checking for egrep... " >&6; } 5196if ${ac_cv_path_EGREP+:} false; then : 5197 $as_echo_n "(cached) " >&6 5198else 5199 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5200 then ac_cv_path_EGREP="$GREP -E" 5201 else 5202 if test -z "$EGREP"; then 5203 ac_path_EGREP_found=false 5204 # Loop through the user's path and test for each of PROGNAME-LIST 5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5206for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5207do 5208 IFS=$as_save_IFS 5209 test -z "$as_dir" && as_dir=. 5210 for ac_prog in egrep; do 5211 for ac_exec_ext in '' $ac_executable_extensions; do 5212 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5213 as_fn_executable_p "$ac_path_EGREP" || continue 5214# Check for GNU ac_path_EGREP and select it if it is found. 5215 # Check for GNU $ac_path_EGREP 5216case `"$ac_path_EGREP" --version 2>&1` in 5217*GNU*) 5218 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5219*) 5220 ac_count=0 5221 $as_echo_n 0123456789 >"conftest.in" 5222 while : 5223 do 5224 cat "conftest.in" "conftest.in" >"conftest.tmp" 5225 mv "conftest.tmp" "conftest.in" 5226 cp "conftest.in" "conftest.nl" 5227 $as_echo 'EGREP' >> "conftest.nl" 5228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5230 as_fn_arith $ac_count + 1 && ac_count=$as_val 5231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5232 # Best one so far, save it but keep looking for a better one 5233 ac_cv_path_EGREP="$ac_path_EGREP" 5234 ac_path_EGREP_max=$ac_count 5235 fi 5236 # 10*(2^10) chars as input seems more than enough 5237 test $ac_count -gt 10 && break 5238 done 5239 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5240esac 5241 5242 $ac_path_EGREP_found && break 3 5243 done 5244 done 5245 done 5246IFS=$as_save_IFS 5247 if test -z "$ac_cv_path_EGREP"; then 5248 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5249 fi 5250else 5251 ac_cv_path_EGREP=$EGREP 5252fi 5253 5254 fi 5255fi 5256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5257$as_echo "$ac_cv_path_EGREP" >&6; } 5258 EGREP="$ac_cv_path_EGREP" 5259 5260 5261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5262$as_echo_n "checking for fgrep... " >&6; } 5263if ${ac_cv_path_FGREP+:} false; then : 5264 $as_echo_n "(cached) " >&6 5265else 5266 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5267 then ac_cv_path_FGREP="$GREP -F" 5268 else 5269 if test -z "$FGREP"; then 5270 ac_path_FGREP_found=false 5271 # Loop through the user's path and test for each of PROGNAME-LIST 5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5273for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5274do 5275 IFS=$as_save_IFS 5276 test -z "$as_dir" && as_dir=. 5277 for ac_prog in fgrep; do 5278 for ac_exec_ext in '' $ac_executable_extensions; do 5279 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5280 as_fn_executable_p "$ac_path_FGREP" || continue 5281# Check for GNU ac_path_FGREP and select it if it is found. 5282 # Check for GNU $ac_path_FGREP 5283case `"$ac_path_FGREP" --version 2>&1` in 5284*GNU*) 5285 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5286*) 5287 ac_count=0 5288 $as_echo_n 0123456789 >"conftest.in" 5289 while : 5290 do 5291 cat "conftest.in" "conftest.in" >"conftest.tmp" 5292 mv "conftest.tmp" "conftest.in" 5293 cp "conftest.in" "conftest.nl" 5294 $as_echo 'FGREP' >> "conftest.nl" 5295 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5296 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5297 as_fn_arith $ac_count + 1 && ac_count=$as_val 5298 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5299 # Best one so far, save it but keep looking for a better one 5300 ac_cv_path_FGREP="$ac_path_FGREP" 5301 ac_path_FGREP_max=$ac_count 5302 fi 5303 # 10*(2^10) chars as input seems more than enough 5304 test $ac_count -gt 10 && break 5305 done 5306 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5307esac 5308 5309 $ac_path_FGREP_found && break 3 5310 done 5311 done 5312 done 5313IFS=$as_save_IFS 5314 if test -z "$ac_cv_path_FGREP"; then 5315 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5316 fi 5317else 5318 ac_cv_path_FGREP=$FGREP 5319fi 5320 5321 fi 5322fi 5323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5324$as_echo "$ac_cv_path_FGREP" >&6; } 5325 FGREP="$ac_cv_path_FGREP" 5326 5327 5328test -z "$GREP" && GREP=grep 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348# Check whether --with-gnu-ld was given. 5349if test "${with_gnu_ld+set}" = set; then : 5350 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5351else 5352 with_gnu_ld=no 5353fi 5354 5355ac_prog=ld 5356if test yes = "$GCC"; then 5357 # Check if gcc -print-prog-name=ld gives a path. 5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5359$as_echo_n "checking for ld used by $CC... " >&6; } 5360 case $host in 5361 *-*-mingw*) 5362 # gcc leaves a trailing carriage return, which upsets mingw 5363 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5364 *) 5365 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5366 esac 5367 case $ac_prog in 5368 # Accept absolute paths. 5369 [\\/]* | ?:[\\/]*) 5370 re_direlt='/[^/][^/]*/\.\./' 5371 # Canonicalize the pathname of ld 5372 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5373 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5374 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5375 done 5376 test -z "$LD" && LD=$ac_prog 5377 ;; 5378 "") 5379 # If it fails, then pretend we aren't using GCC. 5380 ac_prog=ld 5381 ;; 5382 *) 5383 # If it is relative, then search for the first ld in PATH. 5384 with_gnu_ld=unknown 5385 ;; 5386 esac 5387elif test yes = "$with_gnu_ld"; then 5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5389$as_echo_n "checking for GNU ld... " >&6; } 5390else 5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5392$as_echo_n "checking for non-GNU ld... " >&6; } 5393fi 5394if ${lt_cv_path_LD+:} false; then : 5395 $as_echo_n "(cached) " >&6 5396else 5397 if test -z "$LD"; then 5398 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5399 for ac_dir in $PATH; do 5400 IFS=$lt_save_ifs 5401 test -z "$ac_dir" && ac_dir=. 5402 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5403 lt_cv_path_LD=$ac_dir/$ac_prog 5404 # Check to see if the program is GNU ld. I'd rather use --version, 5405 # but apparently some variants of GNU ld only accept -v. 5406 # Break only if it was the GNU/non-GNU ld that we prefer. 5407 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5408 *GNU* | *'with BFD'*) 5409 test no != "$with_gnu_ld" && break 5410 ;; 5411 *) 5412 test yes != "$with_gnu_ld" && break 5413 ;; 5414 esac 5415 fi 5416 done 5417 IFS=$lt_save_ifs 5418else 5419 lt_cv_path_LD=$LD # Let the user override the test with a path. 5420fi 5421fi 5422 5423LD=$lt_cv_path_LD 5424if test -n "$LD"; then 5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5426$as_echo "$LD" >&6; } 5427else 5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5429$as_echo "no" >&6; } 5430fi 5431test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5433$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5434if ${lt_cv_prog_gnu_ld+:} false; then : 5435 $as_echo_n "(cached) " >&6 5436else 5437 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5438case `$LD -v 2>&1 </dev/null` in 5439*GNU* | *'with BFD'*) 5440 lt_cv_prog_gnu_ld=yes 5441 ;; 5442*) 5443 lt_cv_prog_gnu_ld=no 5444 ;; 5445esac 5446fi 5447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5448$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5449with_gnu_ld=$lt_cv_prog_gnu_ld 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5460$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5461if ${lt_cv_path_NM+:} false; then : 5462 $as_echo_n "(cached) " >&6 5463else 5464 if test -n "$NM"; then 5465 # Let the user override the test. 5466 lt_cv_path_NM=$NM 5467else 5468 lt_nm_to_check=${ac_tool_prefix}nm 5469 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5470 lt_nm_to_check="$lt_nm_to_check nm" 5471 fi 5472 for lt_tmp_nm in $lt_nm_to_check; do 5473 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5474 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5475 IFS=$lt_save_ifs 5476 test -z "$ac_dir" && ac_dir=. 5477 tmp_nm=$ac_dir/$lt_tmp_nm 5478 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5479 # Check to see if the nm accepts a BSD-compat flag. 5480 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5481 # nm: unknown option "B" ignored 5482 # Tru64's nm complains that /dev/null is an invalid object file 5483 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5484 case $build_os in 5485 mingw*) lt_bad_file=conftest.nm/nofile ;; 5486 *) lt_bad_file=/dev/null ;; 5487 esac 5488 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5489 *$lt_bad_file* | *'Invalid file or object type'*) 5490 lt_cv_path_NM="$tmp_nm -B" 5491 break 2 5492 ;; 5493 *) 5494 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5495 */dev/null*) 5496 lt_cv_path_NM="$tmp_nm -p" 5497 break 2 5498 ;; 5499 *) 5500 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5501 continue # so that we can try to find one that supports BSD flags 5502 ;; 5503 esac 5504 ;; 5505 esac 5506 fi 5507 done 5508 IFS=$lt_save_ifs 5509 done 5510 : ${lt_cv_path_NM=no} 5511fi 5512fi 5513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5514$as_echo "$lt_cv_path_NM" >&6; } 5515if test no != "$lt_cv_path_NM"; then 5516 NM=$lt_cv_path_NM 5517else 5518 # Didn't find any BSD compatible name lister, look for dumpbin. 5519 if test -n "$DUMPBIN"; then : 5520 # Let the user override the test. 5521 else 5522 if test -n "$ac_tool_prefix"; then 5523 for ac_prog in dumpbin "link -dump" 5524 do 5525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5526set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5528$as_echo_n "checking for $ac_word... " >&6; } 5529if ${ac_cv_prog_DUMPBIN+:} false; then : 5530 $as_echo_n "(cached) " >&6 5531else 5532 if test -n "$DUMPBIN"; then 5533 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5534else 5535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5536for as_dir in $PATH 5537do 5538 IFS=$as_save_IFS 5539 test -z "$as_dir" && as_dir=. 5540 for ac_exec_ext in '' $ac_executable_extensions; do 5541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5542 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5544 break 2 5545 fi 5546done 5547 done 5548IFS=$as_save_IFS 5549 5550fi 5551fi 5552DUMPBIN=$ac_cv_prog_DUMPBIN 5553if test -n "$DUMPBIN"; then 5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5555$as_echo "$DUMPBIN" >&6; } 5556else 5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5558$as_echo "no" >&6; } 5559fi 5560 5561 5562 test -n "$DUMPBIN" && break 5563 done 5564fi 5565if test -z "$DUMPBIN"; then 5566 ac_ct_DUMPBIN=$DUMPBIN 5567 for ac_prog in dumpbin "link -dump" 5568do 5569 # Extract the first word of "$ac_prog", so it can be a program name with args. 5570set dummy $ac_prog; ac_word=$2 5571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5572$as_echo_n "checking for $ac_word... " >&6; } 5573if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5574 $as_echo_n "(cached) " >&6 5575else 5576 if test -n "$ac_ct_DUMPBIN"; then 5577 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5578else 5579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5580for as_dir in $PATH 5581do 5582 IFS=$as_save_IFS 5583 test -z "$as_dir" && as_dir=. 5584 for ac_exec_ext in '' $ac_executable_extensions; do 5585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5586 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5588 break 2 5589 fi 5590done 5591 done 5592IFS=$as_save_IFS 5593 5594fi 5595fi 5596ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5597if test -n "$ac_ct_DUMPBIN"; then 5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5599$as_echo "$ac_ct_DUMPBIN" >&6; } 5600else 5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5602$as_echo "no" >&6; } 5603fi 5604 5605 5606 test -n "$ac_ct_DUMPBIN" && break 5607done 5608 5609 if test "x$ac_ct_DUMPBIN" = x; then 5610 DUMPBIN=":" 5611 else 5612 case $cross_compiling:$ac_tool_warned in 5613yes:) 5614{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5615$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5616ac_tool_warned=yes ;; 5617esac 5618 DUMPBIN=$ac_ct_DUMPBIN 5619 fi 5620fi 5621 5622 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5623 *COFF*) 5624 DUMPBIN="$DUMPBIN -symbols -headers" 5625 ;; 5626 *) 5627 DUMPBIN=: 5628 ;; 5629 esac 5630 fi 5631 5632 if test : != "$DUMPBIN"; then 5633 NM=$DUMPBIN 5634 fi 5635fi 5636test -z "$NM" && NM=nm 5637 5638 5639 5640 5641 5642 5643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5644$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5645if ${lt_cv_nm_interface+:} false; then : 5646 $as_echo_n "(cached) " >&6 5647else 5648 lt_cv_nm_interface="BSD nm" 5649 echo "int some_variable = 0;" > conftest.$ac_ext 5650 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5651 (eval "$ac_compile" 2>conftest.err) 5652 cat conftest.err >&5 5653 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5654 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5655 cat conftest.err >&5 5656 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5657 cat conftest.out >&5 5658 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5659 lt_cv_nm_interface="MS dumpbin" 5660 fi 5661 rm -f conftest* 5662fi 5663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5664$as_echo "$lt_cv_nm_interface" >&6; } 5665 5666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5667$as_echo_n "checking whether ln -s works... " >&6; } 5668LN_S=$as_ln_s 5669if test "$LN_S" = "ln -s"; then 5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5671$as_echo "yes" >&6; } 5672else 5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5674$as_echo "no, using $LN_S" >&6; } 5675fi 5676 5677# find the maximum length of command line arguments 5678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5679$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5680if ${lt_cv_sys_max_cmd_len+:} false; then : 5681 $as_echo_n "(cached) " >&6 5682else 5683 i=0 5684 teststring=ABCD 5685 5686 case $build_os in 5687 msdosdjgpp*) 5688 # On DJGPP, this test can blow up pretty badly due to problems in libc 5689 # (any single argument exceeding 2000 bytes causes a buffer overrun 5690 # during glob expansion). Even if it were fixed, the result of this 5691 # check would be larger than it should be. 5692 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5693 ;; 5694 5695 gnu*) 5696 # Under GNU Hurd, this test is not required because there is 5697 # no limit to the length of command line arguments. 5698 # Libtool will interpret -1 as no limit whatsoever 5699 lt_cv_sys_max_cmd_len=-1; 5700 ;; 5701 5702 cygwin* | mingw* | cegcc*) 5703 # On Win9x/ME, this test blows up -- it succeeds, but takes 5704 # about 5 minutes as the teststring grows exponentially. 5705 # Worse, since 9x/ME are not pre-emptively multitasking, 5706 # you end up with a "frozen" computer, even though with patience 5707 # the test eventually succeeds (with a max line length of 256k). 5708 # Instead, let's just punt: use the minimum linelength reported by 5709 # all of the supported platforms: 8192 (on NT/2K/XP). 5710 lt_cv_sys_max_cmd_len=8192; 5711 ;; 5712 5713 mint*) 5714 # On MiNT this can take a long time and run out of memory. 5715 lt_cv_sys_max_cmd_len=8192; 5716 ;; 5717 5718 amigaos*) 5719 # On AmigaOS with pdksh, this test takes hours, literally. 5720 # So we just punt and use a minimum line length of 8192. 5721 lt_cv_sys_max_cmd_len=8192; 5722 ;; 5723 5724 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5725 # This has been around since 386BSD, at least. Likely further. 5726 if test -x /sbin/sysctl; then 5727 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5728 elif test -x /usr/sbin/sysctl; then 5729 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5730 else 5731 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5732 fi 5733 # And add a safety zone 5734 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5735 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5736 ;; 5737 5738 interix*) 5739 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5740 lt_cv_sys_max_cmd_len=196608 5741 ;; 5742 5743 os2*) 5744 # The test takes a long time on OS/2. 5745 lt_cv_sys_max_cmd_len=8192 5746 ;; 5747 5748 osf*) 5749 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5750 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5751 # nice to cause kernel panics so lets avoid the loop below. 5752 # First set a reasonable default. 5753 lt_cv_sys_max_cmd_len=16384 5754 # 5755 if test -x /sbin/sysconfig; then 5756 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5757 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5758 esac 5759 fi 5760 ;; 5761 sco3.2v5*) 5762 lt_cv_sys_max_cmd_len=102400 5763 ;; 5764 sysv5* | sco5v6* | sysv4.2uw2*) 5765 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5766 if test -n "$kargmax"; then 5767 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5768 else 5769 lt_cv_sys_max_cmd_len=32768 5770 fi 5771 ;; 5772 *) 5773 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5774 if test -n "$lt_cv_sys_max_cmd_len" && \ 5775 test undefined != "$lt_cv_sys_max_cmd_len"; then 5776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5778 else 5779 # Make teststring a little bigger before we do anything with it. 5780 # a 1K string should be a reasonable start. 5781 for i in 1 2 3 4 5 6 7 8; do 5782 teststring=$teststring$teststring 5783 done 5784 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5785 # If test is not a shell built-in, we'll probably end up computing a 5786 # maximum length that is only half of the actual maximum length, but 5787 # we can't tell. 5788 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5789 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5790 test 17 != "$i" # 1/2 MB should be enough 5791 do 5792 i=`expr $i + 1` 5793 teststring=$teststring$teststring 5794 done 5795 # Only check the string length outside the loop. 5796 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5797 teststring= 5798 # Add a significant safety factor because C++ compilers can tack on 5799 # massive amounts of additional arguments before passing them to the 5800 # linker. It appears as though 1/2 is a usable value. 5801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5802 fi 5803 ;; 5804 esac 5805 5806fi 5807 5808if test -n "$lt_cv_sys_max_cmd_len"; then 5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5810$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5811else 5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5813$as_echo "none" >&6; } 5814fi 5815max_cmd_len=$lt_cv_sys_max_cmd_len 5816 5817 5818 5819 5820 5821 5822: ${CP="cp -f"} 5823: ${MV="mv -f"} 5824: ${RM="rm -f"} 5825 5826if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5827 lt_unset=unset 5828else 5829 lt_unset=false 5830fi 5831 5832 5833 5834 5835 5836# test EBCDIC or ASCII 5837case `echo X|tr X '\101'` in 5838 A) # ASCII based system 5839 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5840 lt_SP2NL='tr \040 \012' 5841 lt_NL2SP='tr \015\012 \040\040' 5842 ;; 5843 *) # EBCDIC based system 5844 lt_SP2NL='tr \100 \n' 5845 lt_NL2SP='tr \r\n \100\100' 5846 ;; 5847esac 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5858$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5859if ${lt_cv_to_host_file_cmd+:} false; then : 5860 $as_echo_n "(cached) " >&6 5861else 5862 case $host in 5863 *-*-mingw* ) 5864 case $build in 5865 *-*-mingw* ) # actually msys 5866 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5867 ;; 5868 *-*-cygwin* ) 5869 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5870 ;; 5871 * ) # otherwise, assume *nix 5872 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5873 ;; 5874 esac 5875 ;; 5876 *-*-cygwin* ) 5877 case $build in 5878 *-*-mingw* ) # actually msys 5879 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5880 ;; 5881 *-*-cygwin* ) 5882 lt_cv_to_host_file_cmd=func_convert_file_noop 5883 ;; 5884 * ) # otherwise, assume *nix 5885 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5886 ;; 5887 esac 5888 ;; 5889 * ) # unhandled hosts (and "normal" native builds) 5890 lt_cv_to_host_file_cmd=func_convert_file_noop 5891 ;; 5892esac 5893 5894fi 5895 5896to_host_file_cmd=$lt_cv_to_host_file_cmd 5897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5898$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5899 5900 5901 5902 5903 5904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5905$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5906if ${lt_cv_to_tool_file_cmd+:} false; then : 5907 $as_echo_n "(cached) " >&6 5908else 5909 #assume ordinary cross tools, or native build. 5910lt_cv_to_tool_file_cmd=func_convert_file_noop 5911case $host in 5912 *-*-mingw* ) 5913 case $build in 5914 *-*-mingw* ) # actually msys 5915 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5916 ;; 5917 esac 5918 ;; 5919esac 5920 5921fi 5922 5923to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5925$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5926 5927 5928 5929 5930 5931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5932$as_echo_n "checking for $LD option to reload object files... " >&6; } 5933if ${lt_cv_ld_reload_flag+:} false; then : 5934 $as_echo_n "(cached) " >&6 5935else 5936 lt_cv_ld_reload_flag='-r' 5937fi 5938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5939$as_echo "$lt_cv_ld_reload_flag" >&6; } 5940reload_flag=$lt_cv_ld_reload_flag 5941case $reload_flag in 5942"" | " "*) ;; 5943*) reload_flag=" $reload_flag" ;; 5944esac 5945reload_cmds='$LD$reload_flag -o $output$reload_objs' 5946case $host_os in 5947 cygwin* | mingw* | pw32* | cegcc*) 5948 if test yes != "$GCC"; then 5949 reload_cmds=false 5950 fi 5951 ;; 5952 darwin*) 5953 if test yes = "$GCC"; then 5954 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5955 else 5956 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5957 fi 5958 ;; 5959esac 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969if test -n "$ac_tool_prefix"; then 5970 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5971set dummy ${ac_tool_prefix}objdump; ac_word=$2 5972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5973$as_echo_n "checking for $ac_word... " >&6; } 5974if ${ac_cv_prog_OBJDUMP+:} false; then : 5975 $as_echo_n "(cached) " >&6 5976else 5977 if test -n "$OBJDUMP"; then 5978 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5979else 5980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5981for as_dir in $PATH 5982do 5983 IFS=$as_save_IFS 5984 test -z "$as_dir" && as_dir=. 5985 for ac_exec_ext in '' $ac_executable_extensions; do 5986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5987 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5989 break 2 5990 fi 5991done 5992 done 5993IFS=$as_save_IFS 5994 5995fi 5996fi 5997OBJDUMP=$ac_cv_prog_OBJDUMP 5998if test -n "$OBJDUMP"; then 5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6000$as_echo "$OBJDUMP" >&6; } 6001else 6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6003$as_echo "no" >&6; } 6004fi 6005 6006 6007fi 6008if test -z "$ac_cv_prog_OBJDUMP"; then 6009 ac_ct_OBJDUMP=$OBJDUMP 6010 # Extract the first word of "objdump", so it can be a program name with args. 6011set dummy objdump; ac_word=$2 6012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6013$as_echo_n "checking for $ac_word... " >&6; } 6014if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6015 $as_echo_n "(cached) " >&6 6016else 6017 if test -n "$ac_ct_OBJDUMP"; then 6018 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6019else 6020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6021for as_dir in $PATH 6022do 6023 IFS=$as_save_IFS 6024 test -z "$as_dir" && as_dir=. 6025 for ac_exec_ext in '' $ac_executable_extensions; do 6026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6027 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6029 break 2 6030 fi 6031done 6032 done 6033IFS=$as_save_IFS 6034 6035fi 6036fi 6037ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6038if test -n "$ac_ct_OBJDUMP"; then 6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6040$as_echo "$ac_ct_OBJDUMP" >&6; } 6041else 6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6043$as_echo "no" >&6; } 6044fi 6045 6046 if test "x$ac_ct_OBJDUMP" = x; then 6047 OBJDUMP="false" 6048 else 6049 case $cross_compiling:$ac_tool_warned in 6050yes:) 6051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6053ac_tool_warned=yes ;; 6054esac 6055 OBJDUMP=$ac_ct_OBJDUMP 6056 fi 6057else 6058 OBJDUMP="$ac_cv_prog_OBJDUMP" 6059fi 6060 6061test -z "$OBJDUMP" && OBJDUMP=objdump 6062 6063 6064 6065 6066 6067 6068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6069$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6070if ${lt_cv_deplibs_check_method+:} false; then : 6071 $as_echo_n "(cached) " >&6 6072else 6073 lt_cv_file_magic_cmd='$MAGIC_CMD' 6074lt_cv_file_magic_test_file= 6075lt_cv_deplibs_check_method='unknown' 6076# Need to set the preceding variable on all platforms that support 6077# interlibrary dependencies. 6078# 'none' -- dependencies not supported. 6079# 'unknown' -- same as none, but documents that we really don't know. 6080# 'pass_all' -- all dependencies passed with no checks. 6081# 'test_compile' -- check by making test program. 6082# 'file_magic [[regex]]' -- check by looking for files in library path 6083# that responds to the $file_magic_cmd with a given extended regex. 6084# If you have 'file' or equivalent on your system and you're not sure 6085# whether 'pass_all' will *always* work, you probably want this one. 6086 6087case $host_os in 6088aix[4-9]*) 6089 lt_cv_deplibs_check_method=pass_all 6090 ;; 6091 6092beos*) 6093 lt_cv_deplibs_check_method=pass_all 6094 ;; 6095 6096bsdi[45]*) 6097 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6098 lt_cv_file_magic_cmd='/usr/bin/file -L' 6099 lt_cv_file_magic_test_file=/shlib/libc.so 6100 ;; 6101 6102cygwin*) 6103 # func_win32_libid is a shell function defined in ltmain.sh 6104 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6105 lt_cv_file_magic_cmd='func_win32_libid' 6106 ;; 6107 6108mingw* | pw32*) 6109 # Base MSYS/MinGW do not provide the 'file' command needed by 6110 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6111 # unless we find 'file', for example because we are cross-compiling. 6112 if ( file / ) >/dev/null 2>&1; then 6113 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6114 lt_cv_file_magic_cmd='func_win32_libid' 6115 else 6116 # Keep this pattern in sync with the one in func_win32_libid. 6117 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6118 lt_cv_file_magic_cmd='$OBJDUMP -f' 6119 fi 6120 ;; 6121 6122cegcc*) 6123 # use the weaker test based on 'objdump'. See mingw*. 6124 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6125 lt_cv_file_magic_cmd='$OBJDUMP -f' 6126 ;; 6127 6128darwin* | rhapsody*) 6129 lt_cv_deplibs_check_method=pass_all 6130 ;; 6131 6132freebsd* | dragonfly*) 6133 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6134 case $host_cpu in 6135 i*86 ) 6136 # Not sure whether the presence of OpenBSD here was a mistake. 6137 # Let's accept both of them until this is cleared up. 6138 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6139 lt_cv_file_magic_cmd=/usr/bin/file 6140 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6141 ;; 6142 esac 6143 else 6144 lt_cv_deplibs_check_method=pass_all 6145 fi 6146 ;; 6147 6148haiku*) 6149 lt_cv_deplibs_check_method=pass_all 6150 ;; 6151 6152hpux10.20* | hpux11*) 6153 lt_cv_file_magic_cmd=/usr/bin/file 6154 case $host_cpu in 6155 ia64*) 6156 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6157 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6158 ;; 6159 hppa*64*) 6160 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]' 6161 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6162 ;; 6163 *) 6164 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6165 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6166 ;; 6167 esac 6168 ;; 6169 6170interix[3-9]*) 6171 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6172 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6173 ;; 6174 6175irix5* | irix6* | nonstopux*) 6176 case $LD in 6177 *-32|*"-32 ") libmagic=32-bit;; 6178 *-n32|*"-n32 ") libmagic=N32;; 6179 *-64|*"-64 ") libmagic=64-bit;; 6180 *) libmagic=never-match;; 6181 esac 6182 lt_cv_deplibs_check_method=pass_all 6183 ;; 6184 6185# This must be glibc/ELF. 6186linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6187 lt_cv_deplibs_check_method=pass_all 6188 ;; 6189 6190netbsd*) 6191 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6192 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6193 else 6194 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6195 fi 6196 ;; 6197 6198newos6*) 6199 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6200 lt_cv_file_magic_cmd=/usr/bin/file 6201 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6202 ;; 6203 6204*nto* | *qnx*) 6205 lt_cv_deplibs_check_method=pass_all 6206 ;; 6207 6208openbsd* | bitrig*) 6209 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6210 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6211 else 6212 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6213 fi 6214 ;; 6215 6216osf3* | osf4* | osf5*) 6217 lt_cv_deplibs_check_method=pass_all 6218 ;; 6219 6220rdos*) 6221 lt_cv_deplibs_check_method=pass_all 6222 ;; 6223 6224solaris*) 6225 lt_cv_deplibs_check_method=pass_all 6226 ;; 6227 6228sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6229 lt_cv_deplibs_check_method=pass_all 6230 ;; 6231 6232sysv4 | sysv4.3*) 6233 case $host_vendor in 6234 motorola) 6235 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]' 6236 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6237 ;; 6238 ncr) 6239 lt_cv_deplibs_check_method=pass_all 6240 ;; 6241 sequent) 6242 lt_cv_file_magic_cmd='/bin/file' 6243 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6244 ;; 6245 sni) 6246 lt_cv_file_magic_cmd='/bin/file' 6247 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6248 lt_cv_file_magic_test_file=/lib/libc.so 6249 ;; 6250 siemens) 6251 lt_cv_deplibs_check_method=pass_all 6252 ;; 6253 pc) 6254 lt_cv_deplibs_check_method=pass_all 6255 ;; 6256 esac 6257 ;; 6258 6259tpf*) 6260 lt_cv_deplibs_check_method=pass_all 6261 ;; 6262os2*) 6263 lt_cv_deplibs_check_method=pass_all 6264 ;; 6265esac 6266 6267fi 6268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6269$as_echo "$lt_cv_deplibs_check_method" >&6; } 6270 6271file_magic_glob= 6272want_nocaseglob=no 6273if test "$build" = "$host"; then 6274 case $host_os in 6275 mingw* | pw32*) 6276 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6277 want_nocaseglob=yes 6278 else 6279 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6280 fi 6281 ;; 6282 esac 6283fi 6284 6285file_magic_cmd=$lt_cv_file_magic_cmd 6286deplibs_check_method=$lt_cv_deplibs_check_method 6287test -z "$deplibs_check_method" && deplibs_check_method=unknown 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310if test -n "$ac_tool_prefix"; then 6311 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6312set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6314$as_echo_n "checking for $ac_word... " >&6; } 6315if ${ac_cv_prog_DLLTOOL+:} false; then : 6316 $as_echo_n "(cached) " >&6 6317else 6318 if test -n "$DLLTOOL"; then 6319 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6320else 6321as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6322for as_dir in $PATH 6323do 6324 IFS=$as_save_IFS 6325 test -z "$as_dir" && as_dir=. 6326 for ac_exec_ext in '' $ac_executable_extensions; do 6327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6328 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6330 break 2 6331 fi 6332done 6333 done 6334IFS=$as_save_IFS 6335 6336fi 6337fi 6338DLLTOOL=$ac_cv_prog_DLLTOOL 6339if test -n "$DLLTOOL"; then 6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6341$as_echo "$DLLTOOL" >&6; } 6342else 6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6344$as_echo "no" >&6; } 6345fi 6346 6347 6348fi 6349if test -z "$ac_cv_prog_DLLTOOL"; then 6350 ac_ct_DLLTOOL=$DLLTOOL 6351 # Extract the first word of "dlltool", so it can be a program name with args. 6352set dummy dlltool; ac_word=$2 6353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6354$as_echo_n "checking for $ac_word... " >&6; } 6355if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6356 $as_echo_n "(cached) " >&6 6357else 6358 if test -n "$ac_ct_DLLTOOL"; then 6359 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6360else 6361as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6362for as_dir in $PATH 6363do 6364 IFS=$as_save_IFS 6365 test -z "$as_dir" && as_dir=. 6366 for ac_exec_ext in '' $ac_executable_extensions; do 6367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6368 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6370 break 2 6371 fi 6372done 6373 done 6374IFS=$as_save_IFS 6375 6376fi 6377fi 6378ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6379if test -n "$ac_ct_DLLTOOL"; then 6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6381$as_echo "$ac_ct_DLLTOOL" >&6; } 6382else 6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6384$as_echo "no" >&6; } 6385fi 6386 6387 if test "x$ac_ct_DLLTOOL" = x; then 6388 DLLTOOL="false" 6389 else 6390 case $cross_compiling:$ac_tool_warned in 6391yes:) 6392{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6393$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6394ac_tool_warned=yes ;; 6395esac 6396 DLLTOOL=$ac_ct_DLLTOOL 6397 fi 6398else 6399 DLLTOOL="$ac_cv_prog_DLLTOOL" 6400fi 6401 6402test -z "$DLLTOOL" && DLLTOOL=dlltool 6403 6404 6405 6406 6407 6408 6409 6410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6411$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6412if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6413 $as_echo_n "(cached) " >&6 6414else 6415 lt_cv_sharedlib_from_linklib_cmd='unknown' 6416 6417case $host_os in 6418cygwin* | mingw* | pw32* | cegcc*) 6419 # two different shell functions defined in ltmain.sh; 6420 # decide which one to use based on capabilities of $DLLTOOL 6421 case `$DLLTOOL --help 2>&1` in 6422 *--identify-strict*) 6423 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6424 ;; 6425 *) 6426 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6427 ;; 6428 esac 6429 ;; 6430*) 6431 # fallback: assume linklib IS sharedlib 6432 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6433 ;; 6434esac 6435 6436fi 6437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6438$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6439sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6440test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6441 6442 6443 6444 6445 6446 6447 6448if test -n "$ac_tool_prefix"; then 6449 for ac_prog in ar 6450 do 6451 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6452set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6454$as_echo_n "checking for $ac_word... " >&6; } 6455if ${ac_cv_prog_AR+:} false; then : 6456 $as_echo_n "(cached) " >&6 6457else 6458 if test -n "$AR"; then 6459 ac_cv_prog_AR="$AR" # Let the user override the test. 6460else 6461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6462for as_dir in $PATH 6463do 6464 IFS=$as_save_IFS 6465 test -z "$as_dir" && as_dir=. 6466 for ac_exec_ext in '' $ac_executable_extensions; do 6467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6468 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6470 break 2 6471 fi 6472done 6473 done 6474IFS=$as_save_IFS 6475 6476fi 6477fi 6478AR=$ac_cv_prog_AR 6479if test -n "$AR"; then 6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6481$as_echo "$AR" >&6; } 6482else 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6484$as_echo "no" >&6; } 6485fi 6486 6487 6488 test -n "$AR" && break 6489 done 6490fi 6491if test -z "$AR"; then 6492 ac_ct_AR=$AR 6493 for ac_prog in ar 6494do 6495 # Extract the first word of "$ac_prog", so it can be a program name with args. 6496set dummy $ac_prog; ac_word=$2 6497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6498$as_echo_n "checking for $ac_word... " >&6; } 6499if ${ac_cv_prog_ac_ct_AR+:} false; then : 6500 $as_echo_n "(cached) " >&6 6501else 6502 if test -n "$ac_ct_AR"; then 6503 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6504else 6505as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6506for as_dir in $PATH 6507do 6508 IFS=$as_save_IFS 6509 test -z "$as_dir" && as_dir=. 6510 for ac_exec_ext in '' $ac_executable_extensions; do 6511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6512 ac_cv_prog_ac_ct_AR="$ac_prog" 6513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6514 break 2 6515 fi 6516done 6517 done 6518IFS=$as_save_IFS 6519 6520fi 6521fi 6522ac_ct_AR=$ac_cv_prog_ac_ct_AR 6523if test -n "$ac_ct_AR"; then 6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6525$as_echo "$ac_ct_AR" >&6; } 6526else 6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6528$as_echo "no" >&6; } 6529fi 6530 6531 6532 test -n "$ac_ct_AR" && break 6533done 6534 6535 if test "x$ac_ct_AR" = x; then 6536 AR="false" 6537 else 6538 case $cross_compiling:$ac_tool_warned in 6539yes:) 6540{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6541$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6542ac_tool_warned=yes ;; 6543esac 6544 AR=$ac_ct_AR 6545 fi 6546fi 6547 6548: ${AR=ar} 6549: ${AR_FLAGS=cru} 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6562$as_echo_n "checking for archiver @FILE support... " >&6; } 6563if ${lt_cv_ar_at_file+:} false; then : 6564 $as_echo_n "(cached) " >&6 6565else 6566 lt_cv_ar_at_file=no 6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6568/* end confdefs.h. */ 6569 6570int 6571main () 6572{ 6573 6574 ; 6575 return 0; 6576} 6577_ACEOF 6578if ac_fn_c_try_compile "$LINENO"; then : 6579 echo conftest.$ac_objext > conftest.lst 6580 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6581 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6582 (eval $lt_ar_try) 2>&5 6583 ac_status=$? 6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6585 test $ac_status = 0; } 6586 if test 0 -eq "$ac_status"; then 6587 # Ensure the archiver fails upon bogus file names. 6588 rm -f conftest.$ac_objext libconftest.a 6589 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6590 (eval $lt_ar_try) 2>&5 6591 ac_status=$? 6592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6593 test $ac_status = 0; } 6594 if test 0 -ne "$ac_status"; then 6595 lt_cv_ar_at_file=@ 6596 fi 6597 fi 6598 rm -f conftest.* libconftest.a 6599 6600fi 6601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6602 6603fi 6604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6605$as_echo "$lt_cv_ar_at_file" >&6; } 6606 6607if test no = "$lt_cv_ar_at_file"; then 6608 archiver_list_spec= 6609else 6610 archiver_list_spec=$lt_cv_ar_at_file 6611fi 6612 6613 6614 6615 6616 6617 6618 6619if test -n "$ac_tool_prefix"; then 6620 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6621set dummy ${ac_tool_prefix}strip; ac_word=$2 6622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6623$as_echo_n "checking for $ac_word... " >&6; } 6624if ${ac_cv_prog_STRIP+:} false; then : 6625 $as_echo_n "(cached) " >&6 6626else 6627 if test -n "$STRIP"; then 6628 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6629else 6630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6631for as_dir in $PATH 6632do 6633 IFS=$as_save_IFS 6634 test -z "$as_dir" && as_dir=. 6635 for ac_exec_ext in '' $ac_executable_extensions; do 6636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6637 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6639 break 2 6640 fi 6641done 6642 done 6643IFS=$as_save_IFS 6644 6645fi 6646fi 6647STRIP=$ac_cv_prog_STRIP 6648if test -n "$STRIP"; then 6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6650$as_echo "$STRIP" >&6; } 6651else 6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6653$as_echo "no" >&6; } 6654fi 6655 6656 6657fi 6658if test -z "$ac_cv_prog_STRIP"; then 6659 ac_ct_STRIP=$STRIP 6660 # Extract the first word of "strip", so it can be a program name with args. 6661set dummy strip; ac_word=$2 6662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6663$as_echo_n "checking for $ac_word... " >&6; } 6664if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6665 $as_echo_n "(cached) " >&6 6666else 6667 if test -n "$ac_ct_STRIP"; then 6668 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6669else 6670as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6671for as_dir in $PATH 6672do 6673 IFS=$as_save_IFS 6674 test -z "$as_dir" && as_dir=. 6675 for ac_exec_ext in '' $ac_executable_extensions; do 6676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6677 ac_cv_prog_ac_ct_STRIP="strip" 6678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6679 break 2 6680 fi 6681done 6682 done 6683IFS=$as_save_IFS 6684 6685fi 6686fi 6687ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6688if test -n "$ac_ct_STRIP"; then 6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6690$as_echo "$ac_ct_STRIP" >&6; } 6691else 6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6693$as_echo "no" >&6; } 6694fi 6695 6696 if test "x$ac_ct_STRIP" = x; then 6697 STRIP=":" 6698 else 6699 case $cross_compiling:$ac_tool_warned in 6700yes:) 6701{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6702$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6703ac_tool_warned=yes ;; 6704esac 6705 STRIP=$ac_ct_STRIP 6706 fi 6707else 6708 STRIP="$ac_cv_prog_STRIP" 6709fi 6710 6711test -z "$STRIP" && STRIP=: 6712 6713 6714 6715 6716 6717 6718if test -n "$ac_tool_prefix"; then 6719 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6720set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6722$as_echo_n "checking for $ac_word... " >&6; } 6723if ${ac_cv_prog_RANLIB+:} false; then : 6724 $as_echo_n "(cached) " >&6 6725else 6726 if test -n "$RANLIB"; then 6727 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6728else 6729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6730for as_dir in $PATH 6731do 6732 IFS=$as_save_IFS 6733 test -z "$as_dir" && as_dir=. 6734 for ac_exec_ext in '' $ac_executable_extensions; do 6735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6736 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6738 break 2 6739 fi 6740done 6741 done 6742IFS=$as_save_IFS 6743 6744fi 6745fi 6746RANLIB=$ac_cv_prog_RANLIB 6747if test -n "$RANLIB"; then 6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6749$as_echo "$RANLIB" >&6; } 6750else 6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6752$as_echo "no" >&6; } 6753fi 6754 6755 6756fi 6757if test -z "$ac_cv_prog_RANLIB"; then 6758 ac_ct_RANLIB=$RANLIB 6759 # Extract the first word of "ranlib", so it can be a program name with args. 6760set dummy ranlib; ac_word=$2 6761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6762$as_echo_n "checking for $ac_word... " >&6; } 6763if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6764 $as_echo_n "(cached) " >&6 6765else 6766 if test -n "$ac_ct_RANLIB"; then 6767 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6768else 6769as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6770for as_dir in $PATH 6771do 6772 IFS=$as_save_IFS 6773 test -z "$as_dir" && as_dir=. 6774 for ac_exec_ext in '' $ac_executable_extensions; do 6775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6776 ac_cv_prog_ac_ct_RANLIB="ranlib" 6777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6778 break 2 6779 fi 6780done 6781 done 6782IFS=$as_save_IFS 6783 6784fi 6785fi 6786ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6787if test -n "$ac_ct_RANLIB"; then 6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6789$as_echo "$ac_ct_RANLIB" >&6; } 6790else 6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6792$as_echo "no" >&6; } 6793fi 6794 6795 if test "x$ac_ct_RANLIB" = x; then 6796 RANLIB=":" 6797 else 6798 case $cross_compiling:$ac_tool_warned in 6799yes:) 6800{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6801$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6802ac_tool_warned=yes ;; 6803esac 6804 RANLIB=$ac_ct_RANLIB 6805 fi 6806else 6807 RANLIB="$ac_cv_prog_RANLIB" 6808fi 6809 6810test -z "$RANLIB" && RANLIB=: 6811 6812 6813 6814 6815 6816 6817# Determine commands to create old-style static archives. 6818old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6819old_postinstall_cmds='chmod 644 $oldlib' 6820old_postuninstall_cmds= 6821 6822if test -n "$RANLIB"; then 6823 case $host_os in 6824 bitrig* | openbsd*) 6825 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6826 ;; 6827 *) 6828 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6829 ;; 6830 esac 6831 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6832fi 6833 6834case $host_os in 6835 darwin*) 6836 lock_old_archive_extraction=yes ;; 6837 *) 6838 lock_old_archive_extraction=no ;; 6839esac 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879# If no C compiler was specified, use CC. 6880LTCC=${LTCC-"$CC"} 6881 6882# If no C compiler flags were specified, use CFLAGS. 6883LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6884 6885# Allow CC to be a program name with arguments. 6886compiler=$CC 6887 6888 6889# Check for command to grab the raw symbol name followed by C symbol from nm. 6890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6891$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6892if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6893 $as_echo_n "(cached) " >&6 6894else 6895 6896# These are sane defaults that work on at least a few old systems. 6897# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6898 6899# Character class describing NM global symbol codes. 6900symcode='[BCDEGRST]' 6901 6902# Regexp to match symbols that can be accessed directly from C. 6903sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6904 6905# Define system-specific variables. 6906case $host_os in 6907aix*) 6908 symcode='[BCDT]' 6909 ;; 6910cygwin* | mingw* | pw32* | cegcc*) 6911 symcode='[ABCDGISTW]' 6912 ;; 6913hpux*) 6914 if test ia64 = "$host_cpu"; then 6915 symcode='[ABCDEGRST]' 6916 fi 6917 ;; 6918irix* | nonstopux*) 6919 symcode='[BCDEGRST]' 6920 ;; 6921osf*) 6922 symcode='[BCDEGQRST]' 6923 ;; 6924solaris*) 6925 symcode='[BDRT]' 6926 ;; 6927sco3.2v5*) 6928 symcode='[DT]' 6929 ;; 6930sysv4.2uw2*) 6931 symcode='[DT]' 6932 ;; 6933sysv5* | sco5v6* | unixware* | OpenUNIX*) 6934 symcode='[ABDT]' 6935 ;; 6936sysv4) 6937 symcode='[DFNSTU]' 6938 ;; 6939esac 6940 6941# If we're using GNU nm, then use its standard symbol codes. 6942case `$NM -V 2>&1` in 6943*GNU* | *'with BFD'*) 6944 symcode='[ABCDGIRSTW]' ;; 6945esac 6946 6947if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6948 # Gets list of data symbols to import. 6949 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6950 # Adjust the below global symbol transforms to fixup imported variables. 6951 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6952 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6953 lt_c_name_lib_hook="\ 6954 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6955 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6956else 6957 # Disable hooks by default. 6958 lt_cv_sys_global_symbol_to_import= 6959 lt_cdecl_hook= 6960 lt_c_name_hook= 6961 lt_c_name_lib_hook= 6962fi 6963 6964# Transform an extracted symbol line into a proper C declaration. 6965# Some systems (esp. on ia64) link data and code symbols differently, 6966# so use this general approach. 6967lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6968$lt_cdecl_hook\ 6969" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6970" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6971 6972# Transform an extracted symbol line into symbol name and symbol address 6973lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6974$lt_c_name_hook\ 6975" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6976" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6977 6978# Transform an extracted symbol line into symbol name with lib prefix and 6979# symbol address. 6980lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6981$lt_c_name_lib_hook\ 6982" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6983" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6984" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6985 6986# Handle CRLF in mingw tool chain 6987opt_cr= 6988case $build_os in 6989mingw*) 6990 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6991 ;; 6992esac 6993 6994# Try without a prefix underscore, then with it. 6995for ac_symprfx in "" "_"; do 6996 6997 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6998 symxfrm="\\1 $ac_symprfx\\2 \\2" 6999 7000 # Write the raw and C identifiers. 7001 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7002 # Fake it for dumpbin and say T for any non-static function, 7003 # D for any global variable and I for any imported variable. 7004 # Also find C++ and __fastcall symbols from MSVC++, 7005 # which start with @ or ?. 7006 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7007" {last_section=section; section=\$ 3};"\ 7008" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7009" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7010" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7011" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7012" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7013" \$ 0!~/External *\|/{next};"\ 7014" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7015" {if(hide[section]) next};"\ 7016" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7017" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7018" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7019" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7020" ' prfx=^$ac_symprfx" 7021 else 7022 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7023 fi 7024 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7025 7026 # Check to see that the pipe works correctly. 7027 pipe_works=no 7028 7029 rm -f conftest* 7030 cat > conftest.$ac_ext <<_LT_EOF 7031#ifdef __cplusplus 7032extern "C" { 7033#endif 7034char nm_test_var; 7035void nm_test_func(void); 7036void nm_test_func(void){} 7037#ifdef __cplusplus 7038} 7039#endif 7040int main(){nm_test_var='a';nm_test_func();return(0);} 7041_LT_EOF 7042 7043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7044 (eval $ac_compile) 2>&5 7045 ac_status=$? 7046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7047 test $ac_status = 0; }; then 7048 # Now try to grab the symbols. 7049 nlist=conftest.nm 7050 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7051 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7052 ac_status=$? 7053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7054 test $ac_status = 0; } && test -s "$nlist"; then 7055 # Try sorting and uniquifying the output. 7056 if sort "$nlist" | uniq > "$nlist"T; then 7057 mv -f "$nlist"T "$nlist" 7058 else 7059 rm -f "$nlist"T 7060 fi 7061 7062 # Make sure that we snagged all the symbols we need. 7063 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7064 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7065 cat <<_LT_EOF > conftest.$ac_ext 7066/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7067#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7068/* DATA imports from DLLs on WIN32 can't be const, because runtime 7069 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7070# define LT_DLSYM_CONST 7071#elif defined __osf__ 7072/* This system does not cope well with relocations in const data. */ 7073# define LT_DLSYM_CONST 7074#else 7075# define LT_DLSYM_CONST const 7076#endif 7077 7078#ifdef __cplusplus 7079extern "C" { 7080#endif 7081 7082_LT_EOF 7083 # Now generate the symbol file. 7084 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7085 7086 cat <<_LT_EOF >> conftest.$ac_ext 7087 7088/* The mapping between symbol names and symbols. */ 7089LT_DLSYM_CONST struct { 7090 const char *name; 7091 void *address; 7092} 7093lt__PROGRAM__LTX_preloaded_symbols[] = 7094{ 7095 { "@PROGRAM@", (void *) 0 }, 7096_LT_EOF 7097 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7098 cat <<\_LT_EOF >> conftest.$ac_ext 7099 {0, (void *) 0} 7100}; 7101 7102/* This works around a problem in FreeBSD linker */ 7103#ifdef FREEBSD_WORKAROUND 7104static const void *lt_preloaded_setup() { 7105 return lt__PROGRAM__LTX_preloaded_symbols; 7106} 7107#endif 7108 7109#ifdef __cplusplus 7110} 7111#endif 7112_LT_EOF 7113 # Now try linking the two files. 7114 mv conftest.$ac_objext conftstm.$ac_objext 7115 lt_globsym_save_LIBS=$LIBS 7116 lt_globsym_save_CFLAGS=$CFLAGS 7117 LIBS=conftstm.$ac_objext 7118 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7120 (eval $ac_link) 2>&5 7121 ac_status=$? 7122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7123 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7124 pipe_works=yes 7125 fi 7126 LIBS=$lt_globsym_save_LIBS 7127 CFLAGS=$lt_globsym_save_CFLAGS 7128 else 7129 echo "cannot find nm_test_func in $nlist" >&5 7130 fi 7131 else 7132 echo "cannot find nm_test_var in $nlist" >&5 7133 fi 7134 else 7135 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7136 fi 7137 else 7138 echo "$progname: failed program was:" >&5 7139 cat conftest.$ac_ext >&5 7140 fi 7141 rm -rf conftest* conftst* 7142 7143 # Do not use the global_symbol_pipe unless it works. 7144 if test yes = "$pipe_works"; then 7145 break 7146 else 7147 lt_cv_sys_global_symbol_pipe= 7148 fi 7149done 7150 7151fi 7152 7153if test -z "$lt_cv_sys_global_symbol_pipe"; then 7154 lt_cv_sys_global_symbol_to_cdecl= 7155fi 7156if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7158$as_echo "failed" >&6; } 7159else 7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7161$as_echo "ok" >&6; } 7162fi 7163 7164# Response file support. 7165if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7166 nm_file_list_spec='@' 7167elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7168 nm_file_list_spec='@' 7169fi 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7208$as_echo_n "checking for sysroot... " >&6; } 7209 7210# Check whether --with-sysroot was given. 7211if test "${with_sysroot+set}" = set; then : 7212 withval=$with_sysroot; 7213else 7214 with_sysroot=no 7215fi 7216 7217 7218lt_sysroot= 7219case $with_sysroot in #( 7220 yes) 7221 if test yes = "$GCC"; then 7222 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7223 fi 7224 ;; #( 7225 /*) 7226 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7227 ;; #( 7228 no|'') 7229 ;; #( 7230 *) 7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7232$as_echo "$with_sysroot" >&6; } 7233 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7234 ;; 7235esac 7236 7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7238$as_echo "${lt_sysroot:-no}" >&6; } 7239 7240 7241 7242 7243 7244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7245$as_echo_n "checking for a working dd... " >&6; } 7246if ${ac_cv_path_lt_DD+:} false; then : 7247 $as_echo_n "(cached) " >&6 7248else 7249 printf 0123456789abcdef0123456789abcdef >conftest.i 7250cat conftest.i conftest.i >conftest2.i 7251: ${lt_DD:=$DD} 7252if test -z "$lt_DD"; then 7253 ac_path_lt_DD_found=false 7254 # Loop through the user's path and test for each of PROGNAME-LIST 7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7256for as_dir in $PATH 7257do 7258 IFS=$as_save_IFS 7259 test -z "$as_dir" && as_dir=. 7260 for ac_prog in dd; do 7261 for ac_exec_ext in '' $ac_executable_extensions; do 7262 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7263 as_fn_executable_p "$ac_path_lt_DD" || continue 7264if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7265 cmp -s conftest.i conftest.out \ 7266 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7267fi 7268 $ac_path_lt_DD_found && break 3 7269 done 7270 done 7271 done 7272IFS=$as_save_IFS 7273 if test -z "$ac_cv_path_lt_DD"; then 7274 : 7275 fi 7276else 7277 ac_cv_path_lt_DD=$lt_DD 7278fi 7279 7280rm -f conftest.i conftest2.i conftest.out 7281fi 7282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7283$as_echo "$ac_cv_path_lt_DD" >&6; } 7284 7285 7286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7287$as_echo_n "checking how to truncate binary pipes... " >&6; } 7288if ${lt_cv_truncate_bin+:} false; then : 7289 $as_echo_n "(cached) " >&6 7290else 7291 printf 0123456789abcdef0123456789abcdef >conftest.i 7292cat conftest.i conftest.i >conftest2.i 7293lt_cv_truncate_bin= 7294if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7295 cmp -s conftest.i conftest.out \ 7296 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7297fi 7298rm -f conftest.i conftest2.i conftest.out 7299test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7300fi 7301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7302$as_echo "$lt_cv_truncate_bin" >&6; } 7303 7304 7305 7306 7307 7308 7309 7310# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7311func_cc_basename () 7312{ 7313 for cc_temp in $*""; do 7314 case $cc_temp in 7315 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7316 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7317 \-*) ;; 7318 *) break;; 7319 esac 7320 done 7321 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7322} 7323 7324# Check whether --enable-libtool-lock was given. 7325if test "${enable_libtool_lock+set}" = set; then : 7326 enableval=$enable_libtool_lock; 7327fi 7328 7329test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7330 7331# Some flags need to be propagated to the compiler or linker for good 7332# libtool support. 7333case $host in 7334ia64-*-hpux*) 7335 # Find out what ABI is being produced by ac_compile, and set mode 7336 # options accordingly. 7337 echo 'int i;' > conftest.$ac_ext 7338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7339 (eval $ac_compile) 2>&5 7340 ac_status=$? 7341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7342 test $ac_status = 0; }; then 7343 case `/usr/bin/file conftest.$ac_objext` in 7344 *ELF-32*) 7345 HPUX_IA64_MODE=32 7346 ;; 7347 *ELF-64*) 7348 HPUX_IA64_MODE=64 7349 ;; 7350 esac 7351 fi 7352 rm -rf conftest* 7353 ;; 7354*-*-irix6*) 7355 # Find out what ABI is being produced by ac_compile, and set linker 7356 # options accordingly. 7357 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7358 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7359 (eval $ac_compile) 2>&5 7360 ac_status=$? 7361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7362 test $ac_status = 0; }; then 7363 if test yes = "$lt_cv_prog_gnu_ld"; then 7364 case `/usr/bin/file conftest.$ac_objext` in 7365 *32-bit*) 7366 LD="${LD-ld} -melf32bsmip" 7367 ;; 7368 *N32*) 7369 LD="${LD-ld} -melf32bmipn32" 7370 ;; 7371 *64-bit*) 7372 LD="${LD-ld} -melf64bmip" 7373 ;; 7374 esac 7375 else 7376 case `/usr/bin/file conftest.$ac_objext` in 7377 *32-bit*) 7378 LD="${LD-ld} -32" 7379 ;; 7380 *N32*) 7381 LD="${LD-ld} -n32" 7382 ;; 7383 *64-bit*) 7384 LD="${LD-ld} -64" 7385 ;; 7386 esac 7387 fi 7388 fi 7389 rm -rf conftest* 7390 ;; 7391 7392mips64*-*linux*) 7393 # Find out what ABI is being produced by ac_compile, and set linker 7394 # options accordingly. 7395 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7396 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7397 (eval $ac_compile) 2>&5 7398 ac_status=$? 7399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7400 test $ac_status = 0; }; then 7401 emul=elf 7402 case `/usr/bin/file conftest.$ac_objext` in 7403 *32-bit*) 7404 emul="${emul}32" 7405 ;; 7406 *64-bit*) 7407 emul="${emul}64" 7408 ;; 7409 esac 7410 case `/usr/bin/file conftest.$ac_objext` in 7411 *MSB*) 7412 emul="${emul}btsmip" 7413 ;; 7414 *LSB*) 7415 emul="${emul}ltsmip" 7416 ;; 7417 esac 7418 case `/usr/bin/file conftest.$ac_objext` in 7419 *N32*) 7420 emul="${emul}n32" 7421 ;; 7422 esac 7423 LD="${LD-ld} -m $emul" 7424 fi 7425 rm -rf conftest* 7426 ;; 7427 7428x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7429s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7430 # Find out what ABI is being produced by ac_compile, and set linker 7431 # options accordingly. Note that the listed cases only cover the 7432 # situations where additional linker options are needed (such as when 7433 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7434 # vice versa); the common cases where no linker options are needed do 7435 # not appear in the list. 7436 echo 'int i;' > conftest.$ac_ext 7437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7438 (eval $ac_compile) 2>&5 7439 ac_status=$? 7440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7441 test $ac_status = 0; }; then 7442 case `/usr/bin/file conftest.o` in 7443 *32-bit*) 7444 case $host in 7445 x86_64-*kfreebsd*-gnu) 7446 LD="${LD-ld} -m elf_i386_fbsd" 7447 ;; 7448 x86_64-*linux*) 7449 case `/usr/bin/file conftest.o` in 7450 *x86-64*) 7451 LD="${LD-ld} -m elf32_x86_64" 7452 ;; 7453 *) 7454 LD="${LD-ld} -m elf_i386" 7455 ;; 7456 esac 7457 ;; 7458 powerpc64le-*linux*) 7459 LD="${LD-ld} -m elf32lppclinux" 7460 ;; 7461 powerpc64-*linux*) 7462 LD="${LD-ld} -m elf32ppclinux" 7463 ;; 7464 s390x-*linux*) 7465 LD="${LD-ld} -m elf_s390" 7466 ;; 7467 sparc64-*linux*) 7468 LD="${LD-ld} -m elf32_sparc" 7469 ;; 7470 esac 7471 ;; 7472 *64-bit*) 7473 case $host in 7474 x86_64-*kfreebsd*-gnu) 7475 LD="${LD-ld} -m elf_x86_64_fbsd" 7476 ;; 7477 x86_64-*linux*) 7478 LD="${LD-ld} -m elf_x86_64" 7479 ;; 7480 powerpcle-*linux*) 7481 LD="${LD-ld} -m elf64lppc" 7482 ;; 7483 powerpc-*linux*) 7484 LD="${LD-ld} -m elf64ppc" 7485 ;; 7486 s390*-*linux*|s390*-*tpf*) 7487 LD="${LD-ld} -m elf64_s390" 7488 ;; 7489 sparc*-*linux*) 7490 LD="${LD-ld} -m elf64_sparc" 7491 ;; 7492 esac 7493 ;; 7494 esac 7495 fi 7496 rm -rf conftest* 7497 ;; 7498 7499*-*-sco3.2v5*) 7500 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7501 SAVE_CFLAGS=$CFLAGS 7502 CFLAGS="$CFLAGS -belf" 7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7504$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7505if ${lt_cv_cc_needs_belf+:} false; then : 7506 $as_echo_n "(cached) " >&6 7507else 7508 ac_ext=c 7509ac_cpp='$CPP $CPPFLAGS' 7510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7512ac_compiler_gnu=$ac_cv_c_compiler_gnu 7513 7514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7515/* end confdefs.h. */ 7516 7517int 7518main () 7519{ 7520 7521 ; 7522 return 0; 7523} 7524_ACEOF 7525if ac_fn_c_try_link "$LINENO"; then : 7526 lt_cv_cc_needs_belf=yes 7527else 7528 lt_cv_cc_needs_belf=no 7529fi 7530rm -f core conftest.err conftest.$ac_objext \ 7531 conftest$ac_exeext conftest.$ac_ext 7532 ac_ext=c 7533ac_cpp='$CPP $CPPFLAGS' 7534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7536ac_compiler_gnu=$ac_cv_c_compiler_gnu 7537 7538fi 7539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7540$as_echo "$lt_cv_cc_needs_belf" >&6; } 7541 if test yes != "$lt_cv_cc_needs_belf"; then 7542 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7543 CFLAGS=$SAVE_CFLAGS 7544 fi 7545 ;; 7546*-*solaris*) 7547 # Find out what ABI is being produced by ac_compile, and set linker 7548 # options accordingly. 7549 echo 'int i;' > conftest.$ac_ext 7550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7551 (eval $ac_compile) 2>&5 7552 ac_status=$? 7553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7554 test $ac_status = 0; }; then 7555 case `/usr/bin/file conftest.o` in 7556 *64-bit*) 7557 case $lt_cv_prog_gnu_ld in 7558 yes*) 7559 case $host in 7560 i?86-*-solaris*|x86_64-*-solaris*) 7561 LD="${LD-ld} -m elf_x86_64" 7562 ;; 7563 sparc*-*-solaris*) 7564 LD="${LD-ld} -m elf64_sparc" 7565 ;; 7566 esac 7567 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7568 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7569 LD=${LD-ld}_sol2 7570 fi 7571 ;; 7572 *) 7573 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7574 LD="${LD-ld} -64" 7575 fi 7576 ;; 7577 esac 7578 ;; 7579 esac 7580 fi 7581 rm -rf conftest* 7582 ;; 7583esac 7584 7585need_locks=$enable_libtool_lock 7586 7587if test -n "$ac_tool_prefix"; then 7588 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7589set dummy ${ac_tool_prefix}mt; ac_word=$2 7590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7591$as_echo_n "checking for $ac_word... " >&6; } 7592if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7593 $as_echo_n "(cached) " >&6 7594else 7595 if test -n "$MANIFEST_TOOL"; then 7596 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7597else 7598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7599for as_dir in $PATH 7600do 7601 IFS=$as_save_IFS 7602 test -z "$as_dir" && as_dir=. 7603 for ac_exec_ext in '' $ac_executable_extensions; do 7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7605 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7607 break 2 7608 fi 7609done 7610 done 7611IFS=$as_save_IFS 7612 7613fi 7614fi 7615MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7616if test -n "$MANIFEST_TOOL"; then 7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7618$as_echo "$MANIFEST_TOOL" >&6; } 7619else 7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7621$as_echo "no" >&6; } 7622fi 7623 7624 7625fi 7626if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7627 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7628 # Extract the first word of "mt", so it can be a program name with args. 7629set dummy mt; ac_word=$2 7630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7631$as_echo_n "checking for $ac_word... " >&6; } 7632if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7633 $as_echo_n "(cached) " >&6 7634else 7635 if test -n "$ac_ct_MANIFEST_TOOL"; then 7636 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7637else 7638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7639for as_dir in $PATH 7640do 7641 IFS=$as_save_IFS 7642 test -z "$as_dir" && as_dir=. 7643 for ac_exec_ext in '' $ac_executable_extensions; do 7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7645 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7647 break 2 7648 fi 7649done 7650 done 7651IFS=$as_save_IFS 7652 7653fi 7654fi 7655ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7656if test -n "$ac_ct_MANIFEST_TOOL"; then 7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7658$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7659else 7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7661$as_echo "no" >&6; } 7662fi 7663 7664 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7665 MANIFEST_TOOL=":" 7666 else 7667 case $cross_compiling:$ac_tool_warned in 7668yes:) 7669{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7670$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7671ac_tool_warned=yes ;; 7672esac 7673 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7674 fi 7675else 7676 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7677fi 7678 7679test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7681$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7682if ${lt_cv_path_mainfest_tool+:} false; then : 7683 $as_echo_n "(cached) " >&6 7684else 7685 lt_cv_path_mainfest_tool=no 7686 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7687 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7688 cat conftest.err >&5 7689 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7690 lt_cv_path_mainfest_tool=yes 7691 fi 7692 rm -f conftest* 7693fi 7694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7695$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7696if test yes != "$lt_cv_path_mainfest_tool"; then 7697 MANIFEST_TOOL=: 7698fi 7699 7700 7701 7702 7703 7704 7705 case $host_os in 7706 rhapsody* | darwin*) 7707 if test -n "$ac_tool_prefix"; then 7708 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7709set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7711$as_echo_n "checking for $ac_word... " >&6; } 7712if ${ac_cv_prog_DSYMUTIL+:} false; then : 7713 $as_echo_n "(cached) " >&6 7714else 7715 if test -n "$DSYMUTIL"; then 7716 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7717else 7718as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7719for as_dir in $PATH 7720do 7721 IFS=$as_save_IFS 7722 test -z "$as_dir" && as_dir=. 7723 for ac_exec_ext in '' $ac_executable_extensions; do 7724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7725 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7727 break 2 7728 fi 7729done 7730 done 7731IFS=$as_save_IFS 7732 7733fi 7734fi 7735DSYMUTIL=$ac_cv_prog_DSYMUTIL 7736if test -n "$DSYMUTIL"; then 7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7738$as_echo "$DSYMUTIL" >&6; } 7739else 7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7741$as_echo "no" >&6; } 7742fi 7743 7744 7745fi 7746if test -z "$ac_cv_prog_DSYMUTIL"; then 7747 ac_ct_DSYMUTIL=$DSYMUTIL 7748 # Extract the first word of "dsymutil", so it can be a program name with args. 7749set dummy dsymutil; ac_word=$2 7750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7751$as_echo_n "checking for $ac_word... " >&6; } 7752if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7753 $as_echo_n "(cached) " >&6 7754else 7755 if test -n "$ac_ct_DSYMUTIL"; then 7756 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7757else 7758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7759for as_dir in $PATH 7760do 7761 IFS=$as_save_IFS 7762 test -z "$as_dir" && as_dir=. 7763 for ac_exec_ext in '' $ac_executable_extensions; do 7764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7765 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7767 break 2 7768 fi 7769done 7770 done 7771IFS=$as_save_IFS 7772 7773fi 7774fi 7775ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7776if test -n "$ac_ct_DSYMUTIL"; then 7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7778$as_echo "$ac_ct_DSYMUTIL" >&6; } 7779else 7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7781$as_echo "no" >&6; } 7782fi 7783 7784 if test "x$ac_ct_DSYMUTIL" = x; then 7785 DSYMUTIL=":" 7786 else 7787 case $cross_compiling:$ac_tool_warned in 7788yes:) 7789{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7790$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7791ac_tool_warned=yes ;; 7792esac 7793 DSYMUTIL=$ac_ct_DSYMUTIL 7794 fi 7795else 7796 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7797fi 7798 7799 if test -n "$ac_tool_prefix"; then 7800 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7801set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7803$as_echo_n "checking for $ac_word... " >&6; } 7804if ${ac_cv_prog_NMEDIT+:} false; then : 7805 $as_echo_n "(cached) " >&6 7806else 7807 if test -n "$NMEDIT"; then 7808 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7809else 7810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7811for as_dir in $PATH 7812do 7813 IFS=$as_save_IFS 7814 test -z "$as_dir" && as_dir=. 7815 for ac_exec_ext in '' $ac_executable_extensions; do 7816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7817 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7819 break 2 7820 fi 7821done 7822 done 7823IFS=$as_save_IFS 7824 7825fi 7826fi 7827NMEDIT=$ac_cv_prog_NMEDIT 7828if test -n "$NMEDIT"; then 7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7830$as_echo "$NMEDIT" >&6; } 7831else 7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7833$as_echo "no" >&6; } 7834fi 7835 7836 7837fi 7838if test -z "$ac_cv_prog_NMEDIT"; then 7839 ac_ct_NMEDIT=$NMEDIT 7840 # Extract the first word of "nmedit", so it can be a program name with args. 7841set dummy nmedit; ac_word=$2 7842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7843$as_echo_n "checking for $ac_word... " >&6; } 7844if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7845 $as_echo_n "(cached) " >&6 7846else 7847 if test -n "$ac_ct_NMEDIT"; then 7848 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7849else 7850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7851for as_dir in $PATH 7852do 7853 IFS=$as_save_IFS 7854 test -z "$as_dir" && as_dir=. 7855 for ac_exec_ext in '' $ac_executable_extensions; do 7856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7857 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7859 break 2 7860 fi 7861done 7862 done 7863IFS=$as_save_IFS 7864 7865fi 7866fi 7867ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7868if test -n "$ac_ct_NMEDIT"; then 7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7870$as_echo "$ac_ct_NMEDIT" >&6; } 7871else 7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7873$as_echo "no" >&6; } 7874fi 7875 7876 if test "x$ac_ct_NMEDIT" = x; then 7877 NMEDIT=":" 7878 else 7879 case $cross_compiling:$ac_tool_warned in 7880yes:) 7881{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7882$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7883ac_tool_warned=yes ;; 7884esac 7885 NMEDIT=$ac_ct_NMEDIT 7886 fi 7887else 7888 NMEDIT="$ac_cv_prog_NMEDIT" 7889fi 7890 7891 if test -n "$ac_tool_prefix"; then 7892 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7893set dummy ${ac_tool_prefix}lipo; ac_word=$2 7894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7895$as_echo_n "checking for $ac_word... " >&6; } 7896if ${ac_cv_prog_LIPO+:} false; then : 7897 $as_echo_n "(cached) " >&6 7898else 7899 if test -n "$LIPO"; then 7900 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7901else 7902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7903for as_dir in $PATH 7904do 7905 IFS=$as_save_IFS 7906 test -z "$as_dir" && as_dir=. 7907 for ac_exec_ext in '' $ac_executable_extensions; do 7908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7909 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7911 break 2 7912 fi 7913done 7914 done 7915IFS=$as_save_IFS 7916 7917fi 7918fi 7919LIPO=$ac_cv_prog_LIPO 7920if test -n "$LIPO"; then 7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7922$as_echo "$LIPO" >&6; } 7923else 7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7925$as_echo "no" >&6; } 7926fi 7927 7928 7929fi 7930if test -z "$ac_cv_prog_LIPO"; then 7931 ac_ct_LIPO=$LIPO 7932 # Extract the first word of "lipo", so it can be a program name with args. 7933set dummy lipo; ac_word=$2 7934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7935$as_echo_n "checking for $ac_word... " >&6; } 7936if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7937 $as_echo_n "(cached) " >&6 7938else 7939 if test -n "$ac_ct_LIPO"; then 7940 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7941else 7942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7943for as_dir in $PATH 7944do 7945 IFS=$as_save_IFS 7946 test -z "$as_dir" && as_dir=. 7947 for ac_exec_ext in '' $ac_executable_extensions; do 7948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7949 ac_cv_prog_ac_ct_LIPO="lipo" 7950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7951 break 2 7952 fi 7953done 7954 done 7955IFS=$as_save_IFS 7956 7957fi 7958fi 7959ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7960if test -n "$ac_ct_LIPO"; then 7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7962$as_echo "$ac_ct_LIPO" >&6; } 7963else 7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7965$as_echo "no" >&6; } 7966fi 7967 7968 if test "x$ac_ct_LIPO" = x; then 7969 LIPO=":" 7970 else 7971 case $cross_compiling:$ac_tool_warned in 7972yes:) 7973{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7974$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7975ac_tool_warned=yes ;; 7976esac 7977 LIPO=$ac_ct_LIPO 7978 fi 7979else 7980 LIPO="$ac_cv_prog_LIPO" 7981fi 7982 7983 if test -n "$ac_tool_prefix"; then 7984 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7985set dummy ${ac_tool_prefix}otool; ac_word=$2 7986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7987$as_echo_n "checking for $ac_word... " >&6; } 7988if ${ac_cv_prog_OTOOL+:} false; then : 7989 $as_echo_n "(cached) " >&6 7990else 7991 if test -n "$OTOOL"; then 7992 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7993else 7994as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7995for as_dir in $PATH 7996do 7997 IFS=$as_save_IFS 7998 test -z "$as_dir" && as_dir=. 7999 for ac_exec_ext in '' $ac_executable_extensions; do 8000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8001 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8003 break 2 8004 fi 8005done 8006 done 8007IFS=$as_save_IFS 8008 8009fi 8010fi 8011OTOOL=$ac_cv_prog_OTOOL 8012if test -n "$OTOOL"; then 8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8014$as_echo "$OTOOL" >&6; } 8015else 8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8017$as_echo "no" >&6; } 8018fi 8019 8020 8021fi 8022if test -z "$ac_cv_prog_OTOOL"; then 8023 ac_ct_OTOOL=$OTOOL 8024 # Extract the first word of "otool", so it can be a program name with args. 8025set dummy otool; ac_word=$2 8026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8027$as_echo_n "checking for $ac_word... " >&6; } 8028if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8029 $as_echo_n "(cached) " >&6 8030else 8031 if test -n "$ac_ct_OTOOL"; then 8032 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8033else 8034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8035for as_dir in $PATH 8036do 8037 IFS=$as_save_IFS 8038 test -z "$as_dir" && as_dir=. 8039 for ac_exec_ext in '' $ac_executable_extensions; do 8040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8041 ac_cv_prog_ac_ct_OTOOL="otool" 8042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8043 break 2 8044 fi 8045done 8046 done 8047IFS=$as_save_IFS 8048 8049fi 8050fi 8051ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8052if test -n "$ac_ct_OTOOL"; then 8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8054$as_echo "$ac_ct_OTOOL" >&6; } 8055else 8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8057$as_echo "no" >&6; } 8058fi 8059 8060 if test "x$ac_ct_OTOOL" = x; then 8061 OTOOL=":" 8062 else 8063 case $cross_compiling:$ac_tool_warned in 8064yes:) 8065{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8066$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8067ac_tool_warned=yes ;; 8068esac 8069 OTOOL=$ac_ct_OTOOL 8070 fi 8071else 8072 OTOOL="$ac_cv_prog_OTOOL" 8073fi 8074 8075 if test -n "$ac_tool_prefix"; then 8076 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8077set dummy ${ac_tool_prefix}otool64; ac_word=$2 8078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8079$as_echo_n "checking for $ac_word... " >&6; } 8080if ${ac_cv_prog_OTOOL64+:} false; then : 8081 $as_echo_n "(cached) " >&6 8082else 8083 if test -n "$OTOOL64"; then 8084 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8085else 8086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8087for as_dir in $PATH 8088do 8089 IFS=$as_save_IFS 8090 test -z "$as_dir" && as_dir=. 8091 for ac_exec_ext in '' $ac_executable_extensions; do 8092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8093 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8095 break 2 8096 fi 8097done 8098 done 8099IFS=$as_save_IFS 8100 8101fi 8102fi 8103OTOOL64=$ac_cv_prog_OTOOL64 8104if test -n "$OTOOL64"; then 8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8106$as_echo "$OTOOL64" >&6; } 8107else 8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8109$as_echo "no" >&6; } 8110fi 8111 8112 8113fi 8114if test -z "$ac_cv_prog_OTOOL64"; then 8115 ac_ct_OTOOL64=$OTOOL64 8116 # Extract the first word of "otool64", so it can be a program name with args. 8117set dummy otool64; ac_word=$2 8118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8119$as_echo_n "checking for $ac_word... " >&6; } 8120if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8121 $as_echo_n "(cached) " >&6 8122else 8123 if test -n "$ac_ct_OTOOL64"; then 8124 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8125else 8126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8127for as_dir in $PATH 8128do 8129 IFS=$as_save_IFS 8130 test -z "$as_dir" && as_dir=. 8131 for ac_exec_ext in '' $ac_executable_extensions; do 8132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8133 ac_cv_prog_ac_ct_OTOOL64="otool64" 8134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8135 break 2 8136 fi 8137done 8138 done 8139IFS=$as_save_IFS 8140 8141fi 8142fi 8143ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8144if test -n "$ac_ct_OTOOL64"; then 8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8146$as_echo "$ac_ct_OTOOL64" >&6; } 8147else 8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8149$as_echo "no" >&6; } 8150fi 8151 8152 if test "x$ac_ct_OTOOL64" = x; then 8153 OTOOL64=":" 8154 else 8155 case $cross_compiling:$ac_tool_warned in 8156yes:) 8157{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8158$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8159ac_tool_warned=yes ;; 8160esac 8161 OTOOL64=$ac_ct_OTOOL64 8162 fi 8163else 8164 OTOOL64="$ac_cv_prog_OTOOL64" 8165fi 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8194$as_echo_n "checking for -single_module linker flag... " >&6; } 8195if ${lt_cv_apple_cc_single_mod+:} false; then : 8196 $as_echo_n "(cached) " >&6 8197else 8198 lt_cv_apple_cc_single_mod=no 8199 if test -z "$LT_MULTI_MODULE"; then 8200 # By default we will add the -single_module flag. You can override 8201 # by either setting the environment variable LT_MULTI_MODULE 8202 # non-empty at configure time, or by adding -multi_module to the 8203 # link flags. 8204 rm -rf libconftest.dylib* 8205 echo "int foo(void){return 1;}" > conftest.c 8206 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8207-dynamiclib -Wl,-single_module conftest.c" >&5 8208 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8209 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8210 _lt_result=$? 8211 # If there is a non-empty error log, and "single_module" 8212 # appears in it, assume the flag caused a linker warning 8213 if test -s conftest.err && $GREP single_module conftest.err; then 8214 cat conftest.err >&5 8215 # Otherwise, if the output was created with a 0 exit code from 8216 # the compiler, it worked. 8217 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8218 lt_cv_apple_cc_single_mod=yes 8219 else 8220 cat conftest.err >&5 8221 fi 8222 rm -rf libconftest.dylib* 8223 rm -f conftest.* 8224 fi 8225fi 8226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8227$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8228 8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8230$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8231if ${lt_cv_ld_exported_symbols_list+:} false; then : 8232 $as_echo_n "(cached) " >&6 8233else 8234 lt_cv_ld_exported_symbols_list=no 8235 save_LDFLAGS=$LDFLAGS 8236 echo "_main" > conftest.sym 8237 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8239/* end confdefs.h. */ 8240 8241int 8242main () 8243{ 8244 8245 ; 8246 return 0; 8247} 8248_ACEOF 8249if ac_fn_c_try_link "$LINENO"; then : 8250 lt_cv_ld_exported_symbols_list=yes 8251else 8252 lt_cv_ld_exported_symbols_list=no 8253fi 8254rm -f core conftest.err conftest.$ac_objext \ 8255 conftest$ac_exeext conftest.$ac_ext 8256 LDFLAGS=$save_LDFLAGS 8257 8258fi 8259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8260$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8261 8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8263$as_echo_n "checking for -force_load linker flag... " >&6; } 8264if ${lt_cv_ld_force_load+:} false; then : 8265 $as_echo_n "(cached) " >&6 8266else 8267 lt_cv_ld_force_load=no 8268 cat > conftest.c << _LT_EOF 8269int forced_loaded() { return 2;} 8270_LT_EOF 8271 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8272 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8273 echo "$AR cru libconftest.a conftest.o" >&5 8274 $AR cru libconftest.a conftest.o 2>&5 8275 echo "$RANLIB libconftest.a" >&5 8276 $RANLIB libconftest.a 2>&5 8277 cat > conftest.c << _LT_EOF 8278int main() { return 0;} 8279_LT_EOF 8280 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8281 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8282 _lt_result=$? 8283 if test -s conftest.err && $GREP force_load conftest.err; then 8284 cat conftest.err >&5 8285 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8286 lt_cv_ld_force_load=yes 8287 else 8288 cat conftest.err >&5 8289 fi 8290 rm -f conftest.err libconftest.a conftest conftest.c 8291 rm -rf conftest.dSYM 8292 8293fi 8294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8295$as_echo "$lt_cv_ld_force_load" >&6; } 8296 case $host_os in 8297 rhapsody* | darwin1.[012]) 8298 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8299 darwin1.*) 8300 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8301 darwin*) # darwin 5.x on 8302 # if running on 10.5 or later, the deployment target defaults 8303 # to the OS version, if on x86, and 10.4, the deployment 8304 # target defaults to 10.4. Don't you love it? 8305 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8306 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8307 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8308 10.[012][,.]*) 8309 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8310 10.*) 8311 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8312 esac 8313 ;; 8314 esac 8315 if test yes = "$lt_cv_apple_cc_single_mod"; then 8316 _lt_dar_single_mod='$single_module' 8317 fi 8318 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8319 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8320 else 8321 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8322 fi 8323 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8324 _lt_dsymutil='~$DSYMUTIL $lib || :' 8325 else 8326 _lt_dsymutil= 8327 fi 8328 ;; 8329 esac 8330 8331# func_munge_path_list VARIABLE PATH 8332# ----------------------------------- 8333# VARIABLE is name of variable containing _space_ separated list of 8334# directories to be munged by the contents of PATH, which is string 8335# having a format: 8336# "DIR[:DIR]:" 8337# string "DIR[ DIR]" will be prepended to VARIABLE 8338# ":DIR[:DIR]" 8339# string "DIR[ DIR]" will be appended to VARIABLE 8340# "DIRP[:DIRP]::[DIRA:]DIRA" 8341# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8342# "DIRA[ DIRA]" will be appended to VARIABLE 8343# "DIR[:DIR]" 8344# VARIABLE will be replaced by "DIR[ DIR]" 8345func_munge_path_list () 8346{ 8347 case x$2 in 8348 x) 8349 ;; 8350 *:) 8351 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8352 ;; 8353 x:*) 8354 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8355 ;; 8356 *::*) 8357 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8358 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8359 ;; 8360 *) 8361 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8362 ;; 8363 esac 8364} 8365 8366ac_ext=c 8367ac_cpp='$CPP $CPPFLAGS' 8368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8370ac_compiler_gnu=$ac_cv_c_compiler_gnu 8371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8372$as_echo_n "checking how to run the C preprocessor... " >&6; } 8373# On Suns, sometimes $CPP names a directory. 8374if test -n "$CPP" && test -d "$CPP"; then 8375 CPP= 8376fi 8377if test -z "$CPP"; then 8378 if ${ac_cv_prog_CPP+:} false; then : 8379 $as_echo_n "(cached) " >&6 8380else 8381 # Double quotes because CPP needs to be expanded 8382 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8383 do 8384 ac_preproc_ok=false 8385for ac_c_preproc_warn_flag in '' yes 8386do 8387 # Use a header file that comes with gcc, so configuring glibc 8388 # with a fresh cross-compiler works. 8389 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8390 # <limits.h> exists even on freestanding compilers. 8391 # On the NeXT, cc -E runs the code through the compiler's parser, 8392 # not just through cpp. "Syntax error" is here to catch this case. 8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8394/* end confdefs.h. */ 8395#ifdef __STDC__ 8396# include <limits.h> 8397#else 8398# include <assert.h> 8399#endif 8400 Syntax error 8401_ACEOF 8402if ac_fn_c_try_cpp "$LINENO"; then : 8403 8404else 8405 # Broken: fails on valid input. 8406continue 8407fi 8408rm -f conftest.err conftest.i conftest.$ac_ext 8409 8410 # OK, works on sane cases. Now check whether nonexistent headers 8411 # can be detected and how. 8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8413/* end confdefs.h. */ 8414#include <ac_nonexistent.h> 8415_ACEOF 8416if ac_fn_c_try_cpp "$LINENO"; then : 8417 # Broken: success on invalid input. 8418continue 8419else 8420 # Passes both tests. 8421ac_preproc_ok=: 8422break 8423fi 8424rm -f conftest.err conftest.i conftest.$ac_ext 8425 8426done 8427# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8428rm -f conftest.i conftest.err conftest.$ac_ext 8429if $ac_preproc_ok; then : 8430 break 8431fi 8432 8433 done 8434 ac_cv_prog_CPP=$CPP 8435 8436fi 8437 CPP=$ac_cv_prog_CPP 8438else 8439 ac_cv_prog_CPP=$CPP 8440fi 8441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8442$as_echo "$CPP" >&6; } 8443ac_preproc_ok=false 8444for ac_c_preproc_warn_flag in '' yes 8445do 8446 # Use a header file that comes with gcc, so configuring glibc 8447 # with a fresh cross-compiler works. 8448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8449 # <limits.h> exists even on freestanding compilers. 8450 # On the NeXT, cc -E runs the code through the compiler's parser, 8451 # not just through cpp. "Syntax error" is here to catch this case. 8452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8453/* end confdefs.h. */ 8454#ifdef __STDC__ 8455# include <limits.h> 8456#else 8457# include <assert.h> 8458#endif 8459 Syntax error 8460_ACEOF 8461if ac_fn_c_try_cpp "$LINENO"; then : 8462 8463else 8464 # Broken: fails on valid input. 8465continue 8466fi 8467rm -f conftest.err conftest.i conftest.$ac_ext 8468 8469 # OK, works on sane cases. Now check whether nonexistent headers 8470 # can be detected and how. 8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8472/* end confdefs.h. */ 8473#include <ac_nonexistent.h> 8474_ACEOF 8475if ac_fn_c_try_cpp "$LINENO"; then : 8476 # Broken: success on invalid input. 8477continue 8478else 8479 # Passes both tests. 8480ac_preproc_ok=: 8481break 8482fi 8483rm -f conftest.err conftest.i conftest.$ac_ext 8484 8485done 8486# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8487rm -f conftest.i conftest.err conftest.$ac_ext 8488if $ac_preproc_ok; then : 8489 8490else 8491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8493as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8494See \`config.log' for more details" "$LINENO" 5; } 8495fi 8496 8497ac_ext=c 8498ac_cpp='$CPP $CPPFLAGS' 8499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8501ac_compiler_gnu=$ac_cv_c_compiler_gnu 8502 8503 8504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8505$as_echo_n "checking for ANSI C header files... " >&6; } 8506if ${ac_cv_header_stdc+:} false; then : 8507 $as_echo_n "(cached) " >&6 8508else 8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8510/* end confdefs.h. */ 8511#include <stdlib.h> 8512#include <stdarg.h> 8513#include <string.h> 8514#include <float.h> 8515 8516int 8517main () 8518{ 8519 8520 ; 8521 return 0; 8522} 8523_ACEOF 8524if ac_fn_c_try_compile "$LINENO"; then : 8525 ac_cv_header_stdc=yes 8526else 8527 ac_cv_header_stdc=no 8528fi 8529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8530 8531if test $ac_cv_header_stdc = yes; then 8532 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8534/* end confdefs.h. */ 8535#include <string.h> 8536 8537_ACEOF 8538if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8539 $EGREP "memchr" >/dev/null 2>&1; then : 8540 8541else 8542 ac_cv_header_stdc=no 8543fi 8544rm -f conftest* 8545 8546fi 8547 8548if test $ac_cv_header_stdc = yes; then 8549 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8551/* end confdefs.h. */ 8552#include <stdlib.h> 8553 8554_ACEOF 8555if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8556 $EGREP "free" >/dev/null 2>&1; then : 8557 8558else 8559 ac_cv_header_stdc=no 8560fi 8561rm -f conftest* 8562 8563fi 8564 8565if test $ac_cv_header_stdc = yes; then 8566 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8567 if test "$cross_compiling" = yes; then : 8568 : 8569else 8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8571/* end confdefs.h. */ 8572#include <ctype.h> 8573#include <stdlib.h> 8574#if ((' ' & 0x0FF) == 0x020) 8575# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8576# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8577#else 8578# define ISLOWER(c) \ 8579 (('a' <= (c) && (c) <= 'i') \ 8580 || ('j' <= (c) && (c) <= 'r') \ 8581 || ('s' <= (c) && (c) <= 'z')) 8582# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8583#endif 8584 8585#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8586int 8587main () 8588{ 8589 int i; 8590 for (i = 0; i < 256; i++) 8591 if (XOR (islower (i), ISLOWER (i)) 8592 || toupper (i) != TOUPPER (i)) 8593 return 2; 8594 return 0; 8595} 8596_ACEOF 8597if ac_fn_c_try_run "$LINENO"; then : 8598 8599else 8600 ac_cv_header_stdc=no 8601fi 8602rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8603 conftest.$ac_objext conftest.beam conftest.$ac_ext 8604fi 8605 8606fi 8607fi 8608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8609$as_echo "$ac_cv_header_stdc" >&6; } 8610if test $ac_cv_header_stdc = yes; then 8611 8612$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8613 8614fi 8615 8616# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8617for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8618 inttypes.h stdint.h unistd.h 8619do : 8620 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8621ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8622" 8623if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8624 cat >>confdefs.h <<_ACEOF 8625#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8626_ACEOF 8627 8628fi 8629 8630done 8631 8632 8633for ac_header in dlfcn.h 8634do : 8635 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8636" 8637if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8638 cat >>confdefs.h <<_ACEOF 8639#define HAVE_DLFCN_H 1 8640_ACEOF 8641 8642fi 8643 8644done 8645 8646 8647if test "`cd $srcdir && pwd`" != "`pwd`"; then 8648 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 8649 # is not polluted with repeated "-I." 8650 am__isrc=' -I$(srcdir)' 8651 # test to see if srcdir already configured 8652 if test -f $srcdir/config.status; then 8653 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 8654 fi 8655fi 8656 8657# test whether we have cygpath 8658if test -z "$CYGPATH_W"; then 8659 if (cygpath --version) >/dev/null 2>/dev/null; then 8660 CYGPATH_W='cygpath -w' 8661 else 8662 CYGPATH_W=echo 8663 fi 8664fi 8665 8666 8667# Define the identity of the package. 8668 PACKAGE='web2c' 8669 VERSION='2015' 8670 8671 8672cat >>confdefs.h <<_ACEOF 8673#define PACKAGE "$PACKAGE" 8674_ACEOF 8675 8676 8677cat >>confdefs.h <<_ACEOF 8678#define VERSION "$VERSION" 8679_ACEOF 8680 8681# Some tools Automake needs. 8682 8683ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 8684 8685 8686AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 8687 8688 8689AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 8690 8691 8692AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 8693 8694 8695MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 8696 8697# For better backward compatibility. To be removed once Automake 1.9.x 8698# dies out for good. For more background, see: 8699# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 8700# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 8701mkdir_p='$(MKDIR_P)' 8702 8703# We need awk for the "check" target (and possibly the TAP driver). The 8704# system "awk" is bad on some platforms. 8705# Always define AMTAR for backward compatibility. Yes, it's still used 8706# in the wild :-( We should find a proper way to deprecate it ... 8707AMTAR='$${TAR-tar}' 8708 8709 8710# We'll loop over all known methods to create a tar archive until one works. 8711_am_tools='gnutar pax cpio none' 8712 8713am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 8714 8715 8716 8717 8718 8719 8720# POSIX will say in a future version that running "rm -f" with no argument 8721# is OK; and we want to be able to make that assumption in our Makefile 8722# recipes. So use an aggressive probe to check that the usage we want is 8723# actually supported "in the wild" to an acceptable degree. 8724# See automake bug#10828. 8725# To make any issue more visible, cause the running configure to be aborted 8726# by default if the 'rm' program in use doesn't match our expectations; the 8727# user can still override this though. 8728if rm -f && rm -fr && rm -rf; then : OK; else 8729 cat >&2 <<'END' 8730Oops! 8731 8732Your 'rm' program seems unable to run without file operands specified 8733on the command line, even when the '-f' option is present. This is contrary 8734to the behaviour of most rm programs out there, and not conforming with 8735the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 8736 8737Please tell bug-automake@gnu.org about your system, including the value 8738of your $PATH and any error possibly output before this message. This 8739can help us improve future automake versions. 8740 8741END 8742 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 8743 echo 'Configuration will proceed anyway, since you have set the' >&2 8744 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 8745 echo >&2 8746 else 8747 cat >&2 <<'END' 8748Aborting the configuration process, to ensure you take notice of the issue. 8749 8750You can download and install GNU coreutils to get an 'rm' implementation 8751that behaves properly: <http://www.gnu.org/software/coreutils/>. 8752 8753If you want to complete the configuration process using your problematic 8754'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 8755to "yes", and re-run configure. 8756 8757END 8758 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 8759 fi 8760fi 8761 8762 8763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 8764$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 8765 # Check whether --enable-maintainer-mode was given. 8766if test "${enable_maintainer_mode+set}" = set; then : 8767 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 8768else 8769 USE_MAINTAINER_MODE=no 8770fi 8771 8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 8773$as_echo "$USE_MAINTAINER_MODE" >&6; } 8774 if test $USE_MAINTAINER_MODE = yes; then 8775 MAINTAINER_MODE_TRUE= 8776 MAINTAINER_MODE_FALSE='#' 8777else 8778 MAINTAINER_MODE_TRUE='#' 8779 MAINTAINER_MODE_FALSE= 8780fi 8781 8782 MAINT=$MAINTAINER_MODE_TRUE 8783 8784 8785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 8786$as_echo_n "checking whether the compiler accepts prototypes... " >&6; } 8787if ${kb_cv_c_prototypes+:} false; then : 8788 $as_echo_n "(cached) " >&6 8789else 8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8791/* end confdefs.h. */ 8792#include <stdarg.h> 8793int 8794main () 8795{ 8796extern void foo(int i,...); 8797 ; 8798 return 0; 8799} 8800_ACEOF 8801if ac_fn_c_try_link "$LINENO"; then : 8802 kb_cv_c_prototypes=yes 8803else 8804 kb_cv_c_prototypes=no 8805fi 8806rm -f core conftest.err conftest.$ac_objext \ 8807 conftest$ac_exeext conftest.$ac_ext 8808fi 8809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5 8810$as_echo "$kb_cv_c_prototypes" >&6; } 8811if test "x$kb_cv_c_prototypes" = xno; then 8812 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 8813fi 8814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 8815$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 8816if ${kpse_cv_warning_cflags+:} false; then : 8817 $as_echo_n "(cached) " >&6 8818else 8819 if test "x$GCC" = xyes; then 8820 kpse_cv_warning_cflags= 8821if test "x$enable_compiler_warnings" != xno; then 8822 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type" 8823 case `$CC -dumpversion` in #( 8824 3.4.* | 4.*) : 8825 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #( 8826 *) : 8827 ;; 8828esac 8829 case `$CC -dumpversion` in #( 8830 3.[234].* | 4.*) : 8831 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #( 8832 *) : 8833 ;; 8834esac 8835 if test "x$enable_compiler_warnings" != xmin; then 8836 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags" 8837 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" 8838 if test "x$enable_compiler_warnings" != xyes; then 8839 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" 8840 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings" 8841 case `$CC -dumpversion` in #( 8842 3.4.* | 4.*) : 8843 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #( 8844 *) : 8845 ;; 8846esac 8847 if test "x$enable_compiler_warnings" != xmax; then 8848 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow" 8849 fi 8850 fi 8851 fi 8852fi 8853elif test "x$enable_compiler_warnings" = xno; then 8854 kpse_cv_warning_cflags= 8855else 8856 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers 8857fi 8858fi 8859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5 8860$as_echo "$kpse_cv_warning_cflags" >&6; } 8861WARNING_CFLAGS=$kpse_cv_warning_cflags 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874# Set options 8875enable_win32_dll=yes 8876 8877case $host in 8878*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 8879 if test -n "$ac_tool_prefix"; then 8880 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 8881set dummy ${ac_tool_prefix}as; ac_word=$2 8882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8883$as_echo_n "checking for $ac_word... " >&6; } 8884if ${ac_cv_prog_AS+:} false; then : 8885 $as_echo_n "(cached) " >&6 8886else 8887 if test -n "$AS"; then 8888 ac_cv_prog_AS="$AS" # Let the user override the test. 8889else 8890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8891for as_dir in $PATH 8892do 8893 IFS=$as_save_IFS 8894 test -z "$as_dir" && as_dir=. 8895 for ac_exec_ext in '' $ac_executable_extensions; do 8896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8897 ac_cv_prog_AS="${ac_tool_prefix}as" 8898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8899 break 2 8900 fi 8901done 8902 done 8903IFS=$as_save_IFS 8904 8905fi 8906fi 8907AS=$ac_cv_prog_AS 8908if test -n "$AS"; then 8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8910$as_echo "$AS" >&6; } 8911else 8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8913$as_echo "no" >&6; } 8914fi 8915 8916 8917fi 8918if test -z "$ac_cv_prog_AS"; then 8919 ac_ct_AS=$AS 8920 # Extract the first word of "as", so it can be a program name with args. 8921set dummy as; ac_word=$2 8922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8923$as_echo_n "checking for $ac_word... " >&6; } 8924if ${ac_cv_prog_ac_ct_AS+:} false; then : 8925 $as_echo_n "(cached) " >&6 8926else 8927 if test -n "$ac_ct_AS"; then 8928 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8929else 8930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8931for as_dir in $PATH 8932do 8933 IFS=$as_save_IFS 8934 test -z "$as_dir" && as_dir=. 8935 for ac_exec_ext in '' $ac_executable_extensions; do 8936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8937 ac_cv_prog_ac_ct_AS="as" 8938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8939 break 2 8940 fi 8941done 8942 done 8943IFS=$as_save_IFS 8944 8945fi 8946fi 8947ac_ct_AS=$ac_cv_prog_ac_ct_AS 8948if test -n "$ac_ct_AS"; then 8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 8950$as_echo "$ac_ct_AS" >&6; } 8951else 8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8953$as_echo "no" >&6; } 8954fi 8955 8956 if test "x$ac_ct_AS" = x; then 8957 AS="false" 8958 else 8959 case $cross_compiling:$ac_tool_warned in 8960yes:) 8961{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8962$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8963ac_tool_warned=yes ;; 8964esac 8965 AS=$ac_ct_AS 8966 fi 8967else 8968 AS="$ac_cv_prog_AS" 8969fi 8970 8971 if test -n "$ac_tool_prefix"; then 8972 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8973set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8975$as_echo_n "checking for $ac_word... " >&6; } 8976if ${ac_cv_prog_DLLTOOL+:} false; then : 8977 $as_echo_n "(cached) " >&6 8978else 8979 if test -n "$DLLTOOL"; then 8980 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8981else 8982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8983for as_dir in $PATH 8984do 8985 IFS=$as_save_IFS 8986 test -z "$as_dir" && as_dir=. 8987 for ac_exec_ext in '' $ac_executable_extensions; do 8988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8989 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8991 break 2 8992 fi 8993done 8994 done 8995IFS=$as_save_IFS 8996 8997fi 8998fi 8999DLLTOOL=$ac_cv_prog_DLLTOOL 9000if test -n "$DLLTOOL"; then 9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 9002$as_echo "$DLLTOOL" >&6; } 9003else 9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9005$as_echo "no" >&6; } 9006fi 9007 9008 9009fi 9010if test -z "$ac_cv_prog_DLLTOOL"; then 9011 ac_ct_DLLTOOL=$DLLTOOL 9012 # Extract the first word of "dlltool", so it can be a program name with args. 9013set dummy dlltool; ac_word=$2 9014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9015$as_echo_n "checking for $ac_word... " >&6; } 9016if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 9017 $as_echo_n "(cached) " >&6 9018else 9019 if test -n "$ac_ct_DLLTOOL"; then 9020 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 9021else 9022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9023for as_dir in $PATH 9024do 9025 IFS=$as_save_IFS 9026 test -z "$as_dir" && as_dir=. 9027 for ac_exec_ext in '' $ac_executable_extensions; do 9028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9029 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 9030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9031 break 2 9032 fi 9033done 9034 done 9035IFS=$as_save_IFS 9036 9037fi 9038fi 9039ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 9040if test -n "$ac_ct_DLLTOOL"; then 9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 9042$as_echo "$ac_ct_DLLTOOL" >&6; } 9043else 9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9045$as_echo "no" >&6; } 9046fi 9047 9048 if test "x$ac_ct_DLLTOOL" = x; then 9049 DLLTOOL="false" 9050 else 9051 case $cross_compiling:$ac_tool_warned in 9052yes:) 9053{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9054$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9055ac_tool_warned=yes ;; 9056esac 9057 DLLTOOL=$ac_ct_DLLTOOL 9058 fi 9059else 9060 DLLTOOL="$ac_cv_prog_DLLTOOL" 9061fi 9062 9063 if test -n "$ac_tool_prefix"; then 9064 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 9065set dummy ${ac_tool_prefix}objdump; ac_word=$2 9066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9067$as_echo_n "checking for $ac_word... " >&6; } 9068if ${ac_cv_prog_OBJDUMP+:} false; then : 9069 $as_echo_n "(cached) " >&6 9070else 9071 if test -n "$OBJDUMP"; then 9072 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 9073else 9074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9075for as_dir in $PATH 9076do 9077 IFS=$as_save_IFS 9078 test -z "$as_dir" && as_dir=. 9079 for ac_exec_ext in '' $ac_executable_extensions; do 9080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9081 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 9082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9083 break 2 9084 fi 9085done 9086 done 9087IFS=$as_save_IFS 9088 9089fi 9090fi 9091OBJDUMP=$ac_cv_prog_OBJDUMP 9092if test -n "$OBJDUMP"; then 9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 9094$as_echo "$OBJDUMP" >&6; } 9095else 9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9097$as_echo "no" >&6; } 9098fi 9099 9100 9101fi 9102if test -z "$ac_cv_prog_OBJDUMP"; then 9103 ac_ct_OBJDUMP=$OBJDUMP 9104 # Extract the first word of "objdump", so it can be a program name with args. 9105set dummy objdump; ac_word=$2 9106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9107$as_echo_n "checking for $ac_word... " >&6; } 9108if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 9109 $as_echo_n "(cached) " >&6 9110else 9111 if test -n "$ac_ct_OBJDUMP"; then 9112 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 9113else 9114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9115for as_dir in $PATH 9116do 9117 IFS=$as_save_IFS 9118 test -z "$as_dir" && as_dir=. 9119 for ac_exec_ext in '' $ac_executable_extensions; do 9120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9121 ac_cv_prog_ac_ct_OBJDUMP="objdump" 9122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9123 break 2 9124 fi 9125done 9126 done 9127IFS=$as_save_IFS 9128 9129fi 9130fi 9131ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 9132if test -n "$ac_ct_OBJDUMP"; then 9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 9134$as_echo "$ac_ct_OBJDUMP" >&6; } 9135else 9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9137$as_echo "no" >&6; } 9138fi 9139 9140 if test "x$ac_ct_OBJDUMP" = x; then 9141 OBJDUMP="false" 9142 else 9143 case $cross_compiling:$ac_tool_warned in 9144yes:) 9145{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9146$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9147ac_tool_warned=yes ;; 9148esac 9149 OBJDUMP=$ac_ct_OBJDUMP 9150 fi 9151else 9152 OBJDUMP="$ac_cv_prog_OBJDUMP" 9153fi 9154 9155 ;; 9156esac 9157 9158test -z "$AS" && AS=as 9159 9160 9161 9162 9163 9164test -z "$DLLTOOL" && DLLTOOL=dlltool 9165 9166 9167 9168 9169 9170test -z "$OBJDUMP" && OBJDUMP=objdump 9171 9172 9173 9174 9175 9176 9177 9178 enable_dlopen=no 9179 9180 9181 9182 # Check whether --enable-shared was given. 9183if test "${enable_shared+set}" = set; then : 9184 enableval=$enable_shared; p=${PACKAGE-default} 9185 case $enableval in 9186 yes) enable_shared=yes ;; 9187 no) enable_shared=no ;; 9188 *) 9189 enable_shared=no 9190 # Look at the argument we got. We use all the common list separators. 9191 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9192 for pkg in $enableval; do 9193 IFS=$lt_save_ifs 9194 if test "X$pkg" = "X$p"; then 9195 enable_shared=yes 9196 fi 9197 done 9198 IFS=$lt_save_ifs 9199 ;; 9200 esac 9201else 9202 enable_shared=yes 9203fi 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 # Check whether --enable-static was given. 9214if test "${enable_static+set}" = set; then : 9215 enableval=$enable_static; p=${PACKAGE-default} 9216 case $enableval in 9217 yes) enable_static=yes ;; 9218 no) enable_static=no ;; 9219 *) 9220 enable_static=no 9221 # Look at the argument we got. We use all the common list separators. 9222 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9223 for pkg in $enableval; do 9224 IFS=$lt_save_ifs 9225 if test "X$pkg" = "X$p"; then 9226 enable_static=yes 9227 fi 9228 done 9229 IFS=$lt_save_ifs 9230 ;; 9231 esac 9232else 9233 enable_static=yes 9234fi 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245# Check whether --with-pic was given. 9246if test "${with_pic+set}" = set; then : 9247 withval=$with_pic; lt_p=${PACKAGE-default} 9248 case $withval in 9249 yes|no) pic_mode=$withval ;; 9250 *) 9251 pic_mode=default 9252 # Look at the argument we got. We use all the common list separators. 9253 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9254 for lt_pkg in $withval; do 9255 IFS=$lt_save_ifs 9256 if test "X$lt_pkg" = "X$lt_p"; then 9257 pic_mode=yes 9258 fi 9259 done 9260 IFS=$lt_save_ifs 9261 ;; 9262 esac 9263else 9264 pic_mode=default 9265fi 9266 9267 9268 9269 9270 9271 9272 9273 9274 # Check whether --enable-fast-install was given. 9275if test "${enable_fast_install+set}" = set; then : 9276 enableval=$enable_fast_install; p=${PACKAGE-default} 9277 case $enableval in 9278 yes) enable_fast_install=yes ;; 9279 no) enable_fast_install=no ;; 9280 *) 9281 enable_fast_install=no 9282 # Look at the argument we got. We use all the common list separators. 9283 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9284 for pkg in $enableval; do 9285 IFS=$lt_save_ifs 9286 if test "X$pkg" = "X$p"; then 9287 enable_fast_install=yes 9288 fi 9289 done 9290 IFS=$lt_save_ifs 9291 ;; 9292 esac 9293else 9294 enable_fast_install=yes 9295fi 9296 9297 9298 9299 9300 9301 9302 9303 9304 shared_archive_member_spec= 9305case $host,$enable_shared in 9306power*-*-aix[5-9]*,yes) 9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9308$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9309 9310# Check whether --with-aix-soname was given. 9311if test "${with_aix_soname+set}" = set; then : 9312 withval=$with_aix_soname; case $withval in 9313 aix|svr4|both) 9314 ;; 9315 *) 9316 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9317 ;; 9318 esac 9319 lt_cv_with_aix_soname=$with_aix_soname 9320else 9321 if ${lt_cv_with_aix_soname+:} false; then : 9322 $as_echo_n "(cached) " >&6 9323else 9324 lt_cv_with_aix_soname=aix 9325fi 9326 9327 with_aix_soname=$lt_cv_with_aix_soname 9328fi 9329 9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9331$as_echo "$with_aix_soname" >&6; } 9332 if test aix != "$with_aix_soname"; then 9333 # For the AIX way of multilib, we name the shared archive member 9334 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9335 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9336 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9337 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9338 if test 64 = "${OBJECT_MODE-32}"; then 9339 shared_archive_member_spec=shr_64 9340 else 9341 shared_archive_member_spec=shr 9342 fi 9343 fi 9344 ;; 9345*) 9346 with_aix_soname=aix 9347 ;; 9348esac 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359# This can be used to rebuild libtool when needed 9360LIBTOOL_DEPS=$ltmain 9361 9362# Always use our own libtool. 9363LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394test -z "$LN_S" && LN_S="ln -s" 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409if test -n "${ZSH_VERSION+set}"; then 9410 setopt NO_GLOB_SUBST 9411fi 9412 9413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9414$as_echo_n "checking for objdir... " >&6; } 9415if ${lt_cv_objdir+:} false; then : 9416 $as_echo_n "(cached) " >&6 9417else 9418 rm -f .libs 2>/dev/null 9419mkdir .libs 2>/dev/null 9420if test -d .libs; then 9421 lt_cv_objdir=.libs 9422else 9423 # MS-DOS does not allow filenames that begin with a dot. 9424 lt_cv_objdir=_libs 9425fi 9426rmdir .libs 2>/dev/null 9427fi 9428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9429$as_echo "$lt_cv_objdir" >&6; } 9430objdir=$lt_cv_objdir 9431 9432 9433 9434 9435 9436cat >>confdefs.h <<_ACEOF 9437#define LT_OBJDIR "$lt_cv_objdir/" 9438_ACEOF 9439 9440 9441 9442 9443case $host_os in 9444aix3*) 9445 # AIX sometimes has problems with the GCC collect2 program. For some 9446 # reason, if we set the COLLECT_NAMES environment variable, the problems 9447 # vanish in a puff of smoke. 9448 if test set != "${COLLECT_NAMES+set}"; then 9449 COLLECT_NAMES= 9450 export COLLECT_NAMES 9451 fi 9452 ;; 9453esac 9454 9455# Global variables: 9456ofile=libtool 9457can_build_shared=yes 9458 9459# All known linkers require a '.a' archive for static linking (except MSVC, 9460# which needs '.lib'). 9461libext=a 9462 9463with_gnu_ld=$lt_cv_prog_gnu_ld 9464 9465old_CC=$CC 9466old_CFLAGS=$CFLAGS 9467 9468# Set sane defaults for various variables 9469test -z "$CC" && CC=cc 9470test -z "$LTCC" && LTCC=$CC 9471test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9472test -z "$LD" && LD=ld 9473test -z "$ac_objext" && ac_objext=o 9474 9475func_cc_basename $compiler 9476cc_basename=$func_cc_basename_result 9477 9478 9479# Only perform the check for file, if the check method requires it 9480test -z "$MAGIC_CMD" && MAGIC_CMD=file 9481case $deplibs_check_method in 9482file_magic*) 9483 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9485$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9486if ${lt_cv_path_MAGIC_CMD+:} false; then : 9487 $as_echo_n "(cached) " >&6 9488else 9489 case $MAGIC_CMD in 9490[\\/*] | ?:[\\/]*) 9491 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9492 ;; 9493*) 9494 lt_save_MAGIC_CMD=$MAGIC_CMD 9495 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9496 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9497 for ac_dir in $ac_dummy; do 9498 IFS=$lt_save_ifs 9499 test -z "$ac_dir" && ac_dir=. 9500 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9501 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9502 if test -n "$file_magic_test_file"; then 9503 case $deplibs_check_method in 9504 "file_magic "*) 9505 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9506 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9507 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9508 $EGREP "$file_magic_regex" > /dev/null; then 9509 : 9510 else 9511 cat <<_LT_EOF 1>&2 9512 9513*** Warning: the command libtool uses to detect shared libraries, 9514*** $file_magic_cmd, produces output that libtool cannot recognize. 9515*** The result is that libtool may fail to recognize shared libraries 9516*** as such. This will affect the creation of libtool libraries that 9517*** depend on shared libraries, but programs linked with such libtool 9518*** libraries will work regardless of this problem. Nevertheless, you 9519*** may want to report the problem to your system manager and/or to 9520*** bug-libtool@gnu.org 9521 9522_LT_EOF 9523 fi ;; 9524 esac 9525 fi 9526 break 9527 fi 9528 done 9529 IFS=$lt_save_ifs 9530 MAGIC_CMD=$lt_save_MAGIC_CMD 9531 ;; 9532esac 9533fi 9534 9535MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9536if test -n "$MAGIC_CMD"; then 9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9538$as_echo "$MAGIC_CMD" >&6; } 9539else 9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9541$as_echo "no" >&6; } 9542fi 9543 9544 9545 9546 9547 9548if test -z "$lt_cv_path_MAGIC_CMD"; then 9549 if test -n "$ac_tool_prefix"; then 9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9551$as_echo_n "checking for file... " >&6; } 9552if ${lt_cv_path_MAGIC_CMD+:} false; then : 9553 $as_echo_n "(cached) " >&6 9554else 9555 case $MAGIC_CMD in 9556[\\/*] | ?:[\\/]*) 9557 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9558 ;; 9559*) 9560 lt_save_MAGIC_CMD=$MAGIC_CMD 9561 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9562 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9563 for ac_dir in $ac_dummy; do 9564 IFS=$lt_save_ifs 9565 test -z "$ac_dir" && ac_dir=. 9566 if test -f "$ac_dir/file"; then 9567 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9568 if test -n "$file_magic_test_file"; then 9569 case $deplibs_check_method in 9570 "file_magic "*) 9571 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9572 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9573 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9574 $EGREP "$file_magic_regex" > /dev/null; then 9575 : 9576 else 9577 cat <<_LT_EOF 1>&2 9578 9579*** Warning: the command libtool uses to detect shared libraries, 9580*** $file_magic_cmd, produces output that libtool cannot recognize. 9581*** The result is that libtool may fail to recognize shared libraries 9582*** as such. This will affect the creation of libtool libraries that 9583*** depend on shared libraries, but programs linked with such libtool 9584*** libraries will work regardless of this problem. Nevertheless, you 9585*** may want to report the problem to your system manager and/or to 9586*** bug-libtool@gnu.org 9587 9588_LT_EOF 9589 fi ;; 9590 esac 9591 fi 9592 break 9593 fi 9594 done 9595 IFS=$lt_save_ifs 9596 MAGIC_CMD=$lt_save_MAGIC_CMD 9597 ;; 9598esac 9599fi 9600 9601MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9602if test -n "$MAGIC_CMD"; then 9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9604$as_echo "$MAGIC_CMD" >&6; } 9605else 9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9607$as_echo "no" >&6; } 9608fi 9609 9610 9611 else 9612 MAGIC_CMD=: 9613 fi 9614fi 9615 9616 fi 9617 ;; 9618esac 9619 9620# Use C for the default configuration in the libtool script 9621 9622lt_save_CC=$CC 9623ac_ext=c 9624ac_cpp='$CPP $CPPFLAGS' 9625ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9626ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9627ac_compiler_gnu=$ac_cv_c_compiler_gnu 9628 9629 9630# Source file extension for C test sources. 9631ac_ext=c 9632 9633# Object file extension for compiled C test sources. 9634objext=o 9635objext=$objext 9636 9637# Code to be used in simple compile tests 9638lt_simple_compile_test_code="int some_variable = 0;" 9639 9640# Code to be used in simple link tests 9641lt_simple_link_test_code='int main(){return(0);}' 9642 9643 9644 9645 9646 9647 9648 9649# If no C compiler was specified, use CC. 9650LTCC=${LTCC-"$CC"} 9651 9652# If no C compiler flags were specified, use CFLAGS. 9653LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9654 9655# Allow CC to be a program name with arguments. 9656compiler=$CC 9657 9658# Save the default compiler, since it gets overwritten when the other 9659# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9660compiler_DEFAULT=$CC 9661 9662# save warnings/boilerplate of simple test code 9663ac_outfile=conftest.$ac_objext 9664echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9665eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9666_lt_compiler_boilerplate=`cat conftest.err` 9667$RM conftest* 9668 9669ac_outfile=conftest.$ac_objext 9670echo "$lt_simple_link_test_code" >conftest.$ac_ext 9671eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9672_lt_linker_boilerplate=`cat conftest.err` 9673$RM -r conftest* 9674 9675 9676## CAVEAT EMPTOR: 9677## There is no encapsulation within the following macros, do not change 9678## the running order or otherwise move them around unless you know exactly 9679## what you are doing... 9680if test -n "$compiler"; then 9681 9682lt_prog_compiler_no_builtin_flag= 9683 9684if test yes = "$GCC"; then 9685 case $cc_basename in 9686 nvcc*) 9687 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9688 *) 9689 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9690 esac 9691 9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9693$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9694if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9695 $as_echo_n "(cached) " >&6 9696else 9697 lt_cv_prog_compiler_rtti_exceptions=no 9698 ac_outfile=conftest.$ac_objext 9699 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9700 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9701 # Insert the option either (1) after the last *FLAGS variable, or 9702 # (2) before a word containing "conftest.", or (3) at the end. 9703 # Note that $ac_compile itself does not contain backslashes and begins 9704 # with a dollar sign (not a hyphen), so the echo should work correctly. 9705 # The option is referenced via a variable to avoid confusing sed. 9706 lt_compile=`echo "$ac_compile" | $SED \ 9707 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9709 -e 's:$: $lt_compiler_flag:'` 9710 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9711 (eval "$lt_compile" 2>conftest.err) 9712 ac_status=$? 9713 cat conftest.err >&5 9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9715 if (exit $ac_status) && test -s "$ac_outfile"; then 9716 # The compiler can only warn and ignore the option if not recognized 9717 # So say no if there are warnings other than the usual output. 9718 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9719 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9720 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9721 lt_cv_prog_compiler_rtti_exceptions=yes 9722 fi 9723 fi 9724 $RM conftest* 9725 9726fi 9727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9728$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9729 9730if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9731 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9732else 9733 : 9734fi 9735 9736fi 9737 9738 9739 9740 9741 9742 9743 lt_prog_compiler_wl= 9744lt_prog_compiler_pic= 9745lt_prog_compiler_static= 9746 9747 9748 if test yes = "$GCC"; then 9749 lt_prog_compiler_wl='-Wl,' 9750 lt_prog_compiler_static='-static' 9751 9752 case $host_os in 9753 aix*) 9754 # All AIX code is PIC. 9755 if test ia64 = "$host_cpu"; then 9756 # AIX 5 now supports IA64 processor 9757 lt_prog_compiler_static='-Bstatic' 9758 fi 9759 lt_prog_compiler_pic='-fPIC' 9760 ;; 9761 9762 amigaos*) 9763 case $host_cpu in 9764 powerpc) 9765 # see comment about AmigaOS4 .so support 9766 lt_prog_compiler_pic='-fPIC' 9767 ;; 9768 m68k) 9769 # FIXME: we need at least 68020 code to build shared libraries, but 9770 # adding the '-m68020' flag to GCC prevents building anything better, 9771 # like '-m68040'. 9772 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9773 ;; 9774 esac 9775 ;; 9776 9777 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9778 # PIC is the default for these OSes. 9779 ;; 9780 9781 mingw* | cygwin* | pw32* | os2* | cegcc*) 9782 # This hack is so that the source file can tell whether it is being 9783 # built for inclusion in a dll (and should export symbols for example). 9784 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9785 # (--disable-auto-import) libraries 9786 lt_prog_compiler_pic='-DDLL_EXPORT' 9787 case $host_os in 9788 os2*) 9789 lt_prog_compiler_static='$wl-static' 9790 ;; 9791 esac 9792 ;; 9793 9794 darwin* | rhapsody*) 9795 # PIC is the default on this platform 9796 # Common symbols not allowed in MH_DYLIB files 9797 lt_prog_compiler_pic='-fno-common' 9798 ;; 9799 9800 haiku*) 9801 # PIC is the default for Haiku. 9802 # The "-static" flag exists, but is broken. 9803 lt_prog_compiler_static= 9804 ;; 9805 9806 hpux*) 9807 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9808 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9809 # sets the default TLS model and affects inlining. 9810 case $host_cpu in 9811 hppa*64*) 9812 # +Z the default 9813 ;; 9814 *) 9815 lt_prog_compiler_pic='-fPIC' 9816 ;; 9817 esac 9818 ;; 9819 9820 interix[3-9]*) 9821 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9822 # Instead, we relocate shared libraries at runtime. 9823 ;; 9824 9825 msdosdjgpp*) 9826 # Just because we use GCC doesn't mean we suddenly get shared libraries 9827 # on systems that don't support them. 9828 lt_prog_compiler_can_build_shared=no 9829 enable_shared=no 9830 ;; 9831 9832 *nto* | *qnx*) 9833 # QNX uses GNU C++, but need to define -shared option too, otherwise 9834 # it will coredump. 9835 lt_prog_compiler_pic='-fPIC -shared' 9836 ;; 9837 9838 sysv4*MP*) 9839 if test -d /usr/nec; then 9840 lt_prog_compiler_pic=-Kconform_pic 9841 fi 9842 ;; 9843 9844 *) 9845 lt_prog_compiler_pic='-fPIC' 9846 ;; 9847 esac 9848 9849 case $cc_basename in 9850 nvcc*) # Cuda Compiler Driver 2.2 9851 lt_prog_compiler_wl='-Xlinker ' 9852 if test -n "$lt_prog_compiler_pic"; then 9853 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9854 fi 9855 ;; 9856 esac 9857 else 9858 # PORTME Check for flag to pass linker flags through the system compiler. 9859 case $host_os in 9860 aix*) 9861 lt_prog_compiler_wl='-Wl,' 9862 if test ia64 = "$host_cpu"; then 9863 # AIX 5 now supports IA64 processor 9864 lt_prog_compiler_static='-Bstatic' 9865 else 9866 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9867 fi 9868 ;; 9869 9870 darwin* | rhapsody*) 9871 # PIC is the default on this platform 9872 # Common symbols not allowed in MH_DYLIB files 9873 lt_prog_compiler_pic='-fno-common' 9874 case $cc_basename in 9875 nagfor*) 9876 # NAG Fortran compiler 9877 lt_prog_compiler_wl='-Wl,-Wl,,' 9878 lt_prog_compiler_pic='-PIC' 9879 lt_prog_compiler_static='-Bstatic' 9880 ;; 9881 esac 9882 ;; 9883 9884 mingw* | cygwin* | pw32* | os2* | cegcc*) 9885 # This hack is so that the source file can tell whether it is being 9886 # built for inclusion in a dll (and should export symbols for example). 9887 lt_prog_compiler_pic='-DDLL_EXPORT' 9888 case $host_os in 9889 os2*) 9890 lt_prog_compiler_static='$wl-static' 9891 ;; 9892 esac 9893 ;; 9894 9895 hpux9* | hpux10* | hpux11*) 9896 lt_prog_compiler_wl='-Wl,' 9897 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9898 # not for PA HP-UX. 9899 case $host_cpu in 9900 hppa*64*|ia64*) 9901 # +Z the default 9902 ;; 9903 *) 9904 lt_prog_compiler_pic='+Z' 9905 ;; 9906 esac 9907 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9908 lt_prog_compiler_static='$wl-a ${wl}archive' 9909 ;; 9910 9911 irix5* | irix6* | nonstopux*) 9912 lt_prog_compiler_wl='-Wl,' 9913 # PIC (with -KPIC) is the default. 9914 lt_prog_compiler_static='-non_shared' 9915 ;; 9916 9917 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9918 case $cc_basename in 9919 # old Intel for x86_64, which still supported -KPIC. 9920 ecc*) 9921 lt_prog_compiler_wl='-Wl,' 9922 lt_prog_compiler_pic='-KPIC' 9923 lt_prog_compiler_static='-static' 9924 ;; 9925 # icc used to be incompatible with GCC. 9926 # ICC 10 doesn't accept -KPIC any more. 9927 icc* | ifort*) 9928 lt_prog_compiler_wl='-Wl,' 9929 lt_prog_compiler_pic='-fPIC' 9930 lt_prog_compiler_static='-static' 9931 ;; 9932 # Lahey Fortran 8.1. 9933 lf95*) 9934 lt_prog_compiler_wl='-Wl,' 9935 lt_prog_compiler_pic='--shared' 9936 lt_prog_compiler_static='--static' 9937 ;; 9938 nagfor*) 9939 # NAG Fortran compiler 9940 lt_prog_compiler_wl='-Wl,-Wl,,' 9941 lt_prog_compiler_pic='-PIC' 9942 lt_prog_compiler_static='-Bstatic' 9943 ;; 9944 tcc*) 9945 # Fabrice Bellard et al's Tiny C Compiler 9946 lt_prog_compiler_wl='-Wl,' 9947 lt_prog_compiler_pic='-fPIC' 9948 lt_prog_compiler_static='-static' 9949 ;; 9950 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9951 # Portland Group compilers (*not* the Pentium gcc compiler, 9952 # which looks to be a dead project) 9953 lt_prog_compiler_wl='-Wl,' 9954 lt_prog_compiler_pic='-fpic' 9955 lt_prog_compiler_static='-Bstatic' 9956 ;; 9957 ccc*) 9958 lt_prog_compiler_wl='-Wl,' 9959 # All Alpha code is PIC. 9960 lt_prog_compiler_static='-non_shared' 9961 ;; 9962 xl* | bgxl* | bgf* | mpixl*) 9963 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9964 lt_prog_compiler_wl='-Wl,' 9965 lt_prog_compiler_pic='-qpic' 9966 lt_prog_compiler_static='-qstaticlink' 9967 ;; 9968 *) 9969 case `$CC -V 2>&1 | sed 5q` in 9970 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9971 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9972 lt_prog_compiler_pic='-KPIC' 9973 lt_prog_compiler_static='-Bstatic' 9974 lt_prog_compiler_wl='' 9975 ;; 9976 *Sun\ F* | *Sun*Fortran*) 9977 lt_prog_compiler_pic='-KPIC' 9978 lt_prog_compiler_static='-Bstatic' 9979 lt_prog_compiler_wl='-Qoption ld ' 9980 ;; 9981 *Sun\ C*) 9982 # Sun C 5.9 9983 lt_prog_compiler_pic='-KPIC' 9984 lt_prog_compiler_static='-Bstatic' 9985 lt_prog_compiler_wl='-Wl,' 9986 ;; 9987 *Intel*\ [CF]*Compiler*) 9988 lt_prog_compiler_wl='-Wl,' 9989 lt_prog_compiler_pic='-fPIC' 9990 lt_prog_compiler_static='-static' 9991 ;; 9992 *Portland\ Group*) 9993 lt_prog_compiler_wl='-Wl,' 9994 lt_prog_compiler_pic='-fpic' 9995 lt_prog_compiler_static='-Bstatic' 9996 ;; 9997 esac 9998 ;; 9999 esac 10000 ;; 10001 10002 newsos6) 10003 lt_prog_compiler_pic='-KPIC' 10004 lt_prog_compiler_static='-Bstatic' 10005 ;; 10006 10007 *nto* | *qnx*) 10008 # QNX uses GNU C++, but need to define -shared option too, otherwise 10009 # it will coredump. 10010 lt_prog_compiler_pic='-fPIC -shared' 10011 ;; 10012 10013 osf3* | osf4* | osf5*) 10014 lt_prog_compiler_wl='-Wl,' 10015 # All OSF/1 code is PIC. 10016 lt_prog_compiler_static='-non_shared' 10017 ;; 10018 10019 rdos*) 10020 lt_prog_compiler_static='-non_shared' 10021 ;; 10022 10023 solaris*) 10024 lt_prog_compiler_pic='-KPIC' 10025 lt_prog_compiler_static='-Bstatic' 10026 case $cc_basename in 10027 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10028 lt_prog_compiler_wl='-Qoption ld ';; 10029 *) 10030 lt_prog_compiler_wl='-Wl,';; 10031 esac 10032 ;; 10033 10034 sunos4*) 10035 lt_prog_compiler_wl='-Qoption ld ' 10036 lt_prog_compiler_pic='-PIC' 10037 lt_prog_compiler_static='-Bstatic' 10038 ;; 10039 10040 sysv4 | sysv4.2uw2* | sysv4.3*) 10041 lt_prog_compiler_wl='-Wl,' 10042 lt_prog_compiler_pic='-KPIC' 10043 lt_prog_compiler_static='-Bstatic' 10044 ;; 10045 10046 sysv4*MP*) 10047 if test -d /usr/nec; then 10048 lt_prog_compiler_pic='-Kconform_pic' 10049 lt_prog_compiler_static='-Bstatic' 10050 fi 10051 ;; 10052 10053 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10054 lt_prog_compiler_wl='-Wl,' 10055 lt_prog_compiler_pic='-KPIC' 10056 lt_prog_compiler_static='-Bstatic' 10057 ;; 10058 10059 unicos*) 10060 lt_prog_compiler_wl='-Wl,' 10061 lt_prog_compiler_can_build_shared=no 10062 ;; 10063 10064 uts4*) 10065 lt_prog_compiler_pic='-pic' 10066 lt_prog_compiler_static='-Bstatic' 10067 ;; 10068 10069 *) 10070 lt_prog_compiler_can_build_shared=no 10071 ;; 10072 esac 10073 fi 10074 10075case $host_os in 10076 # For platforms that do not support PIC, -DPIC is meaningless: 10077 *djgpp*) 10078 lt_prog_compiler_pic= 10079 ;; 10080 *) 10081 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10082 ;; 10083esac 10084 10085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10086$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10087if ${lt_cv_prog_compiler_pic+:} false; then : 10088 $as_echo_n "(cached) " >&6 10089else 10090 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10091fi 10092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10093$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10094lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10095 10096# 10097# Check to make sure the PIC flag actually works. 10098# 10099if test -n "$lt_prog_compiler_pic"; then 10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10101$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10102if ${lt_cv_prog_compiler_pic_works+:} false; then : 10103 $as_echo_n "(cached) " >&6 10104else 10105 lt_cv_prog_compiler_pic_works=no 10106 ac_outfile=conftest.$ac_objext 10107 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10108 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10109 # Insert the option either (1) after the last *FLAGS variable, or 10110 # (2) before a word containing "conftest.", or (3) at the end. 10111 # Note that $ac_compile itself does not contain backslashes and begins 10112 # with a dollar sign (not a hyphen), so the echo should work correctly. 10113 # The option is referenced via a variable to avoid confusing sed. 10114 lt_compile=`echo "$ac_compile" | $SED \ 10115 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10116 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10117 -e 's:$: $lt_compiler_flag:'` 10118 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10119 (eval "$lt_compile" 2>conftest.err) 10120 ac_status=$? 10121 cat conftest.err >&5 10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10123 if (exit $ac_status) && test -s "$ac_outfile"; then 10124 # The compiler can only warn and ignore the option if not recognized 10125 # So say no if there are warnings other than the usual output. 10126 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10127 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10128 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10129 lt_cv_prog_compiler_pic_works=yes 10130 fi 10131 fi 10132 $RM conftest* 10133 10134fi 10135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10136$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10137 10138if test yes = "$lt_cv_prog_compiler_pic_works"; then 10139 case $lt_prog_compiler_pic in 10140 "" | " "*) ;; 10141 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10142 esac 10143else 10144 lt_prog_compiler_pic= 10145 lt_prog_compiler_can_build_shared=no 10146fi 10147 10148fi 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160# 10161# Check to make sure the static flag actually works. 10162# 10163wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10165$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10166if ${lt_cv_prog_compiler_static_works+:} false; then : 10167 $as_echo_n "(cached) " >&6 10168else 10169 lt_cv_prog_compiler_static_works=no 10170 save_LDFLAGS=$LDFLAGS 10171 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10172 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10173 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10174 # The linker can only warn and ignore the option if not recognized 10175 # So say no if there are warnings 10176 if test -s conftest.err; then 10177 # Append any errors to the config.log. 10178 cat conftest.err 1>&5 10179 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10180 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10181 if diff conftest.exp conftest.er2 >/dev/null; then 10182 lt_cv_prog_compiler_static_works=yes 10183 fi 10184 else 10185 lt_cv_prog_compiler_static_works=yes 10186 fi 10187 fi 10188 $RM -r conftest* 10189 LDFLAGS=$save_LDFLAGS 10190 10191fi 10192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10193$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10194 10195if test yes = "$lt_cv_prog_compiler_static_works"; then 10196 : 10197else 10198 lt_prog_compiler_static= 10199fi 10200 10201 10202 10203 10204 10205 10206 10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10208$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10209if ${lt_cv_prog_compiler_c_o+:} false; then : 10210 $as_echo_n "(cached) " >&6 10211else 10212 lt_cv_prog_compiler_c_o=no 10213 $RM -r conftest 2>/dev/null 10214 mkdir conftest 10215 cd conftest 10216 mkdir out 10217 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10218 10219 lt_compiler_flag="-o out/conftest2.$ac_objext" 10220 # Insert the option either (1) after the last *FLAGS variable, or 10221 # (2) before a word containing "conftest.", or (3) at the end. 10222 # Note that $ac_compile itself does not contain backslashes and begins 10223 # with a dollar sign (not a hyphen), so the echo should work correctly. 10224 lt_compile=`echo "$ac_compile" | $SED \ 10225 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10226 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10227 -e 's:$: $lt_compiler_flag:'` 10228 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10229 (eval "$lt_compile" 2>out/conftest.err) 10230 ac_status=$? 10231 cat out/conftest.err >&5 10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10233 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10234 then 10235 # The compiler can only warn and ignore the option if not recognized 10236 # So say no if there are warnings 10237 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10238 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10239 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10240 lt_cv_prog_compiler_c_o=yes 10241 fi 10242 fi 10243 chmod u+w . 2>&5 10244 $RM conftest* 10245 # SGI C++ compiler will create directory out/ii_files/ for 10246 # template instantiation 10247 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10248 $RM out/* && rmdir out 10249 cd .. 10250 $RM -r conftest 10251 $RM conftest* 10252 10253fi 10254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10255$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10256 10257 10258 10259 10260 10261 10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10263$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10264if ${lt_cv_prog_compiler_c_o+:} false; then : 10265 $as_echo_n "(cached) " >&6 10266else 10267 lt_cv_prog_compiler_c_o=no 10268 $RM -r conftest 2>/dev/null 10269 mkdir conftest 10270 cd conftest 10271 mkdir out 10272 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10273 10274 lt_compiler_flag="-o out/conftest2.$ac_objext" 10275 # Insert the option either (1) after the last *FLAGS variable, or 10276 # (2) before a word containing "conftest.", or (3) at the end. 10277 # Note that $ac_compile itself does not contain backslashes and begins 10278 # with a dollar sign (not a hyphen), so the echo should work correctly. 10279 lt_compile=`echo "$ac_compile" | $SED \ 10280 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10281 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10282 -e 's:$: $lt_compiler_flag:'` 10283 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10284 (eval "$lt_compile" 2>out/conftest.err) 10285 ac_status=$? 10286 cat out/conftest.err >&5 10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10288 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10289 then 10290 # The compiler can only warn and ignore the option if not recognized 10291 # So say no if there are warnings 10292 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10293 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10294 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10295 lt_cv_prog_compiler_c_o=yes 10296 fi 10297 fi 10298 chmod u+w . 2>&5 10299 $RM conftest* 10300 # SGI C++ compiler will create directory out/ii_files/ for 10301 # template instantiation 10302 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10303 $RM out/* && rmdir out 10304 cd .. 10305 $RM -r conftest 10306 $RM conftest* 10307 10308fi 10309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10310$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10311 10312 10313 10314 10315hard_links=nottested 10316if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10317 # do not overwrite the value of need_locks provided by the user 10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10319$as_echo_n "checking if we can lock with hard links... " >&6; } 10320 hard_links=yes 10321 $RM conftest* 10322 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10323 touch conftest.a 10324 ln conftest.a conftest.b 2>&5 || hard_links=no 10325 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10327$as_echo "$hard_links" >&6; } 10328 if test no = "$hard_links"; then 10329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10330$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10331 need_locks=warn 10332 fi 10333else 10334 need_locks=no 10335fi 10336 10337 10338 10339 10340 10341 10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10343$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10344 10345 runpath_var= 10346 allow_undefined_flag= 10347 always_export_symbols=no 10348 archive_cmds= 10349 archive_expsym_cmds= 10350 compiler_needs_object=no 10351 enable_shared_with_static_runtimes=no 10352 export_dynamic_flag_spec= 10353 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10354 hardcode_automatic=no 10355 hardcode_direct=no 10356 hardcode_direct_absolute=no 10357 hardcode_libdir_flag_spec= 10358 hardcode_libdir_separator= 10359 hardcode_minus_L=no 10360 hardcode_shlibpath_var=unsupported 10361 inherit_rpath=no 10362 link_all_deplibs=unknown 10363 module_cmds= 10364 module_expsym_cmds= 10365 old_archive_from_new_cmds= 10366 old_archive_from_expsyms_cmds= 10367 thread_safe_flag_spec= 10368 whole_archive_flag_spec= 10369 # include_expsyms should be a list of space-separated symbols to be *always* 10370 # included in the symbol list 10371 include_expsyms= 10372 # exclude_expsyms can be an extended regexp of symbols to exclude 10373 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10374 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10375 # as well as any symbol that contains 'd'. 10376 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10377 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10378 # platforms (ab)use it in PIC code, but their linkers get confused if 10379 # the symbol is explicitly referenced. Since portable code cannot 10380 # rely on this symbol name, it's probably fine to never include it in 10381 # preloaded symbol tables. 10382 # Exclude shared library initialization/finalization symbols. 10383 extract_expsyms_cmds= 10384 10385 case $host_os in 10386 cygwin* | mingw* | pw32* | cegcc*) 10387 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10388 # When not using gcc, we currently assume that we are using 10389 # Microsoft Visual C++. 10390 if test yes != "$GCC"; then 10391 with_gnu_ld=no 10392 fi 10393 ;; 10394 interix*) 10395 # we just hope/assume this is gcc and not c89 (= MSVC++) 10396 with_gnu_ld=yes 10397 ;; 10398 openbsd* | bitrig*) 10399 with_gnu_ld=no 10400 ;; 10401 esac 10402 10403 ld_shlibs=yes 10404 10405 # On some targets, GNU ld is compatible enough with the native linker 10406 # that we're better off using the native interface for both. 10407 lt_use_gnu_ld_interface=no 10408 if test yes = "$with_gnu_ld"; then 10409 case $host_os in 10410 aix*) 10411 # The AIX port of GNU ld has always aspired to compatibility 10412 # with the native linker. However, as the warning in the GNU ld 10413 # block says, versions before 2.19.5* couldn't really create working 10414 # shared libraries, regardless of the interface used. 10415 case `$LD -v 2>&1` in 10416 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10417 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10418 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10419 *) 10420 lt_use_gnu_ld_interface=yes 10421 ;; 10422 esac 10423 ;; 10424 *) 10425 lt_use_gnu_ld_interface=yes 10426 ;; 10427 esac 10428 fi 10429 10430 if test yes = "$lt_use_gnu_ld_interface"; then 10431 # If archive_cmds runs LD, not CC, wlarc should be empty 10432 wlarc='$wl' 10433 10434 # Set some defaults for GNU ld with shared library support. These 10435 # are reset later if shared libraries are not supported. Putting them 10436 # here allows them to be overridden if necessary. 10437 runpath_var=LD_RUN_PATH 10438 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10439 export_dynamic_flag_spec='$wl--export-dynamic' 10440 # ancient GNU ld didn't support --whole-archive et. al. 10441 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10442 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10443 else 10444 whole_archive_flag_spec= 10445 fi 10446 supports_anon_versioning=no 10447 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10448 *GNU\ gold*) supports_anon_versioning=yes ;; 10449 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10450 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10451 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10452 *\ 2.11.*) ;; # other 2.11 versions 10453 *) supports_anon_versioning=yes ;; 10454 esac 10455 10456 # See if GNU ld supports shared libraries. 10457 case $host_os in 10458 aix[3-9]*) 10459 # On AIX/PPC, the GNU linker is very broken 10460 if test ia64 != "$host_cpu"; then 10461 ld_shlibs=no 10462 cat <<_LT_EOF 1>&2 10463 10464*** Warning: the GNU linker, at least up to release 2.19, is reported 10465*** to be unable to reliably create shared libraries on AIX. 10466*** Therefore, libtool is disabling shared libraries support. If you 10467*** really care for shared libraries, you may want to install binutils 10468*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10469*** You will then need to restart the configuration process. 10470 10471_LT_EOF 10472 fi 10473 ;; 10474 10475 amigaos*) 10476 case $host_cpu in 10477 powerpc) 10478 # see comment about AmigaOS4 .so support 10479 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10480 archive_expsym_cmds='' 10481 ;; 10482 m68k) 10483 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)' 10484 hardcode_libdir_flag_spec='-L$libdir' 10485 hardcode_minus_L=yes 10486 ;; 10487 esac 10488 ;; 10489 10490 beos*) 10491 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10492 allow_undefined_flag=unsupported 10493 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10494 # support --undefined. This deserves some investigation. FIXME 10495 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10496 else 10497 ld_shlibs=no 10498 fi 10499 ;; 10500 10501 cygwin* | mingw* | pw32* | cegcc*) 10502 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10503 # as there is no search path for DLLs. 10504 hardcode_libdir_flag_spec='-L$libdir' 10505 export_dynamic_flag_spec='$wl--export-all-symbols' 10506 allow_undefined_flag=unsupported 10507 always_export_symbols=no 10508 enable_shared_with_static_runtimes=yes 10509 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' 10510 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10511 10512 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10513 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10514 # If the export-symbols file already is a .def file, use it as 10515 # is; otherwise, prepend EXPORTS... 10516 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10517 cp $export_symbols $output_objdir/$soname.def; 10518 else 10519 echo EXPORTS > $output_objdir/$soname.def; 10520 cat $export_symbols >> $output_objdir/$soname.def; 10521 fi~ 10522 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10523 else 10524 ld_shlibs=no 10525 fi 10526 ;; 10527 10528 haiku*) 10529 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10530 link_all_deplibs=yes 10531 ;; 10532 10533 os2*) 10534 hardcode_libdir_flag_spec='-L$libdir' 10535 hardcode_minus_L=yes 10536 allow_undefined_flag=unsupported 10537 shrext_cmds=.dll 10538 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10539 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10540 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10541 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10542 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10543 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10544 emximp -o $lib $output_objdir/$libname.def' 10545 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10546 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10547 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10548 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10549 prefix_cmds="$SED"~ 10550 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10551 prefix_cmds="$prefix_cmds -e 1d"; 10552 fi~ 10553 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10554 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10555 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10556 emximp -o $lib $output_objdir/$libname.def' 10557 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10558 enable_shared_with_static_runtimes=yes 10559 ;; 10560 10561 interix[3-9]*) 10562 hardcode_direct=no 10563 hardcode_shlibpath_var=no 10564 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10565 export_dynamic_flag_spec='$wl-E' 10566 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10567 # Instead, shared libraries are loaded at an image base (0x10000000 by 10568 # default) and relocated if they conflict, which is a slow very memory 10569 # consuming and fragmenting process. To avoid this, we pick a random, 10570 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10571 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10572 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10573 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' 10574 ;; 10575 10576 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10577 tmp_diet=no 10578 if test linux-dietlibc = "$host_os"; then 10579 case $cc_basename in 10580 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10581 esac 10582 fi 10583 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10584 && test no = "$tmp_diet" 10585 then 10586 tmp_addflag=' $pic_flag' 10587 tmp_sharedflag='-shared' 10588 case $cc_basename,$host_cpu in 10589 pgcc*) # Portland Group C compiler 10590 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' 10591 tmp_addflag=' $pic_flag' 10592 ;; 10593 pgf77* | pgf90* | pgf95* | pgfortran*) 10594 # Portland Group f77 and f90 compilers 10595 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' 10596 tmp_addflag=' $pic_flag -Mnomain' ;; 10597 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10598 tmp_addflag=' -i_dynamic' ;; 10599 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10600 tmp_addflag=' -i_dynamic -nofor_main' ;; 10601 ifc* | ifort*) # Intel Fortran compiler 10602 tmp_addflag=' -nofor_main' ;; 10603 lf95*) # Lahey Fortran 8.1 10604 whole_archive_flag_spec= 10605 tmp_sharedflag='--shared' ;; 10606 nagfor*) # NAGFOR 5.3 10607 tmp_sharedflag='-Wl,-shared' ;; 10608 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10609 tmp_sharedflag='-qmkshrobj' 10610 tmp_addflag= ;; 10611 nvcc*) # Cuda Compiler Driver 2.2 10612 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' 10613 compiler_needs_object=yes 10614 ;; 10615 esac 10616 case `$CC -V 2>&1 | sed 5q` in 10617 *Sun\ C*) # Sun C 5.9 10618 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' 10619 compiler_needs_object=yes 10620 tmp_sharedflag='-G' ;; 10621 *Sun\ F*) # Sun Fortran 8.3 10622 tmp_sharedflag='-G' ;; 10623 esac 10624 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10625 10626 if test yes = "$supports_anon_versioning"; then 10627 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10628 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10629 echo "local: *; };" >> $output_objdir/$libname.ver~ 10630 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10631 fi 10632 10633 case $cc_basename in 10634 tcc*) 10635 export_dynamic_flag_spec='-rdynamic' 10636 ;; 10637 xlf* | bgf* | bgxlf* | mpixlf*) 10638 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10639 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10640 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10641 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10642 if test yes = "$supports_anon_versioning"; then 10643 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10644 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10645 echo "local: *; };" >> $output_objdir/$libname.ver~ 10646 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10647 fi 10648 ;; 10649 esac 10650 else 10651 ld_shlibs=no 10652 fi 10653 ;; 10654 10655 netbsd*) 10656 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10657 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10658 wlarc= 10659 else 10660 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10661 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10662 fi 10663 ;; 10664 10665 solaris*) 10666 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10667 ld_shlibs=no 10668 cat <<_LT_EOF 1>&2 10669 10670*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10671*** create shared libraries on Solaris systems. Therefore, libtool 10672*** is disabling shared libraries support. We urge you to upgrade GNU 10673*** binutils to release 2.9.1 or newer. Another option is to modify 10674*** your PATH or compiler configuration so that the native linker is 10675*** used, and then restart. 10676 10677_LT_EOF 10678 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10679 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10680 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10681 else 10682 ld_shlibs=no 10683 fi 10684 ;; 10685 10686 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10687 case `$LD -v 2>&1` in 10688 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10689 ld_shlibs=no 10690 cat <<_LT_EOF 1>&2 10691 10692*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10693*** reliably create shared libraries on SCO systems. Therefore, libtool 10694*** is disabling shared libraries support. We urge you to upgrade GNU 10695*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10696*** your PATH or compiler configuration so that the native linker is 10697*** used, and then restart. 10698 10699_LT_EOF 10700 ;; 10701 *) 10702 # For security reasons, it is highly recommended that you always 10703 # use absolute paths for naming shared libraries, and exclude the 10704 # DT_RUNPATH tag from executables and libraries. But doing so 10705 # requires that you compile everything twice, which is a pain. 10706 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10707 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10708 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10709 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10710 else 10711 ld_shlibs=no 10712 fi 10713 ;; 10714 esac 10715 ;; 10716 10717 sunos4*) 10718 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10719 wlarc= 10720 hardcode_direct=yes 10721 hardcode_shlibpath_var=no 10722 ;; 10723 10724 *) 10725 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10726 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10727 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10728 else 10729 ld_shlibs=no 10730 fi 10731 ;; 10732 esac 10733 10734 if test no = "$ld_shlibs"; then 10735 runpath_var= 10736 hardcode_libdir_flag_spec= 10737 export_dynamic_flag_spec= 10738 whole_archive_flag_spec= 10739 fi 10740 else 10741 # PORTME fill in a description of your system's linker (not GNU ld) 10742 case $host_os in 10743 aix3*) 10744 allow_undefined_flag=unsupported 10745 always_export_symbols=yes 10746 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' 10747 # Note: this linker hardcodes the directories in LIBPATH if there 10748 # are no directories specified by -L. 10749 hardcode_minus_L=yes 10750 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10751 # Neither direct hardcoding nor static linking is supported with a 10752 # broken collect2. 10753 hardcode_direct=unsupported 10754 fi 10755 ;; 10756 10757 aix[4-9]*) 10758 if test ia64 = "$host_cpu"; then 10759 # On IA64, the linker does run time linking by default, so we don't 10760 # have to do anything special. 10761 aix_use_runtimelinking=no 10762 exp_sym_flag='-Bexport' 10763 no_entry_flag= 10764 else 10765 # If we're using GNU nm, then we don't want the "-C" option. 10766 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10767 # Without the "-l" option, or with the "-B" option, AIX nm treats 10768 # weak defined symbols like other global defined symbols, whereas 10769 # GNU nm marks them as "W". 10770 # While the 'weak' keyword is ignored in the Export File, we need 10771 # it in the Import File for the 'aix-soname' feature, so we have 10772 # to replace the "-B" option with "-P" for AIX nm. 10773 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10774 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' 10775 else 10776 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' 10777 fi 10778 aix_use_runtimelinking=no 10779 10780 # Test if we are trying to use run time linking or normal 10781 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10782 # have runtime linking enabled, and use it for executables. 10783 # For shared libraries, we enable/disable runtime linking 10784 # depending on the kind of the shared library created - 10785 # when "with_aix_soname,aix_use_runtimelinking" is: 10786 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10787 # "aix,yes" lib.so shared, rtl:yes, for executables 10788 # lib.a static archive 10789 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10790 # lib.a(lib.so.V) shared, rtl:no, for executables 10791 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10792 # lib.a(lib.so.V) shared, rtl:no 10793 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10794 # lib.a static archive 10795 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10796 for ld_flag in $LDFLAGS; do 10797 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10798 aix_use_runtimelinking=yes 10799 break 10800 fi 10801 done 10802 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10803 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10804 # so we don't have lib.a shared libs to link our executables. 10805 # We have to force runtime linking in this case. 10806 aix_use_runtimelinking=yes 10807 LDFLAGS="$LDFLAGS -Wl,-brtl" 10808 fi 10809 ;; 10810 esac 10811 10812 exp_sym_flag='-bexport' 10813 no_entry_flag='-bnoentry' 10814 fi 10815 10816 # When large executables or shared objects are built, AIX ld can 10817 # have problems creating the table of contents. If linking a library 10818 # or program results in "error TOC overflow" add -mminimal-toc to 10819 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10820 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10821 10822 archive_cmds='' 10823 hardcode_direct=yes 10824 hardcode_direct_absolute=yes 10825 hardcode_libdir_separator=':' 10826 link_all_deplibs=yes 10827 file_list_spec='$wl-f,' 10828 case $with_aix_soname,$aix_use_runtimelinking in 10829 aix,*) ;; # traditional, no import file 10830 svr4,* | *,yes) # use import file 10831 # The Import File defines what to hardcode. 10832 hardcode_direct=no 10833 hardcode_direct_absolute=no 10834 ;; 10835 esac 10836 10837 if test yes = "$GCC"; then 10838 case $host_os in aix4.[012]|aix4.[012].*) 10839 # We only want to do this on AIX 4.2 and lower, the check 10840 # below for broken collect2 doesn't work under 4.3+ 10841 collect2name=`$CC -print-prog-name=collect2` 10842 if test -f "$collect2name" && 10843 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10844 then 10845 # We have reworked collect2 10846 : 10847 else 10848 # We have old collect2 10849 hardcode_direct=unsupported 10850 # It fails to find uninstalled libraries when the uninstalled 10851 # path is not listed in the libpath. Setting hardcode_minus_L 10852 # to unsupported forces relinking 10853 hardcode_minus_L=yes 10854 hardcode_libdir_flag_spec='-L$libdir' 10855 hardcode_libdir_separator= 10856 fi 10857 ;; 10858 esac 10859 shared_flag='-shared' 10860 if test yes = "$aix_use_runtimelinking"; then 10861 shared_flag="$shared_flag "'$wl-G' 10862 fi 10863 # Need to ensure runtime linking is disabled for the traditional 10864 # shared library, or the linker may eventually find shared libraries 10865 # /with/ Import File - we do not want to mix them. 10866 shared_flag_aix='-shared' 10867 shared_flag_svr4='-shared $wl-G' 10868 else 10869 # not using gcc 10870 if test ia64 = "$host_cpu"; then 10871 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10872 # chokes on -Wl,-G. The following line is correct: 10873 shared_flag='-G' 10874 else 10875 if test yes = "$aix_use_runtimelinking"; then 10876 shared_flag='$wl-G' 10877 else 10878 shared_flag='$wl-bM:SRE' 10879 fi 10880 shared_flag_aix='$wl-bM:SRE' 10881 shared_flag_svr4='$wl-G' 10882 fi 10883 fi 10884 10885 export_dynamic_flag_spec='$wl-bexpall' 10886 # It seems that -bexpall does not export symbols beginning with 10887 # underscore (_), so it is better to generate a list of symbols to export. 10888 always_export_symbols=yes 10889 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10890 # Warning - without using the other runtime loading flags (-brtl), 10891 # -berok will link without error, but may produce a broken library. 10892 allow_undefined_flag='-berok' 10893 # Determine the default libpath from the value encoded in an 10894 # empty executable. 10895 if test set = "${lt_cv_aix_libpath+set}"; then 10896 aix_libpath=$lt_cv_aix_libpath 10897else 10898 if ${lt_cv_aix_libpath_+:} false; then : 10899 $as_echo_n "(cached) " >&6 10900else 10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10902/* end confdefs.h. */ 10903 10904int 10905main () 10906{ 10907 10908 ; 10909 return 0; 10910} 10911_ACEOF 10912if ac_fn_c_try_link "$LINENO"; then : 10913 10914 lt_aix_libpath_sed=' 10915 /Import File Strings/,/^$/ { 10916 /^0/ { 10917 s/^0 *\([^ ]*\) *$/\1/ 10918 p 10919 } 10920 }' 10921 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10922 # Check for a 64-bit object if we didn't find anything. 10923 if test -z "$lt_cv_aix_libpath_"; then 10924 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10925 fi 10926fi 10927rm -f core conftest.err conftest.$ac_objext \ 10928 conftest$ac_exeext conftest.$ac_ext 10929 if test -z "$lt_cv_aix_libpath_"; then 10930 lt_cv_aix_libpath_=/usr/lib:/lib 10931 fi 10932 10933fi 10934 10935 aix_libpath=$lt_cv_aix_libpath_ 10936fi 10937 10938 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10939 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 10940 else 10941 if test ia64 = "$host_cpu"; then 10942 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10943 allow_undefined_flag="-z nodefs" 10944 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" 10945 else 10946 # Determine the default libpath from the value encoded in an 10947 # empty executable. 10948 if test set = "${lt_cv_aix_libpath+set}"; then 10949 aix_libpath=$lt_cv_aix_libpath 10950else 10951 if ${lt_cv_aix_libpath_+:} false; then : 10952 $as_echo_n "(cached) " >&6 10953else 10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10955/* end confdefs.h. */ 10956 10957int 10958main () 10959{ 10960 10961 ; 10962 return 0; 10963} 10964_ACEOF 10965if ac_fn_c_try_link "$LINENO"; then : 10966 10967 lt_aix_libpath_sed=' 10968 /Import File Strings/,/^$/ { 10969 /^0/ { 10970 s/^0 *\([^ ]*\) *$/\1/ 10971 p 10972 } 10973 }' 10974 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10975 # Check for a 64-bit object if we didn't find anything. 10976 if test -z "$lt_cv_aix_libpath_"; then 10977 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10978 fi 10979fi 10980rm -f core conftest.err conftest.$ac_objext \ 10981 conftest$ac_exeext conftest.$ac_ext 10982 if test -z "$lt_cv_aix_libpath_"; then 10983 lt_cv_aix_libpath_=/usr/lib:/lib 10984 fi 10985 10986fi 10987 10988 aix_libpath=$lt_cv_aix_libpath_ 10989fi 10990 10991 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10992 # Warning - without using the other run time loading flags, 10993 # -berok will link without error, but may produce a broken library. 10994 no_undefined_flag=' $wl-bernotok' 10995 allow_undefined_flag=' $wl-berok' 10996 if test yes = "$with_gnu_ld"; then 10997 # We only use this code for GNU lds that support --whole-archive. 10998 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10999 else 11000 # Exported symbols can be pulled into shared objects from archives 11001 whole_archive_flag_spec='$convenience' 11002 fi 11003 archive_cmds_need_lc=yes 11004 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11005 # -brtl affects multiple linker settings, -berok does not and is overridden later 11006 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11007 if test svr4 != "$with_aix_soname"; then 11008 # This is similar to how AIX traditionally builds its shared libraries. 11009 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' 11010 fi 11011 if test aix != "$with_aix_soname"; then 11012 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' 11013 else 11014 # used by -dlpreopen to get the symbols 11015 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11016 fi 11017 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11018 fi 11019 fi 11020 ;; 11021 11022 amigaos*) 11023 case $host_cpu in 11024 powerpc) 11025 # see comment about AmigaOS4 .so support 11026 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11027 archive_expsym_cmds='' 11028 ;; 11029 m68k) 11030 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)' 11031 hardcode_libdir_flag_spec='-L$libdir' 11032 hardcode_minus_L=yes 11033 ;; 11034 esac 11035 ;; 11036 11037 bsdi[45]*) 11038 export_dynamic_flag_spec=-rdynamic 11039 ;; 11040 11041 cygwin* | mingw* | pw32* | cegcc*) 11042 # When not using gcc, we currently assume that we are using 11043 # Microsoft Visual C++. 11044 # hardcode_libdir_flag_spec is actually meaningless, as there is 11045 # no search path for DLLs. 11046 case $cc_basename in 11047 cl*) 11048 # Native MSVC 11049 hardcode_libdir_flag_spec=' ' 11050 allow_undefined_flag=unsupported 11051 always_export_symbols=yes 11052 file_list_spec='@' 11053 # Tell ltmain to make .lib files, not .a files. 11054 libext=lib 11055 # Tell ltmain to make .dll files, not .so files. 11056 shrext_cmds=.dll 11057 # FIXME: Setting linknames here is a bad hack. 11058 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11059 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11060 cp "$export_symbols" "$output_objdir/$soname.def"; 11061 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11062 else 11063 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11064 fi~ 11065 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11066 linknames=' 11067 # The linker will not automatically build a static lib if we build a DLL. 11068 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11069 enable_shared_with_static_runtimes=yes 11070 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11071 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11072 # Don't use ranlib 11073 old_postinstall_cmds='chmod 644 $oldlib' 11074 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11075 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11076 case $lt_outputfile in 11077 *.exe|*.EXE) ;; 11078 *) 11079 lt_outputfile=$lt_outputfile.exe 11080 lt_tool_outputfile=$lt_tool_outputfile.exe 11081 ;; 11082 esac~ 11083 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11084 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11085 $RM "$lt_outputfile.manifest"; 11086 fi' 11087 ;; 11088 *) 11089 # Assume MSVC wrapper 11090 hardcode_libdir_flag_spec=' ' 11091 allow_undefined_flag=unsupported 11092 # Tell ltmain to make .lib files, not .a files. 11093 libext=lib 11094 # Tell ltmain to make .dll files, not .so files. 11095 shrext_cmds=.dll 11096 # FIXME: Setting linknames here is a bad hack. 11097 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11098 # The linker will automatically build a .lib file if we build a DLL. 11099 old_archive_from_new_cmds='true' 11100 # FIXME: Should let the user specify the lib program. 11101 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11102 enable_shared_with_static_runtimes=yes 11103 ;; 11104 esac 11105 ;; 11106 11107 darwin* | rhapsody*) 11108 11109 11110 archive_cmds_need_lc=no 11111 hardcode_direct=no 11112 hardcode_automatic=yes 11113 hardcode_shlibpath_var=unsupported 11114 if test yes = "$lt_cv_ld_force_load"; then 11115 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\"`' 11116 11117 else 11118 whole_archive_flag_spec='' 11119 fi 11120 link_all_deplibs=yes 11121 allow_undefined_flag=$_lt_dar_allow_undefined 11122 case $cc_basename in 11123 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11124 *) _lt_dar_can_shared=$GCC ;; 11125 esac 11126 if test yes = "$_lt_dar_can_shared"; then 11127 output_verbose_link_cmd=func_echo_all 11128 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11129 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11130 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" 11131 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" 11132 11133 else 11134 ld_shlibs=no 11135 fi 11136 11137 ;; 11138 11139 dgux*) 11140 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11141 hardcode_libdir_flag_spec='-L$libdir' 11142 hardcode_shlibpath_var=no 11143 ;; 11144 11145 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11146 # support. Future versions do this automatically, but an explicit c++rt0.o 11147 # does not break anything, and helps significantly (at the cost of a little 11148 # extra space). 11149 freebsd2.2*) 11150 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11151 hardcode_libdir_flag_spec='-R$libdir' 11152 hardcode_direct=yes 11153 hardcode_shlibpath_var=no 11154 ;; 11155 11156 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11157 freebsd2.*) 11158 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11159 hardcode_direct=yes 11160 hardcode_minus_L=yes 11161 hardcode_shlibpath_var=no 11162 ;; 11163 11164 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11165 freebsd* | dragonfly*) 11166 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11167 hardcode_libdir_flag_spec='-R$libdir' 11168 hardcode_direct=yes 11169 hardcode_shlibpath_var=no 11170 ;; 11171 11172 hpux9*) 11173 if test yes = "$GCC"; then 11174 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' 11175 else 11176 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' 11177 fi 11178 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11179 hardcode_libdir_separator=: 11180 hardcode_direct=yes 11181 11182 # hardcode_minus_L: Not really in the search PATH, 11183 # but as the default location of the library. 11184 hardcode_minus_L=yes 11185 export_dynamic_flag_spec='$wl-E' 11186 ;; 11187 11188 hpux10*) 11189 if test yes,no = "$GCC,$with_gnu_ld"; then 11190 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11191 else 11192 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11193 fi 11194 if test no = "$with_gnu_ld"; then 11195 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11196 hardcode_libdir_separator=: 11197 hardcode_direct=yes 11198 hardcode_direct_absolute=yes 11199 export_dynamic_flag_spec='$wl-E' 11200 # hardcode_minus_L: Not really in the search PATH, 11201 # but as the default location of the library. 11202 hardcode_minus_L=yes 11203 fi 11204 ;; 11205 11206 hpux11*) 11207 if test yes,no = "$GCC,$with_gnu_ld"; then 11208 case $host_cpu in 11209 hppa*64*) 11210 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11211 ;; 11212 ia64*) 11213 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11214 ;; 11215 *) 11216 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11217 ;; 11218 esac 11219 else 11220 case $host_cpu in 11221 hppa*64*) 11222 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11223 ;; 11224 ia64*) 11225 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11226 ;; 11227 *) 11228 11229 # Older versions of the 11.00 compiler do not understand -b yet 11230 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11232$as_echo_n "checking if $CC understands -b... " >&6; } 11233if ${lt_cv_prog_compiler__b+:} false; then : 11234 $as_echo_n "(cached) " >&6 11235else 11236 lt_cv_prog_compiler__b=no 11237 save_LDFLAGS=$LDFLAGS 11238 LDFLAGS="$LDFLAGS -b" 11239 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11240 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11241 # The linker can only warn and ignore the option if not recognized 11242 # So say no if there are warnings 11243 if test -s conftest.err; then 11244 # Append any errors to the config.log. 11245 cat conftest.err 1>&5 11246 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11247 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11248 if diff conftest.exp conftest.er2 >/dev/null; then 11249 lt_cv_prog_compiler__b=yes 11250 fi 11251 else 11252 lt_cv_prog_compiler__b=yes 11253 fi 11254 fi 11255 $RM -r conftest* 11256 LDFLAGS=$save_LDFLAGS 11257 11258fi 11259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11260$as_echo "$lt_cv_prog_compiler__b" >&6; } 11261 11262if test yes = "$lt_cv_prog_compiler__b"; then 11263 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11264else 11265 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11266fi 11267 11268 ;; 11269 esac 11270 fi 11271 if test no = "$with_gnu_ld"; then 11272 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11273 hardcode_libdir_separator=: 11274 11275 case $host_cpu in 11276 hppa*64*|ia64*) 11277 hardcode_direct=no 11278 hardcode_shlibpath_var=no 11279 ;; 11280 *) 11281 hardcode_direct=yes 11282 hardcode_direct_absolute=yes 11283 export_dynamic_flag_spec='$wl-E' 11284 11285 # hardcode_minus_L: Not really in the search PATH, 11286 # but as the default location of the library. 11287 hardcode_minus_L=yes 11288 ;; 11289 esac 11290 fi 11291 ;; 11292 11293 irix5* | irix6* | nonstopux*) 11294 if test yes = "$GCC"; then 11295 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' 11296 # Try to use the -exported_symbol ld option, if it does not 11297 # work, assume that -exports_file does not work either and 11298 # implicitly export all symbols. 11299 # This should be the same for all languages, so no per-tag cache variable. 11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11301$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11302if ${lt_cv_irix_exported_symbol+:} false; then : 11303 $as_echo_n "(cached) " >&6 11304else 11305 save_LDFLAGS=$LDFLAGS 11306 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11308/* end confdefs.h. */ 11309int foo (void) { return 0; } 11310_ACEOF 11311if ac_fn_c_try_link "$LINENO"; then : 11312 lt_cv_irix_exported_symbol=yes 11313else 11314 lt_cv_irix_exported_symbol=no 11315fi 11316rm -f core conftest.err conftest.$ac_objext \ 11317 conftest$ac_exeext conftest.$ac_ext 11318 LDFLAGS=$save_LDFLAGS 11319fi 11320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11321$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11322 if test yes = "$lt_cv_irix_exported_symbol"; then 11323 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' 11324 fi 11325 else 11326 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' 11327 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' 11328 fi 11329 archive_cmds_need_lc='no' 11330 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11331 hardcode_libdir_separator=: 11332 inherit_rpath=yes 11333 link_all_deplibs=yes 11334 ;; 11335 11336 linux*) 11337 case $cc_basename in 11338 tcc*) 11339 # Fabrice Bellard et al's Tiny C Compiler 11340 ld_shlibs=yes 11341 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11342 ;; 11343 esac 11344 ;; 11345 11346 netbsd*) 11347 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11348 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11349 else 11350 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11351 fi 11352 hardcode_libdir_flag_spec='-R$libdir' 11353 hardcode_direct=yes 11354 hardcode_shlibpath_var=no 11355 ;; 11356 11357 newsos6) 11358 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11359 hardcode_direct=yes 11360 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11361 hardcode_libdir_separator=: 11362 hardcode_shlibpath_var=no 11363 ;; 11364 11365 *nto* | *qnx*) 11366 ;; 11367 11368 openbsd* | bitrig*) 11369 if test -f /usr/libexec/ld.so; then 11370 hardcode_direct=yes 11371 hardcode_shlibpath_var=no 11372 hardcode_direct_absolute=yes 11373 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11374 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11375 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11376 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11377 export_dynamic_flag_spec='$wl-E' 11378 else 11379 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11380 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11381 fi 11382 else 11383 ld_shlibs=no 11384 fi 11385 ;; 11386 11387 os2*) 11388 hardcode_libdir_flag_spec='-L$libdir' 11389 hardcode_minus_L=yes 11390 allow_undefined_flag=unsupported 11391 shrext_cmds=.dll 11392 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11393 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11394 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11395 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11396 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11397 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11398 emximp -o $lib $output_objdir/$libname.def' 11399 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11400 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11401 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11402 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11403 prefix_cmds="$SED"~ 11404 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11405 prefix_cmds="$prefix_cmds -e 1d"; 11406 fi~ 11407 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11408 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11409 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11410 emximp -o $lib $output_objdir/$libname.def' 11411 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11412 enable_shared_with_static_runtimes=yes 11413 ;; 11414 11415 osf3*) 11416 if test yes = "$GCC"; then 11417 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11418 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' 11419 else 11420 allow_undefined_flag=' -expect_unresolved \*' 11421 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' 11422 fi 11423 archive_cmds_need_lc='no' 11424 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11425 hardcode_libdir_separator=: 11426 ;; 11427 11428 osf4* | osf5*) # as osf3* with the addition of -msym flag 11429 if test yes = "$GCC"; then 11430 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11431 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' 11432 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11433 else 11434 allow_undefined_flag=' -expect_unresolved \*' 11435 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' 11436 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~ 11437 $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' 11438 11439 # Both c and cxx compiler support -rpath directly 11440 hardcode_libdir_flag_spec='-rpath $libdir' 11441 fi 11442 archive_cmds_need_lc='no' 11443 hardcode_libdir_separator=: 11444 ;; 11445 11446 solaris*) 11447 no_undefined_flag=' -z defs' 11448 if test yes = "$GCC"; then 11449 wlarc='$wl' 11450 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11451 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11452 $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' 11453 else 11454 case `$CC -V 2>&1` in 11455 *"Compilers 5.0"*) 11456 wlarc='' 11457 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11458 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11459 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11460 ;; 11461 *) 11462 wlarc='$wl' 11463 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11464 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11465 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11466 ;; 11467 esac 11468 fi 11469 hardcode_libdir_flag_spec='-R$libdir' 11470 hardcode_shlibpath_var=no 11471 case $host_os in 11472 solaris2.[0-5] | solaris2.[0-5].*) ;; 11473 *) 11474 # The compiler driver will combine and reorder linker options, 11475 # but understands '-z linker_flag'. GCC discards it without '$wl', 11476 # but is careful enough not to reorder. 11477 # Supported since Solaris 2.6 (maybe 2.5.1?) 11478 if test yes = "$GCC"; then 11479 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11480 else 11481 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11482 fi 11483 ;; 11484 esac 11485 link_all_deplibs=yes 11486 ;; 11487 11488 sunos4*) 11489 if test sequent = "$host_vendor"; then 11490 # Use $CC to link under sequent, because it throws in some extra .o 11491 # files that make .init and .fini sections work. 11492 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11493 else 11494 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11495 fi 11496 hardcode_libdir_flag_spec='-L$libdir' 11497 hardcode_direct=yes 11498 hardcode_minus_L=yes 11499 hardcode_shlibpath_var=no 11500 ;; 11501 11502 sysv4) 11503 case $host_vendor in 11504 sni) 11505 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11506 hardcode_direct=yes # is this really true??? 11507 ;; 11508 siemens) 11509 ## LD is ld it makes a PLAMLIB 11510 ## CC just makes a GrossModule. 11511 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11512 reload_cmds='$CC -r -o $output$reload_objs' 11513 hardcode_direct=no 11514 ;; 11515 motorola) 11516 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11517 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11518 ;; 11519 esac 11520 runpath_var='LD_RUN_PATH' 11521 hardcode_shlibpath_var=no 11522 ;; 11523 11524 sysv4.3*) 11525 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11526 hardcode_shlibpath_var=no 11527 export_dynamic_flag_spec='-Bexport' 11528 ;; 11529 11530 sysv4*MP*) 11531 if test -d /usr/nec; then 11532 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11533 hardcode_shlibpath_var=no 11534 runpath_var=LD_RUN_PATH 11535 hardcode_runpath_var=yes 11536 ld_shlibs=yes 11537 fi 11538 ;; 11539 11540 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11541 no_undefined_flag='$wl-z,text' 11542 archive_cmds_need_lc=no 11543 hardcode_shlibpath_var=no 11544 runpath_var='LD_RUN_PATH' 11545 11546 if test yes = "$GCC"; then 11547 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11548 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11549 else 11550 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11551 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11552 fi 11553 ;; 11554 11555 sysv5* | sco3.2v5* | sco5v6*) 11556 # Note: We CANNOT use -z defs as we might desire, because we do not 11557 # link with -lc, and that would cause any symbols used from libc to 11558 # always be unresolved, which means just about no library would 11559 # ever link correctly. If we're not using GNU ld we use -z text 11560 # though, which does catch some bad symbols but isn't as heavy-handed 11561 # as -z defs. 11562 no_undefined_flag='$wl-z,text' 11563 allow_undefined_flag='$wl-z,nodefs' 11564 archive_cmds_need_lc=no 11565 hardcode_shlibpath_var=no 11566 hardcode_libdir_flag_spec='$wl-R,$libdir' 11567 hardcode_libdir_separator=':' 11568 link_all_deplibs=yes 11569 export_dynamic_flag_spec='$wl-Bexport' 11570 runpath_var='LD_RUN_PATH' 11571 11572 if test yes = "$GCC"; then 11573 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11574 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11575 else 11576 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11577 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11578 fi 11579 ;; 11580 11581 uts4*) 11582 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11583 hardcode_libdir_flag_spec='-L$libdir' 11584 hardcode_shlibpath_var=no 11585 ;; 11586 11587 *) 11588 ld_shlibs=no 11589 ;; 11590 esac 11591 11592 if test sni = "$host_vendor"; then 11593 case $host in 11594 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11595 export_dynamic_flag_spec='$wl-Blargedynsym' 11596 ;; 11597 esac 11598 fi 11599 fi 11600 11601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11602$as_echo "$ld_shlibs" >&6; } 11603test no = "$ld_shlibs" && can_build_shared=no 11604 11605with_gnu_ld=$with_gnu_ld 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621# 11622# Do we need to explicitly link libc? 11623# 11624case "x$archive_cmds_need_lc" in 11625x|xyes) 11626 # Assume -lc should be added 11627 archive_cmds_need_lc=yes 11628 11629 if test yes,yes = "$GCC,$enable_shared"; then 11630 case $archive_cmds in 11631 *'~'*) 11632 # FIXME: we may have to deal with multi-command sequences. 11633 ;; 11634 '$CC '*) 11635 # Test whether the compiler implicitly links with -lc since on some 11636 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11637 # to ld, don't add -lc before -lgcc. 11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11639$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11640if ${lt_cv_archive_cmds_need_lc+:} false; then : 11641 $as_echo_n "(cached) " >&6 11642else 11643 $RM conftest* 11644 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11645 11646 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11647 (eval $ac_compile) 2>&5 11648 ac_status=$? 11649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11650 test $ac_status = 0; } 2>conftest.err; then 11651 soname=conftest 11652 lib=conftest 11653 libobjs=conftest.$ac_objext 11654 deplibs= 11655 wl=$lt_prog_compiler_wl 11656 pic_flag=$lt_prog_compiler_pic 11657 compiler_flags=-v 11658 linker_flags=-v 11659 verstring= 11660 output_objdir=. 11661 libname=conftest 11662 lt_save_allow_undefined_flag=$allow_undefined_flag 11663 allow_undefined_flag= 11664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11665 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11666 ac_status=$? 11667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11668 test $ac_status = 0; } 11669 then 11670 lt_cv_archive_cmds_need_lc=no 11671 else 11672 lt_cv_archive_cmds_need_lc=yes 11673 fi 11674 allow_undefined_flag=$lt_save_allow_undefined_flag 11675 else 11676 cat conftest.err 1>&5 11677 fi 11678 $RM conftest* 11679 11680fi 11681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11682$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11683 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11684 ;; 11685 esac 11686 fi 11687 ;; 11688esac 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11842$as_echo_n "checking dynamic linker characteristics... " >&6; } 11843 11844if test yes = "$GCC"; then 11845 case $host_os in 11846 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11847 *) lt_awk_arg='/^libraries:/' ;; 11848 esac 11849 case $host_os in 11850 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11851 *) lt_sed_strip_eq='s|=/|/|g' ;; 11852 esac 11853 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11854 case $lt_search_path_spec in 11855 *\;*) 11856 # if the path contains ";" then we assume it to be the separator 11857 # otherwise default to the standard path separator (i.e. ":") - it is 11858 # assumed that no part of a normal pathname contains ";" but that should 11859 # okay in the real world where ";" in dirpaths is itself problematic. 11860 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11861 ;; 11862 *) 11863 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11864 ;; 11865 esac 11866 # Ok, now we have the path, separated by spaces, we can step through it 11867 # and add multilib dir if necessary... 11868 lt_tmp_lt_search_path_spec= 11869 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11870 # ...but if some path component already ends with the multilib dir we assume 11871 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11872 case "$lt_multi_os_dir; $lt_search_path_spec " in 11873 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11874 lt_multi_os_dir= 11875 ;; 11876 esac 11877 for lt_sys_path in $lt_search_path_spec; do 11878 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11879 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11880 elif test -n "$lt_multi_os_dir"; then 11881 test -d "$lt_sys_path" && \ 11882 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11883 fi 11884 done 11885 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11886BEGIN {RS = " "; FS = "/|\n";} { 11887 lt_foo = ""; 11888 lt_count = 0; 11889 for (lt_i = NF; lt_i > 0; lt_i--) { 11890 if ($lt_i != "" && $lt_i != ".") { 11891 if ($lt_i == "..") { 11892 lt_count++; 11893 } else { 11894 if (lt_count == 0) { 11895 lt_foo = "/" $lt_i lt_foo; 11896 } else { 11897 lt_count--; 11898 } 11899 } 11900 } 11901 } 11902 if (lt_foo != "") { lt_freq[lt_foo]++; } 11903 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11904}'` 11905 # AWK program above erroneously prepends '/' to C:/dos/paths 11906 # for these hosts. 11907 case $host_os in 11908 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11909 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11910 esac 11911 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11912else 11913 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11914fi 11915library_names_spec= 11916libname_spec='lib$name' 11917soname_spec= 11918shrext_cmds=.so 11919postinstall_cmds= 11920postuninstall_cmds= 11921finish_cmds= 11922finish_eval= 11923shlibpath_var= 11924shlibpath_overrides_runpath=unknown 11925version_type=none 11926dynamic_linker="$host_os ld.so" 11927sys_lib_dlsearch_path_spec="/lib /usr/lib" 11928need_lib_prefix=unknown 11929hardcode_into_libs=no 11930 11931# when you set need_version to no, make sure it does not cause -set_version 11932# flags to be left without arguments 11933need_version=unknown 11934 11935 11936 11937case $host_os in 11938aix3*) 11939 version_type=linux # correct to gnu/linux during the next big refactor 11940 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11941 shlibpath_var=LIBPATH 11942 11943 # AIX 3 has no versioning support, so we append a major version to the name. 11944 soname_spec='$libname$release$shared_ext$major' 11945 ;; 11946 11947aix[4-9]*) 11948 version_type=linux # correct to gnu/linux during the next big refactor 11949 need_lib_prefix=no 11950 need_version=no 11951 hardcode_into_libs=yes 11952 if test ia64 = "$host_cpu"; then 11953 # AIX 5 supports IA64 11954 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11955 shlibpath_var=LD_LIBRARY_PATH 11956 else 11957 # With GCC up to 2.95.x, collect2 would create an import file 11958 # for dependence libraries. The import file would start with 11959 # the line '#! .'. This would cause the generated library to 11960 # depend on '.', always an invalid library. This was fixed in 11961 # development snapshots of GCC prior to 3.0. 11962 case $host_os in 11963 aix4 | aix4.[01] | aix4.[01].*) 11964 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11965 echo ' yes ' 11966 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11967 : 11968 else 11969 can_build_shared=no 11970 fi 11971 ;; 11972 esac 11973 # Using Import Files as archive members, it is possible to support 11974 # filename-based versioning of shared library archives on AIX. While 11975 # this would work for both with and without runtime linking, it will 11976 # prevent static linking of such archives. So we do filename-based 11977 # shared library versioning with .so extension only, which is used 11978 # when both runtime linking and shared linking is enabled. 11979 # Unfortunately, runtime linking may impact performance, so we do 11980 # not want this to be the default eventually. Also, we use the 11981 # versioned .so libs for executables only if there is the -brtl 11982 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11983 # To allow for filename-based versioning support, we need to create 11984 # libNAME.so.V as an archive file, containing: 11985 # *) an Import File, referring to the versioned filename of the 11986 # archive as well as the shared archive member, telling the 11987 # bitwidth (32 or 64) of that shared object, and providing the 11988 # list of exported symbols of that shared object, eventually 11989 # decorated with the 'weak' keyword 11990 # *) the shared object with the F_LOADONLY flag set, to really avoid 11991 # it being seen by the linker. 11992 # At run time we better use the real file rather than another symlink, 11993 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11994 11995 case $with_aix_soname,$aix_use_runtimelinking in 11996 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11997 # soname into executable. Probably we can add versioning support to 11998 # collect2, so additional links can be useful in future. 11999 aix,yes) # traditional libtool 12000 dynamic_linker='AIX unversionable lib.so' 12001 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12002 # instead of lib<name>.a to let people know that these are not 12003 # typical AIX shared libraries. 12004 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12005 ;; 12006 aix,no) # traditional AIX only 12007 dynamic_linker='AIX lib.a(lib.so.V)' 12008 # We preserve .a as extension for shared libraries through AIX4.2 12009 # and later when we are not doing run time linking. 12010 library_names_spec='$libname$release.a $libname.a' 12011 soname_spec='$libname$release$shared_ext$major' 12012 ;; 12013 svr4,*) # full svr4 only 12014 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12015 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12016 # We do not specify a path in Import Files, so LIBPATH fires. 12017 shlibpath_overrides_runpath=yes 12018 ;; 12019 *,yes) # both, prefer svr4 12020 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12021 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12022 # unpreferred sharedlib libNAME.a needs extra handling 12023 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"' 12024 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"' 12025 # We do not specify a path in Import Files, so LIBPATH fires. 12026 shlibpath_overrides_runpath=yes 12027 ;; 12028 *,no) # both, prefer aix 12029 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12030 library_names_spec='$libname$release.a $libname.a' 12031 soname_spec='$libname$release$shared_ext$major' 12032 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12033 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)' 12034 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"' 12035 ;; 12036 esac 12037 shlibpath_var=LIBPATH 12038 fi 12039 ;; 12040 12041amigaos*) 12042 case $host_cpu in 12043 powerpc) 12044 # Since July 2007 AmigaOS4 officially supports .so libraries. 12045 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12046 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12047 ;; 12048 m68k) 12049 library_names_spec='$libname.ixlibrary $libname.a' 12050 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12051 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' 12052 ;; 12053 esac 12054 ;; 12055 12056beos*) 12057 library_names_spec='$libname$shared_ext' 12058 dynamic_linker="$host_os ld.so" 12059 shlibpath_var=LIBRARY_PATH 12060 ;; 12061 12062bsdi[45]*) 12063 version_type=linux # correct to gnu/linux during the next big refactor 12064 need_version=no 12065 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12066 soname_spec='$libname$release$shared_ext$major' 12067 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12068 shlibpath_var=LD_LIBRARY_PATH 12069 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12070 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12071 # the default ld.so.conf also contains /usr/contrib/lib and 12072 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12073 # libtool to hard-code these into programs 12074 ;; 12075 12076cygwin* | mingw* | pw32* | cegcc*) 12077 version_type=windows 12078 shrext_cmds=.dll 12079 need_version=no 12080 need_lib_prefix=no 12081 12082 case $GCC,$cc_basename in 12083 yes,*) 12084 # gcc 12085 library_names_spec='$libname.dll.a' 12086 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12087 postinstall_cmds='base_file=`basename \$file`~ 12088 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12089 dldir=$destdir/`dirname \$dlpath`~ 12090 test -d \$dldir || mkdir -p \$dldir~ 12091 $install_prog $dir/$dlname \$dldir/$dlname~ 12092 chmod a+x \$dldir/$dlname~ 12093 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12094 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12095 fi' 12096 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12097 dlpath=$dir/\$dldll~ 12098 $RM \$dlpath' 12099 shlibpath_overrides_runpath=yes 12100 12101 case $host_os in 12102 cygwin*) 12103 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12104 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12105 12106 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12107 ;; 12108 mingw* | cegcc*) 12109 # MinGW DLLs use traditional 'lib' prefix 12110 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12111 ;; 12112 pw32*) 12113 # pw32 DLLs use 'pw' prefix rather than 'lib' 12114 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12115 ;; 12116 esac 12117 dynamic_linker='Win32 ld.exe' 12118 ;; 12119 12120 *,cl*) 12121 # Native MSVC 12122 libname_spec='$name' 12123 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12124 library_names_spec='$libname.dll.lib' 12125 12126 case $build_os in 12127 mingw*) 12128 sys_lib_search_path_spec= 12129 lt_save_ifs=$IFS 12130 IFS=';' 12131 for lt_path in $LIB 12132 do 12133 IFS=$lt_save_ifs 12134 # Let DOS variable expansion print the short 8.3 style file name. 12135 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12136 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12137 done 12138 IFS=$lt_save_ifs 12139 # Convert to MSYS style. 12140 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12141 ;; 12142 cygwin*) 12143 # Convert to unix form, then to dos form, then back to unix form 12144 # but this time dos style (no spaces!) so that the unix form looks 12145 # like /cygdrive/c/PROGRA~1:/cygdr... 12146 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12147 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12148 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12149 ;; 12150 *) 12151 sys_lib_search_path_spec=$LIB 12152 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12153 # It is most probably a Windows format PATH. 12154 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12155 else 12156 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12157 fi 12158 # FIXME: find the short name or the path components, as spaces are 12159 # common. (e.g. "Program Files" -> "PROGRA~1") 12160 ;; 12161 esac 12162 12163 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12164 postinstall_cmds='base_file=`basename \$file`~ 12165 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12166 dldir=$destdir/`dirname \$dlpath`~ 12167 test -d \$dldir || mkdir -p \$dldir~ 12168 $install_prog $dir/$dlname \$dldir/$dlname' 12169 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12170 dlpath=$dir/\$dldll~ 12171 $RM \$dlpath' 12172 shlibpath_overrides_runpath=yes 12173 dynamic_linker='Win32 link.exe' 12174 ;; 12175 12176 *) 12177 # Assume MSVC wrapper 12178 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12179 dynamic_linker='Win32 ld.exe' 12180 ;; 12181 esac 12182 # FIXME: first we should search . and the directory the executable is in 12183 shlibpath_var=PATH 12184 ;; 12185 12186darwin* | rhapsody*) 12187 dynamic_linker="$host_os dyld" 12188 version_type=darwin 12189 need_lib_prefix=no 12190 need_version=no 12191 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12192 soname_spec='$libname$release$major$shared_ext' 12193 shlibpath_overrides_runpath=yes 12194 shlibpath_var=DYLD_LIBRARY_PATH 12195 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12196 12197 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12198 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12199 ;; 12200 12201dgux*) 12202 version_type=linux # correct to gnu/linux during the next big refactor 12203 need_lib_prefix=no 12204 need_version=no 12205 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12206 soname_spec='$libname$release$shared_ext$major' 12207 shlibpath_var=LD_LIBRARY_PATH 12208 ;; 12209 12210freebsd* | dragonfly*) 12211 # DragonFly does not have aout. When/if they implement a new 12212 # versioning mechanism, adjust this. 12213 if test -x /usr/bin/objformat; then 12214 objformat=`/usr/bin/objformat` 12215 else 12216 case $host_os in 12217 freebsd[23].*) objformat=aout ;; 12218 *) objformat=elf ;; 12219 esac 12220 fi 12221 version_type=freebsd-$objformat 12222 case $version_type in 12223 freebsd-elf*) 12224 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12225 soname_spec='$libname$release$shared_ext$major' 12226 need_version=no 12227 need_lib_prefix=no 12228 ;; 12229 freebsd-*) 12230 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12231 need_version=yes 12232 ;; 12233 esac 12234 shlibpath_var=LD_LIBRARY_PATH 12235 case $host_os in 12236 freebsd2.*) 12237 shlibpath_overrides_runpath=yes 12238 ;; 12239 freebsd3.[01]* | freebsdelf3.[01]*) 12240 shlibpath_overrides_runpath=yes 12241 hardcode_into_libs=yes 12242 ;; 12243 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12244 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12245 shlibpath_overrides_runpath=no 12246 hardcode_into_libs=yes 12247 ;; 12248 *) # from 4.6 on, and DragonFly 12249 shlibpath_overrides_runpath=yes 12250 hardcode_into_libs=yes 12251 ;; 12252 esac 12253 ;; 12254 12255haiku*) 12256 version_type=linux # correct to gnu/linux during the next big refactor 12257 need_lib_prefix=no 12258 need_version=no 12259 dynamic_linker="$host_os runtime_loader" 12260 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12261 soname_spec='$libname$release$shared_ext$major' 12262 shlibpath_var=LIBRARY_PATH 12263 shlibpath_overrides_runpath=no 12264 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12265 hardcode_into_libs=yes 12266 ;; 12267 12268hpux9* | hpux10* | hpux11*) 12269 # Give a soname corresponding to the major version so that dld.sl refuses to 12270 # link against other versions. 12271 version_type=sunos 12272 need_lib_prefix=no 12273 need_version=no 12274 case $host_cpu in 12275 ia64*) 12276 shrext_cmds='.so' 12277 hardcode_into_libs=yes 12278 dynamic_linker="$host_os dld.so" 12279 shlibpath_var=LD_LIBRARY_PATH 12280 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12281 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12282 soname_spec='$libname$release$shared_ext$major' 12283 if test 32 = "$HPUX_IA64_MODE"; then 12284 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12285 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12286 else 12287 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12288 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12289 fi 12290 ;; 12291 hppa*64*) 12292 shrext_cmds='.sl' 12293 hardcode_into_libs=yes 12294 dynamic_linker="$host_os dld.sl" 12295 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12296 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12297 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12298 soname_spec='$libname$release$shared_ext$major' 12299 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12300 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12301 ;; 12302 *) 12303 shrext_cmds='.sl' 12304 dynamic_linker="$host_os dld.sl" 12305 shlibpath_var=SHLIB_PATH 12306 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12307 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12308 soname_spec='$libname$release$shared_ext$major' 12309 ;; 12310 esac 12311 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12312 postinstall_cmds='chmod 555 $lib' 12313 # or fails outright, so override atomically: 12314 install_override_mode=555 12315 ;; 12316 12317interix[3-9]*) 12318 version_type=linux # correct to gnu/linux during the next big refactor 12319 need_lib_prefix=no 12320 need_version=no 12321 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12322 soname_spec='$libname$release$shared_ext$major' 12323 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12324 shlibpath_var=LD_LIBRARY_PATH 12325 shlibpath_overrides_runpath=no 12326 hardcode_into_libs=yes 12327 ;; 12328 12329irix5* | irix6* | nonstopux*) 12330 case $host_os in 12331 nonstopux*) version_type=nonstopux ;; 12332 *) 12333 if test yes = "$lt_cv_prog_gnu_ld"; then 12334 version_type=linux # correct to gnu/linux during the next big refactor 12335 else 12336 version_type=irix 12337 fi ;; 12338 esac 12339 need_lib_prefix=no 12340 need_version=no 12341 soname_spec='$libname$release$shared_ext$major' 12342 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12343 case $host_os in 12344 irix5* | nonstopux*) 12345 libsuff= shlibsuff= 12346 ;; 12347 *) 12348 case $LD in # libtool.m4 will add one of these switches to LD 12349 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12350 libsuff= shlibsuff= libmagic=32-bit;; 12351 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12352 libsuff=32 shlibsuff=N32 libmagic=N32;; 12353 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12354 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12355 *) libsuff= shlibsuff= libmagic=never-match;; 12356 esac 12357 ;; 12358 esac 12359 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12360 shlibpath_overrides_runpath=no 12361 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12362 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12363 hardcode_into_libs=yes 12364 ;; 12365 12366# No shared lib support for Linux oldld, aout, or coff. 12367linux*oldld* | linux*aout* | linux*coff*) 12368 dynamic_linker=no 12369 ;; 12370 12371linux*android*) 12372 version_type=none # Android doesn't support versioned libraries. 12373 need_lib_prefix=no 12374 need_version=no 12375 library_names_spec='$libname$release$shared_ext' 12376 soname_spec='$libname$release$shared_ext' 12377 finish_cmds= 12378 shlibpath_var=LD_LIBRARY_PATH 12379 shlibpath_overrides_runpath=yes 12380 12381 # This implies no fast_install, which is unacceptable. 12382 # Some rework will be needed to allow for fast_install 12383 # before this can be enabled. 12384 hardcode_into_libs=yes 12385 12386 dynamic_linker='Android linker' 12387 # Don't embed -rpath directories since the linker doesn't support them. 12388 hardcode_libdir_flag_spec='-L$libdir' 12389 ;; 12390 12391# This must be glibc/ELF. 12392linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12393 version_type=linux # correct to gnu/linux during the next big refactor 12394 need_lib_prefix=no 12395 need_version=no 12396 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12397 soname_spec='$libname$release$shared_ext$major' 12398 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12399 shlibpath_var=LD_LIBRARY_PATH 12400 shlibpath_overrides_runpath=no 12401 12402 # Some binutils ld are patched to set DT_RUNPATH 12403 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12404 $as_echo_n "(cached) " >&6 12405else 12406 lt_cv_shlibpath_overrides_runpath=no 12407 save_LDFLAGS=$LDFLAGS 12408 save_libdir=$libdir 12409 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12410 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12412/* end confdefs.h. */ 12413 12414int 12415main () 12416{ 12417 12418 ; 12419 return 0; 12420} 12421_ACEOF 12422if ac_fn_c_try_link "$LINENO"; then : 12423 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12424 lt_cv_shlibpath_overrides_runpath=yes 12425fi 12426fi 12427rm -f core conftest.err conftest.$ac_objext \ 12428 conftest$ac_exeext conftest.$ac_ext 12429 LDFLAGS=$save_LDFLAGS 12430 libdir=$save_libdir 12431 12432fi 12433 12434 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12435 12436 # This implies no fast_install, which is unacceptable. 12437 # Some rework will be needed to allow for fast_install 12438 # before this can be enabled. 12439 hardcode_into_libs=yes 12440 12441 # Ideally, we could use ldconfig to report *all* directores which are 12442 # searched for libraries, however this is still not possible. Aside from not 12443 # being certain /sbin/ldconfig is available, command 12444 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12445 # even though it is searched at run-time. Try to do the best guess by 12446 # appending ld.so.conf contents (and includes) to the search path. 12447 if test -f /etc/ld.so.conf; then 12448 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' ' '` 12449 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12450 fi 12451 12452 # We used to test for /lib/ld.so.1 and disable shared libraries on 12453 # powerpc, because MkLinux only supported shared libraries with the 12454 # GNU dynamic linker. Since this was broken with cross compilers, 12455 # most powerpc-linux boxes support dynamic linking these days and 12456 # people can always --disable-shared, the test was removed, and we 12457 # assume the GNU/Linux dynamic linker is in use. 12458 dynamic_linker='GNU/Linux ld.so' 12459 ;; 12460 12461netbsd*) 12462 version_type=sunos 12463 need_lib_prefix=no 12464 need_version=no 12465 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12466 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12467 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12468 dynamic_linker='NetBSD (a.out) ld.so' 12469 else 12470 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12471 soname_spec='$libname$release$shared_ext$major' 12472 dynamic_linker='NetBSD ld.elf_so' 12473 fi 12474 shlibpath_var=LD_LIBRARY_PATH 12475 shlibpath_overrides_runpath=yes 12476 hardcode_into_libs=yes 12477 ;; 12478 12479newsos6) 12480 version_type=linux # correct to gnu/linux during the next big refactor 12481 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12482 shlibpath_var=LD_LIBRARY_PATH 12483 shlibpath_overrides_runpath=yes 12484 ;; 12485 12486*nto* | *qnx*) 12487 version_type=qnx 12488 need_lib_prefix=no 12489 need_version=no 12490 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12491 soname_spec='$libname$release$shared_ext$major' 12492 shlibpath_var=LD_LIBRARY_PATH 12493 shlibpath_overrides_runpath=no 12494 hardcode_into_libs=yes 12495 dynamic_linker='ldqnx.so' 12496 ;; 12497 12498openbsd* | bitrig*) 12499 version_type=sunos 12500 sys_lib_dlsearch_path_spec=/usr/lib 12501 need_lib_prefix=no 12502 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12503 need_version=no 12504 else 12505 need_version=yes 12506 fi 12507 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12508 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12509 shlibpath_var=LD_LIBRARY_PATH 12510 shlibpath_overrides_runpath=yes 12511 ;; 12512 12513os2*) 12514 libname_spec='$name' 12515 version_type=windows 12516 shrext_cmds=.dll 12517 need_version=no 12518 need_lib_prefix=no 12519 # OS/2 can only load a DLL with a base name of 8 characters or less. 12520 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12521 v=$($ECHO $release$versuffix | tr -d .-); 12522 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12523 $ECHO $n$v`$shared_ext' 12524 library_names_spec='${libname}_dll.$libext' 12525 dynamic_linker='OS/2 ld.exe' 12526 shlibpath_var=BEGINLIBPATH 12527 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12528 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12529 postinstall_cmds='base_file=`basename \$file`~ 12530 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12531 dldir=$destdir/`dirname \$dlpath`~ 12532 test -d \$dldir || mkdir -p \$dldir~ 12533 $install_prog $dir/$dlname \$dldir/$dlname~ 12534 chmod a+x \$dldir/$dlname~ 12535 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12536 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12537 fi' 12538 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12539 dlpath=$dir/\$dldll~ 12540 $RM \$dlpath' 12541 ;; 12542 12543osf3* | osf4* | osf5*) 12544 version_type=osf 12545 need_lib_prefix=no 12546 need_version=no 12547 soname_spec='$libname$release$shared_ext$major' 12548 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12549 shlibpath_var=LD_LIBRARY_PATH 12550 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12551 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12552 ;; 12553 12554rdos*) 12555 dynamic_linker=no 12556 ;; 12557 12558solaris*) 12559 version_type=linux # correct to gnu/linux during the next big refactor 12560 need_lib_prefix=no 12561 need_version=no 12562 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12563 soname_spec='$libname$release$shared_ext$major' 12564 shlibpath_var=LD_LIBRARY_PATH 12565 shlibpath_overrides_runpath=yes 12566 hardcode_into_libs=yes 12567 # ldd complains unless libraries are executable 12568 postinstall_cmds='chmod +x $lib' 12569 ;; 12570 12571sunos4*) 12572 version_type=sunos 12573 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12574 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12575 shlibpath_var=LD_LIBRARY_PATH 12576 shlibpath_overrides_runpath=yes 12577 if test yes = "$with_gnu_ld"; then 12578 need_lib_prefix=no 12579 fi 12580 need_version=yes 12581 ;; 12582 12583sysv4 | sysv4.3*) 12584 version_type=linux # correct to gnu/linux during the next big refactor 12585 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12586 soname_spec='$libname$release$shared_ext$major' 12587 shlibpath_var=LD_LIBRARY_PATH 12588 case $host_vendor in 12589 sni) 12590 shlibpath_overrides_runpath=no 12591 need_lib_prefix=no 12592 runpath_var=LD_RUN_PATH 12593 ;; 12594 siemens) 12595 need_lib_prefix=no 12596 ;; 12597 motorola) 12598 need_lib_prefix=no 12599 need_version=no 12600 shlibpath_overrides_runpath=no 12601 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12602 ;; 12603 esac 12604 ;; 12605 12606sysv4*MP*) 12607 if test -d /usr/nec; then 12608 version_type=linux # correct to gnu/linux during the next big refactor 12609 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12610 soname_spec='$libname$shared_ext.$major' 12611 shlibpath_var=LD_LIBRARY_PATH 12612 fi 12613 ;; 12614 12615sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12616 version_type=sco 12617 need_lib_prefix=no 12618 need_version=no 12619 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12620 soname_spec='$libname$release$shared_ext$major' 12621 shlibpath_var=LD_LIBRARY_PATH 12622 shlibpath_overrides_runpath=yes 12623 hardcode_into_libs=yes 12624 if test yes = "$with_gnu_ld"; then 12625 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12626 else 12627 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12628 case $host_os in 12629 sco3.2v5*) 12630 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12631 ;; 12632 esac 12633 fi 12634 sys_lib_dlsearch_path_spec='/usr/lib' 12635 ;; 12636 12637tpf*) 12638 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12639 version_type=linux # correct to gnu/linux during the next big refactor 12640 need_lib_prefix=no 12641 need_version=no 12642 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12643 shlibpath_var=LD_LIBRARY_PATH 12644 shlibpath_overrides_runpath=no 12645 hardcode_into_libs=yes 12646 ;; 12647 12648uts4*) 12649 version_type=linux # correct to gnu/linux during the next big refactor 12650 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12651 soname_spec='$libname$release$shared_ext$major' 12652 shlibpath_var=LD_LIBRARY_PATH 12653 ;; 12654 12655*) 12656 dynamic_linker=no 12657 ;; 12658esac 12659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12660$as_echo "$dynamic_linker" >&6; } 12661test no = "$dynamic_linker" && can_build_shared=no 12662 12663variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12664if test yes = "$GCC"; then 12665 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12666fi 12667 12668if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12669 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12670fi 12671 12672if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12673 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12674fi 12675 12676# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12677configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12678 12679# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12680func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12681 12682# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12683configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12782$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12783hardcode_action= 12784if test -n "$hardcode_libdir_flag_spec" || 12785 test -n "$runpath_var" || 12786 test yes = "$hardcode_automatic"; then 12787 12788 # We can hardcode non-existent directories. 12789 if test no != "$hardcode_direct" && 12790 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12791 # have to relink, otherwise we might link with an installed library 12792 # when we should be linking with a yet-to-be-installed one 12793 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12794 test no != "$hardcode_minus_L"; then 12795 # Linking always hardcodes the temporary library directory. 12796 hardcode_action=relink 12797 else 12798 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12799 hardcode_action=immediate 12800 fi 12801else 12802 # We cannot hardcode anything, or else we can only hardcode existing 12803 # directories. 12804 hardcode_action=unsupported 12805fi 12806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12807$as_echo "$hardcode_action" >&6; } 12808 12809if test relink = "$hardcode_action" || 12810 test yes = "$inherit_rpath"; then 12811 # Fast installation is not supported 12812 enable_fast_install=no 12813elif test yes = "$shlibpath_overrides_runpath" || 12814 test no = "$enable_shared"; then 12815 # Fast installation is not necessary 12816 enable_fast_install=needless 12817fi 12818 12819 12820 12821 12822 12823 12824 if test yes != "$enable_dlopen"; then 12825 enable_dlopen=unknown 12826 enable_dlopen_self=unknown 12827 enable_dlopen_self_static=unknown 12828else 12829 lt_cv_dlopen=no 12830 lt_cv_dlopen_libs= 12831 12832 case $host_os in 12833 beos*) 12834 lt_cv_dlopen=load_add_on 12835 lt_cv_dlopen_libs= 12836 lt_cv_dlopen_self=yes 12837 ;; 12838 12839 mingw* | pw32* | cegcc*) 12840 lt_cv_dlopen=LoadLibrary 12841 lt_cv_dlopen_libs= 12842 ;; 12843 12844 cygwin*) 12845 lt_cv_dlopen=dlopen 12846 lt_cv_dlopen_libs= 12847 ;; 12848 12849 darwin*) 12850 # if libdl is installed we need to link against it 12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12852$as_echo_n "checking for dlopen in -ldl... " >&6; } 12853if ${ac_cv_lib_dl_dlopen+:} false; then : 12854 $as_echo_n "(cached) " >&6 12855else 12856 ac_check_lib_save_LIBS=$LIBS 12857LIBS="-ldl $LIBS" 12858cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12859/* end confdefs.h. */ 12860 12861/* Override any GCC internal prototype to avoid an error. 12862 Use char because int might match the return type of a GCC 12863 builtin and then its argument prototype would still apply. */ 12864#ifdef __cplusplus 12865extern "C" 12866#endif 12867char dlopen (); 12868int 12869main () 12870{ 12871return dlopen (); 12872 ; 12873 return 0; 12874} 12875_ACEOF 12876if ac_fn_c_try_link "$LINENO"; then : 12877 ac_cv_lib_dl_dlopen=yes 12878else 12879 ac_cv_lib_dl_dlopen=no 12880fi 12881rm -f core conftest.err conftest.$ac_objext \ 12882 conftest$ac_exeext conftest.$ac_ext 12883LIBS=$ac_check_lib_save_LIBS 12884fi 12885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12886$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12887if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12888 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12889else 12890 12891 lt_cv_dlopen=dyld 12892 lt_cv_dlopen_libs= 12893 lt_cv_dlopen_self=yes 12894 12895fi 12896 12897 ;; 12898 12899 tpf*) 12900 # Don't try to run any link tests for TPF. We know it's impossible 12901 # because TPF is a cross-compiler, and we know how we open DSOs. 12902 lt_cv_dlopen=dlopen 12903 lt_cv_dlopen_libs= 12904 lt_cv_dlopen_self=no 12905 ;; 12906 12907 *) 12908 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12909if test "x$ac_cv_func_shl_load" = xyes; then : 12910 lt_cv_dlopen=shl_load 12911else 12912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12913$as_echo_n "checking for shl_load in -ldld... " >&6; } 12914if ${ac_cv_lib_dld_shl_load+:} false; then : 12915 $as_echo_n "(cached) " >&6 12916else 12917 ac_check_lib_save_LIBS=$LIBS 12918LIBS="-ldld $LIBS" 12919cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12920/* end confdefs.h. */ 12921 12922/* Override any GCC internal prototype to avoid an error. 12923 Use char because int might match the return type of a GCC 12924 builtin and then its argument prototype would still apply. */ 12925#ifdef __cplusplus 12926extern "C" 12927#endif 12928char shl_load (); 12929int 12930main () 12931{ 12932return shl_load (); 12933 ; 12934 return 0; 12935} 12936_ACEOF 12937if ac_fn_c_try_link "$LINENO"; then : 12938 ac_cv_lib_dld_shl_load=yes 12939else 12940 ac_cv_lib_dld_shl_load=no 12941fi 12942rm -f core conftest.err conftest.$ac_objext \ 12943 conftest$ac_exeext conftest.$ac_ext 12944LIBS=$ac_check_lib_save_LIBS 12945fi 12946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12947$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12948if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12949 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12950else 12951 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12952if test "x$ac_cv_func_dlopen" = xyes; then : 12953 lt_cv_dlopen=dlopen 12954else 12955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12956$as_echo_n "checking for dlopen in -ldl... " >&6; } 12957if ${ac_cv_lib_dl_dlopen+:} false; then : 12958 $as_echo_n "(cached) " >&6 12959else 12960 ac_check_lib_save_LIBS=$LIBS 12961LIBS="-ldl $LIBS" 12962cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12963/* end confdefs.h. */ 12964 12965/* Override any GCC internal prototype to avoid an error. 12966 Use char because int might match the return type of a GCC 12967 builtin and then its argument prototype would still apply. */ 12968#ifdef __cplusplus 12969extern "C" 12970#endif 12971char dlopen (); 12972int 12973main () 12974{ 12975return dlopen (); 12976 ; 12977 return 0; 12978} 12979_ACEOF 12980if ac_fn_c_try_link "$LINENO"; then : 12981 ac_cv_lib_dl_dlopen=yes 12982else 12983 ac_cv_lib_dl_dlopen=no 12984fi 12985rm -f core conftest.err conftest.$ac_objext \ 12986 conftest$ac_exeext conftest.$ac_ext 12987LIBS=$ac_check_lib_save_LIBS 12988fi 12989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12990$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12991if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12992 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12993else 12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12995$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12996if ${ac_cv_lib_svld_dlopen+:} false; then : 12997 $as_echo_n "(cached) " >&6 12998else 12999 ac_check_lib_save_LIBS=$LIBS 13000LIBS="-lsvld $LIBS" 13001cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13002/* end confdefs.h. */ 13003 13004/* Override any GCC internal prototype to avoid an error. 13005 Use char because int might match the return type of a GCC 13006 builtin and then its argument prototype would still apply. */ 13007#ifdef __cplusplus 13008extern "C" 13009#endif 13010char dlopen (); 13011int 13012main () 13013{ 13014return dlopen (); 13015 ; 13016 return 0; 13017} 13018_ACEOF 13019if ac_fn_c_try_link "$LINENO"; then : 13020 ac_cv_lib_svld_dlopen=yes 13021else 13022 ac_cv_lib_svld_dlopen=no 13023fi 13024rm -f core conftest.err conftest.$ac_objext \ 13025 conftest$ac_exeext conftest.$ac_ext 13026LIBS=$ac_check_lib_save_LIBS 13027fi 13028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13029$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13030if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13031 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13032else 13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13034$as_echo_n "checking for dld_link in -ldld... " >&6; } 13035if ${ac_cv_lib_dld_dld_link+:} false; then : 13036 $as_echo_n "(cached) " >&6 13037else 13038 ac_check_lib_save_LIBS=$LIBS 13039LIBS="-ldld $LIBS" 13040cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13041/* end confdefs.h. */ 13042 13043/* Override any GCC internal prototype to avoid an error. 13044 Use char because int might match the return type of a GCC 13045 builtin and then its argument prototype would still apply. */ 13046#ifdef __cplusplus 13047extern "C" 13048#endif 13049char dld_link (); 13050int 13051main () 13052{ 13053return dld_link (); 13054 ; 13055 return 0; 13056} 13057_ACEOF 13058if ac_fn_c_try_link "$LINENO"; then : 13059 ac_cv_lib_dld_dld_link=yes 13060else 13061 ac_cv_lib_dld_dld_link=no 13062fi 13063rm -f core conftest.err conftest.$ac_objext \ 13064 conftest$ac_exeext conftest.$ac_ext 13065LIBS=$ac_check_lib_save_LIBS 13066fi 13067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13068$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13069if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13070 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13071fi 13072 13073 13074fi 13075 13076 13077fi 13078 13079 13080fi 13081 13082 13083fi 13084 13085 13086fi 13087 13088 ;; 13089 esac 13090 13091 if test no = "$lt_cv_dlopen"; then 13092 enable_dlopen=no 13093 else 13094 enable_dlopen=yes 13095 fi 13096 13097 case $lt_cv_dlopen in 13098 dlopen) 13099 save_CPPFLAGS=$CPPFLAGS 13100 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13101 13102 save_LDFLAGS=$LDFLAGS 13103 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13104 13105 save_LIBS=$LIBS 13106 LIBS="$lt_cv_dlopen_libs $LIBS" 13107 13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13109$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13110if ${lt_cv_dlopen_self+:} false; then : 13111 $as_echo_n "(cached) " >&6 13112else 13113 if test yes = "$cross_compiling"; then : 13114 lt_cv_dlopen_self=cross 13115else 13116 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13117 lt_status=$lt_dlunknown 13118 cat > conftest.$ac_ext <<_LT_EOF 13119#line $LINENO "configure" 13120#include "confdefs.h" 13121 13122#if HAVE_DLFCN_H 13123#include <dlfcn.h> 13124#endif 13125 13126#include <stdio.h> 13127 13128#ifdef RTLD_GLOBAL 13129# define LT_DLGLOBAL RTLD_GLOBAL 13130#else 13131# ifdef DL_GLOBAL 13132# define LT_DLGLOBAL DL_GLOBAL 13133# else 13134# define LT_DLGLOBAL 0 13135# endif 13136#endif 13137 13138/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13139 find out it does not work in some platform. */ 13140#ifndef LT_DLLAZY_OR_NOW 13141# ifdef RTLD_LAZY 13142# define LT_DLLAZY_OR_NOW RTLD_LAZY 13143# else 13144# ifdef DL_LAZY 13145# define LT_DLLAZY_OR_NOW DL_LAZY 13146# else 13147# ifdef RTLD_NOW 13148# define LT_DLLAZY_OR_NOW RTLD_NOW 13149# else 13150# ifdef DL_NOW 13151# define LT_DLLAZY_OR_NOW DL_NOW 13152# else 13153# define LT_DLLAZY_OR_NOW 0 13154# endif 13155# endif 13156# endif 13157# endif 13158#endif 13159 13160/* When -fvisibility=hidden is used, assume the code has been annotated 13161 correspondingly for the symbols needed. */ 13162#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13163int fnord () __attribute__((visibility("default"))); 13164#endif 13165 13166int fnord () { return 42; } 13167int main () 13168{ 13169 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13170 int status = $lt_dlunknown; 13171 13172 if (self) 13173 { 13174 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13175 else 13176 { 13177 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13178 else puts (dlerror ()); 13179 } 13180 /* dlclose (self); */ 13181 } 13182 else 13183 puts (dlerror ()); 13184 13185 return status; 13186} 13187_LT_EOF 13188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13189 (eval $ac_link) 2>&5 13190 ac_status=$? 13191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13192 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13193 (./conftest; exit; ) >&5 2>/dev/null 13194 lt_status=$? 13195 case x$lt_status in 13196 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13197 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13198 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13199 esac 13200 else : 13201 # compilation failed 13202 lt_cv_dlopen_self=no 13203 fi 13204fi 13205rm -fr conftest* 13206 13207 13208fi 13209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13210$as_echo "$lt_cv_dlopen_self" >&6; } 13211 13212 if test yes = "$lt_cv_dlopen_self"; then 13213 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13215$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13216if ${lt_cv_dlopen_self_static+:} false; then : 13217 $as_echo_n "(cached) " >&6 13218else 13219 if test yes = "$cross_compiling"; then : 13220 lt_cv_dlopen_self_static=cross 13221else 13222 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13223 lt_status=$lt_dlunknown 13224 cat > conftest.$ac_ext <<_LT_EOF 13225#line $LINENO "configure" 13226#include "confdefs.h" 13227 13228#if HAVE_DLFCN_H 13229#include <dlfcn.h> 13230#endif 13231 13232#include <stdio.h> 13233 13234#ifdef RTLD_GLOBAL 13235# define LT_DLGLOBAL RTLD_GLOBAL 13236#else 13237# ifdef DL_GLOBAL 13238# define LT_DLGLOBAL DL_GLOBAL 13239# else 13240# define LT_DLGLOBAL 0 13241# endif 13242#endif 13243 13244/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13245 find out it does not work in some platform. */ 13246#ifndef LT_DLLAZY_OR_NOW 13247# ifdef RTLD_LAZY 13248# define LT_DLLAZY_OR_NOW RTLD_LAZY 13249# else 13250# ifdef DL_LAZY 13251# define LT_DLLAZY_OR_NOW DL_LAZY 13252# else 13253# ifdef RTLD_NOW 13254# define LT_DLLAZY_OR_NOW RTLD_NOW 13255# else 13256# ifdef DL_NOW 13257# define LT_DLLAZY_OR_NOW DL_NOW 13258# else 13259# define LT_DLLAZY_OR_NOW 0 13260# endif 13261# endif 13262# endif 13263# endif 13264#endif 13265 13266/* When -fvisibility=hidden is used, assume the code has been annotated 13267 correspondingly for the symbols needed. */ 13268#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13269int fnord () __attribute__((visibility("default"))); 13270#endif 13271 13272int fnord () { return 42; } 13273int main () 13274{ 13275 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13276 int status = $lt_dlunknown; 13277 13278 if (self) 13279 { 13280 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13281 else 13282 { 13283 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13284 else puts (dlerror ()); 13285 } 13286 /* dlclose (self); */ 13287 } 13288 else 13289 puts (dlerror ()); 13290 13291 return status; 13292} 13293_LT_EOF 13294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13295 (eval $ac_link) 2>&5 13296 ac_status=$? 13297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13298 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13299 (./conftest; exit; ) >&5 2>/dev/null 13300 lt_status=$? 13301 case x$lt_status in 13302 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13303 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13304 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13305 esac 13306 else : 13307 # compilation failed 13308 lt_cv_dlopen_self_static=no 13309 fi 13310fi 13311rm -fr conftest* 13312 13313 13314fi 13315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13316$as_echo "$lt_cv_dlopen_self_static" >&6; } 13317 fi 13318 13319 CPPFLAGS=$save_CPPFLAGS 13320 LDFLAGS=$save_LDFLAGS 13321 LIBS=$save_LIBS 13322 ;; 13323 esac 13324 13325 case $lt_cv_dlopen_self in 13326 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13327 *) enable_dlopen_self=unknown ;; 13328 esac 13329 13330 case $lt_cv_dlopen_self_static in 13331 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13332 *) enable_dlopen_self_static=unknown ;; 13333 esac 13334fi 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352striplib= 13353old_striplib= 13354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13355$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13356if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13357 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13358 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13360$as_echo "yes" >&6; } 13361else 13362# FIXME - insert some real tests, host_os isn't really good enough 13363 case $host_os in 13364 darwin*) 13365 if test -n "$STRIP"; then 13366 striplib="$STRIP -x" 13367 old_striplib="$STRIP -S" 13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13369$as_echo "yes" >&6; } 13370 else 13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13372$as_echo "no" >&6; } 13373 fi 13374 ;; 13375 *) 13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13377$as_echo "no" >&6; } 13378 ;; 13379 esac 13380fi 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 # Report what library types will actually be built 13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13395$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13397$as_echo "$can_build_shared" >&6; } 13398 13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13400$as_echo_n "checking whether to build shared libraries... " >&6; } 13401 test no = "$can_build_shared" && enable_shared=no 13402 13403 # On AIX, shared libraries and static libraries use the same namespace, and 13404 # are all built from PIC. 13405 case $host_os in 13406 aix3*) 13407 test yes = "$enable_shared" && enable_static=no 13408 if test -n "$RANLIB"; then 13409 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13410 postinstall_cmds='$RANLIB $lib' 13411 fi 13412 ;; 13413 13414 aix[4-9]*) 13415 if test ia64 != "$host_cpu"; then 13416 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13417 yes,aix,yes) ;; # shared object as lib.so file only 13418 yes,svr4,*) ;; # shared object as lib.so archive member only 13419 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13420 esac 13421 fi 13422 ;; 13423 esac 13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13425$as_echo "$enable_shared" >&6; } 13426 13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13428$as_echo_n "checking whether to build static libraries... " >&6; } 13429 # Make sure either enable_shared or enable_static is yes. 13430 test yes = "$enable_shared" || enable_static=yes 13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13432$as_echo "$enable_static" >&6; } 13433 13434 13435 13436 13437fi 13438ac_ext=c 13439ac_cpp='$CPP $CPPFLAGS' 13440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13442ac_compiler_gnu=$ac_cv_c_compiler_gnu 13443 13444CC=$lt_save_CC 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 ac_config_commands="$ac_config_commands libtool" 13461 13462 13463 13464 13465# Only expand once: 13466 13467 13468# Check whether --enable-largefile was given. 13469if test "${enable_largefile+set}" = set; then : 13470 enableval=$enable_largefile; 13471fi 13472 13473if test "$enable_largefile" != no; then 13474 13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 13476$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 13477if ${ac_cv_sys_largefile_CC+:} false; then : 13478 $as_echo_n "(cached) " >&6 13479else 13480 ac_cv_sys_largefile_CC=no 13481 if test "$GCC" != yes; then 13482 ac_save_CC=$CC 13483 while :; do 13484 # IRIX 6.2 and later do not support large files by default, 13485 # so use the C compiler's -n32 option if that helps. 13486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13487/* end confdefs.h. */ 13488#include <sys/types.h> 13489 /* Check that off_t can represent 2**63 - 1 correctly. 13490 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13491 since some C++ compilers masquerading as C compilers 13492 incorrectly reject 9223372036854775807. */ 13493#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13494 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13495 && LARGE_OFF_T % 2147483647 == 1) 13496 ? 1 : -1]; 13497int 13498main () 13499{ 13500 13501 ; 13502 return 0; 13503} 13504_ACEOF 13505 if ac_fn_c_try_compile "$LINENO"; then : 13506 break 13507fi 13508rm -f core conftest.err conftest.$ac_objext 13509 CC="$CC -n32" 13510 if ac_fn_c_try_compile "$LINENO"; then : 13511 ac_cv_sys_largefile_CC=' -n32'; break 13512fi 13513rm -f core conftest.err conftest.$ac_objext 13514 break 13515 done 13516 CC=$ac_save_CC 13517 rm -f conftest.$ac_ext 13518 fi 13519fi 13520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 13521$as_echo "$ac_cv_sys_largefile_CC" >&6; } 13522 if test "$ac_cv_sys_largefile_CC" != no; then 13523 CC=$CC$ac_cv_sys_largefile_CC 13524 fi 13525 13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 13527$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 13528if ${ac_cv_sys_file_offset_bits+:} false; then : 13529 $as_echo_n "(cached) " >&6 13530else 13531 while :; do 13532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13533/* end confdefs.h. */ 13534#include <sys/types.h> 13535 /* Check that off_t can represent 2**63 - 1 correctly. 13536 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13537 since some C++ compilers masquerading as C compilers 13538 incorrectly reject 9223372036854775807. */ 13539#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13540 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13541 && LARGE_OFF_T % 2147483647 == 1) 13542 ? 1 : -1]; 13543int 13544main () 13545{ 13546 13547 ; 13548 return 0; 13549} 13550_ACEOF 13551if ac_fn_c_try_compile "$LINENO"; then : 13552 ac_cv_sys_file_offset_bits=no; break 13553fi 13554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13556/* end confdefs.h. */ 13557#define _FILE_OFFSET_BITS 64 13558#include <sys/types.h> 13559 /* Check that off_t can represent 2**63 - 1 correctly. 13560 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13561 since some C++ compilers masquerading as C compilers 13562 incorrectly reject 9223372036854775807. */ 13563#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13564 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13565 && LARGE_OFF_T % 2147483647 == 1) 13566 ? 1 : -1]; 13567int 13568main () 13569{ 13570 13571 ; 13572 return 0; 13573} 13574_ACEOF 13575if ac_fn_c_try_compile "$LINENO"; then : 13576 ac_cv_sys_file_offset_bits=64; break 13577fi 13578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13579 ac_cv_sys_file_offset_bits=unknown 13580 break 13581done 13582fi 13583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 13584$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 13585case $ac_cv_sys_file_offset_bits in #( 13586 no | unknown) ;; 13587 *) 13588cat >>confdefs.h <<_ACEOF 13589#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 13590_ACEOF 13591;; 13592esac 13593rm -rf conftest* 13594 if test $ac_cv_sys_file_offset_bits = unknown; then 13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 13596$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 13597if ${ac_cv_sys_large_files+:} false; then : 13598 $as_echo_n "(cached) " >&6 13599else 13600 while :; do 13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13602/* end confdefs.h. */ 13603#include <sys/types.h> 13604 /* Check that off_t can represent 2**63 - 1 correctly. 13605 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13606 since some C++ compilers masquerading as C compilers 13607 incorrectly reject 9223372036854775807. */ 13608#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13609 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13610 && LARGE_OFF_T % 2147483647 == 1) 13611 ? 1 : -1]; 13612int 13613main () 13614{ 13615 13616 ; 13617 return 0; 13618} 13619_ACEOF 13620if ac_fn_c_try_compile "$LINENO"; then : 13621 ac_cv_sys_large_files=no; break 13622fi 13623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13625/* end confdefs.h. */ 13626#define _LARGE_FILES 1 13627#include <sys/types.h> 13628 /* Check that off_t can represent 2**63 - 1 correctly. 13629 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13630 since some C++ compilers masquerading as C compilers 13631 incorrectly reject 9223372036854775807. */ 13632#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13633 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13634 && LARGE_OFF_T % 2147483647 == 1) 13635 ? 1 : -1]; 13636int 13637main () 13638{ 13639 13640 ; 13641 return 0; 13642} 13643_ACEOF 13644if ac_fn_c_try_compile "$LINENO"; then : 13645 ac_cv_sys_large_files=1; break 13646fi 13647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13648 ac_cv_sys_large_files=unknown 13649 break 13650done 13651fi 13652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 13653$as_echo "$ac_cv_sys_large_files" >&6; } 13654case $ac_cv_sys_large_files in #( 13655 no | unknown) ;; 13656 *) 13657cat >>confdefs.h <<_ACEOF 13658#define _LARGE_FILES $ac_cv_sys_large_files 13659_ACEOF 13660;; 13661esac 13662rm -rf conftest* 13663 fi 13664 13665 13666fi 13667 13668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 13669$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 13670if ${ac_cv_sys_largefile_source+:} false; then : 13671 $as_echo_n "(cached) " >&6 13672else 13673 while :; do 13674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13675/* end confdefs.h. */ 13676#include <sys/types.h> /* for off_t */ 13677 #include <stdio.h> 13678int 13679main () 13680{ 13681int (*fp) (FILE *, off_t, int) = fseeko; 13682 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 13683 ; 13684 return 0; 13685} 13686_ACEOF 13687if ac_fn_c_try_link "$LINENO"; then : 13688 ac_cv_sys_largefile_source=no; break 13689fi 13690rm -f core conftest.err conftest.$ac_objext \ 13691 conftest$ac_exeext conftest.$ac_ext 13692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13693/* end confdefs.h. */ 13694#define _LARGEFILE_SOURCE 1 13695#include <sys/types.h> /* for off_t */ 13696 #include <stdio.h> 13697int 13698main () 13699{ 13700int (*fp) (FILE *, off_t, int) = fseeko; 13701 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 13702 ; 13703 return 0; 13704} 13705_ACEOF 13706if ac_fn_c_try_link "$LINENO"; then : 13707 ac_cv_sys_largefile_source=1; break 13708fi 13709rm -f core conftest.err conftest.$ac_objext \ 13710 conftest$ac_exeext conftest.$ac_ext 13711 ac_cv_sys_largefile_source=unknown 13712 break 13713done 13714fi 13715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 13716$as_echo "$ac_cv_sys_largefile_source" >&6; } 13717case $ac_cv_sys_largefile_source in #( 13718 no | unknown) ;; 13719 *) 13720cat >>confdefs.h <<_ACEOF 13721#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 13722_ACEOF 13723;; 13724esac 13725rm -rf conftest* 13726 13727# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 13728# in glibc 2.1.3, but that breaks too many other things. 13729# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 13730if test $ac_cv_sys_largefile_source != unknown; then 13731 13732$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h 13733 13734fi 13735 13736ac_header_dirent=no 13737for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 13738 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 13739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 13740$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 13741if eval \${$as_ac_Header+:} false; then : 13742 $as_echo_n "(cached) " >&6 13743else 13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13745/* end confdefs.h. */ 13746#include <sys/types.h> 13747#include <$ac_hdr> 13748 13749int 13750main () 13751{ 13752if ((DIR *) 0) 13753return 0; 13754 ; 13755 return 0; 13756} 13757_ACEOF 13758if ac_fn_c_try_compile "$LINENO"; then : 13759 eval "$as_ac_Header=yes" 13760else 13761 eval "$as_ac_Header=no" 13762fi 13763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13764fi 13765eval ac_res=\$$as_ac_Header 13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 13767$as_echo "$ac_res" >&6; } 13768if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13769 cat >>confdefs.h <<_ACEOF 13770#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 13771_ACEOF 13772 13773ac_header_dirent=$ac_hdr; break 13774fi 13775 13776done 13777# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 13778if test $ac_header_dirent = dirent.h; then 13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13780$as_echo_n "checking for library containing opendir... " >&6; } 13781if ${ac_cv_search_opendir+:} false; then : 13782 $as_echo_n "(cached) " >&6 13783else 13784 ac_func_search_save_LIBS=$LIBS 13785cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13786/* end confdefs.h. */ 13787 13788/* Override any GCC internal prototype to avoid an error. 13789 Use char because int might match the return type of a GCC 13790 builtin and then its argument prototype would still apply. */ 13791#ifdef __cplusplus 13792extern "C" 13793#endif 13794char opendir (); 13795int 13796main () 13797{ 13798return opendir (); 13799 ; 13800 return 0; 13801} 13802_ACEOF 13803for ac_lib in '' dir; do 13804 if test -z "$ac_lib"; then 13805 ac_res="none required" 13806 else 13807 ac_res=-l$ac_lib 13808 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13809 fi 13810 if ac_fn_c_try_link "$LINENO"; then : 13811 ac_cv_search_opendir=$ac_res 13812fi 13813rm -f core conftest.err conftest.$ac_objext \ 13814 conftest$ac_exeext 13815 if ${ac_cv_search_opendir+:} false; then : 13816 break 13817fi 13818done 13819if ${ac_cv_search_opendir+:} false; then : 13820 13821else 13822 ac_cv_search_opendir=no 13823fi 13824rm conftest.$ac_ext 13825LIBS=$ac_func_search_save_LIBS 13826fi 13827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13828$as_echo "$ac_cv_search_opendir" >&6; } 13829ac_res=$ac_cv_search_opendir 13830if test "$ac_res" != no; then : 13831 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13832 13833fi 13834 13835else 13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13837$as_echo_n "checking for library containing opendir... " >&6; } 13838if ${ac_cv_search_opendir+:} false; then : 13839 $as_echo_n "(cached) " >&6 13840else 13841 ac_func_search_save_LIBS=$LIBS 13842cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13843/* end confdefs.h. */ 13844 13845/* Override any GCC internal prototype to avoid an error. 13846 Use char because int might match the return type of a GCC 13847 builtin and then its argument prototype would still apply. */ 13848#ifdef __cplusplus 13849extern "C" 13850#endif 13851char opendir (); 13852int 13853main () 13854{ 13855return opendir (); 13856 ; 13857 return 0; 13858} 13859_ACEOF 13860for ac_lib in '' x; do 13861 if test -z "$ac_lib"; then 13862 ac_res="none required" 13863 else 13864 ac_res=-l$ac_lib 13865 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13866 fi 13867 if ac_fn_c_try_link "$LINENO"; then : 13868 ac_cv_search_opendir=$ac_res 13869fi 13870rm -f core conftest.err conftest.$ac_objext \ 13871 conftest$ac_exeext 13872 if ${ac_cv_search_opendir+:} false; then : 13873 break 13874fi 13875done 13876if ${ac_cv_search_opendir+:} false; then : 13877 13878else 13879 ac_cv_search_opendir=no 13880fi 13881rm conftest.$ac_ext 13882LIBS=$ac_func_search_save_LIBS 13883fi 13884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13885$as_echo "$ac_cv_search_opendir" >&6; } 13886ac_res=$ac_cv_search_opendir 13887if test "$ac_res" != no; then : 13888 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13889 13890fi 13891 13892fi 13893 13894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13895$as_echo_n "checking for ANSI C header files... " >&6; } 13896if ${ac_cv_header_stdc+:} false; then : 13897 $as_echo_n "(cached) " >&6 13898else 13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13900/* end confdefs.h. */ 13901#include <stdlib.h> 13902#include <stdarg.h> 13903#include <string.h> 13904#include <float.h> 13905 13906int 13907main () 13908{ 13909 13910 ; 13911 return 0; 13912} 13913_ACEOF 13914if ac_fn_c_try_compile "$LINENO"; then : 13915 ac_cv_header_stdc=yes 13916else 13917 ac_cv_header_stdc=no 13918fi 13919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13920 13921if test $ac_cv_header_stdc = yes; then 13922 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13924/* end confdefs.h. */ 13925#include <string.h> 13926 13927_ACEOF 13928if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13929 $EGREP "memchr" >/dev/null 2>&1; then : 13930 13931else 13932 ac_cv_header_stdc=no 13933fi 13934rm -f conftest* 13935 13936fi 13937 13938if test $ac_cv_header_stdc = yes; then 13939 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13941/* end confdefs.h. */ 13942#include <stdlib.h> 13943 13944_ACEOF 13945if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13946 $EGREP "free" >/dev/null 2>&1; then : 13947 13948else 13949 ac_cv_header_stdc=no 13950fi 13951rm -f conftest* 13952 13953fi 13954 13955if test $ac_cv_header_stdc = yes; then 13956 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13957 if test "$cross_compiling" = yes; then : 13958 : 13959else 13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13961/* end confdefs.h. */ 13962#include <ctype.h> 13963#include <stdlib.h> 13964#if ((' ' & 0x0FF) == 0x020) 13965# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13966# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13967#else 13968# define ISLOWER(c) \ 13969 (('a' <= (c) && (c) <= 'i') \ 13970 || ('j' <= (c) && (c) <= 'r') \ 13971 || ('s' <= (c) && (c) <= 'z')) 13972# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13973#endif 13974 13975#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13976int 13977main () 13978{ 13979 int i; 13980 for (i = 0; i < 256; i++) 13981 if (XOR (islower (i), ISLOWER (i)) 13982 || toupper (i) != TOUPPER (i)) 13983 return 2; 13984 return 0; 13985} 13986_ACEOF 13987if ac_fn_c_try_run "$LINENO"; then : 13988 13989else 13990 ac_cv_header_stdc=no 13991fi 13992rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13993 conftest.$ac_objext conftest.beam conftest.$ac_ext 13994fi 13995 13996fi 13997fi 13998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13999$as_echo "$ac_cv_header_stdc" >&6; } 14000if test $ac_cv_header_stdc = yes; then 14001 14002$as_echo "#define STDC_HEADERS 1" >>confdefs.h 14003 14004fi 14005 14006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5 14007$as_echo_n "checking whether closedir returns void... " >&6; } 14008if ${ac_cv_func_closedir_void+:} false; then : 14009 $as_echo_n "(cached) " >&6 14010else 14011 if test "$cross_compiling" = yes; then : 14012 ac_cv_func_closedir_void=yes 14013else 14014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14015/* end confdefs.h. */ 14016$ac_includes_default 14017#include <$ac_header_dirent> 14018#ifndef __cplusplus 14019int closedir (); 14020#endif 14021 14022int 14023main () 14024{ 14025return closedir (opendir (".")) != 0; 14026 ; 14027 return 0; 14028} 14029_ACEOF 14030if ac_fn_c_try_run "$LINENO"; then : 14031 ac_cv_func_closedir_void=no 14032else 14033 ac_cv_func_closedir_void=yes 14034fi 14035rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14036 conftest.$ac_objext conftest.beam conftest.$ac_ext 14037fi 14038 14039fi 14040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5 14041$as_echo "$ac_cv_func_closedir_void" >&6; } 14042if test $ac_cv_func_closedir_void = yes; then 14043 14044$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h 14045 14046fi 14047 14048for ac_header in assert.h float.h limits.h pwd.h stdlib.h sys/param.h 14049do : 14050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14051ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 14052if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 14053 cat >>confdefs.h <<_ACEOF 14054#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14055_ACEOF 14056 14057fi 14058 14059done 14060 14061for ac_func in putenv 14062do : 14063 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv" 14064if test "x$ac_cv_func_putenv" = xyes; then : 14065 cat >>confdefs.h <<_ACEOF 14066#define HAVE_PUTENV 1 14067_ACEOF 14068 14069fi 14070done 14071 14072for ac_func in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr 14073do : 14074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14075ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14076if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14077 cat >>confdefs.h <<_ACEOF 14078#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14079_ACEOF 14080 14081fi 14082done 14083 14084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 14085$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 14086if ${ac_cv_c_const+:} false; then : 14087 $as_echo_n "(cached) " >&6 14088else 14089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14090/* end confdefs.h. */ 14091 14092int 14093main () 14094{ 14095 14096#ifndef __cplusplus 14097 /* Ultrix mips cc rejects this sort of thing. */ 14098 typedef int charset[2]; 14099 const charset cs = { 0, 0 }; 14100 /* SunOS 4.1.1 cc rejects this. */ 14101 char const *const *pcpcc; 14102 char **ppc; 14103 /* NEC SVR4.0.2 mips cc rejects this. */ 14104 struct point {int x, y;}; 14105 static struct point const zero = {0,0}; 14106 /* AIX XL C 1.02.0.0 rejects this. 14107 It does not let you subtract one const X* pointer from another in 14108 an arm of an if-expression whose if-part is not a constant 14109 expression */ 14110 const char *g = "string"; 14111 pcpcc = &g + (g ? g-g : 0); 14112 /* HPUX 7.0 cc rejects these. */ 14113 ++pcpcc; 14114 ppc = (char**) pcpcc; 14115 pcpcc = (char const *const *) ppc; 14116 { /* SCO 3.2v4 cc rejects this sort of thing. */ 14117 char tx; 14118 char *t = &tx; 14119 char const *s = 0 ? (char *) 0 : (char const *) 0; 14120 14121 *t++ = 0; 14122 if (s) return 0; 14123 } 14124 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 14125 int x[] = {25, 17}; 14126 const int *foo = &x[0]; 14127 ++foo; 14128 } 14129 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 14130 typedef const int *iptr; 14131 iptr p = 0; 14132 ++p; 14133 } 14134 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 14135 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 14136 struct s { int j; const int *ap[3]; } bx; 14137 struct s *b = &bx; b->j = 5; 14138 } 14139 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 14140 const int foo = 10; 14141 if (!foo) return 0; 14142 } 14143 return !cs[0] && !zero.x; 14144#endif 14145 14146 ; 14147 return 0; 14148} 14149_ACEOF 14150if ac_fn_c_try_compile "$LINENO"; then : 14151 ac_cv_c_const=yes 14152else 14153 ac_cv_c_const=no 14154fi 14155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14156fi 14157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 14158$as_echo "$ac_cv_c_const" >&6; } 14159if test $ac_cv_c_const = no; then 14160 14161$as_echo "#define const /**/" >>confdefs.h 14162 14163fi 14164 14165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 14166$as_echo_n "checking for inline... " >&6; } 14167if ${ac_cv_c_inline+:} false; then : 14168 $as_echo_n "(cached) " >&6 14169else 14170 ac_cv_c_inline=no 14171for ac_kw in inline __inline__ __inline; do 14172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14173/* end confdefs.h. */ 14174#ifndef __cplusplus 14175typedef int foo_t; 14176static $ac_kw foo_t static_foo () {return 0; } 14177$ac_kw foo_t foo () {return 0; } 14178#endif 14179 14180_ACEOF 14181if ac_fn_c_try_compile "$LINENO"; then : 14182 ac_cv_c_inline=$ac_kw 14183fi 14184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14185 test "$ac_cv_c_inline" != no && break 14186done 14187 14188fi 14189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 14190$as_echo "$ac_cv_c_inline" >&6; } 14191 14192case $ac_cv_c_inline in 14193 inline | yes) ;; 14194 *) 14195 case $ac_cv_c_inline in 14196 no) ac_val=;; 14197 *) ac_val=$ac_cv_c_inline;; 14198 esac 14199 cat >>confdefs.h <<_ACEOF 14200#ifndef __cplusplus 14201#define inline $ac_val 14202#endif 14203_ACEOF 14204 ;; 14205esac 14206 14207ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 14208if test "x$ac_cv_type_size_t" = xyes; then : 14209 14210else 14211 14212cat >>confdefs.h <<_ACEOF 14213#define size_t unsigned int 14214_ACEOF 14215 14216fi 14217 14218ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 14219case $ac_cv_c_int64_t in #( 14220 no|yes) ;; #( 14221 *) 14222 14223cat >>confdefs.h <<_ACEOF 14224#define int64_t $ac_cv_c_int64_t 14225_ACEOF 14226;; 14227esac 14228 14229ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 14230case $ac_cv_c_uint64_t in #( 14231 no|yes) ;; #( 14232 *) 14233 14234$as_echo "#define _UINT64_T 1" >>confdefs.h 14235 14236 14237cat >>confdefs.h <<_ACEOF 14238#define uint64_t $ac_cv_c_uint64_t 14239_ACEOF 14240;; 14241 esac 14242 14243case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #( 14244 *':no:'*) : 14245 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #( 14246 *) : 14247 ;; 14248esac 14249ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default" 14250if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then : 14251 14252cat >>confdefs.h <<_ACEOF 14253#define HAVE_STRUCT_STAT_ST_MTIM 1 14254_ACEOF 14255 14256 14257fi 14258 14259 14260 14261 if test "x$cross_compiling" = xyes; then 14262 cross_TRUE= 14263 cross_FALSE='#' 14264else 14265 cross_TRUE='#' 14266 cross_FALSE= 14267fi 14268 14269 14270ac_ext=cpp 14271ac_cpp='$CXXCPP $CPPFLAGS' 14272ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14273ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14274ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14275if test -z "$CXX"; then 14276 if test -n "$CCC"; then 14277 CXX=$CCC 14278 else 14279 if test -n "$ac_tool_prefix"; then 14280 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 14281 do 14282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 14283set dummy $ac_tool_prefix$ac_prog; ac_word=$2 14284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14285$as_echo_n "checking for $ac_word... " >&6; } 14286if ${ac_cv_prog_CXX+:} false; then : 14287 $as_echo_n "(cached) " >&6 14288else 14289 if test -n "$CXX"; then 14290 ac_cv_prog_CXX="$CXX" # Let the user override the test. 14291else 14292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14293for as_dir in $PATH 14294do 14295 IFS=$as_save_IFS 14296 test -z "$as_dir" && as_dir=. 14297 for ac_exec_ext in '' $ac_executable_extensions; do 14298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14299 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 14300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14301 break 2 14302 fi 14303done 14304 done 14305IFS=$as_save_IFS 14306 14307fi 14308fi 14309CXX=$ac_cv_prog_CXX 14310if test -n "$CXX"; then 14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 14312$as_echo "$CXX" >&6; } 14313else 14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14315$as_echo "no" >&6; } 14316fi 14317 14318 14319 test -n "$CXX" && break 14320 done 14321fi 14322if test -z "$CXX"; then 14323 ac_ct_CXX=$CXX 14324 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 14325do 14326 # Extract the first word of "$ac_prog", so it can be a program name with args. 14327set dummy $ac_prog; ac_word=$2 14328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14329$as_echo_n "checking for $ac_word... " >&6; } 14330if ${ac_cv_prog_ac_ct_CXX+:} false; then : 14331 $as_echo_n "(cached) " >&6 14332else 14333 if test -n "$ac_ct_CXX"; then 14334 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 14335else 14336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14337for as_dir in $PATH 14338do 14339 IFS=$as_save_IFS 14340 test -z "$as_dir" && as_dir=. 14341 for ac_exec_ext in '' $ac_executable_extensions; do 14342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14343 ac_cv_prog_ac_ct_CXX="$ac_prog" 14344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14345 break 2 14346 fi 14347done 14348 done 14349IFS=$as_save_IFS 14350 14351fi 14352fi 14353ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 14354if test -n "$ac_ct_CXX"; then 14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 14356$as_echo "$ac_ct_CXX" >&6; } 14357else 14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14359$as_echo "no" >&6; } 14360fi 14361 14362 14363 test -n "$ac_ct_CXX" && break 14364done 14365 14366 if test "x$ac_ct_CXX" = x; then 14367 CXX="g++" 14368 else 14369 case $cross_compiling:$ac_tool_warned in 14370yes:) 14371{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14372$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14373ac_tool_warned=yes ;; 14374esac 14375 CXX=$ac_ct_CXX 14376 fi 14377fi 14378 14379 fi 14380fi 14381# Provide some information about the compiler. 14382$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 14383set X $ac_compile 14384ac_compiler=$2 14385for ac_option in --version -v -V -qversion; do 14386 { { ac_try="$ac_compiler $ac_option >&5" 14387case "(($ac_try" in 14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14389 *) ac_try_echo=$ac_try;; 14390esac 14391eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14392$as_echo "$ac_try_echo"; } >&5 14393 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 14394 ac_status=$? 14395 if test -s conftest.err; then 14396 sed '10a\ 14397... rest of stderr output deleted ... 14398 10q' conftest.err >conftest.er1 14399 cat conftest.er1 >&5 14400 fi 14401 rm -f conftest.er1 conftest.err 14402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14403 test $ac_status = 0; } 14404done 14405 14406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 14407$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 14408if ${ac_cv_cxx_compiler_gnu+:} false; then : 14409 $as_echo_n "(cached) " >&6 14410else 14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14412/* end confdefs.h. */ 14413 14414int 14415main () 14416{ 14417#ifndef __GNUC__ 14418 choke me 14419#endif 14420 14421 ; 14422 return 0; 14423} 14424_ACEOF 14425if ac_fn_cxx_try_compile "$LINENO"; then : 14426 ac_compiler_gnu=yes 14427else 14428 ac_compiler_gnu=no 14429fi 14430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14431ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 14432 14433fi 14434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 14435$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 14436if test $ac_compiler_gnu = yes; then 14437 GXX=yes 14438else 14439 GXX= 14440fi 14441ac_test_CXXFLAGS=${CXXFLAGS+set} 14442ac_save_CXXFLAGS=$CXXFLAGS 14443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 14444$as_echo_n "checking whether $CXX accepts -g... " >&6; } 14445if ${ac_cv_prog_cxx_g+:} false; then : 14446 $as_echo_n "(cached) " >&6 14447else 14448 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 14449 ac_cxx_werror_flag=yes 14450 ac_cv_prog_cxx_g=no 14451 CXXFLAGS="-g" 14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14453/* end confdefs.h. */ 14454 14455int 14456main () 14457{ 14458 14459 ; 14460 return 0; 14461} 14462_ACEOF 14463if ac_fn_cxx_try_compile "$LINENO"; then : 14464 ac_cv_prog_cxx_g=yes 14465else 14466 CXXFLAGS="" 14467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14468/* end confdefs.h. */ 14469 14470int 14471main () 14472{ 14473 14474 ; 14475 return 0; 14476} 14477_ACEOF 14478if ac_fn_cxx_try_compile "$LINENO"; then : 14479 14480else 14481 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 14482 CXXFLAGS="-g" 14483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14484/* end confdefs.h. */ 14485 14486int 14487main () 14488{ 14489 14490 ; 14491 return 0; 14492} 14493_ACEOF 14494if ac_fn_cxx_try_compile "$LINENO"; then : 14495 ac_cv_prog_cxx_g=yes 14496fi 14497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14498fi 14499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14500fi 14501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14502 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 14503fi 14504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 14505$as_echo "$ac_cv_prog_cxx_g" >&6; } 14506if test "$ac_test_CXXFLAGS" = set; then 14507 CXXFLAGS=$ac_save_CXXFLAGS 14508elif test $ac_cv_prog_cxx_g = yes; then 14509 if test "$GXX" = yes; then 14510 CXXFLAGS="-g -O2" 14511 else 14512 CXXFLAGS="-g" 14513 fi 14514else 14515 if test "$GXX" = yes; then 14516 CXXFLAGS="-O2" 14517 else 14518 CXXFLAGS= 14519 fi 14520fi 14521ac_ext=c 14522ac_cpp='$CPP $CPPFLAGS' 14523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14525ac_compiler_gnu=$ac_cv_c_compiler_gnu 14526 14527depcc="$CXX" am_compiler_list= 14528 14529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 14530$as_echo_n "checking dependency style of $depcc... " >&6; } 14531if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 14532 $as_echo_n "(cached) " >&6 14533else 14534 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 14535 # We make a subdir and do the tests there. Otherwise we can end up 14536 # making bogus files that we don't know about and never remove. For 14537 # instance it was reported that on HP-UX the gcc test will end up 14538 # making a dummy file named 'D' -- because '-MD' means "put the output 14539 # in D". 14540 rm -rf conftest.dir 14541 mkdir conftest.dir 14542 # Copy depcomp to subdir because otherwise we won't find it if we're 14543 # using a relative directory. 14544 cp "$am_depcomp" conftest.dir 14545 cd conftest.dir 14546 # We will build objects and dependencies in a subdirectory because 14547 # it helps to detect inapplicable dependency modes. For instance 14548 # both Tru64's cc and ICC support -MD to output dependencies as a 14549 # side effect of compilation, but ICC will put the dependencies in 14550 # the current directory while Tru64 will put them in the object 14551 # directory. 14552 mkdir sub 14553 14554 am_cv_CXX_dependencies_compiler_type=none 14555 if test "$am_compiler_list" = ""; then 14556 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 14557 fi 14558 am__universal=false 14559 case " $depcc " in #( 14560 *\ -arch\ *\ -arch\ *) am__universal=true ;; 14561 esac 14562 14563 for depmode in $am_compiler_list; do 14564 # Setup a source with many dependencies, because some compilers 14565 # like to wrap large dependency lists on column 80 (with \), and 14566 # we should not choose a depcomp mode which is confused by this. 14567 # 14568 # We need to recreate these files for each test, as the compiler may 14569 # overwrite some of them when testing with obscure command lines. 14570 # This happens at least with the AIX C compiler. 14571 : > sub/conftest.c 14572 for i in 1 2 3 4 5 6; do 14573 echo '#include "conftst'$i'.h"' >> sub/conftest.c 14574 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 14575 # Solaris 10 /bin/sh. 14576 echo '/* dummy */' > sub/conftst$i.h 14577 done 14578 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 14579 14580 # We check with '-c' and '-o' for the sake of the "dashmstdout" 14581 # mode. It turns out that the SunPro C++ compiler does not properly 14582 # handle '-M -o', and we need to detect this. Also, some Intel 14583 # versions had trouble with output in subdirs. 14584 am__obj=sub/conftest.${OBJEXT-o} 14585 am__minus_obj="-o $am__obj" 14586 case $depmode in 14587 gcc) 14588 # This depmode causes a compiler race in universal mode. 14589 test "$am__universal" = false || continue 14590 ;; 14591 nosideeffect) 14592 # After this tag, mechanisms are not by side-effect, so they'll 14593 # only be used when explicitly requested. 14594 if test "x$enable_dependency_tracking" = xyes; then 14595 continue 14596 else 14597 break 14598 fi 14599 ;; 14600 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 14601 # This compiler won't grok '-c -o', but also, the minuso test has 14602 # not run yet. These depmodes are late enough in the game, and 14603 # so weak that their functioning should not be impacted. 14604 am__obj=conftest.${OBJEXT-o} 14605 am__minus_obj= 14606 ;; 14607 none) break ;; 14608 esac 14609 if depmode=$depmode \ 14610 source=sub/conftest.c object=$am__obj \ 14611 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 14612 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 14613 >/dev/null 2>conftest.err && 14614 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 14615 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 14616 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 14617 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 14618 # icc doesn't choke on unknown options, it will just issue warnings 14619 # or remarks (even with -Werror). So we grep stderr for any message 14620 # that says an option was ignored or not supported. 14621 # When given -MP, icc 7.0 and 7.1 complain thusly: 14622 # icc: Command line warning: ignoring option '-M'; no argument required 14623 # The diagnosis changed in icc 8.0: 14624 # icc: Command line remark: option '-MP' not supported 14625 if (grep 'ignoring option' conftest.err || 14626 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 14627 am_cv_CXX_dependencies_compiler_type=$depmode 14628 break 14629 fi 14630 fi 14631 done 14632 14633 cd .. 14634 rm -rf conftest.dir 14635else 14636 am_cv_CXX_dependencies_compiler_type=none 14637fi 14638 14639fi 14640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 14641$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 14642CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 14643 14644 if 14645 test "x$enable_dependency_tracking" != xno \ 14646 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 14647 am__fastdepCXX_TRUE= 14648 am__fastdepCXX_FALSE='#' 14649else 14650 am__fastdepCXX_TRUE='#' 14651 am__fastdepCXX_FALSE= 14652fi 14653 14654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5 14655$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; } 14656if ${kpse_cv_warning_cxxflags+:} false; then : 14657 $as_echo_n "(cached) " >&6 14658else 14659 if test "x$GXX" = xyes; then 14660 kpse_cv_warning_cxxflags= 14661kpse_warn_strings="-Wno-write-strings" 14662if test "x$enable_compiler_warnings" != xno; then 14663 kpse_cv_warning_cxxflags="-Wreturn-type" 14664 case `$CXX -dumpversion` in #( 14665 3.* | 4.[012345].*) : 14666 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #( 14667 *) : 14668 ;; 14669esac 14670 case `$CXX -dumpversion` in #( 14671 3.[234].* | 4.*) : 14672 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #( 14673 *) : 14674 ;; 14675esac 14676 if test "x$enable_compiler_warnings" != xmin; then 14677 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags" 14678 if test "x$enable_compiler_warnings" != xyes; then 14679 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" 14680 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align" 14681 kpse_warn_strings="-Wwrite-strings" 14682 if test "x$enable_compiler_warnings" != xmax; then 14683 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow" 14684 fi 14685 fi 14686 fi 14687fi 14688kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings" 14689elif test "x$enable_compiler_warnings" = xno; then 14690 kpse_cv_warning_cxxflags= 14691else 14692 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers 14693fi 14694fi 14695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5 14696$as_echo "$kpse_cv_warning_cxxflags" >&6; } 14697WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags 14698 14699 14700 14701 14702 14703func_stripname_cnf () 14704{ 14705 case $2 in 14706 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 14707 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 14708 esac 14709} # func_stripname_cnf 14710 14711 if test -n "$CXX" && ( test no != "$CXX" && 14712 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 14713 (test g++ != "$CXX"))); then 14714 ac_ext=cpp 14715ac_cpp='$CXXCPP $CPPFLAGS' 14716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 14720$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 14721if test -z "$CXXCPP"; then 14722 if ${ac_cv_prog_CXXCPP+:} false; then : 14723 $as_echo_n "(cached) " >&6 14724else 14725 # Double quotes because CXXCPP needs to be expanded 14726 for CXXCPP in "$CXX -E" "/lib/cpp" 14727 do 14728 ac_preproc_ok=false 14729for ac_cxx_preproc_warn_flag in '' yes 14730do 14731 # Use a header file that comes with gcc, so configuring glibc 14732 # with a fresh cross-compiler works. 14733 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14734 # <limits.h> exists even on freestanding compilers. 14735 # On the NeXT, cc -E runs the code through the compiler's parser, 14736 # not just through cpp. "Syntax error" is here to catch this case. 14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14738/* end confdefs.h. */ 14739#ifdef __STDC__ 14740# include <limits.h> 14741#else 14742# include <assert.h> 14743#endif 14744 Syntax error 14745_ACEOF 14746if ac_fn_cxx_try_cpp "$LINENO"; then : 14747 14748else 14749 # Broken: fails on valid input. 14750continue 14751fi 14752rm -f conftest.err conftest.i conftest.$ac_ext 14753 14754 # OK, works on sane cases. Now check whether nonexistent headers 14755 # can be detected and how. 14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14757/* end confdefs.h. */ 14758#include <ac_nonexistent.h> 14759_ACEOF 14760if ac_fn_cxx_try_cpp "$LINENO"; then : 14761 # Broken: success on invalid input. 14762continue 14763else 14764 # Passes both tests. 14765ac_preproc_ok=: 14766break 14767fi 14768rm -f conftest.err conftest.i conftest.$ac_ext 14769 14770done 14771# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14772rm -f conftest.i conftest.err conftest.$ac_ext 14773if $ac_preproc_ok; then : 14774 break 14775fi 14776 14777 done 14778 ac_cv_prog_CXXCPP=$CXXCPP 14779 14780fi 14781 CXXCPP=$ac_cv_prog_CXXCPP 14782else 14783 ac_cv_prog_CXXCPP=$CXXCPP 14784fi 14785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 14786$as_echo "$CXXCPP" >&6; } 14787ac_preproc_ok=false 14788for ac_cxx_preproc_warn_flag in '' yes 14789do 14790 # Use a header file that comes with gcc, so configuring glibc 14791 # with a fresh cross-compiler works. 14792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14793 # <limits.h> exists even on freestanding compilers. 14794 # On the NeXT, cc -E runs the code through the compiler's parser, 14795 # not just through cpp. "Syntax error" is here to catch this case. 14796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14797/* end confdefs.h. */ 14798#ifdef __STDC__ 14799# include <limits.h> 14800#else 14801# include <assert.h> 14802#endif 14803 Syntax error 14804_ACEOF 14805if ac_fn_cxx_try_cpp "$LINENO"; then : 14806 14807else 14808 # Broken: fails on valid input. 14809continue 14810fi 14811rm -f conftest.err conftest.i conftest.$ac_ext 14812 14813 # OK, works on sane cases. Now check whether nonexistent headers 14814 # can be detected and how. 14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14816/* end confdefs.h. */ 14817#include <ac_nonexistent.h> 14818_ACEOF 14819if ac_fn_cxx_try_cpp "$LINENO"; then : 14820 # Broken: success on invalid input. 14821continue 14822else 14823 # Passes both tests. 14824ac_preproc_ok=: 14825break 14826fi 14827rm -f conftest.err conftest.i conftest.$ac_ext 14828 14829done 14830# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14831rm -f conftest.i conftest.err conftest.$ac_ext 14832if $ac_preproc_ok; then : 14833 14834else 14835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14836$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14837as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 14838See \`config.log' for more details" "$LINENO" 5; } 14839fi 14840 14841ac_ext=c 14842ac_cpp='$CPP $CPPFLAGS' 14843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14845ac_compiler_gnu=$ac_cv_c_compiler_gnu 14846 14847else 14848 _lt_caught_CXX_error=yes 14849fi 14850 14851ac_ext=cpp 14852ac_cpp='$CXXCPP $CPPFLAGS' 14853ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14854ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14855ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14856 14857archive_cmds_need_lc_CXX=no 14858allow_undefined_flag_CXX= 14859always_export_symbols_CXX=no 14860archive_expsym_cmds_CXX= 14861compiler_needs_object_CXX=no 14862export_dynamic_flag_spec_CXX= 14863hardcode_direct_CXX=no 14864hardcode_direct_absolute_CXX=no 14865hardcode_libdir_flag_spec_CXX= 14866hardcode_libdir_separator_CXX= 14867hardcode_minus_L_CXX=no 14868hardcode_shlibpath_var_CXX=unsupported 14869hardcode_automatic_CXX=no 14870inherit_rpath_CXX=no 14871module_cmds_CXX= 14872module_expsym_cmds_CXX= 14873link_all_deplibs_CXX=unknown 14874old_archive_cmds_CXX=$old_archive_cmds 14875reload_flag_CXX=$reload_flag 14876reload_cmds_CXX=$reload_cmds 14877no_undefined_flag_CXX= 14878whole_archive_flag_spec_CXX= 14879enable_shared_with_static_runtimes_CXX=no 14880 14881# Source file extension for C++ test sources. 14882ac_ext=cpp 14883 14884# Object file extension for compiled C++ test sources. 14885objext=o 14886objext_CXX=$objext 14887 14888# No sense in running all these tests if we already determined that 14889# the CXX compiler isn't working. Some variables (like enable_shared) 14890# are currently assumed to apply to all compilers on this platform, 14891# and will be corrupted by setting them based on a non-working compiler. 14892if test yes != "$_lt_caught_CXX_error"; then 14893 # Code to be used in simple compile tests 14894 lt_simple_compile_test_code="int some_variable = 0;" 14895 14896 # Code to be used in simple link tests 14897 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 14898 14899 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 14900 14901 14902 14903 14904 14905 14906# If no C compiler was specified, use CC. 14907LTCC=${LTCC-"$CC"} 14908 14909# If no C compiler flags were specified, use CFLAGS. 14910LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 14911 14912# Allow CC to be a program name with arguments. 14913compiler=$CC 14914 14915 14916 # save warnings/boilerplate of simple test code 14917 ac_outfile=conftest.$ac_objext 14918echo "$lt_simple_compile_test_code" >conftest.$ac_ext 14919eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14920_lt_compiler_boilerplate=`cat conftest.err` 14921$RM conftest* 14922 14923 ac_outfile=conftest.$ac_objext 14924echo "$lt_simple_link_test_code" >conftest.$ac_ext 14925eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14926_lt_linker_boilerplate=`cat conftest.err` 14927$RM -r conftest* 14928 14929 14930 # Allow CC to be a program name with arguments. 14931 lt_save_CC=$CC 14932 lt_save_CFLAGS=$CFLAGS 14933 lt_save_LD=$LD 14934 lt_save_GCC=$GCC 14935 GCC=$GXX 14936 lt_save_with_gnu_ld=$with_gnu_ld 14937 lt_save_path_LD=$lt_cv_path_LD 14938 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 14939 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 14940 else 14941 $as_unset lt_cv_prog_gnu_ld 14942 fi 14943 if test -n "${lt_cv_path_LDCXX+set}"; then 14944 lt_cv_path_LD=$lt_cv_path_LDCXX 14945 else 14946 $as_unset lt_cv_path_LD 14947 fi 14948 test -z "${LDCXX+set}" || LD=$LDCXX 14949 CC=${CXX-"c++"} 14950 CFLAGS=$CXXFLAGS 14951 compiler=$CC 14952 compiler_CXX=$CC 14953 func_cc_basename $compiler 14954cc_basename=$func_cc_basename_result 14955 14956 14957 if test -n "$compiler"; then 14958 # We don't want -fno-exception when compiling C++ code, so set the 14959 # no_builtin_flag separately 14960 if test yes = "$GXX"; then 14961 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 14962 else 14963 lt_prog_compiler_no_builtin_flag_CXX= 14964 fi 14965 14966 if test yes = "$GXX"; then 14967 # Set up default GNU C++ configuration 14968 14969 14970 14971# Check whether --with-gnu-ld was given. 14972if test "${with_gnu_ld+set}" = set; then : 14973 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 14974else 14975 with_gnu_ld=no 14976fi 14977 14978ac_prog=ld 14979if test yes = "$GCC"; then 14980 # Check if gcc -print-prog-name=ld gives a path. 14981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 14982$as_echo_n "checking for ld used by $CC... " >&6; } 14983 case $host in 14984 *-*-mingw*) 14985 # gcc leaves a trailing carriage return, which upsets mingw 14986 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 14987 *) 14988 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 14989 esac 14990 case $ac_prog in 14991 # Accept absolute paths. 14992 [\\/]* | ?:[\\/]*) 14993 re_direlt='/[^/][^/]*/\.\./' 14994 # Canonicalize the pathname of ld 14995 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 14996 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 14997 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 14998 done 14999 test -z "$LD" && LD=$ac_prog 15000 ;; 15001 "") 15002 # If it fails, then pretend we aren't using GCC. 15003 ac_prog=ld 15004 ;; 15005 *) 15006 # If it is relative, then search for the first ld in PATH. 15007 with_gnu_ld=unknown 15008 ;; 15009 esac 15010elif test yes = "$with_gnu_ld"; then 15011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 15012$as_echo_n "checking for GNU ld... " >&6; } 15013else 15014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 15015$as_echo_n "checking for non-GNU ld... " >&6; } 15016fi 15017if ${lt_cv_path_LD+:} false; then : 15018 $as_echo_n "(cached) " >&6 15019else 15020 if test -z "$LD"; then 15021 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 15022 for ac_dir in $PATH; do 15023 IFS=$lt_save_ifs 15024 test -z "$ac_dir" && ac_dir=. 15025 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 15026 lt_cv_path_LD=$ac_dir/$ac_prog 15027 # Check to see if the program is GNU ld. I'd rather use --version, 15028 # but apparently some variants of GNU ld only accept -v. 15029 # Break only if it was the GNU/non-GNU ld that we prefer. 15030 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 15031 *GNU* | *'with BFD'*) 15032 test no != "$with_gnu_ld" && break 15033 ;; 15034 *) 15035 test yes != "$with_gnu_ld" && break 15036 ;; 15037 esac 15038 fi 15039 done 15040 IFS=$lt_save_ifs 15041else 15042 lt_cv_path_LD=$LD # Let the user override the test with a path. 15043fi 15044fi 15045 15046LD=$lt_cv_path_LD 15047if test -n "$LD"; then 15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 15049$as_echo "$LD" >&6; } 15050else 15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15052$as_echo "no" >&6; } 15053fi 15054test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 15055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 15056$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 15057if ${lt_cv_prog_gnu_ld+:} false; then : 15058 $as_echo_n "(cached) " >&6 15059else 15060 # I'd rather use --version here, but apparently some GNU lds only accept -v. 15061case `$LD -v 2>&1 </dev/null` in 15062*GNU* | *'with BFD'*) 15063 lt_cv_prog_gnu_ld=yes 15064 ;; 15065*) 15066 lt_cv_prog_gnu_ld=no 15067 ;; 15068esac 15069fi 15070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 15071$as_echo "$lt_cv_prog_gnu_ld" >&6; } 15072with_gnu_ld=$lt_cv_prog_gnu_ld 15073 15074 15075 15076 15077 15078 15079 15080 # Check if GNU C++ uses GNU ld as the underlying linker, since the 15081 # archiving commands below assume that GNU ld is being used. 15082 if test yes = "$with_gnu_ld"; then 15083 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15084 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15085 15086 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15087 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15088 15089 # If archive_cmds runs LD, not CC, wlarc should be empty 15090 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 15091 # investigate it a little bit more. (MM) 15092 wlarc='$wl' 15093 15094 # ancient GNU ld didn't support --whole-archive et. al. 15095 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 15096 $GREP 'no-whole-archive' > /dev/null; then 15097 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 15098 else 15099 whole_archive_flag_spec_CXX= 15100 fi 15101 else 15102 with_gnu_ld=no 15103 wlarc= 15104 15105 # A generic and very simple default shared library creation 15106 # command for GNU C++ for the case where it uses the native 15107 # linker, instead of GNU ld. If possible, this setting should 15108 # overridden to take advantage of the native linker features on 15109 # the platform it is being used on. 15110 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 15111 fi 15112 15113 # Commands to make compiler produce verbose output that lists 15114 # what "hidden" libraries, object files and flags are used when 15115 # linking a shared library. 15116 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15117 15118 else 15119 GXX=no 15120 with_gnu_ld=no 15121 wlarc= 15122 fi 15123 15124 # PORTME: fill in a description of your system's C++ link characteristics 15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15126$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15127 ld_shlibs_CXX=yes 15128 case $host_os in 15129 aix3*) 15130 # FIXME: insert proper C++ library support 15131 ld_shlibs_CXX=no 15132 ;; 15133 aix[4-9]*) 15134 if test ia64 = "$host_cpu"; then 15135 # On IA64, the linker does run time linking by default, so we don't 15136 # have to do anything special. 15137 aix_use_runtimelinking=no 15138 exp_sym_flag='-Bexport' 15139 no_entry_flag= 15140 else 15141 aix_use_runtimelinking=no 15142 15143 # Test if we are trying to use run time linking or normal 15144 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 15145 # have runtime linking enabled, and use it for executables. 15146 # For shared libraries, we enable/disable runtime linking 15147 # depending on the kind of the shared library created - 15148 # when "with_aix_soname,aix_use_runtimelinking" is: 15149 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 15150 # "aix,yes" lib.so shared, rtl:yes, for executables 15151 # lib.a static archive 15152 # "both,no" lib.so.V(shr.o) shared, rtl:yes 15153 # lib.a(lib.so.V) shared, rtl:no, for executables 15154 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 15155 # lib.a(lib.so.V) shared, rtl:no 15156 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 15157 # lib.a static archive 15158 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 15159 for ld_flag in $LDFLAGS; do 15160 case $ld_flag in 15161 *-brtl*) 15162 aix_use_runtimelinking=yes 15163 break 15164 ;; 15165 esac 15166 done 15167 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 15168 # With aix-soname=svr4, we create the lib.so.V shared archives only, 15169 # so we don't have lib.a shared libs to link our executables. 15170 # We have to force runtime linking in this case. 15171 aix_use_runtimelinking=yes 15172 LDFLAGS="$LDFLAGS -Wl,-brtl" 15173 fi 15174 ;; 15175 esac 15176 15177 exp_sym_flag='-bexport' 15178 no_entry_flag='-bnoentry' 15179 fi 15180 15181 # When large executables or shared objects are built, AIX ld can 15182 # have problems creating the table of contents. If linking a library 15183 # or program results in "error TOC overflow" add -mminimal-toc to 15184 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 15185 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 15186 15187 archive_cmds_CXX='' 15188 hardcode_direct_CXX=yes 15189 hardcode_direct_absolute_CXX=yes 15190 hardcode_libdir_separator_CXX=':' 15191 link_all_deplibs_CXX=yes 15192 file_list_spec_CXX='$wl-f,' 15193 case $with_aix_soname,$aix_use_runtimelinking in 15194 aix,*) ;; # no import file 15195 svr4,* | *,yes) # use import file 15196 # The Import File defines what to hardcode. 15197 hardcode_direct_CXX=no 15198 hardcode_direct_absolute_CXX=no 15199 ;; 15200 esac 15201 15202 if test yes = "$GXX"; then 15203 case $host_os in aix4.[012]|aix4.[012].*) 15204 # We only want to do this on AIX 4.2 and lower, the check 15205 # below for broken collect2 doesn't work under 4.3+ 15206 collect2name=`$CC -print-prog-name=collect2` 15207 if test -f "$collect2name" && 15208 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 15209 then 15210 # We have reworked collect2 15211 : 15212 else 15213 # We have old collect2 15214 hardcode_direct_CXX=unsupported 15215 # It fails to find uninstalled libraries when the uninstalled 15216 # path is not listed in the libpath. Setting hardcode_minus_L 15217 # to unsupported forces relinking 15218 hardcode_minus_L_CXX=yes 15219 hardcode_libdir_flag_spec_CXX='-L$libdir' 15220 hardcode_libdir_separator_CXX= 15221 fi 15222 esac 15223 shared_flag='-shared' 15224 if test yes = "$aix_use_runtimelinking"; then 15225 shared_flag=$shared_flag' $wl-G' 15226 fi 15227 # Need to ensure runtime linking is disabled for the traditional 15228 # shared library, or the linker may eventually find shared libraries 15229 # /with/ Import File - we do not want to mix them. 15230 shared_flag_aix='-shared' 15231 shared_flag_svr4='-shared $wl-G' 15232 else 15233 # not using gcc 15234 if test ia64 = "$host_cpu"; then 15235 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 15236 # chokes on -Wl,-G. The following line is correct: 15237 shared_flag='-G' 15238 else 15239 if test yes = "$aix_use_runtimelinking"; then 15240 shared_flag='$wl-G' 15241 else 15242 shared_flag='$wl-bM:SRE' 15243 fi 15244 shared_flag_aix='$wl-bM:SRE' 15245 shared_flag_svr4='$wl-G' 15246 fi 15247 fi 15248 15249 export_dynamic_flag_spec_CXX='$wl-bexpall' 15250 # It seems that -bexpall does not export symbols beginning with 15251 # underscore (_), so it is better to generate a list of symbols to 15252 # export. 15253 always_export_symbols_CXX=yes 15254 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 15255 # Warning - without using the other runtime loading flags (-brtl), 15256 # -berok will link without error, but may produce a broken library. 15257 # The "-G" linker flag allows undefined symbols. 15258 no_undefined_flag_CXX='-bernotok' 15259 # Determine the default libpath from the value encoded in an empty 15260 # executable. 15261 if test set = "${lt_cv_aix_libpath+set}"; then 15262 aix_libpath=$lt_cv_aix_libpath 15263else 15264 if ${lt_cv_aix_libpath__CXX+:} false; then : 15265 $as_echo_n "(cached) " >&6 15266else 15267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15268/* end confdefs.h. */ 15269 15270int 15271main () 15272{ 15273 15274 ; 15275 return 0; 15276} 15277_ACEOF 15278if ac_fn_cxx_try_link "$LINENO"; then : 15279 15280 lt_aix_libpath_sed=' 15281 /Import File Strings/,/^$/ { 15282 /^0/ { 15283 s/^0 *\([^ ]*\) *$/\1/ 15284 p 15285 } 15286 }' 15287 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15288 # Check for a 64-bit object if we didn't find anything. 15289 if test -z "$lt_cv_aix_libpath__CXX"; then 15290 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15291 fi 15292fi 15293rm -f core conftest.err conftest.$ac_objext \ 15294 conftest$ac_exeext conftest.$ac_ext 15295 if test -z "$lt_cv_aix_libpath__CXX"; then 15296 lt_cv_aix_libpath__CXX=/usr/lib:/lib 15297 fi 15298 15299fi 15300 15301 aix_libpath=$lt_cv_aix_libpath__CXX 15302fi 15303 15304 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 15305 15306 archive_expsym_cmds_CXX='$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 15307 else 15308 if test ia64 = "$host_cpu"; then 15309 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 15310 allow_undefined_flag_CXX="-z nodefs" 15311 archive_expsym_cmds_CXX="\$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" 15312 else 15313 # Determine the default libpath from the value encoded in an 15314 # empty executable. 15315 if test set = "${lt_cv_aix_libpath+set}"; then 15316 aix_libpath=$lt_cv_aix_libpath 15317else 15318 if ${lt_cv_aix_libpath__CXX+:} false; then : 15319 $as_echo_n "(cached) " >&6 15320else 15321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15322/* end confdefs.h. */ 15323 15324int 15325main () 15326{ 15327 15328 ; 15329 return 0; 15330} 15331_ACEOF 15332if ac_fn_cxx_try_link "$LINENO"; then : 15333 15334 lt_aix_libpath_sed=' 15335 /Import File Strings/,/^$/ { 15336 /^0/ { 15337 s/^0 *\([^ ]*\) *$/\1/ 15338 p 15339 } 15340 }' 15341 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15342 # Check for a 64-bit object if we didn't find anything. 15343 if test -z "$lt_cv_aix_libpath__CXX"; then 15344 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15345 fi 15346fi 15347rm -f core conftest.err conftest.$ac_objext \ 15348 conftest$ac_exeext conftest.$ac_ext 15349 if test -z "$lt_cv_aix_libpath__CXX"; then 15350 lt_cv_aix_libpath__CXX=/usr/lib:/lib 15351 fi 15352 15353fi 15354 15355 aix_libpath=$lt_cv_aix_libpath__CXX 15356fi 15357 15358 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 15359 # Warning - without using the other run time loading flags, 15360 # -berok will link without error, but may produce a broken library. 15361 no_undefined_flag_CXX=' $wl-bernotok' 15362 allow_undefined_flag_CXX=' $wl-berok' 15363 if test yes = "$with_gnu_ld"; then 15364 # We only use this code for GNU lds that support --whole-archive. 15365 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 15366 else 15367 # Exported symbols can be pulled into shared objects from archives 15368 whole_archive_flag_spec_CXX='$convenience' 15369 fi 15370 archive_cmds_need_lc_CXX=yes 15371 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 15372 # -brtl affects multiple linker settings, -berok does not and is overridden later 15373 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 15374 if test svr4 != "$with_aix_soname"; then 15375 # This is similar to how AIX traditionally builds its shared 15376 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 15377 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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' 15378 fi 15379 if test aix != "$with_aix_soname"; then 15380 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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' 15381 else 15382 # used by -dlpreopen to get the symbols 15383 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 15384 fi 15385 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 15386 fi 15387 fi 15388 ;; 15389 15390 beos*) 15391 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 15392 allow_undefined_flag_CXX=unsupported 15393 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 15394 # support --undefined. This deserves some investigation. FIXME 15395 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15396 else 15397 ld_shlibs_CXX=no 15398 fi 15399 ;; 15400 15401 chorus*) 15402 case $cc_basename in 15403 *) 15404 # FIXME: insert proper C++ library support 15405 ld_shlibs_CXX=no 15406 ;; 15407 esac 15408 ;; 15409 15410 cygwin* | mingw* | pw32* | cegcc*) 15411 case $GXX,$cc_basename in 15412 ,cl* | no,cl*) 15413 # Native MSVC 15414 # hardcode_libdir_flag_spec is actually meaningless, as there is 15415 # no search path for DLLs. 15416 hardcode_libdir_flag_spec_CXX=' ' 15417 allow_undefined_flag_CXX=unsupported 15418 always_export_symbols_CXX=yes 15419 file_list_spec_CXX='@' 15420 # Tell ltmain to make .lib files, not .a files. 15421 libext=lib 15422 # Tell ltmain to make .dll files, not .so files. 15423 shrext_cmds=.dll 15424 # FIXME: Setting linknames here is a bad hack. 15425 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 15426 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 15427 cp "$export_symbols" "$output_objdir/$soname.def"; 15428 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 15429 else 15430 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 15431 fi~ 15432 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 15433 linknames=' 15434 # The linker will not automatically build a static lib if we build a DLL. 15435 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 15436 enable_shared_with_static_runtimes_CXX=yes 15437 # Don't use ranlib 15438 old_postinstall_cmds_CXX='chmod 644 $oldlib' 15439 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 15440 lt_tool_outputfile="@TOOL_OUTPUT@"~ 15441 case $lt_outputfile in 15442 *.exe|*.EXE) ;; 15443 *) 15444 lt_outputfile=$lt_outputfile.exe 15445 lt_tool_outputfile=$lt_tool_outputfile.exe 15446 ;; 15447 esac~ 15448 func_to_tool_file "$lt_outputfile"~ 15449 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 15450 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 15451 $RM "$lt_outputfile.manifest"; 15452 fi' 15453 ;; 15454 *) 15455 # g++ 15456 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 15457 # as there is no search path for DLLs. 15458 hardcode_libdir_flag_spec_CXX='-L$libdir' 15459 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 15460 allow_undefined_flag_CXX=unsupported 15461 always_export_symbols_CXX=no 15462 enable_shared_with_static_runtimes_CXX=yes 15463 15464 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 15465 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 15466 # If the export-symbols file already is a .def file, use it as 15467 # is; otherwise, prepend EXPORTS... 15468 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 15469 cp $export_symbols $output_objdir/$soname.def; 15470 else 15471 echo EXPORTS > $output_objdir/$soname.def; 15472 cat $export_symbols >> $output_objdir/$soname.def; 15473 fi~ 15474 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 15475 else 15476 ld_shlibs_CXX=no 15477 fi 15478 ;; 15479 esac 15480 ;; 15481 darwin* | rhapsody*) 15482 15483 15484 archive_cmds_need_lc_CXX=no 15485 hardcode_direct_CXX=no 15486 hardcode_automatic_CXX=yes 15487 hardcode_shlibpath_var_CXX=unsupported 15488 if test yes = "$lt_cv_ld_force_load"; then 15489 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 15490 15491 else 15492 whole_archive_flag_spec_CXX='' 15493 fi 15494 link_all_deplibs_CXX=yes 15495 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 15496 case $cc_basename in 15497 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 15498 *) _lt_dar_can_shared=$GCC ;; 15499 esac 15500 if test yes = "$_lt_dar_can_shared"; then 15501 output_verbose_link_cmd=func_echo_all 15502 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 15503 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 15504 archive_expsym_cmds_CXX="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" 15505 module_expsym_cmds_CXX="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" 15506 if test yes != "$lt_cv_apple_cc_single_mod"; then 15507 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" 15508 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" 15509 fi 15510 15511 else 15512 ld_shlibs_CXX=no 15513 fi 15514 15515 ;; 15516 15517 os2*) 15518 hardcode_libdir_flag_spec_CXX='-L$libdir' 15519 hardcode_minus_L_CXX=yes 15520 allow_undefined_flag_CXX=unsupported 15521 shrext_cmds=.dll 15522 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 15523 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 15524 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 15525 $ECHO EXPORTS >> $output_objdir/$libname.def~ 15526 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 15527 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 15528 emximp -o $lib $output_objdir/$libname.def' 15529 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 15530 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 15531 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 15532 $ECHO EXPORTS >> $output_objdir/$libname.def~ 15533 prefix_cmds="$SED"~ 15534 if test EXPORTS = "`$SED 1q $export_symbols`"; then 15535 prefix_cmds="$prefix_cmds -e 1d"; 15536 fi~ 15537 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 15538 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 15539 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 15540 emximp -o $lib $output_objdir/$libname.def' 15541 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 15542 enable_shared_with_static_runtimes_CXX=yes 15543 ;; 15544 15545 dgux*) 15546 case $cc_basename in 15547 ec++*) 15548 # FIXME: insert proper C++ library support 15549 ld_shlibs_CXX=no 15550 ;; 15551 ghcx*) 15552 # Green Hills C++ Compiler 15553 # FIXME: insert proper C++ library support 15554 ld_shlibs_CXX=no 15555 ;; 15556 *) 15557 # FIXME: insert proper C++ library support 15558 ld_shlibs_CXX=no 15559 ;; 15560 esac 15561 ;; 15562 15563 freebsd2.*) 15564 # C++ shared libraries reported to be fairly broken before 15565 # switch to ELF 15566 ld_shlibs_CXX=no 15567 ;; 15568 15569 freebsd-elf*) 15570 archive_cmds_need_lc_CXX=no 15571 ;; 15572 15573 freebsd* | dragonfly*) 15574 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 15575 # conventions 15576 ld_shlibs_CXX=yes 15577 ;; 15578 15579 haiku*) 15580 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15581 link_all_deplibs_CXX=yes 15582 ;; 15583 15584 hpux9*) 15585 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 15586 hardcode_libdir_separator_CXX=: 15587 export_dynamic_flag_spec_CXX='$wl-E' 15588 hardcode_direct_CXX=yes 15589 hardcode_minus_L_CXX=yes # Not in the search PATH, 15590 # but as the default 15591 # location of the library. 15592 15593 case $cc_basename in 15594 CC*) 15595 # FIXME: insert proper C++ library support 15596 ld_shlibs_CXX=no 15597 ;; 15598 aCC*) 15599 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 15600 # Commands to make compiler produce verbose output that lists 15601 # what "hidden" libraries, object files and flags are used when 15602 # linking a shared library. 15603 # 15604 # There doesn't appear to be a way to prevent this compiler from 15605 # explicitly linking system object files so we need to strip them 15606 # from the output so that they don't get included in the library 15607 # dependencies. 15608 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 15609 ;; 15610 *) 15611 if test yes = "$GXX"; then 15612 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 15613 else 15614 # FIXME: insert proper C++ library support 15615 ld_shlibs_CXX=no 15616 fi 15617 ;; 15618 esac 15619 ;; 15620 15621 hpux10*|hpux11*) 15622 if test no = "$with_gnu_ld"; then 15623 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 15624 hardcode_libdir_separator_CXX=: 15625 15626 case $host_cpu in 15627 hppa*64*|ia64*) 15628 ;; 15629 *) 15630 export_dynamic_flag_spec_CXX='$wl-E' 15631 ;; 15632 esac 15633 fi 15634 case $host_cpu in 15635 hppa*64*|ia64*) 15636 hardcode_direct_CXX=no 15637 hardcode_shlibpath_var_CXX=no 15638 ;; 15639 *) 15640 hardcode_direct_CXX=yes 15641 hardcode_direct_absolute_CXX=yes 15642 hardcode_minus_L_CXX=yes # Not in the search PATH, 15643 # but as the default 15644 # location of the library. 15645 ;; 15646 esac 15647 15648 case $cc_basename in 15649 CC*) 15650 # FIXME: insert proper C++ library support 15651 ld_shlibs_CXX=no 15652 ;; 15653 aCC*) 15654 case $host_cpu in 15655 hppa*64*) 15656 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15657 ;; 15658 ia64*) 15659 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15660 ;; 15661 *) 15662 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15663 ;; 15664 esac 15665 # Commands to make compiler produce verbose output that lists 15666 # what "hidden" libraries, object files and flags are used when 15667 # linking a shared library. 15668 # 15669 # There doesn't appear to be a way to prevent this compiler from 15670 # explicitly linking system object files so we need to strip them 15671 # from the output so that they don't get included in the library 15672 # dependencies. 15673 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 15674 ;; 15675 *) 15676 if test yes = "$GXX"; then 15677 if test no = "$with_gnu_ld"; then 15678 case $host_cpu in 15679 hppa*64*) 15680 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15681 ;; 15682 ia64*) 15683 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15684 ;; 15685 *) 15686 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15687 ;; 15688 esac 15689 fi 15690 else 15691 # FIXME: insert proper C++ library support 15692 ld_shlibs_CXX=no 15693 fi 15694 ;; 15695 esac 15696 ;; 15697 15698 interix[3-9]*) 15699 hardcode_direct_CXX=no 15700 hardcode_shlibpath_var_CXX=no 15701 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15702 export_dynamic_flag_spec_CXX='$wl-E' 15703 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 15704 # Instead, shared libraries are loaded at an image base (0x10000000 by 15705 # default) and relocated if they conflict, which is a slow very memory 15706 # consuming and fragmenting process. To avoid this, we pick a random, 15707 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 15708 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 15709 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 15710 archive_expsym_cmds_CXX='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' 15711 ;; 15712 irix5* | irix6*) 15713 case $cc_basename in 15714 CC*) 15715 # SGI C++ 15716 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 15717 15718 # Archives containing C++ object files must be created using 15719 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 15720 # necessary to make sure instantiated templates are included 15721 # in the archive. 15722 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 15723 ;; 15724 *) 15725 if test yes = "$GXX"; then 15726 if test no = "$with_gnu_ld"; then 15727 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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' 15728 else 15729 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' 15730 fi 15731 fi 15732 link_all_deplibs_CXX=yes 15733 ;; 15734 esac 15735 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15736 hardcode_libdir_separator_CXX=: 15737 inherit_rpath_CXX=yes 15738 ;; 15739 15740 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15741 case $cc_basename in 15742 KCC*) 15743 # Kuck and Associates, Inc. (KAI) C++ Compiler 15744 15745 # KCC will only create a shared library if the output file 15746 # ends with ".so" (or ".sl" for HP-UX), so rename the library 15747 # to its proper name (with version) after linking. 15748 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 15749 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' 15750 # Commands to make compiler produce verbose output that lists 15751 # what "hidden" libraries, object files and flags are used when 15752 # linking a shared library. 15753 # 15754 # There doesn't appear to be a way to prevent this compiler from 15755 # explicitly linking system object files so we need to strip them 15756 # from the output so that they don't get included in the library 15757 # dependencies. 15758 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 15759 15760 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15761 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15762 15763 # Archives containing C++ object files must be created using 15764 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 15765 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 15766 ;; 15767 icpc* | ecpc* ) 15768 # Intel C++ 15769 with_gnu_ld=yes 15770 # version 8.0 and above of icpc choke on multiply defined symbols 15771 # if we add $predep_objects and $postdep_objects, however 7.1 and 15772 # earlier do not add the objects themselves. 15773 case `$CC -V 2>&1` in 15774 *"Version 7."*) 15775 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15776 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15777 ;; 15778 *) # Version 8.0 or newer 15779 tmp_idyn= 15780 case $host_cpu in 15781 ia64*) tmp_idyn=' -i_dynamic';; 15782 esac 15783 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15784 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15785 ;; 15786 esac 15787 archive_cmds_need_lc_CXX=no 15788 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15789 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15790 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 15791 ;; 15792 pgCC* | pgcpp*) 15793 # Portland Group C++ compiler 15794 case `$CC -V` in 15795 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 15796 prelink_cmds_CXX='tpldir=Template.dir~ 15797 rm -rf $tpldir~ 15798 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 15799 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 15800 old_archive_cmds_CXX='tpldir=Template.dir~ 15801 rm -rf $tpldir~ 15802 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 15803 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 15804 $RANLIB $oldlib' 15805 archive_cmds_CXX='tpldir=Template.dir~ 15806 rm -rf $tpldir~ 15807 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 15808 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15809 archive_expsym_cmds_CXX='tpldir=Template.dir~ 15810 rm -rf $tpldir~ 15811 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 15812 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15813 ;; 15814 *) # Version 6 and above use weak symbols 15815 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15816 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15817 ;; 15818 esac 15819 15820 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 15821 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15822 whole_archive_flag_spec_CXX='$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' 15823 ;; 15824 cxx*) 15825 # Compaq C++ 15826 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15827 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' 15828 15829 runpath_var=LD_RUN_PATH 15830 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 15831 hardcode_libdir_separator_CXX=: 15832 15833 # Commands to make compiler produce verbose output that lists 15834 # what "hidden" libraries, object files and flags are used when 15835 # linking a shared library. 15836 # 15837 # There doesn't appear to be a way to prevent this compiler from 15838 # explicitly linking system object files so we need to strip them 15839 # from the output so that they don't get included in the library 15840 # dependencies. 15841 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 15842 ;; 15843 xl* | mpixl* | bgxl*) 15844 # IBM XL 8.0 on PPC, with GNU ld 15845 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15846 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15847 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15848 if test yes = "$supports_anon_versioning"; then 15849 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 15850 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 15851 echo "local: *; };" >> $output_objdir/$libname.ver~ 15852 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 15853 fi 15854 ;; 15855 *) 15856 case `$CC -V 2>&1 | sed 5q` in 15857 *Sun\ C*) 15858 # Sun C++ 5.9 15859 no_undefined_flag_CXX=' -zdefs' 15860 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15861 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' 15862 hardcode_libdir_flag_spec_CXX='-R$libdir' 15863 whole_archive_flag_spec_CXX='$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' 15864 compiler_needs_object_CXX=yes 15865 15866 # Not sure whether something based on 15867 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 15868 # would be better. 15869 output_verbose_link_cmd='func_echo_all' 15870 15871 # Archives containing C++ object files must be created using 15872 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15873 # necessary to make sure instantiated templates are included 15874 # in the archive. 15875 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15876 ;; 15877 esac 15878 ;; 15879 esac 15880 ;; 15881 15882 lynxos*) 15883 # FIXME: insert proper C++ library support 15884 ld_shlibs_CXX=no 15885 ;; 15886 15887 m88k*) 15888 # FIXME: insert proper C++ library support 15889 ld_shlibs_CXX=no 15890 ;; 15891 15892 mvs*) 15893 case $cc_basename in 15894 cxx*) 15895 # FIXME: insert proper C++ library support 15896 ld_shlibs_CXX=no 15897 ;; 15898 *) 15899 # FIXME: insert proper C++ library support 15900 ld_shlibs_CXX=no 15901 ;; 15902 esac 15903 ;; 15904 15905 netbsd*) 15906 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15907 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 15908 wlarc= 15909 hardcode_libdir_flag_spec_CXX='-R$libdir' 15910 hardcode_direct_CXX=yes 15911 hardcode_shlibpath_var_CXX=no 15912 fi 15913 # Workaround some broken pre-1.5 toolchains 15914 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 15915 ;; 15916 15917 *nto* | *qnx*) 15918 ld_shlibs_CXX=yes 15919 ;; 15920 15921 openbsd* | bitrig*) 15922 if test -f /usr/libexec/ld.so; then 15923 hardcode_direct_CXX=yes 15924 hardcode_shlibpath_var_CXX=no 15925 hardcode_direct_absolute_CXX=yes 15926 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 15927 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15928 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 15929 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 15930 export_dynamic_flag_spec_CXX='$wl-E' 15931 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 15932 fi 15933 output_verbose_link_cmd=func_echo_all 15934 else 15935 ld_shlibs_CXX=no 15936 fi 15937 ;; 15938 15939 osf3* | osf4* | osf5*) 15940 case $cc_basename in 15941 KCC*) 15942 # Kuck and Associates, Inc. (KAI) C++ Compiler 15943 15944 # KCC will only create a shared library if the output file 15945 # ends with ".so" (or ".sl" for HP-UX), so rename the library 15946 # to its proper name (with version) after linking. 15947 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 15948 15949 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15950 hardcode_libdir_separator_CXX=: 15951 15952 # Archives containing C++ object files must be created using 15953 # the KAI C++ compiler. 15954 case $host in 15955 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 15956 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 15957 esac 15958 ;; 15959 RCC*) 15960 # Rational C++ 2.4.1 15961 # FIXME: insert proper C++ library support 15962 ld_shlibs_CXX=no 15963 ;; 15964 cxx*) 15965 case $host in 15966 osf3*) 15967 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 15968 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 15969 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15970 ;; 15971 *) 15972 allow_undefined_flag_CXX=' -expect_unresolved \*' 15973 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 15974 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 15975 echo "-hidden">> $lib.exp~ 15976 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ 15977 $RM $lib.exp' 15978 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 15979 ;; 15980 esac 15981 15982 hardcode_libdir_separator_CXX=: 15983 15984 # Commands to make compiler produce verbose output that lists 15985 # what "hidden" libraries, object files and flags are used when 15986 # linking a shared library. 15987 # 15988 # There doesn't appear to be a way to prevent this compiler from 15989 # explicitly linking system object files so we need to strip them 15990 # from the output so that they don't get included in the library 15991 # dependencies. 15992 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 15993 ;; 15994 *) 15995 if test yes,no = "$GXX,$with_gnu_ld"; then 15996 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 15997 case $host in 15998 osf3*) 15999 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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' 16000 ;; 16001 *) 16002 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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' 16003 ;; 16004 esac 16005 16006 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 16007 hardcode_libdir_separator_CXX=: 16008 16009 # Commands to make compiler produce verbose output that lists 16010 # what "hidden" libraries, object files and flags are used when 16011 # linking a shared library. 16012 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16013 16014 else 16015 # FIXME: insert proper C++ library support 16016 ld_shlibs_CXX=no 16017 fi 16018 ;; 16019 esac 16020 ;; 16021 16022 psos*) 16023 # FIXME: insert proper C++ library support 16024 ld_shlibs_CXX=no 16025 ;; 16026 16027 sunos4*) 16028 case $cc_basename in 16029 CC*) 16030 # Sun C++ 4.x 16031 # FIXME: insert proper C++ library support 16032 ld_shlibs_CXX=no 16033 ;; 16034 lcc*) 16035 # Lucid 16036 # FIXME: insert proper C++ library support 16037 ld_shlibs_CXX=no 16038 ;; 16039 *) 16040 # FIXME: insert proper C++ library support 16041 ld_shlibs_CXX=no 16042 ;; 16043 esac 16044 ;; 16045 16046 solaris*) 16047 case $cc_basename in 16048 CC* | sunCC*) 16049 # Sun C++ 4.2, 5.x and Centerline C++ 16050 archive_cmds_need_lc_CXX=yes 16051 no_undefined_flag_CXX=' -zdefs' 16052 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16053 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16054 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 16055 16056 hardcode_libdir_flag_spec_CXX='-R$libdir' 16057 hardcode_shlibpath_var_CXX=no 16058 case $host_os in 16059 solaris2.[0-5] | solaris2.[0-5].*) ;; 16060 *) 16061 # The compiler driver will combine and reorder linker options, 16062 # but understands '-z linker_flag'. 16063 # Supported since Solaris 2.6 (maybe 2.5.1?) 16064 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 16065 ;; 16066 esac 16067 link_all_deplibs_CXX=yes 16068 16069 output_verbose_link_cmd='func_echo_all' 16070 16071 # Archives containing C++ object files must be created using 16072 # "CC -xar", where "CC" is the Sun C++ compiler. This is 16073 # necessary to make sure instantiated templates are included 16074 # in the archive. 16075 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 16076 ;; 16077 gcx*) 16078 # Green Hills C++ Compiler 16079 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 16080 16081 # The C++ compiler must be used to create the archive. 16082 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 16083 ;; 16084 *) 16085 # GNU C++ compiler with Solaris linker 16086 if test yes,no = "$GXX,$with_gnu_ld"; then 16087 no_undefined_flag_CXX=' $wl-z ${wl}defs' 16088 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 16089 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 16090 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16091 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 16092 16093 # Commands to make compiler produce verbose output that lists 16094 # what "hidden" libraries, object files and flags are used when 16095 # linking a shared library. 16096 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16097 else 16098 # g++ 2.7 appears to require '-G' NOT '-shared' on this 16099 # platform. 16100 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 16101 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16102 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 16103 16104 # Commands to make compiler produce verbose output that lists 16105 # what "hidden" libraries, object files and flags are used when 16106 # linking a shared library. 16107 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16108 fi 16109 16110 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 16111 case $host_os in 16112 solaris2.[0-5] | solaris2.[0-5].*) ;; 16113 *) 16114 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 16115 ;; 16116 esac 16117 fi 16118 ;; 16119 esac 16120 ;; 16121 16122 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 16123 no_undefined_flag_CXX='$wl-z,text' 16124 archive_cmds_need_lc_CXX=no 16125 hardcode_shlibpath_var_CXX=no 16126 runpath_var='LD_RUN_PATH' 16127 16128 case $cc_basename in 16129 CC*) 16130 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16131 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16132 ;; 16133 *) 16134 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16135 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16136 ;; 16137 esac 16138 ;; 16139 16140 sysv5* | sco3.2v5* | sco5v6*) 16141 # Note: We CANNOT use -z defs as we might desire, because we do not 16142 # link with -lc, and that would cause any symbols used from libc to 16143 # always be unresolved, which means just about no library would 16144 # ever link correctly. If we're not using GNU ld we use -z text 16145 # though, which does catch some bad symbols but isn't as heavy-handed 16146 # as -z defs. 16147 no_undefined_flag_CXX='$wl-z,text' 16148 allow_undefined_flag_CXX='$wl-z,nodefs' 16149 archive_cmds_need_lc_CXX=no 16150 hardcode_shlibpath_var_CXX=no 16151 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 16152 hardcode_libdir_separator_CXX=':' 16153 link_all_deplibs_CXX=yes 16154 export_dynamic_flag_spec_CXX='$wl-Bexport' 16155 runpath_var='LD_RUN_PATH' 16156 16157 case $cc_basename in 16158 CC*) 16159 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16160 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16161 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 16162 '"$old_archive_cmds_CXX" 16163 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 16164 '"$reload_cmds_CXX" 16165 ;; 16166 *) 16167 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16168 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16169 ;; 16170 esac 16171 ;; 16172 16173 tandem*) 16174 case $cc_basename in 16175 NCC*) 16176 # NonStop-UX NCC 3.20 16177 # FIXME: insert proper C++ library support 16178 ld_shlibs_CXX=no 16179 ;; 16180 *) 16181 # FIXME: insert proper C++ library support 16182 ld_shlibs_CXX=no 16183 ;; 16184 esac 16185 ;; 16186 16187 vxworks*) 16188 # FIXME: insert proper C++ library support 16189 ld_shlibs_CXX=no 16190 ;; 16191 16192 *) 16193 # FIXME: insert proper C++ library support 16194 ld_shlibs_CXX=no 16195 ;; 16196 esac 16197 16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 16199$as_echo "$ld_shlibs_CXX" >&6; } 16200 test no = "$ld_shlibs_CXX" && can_build_shared=no 16201 16202 GCC_CXX=$GXX 16203 LD_CXX=$LD 16204 16205 ## CAVEAT EMPTOR: 16206 ## There is no encapsulation within the following macros, do not change 16207 ## the running order or otherwise move them around unless you know exactly 16208 ## what you are doing... 16209 # Dependencies to place before and after the object being linked: 16210predep_objects_CXX= 16211postdep_objects_CXX= 16212predeps_CXX= 16213postdeps_CXX= 16214compiler_lib_search_path_CXX= 16215 16216cat > conftest.$ac_ext <<_LT_EOF 16217class Foo 16218{ 16219public: 16220 Foo (void) { a = 0; } 16221private: 16222 int a; 16223}; 16224_LT_EOF 16225 16226 16227_lt_libdeps_save_CFLAGS=$CFLAGS 16228case "$CC $CFLAGS " in #( 16229*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 16230*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 16231*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 16232esac 16233 16234if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16235 (eval $ac_compile) 2>&5 16236 ac_status=$? 16237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16238 test $ac_status = 0; }; then 16239 # Parse the compiler output and extract the necessary 16240 # objects, libraries and library flags. 16241 16242 # Sentinel used to keep track of whether or not we are before 16243 # the conftest object file. 16244 pre_test_object_deps_done=no 16245 16246 for p in `eval "$output_verbose_link_cmd"`; do 16247 case $prev$p in 16248 16249 -L* | -R* | -l*) 16250 # Some compilers place space between "-{L,R}" and the path. 16251 # Remove the space. 16252 if test x-L = "$p" || 16253 test x-R = "$p"; then 16254 prev=$p 16255 continue 16256 fi 16257 16258 # Expand the sysroot to ease extracting the directories later. 16259 if test -z "$prev"; then 16260 case $p in 16261 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 16262 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 16263 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 16264 esac 16265 fi 16266 case $p in 16267 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 16268 esac 16269 if test no = "$pre_test_object_deps_done"; then 16270 case $prev in 16271 -L | -R) 16272 # Internal compiler library paths should come after those 16273 # provided the user. The postdeps already come after the 16274 # user supplied libs so there is no need to process them. 16275 if test -z "$compiler_lib_search_path_CXX"; then 16276 compiler_lib_search_path_CXX=$prev$p 16277 else 16278 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 16279 fi 16280 ;; 16281 # The "-l" case would never come before the object being 16282 # linked, so don't bother handling this case. 16283 esac 16284 else 16285 if test -z "$postdeps_CXX"; then 16286 postdeps_CXX=$prev$p 16287 else 16288 postdeps_CXX="${postdeps_CXX} $prev$p" 16289 fi 16290 fi 16291 prev= 16292 ;; 16293 16294 *.lto.$objext) ;; # Ignore GCC LTO objects 16295 *.$objext) 16296 # This assumes that the test object file only shows up 16297 # once in the compiler output. 16298 if test "$p" = "conftest.$objext"; then 16299 pre_test_object_deps_done=yes 16300 continue 16301 fi 16302 16303 if test no = "$pre_test_object_deps_done"; then 16304 if test -z "$predep_objects_CXX"; then 16305 predep_objects_CXX=$p 16306 else 16307 predep_objects_CXX="$predep_objects_CXX $p" 16308 fi 16309 else 16310 if test -z "$postdep_objects_CXX"; then 16311 postdep_objects_CXX=$p 16312 else 16313 postdep_objects_CXX="$postdep_objects_CXX $p" 16314 fi 16315 fi 16316 ;; 16317 16318 *) ;; # Ignore the rest. 16319 16320 esac 16321 done 16322 16323 # Clean up. 16324 rm -f a.out a.exe 16325else 16326 echo "libtool.m4: error: problem compiling CXX test program" 16327fi 16328 16329$RM -f confest.$objext 16330CFLAGS=$_lt_libdeps_save_CFLAGS 16331 16332# PORTME: override above test on systems where it is broken 16333case $host_os in 16334interix[3-9]*) 16335 # Interix 3.5 installs completely hosed .la files for C++, so rather than 16336 # hack all around it, let's just trust "g++" to DTRT. 16337 predep_objects_CXX= 16338 postdep_objects_CXX= 16339 postdeps_CXX= 16340 ;; 16341esac 16342 16343 16344case " $postdeps_CXX " in 16345*" -lc "*) archive_cmds_need_lc_CXX=no ;; 16346esac 16347 compiler_lib_search_dirs_CXX= 16348if test -n "${compiler_lib_search_path_CXX}"; then 16349 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 16350fi 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 lt_prog_compiler_wl_CXX= 16383lt_prog_compiler_pic_CXX= 16384lt_prog_compiler_static_CXX= 16385 16386 16387 # C++ specific cases for pic, static, wl, etc. 16388 if test yes = "$GXX"; then 16389 lt_prog_compiler_wl_CXX='-Wl,' 16390 lt_prog_compiler_static_CXX='-static' 16391 16392 case $host_os in 16393 aix*) 16394 # All AIX code is PIC. 16395 if test ia64 = "$host_cpu"; then 16396 # AIX 5 now supports IA64 processor 16397 lt_prog_compiler_static_CXX='-Bstatic' 16398 fi 16399 lt_prog_compiler_pic_CXX='-fPIC' 16400 ;; 16401 16402 amigaos*) 16403 case $host_cpu in 16404 powerpc) 16405 # see comment about AmigaOS4 .so support 16406 lt_prog_compiler_pic_CXX='-fPIC' 16407 ;; 16408 m68k) 16409 # FIXME: we need at least 68020 code to build shared libraries, but 16410 # adding the '-m68020' flag to GCC prevents building anything better, 16411 # like '-m68040'. 16412 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 16413 ;; 16414 esac 16415 ;; 16416 16417 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 16418 # PIC is the default for these OSes. 16419 ;; 16420 mingw* | cygwin* | os2* | pw32* | cegcc*) 16421 # This hack is so that the source file can tell whether it is being 16422 # built for inclusion in a dll (and should export symbols for example). 16423 # Although the cygwin gcc ignores -fPIC, still need this for old-style 16424 # (--disable-auto-import) libraries 16425 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 16426 case $host_os in 16427 os2*) 16428 lt_prog_compiler_static_CXX='$wl-static' 16429 ;; 16430 esac 16431 ;; 16432 darwin* | rhapsody*) 16433 # PIC is the default on this platform 16434 # Common symbols not allowed in MH_DYLIB files 16435 lt_prog_compiler_pic_CXX='-fno-common' 16436 ;; 16437 *djgpp*) 16438 # DJGPP does not support shared libraries at all 16439 lt_prog_compiler_pic_CXX= 16440 ;; 16441 haiku*) 16442 # PIC is the default for Haiku. 16443 # The "-static" flag exists, but is broken. 16444 lt_prog_compiler_static_CXX= 16445 ;; 16446 interix[3-9]*) 16447 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 16448 # Instead, we relocate shared libraries at runtime. 16449 ;; 16450 sysv4*MP*) 16451 if test -d /usr/nec; then 16452 lt_prog_compiler_pic_CXX=-Kconform_pic 16453 fi 16454 ;; 16455 hpux*) 16456 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 16457 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 16458 # sets the default TLS model and affects inlining. 16459 case $host_cpu in 16460 hppa*64*) 16461 ;; 16462 *) 16463 lt_prog_compiler_pic_CXX='-fPIC' 16464 ;; 16465 esac 16466 ;; 16467 *qnx* | *nto*) 16468 # QNX uses GNU C++, but need to define -shared option too, otherwise 16469 # it will coredump. 16470 lt_prog_compiler_pic_CXX='-fPIC -shared' 16471 ;; 16472 *) 16473 lt_prog_compiler_pic_CXX='-fPIC' 16474 ;; 16475 esac 16476 else 16477 case $host_os in 16478 aix[4-9]*) 16479 # All AIX code is PIC. 16480 if test ia64 = "$host_cpu"; then 16481 # AIX 5 now supports IA64 processor 16482 lt_prog_compiler_static_CXX='-Bstatic' 16483 else 16484 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 16485 fi 16486 ;; 16487 chorus*) 16488 case $cc_basename in 16489 cxch68*) 16490 # Green Hills C++ Compiler 16491 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 16492 ;; 16493 esac 16494 ;; 16495 mingw* | cygwin* | os2* | pw32* | cegcc*) 16496 # This hack is so that the source file can tell whether it is being 16497 # built for inclusion in a dll (and should export symbols for example). 16498 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 16499 ;; 16500 dgux*) 16501 case $cc_basename in 16502 ec++*) 16503 lt_prog_compiler_pic_CXX='-KPIC' 16504 ;; 16505 ghcx*) 16506 # Green Hills C++ Compiler 16507 lt_prog_compiler_pic_CXX='-pic' 16508 ;; 16509 *) 16510 ;; 16511 esac 16512 ;; 16513 freebsd* | dragonfly*) 16514 # FreeBSD uses GNU C++ 16515 ;; 16516 hpux9* | hpux10* | hpux11*) 16517 case $cc_basename in 16518 CC*) 16519 lt_prog_compiler_wl_CXX='-Wl,' 16520 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 16521 if test ia64 != "$host_cpu"; then 16522 lt_prog_compiler_pic_CXX='+Z' 16523 fi 16524 ;; 16525 aCC*) 16526 lt_prog_compiler_wl_CXX='-Wl,' 16527 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 16528 case $host_cpu in 16529 hppa*64*|ia64*) 16530 # +Z the default 16531 ;; 16532 *) 16533 lt_prog_compiler_pic_CXX='+Z' 16534 ;; 16535 esac 16536 ;; 16537 *) 16538 ;; 16539 esac 16540 ;; 16541 interix*) 16542 # This is c89, which is MS Visual C++ (no shared libs) 16543 # Anyone wants to do a port? 16544 ;; 16545 irix5* | irix6* | nonstopux*) 16546 case $cc_basename in 16547 CC*) 16548 lt_prog_compiler_wl_CXX='-Wl,' 16549 lt_prog_compiler_static_CXX='-non_shared' 16550 # CC pic flag -KPIC is the default. 16551 ;; 16552 *) 16553 ;; 16554 esac 16555 ;; 16556 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16557 case $cc_basename in 16558 KCC*) 16559 # KAI C++ Compiler 16560 lt_prog_compiler_wl_CXX='--backend -Wl,' 16561 lt_prog_compiler_pic_CXX='-fPIC' 16562 ;; 16563 ecpc* ) 16564 # old Intel C++ for x86_64, which still supported -KPIC. 16565 lt_prog_compiler_wl_CXX='-Wl,' 16566 lt_prog_compiler_pic_CXX='-KPIC' 16567 lt_prog_compiler_static_CXX='-static' 16568 ;; 16569 icpc* ) 16570 # Intel C++, used to be incompatible with GCC. 16571 # ICC 10 doesn't accept -KPIC any more. 16572 lt_prog_compiler_wl_CXX='-Wl,' 16573 lt_prog_compiler_pic_CXX='-fPIC' 16574 lt_prog_compiler_static_CXX='-static' 16575 ;; 16576 pgCC* | pgcpp*) 16577 # Portland Group C++ compiler 16578 lt_prog_compiler_wl_CXX='-Wl,' 16579 lt_prog_compiler_pic_CXX='-fpic' 16580 lt_prog_compiler_static_CXX='-Bstatic' 16581 ;; 16582 cxx*) 16583 # Compaq C++ 16584 # Make sure the PIC flag is empty. It appears that all Alpha 16585 # Linux and Compaq Tru64 Unix objects are PIC. 16586 lt_prog_compiler_pic_CXX= 16587 lt_prog_compiler_static_CXX='-non_shared' 16588 ;; 16589 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 16590 # IBM XL 8.0, 9.0 on PPC and BlueGene 16591 lt_prog_compiler_wl_CXX='-Wl,' 16592 lt_prog_compiler_pic_CXX='-qpic' 16593 lt_prog_compiler_static_CXX='-qstaticlink' 16594 ;; 16595 *) 16596 case `$CC -V 2>&1 | sed 5q` in 16597 *Sun\ C*) 16598 # Sun C++ 5.9 16599 lt_prog_compiler_pic_CXX='-KPIC' 16600 lt_prog_compiler_static_CXX='-Bstatic' 16601 lt_prog_compiler_wl_CXX='-Qoption ld ' 16602 ;; 16603 esac 16604 ;; 16605 esac 16606 ;; 16607 lynxos*) 16608 ;; 16609 m88k*) 16610 ;; 16611 mvs*) 16612 case $cc_basename in 16613 cxx*) 16614 lt_prog_compiler_pic_CXX='-W c,exportall' 16615 ;; 16616 *) 16617 ;; 16618 esac 16619 ;; 16620 netbsd*) 16621 ;; 16622 *qnx* | *nto*) 16623 # QNX uses GNU C++, but need to define -shared option too, otherwise 16624 # it will coredump. 16625 lt_prog_compiler_pic_CXX='-fPIC -shared' 16626 ;; 16627 osf3* | osf4* | osf5*) 16628 case $cc_basename in 16629 KCC*) 16630 lt_prog_compiler_wl_CXX='--backend -Wl,' 16631 ;; 16632 RCC*) 16633 # Rational C++ 2.4.1 16634 lt_prog_compiler_pic_CXX='-pic' 16635 ;; 16636 cxx*) 16637 # Digital/Compaq C++ 16638 lt_prog_compiler_wl_CXX='-Wl,' 16639 # Make sure the PIC flag is empty. It appears that all Alpha 16640 # Linux and Compaq Tru64 Unix objects are PIC. 16641 lt_prog_compiler_pic_CXX= 16642 lt_prog_compiler_static_CXX='-non_shared' 16643 ;; 16644 *) 16645 ;; 16646 esac 16647 ;; 16648 psos*) 16649 ;; 16650 solaris*) 16651 case $cc_basename in 16652 CC* | sunCC*) 16653 # Sun C++ 4.2, 5.x and Centerline C++ 16654 lt_prog_compiler_pic_CXX='-KPIC' 16655 lt_prog_compiler_static_CXX='-Bstatic' 16656 lt_prog_compiler_wl_CXX='-Qoption ld ' 16657 ;; 16658 gcx*) 16659 # Green Hills C++ Compiler 16660 lt_prog_compiler_pic_CXX='-PIC' 16661 ;; 16662 *) 16663 ;; 16664 esac 16665 ;; 16666 sunos4*) 16667 case $cc_basename in 16668 CC*) 16669 # Sun C++ 4.x 16670 lt_prog_compiler_pic_CXX='-pic' 16671 lt_prog_compiler_static_CXX='-Bstatic' 16672 ;; 16673 lcc*) 16674 # Lucid 16675 lt_prog_compiler_pic_CXX='-pic' 16676 ;; 16677 *) 16678 ;; 16679 esac 16680 ;; 16681 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 16682 case $cc_basename in 16683 CC*) 16684 lt_prog_compiler_wl_CXX='-Wl,' 16685 lt_prog_compiler_pic_CXX='-KPIC' 16686 lt_prog_compiler_static_CXX='-Bstatic' 16687 ;; 16688 esac 16689 ;; 16690 tandem*) 16691 case $cc_basename in 16692 NCC*) 16693 # NonStop-UX NCC 3.20 16694 lt_prog_compiler_pic_CXX='-KPIC' 16695 ;; 16696 *) 16697 ;; 16698 esac 16699 ;; 16700 vxworks*) 16701 ;; 16702 *) 16703 lt_prog_compiler_can_build_shared_CXX=no 16704 ;; 16705 esac 16706 fi 16707 16708case $host_os in 16709 # For platforms that do not support PIC, -DPIC is meaningless: 16710 *djgpp*) 16711 lt_prog_compiler_pic_CXX= 16712 ;; 16713 *) 16714 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 16715 ;; 16716esac 16717 16718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 16719$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 16720if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 16721 $as_echo_n "(cached) " >&6 16722else 16723 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 16724fi 16725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 16726$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 16727lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 16728 16729# 16730# Check to make sure the PIC flag actually works. 16731# 16732if test -n "$lt_prog_compiler_pic_CXX"; then 16733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 16734$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 16735if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 16736 $as_echo_n "(cached) " >&6 16737else 16738 lt_cv_prog_compiler_pic_works_CXX=no 16739 ac_outfile=conftest.$ac_objext 16740 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16741 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 16742 # Insert the option either (1) after the last *FLAGS variable, or 16743 # (2) before a word containing "conftest.", or (3) at the end. 16744 # Note that $ac_compile itself does not contain backslashes and begins 16745 # with a dollar sign (not a hyphen), so the echo should work correctly. 16746 # The option is referenced via a variable to avoid confusing sed. 16747 lt_compile=`echo "$ac_compile" | $SED \ 16748 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16749 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16750 -e 's:$: $lt_compiler_flag:'` 16751 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16752 (eval "$lt_compile" 2>conftest.err) 16753 ac_status=$? 16754 cat conftest.err >&5 16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16756 if (exit $ac_status) && test -s "$ac_outfile"; then 16757 # The compiler can only warn and ignore the option if not recognized 16758 # So say no if there are warnings other than the usual output. 16759 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 16760 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16761 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 16762 lt_cv_prog_compiler_pic_works_CXX=yes 16763 fi 16764 fi 16765 $RM conftest* 16766 16767fi 16768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 16769$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 16770 16771if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 16772 case $lt_prog_compiler_pic_CXX in 16773 "" | " "*) ;; 16774 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 16775 esac 16776else 16777 lt_prog_compiler_pic_CXX= 16778 lt_prog_compiler_can_build_shared_CXX=no 16779fi 16780 16781fi 16782 16783 16784 16785 16786 16787# 16788# Check to make sure the static flag actually works. 16789# 16790wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 16791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 16792$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 16793if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 16794 $as_echo_n "(cached) " >&6 16795else 16796 lt_cv_prog_compiler_static_works_CXX=no 16797 save_LDFLAGS=$LDFLAGS 16798 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 16799 echo "$lt_simple_link_test_code" > conftest.$ac_ext 16800 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 16801 # The linker can only warn and ignore the option if not recognized 16802 # So say no if there are warnings 16803 if test -s conftest.err; then 16804 # Append any errors to the config.log. 16805 cat conftest.err 1>&5 16806 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 16807 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16808 if diff conftest.exp conftest.er2 >/dev/null; then 16809 lt_cv_prog_compiler_static_works_CXX=yes 16810 fi 16811 else 16812 lt_cv_prog_compiler_static_works_CXX=yes 16813 fi 16814 fi 16815 $RM -r conftest* 16816 LDFLAGS=$save_LDFLAGS 16817 16818fi 16819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 16820$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 16821 16822if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 16823 : 16824else 16825 lt_prog_compiler_static_CXX= 16826fi 16827 16828 16829 16830 16831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 16832$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 16833if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 16834 $as_echo_n "(cached) " >&6 16835else 16836 lt_cv_prog_compiler_c_o_CXX=no 16837 $RM -r conftest 2>/dev/null 16838 mkdir conftest 16839 cd conftest 16840 mkdir out 16841 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16842 16843 lt_compiler_flag="-o out/conftest2.$ac_objext" 16844 # Insert the option either (1) after the last *FLAGS variable, or 16845 # (2) before a word containing "conftest.", or (3) at the end. 16846 # Note that $ac_compile itself does not contain backslashes and begins 16847 # with a dollar sign (not a hyphen), so the echo should work correctly. 16848 lt_compile=`echo "$ac_compile" | $SED \ 16849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16851 -e 's:$: $lt_compiler_flag:'` 16852 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16853 (eval "$lt_compile" 2>out/conftest.err) 16854 ac_status=$? 16855 cat out/conftest.err >&5 16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16857 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16858 then 16859 # The compiler can only warn and ignore the option if not recognized 16860 # So say no if there are warnings 16861 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 16862 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 16863 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 16864 lt_cv_prog_compiler_c_o_CXX=yes 16865 fi 16866 fi 16867 chmod u+w . 2>&5 16868 $RM conftest* 16869 # SGI C++ compiler will create directory out/ii_files/ for 16870 # template instantiation 16871 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 16872 $RM out/* && rmdir out 16873 cd .. 16874 $RM -r conftest 16875 $RM conftest* 16876 16877fi 16878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 16879$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 16880 16881 16882 16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 16884$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 16885if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 16886 $as_echo_n "(cached) " >&6 16887else 16888 lt_cv_prog_compiler_c_o_CXX=no 16889 $RM -r conftest 2>/dev/null 16890 mkdir conftest 16891 cd conftest 16892 mkdir out 16893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16894 16895 lt_compiler_flag="-o out/conftest2.$ac_objext" 16896 # Insert the option either (1) after the last *FLAGS variable, or 16897 # (2) before a word containing "conftest.", or (3) at the end. 16898 # Note that $ac_compile itself does not contain backslashes and begins 16899 # with a dollar sign (not a hyphen), so the echo should work correctly. 16900 lt_compile=`echo "$ac_compile" | $SED \ 16901 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16902 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16903 -e 's:$: $lt_compiler_flag:'` 16904 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16905 (eval "$lt_compile" 2>out/conftest.err) 16906 ac_status=$? 16907 cat out/conftest.err >&5 16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16909 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16910 then 16911 # The compiler can only warn and ignore the option if not recognized 16912 # So say no if there are warnings 16913 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 16914 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 16915 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 16916 lt_cv_prog_compiler_c_o_CXX=yes 16917 fi 16918 fi 16919 chmod u+w . 2>&5 16920 $RM conftest* 16921 # SGI C++ compiler will create directory out/ii_files/ for 16922 # template instantiation 16923 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 16924 $RM out/* && rmdir out 16925 cd .. 16926 $RM -r conftest 16927 $RM conftest* 16928 16929fi 16930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 16931$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 16932 16933 16934 16935 16936hard_links=nottested 16937if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 16938 # do not overwrite the value of need_locks provided by the user 16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 16940$as_echo_n "checking if we can lock with hard links... " >&6; } 16941 hard_links=yes 16942 $RM conftest* 16943 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16944 touch conftest.a 16945 ln conftest.a conftest.b 2>&5 || hard_links=no 16946 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 16948$as_echo "$hard_links" >&6; } 16949 if test no = "$hard_links"; then 16950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 16951$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 16952 need_locks=warn 16953 fi 16954else 16955 need_locks=no 16956fi 16957 16958 16959 16960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 16961$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 16962 16963 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16964 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 16965 case $host_os in 16966 aix[4-9]*) 16967 # If we're using GNU nm, then we don't want the "-C" option. 16968 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 16969 # Without the "-l" option, or with the "-B" option, AIX nm treats 16970 # weak defined symbols like other global defined symbols, whereas 16971 # GNU nm marks them as "W". 16972 # While the 'weak' keyword is ignored in the Export File, we need 16973 # it in the Import File for the 'aix-soname' feature, so we have 16974 # to replace the "-B" option with "-P" for AIX nm. 16975 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 16976 export_symbols_cmds_CXX='$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' 16977 else 16978 export_symbols_cmds_CXX='`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' 16979 fi 16980 ;; 16981 pw32*) 16982 export_symbols_cmds_CXX=$ltdll_cmds 16983 ;; 16984 cygwin* | mingw* | cegcc*) 16985 case $cc_basename in 16986 cl*) 16987 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 16988 ;; 16989 *) 16990 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 16991 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 16992 ;; 16993 esac 16994 ;; 16995 *) 16996 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16997 ;; 16998 esac 16999 17000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 17001$as_echo "$ld_shlibs_CXX" >&6; } 17002test no = "$ld_shlibs_CXX" && can_build_shared=no 17003 17004with_gnu_ld_CXX=$with_gnu_ld 17005 17006 17007 17008 17009 17010 17011# 17012# Do we need to explicitly link libc? 17013# 17014case "x$archive_cmds_need_lc_CXX" in 17015x|xyes) 17016 # Assume -lc should be added 17017 archive_cmds_need_lc_CXX=yes 17018 17019 if test yes,yes = "$GCC,$enable_shared"; then 17020 case $archive_cmds_CXX in 17021 *'~'*) 17022 # FIXME: we may have to deal with multi-command sequences. 17023 ;; 17024 '$CC '*) 17025 # Test whether the compiler implicitly links with -lc since on some 17026 # systems, -lgcc has to come before -lc. If gcc already passes -lc 17027 # to ld, don't add -lc before -lgcc. 17028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 17029$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 17030if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 17031 $as_echo_n "(cached) " >&6 17032else 17033 $RM conftest* 17034 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17035 17036 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 17037 (eval $ac_compile) 2>&5 17038 ac_status=$? 17039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17040 test $ac_status = 0; } 2>conftest.err; then 17041 soname=conftest 17042 lib=conftest 17043 libobjs=conftest.$ac_objext 17044 deplibs= 17045 wl=$lt_prog_compiler_wl_CXX 17046 pic_flag=$lt_prog_compiler_pic_CXX 17047 compiler_flags=-v 17048 linker_flags=-v 17049 verstring= 17050 output_objdir=. 17051 libname=conftest 17052 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 17053 allow_undefined_flag_CXX= 17054 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 17055 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 17056 ac_status=$? 17057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17058 test $ac_status = 0; } 17059 then 17060 lt_cv_archive_cmds_need_lc_CXX=no 17061 else 17062 lt_cv_archive_cmds_need_lc_CXX=yes 17063 fi 17064 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 17065 else 17066 cat conftest.err 1>&5 17067 fi 17068 $RM conftest* 17069 17070fi 17071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 17072$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 17073 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 17074 ;; 17075 esac 17076 fi 17077 ;; 17078esac 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 17142$as_echo_n "checking dynamic linker characteristics... " >&6; } 17143 17144library_names_spec= 17145libname_spec='lib$name' 17146soname_spec= 17147shrext_cmds=.so 17148postinstall_cmds= 17149postuninstall_cmds= 17150finish_cmds= 17151finish_eval= 17152shlibpath_var= 17153shlibpath_overrides_runpath=unknown 17154version_type=none 17155dynamic_linker="$host_os ld.so" 17156sys_lib_dlsearch_path_spec="/lib /usr/lib" 17157need_lib_prefix=unknown 17158hardcode_into_libs=no 17159 17160# when you set need_version to no, make sure it does not cause -set_version 17161# flags to be left without arguments 17162need_version=unknown 17163 17164 17165 17166case $host_os in 17167aix3*) 17168 version_type=linux # correct to gnu/linux during the next big refactor 17169 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 17170 shlibpath_var=LIBPATH 17171 17172 # AIX 3 has no versioning support, so we append a major version to the name. 17173 soname_spec='$libname$release$shared_ext$major' 17174 ;; 17175 17176aix[4-9]*) 17177 version_type=linux # correct to gnu/linux during the next big refactor 17178 need_lib_prefix=no 17179 need_version=no 17180 hardcode_into_libs=yes 17181 if test ia64 = "$host_cpu"; then 17182 # AIX 5 supports IA64 17183 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 17184 shlibpath_var=LD_LIBRARY_PATH 17185 else 17186 # With GCC up to 2.95.x, collect2 would create an import file 17187 # for dependence libraries. The import file would start with 17188 # the line '#! .'. This would cause the generated library to 17189 # depend on '.', always an invalid library. This was fixed in 17190 # development snapshots of GCC prior to 3.0. 17191 case $host_os in 17192 aix4 | aix4.[01] | aix4.[01].*) 17193 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 17194 echo ' yes ' 17195 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 17196 : 17197 else 17198 can_build_shared=no 17199 fi 17200 ;; 17201 esac 17202 # Using Import Files as archive members, it is possible to support 17203 # filename-based versioning of shared library archives on AIX. While 17204 # this would work for both with and without runtime linking, it will 17205 # prevent static linking of such archives. So we do filename-based 17206 # shared library versioning with .so extension only, which is used 17207 # when both runtime linking and shared linking is enabled. 17208 # Unfortunately, runtime linking may impact performance, so we do 17209 # not want this to be the default eventually. Also, we use the 17210 # versioned .so libs for executables only if there is the -brtl 17211 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 17212 # To allow for filename-based versioning support, we need to create 17213 # libNAME.so.V as an archive file, containing: 17214 # *) an Import File, referring to the versioned filename of the 17215 # archive as well as the shared archive member, telling the 17216 # bitwidth (32 or 64) of that shared object, and providing the 17217 # list of exported symbols of that shared object, eventually 17218 # decorated with the 'weak' keyword 17219 # *) the shared object with the F_LOADONLY flag set, to really avoid 17220 # it being seen by the linker. 17221 # At run time we better use the real file rather than another symlink, 17222 # but for link time we create the symlink libNAME.so -> libNAME.so.V 17223 17224 case $with_aix_soname,$aix_use_runtimelinking in 17225 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 17226 # soname into executable. Probably we can add versioning support to 17227 # collect2, so additional links can be useful in future. 17228 aix,yes) # traditional libtool 17229 dynamic_linker='AIX unversionable lib.so' 17230 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 17231 # instead of lib<name>.a to let people know that these are not 17232 # typical AIX shared libraries. 17233 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17234 ;; 17235 aix,no) # traditional AIX only 17236 dynamic_linker='AIX lib.a(lib.so.V)' 17237 # We preserve .a as extension for shared libraries through AIX4.2 17238 # and later when we are not doing run time linking. 17239 library_names_spec='$libname$release.a $libname.a' 17240 soname_spec='$libname$release$shared_ext$major' 17241 ;; 17242 svr4,*) # full svr4 only 17243 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 17244 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 17245 # We do not specify a path in Import Files, so LIBPATH fires. 17246 shlibpath_overrides_runpath=yes 17247 ;; 17248 *,yes) # both, prefer svr4 17249 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 17250 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 17251 # unpreferred sharedlib libNAME.a needs extra handling 17252 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"' 17253 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"' 17254 # We do not specify a path in Import Files, so LIBPATH fires. 17255 shlibpath_overrides_runpath=yes 17256 ;; 17257 *,no) # both, prefer aix 17258 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 17259 library_names_spec='$libname$release.a $libname.a' 17260 soname_spec='$libname$release$shared_ext$major' 17261 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 17262 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)' 17263 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"' 17264 ;; 17265 esac 17266 shlibpath_var=LIBPATH 17267 fi 17268 ;; 17269 17270amigaos*) 17271 case $host_cpu in 17272 powerpc) 17273 # Since July 2007 AmigaOS4 officially supports .so libraries. 17274 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 17275 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17276 ;; 17277 m68k) 17278 library_names_spec='$libname.ixlibrary $libname.a' 17279 # Create ${libname}_ixlibrary.a entries in /sys/libs. 17280 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' 17281 ;; 17282 esac 17283 ;; 17284 17285beos*) 17286 library_names_spec='$libname$shared_ext' 17287 dynamic_linker="$host_os ld.so" 17288 shlibpath_var=LIBRARY_PATH 17289 ;; 17290 17291bsdi[45]*) 17292 version_type=linux # correct to gnu/linux during the next big refactor 17293 need_version=no 17294 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17295 soname_spec='$libname$release$shared_ext$major' 17296 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 17297 shlibpath_var=LD_LIBRARY_PATH 17298 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 17299 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 17300 # the default ld.so.conf also contains /usr/contrib/lib and 17301 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 17302 # libtool to hard-code these into programs 17303 ;; 17304 17305cygwin* | mingw* | pw32* | cegcc*) 17306 version_type=windows 17307 shrext_cmds=.dll 17308 need_version=no 17309 need_lib_prefix=no 17310 17311 case $GCC,$cc_basename in 17312 yes,*) 17313 # gcc 17314 library_names_spec='$libname.dll.a' 17315 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17316 postinstall_cmds='base_file=`basename \$file`~ 17317 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 17318 dldir=$destdir/`dirname \$dlpath`~ 17319 test -d \$dldir || mkdir -p \$dldir~ 17320 $install_prog $dir/$dlname \$dldir/$dlname~ 17321 chmod a+x \$dldir/$dlname~ 17322 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 17323 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 17324 fi' 17325 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 17326 dlpath=$dir/\$dldll~ 17327 $RM \$dlpath' 17328 shlibpath_overrides_runpath=yes 17329 17330 case $host_os in 17331 cygwin*) 17332 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 17333 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17334 17335 ;; 17336 mingw* | cegcc*) 17337 # MinGW DLLs use traditional 'lib' prefix 17338 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17339 ;; 17340 pw32*) 17341 # pw32 DLLs use 'pw' prefix rather than 'lib' 17342 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17343 ;; 17344 esac 17345 dynamic_linker='Win32 ld.exe' 17346 ;; 17347 17348 *,cl*) 17349 # Native MSVC 17350 libname_spec='$name' 17351 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17352 library_names_spec='$libname.dll.lib' 17353 17354 case $build_os in 17355 mingw*) 17356 sys_lib_search_path_spec= 17357 lt_save_ifs=$IFS 17358 IFS=';' 17359 for lt_path in $LIB 17360 do 17361 IFS=$lt_save_ifs 17362 # Let DOS variable expansion print the short 8.3 style file name. 17363 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 17364 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 17365 done 17366 IFS=$lt_save_ifs 17367 # Convert to MSYS style. 17368 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 17369 ;; 17370 cygwin*) 17371 # Convert to unix form, then to dos form, then back to unix form 17372 # but this time dos style (no spaces!) so that the unix form looks 17373 # like /cygdrive/c/PROGRA~1:/cygdr... 17374 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 17375 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 17376 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 17377 ;; 17378 *) 17379 sys_lib_search_path_spec=$LIB 17380 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 17381 # It is most probably a Windows format PATH. 17382 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 17383 else 17384 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 17385 fi 17386 # FIXME: find the short name or the path components, as spaces are 17387 # common. (e.g. "Program Files" -> "PROGRA~1") 17388 ;; 17389 esac 17390 17391 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17392 postinstall_cmds='base_file=`basename \$file`~ 17393 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 17394 dldir=$destdir/`dirname \$dlpath`~ 17395 test -d \$dldir || mkdir -p \$dldir~ 17396 $install_prog $dir/$dlname \$dldir/$dlname' 17397 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 17398 dlpath=$dir/\$dldll~ 17399 $RM \$dlpath' 17400 shlibpath_overrides_runpath=yes 17401 dynamic_linker='Win32 link.exe' 17402 ;; 17403 17404 *) 17405 # Assume MSVC wrapper 17406 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 17407 dynamic_linker='Win32 ld.exe' 17408 ;; 17409 esac 17410 # FIXME: first we should search . and the directory the executable is in 17411 shlibpath_var=PATH 17412 ;; 17413 17414darwin* | rhapsody*) 17415 dynamic_linker="$host_os dyld" 17416 version_type=darwin 17417 need_lib_prefix=no 17418 need_version=no 17419 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 17420 soname_spec='$libname$release$major$shared_ext' 17421 shlibpath_overrides_runpath=yes 17422 shlibpath_var=DYLD_LIBRARY_PATH 17423 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 17424 17425 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 17426 ;; 17427 17428dgux*) 17429 version_type=linux # correct to gnu/linux during the next big refactor 17430 need_lib_prefix=no 17431 need_version=no 17432 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17433 soname_spec='$libname$release$shared_ext$major' 17434 shlibpath_var=LD_LIBRARY_PATH 17435 ;; 17436 17437freebsd* | dragonfly*) 17438 # DragonFly does not have aout. When/if they implement a new 17439 # versioning mechanism, adjust this. 17440 if test -x /usr/bin/objformat; then 17441 objformat=`/usr/bin/objformat` 17442 else 17443 case $host_os in 17444 freebsd[23].*) objformat=aout ;; 17445 *) objformat=elf ;; 17446 esac 17447 fi 17448 version_type=freebsd-$objformat 17449 case $version_type in 17450 freebsd-elf*) 17451 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17452 soname_spec='$libname$release$shared_ext$major' 17453 need_version=no 17454 need_lib_prefix=no 17455 ;; 17456 freebsd-*) 17457 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17458 need_version=yes 17459 ;; 17460 esac 17461 shlibpath_var=LD_LIBRARY_PATH 17462 case $host_os in 17463 freebsd2.*) 17464 shlibpath_overrides_runpath=yes 17465 ;; 17466 freebsd3.[01]* | freebsdelf3.[01]*) 17467 shlibpath_overrides_runpath=yes 17468 hardcode_into_libs=yes 17469 ;; 17470 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 17471 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 17472 shlibpath_overrides_runpath=no 17473 hardcode_into_libs=yes 17474 ;; 17475 *) # from 4.6 on, and DragonFly 17476 shlibpath_overrides_runpath=yes 17477 hardcode_into_libs=yes 17478 ;; 17479 esac 17480 ;; 17481 17482haiku*) 17483 version_type=linux # correct to gnu/linux during the next big refactor 17484 need_lib_prefix=no 17485 need_version=no 17486 dynamic_linker="$host_os runtime_loader" 17487 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17488 soname_spec='$libname$release$shared_ext$major' 17489 shlibpath_var=LIBRARY_PATH 17490 shlibpath_overrides_runpath=no 17491 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 17492 hardcode_into_libs=yes 17493 ;; 17494 17495hpux9* | hpux10* | hpux11*) 17496 # Give a soname corresponding to the major version so that dld.sl refuses to 17497 # link against other versions. 17498 version_type=sunos 17499 need_lib_prefix=no 17500 need_version=no 17501 case $host_cpu in 17502 ia64*) 17503 shrext_cmds='.so' 17504 hardcode_into_libs=yes 17505 dynamic_linker="$host_os dld.so" 17506 shlibpath_var=LD_LIBRARY_PATH 17507 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 17508 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17509 soname_spec='$libname$release$shared_ext$major' 17510 if test 32 = "$HPUX_IA64_MODE"; then 17511 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 17512 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 17513 else 17514 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 17515 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 17516 fi 17517 ;; 17518 hppa*64*) 17519 shrext_cmds='.sl' 17520 hardcode_into_libs=yes 17521 dynamic_linker="$host_os dld.sl" 17522 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 17523 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 17524 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17525 soname_spec='$libname$release$shared_ext$major' 17526 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 17527 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17528 ;; 17529 *) 17530 shrext_cmds='.sl' 17531 dynamic_linker="$host_os dld.sl" 17532 shlibpath_var=SHLIB_PATH 17533 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 17534 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17535 soname_spec='$libname$release$shared_ext$major' 17536 ;; 17537 esac 17538 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 17539 postinstall_cmds='chmod 555 $lib' 17540 # or fails outright, so override atomically: 17541 install_override_mode=555 17542 ;; 17543 17544interix[3-9]*) 17545 version_type=linux # correct to gnu/linux during the next big refactor 17546 need_lib_prefix=no 17547 need_version=no 17548 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17549 soname_spec='$libname$release$shared_ext$major' 17550 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 17551 shlibpath_var=LD_LIBRARY_PATH 17552 shlibpath_overrides_runpath=no 17553 hardcode_into_libs=yes 17554 ;; 17555 17556irix5* | irix6* | nonstopux*) 17557 case $host_os in 17558 nonstopux*) version_type=nonstopux ;; 17559 *) 17560 if test yes = "$lt_cv_prog_gnu_ld"; then 17561 version_type=linux # correct to gnu/linux during the next big refactor 17562 else 17563 version_type=irix 17564 fi ;; 17565 esac 17566 need_lib_prefix=no 17567 need_version=no 17568 soname_spec='$libname$release$shared_ext$major' 17569 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 17570 case $host_os in 17571 irix5* | nonstopux*) 17572 libsuff= shlibsuff= 17573 ;; 17574 *) 17575 case $LD in # libtool.m4 will add one of these switches to LD 17576 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 17577 libsuff= shlibsuff= libmagic=32-bit;; 17578 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 17579 libsuff=32 shlibsuff=N32 libmagic=N32;; 17580 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 17581 libsuff=64 shlibsuff=64 libmagic=64-bit;; 17582 *) libsuff= shlibsuff= libmagic=never-match;; 17583 esac 17584 ;; 17585 esac 17586 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 17587 shlibpath_overrides_runpath=no 17588 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 17589 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 17590 hardcode_into_libs=yes 17591 ;; 17592 17593# No shared lib support for Linux oldld, aout, or coff. 17594linux*oldld* | linux*aout* | linux*coff*) 17595 dynamic_linker=no 17596 ;; 17597 17598linux*android*) 17599 version_type=none # Android doesn't support versioned libraries. 17600 need_lib_prefix=no 17601 need_version=no 17602 library_names_spec='$libname$release$shared_ext' 17603 soname_spec='$libname$release$shared_ext' 17604 finish_cmds= 17605 shlibpath_var=LD_LIBRARY_PATH 17606 shlibpath_overrides_runpath=yes 17607 17608 # This implies no fast_install, which is unacceptable. 17609 # Some rework will be needed to allow for fast_install 17610 # before this can be enabled. 17611 hardcode_into_libs=yes 17612 17613 dynamic_linker='Android linker' 17614 # Don't embed -rpath directories since the linker doesn't support them. 17615 hardcode_libdir_flag_spec_CXX='-L$libdir' 17616 ;; 17617 17618# This must be glibc/ELF. 17619linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 17620 version_type=linux # correct to gnu/linux during the next big refactor 17621 need_lib_prefix=no 17622 need_version=no 17623 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17624 soname_spec='$libname$release$shared_ext$major' 17625 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 17626 shlibpath_var=LD_LIBRARY_PATH 17627 shlibpath_overrides_runpath=no 17628 17629 # Some binutils ld are patched to set DT_RUNPATH 17630 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 17631 $as_echo_n "(cached) " >&6 17632else 17633 lt_cv_shlibpath_overrides_runpath=no 17634 save_LDFLAGS=$LDFLAGS 17635 save_libdir=$libdir 17636 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 17637 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17639/* end confdefs.h. */ 17640 17641int 17642main () 17643{ 17644 17645 ; 17646 return 0; 17647} 17648_ACEOF 17649if ac_fn_cxx_try_link "$LINENO"; then : 17650 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 17651 lt_cv_shlibpath_overrides_runpath=yes 17652fi 17653fi 17654rm -f core conftest.err conftest.$ac_objext \ 17655 conftest$ac_exeext conftest.$ac_ext 17656 LDFLAGS=$save_LDFLAGS 17657 libdir=$save_libdir 17658 17659fi 17660 17661 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 17662 17663 # This implies no fast_install, which is unacceptable. 17664 # Some rework will be needed to allow for fast_install 17665 # before this can be enabled. 17666 hardcode_into_libs=yes 17667 17668 # Ideally, we could use ldconfig to report *all* directores which are 17669 # searched for libraries, however this is still not possible. Aside from not 17670 # being certain /sbin/ldconfig is available, command 17671 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 17672 # even though it is searched at run-time. Try to do the best guess by 17673 # appending ld.so.conf contents (and includes) to the search path. 17674 if test -f /etc/ld.so.conf; then 17675 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' ' '` 17676 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 17677 fi 17678 17679 # We used to test for /lib/ld.so.1 and disable shared libraries on 17680 # powerpc, because MkLinux only supported shared libraries with the 17681 # GNU dynamic linker. Since this was broken with cross compilers, 17682 # most powerpc-linux boxes support dynamic linking these days and 17683 # people can always --disable-shared, the test was removed, and we 17684 # assume the GNU/Linux dynamic linker is in use. 17685 dynamic_linker='GNU/Linux ld.so' 17686 ;; 17687 17688netbsd*) 17689 version_type=sunos 17690 need_lib_prefix=no 17691 need_version=no 17692 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 17693 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17694 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 17695 dynamic_linker='NetBSD (a.out) ld.so' 17696 else 17697 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17698 soname_spec='$libname$release$shared_ext$major' 17699 dynamic_linker='NetBSD ld.elf_so' 17700 fi 17701 shlibpath_var=LD_LIBRARY_PATH 17702 shlibpath_overrides_runpath=yes 17703 hardcode_into_libs=yes 17704 ;; 17705 17706newsos6) 17707 version_type=linux # correct to gnu/linux during the next big refactor 17708 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17709 shlibpath_var=LD_LIBRARY_PATH 17710 shlibpath_overrides_runpath=yes 17711 ;; 17712 17713*nto* | *qnx*) 17714 version_type=qnx 17715 need_lib_prefix=no 17716 need_version=no 17717 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17718 soname_spec='$libname$release$shared_ext$major' 17719 shlibpath_var=LD_LIBRARY_PATH 17720 shlibpath_overrides_runpath=no 17721 hardcode_into_libs=yes 17722 dynamic_linker='ldqnx.so' 17723 ;; 17724 17725openbsd* | bitrig*) 17726 version_type=sunos 17727 sys_lib_dlsearch_path_spec=/usr/lib 17728 need_lib_prefix=no 17729 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 17730 need_version=no 17731 else 17732 need_version=yes 17733 fi 17734 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17735 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 17736 shlibpath_var=LD_LIBRARY_PATH 17737 shlibpath_overrides_runpath=yes 17738 ;; 17739 17740os2*) 17741 libname_spec='$name' 17742 version_type=windows 17743 shrext_cmds=.dll 17744 need_version=no 17745 need_lib_prefix=no 17746 # OS/2 can only load a DLL with a base name of 8 characters or less. 17747 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 17748 v=$($ECHO $release$versuffix | tr -d .-); 17749 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 17750 $ECHO $n$v`$shared_ext' 17751 library_names_spec='${libname}_dll.$libext' 17752 dynamic_linker='OS/2 ld.exe' 17753 shlibpath_var=BEGINLIBPATH 17754 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 17755 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17756 postinstall_cmds='base_file=`basename \$file`~ 17757 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 17758 dldir=$destdir/`dirname \$dlpath`~ 17759 test -d \$dldir || mkdir -p \$dldir~ 17760 $install_prog $dir/$dlname \$dldir/$dlname~ 17761 chmod a+x \$dldir/$dlname~ 17762 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 17763 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 17764 fi' 17765 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 17766 dlpath=$dir/\$dldll~ 17767 $RM \$dlpath' 17768 ;; 17769 17770osf3* | osf4* | osf5*) 17771 version_type=osf 17772 need_lib_prefix=no 17773 need_version=no 17774 soname_spec='$libname$release$shared_ext$major' 17775 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17776 shlibpath_var=LD_LIBRARY_PATH 17777 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 17778 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17779 ;; 17780 17781rdos*) 17782 dynamic_linker=no 17783 ;; 17784 17785solaris*) 17786 version_type=linux # correct to gnu/linux during the next big refactor 17787 need_lib_prefix=no 17788 need_version=no 17789 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17790 soname_spec='$libname$release$shared_ext$major' 17791 shlibpath_var=LD_LIBRARY_PATH 17792 shlibpath_overrides_runpath=yes 17793 hardcode_into_libs=yes 17794 # ldd complains unless libraries are executable 17795 postinstall_cmds='chmod +x $lib' 17796 ;; 17797 17798sunos4*) 17799 version_type=sunos 17800 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17801 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 17802 shlibpath_var=LD_LIBRARY_PATH 17803 shlibpath_overrides_runpath=yes 17804 if test yes = "$with_gnu_ld"; then 17805 need_lib_prefix=no 17806 fi 17807 need_version=yes 17808 ;; 17809 17810sysv4 | sysv4.3*) 17811 version_type=linux # correct to gnu/linux during the next big refactor 17812 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17813 soname_spec='$libname$release$shared_ext$major' 17814 shlibpath_var=LD_LIBRARY_PATH 17815 case $host_vendor in 17816 sni) 17817 shlibpath_overrides_runpath=no 17818 need_lib_prefix=no 17819 runpath_var=LD_RUN_PATH 17820 ;; 17821 siemens) 17822 need_lib_prefix=no 17823 ;; 17824 motorola) 17825 need_lib_prefix=no 17826 need_version=no 17827 shlibpath_overrides_runpath=no 17828 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 17829 ;; 17830 esac 17831 ;; 17832 17833sysv4*MP*) 17834 if test -d /usr/nec; then 17835 version_type=linux # correct to gnu/linux during the next big refactor 17836 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 17837 soname_spec='$libname$shared_ext.$major' 17838 shlibpath_var=LD_LIBRARY_PATH 17839 fi 17840 ;; 17841 17842sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 17843 version_type=sco 17844 need_lib_prefix=no 17845 need_version=no 17846 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 17847 soname_spec='$libname$release$shared_ext$major' 17848 shlibpath_var=LD_LIBRARY_PATH 17849 shlibpath_overrides_runpath=yes 17850 hardcode_into_libs=yes 17851 if test yes = "$with_gnu_ld"; then 17852 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 17853 else 17854 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 17855 case $host_os in 17856 sco3.2v5*) 17857 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 17858 ;; 17859 esac 17860 fi 17861 sys_lib_dlsearch_path_spec='/usr/lib' 17862 ;; 17863 17864tpf*) 17865 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 17866 version_type=linux # correct to gnu/linux during the next big refactor 17867 need_lib_prefix=no 17868 need_version=no 17869 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17870 shlibpath_var=LD_LIBRARY_PATH 17871 shlibpath_overrides_runpath=no 17872 hardcode_into_libs=yes 17873 ;; 17874 17875uts4*) 17876 version_type=linux # correct to gnu/linux during the next big refactor 17877 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17878 soname_spec='$libname$release$shared_ext$major' 17879 shlibpath_var=LD_LIBRARY_PATH 17880 ;; 17881 17882*) 17883 dynamic_linker=no 17884 ;; 17885esac 17886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 17887$as_echo "$dynamic_linker" >&6; } 17888test no = "$dynamic_linker" && can_build_shared=no 17889 17890variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 17891if test yes = "$GCC"; then 17892 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 17893fi 17894 17895if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 17896 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 17897fi 17898 17899if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 17900 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 17901fi 17902 17903# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 17904configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 17905 17906# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 17907func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 17908 17909# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 17910configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 17952$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 17953hardcode_action_CXX= 17954if test -n "$hardcode_libdir_flag_spec_CXX" || 17955 test -n "$runpath_var_CXX" || 17956 test yes = "$hardcode_automatic_CXX"; then 17957 17958 # We can hardcode non-existent directories. 17959 if test no != "$hardcode_direct_CXX" && 17960 # If the only mechanism to avoid hardcoding is shlibpath_var, we 17961 # have to relink, otherwise we might link with an installed library 17962 # when we should be linking with a yet-to-be-installed one 17963 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 17964 test no != "$hardcode_minus_L_CXX"; then 17965 # Linking always hardcodes the temporary library directory. 17966 hardcode_action_CXX=relink 17967 else 17968 # We can link without hardcoding, and we can hardcode nonexisting dirs. 17969 hardcode_action_CXX=immediate 17970 fi 17971else 17972 # We cannot hardcode anything, or else we can only hardcode existing 17973 # directories. 17974 hardcode_action_CXX=unsupported 17975fi 17976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 17977$as_echo "$hardcode_action_CXX" >&6; } 17978 17979if test relink = "$hardcode_action_CXX" || 17980 test yes = "$inherit_rpath_CXX"; then 17981 # Fast installation is not supported 17982 enable_fast_install=no 17983elif test yes = "$shlibpath_overrides_runpath" || 17984 test no = "$enable_shared"; then 17985 # Fast installation is not necessary 17986 enable_fast_install=needless 17987fi 17988 17989 17990 17991 17992 17993 17994 17995 fi # test -n "$compiler" 17996 17997 CC=$lt_save_CC 17998 CFLAGS=$lt_save_CFLAGS 17999 LDCXX=$LD 18000 LD=$lt_save_LD 18001 GCC=$lt_save_GCC 18002 with_gnu_ld=$lt_save_with_gnu_ld 18003 lt_cv_path_LDCXX=$lt_cv_path_LD 18004 lt_cv_path_LD=$lt_save_path_LD 18005 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 18006 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 18007fi # test yes != "$_lt_caught_CXX_error" 18008 18009ac_ext=c 18010ac_cpp='$CPP $CPPFLAGS' 18011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18013ac_compiler_gnu=$ac_cv_c_compiler_gnu 18014 18015 18016ac_ext=mm 18017ac_cpp='$OBJCXXCPP $CPPFLAGS' 18018ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18019ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18020ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu 18021if test -n "$ac_tool_prefix"; then 18022 for ac_prog in g++ objc++ objcxx c++ CXX 18023 do 18024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 18025set dummy $ac_tool_prefix$ac_prog; ac_word=$2 18026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18027$as_echo_n "checking for $ac_word... " >&6; } 18028if ${ac_cv_prog_OBJCXX+:} false; then : 18029 $as_echo_n "(cached) " >&6 18030else 18031 if test -n "$OBJCXX"; then 18032 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test. 18033else 18034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18035for as_dir in $PATH 18036do 18037 IFS=$as_save_IFS 18038 test -z "$as_dir" && as_dir=. 18039 for ac_exec_ext in '' $ac_executable_extensions; do 18040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18041 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog" 18042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18043 break 2 18044 fi 18045done 18046 done 18047IFS=$as_save_IFS 18048 18049fi 18050fi 18051OBJCXX=$ac_cv_prog_OBJCXX 18052if test -n "$OBJCXX"; then 18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5 18054$as_echo "$OBJCXX" >&6; } 18055else 18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18057$as_echo "no" >&6; } 18058fi 18059 18060 18061 test -n "$OBJCXX" && break 18062 done 18063fi 18064if test -z "$OBJCXX"; then 18065 ac_ct_OBJCXX=$OBJCXX 18066 for ac_prog in g++ objc++ objcxx c++ CXX 18067do 18068 # Extract the first word of "$ac_prog", so it can be a program name with args. 18069set dummy $ac_prog; ac_word=$2 18070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18071$as_echo_n "checking for $ac_word... " >&6; } 18072if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then : 18073 $as_echo_n "(cached) " >&6 18074else 18075 if test -n "$ac_ct_OBJCXX"; then 18076 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test. 18077else 18078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18079for as_dir in $PATH 18080do 18081 IFS=$as_save_IFS 18082 test -z "$as_dir" && as_dir=. 18083 for ac_exec_ext in '' $ac_executable_extensions; do 18084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18085 ac_cv_prog_ac_ct_OBJCXX="$ac_prog" 18086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18087 break 2 18088 fi 18089done 18090 done 18091IFS=$as_save_IFS 18092 18093fi 18094fi 18095ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX 18096if test -n "$ac_ct_OBJCXX"; then 18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5 18098$as_echo "$ac_ct_OBJCXX" >&6; } 18099else 18100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18101$as_echo "no" >&6; } 18102fi 18103 18104 18105 test -n "$ac_ct_OBJCXX" && break 18106done 18107 18108 if test "x$ac_ct_OBJCXX" = x; then 18109 OBJCXX="g++" 18110 else 18111 case $cross_compiling:$ac_tool_warned in 18112yes:) 18113{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 18114$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 18115ac_tool_warned=yes ;; 18116esac 18117 OBJCXX=$ac_ct_OBJCXX 18118 fi 18119fi 18120 18121# Provide some information about the compiler. 18122$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5 18123set X $ac_compile 18124ac_compiler=$2 18125for ac_option in --version -v -V -qversion; do 18126 { { ac_try="$ac_compiler $ac_option >&5" 18127case "(($ac_try" in 18128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18129 *) ac_try_echo=$ac_try;; 18130esac 18131eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 18132$as_echo "$ac_try_echo"; } >&5 18133 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 18134 ac_status=$? 18135 if test -s conftest.err; then 18136 sed '10a\ 18137... rest of stderr output deleted ... 18138 10q' conftest.err >conftest.er1 18139 cat conftest.er1 >&5 18140 fi 18141 rm -f conftest.er1 conftest.err 18142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18143 test $ac_status = 0; } 18144done 18145 18146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5 18147$as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; } 18148if ${ac_cv_objcxx_compiler_gnu+:} false; then : 18149 $as_echo_n "(cached) " >&6 18150else 18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18152/* end confdefs.h. */ 18153 18154int 18155main () 18156{ 18157#ifndef __GNUC__ 18158 choke me 18159#endif 18160 18161 ; 18162 return 0; 18163} 18164_ACEOF 18165if ac_fn_objcxx_try_compile "$LINENO"; then : 18166 ac_compiler_gnu=yes 18167else 18168 ac_compiler_gnu=no 18169fi 18170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18171ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu 18172 18173fi 18174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5 18175$as_echo "$ac_cv_objcxx_compiler_gnu" >&6; } 18176if test $ac_compiler_gnu = yes; then 18177 GOBJCXX=yes 18178else 18179 GOBJCXX= 18180fi 18181ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set} 18182ac_save_OBJCXXFLAGS=$OBJCXXFLAGS 18183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5 18184$as_echo_n "checking whether $OBJCXX accepts -g... " >&6; } 18185if ${ac_cv_prog_objcxx_g+:} false; then : 18186 $as_echo_n "(cached) " >&6 18187else 18188 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag 18189 ac_objcxx_werror_flag=yes 18190 ac_cv_prog_objcxx_g=no 18191 OBJCXXFLAGS="-g" 18192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18193/* end confdefs.h. */ 18194 18195int 18196main () 18197{ 18198 18199 ; 18200 return 0; 18201} 18202_ACEOF 18203if ac_fn_objcxx_try_compile "$LINENO"; then : 18204 ac_cv_prog_objcxx_g=yes 18205else 18206 OBJCXXFLAGS="" 18207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18208/* end confdefs.h. */ 18209 18210int 18211main () 18212{ 18213 18214 ; 18215 return 0; 18216} 18217_ACEOF 18218if ac_fn_objcxx_try_compile "$LINENO"; then : 18219 18220else 18221 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag 18222 OBJCXXFLAGS="-g" 18223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18224/* end confdefs.h. */ 18225 18226int 18227main () 18228{ 18229 18230 ; 18231 return 0; 18232} 18233_ACEOF 18234if ac_fn_objcxx_try_compile "$LINENO"; then : 18235 ac_cv_prog_objcxx_g=yes 18236fi 18237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18238fi 18239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18240fi 18241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18242 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag 18243fi 18244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5 18245$as_echo "$ac_cv_prog_objcxx_g" >&6; } 18246if test "$ac_test_OBJCXXFLAGS" = set; then 18247 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS 18248elif test $ac_cv_prog_objcxx_g = yes; then 18249 if test "$GOBJCXX" = yes; then 18250 OBJCXXFLAGS="-g -O2" 18251 else 18252 OBJCXXFLAGS="-g" 18253 fi 18254else 18255 if test "$GOBJCXX" = yes; then 18256 OBJCXXFLAGS="-O2" 18257 else 18258 OBJCXXFLAGS= 18259 fi 18260fi 18261ac_ext=c 18262ac_cpp='$CPP $CPPFLAGS' 18263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18265ac_compiler_gnu=$ac_cv_c_compiler_gnu 18266 18267depcc="$OBJCXX" am_compiler_list='gcc3 gcc' 18268 18269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 18270$as_echo_n "checking dependency style of $depcc... " >&6; } 18271if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then : 18272 $as_echo_n "(cached) " >&6 18273else 18274 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 18275 # We make a subdir and do the tests there. Otherwise we can end up 18276 # making bogus files that we don't know about and never remove. For 18277 # instance it was reported that on HP-UX the gcc test will end up 18278 # making a dummy file named 'D' -- because '-MD' means "put the output 18279 # in D". 18280 rm -rf conftest.dir 18281 mkdir conftest.dir 18282 # Copy depcomp to subdir because otherwise we won't find it if we're 18283 # using a relative directory. 18284 cp "$am_depcomp" conftest.dir 18285 cd conftest.dir 18286 # We will build objects and dependencies in a subdirectory because 18287 # it helps to detect inapplicable dependency modes. For instance 18288 # both Tru64's cc and ICC support -MD to output dependencies as a 18289 # side effect of compilation, but ICC will put the dependencies in 18290 # the current directory while Tru64 will put them in the object 18291 # directory. 18292 mkdir sub 18293 18294 am_cv_OBJCXX_dependencies_compiler_type=none 18295 if test "$am_compiler_list" = ""; then 18296 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 18297 fi 18298 am__universal=false 18299 18300 18301 for depmode in $am_compiler_list; do 18302 # Setup a source with many dependencies, because some compilers 18303 # like to wrap large dependency lists on column 80 (with \), and 18304 # we should not choose a depcomp mode which is confused by this. 18305 # 18306 # We need to recreate these files for each test, as the compiler may 18307 # overwrite some of them when testing with obscure command lines. 18308 # This happens at least with the AIX C compiler. 18309 : > sub/conftest.c 18310 for i in 1 2 3 4 5 6; do 18311 echo '#include "conftst'$i'.h"' >> sub/conftest.c 18312 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 18313 # Solaris 10 /bin/sh. 18314 echo '/* dummy */' > sub/conftst$i.h 18315 done 18316 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 18317 18318 # We check with '-c' and '-o' for the sake of the "dashmstdout" 18319 # mode. It turns out that the SunPro C++ compiler does not properly 18320 # handle '-M -o', and we need to detect this. Also, some Intel 18321 # versions had trouble with output in subdirs. 18322 am__obj=sub/conftest.${OBJEXT-o} 18323 am__minus_obj="-o $am__obj" 18324 case $depmode in 18325 gcc) 18326 # This depmode causes a compiler race in universal mode. 18327 test "$am__universal" = false || continue 18328 ;; 18329 nosideeffect) 18330 # After this tag, mechanisms are not by side-effect, so they'll 18331 # only be used when explicitly requested. 18332 if test "x$enable_dependency_tracking" = xyes; then 18333 continue 18334 else 18335 break 18336 fi 18337 ;; 18338 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 18339 # This compiler won't grok '-c -o', but also, the minuso test has 18340 # not run yet. These depmodes are late enough in the game, and 18341 # so weak that their functioning should not be impacted. 18342 am__obj=conftest.${OBJEXT-o} 18343 am__minus_obj= 18344 ;; 18345 none) break ;; 18346 esac 18347 if depmode=$depmode \ 18348 source=sub/conftest.c object=$am__obj \ 18349 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 18350 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 18351 >/dev/null 2>conftest.err && 18352 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 18353 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 18354 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 18355 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 18356 # icc doesn't choke on unknown options, it will just issue warnings 18357 # or remarks (even with -Werror). So we grep stderr for any message 18358 # that says an option was ignored or not supported. 18359 # When given -MP, icc 7.0 and 7.1 complain thusly: 18360 # icc: Command line warning: ignoring option '-M'; no argument required 18361 # The diagnosis changed in icc 8.0: 18362 # icc: Command line remark: option '-MP' not supported 18363 if (grep 'ignoring option' conftest.err || 18364 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 18365 am_cv_OBJCXX_dependencies_compiler_type=$depmode 18366 break 18367 fi 18368 fi 18369 done 18370 18371 cd .. 18372 rm -rf conftest.dir 18373else 18374 am_cv_OBJCXX_dependencies_compiler_type=none 18375fi 18376 18377fi 18378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5 18379$as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; } 18380OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type 18381 18382 if 18383 test "x$enable_dependency_tracking" != xno \ 18384 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then 18385 am__fastdepOBJCXX_TRUE= 18386 am__fastdepOBJCXX_FALSE='#' 18387else 18388 am__fastdepOBJCXX_TRUE='#' 18389 am__fastdepOBJCXX_FALSE= 18390fi 18391 18392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the Objective C++ compiler" >&5 18393$as_echo_n "checking what warning flags to pass to the Objective C++ compiler... " >&6; } 18394if ${kpse_cv_warning_objcxxflags+:} false; then : 18395 $as_echo_n "(cached) " >&6 18396else 18397 if test "x$GOBJCXX" = xyes; then 18398 kpse_cv_warning_objcxxflags= 18399kpse_warn_strings="-Wno-write-strings" 18400if test "x$enable_compiler_warnings" != xno; then 18401 kpse_cv_warning_objcxxflags="-Wreturn-type" 18402 case `$OBJCXX -dumpversion` in #( 18403 3.* | 4.[012345].*) : 18404 kpse_cv_warning_objcxxflags="-Wimplicit $kpse_cv_warning_objcxxflags" ;; #( 18405 *) : 18406 ;; 18407esac 18408 case `$OBJCXX -dumpversion` in #( 18409 3.[234].* | 4.*) : 18410 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wno-unknown-pragmas" ;; #( 18411 *) : 18412 ;; 18413esac 18414 if test "x$enable_compiler_warnings" != xmin; then 18415 kpse_cv_warning_objcxxflags="-Wall -Wunused $kpse_cv_warning_objcxxflags" 18416 if test "x$enable_compiler_warnings" != xyes; then 18417 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" 18418 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wcast-qual -Wcast-align" 18419 kpse_warn_strings="-Wwrite-strings" 18420 if test "x$enable_compiler_warnings" != xmax; then 18421 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wshadow" 18422 fi 18423 fi 18424 fi 18425fi 18426kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags $kpse_warn_strings" 18427elif test "x$enable_compiler_warnings" = xno; then 18428 kpse_cv_warning_objcxxflags= 18429else 18430 kpse_cv_warning_objcxxflags= # FIXME: warning flags for non-GNU Objective C++ compilers 18431fi 18432fi 18433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_objcxxflags" >&5 18434$as_echo "$kpse_cv_warning_objcxxflags" >&6; } 18435WARNING_OBJCXXFLAGS=$kpse_cv_warning_objcxxflags 18436 18437 18438 18439# Check whether --enable-cxx-runtime-hack was given. 18440if test "${enable_cxx_runtime_hack+set}" = set; then : 18441 enableval=$enable_cxx_runtime_hack; 18442fi 18443 18444 18445if test "x$GXX:$enable_cxx_runtime_hack" = xyes:yes; then 18446 18447ac_ext=cpp 18448ac_cpp='$CXXCPP $CPPFLAGS' 18449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 18452 18453for ac_header in iostream 18454do : 18455 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 18456if test "x$ac_cv_header_iostream" = xyes; then : 18457 cat >>confdefs.h <<_ACEOF 18458#define HAVE_IOSTREAM 1 18459_ACEOF 18460 18461fi 18462 18463done 18464 18465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for statically linking C++ runtime library" >&5 18466$as_echo_n "checking for statically linking C++ runtime library... " >&6; } 18467if ${kpse_cv_cxx_hack+:} false; then : 18468 $as_echo_n "(cached) " >&6 18469else 18470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18471/* end confdefs.h. */ 18472#ifdef HAVE_IOSTREAM 18473#include <iostream> 18474using namespace std; 18475#else 18476#include <iostream.h> 18477#endif 18478int 18479main () 18480{ 18481cout <<"worksok\n"; 18482 ; 18483 return 0; 18484} 18485_ACEOF 18486 case $host in #( 18487 *cygwin*) : 18488 flags_try0='-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic' ;; #( 18489 *) : 18490 flags_try0='-nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm' 18491 flags_try1='-lgcc_eh -lgcc -lc -lgcc_eh -lgcc' 18492 flags_try2='-lgcc -lc -lgcc' ;; 18493esac 18494 kpse_save_LIBS=$LIBS 18495 cpp_link_hack=false 18496 for flags in "$flags_try1" "$flags_try2"; do 18497 LIBS="$kpse_save_LIBS $flags_try0 $flags" 18498 if ac_fn_cxx_try_link "$LINENO"; then : 18499 if test "x$cross_compiling" = xyes; then : 18500 cpp_link_hack=true; break 18501else 18502 case `(./conftest$ac_exeext; exit) 2>/dev/null` in #( 18503 worksok) : 18504 cpp_link_hack=true; break ;; #( 18505 *) : 18506 ;; 18507esac 18508fi 18509fi 18510rm -f core conftest.err conftest.$ac_objext \ 18511 conftest$ac_exeext 18512 done 18513 LIBS=$kpse_save_LIBS 18514 if $cpp_link_hack; then 18515 kpse_cv_cxx_hack=ok 18516 kpse_cv_cxx_flags="$flags_try0 $flags" 18517 else 18518 kpse_cv_cxx_hack="not supported" 18519 fi 18520fi 18521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_cxx_hack" >&5 18522$as_echo "$kpse_cv_cxx_hack" >&6; } 18523if test "x$kpse_cv_cxx_hack" = xok; then 18524 { $as_echo "$as_me:${as_lineno-$LINENO}: using $kpse_cv_cxx_flags" >&5 18525$as_echo "$as_me: using $kpse_cv_cxx_flags" >&6;} 18526fi 18527ac_ext=c 18528ac_cpp='$CPP $CPPFLAGS' 18529ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18530ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18531ac_compiler_gnu=$ac_cv_c_compiler_gnu 18532 18533 18534fi 18535if test "x$kpse_cv_cxx_hack" = xok; then 18536 CXXLD='$(top_builddir)/CXXLD.sh' 18537 cxxld_sh="#! ${CONFIG_SHELL-/bin/sh} 18538# CXXLD.sh. Generated by configure. 18539set -- $CXX \"\$@\" $kpse_cv_cxx_flags 18540echo \"\$0:\" \"\$@\" 18541exec \"\$@\"" 18542 ac_config_commands="$ac_config_commands CXXLD.sh" 18543 18544else 18545 CXXLD='$(CXX)' 18546fi 18547 18548 18549# Check whether --enable-libtool-hack was given. 18550if test "${enable_libtool_hack+set}" = set; then : 18551 enableval=$enable_libtool_hack; 18552fi 18553 18554 18555 18556 18557 18558 18559 18560## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ 18561## configure options for TeX and MF 18562 18563# Check whether --with-banner-add was given. 18564if test "${with_banner_add+set}" = set; then : 18565 withval=$with_banner_add; 18566fi 18567 18568# Check whether --with-editor was given. 18569if test "${with_editor+set}" = set; then : 18570 withval=$with_editor; 18571fi 18572# Check whether --enable-auto-core was given. 18573if test "${enable_auto_core+set}" = set; then : 18574 enableval=$enable_auto_core; 18575fi 18576# Check whether --enable-dump-share was given. 18577if test "${enable_dump_share+set}" = set; then : 18578 enableval=$enable_dump_share; 18579fi 18580## configure options for TeX 18581# Check whether --enable-ipc was given. 18582if test "${enable_ipc+set}" = set; then : 18583 enableval=$enable_ipc; 18584fi 18585# Check whether --enable-tex was given. 18586if test "${enable_tex+set}" = set; then : 18587 enableval=$enable_tex; 18588fi 18589case $enable_tex in #( 18590 yes | no) : 18591 ;; #( 18592 *) : 18593 enable_tex=yes ;; 18594esac 18595 18596# Check whether --enable-tex-synctex was given. 18597if test "${enable_tex_synctex+set}" = set; then : 18598 enableval=$enable_tex_synctex; 18599fi 18600# Check whether --enable-etex was given. 18601if test "${enable_etex+set}" = set; then : 18602 enableval=$enable_etex; 18603fi 18604case $enable_etex in #( 18605 yes | no) : 18606 ;; #( 18607 *) : 18608 enable_etex=no ;; 18609esac 18610 18611# Check whether --enable-etex-synctex was given. 18612if test "${enable_etex_synctex+set}" = set; then : 18613 enableval=$enable_etex_synctex; 18614fi 18615# Check whether --enable-ptex was given. 18616if test "${enable_ptex+set}" = set; then : 18617 enableval=$enable_ptex; 18618fi 18619case $enable_ptex in #( 18620 yes | no) : 18621 ;; #( 18622 *) : 18623 enable_ptex=yes ;; 18624esac 18625 18626# Check whether --enable-ptex-synctex was given. 18627if test "${enable_ptex_synctex+set}" = set; then : 18628 enableval=$enable_ptex_synctex; 18629fi 18630 18631test "x$enable_web2c:$enable_ptex" = xyes:yes && { 18632 need_ptexenc=yes 18633} 18634# Check whether --enable-eptex was given. 18635if test "${enable_eptex+set}" = set; then : 18636 enableval=$enable_eptex; 18637fi 18638case $enable_eptex in #( 18639 yes | no) : 18640 ;; #( 18641 *) : 18642 enable_eptex=yes ;; 18643esac 18644 18645# Check whether --enable-eptex-synctex was given. 18646if test "${enable_eptex_synctex+set}" = set; then : 18647 enableval=$enable_eptex_synctex; 18648fi 18649 18650test "x$enable_web2c:$enable_eptex" = xyes:yes && { 18651 need_ptexenc=yes 18652} 18653# Check whether --enable-uptex was given. 18654if test "${enable_uptex+set}" = set; then : 18655 enableval=$enable_uptex; 18656fi 18657case $enable_uptex in #( 18658 yes | no) : 18659 ;; #( 18660 *) : 18661 enable_uptex=yes ;; 18662esac 18663 18664# Check whether --enable-uptex-synctex was given. 18665if test "${enable_uptex_synctex+set}" = set; then : 18666 enableval=$enable_uptex_synctex; 18667fi 18668 18669test "x$enable_web2c:$enable_uptex" = xyes:yes && { 18670 need_ptexenc=yes 18671} 18672# Check whether --enable-euptex was given. 18673if test "${enable_euptex+set}" = set; then : 18674 enableval=$enable_euptex; 18675fi 18676case $enable_euptex in #( 18677 yes | no) : 18678 ;; #( 18679 *) : 18680 enable_euptex=yes ;; 18681esac 18682 18683# Check whether --enable-euptex-synctex was given. 18684if test "${enable_euptex_synctex+set}" = set; then : 18685 enableval=$enable_euptex_synctex; 18686fi 18687 18688test "x$enable_web2c:$enable_euptex" = xyes:yes && { 18689 need_ptexenc=yes 18690} 18691# Check whether --enable-aleph was given. 18692if test "${enable_aleph+set}" = set; then : 18693 enableval=$enable_aleph; 18694fi 18695case $enable_aleph in #( 18696 yes | no) : 18697 ;; #( 18698 *) : 18699 enable_aleph=yes ;; 18700esac 18701# Check whether --enable-pdftex was given. 18702if test "${enable_pdftex+set}" = set; then : 18703 enableval=$enable_pdftex; 18704fi 18705case $enable_pdftex in #( 18706 yes | no) : 18707 ;; #( 18708 *) : 18709 enable_pdftex=yes ;; 18710esac 18711 18712# Check whether --enable-pdftex-synctex was given. 18713if test "${enable_pdftex_synctex+set}" = set; then : 18714 enableval=$enable_pdftex_synctex; 18715fi 18716 18717test "x$enable_web2c:$enable_pdftex" = xyes:yes && { 18718 need_xpdf=yes 18719 need_libpng=yes 18720} 18721# Check whether --enable-luatex was given. 18722if test "${enable_luatex+set}" = set; then : 18723 enableval=$enable_luatex; 18724fi 18725case $enable_luatex in #( 18726 yes | no) : 18727 ;; #( 18728 *) : 18729 enable_luatex=yes ;; 18730esac 18731 18732test "x$enable_web2c:$enable_luatex" = xyes:yes && { 18733 need_poppler=yes 18734 need_mpfr=yes 18735 need_cairo=yes 18736 need_libpng=yes 18737 need_zziplib=yes 18738 need_lua52=yes 18739} 18740# Check whether --enable-luajittex was given. 18741if test "${enable_luajittex+set}" = set; then : 18742 enableval=$enable_luajittex; 18743fi 18744case $enable_luajittex in #( 18745 yes | no) : 18746 ;; #( 18747 *) : 18748 enable_luajittex=yes ;; 18749esac 18750 18751test "x$enable_web2c:$enable_luajittex" = xyes:yes && { 18752 need_poppler=yes 18753 need_mpfr=yes 18754 need_cairo=yes 18755 need_libpng=yes 18756 need_zziplib=yes 18757 need_luajit=yes 18758} 18759# Check whether --enable-mp was given. 18760if test "${enable_mp+set}" = set; then : 18761 enableval=$enable_mp; 18762fi 18763case $enable_mp in #( 18764 yes | no) : 18765 ;; #( 18766 *) : 18767 enable_mp=yes ;; 18768esac 18769 18770test "x$enable_web2c:$enable_mp" = xyes:yes && { 18771 need_mpfr=yes 18772 need_cairo=yes 18773 need_libpng=yes 18774} 18775# Check whether --enable-pmp was given. 18776if test "${enable_pmp+set}" = set; then : 18777 enableval=$enable_pmp; 18778fi 18779case $enable_pmp in #( 18780 yes | no) : 18781 ;; #( 18782 *) : 18783 enable_pmp=yes ;; 18784esac 18785 18786test "x$enable_web2c:$enable_pmp" = xyes:yes && { 18787 need_mpfr=yes 18788 need_cairo=yes 18789 need_libpng=yes 18790 need_ptexenc=yes 18791} 18792# Check whether --enable-upmp was given. 18793if test "${enable_upmp+set}" = set; then : 18794 enableval=$enable_upmp; 18795fi 18796case $enable_upmp in #( 18797 yes | no) : 18798 ;; #( 18799 *) : 18800 enable_upmp=yes ;; 18801esac 18802 18803test "x$enable_web2c:$enable_upmp" = xyes:yes && { 18804 need_mpfr=yes 18805 need_cairo=yes 18806 need_libpng=yes 18807 need_ptexenc=yes 18808} 18809# Check whether --enable-xetex was given. 18810if test "${enable_xetex+set}" = set; then : 18811 enableval=$enable_xetex; 18812fi 18813case $enable_xetex in #( 18814 yes | no) : 18815 ;; #( 18816 *) : 18817 enable_xetex=yes ;; 18818esac 18819 18820# Check whether --enable-xetex-synctex was given. 18821if test "${enable_xetex_synctex+set}" = set; then : 18822 enableval=$enable_xetex_synctex; 18823fi 18824 18825test "x$enable_web2c:$enable_xetex" = xyes:yes && { 18826 need_poppler=yes 18827 need_libpng=yes 18828 need_freetype2=yes 18829 need_teckit=yes 18830 need_harfbuzz=yes 18831} 18832## configure options for MF 18833# Check whether --enable-mf was given. 18834if test "${enable_mf+set}" = set; then : 18835 enableval=$enable_mf; 18836fi 18837case $enable_mf in #( 18838 yes | no) : 18839 ;; #( 18840 *) : 18841 enable_mf=yes ;; 18842esac 18843 18844# Check whether --enable-mf-nowin was given. 18845if test "${enable_mf_nowin+set}" = set; then : 18846 enableval=$enable_mf_nowin; 18847fi 18848 18849# Check whether --with-mf-x-toolkit was given. 18850if test "${with_mf_x_toolkit+set}" = set; then : 18851 withval=$with_mf_x_toolkit; 18852fi 18853# Check whether --enable-epsfwin was given. 18854if test "${enable_epsfwin+set}" = set; then : 18855 enableval=$enable_epsfwin; 18856fi 18857# Check whether --enable-hp2627win was given. 18858if test "${enable_hp2627win+set}" = set; then : 18859 enableval=$enable_hp2627win; 18860fi 18861# Check whether --enable-mftalkwin was given. 18862if test "${enable_mftalkwin+set}" = set; then : 18863 enableval=$enable_mftalkwin; 18864fi 18865# Check whether --enable-nextwin was given. 18866if test "${enable_nextwin+set}" = set; then : 18867 enableval=$enable_nextwin; 18868fi 18869# Check whether --enable-regiswin was given. 18870if test "${enable_regiswin+set}" = set; then : 18871 enableval=$enable_regiswin; 18872fi 18873# Check whether --enable-suntoolswin was given. 18874if test "${enable_suntoolswin+set}" = set; then : 18875 enableval=$enable_suntoolswin; 18876fi 18877# Check whether --enable-tektronixwin was given. 18878if test "${enable_tektronixwin+set}" = set; then : 18879 enableval=$enable_tektronixwin; 18880fi 18881# Check whether --enable-unitermwin was given. 18882if test "${enable_unitermwin+set}" = set; then : 18883 enableval=$enable_unitermwin; 18884fi 18885## configure options for WEB programs 18886# Check whether --enable-web-progs was given. 18887if test "${enable_web_progs+set}" = set; then : 18888 enableval=$enable_web_progs; 18889fi 18890## configure option for the SyncTeX library and tool 18891# Check whether --enable-synctex was given. 18892if test "${enable_synctex+set}" = set; then : 18893 enableval=$enable_synctex; 18894fi 18895 18896 18897 18898if test "x$enable_texlive_build" = xyes; then : 18899 banner_pre='TeX Live' 18900else 18901 banner_pre='Web2C' 18902fi 18903cat >>confdefs.h <<_ACEOF 18904#define WEB2CVERSION " ($banner_pre $WEB2CVERSION$with_banner_add)" 18905_ACEOF 18906 18907 18908for ac_prog in kpsewhich 18909do 18910 # Extract the first word of "$ac_prog", so it can be a program name with args. 18911set dummy $ac_prog; ac_word=$2 18912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18913$as_echo_n "checking for $ac_word... " >&6; } 18914if ${ac_cv_prog_KPSEWHICH+:} false; then : 18915 $as_echo_n "(cached) " >&6 18916else 18917 if test -n "$KPSEWHICH"; then 18918 ac_cv_prog_KPSEWHICH="$KPSEWHICH" # Let the user override the test. 18919else 18920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18921for as_dir in $PATH 18922do 18923 IFS=$as_save_IFS 18924 test -z "$as_dir" && as_dir=. 18925 for ac_exec_ext in '' $ac_executable_extensions; do 18926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18927 ac_cv_prog_KPSEWHICH="$ac_prog" 18928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18929 break 2 18930 fi 18931done 18932 done 18933IFS=$as_save_IFS 18934 18935fi 18936fi 18937KPSEWHICH=$ac_cv_prog_KPSEWHICH 18938if test -n "$KPSEWHICH"; then 18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KPSEWHICH" >&5 18940$as_echo "$KPSEWHICH" >&6; } 18941else 18942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18943$as_echo "no" >&6; } 18944fi 18945 18946 18947 test -n "$KPSEWHICH" && break 18948done 18949test -n "$KPSEWHICH" || KPSEWHICH="false" 18950 18951 18952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc asm needs underscore" >&5 18953$as_echo_n "checking whether gcc asm needs underscore... " >&6; } 18954if ${pb_cv_asm_underscore+:} false; then : 18955 $as_echo_n "(cached) " >&6 18956else 18957 18958# Some versions of GCC asm for i386 need an underscore prepended to 18959# external symbols. Figure out if this is so. 18960cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18961/* end confdefs.h. */ 18962 18963extern char val ; 18964extern void sub () ; 18965#if defined (__i386__) && defined (__GNUC__) 18966asm(" .align 4\n" 18967".globl sub\n" 18968"sub:\n" 18969" movb \$1,val\n" 18970" ret\n"); 18971#else 18972void sub () { val = 1; } 18973#endif /* assembler */ 18974char val ; 18975int 18976main () 18977{ 18978sub (); return 0; 18979 ; 18980 return 0; 18981} 18982_ACEOF 18983if ac_fn_c_try_link "$LINENO"; then : 18984 pb_cv_asm_underscore=no 18985else 18986 pb_cv_asm_underscore=yes 18987fi 18988rm -f core conftest.err conftest.$ac_objext \ 18989 conftest$ac_exeext conftest.$ac_ext 18990fi 18991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pb_cv_asm_underscore" >&5 18992$as_echo "$pb_cv_asm_underscore" >&6; } 18993if test "x$pb_cv_asm_underscore" = xyes; then 18994 18995$as_echo "#define ASM_NEEDS_UNDERSCORE 1" >>confdefs.h 18996 18997fi 18998 18999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5 19000$as_echo_n "checking for native WIN32 or MINGW32... " >&6; } 19001if ${kpse_cv_have_win32+:} false; then : 19002 $as_echo_n "(cached) " >&6 19003else 19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19005/* end confdefs.h. */ 19006#ifndef WIN32 19007 choke me 19008#endif 19009int 19010main () 19011{ 19012 19013 ; 19014 return 0; 19015} 19016_ACEOF 19017if ac_fn_c_try_compile "$LINENO"; then : 19018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19019/* end confdefs.h. */ 19020#ifndef __MINGW32__ 19021 choke me 19022#endif 19023int 19024main () 19025{ 19026 19027 ; 19028 return 0; 19029} 19030_ACEOF 19031if ac_fn_c_try_compile "$LINENO"; then : 19032 kpse_cv_have_win32=mingw32 19033else 19034 kpse_cv_have_win32=native 19035fi 19036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19037else 19038 kpse_cv_have_win32=no 19039fi 19040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19041fi 19042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5 19043$as_echo "$kpse_cv_have_win32" >&6; } 19044 19045 if test "x$kpse_cv_have_win32" != xno; then 19046 WIN32_TRUE= 19047 WIN32_FALSE='#' 19048else 19049 WIN32_TRUE='#' 19050 WIN32_FALSE= 19051fi 19052 19053 19054 if test "x$kpse_cv_have_win32" = xmingw32; then 19055 MINGW32_TRUE= 19056 MINGW32_FALSE='#' 19057else 19058 MINGW32_TRUE='#' 19059 MINGW32_FALSE= 19060fi 19061 19062 19063 if test -r "$srcdir/../texlive/w32_wrapper/callexe.c"; then 19064 WIN32_CALL_TRUE= 19065 WIN32_CALL_FALSE='#' 19066else 19067 WIN32_CALL_TRUE='#' 19068 WIN32_CALL_FALSE= 19069fi 19070 19071if test -z "$WIN32_TRUE"; then : 19072 ac_config_links="$ac_config_links callexe.c:../texlive/w32_wrapper/callexe.c" 19073 19074fi 19075 19076 19077case $with_editor in #( 19078 ''|yes|no) : 19079 if test "x$kpse_cv_have_win32" = xno; then : 19080 with_editor="vi +%d '%s'" 19081else 19082 with_editor='texworks --position=%d \"%s\"' 19083fi ;; #( 19084 *) : 19085 ;; 19086esac 19087 19088cat >>confdefs.h <<_ACEOF 19089#define EDITOR "$with_editor" 19090_ACEOF 19091 19092 19093if test "x$enable_auto_core" = xyes; then : 19094 19095$as_echo "#define FUNNY_CORE_DUMP 1" >>confdefs.h 19096 19097fi 19098 19099if test "x$enable_dump_share" = xno; then : 19100 19101$as_echo "#define NO_DUMP_SHARE 1" >>confdefs.h 19102 19103fi 19104 19105case $enable_ipc in #( 19106 yes|no) : 19107 ;; #( 19108 *) : 19109 enable_ipc=yes ;; 19110esac 19111 19112 19113if test "x$kpse_cv_have_win32" = xno; then : 19114 kpse_save_LIBS=$LIBS 19115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5 19116$as_echo_n "checking for library containing connect... " >&6; } 19117if ${ac_cv_search_connect+:} false; then : 19118 $as_echo_n "(cached) " >&6 19119else 19120 ac_func_search_save_LIBS=$LIBS 19121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19122/* end confdefs.h. */ 19123 19124/* Override any GCC internal prototype to avoid an error. 19125 Use char because int might match the return type of a GCC 19126 builtin and then its argument prototype would still apply. */ 19127#ifdef __cplusplus 19128extern "C" 19129#endif 19130char connect (); 19131int 19132main () 19133{ 19134return connect (); 19135 ; 19136 return 0; 19137} 19138_ACEOF 19139for ac_lib in '' socket nsl; do 19140 if test -z "$ac_lib"; then 19141 ac_res="none required" 19142 else 19143 ac_res=-l$ac_lib 19144 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19145 fi 19146 if ac_fn_c_try_link "$LINENO"; then : 19147 ac_cv_search_connect=$ac_res 19148fi 19149rm -f core conftest.err conftest.$ac_objext \ 19150 conftest$ac_exeext 19151 if ${ac_cv_search_connect+:} false; then : 19152 break 19153fi 19154done 19155if ${ac_cv_search_connect+:} false; then : 19156 19157else 19158 ac_cv_search_connect=no 19159fi 19160rm conftest.$ac_ext 19161LIBS=$ac_func_search_save_LIBS 19162fi 19163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5 19164$as_echo "$ac_cv_search_connect" >&6; } 19165ac_res=$ac_cv_search_connect 19166if test "$ac_res" != no; then : 19167 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19168 19169fi 19170 19171 LIBS=$kpse_save_LIBS 19172else 19173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwsock32" >&5 19174$as_echo_n "checking for main in -lwsock32... " >&6; } 19175if ${ac_cv_lib_wsock32_main+:} false; then : 19176 $as_echo_n "(cached) " >&6 19177else 19178 ac_check_lib_save_LIBS=$LIBS 19179LIBS="-lwsock32 $LIBS" 19180cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19181/* end confdefs.h. */ 19182 19183 19184int 19185main () 19186{ 19187return main (); 19188 ; 19189 return 0; 19190} 19191_ACEOF 19192if ac_fn_c_try_link "$LINENO"; then : 19193 ac_cv_lib_wsock32_main=yes 19194else 19195 ac_cv_lib_wsock32_main=no 19196fi 19197rm -f core conftest.err conftest.$ac_objext \ 19198 conftest$ac_exeext conftest.$ac_ext 19199LIBS=$ac_check_lib_save_LIBS 19200fi 19201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_main" >&5 19202$as_echo "$ac_cv_lib_wsock32_main" >&6; } 19203if test "x$ac_cv_lib_wsock32_main" = xyes; then : 19204 ac_cv_search_connect=-lwsock32 19205else 19206 ac_cv_search_connect=no 19207fi 19208 19209fi 19210 19211# Check whether --enable-missing was given. 19212if test "${enable_missing+set}" = set; then : 19213 enableval=$enable_missing; 19214fi 19215 19216case $ac_cv_search_connect in #( 19217 "none required") : 19218 ;; #( 19219 no) : 19220 if test "x$enable_luatex" = xyes; then : 19221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no socket library: disabling luatex" >&5 19222$as_echo "$as_me: WARNING: Sorry, no socket library: disabling luatex" >&2;} 19223if test "x$enable_missing" = xno; then : 19224 as_fn_error $? "terminating." "$LINENO" 5 19225fi 19226 19227 enable_luatex=no 19228fi 19229 19230 if test "x$enable_ipc" = xyes; then : 19231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no socket library: disabling ipc" >&5 19232$as_echo "$as_me: WARNING: Sorry, no socket library: disabling ipc" >&2;} 19233if test "x$enable_missing" = xno; then : 19234 as_fn_error $? "terminating." "$LINENO" 5 19235fi 19236 19237 enable_ipc=no 19238fi 19239 ;; #( 19240 *) : 19241 socketlibs=$ac_cv_search_connect ;; 19242esac 19243if test "x$enable_ipc" = xyes; then 19244 ipc_socketlibs=$socketlibs 19245 19246$as_echo "#define IPC 1" >>confdefs.h 19247 19248fi 19249 19250# We may need additional libraries for luaTeX. 19251# On Solaris -lnsl for gethostbyname(), -lrt for nanosleep(), 19252# and maybe -lresolv for inet_aton(). 19253lua_socketlibs=$socketlibs 19254kpse_save_LIBS=$LIBS 19255LUA52_DEFINES='-DLUA_COMPAT_MODULE -DLUAI_HASHLIMIT=6' 19256 19257if test "x$kpse_cv_have_win32" = xno; then 19258 LUA52_DEFINES="$LUA52_DEFINES -DLUA_USE_POSIX" 19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 19260$as_echo_n "checking for library containing dlopen... " >&6; } 19261if ${ac_cv_search_dlopen+:} false; then : 19262 $as_echo_n "(cached) " >&6 19263else 19264 ac_func_search_save_LIBS=$LIBS 19265cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19266/* end confdefs.h. */ 19267 19268/* Override any GCC internal prototype to avoid an error. 19269 Use char because int might match the return type of a GCC 19270 builtin and then its argument prototype would still apply. */ 19271#ifdef __cplusplus 19272extern "C" 19273#endif 19274char dlopen (); 19275int 19276main () 19277{ 19278return dlopen (); 19279 ; 19280 return 0; 19281} 19282_ACEOF 19283for ac_lib in '' dl; do 19284 if test -z "$ac_lib"; then 19285 ac_res="none required" 19286 else 19287 ac_res=-l$ac_lib 19288 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19289 fi 19290 if ac_fn_c_try_link "$LINENO"; then : 19291 ac_cv_search_dlopen=$ac_res 19292fi 19293rm -f core conftest.err conftest.$ac_objext \ 19294 conftest$ac_exeext 19295 if ${ac_cv_search_dlopen+:} false; then : 19296 break 19297fi 19298done 19299if ${ac_cv_search_dlopen+:} false; then : 19300 19301else 19302 ac_cv_search_dlopen=no 19303fi 19304rm conftest.$ac_ext 19305LIBS=$ac_func_search_save_LIBS 19306fi 19307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 19308$as_echo "$ac_cv_search_dlopen" >&6; } 19309ac_res=$ac_cv_search_dlopen 19310if test "$ac_res" != no; then : 19311 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19312 19313fi 19314 19315 if test "x$ac_cv_search_dlopen" != xno; then 19316 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 19317" 19318if test "x$ac_cv_header_dlfcn_h" = xyes; then : 19319 LUA52_DEFINES="$LUA52_DEFINES -DLUA_USE_DLOPEN" 19320fi 19321 19322 19323 fi 19324fi 19325 19326LUAJIT_DEFINES='-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6' 19327 19328case $host_os:$host_cpu in #( 19329 *darwin*:x86_64) : 19330 LUAJIT_LDEXTRA='-pagezero_size 10000 -image_base 100000000' ;; #( 19331 *) : 19332 ;; 19333esac 19334 19335 19336LIBS=$kpse_save_LIBS 19337if test "x$kpse_cv_have_win32" = xno; then 19338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 19339$as_echo_n "checking for library containing gethostbyname... " >&6; } 19340if ${ac_cv_search_gethostbyname+:} false; then : 19341 $as_echo_n "(cached) " >&6 19342else 19343 ac_func_search_save_LIBS=$LIBS 19344cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19345/* end confdefs.h. */ 19346 19347/* Override any GCC internal prototype to avoid an error. 19348 Use char because int might match the return type of a GCC 19349 builtin and then its argument prototype would still apply. */ 19350#ifdef __cplusplus 19351extern "C" 19352#endif 19353char gethostbyname (); 19354int 19355main () 19356{ 19357return gethostbyname (); 19358 ; 19359 return 0; 19360} 19361_ACEOF 19362for ac_lib in '' nsl; do 19363 if test -z "$ac_lib"; then 19364 ac_res="none required" 19365 else 19366 ac_res=-l$ac_lib 19367 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19368 fi 19369 if ac_fn_c_try_link "$LINENO"; then : 19370 ac_cv_search_gethostbyname=$ac_res 19371fi 19372rm -f core conftest.err conftest.$ac_objext \ 19373 conftest$ac_exeext 19374 if ${ac_cv_search_gethostbyname+:} false; then : 19375 break 19376fi 19377done 19378if ${ac_cv_search_gethostbyname+:} false; then : 19379 19380else 19381 ac_cv_search_gethostbyname=no 19382fi 19383rm conftest.$ac_ext 19384LIBS=$ac_func_search_save_LIBS 19385fi 19386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 19387$as_echo "$ac_cv_search_gethostbyname" >&6; } 19388ac_res=$ac_cv_search_gethostbyname 19389if test "$ac_res" != no; then : 19390 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19391 19392fi 19393 19394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5 19395$as_echo_n "checking for library containing hstrerror... " >&6; } 19396if ${ac_cv_search_hstrerror+:} false; then : 19397 $as_echo_n "(cached) " >&6 19398else 19399 ac_func_search_save_LIBS=$LIBS 19400cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19401/* end confdefs.h. */ 19402 19403/* Override any GCC internal prototype to avoid an error. 19404 Use char because int might match the return type of a GCC 19405 builtin and then its argument prototype would still apply. */ 19406#ifdef __cplusplus 19407extern "C" 19408#endif 19409char hstrerror (); 19410int 19411main () 19412{ 19413return hstrerror (); 19414 ; 19415 return 0; 19416} 19417_ACEOF 19418for ac_lib in '' resolv; do 19419 if test -z "$ac_lib"; then 19420 ac_res="none required" 19421 else 19422 ac_res=-l$ac_lib 19423 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19424 fi 19425 if ac_fn_c_try_link "$LINENO"; then : 19426 ac_cv_search_hstrerror=$ac_res 19427fi 19428rm -f core conftest.err conftest.$ac_objext \ 19429 conftest$ac_exeext 19430 if ${ac_cv_search_hstrerror+:} false; then : 19431 break 19432fi 19433done 19434if ${ac_cv_search_hstrerror+:} false; then : 19435 19436else 19437 ac_cv_search_hstrerror=no 19438fi 19439rm conftest.$ac_ext 19440LIBS=$ac_func_search_save_LIBS 19441fi 19442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5 19443$as_echo "$ac_cv_search_hstrerror" >&6; } 19444ac_res=$ac_cv_search_hstrerror 19445if test "$ac_res" != no; then : 19446 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19447 19448fi 19449 19450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 19451$as_echo_n "checking for library containing inet_aton... " >&6; } 19452if ${ac_cv_search_inet_aton+:} false; then : 19453 $as_echo_n "(cached) " >&6 19454else 19455 ac_func_search_save_LIBS=$LIBS 19456cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19457/* end confdefs.h. */ 19458 19459/* Override any GCC internal prototype to avoid an error. 19460 Use char because int might match the return type of a GCC 19461 builtin and then its argument prototype would still apply. */ 19462#ifdef __cplusplus 19463extern "C" 19464#endif 19465char inet_aton (); 19466int 19467main () 19468{ 19469return inet_aton (); 19470 ; 19471 return 0; 19472} 19473_ACEOF 19474for ac_lib in '' resolv; do 19475 if test -z "$ac_lib"; then 19476 ac_res="none required" 19477 else 19478 ac_res=-l$ac_lib 19479 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19480 fi 19481 if ac_fn_c_try_link "$LINENO"; then : 19482 ac_cv_search_inet_aton=$ac_res 19483fi 19484rm -f core conftest.err conftest.$ac_objext \ 19485 conftest$ac_exeext 19486 if ${ac_cv_search_inet_aton+:} false; then : 19487 break 19488fi 19489done 19490if ${ac_cv_search_inet_aton+:} false; then : 19491 19492else 19493 ac_cv_search_inet_aton=no 19494fi 19495rm conftest.$ac_ext 19496LIBS=$ac_func_search_save_LIBS 19497fi 19498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 19499$as_echo "$ac_cv_search_inet_aton" >&6; } 19500ac_res=$ac_cv_search_inet_aton 19501if test "$ac_res" != no; then : 19502 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19503 19504fi 19505 19506 LIBS=$kpse_save_LIBS 19507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 19508$as_echo_n "checking for library containing nanosleep... " >&6; } 19509if ${ac_cv_search_nanosleep+:} false; then : 19510 $as_echo_n "(cached) " >&6 19511else 19512 ac_func_search_save_LIBS=$LIBS 19513cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19514/* end confdefs.h. */ 19515 19516/* Override any GCC internal prototype to avoid an error. 19517 Use char because int might match the return type of a GCC 19518 builtin and then its argument prototype would still apply. */ 19519#ifdef __cplusplus 19520extern "C" 19521#endif 19522char nanosleep (); 19523int 19524main () 19525{ 19526return nanosleep (); 19527 ; 19528 return 0; 19529} 19530_ACEOF 19531for ac_lib in '' rt; do 19532 if test -z "$ac_lib"; then 19533 ac_res="none required" 19534 else 19535 ac_res=-l$ac_lib 19536 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19537 fi 19538 if ac_fn_c_try_link "$LINENO"; then : 19539 ac_cv_search_nanosleep=$ac_res 19540fi 19541rm -f core conftest.err conftest.$ac_objext \ 19542 conftest$ac_exeext 19543 if ${ac_cv_search_nanosleep+:} false; then : 19544 break 19545fi 19546done 19547if ${ac_cv_search_nanosleep+:} false; then : 19548 19549else 19550 ac_cv_search_nanosleep=no 19551fi 19552rm conftest.$ac_ext 19553LIBS=$ac_func_search_save_LIBS 19554fi 19555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 19556$as_echo "$ac_cv_search_nanosleep" >&6; } 19557ac_res=$ac_cv_search_nanosleep 19558if test "$ac_res" != no; then : 19559 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19560 19561fi 19562 19563 LIBS=$kpse_save_LIBS 19564 case $ac_cv_header_dlfcn_h in #( 19565 yes) : 19566 case $ac_cv_search_dlopen in #( 19567 no*) : 19568 ;; #( 19569 *) : 19570 lua_socketlibs="$lua_socketlibs $ac_cv_search_dlopen" ;; 19571esac ;; #( 19572 *) : 19573 ;; 19574esac 19575 case $ac_cv_search_hstrerror in #( 19576 "none required") : 19577 ;; #( 19578 no) : 19579 if test "x$enable_luatex" = xyes; then : 19580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no hstrerror(): disabling luatex" >&5 19581$as_echo "$as_me: WARNING: Sorry, no hstrerror(): disabling luatex" >&2;} 19582if test "x$enable_missing" = xno; then : 19583 as_fn_error $? "terminating." "$LINENO" 5 19584fi 19585 19586 enable_luatex=no 19587fi 19588 ;; #( 19589 *) : 19590 lua_socketlibs="$lua_socketlibs $ac_cv_search_hstrerror" ;; 19591esac 19592 case $ac_cv_search_inet_aton in #( 19593 "none required") : 19594 ;; #( 19595 no) : 19596 if test "x$enable_luatex" = xyes; then : 19597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no inet_aton(): disabling luatex" >&5 19598$as_echo "$as_me: WARNING: Sorry, no inet_aton(): disabling luatex" >&2;} 19599if test "x$enable_missing" = xno; then : 19600 as_fn_error $? "terminating." "$LINENO" 5 19601fi 19602 19603 enable_luatex=no 19604fi 19605 ;; #( 19606 *) : 19607 lua_socketlibs="$lua_socketlibs $ac_cv_search_inet_aton" ;; 19608esac 19609 case $ac_cv_search_gethostbyname in #( 19610 "none required") : 19611 ;; #( 19612 no) : 19613 if test "x$enable_luatex" = xyes; then : 19614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no gethostbyname(): disabling luatex" >&5 19615$as_echo "$as_me: WARNING: Sorry, no gethostbyname(): disabling luatex" >&2;} 19616if test "x$enable_missing" = xno; then : 19617 as_fn_error $? "terminating." "$LINENO" 5 19618fi 19619 19620 enable_luatex=no 19621fi 19622 ;; #( 19623 *) : 19624 lua_socketlibs="$lua_socketlibs $ac_cv_search_gethostbyname" ;; 19625esac 19626 case $ac_cv_search_nanosleep in #( 19627 "none required") : 19628 ;; #( 19629 no) : 19630 if test "x$enable_luatex" = xyes; then : 19631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no nanosleep(): disabling luatex" >&5 19632$as_echo "$as_me: WARNING: Sorry, no nanosleep(): disabling luatex" >&2;} 19633if test "x$enable_missing" = xno; then : 19634 as_fn_error $? "terminating." "$LINENO" 5 19635fi 19636 19637 enable_luatex=no 19638fi 19639 ;; #( 19640 *) : 19641 lua_socketlibs="$lua_socketlibs $ac_cv_search_nanosleep" ;; 19642esac 19643else 19644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5 19645$as_echo_n "checking for main in -lws2_32... " >&6; } 19646if ${ac_cv_lib_ws2_32_main+:} false; then : 19647 $as_echo_n "(cached) " >&6 19648else 19649 ac_check_lib_save_LIBS=$LIBS 19650LIBS="-lws2_32 $LIBS" 19651cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19652/* end confdefs.h. */ 19653 19654 19655int 19656main () 19657{ 19658return main (); 19659 ; 19660 return 0; 19661} 19662_ACEOF 19663if ac_fn_c_try_link "$LINENO"; then : 19664 ac_cv_lib_ws2_32_main=yes 19665else 19666 ac_cv_lib_ws2_32_main=no 19667fi 19668rm -f core conftest.err conftest.$ac_objext \ 19669 conftest$ac_exeext conftest.$ac_ext 19670LIBS=$ac_check_lib_save_LIBS 19671fi 19672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5 19673$as_echo "$ac_cv_lib_ws2_32_main" >&6; } 19674if test "x$ac_cv_lib_ws2_32_main" = xyes; then : 19675 lua_socketlibs="$socketlibs -lws2_32" 19676else 19677 if test "x$enable_luatex" = xyes; then : 19678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no getaddrinfo(): disabling luatex" >&5 19679$as_echo "$as_me: WARNING: Sorry, no getaddrinfo(): disabling luatex" >&2;} 19680if test "x$enable_missing" = xno; then : 19681 as_fn_error $? "terminating." "$LINENO" 5 19682fi 19683 19684 enable_luatex=no 19685fi 19686 19687fi 19688 19689fi 19690 if test "x$ac_cv_header_dlfcn_h" = xyes; then 19691 USE_DLOPEN_TRUE= 19692 USE_DLOPEN_FALSE='#' 19693else 19694 USE_DLOPEN_TRUE='#' 19695 USE_DLOPEN_FALSE= 19696fi 19697 19698 19699 19700 19701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS X ApplicationServices framework" >&5 19702$as_echo_n "checking for Mac OS X ApplicationServices framework... " >&6; } 19703if ${kpse_cv_have_ApplicationServices+:} false; then : 19704 $as_echo_n "(cached) " >&6 19705else 19706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19707/* end confdefs.h. */ 19708#include <ApplicationServices/ApplicationServices.h> 19709int 19710main () 19711{ 19712CTFontRef font 19713 ; 19714 return 0; 19715} 19716_ACEOF 19717if ac_fn_c_try_compile "$LINENO"; then : 19718 kpse_cv_have_ApplicationServices=yes 19719else 19720 kpse_cv_have_ApplicationServices=no 19721fi 19722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19723fi 19724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_ApplicationServices" >&5 19725$as_echo "$kpse_cv_have_ApplicationServices" >&6; } 19726if test "x$kpse_cv_have_ApplicationServices" = xyes; then : 19727 19728$as_echo "#define HAVE_APPLICATIONSERVICES 1" >>confdefs.h 19729 19730fi 19731 19732if test -n "$ac_tool_prefix"; then 19733 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 19734set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 19735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19736$as_echo_n "checking for $ac_word... " >&6; } 19737if ${ac_cv_prog_PKG_CONFIG+:} false; then : 19738 $as_echo_n "(cached) " >&6 19739else 19740 if test -n "$PKG_CONFIG"; then 19741 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. 19742else 19743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19744for as_dir in $PATH 19745do 19746 IFS=$as_save_IFS 19747 test -z "$as_dir" && as_dir=. 19748 for ac_exec_ext in '' $ac_executable_extensions; do 19749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19750 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config" 19751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19752 break 2 19753 fi 19754done 19755 done 19756IFS=$as_save_IFS 19757 19758fi 19759fi 19760PKG_CONFIG=$ac_cv_prog_PKG_CONFIG 19761if test -n "$PKG_CONFIG"; then 19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 19763$as_echo "$PKG_CONFIG" >&6; } 19764else 19765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19766$as_echo "no" >&6; } 19767fi 19768 19769 19770fi 19771if test -z "$ac_cv_prog_PKG_CONFIG"; then 19772 ac_ct_PKG_CONFIG=$PKG_CONFIG 19773 # Extract the first word of "pkg-config", so it can be a program name with args. 19774set dummy pkg-config; ac_word=$2 19775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19776$as_echo_n "checking for $ac_word... " >&6; } 19777if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then : 19778 $as_echo_n "(cached) " >&6 19779else 19780 if test -n "$ac_ct_PKG_CONFIG"; then 19781 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test. 19782else 19783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19784for as_dir in $PATH 19785do 19786 IFS=$as_save_IFS 19787 test -z "$as_dir" && as_dir=. 19788 for ac_exec_ext in '' $ac_executable_extensions; do 19789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19790 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config" 19791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19792 break 2 19793 fi 19794done 19795 done 19796IFS=$as_save_IFS 19797 19798fi 19799fi 19800ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG 19801if test -n "$ac_ct_PKG_CONFIG"; then 19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5 19803$as_echo "$ac_ct_PKG_CONFIG" >&6; } 19804else 19805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19806$as_echo "no" >&6; } 19807fi 19808 19809 if test "x$ac_ct_PKG_CONFIG" = x; then 19810 PKG_CONFIG="false" 19811 else 19812 case $cross_compiling:$ac_tool_warned in 19813yes:) 19814{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 19815$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 19816ac_tool_warned=yes ;; 19817esac 19818 PKG_CONFIG=$ac_ct_PKG_CONFIG 19819 fi 19820else 19821 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" 19822fi 19823 19824 19825# Check whether --with-fontconfig-includes was given. 19826if test "${with_fontconfig_includes+set}" = set; then : 19827 withval=$with_fontconfig_includes; 19828fi 19829 19830# Check whether --with-fontconfig-libdir was given. 19831if test "${with_fontconfig_libdir+set}" = set; then : 19832 withval=$with_fontconfig_libdir; 19833fi 19834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed fontconfig headers and library" >&5 19835$as_echo_n "checking for installed fontconfig headers and library... " >&6; } 19836if ${kpse_cv_have_fontconfig+:} false; then : 19837 $as_echo_n "(cached) " >&6 19838else 19839 kpse_save_CPPFLAGS=$CPPFLAGS 19840kpse_save_LIBS=$LIBS 19841kpse_cv_fontconfig_includes= 19842kpse_cv_fontconfig_libs='-lfontconfig' 19843if test "x$with_fontconfig_includes:$with_fontconfig_libdir" != x:; then 19844 if test "x$with_fontconfig_includes" != x; then 19845 kpse_cv_fontconfig_includes="-I$with_fontconfig_includes" 19846 fi 19847 if test "x$with_fontconfig_libdir" != x; then 19848 kpse_cv_fontconfig_libs="-L$with_fontconfig_libdir $kpse_cv_fontconfig_libs" 19849 fi 19850elif $PKG_CONFIG fontconfig; then 19851 kpse_cv_fontconfig_includes=`$PKG_CONFIG fontconfig --cflags` 19852 kpse_cv_fontconfig_libs=`$PKG_CONFIG fontconfig --libs` 19853fi 19854CPPFLAGS="$kpse_cv_fontconfig_includes $CPPFLAGS" 19855LIBS="$kpse_cv_fontconfig_libs $LIBS" 19856cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19857/* end confdefs.h. */ 19858#include <fontconfig/fontconfig.h> 19859int 19860main () 19861{ 19862FcObjectSet *os; FcInit(); 19863 ; 19864 return 0; 19865} 19866_ACEOF 19867if ac_fn_c_try_link "$LINENO"; then : 19868 kpse_cv_have_fontconfig=yes 19869else 19870 kpse_cv_have_fontconfig=no 19871fi 19872rm -f core conftest.err conftest.$ac_objext \ 19873 conftest$ac_exeext conftest.$ac_ext 19874CPPFLAGS=$kpse_save_CPPFLAGS 19875LIBS=$kpse_save_LIBS 19876fi 19877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_fontconfig" >&5 19878$as_echo "$kpse_cv_have_fontconfig" >&6; } 19879if test "x$kpse_cv_have_fontconfig" = xyes; then 19880 FONTCONFIG_INCLUDES=$kpse_cv_fontconfig_includes 19881 FONTCONFIG_LIBS=$kpse_cv_fontconfig_libs 19882 19883$as_echo "#define HAVE_LIBFONTCONFIG 1" >>confdefs.h 19884 19885fi 19886 19887 19888 19889if test "x$kpse_cv_have_ApplicationServices:$kpse_cv_have_fontconfig" = xno:no; then : 19890 if test "x$enable_xetex" = xyes; then : 19891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, neither ApplicationServices framework nor fontconfig library: disabling xetex" >&5 19892$as_echo "$as_me: WARNING: Sorry, neither ApplicationServices framework nor fontconfig library: disabling xetex" >&2;} 19893if test "x$enable_missing" = xno; then : 19894 as_fn_error $? "terminating." "$LINENO" 5 19895fi 19896 19897 enable_xetex=no 19898fi 19899 19900fi 19901 if test "x$kpse_cv_have_ApplicationServices" = xyes; then 19902 XETEX_MACOSX_TRUE= 19903 XETEX_MACOSX_FALSE='#' 19904else 19905 XETEX_MACOSX_TRUE='#' 19906 XETEX_MACOSX_FALSE= 19907fi 19908 19909 19910 if test "x$enable_tex" = xyes; then 19911 TEX_TRUE= 19912 TEX_FALSE='#' 19913else 19914 TEX_TRUE='#' 19915 TEX_FALSE= 19916fi 19917 19918case $enable_native_texlive_build:$enable_tex_synctex in #( 19919 yes:no | no:yes | no:no) : 19920 ;; #( 19921 *) : 19922 if test -z "$enable_tex_synctex"; then : 19923 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tex-synctex=no'" >&5 19924$as_echo "$as_me: Assuming \`--enable-tex-synctex=no'" >&6;} 19925else 19926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-tex-synctex=no' (native TeX Live build)" >&5 19927$as_echo "$as_me: WARNING: Enforcing \`--enable-tex-synctex=no' (native TeX Live build)" >&2;} 19928fi 19929 enable_tex_synctex=no ;; 19930esac 19931 if test "x$enable_tex_synctex" = xyes; then 19932 TEX_SYNCTEX_TRUE= 19933 TEX_SYNCTEX_FALSE='#' 19934else 19935 TEX_SYNCTEX_TRUE='#' 19936 TEX_SYNCTEX_FALSE= 19937fi 19938 if test "x$enable_etex" = xyes; then 19939 ETEX_TRUE= 19940 ETEX_FALSE='#' 19941else 19942 ETEX_TRUE='#' 19943 ETEX_FALSE= 19944fi 19945 19946case $enable_native_texlive_build:$enable_etex_synctex in #( 19947 yes:yes | no:yes | no:no) : 19948 ;; #( 19949 *) : 19950 if test -z "$enable_etex_synctex"; then : 19951 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-etex-synctex=yes'" >&5 19952$as_echo "$as_me: Assuming \`--enable-etex-synctex=yes'" >&6;} 19953else 19954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-etex-synctex=yes' (native TeX Live build)" >&5 19955$as_echo "$as_me: WARNING: Enforcing \`--enable-etex-synctex=yes' (native TeX Live build)" >&2;} 19956fi 19957 enable_etex_synctex=yes ;; 19958esac 19959 if test "x$enable_etex_synctex" = xyes; then 19960 ETEX_SYNCTEX_TRUE= 19961 ETEX_SYNCTEX_FALSE='#' 19962else 19963 ETEX_SYNCTEX_TRUE='#' 19964 ETEX_SYNCTEX_FALSE= 19965fi 19966 if test "x$enable_ptex" = xyes; then 19967 PTEX_TRUE= 19968 PTEX_FALSE='#' 19969else 19970 PTEX_TRUE='#' 19971 PTEX_FALSE= 19972fi 19973 19974case $enable_native_texlive_build:$enable_ptex_synctex in #( 19975 yes:yes | no:yes | no:no) : 19976 ;; #( 19977 *) : 19978 if test -z "$enable_ptex_synctex"; then : 19979 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ptex-synctex=yes'" >&5 19980$as_echo "$as_me: Assuming \`--enable-ptex-synctex=yes'" >&6;} 19981else 19982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-ptex-synctex=yes' (native TeX Live build)" >&5 19983$as_echo "$as_me: WARNING: Enforcing \`--enable-ptex-synctex=yes' (native TeX Live build)" >&2;} 19984fi 19985 enable_ptex_synctex=yes ;; 19986esac 19987 if test "x$enable_ptex_synctex" = xyes; then 19988 PTEX_SYNCTEX_TRUE= 19989 PTEX_SYNCTEX_FALSE='#' 19990else 19991 PTEX_SYNCTEX_TRUE='#' 19992 PTEX_SYNCTEX_FALSE= 19993fi 19994 if test "x$enable_eptex" = xyes; then 19995 EPTEX_TRUE= 19996 EPTEX_FALSE='#' 19997else 19998 EPTEX_TRUE='#' 19999 EPTEX_FALSE= 20000fi 20001 20002case $enable_native_texlive_build:$enable_eptex_synctex in #( 20003 yes:yes | no:yes | no:no) : 20004 ;; #( 20005 *) : 20006 if test -z "$enable_eptex_synctex"; then : 20007 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-eptex-synctex=yes'" >&5 20008$as_echo "$as_me: Assuming \`--enable-eptex-synctex=yes'" >&6;} 20009else 20010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-eptex-synctex=yes' (native TeX Live build)" >&5 20011$as_echo "$as_me: WARNING: Enforcing \`--enable-eptex-synctex=yes' (native TeX Live build)" >&2;} 20012fi 20013 enable_eptex_synctex=yes ;; 20014esac 20015 if test "x$enable_eptex_synctex" = xyes; then 20016 EPTEX_SYNCTEX_TRUE= 20017 EPTEX_SYNCTEX_FALSE='#' 20018else 20019 EPTEX_SYNCTEX_TRUE='#' 20020 EPTEX_SYNCTEX_FALSE= 20021fi 20022 if test "x$enable_uptex" = xyes; then 20023 UPTEX_TRUE= 20024 UPTEX_FALSE='#' 20025else 20026 UPTEX_TRUE='#' 20027 UPTEX_FALSE= 20028fi 20029 20030case $enable_native_texlive_build:$enable_uptex_synctex in #( 20031 yes:yes | no:yes | no:no) : 20032 ;; #( 20033 *) : 20034 if test -z "$enable_uptex_synctex"; then : 20035 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-uptex-synctex=yes'" >&5 20036$as_echo "$as_me: Assuming \`--enable-uptex-synctex=yes'" >&6;} 20037else 20038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-uptex-synctex=yes' (native TeX Live build)" >&5 20039$as_echo "$as_me: WARNING: Enforcing \`--enable-uptex-synctex=yes' (native TeX Live build)" >&2;} 20040fi 20041 enable_uptex_synctex=yes ;; 20042esac 20043 if test "x$enable_uptex_synctex" = xyes; then 20044 UPTEX_SYNCTEX_TRUE= 20045 UPTEX_SYNCTEX_FALSE='#' 20046else 20047 UPTEX_SYNCTEX_TRUE='#' 20048 UPTEX_SYNCTEX_FALSE= 20049fi 20050 if test "x$enable_euptex" = xyes; then 20051 EUPTEX_TRUE= 20052 EUPTEX_FALSE='#' 20053else 20054 EUPTEX_TRUE='#' 20055 EUPTEX_FALSE= 20056fi 20057 20058case $enable_native_texlive_build:$enable_euptex_synctex in #( 20059 yes:yes | no:yes | no:no) : 20060 ;; #( 20061 *) : 20062 if test -z "$enable_euptex_synctex"; then : 20063 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-euptex-synctex=yes'" >&5 20064$as_echo "$as_me: Assuming \`--enable-euptex-synctex=yes'" >&6;} 20065else 20066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-euptex-synctex=yes' (native TeX Live build)" >&5 20067$as_echo "$as_me: WARNING: Enforcing \`--enable-euptex-synctex=yes' (native TeX Live build)" >&2;} 20068fi 20069 enable_euptex_synctex=yes ;; 20070esac 20071 if test "x$enable_euptex_synctex" = xyes; then 20072 EUPTEX_SYNCTEX_TRUE= 20073 EUPTEX_SYNCTEX_FALSE='#' 20074else 20075 EUPTEX_SYNCTEX_TRUE='#' 20076 EUPTEX_SYNCTEX_FALSE= 20077fi 20078 if test "x$enable_aleph" = xyes; then 20079 ALEPH_TRUE= 20080 ALEPH_FALSE='#' 20081else 20082 ALEPH_TRUE='#' 20083 ALEPH_FALSE= 20084fi 20085 if test "x$enable_pdftex" = xyes; then 20086 PDFTEX_TRUE= 20087 PDFTEX_FALSE='#' 20088else 20089 PDFTEX_TRUE='#' 20090 PDFTEX_FALSE= 20091fi 20092 20093case $enable_native_texlive_build:$enable_pdftex_synctex in #( 20094 yes:yes | no:yes | no:no) : 20095 ;; #( 20096 *) : 20097 if test -z "$enable_pdftex_synctex"; then : 20098 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-pdftex-synctex=yes'" >&5 20099$as_echo "$as_me: Assuming \`--enable-pdftex-synctex=yes'" >&6;} 20100else 20101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-pdftex-synctex=yes' (native TeX Live build)" >&5 20102$as_echo "$as_me: WARNING: Enforcing \`--enable-pdftex-synctex=yes' (native TeX Live build)" >&2;} 20103fi 20104 enable_pdftex_synctex=yes ;; 20105esac 20106 if test "x$enable_pdftex_synctex" = xyes; then 20107 PDFTEX_SYNCTEX_TRUE= 20108 PDFTEX_SYNCTEX_FALSE='#' 20109else 20110 PDFTEX_SYNCTEX_TRUE='#' 20111 PDFTEX_SYNCTEX_FALSE= 20112fi 20113 if test "x$enable_luatex" = xyes; then 20114 LUATEX_TRUE= 20115 LUATEX_FALSE='#' 20116else 20117 LUATEX_TRUE='#' 20118 LUATEX_FALSE= 20119fi 20120 if test "x$enable_luajittex" = xyes; then 20121 LUAJITTEX_TRUE= 20122 LUAJITTEX_FALSE='#' 20123else 20124 LUAJITTEX_TRUE='#' 20125 LUAJITTEX_FALSE= 20126fi 20127 if test "x$enable_mp" = xyes; then 20128 MP_TRUE= 20129 MP_FALSE='#' 20130else 20131 MP_TRUE='#' 20132 MP_FALSE= 20133fi 20134 if test "x$enable_pmp" = xyes; then 20135 PMP_TRUE= 20136 PMP_FALSE='#' 20137else 20138 PMP_TRUE='#' 20139 PMP_FALSE= 20140fi 20141 if test "x$enable_upmp" = xyes; then 20142 UPMP_TRUE= 20143 UPMP_FALSE='#' 20144else 20145 UPMP_TRUE='#' 20146 UPMP_FALSE= 20147fi 20148 if test "x$enable_xetex" = xyes; then 20149 XETEX_TRUE= 20150 XETEX_FALSE='#' 20151else 20152 XETEX_TRUE='#' 20153 XETEX_FALSE= 20154fi 20155 20156case $enable_native_texlive_build:$enable_xetex_synctex in #( 20157 yes:yes | no:yes | no:no) : 20158 ;; #( 20159 *) : 20160 if test -z "$enable_xetex_synctex"; then : 20161 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xetex-synctex=yes'" >&5 20162$as_echo "$as_me: Assuming \`--enable-xetex-synctex=yes'" >&6;} 20163else 20164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-xetex-synctex=yes' (native TeX Live build)" >&5 20165$as_echo "$as_me: WARNING: Enforcing \`--enable-xetex-synctex=yes' (native TeX Live build)" >&2;} 20166fi 20167 enable_xetex_synctex=yes ;; 20168esac 20169 if test "x$enable_xetex_synctex" = xyes; then 20170 XETEX_SYNCTEX_TRUE= 20171 XETEX_SYNCTEX_FALSE='#' 20172else 20173 XETEX_SYNCTEX_TRUE='#' 20174 XETEX_SYNCTEX_FALSE= 20175fi 20176 20177test "x$enable_omfonts" = xno || enable_omfonts=yes 20178 20179if test "x$enable_aleph:$enable_xetex:$enable_omfonts" = xno:no:yes; then : 20180 enable_otangle=no 20181else 20182 enable_otangle=yes 20183fi 20184 if test "x$enable_otangle" = xyes; then 20185 OTANGLE_TRUE= 20186 OTANGLE_FALSE='#' 20187else 20188 OTANGLE_TRUE='#' 20189 OTANGLE_FALSE= 20190fi 20191 20192# Handle --with-mf-x-toolkit and --with-x 20193case $with_mf_x_toolkit in #( 20194 yes|no) : 20195 ;; #( 20196 '') : 20197 with_mf_x_toolkit=no ;; #( 20198 y|ye) : 20199 with_mf_x_toolkit=yes ;; #( 20200 n) : 20201 with_mf_x_toolkit=no ;; #( 20202 *) : 20203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown --with-mf-x-toolkit argument \`$with_mf_x_toolkit'; using no." >&5 20204$as_echo "$as_me: WARNING: unknown --with-mf-x-toolkit argument \`$with_mf_x_toolkit'; using no." >&2;} 20205 with_mf_x_toolkit=no ;; 20206esac 20207test "x$with_x_toolkit" = xyes && with_x=yes 20208test "x$with_x" = xno && with_x_toolkit=no 20209 20210 if test "x$enable_mf" != xno; then 20211 MF_TRUE= 20212 MF_FALSE='#' 20213else 20214 MF_TRUE='#' 20215 MF_FALSE= 20216fi 20217test "x$enable_mf" = xyes && : ${with_x=yes} 20218 20219 if test "x$enable_mf_nowin" != xno; then 20220 MFN_TRUE= 20221 MFN_FALSE='#' 20222else 20223 MFN_TRUE='#' 20224 MFN_FALSE= 20225fi 20226: ${with_x=yes} 20227 20228# Distinguish no X at all, no toolkit, or toolkit. 20229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 20230$as_echo_n "checking for X... " >&6; } 20231 20232 20233# Check whether --with-x was given. 20234if test "${with_x+set}" = set; then : 20235 withval=$with_x; 20236fi 20237 20238# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 20239if test "x$with_x" = xno; then 20240 # The user explicitly disabled X. 20241 have_x=disabled 20242else 20243 case $x_includes,$x_libraries in #( 20244 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 20245 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 20246 $as_echo_n "(cached) " >&6 20247else 20248 # One or both of the vars are not set, and there is no cached value. 20249ac_x_includes=no ac_x_libraries=no 20250rm -f -r conftest.dir 20251if mkdir conftest.dir; then 20252 cd conftest.dir 20253 cat >Imakefile <<'_ACEOF' 20254incroot: 20255 @echo incroot='${INCROOT}' 20256usrlibdir: 20257 @echo usrlibdir='${USRLIBDIR}' 20258libdir: 20259 @echo libdir='${LIBDIR}' 20260_ACEOF 20261 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 20262 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 20263 for ac_var in incroot usrlibdir libdir; do 20264 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 20265 done 20266 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 20267 for ac_extension in a so sl dylib la dll; do 20268 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 20269 test -f "$ac_im_libdir/libX11.$ac_extension"; then 20270 ac_im_usrlibdir=$ac_im_libdir; break 20271 fi 20272 done 20273 # Screen out bogus values from the imake configuration. They are 20274 # bogus both because they are the default anyway, and because 20275 # using them would break gcc on systems where it needs fixed includes. 20276 case $ac_im_incroot in 20277 /usr/include) ac_x_includes= ;; 20278 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 20279 esac 20280 case $ac_im_usrlibdir in 20281 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 20282 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 20283 esac 20284 fi 20285 cd .. 20286 rm -f -r conftest.dir 20287fi 20288 20289# Standard set of common directories for X headers. 20290# Check X11 before X11Rn because it is often a symlink to the current release. 20291ac_x_header_dirs=' 20292/usr/X11/include 20293/usr/X11R7/include 20294/usr/X11R6/include 20295/usr/X11R5/include 20296/usr/X11R4/include 20297 20298/usr/include/X11 20299/usr/include/X11R7 20300/usr/include/X11R6 20301/usr/include/X11R5 20302/usr/include/X11R4 20303 20304/usr/local/X11/include 20305/usr/local/X11R7/include 20306/usr/local/X11R6/include 20307/usr/local/X11R5/include 20308/usr/local/X11R4/include 20309 20310/usr/local/include/X11 20311/usr/local/include/X11R7 20312/usr/local/include/X11R6 20313/usr/local/include/X11R5 20314/usr/local/include/X11R4 20315 20316/usr/X386/include 20317/usr/x386/include 20318/usr/XFree86/include/X11 20319 20320/usr/include 20321/usr/local/include 20322/usr/unsupported/include 20323/usr/athena/include 20324/usr/local/x11r5/include 20325/usr/lpp/Xamples/include 20326 20327/usr/openwin/include 20328/usr/openwin/share/include' 20329 20330if test "$ac_x_includes" = no; then 20331 # Guess where to find include files, by looking for Xlib.h. 20332 # First, try using that file with no special directory specified. 20333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20334/* end confdefs.h. */ 20335#include <X11/Xlib.h> 20336_ACEOF 20337if ac_fn_c_try_cpp "$LINENO"; then : 20338 # We can compile using X headers with no special include directory. 20339ac_x_includes= 20340else 20341 for ac_dir in $ac_x_header_dirs; do 20342 if test -r "$ac_dir/X11/Xlib.h"; then 20343 ac_x_includes=$ac_dir 20344 break 20345 fi 20346done 20347fi 20348rm -f conftest.err conftest.i conftest.$ac_ext 20349fi # $ac_x_includes = no 20350 20351if test "$ac_x_libraries" = no; then 20352 # Check for the libraries. 20353 # See if we find them without any special options. 20354 # Don't add to $LIBS permanently. 20355 ac_save_LIBS=$LIBS 20356 LIBS="-lX11 $LIBS" 20357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20358/* end confdefs.h. */ 20359#include <X11/Xlib.h> 20360int 20361main () 20362{ 20363XrmInitialize () 20364 ; 20365 return 0; 20366} 20367_ACEOF 20368if ac_fn_c_try_link "$LINENO"; then : 20369 LIBS=$ac_save_LIBS 20370# We can link X programs with no special library path. 20371ac_x_libraries= 20372else 20373 LIBS=$ac_save_LIBS 20374for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 20375do 20376 # Don't even attempt the hair of trying to link an X program! 20377 for ac_extension in a so sl dylib la dll; do 20378 if test -r "$ac_dir/libX11.$ac_extension"; then 20379 ac_x_libraries=$ac_dir 20380 break 2 20381 fi 20382 done 20383done 20384fi 20385rm -f core conftest.err conftest.$ac_objext \ 20386 conftest$ac_exeext conftest.$ac_ext 20387fi # $ac_x_libraries = no 20388 20389case $ac_x_includes,$ac_x_libraries in #( 20390 no,* | *,no | *\'*) 20391 # Didn't find X, or a directory has "'" in its name. 20392 ac_cv_have_x="have_x=no";; #( 20393 *) 20394 # Record where we found X for the cache. 20395 ac_cv_have_x="have_x=yes\ 20396 ac_x_includes='$ac_x_includes'\ 20397 ac_x_libraries='$ac_x_libraries'" 20398esac 20399fi 20400;; #( 20401 *) have_x=yes;; 20402 esac 20403 eval "$ac_cv_have_x" 20404fi # $with_x != no 20405 20406if test "$have_x" != yes; then 20407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 20408$as_echo "$have_x" >&6; } 20409 no_x=yes 20410else 20411 # If each of the values was on the command line, it overrides each guess. 20412 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 20413 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 20414 # Update the cache value to reflect the command line values. 20415 ac_cv_have_x="have_x=yes\ 20416 ac_x_includes='$x_includes'\ 20417 ac_x_libraries='$x_libraries'" 20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 20419$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 20420fi 20421 20422if test "$no_x" = yes; then 20423 # Not all programs may use this symbol, but it does not hurt to define it. 20424 20425$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h 20426 20427 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= 20428else 20429 if test -n "$x_includes"; then 20430 X_CFLAGS="$X_CFLAGS -I$x_includes" 20431 fi 20432 20433 # It would also be nice to do this for all -L options, not just this one. 20434 if test -n "$x_libraries"; then 20435 X_LIBS="$X_LIBS -L$x_libraries" 20436 # For Solaris; some versions of Sun CC require a space after -R and 20437 # others require no space. Words are not sufficient . . . . 20438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 20439$as_echo_n "checking whether -R must be followed by a space... " >&6; } 20440 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 20441 ac_xsave_c_werror_flag=$ac_c_werror_flag 20442 ac_c_werror_flag=yes 20443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20444/* end confdefs.h. */ 20445 20446int 20447main () 20448{ 20449 20450 ; 20451 return 0; 20452} 20453_ACEOF 20454if ac_fn_c_try_link "$LINENO"; then : 20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20456$as_echo "no" >&6; } 20457 X_LIBS="$X_LIBS -R$x_libraries" 20458else 20459 LIBS="$ac_xsave_LIBS -R $x_libraries" 20460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20461/* end confdefs.h. */ 20462 20463int 20464main () 20465{ 20466 20467 ; 20468 return 0; 20469} 20470_ACEOF 20471if ac_fn_c_try_link "$LINENO"; then : 20472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20473$as_echo "yes" >&6; } 20474 X_LIBS="$X_LIBS -R $x_libraries" 20475else 20476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 20477$as_echo "neither works" >&6; } 20478fi 20479rm -f core conftest.err conftest.$ac_objext \ 20480 conftest$ac_exeext conftest.$ac_ext 20481fi 20482rm -f core conftest.err conftest.$ac_objext \ 20483 conftest$ac_exeext conftest.$ac_ext 20484 ac_c_werror_flag=$ac_xsave_c_werror_flag 20485 LIBS=$ac_xsave_LIBS 20486 fi 20487 20488 # Check for system-dependent libraries X programs must link with. 20489 # Do this before checking for the system-independent R6 libraries 20490 # (-lICE), since we may need -lsocket or whatever for X linking. 20491 20492 if test "$ISC" = yes; then 20493 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" 20494 else 20495 # Martyn Johnson says this is needed for Ultrix, if the X 20496 # libraries were built with DECnet support. And Karl Berry says 20497 # the Alpha needs dnet_stub (dnet does not exist). 20498 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" 20499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20500/* end confdefs.h. */ 20501 20502/* Override any GCC internal prototype to avoid an error. 20503 Use char because int might match the return type of a GCC 20504 builtin and then its argument prototype would still apply. */ 20505#ifdef __cplusplus 20506extern "C" 20507#endif 20508char XOpenDisplay (); 20509int 20510main () 20511{ 20512return XOpenDisplay (); 20513 ; 20514 return 0; 20515} 20516_ACEOF 20517if ac_fn_c_try_link "$LINENO"; then : 20518 20519else 20520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 20521$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 20522if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : 20523 $as_echo_n "(cached) " >&6 20524else 20525 ac_check_lib_save_LIBS=$LIBS 20526LIBS="-ldnet $LIBS" 20527cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20528/* end confdefs.h. */ 20529 20530/* Override any GCC internal prototype to avoid an error. 20531 Use char because int might match the return type of a GCC 20532 builtin and then its argument prototype would still apply. */ 20533#ifdef __cplusplus 20534extern "C" 20535#endif 20536char dnet_ntoa (); 20537int 20538main () 20539{ 20540return dnet_ntoa (); 20541 ; 20542 return 0; 20543} 20544_ACEOF 20545if ac_fn_c_try_link "$LINENO"; then : 20546 ac_cv_lib_dnet_dnet_ntoa=yes 20547else 20548 ac_cv_lib_dnet_dnet_ntoa=no 20549fi 20550rm -f core conftest.err conftest.$ac_objext \ 20551 conftest$ac_exeext conftest.$ac_ext 20552LIBS=$ac_check_lib_save_LIBS 20553fi 20554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 20555$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 20556if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : 20557 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 20558fi 20559 20560 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 20561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 20562$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 20563if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : 20564 $as_echo_n "(cached) " >&6 20565else 20566 ac_check_lib_save_LIBS=$LIBS 20567LIBS="-ldnet_stub $LIBS" 20568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20569/* end confdefs.h. */ 20570 20571/* Override any GCC internal prototype to avoid an error. 20572 Use char because int might match the return type of a GCC 20573 builtin and then its argument prototype would still apply. */ 20574#ifdef __cplusplus 20575extern "C" 20576#endif 20577char dnet_ntoa (); 20578int 20579main () 20580{ 20581return dnet_ntoa (); 20582 ; 20583 return 0; 20584} 20585_ACEOF 20586if ac_fn_c_try_link "$LINENO"; then : 20587 ac_cv_lib_dnet_stub_dnet_ntoa=yes 20588else 20589 ac_cv_lib_dnet_stub_dnet_ntoa=no 20590fi 20591rm -f core conftest.err conftest.$ac_objext \ 20592 conftest$ac_exeext conftest.$ac_ext 20593LIBS=$ac_check_lib_save_LIBS 20594fi 20595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 20596$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 20597if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : 20598 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 20599fi 20600 20601 fi 20602fi 20603rm -f core conftest.err conftest.$ac_objext \ 20604 conftest$ac_exeext conftest.$ac_ext 20605 LIBS="$ac_xsave_LIBS" 20606 20607 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 20608 # to get the SysV transport functions. 20609 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) 20610 # needs -lnsl. 20611 # The nsl library prevents programs from opening the X display 20612 # on Irix 5.2, according to T.E. Dickey. 20613 # The functions gethostbyname, getservbyname, and inet_addr are 20614 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 20615 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 20616if test "x$ac_cv_func_gethostbyname" = xyes; then : 20617 20618fi 20619 20620 if test $ac_cv_func_gethostbyname = no; then 20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 20622$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 20623if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 20624 $as_echo_n "(cached) " >&6 20625else 20626 ac_check_lib_save_LIBS=$LIBS 20627LIBS="-lnsl $LIBS" 20628cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20629/* end confdefs.h. */ 20630 20631/* Override any GCC internal prototype to avoid an error. 20632 Use char because int might match the return type of a GCC 20633 builtin and then its argument prototype would still apply. */ 20634#ifdef __cplusplus 20635extern "C" 20636#endif 20637char gethostbyname (); 20638int 20639main () 20640{ 20641return gethostbyname (); 20642 ; 20643 return 0; 20644} 20645_ACEOF 20646if ac_fn_c_try_link "$LINENO"; then : 20647 ac_cv_lib_nsl_gethostbyname=yes 20648else 20649 ac_cv_lib_nsl_gethostbyname=no 20650fi 20651rm -f core conftest.err conftest.$ac_objext \ 20652 conftest$ac_exeext conftest.$ac_ext 20653LIBS=$ac_check_lib_save_LIBS 20654fi 20655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 20656$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 20657if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 20658 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 20659fi 20660 20661 if test $ac_cv_lib_nsl_gethostbyname = no; then 20662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 20663$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 20664if ${ac_cv_lib_bsd_gethostbyname+:} false; then : 20665 $as_echo_n "(cached) " >&6 20666else 20667 ac_check_lib_save_LIBS=$LIBS 20668LIBS="-lbsd $LIBS" 20669cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20670/* end confdefs.h. */ 20671 20672/* Override any GCC internal prototype to avoid an error. 20673 Use char because int might match the return type of a GCC 20674 builtin and then its argument prototype would still apply. */ 20675#ifdef __cplusplus 20676extern "C" 20677#endif 20678char gethostbyname (); 20679int 20680main () 20681{ 20682return gethostbyname (); 20683 ; 20684 return 0; 20685} 20686_ACEOF 20687if ac_fn_c_try_link "$LINENO"; then : 20688 ac_cv_lib_bsd_gethostbyname=yes 20689else 20690 ac_cv_lib_bsd_gethostbyname=no 20691fi 20692rm -f core conftest.err conftest.$ac_objext \ 20693 conftest$ac_exeext conftest.$ac_ext 20694LIBS=$ac_check_lib_save_LIBS 20695fi 20696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 20697$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 20698if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : 20699 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 20700fi 20701 20702 fi 20703 fi 20704 20705 # lieder@skyler.mavd.honeywell.com says without -lsocket, 20706 # socket/setsockopt and other routines are undefined under SCO ODT 20707 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary 20708 # on later versions), says Simon Leinen: it contains gethostby* 20709 # variants that don't use the name server (or something). -lsocket 20710 # must be given before -lnsl if both are needed. We assume that 20711 # if connect needs -lnsl, so does gethostbyname. 20712 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" 20713if test "x$ac_cv_func_connect" = xyes; then : 20714 20715fi 20716 20717 if test $ac_cv_func_connect = no; then 20718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 20719$as_echo_n "checking for connect in -lsocket... " >&6; } 20720if ${ac_cv_lib_socket_connect+:} false; then : 20721 $as_echo_n "(cached) " >&6 20722else 20723 ac_check_lib_save_LIBS=$LIBS 20724LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 20725cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20726/* end confdefs.h. */ 20727 20728/* Override any GCC internal prototype to avoid an error. 20729 Use char because int might match the return type of a GCC 20730 builtin and then its argument prototype would still apply. */ 20731#ifdef __cplusplus 20732extern "C" 20733#endif 20734char connect (); 20735int 20736main () 20737{ 20738return connect (); 20739 ; 20740 return 0; 20741} 20742_ACEOF 20743if ac_fn_c_try_link "$LINENO"; then : 20744 ac_cv_lib_socket_connect=yes 20745else 20746 ac_cv_lib_socket_connect=no 20747fi 20748rm -f core conftest.err conftest.$ac_objext \ 20749 conftest$ac_exeext conftest.$ac_ext 20750LIBS=$ac_check_lib_save_LIBS 20751fi 20752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 20753$as_echo "$ac_cv_lib_socket_connect" >&6; } 20754if test "x$ac_cv_lib_socket_connect" = xyes; then : 20755 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 20756fi 20757 20758 fi 20759 20760 # Guillermo Gomez says -lposix is necessary on A/UX. 20761 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" 20762if test "x$ac_cv_func_remove" = xyes; then : 20763 20764fi 20765 20766 if test $ac_cv_func_remove = no; then 20767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 20768$as_echo_n "checking for remove in -lposix... " >&6; } 20769if ${ac_cv_lib_posix_remove+:} false; then : 20770 $as_echo_n "(cached) " >&6 20771else 20772 ac_check_lib_save_LIBS=$LIBS 20773LIBS="-lposix $LIBS" 20774cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20775/* end confdefs.h. */ 20776 20777/* Override any GCC internal prototype to avoid an error. 20778 Use char because int might match the return type of a GCC 20779 builtin and then its argument prototype would still apply. */ 20780#ifdef __cplusplus 20781extern "C" 20782#endif 20783char remove (); 20784int 20785main () 20786{ 20787return remove (); 20788 ; 20789 return 0; 20790} 20791_ACEOF 20792if ac_fn_c_try_link "$LINENO"; then : 20793 ac_cv_lib_posix_remove=yes 20794else 20795 ac_cv_lib_posix_remove=no 20796fi 20797rm -f core conftest.err conftest.$ac_objext \ 20798 conftest$ac_exeext conftest.$ac_ext 20799LIBS=$ac_check_lib_save_LIBS 20800fi 20801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 20802$as_echo "$ac_cv_lib_posix_remove" >&6; } 20803if test "x$ac_cv_lib_posix_remove" = xyes; then : 20804 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 20805fi 20806 20807 fi 20808 20809 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 20810 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 20811if test "x$ac_cv_func_shmat" = xyes; then : 20812 20813fi 20814 20815 if test $ac_cv_func_shmat = no; then 20816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 20817$as_echo_n "checking for shmat in -lipc... " >&6; } 20818if ${ac_cv_lib_ipc_shmat+:} false; then : 20819 $as_echo_n "(cached) " >&6 20820else 20821 ac_check_lib_save_LIBS=$LIBS 20822LIBS="-lipc $LIBS" 20823cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20824/* end confdefs.h. */ 20825 20826/* Override any GCC internal prototype to avoid an error. 20827 Use char because int might match the return type of a GCC 20828 builtin and then its argument prototype would still apply. */ 20829#ifdef __cplusplus 20830extern "C" 20831#endif 20832char shmat (); 20833int 20834main () 20835{ 20836return shmat (); 20837 ; 20838 return 0; 20839} 20840_ACEOF 20841if ac_fn_c_try_link "$LINENO"; then : 20842 ac_cv_lib_ipc_shmat=yes 20843else 20844 ac_cv_lib_ipc_shmat=no 20845fi 20846rm -f core conftest.err conftest.$ac_objext \ 20847 conftest$ac_exeext conftest.$ac_ext 20848LIBS=$ac_check_lib_save_LIBS 20849fi 20850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 20851$as_echo "$ac_cv_lib_ipc_shmat" >&6; } 20852if test "x$ac_cv_lib_ipc_shmat" = xyes; then : 20853 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 20854fi 20855 20856 fi 20857 fi 20858 20859 # Check for libraries that X11R6 Xt/Xaw programs need. 20860 ac_save_LDFLAGS=$LDFLAGS 20861 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" 20862 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to 20863 # check for ICE first), but we must link in the order -lSM -lICE or 20864 # we get undefined symbols. So assume we have SM if we have ICE. 20865 # These have to be linked with before -lX11, unlike the other 20866 # libraries we check for below, so use a different variable. 20867 # John Interrante, Karl Berry 20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 20869$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 20870if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : 20871 $as_echo_n "(cached) " >&6 20872else 20873 ac_check_lib_save_LIBS=$LIBS 20874LIBS="-lICE $X_EXTRA_LIBS $LIBS" 20875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20876/* end confdefs.h. */ 20877 20878/* Override any GCC internal prototype to avoid an error. 20879 Use char because int might match the return type of a GCC 20880 builtin and then its argument prototype would still apply. */ 20881#ifdef __cplusplus 20882extern "C" 20883#endif 20884char IceConnectionNumber (); 20885int 20886main () 20887{ 20888return IceConnectionNumber (); 20889 ; 20890 return 0; 20891} 20892_ACEOF 20893if ac_fn_c_try_link "$LINENO"; then : 20894 ac_cv_lib_ICE_IceConnectionNumber=yes 20895else 20896 ac_cv_lib_ICE_IceConnectionNumber=no 20897fi 20898rm -f core conftest.err conftest.$ac_objext \ 20899 conftest$ac_exeext conftest.$ac_ext 20900LIBS=$ac_check_lib_save_LIBS 20901fi 20902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 20903$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 20904if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : 20905 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 20906fi 20907 20908 LDFLAGS=$ac_save_LDFLAGS 20909 20910fi 20911 20912if test "x$with_x" = xyes; then 20913 if test "x$no_x" = xyes; then 20914 as_fn_error $? "Sorry, could not find X include and library files required for Metafont." "$LINENO" 5 20915 fi 20916 test -n "$x_libraries" && XLFLAG="-L$x_libraries" 20917 wlibs="$XLFLAG -lX11" 20918 if test -z "$x_ext_lib"; then # allow envvar override 20919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XextCreateExtension in -lXext" >&5 20920$as_echo_n "checking for XextCreateExtension in -lXext... " >&6; } 20921if ${ac_cv_lib_Xext_XextCreateExtension+:} false; then : 20922 $as_echo_n "(cached) " >&6 20923else 20924 ac_check_lib_save_LIBS=$LIBS 20925LIBS="-lXext $wlibs $X_EXTRA_LIBS $LIBS" 20926cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20927/* end confdefs.h. */ 20928 20929/* Override any GCC internal prototype to avoid an error. 20930 Use char because int might match the return type of a GCC 20931 builtin and then its argument prototype would still apply. */ 20932#ifdef __cplusplus 20933extern "C" 20934#endif 20935char XextCreateExtension (); 20936int 20937main () 20938{ 20939return XextCreateExtension (); 20940 ; 20941 return 0; 20942} 20943_ACEOF 20944if ac_fn_c_try_link "$LINENO"; then : 20945 ac_cv_lib_Xext_XextCreateExtension=yes 20946else 20947 ac_cv_lib_Xext_XextCreateExtension=no 20948fi 20949rm -f core conftest.err conftest.$ac_objext \ 20950 conftest$ac_exeext conftest.$ac_ext 20951LIBS=$ac_check_lib_save_LIBS 20952fi 20953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XextCreateExtension" >&5 20954$as_echo "$ac_cv_lib_Xext_XextCreateExtension" >&6; } 20955if test "x$ac_cv_lib_Xext_XextCreateExtension" = xyes; then : 20956 x_ext_lib=-lXext 20957fi 20958 20959 fi 20960 test "x$with_mf_x_toolkit" = xyes && x_tool_libs="-lXt" 20961 20962$as_echo "#define X11WIN 1" >>confdefs.h 20963 20964fi 20965 if test "x$with_mf_x_toolkit" = xyes; then 20966 MFXT_TRUE= 20967 MFXT_FALSE='#' 20968else 20969 MFXT_TRUE='#' 20970 MFXT_FALSE= 20971fi 20972 20973 20974 20975 20976 20977if test "x$enable_epsfwin" = xyes; then : 20978 20979$as_echo "#define EPSFWIN /**/" >>confdefs.h 20980 20981fi 20982if test "x$enable_hp2627win" = xyes; then : 20983 20984$as_echo "#define HP2627WIN /**/" >>confdefs.h 20985 20986fi 20987if test "x$enable_mftalkwin" = xyes; then : 20988 20989$as_echo "#define MFTALKWIN /**/" >>confdefs.h 20990 20991fi 20992if test "x$enable_nextwin" = xyes; then : 20993 20994$as_echo "#define NEXTWIN /**/" >>confdefs.h 20995 20996fi 20997if test "x$enable_regiswin" = xyes; then : 20998 20999$as_echo "#define REGISWIN /**/" >>confdefs.h 21000 21001fi 21002if test "x$enable_suntoolswin" = xyes; then : 21003 21004$as_echo "#define SUNWIN /**/" >>confdefs.h 21005 21006fi 21007if test "x$enable_tektronixwin" = xyes; then : 21008 21009$as_echo "#define TEKTRONIXWIN /**/" >>confdefs.h 21010 21011fi 21012if test "x$enable_unitermwin" = xyes; then : 21013 21014$as_echo "#define UNITERMWIN /**/" >>confdefs.h 21015 21016fi 21017 21018 if test "x$enable_web_progs" != xno; then 21019 WEB_TRUE= 21020 WEB_FALSE='#' 21021else 21022 WEB_TRUE='#' 21023 WEB_FALSE= 21024fi 21025 21026 21027if test "x$enable_ptex:$enable_eptex" = xno:no; then : 21028 enable_pweb_progs=no 21029else 21030 enable_pweb_progs=$enable_web_progs 21031fi 21032 if test "x$enable_pweb_progs" != xno; then 21033 PWEB_TRUE= 21034 PWEB_FALSE='#' 21035else 21036 PWEB_TRUE='#' 21037 PWEB_FALSE= 21038fi 21039 21040 21041if test "x$enable_uptex:$enable_euptex" = xno:no; then : 21042 enable_upweb_progs=no 21043else 21044 enable_upweb_progs=$enable_web_progs 21045fi 21046 if test "x$enable_upweb_progs" != xno; then 21047 UPWEB_TRUE= 21048 UPWEB_FALSE='#' 21049else 21050 UPWEB_TRUE='#' 21051 UPWEB_FALSE= 21052fi 21053 21054 21055for ac_prog in 'bison -y' byacc 21056do 21057 # Extract the first word of "$ac_prog", so it can be a program name with args. 21058set dummy $ac_prog; ac_word=$2 21059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21060$as_echo_n "checking for $ac_word... " >&6; } 21061if ${ac_cv_prog_YACC+:} false; then : 21062 $as_echo_n "(cached) " >&6 21063else 21064 if test -n "$YACC"; then 21065 ac_cv_prog_YACC="$YACC" # Let the user override the test. 21066else 21067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21068for as_dir in $PATH 21069do 21070 IFS=$as_save_IFS 21071 test -z "$as_dir" && as_dir=. 21072 for ac_exec_ext in '' $ac_executable_extensions; do 21073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 21074 ac_cv_prog_YACC="$ac_prog" 21075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21076 break 2 21077 fi 21078done 21079 done 21080IFS=$as_save_IFS 21081 21082fi 21083fi 21084YACC=$ac_cv_prog_YACC 21085if test -n "$YACC"; then 21086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 21087$as_echo "$YACC" >&6; } 21088else 21089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21090$as_echo "no" >&6; } 21091fi 21092 21093 21094 test -n "$YACC" && break 21095done 21096test -n "$YACC" || YACC="yacc" 21097 21098for ac_prog in flex lex 21099do 21100 # Extract the first word of "$ac_prog", so it can be a program name with args. 21101set dummy $ac_prog; ac_word=$2 21102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21103$as_echo_n "checking for $ac_word... " >&6; } 21104if ${ac_cv_prog_LEX+:} false; then : 21105 $as_echo_n "(cached) " >&6 21106else 21107 if test -n "$LEX"; then 21108 ac_cv_prog_LEX="$LEX" # Let the user override the test. 21109else 21110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21111for as_dir in $PATH 21112do 21113 IFS=$as_save_IFS 21114 test -z "$as_dir" && as_dir=. 21115 for ac_exec_ext in '' $ac_executable_extensions; do 21116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 21117 ac_cv_prog_LEX="$ac_prog" 21118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21119 break 2 21120 fi 21121done 21122 done 21123IFS=$as_save_IFS 21124 21125fi 21126fi 21127LEX=$ac_cv_prog_LEX 21128if test -n "$LEX"; then 21129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 21130$as_echo "$LEX" >&6; } 21131else 21132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21133$as_echo "no" >&6; } 21134fi 21135 21136 21137 test -n "$LEX" && break 21138done 21139test -n "$LEX" || LEX=":" 21140 21141if test "x$LEX" != "x:"; then 21142 cat >conftest.l <<_ACEOF 21143%% 21144a { ECHO; } 21145b { REJECT; } 21146c { yymore (); } 21147d { yyless (1); } 21148e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ 21149 yyless ((input () != 0)); } 21150f { unput (yytext[0]); } 21151. { BEGIN INITIAL; } 21152%% 21153#ifdef YYTEXT_POINTER 21154extern char *yytext; 21155#endif 21156int 21157main (void) 21158{ 21159 return ! yylex () + ! yywrap (); 21160} 21161_ACEOF 21162{ { ac_try="$LEX conftest.l" 21163case "(($ac_try" in 21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21165 *) ac_try_echo=$ac_try;; 21166esac 21167eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 21168$as_echo "$ac_try_echo"; } >&5 21169 (eval "$LEX conftest.l") 2>&5 21170 ac_status=$? 21171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21172 test $ac_status = 0; } 21173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 21174$as_echo_n "checking lex output file root... " >&6; } 21175if ${ac_cv_prog_lex_root+:} false; then : 21176 $as_echo_n "(cached) " >&6 21177else 21178 21179if test -f lex.yy.c; then 21180 ac_cv_prog_lex_root=lex.yy 21181elif test -f lexyy.c; then 21182 ac_cv_prog_lex_root=lexyy 21183else 21184 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 21185fi 21186fi 21187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 21188$as_echo "$ac_cv_prog_lex_root" >&6; } 21189LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 21190 21191if test -z "${LEXLIB+set}"; then 21192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 21193$as_echo_n "checking lex library... " >&6; } 21194if ${ac_cv_lib_lex+:} false; then : 21195 $as_echo_n "(cached) " >&6 21196else 21197 21198 ac_save_LIBS=$LIBS 21199 ac_cv_lib_lex='none needed' 21200 for ac_lib in '' -lfl -ll; do 21201 LIBS="$ac_lib $ac_save_LIBS" 21202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21203/* end confdefs.h. */ 21204`cat $LEX_OUTPUT_ROOT.c` 21205_ACEOF 21206if ac_fn_c_try_link "$LINENO"; then : 21207 ac_cv_lib_lex=$ac_lib 21208fi 21209rm -f core conftest.err conftest.$ac_objext \ 21210 conftest$ac_exeext conftest.$ac_ext 21211 test "$ac_cv_lib_lex" != 'none needed' && break 21212 done 21213 LIBS=$ac_save_LIBS 21214 21215fi 21216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 21217$as_echo "$ac_cv_lib_lex" >&6; } 21218 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 21219fi 21220 21221 21222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 21223$as_echo_n "checking whether yytext is a pointer... " >&6; } 21224if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 21225 $as_echo_n "(cached) " >&6 21226else 21227 # POSIX says lex can declare yytext either as a pointer or an array; the 21228# default is implementation-dependent. Figure out which it is, since 21229# not all implementations provide the %pointer and %array declarations. 21230ac_cv_prog_lex_yytext_pointer=no 21231ac_save_LIBS=$LIBS 21232LIBS="$LEXLIB $ac_save_LIBS" 21233cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21234/* end confdefs.h. */ 21235 21236 #define YYTEXT_POINTER 1 21237`cat $LEX_OUTPUT_ROOT.c` 21238_ACEOF 21239if ac_fn_c_try_link "$LINENO"; then : 21240 ac_cv_prog_lex_yytext_pointer=yes 21241fi 21242rm -f core conftest.err conftest.$ac_objext \ 21243 conftest$ac_exeext conftest.$ac_ext 21244LIBS=$ac_save_LIBS 21245 21246fi 21247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 21248$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 21249if test $ac_cv_prog_lex_yytext_pointer = yes; then 21250 21251$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 21252 21253fi 21254rm -f conftest.l $LEX_OUTPUT_ROOT.c 21255 21256fi 21257 21258# Work around a problem with Flex Version 2.5.31 which needs -l flag. 21259# Since all recent versions of flex support -l, don't check for the 21260# specific version, but check that at least "--version" is supported. 21261# We also want to catch LEX=/some/where/flex, so: 21262case $LEX in 21263 *flex) $LEX --version >/dev/null 2>&1 && LEX="$LEX -l" ;; 21264esac 21265 21266 21267# Needed on A/UX 3.0. I don't want to pull in other -lposix's, though. 21268# From: bernt@weinberg.pop.bio.aau.dk (Bernt Guldbrandtsen) 21269if test `(uname) 2>/dev/null` = aux; then 21270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigemptyset in -lposix" >&5 21271$as_echo_n "checking for sigemptyset in -lposix... " >&6; } 21272if ${ac_cv_lib_posix_sigemptyset+:} false; then : 21273 $as_echo_n "(cached) " >&6 21274else 21275 ac_check_lib_save_LIBS=$LIBS 21276LIBS="-lposix $LIBS" 21277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21278/* end confdefs.h. */ 21279 21280/* Override any GCC internal prototype to avoid an error. 21281 Use char because int might match the return type of a GCC 21282 builtin and then its argument prototype would still apply. */ 21283#ifdef __cplusplus 21284extern "C" 21285#endif 21286char sigemptyset (); 21287int 21288main () 21289{ 21290return sigemptyset (); 21291 ; 21292 return 0; 21293} 21294_ACEOF 21295if ac_fn_c_try_link "$LINENO"; then : 21296 ac_cv_lib_posix_sigemptyset=yes 21297else 21298 ac_cv_lib_posix_sigemptyset=no 21299fi 21300rm -f core conftest.err conftest.$ac_objext \ 21301 conftest$ac_exeext conftest.$ac_ext 21302LIBS=$ac_check_lib_save_LIBS 21303fi 21304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_sigemptyset" >&5 21305$as_echo "$ac_cv_lib_posix_sigemptyset" >&6; } 21306if test "x$ac_cv_lib_posix_sigemptyset" = xyes; then : 21307 cat >>confdefs.h <<_ACEOF 21308#define HAVE_LIBPOSIX 1 21309_ACEOF 21310 21311 LIBS="-lposix $LIBS" 21312 21313fi 21314 21315fi 21316 21317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5 21318$as_echo_n "checking whether char is unsigned... " >&6; } 21319if ${ac_cv_c_char_unsigned+:} false; then : 21320 $as_echo_n "(cached) " >&6 21321else 21322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21323/* end confdefs.h. */ 21324$ac_includes_default 21325int 21326main () 21327{ 21328static int test_array [1 - 2 * !(((char) -1) < 0)]; 21329test_array [0] = 0; 21330return test_array [0]; 21331 21332 ; 21333 return 0; 21334} 21335_ACEOF 21336if ac_fn_c_try_compile "$LINENO"; then : 21337 ac_cv_c_char_unsigned=no 21338else 21339 ac_cv_c_char_unsigned=yes 21340fi 21341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21342fi 21343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5 21344$as_echo "$ac_cv_c_char_unsigned" >&6; } 21345if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then 21346 $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h 21347 21348fi 21349 21350# The cast to long int works around a bug in the HP C Compiler 21351# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21352# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21353# This bug is HP SR number 8606223364. 21354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 21355$as_echo_n "checking size of int... " >&6; } 21356if ${ac_cv_sizeof_int+:} false; then : 21357 $as_echo_n "(cached) " >&6 21358else 21359 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 21360 21361else 21362 if test "$ac_cv_type_int" = yes; then 21363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21364$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21365as_fn_error 77 "cannot compute sizeof (int) 21366See \`config.log' for more details" "$LINENO" 5; } 21367 else 21368 ac_cv_sizeof_int=0 21369 fi 21370fi 21371 21372fi 21373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 21374$as_echo "$ac_cv_sizeof_int" >&6; } 21375 21376 21377 21378cat >>confdefs.h <<_ACEOF 21379#define SIZEOF_INT $ac_cv_sizeof_int 21380_ACEOF 21381 21382 21383if test $ac_cv_sizeof_int -lt 4; then 21384 as_fn_error $? "Sorry, need \`int' with at least 4 bytes." "$LINENO" 5 21385fi 21386# The cast to long int works around a bug in the HP C Compiler 21387# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21388# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21389# This bug is HP SR number 8606223364. 21390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 21391$as_echo_n "checking size of long... " >&6; } 21392if ${ac_cv_sizeof_long+:} false; then : 21393 $as_echo_n "(cached) " >&6 21394else 21395 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 21396 21397else 21398 if test "$ac_cv_type_long" = yes; then 21399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21400$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21401as_fn_error 77 "cannot compute sizeof (long) 21402See \`config.log' for more details" "$LINENO" 5; } 21403 else 21404 ac_cv_sizeof_long=0 21405 fi 21406fi 21407 21408fi 21409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 21410$as_echo "$ac_cv_sizeof_long" >&6; } 21411 21412 21413 21414cat >>confdefs.h <<_ACEOF 21415#define SIZEOF_LONG $ac_cv_sizeof_long 21416_ACEOF 21417 21418 21419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5 21420$as_echo_n "checking for library containing pow... " >&6; } 21421if ${ac_cv_search_pow+:} false; then : 21422 $as_echo_n "(cached) " >&6 21423else 21424 ac_func_search_save_LIBS=$LIBS 21425cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21426/* end confdefs.h. */ 21427 21428/* Override any GCC internal prototype to avoid an error. 21429 Use char because int might match the return type of a GCC 21430 builtin and then its argument prototype would still apply. */ 21431#ifdef __cplusplus 21432extern "C" 21433#endif 21434char pow (); 21435int 21436main () 21437{ 21438return pow (); 21439 ; 21440 return 0; 21441} 21442_ACEOF 21443for ac_lib in '' m; do 21444 if test -z "$ac_lib"; then 21445 ac_res="none required" 21446 else 21447 ac_res=-l$ac_lib 21448 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 21449 fi 21450 if ac_fn_c_try_link "$LINENO"; then : 21451 ac_cv_search_pow=$ac_res 21452fi 21453rm -f core conftest.err conftest.$ac_objext \ 21454 conftest$ac_exeext 21455 if ${ac_cv_search_pow+:} false; then : 21456 break 21457fi 21458done 21459if ${ac_cv_search_pow+:} false; then : 21460 21461else 21462 ac_cv_search_pow=no 21463fi 21464rm conftest.$ac_ext 21465LIBS=$ac_func_search_save_LIBS 21466fi 21467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5 21468$as_echo "$ac_cv_search_pow" >&6; } 21469ac_res=$ac_cv_search_pow 21470if test "$ac_res" != no; then : 21471 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 21472 21473fi 21474 21475for ac_func in access atoi fmax ftime gettimeofday mkdtemp setlocale strerror strlcat strlcpy strndup 21476do : 21477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 21478ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 21479if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 21480 cat >>confdefs.h <<_ACEOF 21481#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 21482_ACEOF 21483 21484fi 21485done 21486 21487ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" 21488if test "x$ac_cv_have_decl_strndup" = xyes; then : 21489 ac_have_decl=1 21490else 21491 ac_have_decl=0 21492fi 21493 21494cat >>confdefs.h <<_ACEOF 21495#define HAVE_DECL_STRNDUP $ac_have_decl 21496_ACEOF 21497 21498for ac_header in errno.h langinfo.h locale.h sys/time.h sys/timeb.h sys/wait.h time.h 21499do : 21500 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21501ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21502if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21503 cat >>confdefs.h <<_ACEOF 21504#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21505_ACEOF 21506 21507fi 21508 21509done 21510 21511# The cast to long int works around a bug in the HP C Compiler 21512# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21513# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21514# This bug is HP SR number 8606223364. 21515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 21516$as_echo_n "checking size of void *... " >&6; } 21517if ${ac_cv_sizeof_void_p+:} false; then : 21518 $as_echo_n "(cached) " >&6 21519else 21520 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 21521 21522else 21523 if test "$ac_cv_type_void_p" = yes; then 21524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21525$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21526as_fn_error 77 "cannot compute sizeof (void *) 21527See \`config.log' for more details" "$LINENO" 5; } 21528 else 21529 ac_cv_sizeof_void_p=0 21530 fi 21531fi 21532 21533fi 21534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 21535$as_echo "$ac_cv_sizeof_void_p" >&6; } 21536 21537 21538 21539cat >>confdefs.h <<_ACEOF 21540#define SIZEOF_VOID_P $ac_cv_sizeof_void_p 21541_ACEOF 21542 21543 21544 21545 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" 21546if test "x$ac_cv_type_uintptr_t" = xyes; then : 21547 21548$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h 21549 21550else 21551 for ac_type in 'unsigned int' 'unsigned long int' \ 21552 'unsigned long long int'; do 21553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21554/* end confdefs.h. */ 21555$ac_includes_default 21556int 21557main () 21558{ 21559static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; 21560test_array [0] = 0; 21561return test_array [0]; 21562 21563 ; 21564 return 0; 21565} 21566_ACEOF 21567if ac_fn_c_try_compile "$LINENO"; then : 21568 21569cat >>confdefs.h <<_ACEOF 21570#define uintptr_t $ac_type 21571_ACEOF 21572 21573 ac_type= 21574fi 21575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21576 test -z "$ac_type" && break 21577 done 21578fi 21579 21580 21581 21582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5 21583$as_echo_n "checking for long double... " >&6; } 21584if ${ac_cv_type_long_double+:} false; then : 21585 $as_echo_n "(cached) " >&6 21586else 21587 if test "$GCC" = yes; then 21588 ac_cv_type_long_double=yes 21589 else 21590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21591/* end confdefs.h. */ 21592/* The Stardent Vistra knows sizeof (long double), but does 21593 not support it. */ 21594 long double foo = 0.0L; 21595int 21596main () 21597{ 21598static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */ 21599 sizeof (double) <= sizeof (long double))]; 21600test_array [0] = 0; 21601return test_array [0]; 21602 21603 ; 21604 return 0; 21605} 21606_ACEOF 21607if ac_fn_c_try_compile "$LINENO"; then : 21608 ac_cv_type_long_double=yes 21609else 21610 ac_cv_type_long_double=no 21611fi 21612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21613 fi 21614fi 21615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5 21616$as_echo "$ac_cv_type_long_double" >&6; } 21617 if test $ac_cv_type_long_double = yes; then 21618 21619$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h 21620 21621 fi 21622 21623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 21624$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 21625if ${ac_cv_header_stdbool_h+:} false; then : 21626 $as_echo_n "(cached) " >&6 21627else 21628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21629/* end confdefs.h. */ 21630 21631 #include <stdbool.h> 21632 #ifndef bool 21633 "error: bool is not defined" 21634 #endif 21635 #ifndef false 21636 "error: false is not defined" 21637 #endif 21638 #if false 21639 "error: false is not 0" 21640 #endif 21641 #ifndef true 21642 "error: true is not defined" 21643 #endif 21644 #if true != 1 21645 "error: true is not 1" 21646 #endif 21647 #ifndef __bool_true_false_are_defined 21648 "error: __bool_true_false_are_defined is not defined" 21649 #endif 21650 21651 struct s { _Bool s: 1; _Bool t; } s; 21652 21653 char a[true == 1 ? 1 : -1]; 21654 char b[false == 0 ? 1 : -1]; 21655 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 21656 char d[(bool) 0.5 == true ? 1 : -1]; 21657 /* See body of main program for 'e'. */ 21658 char f[(_Bool) 0.0 == false ? 1 : -1]; 21659 char g[true]; 21660 char h[sizeof (_Bool)]; 21661 char i[sizeof s.t]; 21662 enum { j = false, k = true, l = false * true, m = true * 256 }; 21663 /* The following fails for 21664 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 21665 _Bool n[m]; 21666 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 21667 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 21668 /* Catch a bug in an HP-UX C compiler. See 21669 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 21670 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 21671 */ 21672 _Bool q = true; 21673 _Bool *pq = &q; 21674 21675int 21676main () 21677{ 21678 21679 bool e = &s; 21680 *pq |= q; 21681 *pq |= ! q; 21682 /* Refer to every declared value, to avoid compiler optimizations. */ 21683 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 21684 + !m + !n + !o + !p + !q + !pq); 21685 21686 ; 21687 return 0; 21688} 21689_ACEOF 21690if ac_fn_c_try_compile "$LINENO"; then : 21691 ac_cv_header_stdbool_h=yes 21692else 21693 ac_cv_header_stdbool_h=no 21694fi 21695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21696fi 21697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 21698$as_echo "$ac_cv_header_stdbool_h" >&6; } 21699 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 21700if test "x$ac_cv_type__Bool" = xyes; then : 21701 21702cat >>confdefs.h <<_ACEOF 21703#define HAVE__BOOL 1 21704_ACEOF 21705 21706 21707fi 21708 21709 21710if test $ac_cv_header_stdbool_h = yes; then 21711 21712$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h 21713 21714fi 21715 21716 21717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 21718$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 21719if ${ac_cv_c_bigendian+:} false; then : 21720 $as_echo_n "(cached) " >&6 21721else 21722 ac_cv_c_bigendian=unknown 21723 # See if we're dealing with a universal compiler. 21724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21725/* end confdefs.h. */ 21726#ifndef __APPLE_CC__ 21727 not a universal capable compiler 21728 #endif 21729 typedef int dummy; 21730 21731_ACEOF 21732if ac_fn_c_try_compile "$LINENO"; then : 21733 21734 # Check for potential -arch flags. It is not universal unless 21735 # there are at least two -arch flags with different values. 21736 ac_arch= 21737 ac_prev= 21738 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 21739 if test -n "$ac_prev"; then 21740 case $ac_word in 21741 i?86 | x86_64 | ppc | ppc64) 21742 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 21743 ac_arch=$ac_word 21744 else 21745 ac_cv_c_bigendian=universal 21746 break 21747 fi 21748 ;; 21749 esac 21750 ac_prev= 21751 elif test "x$ac_word" = "x-arch"; then 21752 ac_prev=arch 21753 fi 21754 done 21755fi 21756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21757 if test $ac_cv_c_bigendian = unknown; then 21758 # See if sys/param.h defines the BYTE_ORDER macro. 21759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21760/* end confdefs.h. */ 21761#include <sys/types.h> 21762 #include <sys/param.h> 21763 21764int 21765main () 21766{ 21767#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 21768 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 21769 && LITTLE_ENDIAN) 21770 bogus endian macros 21771 #endif 21772 21773 ; 21774 return 0; 21775} 21776_ACEOF 21777if ac_fn_c_try_compile "$LINENO"; then : 21778 # It does; now see whether it defined to BIG_ENDIAN or not. 21779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21780/* end confdefs.h. */ 21781#include <sys/types.h> 21782 #include <sys/param.h> 21783 21784int 21785main () 21786{ 21787#if BYTE_ORDER != BIG_ENDIAN 21788 not big endian 21789 #endif 21790 21791 ; 21792 return 0; 21793} 21794_ACEOF 21795if ac_fn_c_try_compile "$LINENO"; then : 21796 ac_cv_c_bigendian=yes 21797else 21798 ac_cv_c_bigendian=no 21799fi 21800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21801fi 21802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21803 fi 21804 if test $ac_cv_c_bigendian = unknown; then 21805 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 21806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21807/* end confdefs.h. */ 21808#include <limits.h> 21809 21810int 21811main () 21812{ 21813#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 21814 bogus endian macros 21815 #endif 21816 21817 ; 21818 return 0; 21819} 21820_ACEOF 21821if ac_fn_c_try_compile "$LINENO"; then : 21822 # It does; now see whether it defined to _BIG_ENDIAN or not. 21823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21824/* end confdefs.h. */ 21825#include <limits.h> 21826 21827int 21828main () 21829{ 21830#ifndef _BIG_ENDIAN 21831 not big endian 21832 #endif 21833 21834 ; 21835 return 0; 21836} 21837_ACEOF 21838if ac_fn_c_try_compile "$LINENO"; then : 21839 ac_cv_c_bigendian=yes 21840else 21841 ac_cv_c_bigendian=no 21842fi 21843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21844fi 21845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21846 fi 21847 if test $ac_cv_c_bigendian = unknown; then 21848 # Compile a test program. 21849 if test "$cross_compiling" = yes; then : 21850 # Try to guess by grepping values from an object file. 21851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21852/* end confdefs.h. */ 21853short int ascii_mm[] = 21854 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 21855 short int ascii_ii[] = 21856 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 21857 int use_ascii (int i) { 21858 return ascii_mm[i] + ascii_ii[i]; 21859 } 21860 short int ebcdic_ii[] = 21861 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 21862 short int ebcdic_mm[] = 21863 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 21864 int use_ebcdic (int i) { 21865 return ebcdic_mm[i] + ebcdic_ii[i]; 21866 } 21867 extern int foo; 21868 21869int 21870main () 21871{ 21872return use_ascii (foo) == use_ebcdic (foo); 21873 ; 21874 return 0; 21875} 21876_ACEOF 21877if ac_fn_c_try_compile "$LINENO"; then : 21878 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 21879 ac_cv_c_bigendian=yes 21880 fi 21881 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 21882 if test "$ac_cv_c_bigendian" = unknown; then 21883 ac_cv_c_bigendian=no 21884 else 21885 # finding both strings is unlikely to happen, but who knows? 21886 ac_cv_c_bigendian=unknown 21887 fi 21888 fi 21889fi 21890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21891else 21892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21893/* end confdefs.h. */ 21894$ac_includes_default 21895int 21896main () 21897{ 21898 21899 /* Are we little or big endian? From Harbison&Steele. */ 21900 union 21901 { 21902 long int l; 21903 char c[sizeof (long int)]; 21904 } u; 21905 u.l = 1; 21906 return u.c[sizeof (long int) - 1] == 1; 21907 21908 ; 21909 return 0; 21910} 21911_ACEOF 21912if ac_fn_c_try_run "$LINENO"; then : 21913 ac_cv_c_bigendian=no 21914else 21915 ac_cv_c_bigendian=yes 21916fi 21917rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21918 conftest.$ac_objext conftest.beam conftest.$ac_ext 21919fi 21920 21921 fi 21922fi 21923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 21924$as_echo "$ac_cv_c_bigendian" >&6; } 21925 case $ac_cv_c_bigendian in #( 21926 yes) 21927 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 21928;; #( 21929 no) 21930 ;; #( 21931 universal) 21932 21933$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 21934 21935 ;; #( 21936 *) 21937 as_fn_error $? "unknown endianness 21938 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 21939 esac 21940 21941 21942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 21943$as_echo_n "checking return type of signal handlers... " >&6; } 21944if ${ac_cv_type_signal+:} false; then : 21945 $as_echo_n "(cached) " >&6 21946else 21947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21948/* end confdefs.h. */ 21949#include <sys/types.h> 21950#include <signal.h> 21951 21952int 21953main () 21954{ 21955return *(signal (0, 0)) (0) == 1; 21956 ; 21957 return 0; 21958} 21959_ACEOF 21960if ac_fn_c_try_compile "$LINENO"; then : 21961 ac_cv_type_signal=int 21962else 21963 ac_cv_type_signal=void 21964fi 21965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21966fi 21967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 21968$as_echo "$ac_cv_type_signal" >&6; } 21969 21970cat >>confdefs.h <<_ACEOF 21971#define RETSIGTYPE $ac_cv_type_signal 21972_ACEOF 21973 21974 21975 21976kpse_save_CPPFLAGS=$CPPFLAGS 21977kpse_save_LIBS=$LIBS 21978 21979## _KPSE_INIT: Initialize TL infrastructure 21980kpse_BLD=`(cd "./../../." && pwd)` 21981kpse_SRC=`(cd "$srcdir/../../." && pwd)` 21982 21983## _KPSE_USE_LIBTOOL: Generate a libtool script for use in configure tests 21984: ${CONFIG_LT=./config.lt} 21985{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 21986$as_echo "$as_me: creating $CONFIG_LT" >&6;} 21987as_write_fail=0 21988cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1 21989#! $SHELL 21990# Generated by $as_me. 21991# Run this file to recreate a libtool stub with the current configuration. 21992SHELL=\${CONFIG_SHELL-$SHELL} 21993export SHELL 21994_ASEOF 21995cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1 21996## -------------------- ## 21997## M4sh Initialization. ## 21998## -------------------- ## 21999 22000# Be more Bourne compatible 22001DUALCASE=1; export DUALCASE # for MKS sh 22002if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22003 emulate sh 22004 NULLCMD=: 22005 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 22006 # is contrary to our usage. Disable this feature. 22007 alias -g '${1+"$@"}'='"$@"' 22008 setopt NO_GLOB_SUBST 22009else 22010 case `(set -o) 2>/dev/null` in #( 22011 *posix*) : 22012 set -o posix ;; #( 22013 *) : 22014 ;; 22015esac 22016fi 22017 22018 22019as_nl=' 22020' 22021export as_nl 22022# Printing a long string crashes Solaris 7 /usr/bin/printf. 22023as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 22024as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 22025as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 22026# Prefer a ksh shell builtin over an external printf program on Solaris, 22027# but without wasting forks for bash or zsh. 22028if test -z "$BASH_VERSION$ZSH_VERSION" \ 22029 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 22030 as_echo='print -r --' 22031 as_echo_n='print -rn --' 22032elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 22033 as_echo='printf %s\n' 22034 as_echo_n='printf %s' 22035else 22036 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 22037 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 22038 as_echo_n='/usr/ucb/echo -n' 22039 else 22040 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 22041 as_echo_n_body='eval 22042 arg=$1; 22043 case $arg in #( 22044 *"$as_nl"*) 22045 expr "X$arg" : "X\\(.*\\)$as_nl"; 22046 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 22047 esac; 22048 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 22049 ' 22050 export as_echo_n_body 22051 as_echo_n='sh -c $as_echo_n_body as_echo' 22052 fi 22053 export as_echo_body 22054 as_echo='sh -c $as_echo_body as_echo' 22055fi 22056 22057# The user is always right. 22058if test "${PATH_SEPARATOR+set}" != set; then 22059 PATH_SEPARATOR=: 22060 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 22061 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 22062 PATH_SEPARATOR=';' 22063 } 22064fi 22065 22066 22067# IFS 22068# We need space, tab and new line, in precisely that order. Quoting is 22069# there to prevent editors from complaining about space-tab. 22070# (If _AS_PATH_WALK were called with IFS unset, it would disable word 22071# splitting by setting IFS to empty value.) 22072IFS=" "" $as_nl" 22073 22074# Find who we are. Look in the path if we contain no directory separator. 22075as_myself= 22076case $0 in #(( 22077 *[\\/]* ) as_myself=$0 ;; 22078 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22079for as_dir in $PATH 22080do 22081 IFS=$as_save_IFS 22082 test -z "$as_dir" && as_dir=. 22083 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 22084 done 22085IFS=$as_save_IFS 22086 22087 ;; 22088esac 22089# We did not find ourselves, most probably we were run as `sh COMMAND' 22090# in which case we are not to be found in the path. 22091if test "x$as_myself" = x; then 22092 as_myself=$0 22093fi 22094if test ! -f "$as_myself"; then 22095 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 22096 exit 1 22097fi 22098 22099# Unset variables that we do not need and which cause bugs (e.g. in 22100# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 22101# suppresses any "Segmentation fault" message there. '((' could 22102# trigger a bug in pdksh 5.2.14. 22103for as_var in BASH_ENV ENV MAIL MAILPATH 22104do eval test x\${$as_var+set} = xset \ 22105 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 22106done 22107PS1='$ ' 22108PS2='> ' 22109PS4='+ ' 22110 22111# NLS nuisances. 22112LC_ALL=C 22113export LC_ALL 22114LANGUAGE=C 22115export LANGUAGE 22116 22117# CDPATH. 22118(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 22119 22120 22121# as_fn_error STATUS ERROR [LINENO LOG_FD] 22122# ---------------------------------------- 22123# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 22124# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 22125# script with STATUS, using 1 if that was 0. 22126as_fn_error () 22127{ 22128 as_status=$1; test $as_status -eq 0 && as_status=1 22129 if test "$4"; then 22130 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 22131 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 22132 fi 22133 $as_echo "$as_me: error: $2" >&2 22134 as_fn_exit $as_status 22135} # as_fn_error 22136 22137 22138# as_fn_set_status STATUS 22139# ----------------------- 22140# Set $? to STATUS, without forking. 22141as_fn_set_status () 22142{ 22143 return $1 22144} # as_fn_set_status 22145 22146# as_fn_exit STATUS 22147# ----------------- 22148# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 22149as_fn_exit () 22150{ 22151 set +e 22152 as_fn_set_status $1 22153 exit $1 22154} # as_fn_exit 22155 22156# as_fn_unset VAR 22157# --------------- 22158# Portably unset VAR. 22159as_fn_unset () 22160{ 22161 { eval $1=; unset $1;} 22162} 22163as_unset=as_fn_unset 22164# as_fn_append VAR VALUE 22165# ---------------------- 22166# Append the text in VALUE to the end of the definition contained in VAR. Take 22167# advantage of any shell optimizations that allow amortized linear growth over 22168# repeated appends, instead of the typical quadratic growth present in naive 22169# implementations. 22170if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 22171 eval 'as_fn_append () 22172 { 22173 eval $1+=\$2 22174 }' 22175else 22176 as_fn_append () 22177 { 22178 eval $1=\$$1\$2 22179 } 22180fi # as_fn_append 22181 22182# as_fn_arith ARG... 22183# ------------------ 22184# Perform arithmetic evaluation on the ARGs, and store the result in the 22185# global $as_val. Take advantage of shells that can avoid forks. The arguments 22186# must be portable across $(()) and expr. 22187if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 22188 eval 'as_fn_arith () 22189 { 22190 as_val=$(( $* )) 22191 }' 22192else 22193 as_fn_arith () 22194 { 22195 as_val=`expr "$@" || test $? -eq 1` 22196 } 22197fi # as_fn_arith 22198 22199 22200if expr a : '\(a\)' >/dev/null 2>&1 && 22201 test "X`expr 00001 : '.*\(...\)'`" = X001; then 22202 as_expr=expr 22203else 22204 as_expr=false 22205fi 22206 22207if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 22208 as_basename=basename 22209else 22210 as_basename=false 22211fi 22212 22213if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 22214 as_dirname=dirname 22215else 22216 as_dirname=false 22217fi 22218 22219as_me=`$as_basename -- "$0" || 22220$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 22221 X"$0" : 'X\(//\)$' \| \ 22222 X"$0" : 'X\(/\)' \| . 2>/dev/null || 22223$as_echo X/"$0" | 22224 sed '/^.*\/\([^/][^/]*\)\/*$/{ 22225 s//\1/ 22226 q 22227 } 22228 /^X\/\(\/\/\)$/{ 22229 s//\1/ 22230 q 22231 } 22232 /^X\/\(\/\).*/{ 22233 s//\1/ 22234 q 22235 } 22236 s/.*/./; q'` 22237 22238# Avoid depending upon Character Ranges. 22239as_cr_letters='abcdefghijklmnopqrstuvwxyz' 22240as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 22241as_cr_Letters=$as_cr_letters$as_cr_LETTERS 22242as_cr_digits='0123456789' 22243as_cr_alnum=$as_cr_Letters$as_cr_digits 22244 22245ECHO_C= ECHO_N= ECHO_T= 22246case `echo -n x` in #((((( 22247-n*) 22248 case `echo 'xy\c'` in 22249 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 22250 xy) ECHO_C='\c';; 22251 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 22252 ECHO_T=' ';; 22253 esac;; 22254*) 22255 ECHO_N='-n';; 22256esac 22257 22258rm -f conf$$ conf$$.exe conf$$.file 22259if test -d conf$$.dir; then 22260 rm -f conf$$.dir/conf$$.file 22261else 22262 rm -f conf$$.dir 22263 mkdir conf$$.dir 2>/dev/null 22264fi 22265if (echo >conf$$.file) 2>/dev/null; then 22266 if ln -s conf$$.file conf$$ 2>/dev/null; then 22267 as_ln_s='ln -s' 22268 # ... but there are two gotchas: 22269 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 22270 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 22271 # In both cases, we have to default to `cp -pR'. 22272 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 22273 as_ln_s='cp -pR' 22274 elif ln conf$$.file conf$$ 2>/dev/null; then 22275 as_ln_s=ln 22276 else 22277 as_ln_s='cp -pR' 22278 fi 22279else 22280 as_ln_s='cp -pR' 22281fi 22282rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 22283rmdir conf$$.dir 2>/dev/null 22284 22285 22286# as_fn_mkdir_p 22287# ------------- 22288# Create "$as_dir" as a directory, including parents if necessary. 22289as_fn_mkdir_p () 22290{ 22291 22292 case $as_dir in #( 22293 -*) as_dir=./$as_dir;; 22294 esac 22295 test -d "$as_dir" || eval $as_mkdir_p || { 22296 as_dirs= 22297 while :; do 22298 case $as_dir in #( 22299 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 22300 *) as_qdir=$as_dir;; 22301 esac 22302 as_dirs="'$as_qdir' $as_dirs" 22303 as_dir=`$as_dirname -- "$as_dir" || 22304$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22305 X"$as_dir" : 'X\(//\)[^/]' \| \ 22306 X"$as_dir" : 'X\(//\)$' \| \ 22307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 22308$as_echo X"$as_dir" | 22309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22310 s//\1/ 22311 q 22312 } 22313 /^X\(\/\/\)[^/].*/{ 22314 s//\1/ 22315 q 22316 } 22317 /^X\(\/\/\)$/{ 22318 s//\1/ 22319 q 22320 } 22321 /^X\(\/\).*/{ 22322 s//\1/ 22323 q 22324 } 22325 s/.*/./; q'` 22326 test -d "$as_dir" && break 22327 done 22328 test -z "$as_dirs" || eval "mkdir $as_dirs" 22329 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 22330 22331 22332} # as_fn_mkdir_p 22333if mkdir -p . 2>/dev/null; then 22334 as_mkdir_p='mkdir -p "$as_dir"' 22335else 22336 test -d ./-p && rmdir ./-p 22337 as_mkdir_p=false 22338fi 22339 22340 22341# as_fn_executable_p FILE 22342# ----------------------- 22343# Test if FILE is an executable regular file. 22344as_fn_executable_p () 22345{ 22346 test -f "$1" && test -x "$1" 22347} # as_fn_executable_p 22348as_test_x='test -x' 22349as_executable_p=as_fn_executable_p 22350 22351# Sed expression to map a string onto a valid CPP name. 22352as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 22353 22354# Sed expression to map a string onto a valid variable name. 22355as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 22356 22357 22358exec 6>&1 22359## --------------------------------- ## 22360## Main body of "$CONFIG_LT" script. ## 22361## --------------------------------- ## 22362_ASEOF 22363test $as_write_fail = 0 && chmod +x "$CONFIG_LT" 22364 22365cat >>"$CONFIG_LT" <<\_LTEOF 22366lt_cl_silent=false 22367exec 5>>config.log 22368{ 22369 echo 22370 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 22371## Running $as_me. ## 22372_ASBOX 22373} >&5 22374 22375lt_cl_help="\ 22376'$as_me' creates a local libtool stub from the current configuration, 22377for use in further configure time tests before the real libtool is 22378generated. 22379 22380Usage: $0 [OPTIONS] 22381 22382 -h, --help print this help, then exit 22383 -V, --version print version number, then exit 22384 -q, --quiet do not print progress messages 22385 -d, --debug don't remove temporary files 22386 22387Report bugs to <bug-libtool@gnu.org>." 22388 22389lt_cl_version="\ 22390Web2C config.lt 2015 22391configured by $0, generated by GNU Autoconf 2.69. 22392 22393Copyright (C) 2011 Free Software Foundation, Inc. 22394This config.lt script is free software; the Free Software Foundation 22395gives unlimited permision to copy, distribute and modify it." 22396 22397while test 0 != $# 22398do 22399 case $1 in 22400 --version | --v* | -V ) 22401 echo "$lt_cl_version"; exit 0 ;; 22402 --help | --h* | -h ) 22403 echo "$lt_cl_help"; exit 0 ;; 22404 --debug | --d* | -d ) 22405 debug=: ;; 22406 --quiet | --q* | --silent | --s* | -q ) 22407 lt_cl_silent=: ;; 22408 22409 -*) as_fn_error $? "unrecognized option: $1 22410Try '$0 --help' for more information." "$LINENO" 5 ;; 22411 22412 *) as_fn_error $? "unrecognized argument: $1 22413Try '$0 --help' for more information." "$LINENO" 5 ;; 22414 esac 22415 shift 22416done 22417 22418if $lt_cl_silent; then 22419 exec 6>/dev/null 22420fi 22421_LTEOF 22422 22423cat >>"$CONFIG_LT" <<_LTEOF 22424 22425 22426# The HP-UX ksh and POSIX shell print the target directory to stdout 22427# if CDPATH is set. 22428(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 22429 22430sed_quote_subst='$sed_quote_subst' 22431double_quote_subst='$double_quote_subst' 22432delay_variable_subst='$delay_variable_subst' 22433macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 22434macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 22435AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 22436DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 22437OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 22438enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 22439enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 22440pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 22441enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 22442shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 22443SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 22444ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 22445PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 22446host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 22447host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 22448host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 22449build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 22450build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 22451build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 22452SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 22453Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 22454GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 22455EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 22456FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 22457LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 22458NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 22459LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 22460max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 22461ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 22462exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 22463lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 22464lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 22465lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 22466lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 22467lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 22468reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 22469reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 22470deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 22471file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 22472file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 22473want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 22474sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 22475AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 22476AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 22477archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 22478STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 22479RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 22480old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 22481old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 22482old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 22483lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 22484CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 22485CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 22486compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 22487GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 22488lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 22489lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 22490lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 22491lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 22492lt_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"`' 22493lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 22494nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 22495lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 22496lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 22497objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 22498MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 22499lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 22500lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 22501lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 22502lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 22503lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 22504need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 22505MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 22506DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 22507NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 22508LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 22509OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 22510OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 22511libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 22512shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 22513extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 22514archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 22515enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 22516export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 22517whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 22518compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 22519old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 22520old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 22521archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 22522archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 22523module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 22524module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 22525with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 22526allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 22527no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 22528hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 22529hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 22530hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 22531hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 22532hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 22533hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 22534hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 22535inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 22536link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 22537always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 22538export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 22539exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 22540include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 22541prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 22542postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 22543file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 22544variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 22545need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 22546need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 22547version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 22548runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 22549shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 22550shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 22551libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 22552library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 22553soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 22554install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 22555postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 22556postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 22557finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 22558finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 22559hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 22560sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 22561configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 22562configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 22563hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 22564enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 22565enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 22566enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 22567old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 22568striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 22569compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 22570predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 22571postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 22572predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 22573postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 22574compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 22575LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 22576reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 22577reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22578old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22579compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 22580GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 22581lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 22582lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 22583lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 22584lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 22585lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 22586archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 22587enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 22588export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 22589whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 22590compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 22591old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22592old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22593archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22594archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22595module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22596module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22597with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 22598allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 22599no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 22600hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 22601hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 22602hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 22603hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 22604hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 22605hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 22606hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 22607inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 22608link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 22609always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 22610export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22611exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 22612include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 22613prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22614postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22615file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 22616hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 22617compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 22618predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 22619postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 22620predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 22621postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 22622compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 22623 22624LTCC='$LTCC' 22625LTCFLAGS='$LTCFLAGS' 22626compiler='$compiler_DEFAULT' 22627 22628# A function that is used when there is no print builtin or printf. 22629func_fallback_echo () 22630{ 22631 eval 'cat <<_LTECHO_EOF 22632\$1 22633_LTECHO_EOF' 22634} 22635 22636# Quote evaled strings. 22637for var in AS \ 22638DLLTOOL \ 22639OBJDUMP \ 22640SHELL \ 22641ECHO \ 22642PATH_SEPARATOR \ 22643SED \ 22644GREP \ 22645EGREP \ 22646FGREP \ 22647LD \ 22648NM \ 22649LN_S \ 22650lt_SP2NL \ 22651lt_NL2SP \ 22652reload_flag \ 22653deplibs_check_method \ 22654file_magic_cmd \ 22655file_magic_glob \ 22656want_nocaseglob \ 22657sharedlib_from_linklib_cmd \ 22658AR \ 22659AR_FLAGS \ 22660archiver_list_spec \ 22661STRIP \ 22662RANLIB \ 22663CC \ 22664CFLAGS \ 22665compiler \ 22666lt_cv_sys_global_symbol_pipe \ 22667lt_cv_sys_global_symbol_to_cdecl \ 22668lt_cv_sys_global_symbol_to_import \ 22669lt_cv_sys_global_symbol_to_c_name_address \ 22670lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 22671lt_cv_nm_interface \ 22672nm_file_list_spec \ 22673lt_cv_truncate_bin \ 22674lt_prog_compiler_no_builtin_flag \ 22675lt_prog_compiler_pic \ 22676lt_prog_compiler_wl \ 22677lt_prog_compiler_static \ 22678lt_cv_prog_compiler_c_o \ 22679need_locks \ 22680MANIFEST_TOOL \ 22681DSYMUTIL \ 22682NMEDIT \ 22683LIPO \ 22684OTOOL \ 22685OTOOL64 \ 22686shrext_cmds \ 22687export_dynamic_flag_spec \ 22688whole_archive_flag_spec \ 22689compiler_needs_object \ 22690with_gnu_ld \ 22691allow_undefined_flag \ 22692no_undefined_flag \ 22693hardcode_libdir_flag_spec \ 22694hardcode_libdir_separator \ 22695exclude_expsyms \ 22696include_expsyms \ 22697file_list_spec \ 22698variables_saved_for_relink \ 22699libname_spec \ 22700library_names_spec \ 22701soname_spec \ 22702install_override_mode \ 22703finish_eval \ 22704old_striplib \ 22705striplib \ 22706compiler_lib_search_dirs \ 22707predep_objects \ 22708postdep_objects \ 22709predeps \ 22710postdeps \ 22711compiler_lib_search_path \ 22712LD_CXX \ 22713reload_flag_CXX \ 22714compiler_CXX \ 22715lt_prog_compiler_no_builtin_flag_CXX \ 22716lt_prog_compiler_pic_CXX \ 22717lt_prog_compiler_wl_CXX \ 22718lt_prog_compiler_static_CXX \ 22719lt_cv_prog_compiler_c_o_CXX \ 22720export_dynamic_flag_spec_CXX \ 22721whole_archive_flag_spec_CXX \ 22722compiler_needs_object_CXX \ 22723with_gnu_ld_CXX \ 22724allow_undefined_flag_CXX \ 22725no_undefined_flag_CXX \ 22726hardcode_libdir_flag_spec_CXX \ 22727hardcode_libdir_separator_CXX \ 22728exclude_expsyms_CXX \ 22729include_expsyms_CXX \ 22730file_list_spec_CXX \ 22731compiler_lib_search_dirs_CXX \ 22732predep_objects_CXX \ 22733postdep_objects_CXX \ 22734predeps_CXX \ 22735postdeps_CXX \ 22736compiler_lib_search_path_CXX; do 22737 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 22738 *[\\\\\\\`\\"\\\$]*) 22739 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 22740 ;; 22741 *) 22742 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 22743 ;; 22744 esac 22745done 22746 22747# Double-quote double-evaled strings. 22748for var in reload_cmds \ 22749old_postinstall_cmds \ 22750old_postuninstall_cmds \ 22751old_archive_cmds \ 22752extract_expsyms_cmds \ 22753old_archive_from_new_cmds \ 22754old_archive_from_expsyms_cmds \ 22755archive_cmds \ 22756archive_expsym_cmds \ 22757module_cmds \ 22758module_expsym_cmds \ 22759export_symbols_cmds \ 22760prelink_cmds \ 22761postlink_cmds \ 22762postinstall_cmds \ 22763postuninstall_cmds \ 22764finish_cmds \ 22765sys_lib_search_path_spec \ 22766configure_time_dlsearch_path \ 22767configure_time_lt_sys_library_path \ 22768reload_cmds_CXX \ 22769old_archive_cmds_CXX \ 22770old_archive_from_new_cmds_CXX \ 22771old_archive_from_expsyms_cmds_CXX \ 22772archive_cmds_CXX \ 22773archive_expsym_cmds_CXX \ 22774module_cmds_CXX \ 22775module_expsym_cmds_CXX \ 22776export_symbols_cmds_CXX \ 22777prelink_cmds_CXX \ 22778postlink_cmds_CXX; do 22779 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 22780 *[\\\\\\\`\\"\\\$]*) 22781 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 22782 ;; 22783 *) 22784 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 22785 ;; 22786 esac 22787done 22788 22789ac_aux_dir='$ac_aux_dir' 22790 22791# See if we are running on zsh, and set the options that allow our 22792# commands through without removal of \ escapes INIT. 22793if test -n "\${ZSH_VERSION+set}"; then 22794 setopt NO_GLOB_SUBST 22795fi 22796 22797 22798 PACKAGE='$PACKAGE' 22799 VERSION='$VERSION' 22800 RM='$RM' 22801 ofile='$ofile' 22802 22803 22804 22805enable_libtool_hack='$enable_libtool_hack' 22806 22807 22808_LTEOF 22809 22810cat >>"$CONFIG_LT" <<\_LTEOF 22811{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 22812$as_echo "$as_me: creating $ofile" >&6;} 22813 22814 22815 # See if we are running on zsh, and set the options that allow our 22816 # commands through without removal of \ escapes. 22817 if test -n "${ZSH_VERSION+set}"; then 22818 setopt NO_GLOB_SUBST 22819 fi 22820 22821 cfgfile=${ofile}T 22822 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 22823 $RM "$cfgfile" 22824 22825 cat <<_LT_EOF >> "$cfgfile" 22826#! $SHELL 22827# Generated automatically by $as_me ($PACKAGE) $VERSION 22828# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 22829# NOTE: Changes made to this file will be lost: look at ltmain.sh. 22830 22831# Provide generalized library-building support services. 22832# Written by Gordon Matzigkeit, 1996 22833 22834# Copyright (C) 2014 Free Software Foundation, Inc. 22835# This is free software; see the source for copying conditions. There is NO 22836# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 22837 22838# GNU Libtool is free software; you can redistribute it and/or modify 22839# it under the terms of the GNU General Public License as published by 22840# the Free Software Foundation; either version 2 of of the License, or 22841# (at your option) any later version. 22842# 22843# As a special exception to the GNU General Public License, if you 22844# distribute this file as part of a program or library that is built 22845# using GNU Libtool, you may include this file under the same 22846# distribution terms that you use for the rest of that program. 22847# 22848# GNU Libtool is distributed in the hope that it will be useful, but 22849# WITHOUT ANY WARRANTY; without even the implied warranty of 22850# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22851# GNU General Public License for more details. 22852# 22853# You should have received a copy of the GNU General Public License 22854# along with this program. If not, see <http://www.gnu.org/licenses/>. 22855 22856 22857# The names of the tagged configurations supported by this script. 22858available_tags='CXX ' 22859 22860# Configured defaults for sys_lib_dlsearch_path munging. 22861: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 22862 22863# ### BEGIN LIBTOOL CONFIG 22864 22865# Which release of libtool.m4 was used? 22866macro_version=$macro_version 22867macro_revision=$macro_revision 22868 22869# Assembler program. 22870AS=$lt_AS 22871 22872# DLL creation program. 22873DLLTOOL=$lt_DLLTOOL 22874 22875# Object dumper program. 22876OBJDUMP=$lt_OBJDUMP 22877 22878# Whether or not to build shared libraries. 22879build_libtool_libs=$enable_shared 22880 22881# Whether or not to build static libraries. 22882build_old_libs=$enable_static 22883 22884# What type of objects to build. 22885pic_mode=$pic_mode 22886 22887# Whether or not to optimize for fast installation. 22888fast_install=$enable_fast_install 22889 22890# Shared archive member basename,for filename based shared library versioning on AIX. 22891shared_archive_member_spec=$shared_archive_member_spec 22892 22893# Shell to use when invoking shell scripts. 22894SHELL=$lt_SHELL 22895 22896# An echo program that protects backslashes. 22897ECHO=$lt_ECHO 22898 22899# The PATH separator for the build system. 22900PATH_SEPARATOR=$lt_PATH_SEPARATOR 22901 22902# The host system. 22903host_alias=$host_alias 22904host=$host 22905host_os=$host_os 22906 22907# The build system. 22908build_alias=$build_alias 22909build=$build 22910build_os=$build_os 22911 22912# A sed program that does not truncate output. 22913SED=$lt_SED 22914 22915# Sed that helps us avoid accidentally triggering echo(1) options like -n. 22916Xsed="\$SED -e 1s/^X//" 22917 22918# A grep program that handles long lines. 22919GREP=$lt_GREP 22920 22921# An ERE matcher. 22922EGREP=$lt_EGREP 22923 22924# A literal string matcher. 22925FGREP=$lt_FGREP 22926 22927# A BSD- or MS-compatible name lister. 22928NM=$lt_NM 22929 22930# Whether we need soft or hard links. 22931LN_S=$lt_LN_S 22932 22933# What is the maximum length of a command? 22934max_cmd_len=$max_cmd_len 22935 22936# Object file suffix (normally "o"). 22937objext=$ac_objext 22938 22939# Executable file suffix (normally ""). 22940exeext=$exeext 22941 22942# whether the shell understands "unset". 22943lt_unset=$lt_unset 22944 22945# turn spaces into newlines. 22946SP2NL=$lt_lt_SP2NL 22947 22948# turn newlines into spaces. 22949NL2SP=$lt_lt_NL2SP 22950 22951# convert \$build file names to \$host format. 22952to_host_file_cmd=$lt_cv_to_host_file_cmd 22953 22954# convert \$build files to toolchain format. 22955to_tool_file_cmd=$lt_cv_to_tool_file_cmd 22956 22957# Method to check whether dependent libraries are shared objects. 22958deplibs_check_method=$lt_deplibs_check_method 22959 22960# Command to use when deplibs_check_method = "file_magic". 22961file_magic_cmd=$lt_file_magic_cmd 22962 22963# How to find potential files when deplibs_check_method = "file_magic". 22964file_magic_glob=$lt_file_magic_glob 22965 22966# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 22967want_nocaseglob=$lt_want_nocaseglob 22968 22969# Command to associate shared and link libraries. 22970sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 22971 22972# The archiver. 22973AR=$lt_AR 22974 22975# Flags to create an archive. 22976AR_FLAGS=$lt_AR_FLAGS 22977 22978# How to feed a file listing to the archiver. 22979archiver_list_spec=$lt_archiver_list_spec 22980 22981# A symbol stripping program. 22982STRIP=$lt_STRIP 22983 22984# Commands used to install an old-style archive. 22985RANLIB=$lt_RANLIB 22986old_postinstall_cmds=$lt_old_postinstall_cmds 22987old_postuninstall_cmds=$lt_old_postuninstall_cmds 22988 22989# Whether to use a lock for old archive extraction. 22990lock_old_archive_extraction=$lock_old_archive_extraction 22991 22992# A C compiler. 22993LTCC=$lt_CC 22994 22995# LTCC compiler flags. 22996LTCFLAGS=$lt_CFLAGS 22997 22998# Take the output of nm and produce a listing of raw symbols and C names. 22999global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 23000 23001# Transform the output of nm in a proper C declaration. 23002global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 23003 23004# Transform the output of nm into a list of symbols to manually relocate. 23005global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 23006 23007# Transform the output of nm in a C name address pair. 23008global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 23009 23010# Transform the output of nm in a C name address pair when lib prefix is needed. 23011global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 23012 23013# The name lister interface. 23014nm_interface=$lt_lt_cv_nm_interface 23015 23016# Specify filename containing input files for \$NM. 23017nm_file_list_spec=$lt_nm_file_list_spec 23018 23019# The root where to search for dependent libraries,and where our libraries should be installed. 23020lt_sysroot=$lt_sysroot 23021 23022# Command to truncate a binary pipe. 23023lt_truncate_bin=$lt_lt_cv_truncate_bin 23024 23025# The name of the directory that contains temporary libtool files. 23026objdir=$objdir 23027 23028# Used to examine libraries when file_magic_cmd begins with "file". 23029MAGIC_CMD=$MAGIC_CMD 23030 23031# Must we lock files when doing compilation? 23032need_locks=$lt_need_locks 23033 23034# Manifest tool. 23035MANIFEST_TOOL=$lt_MANIFEST_TOOL 23036 23037# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 23038DSYMUTIL=$lt_DSYMUTIL 23039 23040# Tool to change global to local symbols on Mac OS X. 23041NMEDIT=$lt_NMEDIT 23042 23043# Tool to manipulate fat objects and archives on Mac OS X. 23044LIPO=$lt_LIPO 23045 23046# ldd/readelf like tool for Mach-O binaries on Mac OS X. 23047OTOOL=$lt_OTOOL 23048 23049# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 23050OTOOL64=$lt_OTOOL64 23051 23052# Old archive suffix (normally "a"). 23053libext=$libext 23054 23055# Shared library suffix (normally ".so"). 23056shrext_cmds=$lt_shrext_cmds 23057 23058# The commands to extract the exported symbol list from a shared archive. 23059extract_expsyms_cmds=$lt_extract_expsyms_cmds 23060 23061# Variables whose values should be saved in libtool wrapper scripts and 23062# restored at link time. 23063variables_saved_for_relink=$lt_variables_saved_for_relink 23064 23065# Do we need the "lib" prefix for modules? 23066need_lib_prefix=$need_lib_prefix 23067 23068# Do we need a version for libraries? 23069need_version=$need_version 23070 23071# Library versioning type. 23072version_type=$version_type 23073 23074# Shared library runtime path variable. 23075runpath_var=$runpath_var 23076 23077# Shared library path variable. 23078shlibpath_var=$shlibpath_var 23079 23080# Is shlibpath searched before the hard-coded library search path? 23081shlibpath_overrides_runpath=$shlibpath_overrides_runpath 23082 23083# Format of library name prefix. 23084libname_spec=$lt_libname_spec 23085 23086# List of archive names. First name is the real one, the rest are links. 23087# The last name is the one that the linker finds with -lNAME 23088library_names_spec=$lt_library_names_spec 23089 23090# The coded name of the library, if different from the real name. 23091soname_spec=$lt_soname_spec 23092 23093# Permission mode override for installation of shared libraries. 23094install_override_mode=$lt_install_override_mode 23095 23096# Command to use after installation of a shared archive. 23097postinstall_cmds=$lt_postinstall_cmds 23098 23099# Command to use after uninstallation of a shared archive. 23100postuninstall_cmds=$lt_postuninstall_cmds 23101 23102# Commands used to finish a libtool library installation in a directory. 23103finish_cmds=$lt_finish_cmds 23104 23105# As "finish_cmds", except a single script fragment to be evaled but 23106# not shown. 23107finish_eval=$lt_finish_eval 23108 23109# Whether we should hardcode library paths into libraries. 23110hardcode_into_libs=$hardcode_into_libs 23111 23112# Compile-time system search path for libraries. 23113sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 23114 23115# Detected run-time system search path for libraries. 23116sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 23117 23118# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 23119configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 23120 23121# Whether dlopen is supported. 23122dlopen_support=$enable_dlopen 23123 23124# Whether dlopen of programs is supported. 23125dlopen_self=$enable_dlopen_self 23126 23127# Whether dlopen of statically linked programs is supported. 23128dlopen_self_static=$enable_dlopen_self_static 23129 23130# Commands to strip libraries. 23131old_striplib=$lt_old_striplib 23132striplib=$lt_striplib 23133 23134 23135# The linker used to build libraries. 23136LD=$lt_LD 23137 23138# How to create reloadable object files. 23139reload_flag=$lt_reload_flag 23140reload_cmds=$lt_reload_cmds 23141 23142# Commands used to build an old-style archive. 23143old_archive_cmds=$lt_old_archive_cmds 23144 23145# A language specific compiler. 23146CC=$lt_compiler 23147 23148# Is the compiler the GNU compiler? 23149with_gcc=$GCC 23150 23151# Compiler flag to turn off builtin functions. 23152no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 23153 23154# Additional compiler flags for building library objects. 23155pic_flag=$lt_lt_prog_compiler_pic 23156 23157# How to pass a linker flag through the compiler. 23158wl=$lt_lt_prog_compiler_wl 23159 23160# Compiler flag to prevent dynamic linking. 23161link_static_flag=$lt_lt_prog_compiler_static 23162 23163# Does compiler simultaneously support -c and -o options? 23164compiler_c_o=$lt_lt_cv_prog_compiler_c_o 23165 23166# Whether or not to add -lc for building shared libraries. 23167build_libtool_need_lc=$archive_cmds_need_lc 23168 23169# Whether or not to disallow shared libs when runtime libs are static. 23170allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 23171 23172# Compiler flag to allow reflexive dlopens. 23173export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 23174 23175# Compiler flag to generate shared objects directly from archives. 23176whole_archive_flag_spec=$lt_whole_archive_flag_spec 23177 23178# Whether the compiler copes with passing no objects directly. 23179compiler_needs_object=$lt_compiler_needs_object 23180 23181# Create an old-style archive from a shared archive. 23182old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 23183 23184# Create a temporary old-style archive to link instead of a shared archive. 23185old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 23186 23187# Commands used to build a shared archive. 23188archive_cmds=$lt_archive_cmds 23189archive_expsym_cmds=$lt_archive_expsym_cmds 23190 23191# Commands used to build a loadable module if different from building 23192# a shared archive. 23193module_cmds=$lt_module_cmds 23194module_expsym_cmds=$lt_module_expsym_cmds 23195 23196# Whether we are building with GNU ld or not. 23197with_gnu_ld=$lt_with_gnu_ld 23198 23199# Flag that allows shared libraries with undefined symbols to be built. 23200allow_undefined_flag=$lt_allow_undefined_flag 23201 23202# Flag that enforces no undefined symbols. 23203no_undefined_flag=$lt_no_undefined_flag 23204 23205# Flag to hardcode \$libdir into a binary during linking. 23206# This must work even if \$libdir does not exist 23207hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 23208 23209# Whether we need a single "-rpath" flag with a separated argument. 23210hardcode_libdir_separator=$lt_hardcode_libdir_separator 23211 23212# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23213# DIR into the resulting binary. 23214hardcode_direct=$hardcode_direct 23215 23216# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23217# DIR into the resulting binary and the resulting library dependency is 23218# "absolute",i.e impossible to change by setting \$shlibpath_var if the 23219# library is relocated. 23220hardcode_direct_absolute=$hardcode_direct_absolute 23221 23222# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 23223# into the resulting binary. 23224hardcode_minus_L=$hardcode_minus_L 23225 23226# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 23227# into the resulting binary. 23228hardcode_shlibpath_var=$hardcode_shlibpath_var 23229 23230# Set to "yes" if building a shared library automatically hardcodes DIR 23231# into the library and all subsequent libraries and executables linked 23232# against it. 23233hardcode_automatic=$hardcode_automatic 23234 23235# Set to yes if linker adds runtime paths of dependent libraries 23236# to runtime path list. 23237inherit_rpath=$inherit_rpath 23238 23239# Whether libtool must link a program against all its dependency libraries. 23240link_all_deplibs=$link_all_deplibs 23241 23242# Set to "yes" if exported symbols are required. 23243always_export_symbols=$always_export_symbols 23244 23245# The commands to list exported symbols. 23246export_symbols_cmds=$lt_export_symbols_cmds 23247 23248# Symbols that should not be listed in the preloaded symbols. 23249exclude_expsyms=$lt_exclude_expsyms 23250 23251# Symbols that must always be exported. 23252include_expsyms=$lt_include_expsyms 23253 23254# Commands necessary for linking programs (against libraries) with templates. 23255prelink_cmds=$lt_prelink_cmds 23256 23257# Commands necessary for finishing linking programs. 23258postlink_cmds=$lt_postlink_cmds 23259 23260# Specify filename containing input files. 23261file_list_spec=$lt_file_list_spec 23262 23263# How to hardcode a shared library path into an executable. 23264hardcode_action=$hardcode_action 23265 23266# The directories searched by this compiler when creating a shared library. 23267compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 23268 23269# Dependencies to place before and after the objects being linked to 23270# create a shared library. 23271predep_objects=$lt_predep_objects 23272postdep_objects=$lt_postdep_objects 23273predeps=$lt_predeps 23274postdeps=$lt_postdeps 23275 23276# The library search path used internally by the compiler when linking 23277# a shared library. 23278compiler_lib_search_path=$lt_compiler_lib_search_path 23279 23280# ### END LIBTOOL CONFIG 23281 23282_LT_EOF 23283 23284 cat <<'_LT_EOF' >> "$cfgfile" 23285 23286# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 23287 23288# func_munge_path_list VARIABLE PATH 23289# ----------------------------------- 23290# VARIABLE is name of variable containing _space_ separated list of 23291# directories to be munged by the contents of PATH, which is string 23292# having a format: 23293# "DIR[:DIR]:" 23294# string "DIR[ DIR]" will be prepended to VARIABLE 23295# ":DIR[:DIR]" 23296# string "DIR[ DIR]" will be appended to VARIABLE 23297# "DIRP[:DIRP]::[DIRA:]DIRA" 23298# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 23299# "DIRA[ DIRA]" will be appended to VARIABLE 23300# "DIR[:DIR]" 23301# VARIABLE will be replaced by "DIR[ DIR]" 23302func_munge_path_list () 23303{ 23304 case x$2 in 23305 x) 23306 ;; 23307 *:) 23308 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 23309 ;; 23310 x:*) 23311 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 23312 ;; 23313 *::*) 23314 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 23315 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 23316 ;; 23317 *) 23318 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 23319 ;; 23320 esac 23321} 23322 23323 23324# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 23325func_cc_basename () 23326{ 23327 for cc_temp in $*""; do 23328 case $cc_temp in 23329 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 23330 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 23331 \-*) ;; 23332 *) break;; 23333 esac 23334 done 23335 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 23336} 23337 23338 23339# ### END FUNCTIONS SHARED WITH CONFIGURE 23340 23341_LT_EOF 23342 23343 case $host_os in 23344 aix3*) 23345 cat <<\_LT_EOF >> "$cfgfile" 23346# AIX sometimes has problems with the GCC collect2 program. For some 23347# reason, if we set the COLLECT_NAMES environment variable, the problems 23348# vanish in a puff of smoke. 23349if test set != "${COLLECT_NAMES+set}"; then 23350 COLLECT_NAMES= 23351 export COLLECT_NAMES 23352fi 23353_LT_EOF 23354 ;; 23355 esac 23356 23357 23358ltmain=$ac_aux_dir/ltmain.sh 23359 23360 23361 # We use sed instead of cat because bash on DJGPP gets confused if 23362 # if finds mixed CR/LF and LF-only lines. Since sed operates in 23363 # text mode, it properly converts lines to CR/LF. This bash problem 23364 # is reportedly fixed, but why not run on old versions too? 23365 sed '$q' "$ltmain" >> "$cfgfile" \ 23366 || (rm -f "$cfgfile"; exit 1) 23367 23368 mv -f "$cfgfile" "$ofile" || 23369 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 23370 chmod +x "$ofile" 23371 23372 23373 cat <<_LT_EOF >> "$ofile" 23374 23375# ### BEGIN LIBTOOL TAG CONFIG: CXX 23376 23377# The linker used to build libraries. 23378LD=$lt_LD_CXX 23379 23380# How to create reloadable object files. 23381reload_flag=$lt_reload_flag_CXX 23382reload_cmds=$lt_reload_cmds_CXX 23383 23384# Commands used to build an old-style archive. 23385old_archive_cmds=$lt_old_archive_cmds_CXX 23386 23387# A language specific compiler. 23388CC=$lt_compiler_CXX 23389 23390# Is the compiler the GNU compiler? 23391with_gcc=$GCC_CXX 23392 23393# Compiler flag to turn off builtin functions. 23394no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 23395 23396# Additional compiler flags for building library objects. 23397pic_flag=$lt_lt_prog_compiler_pic_CXX 23398 23399# How to pass a linker flag through the compiler. 23400wl=$lt_lt_prog_compiler_wl_CXX 23401 23402# Compiler flag to prevent dynamic linking. 23403link_static_flag=$lt_lt_prog_compiler_static_CXX 23404 23405# Does compiler simultaneously support -c and -o options? 23406compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 23407 23408# Whether or not to add -lc for building shared libraries. 23409build_libtool_need_lc=$archive_cmds_need_lc_CXX 23410 23411# Whether or not to disallow shared libs when runtime libs are static. 23412allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 23413 23414# Compiler flag to allow reflexive dlopens. 23415export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 23416 23417# Compiler flag to generate shared objects directly from archives. 23418whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 23419 23420# Whether the compiler copes with passing no objects directly. 23421compiler_needs_object=$lt_compiler_needs_object_CXX 23422 23423# Create an old-style archive from a shared archive. 23424old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 23425 23426# Create a temporary old-style archive to link instead of a shared archive. 23427old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 23428 23429# Commands used to build a shared archive. 23430archive_cmds=$lt_archive_cmds_CXX 23431archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 23432 23433# Commands used to build a loadable module if different from building 23434# a shared archive. 23435module_cmds=$lt_module_cmds_CXX 23436module_expsym_cmds=$lt_module_expsym_cmds_CXX 23437 23438# Whether we are building with GNU ld or not. 23439with_gnu_ld=$lt_with_gnu_ld_CXX 23440 23441# Flag that allows shared libraries with undefined symbols to be built. 23442allow_undefined_flag=$lt_allow_undefined_flag_CXX 23443 23444# Flag that enforces no undefined symbols. 23445no_undefined_flag=$lt_no_undefined_flag_CXX 23446 23447# Flag to hardcode \$libdir into a binary during linking. 23448# This must work even if \$libdir does not exist 23449hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 23450 23451# Whether we need a single "-rpath" flag with a separated argument. 23452hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 23453 23454# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23455# DIR into the resulting binary. 23456hardcode_direct=$hardcode_direct_CXX 23457 23458# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23459# DIR into the resulting binary and the resulting library dependency is 23460# "absolute",i.e impossible to change by setting \$shlibpath_var if the 23461# library is relocated. 23462hardcode_direct_absolute=$hardcode_direct_absolute_CXX 23463 23464# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 23465# into the resulting binary. 23466hardcode_minus_L=$hardcode_minus_L_CXX 23467 23468# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 23469# into the resulting binary. 23470hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 23471 23472# Set to "yes" if building a shared library automatically hardcodes DIR 23473# into the library and all subsequent libraries and executables linked 23474# against it. 23475hardcode_automatic=$hardcode_automatic_CXX 23476 23477# Set to yes if linker adds runtime paths of dependent libraries 23478# to runtime path list. 23479inherit_rpath=$inherit_rpath_CXX 23480 23481# Whether libtool must link a program against all its dependency libraries. 23482link_all_deplibs=$link_all_deplibs_CXX 23483 23484# Set to "yes" if exported symbols are required. 23485always_export_symbols=$always_export_symbols_CXX 23486 23487# The commands to list exported symbols. 23488export_symbols_cmds=$lt_export_symbols_cmds_CXX 23489 23490# Symbols that should not be listed in the preloaded symbols. 23491exclude_expsyms=$lt_exclude_expsyms_CXX 23492 23493# Symbols that must always be exported. 23494include_expsyms=$lt_include_expsyms_CXX 23495 23496# Commands necessary for linking programs (against libraries) with templates. 23497prelink_cmds=$lt_prelink_cmds_CXX 23498 23499# Commands necessary for finishing linking programs. 23500postlink_cmds=$lt_postlink_cmds_CXX 23501 23502# Specify filename containing input files. 23503file_list_spec=$lt_file_list_spec_CXX 23504 23505# How to hardcode a shared library path into an executable. 23506hardcode_action=$hardcode_action_CXX 23507 23508# The directories searched by this compiler when creating a shared library. 23509compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 23510 23511# Dependencies to place before and after the objects being linked to 23512# create a shared library. 23513predep_objects=$lt_predep_objects_CXX 23514postdep_objects=$lt_postdep_objects_CXX 23515predeps=$lt_predeps_CXX 23516postdeps=$lt_postdeps_CXX 23517 23518# The library search path used internally by the compiler when linking 23519# a shared library. 23520compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 23521 23522# ### END LIBTOOL TAG CONFIG: CXX 23523_LT_EOF 23524 23525## KPSE_LT_HACK: Prevent libtool from linking dependency_libs 23526if test "x$enable_libtool_hack" = xyes; then 23527 $SED '/# Convert "-framework/i\ 23528 ## KPSE_LT_HACK: ignore dependency_libs\ 23529 test "X$installed" = Xyes && dependency_libs=\ 23530' "$ofile" >"$cfgfile" 23531 mv "$cfgfile" "$ofile" || 23532 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 23533 chmod +x "$ofile" 23534fi 23535 23536as_fn_exit 0 23537_LTEOF 23538chmod +x "$CONFIG_LT" 23539 23540# configure is writing to config.log, but config.lt does its own redirection, 23541# appending to config.log, which fails on DOS, as config.log is still kept 23542# open by configure. Here we exec the FD to /dev/null, effectively closing 23543# config.log, so it can be properly (re)opened and appended to by config.lt. 23544lt_cl_success=: 23545test yes = "$silent" && 23546 lt_config_lt_args="$lt_config_lt_args --quiet" 23547exec 5>/dev/null 23548$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 23549exec 5>>config.log 23550$lt_cl_success || as_fn_exit 1 23551 23552ac_ext=c 23553ac_cpp='$CPP $CPPFLAGS' 23554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23556ac_compiler_gnu=$ac_cv_c_compiler_gnu 23557ac_link="./libtool --mode=link --tag=CC $ac_link" 23558 23559## _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags 23560 23561# Check whether --with-system-kpathsea was given. 23562if test "${with_system_kpathsea+set}" = set; then : 23563 withval=$with_system_kpathsea; 23564fi 23565if test "x$with_system_kpathsea" = xyes; then 23566 if $PKG_CONFIG kpathsea; then 23567 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags` 23568 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs` 23569elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then 23570 as_fn_error $? "did not find kpathsea" "$LINENO" 5 23571fi 23572else 23573 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk" 23574 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la" 23575 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la' 23576 KPATHSEA_RULE='# Rebuild libkpathsea 23577$(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h 23578 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild 23579${top_builddir}/../kpathsea/paths.h: 23580 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23581fi 23582 23583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5 23584$as_echo_n "checking if libkpathsea supports debugging... " >&6; } 23585if ${kpse_cv_kpse_debug+:} false; then : 23586 $as_echo_n "(cached) " >&6 23587else 23588 eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\" 23589eval LIBS=\"$KPATHSEA_LIBS \$LIBS\" 23590 23591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23592/* end confdefs.h. */ 23593#include <kpathsea/kpathsea.h> 23594int 23595main () 23596{ 23597FILE *f = fopen("f", "r") 23598 ; 23599 return 0; 23600} 23601_ACEOF 23602if ac_fn_c_try_link "$LINENO"; then : 23603 kpse_cv_kpse_debug=yes 23604else 23605 kpse_cv_kpse_debug=no 23606fi 23607rm -f core conftest.err conftest.$ac_objext \ 23608 conftest$ac_exeext conftest.$ac_ext 23609 CPPFLAGS=$kpse_save_CPPFLAGS 23610LIBS=$kpse_save_LIBS 23611 23612fi 23613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5 23614$as_echo "$kpse_cv_kpse_debug" >&6; } 23615if test "x$kpse_cv_kpse_debug" != xyes; then : 23616 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG" 23617fi 23618 23619## _KPSE_LIB_FLAGS: Setup ptexenc (-lptexenc) flags 23620 23621# Check whether --with-system-ptexenc was given. 23622if test "${with_system_ptexenc+set}" = set; then : 23623 withval=$with_system_ptexenc; 23624fi 23625if test "x$with_system_ptexenc" = xyes; then 23626 if $PKG_CONFIG ptexenc; then 23627 PTEXENC_INCLUDES=`$PKG_CONFIG ptexenc --cflags` 23628 PTEXENC_LIBS=`$PKG_CONFIG ptexenc --libs` 23629elif test "x$need_ptexenc:$with_system_ptexenc" = xyes:yes; then 23630 as_fn_error $? "did not find ptexenc" "$LINENO" 5 23631fi 23632else 23633 PTEXENC_INCLUDES="-I$kpse_BLD/texk/ptexenc -I$kpse_SRC/texk/ptexenc" 23634 PTEXENC_LIBS="$kpse_BLD/texk/ptexenc/libptexenc.la" 23635 PTEXENC_DEPEND='${top_builddir}/../ptexenc/libptexenc.la' 23636 PTEXENC_RULE='# Rebuild libptexenc 23637$(PTEXENC_DEPEND): ${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h 23638 cd ${top_builddir}/../ptexenc && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23639fi 23640 23641## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags 23642 23643# Check whether --with-system-zlib was given. 23644if test "${with_system_zlib+set}" = set; then : 23645 withval=$with_system_zlib; 23646fi 23647 23648# Check whether --with-zlib-includes was given. 23649if test "${with_zlib_includes+set}" = set; then : 23650 withval=$with_zlib_includes; 23651fi 23652 23653# Check whether --with-zlib-libdir was given. 23654if test "${with_zlib_libdir+set}" = set; then : 23655 withval=$with_zlib_libdir; 23656fi 23657if test "x$with_system_zlib" = xyes; then 23658 if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then 23659 ZLIB_INCLUDES="-I$with_zlib_includes" 23660fi 23661ZLIB_LIBS="-lz" 23662if test "x$with_zlib_libdir" != x && test "x$with_zlib_libdir" != xyes; then 23663 ZLIB_LIBS="-L$with_zlib_libdir $ZLIB_LIBS" 23664fi 23665else 23666 ZLIB_INCLUDES="-I$kpse_BLD/libs/zlib/include" 23667 ZLIB_LIBS="$kpse_BLD/libs/zlib/libz.a" 23668 ZLIB_DEPEND='${top_builddir}/../../libs/zlib/libz.a' 23669 ZLIB_RULE='# Rebuild libz 23670$(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h 23671 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild 23672${top_builddir}/../../libs/zlib/include/zconf.h: 23673 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23674fi 23675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5 23676$as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; } 23677if ${kpse_cv_have_decl_z_const+:} false; then : 23678 $as_echo_n "(cached) " >&6 23679else 23680 eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\" 23681eval LIBS=\"$ZLIB_LIBS \$LIBS\" 23682 23683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23684/* end confdefs.h. */ 23685#include <zlib.h> 23686int 23687main () 23688{ 23689z_const char * foo(); 23690 ; 23691 return 0; 23692} 23693_ACEOF 23694if ac_fn_c_try_compile "$LINENO"; then : 23695 kpse_cv_have_decl_z_const=yes 23696else 23697 kpse_cv_have_decl_z_const=no 23698fi 23699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23700 CPPFLAGS=$kpse_save_CPPFLAGS 23701LIBS=$kpse_save_LIBS 23702 23703fi 23704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5 23705$as_echo "$kpse_cv_have_decl_z_const" >&6; } 23706case $kpse_cv_have_decl_z_const in #( 23707 yes) : 23708 23709$as_echo "#define ZLIB_CONST 1" >>confdefs.h 23710 ;; #( 23711 *) : 23712 23713$as_echo "#define z_const /**/" >>confdefs.h 23714 ;; 23715esac 23716 23717## _KPSE_LIB_FLAGS: Setup libpng (-lpng) flags 23718 23719# Check whether --with-system-libpng was given. 23720if test "${with_system_libpng+set}" = set; then : 23721 withval=$with_system_libpng; 23722fi 23723if test "x$with_system_libpng" = xyes; then 23724 if $PKG_CONFIG libpng; then 23725 LIBPNG_INCLUDES=`$PKG_CONFIG libpng --cflags` 23726 LIBPNG_LIBS=`$PKG_CONFIG libpng --libs` 23727elif test "x$need_libpng:$with_system_libpng" = xyes:yes; then 23728 as_fn_error $? "did not find libpng" "$LINENO" 5 23729fi 23730else 23731 LIBPNG_INCLUDES="-I$kpse_BLD/libs/libpng/include" 23732 LIBPNG_LIBS="$kpse_BLD/libs/libpng/libpng.a" 23733 LIBPNG_DEPEND='${top_builddir}/../../libs/libpng/libpng.a' 23734 LIBPNG_RULE='# Rebuild libpng 23735$(LIBPNG_DEPEND): ${top_builddir}/../../libs/libpng/include/png.h 23736 cd ${top_builddir}/../../libs/libpng && $(MAKE) $(AM_MAKEFLAGS) rebuild 23737${top_builddir}/../../libs/libpng/include/png.h: 23738 cd ${top_builddir}/../../libs/libpng && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23739fi 23740 23741## _KPSE_LIB_FLAGS: Setup freetype2 (-lfreetype) flags 23742 23743# Check whether --with-system-freetype2 was given. 23744if test "${with_system_freetype2+set}" = set; then : 23745 withval=$with_system_freetype2; 23746fi 23747if test "x$with_system_freetype2" = xyes; then 23748 if test -n "$ac_tool_prefix"; then 23749 # Extract the first word of "${ac_tool_prefix}freetype-config", so it can be a program name with args. 23750set dummy ${ac_tool_prefix}freetype-config; ac_word=$2 23751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23752$as_echo_n "checking for $ac_word... " >&6; } 23753if ${ac_cv_prog_FT2_CONFIG+:} false; then : 23754 $as_echo_n "(cached) " >&6 23755else 23756 if test -n "$FT2_CONFIG"; then 23757 ac_cv_prog_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test. 23758else 23759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23760for as_dir in $PATH 23761do 23762 IFS=$as_save_IFS 23763 test -z "$as_dir" && as_dir=. 23764 for ac_exec_ext in '' $ac_executable_extensions; do 23765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23766 ac_cv_prog_FT2_CONFIG="${ac_tool_prefix}freetype-config" 23767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23768 break 2 23769 fi 23770done 23771 done 23772IFS=$as_save_IFS 23773 23774fi 23775fi 23776FT2_CONFIG=$ac_cv_prog_FT2_CONFIG 23777if test -n "$FT2_CONFIG"; then 23778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5 23779$as_echo "$FT2_CONFIG" >&6; } 23780else 23781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23782$as_echo "no" >&6; } 23783fi 23784 23785 23786fi 23787if test -z "$ac_cv_prog_FT2_CONFIG"; then 23788 ac_ct_FT2_CONFIG=$FT2_CONFIG 23789 # Extract the first word of "freetype-config", so it can be a program name with args. 23790set dummy freetype-config; ac_word=$2 23791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23792$as_echo_n "checking for $ac_word... " >&6; } 23793if ${ac_cv_prog_ac_ct_FT2_CONFIG+:} false; then : 23794 $as_echo_n "(cached) " >&6 23795else 23796 if test -n "$ac_ct_FT2_CONFIG"; then 23797 ac_cv_prog_ac_ct_FT2_CONFIG="$ac_ct_FT2_CONFIG" # Let the user override the test. 23798else 23799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23800for as_dir in $PATH 23801do 23802 IFS=$as_save_IFS 23803 test -z "$as_dir" && as_dir=. 23804 for ac_exec_ext in '' $ac_executable_extensions; do 23805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23806 ac_cv_prog_ac_ct_FT2_CONFIG="freetype-config" 23807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23808 break 2 23809 fi 23810done 23811 done 23812IFS=$as_save_IFS 23813 23814fi 23815fi 23816ac_ct_FT2_CONFIG=$ac_cv_prog_ac_ct_FT2_CONFIG 23817if test -n "$ac_ct_FT2_CONFIG"; then 23818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FT2_CONFIG" >&5 23819$as_echo "$ac_ct_FT2_CONFIG" >&6; } 23820else 23821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23822$as_echo "no" >&6; } 23823fi 23824 23825 if test "x$ac_ct_FT2_CONFIG" = x; then 23826 FT2_CONFIG="false" 23827 else 23828 case $cross_compiling:$ac_tool_warned in 23829yes:) 23830{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23831$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23832ac_tool_warned=yes ;; 23833esac 23834 FT2_CONFIG=$ac_ct_FT2_CONFIG 23835 fi 23836else 23837 FT2_CONFIG="$ac_cv_prog_FT2_CONFIG" 23838fi 23839if $FT2_CONFIG --ftversion >/dev/null 2>&1; then 23840 FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags` 23841 FREETYPE2_LIBS=`$FT2_CONFIG --libs` 23842elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then 23843 as_fn_error $? "did not find freetype-config required for system freetype2 library" "$LINENO" 5 23844fi 23845else 23846 FREETYPE2_INCLUDES="-I$kpse_BLD/libs/freetype2/freetype2" 23847 FREETYPE2_LIBS="$kpse_BLD/libs/freetype2/libfreetype.a" 23848 FREETYPE2_DEPEND='${top_builddir}/../../libs/freetype2/libfreetype.a' 23849 FREETYPE2_RULE='# Rebuild libfreetype 23850$(FREETYPE2_DEPEND): ${top_builddir}/../../libs/freetype2/freetype2/ft2build.h 23851 cd ${top_builddir}/../../libs/freetype2 && $(MAKE) $(AM_MAKEFLAGS) rebuild 23852${top_builddir}/../../libs/freetype2/freetype2/ft2build.h: 23853 cd ${top_builddir}/../../libs/freetype2 && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23854fi 23855 23856## _KPSE_LIB_FLAGS: Setup pixman (-lpixman) flags 23857 23858# Check whether --with-system-pixman was given. 23859if test "${with_system_pixman+set}" = set; then : 23860 withval=$with_system_pixman; 23861fi 23862if test "x$with_system_pixman" = xyes; then 23863 if $PKG_CONFIG pixman-1 --atleast-version=0.18; then 23864 PIXMAN_INCLUDES=`$PKG_CONFIG pixman-1 --cflags` 23865 PIXMAN_LIBS=`$PKG_CONFIG pixman-1 --libs` 23866elif test "x$need_pixman:$with_system_pixman" = xyes:yes; then 23867 as_fn_error $? "did not find pixman-1 0.18 or better" "$LINENO" 5 23868fi 23869else 23870 PIXMAN_INCLUDES="-I$kpse_BLD/libs/pixman/include" 23871 PIXMAN_LIBS="$kpse_BLD/libs/pixman/libpixman.a" 23872 PIXMAN_DEPEND='${top_builddir}/../../libs/pixman/libpixman.a' 23873 PIXMAN_RULE='# Rebuild libpixman 23874$(PIXMAN_DEPEND): ${top_builddir}/../../libs/pixman/include/pixman.h 23875 cd ${top_builddir}/../../libs/pixman && $(MAKE) $(AM_MAKEFLAGS) rebuild 23876${top_builddir}/../../libs/pixman/include/pixman.h: 23877 cd ${top_builddir}/../../libs/pixman && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23878fi 23879 23880## _KPSE_LIB_FLAGS: Setup cairo (-lcairo) flags 23881 23882# Check whether --with-system-cairo was given. 23883if test "${with_system_cairo+set}" = set; then : 23884 withval=$with_system_cairo; 23885fi 23886if test "x$with_system_cairo" = xyes; then 23887 if $PKG_CONFIG cairo --atleast-version=1.12; then 23888 CAIRO_INCLUDES=`$PKG_CONFIG cairo --cflags` 23889 CAIRO_LIBS=`$PKG_CONFIG cairo --libs` 23890elif test "x$need_cairo:$with_system_cairo" = xyes:yes; then 23891 as_fn_error $? "did not find cairo 1.12 or better" "$LINENO" 5 23892fi 23893else 23894 CAIRO_INCLUDES="-I$kpse_BLD/libs/cairo/cairo" 23895 CAIRO_LIBS="$kpse_BLD/libs/cairo/libcairo.a" 23896 CAIRO_DEPEND='${top_builddir}/../../libs/cairo/libcairo.a' 23897 CAIRO_RULE='# Rebuild libcairo 23898$(CAIRO_DEPEND): ${top_builddir}/../../libs/cairo/cairo/cairo.h 23899 cd ${top_builddir}/../../libs/cairo && $(MAKE) $(AM_MAKEFLAGS) rebuild 23900${top_builddir}/../../libs/cairo/cairo/cairo.h: 23901 cd ${top_builddir}/../../libs/cairo && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23902fi 23903 23904## _KPSE_LIB_FLAGS: Setup gmp (-lgmp) flags 23905 23906# Check whether --with-system-gmp was given. 23907if test "${with_system_gmp+set}" = set; then : 23908 withval=$with_system_gmp; 23909fi 23910 23911# Check whether --with-gmp-includes was given. 23912if test "${with_gmp_includes+set}" = set; then : 23913 withval=$with_gmp_includes; 23914fi 23915 23916# Check whether --with-gmp-libdir was given. 23917if test "${with_gmp_libdir+set}" = set; then : 23918 withval=$with_gmp_libdir; 23919fi 23920if test "x$with_system_gmp" = xyes; then 23921 if test "x$with_gmp_includes" != x && test "x$with_gmp_includes" != xyes; then 23922 GMP_INCLUDES="-I$with_gmp_includes" 23923fi 23924GMP_LIBS="-lgmp" 23925if test "x$with_gmp_libdir" != x && test "x$with_gmp_libdir" != xyes; then 23926 GMP_LIBS="-L$with_gmp_libdir $GMP_LIBS" 23927fi 23928else 23929 GMP_INCLUDES="-I$kpse_BLD/libs/gmp/include" 23930 GMP_LIBS="$kpse_BLD/libs/gmp/libgmp.a" 23931 GMP_DEPEND='${top_builddir}/../../libs/gmp/libgmp.a' 23932 GMP_RULE='# Rebuild libgmp 23933$(GMP_DEPEND): ${top_builddir}/../../libs/gmp/include/gmp.h 23934 cd ${top_builddir}/../../libs/gmp && $(MAKE) $(AM_MAKEFLAGS) rebuild 23935${top_builddir}/../../libs/gmp/include/gmp.h: 23936 cd ${top_builddir}/../../libs/gmp && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23937fi 23938 23939## _KPSE_LIB_FLAGS: Setup mpfr (-lmpfr) flags 23940 23941# Check whether --with-system-mpfr was given. 23942if test "${with_system_mpfr+set}" = set; then : 23943 withval=$with_system_mpfr; 23944fi 23945 23946# Check whether --with-mpfr-includes was given. 23947if test "${with_mpfr_includes+set}" = set; then : 23948 withval=$with_mpfr_includes; 23949fi 23950 23951# Check whether --with-mpfr-libdir was given. 23952if test "${with_mpfr_libdir+set}" = set; then : 23953 withval=$with_mpfr_libdir; 23954fi 23955if test "x$with_system_mpfr" = xyes; then 23956 if test "x$with_mpfr_includes" != x && test "x$with_mpfr_includes" != xyes; then 23957 MPFR_INCLUDES="-I$with_mpfr_includes" 23958fi 23959MPFR_LIBS="-lmpfr" 23960if test "x$with_mpfr_libdir" != x && test "x$with_mpfr_libdir" != xyes; then 23961 MPFR_LIBS="-L$with_mpfr_libdir $MPFR_LIBS" 23962fi 23963else 23964 MPFR_INCLUDES="-I$kpse_BLD/libs/mpfr/include" 23965 MPFR_LIBS="$kpse_BLD/libs/mpfr/libmpfr.a" 23966 MPFR_DEPEND='${top_builddir}/../../libs/mpfr/libmpfr.a' 23967 MPFR_RULE='# Rebuild libmpfr 23968$(MPFR_DEPEND): ${top_builddir}/../../libs/mpfr/include/mpfr.h 23969 cd ${top_builddir}/../../libs/mpfr && $(MAKE) $(AM_MAKEFLAGS) rebuild 23970${top_builddir}/../../libs/mpfr/include/mpfr.h: 23971 cd ${top_builddir}/../../libs/mpfr && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23972fi 23973 23974## _KPSE_LIB_FLAGS: Setup poppler (-lpoppler) flags 23975 23976# Check whether --with-system-poppler was given. 23977if test "${with_system_poppler+set}" = set; then : 23978 withval=$with_system_poppler; 23979fi 23980if test "x$with_system_poppler" = xyes; then 23981 if $PKG_CONFIG poppler --atleast-version=0.18; then 23982 POPPLER_INCLUDES=`$PKG_CONFIG poppler --cflags` 23983 POPPLER_LIBS=`$PKG_CONFIG poppler --libs` 23984elif test "x$need_poppler:$with_system_poppler" = xyes:yes; then 23985 as_fn_error $? "did not find poppler 0.18 or better" "$LINENO" 5 23986fi 23987 23988POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"' 23989POPPLER_INCLUDES="$POPPLER_VERSION $POPPLER_INCLUDES" 23990else 23991 POPPLER_INCLUDES="-I$kpse_BLD/libs/poppler/include" 23992 POPPLER_LIBS="$kpse_BLD/libs/poppler/libpoppler.a" 23993 POPPLER_DEPEND='${top_builddir}/../../libs/poppler/libpoppler.a' 23994 POPPLER_RULE='# Rebuild libpoppler 23995$(POPPLER_DEPEND): ${top_builddir}/../../libs/poppler/include/Stream.h 23996 cd ${top_builddir}/../../libs/poppler && $(MAKE) $(AM_MAKEFLAGS) rebuild 23997${top_builddir}/../../libs/poppler/include/Stream.h: 23998 cd ${top_builddir}/../../libs/poppler && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23999fi 24000test "x$kpse_cv_have_win32" = xno || POPPLER_LIBS="$POPPLER_LIBS -lgdi32" 24001 24002## _KPSE_LIB_FLAGS: Setup xpdf (-lxpdf) flags 24003 24004# Check whether --with-system-xpdf was given. 24005if test "${with_system_xpdf+set}" = set; then : 24006 withval=$with_system_xpdf; 24007fi 24008if test "x$with_system_xpdf" = xyes; then 24009 if $PKG_CONFIG poppler --atleast-version=0.12; then 24010 XPDF_INCLUDES=`$PKG_CONFIG poppler --cflags` 24011 XPDF_LIBS=`$PKG_CONFIG poppler --libs` 24012elif test "x$need_xpdf:$with_system_xpdf" = xyes:yes; then 24013 as_fn_error $? "did not find poppler 0.12 or better" "$LINENO" 5 24014fi 24015 24016POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"' 24017XPDF_INCLUDES="$POPPLER_VERSION $XPDF_INCLUDES" 24018else 24019 XPDF_INCLUDES="-DPDF_PARSER_ONLY -I$kpse_BLD/libs/xpdf -I$kpse_BLD/libs/xpdf/goo -I$kpse_BLD/libs/xpdf/xpdf" 24020 XPDF_LIBS="$kpse_BLD/libs/xpdf/libxpdf.a" 24021 XPDF_DEPEND='${top_builddir}/../../libs/xpdf/libxpdf.a' 24022 XPDF_RULE='# Rebuild libxpdf 24023$(XPDF_DEPEND): ${top_builddir}/../../libs/xpdf/xpdf/Stream.h 24024 cd ${top_builddir}/../../libs/xpdf && $(MAKE) $(AM_MAKEFLAGS) rebuild 24025${top_builddir}/../../libs/xpdf/xpdf/Stream.h: 24026 cd ${top_builddir}/../../libs/xpdf && $(MAKE) $(AM_MAKEFLAGS) rebuild' 24027fi 24028test "x$kpse_cv_have_win32" = xno || XPDF_LIBS="$XPDF_LIBS -lgdi32" 24029 24030## _KPSE_LIB_FLAGS: Setup teckit (-lTECkit) flags 24031 24032# Check whether --with-teckit-includes was given. 24033if test "${with_teckit_includes+set}" = set; then : 24034 withval=$with_teckit_includes; 24035fi 24036 24037# Check whether --with-teckit-libdir was given. 24038if test "${with_teckit_libdir+set}" = set; then : 24039 withval=$with_teckit_libdir; 24040fi 24041if test "${with_system_teckit+set}" = set; then : 24042 withval=$with_system_teckit; 24043fi 24044if test "x$with_system_teckit" = xyes; then 24045 if test "x$with_teckit_includes" != x && test "x$with_teckit_includes" != xyes; then 24046 TECKIT_INCLUDES="-I$with_mpfr_includes" 24047 fi 24048 if test "x$with_teckit_libdir" != x && test "x$with_teckit_libdir" != xyes; then 24049 TECKIT_LIBS="-L$with_teckit_libdir -lTECkit" 24050 fi 24051 if test "x$TECKIT_INCLUDES" = x && test "x$TECKIT_LIBS" = x; then 24052 if $PKG_CONFIG teckit; then 24053 TECKIT_INCLUDES=`$PKG_CONFIG teckit --cflags` 24054 TECKIT_LIBS=`$PKG_CONFIG teckit --libs` 24055 elif test "x$need_teckit:$with_system_teckit" = xyes:yes; then 24056 as_fn_error $? "did not find teckit" "$LINENO" 5 24057 fi 24058 fi 24059else 24060 TECKIT_INCLUDES="-I$kpse_BLD/libs/teckit/include" 24061 TECKIT_LIBS="$kpse_BLD/libs/teckit/libTECkit.a" 24062 TECKIT_DEPEND='${top_builddir}/../../libs/teckit/libTECkit.a' 24063 TECKIT_RULE='# Rebuild libTECkit 24064$(TECKIT_DEPEND): ${top_builddir}/../../libs/teckit/include/teckit/TECkit_Common.h 24065 cd ${top_builddir}/../../libs/teckit && $(MAKE) $(AM_MAKEFLAGS) rebuild 24066${top_builddir}/../../libs/teckit/include/teckit/TECkit_Common.h: 24067 cd ${top_builddir}/../../libs/teckit && $(MAKE) $(AM_MAKEFLAGS) rebuild' 24068fi 24069 24070## _KPSE_LIB_FLAGS: Setup icu (-licuxxx) flags 24071 24072# Check whether --with-system-icu was given. 24073if test "${with_system_icu+set}" = set; then : 24074 withval=$with_system_icu; 24075fi 24076if test "x$with_system_icu" = xyes; then 24077 if test -n "$ac_tool_prefix"; then 24078 # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args. 24079set dummy ${ac_tool_prefix}icu-config; ac_word=$2 24080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24081$as_echo_n "checking for $ac_word... " >&6; } 24082if ${ac_cv_prog_ICU_CONFIG+:} false; then : 24083 $as_echo_n "(cached) " >&6 24084else 24085 if test -n "$ICU_CONFIG"; then 24086 ac_cv_prog_ICU_CONFIG="$ICU_CONFIG" # Let the user override the test. 24087else 24088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24089for as_dir in $PATH 24090do 24091 IFS=$as_save_IFS 24092 test -z "$as_dir" && as_dir=. 24093 for ac_exec_ext in '' $ac_executable_extensions; do 24094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24095 ac_cv_prog_ICU_CONFIG="${ac_tool_prefix}icu-config" 24096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24097 break 2 24098 fi 24099done 24100 done 24101IFS=$as_save_IFS 24102 24103fi 24104fi 24105ICU_CONFIG=$ac_cv_prog_ICU_CONFIG 24106if test -n "$ICU_CONFIG"; then 24107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5 24108$as_echo "$ICU_CONFIG" >&6; } 24109else 24110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24111$as_echo "no" >&6; } 24112fi 24113 24114 24115fi 24116if test -z "$ac_cv_prog_ICU_CONFIG"; then 24117 ac_ct_ICU_CONFIG=$ICU_CONFIG 24118 # Extract the first word of "icu-config", so it can be a program name with args. 24119set dummy icu-config; ac_word=$2 24120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24121$as_echo_n "checking for $ac_word... " >&6; } 24122if ${ac_cv_prog_ac_ct_ICU_CONFIG+:} false; then : 24123 $as_echo_n "(cached) " >&6 24124else 24125 if test -n "$ac_ct_ICU_CONFIG"; then 24126 ac_cv_prog_ac_ct_ICU_CONFIG="$ac_ct_ICU_CONFIG" # Let the user override the test. 24127else 24128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24129for as_dir in $PATH 24130do 24131 IFS=$as_save_IFS 24132 test -z "$as_dir" && as_dir=. 24133 for ac_exec_ext in '' $ac_executable_extensions; do 24134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24135 ac_cv_prog_ac_ct_ICU_CONFIG="icu-config" 24136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24137 break 2 24138 fi 24139done 24140 done 24141IFS=$as_save_IFS 24142 24143fi 24144fi 24145ac_ct_ICU_CONFIG=$ac_cv_prog_ac_ct_ICU_CONFIG 24146if test -n "$ac_ct_ICU_CONFIG"; then 24147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5 24148$as_echo "$ac_ct_ICU_CONFIG" >&6; } 24149else 24150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24151$as_echo "no" >&6; } 24152fi 24153 24154 if test "x$ac_ct_ICU_CONFIG" = x; then 24155 ICU_CONFIG="false" 24156 else 24157 case $cross_compiling:$ac_tool_warned in 24158yes:) 24159{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 24160$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 24161ac_tool_warned=yes ;; 24162esac 24163 ICU_CONFIG=$ac_ct_ICU_CONFIG 24164 fi 24165else 24166 ICU_CONFIG="$ac_cv_prog_ICU_CONFIG" 24167fi 24168if $ICU_CONFIG --version >/dev/null 2>&1; then 24169 ICU_INCLUDES=`$ICU_CONFIG --cppflags` 24170 ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly --ldflags-system` 24171elif test "x$need_icu:$with_system_icu" = xyes:yes; then 24172 as_fn_error $? "did not find icu-config required for system icu libraries" "$LINENO" 5 24173fi 24174else 24175 ICU_INCLUDES="-DU_STATIC_IMPLEMENTATION -I$kpse_BLD/libs/icu/include" 24176 ICU_LIBS=" $kpse_BLD/libs/icu/icu-build/lib/libicuuc.a $kpse_BLD/libs/icu/icu-build/lib/libicudata.a" 24177 ICU_DEPEND=' ${top_builddir}/../../libs/icu/icu-build/lib/libicuuc.a ${top_builddir}/../../libs/icu/icu-build/lib/libicudata.a' 24178 ICU_RULE='# Rebuild libicuxxx 24179$(ICU_DEPEND): ${top_builddir}/../../libs/icu/include/unicode/uversion.h 24180 cd ${top_builddir}/../../libs/icu && $(MAKE) $(AM_MAKEFLAGS) rebuild 24181${top_builddir}/../../libs/icu/include/unicode/uversion.h: 24182 cd ${top_builddir}/../../libs/icu && $(MAKE) $(AM_MAKEFLAGS) rebuild' 24183fi 24184 24185## _KPSE_LIB_FLAGS: Setup graphite2 (-lgraphite2) flags 24186 24187# Check whether --with-system-graphite2 was given. 24188if test "${with_system_graphite2+set}" = set; then : 24189 withval=$with_system_graphite2; 24190fi 24191if test "x$with_system_graphite2" = xyes; then 24192 if $PKG_CONFIG graphite2; then 24193 GRAPHITE2_INCLUDES=`$PKG_CONFIG graphite2 --cflags` 24194 GRAPHITE2_LIBS=`$PKG_CONFIG graphite2 --libs` 24195elif test "x$need_graphite2:$with_system_graphite2" = xyes:yes; then 24196 as_fn_error $? "did not find graphite2" "$LINENO" 5 24197fi 24198else 24199 GRAPHITE2_INCLUDES="-I$kpse_BLD/libs/graphite2/include -DGRAPHITE2_STATIC" 24200 GRAPHITE2_LIBS="$kpse_BLD/libs/graphite2/libgraphite2.a" 24201 GRAPHITE2_DEPEND='${top_builddir}/../../libs/graphite2/libgraphite2.a' 24202 GRAPHITE2_RULE='# Rebuild libgraphite2 24203$(GRAPHITE2_DEPEND): ${top_builddir}/../../libs/graphite2/include/graphite2/Font.h 24204 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild 24205${top_builddir}/../../libs/graphite2/include/graphite2/Font.h: 24206 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild' 24207fi 24208 24209## _KPSE_LIB_FLAGS: Setup harfbuzz (-lharfbuzz) flags 24210 24211# Check whether --with-system-harfbuzz was given. 24212if test "${with_system_harfbuzz+set}" = set; then : 24213 withval=$with_system_harfbuzz; 24214fi 24215if test "x$with_system_harfbuzz" = xyes; then 24216 if $PKG_CONFIG harfbuzz-icu; then 24217 HARFBUZZ_INCLUDES=`$PKG_CONFIG harfbuzz-icu --cflags` 24218 HARFBUZZ_LIBS=`$PKG_CONFIG harfbuzz-icu --libs` 24219elif test "x$need_harfbuzz:$with_system_harfbuzz" = xyes:yes; then 24220 as_fn_error $? "did not find harfbuzz-icu" "$LINENO" 5 24221fi 24222else 24223 HARFBUZZ_INCLUDES="-I$kpse_BLD/libs/harfbuzz/include" 24224 HARFBUZZ_LIBS="$kpse_BLD/libs/harfbuzz/libharfbuzz.a" 24225 HARFBUZZ_DEPEND='${top_builddir}/../../libs/harfbuzz/libharfbuzz.a' 24226 HARFBUZZ_RULE='# Rebuild libharfbuzz 24227$(HARFBUZZ_DEPEND): ${top_builddir}/../../libs/harfbuzz/include/hb.h 24228 cd ${top_builddir}/../../libs/harfbuzz && $(MAKE) $(AM_MAKEFLAGS) rebuild 24229${top_builddir}/../../libs/harfbuzz/include/hb.h: 24230 cd ${top_builddir}/../../libs/harfbuzz && $(MAKE) $(AM_MAKEFLAGS) rebuild' 24231fi 24232 24233## _KPSE_LIB_FLAGS: Setup graphite2 (-lgraphite2) flags 24234 24235# Check whether --with-system-graphite2 was given. 24236if test "${with_system_graphite2+set}" = set; then : 24237 withval=$with_system_graphite2; 24238fi 24239if test "x$with_system_graphite2" = xyes; then 24240 if $PKG_CONFIG graphite2; then 24241 GRAPHITE2_INCLUDES=`$PKG_CONFIG graphite2 --cflags` 24242 GRAPHITE2_LIBS=`$PKG_CONFIG graphite2 --libs` 24243elif test "x$need_graphite2:$with_system_graphite2" = xyes:yes; then 24244 as_fn_error $? "did not find graphite2" "$LINENO" 5 24245fi 24246else 24247 GRAPHITE2_INCLUDES="-I$kpse_BLD/libs/graphite2/include -DGRAPHITE2_STATIC" 24248 GRAPHITE2_LIBS="$kpse_BLD/libs/graphite2/libgraphite2.a" 24249 GRAPHITE2_DEPEND='${top_builddir}/../../libs/graphite2/libgraphite2.a' 24250 GRAPHITE2_RULE='# Rebuild libgraphite2 24251$(GRAPHITE2_DEPEND): ${top_builddir}/../../libs/graphite2/include/graphite2/Font.h 24252 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild 24253${top_builddir}/../../libs/graphite2/include/graphite2/Font.h: 24254 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild' 24255fi 24256 24257 24258# Check size of off_t (using <kpathsea/config.h>) 24259eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\" 24260eval LIBS=\"$KPATHSEA_LIBS \$LIBS\" 24261 24262# The cast to long int works around a bug in the HP C Compiler 24263# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 24264# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 24265# This bug is HP SR number 8606223364. 24266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 24267$as_echo_n "checking size of off_t... " >&6; } 24268if ${ac_cv_sizeof_off_t+:} false; then : 24269 $as_echo_n "(cached) " >&6 24270else 24271 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default 24272#include <kpathsea/config.h> 24273"; then : 24274 24275else 24276 if test "$ac_cv_type_off_t" = yes; then 24277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24278$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24279as_fn_error 77 "cannot compute sizeof (off_t) 24280See \`config.log' for more details" "$LINENO" 5; } 24281 else 24282 ac_cv_sizeof_off_t=0 24283 fi 24284fi 24285 24286fi 24287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 24288$as_echo "$ac_cv_sizeof_off_t" >&6; } 24289 24290 24291 24292cat >>confdefs.h <<_ACEOF 24293#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 24294_ACEOF 24295 24296 24297 24298if test "x$with_system_kpathsea" = xyes; then 24299 list="/usr/include /usr/local/include `echo $KPATHSEA_INCLUDES | sed 's/-I//g'`" 24300 found=no 24301 for KPATHSEA_PATHS_H in $list; do 24302 if test -r "$KPATHSEA_PATHS_H/kpathsea/paths.h"; then 24303 found=yes 24304 break 24305 fi 24306 done 24307 if test "x$found" = xno; then 24308 { $as_echo "$as_me:${as_lineno-$LINENO}: You requested to build \`web2c' using an installed \`kpathsea' version," >&5 24309$as_echo "$as_me: You requested to build \`web2c' using an installed \`kpathsea' version," >&6;} 24310 { $as_echo "$as_me:${as_lineno-$LINENO}: which requires to locate the <kpathsea/paths.h> header file." >&5 24311$as_echo "$as_me: which requires to locate the <kpathsea/paths.h> header file." >&6;} 24312 as_fn_error $? "Sorry, not found under any of: $list *****" "$LINENO" 5 24313 fi 24314else 24315 KPATHSEA_PATHS_H='${top_builddir}/..' 24316fi 24317 24318 24319# Check of poppler 0.25 or better 24320case $with_system_poppler in #( 24321 yes) : 24322 eval CPPFLAGS=\"$POPPLER_INCLUDES \$CPPFLAGS\" 24323eval LIBS=\"$POPPLER_LIBS \$LIBS\" 24324 24325ac_ext=cpp 24326ac_cpp='$CXXCPP $CPPFLAGS' 24327ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24328ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24329ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24330ac_link="./libtool --mode=link --tag=CXX $ac_link" 24331 24332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for StructTreeRoot.h (poppler 0.25 or better)" >&5 24333$as_echo_n "checking for StructTreeRoot.h (poppler 0.25 or better)... " >&6; } 24334cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24335/* end confdefs.h. */ 24336#include <stdio.h> 24337#include <StructTreeRoot.h> 24338int 24339main () 24340{ 24341PDFDoc *doc; 24342 Dict *dict; 24343 StructTreeRoot root(doc, dict); 24344 ; 24345 return 0; 24346} 24347_ACEOF 24348if ac_fn_cxx_try_compile "$LINENO"; then : 24349 kpse_cv_have_StructTreeRoot_h=yes 24350else 24351 kpse_cv_have_StructTreeRoot_h=no 24352fi 24353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_StructTreeRoot_h" >&5 24355$as_echo "$kpse_cv_have_StructTreeRoot_h" >&6; } 24356ac_ext=c 24357ac_cpp='$CPP $CPPFLAGS' 24358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24360ac_compiler_gnu=$ac_cv_c_compiler_gnu 24361ac_link="./libtool --mode=link --tag=CC $ac_link" 24362 ;; #( 24363 *) : 24364 kpse_cv_have_StructTreeRoot_h=yes ;; 24365esac 24366if test "x$kpse_cv_have_StructTreeRoot_h" = xyes; then 24367 24368$as_echo "#define HAVE_STRUCTTREEROOT_H 1" >>confdefs.h 24369 24370fi 24371CPPFLAGS=$kpse_save_CPPFLAGS 24372LIBS=$kpse_save_LIBS 24373 24374 24375ac_config_headers="$ac_config_headers w2c/c-auto.h:c-auto.in" 24376 24377 24378 24379 24380 24381ac_config_headers="$ac_config_headers ff-config.h:luatexdir/luafontloader/ff-config.in" 24382 24383 24384# For cross-compilation. Put at the end so there is a fair chance 24385# these are still visible when the configure script has finished. 24386 24387# The supporting programs we need to have available on the build machine. 24388# make variable cross native 24389if test "x$cross_compiling" = xyes; then : 24390 # Extract the first word of "tangle", so it can be a program name with args. 24391set dummy tangle; ac_word=$2 24392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24393$as_echo_n "checking for $ac_word... " >&6; } 24394if ${ac_cv_path_TANGLEBOOT+:} false; then : 24395 $as_echo_n "(cached) " >&6 24396else 24397 case $TANGLEBOOT in 24398 [\\/]* | ?:[\\/]*) 24399 ac_cv_path_TANGLEBOOT="$TANGLEBOOT" # Let the user override the test with a path. 24400 ;; 24401 *) 24402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24403for as_dir in $PATH 24404do 24405 IFS=$as_save_IFS 24406 test -z "$as_dir" && as_dir=. 24407 for ac_exec_ext in '' $ac_executable_extensions; do 24408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24409 ac_cv_path_TANGLEBOOT="$as_dir/$ac_word$ac_exec_ext" 24410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24411 break 2 24412 fi 24413done 24414 done 24415IFS=$as_save_IFS 24416 24417 ;; 24418esac 24419fi 24420TANGLEBOOT=$ac_cv_path_TANGLEBOOT 24421if test -n "$TANGLEBOOT"; then 24422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TANGLEBOOT" >&5 24423$as_echo "$TANGLEBOOT" >&6; } 24424else 24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24426$as_echo "no" >&6; } 24427fi 24428 24429 24430if test -z "${TANGLEBOOT}"; then : 24431 as_fn_error $? "tangle was not found but is required when cross-compiling. 24432 Install tangle or set \$TANGLEBOOT to the full pathname." "$LINENO" 5 24433fi 24434else 24435 TANGLEBOOT=./tangleboot 24436fi 24437 24438if test "x$cross_compiling" = xyes; then : 24439 # Extract the first word of "tangle", so it can be a program name with args. 24440set dummy tangle; ac_word=$2 24441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24442$as_echo_n "checking for $ac_word... " >&6; } 24443if ${ac_cv_path_TANGLE+:} false; then : 24444 $as_echo_n "(cached) " >&6 24445else 24446 case $TANGLE in 24447 [\\/]* | ?:[\\/]*) 24448 ac_cv_path_TANGLE="$TANGLE" # Let the user override the test with a path. 24449 ;; 24450 *) 24451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24452for as_dir in $PATH 24453do 24454 IFS=$as_save_IFS 24455 test -z "$as_dir" && as_dir=. 24456 for ac_exec_ext in '' $ac_executable_extensions; do 24457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24458 ac_cv_path_TANGLE="$as_dir/$ac_word$ac_exec_ext" 24459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24460 break 2 24461 fi 24462done 24463 done 24464IFS=$as_save_IFS 24465 24466 ;; 24467esac 24468fi 24469TANGLE=$ac_cv_path_TANGLE 24470if test -n "$TANGLE"; then 24471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TANGLE" >&5 24472$as_echo "$TANGLE" >&6; } 24473else 24474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24475$as_echo "no" >&6; } 24476fi 24477 24478 24479if test -z "${TANGLE}"; then : 24480 as_fn_error $? "tangle was not found but is required when cross-compiling. 24481 Install tangle or set \$TANGLE to the full pathname." "$LINENO" 5 24482fi 24483else 24484 TANGLE=./tangle 24485fi 24486 24487if test "x$cross_compiling" = xyes; then : 24488 # Extract the first word of "ctangle", so it can be a program name with args. 24489set dummy ctangle; ac_word=$2 24490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24491$as_echo_n "checking for $ac_word... " >&6; } 24492if ${ac_cv_path_CTANGLEBOOT+:} false; then : 24493 $as_echo_n "(cached) " >&6 24494else 24495 case $CTANGLEBOOT in 24496 [\\/]* | ?:[\\/]*) 24497 ac_cv_path_CTANGLEBOOT="$CTANGLEBOOT" # Let the user override the test with a path. 24498 ;; 24499 *) 24500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24501for as_dir in $PATH 24502do 24503 IFS=$as_save_IFS 24504 test -z "$as_dir" && as_dir=. 24505 for ac_exec_ext in '' $ac_executable_extensions; do 24506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24507 ac_cv_path_CTANGLEBOOT="$as_dir/$ac_word$ac_exec_ext" 24508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24509 break 2 24510 fi 24511done 24512 done 24513IFS=$as_save_IFS 24514 24515 ;; 24516esac 24517fi 24518CTANGLEBOOT=$ac_cv_path_CTANGLEBOOT 24519if test -n "$CTANGLEBOOT"; then 24520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTANGLEBOOT" >&5 24521$as_echo "$CTANGLEBOOT" >&6; } 24522else 24523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24524$as_echo "no" >&6; } 24525fi 24526 24527 24528if test -z "${CTANGLEBOOT}"; then : 24529 as_fn_error $? "ctangle was not found but is required when cross-compiling. 24530 Install ctangle or set \$CTANGLEBOOT to the full pathname." "$LINENO" 5 24531fi 24532else 24533 CTANGLEBOOT=./ctangleboot 24534fi 24535 24536if test "x$cross_compiling" = xyes; then : 24537 # Extract the first word of "ctangle", so it can be a program name with args. 24538set dummy ctangle; ac_word=$2 24539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24540$as_echo_n "checking for $ac_word... " >&6; } 24541if ${ac_cv_path_CTANGLE+:} false; then : 24542 $as_echo_n "(cached) " >&6 24543else 24544 case $CTANGLE in 24545 [\\/]* | ?:[\\/]*) 24546 ac_cv_path_CTANGLE="$CTANGLE" # Let the user override the test with a path. 24547 ;; 24548 *) 24549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24550for as_dir in $PATH 24551do 24552 IFS=$as_save_IFS 24553 test -z "$as_dir" && as_dir=. 24554 for ac_exec_ext in '' $ac_executable_extensions; do 24555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24556 ac_cv_path_CTANGLE="$as_dir/$ac_word$ac_exec_ext" 24557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24558 break 2 24559 fi 24560done 24561 done 24562IFS=$as_save_IFS 24563 24564 ;; 24565esac 24566fi 24567CTANGLE=$ac_cv_path_CTANGLE 24568if test -n "$CTANGLE"; then 24569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTANGLE" >&5 24570$as_echo "$CTANGLE" >&6; } 24571else 24572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24573$as_echo "no" >&6; } 24574fi 24575 24576 24577if test -z "${CTANGLE}"; then : 24578 as_fn_error $? "ctangle was not found but is required when cross-compiling. 24579 Install ctangle or set \$CTANGLE to the full pathname." "$LINENO" 5 24580fi 24581else 24582 CTANGLE=./ctangle 24583fi 24584 24585if test "x$cross_compiling" = xyes; then : 24586 # Extract the first word of "tie", so it can be a program name with args. 24587set dummy tie; ac_word=$2 24588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24589$as_echo_n "checking for $ac_word... " >&6; } 24590if ${ac_cv_path_TIE+:} false; then : 24591 $as_echo_n "(cached) " >&6 24592else 24593 case $TIE in 24594 [\\/]* | ?:[\\/]*) 24595 ac_cv_path_TIE="$TIE" # Let the user override the test with a path. 24596 ;; 24597 *) 24598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24599for as_dir in $PATH 24600do 24601 IFS=$as_save_IFS 24602 test -z "$as_dir" && as_dir=. 24603 for ac_exec_ext in '' $ac_executable_extensions; do 24604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24605 ac_cv_path_TIE="$as_dir/$ac_word$ac_exec_ext" 24606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24607 break 2 24608 fi 24609done 24610 done 24611IFS=$as_save_IFS 24612 24613 ;; 24614esac 24615fi 24616TIE=$ac_cv_path_TIE 24617if test -n "$TIE"; then 24618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIE" >&5 24619$as_echo "$TIE" >&6; } 24620else 24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24622$as_echo "no" >&6; } 24623fi 24624 24625 24626if test -z "${TIE}"; then : 24627 as_fn_error $? "tie was not found but is required when cross-compiling. 24628 Install tie or set \$TIE to the full pathname." "$LINENO" 5 24629fi 24630else 24631 TIE=./tie 24632fi 24633 24634if test "x$cross_compiling" = xyes; then : 24635 # Extract the first word of "otangle", so it can be a program name with args. 24636set dummy otangle; ac_word=$2 24637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24638$as_echo_n "checking for $ac_word... " >&6; } 24639if ${ac_cv_path_OTANGLE+:} false; then : 24640 $as_echo_n "(cached) " >&6 24641else 24642 case $OTANGLE in 24643 [\\/]* | ?:[\\/]*) 24644 ac_cv_path_OTANGLE="$OTANGLE" # Let the user override the test with a path. 24645 ;; 24646 *) 24647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24648for as_dir in $PATH 24649do 24650 IFS=$as_save_IFS 24651 test -z "$as_dir" && as_dir=. 24652 for ac_exec_ext in '' $ac_executable_extensions; do 24653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24654 ac_cv_path_OTANGLE="$as_dir/$ac_word$ac_exec_ext" 24655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24656 break 2 24657 fi 24658done 24659 done 24660IFS=$as_save_IFS 24661 24662 ;; 24663esac 24664fi 24665OTANGLE=$ac_cv_path_OTANGLE 24666if test -n "$OTANGLE"; then 24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTANGLE" >&5 24668$as_echo "$OTANGLE" >&6; } 24669else 24670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24671$as_echo "no" >&6; } 24672fi 24673 24674 24675if test -z "${OTANGLE}"; then : 24676 as_fn_error $? "otangle was not found but is required when cross-compiling. 24677 Install otangle or set \$OTANGLE to the full pathname." "$LINENO" 5 24678fi 24679else 24680 OTANGLE=./otangle 24681fi 24682 24683 24684if test "x$cross_compiling" = xyes; then 24685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your tie supports WEBINPUTS" >&5 24686$as_echo_n "checking if your tie supports WEBINPUTS... " >&6; } 24687 ( WEBINPUTS=$srcdir/tiedir 24688 export WEBINPUTS 24689 $TIE -c tie.outc tie.tie tie.cf1 tie.cf2 tie.cf3 24690 $TIE -m tie.outm tie.tie tie.cf1 tie.cf2 tie.cf3 ) >/dev/null 2>&1 24691 if diff tie.outc $srcdir/tiedir/tie.chf.gen >/dev/null 2>&1 && \ 24692 diff tie.outm $srcdir/tiedir/tie.master.gen >/dev/null 2>&1; then 24693 tool_ok=yes 24694 else 24695 tool_ok=no 24696 fi 24697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_ok" >&5 24698$as_echo "$tool_ok" >&6; } 24699 if test "x$tool_ok" != xyes; then 24700 as_fn_error $? "Sorry, your $TIE is too old and does not support WEBINPUTS" "$LINENO" 5 24701 fi 24702 rm -f tie.outc tie.outm 24703 if test "x$enable_otangle" = xyes; then 24704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your otangle supports WEBINPUTS" >&5 24705$as_echo_n "checking if your otangle supports WEBINPUTS... " >&6; } 24706 ( WEBINPUTS=$srcdir/cftests 24707 export WEBINPUTS 24708 $OTANGLE cftest cftest ) >/dev/null 2>&1 24709 if diff cftest.p $srcdir/cftests/ocftest.p >/dev/null 2>&1; then 24710 tool_ok=yes 24711 else 24712 tool_ok=no 24713 fi 24714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_ok" >&5 24715$as_echo "$tool_ok" >&6; } 24716 if test "x$tool_ok" != xyes; then 24717 as_fn_error $? "Sorry, your $OTANGLE is too old and does not support WEBINPUTS" "$LINENO" 5 24718 fi 24719 rm -f cftest.p 24720 fi 24721fi 24722 24723ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile man/Makefile omegafonts/Makefile otps/Makefile otps/win32/Makefile window/Makefile" 24724 24725ac_config_files="$ac_config_files web2c-sh" 24726 24727ac_config_files="$ac_config_files tangle-sh" 24728 24729ac_config_files="$ac_config_files ctangleboot-sh" 24730 24731ac_config_files="$ac_config_files silent-sh" 24732 24733 24734## texk/web2c/synctexdir/ac/synctex.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ 24735 24736SYNCTEXVERSION=1.17.0 24737 24738 24739SYNCTEX_LT_VERSINFO=18:0:17 24740 24741 24742 if test "x$enable_synctex" != xno; then 24743 SYNCTEX_TRUE= 24744 SYNCTEX_FALSE='#' 24745else 24746 SYNCTEX_TRUE='#' 24747 SYNCTEX_FALSE= 24748fi 24749 24750 24751if test "x$with_system_zlib" = xyes; then : 24752 LTLIBSYNCTEX=libsynctex.la 24753 24754else 24755 LIBSYNCTEX=libsynctex.a 24756 24757fi 24758 24759ac_config_files="$ac_config_files synctexdir/synctex.pc" 24760 24761 24762 24763 24764if test "x$host_alias" != x && test "x$build_alias" = x; then : 24765 as_fn_error $? "when cross-compiling you must specify both --host and --build." "$LINENO" 5 24766fi 24767eval kpse_build_alias=\${build_alias-$build} 24768 24769 24770 24771subdirs="$subdirs web2c" 24772 24773 24774 24775 24776cat >confcache <<\_ACEOF 24777# This file is a shell script that caches the results of configure 24778# tests run on this system so they can be shared between configure 24779# scripts and configure runs, see configure's option --config-cache. 24780# It is not useful on other systems. If it contains results you don't 24781# want to keep, you may remove or edit it. 24782# 24783# config.status only pays attention to the cache file if you give it 24784# the --recheck option to rerun configure. 24785# 24786# `ac_cv_env_foo' variables (set or unset) will be overridden when 24787# loading this file, other *unset* `ac_cv_foo' will be assigned the 24788# following values. 24789 24790_ACEOF 24791 24792# The following way of writing the cache mishandles newlines in values, 24793# but we know of no workaround that is simple, portable, and efficient. 24794# So, we kill variables containing newlines. 24795# Ultrix sh set writes to stderr and can't be redirected directly, 24796# and sets the high bit in the cache file unless we assign to the vars. 24797( 24798 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 24799 eval ac_val=\$$ac_var 24800 case $ac_val in #( 24801 *${as_nl}*) 24802 case $ac_var in #( 24803 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 24804$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 24805 esac 24806 case $ac_var in #( 24807 _ | IFS | as_nl) ;; #( 24808 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 24809 *) { eval $ac_var=; unset $ac_var;} ;; 24810 esac ;; 24811 esac 24812 done 24813 24814 (set) 2>&1 | 24815 case $as_nl`(ac_space=' '; set) 2>&1` in #( 24816 *${as_nl}ac_space=\ *) 24817 # `set' does not quote correctly, so add quotes: double-quote 24818 # substitution turns \\\\ into \\, and sed turns \\ into \. 24819 sed -n \ 24820 "s/'/'\\\\''/g; 24821 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 24822 ;; #( 24823 *) 24824 # `set' quotes correctly as required by POSIX, so do not add quotes. 24825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 24826 ;; 24827 esac | 24828 sort 24829) | 24830 sed ' 24831 /^ac_cv_env_/b end 24832 t clear 24833 :clear 24834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 24835 t end 24836 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 24837 :end' >>confcache 24838if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 24839 if test -w "$cache_file"; then 24840 if test "x$cache_file" != "x/dev/null"; then 24841 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 24842$as_echo "$as_me: updating cache $cache_file" >&6;} 24843 if test ! -f "$cache_file" || test -h "$cache_file"; then 24844 cat confcache >"$cache_file" 24845 else 24846 case $cache_file in #( 24847 */* | ?:*) 24848 mv -f confcache "$cache_file"$$ && 24849 mv -f "$cache_file"$$ "$cache_file" ;; #( 24850 *) 24851 mv -f confcache "$cache_file" ;; 24852 esac 24853 fi 24854 fi 24855 else 24856 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 24857$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 24858 fi 24859fi 24860rm -f confcache 24861 24862test "x$prefix" = xNONE && prefix=$ac_default_prefix 24863# Let make expand exec_prefix. 24864test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 24865 24866DEFS=-DHAVE_CONFIG_H 24867 24868ac_libobjs= 24869ac_ltlibobjs= 24870U= 24871for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 24872 # 1. Remove the extension, and $U if already installed. 24873 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 24874 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 24875 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 24876 # will be set to the directory where LIBOBJS objects are built. 24877 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 24878 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 24879done 24880LIBOBJS=$ac_libobjs 24881 24882LTLIBOBJS=$ac_ltlibobjs 24883 24884 24885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 24886$as_echo_n "checking that generated files are newer than configure... " >&6; } 24887 if test -n "$am_sleep_pid"; then 24888 # Hide warnings about reused PIDs. 24889 wait $am_sleep_pid 2>/dev/null 24890 fi 24891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 24892$as_echo "done" >&6; } 24893 if test -n "$EXEEXT"; then 24894 am__EXEEXT_TRUE= 24895 am__EXEEXT_FALSE='#' 24896else 24897 am__EXEEXT_TRUE='#' 24898 am__EXEEXT_FALSE= 24899fi 24900 24901if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 24902 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 24903Usually this means the macro was only invoked conditionally." "$LINENO" 5 24904fi 24905if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 24906 as_fn_error $? "conditional \"AMDEP\" was never defined. 24907Usually this means the macro was only invoked conditionally." "$LINENO" 5 24908fi 24909if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 24910 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 24911Usually this means the macro was only invoked conditionally." "$LINENO" 5 24912fi 24913if test -z "${cross_TRUE}" && test -z "${cross_FALSE}"; then 24914 as_fn_error $? "conditional \"cross\" was never defined. 24915Usually this means the macro was only invoked conditionally." "$LINENO" 5 24916fi 24917if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 24918 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 24919Usually this means the macro was only invoked conditionally." "$LINENO" 5 24920fi 24921if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then 24922 as_fn_error $? "conditional \"am__fastdepOBJCXX\" was never defined. 24923Usually this means the macro was only invoked conditionally." "$LINENO" 5 24924fi 24925if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then 24926 as_fn_error $? "conditional \"WIN32\" was never defined. 24927Usually this means the macro was only invoked conditionally." "$LINENO" 5 24928fi 24929if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then 24930 as_fn_error $? "conditional \"MINGW32\" was never defined. 24931Usually this means the macro was only invoked conditionally." "$LINENO" 5 24932fi 24933if test -z "${WIN32_CALL_TRUE}" && test -z "${WIN32_CALL_FALSE}"; then 24934 as_fn_error $? "conditional \"WIN32_CALL\" was never defined. 24935Usually this means the macro was only invoked conditionally." "$LINENO" 5 24936fi 24937if test -z "${USE_DLOPEN_TRUE}" && test -z "${USE_DLOPEN_FALSE}"; then 24938 as_fn_error $? "conditional \"USE_DLOPEN\" was never defined. 24939Usually this means the macro was only invoked conditionally." "$LINENO" 5 24940fi 24941if test -z "${XETEX_MACOSX_TRUE}" && test -z "${XETEX_MACOSX_FALSE}"; then 24942 as_fn_error $? "conditional \"XETEX_MACOSX\" was never defined. 24943Usually this means the macro was only invoked conditionally." "$LINENO" 5 24944fi 24945if test -z "${TEX_TRUE}" && test -z "${TEX_FALSE}"; then 24946 as_fn_error $? "conditional \"TEX\" was never defined. 24947Usually this means the macro was only invoked conditionally." "$LINENO" 5 24948fi 24949if test -z "${TEX_SYNCTEX_TRUE}" && test -z "${TEX_SYNCTEX_FALSE}"; then 24950 as_fn_error $? "conditional \"TEX_SYNCTEX\" was never defined. 24951Usually this means the macro was only invoked conditionally." "$LINENO" 5 24952fi 24953if test -z "${ETEX_TRUE}" && test -z "${ETEX_FALSE}"; then 24954 as_fn_error $? "conditional \"ETEX\" was never defined. 24955Usually this means the macro was only invoked conditionally." "$LINENO" 5 24956fi 24957if test -z "${ETEX_SYNCTEX_TRUE}" && test -z "${ETEX_SYNCTEX_FALSE}"; then 24958 as_fn_error $? "conditional \"ETEX_SYNCTEX\" was never defined. 24959Usually this means the macro was only invoked conditionally." "$LINENO" 5 24960fi 24961if test -z "${PTEX_TRUE}" && test -z "${PTEX_FALSE}"; then 24962 as_fn_error $? "conditional \"PTEX\" was never defined. 24963Usually this means the macro was only invoked conditionally." "$LINENO" 5 24964fi 24965if test -z "${PTEX_SYNCTEX_TRUE}" && test -z "${PTEX_SYNCTEX_FALSE}"; then 24966 as_fn_error $? "conditional \"PTEX_SYNCTEX\" was never defined. 24967Usually this means the macro was only invoked conditionally." "$LINENO" 5 24968fi 24969if test -z "${EPTEX_TRUE}" && test -z "${EPTEX_FALSE}"; then 24970 as_fn_error $? "conditional \"EPTEX\" was never defined. 24971Usually this means the macro was only invoked conditionally." "$LINENO" 5 24972fi 24973if test -z "${EPTEX_SYNCTEX_TRUE}" && test -z "${EPTEX_SYNCTEX_FALSE}"; then 24974 as_fn_error $? "conditional \"EPTEX_SYNCTEX\" was never defined. 24975Usually this means the macro was only invoked conditionally." "$LINENO" 5 24976fi 24977if test -z "${UPTEX_TRUE}" && test -z "${UPTEX_FALSE}"; then 24978 as_fn_error $? "conditional \"UPTEX\" was never defined. 24979Usually this means the macro was only invoked conditionally." "$LINENO" 5 24980fi 24981if test -z "${UPTEX_SYNCTEX_TRUE}" && test -z "${UPTEX_SYNCTEX_FALSE}"; then 24982 as_fn_error $? "conditional \"UPTEX_SYNCTEX\" was never defined. 24983Usually this means the macro was only invoked conditionally." "$LINENO" 5 24984fi 24985if test -z "${EUPTEX_TRUE}" && test -z "${EUPTEX_FALSE}"; then 24986 as_fn_error $? "conditional \"EUPTEX\" was never defined. 24987Usually this means the macro was only invoked conditionally." "$LINENO" 5 24988fi 24989if test -z "${EUPTEX_SYNCTEX_TRUE}" && test -z "${EUPTEX_SYNCTEX_FALSE}"; then 24990 as_fn_error $? "conditional \"EUPTEX_SYNCTEX\" was never defined. 24991Usually this means the macro was only invoked conditionally." "$LINENO" 5 24992fi 24993if test -z "${ALEPH_TRUE}" && test -z "${ALEPH_FALSE}"; then 24994 as_fn_error $? "conditional \"ALEPH\" was never defined. 24995Usually this means the macro was only invoked conditionally." "$LINENO" 5 24996fi 24997if test -z "${PDFTEX_TRUE}" && test -z "${PDFTEX_FALSE}"; then 24998 as_fn_error $? "conditional \"PDFTEX\" was never defined. 24999Usually this means the macro was only invoked conditionally." "$LINENO" 5 25000fi 25001if test -z "${PDFTEX_SYNCTEX_TRUE}" && test -z "${PDFTEX_SYNCTEX_FALSE}"; then 25002 as_fn_error $? "conditional \"PDFTEX_SYNCTEX\" was never defined. 25003Usually this means the macro was only invoked conditionally." "$LINENO" 5 25004fi 25005if test -z "${LUATEX_TRUE}" && test -z "${LUATEX_FALSE}"; then 25006 as_fn_error $? "conditional \"LUATEX\" was never defined. 25007Usually this means the macro was only invoked conditionally." "$LINENO" 5 25008fi 25009if test -z "${LUAJITTEX_TRUE}" && test -z "${LUAJITTEX_FALSE}"; then 25010 as_fn_error $? "conditional \"LUAJITTEX\" was never defined. 25011Usually this means the macro was only invoked conditionally." "$LINENO" 5 25012fi 25013if test -z "${MP_TRUE}" && test -z "${MP_FALSE}"; then 25014 as_fn_error $? "conditional \"MP\" was never defined. 25015Usually this means the macro was only invoked conditionally." "$LINENO" 5 25016fi 25017if test -z "${PMP_TRUE}" && test -z "${PMP_FALSE}"; then 25018 as_fn_error $? "conditional \"PMP\" was never defined. 25019Usually this means the macro was only invoked conditionally." "$LINENO" 5 25020fi 25021if test -z "${UPMP_TRUE}" && test -z "${UPMP_FALSE}"; then 25022 as_fn_error $? "conditional \"UPMP\" was never defined. 25023Usually this means the macro was only invoked conditionally." "$LINENO" 5 25024fi 25025if test -z "${XETEX_TRUE}" && test -z "${XETEX_FALSE}"; then 25026 as_fn_error $? "conditional \"XETEX\" was never defined. 25027Usually this means the macro was only invoked conditionally." "$LINENO" 5 25028fi 25029if test -z "${XETEX_SYNCTEX_TRUE}" && test -z "${XETEX_SYNCTEX_FALSE}"; then 25030 as_fn_error $? "conditional \"XETEX_SYNCTEX\" was never defined. 25031Usually this means the macro was only invoked conditionally." "$LINENO" 5 25032fi 25033if test -z "${OTANGLE_TRUE}" && test -z "${OTANGLE_FALSE}"; then 25034 as_fn_error $? "conditional \"OTANGLE\" was never defined. 25035Usually this means the macro was only invoked conditionally." "$LINENO" 5 25036fi 25037if test -z "${MF_TRUE}" && test -z "${MF_FALSE}"; then 25038 as_fn_error $? "conditional \"MF\" was never defined. 25039Usually this means the macro was only invoked conditionally." "$LINENO" 5 25040fi 25041if test -z "${MFN_TRUE}" && test -z "${MFN_FALSE}"; then 25042 as_fn_error $? "conditional \"MFN\" was never defined. 25043Usually this means the macro was only invoked conditionally." "$LINENO" 5 25044fi 25045if test -z "${MFXT_TRUE}" && test -z "${MFXT_FALSE}"; then 25046 as_fn_error $? "conditional \"MFXT\" was never defined. 25047Usually this means the macro was only invoked conditionally." "$LINENO" 5 25048fi 25049if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then 25050 as_fn_error $? "conditional \"WEB\" was never defined. 25051Usually this means the macro was only invoked conditionally." "$LINENO" 5 25052fi 25053if test -z "${PWEB_TRUE}" && test -z "${PWEB_FALSE}"; then 25054 as_fn_error $? "conditional \"PWEB\" was never defined. 25055Usually this means the macro was only invoked conditionally." "$LINENO" 5 25056fi 25057if test -z "${UPWEB_TRUE}" && test -z "${UPWEB_FALSE}"; then 25058 as_fn_error $? "conditional \"UPWEB\" was never defined. 25059Usually this means the macro was only invoked conditionally." "$LINENO" 5 25060fi 25061 25062if test -z "${SYNCTEX_TRUE}" && test -z "${SYNCTEX_FALSE}"; then 25063 as_fn_error $? "conditional \"SYNCTEX\" was never defined. 25064Usually this means the macro was only invoked conditionally." "$LINENO" 5 25065fi 25066 25067: "${CONFIG_STATUS=./config.status}" 25068ac_write_fail=0 25069ac_clean_files_save=$ac_clean_files 25070ac_clean_files="$ac_clean_files $CONFIG_STATUS" 25071{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 25072$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 25073as_write_fail=0 25074cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 25075#! $SHELL 25076# Generated by $as_me. 25077# Run this file to recreate the current configuration. 25078# Compiler output produced by configure, useful for debugging 25079# configure, is in config.log if it exists. 25080 25081debug=false 25082ac_cs_recheck=false 25083ac_cs_silent=false 25084 25085SHELL=\${CONFIG_SHELL-$SHELL} 25086export SHELL 25087_ASEOF 25088cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 25089## -------------------- ## 25090## M4sh Initialization. ## 25091## -------------------- ## 25092 25093# Be more Bourne compatible 25094DUALCASE=1; export DUALCASE # for MKS sh 25095if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 25096 emulate sh 25097 NULLCMD=: 25098 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25099 # is contrary to our usage. Disable this feature. 25100 alias -g '${1+"$@"}'='"$@"' 25101 setopt NO_GLOB_SUBST 25102else 25103 case `(set -o) 2>/dev/null` in #( 25104 *posix*) : 25105 set -o posix ;; #( 25106 *) : 25107 ;; 25108esac 25109fi 25110 25111 25112as_nl=' 25113' 25114export as_nl 25115# Printing a long string crashes Solaris 7 /usr/bin/printf. 25116as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 25117as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 25118as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 25119# Prefer a ksh shell builtin over an external printf program on Solaris, 25120# but without wasting forks for bash or zsh. 25121if test -z "$BASH_VERSION$ZSH_VERSION" \ 25122 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 25123 as_echo='print -r --' 25124 as_echo_n='print -rn --' 25125elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 25126 as_echo='printf %s\n' 25127 as_echo_n='printf %s' 25128else 25129 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 25130 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 25131 as_echo_n='/usr/ucb/echo -n' 25132 else 25133 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 25134 as_echo_n_body='eval 25135 arg=$1; 25136 case $arg in #( 25137 *"$as_nl"*) 25138 expr "X$arg" : "X\\(.*\\)$as_nl"; 25139 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 25140 esac; 25141 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 25142 ' 25143 export as_echo_n_body 25144 as_echo_n='sh -c $as_echo_n_body as_echo' 25145 fi 25146 export as_echo_body 25147 as_echo='sh -c $as_echo_body as_echo' 25148fi 25149 25150# The user is always right. 25151if test "${PATH_SEPARATOR+set}" != set; then 25152 PATH_SEPARATOR=: 25153 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 25154 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 25155 PATH_SEPARATOR=';' 25156 } 25157fi 25158 25159 25160# IFS 25161# We need space, tab and new line, in precisely that order. Quoting is 25162# there to prevent editors from complaining about space-tab. 25163# (If _AS_PATH_WALK were called with IFS unset, it would disable word 25164# splitting by setting IFS to empty value.) 25165IFS=" "" $as_nl" 25166 25167# Find who we are. Look in the path if we contain no directory separator. 25168as_myself= 25169case $0 in #(( 25170 *[\\/]* ) as_myself=$0 ;; 25171 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25172for as_dir in $PATH 25173do 25174 IFS=$as_save_IFS 25175 test -z "$as_dir" && as_dir=. 25176 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 25177 done 25178IFS=$as_save_IFS 25179 25180 ;; 25181esac 25182# We did not find ourselves, most probably we were run as `sh COMMAND' 25183# in which case we are not to be found in the path. 25184if test "x$as_myself" = x; then 25185 as_myself=$0 25186fi 25187if test ! -f "$as_myself"; then 25188 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 25189 exit 1 25190fi 25191 25192# Unset variables that we do not need and which cause bugs (e.g. in 25193# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 25194# suppresses any "Segmentation fault" message there. '((' could 25195# trigger a bug in pdksh 5.2.14. 25196for as_var in BASH_ENV ENV MAIL MAILPATH 25197do eval test x\${$as_var+set} = xset \ 25198 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 25199done 25200PS1='$ ' 25201PS2='> ' 25202PS4='+ ' 25203 25204# NLS nuisances. 25205LC_ALL=C 25206export LC_ALL 25207LANGUAGE=C 25208export LANGUAGE 25209 25210# CDPATH. 25211(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 25212 25213 25214# as_fn_error STATUS ERROR [LINENO LOG_FD] 25215# ---------------------------------------- 25216# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 25217# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 25218# script with STATUS, using 1 if that was 0. 25219as_fn_error () 25220{ 25221 as_status=$1; test $as_status -eq 0 && as_status=1 25222 if test "$4"; then 25223 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 25224 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 25225 fi 25226 $as_echo "$as_me: error: $2" >&2 25227 as_fn_exit $as_status 25228} # as_fn_error 25229 25230 25231# as_fn_set_status STATUS 25232# ----------------------- 25233# Set $? to STATUS, without forking. 25234as_fn_set_status () 25235{ 25236 return $1 25237} # as_fn_set_status 25238 25239# as_fn_exit STATUS 25240# ----------------- 25241# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 25242as_fn_exit () 25243{ 25244 set +e 25245 as_fn_set_status $1 25246 exit $1 25247} # as_fn_exit 25248 25249# as_fn_unset VAR 25250# --------------- 25251# Portably unset VAR. 25252as_fn_unset () 25253{ 25254 { eval $1=; unset $1;} 25255} 25256as_unset=as_fn_unset 25257# as_fn_append VAR VALUE 25258# ---------------------- 25259# Append the text in VALUE to the end of the definition contained in VAR. Take 25260# advantage of any shell optimizations that allow amortized linear growth over 25261# repeated appends, instead of the typical quadratic growth present in naive 25262# implementations. 25263if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 25264 eval 'as_fn_append () 25265 { 25266 eval $1+=\$2 25267 }' 25268else 25269 as_fn_append () 25270 { 25271 eval $1=\$$1\$2 25272 } 25273fi # as_fn_append 25274 25275# as_fn_arith ARG... 25276# ------------------ 25277# Perform arithmetic evaluation on the ARGs, and store the result in the 25278# global $as_val. Take advantage of shells that can avoid forks. The arguments 25279# must be portable across $(()) and expr. 25280if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 25281 eval 'as_fn_arith () 25282 { 25283 as_val=$(( $* )) 25284 }' 25285else 25286 as_fn_arith () 25287 { 25288 as_val=`expr "$@" || test $? -eq 1` 25289 } 25290fi # as_fn_arith 25291 25292 25293if expr a : '\(a\)' >/dev/null 2>&1 && 25294 test "X`expr 00001 : '.*\(...\)'`" = X001; then 25295 as_expr=expr 25296else 25297 as_expr=false 25298fi 25299 25300if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 25301 as_basename=basename 25302else 25303 as_basename=false 25304fi 25305 25306if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 25307 as_dirname=dirname 25308else 25309 as_dirname=false 25310fi 25311 25312as_me=`$as_basename -- "$0" || 25313$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 25314 X"$0" : 'X\(//\)$' \| \ 25315 X"$0" : 'X\(/\)' \| . 2>/dev/null || 25316$as_echo X/"$0" | 25317 sed '/^.*\/\([^/][^/]*\)\/*$/{ 25318 s//\1/ 25319 q 25320 } 25321 /^X\/\(\/\/\)$/{ 25322 s//\1/ 25323 q 25324 } 25325 /^X\/\(\/\).*/{ 25326 s//\1/ 25327 q 25328 } 25329 s/.*/./; q'` 25330 25331# Avoid depending upon Character Ranges. 25332as_cr_letters='abcdefghijklmnopqrstuvwxyz' 25333as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 25334as_cr_Letters=$as_cr_letters$as_cr_LETTERS 25335as_cr_digits='0123456789' 25336as_cr_alnum=$as_cr_Letters$as_cr_digits 25337 25338ECHO_C= ECHO_N= ECHO_T= 25339case `echo -n x` in #((((( 25340-n*) 25341 case `echo 'xy\c'` in 25342 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 25343 xy) ECHO_C='\c';; 25344 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 25345 ECHO_T=' ';; 25346 esac;; 25347*) 25348 ECHO_N='-n';; 25349esac 25350 25351rm -f conf$$ conf$$.exe conf$$.file 25352if test -d conf$$.dir; then 25353 rm -f conf$$.dir/conf$$.file 25354else 25355 rm -f conf$$.dir 25356 mkdir conf$$.dir 2>/dev/null 25357fi 25358if (echo >conf$$.file) 2>/dev/null; then 25359 if ln -s conf$$.file conf$$ 2>/dev/null; then 25360 as_ln_s='ln -s' 25361 # ... but there are two gotchas: 25362 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 25363 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 25364 # In both cases, we have to default to `cp -pR'. 25365 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 25366 as_ln_s='cp -pR' 25367 elif ln conf$$.file conf$$ 2>/dev/null; then 25368 as_ln_s=ln 25369 else 25370 as_ln_s='cp -pR' 25371 fi 25372else 25373 as_ln_s='cp -pR' 25374fi 25375rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 25376rmdir conf$$.dir 2>/dev/null 25377 25378 25379# as_fn_mkdir_p 25380# ------------- 25381# Create "$as_dir" as a directory, including parents if necessary. 25382as_fn_mkdir_p () 25383{ 25384 25385 case $as_dir in #( 25386 -*) as_dir=./$as_dir;; 25387 esac 25388 test -d "$as_dir" || eval $as_mkdir_p || { 25389 as_dirs= 25390 while :; do 25391 case $as_dir in #( 25392 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 25393 *) as_qdir=$as_dir;; 25394 esac 25395 as_dirs="'$as_qdir' $as_dirs" 25396 as_dir=`$as_dirname -- "$as_dir" || 25397$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 25398 X"$as_dir" : 'X\(//\)[^/]' \| \ 25399 X"$as_dir" : 'X\(//\)$' \| \ 25400 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 25401$as_echo X"$as_dir" | 25402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 25403 s//\1/ 25404 q 25405 } 25406 /^X\(\/\/\)[^/].*/{ 25407 s//\1/ 25408 q 25409 } 25410 /^X\(\/\/\)$/{ 25411 s//\1/ 25412 q 25413 } 25414 /^X\(\/\).*/{ 25415 s//\1/ 25416 q 25417 } 25418 s/.*/./; q'` 25419 test -d "$as_dir" && break 25420 done 25421 test -z "$as_dirs" || eval "mkdir $as_dirs" 25422 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 25423 25424 25425} # as_fn_mkdir_p 25426if mkdir -p . 2>/dev/null; then 25427 as_mkdir_p='mkdir -p "$as_dir"' 25428else 25429 test -d ./-p && rmdir ./-p 25430 as_mkdir_p=false 25431fi 25432 25433 25434# as_fn_executable_p FILE 25435# ----------------------- 25436# Test if FILE is an executable regular file. 25437as_fn_executable_p () 25438{ 25439 test -f "$1" && test -x "$1" 25440} # as_fn_executable_p 25441as_test_x='test -x' 25442as_executable_p=as_fn_executable_p 25443 25444# Sed expression to map a string onto a valid CPP name. 25445as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 25446 25447# Sed expression to map a string onto a valid variable name. 25448as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 25449 25450 25451exec 6>&1 25452## ----------------------------------- ## 25453## Main body of $CONFIG_STATUS script. ## 25454## ----------------------------------- ## 25455_ASEOF 25456test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 25457 25458cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25459# Save the log message, to keep $0 and so on meaningful, and to 25460# report actual input values of CONFIG_FILES etc. instead of their 25461# values after options handling. 25462ac_log=" 25463This file was extended by Web2C $as_me 2015, which was 25464generated by GNU Autoconf 2.69. Invocation command line was 25465 25466 CONFIG_FILES = $CONFIG_FILES 25467 CONFIG_HEADERS = $CONFIG_HEADERS 25468 CONFIG_LINKS = $CONFIG_LINKS 25469 CONFIG_COMMANDS = $CONFIG_COMMANDS 25470 $ $0 $@ 25471 25472on `(hostname || uname -n) 2>/dev/null | sed 1q` 25473" 25474 25475_ACEOF 25476 25477case $ac_config_files in *" 25478"*) set x $ac_config_files; shift; ac_config_files=$*;; 25479esac 25480 25481case $ac_config_headers in *" 25482"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 25483esac 25484 25485 25486cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25487# Files that config.status was made for. 25488config_files="$ac_config_files" 25489config_headers="$ac_config_headers" 25490config_links="$ac_config_links" 25491config_commands="$ac_config_commands" 25492 25493_ACEOF 25494 25495cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25496ac_cs_usage="\ 25497\`$as_me' instantiates files and other configuration actions 25498from templates according to the current configuration. Unless the files 25499and actions are specified as TAGs, all are instantiated by default. 25500 25501Usage: $0 [OPTION]... [TAG]... 25502 25503 -h, --help print this help, then exit 25504 -V, --version print version number and configuration settings, then exit 25505 --config print configuration, then exit 25506 -q, --quiet, --silent 25507 do not print progress messages 25508 -d, --debug don't remove temporary files 25509 --recheck update $as_me by reconfiguring in the same conditions 25510 --file=FILE[:TEMPLATE] 25511 instantiate the configuration file FILE 25512 --header=FILE[:TEMPLATE] 25513 instantiate the configuration header FILE 25514 25515Configuration files: 25516$config_files 25517 25518Configuration headers: 25519$config_headers 25520 25521Configuration links: 25522$config_links 25523 25524Configuration commands: 25525$config_commands 25526 25527Report bugs to <tex-k@tug.org>." 25528 25529_ACEOF 25530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25531ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 25532ac_cs_version="\\ 25533Web2C config.status 2015 25534configured by $0, generated by GNU Autoconf 2.69, 25535 with options \\"\$ac_cs_config\\" 25536 25537Copyright (C) 2012 Free Software Foundation, Inc. 25538This config.status script is free software; the Free Software Foundation 25539gives unlimited permission to copy, distribute and modify it." 25540 25541ac_pwd='$ac_pwd' 25542srcdir='$srcdir' 25543INSTALL='$INSTALL' 25544MKDIR_P='$MKDIR_P' 25545AWK='$AWK' 25546test -n "\$AWK" || AWK=awk 25547_ACEOF 25548 25549cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25550# The default lists apply if the user does not specify any file. 25551ac_need_defaults=: 25552while test $# != 0 25553do 25554 case $1 in 25555 --*=?*) 25556 ac_option=`expr "X$1" : 'X\([^=]*\)='` 25557 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 25558 ac_shift=: 25559 ;; 25560 --*=) 25561 ac_option=`expr "X$1" : 'X\([^=]*\)='` 25562 ac_optarg= 25563 ac_shift=: 25564 ;; 25565 *) 25566 ac_option=$1 25567 ac_optarg=$2 25568 ac_shift=shift 25569 ;; 25570 esac 25571 25572 case $ac_option in 25573 # Handling of the options. 25574 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 25575 ac_cs_recheck=: ;; 25576 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 25577 $as_echo "$ac_cs_version"; exit ;; 25578 --config | --confi | --conf | --con | --co | --c ) 25579 $as_echo "$ac_cs_config"; exit ;; 25580 --debug | --debu | --deb | --de | --d | -d ) 25581 debug=: ;; 25582 --file | --fil | --fi | --f ) 25583 $ac_shift 25584 case $ac_optarg in 25585 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 25586 '') as_fn_error $? "missing file argument" ;; 25587 esac 25588 as_fn_append CONFIG_FILES " '$ac_optarg'" 25589 ac_need_defaults=false;; 25590 --header | --heade | --head | --hea ) 25591 $ac_shift 25592 case $ac_optarg in 25593 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 25594 esac 25595 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 25596 ac_need_defaults=false;; 25597 --he | --h) 25598 # Conflict between --help and --header 25599 as_fn_error $? "ambiguous option: \`$1' 25600Try \`$0 --help' for more information.";; 25601 --help | --hel | -h ) 25602 $as_echo "$ac_cs_usage"; exit ;; 25603 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 25604 | -silent | --silent | --silen | --sile | --sil | --si | --s) 25605 ac_cs_silent=: ;; 25606 25607 # This is an error. 25608 -*) as_fn_error $? "unrecognized option: \`$1' 25609Try \`$0 --help' for more information." ;; 25610 25611 *) as_fn_append ac_config_targets " $1" 25612 ac_need_defaults=false ;; 25613 25614 esac 25615 shift 25616done 25617 25618ac_configure_extra_args= 25619 25620if $ac_cs_silent; then 25621 exec 6>/dev/null 25622 ac_configure_extra_args="$ac_configure_extra_args --silent" 25623fi 25624 25625_ACEOF 25626cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25627if \$ac_cs_recheck; then 25628 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 25629 shift 25630 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 25631 CONFIG_SHELL='$SHELL' 25632 export CONFIG_SHELL 25633 exec "\$@" 25634fi 25635 25636_ACEOF 25637cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25638exec 5>>config.log 25639{ 25640 echo 25641 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 25642## Running $as_me. ## 25643_ASBOX 25644 $as_echo "$ac_log" 25645} >&5 25646 25647_ACEOF 25648cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25649# 25650# INIT-COMMANDS 25651# 25652AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 25653 25654 25655# The HP-UX ksh and POSIX shell print the target directory to stdout 25656# if CDPATH is set. 25657(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 25658 25659sed_quote_subst='$sed_quote_subst' 25660double_quote_subst='$double_quote_subst' 25661delay_variable_subst='$delay_variable_subst' 25662macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 25663macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 25664AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 25665DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 25666OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 25667enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 25668enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 25669pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 25670enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 25671shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 25672SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 25673ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 25674PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 25675host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 25676host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 25677host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 25678build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 25679build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 25680build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 25681SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 25682Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 25683GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 25684EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 25685FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 25686LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 25687NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 25688LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 25689max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 25690ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 25691exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 25692lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 25693lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 25694lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 25695lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 25696lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 25697reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 25698reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 25699deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 25700file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 25701file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 25702want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 25703sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 25704AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 25705AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 25706archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 25707STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 25708RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 25709old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 25710old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 25711old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 25712lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 25713CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 25714CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 25715compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 25716GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 25717lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 25718lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 25719lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 25720lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 25721lt_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"`' 25722lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 25723nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 25724lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 25725lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 25726objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 25727MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 25728lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 25729lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 25730lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 25731lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 25732lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 25733need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 25734MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 25735DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 25736NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 25737LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 25738OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 25739OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 25740libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 25741shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 25742extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 25743archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 25744enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 25745export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 25746whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 25747compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 25748old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 25749old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 25750archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 25751archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 25752module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 25753module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 25754with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 25755allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 25756no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 25757hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 25758hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 25759hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 25760hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 25761hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 25762hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 25763hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 25764inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 25765link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 25766always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 25767export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 25768exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 25769include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 25770prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 25771postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 25772file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 25773variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 25774need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 25775need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 25776version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 25777runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 25778shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 25779shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 25780libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 25781library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 25782soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 25783install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 25784postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 25785postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 25786finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 25787finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 25788hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 25789sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 25790configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 25791configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 25792hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 25793enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 25794enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 25795enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 25796old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 25797striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 25798compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 25799predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 25800postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 25801predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 25802postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 25803compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 25804LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 25805reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 25806reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25807old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25808compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 25809GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 25810lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 25811lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 25812lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 25813lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 25814lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 25815archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 25816enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 25817export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 25818whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 25819compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 25820old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25821old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25822archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25823archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25824module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25825module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25826with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 25827allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 25828no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 25829hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 25830hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 25831hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 25832hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 25833hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 25834hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 25835hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 25836inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 25837link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 25838always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 25839export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25840exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 25841include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 25842prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25843postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25844file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 25845hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 25846compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 25847predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 25848postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 25849predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 25850postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 25851compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 25852 25853LTCC='$LTCC' 25854LTCFLAGS='$LTCFLAGS' 25855compiler='$compiler_DEFAULT' 25856 25857# A function that is used when there is no print builtin or printf. 25858func_fallback_echo () 25859{ 25860 eval 'cat <<_LTECHO_EOF 25861\$1 25862_LTECHO_EOF' 25863} 25864 25865# Quote evaled strings. 25866for var in AS \ 25867DLLTOOL \ 25868OBJDUMP \ 25869SHELL \ 25870ECHO \ 25871PATH_SEPARATOR \ 25872SED \ 25873GREP \ 25874EGREP \ 25875FGREP \ 25876LD \ 25877NM \ 25878LN_S \ 25879lt_SP2NL \ 25880lt_NL2SP \ 25881reload_flag \ 25882deplibs_check_method \ 25883file_magic_cmd \ 25884file_magic_glob \ 25885want_nocaseglob \ 25886sharedlib_from_linklib_cmd \ 25887AR \ 25888AR_FLAGS \ 25889archiver_list_spec \ 25890STRIP \ 25891RANLIB \ 25892CC \ 25893CFLAGS \ 25894compiler \ 25895lt_cv_sys_global_symbol_pipe \ 25896lt_cv_sys_global_symbol_to_cdecl \ 25897lt_cv_sys_global_symbol_to_import \ 25898lt_cv_sys_global_symbol_to_c_name_address \ 25899lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 25900lt_cv_nm_interface \ 25901nm_file_list_spec \ 25902lt_cv_truncate_bin \ 25903lt_prog_compiler_no_builtin_flag \ 25904lt_prog_compiler_pic \ 25905lt_prog_compiler_wl \ 25906lt_prog_compiler_static \ 25907lt_cv_prog_compiler_c_o \ 25908need_locks \ 25909MANIFEST_TOOL \ 25910DSYMUTIL \ 25911NMEDIT \ 25912LIPO \ 25913OTOOL \ 25914OTOOL64 \ 25915shrext_cmds \ 25916export_dynamic_flag_spec \ 25917whole_archive_flag_spec \ 25918compiler_needs_object \ 25919with_gnu_ld \ 25920allow_undefined_flag \ 25921no_undefined_flag \ 25922hardcode_libdir_flag_spec \ 25923hardcode_libdir_separator \ 25924exclude_expsyms \ 25925include_expsyms \ 25926file_list_spec \ 25927variables_saved_for_relink \ 25928libname_spec \ 25929library_names_spec \ 25930soname_spec \ 25931install_override_mode \ 25932finish_eval \ 25933old_striplib \ 25934striplib \ 25935compiler_lib_search_dirs \ 25936predep_objects \ 25937postdep_objects \ 25938predeps \ 25939postdeps \ 25940compiler_lib_search_path \ 25941LD_CXX \ 25942reload_flag_CXX \ 25943compiler_CXX \ 25944lt_prog_compiler_no_builtin_flag_CXX \ 25945lt_prog_compiler_pic_CXX \ 25946lt_prog_compiler_wl_CXX \ 25947lt_prog_compiler_static_CXX \ 25948lt_cv_prog_compiler_c_o_CXX \ 25949export_dynamic_flag_spec_CXX \ 25950whole_archive_flag_spec_CXX \ 25951compiler_needs_object_CXX \ 25952with_gnu_ld_CXX \ 25953allow_undefined_flag_CXX \ 25954no_undefined_flag_CXX \ 25955hardcode_libdir_flag_spec_CXX \ 25956hardcode_libdir_separator_CXX \ 25957exclude_expsyms_CXX \ 25958include_expsyms_CXX \ 25959file_list_spec_CXX \ 25960compiler_lib_search_dirs_CXX \ 25961predep_objects_CXX \ 25962postdep_objects_CXX \ 25963predeps_CXX \ 25964postdeps_CXX \ 25965compiler_lib_search_path_CXX; do 25966 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 25967 *[\\\\\\\`\\"\\\$]*) 25968 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 25969 ;; 25970 *) 25971 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 25972 ;; 25973 esac 25974done 25975 25976# Double-quote double-evaled strings. 25977for var in reload_cmds \ 25978old_postinstall_cmds \ 25979old_postuninstall_cmds \ 25980old_archive_cmds \ 25981extract_expsyms_cmds \ 25982old_archive_from_new_cmds \ 25983old_archive_from_expsyms_cmds \ 25984archive_cmds \ 25985archive_expsym_cmds \ 25986module_cmds \ 25987module_expsym_cmds \ 25988export_symbols_cmds \ 25989prelink_cmds \ 25990postlink_cmds \ 25991postinstall_cmds \ 25992postuninstall_cmds \ 25993finish_cmds \ 25994sys_lib_search_path_spec \ 25995configure_time_dlsearch_path \ 25996configure_time_lt_sys_library_path \ 25997reload_cmds_CXX \ 25998old_archive_cmds_CXX \ 25999old_archive_from_new_cmds_CXX \ 26000old_archive_from_expsyms_cmds_CXX \ 26001archive_cmds_CXX \ 26002archive_expsym_cmds_CXX \ 26003module_cmds_CXX \ 26004module_expsym_cmds_CXX \ 26005export_symbols_cmds_CXX \ 26006prelink_cmds_CXX \ 26007postlink_cmds_CXX; do 26008 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 26009 *[\\\\\\\`\\"\\\$]*) 26010 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 26011 ;; 26012 *) 26013 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 26014 ;; 26015 esac 26016done 26017 26018ac_aux_dir='$ac_aux_dir' 26019 26020# See if we are running on zsh, and set the options that allow our 26021# commands through without removal of \ escapes INIT. 26022if test -n "\${ZSH_VERSION+set}"; then 26023 setopt NO_GLOB_SUBST 26024fi 26025 26026 26027 PACKAGE='$PACKAGE' 26028 VERSION='$VERSION' 26029 RM='$RM' 26030 ofile='$ofile' 26031 26032 26033 26034enable_libtool_hack='$enable_libtool_hack' 26035ac_aux_dir='$ac_aux_dir' 26036 26037 26038cxxld_sh='$cxxld_sh' 26039 26040_ACEOF 26041 26042cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26043 26044# Handling of arguments. 26045for ac_config_target in $ac_config_targets 26046do 26047 case $ac_config_target in 26048 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 26049 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 26050 "CXXLD.sh") CONFIG_COMMANDS="$CONFIG_COMMANDS CXXLD.sh" ;; 26051 "callexe.c") CONFIG_LINKS="$CONFIG_LINKS callexe.c:../texlive/w32_wrapper/callexe.c" ;; 26052 "w2c/c-auto.h") CONFIG_HEADERS="$CONFIG_HEADERS w2c/c-auto.h:c-auto.in" ;; 26053 "ff-config.h") CONFIG_HEADERS="$CONFIG_HEADERS ff-config.h:luatexdir/luafontloader/ff-config.in" ;; 26054 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 26055 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 26056 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 26057 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 26058 "omegafonts/Makefile") CONFIG_FILES="$CONFIG_FILES omegafonts/Makefile" ;; 26059 "otps/Makefile") CONFIG_FILES="$CONFIG_FILES otps/Makefile" ;; 26060 "otps/win32/Makefile") CONFIG_FILES="$CONFIG_FILES otps/win32/Makefile" ;; 26061 "window/Makefile") CONFIG_FILES="$CONFIG_FILES window/Makefile" ;; 26062 "web2c-sh") CONFIG_FILES="$CONFIG_FILES web2c-sh" ;; 26063 "tangle-sh") CONFIG_FILES="$CONFIG_FILES tangle-sh" ;; 26064 "ctangleboot-sh") CONFIG_FILES="$CONFIG_FILES ctangleboot-sh" ;; 26065 "silent-sh") CONFIG_FILES="$CONFIG_FILES silent-sh" ;; 26066 "synctexdir/synctex.pc") CONFIG_FILES="$CONFIG_FILES synctexdir/synctex.pc" ;; 26067 26068 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 26069 esac 26070done 26071 26072 26073# If the user did not use the arguments to specify the items to instantiate, 26074# then the envvar interface is used. Set only those that are not. 26075# We use the long form for the default assignment because of an extremely 26076# bizarre bug on SunOS 4.1.3. 26077if $ac_need_defaults; then 26078 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 26079 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 26080 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links 26081 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 26082fi 26083 26084# Have a temporary directory for convenience. Make it in the build tree 26085# simply because there is no reason against having it here, and in addition, 26086# creating and moving files from /tmp can sometimes cause problems. 26087# Hook for its removal unless debugging. 26088# Note that there is a small window in which the directory will not be cleaned: 26089# after its creation but before its name has been assigned to `$tmp'. 26090$debug || 26091{ 26092 tmp= ac_tmp= 26093 trap 'exit_status=$? 26094 : "${ac_tmp:=$tmp}" 26095 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 26096' 0 26097 trap 'as_fn_exit 1' 1 2 13 15 26098} 26099# Create a (secure) tmp directory for tmp files. 26100 26101{ 26102 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 26103 test -d "$tmp" 26104} || 26105{ 26106 tmp=./conf$$-$RANDOM 26107 (umask 077 && mkdir "$tmp") 26108} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 26109ac_tmp=$tmp 26110 26111# Set up the scripts for CONFIG_FILES section. 26112# No need to generate them if there are no CONFIG_FILES. 26113# This happens for instance with `./config.status config.h'. 26114if test -n "$CONFIG_FILES"; then 26115 26116 26117ac_cr=`echo X | tr X '\015'` 26118# On cygwin, bash can eat \r inside `` if the user requested igncr. 26119# But we know of no other shell where ac_cr would be empty at this 26120# point, so we can use a bashism as a fallback. 26121if test "x$ac_cr" = x; then 26122 eval ac_cr=\$\'\\r\' 26123fi 26124ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 26125if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 26126 ac_cs_awk_cr='\\r' 26127else 26128 ac_cs_awk_cr=$ac_cr 26129fi 26130 26131echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 26132_ACEOF 26133 26134 26135{ 26136 echo "cat >conf$$subs.awk <<_ACEOF" && 26137 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 26138 echo "_ACEOF" 26139} >conf$$subs.sh || 26140 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 26141ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 26142ac_delim='%!_!# ' 26143for ac_last_try in false false false false false :; do 26144 . ./conf$$subs.sh || 26145 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 26146 26147 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 26148 if test $ac_delim_n = $ac_delim_num; then 26149 break 26150 elif $ac_last_try; then 26151 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 26152 else 26153 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 26154 fi 26155done 26156rm -f conf$$subs.sh 26157 26158cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26159cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 26160_ACEOF 26161sed -n ' 26162h 26163s/^/S["/; s/!.*/"]=/ 26164p 26165g 26166s/^[^!]*!// 26167:repl 26168t repl 26169s/'"$ac_delim"'$// 26170t delim 26171:nl 26172h 26173s/\(.\{148\}\)..*/\1/ 26174t more1 26175s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 26176p 26177n 26178b repl 26179:more1 26180s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 26181p 26182g 26183s/.\{148\}// 26184t nl 26185:delim 26186h 26187s/\(.\{148\}\)..*/\1/ 26188t more2 26189s/["\\]/\\&/g; s/^/"/; s/$/"/ 26190p 26191b 26192:more2 26193s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 26194p 26195g 26196s/.\{148\}// 26197t delim 26198' <conf$$subs.awk | sed ' 26199/^[^""]/{ 26200 N 26201 s/\n// 26202} 26203' >>$CONFIG_STATUS || ac_write_fail=1 26204rm -f conf$$subs.awk 26205cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26206_ACAWK 26207cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 26208 for (key in S) S_is_set[key] = 1 26209 FS = "" 26210 26211} 26212{ 26213 line = $ 0 26214 nfields = split(line, field, "@") 26215 substed = 0 26216 len = length(field[1]) 26217 for (i = 2; i < nfields; i++) { 26218 key = field[i] 26219 keylen = length(key) 26220 if (S_is_set[key]) { 26221 value = S[key] 26222 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 26223 len += length(value) + length(field[++i]) 26224 substed = 1 26225 } else 26226 len += 1 + keylen 26227 } 26228 26229 print line 26230} 26231 26232_ACAWK 26233_ACEOF 26234cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26235if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 26236 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 26237else 26238 cat 26239fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 26240 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 26241_ACEOF 26242 26243# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 26244# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 26245# trailing colons and then remove the whole line if VPATH becomes empty 26246# (actually we leave an empty line to preserve line numbers). 26247if test "x$srcdir" = x.; then 26248 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 26249h 26250s/// 26251s/^/:/ 26252s/[ ]*$/:/ 26253s/:\$(srcdir):/:/g 26254s/:\${srcdir}:/:/g 26255s/:@srcdir@:/:/g 26256s/^:*// 26257s/:*$// 26258x 26259s/\(=[ ]*\).*/\1/ 26260G 26261s/\n// 26262s/^[^=]*=[ ]*$// 26263}' 26264fi 26265 26266cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26267fi # test -n "$CONFIG_FILES" 26268 26269# Set up the scripts for CONFIG_HEADERS section. 26270# No need to generate them if there are no CONFIG_HEADERS. 26271# This happens for instance with `./config.status Makefile'. 26272if test -n "$CONFIG_HEADERS"; then 26273cat >"$ac_tmp/defines.awk" <<\_ACAWK || 26274BEGIN { 26275_ACEOF 26276 26277# Transform confdefs.h into an awk script `defines.awk', embedded as 26278# here-document in config.status, that substitutes the proper values into 26279# config.h.in to produce config.h. 26280 26281# Create a delimiter string that does not exist in confdefs.h, to ease 26282# handling of long lines. 26283ac_delim='%!_!# ' 26284for ac_last_try in false false :; do 26285 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 26286 if test -z "$ac_tt"; then 26287 break 26288 elif $ac_last_try; then 26289 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 26290 else 26291 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 26292 fi 26293done 26294 26295# For the awk script, D is an array of macro values keyed by name, 26296# likewise P contains macro parameters if any. Preserve backslash 26297# newline sequences. 26298 26299ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 26300sed -n ' 26301s/.\{148\}/&'"$ac_delim"'/g 26302t rset 26303:rset 26304s/^[ ]*#[ ]*define[ ][ ]*/ / 26305t def 26306d 26307:def 26308s/\\$// 26309t bsnl 26310s/["\\]/\\&/g 26311s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 26312D["\1"]=" \3"/p 26313s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 26314d 26315:bsnl 26316s/["\\]/\\&/g 26317s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 26318D["\1"]=" \3\\\\\\n"\\/p 26319t cont 26320s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 26321t cont 26322d 26323:cont 26324n 26325s/.\{148\}/&'"$ac_delim"'/g 26326t clear 26327:clear 26328s/\\$// 26329t bsnlc 26330s/["\\]/\\&/g; s/^/"/; s/$/"/p 26331d 26332:bsnlc 26333s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 26334b cont 26335' <confdefs.h | sed ' 26336s/'"$ac_delim"'/"\\\ 26337"/g' >>$CONFIG_STATUS || ac_write_fail=1 26338 26339cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26340 for (key in D) D_is_set[key] = 1 26341 FS = "" 26342} 26343/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 26344 line = \$ 0 26345 split(line, arg, " ") 26346 if (arg[1] == "#") { 26347 defundef = arg[2] 26348 mac1 = arg[3] 26349 } else { 26350 defundef = substr(arg[1], 2) 26351 mac1 = arg[2] 26352 } 26353 split(mac1, mac2, "(") #) 26354 macro = mac2[1] 26355 prefix = substr(line, 1, index(line, defundef) - 1) 26356 if (D_is_set[macro]) { 26357 # Preserve the white space surrounding the "#". 26358 print prefix "define", macro P[macro] D[macro] 26359 next 26360 } else { 26361 # Replace #undef with comments. This is necessary, for example, 26362 # in the case of _POSIX_SOURCE, which is predefined and required 26363 # on some systems where configure will not decide to define it. 26364 if (defundef == "undef") { 26365 print "/*", prefix defundef, macro, "*/" 26366 next 26367 } 26368 } 26369} 26370{ print } 26371_ACAWK 26372_ACEOF 26373cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26374 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 26375fi # test -n "$CONFIG_HEADERS" 26376 26377 26378eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" 26379shift 26380for ac_tag 26381do 26382 case $ac_tag in 26383 :[FHLC]) ac_mode=$ac_tag; continue;; 26384 esac 26385 case $ac_mode$ac_tag in 26386 :[FHL]*:*);; 26387 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 26388 :[FH]-) ac_tag=-:-;; 26389 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 26390 esac 26391 ac_save_IFS=$IFS 26392 IFS=: 26393 set x $ac_tag 26394 IFS=$ac_save_IFS 26395 shift 26396 ac_file=$1 26397 shift 26398 26399 case $ac_mode in 26400 :L) ac_source=$1;; 26401 :[FH]) 26402 ac_file_inputs= 26403 for ac_f 26404 do 26405 case $ac_f in 26406 -) ac_f="$ac_tmp/stdin";; 26407 *) # Look for the file first in the build tree, then in the source tree 26408 # (if the path is not absolute). The absolute path cannot be DOS-style, 26409 # because $ac_f cannot contain `:'. 26410 test -f "$ac_f" || 26411 case $ac_f in 26412 [\\/$]*) false;; 26413 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 26414 esac || 26415 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 26416 esac 26417 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 26418 as_fn_append ac_file_inputs " '$ac_f'" 26419 done 26420 26421 # Let's still pretend it is `configure' which instantiates (i.e., don't 26422 # use $as_me), people would be surprised to read: 26423 # /* config.h. Generated by config.status. */ 26424 configure_input='Generated from '` 26425 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 26426 `' by configure.' 26427 if test x"$ac_file" != x-; then 26428 configure_input="$ac_file. $configure_input" 26429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 26430$as_echo "$as_me: creating $ac_file" >&6;} 26431 fi 26432 # Neutralize special characters interpreted by sed in replacement strings. 26433 case $configure_input in #( 26434 *\&* | *\|* | *\\* ) 26435 ac_sed_conf_input=`$as_echo "$configure_input" | 26436 sed 's/[\\\\&|]/\\\\&/g'`;; #( 26437 *) ac_sed_conf_input=$configure_input;; 26438 esac 26439 26440 case $ac_tag in 26441 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 26442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 26443 esac 26444 ;; 26445 esac 26446 26447 ac_dir=`$as_dirname -- "$ac_file" || 26448$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26449 X"$ac_file" : 'X\(//\)[^/]' \| \ 26450 X"$ac_file" : 'X\(//\)$' \| \ 26451 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 26452$as_echo X"$ac_file" | 26453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26454 s//\1/ 26455 q 26456 } 26457 /^X\(\/\/\)[^/].*/{ 26458 s//\1/ 26459 q 26460 } 26461 /^X\(\/\/\)$/{ 26462 s//\1/ 26463 q 26464 } 26465 /^X\(\/\).*/{ 26466 s//\1/ 26467 q 26468 } 26469 s/.*/./; q'` 26470 as_dir="$ac_dir"; as_fn_mkdir_p 26471 ac_builddir=. 26472 26473case "$ac_dir" in 26474.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 26475*) 26476 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 26477 # A ".." for each directory in $ac_dir_suffix. 26478 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 26479 case $ac_top_builddir_sub in 26480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 26481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 26482 esac ;; 26483esac 26484ac_abs_top_builddir=$ac_pwd 26485ac_abs_builddir=$ac_pwd$ac_dir_suffix 26486# for backward compatibility: 26487ac_top_builddir=$ac_top_build_prefix 26488 26489case $srcdir in 26490 .) # We are building in place. 26491 ac_srcdir=. 26492 ac_top_srcdir=$ac_top_builddir_sub 26493 ac_abs_top_srcdir=$ac_pwd ;; 26494 [\\/]* | ?:[\\/]* ) # Absolute name. 26495 ac_srcdir=$srcdir$ac_dir_suffix; 26496 ac_top_srcdir=$srcdir 26497 ac_abs_top_srcdir=$srcdir ;; 26498 *) # Relative name. 26499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 26500 ac_top_srcdir=$ac_top_build_prefix$srcdir 26501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 26502esac 26503ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 26504 26505 26506 case $ac_mode in 26507 :F) 26508 # 26509 # CONFIG_FILE 26510 # 26511 26512 case $INSTALL in 26513 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 26514 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 26515 esac 26516 ac_MKDIR_P=$MKDIR_P 26517 case $MKDIR_P in 26518 [\\/$]* | ?:[\\/]* ) ;; 26519 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 26520 esac 26521_ACEOF 26522 26523cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26524# If the template does not know about datarootdir, expand it. 26525# FIXME: This hack should be removed a few years after 2.60. 26526ac_datarootdir_hack=; ac_datarootdir_seen= 26527ac_sed_dataroot=' 26528/datarootdir/ { 26529 p 26530 q 26531} 26532/@datadir@/p 26533/@docdir@/p 26534/@infodir@/p 26535/@localedir@/p 26536/@mandir@/p' 26537case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 26538*datarootdir*) ac_datarootdir_seen=yes;; 26539*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 26540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 26541$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 26542_ACEOF 26543cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26544 ac_datarootdir_hack=' 26545 s&@datadir@&$datadir&g 26546 s&@docdir@&$docdir&g 26547 s&@infodir@&$infodir&g 26548 s&@localedir@&$localedir&g 26549 s&@mandir@&$mandir&g 26550 s&\\\${datarootdir}&$datarootdir&g' ;; 26551esac 26552_ACEOF 26553 26554# Neutralize VPATH when `$srcdir' = `.'. 26555# Shell code in configure.ac might set extrasub. 26556# FIXME: do we really want to maintain this feature? 26557cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26558ac_sed_extra="$ac_vpsub 26559$extrasub 26560_ACEOF 26561cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26562:t 26563/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 26564s|@configure_input@|$ac_sed_conf_input|;t t 26565s&@top_builddir@&$ac_top_builddir_sub&;t t 26566s&@top_build_prefix@&$ac_top_build_prefix&;t t 26567s&@srcdir@&$ac_srcdir&;t t 26568s&@abs_srcdir@&$ac_abs_srcdir&;t t 26569s&@top_srcdir@&$ac_top_srcdir&;t t 26570s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 26571s&@builddir@&$ac_builddir&;t t 26572s&@abs_builddir@&$ac_abs_builddir&;t t 26573s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 26574s&@INSTALL@&$ac_INSTALL&;t t 26575s&@MKDIR_P@&$ac_MKDIR_P&;t t 26576$ac_datarootdir_hack 26577" 26578eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 26579 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26580 26581test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 26582 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 26583 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 26584 "$ac_tmp/out"`; test -z "$ac_out"; } && 26585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 26586which seems to be undefined. Please make sure it is defined" >&5 26587$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 26588which seems to be undefined. Please make sure it is defined" >&2;} 26589 26590 rm -f "$ac_tmp/stdin" 26591 case $ac_file in 26592 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 26593 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 26594 esac \ 26595 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26596 ;; 26597 :H) 26598 # 26599 # CONFIG_HEADER 26600 # 26601 if test x"$ac_file" != x-; then 26602 { 26603 $as_echo "/* $configure_input */" \ 26604 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 26605 } >"$ac_tmp/config.h" \ 26606 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26607 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 26608 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 26609$as_echo "$as_me: $ac_file is unchanged" >&6;} 26610 else 26611 rm -f "$ac_file" 26612 mv "$ac_tmp/config.h" "$ac_file" \ 26613 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26614 fi 26615 else 26616 $as_echo "/* $configure_input */" \ 26617 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 26618 || as_fn_error $? "could not create -" "$LINENO" 5 26619 fi 26620# Compute "$ac_file"'s index in $config_headers. 26621_am_arg="$ac_file" 26622_am_stamp_count=1 26623for _am_header in $config_headers :; do 26624 case $_am_header in 26625 $_am_arg | $_am_arg:* ) 26626 break ;; 26627 * ) 26628 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 26629 esac 26630done 26631echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 26632$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26633 X"$_am_arg" : 'X\(//\)[^/]' \| \ 26634 X"$_am_arg" : 'X\(//\)$' \| \ 26635 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 26636$as_echo X"$_am_arg" | 26637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26638 s//\1/ 26639 q 26640 } 26641 /^X\(\/\/\)[^/].*/{ 26642 s//\1/ 26643 q 26644 } 26645 /^X\(\/\/\)$/{ 26646 s//\1/ 26647 q 26648 } 26649 /^X\(\/\).*/{ 26650 s//\1/ 26651 q 26652 } 26653 s/.*/./; q'`/stamp-h$_am_stamp_count 26654 ;; 26655 :L) 26656 # 26657 # CONFIG_LINK 26658 # 26659 26660 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then 26661 : 26662 else 26663 # Prefer the file from the source tree if names are identical. 26664 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then 26665 ac_source=$srcdir/$ac_source 26666 fi 26667 26668 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 26669$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} 26670 26671 if test ! -r "$ac_source"; then 26672 as_fn_error $? "$ac_source: file not found" "$LINENO" 5 26673 fi 26674 rm -f "$ac_file" 26675 26676 # Try a relative symlink, then a hard link, then a copy. 26677 case $ac_source in 26678 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; 26679 *) ac_rel_source=$ac_top_build_prefix$ac_source ;; 26680 esac 26681 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || 26682 ln "$ac_source" "$ac_file" 2>/dev/null || 26683 cp -p "$ac_source" "$ac_file" || 26684 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 26685 fi 26686 ;; 26687 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 26688$as_echo "$as_me: executing $ac_file commands" >&6;} 26689 ;; 26690 esac 26691 26692 26693 case $ac_file$ac_mode in 26694 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 26695 # Older Autoconf quotes --file arguments for eval, but not when files 26696 # are listed without --file. Let's play safe and only enable the eval 26697 # if we detect the quoting. 26698 case $CONFIG_FILES in 26699 *\'*) eval set x "$CONFIG_FILES" ;; 26700 *) set x $CONFIG_FILES ;; 26701 esac 26702 shift 26703 for mf 26704 do 26705 # Strip MF so we end up with the name of the file. 26706 mf=`echo "$mf" | sed -e 's/:.*$//'` 26707 # Check whether this is an Automake generated Makefile or not. 26708 # We used to match only the files named 'Makefile.in', but 26709 # some people rename them; so instead we look at the file content. 26710 # Grep'ing the first line is not enough: some people post-process 26711 # each Makefile.in and add a new line on top of each file to say so. 26712 # Grep'ing the whole file is not good either: AIX grep has a line 26713 # limit of 2048, but all sed's we know have understand at least 4000. 26714 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 26715 dirpart=`$as_dirname -- "$mf" || 26716$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26717 X"$mf" : 'X\(//\)[^/]' \| \ 26718 X"$mf" : 'X\(//\)$' \| \ 26719 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 26720$as_echo X"$mf" | 26721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26722 s//\1/ 26723 q 26724 } 26725 /^X\(\/\/\)[^/].*/{ 26726 s//\1/ 26727 q 26728 } 26729 /^X\(\/\/\)$/{ 26730 s//\1/ 26731 q 26732 } 26733 /^X\(\/\).*/{ 26734 s//\1/ 26735 q 26736 } 26737 s/.*/./; q'` 26738 else 26739 continue 26740 fi 26741 # Extract the definition of DEPDIR, am__include, and am__quote 26742 # from the Makefile without running 'make'. 26743 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 26744 test -z "$DEPDIR" && continue 26745 am__include=`sed -n 's/^am__include = //p' < "$mf"` 26746 test -z "$am__include" && continue 26747 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 26748 # Find all dependency output files, they are included files with 26749 # $(DEPDIR) in their names. We invoke sed twice because it is the 26750 # simplest approach to changing $(DEPDIR) to its actual value in the 26751 # expansion. 26752 for file in `sed -n " 26753 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 26754 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 26755 # Make sure the directory exists. 26756 test -f "$dirpart/$file" && continue 26757 fdir=`$as_dirname -- "$file" || 26758$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26759 X"$file" : 'X\(//\)[^/]' \| \ 26760 X"$file" : 'X\(//\)$' \| \ 26761 X"$file" : 'X\(/\)' \| . 2>/dev/null || 26762$as_echo X"$file" | 26763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26764 s//\1/ 26765 q 26766 } 26767 /^X\(\/\/\)[^/].*/{ 26768 s//\1/ 26769 q 26770 } 26771 /^X\(\/\/\)$/{ 26772 s//\1/ 26773 q 26774 } 26775 /^X\(\/\).*/{ 26776 s//\1/ 26777 q 26778 } 26779 s/.*/./; q'` 26780 as_dir=$dirpart/$fdir; as_fn_mkdir_p 26781 # echo "creating $dirpart/$file" 26782 echo '# dummy' > "$dirpart/$file" 26783 done 26784 done 26785} 26786 ;; 26787 "libtool":C) 26788 26789 # See if we are running on zsh, and set the options that allow our 26790 # commands through without removal of \ escapes. 26791 if test -n "${ZSH_VERSION+set}"; then 26792 setopt NO_GLOB_SUBST 26793 fi 26794 26795 cfgfile=${ofile}T 26796 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 26797 $RM "$cfgfile" 26798 26799 cat <<_LT_EOF >> "$cfgfile" 26800#! $SHELL 26801# Generated automatically by $as_me ($PACKAGE) $VERSION 26802# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 26803# NOTE: Changes made to this file will be lost: look at ltmain.sh. 26804 26805# Provide generalized library-building support services. 26806# Written by Gordon Matzigkeit, 1996 26807 26808# Copyright (C) 2014 Free Software Foundation, Inc. 26809# This is free software; see the source for copying conditions. There is NO 26810# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 26811 26812# GNU Libtool is free software; you can redistribute it and/or modify 26813# it under the terms of the GNU General Public License as published by 26814# the Free Software Foundation; either version 2 of of the License, or 26815# (at your option) any later version. 26816# 26817# As a special exception to the GNU General Public License, if you 26818# distribute this file as part of a program or library that is built 26819# using GNU Libtool, you may include this file under the same 26820# distribution terms that you use for the rest of that program. 26821# 26822# GNU Libtool is distributed in the hope that it will be useful, but 26823# WITHOUT ANY WARRANTY; without even the implied warranty of 26824# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26825# GNU General Public License for more details. 26826# 26827# You should have received a copy of the GNU General Public License 26828# along with this program. If not, see <http://www.gnu.org/licenses/>. 26829 26830 26831# The names of the tagged configurations supported by this script. 26832available_tags='CXX ' 26833 26834# Configured defaults for sys_lib_dlsearch_path munging. 26835: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 26836 26837# ### BEGIN LIBTOOL CONFIG 26838 26839# Which release of libtool.m4 was used? 26840macro_version=$macro_version 26841macro_revision=$macro_revision 26842 26843# Assembler program. 26844AS=$lt_AS 26845 26846# DLL creation program. 26847DLLTOOL=$lt_DLLTOOL 26848 26849# Object dumper program. 26850OBJDUMP=$lt_OBJDUMP 26851 26852# Whether or not to build shared libraries. 26853build_libtool_libs=$enable_shared 26854 26855# Whether or not to build static libraries. 26856build_old_libs=$enable_static 26857 26858# What type of objects to build. 26859pic_mode=$pic_mode 26860 26861# Whether or not to optimize for fast installation. 26862fast_install=$enable_fast_install 26863 26864# Shared archive member basename,for filename based shared library versioning on AIX. 26865shared_archive_member_spec=$shared_archive_member_spec 26866 26867# Shell to use when invoking shell scripts. 26868SHELL=$lt_SHELL 26869 26870# An echo program that protects backslashes. 26871ECHO=$lt_ECHO 26872 26873# The PATH separator for the build system. 26874PATH_SEPARATOR=$lt_PATH_SEPARATOR 26875 26876# The host system. 26877host_alias=$host_alias 26878host=$host 26879host_os=$host_os 26880 26881# The build system. 26882build_alias=$build_alias 26883build=$build 26884build_os=$build_os 26885 26886# A sed program that does not truncate output. 26887SED=$lt_SED 26888 26889# Sed that helps us avoid accidentally triggering echo(1) options like -n. 26890Xsed="\$SED -e 1s/^X//" 26891 26892# A grep program that handles long lines. 26893GREP=$lt_GREP 26894 26895# An ERE matcher. 26896EGREP=$lt_EGREP 26897 26898# A literal string matcher. 26899FGREP=$lt_FGREP 26900 26901# A BSD- or MS-compatible name lister. 26902NM=$lt_NM 26903 26904# Whether we need soft or hard links. 26905LN_S=$lt_LN_S 26906 26907# What is the maximum length of a command? 26908max_cmd_len=$max_cmd_len 26909 26910# Object file suffix (normally "o"). 26911objext=$ac_objext 26912 26913# Executable file suffix (normally ""). 26914exeext=$exeext 26915 26916# whether the shell understands "unset". 26917lt_unset=$lt_unset 26918 26919# turn spaces into newlines. 26920SP2NL=$lt_lt_SP2NL 26921 26922# turn newlines into spaces. 26923NL2SP=$lt_lt_NL2SP 26924 26925# convert \$build file names to \$host format. 26926to_host_file_cmd=$lt_cv_to_host_file_cmd 26927 26928# convert \$build files to toolchain format. 26929to_tool_file_cmd=$lt_cv_to_tool_file_cmd 26930 26931# Method to check whether dependent libraries are shared objects. 26932deplibs_check_method=$lt_deplibs_check_method 26933 26934# Command to use when deplibs_check_method = "file_magic". 26935file_magic_cmd=$lt_file_magic_cmd 26936 26937# How to find potential files when deplibs_check_method = "file_magic". 26938file_magic_glob=$lt_file_magic_glob 26939 26940# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 26941want_nocaseglob=$lt_want_nocaseglob 26942 26943# Command to associate shared and link libraries. 26944sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 26945 26946# The archiver. 26947AR=$lt_AR 26948 26949# Flags to create an archive. 26950AR_FLAGS=$lt_AR_FLAGS 26951 26952# How to feed a file listing to the archiver. 26953archiver_list_spec=$lt_archiver_list_spec 26954 26955# A symbol stripping program. 26956STRIP=$lt_STRIP 26957 26958# Commands used to install an old-style archive. 26959RANLIB=$lt_RANLIB 26960old_postinstall_cmds=$lt_old_postinstall_cmds 26961old_postuninstall_cmds=$lt_old_postuninstall_cmds 26962 26963# Whether to use a lock for old archive extraction. 26964lock_old_archive_extraction=$lock_old_archive_extraction 26965 26966# A C compiler. 26967LTCC=$lt_CC 26968 26969# LTCC compiler flags. 26970LTCFLAGS=$lt_CFLAGS 26971 26972# Take the output of nm and produce a listing of raw symbols and C names. 26973global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 26974 26975# Transform the output of nm in a proper C declaration. 26976global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 26977 26978# Transform the output of nm into a list of symbols to manually relocate. 26979global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 26980 26981# Transform the output of nm in a C name address pair. 26982global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 26983 26984# Transform the output of nm in a C name address pair when lib prefix is needed. 26985global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 26986 26987# The name lister interface. 26988nm_interface=$lt_lt_cv_nm_interface 26989 26990# Specify filename containing input files for \$NM. 26991nm_file_list_spec=$lt_nm_file_list_spec 26992 26993# The root where to search for dependent libraries,and where our libraries should be installed. 26994lt_sysroot=$lt_sysroot 26995 26996# Command to truncate a binary pipe. 26997lt_truncate_bin=$lt_lt_cv_truncate_bin 26998 26999# The name of the directory that contains temporary libtool files. 27000objdir=$objdir 27001 27002# Used to examine libraries when file_magic_cmd begins with "file". 27003MAGIC_CMD=$MAGIC_CMD 27004 27005# Must we lock files when doing compilation? 27006need_locks=$lt_need_locks 27007 27008# Manifest tool. 27009MANIFEST_TOOL=$lt_MANIFEST_TOOL 27010 27011# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 27012DSYMUTIL=$lt_DSYMUTIL 27013 27014# Tool to change global to local symbols on Mac OS X. 27015NMEDIT=$lt_NMEDIT 27016 27017# Tool to manipulate fat objects and archives on Mac OS X. 27018LIPO=$lt_LIPO 27019 27020# ldd/readelf like tool for Mach-O binaries on Mac OS X. 27021OTOOL=$lt_OTOOL 27022 27023# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 27024OTOOL64=$lt_OTOOL64 27025 27026# Old archive suffix (normally "a"). 27027libext=$libext 27028 27029# Shared library suffix (normally ".so"). 27030shrext_cmds=$lt_shrext_cmds 27031 27032# The commands to extract the exported symbol list from a shared archive. 27033extract_expsyms_cmds=$lt_extract_expsyms_cmds 27034 27035# Variables whose values should be saved in libtool wrapper scripts and 27036# restored at link time. 27037variables_saved_for_relink=$lt_variables_saved_for_relink 27038 27039# Do we need the "lib" prefix for modules? 27040need_lib_prefix=$need_lib_prefix 27041 27042# Do we need a version for libraries? 27043need_version=$need_version 27044 27045# Library versioning type. 27046version_type=$version_type 27047 27048# Shared library runtime path variable. 27049runpath_var=$runpath_var 27050 27051# Shared library path variable. 27052shlibpath_var=$shlibpath_var 27053 27054# Is shlibpath searched before the hard-coded library search path? 27055shlibpath_overrides_runpath=$shlibpath_overrides_runpath 27056 27057# Format of library name prefix. 27058libname_spec=$lt_libname_spec 27059 27060# List of archive names. First name is the real one, the rest are links. 27061# The last name is the one that the linker finds with -lNAME 27062library_names_spec=$lt_library_names_spec 27063 27064# The coded name of the library, if different from the real name. 27065soname_spec=$lt_soname_spec 27066 27067# Permission mode override for installation of shared libraries. 27068install_override_mode=$lt_install_override_mode 27069 27070# Command to use after installation of a shared archive. 27071postinstall_cmds=$lt_postinstall_cmds 27072 27073# Command to use after uninstallation of a shared archive. 27074postuninstall_cmds=$lt_postuninstall_cmds 27075 27076# Commands used to finish a libtool library installation in a directory. 27077finish_cmds=$lt_finish_cmds 27078 27079# As "finish_cmds", except a single script fragment to be evaled but 27080# not shown. 27081finish_eval=$lt_finish_eval 27082 27083# Whether we should hardcode library paths into libraries. 27084hardcode_into_libs=$hardcode_into_libs 27085 27086# Compile-time system search path for libraries. 27087sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 27088 27089# Detected run-time system search path for libraries. 27090sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 27091 27092# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 27093configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 27094 27095# Whether dlopen is supported. 27096dlopen_support=$enable_dlopen 27097 27098# Whether dlopen of programs is supported. 27099dlopen_self=$enable_dlopen_self 27100 27101# Whether dlopen of statically linked programs is supported. 27102dlopen_self_static=$enable_dlopen_self_static 27103 27104# Commands to strip libraries. 27105old_striplib=$lt_old_striplib 27106striplib=$lt_striplib 27107 27108 27109# The linker used to build libraries. 27110LD=$lt_LD 27111 27112# How to create reloadable object files. 27113reload_flag=$lt_reload_flag 27114reload_cmds=$lt_reload_cmds 27115 27116# Commands used to build an old-style archive. 27117old_archive_cmds=$lt_old_archive_cmds 27118 27119# A language specific compiler. 27120CC=$lt_compiler 27121 27122# Is the compiler the GNU compiler? 27123with_gcc=$GCC 27124 27125# Compiler flag to turn off builtin functions. 27126no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 27127 27128# Additional compiler flags for building library objects. 27129pic_flag=$lt_lt_prog_compiler_pic 27130 27131# How to pass a linker flag through the compiler. 27132wl=$lt_lt_prog_compiler_wl 27133 27134# Compiler flag to prevent dynamic linking. 27135link_static_flag=$lt_lt_prog_compiler_static 27136 27137# Does compiler simultaneously support -c and -o options? 27138compiler_c_o=$lt_lt_cv_prog_compiler_c_o 27139 27140# Whether or not to add -lc for building shared libraries. 27141build_libtool_need_lc=$archive_cmds_need_lc 27142 27143# Whether or not to disallow shared libs when runtime libs are static. 27144allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 27145 27146# Compiler flag to allow reflexive dlopens. 27147export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 27148 27149# Compiler flag to generate shared objects directly from archives. 27150whole_archive_flag_spec=$lt_whole_archive_flag_spec 27151 27152# Whether the compiler copes with passing no objects directly. 27153compiler_needs_object=$lt_compiler_needs_object 27154 27155# Create an old-style archive from a shared archive. 27156old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 27157 27158# Create a temporary old-style archive to link instead of a shared archive. 27159old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 27160 27161# Commands used to build a shared archive. 27162archive_cmds=$lt_archive_cmds 27163archive_expsym_cmds=$lt_archive_expsym_cmds 27164 27165# Commands used to build a loadable module if different from building 27166# a shared archive. 27167module_cmds=$lt_module_cmds 27168module_expsym_cmds=$lt_module_expsym_cmds 27169 27170# Whether we are building with GNU ld or not. 27171with_gnu_ld=$lt_with_gnu_ld 27172 27173# Flag that allows shared libraries with undefined symbols to be built. 27174allow_undefined_flag=$lt_allow_undefined_flag 27175 27176# Flag that enforces no undefined symbols. 27177no_undefined_flag=$lt_no_undefined_flag 27178 27179# Flag to hardcode \$libdir into a binary during linking. 27180# This must work even if \$libdir does not exist 27181hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 27182 27183# Whether we need a single "-rpath" flag with a separated argument. 27184hardcode_libdir_separator=$lt_hardcode_libdir_separator 27185 27186# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 27187# DIR into the resulting binary. 27188hardcode_direct=$hardcode_direct 27189 27190# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 27191# DIR into the resulting binary and the resulting library dependency is 27192# "absolute",i.e impossible to change by setting \$shlibpath_var if the 27193# library is relocated. 27194hardcode_direct_absolute=$hardcode_direct_absolute 27195 27196# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 27197# into the resulting binary. 27198hardcode_minus_L=$hardcode_minus_L 27199 27200# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 27201# into the resulting binary. 27202hardcode_shlibpath_var=$hardcode_shlibpath_var 27203 27204# Set to "yes" if building a shared library automatically hardcodes DIR 27205# into the library and all subsequent libraries and executables linked 27206# against it. 27207hardcode_automatic=$hardcode_automatic 27208 27209# Set to yes if linker adds runtime paths of dependent libraries 27210# to runtime path list. 27211inherit_rpath=$inherit_rpath 27212 27213# Whether libtool must link a program against all its dependency libraries. 27214link_all_deplibs=$link_all_deplibs 27215 27216# Set to "yes" if exported symbols are required. 27217always_export_symbols=$always_export_symbols 27218 27219# The commands to list exported symbols. 27220export_symbols_cmds=$lt_export_symbols_cmds 27221 27222# Symbols that should not be listed in the preloaded symbols. 27223exclude_expsyms=$lt_exclude_expsyms 27224 27225# Symbols that must always be exported. 27226include_expsyms=$lt_include_expsyms 27227 27228# Commands necessary for linking programs (against libraries) with templates. 27229prelink_cmds=$lt_prelink_cmds 27230 27231# Commands necessary for finishing linking programs. 27232postlink_cmds=$lt_postlink_cmds 27233 27234# Specify filename containing input files. 27235file_list_spec=$lt_file_list_spec 27236 27237# How to hardcode a shared library path into an executable. 27238hardcode_action=$hardcode_action 27239 27240# The directories searched by this compiler when creating a shared library. 27241compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 27242 27243# Dependencies to place before and after the objects being linked to 27244# create a shared library. 27245predep_objects=$lt_predep_objects 27246postdep_objects=$lt_postdep_objects 27247predeps=$lt_predeps 27248postdeps=$lt_postdeps 27249 27250# The library search path used internally by the compiler when linking 27251# a shared library. 27252compiler_lib_search_path=$lt_compiler_lib_search_path 27253 27254# ### END LIBTOOL CONFIG 27255 27256_LT_EOF 27257 27258 cat <<'_LT_EOF' >> "$cfgfile" 27259 27260# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 27261 27262# func_munge_path_list VARIABLE PATH 27263# ----------------------------------- 27264# VARIABLE is name of variable containing _space_ separated list of 27265# directories to be munged by the contents of PATH, which is string 27266# having a format: 27267# "DIR[:DIR]:" 27268# string "DIR[ DIR]" will be prepended to VARIABLE 27269# ":DIR[:DIR]" 27270# string "DIR[ DIR]" will be appended to VARIABLE 27271# "DIRP[:DIRP]::[DIRA:]DIRA" 27272# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 27273# "DIRA[ DIRA]" will be appended to VARIABLE 27274# "DIR[:DIR]" 27275# VARIABLE will be replaced by "DIR[ DIR]" 27276func_munge_path_list () 27277{ 27278 case x$2 in 27279 x) 27280 ;; 27281 *:) 27282 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 27283 ;; 27284 x:*) 27285 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 27286 ;; 27287 *::*) 27288 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 27289 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 27290 ;; 27291 *) 27292 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 27293 ;; 27294 esac 27295} 27296 27297 27298# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 27299func_cc_basename () 27300{ 27301 for cc_temp in $*""; do 27302 case $cc_temp in 27303 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 27304 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 27305 \-*) ;; 27306 *) break;; 27307 esac 27308 done 27309 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 27310} 27311 27312 27313# ### END FUNCTIONS SHARED WITH CONFIGURE 27314 27315_LT_EOF 27316 27317 case $host_os in 27318 aix3*) 27319 cat <<\_LT_EOF >> "$cfgfile" 27320# AIX sometimes has problems with the GCC collect2 program. For some 27321# reason, if we set the COLLECT_NAMES environment variable, the problems 27322# vanish in a puff of smoke. 27323if test set != "${COLLECT_NAMES+set}"; then 27324 COLLECT_NAMES= 27325 export COLLECT_NAMES 27326fi 27327_LT_EOF 27328 ;; 27329 esac 27330 27331 27332ltmain=$ac_aux_dir/ltmain.sh 27333 27334 27335 # We use sed instead of cat because bash on DJGPP gets confused if 27336 # if finds mixed CR/LF and LF-only lines. Since sed operates in 27337 # text mode, it properly converts lines to CR/LF. This bash problem 27338 # is reportedly fixed, but why not run on old versions too? 27339 sed '$q' "$ltmain" >> "$cfgfile" \ 27340 || (rm -f "$cfgfile"; exit 1) 27341 27342 mv -f "$cfgfile" "$ofile" || 27343 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 27344 chmod +x "$ofile" 27345 27346 27347 cat <<_LT_EOF >> "$ofile" 27348 27349# ### BEGIN LIBTOOL TAG CONFIG: CXX 27350 27351# The linker used to build libraries. 27352LD=$lt_LD_CXX 27353 27354# How to create reloadable object files. 27355reload_flag=$lt_reload_flag_CXX 27356reload_cmds=$lt_reload_cmds_CXX 27357 27358# Commands used to build an old-style archive. 27359old_archive_cmds=$lt_old_archive_cmds_CXX 27360 27361# A language specific compiler. 27362CC=$lt_compiler_CXX 27363 27364# Is the compiler the GNU compiler? 27365with_gcc=$GCC_CXX 27366 27367# Compiler flag to turn off builtin functions. 27368no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 27369 27370# Additional compiler flags for building library objects. 27371pic_flag=$lt_lt_prog_compiler_pic_CXX 27372 27373# How to pass a linker flag through the compiler. 27374wl=$lt_lt_prog_compiler_wl_CXX 27375 27376# Compiler flag to prevent dynamic linking. 27377link_static_flag=$lt_lt_prog_compiler_static_CXX 27378 27379# Does compiler simultaneously support -c and -o options? 27380compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 27381 27382# Whether or not to add -lc for building shared libraries. 27383build_libtool_need_lc=$archive_cmds_need_lc_CXX 27384 27385# Whether or not to disallow shared libs when runtime libs are static. 27386allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 27387 27388# Compiler flag to allow reflexive dlopens. 27389export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 27390 27391# Compiler flag to generate shared objects directly from archives. 27392whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 27393 27394# Whether the compiler copes with passing no objects directly. 27395compiler_needs_object=$lt_compiler_needs_object_CXX 27396 27397# Create an old-style archive from a shared archive. 27398old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 27399 27400# Create a temporary old-style archive to link instead of a shared archive. 27401old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 27402 27403# Commands used to build a shared archive. 27404archive_cmds=$lt_archive_cmds_CXX 27405archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 27406 27407# Commands used to build a loadable module if different from building 27408# a shared archive. 27409module_cmds=$lt_module_cmds_CXX 27410module_expsym_cmds=$lt_module_expsym_cmds_CXX 27411 27412# Whether we are building with GNU ld or not. 27413with_gnu_ld=$lt_with_gnu_ld_CXX 27414 27415# Flag that allows shared libraries with undefined symbols to be built. 27416allow_undefined_flag=$lt_allow_undefined_flag_CXX 27417 27418# Flag that enforces no undefined symbols. 27419no_undefined_flag=$lt_no_undefined_flag_CXX 27420 27421# Flag to hardcode \$libdir into a binary during linking. 27422# This must work even if \$libdir does not exist 27423hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 27424 27425# Whether we need a single "-rpath" flag with a separated argument. 27426hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 27427 27428# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 27429# DIR into the resulting binary. 27430hardcode_direct=$hardcode_direct_CXX 27431 27432# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 27433# DIR into the resulting binary and the resulting library dependency is 27434# "absolute",i.e impossible to change by setting \$shlibpath_var if the 27435# library is relocated. 27436hardcode_direct_absolute=$hardcode_direct_absolute_CXX 27437 27438# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 27439# into the resulting binary. 27440hardcode_minus_L=$hardcode_minus_L_CXX 27441 27442# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 27443# into the resulting binary. 27444hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 27445 27446# Set to "yes" if building a shared library automatically hardcodes DIR 27447# into the library and all subsequent libraries and executables linked 27448# against it. 27449hardcode_automatic=$hardcode_automatic_CXX 27450 27451# Set to yes if linker adds runtime paths of dependent libraries 27452# to runtime path list. 27453inherit_rpath=$inherit_rpath_CXX 27454 27455# Whether libtool must link a program against all its dependency libraries. 27456link_all_deplibs=$link_all_deplibs_CXX 27457 27458# Set to "yes" if exported symbols are required. 27459always_export_symbols=$always_export_symbols_CXX 27460 27461# The commands to list exported symbols. 27462export_symbols_cmds=$lt_export_symbols_cmds_CXX 27463 27464# Symbols that should not be listed in the preloaded symbols. 27465exclude_expsyms=$lt_exclude_expsyms_CXX 27466 27467# Symbols that must always be exported. 27468include_expsyms=$lt_include_expsyms_CXX 27469 27470# Commands necessary for linking programs (against libraries) with templates. 27471prelink_cmds=$lt_prelink_cmds_CXX 27472 27473# Commands necessary for finishing linking programs. 27474postlink_cmds=$lt_postlink_cmds_CXX 27475 27476# Specify filename containing input files. 27477file_list_spec=$lt_file_list_spec_CXX 27478 27479# How to hardcode a shared library path into an executable. 27480hardcode_action=$hardcode_action_CXX 27481 27482# The directories searched by this compiler when creating a shared library. 27483compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 27484 27485# Dependencies to place before and after the objects being linked to 27486# create a shared library. 27487predep_objects=$lt_predep_objects_CXX 27488postdep_objects=$lt_postdep_objects_CXX 27489predeps=$lt_predeps_CXX 27490postdeps=$lt_postdeps_CXX 27491 27492# The library search path used internally by the compiler when linking 27493# a shared library. 27494compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 27495 27496# ### END LIBTOOL TAG CONFIG: CXX 27497_LT_EOF 27498 27499## KPSE_LT_HACK: Prevent libtool from linking dependency_libs 27500if test "x$enable_libtool_hack" = xyes; then 27501 $SED '/# Convert "-framework/i\ 27502 ## KPSE_LT_HACK: ignore dependency_libs\ 27503 test "X$installed" = Xyes && dependency_libs=\ 27504' "$ofile" >"$cfgfile" 27505 mv "$cfgfile" "$ofile" || 27506 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 27507 chmod +x "$ofile" 27508fi 27509 ;; 27510 "CXXLD.sh":C) echo "$cxxld_sh" >CXXLD.sh; chmod +x CXXLD.sh ;; 27511 "w2c/c-auto.h":H) sed -e 's/^#define PACKAGE/#define WEB2C_PACKAGE/' \ 27512 -e 's/^#define VERSION/#define WEB2C_VERSION/' w2c/c-auto.h >c-auto.tmp \ 27513 && mv -f c-auto.tmp w2c/c-auto.h ;; 27514 "web2c-sh":F) chmod +x web2c-sh ;; 27515 "tangle-sh":F) chmod +x tangle-sh ;; 27516 "ctangleboot-sh":F) chmod +x ctangleboot-sh ;; 27517 "silent-sh":F) chmod +x silent-sh ;; 27518 27519 esac 27520done # for ac_tag 27521 27522 27523as_fn_exit 0 27524_ACEOF 27525ac_clean_files=$ac_clean_files_save 27526 27527test $ac_write_fail = 0 || 27528 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 27529 27530if test "x$cross_compiling" = xyes; then : 27531 if test "x$cache_file" != x/dev/null; then : 27532 cache_file=config.cache 27533fi 27534ac_configure_args="$ac_configure_args --host='$kpse_build_alias' \ 27535CC='$BUILDCC' CFLAGS='$BUILDCFLAGS' \ 27536CPPFLAGS='$BUILDCPPFLAGS' LDFLAGS='$BUILDLDFLAGS'" 27537fi 27538 27539# configure is writing to config.log, and then calls config.status. 27540# config.status does its own redirection, appending to config.log. 27541# Unfortunately, on DOS this fails, as config.log is still kept open 27542# by configure, so config.status won't be able to write to it; its 27543# output is simply discarded. So we exec the FD to /dev/null, 27544# effectively closing config.log, so it can be properly (re)opened and 27545# appended to by config.status. When coming back to configure, we 27546# need to make the FD available again. 27547if test "$no_create" != yes; then 27548 ac_cs_success=: 27549 ac_config_status_args= 27550 test "$silent" = yes && 27551 ac_config_status_args="$ac_config_status_args --quiet" 27552 exec 5>/dev/null 27553 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 27554 exec 5>>config.log 27555 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 27556 # would make configure fail if this is the last instruction. 27557 $ac_cs_success || as_fn_exit 1 27558fi 27559 27560# 27561# CONFIG_SUBDIRS section. 27562# 27563if test "$no_recursion" != yes; then 27564 27565 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 27566 # so they do not pile up. 27567 ac_sub_configure_args= 27568 ac_prev= 27569 eval "set x $ac_configure_args" 27570 shift 27571 for ac_arg 27572 do 27573 if test -n "$ac_prev"; then 27574 ac_prev= 27575 continue 27576 fi 27577 case $ac_arg in 27578 -cache-file | --cache-file | --cache-fil | --cache-fi \ 27579 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 27580 ac_prev=cache_file ;; 27581 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 27582 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 27583 | --c=*) 27584 ;; 27585 --config-cache | -C) 27586 ;; 27587 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 27588 ac_prev=srcdir ;; 27589 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 27590 ;; 27591 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 27592 ac_prev=prefix ;; 27593 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 27594 ;; 27595 --disable-option-checking) 27596 ;; 27597 *) 27598 case $ac_arg in 27599 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 27600 esac 27601 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 27602 esac 27603 done 27604 27605 # Always prepend --prefix to ensure using the same prefix 27606 # in subdir configurations. 27607 ac_arg="--prefix=$prefix" 27608 case $ac_arg in 27609 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 27610 esac 27611 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 27612 27613 # Pass --silent 27614 if test "$silent" = yes; then 27615 ac_sub_configure_args="--silent $ac_sub_configure_args" 27616 fi 27617 27618 # Always prepend --disable-option-checking to silence warnings, since 27619 # different subdirs can have different --enable and --with options. 27620 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 27621 27622 ac_popdir=`pwd` 27623 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 27624 27625 # Do not complain, so a configure script can configure whichever 27626 # parts of a large source tree are present. 27627 test -d "$srcdir/$ac_dir" || continue 27628 27629 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 27630 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 27631 $as_echo "$ac_msg" >&6 27632 as_dir="$ac_dir"; as_fn_mkdir_p 27633 ac_builddir=. 27634 27635case "$ac_dir" in 27636.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 27637*) 27638 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 27639 # A ".." for each directory in $ac_dir_suffix. 27640 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 27641 case $ac_top_builddir_sub in 27642 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 27643 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 27644 esac ;; 27645esac 27646ac_abs_top_builddir=$ac_pwd 27647ac_abs_builddir=$ac_pwd$ac_dir_suffix 27648# for backward compatibility: 27649ac_top_builddir=$ac_top_build_prefix 27650 27651case $srcdir in 27652 .) # We are building in place. 27653 ac_srcdir=. 27654 ac_top_srcdir=$ac_top_builddir_sub 27655 ac_abs_top_srcdir=$ac_pwd ;; 27656 [\\/]* | ?:[\\/]* ) # Absolute name. 27657 ac_srcdir=$srcdir$ac_dir_suffix; 27658 ac_top_srcdir=$srcdir 27659 ac_abs_top_srcdir=$srcdir ;; 27660 *) # Relative name. 27661 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 27662 ac_top_srcdir=$ac_top_build_prefix$srcdir 27663 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 27664esac 27665ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 27666 27667 27668 cd "$ac_dir" 27669 27670 # Check for guested configure; otherwise get Cygnus style configure. 27671 if test -f "$ac_srcdir/configure.gnu"; then 27672 ac_sub_configure=$ac_srcdir/configure.gnu 27673 elif test -f "$ac_srcdir/configure"; then 27674 ac_sub_configure=$ac_srcdir/configure 27675 elif test -f "$ac_srcdir/configure.in"; then 27676 # This should be Cygnus configure. 27677 ac_sub_configure=$ac_aux_dir/configure 27678 else 27679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 27680$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 27681 ac_sub_configure= 27682 fi 27683 27684 # The recursion is here. 27685 if test -n "$ac_sub_configure"; then 27686 # Make the cache file name correct relative to the subdirectory. 27687 case $cache_file in 27688 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 27689 *) # Relative name. 27690 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 27691 esac 27692 27693 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 27694$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 27695 # The eval makes quoting arguments work. 27696 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 27697 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 27698 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 27699 fi 27700 27701 cd "$ac_popdir" 27702 done 27703fi 27704if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 27705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 27706$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 27707fi 27708 27709